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 2544f5c07657d26b6568ca6d244bab6513253799 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4695 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 2544f5c07657d26b6568ca6d244bab6513253799 Merge succeeded, producing 2544f5c07657d26b6568ca6d244bab6513253799 Checking out Revision 2544f5c07657d26b6568ca6d244bab6513253799 (PR-94) > git config core.sparsecheckout # timeout=10 > git checkout -f 2544f5c07657d26b6568ca6d244bab6513253799 # 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 2544f5c07657d26b6568ca6d244bab6513253799 # timeout=10 Commit message: "fix(build): update Dockerfiles to use go 1.16" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-12T15:13:08.697Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-12T15:13:08.806Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-12T15:13:08.834Z] ========================================================= [2021-05-12T15:13:08.834Z] EdgeX Global Pipelines Version Info [2021-05-12T15:13:08.834Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:13:10.447Z] ------------------- [2021-05-12T15:13:10.447Z] stable info: [2021-05-12T15:13:10.447Z] ------------------- [2021-05-12T15:13:10.447Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-12T15:13:10.447Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T15:13:10.447Z] Message: update stable to v1.0.192 [2021-05-12T15:13:11.393Z] ------------------- [2021-05-12T15:13:11.393Z] experimental info: [2021-05-12T15:13:11.393Z] ------------------- [2021-05-12T15:13:11.393Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-12T15:13:11.393Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T15:13:11.393Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-12T15:13:11.515Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-12T15:13:11.539Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-12T15:13:11.561Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-12T15:13:11.584Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-12T15:13:11.606Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-12T15:13:11.631Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-12T15:13:11.655Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-12T15:13:11.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-12T15:13:11.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-12T15:13:11.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-12T15:13:11.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-12T15:13:11.778Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-05-12T15:13:11.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-12T15:13:11.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-12T15:13:11.849Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T15:13:11.874Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T15:13:11.899Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T15:13:11.922Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T15:13:11.945Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-12T15:13:11.968Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-12T15:13:11.990Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-12T15:13:12.012Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-12T15:13:12.034Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-12T15:13:12.058Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-12T15:13:12.080Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-12T15:13:12.104Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-12T15:13:12.128Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-94 [Pipeline] echo [2021-05-12T15:13:12.153Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-94 [Pipeline] echo [2021-05-12T15:13:12.176Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-94 [Pipeline] echo [2021-05-12T15:13:12.200Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2544f5c07657d26b6568ca6d244bab6513253799 [Pipeline] echo [2021-05-12T15:13:12.245Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2544f5c [Pipeline] echo [2021-05-12T15:13:12.269Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T15:13:12.364Z] provisioning config files... [2021-05-12T15:13:12.396Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/config33400780402377765tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:13:12.735Z] ---> docker-login.sh [2021-05-12T15:13:12.735Z] nexus3.edgexfoundry.org:10001 [2021-05-12T15:13:12.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:13:13.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:13:13.261Z] Configure a credential helper to remove this warning. See [2021-05-12T15:13:13.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:13:13.261Z] [2021-05-12T15:13:13.261Z] Login Succeeded [2021-05-12T15:13:13.261Z] nexus3.edgexfoundry.org:10002 [2021-05-12T15:13:13.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:13:13.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:13:13.524Z] Configure a credential helper to remove this warning. See [2021-05-12T15:13:13.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:13:13.524Z] [2021-05-12T15:13:13.524Z] Login Succeeded [2021-05-12T15:13:13.524Z] nexus3.edgexfoundry.org:10003 [2021-05-12T15:13:13.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:13:13.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:13:13.787Z] Configure a credential helper to remove this warning. See [2021-05-12T15:13:13.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:13:13.787Z] [2021-05-12T15:13:13.787Z] Login Succeeded [2021-05-12T15:13:13.787Z] nexus3.edgexfoundry.org:10004 [2021-05-12T15:13:13.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:13:13.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:13:13.787Z] Configure a credential helper to remove this warning. See [2021-05-12T15:13:13.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:13:13.787Z] [2021-05-12T15:13:13.787Z] Login Succeeded [2021-05-12T15:13:13.787Z] docker.io [2021-05-12T15:13:14.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:13:14.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:13:14.314Z] Configure a credential helper to remove this warning. See [2021-05-12T15:13:14.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:13:14.314Z] [2021-05-12T15:13:14.314Z] Login Succeeded [2021-05-12T15:13:14.314Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T15:13:14.324Z] 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-12T15:13:14.788Z] + git log --format=format:%s -1 2544f5c07657d26b6568ca6d244bab6513253799 [Pipeline] echo [2021-05-12T15:13:14.870Z] GIT_COMMIT: 2544f5c07657d26b6568ca6d244bab6513253799, Commit Message: fix(build): update Dockerfiles to use go 1.16 [Pipeline] echo [2021-05-12T15:13:14.885Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:13:15.808Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T15:13:15.808Z] [2021-05-12T15:13:15.808Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:13:16.138Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T15:13:16.138Z] latest: Pulling from edgex-devops/git-semver [2021-05-12T15:13:16.138Z] 31603596830f: Pulling fs layer [2021-05-12T15:13:16.138Z] 54011a49482f: Pulling fs layer [2021-05-12T15:13:16.138Z] a6820b24f6d8: Pulling fs layer [2021-05-12T15:13:16.138Z] f581987b2513: Pulling fs layer [2021-05-12T15:13:16.138Z] f581987b2513: Waiting [2021-05-12T15:13:16.138Z] 54011a49482f: Verifying Checksum [2021-05-12T15:13:16.138Z] 54011a49482f: Download complete [2021-05-12T15:13:16.138Z] 31603596830f: Verifying Checksum [2021-05-12T15:13:16.138Z] 31603596830f: Download complete [2021-05-12T15:13:16.406Z] f581987b2513: Verifying Checksum [2021-05-12T15:13:16.406Z] f581987b2513: Download complete [2021-05-12T15:13:16.406Z] a6820b24f6d8: Verifying Checksum [2021-05-12T15:13:16.406Z] a6820b24f6d8: Download complete [2021-05-12T15:13:16.669Z] 31603596830f: Pull complete [2021-05-12T15:13:16.669Z] 54011a49482f: Pull complete [2021-05-12T15:13:17.625Z] a6820b24f6d8: Pull complete [2021-05-12T15:13:17.888Z] f581987b2513: Pull complete [2021-05-12T15:13:17.888Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-12T15:13:17.888Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T15:13:17.888Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-12T15:13:17.993Z] prd-centos7-docker-4c-2g-4695 does not seem to be running inside a container [2021-05-12T15:13:18.040Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-12T15:13:20.246Z] $ docker top fdb22b0de87327b97a4ada545f0e6ed91cb9c00d7b11cb99036e918359acca1a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T15:13:20.396Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T15:13:20.396Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T15:13:20.612Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T15:13:20.613Z] $ docker exec fdb22b0de87327b97a4ada545f0e6ed91cb9c00d7b11cb99036e918359acca1a ssh-agent [2021-05-12T15:13:20.806Z] SSH_AUTH_SOCK=/tmp/ssh-8NFWkvAM7H0B/agent.11 [2021-05-12T15:13:20.806Z] SSH_AGENT_PID=16 [2021-05-12T15:13:20.817Z] Running ssh-add (command line suppressed) [2021-05-12T15:13:20.941Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/private_key_8051976963122377589.key (/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/private_key_8051976963122377589.key) [2021-05-12T15:13:20.993Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T15:13:21.296Z] + git tag --points-at HEAD [Pipeline] } [2021-05-12T15:13:21.313Z] $ docker exec --env ******** --env ******** fdb22b0de87327b97a4ada545f0e6ed91cb9c00d7b11cb99036e918359acca1a ssh-agent -k [2021-05-12T15:13:21.429Z] unset SSH_AUTH_SOCK; [2021-05-12T15:13:21.429Z] unset SSH_AGENT_PID; [2021-05-12T15:13:21.429Z] echo Agent pid 16 killed; [2021-05-12T15:13:21.485Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-12T15:13:21.546Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T15:13:21.546Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T15:13:21.711Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T15:13:21.712Z] $ docker exec fdb22b0de87327b97a4ada545f0e6ed91cb9c00d7b11cb99036e918359acca1a ssh-agent [2021-05-12T15:13:21.900Z] SSH_AUTH_SOCK=/tmp/ssh-hqKjWY4jmq6u/agent.44 [2021-05-12T15:13:21.900Z] SSH_AGENT_PID=49 [2021-05-12T15:13:21.907Z] Running ssh-add (command line suppressed) [2021-05-12T15:13:22.022Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/private_key_4870474742047579788.key (/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/private_key_4870474742047579788.key) [2021-05-12T15:13:22.077Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T15:13:22.380Z] + git semver init [2021-05-12T15:13:22.380Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T15:13:22.380Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-94/.git [2021-05-12T15:13:22.380Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-94 [2021-05-12T15:13:22.380Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T15:13:22.380Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T15:13:22.380Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T15:13:22.380Z] # $SEMVER_BRANCH = PR-94 [2021-05-12T15:13:22.380Z] # $SEMVER_TEMP = /tmp/semver-993646128 [2021-05-12T15:13:22.380Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-12T15:13:23.771Z] # '/tmp/semver-993646128' -> '/w/workspace/dgexfoundry_device-rest-go_PR-94/.semver' [2021-05-12T15:13:23.771Z] # -> Force: false [2021-05-12T15:13:23.771Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-94/.semver [Pipeline] } [2021-05-12T15:13:23.781Z] $ docker exec --env ******** --env ******** fdb22b0de87327b97a4ada545f0e6ed91cb9c00d7b11cb99036e918359acca1a ssh-agent -k [2021-05-12T15:13:23.897Z] unset SSH_AUTH_SOCK; [2021-05-12T15:13:23.898Z] unset SSH_AGENT_PID; [2021-05-12T15:13:23.898Z] echo Agent pid 49 killed; [2021-05-12T15:13:23.952Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T15:13:24.292Z] + git semver [Pipeline] } [2021-05-12T15:13:24.306Z] $ docker stop --time=1 fdb22b0de87327b97a4ada545f0e6ed91cb9c00d7b11cb99036e918359acca1a [2021-05-12T15:13:25.736Z] $ docker rm -f fdb22b0de87327b97a4ada545f0e6ed91cb9c00d7b11cb99036e918359acca1a [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T15:13:26.150Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-12T15:13:26.459Z] Stashed 1 file(s) [Pipeline] echo [2021-05-12T15:13:26.463Z] [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-12T15:13:41.660Z] Still waiting to schedule task [2021-05-12T15:13:41.660Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-12T15:13:41.662Z] Still waiting to schedule task [2021-05-12T15:13:41.663Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline [2021-05-12T15:15:31.327Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4696 in /w/workspace/dgexfoundry_device-rest-go_PR-94 [Pipeline] { [Pipeline] ws [2021-05-12T15:15:31.346Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2021-05-12T15:15:36.918Z] using credential edgex-jenkins-ssh [2021-05-12T15:15:36.965Z] Cloning the remote Git repository [2021-05-12T15:15:37.012Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-12T15:15:37.123Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2021-05-12T15:15:37.243Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-12T15:15:37.243Z] > git --version # timeout=10 [2021-05-12T15:15:37.288Z] > git --version # 'git version 2.17.1' [2021-05-12T15:15:37.290Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T15:15:37.391Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T15:15:39.885Z] Merging remotes/origin/master commit 4f98354a1324b6971af40554b83b1d8fb938970d into PR head commit 2544f5c07657d26b6568ca6d244bab6513253799 [2021-05-12T15:15:40.101Z] Merge succeeded, producing 2544f5c07657d26b6568ca6d244bab6513253799 [2021-05-12T15:15:40.101Z] Checking out Revision 2544f5c07657d26b6568ca6d244bab6513253799 (PR-94) [2021-05-12T15:15:39.208Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-12T15:15:39.234Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T15:15:39.266Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-12T15:15:39.300Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-12T15:15:39.301Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T15:15:39.329Z] > 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-12T15:15:39.905Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T15:15:39.929Z] > git checkout -f 2544f5c07657d26b6568ca6d244bab6513253799 # timeout=10 [2021-05-12T15:15:40.013Z] > git remote # timeout=10 [2021-05-12T15:15:40.029Z] > git config --get remote.origin.url # timeout=10 [2021-05-12T15:15:40.053Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T15:15:40.062Z] > git merge 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 [2021-05-12T15:15:40.083Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-12T15:15:40.107Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T15:15:40.123Z] > git checkout -f 2544f5c07657d26b6568ca6d244bab6513253799 # timeout=10 [2021-05-12T15:15:44.345Z] Commit message: "fix(build): update Dockerfiles to use go 1.16" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T15:15:45.664Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-12T15:15:46.082Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T15:15:46.425Z] + true [2021-05-12T15:15:46.425Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T15:15:49.100Z] provisioning config files... [2021-05-12T15:15:49.147Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config6962695976419813802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:15:49.529Z] ---> docker-login.sh [2021-05-12T15:15:49.530Z] nexus3.edgexfoundry.org:10001 [2021-05-12T15:15:50.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:15:50.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:15:50.855Z] Configure a credential helper to remove this warning. See [2021-05-12T15:15:50.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:15:50.855Z] [2021-05-12T15:15:50.855Z] Login Succeeded [2021-05-12T15:15:50.855Z] nexus3.edgexfoundry.org:10002 [2021-05-12T15:15:51.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:15:51.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:15:51.457Z] Configure a credential helper to remove this warning. See [2021-05-12T15:15:51.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:15:51.457Z] [2021-05-12T15:15:51.457Z] Login Succeeded [2021-05-12T15:15:51.457Z] nexus3.edgexfoundry.org:10003 [2021-05-12T15:15:51.558Z] Running on prd-centos7-docker-4c-2g-4697 in /w/workspace/dgexfoundry_device-rest-go_PR-94 [Pipeline] { [Pipeline] ws [2021-05-12T15:15:51.577Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2021-05-12T15:15:52.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:15:52.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:15:52.059Z] Configure a credential helper to remove this warning. See [2021-05-12T15:15:52.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:15:52.059Z] [2021-05-12T15:15:52.059Z] Login Succeeded [2021-05-12T15:15:52.059Z] nexus3.edgexfoundry.org:10004 [2021-05-12T15:15:52.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:15:52.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:15:52.608Z] Configure a credential helper to remove this warning. See [2021-05-12T15:15:52.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:15:52.608Z] [2021-05-12T15:15:52.608Z] Login Succeeded [2021-05-12T15:15:52.608Z] docker.io [2021-05-12T15:15:52.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:15:53.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:15:53.151Z] Configure a credential helper to remove this warning. See [2021-05-12T15:15:53.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:15:53.151Z] [2021-05-12T15:15:53.151Z] Login Succeeded [2021-05-12T15:15:53.422Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T15:15:53.438Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T15:15:53.724Z] ========================================================= [2021-05-12T15:15:53.724Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-12T15:15:53.724Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:15:54.071Z] + 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-12T15:15:54.071Z] Sending build context to Docker daemon 92.16kB [2021-05-12T15:15:54.344Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T15:15:54.344Z] Step 2/10 : FROM ${BASE} [2021-05-12T15:15:54.344Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-12T15:15:54.344Z] 595b0fe564bb: Pulling fs layer [2021-05-12T15:15:54.344Z] 7186ed65a4f7: Pulling fs layer [2021-05-12T15:15:54.344Z] 316046926c0a: Pulling fs layer [2021-05-12T15:15:54.344Z] 4ebd0625c992: Pulling fs layer [2021-05-12T15:15:54.344Z] 207e8628e3a3: Pulling fs layer [2021-05-12T15:15:54.344Z] c791037a9be2: Pulling fs layer [2021-05-12T15:15:54.344Z] ffd874e62e21: Pulling fs layer [2021-05-12T15:15:54.344Z] 4ebd0625c992: Waiting [2021-05-12T15:15:54.344Z] 207e8628e3a3: Waiting [2021-05-12T15:15:54.344Z] c791037a9be2: Waiting [2021-05-12T15:15:54.344Z] ffd874e62e21: Waiting [2021-05-12T15:15:54.378Z] using credential edgex-jenkins-ssh [2021-05-12T15:15:54.402Z] Cloning the remote Git repository [2021-05-12T15:15:54.616Z] 316046926c0a: Verifying Checksum [2021-05-12T15:15:54.616Z] 316046926c0a: Download complete [2021-05-12T15:15:54.616Z] 7186ed65a4f7: Verifying Checksum [2021-05-12T15:15:54.616Z] 7186ed65a4f7: Download complete [2021-05-12T15:15:54.616Z] 207e8628e3a3: Verifying Checksum [2021-05-12T15:15:54.616Z] 207e8628e3a3: Download complete [2021-05-12T15:15:54.616Z] 595b0fe564bb: Download complete [2021-05-12T15:15:54.616Z] c791037a9be2: Download complete [2021-05-12T15:15:54.429Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-12T15:15:54.506Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2021-05-12T15:15:54.572Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-12T15:15:54.572Z] > git --version # timeout=10 [2021-05-12T15:15:54.578Z] > git --version # 'git version 2.24.3' [2021-05-12T15:15:54.579Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T15:15:54.609Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T15:15:55.220Z] 595b0fe564bb: Pull complete [2021-05-12T15:15:55.828Z] 7186ed65a4f7: Pull complete [2021-05-12T15:15:56.105Z] 316046926c0a: Pull complete [2021-05-12T15:15:56.700Z] ffd874e62e21: Verifying Checksum [2021-05-12T15:15:56.700Z] ffd874e62e21: Download complete [2021-05-12T15:15:57.149Z] Merging remotes/origin/master commit 4f98354a1324b6971af40554b83b1d8fb938970d into PR head commit 2544f5c07657d26b6568ca6d244bab6513253799 [2021-05-12T15:15:57.248Z] Merge succeeded, producing 2544f5c07657d26b6568ca6d244bab6513253799 [2021-05-12T15:15:57.248Z] Checking out Revision 2544f5c07657d26b6568ca6d244bab6513253799 (PR-94) [2021-05-12T15:15:56.725Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-12T15:15:56.732Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T15:15:56.744Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-12T15:15:56.756Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-12T15:15:56.757Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T15:15:56.762Z] > 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-12T15:15:57.161Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T15:15:57.168Z] > git checkout -f 2544f5c07657d26b6568ca6d244bab6513253799 # timeout=10 [2021-05-12T15:15:57.203Z] > git remote # timeout=10 [2021-05-12T15:15:57.210Z] > git config --get remote.origin.url # timeout=10 [2021-05-12T15:15:57.218Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T15:15:57.223Z] > git merge 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 [2021-05-12T15:15:57.242Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-12T15:15:57.253Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T15:15:57.259Z] > git checkout -f 2544f5c07657d26b6568ca6d244bab6513253799 # timeout=10 [2021-05-12T15:15:58.142Z] 4ebd0625c992: Verifying Checksum [2021-05-12T15:15:58.142Z] 4ebd0625c992: Download complete [2021-05-12T15:16:00.944Z] Commit message: "fix(build): update Dockerfiles to use go 1.16" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T15:16:02.399Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-12T15:16:02.734Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T15:16:03.042Z] + sudo service docker restart [2021-05-12T15:16:03.042Z] + true [2021-05-12T15:16:03.042Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T15:16:04.031Z] provisioning config files... [2021-05-12T15:16:04.062Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config5247175637687062994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:16:04.393Z] ---> docker-login.sh [2021-05-12T15:16:04.393Z] nexus3.edgexfoundry.org:10001 [2021-05-12T15:16:04.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:16:04.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:16:04.920Z] Configure a credential helper to remove this warning. See [2021-05-12T15:16:04.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:16:04.920Z] [2021-05-12T15:16:04.920Z] Login Succeeded [2021-05-12T15:16:04.920Z] nexus3.edgexfoundry.org:10002 [2021-05-12T15:16:04.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:16:04.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:16:04.920Z] Configure a credential helper to remove this warning. See [2021-05-12T15:16:04.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:16:04.920Z] [2021-05-12T15:16:04.920Z] Login Succeeded [2021-05-12T15:16:04.920Z] nexus3.edgexfoundry.org:10003 [2021-05-12T15:16:05.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:16:05.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:16:05.185Z] Configure a credential helper to remove this warning. See [2021-05-12T15:16:05.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:16:05.185Z] [2021-05-12T15:16:05.185Z] Login Succeeded [2021-05-12T15:16:05.185Z] nexus3.edgexfoundry.org:10004 [2021-05-12T15:16:05.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:16:05.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:16:05.448Z] Configure a credential helper to remove this warning. See [2021-05-12T15:16:05.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:16:05.448Z] [2021-05-12T15:16:05.448Z] Login Succeeded [2021-05-12T15:16:05.448Z] docker.io [2021-05-12T15:16:05.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:16:05.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:16:05.975Z] Configure a credential helper to remove this warning. See [2021-05-12T15:16:05.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:16:05.975Z] [2021-05-12T15:16:05.975Z] Login Succeeded [2021-05-12T15:16:05.975Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T15:16:05.986Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T15:16:06.166Z] ========================================================= [2021-05-12T15:16:06.166Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-12T15:16:06.166Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:16:06.480Z] + 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-12T15:16:06.480Z] Sending build context to Docker daemon 92.16kB [2021-05-12T15:16:06.480Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T15:16:06.480Z] Step 2/10 : FROM ${BASE} [2021-05-12T15:16:06.747Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-12T15:16:06.747Z] 540db60ca938: Pulling fs layer [2021-05-12T15:16:06.747Z] adcc1eea9eea: Pulling fs layer [2021-05-12T15:16:06.747Z] 4c4ab2625f07: Pulling fs layer [2021-05-12T15:16:06.747Z] 0510c868ecb4: Pulling fs layer [2021-05-12T15:16:06.747Z] afea3b2eda06: Pulling fs layer [2021-05-12T15:16:06.747Z] 7809a108b3ef: Pulling fs layer [2021-05-12T15:16:06.747Z] f706445af74f: Pulling fs layer [2021-05-12T15:16:06.747Z] afea3b2eda06: Waiting [2021-05-12T15:16:06.747Z] 7809a108b3ef: Waiting [2021-05-12T15:16:06.747Z] f706445af74f: Waiting [2021-05-12T15:16:06.747Z] 0510c868ecb4: Waiting [2021-05-12T15:16:06.747Z] 4c4ab2625f07: Verifying Checksum [2021-05-12T15:16:06.747Z] 4c4ab2625f07: Download complete [2021-05-12T15:16:06.747Z] adcc1eea9eea: Download complete [2021-05-12T15:16:07.018Z] afea3b2eda06: Verifying Checksum [2021-05-12T15:16:07.018Z] afea3b2eda06: Download complete [2021-05-12T15:16:07.018Z] 540db60ca938: Verifying Checksum [2021-05-12T15:16:07.018Z] 540db60ca938: Download complete [2021-05-12T15:16:07.018Z] 7809a108b3ef: Verifying Checksum [2021-05-12T15:16:07.018Z] 7809a108b3ef: Download complete [2021-05-12T15:16:07.289Z] 540db60ca938: Pull complete [2021-05-12T15:16:07.554Z] adcc1eea9eea: Pull complete [2021-05-12T15:16:07.554Z] 4c4ab2625f07: Pull complete [2021-05-12T15:16:08.353Z] 4ebd0625c992: Pull complete [2021-05-12T15:16:08.353Z] 207e8628e3a3: Pull complete [2021-05-12T15:16:08.507Z] f706445af74f: Verifying Checksum [2021-05-12T15:16:08.507Z] f706445af74f: Download complete [2021-05-12T15:16:08.951Z] c791037a9be2: Pull complete [2021-05-12T15:16:09.087Z] 0510c868ecb4: Download complete [2021-05-12T15:16:12.352Z] ffd874e62e21: Pull complete [2021-05-12T15:16:12.352Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-12T15:16:12.352Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-12T15:16:12.352Z] ---> cfc18b08335c [2021-05-12T15:16:12.352Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T15:16:14.419Z] 0510c868ecb4: Pull complete [2021-05-12T15:16:14.684Z] afea3b2eda06: Pull complete [2021-05-12T15:16:14.948Z] 7809a108b3ef: Pull complete [2021-05-12T15:16:15.740Z] ---> Running in f9d1dc41f94c [2021-05-12T15:16:15.740Z] Removing intermediate container f9d1dc41f94c [2021-05-12T15:16:15.740Z] ---> 14a2e165e1fd [2021-05-12T15:16:15.740Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T15:16:16.019Z] ---> Running in dcc46b9673bd [2021-05-12T15:16:16.294Z] Removing intermediate container dcc46b9673bd [2021-05-12T15:16:16.294Z] ---> 6b15b7c6edec [2021-05-12T15:16:16.294Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-12T15:16:16.568Z] ---> Running in 8962d1c71fa6 [2021-05-12T15:16:17.165Z] Removing intermediate container 8962d1c71fa6 [2021-05-12T15:16:17.165Z] ---> a005711938c3 [2021-05-12T15:16:17.165Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T15:16:17.165Z] ---> Running in 6f374a837c23 [2021-05-12T15:16:19.788Z] Removing intermediate container 6f374a837c23 [2021-05-12T15:16:19.788Z] ---> 24943535831c [2021-05-12T15:16:19.788Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T15:16:19.788Z] ---> Running in f4fbc3c5facf [2021-05-12T15:16:20.269Z] f706445af74f: Pull complete [2021-05-12T15:16:20.269Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-12T15:16:20.269Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-12T15:16:20.269Z] ---> b068be0155e3 [2021-05-12T15:16:20.269Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T15:16:20.269Z] ---> Running in 05ff85a9b628 [2021-05-12T15:16:20.269Z] Removing intermediate container 05ff85a9b628 [2021-05-12T15:16:20.269Z] ---> 82b0874c941b [2021-05-12T15:16:20.269Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T15:16:20.269Z] ---> Running in 553b84b3737d [2021-05-12T15:16:20.269Z] Removing intermediate container 553b84b3737d [2021-05-12T15:16:20.269Z] ---> c9930574f5b2 [2021-05-12T15:16:20.269Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-12T15:16:20.269Z] ---> Running in 05e0ba56abdf [2021-05-12T15:16:20.269Z] Removing intermediate container 05e0ba56abdf [2021-05-12T15:16:20.269Z] ---> 5af2a0bab295 [2021-05-12T15:16:20.269Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T15:16:20.378Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T15:16:20.536Z] ---> Running in d57e1888fbfc [2021-05-12T15:16:21.348Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T15:16:21.938Z] Removing intermediate container d57e1888fbfc [2021-05-12T15:16:21.938Z] ---> eb2c7c1709f7 [2021-05-12T15:16:21.938Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T15:16:21.938Z] ---> Running in 03d6510e5ee0 [2021-05-12T15:16:22.326Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-12T15:16:22.326Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-12T15:16:22.326Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-12T15:16:22.326Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-12T15:16:22.595Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-12T15:16:22.595Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-12T15:16:22.866Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-12T15:16:22.892Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T15:16:23.139Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-12T15:16:23.139Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-12T15:16:23.139Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T15:16:23.139Z] OK: 144 MiB in 49 packages [2021-05-12T15:16:23.470Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T15:16:24.046Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-12T15:16:24.046Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-12T15:16:24.307Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-12T15:16:24.307Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-12T15:16:24.307Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-12T15:16:24.572Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-12T15:16:24.572Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-12T15:16:24.834Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-12T15:16:25.099Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-12T15:16:25.099Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T15:16:25.099Z] OK: 154 MiB in 49 packages [2021-05-12T15:16:25.116Z] Removing intermediate container f4fbc3c5facf [2021-05-12T15:16:25.116Z] ---> 7598bc1be4ff [2021-05-12T15:16:25.116Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-12T15:16:25.116Z] ---> Running in 66eab60c2661 [2021-05-12T15:16:25.391Z] Removing intermediate container 66eab60c2661 [2021-05-12T15:16:25.391Z] ---> 4dfe02bbae7d [2021-05-12T15:16:25.391Z] Step 9/10 : COPY . . [2021-05-12T15:16:25.679Z] Removing intermediate container 03d6510e5ee0 [2021-05-12T15:16:25.679Z] ---> 201ad61475f3 [2021-05-12T15:16:25.679Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-12T15:16:25.679Z] ---> Running in f5c8c89ce373 [2021-05-12T15:16:25.942Z] Removing intermediate container f5c8c89ce373 [2021-05-12T15:16:25.942Z] ---> c53b3b7bc777 [2021-05-12T15:16:25.942Z] Step 9/10 : COPY . . [2021-05-12T15:16:26.204Z] ---> 5b19013fda04 [2021-05-12T15:16:26.204Z] Step 10/10 : RUN go mod download [2021-05-12T15:16:26.367Z] ---> b7440547805f [2021-05-12T15:16:26.367Z] Step 10/10 : RUN go mod download [2021-05-12T15:16:26.367Z] ---> Running in 075ec3dcbd60 [2021-05-12T15:16:26.467Z] ---> Running in 3f470eee6314 [2021-05-12T15:16:53.160Z] Removing intermediate container 3f470eee6314 [2021-05-12T15:16:53.160Z] ---> ed3c32bc8354 [2021-05-12T15:16:53.160Z] Successfully built ed3c32bc8354 [2021-05-12T15:16:53.160Z] Successfully tagged ci-base-image-x86_64:latest [2021-05-12T15:16:53.170Z] Removing intermediate container 075ec3dcbd60 [2021-05-12T15:16:53.170Z] ---> 0f7e1786e315 [2021-05-12T15:16:53.170Z] Successfully built 0f7e1786e315 [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:16:53.440Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:16:53.496Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T15:16:53.496Z] . [Pipeline] withDockerContainer [2021-05-12T15:16:53.653Z] prd-centos7-docker-4c-2g-4697 does not seem to be running inside a container [2021-05-12T15:16:53.709Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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-12T15:16:53.787Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T15:16:53.787Z] . [2021-05-12T15:16:54.685Z] $ docker top fe03e2fd4030f05447588752b94fa25f6e6d36c5530a72b7eec4a8109e5b17a8 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-05-12T15:16:55.084Z] prd-ubuntu18.04-docker-arm64-4c-16g-4696 does not seem to be running inside a container [2021-05-12T15:16:55.170Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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-12T15:16:56.643Z] $ docker top f905b4917e53f2195f1ae4fd028b85d58fc9afcf7ab309b269363b2dd658caed -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-05-12T15:16:57.220Z] + go version [2021-05-12T15:16:57.220Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-12T15:16:57.236Z] $ docker stop --time=1 fe03e2fd4030f05447588752b94fa25f6e6d36c5530a72b7eec4a8109e5b17a8 [2021-05-12T15:16:57.610Z] + go version [2021-05-12T15:16:57.610Z] go version go1.16.3 linux/arm64 [2021-05-12T15:16:58.608Z] $ docker rm -f fe03e2fd4030f05447588752b94fa25f6e6d36c5530a72b7eec4a8109e5b17a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2021-05-12T15:16:58.770Z] $ docker stop --time=1 f905b4917e53f2195f1ae4fd028b85d58fc9afcf7ab309b269363b2dd658caed [2021-05-12T15:17:00.602Z] $ docker rm -f f905b4917e53f2195f1ae4fd028b85d58fc9afcf7ab309b269363b2dd658caed [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:17:01.295Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T15:17:01.295Z] . [Pipeline] withDockerContainer [2021-05-12T15:17:01.357Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T15:17:01.357Z] . [2021-05-12T15:17:01.412Z] prd-centos7-docker-4c-2g-4697 does not seem to be running inside a container [2021-05-12T15:17:01.465Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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-12T15:17:02.215Z] $ docker top cb60218b136113812c8d266dbc2e3f522358eb7b38187517757d22dba02b7f1d -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-05-12T15:17:02.604Z] prd-ubuntu18.04-docker-arm64-4c-16g-4696 does not seem to be running inside a container [2021-05-12T15:17:02.696Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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-12T15:17:04.043Z] $ docker top ed1851f6938b3fb545d1039eacc7e62db0ffdf2171ecc1815311d16b75491b28 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-05-12T15:17:04.618Z] + go mod tidy [2021-05-12T15:17:04.992Z] + go mod tidy [Pipeline] sh [2021-05-12T15:17:05.518Z] + make test [2021-05-12T15:17:05.518Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [Pipeline] sh [2021-05-12T15:17:06.247Z] + make test [2021-05-12T15:17:06.248Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-12T15:17:06.485Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-12T15:17:07.239Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-12T15:17:28.957Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-12T15:17:28.957Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 54.0% of statements [2021-05-12T15:17:28.957Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-12T15:17:35.639Z] gofmt -l . [2021-05-12T15:17:35.639Z] [ "`gofmt -l .`" = "" ] [2021-05-12T15:17:35.639Z] ./bin/test-go-mod-tidy.sh [2021-05-12T15:17:35.639Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-12T15:17:36.232Z] $ docker stop --time=1 cb60218b136113812c8d266dbc2e3f522358eb7b38187517757d22dba02b7f1d [2021-05-12T15:17:38.176Z] $ docker rm -f cb60218b136113812c8d266dbc2e3f522358eb7b38187517757d22dba02b7f1d [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T15:17:38.810Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T15:17:39.197Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-12T15:17:42.057Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T15:17:42.359Z] + ls -al . [2021-05-12T15:17:42.359Z] total 104 [2021-05-12T15:17:42.359Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 12 15:17 . [2021-05-12T15:17:42.359Z] drwxrwxr-x. 4 jenkins jenkins 28 May 12 15:15 .. [2021-05-12T15:17:42.359Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 12 15:15 Attribution.txt [2021-05-12T15:17:42.359Z] drwxrwxr-x. 2 jenkins jenkins 64 May 12 15:15 bin [2021-05-12T15:17:42.359Z] drwxrwxr-x. 3 jenkins jenkins 32 May 12 15:15 cmd [2021-05-12T15:17:42.359Z] -rw-r--r--. 1 jenkins jenkins 8513 May 12 15:17 coverage.out [2021-05-12T15:17:42.359Z] -rw-rw-r--. 1 jenkins jenkins 1602 May 12 15:15 Dockerfile [2021-05-12T15:17:42.359Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 12 15:15 Dockerfile.build [2021-05-12T15:17:42.359Z] -rw-rw-r--. 1 jenkins jenkins 151 May 12 15:15 .dockerignore [2021-05-12T15:17:42.359Z] drwxrwxr-x. 2 jenkins jenkins 76 May 12 15:15 driver [2021-05-12T15:17:42.359Z] drwxrwxr-x. 8 jenkins jenkins 179 May 12 15:16 .git [2021-05-12T15:17:42.359Z] drwxrwxr-x. 2 jenkins jenkins 103 May 12 15:15 .github [2021-05-12T15:17:42.359Z] -rw-rw-r--. 1 jenkins jenkins 339 May 12 15:15 .gitignore [2021-05-12T15:17:42.359Z] -rw-r--r--. 1 jenkins jenkins 285 May 12 15:17 go.mod [2021-05-12T15:17:42.359Z] -rw-r--r--. 1 jenkins jenkins 21011 May 12 15:17 go.sum [2021-05-12T15:17:42.359Z] -rw-rw-r--. 1 jenkins jenkins 680 May 12 15:15 Jenkinsfile [2021-05-12T15:17:42.359Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 12 15:15 LICENSE [2021-05-12T15:17:42.359Z] -rw-rw-r--. 1 jenkins jenkins 976 May 12 15:15 Makefile [2021-05-12T15:17:42.359Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 12 15:15 README.md [2021-05-12T15:17:42.359Z] drwxrwxr-x. 4 jenkins jenkins 71 May 12 15:15 snap [2021-05-12T15:17:42.359Z] -rw-rw-r--. 1 jenkins jenkins 5 May 12 15:13 VERSION [2021-05-12T15:17:42.359Z] -rw-rw-r--. 1 jenkins jenkins 713 May 12 15:15 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:17:42.669Z] + 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=2544f5c07657d26b6568ca6d244bab6513253799 --label arch=amd64 --label version=0.0.0 . [2021-05-12T15:17:42.669Z] Sending build context to Docker daemon 101.9kB [2021-05-12T15:17:42.933Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T15:17:42.933Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-12T15:17:42.933Z] ---> ed3c32bc8354 [2021-05-12T15:17:42.933Z] Step 3/24 : ARG MAKE='make build' [2021-05-12T15:17:42.933Z] ---> Running in 6a61a94a9265 [2021-05-12T15:17:43.196Z] Removing intermediate container 6a61a94a9265 [2021-05-12T15:17:43.196Z] ---> 1d9d30fc392f [2021-05-12T15:17:43.196Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T15:17:43.196Z] ---> Running in f4104ad9e568 [2021-05-12T15:17:43.459Z] Removing intermediate container f4104ad9e568 [2021-05-12T15:17:43.459Z] ---> 4de679716333 [2021-05-12T15:17:43.459Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T15:17:43.459Z] ---> Running in d19620b34f9d [2021-05-12T15:17:43.725Z] Removing intermediate container d19620b34f9d [2021-05-12T15:17:43.725Z] ---> a8709f0537c4 [2021-05-12T15:17:43.725Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T15:17:43.725Z] ---> Running in 5d49eeca702b [2021-05-12T15:17:45.129Z] Removing intermediate container 5d49eeca702b [2021-05-12T15:17:45.129Z] ---> b2d29618152f [2021-05-12T15:17:45.129Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T15:17:45.129Z] ---> Running in 044164ea86fe [2021-05-12T15:17:45.393Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T15:17:46.347Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T15:17:46.925Z] OK: 154 MiB in 49 packages [2021-05-12T15:17:47.503Z] Removing intermediate container 044164ea86fe [2021-05-12T15:17:47.503Z] ---> 1fb3c142f221 [2021-05-12T15:17:47.503Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-12T15:17:47.772Z] ---> Running in fa0e414df992 [2021-05-12T15:17:47.772Z] Removing intermediate container fa0e414df992 [2021-05-12T15:17:47.772Z] ---> 8b5e735e8147 [2021-05-12T15:17:47.772Z] Step 9/24 : COPY . . [2021-05-12T15:17:48.354Z] ---> 71e56e439f39 [2021-05-12T15:17:48.354Z] Step 10/24 : RUN make update [2021-05-12T15:17:48.354Z] ---> Running in b99318ebe73c [2021-05-12T15:17:48.944Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-12T15:17:49.524Z] Removing intermediate container b99318ebe73c [2021-05-12T15:17:49.524Z] ---> 56adbd953814 [2021-05-12T15:17:49.524Z] Step 11/24 : RUN $MAKE [2021-05-12T15:17:49.524Z] ---> Running in ccb4038c0bc6 [2021-05-12T15:17:50.112Z] 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-12T15:18:03.840Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-12T15:18:03.840Z] ok github.com/edgexfoundry/device-rest-go/driver 0.041s coverage: 54.0% of statements [2021-05-12T15:18:03.840Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-12T15:18:05.148Z] Removing intermediate container ccb4038c0bc6 [2021-05-12T15:18:05.148Z] ---> 627397569ce7 [2021-05-12T15:18:05.148Z] Step 12/24 : FROM alpine:3.12 [2021-05-12T15:18:05.148Z] 3.12: Pulling from library/alpine [2021-05-12T15:18:05.148Z] 339de151aab4: Pulling fs layer [2021-05-12T15:18:05.148Z] 339de151aab4: Verifying Checksum [2021-05-12T15:18:05.148Z] 339de151aab4: Download complete [2021-05-12T15:18:05.148Z] 339de151aab4: Pull complete [2021-05-12T15:18:05.148Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T15:18:05.148Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T15:18:05.148Z] ---> 13621d1b12d4 [2021-05-12T15:18:05.148Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-12T15:18:05.148Z] ---> Running in fd0842c10428 [2021-05-12T15:18:05.414Z] Removing intermediate container fd0842c10428 [2021-05-12T15:18:05.414Z] ---> 127d4f8bcd0f [2021-05-12T15:18:05.414Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-12T15:18:05.414Z] ---> Running in cccfd0eaf077 [2021-05-12T15:18:05.685Z] Removing intermediate container cccfd0eaf077 [2021-05-12T15:18:05.685Z] ---> 66e1ae4e3d6c [2021-05-12T15:18:05.685Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-12T15:18:05.685Z] ---> Running in e35058938b12 [2021-05-12T15:18:06.269Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-12T15:18:06.269Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-12T15:18:06.533Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-12T15:18:06.533Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-12T15:18:06.533Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-12T15:18:06.533Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-12T15:18:06.533Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-12T15:18:06.533Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-12T15:18:06.533Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T15:18:06.533Z] OK: 8 MiB in 20 packages [2021-05-12T15:18:07.489Z] Removing intermediate container e35058938b12 [2021-05-12T15:18:07.489Z] ---> 4572c755e7f8 [2021-05-12T15:18:07.489Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-12T15:18:08.072Z] ---> 42564b14efaa [2021-05-12T15:18:08.072Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-12T15:18:08.072Z] ---> 8a74cc35db4a [2021-05-12T15:18:08.072Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-12T15:18:08.334Z] ---> a68191599eb5 [2021-05-12T15:18:08.334Z] Step 19/24 : EXPOSE 49986 [2021-05-12T15:18:08.602Z] ---> Running in 221329303fc0 [2021-05-12T15:18:08.602Z] Removing intermediate container 221329303fc0 [2021-05-12T15:18:08.602Z] ---> 8e3d5c003fb0 [2021-05-12T15:18:08.602Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-12T15:18:08.866Z] ---> Running in 3c6f26848a25 [2021-05-12T15:18:08.866Z] Removing intermediate container 3c6f26848a25 [2021-05-12T15:18:08.866Z] ---> 379d23fc019d [2021-05-12T15:18:08.866Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-12T15:18:09.129Z] ---> Running in 65598a64992b [2021-05-12T15:18:09.129Z] Removing intermediate container 65598a64992b [2021-05-12T15:18:09.129Z] ---> 49a732a6906d [2021-05-12T15:18:09.129Z] Step 22/24 : LABEL arch=amd64 [2021-05-12T15:18:09.393Z] ---> Running in d90624c1a61b [2021-05-12T15:18:09.393Z] Removing intermediate container d90624c1a61b [2021-05-12T15:18:09.393Z] ---> 5d2332668584 [2021-05-12T15:18:09.393Z] Step 23/24 : LABEL git_sha=2544f5c07657d26b6568ca6d244bab6513253799 [2021-05-12T15:18:09.393Z] ---> Running in 0b1d0f379d64 [2021-05-12T15:18:09.656Z] Removing intermediate container 0b1d0f379d64 [2021-05-12T15:18:09.656Z] ---> af6e1d599a4e [2021-05-12T15:18:09.656Z] Step 24/24 : LABEL version=0.0.0 [2021-05-12T15:18:09.656Z] ---> Running in b6b188a89ba1 [2021-05-12T15:18:09.919Z] Removing intermediate container b6b188a89ba1 [2021-05-12T15:18:09.919Z] ---> 30e1b8e22c73 [2021-05-12T15:18:09.919Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-12T15:18:09.919Z] Successfully built 30e1b8e22c73 [2021-05-12T15:18:09.919Z] 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-12T15:18:10.615Z] ---> job-cost.sh [2021-05-12T15:18:10.615Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-nJn8 [2021-05-12T15:18:25.577Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T15:18:26.083Z] gofmt -l . [2021-05-12T15:18:26.083Z] [ "`gofmt -l .`" = "" ] [2021-05-12T15:18:26.083Z] ./bin/test-go-mod-tidy.sh [2021-05-12T15:18:26.083Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-12T15:18:26.107Z] $ docker stop --time=1 ed1851f6938b3fb545d1039eacc7e62db0ffdf2171ecc1815311d16b75491b28 [2021-05-12T15:18:28.242Z] $ docker rm -f ed1851f6938b3fb545d1039eacc7e62db0ffdf2171ecc1815311d16b75491b28 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T15:18:29.111Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T15:18:29.131Z] Warning: overwriting stash ‘coverage-report’ [2021-05-12T15:18:30.037Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T15:18:30.509Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T15:18:30.863Z] + ls -al . [2021-05-12T15:18:30.863Z] total 132 [2021-05-12T15:18:30.863Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:18 . [2021-05-12T15:18:30.863Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:15 .. [2021-05-12T15:18:30.863Z] -rw-rw-r-- 1 jenkins jenkins 151 May 12 15:15 .dockerignore [2021-05-12T15:18:30.863Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:15 .git [2021-05-12T15:18:30.863Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:15 .github [2021-05-12T15:18:30.863Z] -rw-rw-r-- 1 jenkins jenkins 339 May 12 15:15 .gitignore [2021-05-12T15:18:30.863Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 12 15:15 Attribution.txt [2021-05-12T15:18:30.863Z] -rw-rw-r-- 1 jenkins jenkins 1602 May 12 15:15 Dockerfile [2021-05-12T15:18:30.863Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 12 15:15 Dockerfile.build [2021-05-12T15:18:30.863Z] -rw-rw-r-- 1 jenkins jenkins 680 May 12 15:15 Jenkinsfile [2021-05-12T15:18:30.863Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 12 15:15 LICENSE [2021-05-12T15:18:30.863Z] -rw-rw-r-- 1 jenkins jenkins 976 May 12 15:15 Makefile [2021-05-12T15:18:30.863Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 12 15:15 README.md [2021-05-12T15:18:30.863Z] -rw-rw-r-- 1 jenkins jenkins 5 May 12 15:13 VERSION [2021-05-12T15:18:30.863Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:15 bin [2021-05-12T15:18:30.863Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:15 cmd [2021-05-12T15:18:30.863Z] -rw-r--r-- 1 jenkins jenkins 8513 May 12 15:17 coverage.out [2021-05-12T15:18:30.863Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:15 driver [2021-05-12T15:18:30.863Z] -rw-r--r-- 1 jenkins jenkins 285 May 12 15:18 go.mod [2021-05-12T15:18:30.863Z] -rw-r--r-- 1 jenkins jenkins 21011 May 12 15:17 go.sum [2021-05-12T15:18:30.863Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:15 snap [2021-05-12T15:18:30.863Z] -rw-rw-r-- 1 jenkins jenkins 713 May 12 15:15 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:18:31.297Z] + 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=2544f5c07657d26b6568ca6d244bab6513253799 --label arch=arm64 --label version=0.0.0 . [2021-05-12T15:18:31.298Z] Sending build context to Docker daemon 101.9kB [2021-05-12T15:18:31.582Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T15:18:31.582Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-12T15:18:31.582Z] ---> 0f7e1786e315 [2021-05-12T15:18:31.582Z] Step 3/24 : ARG MAKE='make build' [2021-05-12T15:18:31.862Z] ---> Running in e639cd4ccce9 [2021-05-12T15:18:32.464Z] Removing intermediate container e639cd4ccce9 [2021-05-12T15:18:32.464Z] ---> bd2df471405e [2021-05-12T15:18:32.464Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T15:18:32.745Z] ---> Running in c793afb6c0c0 [2021-05-12T15:18:33.017Z] Removing intermediate container c793afb6c0c0 [2021-05-12T15:18:33.017Z] ---> 035bf1f2c67e [2021-05-12T15:18:33.017Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T15:18:33.290Z] ---> Running in dbe46176149d [2021-05-12T15:18:33.561Z] Removing intermediate container dbe46176149d [2021-05-12T15:18:33.561Z] ---> fa0a342d0554 [2021-05-12T15:18:33.561Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T15:18:33.832Z] ---> Running in a5c7a220dcf5 [2021-05-12T15:18:35.801Z] Removing intermediate container a5c7a220dcf5 [2021-05-12T15:18:35.801Z] ---> 68ec1892214e [2021-05-12T15:18:35.801Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T15:18:36.075Z] ---> Running in be9ddcf46740 [2021-05-12T15:18:37.052Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T15:18:38.023Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T15:18:39.447Z] OK: 144 MiB in 49 packages [2021-05-12T15:18:40.876Z] Removing intermediate container be9ddcf46740 [2021-05-12T15:18:40.876Z] ---> f02b720ef6e5 [2021-05-12T15:18:40.876Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-12T15:18:40.876Z] ---> Running in 768f64bc7acd [2021-05-12T15:18:41.149Z] Removing intermediate container 768f64bc7acd [2021-05-12T15:18:41.149Z] ---> 33f4a8f3e431 [2021-05-12T15:18:41.149Z] Step 9/24 : COPY . . [2021-05-12T15:18:42.125Z] ---> 256728a6c6e3 [2021-05-12T15:18:42.125Z] Step 10/24 : RUN make update [2021-05-12T15:18:42.125Z] ---> Running in cc52df3e0d13 [2021-05-12T15:18:43.103Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-12T15:18:44.531Z] Removing intermediate container cc52df3e0d13 [2021-05-12T15:18:44.531Z] ---> 4cc4f719ca7f [2021-05-12T15:18:44.531Z] Step 11/24 : RUN $MAKE [2021-05-12T15:18:44.531Z] ---> Running in dd8c993c74fd [2021-05-12T15:18:45.521Z] 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-12T15:18:57.767Z] lf-activate-venv(): INFO: Adding /tmp/venv-nJn8/bin to PATH [2021-05-12T15:18:57.767Z] INFO: No Stack... [2021-05-12T15:18:57.767Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T15:18:57.767Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T15:18:58.085Z] + cat /w/workspace/device-rest-go/4/archives/cost.csv [2021-05-12T15:18:58.085Z] + cut -d, -f6 [Pipeline] lock [2021-05-12T15:18:58.177Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-94-4-stack-cost] [2021-05-12T15:18:58.192Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-94-4-stack-cost] did not exist. Created. [2021-05-12T15:18:58.192Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-94-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T15:18:58.524Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-12T15:18:58.663Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T15:18:58.678Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-94-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-12T15:19:24.578Z] Removing intermediate container dd8c993c74fd [2021-05-12T15:19:24.578Z] ---> d45f93e0cff3 [2021-05-12T15:19:24.578Z] Step 12/24 : FROM alpine:3.12 [2021-05-12T15:19:24.578Z] 3.12: Pulling from library/alpine [2021-05-12T15:19:24.578Z] d2f70382dc9a: Pulling fs layer [2021-05-12T15:19:24.578Z] d2f70382dc9a: Verifying Checksum [2021-05-12T15:19:24.578Z] d2f70382dc9a: Download complete [2021-05-12T15:19:24.578Z] d2f70382dc9a: Pull complete [2021-05-12T15:19:24.578Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T15:19:24.578Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T15:19:24.578Z] ---> 9852663dfa18 [2021-05-12T15:19:24.578Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-12T15:19:24.578Z] ---> Running in 7ef9a295c156 [2021-05-12T15:19:24.578Z] Removing intermediate container 7ef9a295c156 [2021-05-12T15:19:24.578Z] ---> 65aa1bc648aa [2021-05-12T15:19:24.578Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-12T15:19:24.578Z] ---> Running in f31094c52c7c [2021-05-12T15:19:24.578Z] Removing intermediate container f31094c52c7c [2021-05-12T15:19:24.578Z] ---> 25caaa830322 [2021-05-12T15:19:24.578Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-12T15:19:24.578Z] ---> Running in 244535b6bc55 [2021-05-12T15:19:24.578Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-12T15:19:24.578Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-12T15:19:25.170Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-12T15:19:25.170Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-12T15:19:25.170Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-12T15:19:25.170Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-12T15:19:25.170Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-12T15:19:25.170Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-12T15:19:25.170Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T15:19:25.170Z] OK: 8 MiB in 20 packages [2021-05-12T15:19:26.600Z] Removing intermediate container 244535b6bc55 [2021-05-12T15:19:26.600Z] ---> 0694b8ec7764 [2021-05-12T15:19:26.600Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-12T15:19:27.583Z] ---> a0aa817d9882 [2021-05-12T15:19:27.583Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-12T15:19:28.561Z] ---> 7eb71bd279ce [2021-05-12T15:19:28.561Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-12T15:19:29.157Z] ---> 05561ceb60d5 [2021-05-12T15:19:29.157Z] Step 19/24 : EXPOSE 49986 [2021-05-12T15:19:29.157Z] ---> Running in 7cbc6529280b [2021-05-12T15:19:29.753Z] Removing intermediate container 7cbc6529280b [2021-05-12T15:19:29.753Z] ---> ab45ea920a69 [2021-05-12T15:19:29.753Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-12T15:19:29.753Z] ---> Running in 18c12da32ff7 [2021-05-12T15:19:30.347Z] Removing intermediate container 18c12da32ff7 [2021-05-12T15:19:30.347Z] ---> 508452e5b76b [2021-05-12T15:19:30.347Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-12T15:19:30.347Z] ---> Running in 5a3e0e8dcf96 [2021-05-12T15:19:30.943Z] Removing intermediate container 5a3e0e8dcf96 [2021-05-12T15:19:30.943Z] ---> fd5d91134ad4 [2021-05-12T15:19:30.943Z] Step 22/24 : LABEL arch=arm64 [2021-05-12T15:19:30.943Z] ---> Running in 4dc960bdd7da [2021-05-12T15:19:31.539Z] Removing intermediate container 4dc960bdd7da [2021-05-12T15:19:31.539Z] ---> 9cd4a91b8aa0 [2021-05-12T15:19:31.539Z] Step 23/24 : LABEL git_sha=2544f5c07657d26b6568ca6d244bab6513253799 [2021-05-12T15:19:31.539Z] ---> Running in 5c140c558edf [2021-05-12T15:19:32.134Z] Removing intermediate container 5c140c558edf [2021-05-12T15:19:32.134Z] ---> 6279bbc9fee5 [2021-05-12T15:19:32.134Z] Step 24/24 : LABEL version=0.0.0 [2021-05-12T15:19:32.134Z] ---> Running in 4a8d646b01b7 [2021-05-12T15:19:32.730Z] Removing intermediate container 4a8d646b01b7 [2021-05-12T15:19:32.730Z] ---> 11b61f92d38c [2021-05-12T15:19:32.730Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-12T15:19:32.730Z] Successfully built 11b61f92d38c [2021-05-12T15:19:32.730Z] 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-12T15:19:33.212Z] ---> job-cost.sh [2021-05-12T15:19:33.212Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TJ6V [2021-05-12T15:20:12.161Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T15:21:48.931Z] lf-activate-venv(): INFO: Adding /tmp/venv-TJ6V/bin to PATH [2021-05-12T15:21:48.931Z] INFO: No Stack... [2021-05-12T15:21:48.931Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-12T15:21:48.931Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T15:21:49.270Z] + cut+ -d, -f6 [2021-05-12T15:21:49.270Z] cat /w/workspace/device-rest-go/4/archives/cost.csv [Pipeline] lock [2021-05-12T15:21:49.395Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-94-4-stack-cost] [2021-05-12T15:21:49.403Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-94-4-stack-cost] did not exist. Created. [2021-05-12T15:21:49.403Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-94-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T15:21:49.792Z] /w/workspace/device-rest-go/4@tmp/durable-4499ef32/script.sh: 1: /w/workspace/device-rest-go/4@tmp/durable-4499ef32/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-12T15:21:50.144Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-12T15:21:50.180Z] Warning: overwriting stash ‘stack-cost’ [2021-05-12T15:21:50.320Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T15:21:50.337Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-94-4-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-12T15:21:51.036Z] provisioning config files... [2021-05-12T15:21:51.048Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/config1345527903106569549tmp [Pipeline] { [Pipeline] sh [2021-05-12T15:21:51.377Z] + set +x [2021-05-12T15:21:51.377Z] + curl -s https://codecov.io/bash [2021-05-12T15:21:51.377Z] + bash -s -- [2021-05-12T15:21:51.640Z] [2021-05-12T15:21:51.640Z] _____ _ [2021-05-12T15:21:51.640Z] / ____| | | [2021-05-12T15:21:51.640Z] | | ___ __| | ___ ___ _____ __ [2021-05-12T15:21:51.640Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-12T15:21:51.640Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-12T15:21:51.640Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-12T15:21:51.640Z] Bash-1.0.2 [2021-05-12T15:21:51.640Z] [2021-05-12T15:21:51.640Z] [2021-05-12T15:21:51.640Z] ==> git version 2.24.3 found [2021-05-12T15:21:51.640Z] ==> 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-12T15:21:51.640Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-12T15:21:51.640Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-12T15:21:51.640Z] ==> Jenkins CI detected. [2021-05-12T15:21:51.640Z] project root: . [2021-05-12T15:21:51.640Z] --> token set from env [2021-05-12T15:21:51.640Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-12T15:21:51.640Z] ==> Running gcov in . (disable via -X gcov) [2021-05-12T15:21:51.640Z] ==> Python coveragepy not found [2021-05-12T15:21:51.640Z] ==> Searching for coverage reports in: [2021-05-12T15:21:51.640Z] + . [2021-05-12T15:21:51.640Z] -> Found 1 reports [2021-05-12T15:21:51.640Z] ==> Detecting git/mercurial file structure [2021-05-12T15:21:51.640Z] ==> Reading reports [2021-05-12T15:21:51.640Z] + ./coverage.out bytes=8513 [2021-05-12T15:21:51.640Z] ==> Appending adjustments [2021-05-12T15:21:51.640Z] https://docs.codecov.io/docs/fixing-reports [2021-05-12T15:21:51.905Z] + Found adjustments [2021-05-12T15:21:51.905Z] ==> Gzipping contents [2021-05-12T15:21:51.905Z] 4.0K /tmp/codecov.m0XuHI.gz [2021-05-12T15:21:51.905Z] ==> Uploading reports [2021-05-12T15:21:51.905Z] url: https://codecov.io [2021-05-12T15:21:51.905Z] query: branch=PR-94&commit=2544f5c07657d26b6568ca6d244bab6513253799&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-94%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=94&job=&cmd_args= [2021-05-12T15:21:51.905Z] -> Pinging Codecov [2021-05-12T15:21:51.905Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-94&commit=2544f5c07657d26b6568ca6d244bab6513253799&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-94%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=94&job=&cmd_args= [2021-05-12T15:21:52.167Z] -> Uploading to [2021-05-12T15:21:52.167Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-12/4E5D53B4F1F92C436F7061BF334D961C/2544f5c07657d26b6568ca6d244bab6513253799/e6fa1d4a-9dd7-4b2d-80ee-0d99eea25226.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210512T152152Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=88dc8c713e7e416ca6367e814df782d5b15ac2e24f4a7decec56b44bf851c71c [2021-05-12T15:21:52.168Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-12T15:21:52.168Z] Dload Upload Total Spent Left Speed [2021-05-12T15:21:52.743Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3749 --:--:-- --:--:-- --:--:-- 3746 100 1611 0 0 100 1611 0 3748 --:--:-- --:--:-- --:--:-- 3746 [2021-05-12T15:21:52.743Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/2544f5c07657d26b6568ca6d244bab6513253799 [Pipeline] } [2021-05-12T15:21:52.755Z] 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-12T15:21:53.769Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:21:54.081Z] ---> package-listing.sh [2021-05-12T15:21:54.081Z] ++ facter osfamily [2021-05-12T15:21:54.081Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-12T15:21:54.081Z] + OS_FAMILY=redhat [2021-05-12T15:21:54.081Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-94 [2021-05-12T15:21:54.081Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-12T15:21:54.081Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-12T15:21:54.081Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-12T15:21:54.081Z] + PACKAGES=/tmp/packages_start.txt [2021-05-12T15:21:54.081Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-94 ']' [2021-05-12T15:21:54.081Z] + PACKAGES=/tmp/packages_end.txt [2021-05-12T15:21:54.081Z] + case "${OS_FAMILY}" in [2021-05-12T15:21:54.081Z] + rpm -qa [2021-05-12T15:21:54.081Z] + sort [2021-05-12T15:21:59.400Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-12T15:21:59.400Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-12T15:21:59.400Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-12T15:21:59.400Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-94 ']' [2021-05-12T15:21:59.400Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-94/archives/ [2021-05-12T15:21:59.400Z] + 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-12T15:21:59.419Z] 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-12T15:21:59.719Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:22:00.038Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T15:22:00.038Z] [2021-05-12T15:22:00.038Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:22:00.368Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T15:22:00.368Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-12T15:22:00.368Z] df20fa9351a1: Pulling fs layer [2021-05-12T15:22:00.368Z] 36b3adc4ff6f: Pulling fs layer [2021-05-12T15:22:00.368Z] 8ad3a11d3b57: Pulling fs layer [2021-05-12T15:22:00.368Z] 46f8f816bc3b: Pulling fs layer [2021-05-12T15:22:00.368Z] 93b61091891f: Pulling fs layer [2021-05-12T15:22:00.368Z] 93b9cdb0e59b: Pulling fs layer [2021-05-12T15:22:00.368Z] 5e14af77c1be: Pulling fs layer [2021-05-12T15:22:00.368Z] 01666e4c0597: Pulling fs layer [2021-05-12T15:22:00.368Z] aa168da1d23b: Pulling fs layer [2021-05-12T15:22:00.368Z] 46f8f816bc3b: Waiting [2021-05-12T15:22:00.368Z] 93b61091891f: Waiting [2021-05-12T15:22:00.368Z] 01666e4c0597: Waiting [2021-05-12T15:22:00.368Z] 93b9cdb0e59b: Waiting [2021-05-12T15:22:00.368Z] 5e14af77c1be: Waiting [2021-05-12T15:22:00.368Z] aa168da1d23b: Waiting [2021-05-12T15:22:00.368Z] 36b3adc4ff6f: Download complete [2021-05-12T15:22:00.368Z] 46f8f816bc3b: Verifying Checksum [2021-05-12T15:22:00.368Z] 46f8f816bc3b: Download complete [2021-05-12T15:22:00.368Z] df20fa9351a1: Verifying Checksum [2021-05-12T15:22:00.368Z] df20fa9351a1: Download complete [2021-05-12T15:22:00.634Z] 93b9cdb0e59b: Verifying Checksum [2021-05-12T15:22:00.634Z] 93b9cdb0e59b: Download complete [2021-05-12T15:22:00.634Z] 5e14af77c1be: Verifying Checksum [2021-05-12T15:22:00.634Z] 5e14af77c1be: Download complete [2021-05-12T15:22:00.634Z] 93b61091891f: Verifying Checksum [2021-05-12T15:22:00.634Z] 93b61091891f: Download complete [2021-05-12T15:22:00.634Z] 01666e4c0597: Verifying Checksum [2021-05-12T15:22:00.634Z] 01666e4c0597: Download complete [2021-05-12T15:22:00.898Z] 8ad3a11d3b57: Verifying Checksum [2021-05-12T15:22:00.898Z] 8ad3a11d3b57: Download complete [2021-05-12T15:22:00.898Z] df20fa9351a1: Pull complete [2021-05-12T15:22:01.162Z] 36b3adc4ff6f: Pull complete [2021-05-12T15:22:02.122Z] 8ad3a11d3b57: Pull complete [2021-05-12T15:22:02.122Z] 46f8f816bc3b: Pull complete [2021-05-12T15:22:02.708Z] 93b61091891f: Pull complete [2021-05-12T15:22:02.708Z] 93b9cdb0e59b: Pull complete [2021-05-12T15:22:02.976Z] 5e14af77c1be: Pull complete [2021-05-12T15:22:02.976Z] aa168da1d23b: Verifying Checksum [2021-05-12T15:22:02.976Z] aa168da1d23b: Download complete [2021-05-12T15:22:02.976Z] 01666e4c0597: Pull complete [2021-05-12T15:22:09.734Z] aa168da1d23b: Pull complete [2021-05-12T15:22:09.734Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-12T15:22:09.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T15:22:09.997Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-12T15:22:10.226Z] prd-centos7-docker-4c-2g-4695 does not seem to be running inside a container [2021-05-12T15:22:10.276Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-12T15:22:14.356Z] $ docker top ed76ef54c51a3bbe15b6280051b1c327350c14e77ed3693c2f152be89a8895e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T15:22:14.826Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-12T15:22:15.126Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-12T15:22:15.431Z] + ls /var/log/sa-host [2021-05-12T15:22:15.431Z] + sadf -c /var/log/sa-host/sa12 [2021-05-12T15:22:15.431Z] file_magic: OK [2021-05-12T15:22:15.431Z] HZ: Using current value: 100 [2021-05-12T15:22:15.431Z] file_header: OK [2021-05-12T15:22:15.431Z] 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-12T15:22:15.431Z] Statistics: [2021-05-12T15:22:15.431Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-12T15:22:15.431Z] File successfully converted to sysstat format version 12.2.1 [2021-05-12T15:22:15.431Z] + sadf -c /var/log/sa-host/sa23 [2021-05-12T15:22:15.431Z] file_magic: OK [2021-05-12T15:22:15.431Z] HZ: Using current value: 100 [2021-05-12T15:22:15.431Z] file_header: OK [2021-05-12T15:22:15.431Z] 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-12T15:22:15.431Z] Statistics: [2021-05-12T15:22:15.431Z] Hnuu...uuuununununu... [2021-05-12T15:22:15.431Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-12T15:22:16.010Z] provisioning config files... [2021-05-12T15:22:16.030Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/config8714096870937606598tmp [Pipeline] { [Pipeline] echo [2021-05-12T15:22:16.055Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:22:16.359Z] ---> create-netrc.sh [Pipeline] } [2021-05-12T15:22:16.370Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-12T15:22:16.396Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:22:16.696Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-12T15:22:16.729Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:22:17.027Z] ---> sudo-logs.sh [2021-05-12T15:22:17.027Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-12T15:22:17.056Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:22:17.357Z] ---> job-cost.sh [2021-05-12T15:22:17.358Z] lf-activate-venv: SKIPPING [2021-05-12T15:22:17.358Z] DEBUG: total: 0.20999999344348907 [2021-05-12T15:22:17.358Z] INFO: Retrieving Stack Cost... [2021-05-12T15:22:18.752Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T15:22:19.014Z] INFO: Archiving Costs [Pipeline] echo [2021-05-12T15:22:19.030Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:22:19.336Z] ---> logs-deploy.sh [2021-05-12T15:22:19.336Z] lf-activate-venv: SKIPPING [2021-05-12T15:22:19.336Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-94/4 [2021-05-12T15:22:19.336Z] INFO: archiving workspace using pattern(s): [2021-05-12T15:22:21.262Z] Archives upload complete. [2021-05-12T15:22:21.262Z] INFO: archiving logs to Nexus [2021-05-12T15:22:22.211Z] ---> uname -a: [2021-05-12T15:22:22.211Z] Linux prd-centos7-docker-4c-2g-4695.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-12T15:22:22.211Z] [2021-05-12T15:22:22.211Z] [2021-05-12T15:22:22.211Z] ---> lscpu: [2021-05-12T15:22:22.211Z] Architecture: x86_64 [2021-05-12T15:22:22.211Z] CPU op-mode(s): 32-bit, 64-bit [2021-05-12T15:22:22.211Z] Byte Order: Little Endian [2021-05-12T15:22:22.211Z] Address sizes: 40 bits physical, 48 bits virtual [2021-05-12T15:22:22.211Z] CPU(s): 4 [2021-05-12T15:22:22.211Z] On-line CPU(s) list: 0-3 [2021-05-12T15:22:22.211Z] Thread(s) per core: 1 [2021-05-12T15:22:22.211Z] Core(s) per socket: 1 [2021-05-12T15:22:22.211Z] Socket(s): 4 [2021-05-12T15:22:22.211Z] NUMA node(s): 1 [2021-05-12T15:22:22.211Z] Vendor ID: GenuineIntel [2021-05-12T15:22:22.211Z] CPU family: 6 [2021-05-12T15:22:22.211Z] Model: 44 [2021-05-12T15:22:22.211Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-05-12T15:22:22.211Z] Stepping: 1 [2021-05-12T15:22:22.211Z] CPU MHz: 2933.442 [2021-05-12T15:22:22.211Z] BogoMIPS: 5866.88 [2021-05-12T15:22:22.211Z] Virtualization: VT-x [2021-05-12T15:22:22.211Z] Hypervisor vendor: KVM [2021-05-12T15:22:22.211Z] Virtualization type: full [2021-05-12T15:22:22.211Z] L1d cache: 128 KiB [2021-05-12T15:22:22.211Z] L1i cache: 128 KiB [2021-05-12T15:22:22.211Z] L2 cache: 16 MiB [2021-05-12T15:22:22.211Z] L3 cache: 64 MiB [2021-05-12T15:22:22.211Z] NUMA node0 CPU(s): 0-3 [2021-05-12T15:22:22.211Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-05-12T15:22:22.211Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-05-12T15:22:22.211Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-05-12T15:22:22.211Z] Vulnerability Meltdown: Mitigation; PTI [2021-05-12T15:22:22.211Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-05-12T15:22:22.211Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-05-12T15:22:22.211Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-05-12T15:22:22.211Z] Vulnerability Srbds: Not affected [2021-05-12T15:22:22.211Z] Vulnerability Tsx async abort: Not affected [2021-05-12T15:22:22.211Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-05-12T15:22:22.211Z] [2021-05-12T15:22:22.211Z] [2021-05-12T15:22:22.211Z] ---> nproc: [2021-05-12T15:22:22.211Z] 4 [2021-05-12T15:22:22.211Z] [2021-05-12T15:22:22.211Z] [2021-05-12T15:22:22.211Z] ---> df -h: [2021-05-12T15:22:22.211Z] Filesystem Size Used Available Use% Mounted on [2021-05-12T15:22:22.211Z] overlay 50.0G 7.3G 42.7G 15% / [2021-05-12T15:22:22.211Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-05-12T15:22:22.211Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-05-12T15:22:22.211Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-05-12T15:22:22.211Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-05-12T15:22:22.211Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-05-12T15:22:22.211Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-05-12T15:22:22.211Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-05-12T15:22:22.211Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-05-12T15:22:22.211Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-05-12T15:22:22.211Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-05-12T15:22:22.211Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-rest-go_PR-94 [2021-05-12T15:22:22.211Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-rest-go_PR-94@tmp [2021-05-12T15:22:22.211Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-05-12T15:22:22.211Z] [2021-05-12T15:22:22.211Z]