Pull request #94 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of tonyespy for edgexfoundry/device-rest-go Loading trusted files from base branch master at 4f98354a1324b6971af40554b83b1d8fb938970d rather than 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c Obtained Jenkinsfile from 4f98354a1324b6971af40554b83b1d8fb938970d 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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: device-rest 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-4614 in /w/workspace/dgexfoundry_device-rest-go_PR-94 [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-94 # 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 > 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/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4f98354a1324b6971af40554b83b1d8fb938970d into PR head commit 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c Merge succeeded, producing 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c Checking out Revision 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c (PR-94) > git config core.sparsecheckout # timeout=10 > git checkout -f 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c # 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 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c # timeout=10 Commit message: "fix(build): update Dockerfiles to use go 1.16" > git rev-list --no-walk 629973d7627f15a7fab31412c44c0f27f8ca8ec6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-11T22:49:06.384Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-11T22:49:06.478Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-11T22:49:06.509Z] ========================================================= [2021-05-11T22:49:06.509Z] EdgeX Global Pipelines Version Info [2021-05-11T22:49:06.509Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-11T22:49:08.091Z] ------------------- [2021-05-11T22:49:08.091Z] stable info: [2021-05-11T22:49:08.091Z] ------------------- [2021-05-11T22:49:08.091Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-11T22:49:08.091Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-11T22:49:08.091Z] Message: update stable to v1.0.192 [2021-05-11T22:49:09.039Z] ------------------- [2021-05-11T22:49:09.039Z] experimental info: [2021-05-11T22:49:09.039Z] ------------------- [2021-05-11T22:49:09.039Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-11T22:49:09.039Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-11T22:49:09.039Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-11T22:49:09.183Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-11T22:49:09.209Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-11T22:49:09.234Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-11T22:49:09.260Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-11T22:49:09.285Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-11T22:49:09.310Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-11T22:49:09.335Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-11T22:49:09.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-11T22:49:09.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-11T22:49:09.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-11T22:49:09.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-11T22:49:09.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-05-11T22:49:09.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-11T22:49:09.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-11T22:49:09.543Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T22:49:09.570Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T22:49:09.596Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T22:49:09.624Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T22:49:09.649Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-11T22:49:09.675Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-11T22:49:09.700Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-11T22:49:09.724Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-11T22:49:09.749Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-11T22:49:09.775Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-11T22:49:09.800Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-11T22:49:09.825Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-11T22:49:09.850Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-94 [Pipeline] echo [2021-05-11T22:49:09.874Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-94 [Pipeline] echo [2021-05-11T22:49:09.897Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-94 [Pipeline] echo [2021-05-11T22:49:09.956Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c [Pipeline] echo [2021-05-11T22:49:09.980Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9520ed6 [Pipeline] echo [2021-05-11T22:49:10.003Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T22:49:10.077Z] provisioning config files... [2021-05-11T22:49:10.108Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/config7856604848297776062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T22:49:10.450Z] ---> docker-login.sh [2021-05-11T22:49:10.450Z] nexus3.edgexfoundry.org:10001 [2021-05-11T22:49:10.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T22:49:10.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T22:49:10.982Z] Configure a credential helper to remove this warning. See [2021-05-11T22:49:10.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T22:49:10.982Z] [2021-05-11T22:49:10.982Z] Login Succeeded [2021-05-11T22:49:10.982Z] nexus3.edgexfoundry.org:10002 [2021-05-11T22:49:11.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T22:49:11.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T22:49:11.248Z] Configure a credential helper to remove this warning. See [2021-05-11T22:49:11.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T22:49:11.248Z] [2021-05-11T22:49:11.248Z] Login Succeeded [2021-05-11T22:49:11.248Z] nexus3.edgexfoundry.org:10003 [2021-05-11T22:49:11.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T22:49:11.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T22:49:11.512Z] Configure a credential helper to remove this warning. See [2021-05-11T22:49:11.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T22:49:11.512Z] [2021-05-11T22:49:11.512Z] Login Succeeded [2021-05-11T22:49:11.512Z] nexus3.edgexfoundry.org:10004 [2021-05-11T22:49:11.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T22:49:11.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T22:49:11.512Z] Configure a credential helper to remove this warning. See [2021-05-11T22:49:11.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T22:49:11.512Z] [2021-05-11T22:49:11.512Z] Login Succeeded [2021-05-11T22:49:11.512Z] docker.io [2021-05-11T22:49:11.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T22:49:12.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T22:49:12.041Z] Configure a credential helper to remove this warning. See [2021-05-11T22:49:12.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T22:49:12.041Z] [2021-05-11T22:49:12.041Z] Login Succeeded [2021-05-11T22:49:12.041Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T22:49:12.054Z] 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-11T22:49:12.511Z] + git log --format=format:%s -1 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c [Pipeline] echo [2021-05-11T22:49:12.597Z] GIT_COMMIT: 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c, Commit Message: fix(build): update Dockerfiles to use go 1.16 [Pipeline] echo [2021-05-11T22:49:12.611Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-11T22:49:13.180Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T22:49:13.180Z] [2021-05-11T22:49:13.180Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T22:49:13.495Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T22:49:13.495Z] latest: Pulling from edgex-devops/git-semver [2021-05-11T22:49:13.495Z] 31603596830f: Pulling fs layer [2021-05-11T22:49:13.495Z] 54011a49482f: Pulling fs layer [2021-05-11T22:49:13.495Z] a6820b24f6d8: Pulling fs layer [2021-05-11T22:49:13.495Z] f581987b2513: Pulling fs layer [2021-05-11T22:49:13.495Z] f581987b2513: Waiting [2021-05-11T22:49:13.495Z] 54011a49482f: Verifying Checksum [2021-05-11T22:49:13.495Z] 54011a49482f: Download complete [2021-05-11T22:49:13.495Z] 31603596830f: Verifying Checksum [2021-05-11T22:49:13.495Z] 31603596830f: Download complete [2021-05-11T22:49:13.759Z] a6820b24f6d8: Verifying Checksum [2021-05-11T22:49:13.759Z] a6820b24f6d8: Download complete [2021-05-11T22:49:13.759Z] f581987b2513: Verifying Checksum [2021-05-11T22:49:13.759Z] f581987b2513: Download complete [2021-05-11T22:49:14.024Z] 31603596830f: Pull complete [2021-05-11T22:49:14.289Z] 54011a49482f: Pull complete [2021-05-11T22:49:15.246Z] a6820b24f6d8: Pull complete [2021-05-11T22:49:15.246Z] f581987b2513: Pull complete [2021-05-11T22:49:15.510Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-11T22:49:15.510Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T22:49:15.510Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-11T22:49:15.616Z] prd-centos7-docker-4c-2g-4614 does not seem to be running inside a container [2021-05-11T22:49:15.666Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-94 -v /w/workspace/dgexfoundry_device-rest-go_PR-94:/w/workspace/dgexfoundry_device-rest-go_PR-94:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-94@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-94@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-11T22:49:17.687Z] $ docker top 80daeb51fe953adfe66b1a42971061f2a3695e097295fa4269eb693d4b75611e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-11T22:49:17.839Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T22:49:17.839Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T22:49:18.057Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T22:49:18.062Z] $ docker exec 80daeb51fe953adfe66b1a42971061f2a3695e097295fa4269eb693d4b75611e ssh-agent [2021-05-11T22:49:18.239Z] SSH_AUTH_SOCK=/tmp/ssh-2O0MZrhrBjw8/agent.11 [2021-05-11T22:49:18.239Z] SSH_AGENT_PID=17 [2021-05-11T22:49:18.250Z] Running ssh-add (command line suppressed) [2021-05-11T22:49:18.373Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/private_key_2348098813993913905.key (/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/private_key_2348098813993913905.key) [2021-05-11T22:49:18.429Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T22:49:18.734Z] + git tag --points-at HEAD [Pipeline] } [2021-05-11T22:49:18.755Z] $ docker exec --env ******** --env ******** 80daeb51fe953adfe66b1a42971061f2a3695e097295fa4269eb693d4b75611e ssh-agent -k [2021-05-11T22:49:18.883Z] unset SSH_AUTH_SOCK; [2021-05-11T22:49:18.884Z] unset SSH_AGENT_PID; [2021-05-11T22:49:18.884Z] echo Agent pid 17 killed; [2021-05-11T22:49:18.934Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-11T22:49:18.974Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T22:49:18.974Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T22:49:19.152Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T22:49:19.157Z] $ docker exec 80daeb51fe953adfe66b1a42971061f2a3695e097295fa4269eb693d4b75611e ssh-agent [2021-05-11T22:49:19.344Z] SSH_AUTH_SOCK=/tmp/ssh-wPgAQ0kH4vSo/agent.45 [2021-05-11T22:49:19.344Z] SSH_AGENT_PID=51 [2021-05-11T22:49:19.352Z] Running ssh-add (command line suppressed) [2021-05-11T22:49:19.487Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/private_key_2637485560718233801.key (/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/private_key_2637485560718233801.key) [2021-05-11T22:49:19.550Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T22:49:19.858Z] + git semver init [2021-05-11T22:49:19.858Z] # -> Open(): unable to determine branch for HEAD [2021-05-11T22:49:19.858Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-94/.git [2021-05-11T22:49:19.858Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-94 [2021-05-11T22:49:19.858Z] # $SEMVER_REMOTE_NAME = origin [2021-05-11T22:49:19.858Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-11T22:49:19.858Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-11T22:49:19.858Z] # $SEMVER_BRANCH = PR-94 [2021-05-11T22:49:19.858Z] # $SEMVER_TEMP = /tmp/semver-932269653 [2021-05-11T22:49:19.858Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-11T22:49:21.258Z] # '/tmp/semver-932269653' -> '/w/workspace/dgexfoundry_device-rest-go_PR-94/.semver' [2021-05-11T22:49:21.258Z] # -> Force: false [2021-05-11T22:49:21.258Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-94/.semver [Pipeline] } [2021-05-11T22:49:21.274Z] $ docker exec --env ******** --env ******** 80daeb51fe953adfe66b1a42971061f2a3695e097295fa4269eb693d4b75611e ssh-agent -k [2021-05-11T22:49:21.424Z] unset SSH_AUTH_SOCK; [2021-05-11T22:49:21.424Z] unset SSH_AGENT_PID; [2021-05-11T22:49:21.424Z] echo Agent pid 51 killed; [2021-05-11T22:49:21.480Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T22:49:21.818Z] + git semver [Pipeline] } [2021-05-11T22:49:21.837Z] $ docker stop --time=1 80daeb51fe953adfe66b1a42971061f2a3695e097295fa4269eb693d4b75611e [2021-05-11T22:49:23.277Z] $ docker rm -f 80daeb51fe953adfe66b1a42971061f2a3695e097295fa4269eb693d4b75611e [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T22:49:23.715Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-11T22:49:24.092Z] Stashed 1 file(s) [Pipeline] echo [2021-05-11T22:49:24.095Z] [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-11T22:49:39.277Z] Still waiting to schedule task [2021-05-11T22:49:39.277Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-11T22:49:39.280Z] Still waiting to schedule task [2021-05-11T22:49:39.280Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-11T22:51:49.730Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4615 in /w/workspace/dgexfoundry_device-rest-go_PR-94 [Pipeline] { [Pipeline] ws [2021-05-11T22:51:49.750Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-05-11T22:51:54.324Z] Running on prd-centos7-docker-4c-2g-4616 in /w/workspace/dgexfoundry_device-rest-go_PR-94 [Pipeline] { [Pipeline] ws [2021-05-11T22:51:54.342Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-05-11T22:51:55.759Z] using credential edgex-jenkins-ssh [2021-05-11T22:51:55.781Z] Cloning the remote Git repository [2021-05-11T22:51:55.836Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T22:51:55.935Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-05-11T22:51:56.021Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T22:51:56.022Z] > git --version # timeout=10 [2021-05-11T22:51:56.037Z] > git --version # 'git version 2.17.1' [2021-05-11T22:51:56.038Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T22:51:56.119Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T22:51:57.036Z] using credential edgex-jenkins-ssh [2021-05-11T22:51:57.051Z] Cloning the remote Git repository [2021-05-11T22:51:57.075Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T22:51:57.142Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-05-11T22:51:57.215Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T22:51:57.215Z] > git --version # timeout=10 [2021-05-11T22:51:57.221Z] > git --version # 'git version 2.24.3' [2021-05-11T22:51:57.222Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T22:51:57.250Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T22:51:58.363Z] Merging remotes/origin/master commit 4f98354a1324b6971af40554b83b1d8fb938970d into PR head commit 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c [2021-05-11T22:51:58.585Z] Merge succeeded, producing 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c [2021-05-11T22:51:58.586Z] Checking out Revision 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c (PR-94) [2021-05-11T22:51:58.629Z] Merging remotes/origin/master commit 4f98354a1324b6971af40554b83b1d8fb938970d into PR head commit 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c [2021-05-11T22:51:57.676Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-11T22:51:57.699Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T22:51:57.730Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-11T22:51:57.777Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T22:51:57.778Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T22:51:57.791Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T22:51:58.391Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T22:51:58.413Z] > git checkout -f 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c # timeout=10 [2021-05-11T22:51:58.498Z] > git remote # timeout=10 [2021-05-11T22:51:58.517Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T22:51:58.537Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T22:51:58.548Z] > git merge 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 [2021-05-11T22:51:58.572Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T22:51:58.595Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T22:51:58.612Z] > git checkout -f 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c # timeout=10 [2021-05-11T22:51:58.786Z] Merge succeeded, producing 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c [2021-05-11T22:51:58.787Z] Checking out Revision 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c (PR-94) [2021-05-11T22:51:58.172Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-11T22:51:58.179Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T22:51:58.193Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-11T22:51:58.207Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T22:51:58.208Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T22:51:58.213Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T22:51:58.647Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T22:51:58.661Z] > git checkout -f 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c # timeout=10 [2021-05-11T22:51:58.740Z] > git remote # timeout=10 [2021-05-11T22:51:58.749Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T22:51:58.758Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T22:51:58.762Z] > git merge 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 [2021-05-11T22:51:58.776Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T22:51:58.790Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T22:51:58.795Z] > git checkout -f 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c # timeout=10 [2021-05-11T22:52:02.473Z] Commit message: "fix(build): update Dockerfiles to use go 1.16" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-05-11T22:52:02.876Z] Commit message: "fix(build): update Dockerfiles to use go 1.16" [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T22:52:03.644Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-11T22:52:04.483Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T22:52:04.497Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-11T22:52:04.782Z] + true [2021-05-11T22:52:04.782Z] + sudo service docker restart [2021-05-11T22:52:04.782Z] Redirecting to /bin/systemctl restart docker.service [2021-05-11T22:52:04.898Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T22:52:05.230Z] + + sudo servicetrue docker [2021-05-11T22:52:05.230Z] restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T22:52:06.740Z] provisioning config files... [2021-05-11T22:52:06.772Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config883686524988219439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T22:52:07.119Z] ---> docker-login.sh [2021-05-11T22:52:07.119Z] nexus3.edgexfoundry.org:10001 [2021-05-11T22:52:07.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T22:52:07.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T22:52:07.644Z] Configure a credential helper to remove this warning. See [2021-05-11T22:52:07.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T22:52:07.644Z] [2021-05-11T22:52:07.644Z] Login Succeeded [2021-05-11T22:52:07.644Z] nexus3.edgexfoundry.org:10002 [2021-05-11T22:52:07.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T22:52:07.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T22:52:07.644Z] Configure a credential helper to remove this warning. See [2021-05-11T22:52:07.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T22:52:07.644Z] [2021-05-11T22:52:07.644Z] Login Succeeded [2021-05-11T22:52:07.644Z] nexus3.edgexfoundry.org:10003 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T22:52:07.887Z] provisioning config files... [2021-05-11T22:52:07.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T22:52:07.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T22:52:07.908Z] Configure a credential helper to remove this warning. See [2021-05-11T22:52:07.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T22:52:07.908Z] [2021-05-11T22:52:07.908Z] Login Succeeded [2021-05-11T22:52:07.908Z] nexus3.edgexfoundry.org:10004 [2021-05-11T22:52:07.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T22:52:07.925Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config203548365464132738tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T22:52:08.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T22:52:08.170Z] Configure a credential helper to remove this warning. See [2021-05-11T22:52:08.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T22:52:08.170Z] [2021-05-11T22:52:08.170Z] Login Succeeded [2021-05-11T22:52:08.170Z] docker.io [2021-05-11T22:52:08.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T22:52:08.314Z] ---> docker-login.sh [2021-05-11T22:52:08.314Z] nexus3.edgexfoundry.org:10001 [2021-05-11T22:52:08.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T22:52:08.432Z] Configure a credential helper to remove this warning. See [2021-05-11T22:52:08.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T22:52:08.432Z] [2021-05-11T22:52:08.432Z] Login Succeeded [2021-05-11T22:52:08.432Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T22:52:08.441Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T22:52:08.618Z] ========================================================= [2021-05-11T22:52:08.618Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-11T22:52:08.618Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T22:52:08.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T22:52:08.926Z] + 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-11T22:52:08.926Z] Sending build context to Docker daemon 92.16kB [2021-05-11T22:52:08.926Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.13 [2021-05-11T22:52:08.926Z] Step 2/10 : FROM ${BASE} [2021-05-11T22:52:08.926Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-11T22:52:08.926Z] 540db60ca938: Pulling fs layer [2021-05-11T22:52:08.926Z] adcc1eea9eea: Pulling fs layer [2021-05-11T22:52:08.926Z] 4c4ab2625f07: Pulling fs layer [2021-05-11T22:52:08.926Z] 0510c868ecb4: Pulling fs layer [2021-05-11T22:52:08.926Z] afea3b2eda06: Pulling fs layer [2021-05-11T22:52:08.926Z] 7809a108b3ef: Pulling fs layer [2021-05-11T22:52:08.926Z] f706445af74f: Pulling fs layer [2021-05-11T22:52:08.926Z] afea3b2eda06: Waiting [2021-05-11T22:52:08.926Z] 7809a108b3ef: Waiting [2021-05-11T22:52:08.926Z] f706445af74f: Waiting [2021-05-11T22:52:08.926Z] 0510c868ecb4: Waiting [2021-05-11T22:52:09.190Z] 4c4ab2625f07: Verifying Checksum [2021-05-11T22:52:09.190Z] 4c4ab2625f07: Download complete [2021-05-11T22:52:09.190Z] adcc1eea9eea: Verifying Checksum [2021-05-11T22:52:09.190Z] adcc1eea9eea: Download complete [2021-05-11T22:52:09.190Z] afea3b2eda06: Download complete [2021-05-11T22:52:09.190Z] 7809a108b3ef: Download complete [2021-05-11T22:52:09.190Z] 540db60ca938: Verifying Checksum [2021-05-11T22:52:09.190Z] 540db60ca938: Download complete [2021-05-11T22:52:09.455Z] 540db60ca938: Pull complete [2021-05-11T22:52:09.717Z] adcc1eea9eea: Pull complete [2021-05-11T22:52:09.717Z] 4c4ab2625f07: Pull complete [2021-05-11T22:52:09.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T22:52:09.907Z] Configure a credential helper to remove this warning. See [2021-05-11T22:52:09.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T22:52:09.907Z] [2021-05-11T22:52:09.907Z] Login Succeeded [2021-05-11T22:52:09.907Z] nexus3.edgexfoundry.org:10002 [2021-05-11T22:52:10.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T22:52:10.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T22:52:10.181Z] Configure a credential helper to remove this warning. See [2021-05-11T22:52:10.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T22:52:10.181Z] [2021-05-11T22:52:10.181Z] Login Succeeded [2021-05-11T22:52:10.181Z] nexus3.edgexfoundry.org:10003 [2021-05-11T22:52:10.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T22:52:10.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T22:52:10.778Z] Configure a credential helper to remove this warning. See [2021-05-11T22:52:10.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T22:52:10.778Z] [2021-05-11T22:52:10.778Z] Login Succeeded [2021-05-11T22:52:10.778Z] nexus3.edgexfoundry.org:10004 [2021-05-11T22:52:11.133Z] f706445af74f: Verifying Checksum [2021-05-11T22:52:11.133Z] f706445af74f: Download complete [2021-05-11T22:52:11.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T22:52:11.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T22:52:11.374Z] Configure a credential helper to remove this warning. See [2021-05-11T22:52:11.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T22:52:11.374Z] [2021-05-11T22:52:11.374Z] Login Succeeded [2021-05-11T22:52:11.374Z] docker.io [2021-05-11T22:52:11.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T22:52:11.718Z] 0510c868ecb4: Download complete [2021-05-11T22:52:12.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T22:52:12.239Z] Configure a credential helper to remove this warning. See [2021-05-11T22:52:12.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T22:52:12.239Z] [2021-05-11T22:52:12.239Z] Login Succeeded [2021-05-11T22:52:12.239Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T22:52:12.257Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T22:52:12.562Z] ========================================================= [2021-05-11T22:52:12.562Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-11T22:52:12.562Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T22:52:12.904Z] + 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-11T22:52:12.904Z] Sending build context to Docker daemon 92.16kB [2021-05-11T22:52:13.187Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.13 [2021-05-11T22:52:13.187Z] Step 2/10 : FROM ${BASE} [2021-05-11T22:52:13.187Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-11T22:52:13.187Z] 595b0fe564bb: Pulling fs layer [2021-05-11T22:52:13.187Z] 7186ed65a4f7: Pulling fs layer [2021-05-11T22:52:13.187Z] 316046926c0a: Pulling fs layer [2021-05-11T22:52:13.187Z] 4ebd0625c992: Pulling fs layer [2021-05-11T22:52:13.187Z] 207e8628e3a3: Pulling fs layer [2021-05-11T22:52:13.187Z] c791037a9be2: Pulling fs layer [2021-05-11T22:52:13.187Z] ffd874e62e21: Pulling fs layer [2021-05-11T22:52:13.187Z] 207e8628e3a3: Waiting [2021-05-11T22:52:13.187Z] c791037a9be2: Waiting [2021-05-11T22:52:13.187Z] ffd874e62e21: Waiting [2021-05-11T22:52:13.187Z] 4ebd0625c992: Waiting [2021-05-11T22:52:13.187Z] 316046926c0a: Download complete [2021-05-11T22:52:13.187Z] 7186ed65a4f7: Download complete [2021-05-11T22:52:13.460Z] 207e8628e3a3: Verifying Checksum [2021-05-11T22:52:13.460Z] 207e8628e3a3: Download complete [2021-05-11T22:52:13.460Z] c791037a9be2: Verifying Checksum [2021-05-11T22:52:13.460Z] c791037a9be2: Download complete [2021-05-11T22:52:13.460Z] 595b0fe564bb: Verifying Checksum [2021-05-11T22:52:13.460Z] 595b0fe564bb: Download complete [2021-05-11T22:52:14.062Z] 595b0fe564bb: Pull complete [2021-05-11T22:52:14.685Z] 7186ed65a4f7: Pull complete [2021-05-11T22:52:15.287Z] 316046926c0a: Pull complete [2021-05-11T22:52:15.287Z] ffd874e62e21: Verifying Checksum [2021-05-11T22:52:15.287Z] ffd874e62e21: Download complete [2021-05-11T22:52:16.274Z] 4ebd0625c992: Verifying Checksum [2021-05-11T22:52:16.274Z] 4ebd0625c992: Download complete [2021-05-11T22:52:18.342Z] 0510c868ecb4: Pull complete [2021-05-11T22:52:18.342Z] afea3b2eda06: Pull complete [2021-05-11T22:52:18.342Z] 7809a108b3ef: Pull complete [2021-05-11T22:52:22.575Z] f706445af74f: Pull complete [2021-05-11T22:52:22.575Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-11T22:52:22.575Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-11T22:52:22.575Z] ---> b068be0155e3 [2021-05-11T22:52:22.575Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T22:52:23.527Z] ---> Running in 7375410f6f1f [2021-05-11T22:52:23.527Z] Removing intermediate container 7375410f6f1f [2021-05-11T22:52:23.527Z] ---> 88a8b3cdbcca [2021-05-11T22:52:23.527Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T22:52:23.527Z] ---> Running in 7682c9dcf927 [2021-05-11T22:52:23.792Z] Removing intermediate container 7682c9dcf927 [2021-05-11T22:52:23.792Z] ---> 59735fedb851 [2021-05-11T22:52:23.792Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-11T22:52:23.792Z] ---> Running in 89fad881c90f [2021-05-11T22:52:24.062Z] Removing intermediate container 89fad881c90f [2021-05-11T22:52:24.062Z] ---> 7cfd841246b2 [2021-05-11T22:52:24.062Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T22:52:24.062Z] ---> Running in 2b3b414300c9 [2021-05-11T22:52:25.466Z] Removing intermediate container 2b3b414300c9 [2021-05-11T22:52:25.466Z] ---> ce23251cfc02 [2021-05-11T22:52:25.466Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T22:52:25.466Z] ---> Running in aed680e3dd20 [2021-05-11T22:52:26.051Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T22:52:26.437Z] 4ebd0625c992: Pull complete [2021-05-11T22:52:26.713Z] 207e8628e3a3: Pull complete [2021-05-11T22:52:26.987Z] c791037a9be2: Pull complete [2021-05-11T22:52:27.010Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T22:52:27.592Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-11T22:52:27.592Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-11T22:52:27.592Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-11T22:52:27.855Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-11T22:52:27.855Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-11T22:52:27.855Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-11T22:52:28.117Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-11T22:52:28.381Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-11T22:52:28.381Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-11T22:52:28.381Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T22:52:28.381Z] OK: 154 MiB in 49 packages [2021-05-11T22:52:29.330Z] Removing intermediate container aed680e3dd20 [2021-05-11T22:52:29.330Z] ---> 5b2665b5fe7f [2021-05-11T22:52:29.330Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-11T22:52:29.594Z] ---> Running in 1717813db811 [2021-05-11T22:52:29.594Z] Removing intermediate container 1717813db811 [2021-05-11T22:52:29.594Z] ---> b284e2086252 [2021-05-11T22:52:29.594Z] Step 9/10 : COPY . . [2021-05-11T22:52:29.857Z] ---> a5b5865ddaf0 [2021-05-11T22:52:29.857Z] Step 10/10 : RUN go mod download [2021-05-11T22:52:30.122Z] ---> Running in a2e090dfdf76 [2021-05-11T22:52:31.308Z] ffd874e62e21: Pull complete [2021-05-11T22:52:31.308Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-11T22:52:31.308Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-11T22:52:31.308Z] ---> cfc18b08335c [2021-05-11T22:52:31.308Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T22:52:33.925Z] ---> Running in 515293fc2859 [2021-05-11T22:52:34.199Z] Removing intermediate container 515293fc2859 [2021-05-11T22:52:34.199Z] ---> fb6c8a768a1c [2021-05-11T22:52:34.199Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T22:52:34.199Z] ---> Running in 0299d0f51860 [2021-05-11T22:52:34.838Z] Removing intermediate container 0299d0f51860 [2021-05-11T22:52:34.838Z] ---> cb697610a048 [2021-05-11T22:52:34.838Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-11T22:52:34.838Z] ---> Running in ede1a3480eb6 [2021-05-11T22:52:35.436Z] Removing intermediate container ede1a3480eb6 [2021-05-11T22:52:35.436Z] ---> 08bd1a912bf7 [2021-05-11T22:52:35.436Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T22:52:35.436Z] ---> Running in df2f4e20fec8 [2021-05-11T22:52:38.073Z] Removing intermediate container df2f4e20fec8 [2021-05-11T22:52:38.073Z] ---> a6b8e5ecd21c [2021-05-11T22:52:38.073Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T22:52:38.073Z] ---> Running in 749c6e0be7b0 [2021-05-11T22:52:39.510Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T22:52:40.101Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T22:52:41.080Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-11T22:52:41.080Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-11T22:52:41.080Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-11T22:52:41.351Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-11T22:52:41.351Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-11T22:52:41.351Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-11T22:52:41.622Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-11T22:52:41.896Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-11T22:52:42.168Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-11T22:52:42.168Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T22:52:42.168Z] OK: 144 MiB in 49 packages [2021-05-11T22:52:43.620Z] Removing intermediate container 749c6e0be7b0 [2021-05-11T22:52:43.620Z] ---> 7024fcd305bd [2021-05-11T22:52:43.620Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-11T22:52:43.893Z] ---> Running in fabc6a09319b [2021-05-11T22:52:44.168Z] Removing intermediate container fabc6a09319b [2021-05-11T22:52:44.168Z] ---> b74ffce50a9a [2021-05-11T22:52:44.168Z] Step 9/10 : COPY . . [2021-05-11T22:52:45.163Z] ---> d3807400b563 [2021-05-11T22:52:45.163Z] Step 10/10 : RUN go mod download [2021-05-11T22:52:45.163Z] ---> Running in d85c69290cc3 [2021-05-11T22:52:56.793Z] Removing intermediate container a2e090dfdf76 [2021-05-11T22:52:56.793Z] ---> 2c71ab389a51 [2021-05-11T22:52:56.793Z] Successfully built 2c71ab389a51 [2021-05-11T22:52:56.793Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T22:52:57.122Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T22:52:57.122Z] . [Pipeline] withDockerContainer [2021-05-11T22:52:57.253Z] prd-centos7-docker-4c-2g-4616 does not seem to be running inside a container [2021-05-11T22:52:57.309Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-11T22:52:58.206Z] $ docker top e59f5bf6b930242983e2f57a5979367a54c97f049ac6e72c8105d110e9b77995 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T22:52:58.671Z] + go version [2021-05-11T22:52:58.672Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-11T22:52:58.687Z] $ docker stop --time=1 e59f5bf6b930242983e2f57a5979367a54c97f049ac6e72c8105d110e9b77995 [2021-05-11T22:53:00.059Z] $ docker rm -f e59f5bf6b930242983e2f57a5979367a54c97f049ac6e72c8105d110e9b77995 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T22:53:00.658Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T22:53:00.658Z] . [Pipeline] withDockerContainer [2021-05-11T22:53:00.769Z] prd-centos7-docker-4c-2g-4616 does not seem to be running inside a container [2021-05-11T22:53:00.822Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-11T22:53:01.556Z] $ docker top c963515fd11ee7a7cd9bd3a0301d9427b28cb6b5ed7acc4c7505d29fb4de744c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T22:53:02.006Z] + go mod tidy [Pipeline] sh [2021-05-11T22:53:03.331Z] + make test [2021-05-11T22:53:03.331Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-11T22:53:03.914Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-11T22:53:11.957Z] Removing intermediate container d85c69290cc3 [2021-05-11T22:53:11.958Z] ---> da8f18e3500c [2021-05-11T22:53:11.958Z] Successfully built da8f18e3500c [2021-05-11T22:53:11.958Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T22:53:12.298Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T22:53:12.298Z] . [Pipeline] withDockerContainer [2021-05-11T22:53:12.557Z] prd-ubuntu18.04-docker-arm64-4c-16g-4615 does not seem to be running inside a container [2021-05-11T22:53:12.638Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-11T22:53:14.182Z] $ docker top c1e3aaecde20cdedb64d606144d01ffcb1627ba01756fc299fbf5a3a848166c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T22:53:15.114Z] + go version [2021-05-11T22:53:15.114Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-11T22:53:15.137Z] $ docker stop --time=1 c1e3aaecde20cdedb64d606144d01ffcb1627ba01756fc299fbf5a3a848166c9 [2021-05-11T22:53:17.070Z] $ docker rm -f c1e3aaecde20cdedb64d606144d01ffcb1627ba01756fc299fbf5a3a848166c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T22:53:17.782Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T22:53:17.782Z] . [Pipeline] withDockerContainer [2021-05-11T22:53:18.039Z] prd-ubuntu18.04-docker-arm64-4c-16g-4615 does not seem to be running inside a container [2021-05-11T22:53:18.118Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-11T22:53:19.629Z] $ docker top dcaca3598fea9a107f6d9b92a6037c364f9e8760304bce60499189f4d3b78791 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T22:53:20.589Z] + go mod tidy [Pipeline] sh [2021-05-11T22:53:21.846Z] + make test [2021-05-11T22:53:21.846Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-11T22:53:22.337Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-11T22:53:22.603Z] ok github.com/edgexfoundry/device-rest-go/driver 0.020s coverage: 54.0% of statements [2021-05-11T22:53:22.603Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-11T22:53:22.840Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-11T22:53:30.819Z] gofmt -l . [2021-05-11T22:53:30.819Z] [ "`gofmt -l .`" = "" ] [2021-05-11T22:53:30.819Z] ./bin/test-go-mod-tidy.sh [2021-05-11T22:53:31.088Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-11T22:53:31.681Z] $ docker stop --time=1 c963515fd11ee7a7cd9bd3a0301d9427b28cb6b5ed7acc4c7505d29fb4de744c [2021-05-11T22:53:33.555Z] $ docker rm -f c963515fd11ee7a7cd9bd3a0301d9427b28cb6b5ed7acc4c7505d29fb4de744c [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T22:53:34.086Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T22:53:34.499Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-11T22:53:37.032Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T22:53:37.334Z] + ls -al . [2021-05-11T22:53:37.334Z] total 104 [2021-05-11T22:53:37.334Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 11 22:53 . [2021-05-11T22:53:37.334Z] drwxrwxr-x. 4 jenkins jenkins 28 May 11 22:51 .. [2021-05-11T22:53:37.334Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 11 22:51 Attribution.txt [2021-05-11T22:53:37.334Z] drwxrwxr-x. 2 jenkins jenkins 64 May 11 22:51 bin [2021-05-11T22:53:37.334Z] drwxrwxr-x. 3 jenkins jenkins 32 May 11 22:51 cmd [2021-05-11T22:53:37.334Z] -rw-r--r--. 1 jenkins jenkins 8513 May 11 22:53 coverage.out [2021-05-11T22:53:37.334Z] -rw-rw-r--. 1 jenkins jenkins 1602 May 11 22:51 Dockerfile [2021-05-11T22:53:37.334Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 11 22:51 Dockerfile.build [2021-05-11T22:53:37.334Z] -rw-rw-r--. 1 jenkins jenkins 151 May 11 22:51 .dockerignore [2021-05-11T22:53:37.334Z] drwxrwxr-x. 2 jenkins jenkins 76 May 11 22:51 driver [2021-05-11T22:53:37.334Z] drwxrwxr-x. 8 jenkins jenkins 179 May 11 22:52 .git [2021-05-11T22:53:37.334Z] drwxrwxr-x. 2 jenkins jenkins 103 May 11 22:51 .github [2021-05-11T22:53:37.334Z] -rw-rw-r--. 1 jenkins jenkins 339 May 11 22:51 .gitignore [2021-05-11T22:53:37.334Z] -rw-r--r--. 1 jenkins jenkins 285 May 11 22:53 go.mod [2021-05-11T22:53:37.334Z] -rw-r--r--. 1 jenkins jenkins 21011 May 11 22:53 go.sum [2021-05-11T22:53:37.334Z] -rw-rw-r--. 1 jenkins jenkins 680 May 11 22:51 Jenkinsfile [2021-05-11T22:53:37.334Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 11 22:51 LICENSE [2021-05-11T22:53:37.334Z] -rw-rw-r--. 1 jenkins jenkins 976 May 11 22:51 Makefile [2021-05-11T22:53:37.334Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 11 22:51 README.md [2021-05-11T22:53:37.334Z] drwxrwxr-x. 4 jenkins jenkins 71 May 11 22:51 snap [2021-05-11T22:53:37.334Z] -rw-rw-r--. 1 jenkins jenkins 5 May 11 22:49 VERSION [2021-05-11T22:53:37.334Z] -rw-rw-r--. 1 jenkins jenkins 713 May 11 22:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T22:53:37.651Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c --label arch=amd64 --label version=0.0.0 . [2021-05-11T22:53:37.651Z] Sending build context to Docker daemon 101.9kB [2021-05-11T22:53:37.651Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.13 [2021-05-11T22:53:37.651Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-11T22:53:37.652Z] ---> 2c71ab389a51 [2021-05-11T22:53:37.652Z] Step 3/24 : ARG MAKE='make build' [2021-05-11T22:53:37.915Z] ---> Running in bf8425586b1f [2021-05-11T22:53:37.915Z] Removing intermediate container bf8425586b1f [2021-05-11T22:53:37.915Z] ---> b876f30c341e [2021-05-11T22:53:37.915Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T22:53:38.177Z] ---> Running in 605a3667efeb [2021-05-11T22:53:38.177Z] Removing intermediate container 605a3667efeb [2021-05-11T22:53:38.177Z] ---> 83b6ee67fc4d [2021-05-11T22:53:38.177Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T22:53:38.440Z] ---> Running in a4bcb30bf814 [2021-05-11T22:53:38.440Z] Removing intermediate container a4bcb30bf814 [2021-05-11T22:53:38.440Z] ---> 66f3f5d3d284 [2021-05-11T22:53:38.440Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T22:53:38.710Z] ---> Running in f32a95c89d92 [2021-05-11T22:53:39.666Z] Removing intermediate container f32a95c89d92 [2021-05-11T22:53:39.666Z] ---> b03b0e5f9e0e [2021-05-11T22:53:39.666Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T22:53:39.666Z] ---> Running in c7c20aff21c9 [2021-05-11T22:53:40.248Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T22:53:41.199Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T22:53:41.774Z] OK: 154 MiB in 49 packages [2021-05-11T22:53:42.350Z] Removing intermediate container c7c20aff21c9 [2021-05-11T22:53:42.350Z] ---> d7123726e800 [2021-05-11T22:53:42.350Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-11T22:53:42.350Z] ---> Running in c0951101762d [2021-05-11T22:53:42.350Z] Removing intermediate container c0951101762d [2021-05-11T22:53:42.350Z] ---> f645a802d8b6 [2021-05-11T22:53:42.350Z] Step 9/24 : COPY . . [2021-05-11T22:53:42.617Z] ---> e7fab5bbdbe6 [2021-05-11T22:53:42.617Z] Step 10/24 : RUN make update [2021-05-11T22:53:42.881Z] ---> Running in a51605aab8a5 [2021-05-11T22:53:43.459Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-11T22:53:43.727Z] Removing intermediate container a51605aab8a5 [2021-05-11T22:53:43.727Z] ---> 1a612191e20e [2021-05-11T22:53:43.727Z] Step 11/24 : RUN $MAKE [2021-05-11T22:53:43.727Z] ---> Running in c7c8caaacd41 [2021-05-11T22:53:44.324Z] 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-11T22:53:59.354Z] Removing intermediate container c7c8caaacd41 [2021-05-11T22:53:59.354Z] ---> 9b2f070d1b1a [2021-05-11T22:53:59.354Z] Step 12/24 : FROM alpine:3.13 [2021-05-11T22:53:59.354Z] 3.13: Pulling from library/alpine [2021-05-11T22:53:59.354Z] 540db60ca938: Already exists [2021-05-11T22:53:59.354Z] Digest: sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f [2021-05-11T22:53:59.354Z] Status: Downloaded newer image for alpine:3.13 [2021-05-11T22:53:59.354Z] ---> 6dbb9cc54074 [2021-05-11T22:53:59.354Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-11T22:53:59.354Z] ---> Running in 9dce66c843a9 [2021-05-11T22:53:59.354Z] Removing intermediate container 9dce66c843a9 [2021-05-11T22:53:59.354Z] ---> 21ac3b5735dd [2021-05-11T22:53:59.354Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-11T22:53:59.354Z] ---> Running in 0040026ed605 [2021-05-11T22:53:59.354Z] Removing intermediate container 0040026ed605 [2021-05-11T22:53:59.354Z] ---> 980fdecdc0b3 [2021-05-11T22:53:59.354Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-11T22:53:59.354Z] ---> Running in 695772db5b3f [2021-05-11T22:53:59.354Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T22:53:59.618Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T22:53:59.881Z] (1/6) Installing dumb-init (1.2.5-r0) [2021-05-11T22:53:59.881Z] (2/6) Installing libgcc (10.2.1_pre1-r3) [2021-05-11T22:53:59.881Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-11T22:53:59.881Z] (4/6) Installing libstdc++ (10.2.1_pre1-r3) [2021-05-11T22:53:59.881Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-11T22:53:59.881Z] (6/6) Installing zeromq (4.3.3-r1) [2021-05-11T22:53:59.881Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T22:53:59.881Z] OK: 8 MiB in 20 packages [2021-05-11T22:54:00.458Z] Removing intermediate container 695772db5b3f [2021-05-11T22:54:00.458Z] ---> 3a34faa7d71c [2021-05-11T22:54:00.458Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-11T22:54:01.430Z] ---> 3388005576d5 [2021-05-11T22:54:01.430Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-11T22:54:01.430Z] ---> dc2e4ca37509 [2021-05-11T22:54:01.430Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-11T22:54:01.696Z] ---> 1ed39487c944 [2021-05-11T22:54:01.696Z] Step 19/24 : EXPOSE 49986 [2021-05-11T22:54:01.958Z] ---> Running in 532bbc53f6b2 [2021-05-11T22:54:01.958Z] Removing intermediate container 532bbc53f6b2 [2021-05-11T22:54:01.959Z] ---> b7512a3c0487 [2021-05-11T22:54:01.959Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-11T22:54:02.221Z] ---> Running in aacd21b124e6 [2021-05-11T22:54:02.222Z] Removing intermediate container aacd21b124e6 [2021-05-11T22:54:02.222Z] ---> c83dd1bb6115 [2021-05-11T22:54:02.222Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-11T22:54:02.222Z] ---> Running in ce4a40336adc [2021-05-11T22:54:02.485Z] Removing intermediate container ce4a40336adc [2021-05-11T22:54:02.485Z] ---> 1890e593dd06 [2021-05-11T22:54:02.485Z] Step 22/24 : LABEL arch=amd64 [2021-05-11T22:54:02.485Z] ---> Running in 09e2e3c350d3 [2021-05-11T22:54:02.747Z] Removing intermediate container 09e2e3c350d3 [2021-05-11T22:54:02.747Z] ---> a152e2582131 [2021-05-11T22:54:02.747Z] Step 23/24 : LABEL git_sha=9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c [2021-05-11T22:54:02.747Z] ---> Running in 44b4e2d9b023 [2021-05-11T22:54:03.017Z] Removing intermediate container 44b4e2d9b023 [2021-05-11T22:54:03.017Z] ---> 8ba04cc7a2ae [2021-05-11T22:54:03.017Z] Step 24/24 : LABEL version=0.0.0 [2021-05-11T22:54:03.017Z] ---> Running in 0549a1099098 [2021-05-11T22:54:03.280Z] Removing intermediate container 0549a1099098 [2021-05-11T22:54:03.280Z] ---> b1d292cc5d1e [2021-05-11T22:54:03.280Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-11T22:54:03.280Z] Successfully built b1d292cc5d1e [2021-05-11T22:54:03.281Z] Successfully tagged device-rest: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-11T22:54:03.827Z] ---> job-cost.sh [2021-05-11T22:54:03.827Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-OYYw [2021-05-11T22:54:18.765Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T22:54:19.461Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-11T22:54:19.461Z] ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 54.0% of statements [2021-05-11T22:54:19.461Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-11T22:54:41.664Z] gofmt -l . [2021-05-11T22:54:41.664Z] [ "`gofmt -l .`" = "" ] [2021-05-11T22:54:41.664Z] ./bin/test-go-mod-tidy.sh [2021-05-11T22:54:42.263Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-11T22:54:44.262Z] $ docker stop --time=1 dcaca3598fea9a107f6d9b92a6037c364f9e8760304bce60499189f4d3b78791 [2021-05-11T22:54:45.391Z] lf-activate-venv(): INFO: Adding /tmp/venv-OYYw/bin to PATH [2021-05-11T22:54:45.391Z] INFO: No Stack... [2021-05-11T22:54:46.343Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T22:54:46.397Z] $ docker rm -f dcaca3598fea9a107f6d9b92a6037c364f9e8760304bce60499189f4d3b78791 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T22:54:47.266Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T22:54:47.290Z] INFO: Archiving Costs [2021-05-11T22:54:47.298Z] Warning: overwriting stash ‘coverage-report’ [Pipeline] sh [2021-05-11T22:54:47.596Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-05-11T22:54:47.596Z] + cut -d, -f6 [Pipeline] lock [2021-05-11T22:54:47.682Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-94-2-stack-cost] [2021-05-11T22:54:47.694Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-94-2-stack-cost] did not exist. Created. [2021-05-11T22:54:47.695Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-94-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T22:54:48.032Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-11T22:54:48.162Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T22:54:48.173Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-94-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [2021-05-11T22:54:48.278Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T22:54:48.799Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T22:54:49.208Z] + ls -al . [2021-05-11T22:54:49.208Z] total 132 [2021-05-11T22:54:49.208Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 22:54 . [2021-05-11T22:54:49.208Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 22:51 .. [2021-05-11T22:54:49.208Z] -rw-rw-r-- 1 jenkins jenkins 151 May 11 22:51 .dockerignore [2021-05-11T22:54:49.208Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 22:52 .git [2021-05-11T22:54:49.208Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:51 .github [2021-05-11T22:54:49.208Z] -rw-rw-r-- 1 jenkins jenkins 339 May 11 22:51 .gitignore [2021-05-11T22:54:49.208Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 11 22:51 Attribution.txt [2021-05-11T22:54:49.208Z] -rw-rw-r-- 1 jenkins jenkins 1602 May 11 22:51 Dockerfile [2021-05-11T22:54:49.208Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 11 22:51 Dockerfile.build [2021-05-11T22:54:49.208Z] -rw-rw-r-- 1 jenkins jenkins 680 May 11 22:51 Jenkinsfile [2021-05-11T22:54:49.208Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 22:51 LICENSE [2021-05-11T22:54:49.208Z] -rw-rw-r-- 1 jenkins jenkins 976 May 11 22:51 Makefile [2021-05-11T22:54:49.208Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 11 22:51 README.md [2021-05-11T22:54:49.208Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 22:49 VERSION [2021-05-11T22:54:49.208Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:51 bin [2021-05-11T22:54:49.208Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:51 cmd [2021-05-11T22:54:49.208Z] -rw-r--r-- 1 jenkins jenkins 8513 May 11 22:54 coverage.out [2021-05-11T22:54:49.208Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:51 driver [2021-05-11T22:54:49.208Z] -rw-r--r-- 1 jenkins jenkins 285 May 11 22:54 go.mod [2021-05-11T22:54:49.208Z] -rw-r--r-- 1 jenkins jenkins 21011 May 11 22:53 go.sum [2021-05-11T22:54:49.208Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 22:51 snap [2021-05-11T22:54:49.208Z] -rw-rw-r-- 1 jenkins jenkins 713 May 11 22:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T22:54:49.586Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c --label arch=arm64 --label version=0.0.0 . [2021-05-11T22:54:49.586Z] Sending build context to Docker daemon 101.9kB [2021-05-11T22:54:49.864Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.13 [2021-05-11T22:54:49.864Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-11T22:54:49.864Z] ---> da8f18e3500c [2021-05-11T22:54:49.864Z] Step 3/24 : ARG MAKE='make build' [2021-05-11T22:54:50.144Z] ---> Running in d55bff53b5b1 [2021-05-11T22:54:50.750Z] Removing intermediate container d55bff53b5b1 [2021-05-11T22:54:50.750Z] ---> f4362926ca7b [2021-05-11T22:54:50.750Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T22:54:50.750Z] ---> Running in f8a9c45fa203 [2021-05-11T22:54:51.345Z] Removing intermediate container f8a9c45fa203 [2021-05-11T22:54:51.345Z] ---> 8c02eb54326a [2021-05-11T22:54:51.345Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T22:54:51.345Z] ---> Running in 2bfd29b4d6a5 [2021-05-11T22:54:51.945Z] Removing intermediate container 2bfd29b4d6a5 [2021-05-11T22:54:51.945Z] ---> 73b026b9d28f [2021-05-11T22:54:51.945Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T22:54:51.945Z] ---> Running in 782b6db0b711 [2021-05-11T22:54:53.919Z] Removing intermediate container 782b6db0b711 [2021-05-11T22:54:53.919Z] ---> 41842f9be165 [2021-05-11T22:54:53.919Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T22:54:54.195Z] ---> Running in c15d2416f973 [2021-05-11T22:54:55.176Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T22:54:56.150Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T22:54:57.133Z] OK: 144 MiB in 49 packages [2021-05-11T22:54:58.107Z] Removing intermediate container c15d2416f973 [2021-05-11T22:54:58.107Z] ---> c3a67a2dd8b0 [2021-05-11T22:54:58.107Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-11T22:54:58.107Z] ---> Running in 58f91289bb4b [2021-05-11T22:54:58.703Z] Removing intermediate container 58f91289bb4b [2021-05-11T22:54:58.703Z] ---> e3bfff61a150 [2021-05-11T22:54:58.703Z] Step 9/24 : COPY . . [2021-05-11T22:54:59.300Z] ---> f37689f2827f [2021-05-11T22:54:59.300Z] Step 10/24 : RUN make update [2021-05-11T22:54:59.577Z] ---> Running in b971807b8ad3 [2021-05-11T22:55:00.556Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-11T22:55:01.985Z] Removing intermediate container b971807b8ad3 [2021-05-11T22:55:01.985Z] ---> a07a6daa0ffa [2021-05-11T22:55:01.985Z] Step 11/24 : RUN $MAKE [2021-05-11T22:55:01.985Z] ---> Running in c52fec6a32f5 [2021-05-11T22:55:02.965Z] 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-11T22:55:41.954Z] Removing intermediate container c52fec6a32f5 [2021-05-11T22:55:41.954Z] ---> ec91470a973e [2021-05-11T22:55:41.954Z] Step 12/24 : FROM alpine:3.13 [2021-05-11T22:55:41.954Z] 3.13: Pulling from library/alpine [2021-05-11T22:55:41.954Z] 595b0fe564bb: Already exists [2021-05-11T22:55:41.954Z] Digest: sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f [2021-05-11T22:55:41.954Z] Status: Downloaded newer image for alpine:3.13 [2021-05-11T22:55:41.954Z] ---> 3fcaaf3dc95c [2021-05-11T22:55:41.954Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-11T22:55:41.954Z] ---> Running in c114b78a7db7 [2021-05-11T22:55:41.954Z] Removing intermediate container c114b78a7db7 [2021-05-11T22:55:41.954Z] ---> c09069d556da [2021-05-11T22:55:41.954Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-11T22:55:41.954Z] ---> Running in 9b46e3a643f2 [2021-05-11T22:55:41.954Z] Removing intermediate container 9b46e3a643f2 [2021-05-11T22:55:41.954Z] ---> a993b17a5b5a [2021-05-11T22:55:41.954Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-11T22:55:41.954Z] ---> Running in a7579e2af724 [2021-05-11T22:55:41.954Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T22:55:41.954Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T22:55:41.954Z] (1/6) Installing dumb-init (1.2.5-r0) [2021-05-11T22:55:41.954Z] (2/6) Installing libgcc (10.2.1_pre1-r3) [2021-05-11T22:55:41.954Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-11T22:55:41.954Z] (4/6) Installing libstdc++ (10.2.1_pre1-r3) [2021-05-11T22:55:41.954Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-11T22:55:41.954Z] (6/6) Installing zeromq (4.3.3-r1) [2021-05-11T22:55:41.954Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T22:55:41.954Z] OK: 8 MiB in 20 packages [2021-05-11T22:55:42.928Z] Removing intermediate container a7579e2af724 [2021-05-11T22:55:42.928Z] ---> 349cc547a2e5 [2021-05-11T22:55:42.928Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-11T22:55:44.358Z] ---> bde4d2a87c69 [2021-05-11T22:55:44.358Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-11T22:55:44.956Z] ---> 6420379ba66b [2021-05-11T22:55:44.956Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-11T22:55:45.552Z] ---> 98339f24d7af [2021-05-11T22:55:45.552Z] Step 19/24 : EXPOSE 49986 [2021-05-11T22:55:45.825Z] ---> Running in f696d0cbff5c [2021-05-11T22:55:46.095Z] Removing intermediate container f696d0cbff5c [2021-05-11T22:55:46.095Z] ---> 88bbcfdfe31f [2021-05-11T22:55:46.095Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-11T22:55:46.367Z] ---> Running in d122079e1541 [2021-05-11T22:55:46.641Z] Removing intermediate container d122079e1541 [2021-05-11T22:55:46.641Z] ---> be9ac8c473fe [2021-05-11T22:55:46.641Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-11T22:55:46.918Z] ---> Running in 80a28145f3c1 [2021-05-11T22:55:47.189Z] Removing intermediate container 80a28145f3c1 [2021-05-11T22:55:47.189Z] ---> 195c14cb6da9 [2021-05-11T22:55:47.189Z] Step 22/24 : LABEL arch=arm64 [2021-05-11T22:55:47.465Z] ---> Running in 0abc9978619a [2021-05-11T22:55:48.060Z] Removing intermediate container 0abc9978619a [2021-05-11T22:55:48.060Z] ---> 236c5edf47fb [2021-05-11T22:55:48.060Z] Step 23/24 : LABEL git_sha=9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c [2021-05-11T22:55:48.060Z] ---> Running in 802d7492bb02 [2021-05-11T22:55:48.653Z] Removing intermediate container 802d7492bb02 [2021-05-11T22:55:48.653Z] ---> f9bac2ea1c9a [2021-05-11T22:55:48.653Z] Step 24/24 : LABEL version=0.0.0 [2021-05-11T22:55:48.653Z] ---> Running in 0bfac463e9ed [2021-05-11T22:55:49.256Z] Removing intermediate container 0bfac463e9ed [2021-05-11T22:55:49.256Z] ---> 539fc8b9d065 [2021-05-11T22:55:49.256Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-11T22:55:49.256Z] Successfully built 539fc8b9d065 [2021-05-11T22:55:49.256Z] Successfully tagged device-rest-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-11T22:55:49.717Z] ---> job-cost.sh [2021-05-11T22:55:49.718Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sYdp [2021-05-11T22:56:28.668Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T22:57:50.383Z] lf-activate-venv(): INFO: Adding /tmp/venv-sYdp/bin to PATH [2021-05-11T22:57:50.383Z] INFO: No Stack... [2021-05-11T22:57:50.383Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-11T22:57:50.652Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T22:57:50.992Z] + + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-05-11T22:57:50.992Z] cut -d, -f6 [Pipeline] lock [2021-05-11T22:57:51.107Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-94-2-stack-cost] [2021-05-11T22:57:51.121Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-94-2-stack-cost] did not exist. Created. [2021-05-11T22:57:51.121Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-94-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T22:57:51.496Z] /w/workspace/device-rest-go/2@tmp/durable-4abd9964/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-4abd9964/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-11T22:57:51.836Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-11T22:57:51.855Z] Warning: overwriting stash ‘stack-cost’ [2021-05-11T22:57:52.002Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T22:57:52.014Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-94-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-11T22:57:52.871Z] provisioning config files... [2021-05-11T22:57:52.887Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/config2155328970074643176tmp [Pipeline] { [Pipeline] sh [2021-05-11T22:57:53.232Z] + set +x [2021-05-11T22:57:53.232Z] + curl -s https://codecov.io/bash [2021-05-11T22:57:53.232Z] + bash -s -- [2021-05-11T22:57:53.495Z] [2021-05-11T22:57:53.495Z] _____ _ [2021-05-11T22:57:53.495Z] / ____| | | [2021-05-11T22:57:53.495Z] | | ___ __| | ___ ___ _____ __ [2021-05-11T22:57:53.495Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-11T22:57:53.495Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-11T22:57:53.495Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-11T22:57:53.495Z] Bash-1.0.2 [2021-05-11T22:57:53.495Z] [2021-05-11T22:57:53.495Z] [2021-05-11T22:57:53.495Z] ==> git version 2.24.3 found [2021-05-11T22:57:53.495Z] ==> 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-11T22:57:53.495Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-11T22:57:53.495Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-11T22:57:53.495Z] ==> Jenkins CI detected. [2021-05-11T22:57:53.495Z] project root: . [2021-05-11T22:57:53.495Z] --> token set from env [2021-05-11T22:57:53.495Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-11T22:57:53.495Z] ==> Running gcov in . (disable via -X gcov) [2021-05-11T22:57:53.495Z] ==> Python coveragepy not found [2021-05-11T22:57:53.495Z] ==> Searching for coverage reports in: [2021-05-11T22:57:53.495Z] + . [2021-05-11T22:57:53.495Z] -> Found 1 reports [2021-05-11T22:57:53.495Z] ==> Detecting git/mercurial file structure [2021-05-11T22:57:53.495Z] ==> Reading reports [2021-05-11T22:57:53.495Z] + ./coverage.out bytes=8513 [2021-05-11T22:57:53.495Z] ==> Appending adjustments [2021-05-11T22:57:53.495Z] https://docs.codecov.io/docs/fixing-reports [2021-05-11T22:57:53.758Z] + Found adjustments [2021-05-11T22:57:53.758Z] ==> Gzipping contents [2021-05-11T22:57:53.758Z] 4.0K /tmp/codecov.C5M5td.gz [2021-05-11T22:57:53.758Z] ==> Uploading reports [2021-05-11T22:57:53.758Z] url: https://codecov.io [2021-05-11T22:57:53.758Z] query: branch=PR-94&commit=9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-94%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=94&job=&cmd_args= [2021-05-11T22:57:53.758Z] -> Pinging Codecov [2021-05-11T22:57:53.758Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-94&commit=9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-94%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=94&job=&cmd_args= [2021-05-11T22:57:54.334Z] -> Uploading to [2021-05-11T22:57:54.335Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-11/4E5D53B4F1F92C436F7061BF334D961C/9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c/6cd51ba3-23df-4170-a786-7f9589bbf49c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T225754Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c3ca9bfdaa30c751a183dfaf431d74ba0a2b72acc0d0f2e78366f94cf4d5874d [2021-05-11T22:57:54.335Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-11T22:57:54.335Z] Dload Upload Total Spent Left Speed [2021-05-11T22:57:54.598Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1622 0 0 100 1622 0 3996 --:--:-- --:--:-- --:--:-- 4004 [2021-05-11T22:57:54.598Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c [Pipeline] } [2021-05-11T22:57:54.608Z] 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-11T22:57:55.660Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T22:57:55.969Z] ---> package-listing.sh [2021-05-11T22:57:55.969Z] ++ facter osfamily [2021-05-11T22:57:55.969Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-11T22:57:55.969Z] + OS_FAMILY=redhat [2021-05-11T22:57:55.969Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-94 [2021-05-11T22:57:55.969Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-11T22:57:55.969Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-11T22:57:55.969Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-11T22:57:55.969Z] + PACKAGES=/tmp/packages_start.txt [2021-05-11T22:57:55.969Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-94 ']' [2021-05-11T22:57:55.969Z] + PACKAGES=/tmp/packages_end.txt [2021-05-11T22:57:55.969Z] + case "${OS_FAMILY}" in [2021-05-11T22:57:55.969Z] + rpm -qa [2021-05-11T22:57:55.969Z] + sort [2021-05-11T22:58:01.350Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-11T22:58:01.350Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-11T22:58:01.350Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-11T22:58:01.350Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-94 ']' [2021-05-11T22:58:01.350Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-94/archives/ [2021-05-11T22:58:01.350Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-94/archives/ [Pipeline] echo [2021-05-11T22:58:01.365Z] 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-94/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-11T22:58:01.661Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-11T22:58:01.985Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T22:58:01.985Z] [2021-05-11T22:58:01.985Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-11T22:58:02.309Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T22:58:02.310Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-11T22:58:02.310Z] df20fa9351a1: Pulling fs layer [2021-05-11T22:58:02.310Z] 36b3adc4ff6f: Pulling fs layer [2021-05-11T22:58:02.310Z] 8ad3a11d3b57: Pulling fs layer [2021-05-11T22:58:02.310Z] 46f8f816bc3b: Pulling fs layer [2021-05-11T22:58:02.310Z] 93b61091891f: Pulling fs layer [2021-05-11T22:58:02.310Z] 93b9cdb0e59b: Pulling fs layer [2021-05-11T22:58:02.310Z] 5e14af77c1be: Pulling fs layer [2021-05-11T22:58:02.310Z] 01666e4c0597: Pulling fs layer [2021-05-11T22:58:02.310Z] aa168da1d23b: Pulling fs layer [2021-05-11T22:58:02.310Z] 93b61091891f: Waiting [2021-05-11T22:58:02.310Z] 93b9cdb0e59b: Waiting [2021-05-11T22:58:02.310Z] 5e14af77c1be: Waiting [2021-05-11T22:58:02.310Z] 01666e4c0597: Waiting [2021-05-11T22:58:02.310Z] aa168da1d23b: Waiting [2021-05-11T22:58:02.310Z] 46f8f816bc3b: Waiting [2021-05-11T22:58:02.310Z] 36b3adc4ff6f: Download complete [2021-05-11T22:58:02.310Z] 46f8f816bc3b: Verifying Checksum [2021-05-11T22:58:02.310Z] 46f8f816bc3b: Download complete [2021-05-11T22:58:02.310Z] df20fa9351a1: Download complete [2021-05-11T22:58:02.574Z] 93b9cdb0e59b: Verifying Checksum [2021-05-11T22:58:02.574Z] 93b9cdb0e59b: Download complete [2021-05-11T22:58:02.574Z] 5e14af77c1be: Verifying Checksum [2021-05-11T22:58:02.574Z] 5e14af77c1be: Download complete [2021-05-11T22:58:02.574Z] 93b61091891f: Download complete [2021-05-11T22:58:02.574Z] 01666e4c0597: Verifying Checksum [2021-05-11T22:58:02.574Z] 01666e4c0597: Download complete [2021-05-11T22:58:02.574Z] 8ad3a11d3b57: Verifying Checksum [2021-05-11T22:58:02.574Z] 8ad3a11d3b57: Download complete [2021-05-11T22:58:02.836Z] df20fa9351a1: Pull complete [2021-05-11T22:58:03.102Z] 36b3adc4ff6f: Pull complete [2021-05-11T22:58:03.690Z] 8ad3a11d3b57: Pull complete [2021-05-11T22:58:03.961Z] 46f8f816bc3b: Pull complete [2021-05-11T22:58:04.540Z] 93b61091891f: Pull complete [2021-05-11T22:58:04.803Z] aa168da1d23b: Verifying Checksum [2021-05-11T22:58:04.803Z] aa168da1d23b: Download complete [2021-05-11T22:58:05.073Z] 93b9cdb0e59b: Pull complete [2021-05-11T22:58:05.073Z] 5e14af77c1be: Pull complete [2021-05-11T22:58:05.341Z] 01666e4c0597: Pull complete [2021-05-11T22:58:11.976Z] aa168da1d23b: Pull complete [2021-05-11T22:58:11.976Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-11T22:58:11.976Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T22:58:11.976Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-11T22:58:12.123Z] prd-centos7-docker-4c-2g-4614 does not seem to be running inside a container [2021-05-11T22:58:12.172Z] $ 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-94/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-94 -v /w/workspace/dgexfoundry_device-rest-go_PR-94:/w/workspace/dgexfoundry_device-rest-go_PR-94:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-94@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-94@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-11T22:58:16.160Z] $ docker top 1f161ef636611df986bc29d5582b1e4d22c751808bc5f26c4f0dbf2a0b751c45 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T22:58:16.665Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-11T22:58:16.966Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-11T22:58:17.267Z] + ls /var/log/sa-host [2021-05-11T22:58:17.267Z] + sadf -c /var/log/sa-host/sa11 [2021-05-11T22:58:17.267Z] file_magic: OK [2021-05-11T22:58:17.267Z] HZ: Using current value: 100 [2021-05-11T22:58:17.267Z] file_header: OK [2021-05-11T22:58:17.267Z] 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-11T22:58:17.267Z] Statistics: [2021-05-11T22:58:17.267Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-11T22:58:17.267Z] File successfully converted to sysstat format version 12.2.1 [2021-05-11T22:58:17.267Z] + sadf -c /var/log/sa-host/sa23 [2021-05-11T22:58:17.267Z] file_magic: OK [2021-05-11T22:58:17.267Z] HZ: Using current value: 100 [2021-05-11T22:58:17.267Z] file_header: OK [2021-05-11T22:58:17.267Z] 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-11T22:58:17.267Z] Statistics: [2021-05-11T22:58:17.267Z] Hnuu...uuuununununu... [2021-05-11T22:58:17.267Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-11T22:58:17.485Z] provisioning config files... [2021-05-11T22:58:17.503Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/config3007476220200242703tmp [Pipeline] { [Pipeline] echo [2021-05-11T22:58:17.526Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T22:58:17.824Z] ---> create-netrc.sh [Pipeline] } [2021-05-11T22:58:17.834Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-11T22:58:17.862Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T22:58:18.167Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-11T22:58:18.179Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T22:58:18.475Z] ---> sudo-logs.sh [2021-05-11T22:58:18.475Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-11T22:58:18.504Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T22:58:18.803Z] ---> job-cost.sh [2021-05-11T22:58:18.803Z] lf-activate-venv: SKIPPING [2021-05-11T22:58:18.803Z] DEBUG: total: 0.20999999344348907 [2021-05-11T22:58:18.803Z] INFO: Retrieving Stack Cost... [2021-05-11T22:58:19.755Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T22:58:20.332Z] INFO: Archiving Costs [Pipeline] echo [2021-05-11T22:58:20.348Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T22:58:20.923Z] ---> logs-deploy.sh [2021-05-11T22:58:20.923Z] lf-activate-venv: SKIPPING [2021-05-11T22:58:20.923Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-94/2 [2021-05-11T22:58:20.923Z] INFO: archiving workspace using pattern(s): [2021-05-11T22:58:22.853Z] Archives upload complete. [2021-05-11T22:58:22.853Z] INFO: archiving logs to Nexus [2021-05-11T22:58:23.800Z] ---> uname -a: [2021-05-11T22:58:23.800Z] Linux prd-centos7-docker-4c-2g-4614.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-05-11T22:58:23.800Z] [2021-05-11T22:58:23.800Z]