Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 569624fb81c2ae69bc90c383ac6b8d5090c026b7+f67542ccb051b13986f5f41838b922d5b9b125ad (7b134e8c26567603a892825c312daec1236ef626) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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. Loading library lf-pipelines@master Attempting to resolve master 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 -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-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 --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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:lfit/releng-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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-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 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3824 in /w/workspace/dgexfoundry_device-rest-go_PR-85 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-85 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit f67542ccb051b13986f5f41838b922d5b9b125ad into PR head commit 569624fb81c2ae69bc90c383ac6b8d5090c026b7 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 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 --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/85/head:refs/remotes/origin/PR-85 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 569624fb81c2ae69bc90c383ac6b8d5090c026b7 # 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 f67542ccb051b13986f5f41838b922d5b9b125ad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 Merge succeeded, producing 7daf06878b1861d1fe11ae13c28bceaff0b70a18 Checking out Revision 7daf06878b1861d1fe11ae13c28bceaff0b70a18 (PR-85) > git config core.sparsecheckout # timeout=10 > git checkout -f 7daf06878b1861d1fe11ae13c28bceaff0b70a18 # timeout=10 Commit message: "Merge commit 'f67542ccb051b13986f5f41838b922d5b9b125ad' into HEAD" > git rev-list --no-walk 569624fb81c2ae69bc90c383ac6b8d5090c026b7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-09T11:10:03.063Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-09T11:10:03.175Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-09T11:10:03.207Z] ========================================================= [2021-05-09T11:10:03.207Z] EdgeX Global Pipelines Version Info [2021-05-09T11:10:03.207Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:10:06.223Z] ------------------- [2021-05-09T11:10:06.223Z] stable info: [2021-05-09T11:10:06.223Z] ------------------- [2021-05-09T11:10:06.223Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-09T11:10:06.223Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-09T11:10:06.223Z] Message: update stable to v1.0.191 [2021-05-09T11:10:07.707Z] ------------------- [2021-05-09T11:10:07.707Z] experimental info: [2021-05-09T11:10:07.707Z] ------------------- [2021-05-09T11:10:07.707Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-09T11:10:07.707Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-09T11:10:07.707Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-09T11:10:07.867Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-09T11:10:07.892Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-09T11:10:07.918Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-09T11:10:07.942Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-09T11:10:07.967Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-09T11:10:07.992Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-09T11:10:08.019Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-09T11:10:08.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-09T11:10:08.080Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-09T11:10:08.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-09T11:10:08.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-09T11:10:08.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-05-09T11:10:08.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-09T11:10:08.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-09T11:10:08.316Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-09T11:10:08.339Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-09T11:10:08.364Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-09T11:10:08.398Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-09T11:10:08.422Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-09T11:10:08.447Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-09T11:10:08.472Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-09T11:10:08.497Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-09T11:10:08.522Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-09T11:10:08.547Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-09T11:10:08.573Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-09T11:10:08.609Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-09T11:10:08.635Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-85 [Pipeline] echo [2021-05-09T11:10:08.667Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-85 [Pipeline] echo [2021-05-09T11:10:08.693Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-85 [Pipeline] echo [2021-05-09T11:10:08.719Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7daf06878b1861d1fe11ae13c28bceaff0b70a18 [Pipeline] echo [2021-05-09T11:10:08.745Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7daf068 [Pipeline] echo [2021-05-09T11:10:08.772Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-09T11:10:08.849Z] provisioning config files... [2021-05-09T11:10:08.916Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/config5187161473786922554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:10:09.517Z] ---> docker-login.sh [2021-05-09T11:10:09.517Z] nexus3.edgexfoundry.org:10001 [2021-05-09T11:10:10.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:10:10.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:10:10.478Z] Configure a credential helper to remove this warning. See [2021-05-09T11:10:10.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:10:10.478Z] [2021-05-09T11:10:10.478Z] Login Succeeded [2021-05-09T11:10:10.478Z] nexus3.edgexfoundry.org:10002 [2021-05-09T11:10:10.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:10:10.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:10:10.763Z] Configure a credential helper to remove this warning. See [2021-05-09T11:10:10.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:10:10.764Z] [2021-05-09T11:10:10.764Z] Login Succeeded [2021-05-09T11:10:10.764Z] nexus3.edgexfoundry.org:10003 [2021-05-09T11:10:11.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:10:11.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:10:11.324Z] Configure a credential helper to remove this warning. See [2021-05-09T11:10:11.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:10:11.324Z] [2021-05-09T11:10:11.324Z] Login Succeeded [2021-05-09T11:10:11.324Z] nexus3.edgexfoundry.org:10004 [2021-05-09T11:10:11.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:10:11.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:10:11.617Z] Configure a credential helper to remove this warning. See [2021-05-09T11:10:11.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:10:11.617Z] [2021-05-09T11:10:11.617Z] Login Succeeded [2021-05-09T11:10:11.617Z] docker.io [2021-05-09T11:10:11.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:10:12.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:10:12.252Z] Configure a credential helper to remove this warning. See [2021-05-09T11:10:12.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:10:12.252Z] [2021-05-09T11:10:12.252Z] Login Succeeded [2021-05-09T11:10:12.252Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T11:10:12.302Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-09T11:10:12.835Z] + git log --format=format:%s -1 7daf06878b1861d1fe11ae13c28bceaff0b70a18 [Pipeline] echo [2021-05-09T11:10:13.020Z] GIT_COMMIT: 7daf06878b1861d1fe11ae13c28bceaff0b70a18, Commit Message: Merge commit 'f67542ccb051b13986f5f41838b922d5b9b125ad' into HEAD [Pipeline] echo [2021-05-09T11:10:13.035Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:10:13.656Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T11:10:13.656Z] [2021-05-09T11:10:13.656Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:10:14.124Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T11:10:14.124Z] latest: Pulling from edgex-devops/git-semver [2021-05-09T11:10:14.124Z] 31603596830f: Pulling fs layer [2021-05-09T11:10:14.124Z] 54011a49482f: Pulling fs layer [2021-05-09T11:10:14.124Z] a6820b24f6d8: Pulling fs layer [2021-05-09T11:10:14.124Z] f581987b2513: Pulling fs layer [2021-05-09T11:10:14.124Z] f581987b2513: Waiting [2021-05-09T11:10:14.445Z] 54011a49482f: Verifying Checksum [2021-05-09T11:10:14.445Z] 54011a49482f: Download complete [2021-05-09T11:10:14.445Z] 31603596830f: Verifying Checksum [2021-05-09T11:10:14.445Z] 31603596830f: Download complete [2021-05-09T11:10:15.104Z] f581987b2513: Verifying Checksum [2021-05-09T11:10:15.104Z] f581987b2513: Download complete [2021-05-09T11:10:15.104Z] a6820b24f6d8: Verifying Checksum [2021-05-09T11:10:15.104Z] a6820b24f6d8: Download complete [2021-05-09T11:10:15.104Z] 31603596830f: Pull complete [2021-05-09T11:10:15.408Z] 54011a49482f: Pull complete [2021-05-09T11:10:17.539Z] a6820b24f6d8: Pull complete [2021-05-09T11:10:18.129Z] f581987b2513: Pull complete [2021-05-09T11:10:18.129Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-09T11:10:18.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T11:10:18.129Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-09T11:10:18.557Z] prd-centos7-docker-4c-2g-3824 does not seem to be running inside a container [2021-05-09T11:10:18.989Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-85 -v /w/workspace/dgexfoundry_device-rest-go_PR-85:/w/workspace/dgexfoundry_device-rest-go_PR-85:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-85@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-85@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-09T11:10:21.629Z] $ docker top 5e51761ac1ec5e89f2303e09a80c3d28e6b2db9c836130f1cb566ffec97a8332 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-09T11:10:21.958Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-09T11:10:21.958Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-09T11:10:22.352Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-09T11:10:22.359Z] $ docker exec 5e51761ac1ec5e89f2303e09a80c3d28e6b2db9c836130f1cb566ffec97a8332 ssh-agent [2021-05-09T11:10:22.886Z] SSH_AUTH_SOCK=/tmp/ssh-908Pq8I0SZzq/agent.11 [2021-05-09T11:10:22.886Z] SSH_AGENT_PID=16 [2021-05-09T11:10:22.912Z] Running ssh-add (command line suppressed) [2021-05-09T11:10:23.293Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/private_key_8755924257101189557.key (/w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/private_key_8755924257101189557.key) [2021-05-09T11:10:23.560Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-09T11:10:24.292Z] + git tag --points-at HEAD [Pipeline] } [2021-05-09T11:10:24.334Z] $ docker exec --env ******** --env ******** 5e51761ac1ec5e89f2303e09a80c3d28e6b2db9c836130f1cb566ffec97a8332 ssh-agent -k [2021-05-09T11:10:24.763Z] unset SSH_AUTH_SOCK; [2021-05-09T11:10:24.764Z] unset SSH_AGENT_PID; [2021-05-09T11:10:24.764Z] echo Agent pid 16 killed; [2021-05-09T11:10:24.934Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-09T11:10:24.982Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-09T11:10:24.982Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-09T11:10:25.343Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-09T11:10:25.350Z] $ docker exec 5e51761ac1ec5e89f2303e09a80c3d28e6b2db9c836130f1cb566ffec97a8332 ssh-agent [2021-05-09T11:10:25.917Z] SSH_AUTH_SOCK=/tmp/ssh-CO5R8KAEq0Zq/agent.44 [2021-05-09T11:10:25.917Z] SSH_AGENT_PID=49 [2021-05-09T11:10:25.931Z] Running ssh-add (command line suppressed) [2021-05-09T11:10:26.182Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/private_key_6248811119888263325.key (/w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/private_key_6248811119888263325.key) [2021-05-09T11:10:26.302Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-09T11:10:27.057Z] + git semver init [2021-05-09T11:10:27.057Z] # -> Open(): unable to determine branch for HEAD [2021-05-09T11:10:27.057Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-85/.git [2021-05-09T11:10:27.057Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-85 [2021-05-09T11:10:27.057Z] # $SEMVER_REMOTE_NAME = origin [2021-05-09T11:10:27.057Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-09T11:10:27.057Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-09T11:10:27.057Z] # $SEMVER_BRANCH = PR-85 [2021-05-09T11:10:27.057Z] # $SEMVER_TEMP = /tmp/semver-721376981 [2021-05-09T11:10:27.057Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-09T11:10:28.528Z] # '/tmp/semver-721376981' -> '/w/workspace/dgexfoundry_device-rest-go_PR-85/.semver' [2021-05-09T11:10:28.528Z] # -> Force: false [2021-05-09T11:10:28.797Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-85/.semver [Pipeline] } [2021-05-09T11:10:28.832Z] $ docker exec --env ******** --env ******** 5e51761ac1ec5e89f2303e09a80c3d28e6b2db9c836130f1cb566ffec97a8332 ssh-agent -k [2021-05-09T11:10:29.034Z] unset SSH_AUTH_SOCK; [2021-05-09T11:10:29.036Z] unset SSH_AGENT_PID; [2021-05-09T11:10:29.036Z] echo Agent pid 49 killed; [2021-05-09T11:10:29.137Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-09T11:10:29.521Z] + git semver [Pipeline] } [2021-05-09T11:10:29.578Z] $ docker stop --time=1 5e51761ac1ec5e89f2303e09a80c3d28e6b2db9c836130f1cb566ffec97a8332 [2021-05-09T11:10:31.396Z] $ docker rm -f 5e51761ac1ec5e89f2303e09a80c3d28e6b2db9c836130f1cb566ffec97a8332 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-09T11:10:31.871Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-09T11:10:32.798Z] Stashed 1 file(s) [Pipeline] echo [2021-05-09T11:10:32.802Z] [edgeXSemver]: initialized semver on 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 [2021-05-09T11:10:47.981Z] Still waiting to schedule task [2021-05-09T11:10:47.981Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-09T11:10:47.985Z] Still waiting to schedule task [2021-05-09T11:10:47.985Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-09T11:13:30.941Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3828 in /w/workspace/dgexfoundry_device-rest-go_PR-85 [Pipeline] { [Pipeline] ws [2021-05-09T11:13:30.961Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-05-09T11:13:37.011Z] using credential edgex-jenkins-ssh [2021-05-09T11:13:37.032Z] Cloning the remote Git repository [2021-05-09T11:13:37.100Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-09T11:13:37.215Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-05-09T11:13:37.361Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-09T11:13:37.363Z] > git --version # timeout=10 [2021-05-09T11:13:37.421Z] > git --version # 'git version 2.17.1' [2021-05-09T11:13:37.425Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T11:13:37.513Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-09T11:13:40.040Z] Merging remotes/origin/master commit f67542ccb051b13986f5f41838b922d5b9b125ad into PR head commit 569624fb81c2ae69bc90c383ac6b8d5090c026b7 [2021-05-09T11:13:39.476Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-09T11:13:39.504Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-09T11:13:39.534Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-09T11:13:39.570Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-09T11:13:39.571Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T11:13:39.587Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/85/head:refs/remotes/origin/PR-85 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-09T11:13:40.068Z] > git config core.sparsecheckout # timeout=10 [2021-05-09T11:13:40.081Z] > git checkout -f 569624fb81c2ae69bc90c383ac6b8d5090c026b7 # timeout=10 [2021-05-09T11:13:40.264Z] Merge succeeded, producing beccd10fa4b0ba54e868dd0450e0ead289a801e0 [2021-05-09T11:13:40.265Z] Checking out Revision beccd10fa4b0ba54e868dd0450e0ead289a801e0 (PR-85) [2021-05-09T11:13:40.159Z] > git remote # timeout=10 [2021-05-09T11:13:40.178Z] > git config --get remote.origin.url # timeout=10 [2021-05-09T11:13:40.193Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T11:13:40.212Z] > git merge f67542ccb051b13986f5f41838b922d5b9b125ad # timeout=10 [2021-05-09T11:13:40.257Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-09T11:13:40.280Z] > git config core.sparsecheckout # timeout=10 [2021-05-09T11:13:40.291Z] > git checkout -f beccd10fa4b0ba54e868dd0450e0ead289a801e0 # timeout=10 [2021-05-09T11:13:44.585Z] Commit message: "Merge commit 'f67542ccb051b13986f5f41838b922d5b9b125ad' into HEAD" [2021-05-09T11:13:44.602Z] > git rev-list --no-walk 569624fb81c2ae69bc90c383ac6b8d5090c026b7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-09T11:13:46.060Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-09T11:13:46.489Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-09T11:13:46.835Z] + sudo service docker restart+ [2021-05-09T11:13:46.835Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-09T11:13:49.503Z] provisioning config files... [2021-05-09T11:13:49.558Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config4734653122935324360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:13:49.947Z] ---> docker-login.sh [2021-05-09T11:13:49.947Z] nexus3.edgexfoundry.org:10001 [2021-05-09T11:13:50.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:13:51.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:13:51.207Z] Configure a credential helper to remove this warning. See [2021-05-09T11:13:51.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:13:51.207Z] [2021-05-09T11:13:51.207Z] Login Succeeded [2021-05-09T11:13:51.207Z] nexus3.edgexfoundry.org:10002 [2021-05-09T11:13:51.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:13:51.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:13:51.755Z] Configure a credential helper to remove this warning. See [2021-05-09T11:13:51.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:13:51.755Z] [2021-05-09T11:13:51.755Z] Login Succeeded [2021-05-09T11:13:51.755Z] nexus3.edgexfoundry.org:10003 [2021-05-09T11:13:52.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:13:52.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:13:52.363Z] Configure a credential helper to remove this warning. See [2021-05-09T11:13:52.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:13:52.363Z] [2021-05-09T11:13:52.363Z] Login Succeeded [2021-05-09T11:13:52.363Z] nexus3.edgexfoundry.org:10004 [2021-05-09T11:13:52.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:13:52.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:13:52.912Z] Configure a credential helper to remove this warning. See [2021-05-09T11:13:52.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:13:52.912Z] [2021-05-09T11:13:52.912Z] Login Succeeded [2021-05-09T11:13:52.912Z] docker.io [2021-05-09T11:13:53.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:13:53.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:13:53.795Z] Configure a credential helper to remove this warning. See [2021-05-09T11:13:53.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:13:53.795Z] [2021-05-09T11:13:53.795Z] Login Succeeded [2021-05-09T11:13:53.795Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T11:13:53.812Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-09T11:13:54.126Z] ========================================================= [2021-05-09T11:13:54.126Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-09T11:13:54.126Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:13:54.475Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-09T11:13:54.475Z] Sending build context to Docker daemon 93.18kB [2021-05-09T11:13:54.752Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-09T11:13:54.752Z] Step 2/10 : FROM ${BASE} [2021-05-09T11:13:55.028Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-09T11:13:55.028Z] 595b0fe564bb: Pulling fs layer [2021-05-09T11:13:55.028Z] 7186ed65a4f7: Pulling fs layer [2021-05-09T11:13:55.028Z] 316046926c0a: Pulling fs layer [2021-05-09T11:13:55.028Z] 4ebd0625c992: Pulling fs layer [2021-05-09T11:13:55.028Z] 207e8628e3a3: Pulling fs layer [2021-05-09T11:13:55.028Z] c791037a9be2: Pulling fs layer [2021-05-09T11:13:55.028Z] ffd874e62e21: Pulling fs layer [2021-05-09T11:13:55.028Z] 4ebd0625c992: Waiting [2021-05-09T11:13:55.028Z] 207e8628e3a3: Waiting [2021-05-09T11:13:55.028Z] c791037a9be2: Waiting [2021-05-09T11:13:55.028Z] ffd874e62e21: Waiting [2021-05-09T11:13:55.028Z] 316046926c0a: Download complete [2021-05-09T11:13:55.028Z] 7186ed65a4f7: Verifying Checksum [2021-05-09T11:13:55.028Z] 7186ed65a4f7: Download complete [2021-05-09T11:13:55.028Z] 207e8628e3a3: Verifying Checksum [2021-05-09T11:13:55.028Z] 207e8628e3a3: Download complete [2021-05-09T11:13:55.028Z] c791037a9be2: Verifying Checksum [2021-05-09T11:13:55.028Z] c791037a9be2: Download complete [2021-05-09T11:13:55.028Z] 595b0fe564bb: Verifying Checksum [2021-05-09T11:13:55.028Z] 595b0fe564bb: Download complete [2021-05-09T11:13:56.019Z] 595b0fe564bb: Pull complete [2021-05-09T11:13:56.302Z] 7186ed65a4f7: Pull complete [2021-05-09T11:13:56.901Z] 316046926c0a: Pull complete [2021-05-09T11:13:58.366Z] ffd874e62e21: Verifying Checksum [2021-05-09T11:13:58.366Z] ffd874e62e21: Download complete [2021-05-09T11:13:59.370Z] 4ebd0625c992: Verifying Checksum [2021-05-09T11:13:59.370Z] 4ebd0625c992: Download complete [2021-05-09T11:14:08.101Z] Running on prd-centos7-docker-4c-2g-3830 in /w/workspace/dgexfoundry_device-rest-go_PR-85 [Pipeline] { [Pipeline] ws [2021-05-09T11:14:08.123Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-05-09T11:14:09.536Z] 4ebd0625c992: Pull complete [2021-05-09T11:14:09.813Z] 207e8628e3a3: Pull complete [2021-05-09T11:14:10.091Z] c791037a9be2: Pull complete [2021-05-09T11:14:12.432Z] using credential edgex-jenkins-ssh [2021-05-09T11:14:12.452Z] Cloning the remote Git repository [2021-05-09T11:14:12.483Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-09T11:14:12.557Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-05-09T11:14:12.618Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-09T11:14:12.618Z] > git --version # timeout=10 [2021-05-09T11:14:12.626Z] > git --version # 'git version 2.24.3' [2021-05-09T11:14:12.627Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T11:14:12.656Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-09T11:14:13.498Z] ffd874e62e21: Pull complete [2021-05-09T11:14:13.498Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-09T11:14:13.498Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-09T11:14:13.498Z] ---> cfc18b08335c [2021-05-09T11:14:13.499Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-09T11:14:14.187Z] Merging remotes/origin/master commit f67542ccb051b13986f5f41838b922d5b9b125ad into PR head commit 569624fb81c2ae69bc90c383ac6b8d5090c026b7 [2021-05-09T11:14:13.620Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-09T11:14:13.627Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-09T11:14:13.676Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-09T11:14:13.704Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-09T11:14:13.704Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T11:14:13.717Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/85/head:refs/remotes/origin/PR-85 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-09T11:14:14.215Z] > git config core.sparsecheckout # timeout=10 [2021-05-09T11:14:14.252Z] > git checkout -f 569624fb81c2ae69bc90c383ac6b8d5090c026b7 # timeout=10 [2021-05-09T11:14:14.455Z] Merge succeeded, producing bac95a71dbb54aaeebad77c1ad39641e411707a6 [2021-05-09T11:14:14.455Z] Checking out Revision bac95a71dbb54aaeebad77c1ad39641e411707a6 (PR-85) [2021-05-09T11:14:14.372Z] > git remote # timeout=10 [2021-05-09T11:14:14.386Z] > git config --get remote.origin.url # timeout=10 [2021-05-09T11:14:14.404Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T11:14:14.409Z] > git merge f67542ccb051b13986f5f41838b922d5b9b125ad # timeout=10 [2021-05-09T11:14:14.440Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-09T11:14:14.459Z] > git config core.sparsecheckout # timeout=10 [2021-05-09T11:14:14.465Z] > git checkout -f bac95a71dbb54aaeebad77c1ad39641e411707a6 # timeout=10 [2021-05-09T11:14:16.906Z] ---> Running in 3e9e708b8d3c [2021-05-09T11:14:17.179Z] Removing intermediate container 3e9e708b8d3c [2021-05-09T11:14:17.179Z] ---> 731ddfa2b9a5 [2021-05-09T11:14:17.179Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-09T11:14:17.453Z] ---> Running in 213c9ca15032 [2021-05-09T11:14:17.728Z] Removing intermediate container 213c9ca15032 [2021-05-09T11:14:17.728Z] ---> 4f7064fb61ec [2021-05-09T11:14:17.728Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-09T11:14:18.003Z] ---> Running in a96a390aa5a1 [2021-05-09T11:14:18.326Z] Commit message: "Merge commit 'f67542ccb051b13986f5f41838b922d5b9b125ad' into HEAD" [2021-05-09T11:14:18.331Z] > git rev-list --no-walk 569624fb81c2ae69bc90c383ac6b8d5090c026b7 # timeout=10 [2021-05-09T11:14:18.606Z] Removing intermediate container a96a390aa5a1 [2021-05-09T11:14:18.606Z] ---> f87dc007c84b [2021-05-09T11:14:18.606Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-09T11:14:18.606Z] ---> Running in 513f67610ac4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-09T11:14:19.586Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-09T11:14:19.967Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-09T11:14:20.286Z] + sudo service docker restart [2021-05-09T11:14:20.286Z] + true [2021-05-09T11:14:20.286Z] Redirecting to /bin/systemctl restart docker.service [2021-05-09T11:14:21.230Z] Removing intermediate container 513f67610ac4 [2021-05-09T11:14:21.230Z] ---> a6754765e693 [2021-05-09T11:14:21.230Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-09T11:14:21.230Z] ---> Running in 84a0b221998d [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-09T11:14:21.718Z] provisioning config files... [2021-05-09T11:14:21.755Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config3123849326458476957tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:14:22.138Z] ---> docker-login.sh [2021-05-09T11:14:22.138Z] nexus3.edgexfoundry.org:10001 [2021-05-09T11:14:22.214Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-09T11:14:22.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:14:23.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:14:23.030Z] Configure a credential helper to remove this warning. See [2021-05-09T11:14:23.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:14:23.030Z] [2021-05-09T11:14:23.030Z] Login Succeeded [2021-05-09T11:14:23.030Z] nexus3.edgexfoundry.org:10002 [2021-05-09T11:14:23.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:14:23.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:14:23.328Z] Configure a credential helper to remove this warning. See [2021-05-09T11:14:23.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:14:23.328Z] [2021-05-09T11:14:23.328Z] Login Succeeded [2021-05-09T11:14:23.328Z] nexus3.edgexfoundry.org:10003 [2021-05-09T11:14:23.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:14:23.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:14:23.615Z] Configure a credential helper to remove this warning. See [2021-05-09T11:14:23.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:14:23.615Z] [2021-05-09T11:14:23.615Z] Login Succeeded [2021-05-09T11:14:23.615Z] nexus3.edgexfoundry.org:10004 [2021-05-09T11:14:23.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:14:23.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:14:23.877Z] Configure a credential helper to remove this warning. See [2021-05-09T11:14:23.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:14:23.877Z] [2021-05-09T11:14:23.877Z] Login Succeeded [2021-05-09T11:14:23.877Z] docker.io [2021-05-09T11:14:23.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:14:24.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:14:24.145Z] Configure a credential helper to remove this warning. See [2021-05-09T11:14:24.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:14:24.145Z] [2021-05-09T11:14:24.145Z] Login Succeeded [2021-05-09T11:14:24.145Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T11:14:24.174Z] Deleting 1 temporary files [2021-05-09T11:14:24.184Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-09T11:14:24.406Z] ========================================================= [2021-05-09T11:14:24.406Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-09T11:14:24.406Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:14:24.729Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-09T11:14:24.729Z] Sending build context to Docker daemon 93.18kB [2021-05-09T11:14:24.729Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-09T11:14:24.729Z] Step 2/10 : FROM ${BASE} [2021-05-09T11:14:24.729Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-09T11:14:24.729Z] 540db60ca938: Pulling fs layer [2021-05-09T11:14:24.729Z] adcc1eea9eea: Pulling fs layer [2021-05-09T11:14:24.729Z] 4c4ab2625f07: Pulling fs layer [2021-05-09T11:14:24.729Z] 0510c868ecb4: Pulling fs layer [2021-05-09T11:14:24.729Z] afea3b2eda06: Pulling fs layer [2021-05-09T11:14:24.729Z] 7809a108b3ef: Pulling fs layer [2021-05-09T11:14:24.729Z] f706445af74f: Pulling fs layer [2021-05-09T11:14:24.729Z] 0510c868ecb4: Waiting [2021-05-09T11:14:24.729Z] afea3b2eda06: Waiting [2021-05-09T11:14:24.729Z] 7809a108b3ef: Waiting [2021-05-09T11:14:24.729Z] f706445af74f: Waiting [2021-05-09T11:14:24.993Z] 4c4ab2625f07: Verifying Checksum [2021-05-09T11:14:24.993Z] 4c4ab2625f07: Download complete [2021-05-09T11:14:24.993Z] adcc1eea9eea: Verifying Checksum [2021-05-09T11:14:24.993Z] adcc1eea9eea: Download complete [2021-05-09T11:14:24.993Z] afea3b2eda06: Verifying Checksum [2021-05-09T11:14:24.993Z] afea3b2eda06: Download complete [2021-05-09T11:14:24.993Z] 7809a108b3ef: Verifying Checksum [2021-05-09T11:14:24.993Z] 7809a108b3ef: Download complete [2021-05-09T11:14:25.159Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-09T11:14:25.260Z] 540db60ca938: Verifying Checksum [2021-05-09T11:14:25.260Z] 540db60ca938: Download complete [2021-05-09T11:14:25.429Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-09T11:14:25.429Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-09T11:14:25.701Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-09T11:14:25.858Z] 540db60ca938: Pull complete [2021-05-09T11:14:25.858Z] adcc1eea9eea: Pull complete [2021-05-09T11:14:25.973Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-09T11:14:26.123Z] 4c4ab2625f07: Pull complete [2021-05-09T11:14:26.247Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-09T11:14:26.843Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-09T11:14:28.092Z] f706445af74f: Verifying Checksum [2021-05-09T11:14:28.092Z] f706445af74f: Download complete [2021-05-09T11:14:28.278Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-09T11:14:28.278Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-09T11:14:28.549Z] Executing busybox-1.32.1-r6.trigger [2021-05-09T11:14:28.549Z] OK: 144 MiB in 49 packages [2021-05-09T11:14:29.056Z] 0510c868ecb4: Verifying Checksum [2021-05-09T11:14:29.056Z] 0510c868ecb4: Download complete [2021-05-09T11:14:30.535Z] Removing intermediate container 84a0b221998d [2021-05-09T11:14:30.535Z] ---> c8b5d5c26f80 [2021-05-09T11:14:30.535Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-09T11:14:30.535Z] ---> Running in 95f56df576f6 [2021-05-09T11:14:30.818Z] Removing intermediate container 95f56df576f6 [2021-05-09T11:14:30.818Z] ---> 631edffd4edb [2021-05-09T11:14:30.818Z] Step 9/10 : COPY . . [2021-05-09T11:14:31.415Z] ---> c50f540cbdbe [2021-05-09T11:14:31.415Z] Step 10/10 : RUN go mod download [2021-05-09T11:14:31.687Z] ---> Running in 70c0bde4992a [2021-05-09T11:14:35.738Z] 0510c868ecb4: Pull complete [2021-05-09T11:14:36.008Z] afea3b2eda06: Pull complete [2021-05-09T11:14:36.008Z] 7809a108b3ef: Pull complete [2021-05-09T11:14:41.375Z] f706445af74f: Pull complete [2021-05-09T11:14:41.375Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-09T11:14:41.375Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-09T11:14:41.375Z] ---> b068be0155e3 [2021-05-09T11:14:41.375Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-09T11:14:41.375Z] ---> Running in fe698493f8a4 [2021-05-09T11:14:41.375Z] Removing intermediate container fe698493f8a4 [2021-05-09T11:14:41.375Z] ---> 25b98acb58eb [2021-05-09T11:14:41.375Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-09T11:14:41.375Z] ---> Running in 126e2453ea0a [2021-05-09T11:14:41.648Z] Removing intermediate container 126e2453ea0a [2021-05-09T11:14:41.648Z] ---> 9482a035b27a [2021-05-09T11:14:41.648Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-09T11:14:41.648Z] ---> Running in 75312805e29a [2021-05-09T11:14:41.925Z] Removing intermediate container 75312805e29a [2021-05-09T11:14:41.925Z] ---> e808f32bd104 [2021-05-09T11:14:41.925Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-09T11:14:42.211Z] ---> Running in d61d1c057be8 [2021-05-09T11:14:44.837Z] Removing intermediate container d61d1c057be8 [2021-05-09T11:14:44.837Z] ---> 29ed2c52321f [2021-05-09T11:14:44.837Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-09T11:14:44.837Z] ---> Running in f93e16bb49b0 [2021-05-09T11:14:45.104Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-09T11:14:47.081Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-09T11:14:48.532Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-09T11:14:48.798Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-09T11:14:48.798Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-09T11:14:49.068Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-09T11:14:49.339Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-09T11:14:49.339Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-09T11:14:49.918Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-09T11:14:51.365Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-09T11:14:52.389Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-09T11:14:52.389Z] Executing busybox-1.32.1-r6.trigger [2021-05-09T11:14:52.389Z] OK: 154 MiB in 49 packages [2021-05-09T11:14:53.402Z] Removing intermediate container f93e16bb49b0 [2021-05-09T11:14:53.402Z] ---> 90c05fe9d811 [2021-05-09T11:14:53.402Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-09T11:14:53.402Z] ---> Running in dbdeb6259b20 [2021-05-09T11:14:53.707Z] Removing intermediate container dbdeb6259b20 [2021-05-09T11:14:53.707Z] ---> 811321a8e949 [2021-05-09T11:14:53.707Z] Step 9/10 : COPY . . [2021-05-09T11:14:54.320Z] ---> 70093da5a694 [2021-05-09T11:14:54.320Z] Step 10/10 : RUN go mod download [2021-05-09T11:14:54.320Z] ---> Running in d9fe55c448f2 [2021-05-09T11:14:58.479Z] Removing intermediate container 70c0bde4992a [2021-05-09T11:14:58.479Z] ---> 6c8db5df1e04 [2021-05-09T11:14:58.479Z] Successfully built 6c8db5df1e04 [2021-05-09T11:14:58.751Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:14:59.105Z] + docker inspect -f . ci-base-image-arm64 [2021-05-09T11:14:59.105Z] . [Pipeline] withDockerContainer [2021-05-09T11:14:59.409Z] prd-ubuntu18.04-docker-arm64-4c-16g-3828 does not seem to be running inside a container [2021-05-09T11:14:59.505Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-09T11:15:01.106Z] $ docker top 93d9c8b9aad00d11a7c91e1f39bb28bde893236dfc5764b2d84b457c5cec5857 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T11:15:02.120Z] + go version [2021-05-09T11:15:02.120Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-09T11:15:02.152Z] $ docker stop --time=1 93d9c8b9aad00d11a7c91e1f39bb28bde893236dfc5764b2d84b457c5cec5857 [2021-05-09T11:15:04.186Z] $ docker rm -f 93d9c8b9aad00d11a7c91e1f39bb28bde893236dfc5764b2d84b457c5cec5857 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:15:04.916Z] + docker inspect -f . ci-base-image-arm64 [2021-05-09T11:15:04.916Z] . [Pipeline] withDockerContainer [2021-05-09T11:15:05.204Z] prd-ubuntu18.04-docker-arm64-4c-16g-3828 does not seem to be running inside a container [2021-05-09T11:15:05.305Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-09T11:15:07.010Z] $ docker top 2ad3bfdf6e309d44fde02d61a4b56ba5cdd7370e923ab78e1268a00090dac331 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T11:15:07.941Z] + go mod tidy [Pipeline] sh [2021-05-09T11:15:09.242Z] + make test [2021-05-09T11:15:09.242Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-09T11:15:10.224Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-09T11:15:21.163Z] Removing intermediate container d9fe55c448f2 [2021-05-09T11:15:21.163Z] ---> 222b59775964 [2021-05-09T11:15:21.163Z] Successfully built 222b59775964 [2021-05-09T11:15:21.163Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:15:21.513Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-09T11:15:21.513Z] . [Pipeline] withDockerContainer [2021-05-09T11:15:21.700Z] prd-centos7-docker-4c-2g-3830 does not seem to be running inside a container [2021-05-09T11:15:21.811Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-09T11:15:22.881Z] $ docker top 2953157dcc8861c4e10f3455f9f3530c8817bcd02821f5e36d7308474f2f7278 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T11:15:23.374Z] + go version [2021-05-09T11:15:23.374Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-09T11:15:23.388Z] $ docker stop --time=1 2953157dcc8861c4e10f3455f9f3530c8817bcd02821f5e36d7308474f2f7278 [2021-05-09T11:15:25.404Z] $ docker rm -f 2953157dcc8861c4e10f3455f9f3530c8817bcd02821f5e36d7308474f2f7278 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:15:26.003Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-09T11:15:26.004Z] . [Pipeline] withDockerContainer [2021-05-09T11:15:26.128Z] prd-centos7-docker-4c-2g-3830 does not seem to be running inside a container [2021-05-09T11:15:26.186Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-09T11:15:26.971Z] $ docker top e4373cf31d704e8f99c3c3b7e56d8860df88a26970454796061b1c13e17b33e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T11:15:27.463Z] + go mod tidy [Pipeline] sh [2021-05-09T11:15:28.406Z] + make test [2021-05-09T11:15:28.406Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-09T11:15:29.534Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-09T11:15:52.167Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-09T11:15:55.671Z] ok github.com/edgexfoundry/device-rest-go/driver 0.059s coverage: 54.0% of statements [2021-05-09T11:15:55.671Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-09T11:16:06.846Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-09T11:16:07.828Z] ok github.com/edgexfoundry/device-rest-go/driver 0.044s coverage: 54.0% of statements [2021-05-09T11:16:08.101Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-09T11:16:14.236Z] gofmt -l . [2021-05-09T11:16:14.236Z] [ "`gofmt -l .`" = "" ] [2021-05-09T11:16:14.236Z] ./bin/test-go-mod-tidy.sh [2021-05-09T11:16:14.236Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-09T11:16:14.272Z] $ docker stop --time=1 e4373cf31d704e8f99c3c3b7e56d8860df88a26970454796061b1c13e17b33e5 [2021-05-09T11:16:16.573Z] $ docker rm -f e4373cf31d704e8f99c3c3b7e56d8860df88a26970454796061b1c13e17b33e5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-09T11:16:17.347Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-09T11:16:18.131Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-09T11:16:20.851Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-09T11:16:21.208Z] + ls -al . [2021-05-09T11:16:21.208Z] total 104 [2021-05-09T11:16:21.208Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 9 11:16 . [2021-05-09T11:16:21.208Z] drwxrwxr-x. 4 jenkins jenkins 28 May 9 11:14 .. [2021-05-09T11:16:21.208Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 9 11:14 Attribution.txt [2021-05-09T11:16:21.208Z] drwxrwxr-x. 2 jenkins jenkins 64 May 9 11:14 bin [2021-05-09T11:16:21.208Z] drwxrwxr-x. 3 jenkins jenkins 32 May 9 11:14 cmd [2021-05-09T11:16:21.208Z] -rw-r--r--. 1 jenkins jenkins 8513 May 9 11:15 coverage.out [2021-05-09T11:16:21.208Z] -rw-rw-r--. 1 jenkins jenkins 1602 May 9 11:14 Dockerfile [2021-05-09T11:16:21.208Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 9 11:14 Dockerfile.build [2021-05-09T11:16:21.208Z] -rw-rw-r--. 1 jenkins jenkins 151 May 9 11:14 .dockerignore [2021-05-09T11:16:21.208Z] drwxrwxr-x. 2 jenkins jenkins 76 May 9 11:14 driver [2021-05-09T11:16:21.208Z] drwxrwxr-x. 8 jenkins jenkins 179 May 9 11:14 .git [2021-05-09T11:16:21.208Z] drwxrwxr-x. 2 jenkins jenkins 103 May 9 11:14 .github [2021-05-09T11:16:21.208Z] -rw-rw-r--. 1 jenkins jenkins 339 May 9 11:14 .gitignore [2021-05-09T11:16:21.208Z] -rw-r--r--. 1 jenkins jenkins 285 May 9 11:16 go.mod [2021-05-09T11:16:21.208Z] -rw-r--r--. 1 jenkins jenkins 21331 May 9 11:15 go.sum [2021-05-09T11:16:21.208Z] -rw-rw-r--. 1 jenkins jenkins 680 May 9 11:14 Jenkinsfile [2021-05-09T11:16:21.208Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 9 11:14 LICENSE [2021-05-09T11:16:21.208Z] -rw-rw-r--. 1 jenkins jenkins 976 May 9 11:14 Makefile [2021-05-09T11:16:21.208Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 9 11:14 README.md [2021-05-09T11:16:21.208Z] drwxrwxr-x. 4 jenkins jenkins 71 May 9 11:14 snap [2021-05-09T11:16:21.208Z] -rw-rw-r--. 1 jenkins jenkins 5 May 9 11:10 VERSION [2021-05-09T11:16:21.208Z] -rw-rw-r--. 1 jenkins jenkins 713 May 9 11:14 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:16:21.571Z] + 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=7daf06878b1861d1fe11ae13c28bceaff0b70a18 --label arch=amd64 --label version=0.0.0 . [2021-05-09T11:16:21.571Z] Sending build context to Docker daemon 102.9kB [2021-05-09T11:16:21.847Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-05-09T11:16:21.847Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-09T11:16:21.847Z] ---> 222b59775964 [2021-05-09T11:16:21.847Z] Step 3/24 : ARG MAKE='make build' [2021-05-09T11:16:22.115Z] ---> Running in 3c21c1fcf94c [2021-05-09T11:16:22.115Z] Removing intermediate container 3c21c1fcf94c [2021-05-09T11:16:22.115Z] ---> 627e22755a8a [2021-05-09T11:16:22.115Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-09T11:16:22.385Z] ---> Running in efbe681578ed [2021-05-09T11:16:22.385Z] Removing intermediate container efbe681578ed [2021-05-09T11:16:22.385Z] ---> 26ef41966456 [2021-05-09T11:16:22.385Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-09T11:16:22.661Z] ---> Running in eea9d6469960 [2021-05-09T11:16:22.661Z] Removing intermediate container eea9d6469960 [2021-05-09T11:16:22.661Z] ---> d968871a5629 [2021-05-09T11:16:22.661Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-09T11:16:22.941Z] ---> Running in b9fd2fba799d [2021-05-09T11:16:25.631Z] Removing intermediate container b9fd2fba799d [2021-05-09T11:16:25.631Z] ---> f07c8c471f68 [2021-05-09T11:16:25.631Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-09T11:16:25.631Z] ---> Running in f0c6bea0e953 [2021-05-09T11:16:26.715Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-09T11:16:30.284Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-09T11:16:35.803Z] OK: 154 MiB in 49 packages [2021-05-09T11:16:36.119Z] Removing intermediate container f0c6bea0e953 [2021-05-09T11:16:36.119Z] ---> 08a8ca5285bb [2021-05-09T11:16:36.119Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-09T11:16:36.416Z] ---> Running in 3bcc9aed0d42 [2021-05-09T11:16:36.416Z] Removing intermediate container 3bcc9aed0d42 [2021-05-09T11:16:36.416Z] ---> 6a5fde34e26b [2021-05-09T11:16:36.416Z] Step 9/24 : COPY . . [2021-05-09T11:16:37.021Z] ---> d323a869b4ac [2021-05-09T11:16:37.021Z] Step 10/24 : RUN make update [2021-05-09T11:16:37.303Z] ---> Running in afaf0ec2dc92 [2021-05-09T11:16:38.306Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-09T11:16:39.299Z] Removing intermediate container afaf0ec2dc92 [2021-05-09T11:16:39.299Z] ---> 63f6d6be4225 [2021-05-09T11:16:39.299Z] Step 11/24 : RUN $MAKE [2021-05-09T11:16:39.299Z] ---> Running in 96483d0ed5c0 [2021-05-09T11:16:39.918Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2021-05-09T11:16:40.495Z] gofmt -l . [2021-05-09T11:16:40.495Z] [ "`gofmt -l .`" = "" ] [2021-05-09T11:16:40.495Z] ./bin/test-go-mod-tidy.sh [2021-05-09T11:16:40.495Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-09T11:16:40.524Z] $ docker stop --time=1 2ad3bfdf6e309d44fde02d61a4b56ba5cdd7370e923ab78e1268a00090dac331 [2021-05-09T11:16:42.453Z] $ docker rm -f 2ad3bfdf6e309d44fde02d61a4b56ba5cdd7370e923ab78e1268a00090dac331 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-09T11:16:43.353Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-09T11:16:43.376Z] Warning: overwriting stash ‘coverage-report’ [2021-05-09T11:16:44.288Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-09T11:16:44.778Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-09T11:16:45.184Z] + ls -al . [2021-05-09T11:16:45.184Z] total 132 [2021-05-09T11:16:45.184Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 11:16 . [2021-05-09T11:16:45.184Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 11:13 .. [2021-05-09T11:16:45.184Z] -rw-rw-r-- 1 jenkins jenkins 151 May 9 11:13 .dockerignore [2021-05-09T11:16:45.184Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 11:13 .git [2021-05-09T11:16:45.184Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 11:13 .github [2021-05-09T11:16:45.184Z] -rw-rw-r-- 1 jenkins jenkins 339 May 9 11:13 .gitignore [2021-05-09T11:16:45.184Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 9 11:13 Attribution.txt [2021-05-09T11:16:45.184Z] -rw-rw-r-- 1 jenkins jenkins 1602 May 9 11:13 Dockerfile [2021-05-09T11:16:45.184Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 9 11:13 Dockerfile.build [2021-05-09T11:16:45.184Z] -rw-rw-r-- 1 jenkins jenkins 680 May 9 11:13 Jenkinsfile [2021-05-09T11:16:45.184Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 9 11:13 LICENSE [2021-05-09T11:16:45.184Z] -rw-rw-r-- 1 jenkins jenkins 976 May 9 11:13 Makefile [2021-05-09T11:16:45.184Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 9 11:13 README.md [2021-05-09T11:16:45.184Z] -rw-rw-r-- 1 jenkins jenkins 5 May 9 11:10 VERSION [2021-05-09T11:16:45.184Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 11:13 bin [2021-05-09T11:16:45.184Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 11:13 cmd [2021-05-09T11:16:45.184Z] -rw-r--r-- 1 jenkins jenkins 8513 May 9 11:16 coverage.out [2021-05-09T11:16:45.184Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 11:13 driver [2021-05-09T11:16:45.184Z] -rw-r--r-- 1 jenkins jenkins 285 May 9 11:16 go.mod [2021-05-09T11:16:45.184Z] -rw-r--r-- 1 jenkins jenkins 21331 May 9 11:15 go.sum [2021-05-09T11:16:45.184Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 11:13 snap [2021-05-09T11:16:45.184Z] -rw-rw-r-- 1 jenkins jenkins 713 May 9 11:13 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:16:45.590Z] + 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=7daf06878b1861d1fe11ae13c28bceaff0b70a18 --label arch=arm64 --label version=0.0.0 . [2021-05-09T11:16:45.590Z] Sending build context to Docker daemon 102.9kB [2021-05-09T11:16:45.913Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-05-09T11:16:45.913Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-09T11:16:45.913Z] ---> 6c8db5df1e04 [2021-05-09T11:16:45.913Z] Step 3/24 : ARG MAKE='make build' [2021-05-09T11:16:46.191Z] ---> Running in 2e67a5b922db [2021-05-09T11:16:46.793Z] Removing intermediate container 2e67a5b922db [2021-05-09T11:16:46.793Z] ---> cfa471dd3f65 [2021-05-09T11:16:46.793Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-09T11:16:46.793Z] ---> Running in 608d0c1e0277 [2021-05-09T11:16:47.386Z] Removing intermediate container 608d0c1e0277 [2021-05-09T11:16:47.386Z] ---> 601966b9e896 [2021-05-09T11:16:47.386Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-09T11:16:47.386Z] ---> Running in b83c0ebdb510 [2021-05-09T11:16:47.981Z] Removing intermediate container b83c0ebdb510 [2021-05-09T11:16:47.981Z] ---> 3a112423cace [2021-05-09T11:16:47.981Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-09T11:16:47.981Z] ---> Running in 972697f5a885 [2021-05-09T11:16:50.613Z] Removing intermediate container 972697f5a885 [2021-05-09T11:16:50.614Z] ---> 9deac4887e6e [2021-05-09T11:16:50.614Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-09T11:16:50.614Z] ---> Running in e0af8c6f95cc [2021-05-09T11:16:51.211Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-09T11:16:53.183Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-09T11:16:54.156Z] OK: 144 MiB in 49 packages [2021-05-09T11:16:55.585Z] Removing intermediate container e0af8c6f95cc [2021-05-09T11:16:55.585Z] ---> c22461962bc1 [2021-05-09T11:16:55.585Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-09T11:16:55.585Z] ---> Running in de1c11a65ba3 [2021-05-09T11:16:56.181Z] Removing intermediate container de1c11a65ba3 [2021-05-09T11:16:56.181Z] ---> 8071cc16f98d [2021-05-09T11:16:56.181Z] Step 9/24 : COPY . . [2021-05-09T11:16:56.776Z] ---> b61159f0688c [2021-05-09T11:16:56.776Z] Step 10/24 : RUN make update [2021-05-09T11:16:57.051Z] ---> Running in 6172fd41fdb3 [2021-05-09T11:16:58.026Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-09T11:16:58.449Z] Removing intermediate container 96483d0ed5c0 [2021-05-09T11:16:58.449Z] ---> 8adbba6f3b6c [2021-05-09T11:16:58.449Z] Step 12/24 : FROM alpine:3.12 [2021-05-09T11:16:58.449Z] 3.12: Pulling from library/alpine [2021-05-09T11:16:58.449Z] 339de151aab4: Pulling fs layer [2021-05-09T11:16:58.449Z] 339de151aab4: Verifying Checksum [2021-05-09T11:16:58.449Z] 339de151aab4: Download complete [2021-05-09T11:16:58.449Z] 339de151aab4: Pull complete [2021-05-09T11:16:58.449Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-09T11:16:58.449Z] Status: Downloaded newer image for alpine:3.12 [2021-05-09T11:16:58.449Z] ---> 13621d1b12d4 [2021-05-09T11:16:58.449Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-09T11:16:58.712Z] ---> Running in 7b0a2e52baf1 [2021-05-09T11:16:58.977Z] Removing intermediate container 7b0a2e52baf1 [2021-05-09T11:16:58.977Z] ---> c741987a9429 [2021-05-09T11:16:58.977Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-09T11:16:58.977Z] ---> Running in c491b9de8d47 [2021-05-09T11:16:59.250Z] Removing intermediate container c491b9de8d47 [2021-05-09T11:16:59.250Z] ---> ffcd2b0e9a5f [2021-05-09T11:16:59.250Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-09T11:16:59.250Z] ---> Running in 2ae9cfeaccda [2021-05-09T11:16:59.448Z] Removing intermediate container 6172fd41fdb3 [2021-05-09T11:16:59.448Z] ---> 51035b3bd2d1 [2021-05-09T11:16:59.449Z] Step 11/24 : RUN $MAKE [2021-05-09T11:16:59.449Z] ---> Running in c87b7c2cb512 [2021-05-09T11:16:59.866Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-09T11:16:59.866Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-09T11:17:00.139Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-09T11:17:00.139Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-09T11:17:00.139Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-09T11:17:00.139Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-09T11:17:00.139Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-09T11:17:00.139Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-09T11:17:00.139Z] Executing busybox-1.31.1-r20.trigger [2021-05-09T11:17:00.139Z] OK: 8 MiB in 20 packages [2021-05-09T11:17:00.421Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2021-05-09T11:17:00.722Z] Removing intermediate container 2ae9cfeaccda [2021-05-09T11:17:00.722Z] ---> 00f803598284 [2021-05-09T11:17:00.722Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-09T11:17:01.718Z] ---> dbadeeb6800f [2021-05-09T11:17:01.718Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-09T11:17:01.990Z] ---> 6904b8b5f234 [2021-05-09T11:17:01.990Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-09T11:17:02.597Z] ---> 7df6c56a24d0 [2021-05-09T11:17:02.597Z] Step 19/24 : EXPOSE 49986 [2021-05-09T11:17:02.597Z] ---> Running in 06ae569358a4 [2021-05-09T11:17:02.874Z] Removing intermediate container 06ae569358a4 [2021-05-09T11:17:02.874Z] ---> 580559fbb04d [2021-05-09T11:17:02.874Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-09T11:17:02.874Z] ---> Running in be8aa3ed4a36 [2021-05-09T11:17:03.138Z] Removing intermediate container be8aa3ed4a36 [2021-05-09T11:17:03.138Z] ---> 8725a9b76775 [2021-05-09T11:17:03.138Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-09T11:17:03.405Z] ---> Running in 42a866580d1e [2021-05-09T11:17:03.405Z] Removing intermediate container 42a866580d1e [2021-05-09T11:17:03.405Z] ---> 97f4ba11d57f [2021-05-09T11:17:03.405Z] Step 22/24 : LABEL arch=amd64 [2021-05-09T11:17:03.670Z] ---> Running in 0e2d6e3fb9df [2021-05-09T11:17:03.670Z] Removing intermediate container 0e2d6e3fb9df [2021-05-09T11:17:03.670Z] ---> 7344125eeaad [2021-05-09T11:17:03.670Z] Step 23/24 : LABEL git_sha=7daf06878b1861d1fe11ae13c28bceaff0b70a18 [2021-05-09T11:17:03.934Z] ---> Running in c70eddd8430a [2021-05-09T11:17:04.214Z] Removing intermediate container c70eddd8430a [2021-05-09T11:17:04.214Z] ---> 1d1d7922ad0e [2021-05-09T11:17:04.214Z] Step 24/24 : LABEL version=0.0.0 [2021-05-09T11:17:04.214Z] ---> Running in ed7ae0d74c2c [2021-05-09T11:17:04.488Z] Removing intermediate container ed7ae0d74c2c [2021-05-09T11:17:04.488Z] ---> 451677c8868b [2021-05-09T11:17:04.488Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-09T11:17:04.488Z] Successfully built 451677c8868b [2021-05-09T11:17:04.488Z] Successfully tagged docker-device-rest-go:latest [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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:17:05.050Z] ---> job-cost.sh [2021-05-09T11:17:05.050Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-l08h [2021-05-09T11:17:23.324Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-09T11:17:39.455Z] Removing intermediate container c87b7c2cb512 [2021-05-09T11:17:39.455Z] ---> fee7c14cd65a [2021-05-09T11:17:39.455Z] Step 12/24 : FROM alpine:3.12 [2021-05-09T11:17:39.455Z] 3.12: Pulling from library/alpine [2021-05-09T11:17:39.455Z] d2f70382dc9a: Pulling fs layer [2021-05-09T11:17:39.455Z] d2f70382dc9a: Download complete [2021-05-09T11:17:39.455Z] d2f70382dc9a: Pull complete [2021-05-09T11:17:39.455Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-09T11:17:39.455Z] Status: Downloaded newer image for alpine:3.12 [2021-05-09T11:17:39.455Z] ---> 9852663dfa18 [2021-05-09T11:17:39.455Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-09T11:17:39.455Z] ---> Running in b81981ca4087 [2021-05-09T11:17:39.455Z] Removing intermediate container b81981ca4087 [2021-05-09T11:17:39.455Z] ---> 08c65a8bbc61 [2021-05-09T11:17:39.455Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-09T11:17:39.728Z] ---> Running in 3bdad006e3c1 [2021-05-09T11:17:40.320Z] Removing intermediate container 3bdad006e3c1 [2021-05-09T11:17:40.320Z] ---> 933dc6e340ed [2021-05-09T11:17:40.320Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-09T11:17:40.320Z] ---> Running in 445446391dcf [2021-05-09T11:17:41.297Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-09T11:17:41.571Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-09T11:17:42.162Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-09T11:17:42.162Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-09T11:17:42.162Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-09T11:17:42.162Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-09T11:17:42.162Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-09T11:17:42.162Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-09T11:17:42.162Z] Executing busybox-1.31.1-r20.trigger [2021-05-09T11:17:42.162Z] OK: 8 MiB in 20 packages [2021-05-09T11:17:43.597Z] Removing intermediate container 445446391dcf [2021-05-09T11:17:43.597Z] ---> 81de37bf3fa7 [2021-05-09T11:17:43.597Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-09T11:17:45.032Z] ---> c1877c39c237 [2021-05-09T11:17:45.032Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-09T11:17:45.630Z] ---> 670b1844ba72 [2021-05-09T11:17:45.630Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-09T11:17:46.228Z] ---> 16f903f751b0 [2021-05-09T11:17:46.228Z] Step 19/24 : EXPOSE 49986 [2021-05-09T11:17:46.500Z] ---> Running in a47c7892f294 [2021-05-09T11:17:46.773Z] Removing intermediate container a47c7892f294 [2021-05-09T11:17:46.773Z] ---> e37054897d67 [2021-05-09T11:17:46.773Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-09T11:17:47.048Z] ---> Running in e9afbb28676f [2021-05-09T11:17:47.323Z] Removing intermediate container e9afbb28676f [2021-05-09T11:17:47.323Z] ---> a7a11cb6e048 [2021-05-09T11:17:47.323Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-09T11:17:47.597Z] ---> Running in dd7682c15ed9 [2021-05-09T11:17:48.192Z] Removing intermediate container dd7682c15ed9 [2021-05-09T11:17:48.192Z] ---> 7a88061dcb0d [2021-05-09T11:17:48.192Z] Step 22/24 : LABEL arch=arm64 [2021-05-09T11:17:48.192Z] ---> Running in b07c81e2ef5a [2021-05-09T11:17:48.481Z] Removing intermediate container b07c81e2ef5a [2021-05-09T11:17:48.481Z] ---> f3f37f677b89 [2021-05-09T11:17:48.481Z] Step 23/24 : LABEL git_sha=7daf06878b1861d1fe11ae13c28bceaff0b70a18 [2021-05-09T11:17:48.755Z] ---> Running in 496b87171da0 [2021-05-09T11:17:49.358Z] Removing intermediate container 496b87171da0 [2021-05-09T11:17:49.358Z] ---> 25c5e58cda2a [2021-05-09T11:17:49.358Z] Step 24/24 : LABEL version=0.0.0 [2021-05-09T11:17:49.358Z] ---> Running in 733f4bfae978 [2021-05-09T11:17:49.955Z] Removing intermediate container 733f4bfae978 [2021-05-09T11:17:49.955Z] ---> cc2dbb25aa9f [2021-05-09T11:17:49.955Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-09T11:17:49.955Z] Successfully built cc2dbb25aa9f [2021-05-09T11:17:49.955Z] 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:17:50.442Z] ---> job-cost.sh [2021-05-09T11:17:50.442Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-aGm6 [2021-05-09T11:17:55.597Z] lf-activate-venv(): INFO: Adding /tmp/venv-l08h/bin to PATH [2021-05-09T11:17:55.597Z] INFO: No Stack... [2021-05-09T11:17:55.597Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-09T11:17:55.597Z] INFO: Archiving Costs [Pipeline] sh [2021-05-09T11:17:55.946Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-05-09T11:17:55.946Z] + cut -d, -f6 [Pipeline] lock [2021-05-09T11:17:56.087Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-85-2-stack-cost] [2021-05-09T11:17:56.096Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-85-2-stack-cost] did not exist. Created. [2021-05-09T11:17:56.096Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-85-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-09T11:17:56.517Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-09T11:17:56.783Z] Stashed 1 file(s) [Pipeline] } [2021-05-09T11:17:56.795Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-85-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-09T11:18:37.381Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-09T11:20:14.138Z] lf-activate-venv(): INFO: Adding /tmp/venv-aGm6/bin to PATH [2021-05-09T11:20:14.138Z] INFO: No Stack... [2021-05-09T11:20:14.138Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-09T11:20:14.138Z] INFO: Archiving Costs [Pipeline] sh [2021-05-09T11:20:14.478Z] + cut -d, -f6 [2021-05-09T11:20:14.479Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock [2021-05-09T11:20:14.600Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-85-2-stack-cost] [2021-05-09T11:20:14.608Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-85-2-stack-cost] did not exist. Created. [2021-05-09T11:20:14.609Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-85-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-09T11:20:14.992Z] /w/workspace/device-rest-go/2@tmp/durable-c72dbb97/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-c72dbb97/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-09T11:20:15.340Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-09T11:20:15.362Z] Warning: overwriting stash ‘stack-cost’ [2021-05-09T11:20:15.512Z] Stashed 1 file(s) [Pipeline] } [2021-05-09T11:20:15.528Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-85-2-stack-cost] [Pipeline] // lock [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 [2021-05-09T11:20:16.456Z] provisioning config files... [2021-05-09T11:20:16.489Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/config3383769249306894892tmp [Pipeline] { [Pipeline] sh [2021-05-09T11:20:16.907Z] + set +x [2021-05-09T11:20:16.907Z] + curl -s https://codecov.io/bash [2021-05-09T11:20:16.907Z] + bash -s -- [2021-05-09T11:20:17.209Z] [2021-05-09T11:20:17.209Z] _____ _ [2021-05-09T11:20:17.209Z] / ____| | | [2021-05-09T11:20:17.209Z] | | ___ __| | ___ ___ _____ __ [2021-05-09T11:20:17.209Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-09T11:20:17.209Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-09T11:20:17.209Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-09T11:20:17.209Z] Bash-1.0.2 [2021-05-09T11:20:17.209Z] [2021-05-09T11:20:17.209Z] [2021-05-09T11:20:17.209Z] ==> git version 2.24.3 found [2021-05-09T11:20:17.209Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-09T11:20:17.209Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-09T11:20:17.209Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-09T11:20:17.209Z] ==> Jenkins CI detected. [2021-05-09T11:20:17.209Z] project root: . [2021-05-09T11:20:17.209Z] --> token set from env [2021-05-09T11:20:17.209Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-09T11:20:17.505Z] ==> Running gcov in . (disable via -X gcov) [2021-05-09T11:20:17.505Z] ==> Python coveragepy not found [2021-05-09T11:20:17.505Z] ==> Searching for coverage reports in: [2021-05-09T11:20:17.505Z] + . [2021-05-09T11:20:17.505Z] -> Found 1 reports [2021-05-09T11:20:17.505Z] ==> Detecting git/mercurial file structure [2021-05-09T11:20:17.505Z] ==> Reading reports [2021-05-09T11:20:17.505Z] + ./coverage.out bytes=8513 [2021-05-09T11:20:17.505Z] ==> Appending adjustments [2021-05-09T11:20:17.505Z] https://docs.codecov.io/docs/fixing-reports [2021-05-09T11:20:17.816Z] + Found adjustments [2021-05-09T11:20:17.816Z] ==> Gzipping contents [2021-05-09T11:20:17.816Z] 4.0K /tmp/codecov.bmg4FE.gz [2021-05-09T11:20:17.816Z] ==> Uploading reports [2021-05-09T11:20:17.816Z] url: https://codecov.io [2021-05-09T11:20:17.816Z] query: branch=PR-85&commit=7daf06878b1861d1fe11ae13c28bceaff0b70a18&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-85%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=85&job=&cmd_args= [2021-05-09T11:20:17.816Z] -> Pinging Codecov [2021-05-09T11:20:17.816Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-85&commit=7daf06878b1861d1fe11ae13c28bceaff0b70a18&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-85%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=85&job=&cmd_args= [2021-05-09T11:20:18.448Z] -> Uploading to [2021-05-09T11:20:18.448Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-09/4E5D53B4F1F92C436F7061BF334D961C/7daf06878b1861d1fe11ae13c28bceaff0b70a18/6dd07e47-efe5-4245-a225-29b31cbe3cca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210509T112018Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f8444aca11a410b3b1502bf0bfec72eaebdb0c3d629d173b2625f013330a090d [2021-05-09T11:20:18.448Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-09T11:20:18.448Z] Dload Upload Total Spent Left Speed [2021-05-09T11:20:19.038Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3184 --:--:-- --:--:-- --:--:-- 3190 [2021-05-09T11:20:19.038Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/7daf06878b1861d1fe11ae13c28bceaff0b70a18 [Pipeline] } [2021-05-09T11:20:19.084Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" 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 [2021-05-09T11:20:20.734Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:20:21.429Z] ---> package-listing.sh [2021-05-09T11:20:21.429Z] ++ facter osfamily [2021-05-09T11:20:21.429Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-09T11:20:21.706Z] + OS_FAMILY=redhat [2021-05-09T11:20:21.706Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-85 [2021-05-09T11:20:21.706Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-09T11:20:21.706Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-09T11:20:21.706Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-09T11:20:21.706Z] + PACKAGES=/tmp/packages_start.txt [2021-05-09T11:20:21.706Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-85 ']' [2021-05-09T11:20:21.706Z] + PACKAGES=/tmp/packages_end.txt [2021-05-09T11:20:21.706Z] + case "${OS_FAMILY}" in [2021-05-09T11:20:21.706Z] + rpm -qa [2021-05-09T11:20:21.706Z] + sort [2021-05-09T11:20:27.086Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-09T11:20:27.086Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-09T11:20:27.086Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-09T11:20:27.086Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-85 ']' [2021-05-09T11:20:27.086Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-85/archives/ [2021-05-09T11:20:27.086Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-85/archives/ [Pipeline] echo [2021-05-09T11:20:27.117Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-rest-go_PR-85/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-09T11:20:27.559Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:20:28.217Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-09T11:20:28.508Z] [2021-05-09T11:20:28.508Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:20:28.970Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-09T11:20:29.254Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-09T11:20:29.254Z] df20fa9351a1: Pulling fs layer [2021-05-09T11:20:29.254Z] 36b3adc4ff6f: Pulling fs layer [2021-05-09T11:20:29.254Z] 8ad3a11d3b57: Pulling fs layer [2021-05-09T11:20:29.254Z] 46f8f816bc3b: Pulling fs layer [2021-05-09T11:20:29.254Z] 93b61091891f: Pulling fs layer [2021-05-09T11:20:29.254Z] 93b9cdb0e59b: Pulling fs layer [2021-05-09T11:20:29.254Z] 5e14af77c1be: Pulling fs layer [2021-05-09T11:20:29.254Z] 01666e4c0597: Pulling fs layer [2021-05-09T11:20:29.254Z] aa168da1d23b: Pulling fs layer [2021-05-09T11:20:29.254Z] 46f8f816bc3b: Waiting [2021-05-09T11:20:29.254Z] 93b61091891f: Waiting [2021-05-09T11:20:29.254Z] 5e14af77c1be: Waiting [2021-05-09T11:20:29.254Z] 01666e4c0597: Waiting [2021-05-09T11:20:29.254Z] aa168da1d23b: Waiting [2021-05-09T11:20:29.254Z] 93b9cdb0e59b: Waiting [2021-05-09T11:20:29.254Z] 36b3adc4ff6f: Verifying Checksum [2021-05-09T11:20:29.254Z] 36b3adc4ff6f: Download complete [2021-05-09T11:20:29.254Z] 46f8f816bc3b: Verifying Checksum [2021-05-09T11:20:29.254Z] 46f8f816bc3b: Download complete [2021-05-09T11:20:29.572Z] df20fa9351a1: Verifying Checksum [2021-05-09T11:20:29.572Z] df20fa9351a1: Download complete [2021-05-09T11:20:29.572Z] 93b9cdb0e59b: Verifying Checksum [2021-05-09T11:20:29.572Z] 93b9cdb0e59b: Download complete [2021-05-09T11:20:29.572Z] 5e14af77c1be: Verifying Checksum [2021-05-09T11:20:29.572Z] 5e14af77c1be: Download complete [2021-05-09T11:20:29.572Z] 93b61091891f: Verifying Checksum [2021-05-09T11:20:29.572Z] 93b61091891f: Download complete [2021-05-09T11:20:29.572Z] 01666e4c0597: Verifying Checksum [2021-05-09T11:20:29.572Z] 01666e4c0597: Download complete [2021-05-09T11:20:30.209Z] 8ad3a11d3b57: Verifying Checksum [2021-05-09T11:20:30.209Z] 8ad3a11d3b57: Download complete [2021-05-09T11:20:30.486Z] df20fa9351a1: Pull complete [2021-05-09T11:20:30.758Z] 36b3adc4ff6f: Pull complete [2021-05-09T11:20:32.803Z] 8ad3a11d3b57: Pull complete [2021-05-09T11:20:32.803Z] 46f8f816bc3b: Pull complete [2021-05-09T11:20:33.825Z] 93b61091891f: Pull complete [2021-05-09T11:20:34.128Z] 93b9cdb0e59b: Pull complete [2021-05-09T11:20:34.470Z] 5e14af77c1be: Pull complete [2021-05-09T11:20:34.783Z] 01666e4c0597: Pull complete [2021-05-09T11:20:35.846Z] aa168da1d23b: Verifying Checksum [2021-05-09T11:20:35.846Z] aa168da1d23b: Download complete [2021-05-09T11:20:55.054Z] aa168da1d23b: Pull complete [2021-05-09T11:20:55.054Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-09T11:20:55.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-09T11:20:55.054Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-09T11:20:55.469Z] prd-centos7-docker-4c-2g-3824 does not seem to be running inside a container [2021-05-09T11:20:55.627Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-rest-go_PR-85/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-rest-go_PR-85 -v /w/workspace/dgexfoundry_device-rest-go_PR-85:/w/workspace/dgexfoundry_device-rest-go_PR-85:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-85@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-85@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-09T11:21:00.116Z] $ docker top 257285f538cd841fc3e107008e1c4a2cb1f1ea94346b895fcde31dd7e6248ced -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T11:21:00.714Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-09T11:21:01.201Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-09T11:21:01.979Z] + ls /var/log/sa-host [2021-05-09T11:21:01.979Z] + sadf -c /var/log/sa-host/sa09 [2021-05-09T11:21:01.979Z] file_magic: OK [2021-05-09T11:21:01.979Z] HZ: Using current value: 100 [2021-05-09T11:21:01.979Z] file_header: OK [2021-05-09T11:21:01.979Z] 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 [2021-05-09T11:21:01.979Z] Statistics: [2021-05-09T11:21:01.979Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-09T11:21:01.979Z] File successfully converted to sysstat format version 12.2.1 [2021-05-09T11:21:01.979Z] + sadf -c /var/log/sa-host/sa23 [2021-05-09T11:21:01.979Z] file_magic: OK [2021-05-09T11:21:01.979Z] HZ: Using current value: 100 [2021-05-09T11:21:01.979Z] file_header: OK [2021-05-09T11:21:01.979Z] 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 [2021-05-09T11:21:01.979Z] Statistics: [2021-05-09T11:21:01.979Z] Hnuu...uuuununununu... [2021-05-09T11:21:01.979Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-09T11:21:02.247Z] provisioning config files... [2021-05-09T11:21:02.302Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/config3065263985513732010tmp [Pipeline] { [Pipeline] echo [2021-05-09T11:21:02.343Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:21:02.776Z] ---> create-netrc.sh [Pipeline] } [2021-05-09T11:21:03.064Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-09T11:21:03.099Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:21:03.781Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-09T11:21:03.797Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:21:04.506Z] ---> sudo-logs.sh [2021-05-09T11:21:04.506Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-09T11:21:04.549Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:21:05.234Z] ---> job-cost.sh [2021-05-09T11:21:05.234Z] lf-activate-venv: SKIPPING [2021-05-09T11:21:05.234Z] DEBUG: total: 0.20999999344348907 [2021-05-09T11:21:05.234Z] INFO: Retrieving Stack Cost... [2021-05-09T11:21:06.212Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-09T11:21:07.196Z] INFO: Archiving Costs [Pipeline] echo [2021-05-09T11:21:07.220Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:21:07.559Z] ---> logs-deploy.sh [2021-05-09T11:21:07.559Z] lf-activate-venv: SKIPPING [2021-05-09T11:21:07.560Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-85/2 [2021-05-09T11:21:07.560Z] INFO: archiving workspace using pattern(s): [2021-05-09T11:21:10.190Z] Archives upload complete. [2021-05-09T11:21:10.463Z] INFO: archiving logs to Nexus