Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 75f49688efec1912c312743df3f39e9b386dbea7+196bef76aa0a3d89dc26ac944eff062c8405d7e3 (289c0aef0a68259e93ab515c14f89c2b69299c5d) 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-5142 in /w/workspace/dgexfoundry_device-rest-go_PR-92 [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-92 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 196bef76aa0a3d89dc26ac944eff062c8405d7e3 into PR head commit 75f49688efec1912c312743df3f39e9b386dbea7 Merge succeeded, producing 6469de8a50d7d8225b9b39b8f6371d04de064bb5 Checking out Revision 6469de8a50d7d8225b9b39b8f6371d04de064bb5 (PR-92) > 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/92/head:refs/remotes/origin/PR-92 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75f49688efec1912c312743df3f39e9b386dbea7 # 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 196bef76aa0a3d89dc26ac944eff062c8405d7e3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6469de8a50d7d8225b9b39b8f6371d04de064bb5 # timeout=10 Commit message: "Merge commit '196bef76aa0a3d89dc26ac944eff062c8405d7e3' into HEAD" > git rev-list --no-walk 75f49688efec1912c312743df3f39e9b386dbea7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-13T11:07:41.902Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-13T11:07:42.018Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-13T11:07:42.049Z] ========================================================= [2021-05-13T11:07:42.049Z] EdgeX Global Pipelines Version Info [2021-05-13T11:07:42.049Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-13T11:07:44.128Z] ------------------- [2021-05-13T11:07:44.128Z] stable info: [2021-05-13T11:07:44.128Z] ------------------- [2021-05-13T11:07:44.128Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-13T11:07:44.128Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-13T11:07:44.128Z] Message: update stable to v1.0.192 [2021-05-13T11:07:44.708Z] ------------------- [2021-05-13T11:07:44.708Z] experimental info: [2021-05-13T11:07:44.708Z] ------------------- [2021-05-13T11:07:44.708Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-13T11:07:44.708Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-13T11:07:44.708Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-13T11:07:44.854Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-13T11:07:44.881Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-13T11:07:44.908Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-13T11:07:44.935Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-13T11:07:44.967Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-13T11:07:44.994Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-13T11:07:45.019Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-13T11:07:45.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-13T11:07:45.071Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-13T11:07:45.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-13T11:07:45.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-13T11:07:45.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-05-13T11:07:45.172Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-13T11:07:45.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-13T11:07:45.225Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-13T11:07:45.251Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-13T11:07:45.277Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-13T11:07:45.303Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-13T11:07:45.327Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-13T11:07:45.353Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-13T11:07:45.381Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-13T11:07:45.404Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-13T11:07:45.429Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-13T11:07:45.455Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-13T11:07:45.481Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-13T11:07:45.506Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-13T11:07:45.530Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-92 [Pipeline] echo [2021-05-13T11:07:45.555Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-92 [Pipeline] echo [2021-05-13T11:07:45.579Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-92 [Pipeline] echo [2021-05-13T11:07:45.603Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6469de8a50d7d8225b9b39b8f6371d04de064bb5 [Pipeline] echo [2021-05-13T11:07:45.628Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6469de8 [Pipeline] echo [2021-05-13T11:07:45.653Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-13T11:07:45.731Z] provisioning config files... [2021-05-13T11:07:45.764Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-92@tmp/config8587680178378522229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-13T11:07:46.092Z] ---> docker-login.sh [2021-05-13T11:07:46.092Z] nexus3.edgexfoundry.org:10001 [2021-05-13T11:07:46.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:07:46.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:07:46.618Z] Configure a credential helper to remove this warning. See [2021-05-13T11:07:46.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:07:46.618Z] [2021-05-13T11:07:46.618Z] Login Succeeded [2021-05-13T11:07:46.618Z] nexus3.edgexfoundry.org:10002 [2021-05-13T11:07:46.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:07:46.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:07:46.882Z] Configure a credential helper to remove this warning. See [2021-05-13T11:07:46.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:07:46.882Z] [2021-05-13T11:07:46.882Z] Login Succeeded [2021-05-13T11:07:46.882Z] nexus3.edgexfoundry.org:10003 [2021-05-13T11:07:46.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:07:47.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:07:47.146Z] Configure a credential helper to remove this warning. See [2021-05-13T11:07:47.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:07:47.146Z] [2021-05-13T11:07:47.146Z] Login Succeeded [2021-05-13T11:07:47.146Z] nexus3.edgexfoundry.org:10004 [2021-05-13T11:07:47.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:07:47.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:07:47.146Z] Configure a credential helper to remove this warning. See [2021-05-13T11:07:47.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:07:47.146Z] [2021-05-13T11:07:47.146Z] Login Succeeded [2021-05-13T11:07:47.146Z] docker.io [2021-05-13T11:07:47.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:07:47.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:07:47.674Z] Configure a credential helper to remove this warning. See [2021-05-13T11:07:47.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:07:47.674Z] [2021-05-13T11:07:47.674Z] Login Succeeded [2021-05-13T11:07:47.674Z] ---> docker-login.sh ends [Pipeline] } [2021-05-13T11:07:47.683Z] 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-13T11:07:48.158Z] + git log --format=format:%s -1 6469de8a50d7d8225b9b39b8f6371d04de064bb5 [Pipeline] echo [2021-05-13T11:07:48.232Z] GIT_COMMIT: 6469de8a50d7d8225b9b39b8f6371d04de064bb5, Commit Message: Merge commit '196bef76aa0a3d89dc26ac944eff062c8405d7e3' into HEAD [Pipeline] echo [2021-05-13T11:07:48.246Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-13T11:07:49.197Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-13T11:07:49.197Z] [2021-05-13T11:07:49.197Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-13T11:07:49.517Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-13T11:07:49.517Z] latest: Pulling from edgex-devops/git-semver [2021-05-13T11:07:49.518Z] 31603596830f: Pulling fs layer [2021-05-13T11:07:49.518Z] 54011a49482f: Pulling fs layer [2021-05-13T11:07:49.518Z] a6820b24f6d8: Pulling fs layer [2021-05-13T11:07:49.518Z] f581987b2513: Pulling fs layer [2021-05-13T11:07:49.518Z] f581987b2513: Waiting [2021-05-13T11:07:49.518Z] 54011a49482f: Verifying Checksum [2021-05-13T11:07:49.518Z] 54011a49482f: Download complete [2021-05-13T11:07:49.781Z] 31603596830f: Verifying Checksum [2021-05-13T11:07:49.781Z] 31603596830f: Download complete [2021-05-13T11:07:49.781Z] f581987b2513: Verifying Checksum [2021-05-13T11:07:49.781Z] f581987b2513: Download complete [2021-05-13T11:07:49.781Z] a6820b24f6d8: Verifying Checksum [2021-05-13T11:07:49.781Z] a6820b24f6d8: Download complete [2021-05-13T11:07:50.056Z] 31603596830f: Pull complete [2021-05-13T11:07:50.319Z] 54011a49482f: Pull complete [2021-05-13T11:07:51.276Z] a6820b24f6d8: Pull complete [2021-05-13T11:07:51.537Z] f581987b2513: Pull complete [2021-05-13T11:07:51.537Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-13T11:07:51.537Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-13T11:07:51.537Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-13T11:07:51.643Z] prd-centos7-docker-4c-2g-5142 does not seem to be running inside a container [2021-05-13T11:07:51.719Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-92 -v /w/workspace/dgexfoundry_device-rest-go_PR-92:/w/workspace/dgexfoundry_device-rest-go_PR-92:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-92@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-92@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-13T11:07:54.379Z] $ docker top f6f217cdc74cb1ba991784130c575f754f05df36b0b8cbbc2bf5a7ce33d14667 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-13T11:07:54.643Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-13T11:07:54.643Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-13T11:07:54.886Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-13T11:07:54.892Z] $ docker exec f6f217cdc74cb1ba991784130c575f754f05df36b0b8cbbc2bf5a7ce33d14667 ssh-agent [2021-05-13T11:07:55.110Z] SSH_AUTH_SOCK=/tmp/ssh-ckDcrk8AhGdG/agent.11 [2021-05-13T11:07:55.110Z] SSH_AGENT_PID=17 [2021-05-13T11:07:55.130Z] Running ssh-add (command line suppressed) [2021-05-13T11:07:55.276Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-92@tmp/private_key_408023536594015840.key (/w/workspace/dgexfoundry_device-rest-go_PR-92@tmp/private_key_408023536594015840.key) [2021-05-13T11:07:55.331Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-13T11:07:55.640Z] + git tag --points-at HEAD [Pipeline] } [2021-05-13T11:07:55.671Z] $ docker exec --env ******** --env ******** f6f217cdc74cb1ba991784130c575f754f05df36b0b8cbbc2bf5a7ce33d14667 ssh-agent -k [2021-05-13T11:07:55.815Z] unset SSH_AUTH_SOCK; [2021-05-13T11:07:55.815Z] unset SSH_AGENT_PID; [2021-05-13T11:07:55.815Z] echo Agent pid 17 killed; [2021-05-13T11:07:55.870Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-13T11:07:55.914Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-13T11:07:55.914Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-13T11:07:56.101Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-13T11:07:56.107Z] $ docker exec f6f217cdc74cb1ba991784130c575f754f05df36b0b8cbbc2bf5a7ce33d14667 ssh-agent [2021-05-13T11:07:56.271Z] SSH_AUTH_SOCK=/tmp/ssh-7XmlnSsv32sR/agent.47 [2021-05-13T11:07:56.271Z] SSH_AGENT_PID=52 [2021-05-13T11:07:56.279Z] Running ssh-add (command line suppressed) [2021-05-13T11:07:56.406Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-92@tmp/private_key_3571735571804762449.key (/w/workspace/dgexfoundry_device-rest-go_PR-92@tmp/private_key_3571735571804762449.key) [2021-05-13T11:07:56.461Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-13T11:07:56.776Z] + git semver init [2021-05-13T11:07:56.776Z] # -> Open(): unable to determine branch for HEAD [2021-05-13T11:07:56.776Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-92/.git [2021-05-13T11:07:56.776Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-92 [2021-05-13T11:07:56.776Z] # $SEMVER_REMOTE_NAME = origin [2021-05-13T11:07:56.776Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-13T11:07:56.776Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-13T11:07:56.776Z] # $SEMVER_BRANCH = PR-92 [2021-05-13T11:07:56.776Z] # $SEMVER_TEMP = /tmp/semver-728083953 [2021-05-13T11:07:56.776Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-13T11:07:58.184Z] # '/tmp/semver-728083953' -> '/w/workspace/dgexfoundry_device-rest-go_PR-92/.semver' [2021-05-13T11:07:58.184Z] # -> Force: false [2021-05-13T11:07:58.184Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-92/.semver [Pipeline] } [2021-05-13T11:07:58.200Z] $ docker exec --env ******** --env ******** f6f217cdc74cb1ba991784130c575f754f05df36b0b8cbbc2bf5a7ce33d14667 ssh-agent -k [2021-05-13T11:07:58.324Z] unset SSH_AUTH_SOCK; [2021-05-13T11:07:58.325Z] unset SSH_AGENT_PID; [2021-05-13T11:07:58.325Z] echo Agent pid 52 killed; [2021-05-13T11:07:58.380Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-13T11:07:58.721Z] + git semver [Pipeline] } [2021-05-13T11:07:58.743Z] $ docker stop --time=1 f6f217cdc74cb1ba991784130c575f754f05df36b0b8cbbc2bf5a7ce33d14667 [2021-05-13T11:08:00.219Z] $ docker rm -f f6f217cdc74cb1ba991784130c575f754f05df36b0b8cbbc2bf5a7ce33d14667 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-13T11:08:00.620Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-13T11:08:01.038Z] Stashed 1 file(s) [Pipeline] echo [2021-05-13T11:08:01.042Z] [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-13T11:08:16.246Z] Still waiting to schedule task [2021-05-13T11:08:16.246Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-5142’ [2021-05-13T11:08:16.257Z] Still waiting to schedule task [2021-05-13T11:08:16.257Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline [2021-05-13T11:10:04.677Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5144 in /w/workspace/dgexfoundry_device-rest-go_PR-92 [Pipeline] { [Pipeline] ws [2021-05-13T11:10:04.700Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-05-13T11:10:10.588Z] using credential edgex-jenkins-ssh [2021-05-13T11:10:10.606Z] Cloning the remote Git repository [2021-05-13T11:10:10.695Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-13T11:10:10.883Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-05-13T11:10:10.954Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-13T11:10:10.955Z] > git --version # timeout=10 [2021-05-13T11:10:10.982Z] > git --version # 'git version 2.17.1' [2021-05-13T11:10:10.984Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T11:10:11.077Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-13T11:10:13.143Z] Merging remotes/origin/master commit 196bef76aa0a3d89dc26ac944eff062c8405d7e3 into PR head commit 75f49688efec1912c312743df3f39e9b386dbea7 [2021-05-13T11:10:13.376Z] Merge succeeded, producing 7549d6f0c9da156947994a63cba994dfca834fe0 [2021-05-13T11:10:13.376Z] Checking out Revision 7549d6f0c9da156947994a63cba994dfca834fe0 (PR-92) [2021-05-13T11:10:12.576Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-13T11:10:12.600Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-13T11:10:12.637Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-13T11:10:12.680Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-13T11:10:12.680Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T11:10:12.693Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/92/head:refs/remotes/origin/PR-92 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-13T11:10:13.165Z] > git config core.sparsecheckout # timeout=10 [2021-05-13T11:10:13.179Z] > git checkout -f 75f49688efec1912c312743df3f39e9b386dbea7 # timeout=10 [2021-05-13T11:10:13.264Z] > git remote # timeout=10 [2021-05-13T11:10:13.282Z] > git config --get remote.origin.url # timeout=10 [2021-05-13T11:10:13.299Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T11:10:13.310Z] > git merge 196bef76aa0a3d89dc26ac944eff062c8405d7e3 # timeout=10 [2021-05-13T11:10:13.360Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-13T11:10:13.382Z] > git config core.sparsecheckout # timeout=10 [2021-05-13T11:10:13.401Z] > git checkout -f 7549d6f0c9da156947994a63cba994dfca834fe0 # timeout=10 [2021-05-13T11:10:17.675Z] Commit message: "Merge commit '196bef76aa0a3d89dc26ac944eff062c8405d7e3' into HEAD" [2021-05-13T11:10:17.684Z] > git rev-list --no-walk 75f49688efec1912c312743df3f39e9b386dbea7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-13T11:10:18.397Z] Running on prd-centos7-docker-4c-2g-5145 in /w/workspace/dgexfoundry_device-rest-go_PR-92 [Pipeline] { [Pipeline] ws [2021-05-13T11:10:18.898Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-05-13T11:10:19.342Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-13T11:10:19.770Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-13T11:10:20.142Z] + true [2021-05-13T11:10:20.142Z] + sudo service docker restart [2021-05-13T11:10:21.732Z] using credential edgex-jenkins-ssh [2021-05-13T11:10:21.746Z] Cloning the remote Git repository [2021-05-13T11:10:21.774Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-13T11:10:21.845Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-05-13T11:10:21.908Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-13T11:10:21.908Z] > git --version # timeout=10 [2021-05-13T11:10:21.915Z] > git --version # 'git version 2.24.3' [2021-05-13T11:10:21.916Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T11:10:21.945Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-13T11:10:22.812Z] provisioning config files... [2021-05-13T11:10:22.859Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config3575135021149197268tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-13T11:10:23.234Z] Merging remotes/origin/master commit 196bef76aa0a3d89dc26ac944eff062c8405d7e3 into PR head commit 75f49688efec1912c312743df3f39e9b386dbea7 [2021-05-13T11:10:23.248Z] ---> docker-login.sh [2021-05-13T11:10:23.248Z] nexus3.edgexfoundry.org:10001 [2021-05-13T11:10:23.334Z] Merge succeeded, producing 2c9ac858759ddaa09c4f4fda33074c782cd62168 [2021-05-13T11:10:23.334Z] Checking out Revision 2c9ac858759ddaa09c4f4fda33074c782cd62168 (PR-92) [2021-05-13T11:10:22.852Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-13T11:10:22.869Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-13T11:10:22.881Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-13T11:10:22.893Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-13T11:10:22.893Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T11:10:22.897Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/92/head:refs/remotes/origin/PR-92 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-13T11:10:23.245Z] > git config core.sparsecheckout # timeout=10 [2021-05-13T11:10:23.250Z] > git checkout -f 75f49688efec1912c312743df3f39e9b386dbea7 # timeout=10 [2021-05-13T11:10:23.281Z] > git remote # timeout=10 [2021-05-13T11:10:23.288Z] > git config --get remote.origin.url # timeout=10 [2021-05-13T11:10:23.295Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T11:10:23.299Z] > git merge 196bef76aa0a3d89dc26ac944eff062c8405d7e3 # timeout=10 [2021-05-13T11:10:23.330Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-13T11:10:23.339Z] > git config core.sparsecheckout # timeout=10 [2021-05-13T11:10:23.345Z] > git checkout -f 2c9ac858759ddaa09c4f4fda33074c782cd62168 # timeout=10 [2021-05-13T11:10:24.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:10:24.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:10:24.519Z] Configure a credential helper to remove this warning. See [2021-05-13T11:10:24.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:10:24.519Z] [2021-05-13T11:10:24.519Z] Login Succeeded [2021-05-13T11:10:24.519Z] nexus3.edgexfoundry.org:10002 [2021-05-13T11:10:25.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:10:25.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:10:25.138Z] Configure a credential helper to remove this warning. See [2021-05-13T11:10:25.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:10:25.138Z] [2021-05-13T11:10:25.138Z] Login Succeeded [2021-05-13T11:10:25.138Z] nexus3.edgexfoundry.org:10003 [2021-05-13T11:10:25.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:10:25.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:10:25.691Z] Configure a credential helper to remove this warning. See [2021-05-13T11:10:25.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:10:25.691Z] [2021-05-13T11:10:25.691Z] Login Succeeded [2021-05-13T11:10:25.691Z] nexus3.edgexfoundry.org:10004 [2021-05-13T11:10:25.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:10:26.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:10:26.239Z] Configure a credential helper to remove this warning. See [2021-05-13T11:10:26.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:10:26.239Z] [2021-05-13T11:10:26.239Z] Login Succeeded [2021-05-13T11:10:26.239Z] docker.io [2021-05-13T11:10:26.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:10:26.958Z] Commit message: "Merge commit '196bef76aa0a3d89dc26ac944eff062c8405d7e3' into HEAD" [2021-05-13T11:10:26.964Z] > git rev-list --no-walk 75f49688efec1912c312743df3f39e9b386dbea7 # timeout=10 [2021-05-13T11:10:27.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:10:27.114Z] Configure a credential helper to remove this warning. See [2021-05-13T11:10:27.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:10:27.114Z] [2021-05-13T11:10:27.114Z] Login Succeeded [2021-05-13T11:10:27.114Z] ---> docker-login.sh ends [Pipeline] } [2021-05-13T11:10:27.133Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] echo [2021-05-13T11:10:27.884Z] ========================================================= [2021-05-13T11:10:27.884Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-13T11:10:27.884Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-13T11:10:28.154Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-13T11:10:28.243Z] + 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-13T11:10:28.243Z] Sending build context to Docker daemon 92.16kB [2021-05-13T11:10:28.493Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-13T11:10:28.525Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-13T11:10:28.525Z] Step 2/10 : FROM ${BASE} [2021-05-13T11:10:28.799Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-13T11:10:28.799Z] 595b0fe564bb: Pulling fs layer [2021-05-13T11:10:28.799Z] 7186ed65a4f7: Pulling fs layer [2021-05-13T11:10:28.799Z] 316046926c0a: Pulling fs layer [2021-05-13T11:10:28.799Z] 4ebd0625c992: Pulling fs layer [2021-05-13T11:10:28.799Z] 207e8628e3a3: Pulling fs layer [2021-05-13T11:10:28.799Z] c791037a9be2: Pulling fs layer [2021-05-13T11:10:28.799Z] ffd874e62e21: Pulling fs layer [2021-05-13T11:10:28.799Z] 207e8628e3a3: Waiting [2021-05-13T11:10:28.799Z] c791037a9be2: Waiting [2021-05-13T11:10:28.799Z] ffd874e62e21: Waiting [2021-05-13T11:10:28.799Z] 4ebd0625c992: Waiting [2021-05-13T11:10:28.799Z] 316046926c0a: Verifying Checksum [2021-05-13T11:10:28.799Z] 316046926c0a: Download complete [2021-05-13T11:10:28.799Z] 7186ed65a4f7: Verifying Checksum [2021-05-13T11:10:28.799Z] 7186ed65a4f7: Download complete [2021-05-13T11:10:28.799Z] 207e8628e3a3: Verifying Checksum [2021-05-13T11:10:28.799Z] 207e8628e3a3: Download complete [2021-05-13T11:10:28.799Z] 595b0fe564bb: Verifying Checksum [2021-05-13T11:10:28.799Z] c791037a9be2: Verifying Checksum [2021-05-13T11:10:28.799Z] c791037a9be2: Download complete [2021-05-13T11:10:28.806Z] + sudo service docker restart [2021-05-13T11:10:28.806Z] + true [2021-05-13T11:10:28.806Z] Redirecting to /bin/systemctl restart docker.service [2021-05-13T11:10:29.412Z] 595b0fe564bb: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-13T11:10:29.808Z] provisioning config files... [2021-05-13T11:10:29.847Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config3320465119388220470tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-13T11:10:30.023Z] 7186ed65a4f7: Pull complete [2021-05-13T11:10:30.192Z] ---> docker-login.sh [2021-05-13T11:10:30.193Z] nexus3.edgexfoundry.org:10001 [2021-05-13T11:10:30.297Z] 316046926c0a: Pull complete [2021-05-13T11:10:30.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:10:30.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:10:30.721Z] Configure a credential helper to remove this warning. See [2021-05-13T11:10:30.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:10:30.721Z] [2021-05-13T11:10:30.721Z] Login Succeeded [2021-05-13T11:10:30.721Z] nexus3.edgexfoundry.org:10002 [2021-05-13T11:10:30.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:10:30.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:10:30.721Z] Configure a credential helper to remove this warning. See [2021-05-13T11:10:30.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:10:30.721Z] [2021-05-13T11:10:30.721Z] Login Succeeded [2021-05-13T11:10:30.721Z] nexus3.edgexfoundry.org:10003 [2021-05-13T11:10:30.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:10:30.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:10:30.984Z] Configure a credential helper to remove this warning. See [2021-05-13T11:10:30.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:10:30.984Z] [2021-05-13T11:10:30.984Z] Login Succeeded [2021-05-13T11:10:30.984Z] nexus3.edgexfoundry.org:10004 [2021-05-13T11:10:30.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:10:31.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:10:31.248Z] Configure a credential helper to remove this warning. See [2021-05-13T11:10:31.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:10:31.248Z] [2021-05-13T11:10:31.248Z] Login Succeeded [2021-05-13T11:10:31.248Z] docker.io [2021-05-13T11:10:31.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:10:31.293Z] ffd874e62e21: Verifying Checksum [2021-05-13T11:10:31.293Z] ffd874e62e21: Download complete [2021-05-13T11:10:31.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:10:31.512Z] Configure a credential helper to remove this warning. See [2021-05-13T11:10:31.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:10:31.512Z] [2021-05-13T11:10:31.512Z] Login Succeeded [2021-05-13T11:10:31.512Z] ---> docker-login.sh ends [Pipeline] } [2021-05-13T11:10:31.523Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-13T11:10:31.722Z] ========================================================= [2021-05-13T11:10:31.722Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-13T11:10:31.722Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-13T11:10:32.040Z] + 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-13T11:10:32.040Z] Sending build context to Docker daemon 92.16kB [2021-05-13T11:10:32.040Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-13T11:10:32.040Z] Step 2/10 : FROM ${BASE} [2021-05-13T11:10:32.308Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-13T11:10:32.308Z] 540db60ca938: Pulling fs layer [2021-05-13T11:10:32.308Z] adcc1eea9eea: Pulling fs layer [2021-05-13T11:10:32.308Z] 4c4ab2625f07: Pulling fs layer [2021-05-13T11:10:32.308Z] 0510c868ecb4: Pulling fs layer [2021-05-13T11:10:32.308Z] afea3b2eda06: Pulling fs layer [2021-05-13T11:10:32.308Z] 7809a108b3ef: Pulling fs layer [2021-05-13T11:10:32.308Z] f706445af74f: Pulling fs layer [2021-05-13T11:10:32.308Z] afea3b2eda06: Waiting [2021-05-13T11:10:32.308Z] 7809a108b3ef: Waiting [2021-05-13T11:10:32.308Z] f706445af74f: Waiting [2021-05-13T11:10:32.308Z] 0510c868ecb4: Waiting [2021-05-13T11:10:32.308Z] 4c4ab2625f07: Verifying Checksum [2021-05-13T11:10:32.308Z] 4c4ab2625f07: Download complete [2021-05-13T11:10:32.308Z] adcc1eea9eea: Download complete [2021-05-13T11:10:32.308Z] afea3b2eda06: Verifying Checksum [2021-05-13T11:10:32.308Z] afea3b2eda06: Download complete [2021-05-13T11:10:32.308Z] 7809a108b3ef: Download complete [2021-05-13T11:10:32.308Z] 540db60ca938: Verifying Checksum [2021-05-13T11:10:32.308Z] 540db60ca938: Download complete [2021-05-13T11:10:32.575Z] 540db60ca938: Pull complete [2021-05-13T11:10:32.838Z] adcc1eea9eea: Pull complete [2021-05-13T11:10:32.838Z] 4c4ab2625f07: Pull complete [2021-05-13T11:10:33.275Z] 4ebd0625c992: Verifying Checksum [2021-05-13T11:10:33.275Z] 4ebd0625c992: Download complete [2021-05-13T11:10:34.237Z] f706445af74f: Verifying Checksum [2021-05-13T11:10:34.237Z] f706445af74f: Download complete [2021-05-13T11:10:35.194Z] 0510c868ecb4: Verifying Checksum [2021-05-13T11:10:35.194Z] 0510c868ecb4: Download complete [2021-05-13T11:10:40.691Z] 0510c868ecb4: Pull complete [2021-05-13T11:10:40.691Z] afea3b2eda06: Pull complete [2021-05-13T11:10:40.691Z] 7809a108b3ef: Pull complete [2021-05-13T11:10:43.453Z] 4ebd0625c992: Pull complete [2021-05-13T11:10:43.453Z] 207e8628e3a3: Pull complete [2021-05-13T11:10:43.453Z] c791037a9be2: Pull complete [2021-05-13T11:10:47.768Z] ffd874e62e21: Pull complete [2021-05-13T11:10:47.768Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-13T11:10:47.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-13T11:10:47.768Z] ---> cfc18b08335c [2021-05-13T11:10:47.768Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-13T11:10:48.919Z] f706445af74f: Pull complete [2021-05-13T11:10:48.920Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-13T11:10:48.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-13T11:10:48.920Z] ---> b068be0155e3 [2021-05-13T11:10:48.920Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-13T11:10:48.920Z] ---> Running in 0b6d80844bcc [2021-05-13T11:10:48.920Z] Removing intermediate container 0b6d80844bcc [2021-05-13T11:10:48.920Z] ---> 1d79890586d4 [2021-05-13T11:10:48.920Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-13T11:10:48.920Z] ---> Running in e3b5eeed0036 [2021-05-13T11:10:48.920Z] Removing intermediate container e3b5eeed0036 [2021-05-13T11:10:48.920Z] ---> 213bad6a6faf [2021-05-13T11:10:48.920Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-13T11:10:48.920Z] ---> Running in eda4719ec981 [2021-05-13T11:10:48.920Z] Removing intermediate container eda4719ec981 [2021-05-13T11:10:48.920Z] ---> b1ddd49394a3 [2021-05-13T11:10:48.920Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T11:10:48.920Z] ---> Running in 68d7982b3b4a [2021-05-13T11:10:49.752Z] ---> Running in d0f18a017280 [2021-05-13T11:10:49.872Z] Removing intermediate container 68d7982b3b4a [2021-05-13T11:10:49.872Z] ---> 4930ccfc5cea [2021-05-13T11:10:49.872Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-13T11:10:49.872Z] ---> Running in 013d6bbdffc2 [2021-05-13T11:10:50.138Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-13T11:10:50.348Z] Removing intermediate container d0f18a017280 [2021-05-13T11:10:50.348Z] ---> cb96a5b33ae4 [2021-05-13T11:10:50.348Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-13T11:10:50.348Z] ---> Running in 26fa32b0327c [2021-05-13T11:10:50.952Z] Removing intermediate container 26fa32b0327c [2021-05-13T11:10:50.952Z] ---> c3a6a9d2eaf4 [2021-05-13T11:10:50.952Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-13T11:10:50.952Z] ---> Running in 8342163ef7b0 [2021-05-13T11:10:51.088Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-13T11:10:51.554Z] Removing intermediate container 8342163ef7b0 [2021-05-13T11:10:51.554Z] ---> 1f13061504df [2021-05-13T11:10:51.554Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T11:10:51.554Z] ---> Running in 8488a0d4b294 [2021-05-13T11:10:51.663Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-13T11:10:51.927Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-13T11:10:51.927Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-13T11:10:51.927Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-13T11:10:52.190Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-13T11:10:52.190Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-13T11:10:52.190Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-13T11:10:52.455Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-13T11:10:52.720Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-13T11:10:52.987Z] Executing busybox-1.32.1-r6.trigger [2021-05-13T11:10:52.987Z] OK: 154 MiB in 49 packages [2021-05-13T11:10:53.937Z] Removing intermediate container 013d6bbdffc2 [2021-05-13T11:10:53.937Z] ---> 75907f43d77c [2021-05-13T11:10:53.937Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-13T11:10:53.937Z] ---> Running in 1dcacbcdff4f [2021-05-13T11:10:53.937Z] Removing intermediate container 1dcacbcdff4f [2021-05-13T11:10:53.937Z] ---> 9c5baeecfc94 [2021-05-13T11:10:53.937Z] Step 9/10 : COPY . . [2021-05-13T11:10:54.180Z] Removing intermediate container 8488a0d4b294 [2021-05-13T11:10:54.180Z] ---> 1e1ec89abb1b [2021-05-13T11:10:54.180Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-13T11:10:54.180Z] ---> Running in ab3ac0e8d435 [2021-05-13T11:10:54.203Z] ---> 165167d2166a [2021-05-13T11:10:54.203Z] Step 10/10 : RUN go mod download [2021-05-13T11:10:54.476Z] ---> Running in 7e47eb76c5d8 [2021-05-13T11:10:54.774Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-13T11:10:55.750Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-13T11:10:57.171Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-13T11:10:57.171Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-13T11:10:57.171Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-13T11:10:57.445Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-13T11:10:57.445Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-13T11:10:57.445Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-13T11:10:57.722Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-13T11:10:57.993Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-13T11:10:57.993Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-13T11:10:58.269Z] Executing busybox-1.32.1-r6.trigger [2021-05-13T11:10:58.269Z] OK: 144 MiB in 49 packages [2021-05-13T11:10:59.708Z] Removing intermediate container ab3ac0e8d435 [2021-05-13T11:10:59.708Z] ---> 4d384e25f057 [2021-05-13T11:10:59.708Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-13T11:10:59.982Z] ---> Running in 4f6b17f3e091 [2021-05-13T11:11:00.256Z] Removing intermediate container 4f6b17f3e091 [2021-05-13T11:11:00.256Z] ---> 9f0143ddc0f4 [2021-05-13T11:11:00.256Z] Step 9/10 : COPY . . [2021-05-13T11:11:01.234Z] ---> 864be37ab9b6 [2021-05-13T11:11:01.234Z] Step 10/10 : RUN go mod download [2021-05-13T11:11:01.234Z] ---> Running in 55de3b01ca4b [2021-05-13T11:11:16.590Z] Removing intermediate container 7e47eb76c5d8 [2021-05-13T11:11:16.590Z] ---> 9512ed442d69 [2021-05-13T11:11:16.590Z] Successfully built 9512ed442d69 [2021-05-13T11:11:16.590Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-13T11:11:16.913Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-13T11:11:16.913Z] . [Pipeline] withDockerContainer [2021-05-13T11:11:17.045Z] prd-centos7-docker-4c-2g-5145 does not seem to be running inside a container [2021-05-13T11:11:17.098Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-13T11:11:18.312Z] $ docker top 752560bff6e3c1a18c698014da6625ff0c6b652e428374c618962fb5d8fd98a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-13T11:11:18.744Z] + go version [2021-05-13T11:11:18.744Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-13T11:11:18.761Z] $ docker stop --time=1 752560bff6e3c1a18c698014da6625ff0c6b652e428374c618962fb5d8fd98a9 [2021-05-13T11:11:20.136Z] $ docker rm -f 752560bff6e3c1a18c698014da6625ff0c6b652e428374c618962fb5d8fd98a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-13T11:11:20.652Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-13T11:11:20.652Z] . [Pipeline] withDockerContainer [2021-05-13T11:11:20.756Z] prd-centos7-docker-4c-2g-5145 does not seem to be running inside a container [2021-05-13T11:11:20.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-13T11:11:21.500Z] $ docker top 9e45e48af562c706155008ebe111828a5244a9f5921f66221d248a12836c6100 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-13T11:11:21.938Z] + go mod tidy [Pipeline] sh [2021-05-13T11:11:22.829Z] + make test [2021-05-13T11:11:22.829Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-13T11:11:23.796Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-13T11:11:28.051Z] Removing intermediate container 55de3b01ca4b [2021-05-13T11:11:28.051Z] ---> 91fdc6d35daf [2021-05-13T11:11:28.051Z] Successfully built 91fdc6d35daf [2021-05-13T11:11:28.051Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-13T11:11:28.407Z] + docker inspect -f . ci-base-image-arm64 [2021-05-13T11:11:28.407Z] . [Pipeline] withDockerContainer [2021-05-13T11:11:28.677Z] prd-ubuntu18.04-docker-arm64-4c-16g-5144 does not seem to be running inside a container [2021-05-13T11:11:28.771Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-13T11:11:30.459Z] $ docker top 515d09c0c6b7d7aee0a5075d871161fcb8f675d347de60828568899a6b438b9e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-13T11:11:31.422Z] + go version [2021-05-13T11:11:31.422Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-13T11:11:31.452Z] $ docker stop --time=1 515d09c0c6b7d7aee0a5075d871161fcb8f675d347de60828568899a6b438b9e [2021-05-13T11:11:33.470Z] $ docker rm -f 515d09c0c6b7d7aee0a5075d871161fcb8f675d347de60828568899a6b438b9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-13T11:11:34.194Z] + docker inspect -f . ci-base-image-arm64 [2021-05-13T11:11:34.195Z] . [Pipeline] withDockerContainer [2021-05-13T11:11:34.454Z] prd-ubuntu18.04-docker-arm64-4c-16g-5144 does not seem to be running inside a container [2021-05-13T11:11:34.539Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-13T11:11:36.075Z] $ docker top efe49af71e83a818741c4c71d8e94c2640ca0a46192eab69853d925fcf18cc22 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-13T11:11:36.999Z] + go mod tidy [Pipeline] sh [2021-05-13T11:11:38.283Z] + make test [2021-05-13T11:11:38.283Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-13T11:11:39.727Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-13T11:11:42.107Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-13T11:11:42.682Z] ok github.com/edgexfoundry/device-rest-go/driver 0.021s coverage: 54.0% of statements [2021-05-13T11:11:42.951Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-13T11:11:51.539Z] gofmt -l . [2021-05-13T11:11:51.539Z] [ "`gofmt -l .`" = "" ] [2021-05-13T11:11:51.539Z] ./bin/test-go-mod-tidy.sh [2021-05-13T11:11:51.539Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-13T11:11:52.511Z] $ docker stop --time=1 9e45e48af562c706155008ebe111828a5244a9f5921f66221d248a12836c6100 [2021-05-13T11:11:54.235Z] $ docker rm -f 9e45e48af562c706155008ebe111828a5244a9f5921f66221d248a12836c6100 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-13T11:11:54.766Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-13T11:11:55.107Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-13T11:11:57.646Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-13T11:11:57.953Z] + ls -al . [2021-05-13T11:11:57.953Z] total 104 [2021-05-13T11:11:57.953Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 13 11:11 . [2021-05-13T11:11:57.953Z] drwxrwxr-x. 4 jenkins jenkins 28 May 13 11:10 .. [2021-05-13T11:11:57.953Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 13 11:10 Attribution.txt [2021-05-13T11:11:57.953Z] drwxrwxr-x. 2 jenkins jenkins 64 May 13 11:10 bin [2021-05-13T11:11:57.953Z] drwxrwxr-x. 3 jenkins jenkins 32 May 13 11:10 cmd [2021-05-13T11:11:57.953Z] -rw-r--r--. 1 jenkins jenkins 8513 May 13 11:11 coverage.out [2021-05-13T11:11:57.953Z] -rw-rw-r--. 1 jenkins jenkins 1602 May 13 11:10 Dockerfile [2021-05-13T11:11:57.953Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 13 11:10 Dockerfile.build [2021-05-13T11:11:57.953Z] -rw-rw-r--. 1 jenkins jenkins 151 May 13 11:10 .dockerignore [2021-05-13T11:11:57.953Z] drwxrwxr-x. 2 jenkins jenkins 76 May 13 11:10 driver [2021-05-13T11:11:57.953Z] drwxrwxr-x. 8 jenkins jenkins 179 May 13 11:10 .git [2021-05-13T11:11:57.953Z] drwxrwxr-x. 2 jenkins jenkins 103 May 13 11:10 .github [2021-05-13T11:11:57.953Z] -rw-rw-r--. 1 jenkins jenkins 339 May 13 11:10 .gitignore [2021-05-13T11:11:57.953Z] -rw-r--r--. 1 jenkins jenkins 285 May 13 11:11 go.mod [2021-05-13T11:11:57.953Z] -rw-r--r--. 1 jenkins jenkins 21129 May 13 11:11 go.sum [2021-05-13T11:11:57.953Z] -rw-rw-r--. 1 jenkins jenkins 680 May 13 11:10 Jenkinsfile [2021-05-13T11:11:57.953Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 13 11:10 LICENSE [2021-05-13T11:11:57.953Z] -rw-rw-r--. 1 jenkins jenkins 976 May 13 11:10 Makefile [2021-05-13T11:11:57.953Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 13 11:10 README.md [2021-05-13T11:11:57.953Z] drwxrwxr-x. 4 jenkins jenkins 71 May 13 11:10 snap [2021-05-13T11:11:57.953Z] -rw-rw-r--. 1 jenkins jenkins 5 May 13 11:08 VERSION [2021-05-13T11:11:57.953Z] -rw-rw-r--. 1 jenkins jenkins 713 May 13 11:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-13T11:11:58.272Z] + 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=6469de8a50d7d8225b9b39b8f6371d04de064bb5 --label arch=amd64 --label version=0.0.0 . [2021-05-13T11:11:58.272Z] Sending build context to Docker daemon 101.9kB [2021-05-13T11:11:58.536Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-13T11:11:58.536Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-13T11:11:58.536Z] ---> 9512ed442d69 [2021-05-13T11:11:58.536Z] Step 3/24 : ARG MAKE='make build' [2021-05-13T11:11:58.536Z] ---> Running in cf51cf973162 [2021-05-13T11:11:58.799Z] Removing intermediate container cf51cf973162 [2021-05-13T11:11:58.799Z] ---> 274c1ac02ba5 [2021-05-13T11:11:58.799Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-13T11:11:58.799Z] ---> Running in d011ea1791b1 [2021-05-13T11:11:58.799Z] Removing intermediate container d011ea1791b1 [2021-05-13T11:11:58.799Z] ---> 4cc86519c263 [2021-05-13T11:11:58.799Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-13T11:11:59.064Z] ---> Running in 1dc82e724a51 [2021-05-13T11:11:59.064Z] Removing intermediate container 1dc82e724a51 [2021-05-13T11:11:59.064Z] ---> adc07a495acc [2021-05-13T11:11:59.064Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T11:11:59.337Z] ---> Running in a531657e3c3c [2021-05-13T11:12:00.291Z] Removing intermediate container a531657e3c3c [2021-05-13T11:12:00.291Z] ---> 8f9e56cac5a8 [2021-05-13T11:12:00.291Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-13T11:12:00.291Z] ---> Running in 87cde8bc232b [2021-05-13T11:12:00.878Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-13T11:12:01.454Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-13T11:12:02.038Z] OK: 154 MiB in 49 packages [2021-05-13T11:12:02.614Z] Removing intermediate container 87cde8bc232b [2021-05-13T11:12:02.614Z] ---> 02d2de4302bb [2021-05-13T11:12:02.614Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-13T11:12:02.614Z] ---> Running in 8fa9103f1ff6 [2021-05-13T11:12:02.877Z] Removing intermediate container 8fa9103f1ff6 [2021-05-13T11:12:02.877Z] ---> 53584fc508a5 [2021-05-13T11:12:02.877Z] Step 9/24 : COPY . . [2021-05-13T11:12:03.142Z] ---> 9a0be141a92e [2021-05-13T11:12:03.142Z] Step 10/24 : RUN make update [2021-05-13T11:12:03.142Z] ---> Running in 5ac32ef911fd [2021-05-13T11:12:03.725Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-13T11:12:04.314Z] Removing intermediate container 5ac32ef911fd [2021-05-13T11:12:04.314Z] ---> 06246dbf7697 [2021-05-13T11:12:04.314Z] Step 11/24 : RUN $MAKE [2021-05-13T11:12:04.314Z] ---> Running in a3f1fbfd7cae [2021-05-13T11:12:04.910Z] 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-13T11:12:19.980Z] Removing intermediate container a3f1fbfd7cae [2021-05-13T11:12:19.980Z] ---> bd39ef09f308 [2021-05-13T11:12:19.980Z] Step 12/24 : FROM alpine:3.12 [2021-05-13T11:12:19.980Z] 3.12: Pulling from library/alpine [2021-05-13T11:12:19.980Z] 339de151aab4: Pulling fs layer [2021-05-13T11:12:19.980Z] 339de151aab4: Download complete [2021-05-13T11:12:19.980Z] 339de151aab4: Pull complete [2021-05-13T11:12:19.980Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-13T11:12:19.980Z] Status: Downloaded newer image for alpine:3.12 [2021-05-13T11:12:19.980Z] ---> 13621d1b12d4 [2021-05-13T11:12:19.980Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-13T11:12:19.980Z] ---> Running in b9d61a109852 [2021-05-13T11:12:19.980Z] Removing intermediate container b9d61a109852 [2021-05-13T11:12:19.980Z] ---> 6423d98f1cbf [2021-05-13T11:12:19.980Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-13T11:12:19.980Z] ---> Running in 1d0b3f0dc370 [2021-05-13T11:12:19.980Z] Removing intermediate container 1d0b3f0dc370 [2021-05-13T11:12:19.980Z] ---> 458a6ed67937 [2021-05-13T11:12:19.980Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-13T11:12:19.980Z] ---> Running in 2c58df280b20 [2021-05-13T11:12:20.249Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-13T11:12:20.516Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-13T11:12:20.516Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-13T11:12:20.516Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-13T11:12:20.516Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-13T11:12:20.516Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-13T11:12:20.516Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-13T11:12:20.516Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-13T11:12:20.516Z] Executing busybox-1.31.1-r20.trigger [2021-05-13T11:12:20.780Z] OK: 8 MiB in 20 packages [2021-05-13T11:12:21.356Z] Removing intermediate container 2c58df280b20 [2021-05-13T11:12:21.356Z] ---> 6bfe9dab6d3d [2021-05-13T11:12:21.356Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-13T11:12:21.931Z] ---> 784177a67ebf [2021-05-13T11:12:21.931Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-13T11:12:22.194Z] ---> 45236862e1dd [2021-05-13T11:12:22.194Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-13T11:12:22.456Z] ---> 9e209b7f7611 [2021-05-13T11:12:22.456Z] Step 19/24 : EXPOSE 49986 [2021-05-13T11:12:22.456Z] ---> Running in 6fc3d0414d9b [2021-05-13T11:12:22.719Z] Removing intermediate container 6fc3d0414d9b [2021-05-13T11:12:22.719Z] ---> 9fc80d7db26c [2021-05-13T11:12:22.719Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-13T11:12:22.719Z] ---> Running in efc69959d833 [2021-05-13T11:12:22.719Z] Removing intermediate container efc69959d833 [2021-05-13T11:12:22.719Z] ---> 5ef48732e16e [2021-05-13T11:12:22.719Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-13T11:12:22.984Z] ---> Running in 913a9e93cc7c [2021-05-13T11:12:22.984Z] Removing intermediate container 913a9e93cc7c [2021-05-13T11:12:22.984Z] ---> 23355fc68810 [2021-05-13T11:12:22.984Z] Step 22/24 : LABEL arch=amd64 [2021-05-13T11:12:23.249Z] ---> Running in 05e0e2a13ad7 [2021-05-13T11:12:23.249Z] Removing intermediate container 05e0e2a13ad7 [2021-05-13T11:12:23.249Z] ---> 6ca94a6bff83 [2021-05-13T11:12:23.249Z] Step 23/24 : LABEL git_sha=6469de8a50d7d8225b9b39b8f6371d04de064bb5 [2021-05-13T11:12:23.249Z] ---> Running in d1cdfb1ddc98 [2021-05-13T11:12:23.514Z] Removing intermediate container d1cdfb1ddc98 [2021-05-13T11:12:23.514Z] ---> 549d91125a62 [2021-05-13T11:12:23.514Z] Step 24/24 : LABEL version=0.0.0 [2021-05-13T11:12:23.514Z] ---> Running in a6453cfcb9f8 [2021-05-13T11:12:23.777Z] Removing intermediate container a6453cfcb9f8 [2021-05-13T11:12:23.777Z] ---> 1c66d3c581f2 [2021-05-13T11:12:23.777Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-13T11:12:23.777Z] Successfully built 1c66d3c581f2 [2021-05-13T11:12:23.777Z] 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-13T11:12:24.483Z] ---> job-cost.sh [2021-05-13T11:12:24.484Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TBvp [2021-05-13T11:12:36.328Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-13T11:12:36.329Z] ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 54.0% of statements [2021-05-13T11:12:36.329Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-13T11:12:39.423Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-13T11:12:58.494Z] gofmt -l . [2021-05-13T11:12:58.495Z] [ "`gofmt -l .`" = "" ] [2021-05-13T11:12:58.495Z] ./bin/test-go-mod-tidy.sh [2021-05-13T11:12:58.495Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-13T11:13:00.504Z] $ docker stop --time=1 efe49af71e83a818741c4c71d8e94c2640ca0a46192eab69853d925fcf18cc22 [2021-05-13T11:13:02.692Z] $ docker rm -f efe49af71e83a818741c4c71d8e94c2640ca0a46192eab69853d925fcf18cc22 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-13T11:13:03.577Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-13T11:13:03.613Z] Warning: overwriting stash ‘coverage-report’ [2021-05-13T11:13:04.473Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-13T11:13:04.966Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-13T11:13:05.340Z] + ls -al . [2021-05-13T11:13:05.340Z] total 132 [2021-05-13T11:13:05.340Z] drwxrwxr-x 8 jenkins jenkins 4096 May 13 11:13 . [2021-05-13T11:13:05.340Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 11:10 .. [2021-05-13T11:13:05.340Z] -rw-rw-r-- 1 jenkins jenkins 151 May 13 11:10 .dockerignore [2021-05-13T11:13:05.340Z] drwxrwxr-x 8 jenkins jenkins 4096 May 13 11:10 .git [2021-05-13T11:13:05.340Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 11:10 .github [2021-05-13T11:13:05.340Z] -rw-rw-r-- 1 jenkins jenkins 339 May 13 11:10 .gitignore [2021-05-13T11:13:05.340Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 13 11:10 Attribution.txt [2021-05-13T11:13:05.340Z] -rw-rw-r-- 1 jenkins jenkins 1602 May 13 11:10 Dockerfile [2021-05-13T11:13:05.340Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 13 11:10 Dockerfile.build [2021-05-13T11:13:05.340Z] -rw-rw-r-- 1 jenkins jenkins 680 May 13 11:10 Jenkinsfile [2021-05-13T11:13:05.340Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 13 11:10 LICENSE [2021-05-13T11:13:05.340Z] -rw-rw-r-- 1 jenkins jenkins 976 May 13 11:10 Makefile [2021-05-13T11:13:05.340Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 13 11:10 README.md [2021-05-13T11:13:05.340Z] -rw-rw-r-- 1 jenkins jenkins 5 May 13 11:08 VERSION [2021-05-13T11:13:05.340Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 11:10 bin [2021-05-13T11:13:05.340Z] drwxrwxr-x 3 jenkins jenkins 4096 May 13 11:10 cmd [2021-05-13T11:13:05.340Z] -rw-r--r-- 1 jenkins jenkins 8513 May 13 11:12 coverage.out [2021-05-13T11:13:05.340Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 11:10 driver [2021-05-13T11:13:05.340Z] -rw-r--r-- 1 jenkins jenkins 285 May 13 11:12 go.mod [2021-05-13T11:13:05.340Z] -rw-r--r-- 1 jenkins jenkins 21129 May 13 11:11 go.sum [2021-05-13T11:13:05.340Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 11:10 snap [2021-05-13T11:13:05.340Z] -rw-rw-r-- 1 jenkins jenkins 713 May 13 11:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-13T11:13:05.762Z] + 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=6469de8a50d7d8225b9b39b8f6371d04de064bb5 --label arch=arm64 --label version=0.0.0 . [2021-05-13T11:13:05.762Z] Sending build context to Docker daemon 101.9kB [2021-05-13T11:13:06.047Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-13T11:13:06.047Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-13T11:13:06.047Z] ---> 91fdc6d35daf [2021-05-13T11:13:06.047Z] Step 3/24 : ARG MAKE='make build' [2021-05-13T11:13:06.066Z] lf-activate-venv(): INFO: Adding /tmp/venv-TBvp/bin to PATH [2021-05-13T11:13:06.066Z] INFO: No Stack... [2021-05-13T11:13:06.332Z] ---> Running in 1175d4aded16 [2021-05-13T11:13:06.643Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-13T11:13:06.936Z] Removing intermediate container 1175d4aded16 [2021-05-13T11:13:06.936Z] ---> 4bbbcd346830 [2021-05-13T11:13:06.936Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-13T11:13:06.936Z] ---> Running in 7958daf60855 [2021-05-13T11:13:07.220Z] INFO: Archiving Costs [Pipeline] sh [2021-05-13T11:13:07.529Z] Removing intermediate container 7958daf60855 [2021-05-13T11:13:07.529Z] ---> c358793d0f0d [2021-05-13T11:13:07.529Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-13T11:13:07.531Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-05-13T11:13:07.531Z] + cut -d, -f6 [Pipeline] lock [2021-05-13T11:13:07.621Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-92-2-stack-cost] [2021-05-13T11:13:07.630Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-92-2-stack-cost] did not exist. Created. [2021-05-13T11:13:07.630Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-92-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-13T11:13:07.802Z] ---> Running in 61d8c85906e6 [2021-05-13T11:13:07.966Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-13T11:13:08.074Z] Removing intermediate container 61d8c85906e6 [2021-05-13T11:13:08.074Z] ---> bd0f86f6b76d [2021-05-13T11:13:08.074Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T11:13:08.108Z] Stashed 1 file(s) [Pipeline] } [2021-05-13T11:13:08.123Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-92-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-13T11:13:08.347Z] ---> Running in f11f03562195 [2021-05-13T11:13:10.318Z] Removing intermediate container f11f03562195 [2021-05-13T11:13:10.318Z] ---> a4b36070bab2 [2021-05-13T11:13:10.318Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-13T11:13:10.605Z] ---> Running in 18a077117d3e [2021-05-13T11:13:11.585Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-13T11:13:12.554Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-13T11:13:13.529Z] OK: 144 MiB in 49 packages [2021-05-13T11:13:14.511Z] Removing intermediate container 18a077117d3e [2021-05-13T11:13:14.511Z] ---> cb5f4251c181 [2021-05-13T11:13:14.511Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-13T11:13:14.785Z] ---> Running in c23080a2d361 [2021-05-13T11:13:15.057Z] Removing intermediate container c23080a2d361 [2021-05-13T11:13:15.057Z] ---> e6b9913f52a9 [2021-05-13T11:13:15.057Z] Step 9/24 : COPY . . [2021-05-13T11:13:16.036Z] ---> c8be9f4bb640 [2021-05-13T11:13:16.036Z] Step 10/24 : RUN make update [2021-05-13T11:13:16.036Z] ---> Running in 2e649348d299 [2021-05-13T11:13:17.497Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-13T11:13:18.477Z] Removing intermediate container 2e649348d299 [2021-05-13T11:13:18.477Z] ---> 143644ebe098 [2021-05-13T11:13:18.477Z] Step 11/24 : RUN $MAKE [2021-05-13T11:13:18.477Z] ---> Running in 6423b265afbb [2021-05-13T11:13:19.912Z] 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-13T11:13:58.932Z] Removing intermediate container 6423b265afbb [2021-05-13T11:13:58.932Z] ---> 968dd8329221 [2021-05-13T11:13:58.932Z] Step 12/24 : FROM alpine:3.12 [2021-05-13T11:13:58.932Z] 3.12: Pulling from library/alpine [2021-05-13T11:13:58.932Z] d2f70382dc9a: Pulling fs layer [2021-05-13T11:13:58.932Z] d2f70382dc9a: Download complete [2021-05-13T11:13:58.932Z] d2f70382dc9a: Pull complete [2021-05-13T11:13:58.932Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-13T11:13:58.932Z] Status: Downloaded newer image for alpine:3.12 [2021-05-13T11:13:58.932Z] ---> 9852663dfa18 [2021-05-13T11:13:58.932Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-13T11:13:58.932Z] ---> Running in 53b7615c8493 [2021-05-13T11:13:58.932Z] Removing intermediate container 53b7615c8493 [2021-05-13T11:13:58.932Z] ---> 13472d9300db [2021-05-13T11:13:58.932Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-13T11:13:58.932Z] ---> Running in 5027aebe74e9 [2021-05-13T11:13:58.932Z] Removing intermediate container 5027aebe74e9 [2021-05-13T11:13:58.932Z] ---> 4e575661fa20 [2021-05-13T11:13:58.932Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-13T11:13:58.932Z] ---> Running in 65693a547b94 [2021-05-13T11:13:59.204Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-13T11:13:59.474Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-13T11:13:59.744Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-13T11:13:59.744Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-13T11:13:59.744Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-13T11:13:59.744Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-13T11:14:00.016Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-13T11:14:00.016Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-13T11:14:00.016Z] Executing busybox-1.31.1-r20.trigger [2021-05-13T11:14:00.016Z] OK: 8 MiB in 20 packages [2021-05-13T11:14:00.993Z] Removing intermediate container 65693a547b94 [2021-05-13T11:14:00.993Z] ---> 5925b6a72ad7 [2021-05-13T11:14:00.993Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-13T11:14:02.428Z] ---> ddb27f423b8f [2021-05-13T11:14:02.428Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-13T11:14:03.021Z] ---> 08e20558a50b [2021-05-13T11:14:03.021Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-13T11:14:03.614Z] ---> cd87aa3d9588 [2021-05-13T11:14:03.615Z] Step 19/24 : EXPOSE 49986 [2021-05-13T11:14:03.887Z] ---> Running in 164b7c31f630 [2021-05-13T11:14:04.158Z] Removing intermediate container 164b7c31f630 [2021-05-13T11:14:04.158Z] ---> f2a6d31c6288 [2021-05-13T11:14:04.158Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-13T11:14:04.430Z] ---> Running in d999c1dad59b [2021-05-13T11:14:04.702Z] Removing intermediate container d999c1dad59b [2021-05-13T11:14:04.702Z] ---> db2375db3335 [2021-05-13T11:14:04.702Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-13T11:14:04.981Z] ---> Running in 7ea553481254 [2021-05-13T11:14:05.251Z] Removing intermediate container 7ea553481254 [2021-05-13T11:14:05.251Z] ---> 856de54225f5 [2021-05-13T11:14:05.251Z] Step 22/24 : LABEL arch=arm64 [2021-05-13T11:14:05.522Z] ---> Running in 7700f86e6f94 [2021-05-13T11:14:06.116Z] Removing intermediate container 7700f86e6f94 [2021-05-13T11:14:06.116Z] ---> 5e2e76333073 [2021-05-13T11:14:06.116Z] Step 23/24 : LABEL git_sha=6469de8a50d7d8225b9b39b8f6371d04de064bb5 [2021-05-13T11:14:06.116Z] ---> Running in 967873da4517 [2021-05-13T11:14:06.707Z] Removing intermediate container 967873da4517 [2021-05-13T11:14:06.707Z] ---> 09e5b28ec487 [2021-05-13T11:14:06.707Z] Step 24/24 : LABEL version=0.0.0 [2021-05-13T11:14:06.707Z] ---> Running in 6967c0cf2b97 [2021-05-13T11:14:07.299Z] Removing intermediate container 6967c0cf2b97 [2021-05-13T11:14:07.299Z] ---> 948887cce8da [2021-05-13T11:14:07.299Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-13T11:14:07.299Z] Successfully built 948887cce8da [2021-05-13T11:14:07.299Z] 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-13T11:14:07.760Z] ---> job-cost.sh [2021-05-13T11:14:07.760Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oYoA [2021-05-13T11:14:46.740Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-13T11:16:08.505Z] lf-activate-venv(): INFO: Adding /tmp/venv-oYoA/bin to PATH [2021-05-13T11:16:08.505Z] INFO: No Stack... [2021-05-13T11:16:08.505Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-13T11:16:08.505Z] INFO: Archiving Costs [Pipeline] sh [2021-05-13T11:16:08.844Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-05-13T11:16:08.844Z] + cut -d, -f6 [Pipeline] lock [2021-05-13T11:16:08.956Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-92-2-stack-cost] [2021-05-13T11:16:08.968Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-92-2-stack-cost] did not exist. Created. [2021-05-13T11:16:08.968Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-92-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-13T11:16:09.341Z] /w/workspace/device-rest-go/2@tmp/durable-53385bf0/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-53385bf0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-13T11:16:09.680Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-13T11:16:09.711Z] Warning: overwriting stash ‘stack-cost’ [2021-05-13T11:16:09.852Z] Stashed 1 file(s) [Pipeline] } [2021-05-13T11:16:09.865Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-92-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-13T11:16:10.429Z] provisioning config files... [2021-05-13T11:16:10.439Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-92@tmp/config7152175818503148594tmp [Pipeline] { [Pipeline] sh [2021-05-13T11:16:10.769Z] + set +x [2021-05-13T11:16:10.769Z] + bash -s -- [2021-05-13T11:16:10.769Z] + curl -s https://codecov.io/bash [2021-05-13T11:16:11.031Z] [2021-05-13T11:16:11.031Z] _____ _ [2021-05-13T11:16:11.031Z] / ____| | | [2021-05-13T11:16:11.031Z] | | ___ __| | ___ ___ _____ __ [2021-05-13T11:16:11.031Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-13T11:16:11.031Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-13T11:16:11.031Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-13T11:16:11.031Z] Bash-1.0.2 [2021-05-13T11:16:11.031Z] [2021-05-13T11:16:11.031Z] [2021-05-13T11:16:11.031Z] ==> git version 2.24.3 found [2021-05-13T11:16:11.031Z] ==> 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-13T11:16:11.031Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-13T11:16:11.031Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-13T11:16:11.031Z] ==> Jenkins CI detected. [2021-05-13T11:16:11.031Z] project root: . [2021-05-13T11:16:11.031Z] --> token set from env [2021-05-13T11:16:11.031Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-13T11:16:11.031Z] ==> Running gcov in . (disable via -X gcov) [2021-05-13T11:16:11.031Z] ==> Python coveragepy not found [2021-05-13T11:16:11.031Z] ==> Searching for coverage reports in: [2021-05-13T11:16:11.031Z] + . [2021-05-13T11:16:11.031Z] -> Found 1 reports [2021-05-13T11:16:11.031Z] ==> Detecting git/mercurial file structure [2021-05-13T11:16:11.031Z] ==> Reading reports [2021-05-13T11:16:11.031Z] + ./coverage.out bytes=8513 [2021-05-13T11:16:11.031Z] ==> Appending adjustments [2021-05-13T11:16:11.031Z] https://docs.codecov.io/docs/fixing-reports [2021-05-13T11:16:11.300Z] + Found adjustments [2021-05-13T11:16:11.300Z] ==> Gzipping contents [2021-05-13T11:16:11.300Z] 4.0K /tmp/codecov.SpFisA.gz [2021-05-13T11:16:11.300Z] ==> Uploading reports [2021-05-13T11:16:11.300Z] url: https://codecov.io [2021-05-13T11:16:11.300Z] query: branch=PR-92&commit=6469de8a50d7d8225b9b39b8f6371d04de064bb5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-92%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=92&job=&cmd_args= [2021-05-13T11:16:11.300Z] -> Pinging Codecov [2021-05-13T11:16:11.300Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-92&commit=6469de8a50d7d8225b9b39b8f6371d04de064bb5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-92%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=92&job=&cmd_args= [2021-05-13T11:16:11.561Z] -> Uploading to [2021-05-13T11:16:11.561Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-13/4E5D53B4F1F92C436F7061BF334D961C/6469de8a50d7d8225b9b39b8f6371d04de064bb5/f920f857-b7f9-4c6f-bae1-c30074a7a1db.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210513%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210513T111611Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9c1368cf020709717917496712d7946925fabc4155c69a94607e2f5ed8bbdc47 [2021-05-13T11:16:11.561Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-13T11:16:11.561Z] Dload Upload Total Spent Left Speed [2021-05-13T11:16:12.139Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 4210 --:--:-- --:--:-- --:--:-- 4217 [2021-05-13T11:16:12.139Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/6469de8a50d7d8225b9b39b8f6371d04de064bb5 [Pipeline] } [2021-05-13T11:16:12.163Z] 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-13T11:16:13.275Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T11:16:13.860Z] ---> package-listing.sh [2021-05-13T11:16:13.860Z] ++ facter osfamily [2021-05-13T11:16:13.860Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-13T11:16:13.860Z] + OS_FAMILY=redhat [2021-05-13T11:16:13.860Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-92 [2021-05-13T11:16:13.860Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-13T11:16:13.860Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-13T11:16:13.860Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-13T11:16:13.860Z] + PACKAGES=/tmp/packages_start.txt [2021-05-13T11:16:13.860Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-92 ']' [2021-05-13T11:16:13.860Z] + PACKAGES=/tmp/packages_end.txt [2021-05-13T11:16:13.860Z] + case "${OS_FAMILY}" in [2021-05-13T11:16:13.860Z] + rpm -qa [2021-05-13T11:16:13.860Z] + sort [2021-05-13T11:16:19.178Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-13T11:16:19.178Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-13T11:16:19.178Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-13T11:16:19.178Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-92 ']' [2021-05-13T11:16:19.178Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-92/archives/ [2021-05-13T11:16:19.178Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-92/archives/ [Pipeline] echo [2021-05-13T11:16:19.194Z] 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-92/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-13T11:16:19.488Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-13T11:16:19.798Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-13T11:16:19.798Z] [2021-05-13T11:16:19.798Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-13T11:16:20.119Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-13T11:16:20.119Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-13T11:16:20.119Z] df20fa9351a1: Pulling fs layer [2021-05-13T11:16:20.119Z] 36b3adc4ff6f: Pulling fs layer [2021-05-13T11:16:20.119Z] 8ad3a11d3b57: Pulling fs layer [2021-05-13T11:16:20.119Z] 46f8f816bc3b: Pulling fs layer [2021-05-13T11:16:20.119Z] 93b61091891f: Pulling fs layer [2021-05-13T11:16:20.119Z] 93b9cdb0e59b: Pulling fs layer [2021-05-13T11:16:20.119Z] 5e14af77c1be: Pulling fs layer [2021-05-13T11:16:20.119Z] 01666e4c0597: Pulling fs layer [2021-05-13T11:16:20.119Z] aa168da1d23b: Pulling fs layer [2021-05-13T11:16:20.119Z] 46f8f816bc3b: Waiting [2021-05-13T11:16:20.119Z] 93b61091891f: Waiting [2021-05-13T11:16:20.119Z] 93b9cdb0e59b: Waiting [2021-05-13T11:16:20.119Z] aa168da1d23b: Waiting [2021-05-13T11:16:20.119Z] 36b3adc4ff6f: Verifying Checksum [2021-05-13T11:16:20.119Z] 36b3adc4ff6f: Download complete [2021-05-13T11:16:20.119Z] 46f8f816bc3b: Verifying Checksum [2021-05-13T11:16:20.119Z] 46f8f816bc3b: Download complete [2021-05-13T11:16:20.387Z] df20fa9351a1: Verifying Checksum [2021-05-13T11:16:20.387Z] df20fa9351a1: Download complete [2021-05-13T11:16:20.387Z] 93b9cdb0e59b: Verifying Checksum [2021-05-13T11:16:20.387Z] 93b9cdb0e59b: Download complete [2021-05-13T11:16:20.387Z] 93b61091891f: Download complete [2021-05-13T11:16:20.387Z] 5e14af77c1be: Verifying Checksum [2021-05-13T11:16:20.387Z] 5e14af77c1be: Download complete [2021-05-13T11:16:20.387Z] 01666e4c0597: Verifying Checksum [2021-05-13T11:16:20.387Z] 01666e4c0597: Download complete [2021-05-13T11:16:20.653Z] 8ad3a11d3b57: Verifying Checksum [2021-05-13T11:16:20.653Z] 8ad3a11d3b57: Download complete [2021-05-13T11:16:20.653Z] df20fa9351a1: Pull complete [2021-05-13T11:16:20.919Z] 36b3adc4ff6f: Pull complete [2021-05-13T11:16:21.879Z] 8ad3a11d3b57: Pull complete [2021-05-13T11:16:21.879Z] 46f8f816bc3b: Pull complete [2021-05-13T11:16:22.839Z] 93b61091891f: Pull complete [2021-05-13T11:16:22.839Z] 93b9cdb0e59b: Pull complete [2021-05-13T11:16:23.103Z] aa168da1d23b: Verifying Checksum [2021-05-13T11:16:23.103Z] aa168da1d23b: Download complete [2021-05-13T11:16:23.367Z] 5e14af77c1be: Pull complete [2021-05-13T11:16:23.631Z] 01666e4c0597: Pull complete [2021-05-13T11:16:30.301Z] aa168da1d23b: Pull complete [2021-05-13T11:16:30.301Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-13T11:16:30.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-13T11:16:30.301Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-13T11:16:30.529Z] prd-centos7-docker-4c-2g-5142 does not seem to be running inside a container [2021-05-13T11:16:30.579Z] $ 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-92/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-92 -v /w/workspace/dgexfoundry_device-rest-go_PR-92:/w/workspace/dgexfoundry_device-rest-go_PR-92:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-92@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-92@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-13T11:16:34.504Z] $ docker top e9d69622f4897048bd50c9f04848617e062876b88d9f011b94fd96d45b6987fe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-13T11:16:34.927Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-13T11:16:35.225Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-13T11:16:35.529Z] + ls /var/log/sa-host [2021-05-13T11:16:35.529Z] + sadf -c /var/log/sa-host/sa13 [2021-05-13T11:16:35.529Z] file_magic: OK [2021-05-13T11:16:35.529Z] HZ: Using current value: 100 [2021-05-13T11:16:35.529Z] file_header: OK [2021-05-13T11:16:35.529Z] 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-13T11:16:35.529Z] Statistics: [2021-05-13T11:16:35.529Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-13T11:16:35.529Z] File successfully converted to sysstat format version 12.2.1 [2021-05-13T11:16:35.529Z] + sadf -c /var/log/sa-host/sa23 [2021-05-13T11:16:35.529Z] file_magic: OK [2021-05-13T11:16:35.529Z] HZ: Using current value: 100 [2021-05-13T11:16:35.529Z] file_header: OK [2021-05-13T11:16:35.529Z] 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-13T11:16:35.529Z] Statistics: [2021-05-13T11:16:35.529Z] Hnuu...uuuununununu... [2021-05-13T11:16:35.529Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-13T11:16:36.203Z] provisioning config files... [2021-05-13T11:16:36.223Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-92@tmp/config3779866923983019952tmp [Pipeline] { [Pipeline] echo [2021-05-13T11:16:36.252Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T11:16:36.554Z] ---> create-netrc.sh [Pipeline] } [2021-05-13T11:16:36.564Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-13T11:16:36.590Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T11:16:36.893Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-13T11:16:36.905Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T11:16:37.204Z] ---> sudo-logs.sh [2021-05-13T11:16:37.204Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-13T11:16:37.238Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T11:16:37.538Z] ---> job-cost.sh [2021-05-13T11:16:37.538Z] lf-activate-venv: SKIPPING [2021-05-13T11:16:37.538Z] DEBUG: total: 0.20999999344348907 [2021-05-13T11:16:37.538Z] INFO: Retrieving Stack Cost... [2021-05-13T11:16:38.497Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-13T11:16:39.073Z] INFO: Archiving Costs [Pipeline] echo [2021-05-13T11:16:39.089Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T11:16:39.395Z] ---> logs-deploy.sh [2021-05-13T11:16:39.395Z] lf-activate-venv: SKIPPING [2021-05-13T11:16:39.395Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-92/2 [2021-05-13T11:16:39.395Z] INFO: archiving workspace using pattern(s): [2021-05-13T11:16:41.320Z] Archives upload complete. [2021-05-13T11:16:41.320Z] INFO: archiving logs to Nexus