Pull request #96 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from e49a06c3c66a55c70ec67bdc5be023fc399b112a+196bef76aa0a3d89dc26ac944eff062c8405d7e3 (5cbe14d27fc74dfa68adcd85907ee8cdbf3ab659) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4844 in /w/workspace/dgexfoundry_device-rest-go_PR-96 [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-96 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/96/head:refs/remotes/origin/PR-96 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 196bef76aa0a3d89dc26ac944eff062c8405d7e3 into PR head commit e49a06c3c66a55c70ec67bdc5be023fc399b112a Merge succeeded, producing e49a06c3c66a55c70ec67bdc5be023fc399b112a Checking out Revision e49a06c3c66a55c70ec67bdc5be023fc399b112a (PR-96) > git config core.sparsecheckout # timeout=10 > git checkout -f e49a06c3c66a55c70ec67bdc5be023fc399b112a # 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 e49a06c3c66a55c70ec67bdc5be023fc399b112a # timeout=10 Commit message: "refactor: Secure Messagebus Rework" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-12T20:23:09.148Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-12T20:23:09.260Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-12T20:23:09.295Z] ========================================================= [2021-05-12T20:23:09.295Z] EdgeX Global Pipelines Version Info [2021-05-12T20:23:09.295Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 14363d849f4049583840bd0deab993d7e0e00cc5 # timeout=10 [2021-05-12T20:23:12.050Z] ------------------- [2021-05-12T20:23:12.050Z] stable info: [2021-05-12T20:23:12.050Z] ------------------- [2021-05-12T20:23:12.050Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-12T20:23:12.050Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T20:23:12.050Z] Message: update stable to v1.0.192 [2021-05-12T20:23:13.092Z] ------------------- [2021-05-12T20:23:13.092Z] experimental info: [2021-05-12T20:23:13.092Z] ------------------- [2021-05-12T20:23:13.092Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-12T20:23:13.092Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T20:23:13.092Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-12T20:23:13.278Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-12T20:23:13.302Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-12T20:23:13.327Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-12T20:23:13.352Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-12T20:23:13.377Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-12T20:23:13.401Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-12T20:23:13.426Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-12T20:23:13.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-12T20:23:13.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-12T20:23:13.498Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-12T20:23:13.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-12T20:23:13.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-05-12T20:23:13.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-12T20:23:13.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-12T20:23:13.625Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T20:23:13.651Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T20:23:13.674Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T20:23:13.698Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T20:23:13.723Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-12T20:23:13.746Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-12T20:23:13.771Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-12T20:23:13.795Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-12T20:23:13.821Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-12T20:23:13.845Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-12T20:23:13.874Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-12T20:23:13.903Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-12T20:23:13.928Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-96 [Pipeline] echo [2021-05-12T20:23:13.952Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-96 [Pipeline] echo [2021-05-12T20:23:13.975Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-96 [Pipeline] echo [2021-05-12T20:23:14.004Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e49a06c3c66a55c70ec67bdc5be023fc399b112a [Pipeline] echo [2021-05-12T20:23:14.030Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e49a06c [Pipeline] echo [2021-05-12T20:23:14.053Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:23:14.126Z] provisioning config files... [2021-05-12T20:23:14.209Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-96@tmp/config7240437975603271745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:23:14.726Z] ---> docker-login.sh [2021-05-12T20:23:14.726Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:23:15.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:23:16.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:23:16.109Z] Configure a credential helper to remove this warning. See [2021-05-12T20:23:16.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:23:16.109Z] [2021-05-12T20:23:16.109Z] Login Succeeded [2021-05-12T20:23:16.109Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:23:16.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:23:17.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:23:17.062Z] Configure a credential helper to remove this warning. See [2021-05-12T20:23:17.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:23:17.062Z] [2021-05-12T20:23:17.062Z] Login Succeeded [2021-05-12T20:23:17.062Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:23:17.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:23:17.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:23:17.341Z] Configure a credential helper to remove this warning. See [2021-05-12T20:23:17.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:23:17.341Z] [2021-05-12T20:23:17.341Z] Login Succeeded [2021-05-12T20:23:17.341Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:23:17.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:23:17.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:23:17.621Z] Configure a credential helper to remove this warning. See [2021-05-12T20:23:17.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:23:17.621Z] [2021-05-12T20:23:17.621Z] Login Succeeded [2021-05-12T20:23:17.621Z] docker.io [2021-05-12T20:23:18.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:23:18.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:23:18.502Z] Configure a credential helper to remove this warning. See [2021-05-12T20:23:18.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:23:18.502Z] [2021-05-12T20:23:18.502Z] Login Succeeded [2021-05-12T20:23:18.502Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:23:18.519Z] 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-12T20:23:18.972Z] + git log --format=format:%s -1 e49a06c3c66a55c70ec67bdc5be023fc399b112a [Pipeline] echo [2021-05-12T20:23:19.144Z] GIT_COMMIT: e49a06c3c66a55c70ec67bdc5be023fc399b112a, Commit Message: refactor: Secure Messagebus Rework [Pipeline] echo [2021-05-12T20:23:19.157Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:23:19.806Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:23:19.807Z] [2021-05-12T20:23:19.807Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:23:20.189Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:23:20.189Z] latest: Pulling from edgex-devops/git-semver [2021-05-12T20:23:20.189Z] 31603596830f: Pulling fs layer [2021-05-12T20:23:20.189Z] 54011a49482f: Pulling fs layer [2021-05-12T20:23:20.189Z] a6820b24f6d8: Pulling fs layer [2021-05-12T20:23:20.189Z] f581987b2513: Pulling fs layer [2021-05-12T20:23:20.189Z] f581987b2513: Waiting [2021-05-12T20:23:20.189Z] 54011a49482f: Verifying Checksum [2021-05-12T20:23:20.189Z] 54011a49482f: Download complete [2021-05-12T20:23:20.471Z] 31603596830f: Verifying Checksum [2021-05-12T20:23:20.471Z] 31603596830f: Download complete [2021-05-12T20:23:20.797Z] f581987b2513: Verifying Checksum [2021-05-12T20:23:20.797Z] f581987b2513: Download complete [2021-05-12T20:23:20.797Z] a6820b24f6d8: Verifying Checksum [2021-05-12T20:23:20.797Z] a6820b24f6d8: Download complete [2021-05-12T20:23:21.068Z] 31603596830f: Pull complete [2021-05-12T20:23:21.068Z] 54011a49482f: Pull complete [2021-05-12T20:23:23.993Z] a6820b24f6d8: Pull complete [2021-05-12T20:23:24.272Z] f581987b2513: Pull complete [2021-05-12T20:23:24.272Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-12T20:23:24.272Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:23:24.272Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-12T20:23:24.460Z] prd-centos7-docker-4c-2g-4844 does not seem to be running inside a container [2021-05-12T20:23:24.582Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-96 -v /w/workspace/dgexfoundry_device-rest-go_PR-96:/w/workspace/dgexfoundry_device-rest-go_PR-96:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-96@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-96@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-12T20:23:27.920Z] $ docker top 4a09135c94cd826059f3c1923af94fd74f69033a307ba53c2cb782104fbf88fd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T20:23:28.251Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:23:28.251Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:23:29.482Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:23:29.497Z] $ docker exec 4a09135c94cd826059f3c1923af94fd74f69033a307ba53c2cb782104fbf88fd ssh-agent [2021-05-12T20:23:30.003Z] SSH_AUTH_SOCK=/tmp/ssh-J7SY34stsEnx/agent.11 [2021-05-12T20:23:30.003Z] SSH_AGENT_PID=16 [2021-05-12T20:23:30.020Z] Running ssh-add (command line suppressed) [2021-05-12T20:23:30.441Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-96@tmp/private_key_5960498825575734846.key (/w/workspace/dgexfoundry_device-rest-go_PR-96@tmp/private_key_5960498825575734846.key) [2021-05-12T20:23:30.580Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:23:30.897Z] + git tag --points-at HEAD [Pipeline] } [2021-05-12T20:23:30.927Z] $ docker exec --env ******** --env ******** 4a09135c94cd826059f3c1923af94fd74f69033a307ba53c2cb782104fbf88fd ssh-agent -k [2021-05-12T20:23:31.080Z] unset SSH_AUTH_SOCK; [2021-05-12T20:23:31.081Z] unset SSH_AGENT_PID; [2021-05-12T20:23:31.081Z] echo Agent pid 16 killed; [2021-05-12T20:23:31.149Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-12T20:23:31.207Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:23:31.207Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:23:31.476Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:23:31.485Z] $ docker exec 4a09135c94cd826059f3c1923af94fd74f69033a307ba53c2cb782104fbf88fd ssh-agent [2021-05-12T20:23:31.796Z] SSH_AUTH_SOCK=/tmp/ssh-YNg90DGM79fr/agent.45 [2021-05-12T20:23:31.796Z] SSH_AGENT_PID=50 [2021-05-12T20:23:31.807Z] Running ssh-add (command line suppressed) [2021-05-12T20:23:32.033Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-96@tmp/private_key_2784252380630962579.key (/w/workspace/dgexfoundry_device-rest-go_PR-96@tmp/private_key_2784252380630962579.key) [2021-05-12T20:23:32.150Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:23:32.460Z] + git semver init [2021-05-12T20:23:32.460Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T20:23:32.460Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-96/.git [2021-05-12T20:23:32.460Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-96 [2021-05-12T20:23:32.460Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T20:23:32.460Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T20:23:32.460Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T20:23:32.460Z] # $SEMVER_BRANCH = PR-96 [2021-05-12T20:23:32.460Z] # $SEMVER_TEMP = /tmp/semver-415386548 [2021-05-12T20:23:32.460Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-12T20:23:33.982Z] # '/tmp/semver-415386548' -> '/w/workspace/dgexfoundry_device-rest-go_PR-96/.semver' [2021-05-12T20:23:33.982Z] # -> Force: false [2021-05-12T20:23:33.982Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-96/.semver [Pipeline] } [2021-05-12T20:23:34.005Z] $ docker exec --env ******** --env ******** 4a09135c94cd826059f3c1923af94fd74f69033a307ba53c2cb782104fbf88fd ssh-agent -k [2021-05-12T20:23:34.173Z] unset SSH_AUTH_SOCK; [2021-05-12T20:23:34.174Z] unset SSH_AGENT_PID; [2021-05-12T20:23:34.174Z] echo Agent pid 50 killed; [2021-05-12T20:23:34.257Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T20:23:34.601Z] + git semver [Pipeline] } [2021-05-12T20:23:34.628Z] $ docker stop --time=1 4a09135c94cd826059f3c1923af94fd74f69033a307ba53c2cb782104fbf88fd [2021-05-12T20:23:36.422Z] $ docker rm -f 4a09135c94cd826059f3c1923af94fd74f69033a307ba53c2cb782104fbf88fd [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:23:36.885Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-12T20:23:37.847Z] Stashed 1 file(s) [Pipeline] echo [2021-05-12T20:23:37.851Z] [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-12T20:23:53.037Z] Still waiting to schedule task [2021-05-12T20:23:53.038Z] ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4800’ is offline; ‘prd-centos7-docker-4c-2g-4802’ is offline; ‘prd-centos7-docker-4c-2g-4807’ is offline; ‘prd-centos7-docker-4c-2g-4808’ is offline; ‘prd-centos7-docker-4c-2g-4810’ is offline; ‘prd-centos7-docker-4c-2g-4813’ is offline; ‘prd-centos7-docker-4c-2g-4814’ is offline; ‘prd-centos7-docker-4c-2g-4815’ is offline; ‘prd-centos7-docker-4c-2g-4821’ is offline; ‘prd-centos7-docker-4c-2g-4831’ is offline; ‘prd-centos7-docker-4c-2g-4850’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-4834’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-4836’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-4839’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-4840’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4818’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4819’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4823’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4824’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4825’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4828’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4832’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4833’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4849’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-12T20:23:53.042Z] Still waiting to schedule task [2021-05-12T20:23:53.042Z] ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4800’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4802’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4807’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4808’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4810’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4813’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4814’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4815’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4821’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4831’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4850’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-8c-8g-4834’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-8c-8g-4836’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-8c-8g-4839’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-8c-8g-4840’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4818’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4819’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4823’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4824’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4825’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4828’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4832’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4833’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4849’ is offline [2021-05-12T20:29:06.557Z] Running on prd-centos7-docker-4c-2g-4857 in /w/workspace/dgexfoundry_device-rest-go_PR-96 [Pipeline] { [Pipeline] ws [2021-05-12T20:29:06.582Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-05-12T20:29:16.289Z] using credential edgex-jenkins-ssh [2021-05-12T20:29:16.341Z] Cloning the remote Git repository [2021-05-12T20:29:16.450Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-12T20:29:17.120Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4853 in /w/workspace/dgexfoundry_device-rest-go_PR-96 [Pipeline] { [Pipeline] ws [2021-05-12T20:29:17.139Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-05-12T20:29:16.882Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-05-12T20:29:17.149Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-12T20:29:17.150Z] > git --version # timeout=10 [2021-05-12T20:29:17.261Z] > git --version # 'git version 2.24.3' [2021-05-12T20:29:17.262Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:29:17.386Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:29:18.951Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-12T20:29:18.983Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:29:19.021Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-12T20:29:19.087Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-12T20:29:19.087Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:29:19.102Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/96/head:refs/remotes/origin/PR-96 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T20:29:19.673Z] Merging remotes/origin/master commit 196bef76aa0a3d89dc26ac944eff062c8405d7e3 into PR head commit e49a06c3c66a55c70ec67bdc5be023fc399b112a [2021-05-12T20:29:20.087Z] Merge succeeded, producing e49a06c3c66a55c70ec67bdc5be023fc399b112a [2021-05-12T20:29:20.088Z] Checking out Revision e49a06c3c66a55c70ec67bdc5be023fc399b112a (PR-96) [2021-05-12T20:29:19.731Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:29:19.745Z] > git checkout -f e49a06c3c66a55c70ec67bdc5be023fc399b112a # timeout=10 [2021-05-12T20:29:19.908Z] > git remote # timeout=10 [2021-05-12T20:29:19.959Z] > git config --get remote.origin.url # timeout=10 [2021-05-12T20:29:19.989Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:29:19.997Z] > git merge 196bef76aa0a3d89dc26ac944eff062c8405d7e3 # timeout=10 [2021-05-12T20:29:20.052Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-12T20:29:20.101Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:29:20.110Z] > git checkout -f e49a06c3c66a55c70ec67bdc5be023fc399b112a # timeout=10 [2021-05-12T20:29:24.309Z] using credential edgex-jenkins-ssh [2021-05-12T20:29:24.335Z] Cloning the remote Git repository [2021-05-12T20:29:24.852Z] Commit message: "refactor: Secure Messagebus Rework" [2021-05-12T20:29:24.445Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-12T20:29:24.633Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-05-12T20:29:24.722Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-12T20:29:24.725Z] > git --version # timeout=10 [2021-05-12T20:29:24.764Z] > git --version # 'git version 2.17.1' [2021-05-12T20:29:24.773Z] using GIT_SSH to set credentials SSH Credentials for GitHub [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:29:24.891Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:29:26.653Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:29:27.083Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:29:27.459Z] + sudo service docker restart [2021-05-12T20:29:27.459Z] + true [2021-05-12T20:29:27.459Z] Redirecting to /bin/systemctl restart docker.service [2021-05-12T20:29:27.486Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-12T20:29:27.508Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:29:27.543Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-12T20:29:28.217Z] Merging remotes/origin/master commit 196bef76aa0a3d89dc26ac944eff062c8405d7e3 into PR head commit e49a06c3c66a55c70ec67bdc5be023fc399b112a [2021-05-12T20:29:28.443Z] Merge succeeded, producing e49a06c3c66a55c70ec67bdc5be023fc399b112a [2021-05-12T20:29:28.444Z] Checking out Revision e49a06c3c66a55c70ec67bdc5be023fc399b112a (PR-96) [2021-05-12T20:29:27.600Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-12T20:29:27.602Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:29:27.613Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/96/head:refs/remotes/origin/PR-96 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T20:29:28.235Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:29:28.260Z] > git checkout -f e49a06c3c66a55c70ec67bdc5be023fc399b112a # timeout=10 [2021-05-12T20:29:28.340Z] > git remote # timeout=10 [2021-05-12T20:29:28.360Z] > git config --get remote.origin.url # timeout=10 [2021-05-12T20:29:28.372Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:29:28.382Z] > git merge 196bef76aa0a3d89dc26ac944eff062c8405d7e3 # timeout=10 [2021-05-12T20:29:28.416Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-12T20:29:28.447Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:29:28.467Z] > git checkout -f e49a06c3c66a55c70ec67bdc5be023fc399b112a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:29:29.563Z] provisioning config files... [2021-05-12T20:29:29.618Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config202706054495144330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:29:30.039Z] ---> docker-login.sh [2021-05-12T20:29:30.039Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:29:30.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:30.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:30.669Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:30.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:30.669Z] [2021-05-12T20:29:30.669Z] Login Succeeded [2021-05-12T20:29:30.669Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:29:31.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:31.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:31.822Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:31.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:31.822Z] [2021-05-12T20:29:31.822Z] Login Succeeded [2021-05-12T20:29:31.822Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:29:32.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:32.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:32.462Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:32.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:32.462Z] [2021-05-12T20:29:32.462Z] Login Succeeded [2021-05-12T20:29:32.462Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:29:32.869Z] Commit message: "refactor: Secure Messagebus Rework" [2021-05-12T20:29:33.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:33.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:33.084Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:33.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:33.084Z] [2021-05-12T20:29:33.084Z] Login Succeeded [2021-05-12T20:29:33.084Z] docker.io [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:29:33.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:33.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:33.722Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:33.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:33.722Z] [2021-05-12T20:29:33.722Z] Login Succeeded [2021-05-12T20:29:33.722Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:29:34.170Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-05-12T20:29:34.498Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [Pipeline] echo [2021-05-12T20:29:34.747Z] ========================================================= [2021-05-12T20:29:34.747Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-12T20:29:34.748Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:29:34.940Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:29:35.161Z] + 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-12T20:29:35.161Z] Sending build context to Docker daemon 92.16kB [2021-05-12T20:29:35.321Z] + true [2021-05-12T20:29:35.321Z] + sudo service docker restart [2021-05-12T20:29:35.460Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:29:35.460Z] Step 2/10 : FROM ${BASE} [2021-05-12T20:29:35.737Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-12T20:29:35.737Z] 540db60ca938: Pulling fs layer [2021-05-12T20:29:35.737Z] adcc1eea9eea: Pulling fs layer [2021-05-12T20:29:35.737Z] 4c4ab2625f07: Pulling fs layer [2021-05-12T20:29:35.737Z] 0510c868ecb4: Pulling fs layer [2021-05-12T20:29:35.737Z] afea3b2eda06: Pulling fs layer [2021-05-12T20:29:35.737Z] 7809a108b3ef: Pulling fs layer [2021-05-12T20:29:35.737Z] f706445af74f: Pulling fs layer [2021-05-12T20:29:35.737Z] afea3b2eda06: Waiting [2021-05-12T20:29:35.737Z] 7809a108b3ef: Waiting [2021-05-12T20:29:35.737Z] f706445af74f: Waiting [2021-05-12T20:29:35.737Z] 0510c868ecb4: Waiting [2021-05-12T20:29:35.737Z] 4c4ab2625f07: Verifying Checksum [2021-05-12T20:29:35.737Z] 4c4ab2625f07: Download complete [2021-05-12T20:29:35.737Z] adcc1eea9eea: Verifying Checksum [2021-05-12T20:29:35.737Z] adcc1eea9eea: Download complete [2021-05-12T20:29:36.030Z] 7809a108b3ef: Verifying Checksum [2021-05-12T20:29:36.030Z] 7809a108b3ef: Download complete [2021-05-12T20:29:36.674Z] 540db60ca938: Verifying Checksum [2021-05-12T20:29:36.674Z] 540db60ca938: Download complete [2021-05-12T20:29:37.351Z] 540db60ca938: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:29:37.374Z] provisioning config files... [2021-05-12T20:29:37.425Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config6120862009500409790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:29:37.834Z] ---> docker-login.sh [2021-05-12T20:29:37.834Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:29:37.984Z] adcc1eea9eea: Pull complete [2021-05-12T20:29:38.286Z] 4c4ab2625f07: Pull complete [2021-05-12T20:29:38.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:40.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:40.077Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:40.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:40.077Z] [2021-05-12T20:29:40.077Z] Login Succeeded [2021-05-12T20:29:40.077Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:29:40.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:40.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:40.077Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:40.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:40.077Z] [2021-05-12T20:29:40.077Z] Login Succeeded [2021-05-12T20:29:40.077Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:29:40.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:40.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:40.667Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:40.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:40.667Z] [2021-05-12T20:29:40.667Z] Login Succeeded [2021-05-12T20:29:40.667Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:29:40.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:41.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:41.224Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:41.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:41.224Z] [2021-05-12T20:29:41.224Z] Login Succeeded [2021-05-12T20:29:41.224Z] docker.io [2021-05-12T20:29:41.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:42.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:42.107Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:42.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:42.108Z] [2021-05-12T20:29:42.108Z] Login Succeeded [2021-05-12T20:29:42.108Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:29:42.127Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-05-12T20:29:42.216Z] f706445af74f: Verifying Checksum [2021-05-12T20:29:42.216Z] f706445af74f: Download complete [Pipeline] echo [2021-05-12T20:29:42.501Z] ========================================================= [2021-05-12T20:29:42.501Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-12T20:29:42.501Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:29:42.858Z] + 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-12T20:29:42.858Z] Sending build context to Docker daemon 92.16kB [2021-05-12T20:29:43.137Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:29:43.137Z] Step 2/10 : FROM ${BASE} [2021-05-12T20:29:43.415Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-12T20:29:43.415Z] 595b0fe564bb: Pulling fs layer [2021-05-12T20:29:43.415Z] 7186ed65a4f7: Pulling fs layer [2021-05-12T20:29:43.415Z] 316046926c0a: Pulling fs layer [2021-05-12T20:29:43.415Z] 4ebd0625c992: Pulling fs layer [2021-05-12T20:29:43.415Z] 207e8628e3a3: Pulling fs layer [2021-05-12T20:29:43.415Z] c791037a9be2: Pulling fs layer [2021-05-12T20:29:43.415Z] ffd874e62e21: Pulling fs layer [2021-05-12T20:29:43.415Z] c791037a9be2: Waiting [2021-05-12T20:29:43.415Z] 4ebd0625c992: Waiting [2021-05-12T20:29:43.415Z] 207e8628e3a3: Waiting [2021-05-12T20:29:43.415Z] ffd874e62e21: Waiting [2021-05-12T20:29:43.415Z] 316046926c0a: Download complete [2021-05-12T20:29:43.415Z] 7186ed65a4f7: Verifying Checksum [2021-05-12T20:29:43.415Z] 7186ed65a4f7: Download complete [2021-05-12T20:29:43.415Z] 207e8628e3a3: Verifying Checksum [2021-05-12T20:29:43.415Z] 207e8628e3a3: Download complete [2021-05-12T20:29:43.415Z] c791037a9be2: Download complete [2021-05-12T20:29:43.415Z] 595b0fe564bb: Verifying Checksum [2021-05-12T20:29:43.415Z] 595b0fe564bb: Download complete [2021-05-12T20:29:44.034Z] 595b0fe564bb: Pull complete [2021-05-12T20:29:44.677Z] 7186ed65a4f7: Pull complete [2021-05-12T20:29:44.951Z] 316046926c0a: Pull complete [2021-05-12T20:29:45.573Z] ffd874e62e21: Verifying Checksum [2021-05-12T20:29:45.573Z] ffd874e62e21: Download complete [2021-05-12T20:29:45.757Z] 0510c868ecb4: Verifying Checksum [2021-05-12T20:29:45.757Z] 0510c868ecb4: Download complete [2021-05-12T20:29:47.557Z] 4ebd0625c992: Verifying Checksum [2021-05-12T20:29:47.558Z] 4ebd0625c992: Download complete [2021-05-12T20:29:56.295Z] 0510c868ecb4: Pull complete [2021-05-12T20:29:56.574Z] afea3b2eda06: Pull complete [2021-05-12T20:29:56.878Z] 7809a108b3ef: Pull complete [2021-05-12T20:29:57.787Z] 4ebd0625c992: Pull complete [2021-05-12T20:29:58.097Z] 207e8628e3a3: Pull complete [2021-05-12T20:29:58.701Z] c791037a9be2: Pull complete [2021-05-12T20:30:02.101Z] ffd874e62e21: Pull complete [2021-05-12T20:30:02.101Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-12T20:30:02.101Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-12T20:30:02.101Z] ---> cfc18b08335c [2021-05-12T20:30:02.101Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T20:30:02.568Z] f706445af74f: Pull complete [2021-05-12T20:30:02.568Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-12T20:30:02.568Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-12T20:30:02.568Z] ---> b068be0155e3 [2021-05-12T20:30:02.568Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T20:30:03.623Z] ---> Running in af6d409b93ab [2021-05-12T20:30:03.623Z] Removing intermediate container af6d409b93ab [2021-05-12T20:30:03.623Z] ---> 5d01345148ea [2021-05-12T20:30:03.623Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:30:03.917Z] ---> Running in ced46f963fc6 [2021-05-12T20:30:04.204Z] Removing intermediate container ced46f963fc6 [2021-05-12T20:30:04.204Z] ---> 70cec340d236 [2021-05-12T20:30:04.204Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-12T20:30:04.204Z] ---> Running in 32d669ee92f1 [2021-05-12T20:30:04.512Z] Removing intermediate container 32d669ee92f1 [2021-05-12T20:30:04.512Z] ---> 1807f24ae7ac [2021-05-12T20:30:04.512Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:30:04.816Z] ---> Running in ae634fa0695c [2021-05-12T20:30:06.254Z] Removing intermediate container ae634fa0695c [2021-05-12T20:30:06.254Z] ---> cbe7162b7bd2 [2021-05-12T20:30:06.254Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:30:06.462Z] ---> Running in 2c6baf1c8499 [2021-05-12T20:30:06.462Z] Removing intermediate container 2c6baf1c8499 [2021-05-12T20:30:06.462Z] ---> 60112b65cf5f [2021-05-12T20:30:06.462Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:30:06.462Z] ---> Running in b81c1aaeeff1 [2021-05-12T20:30:06.550Z] ---> Running in 6bf36b2231b7 [2021-05-12T20:30:06.737Z] Removing intermediate container b81c1aaeeff1 [2021-05-12T20:30:06.737Z] ---> b541e87bc373 [2021-05-12T20:30:06.737Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-12T20:30:07.008Z] ---> Running in 26afb0c95b4d [2021-05-12T20:30:07.281Z] Removing intermediate container 26afb0c95b4d [2021-05-12T20:30:07.281Z] ---> 3b34b7032c2a [2021-05-12T20:30:07.281Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:30:07.560Z] ---> Running in 7bd2136534d2 [2021-05-12T20:30:07.589Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:30:08.623Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:30:09.638Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-12T20:30:09.638Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-12T20:30:09.904Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-12T20:30:10.183Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-12T20:30:10.183Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-12T20:30:10.201Z] Removing intermediate container 7bd2136534d2 [2021-05-12T20:30:10.201Z] ---> c15c0425cfe3 [2021-05-12T20:30:10.201Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:30:10.201Z] ---> Running in ba37fe2c82c1 [2021-05-12T20:30:10.498Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-12T20:30:10.499Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-12T20:30:11.184Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:30:12.016Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-12T20:30:12.016Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-12T20:30:12.016Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T20:30:12.016Z] OK: 154 MiB in 49 packages [2021-05-12T20:30:12.161Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:30:13.164Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-12T20:30:13.164Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-12T20:30:13.439Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-12T20:30:13.532Z] Removing intermediate container 6bf36b2231b7 [2021-05-12T20:30:13.532Z] ---> b418f6c78b5a [2021-05-12T20:30:13.532Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-12T20:30:13.816Z] ---> Running in 8af3ff8dde96 [2021-05-12T20:30:14.041Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-12T20:30:14.041Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-12T20:30:14.118Z] Removing intermediate container 8af3ff8dde96 [2021-05-12T20:30:14.118Z] ---> 60458b3420fb [2021-05-12T20:30:14.118Z] Step 9/10 : COPY . . [2021-05-12T20:30:14.330Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-12T20:30:14.602Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-12T20:30:14.762Z] ---> 57aa0ea146b5 [2021-05-12T20:30:14.762Z] Step 10/10 : RUN go mod download [2021-05-12T20:30:14.762Z] ---> Running in d27b9f97c100 [2021-05-12T20:30:17.224Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-12T20:30:17.224Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-12T20:30:17.224Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T20:30:17.224Z] OK: 144 MiB in 49 packages [2021-05-12T20:30:18.675Z] Removing intermediate container ba37fe2c82c1 [2021-05-12T20:30:18.675Z] ---> eca6eabbdaf5 [2021-05-12T20:30:18.675Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-12T20:30:18.950Z] ---> Running in f1c233e01c00 [2021-05-12T20:30:19.543Z] Removing intermediate container f1c233e01c00 [2021-05-12T20:30:19.543Z] ---> e3c13c252944 [2021-05-12T20:30:19.543Z] Step 9/10 : COPY . . [2021-05-12T20:30:20.146Z] ---> 835984115892 [2021-05-12T20:30:20.146Z] Step 10/10 : RUN go mod download [2021-05-12T20:30:20.146Z] ---> Running in 699b2c79ab64 [2021-05-12T20:30:46.978Z] Removing intermediate container 699b2c79ab64 [2021-05-12T20:30:46.978Z] ---> 706444a84087 [2021-05-12T20:30:46.978Z] Successfully built 706444a84087 [2021-05-12T20:30:46.978Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:30:47.331Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T20:30:47.331Z] . [Pipeline] withDockerContainer [2021-05-12T20:30:47.592Z] prd-ubuntu18.04-docker-arm64-4c-16g-4853 does not seem to be running inside a container [2021-05-12T20:30:47.693Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-12T20:30:49.499Z] $ docker top 429ef59e0d218fa09b834c2cc8fc76ac90a9ac6768cdbc5be0d5ffc544a64814 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:30:50.524Z] + go version [2021-05-12T20:30:50.524Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-12T20:30:50.568Z] $ docker stop --time=1 429ef59e0d218fa09b834c2cc8fc76ac90a9ac6768cdbc5be0d5ffc544a64814 [2021-05-12T20:30:52.590Z] $ docker rm -f 429ef59e0d218fa09b834c2cc8fc76ac90a9ac6768cdbc5be0d5ffc544a64814 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:30:53.355Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T20:30:53.355Z] . [Pipeline] withDockerContainer [2021-05-12T20:30:53.693Z] prd-ubuntu18.04-docker-arm64-4c-16g-4853 does not seem to be running inside a container [2021-05-12T20:30:53.809Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-12T20:30:54.204Z] Removing intermediate container d27b9f97c100 [2021-05-12T20:30:54.204Z] ---> d40490b45a67 [2021-05-12T20:30:54.204Z] Successfully built d40490b45a67 [2021-05-12T20:30:54.204Z] Successfully tagged ci-base-image-x86_64:latest [2021-05-12T20:30:55.505Z] $ docker top f36507745864d4dea6182fa1681214aea88a38d341f49cdd98905d9061683822 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:30:56.390Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T20:30:56.551Z] + go mod tidy [2021-05-12T20:30:57.064Z] . [Pipeline] withDockerContainer [2021-05-12T20:30:57.595Z] prd-centos7-docker-4c-2g-4857 does not seem to be running inside a container [2021-05-12T20:30:57.826Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-12T20:31:00.142Z] $ docker top e615762ea2d920cfc7cd5d7f099972416d6a933fd565b75a2ab2f2eaa62a58ec -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-05-12T20:31:01.175Z] + make test [2021-05-12T20:31:01.175Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-12T20:31:01.498Z] + go version [2021-05-12T20:31:01.498Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-12T20:31:01.582Z] $ docker stop --time=1 e615762ea2d920cfc7cd5d7f099972416d6a933fd565b75a2ab2f2eaa62a58ec [2021-05-12T20:31:02.790Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-12T20:31:03.486Z] $ docker rm -f e615762ea2d920cfc7cd5d7f099972416d6a933fd565b75a2ab2f2eaa62a58ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:31:04.654Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T20:31:04.931Z] . [Pipeline] withDockerContainer [2021-05-12T20:31:05.356Z] prd-centos7-docker-4c-2g-4857 does not seem to be running inside a container [2021-05-12T20:31:05.573Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-12T20:31:07.014Z] $ docker top 5131ee1acd9dbf44c300eba37a1b0fee6454a5fd684225ad56f36f8661ee6ea8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:31:07.973Z] + go mod tidy [Pipeline] sh [2021-05-12T20:31:10.497Z] + make test [2021-05-12T20:31:10.497Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-12T20:31:12.003Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-12T20:31:45.164Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-12T20:31:45.164Z] ok github.com/edgexfoundry/device-rest-go/driver 0.019s coverage: 54.0% of statements [2021-05-12T20:31:45.164Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-12T20:32:07.839Z] gofmt -l . [2021-05-12T20:32:07.839Z] [ "`gofmt -l .`" = "" ] [2021-05-12T20:32:07.839Z] ./bin/test-go-mod-tidy.sh [2021-05-12T20:32:07.839Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-12T20:32:09.387Z] $ docker stop --time=1 5131ee1acd9dbf44c300eba37a1b0fee6454a5fd684225ad56f36f8661ee6ea8 [2021-05-12T20:32:10.979Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-12T20:32:10.979Z] ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 54.0% of statements [2021-05-12T20:32:10.979Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-12T20:32:12.663Z] $ docker rm -f 5131ee1acd9dbf44c300eba37a1b0fee6454a5fd684225ad56f36f8661ee6ea8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:32:13.672Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T20:32:14.915Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-12T20:32:16.100Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T20:32:16.537Z] + ls -al . [2021-05-12T20:32:16.537Z] total 104 [2021-05-12T20:32:16.537Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 12 20:32 . [2021-05-12T20:32:16.537Z] drwxrwxr-x. 4 jenkins jenkins 28 May 12 20:29 .. [2021-05-12T20:32:16.537Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 12 20:29 Attribution.txt [2021-05-12T20:32:16.537Z] drwxrwxr-x. 2 jenkins jenkins 64 May 12 20:29 bin [2021-05-12T20:32:16.537Z] drwxrwxr-x. 3 jenkins jenkins 32 May 12 20:29 cmd [2021-05-12T20:32:16.537Z] -rw-r--r--. 1 jenkins jenkins 8513 May 12 20:31 coverage.out [2021-05-12T20:32:16.537Z] -rw-rw-r--. 1 jenkins jenkins 1602 May 12 20:29 Dockerfile [2021-05-12T20:32:16.537Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 12 20:29 Dockerfile.build [2021-05-12T20:32:16.537Z] -rw-rw-r--. 1 jenkins jenkins 151 May 12 20:29 .dockerignore [2021-05-12T20:32:16.537Z] drwxrwxr-x. 2 jenkins jenkins 76 May 12 20:29 driver [2021-05-12T20:32:16.537Z] drwxrwxr-x. 8 jenkins jenkins 179 May 12 20:29 .git [2021-05-12T20:32:16.537Z] drwxrwxr-x. 2 jenkins jenkins 103 May 12 20:29 .github [2021-05-12T20:32:16.537Z] -rw-rw-r--. 1 jenkins jenkins 339 May 12 20:29 .gitignore [2021-05-12T20:32:16.537Z] -rw-r--r--. 1 jenkins jenkins 285 May 12 20:32 go.mod [2021-05-12T20:32:16.537Z] -rw-r--r--. 1 jenkins jenkins 20782 May 12 20:31 go.sum [2021-05-12T20:32:16.537Z] -rw-rw-r--. 1 jenkins jenkins 680 May 12 20:29 Jenkinsfile [2021-05-12T20:32:16.537Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 12 20:29 LICENSE [2021-05-12T20:32:16.537Z] -rw-rw-r--. 1 jenkins jenkins 989 May 12 20:29 Makefile [2021-05-12T20:32:16.537Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 12 20:29 README.md [2021-05-12T20:32:16.537Z] drwxrwxr-x. 4 jenkins jenkins 71 May 12 20:29 snap [2021-05-12T20:32:16.537Z] -rw-rw-r--. 1 jenkins jenkins 5 May 12 20:23 VERSION [2021-05-12T20:32:16.537Z] -rw-rw-r--. 1 jenkins jenkins 713 May 12 20:29 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:32:17.076Z] + 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=e49a06c3c66a55c70ec67bdc5be023fc399b112a --label arch=amd64 --label version=0.0.0 . [2021-05-12T20:32:17.076Z] Sending build context to Docker daemon 101.9kB [2021-05-12T20:32:17.751Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:32:17.751Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-12T20:32:17.751Z] ---> d40490b45a67 [2021-05-12T20:32:17.751Z] Step 3/24 : ARG MAKE='make build' [2021-05-12T20:32:18.021Z] ---> Running in 471752b13763 [2021-05-12T20:32:18.294Z] Removing intermediate container 471752b13763 [2021-05-12T20:32:18.294Z] ---> 84415c05162a [2021-05-12T20:32:18.294Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T20:32:18.294Z] ---> Running in e5791cee140b [2021-05-12T20:32:18.566Z] Removing intermediate container e5791cee140b [2021-05-12T20:32:18.567Z] ---> 412d959193dc [2021-05-12T20:32:18.567Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:32:18.851Z] ---> Running in 2b190a26b081 [2021-05-12T20:32:19.173Z] Removing intermediate container 2b190a26b081 [2021-05-12T20:32:19.173Z] ---> 55afb2c27f4c [2021-05-12T20:32:19.173Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:32:19.452Z] ---> Running in 8e705377ede0 [2021-05-12T20:32:22.136Z] Removing intermediate container 8e705377ede0 [2021-05-12T20:32:22.136Z] ---> a05da8adbb96 [2021-05-12T20:32:22.136Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:32:22.136Z] ---> Running in 3ab4945500d7 [2021-05-12T20:32:24.134Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:32:24.453Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:32:25.068Z] OK: 154 MiB in 49 packages [2021-05-12T20:32:26.059Z] Removing intermediate container 3ab4945500d7 [2021-05-12T20:32:26.059Z] ---> 26bb4f2d07bd [2021-05-12T20:32:26.059Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-12T20:32:26.325Z] ---> Running in 652fac7ba1db [2021-05-12T20:32:26.598Z] Removing intermediate container 652fac7ba1db [2021-05-12T20:32:26.598Z] ---> fa3ee6f09fe2 [2021-05-12T20:32:26.598Z] Step 9/24 : COPY . . [2021-05-12T20:32:26.870Z] ---> 9abd192ddfbe [2021-05-12T20:32:26.870Z] Step 10/24 : RUN make update [2021-05-12T20:32:27.158Z] ---> Running in 4b0cb7d977bd [2021-05-12T20:32:28.631Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-12T20:32:29.222Z] Removing intermediate container 4b0cb7d977bd [2021-05-12T20:32:29.222Z] ---> 00b986f8ab4b [2021-05-12T20:32:29.222Z] Step 11/24 : RUN $MAKE [2021-05-12T20:32:29.222Z] ---> Running in 2cb5503900d0 [2021-05-12T20:32:30.196Z] go mod tidy [2021-05-12T20:32:30.810Z] 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-12T20:32:33.175Z] gofmt -l . [2021-05-12T20:32:33.175Z] [ "`gofmt -l .`" = "" ] [2021-05-12T20:32:33.175Z] ./bin/test-go-mod-tidy.sh [2021-05-12T20:32:33.175Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-12T20:32:35.184Z] $ docker stop --time=1 f36507745864d4dea6182fa1681214aea88a38d341f49cdd98905d9061683822 [2021-05-12T20:32:37.528Z] $ docker rm -f f36507745864d4dea6182fa1681214aea88a38d341f49cdd98905d9061683822 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:32:38.529Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T20:32:38.563Z] Warning: overwriting stash ‘coverage-report’ [2021-05-12T20:32:39.512Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:32:39.995Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T20:32:40.347Z] + ls -al . [2021-05-12T20:32:40.347Z] total 132 [2021-05-12T20:32:40.347Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 20:32 . [2021-05-12T20:32:40.347Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 20:29 .. [2021-05-12T20:32:40.347Z] -rw-rw-r-- 1 jenkins jenkins 151 May 12 20:29 .dockerignore [2021-05-12T20:32:40.347Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 20:29 .git [2021-05-12T20:32:40.347Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:29 .github [2021-05-12T20:32:40.347Z] -rw-rw-r-- 1 jenkins jenkins 339 May 12 20:29 .gitignore [2021-05-12T20:32:40.347Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 12 20:29 Attribution.txt [2021-05-12T20:32:40.347Z] -rw-rw-r-- 1 jenkins jenkins 1602 May 12 20:29 Dockerfile [2021-05-12T20:32:40.347Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 12 20:29 Dockerfile.build [2021-05-12T20:32:40.347Z] -rw-rw-r-- 1 jenkins jenkins 680 May 12 20:29 Jenkinsfile [2021-05-12T20:32:40.347Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 12 20:29 LICENSE [2021-05-12T20:32:40.347Z] -rw-rw-r-- 1 jenkins jenkins 989 May 12 20:29 Makefile [2021-05-12T20:32:40.347Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 12 20:29 README.md [2021-05-12T20:32:40.347Z] -rw-rw-r-- 1 jenkins jenkins 5 May 12 20:23 VERSION [2021-05-12T20:32:40.347Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:29 bin [2021-05-12T20:32:40.347Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:29 cmd [2021-05-12T20:32:40.347Z] -rw-r--r-- 1 jenkins jenkins 8513 May 12 20:32 coverage.out [2021-05-12T20:32:40.347Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:29 driver [2021-05-12T20:32:40.347Z] -rw-r--r-- 1 jenkins jenkins 285 May 12 20:32 go.mod [2021-05-12T20:32:40.347Z] -rw-r--r-- 1 jenkins jenkins 20782 May 12 20:30 go.sum [2021-05-12T20:32:40.347Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 20:29 snap [2021-05-12T20:32:40.347Z] -rw-rw-r-- 1 jenkins jenkins 713 May 12 20:29 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:32:40.711Z] + 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=e49a06c3c66a55c70ec67bdc5be023fc399b112a --label arch=arm64 --label version=0.0.0 . [2021-05-12T20:32:40.711Z] Sending build context to Docker daemon 101.9kB [2021-05-12T20:32:41.319Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:32:41.319Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-12T20:32:41.319Z] ---> 706444a84087 [2021-05-12T20:32:41.319Z] Step 3/24 : ARG MAKE='make build' [2021-05-12T20:32:41.319Z] ---> Running in 50d4a5fd1588 [2021-05-12T20:32:41.922Z] Removing intermediate container 50d4a5fd1588 [2021-05-12T20:32:41.922Z] ---> 9126eb49c319 [2021-05-12T20:32:41.922Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T20:32:41.922Z] ---> Running in 12ee3187bb29 [2021-05-12T20:32:42.522Z] Removing intermediate container 12ee3187bb29 [2021-05-12T20:32:42.522Z] ---> bb6135e3bad9 [2021-05-12T20:32:42.522Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:32:42.795Z] ---> Running in 6a00f6b181b2 [2021-05-12T20:32:43.083Z] Removing intermediate container 6a00f6b181b2 [2021-05-12T20:32:43.083Z] ---> 02dda06a5625 [2021-05-12T20:32:43.083Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:32:43.357Z] ---> Running in c61fd9f0bebb [2021-05-12T20:32:45.339Z] Removing intermediate container c61fd9f0bebb [2021-05-12T20:32:45.339Z] ---> bb313694b692 [2021-05-12T20:32:45.339Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:32:45.613Z] ---> Running in 201aa362639e [2021-05-12T20:32:47.052Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:32:48.033Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:32:49.009Z] OK: 144 MiB in 49 packages [2021-05-12T20:32:49.990Z] Removing intermediate container 201aa362639e [2021-05-12T20:32:49.990Z] ---> 298d0f9f22d2 [2021-05-12T20:32:49.990Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-12T20:32:50.272Z] ---> Running in ecb408aa2553 [2021-05-12T20:32:50.875Z] Removing intermediate container ecb408aa2553 [2021-05-12T20:32:50.875Z] ---> e13335d2cec8 [2021-05-12T20:32:50.875Z] Step 9/24 : COPY . . [2021-05-12T20:32:51.859Z] ---> 9db4dbf7b972 [2021-05-12T20:32:51.859Z] Step 10/24 : RUN make update [2021-05-12T20:32:51.859Z] ---> Running in a39bb8d514fd [2021-05-12T20:32:53.216Z] Removing intermediate container 2cb5503900d0 [2021-05-12T20:32:53.216Z] ---> 5f62fb4087e7 [2021-05-12T20:32:53.216Z] Step 12/24 : FROM alpine:3.12 [2021-05-12T20:32:53.216Z] 3.12: Pulling from library/alpine [2021-05-12T20:32:53.216Z] 339de151aab4: Pulling fs layer [2021-05-12T20:32:53.216Z] 339de151aab4: Download complete [2021-05-12T20:32:53.216Z] 339de151aab4: Pull complete [2021-05-12T20:32:53.216Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T20:32:53.216Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T20:32:53.216Z] ---> 13621d1b12d4 [2021-05-12T20:32:53.216Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-12T20:32:53.216Z] ---> Running in 84d509a2d728 [2021-05-12T20:32:53.304Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-12T20:32:53.833Z] Removing intermediate container 84d509a2d728 [2021-05-12T20:32:53.833Z] ---> 4c0749184a15 [2021-05-12T20:32:53.833Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-12T20:32:53.833Z] ---> Running in e43c827ddf08 [2021-05-12T20:32:54.118Z] Removing intermediate container e43c827ddf08 [2021-05-12T20:32:54.118Z] ---> 41f27194b098 [2021-05-12T20:32:54.118Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-12T20:32:54.118Z] ---> Running in 542c587c4960 [2021-05-12T20:32:54.288Z] Removing intermediate container a39bb8d514fd [2021-05-12T20:32:54.288Z] ---> e9144cb9f3d5 [2021-05-12T20:32:54.288Z] Step 11/24 : RUN $MAKE [2021-05-12T20:32:54.562Z] ---> Running in d88451d98c89 [2021-05-12T20:32:55.111Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:32:55.111Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:32:55.401Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-12T20:32:55.401Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-12T20:32:55.401Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-12T20:32:55.401Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-12T20:32:55.401Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-12T20:32:55.401Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-12T20:32:55.401Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T20:32:55.740Z] OK: 8 MiB in 20 packages [2021-05-12T20:32:56.005Z] go mod tidy [2021-05-12T20:32:56.286Z] 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-12T20:32:56.402Z] Removing intermediate container 542c587c4960 [2021-05-12T20:32:56.402Z] ---> 6ded210b617a [2021-05-12T20:32:56.402Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-12T20:32:57.158Z] ---> d0506fb0f783 [2021-05-12T20:32:57.158Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-12T20:32:57.923Z] ---> 28f801e6e5a4 [2021-05-12T20:32:57.923Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-12T20:32:58.680Z] ---> 4690be035603 [2021-05-12T20:32:58.680Z] Step 19/24 : EXPOSE 49986 [2021-05-12T20:32:58.957Z] ---> Running in 0d4664b0c9b6 [2021-05-12T20:32:59.256Z] Removing intermediate container 0d4664b0c9b6 [2021-05-12T20:32:59.256Z] ---> 82bc3b74191b [2021-05-12T20:32:59.256Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-12T20:32:59.256Z] ---> Running in 223b59224b0f [2021-05-12T20:32:59.543Z] Removing intermediate container 223b59224b0f [2021-05-12T20:32:59.543Z] ---> 04b34bcf0c40 [2021-05-12T20:32:59.543Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-12T20:32:59.543Z] ---> Running in 891ba94f3c50 [2021-05-12T20:32:59.833Z] Removing intermediate container 891ba94f3c50 [2021-05-12T20:32:59.833Z] ---> 9ff297a429bc [2021-05-12T20:32:59.833Z] Step 22/24 : LABEL arch=amd64 [2021-05-12T20:33:00.154Z] ---> Running in 3a07637d1932 [2021-05-12T20:33:00.465Z] Removing intermediate container 3a07637d1932 [2021-05-12T20:33:00.465Z] ---> 21b2d2b15036 [2021-05-12T20:33:00.465Z] Step 23/24 : LABEL git_sha=e49a06c3c66a55c70ec67bdc5be023fc399b112a [2021-05-12T20:33:00.792Z] ---> Running in 257f5e10a76e [2021-05-12T20:33:01.439Z] Removing intermediate container 257f5e10a76e [2021-05-12T20:33:01.439Z] ---> fd09b37056e4 [2021-05-12T20:33:01.439Z] Step 24/24 : LABEL version=0.0.0 [2021-05-12T20:33:01.761Z] ---> Running in 8edc0640401f [2021-05-12T20:33:02.423Z] Removing intermediate container 8edc0640401f [2021-05-12T20:33:02.423Z] ---> 2341cae8f0b1 [2021-05-12T20:33:02.423Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-12T20:33:02.423Z] Successfully built 2341cae8f0b1 [2021-05-12T20:33:02.423Z] 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-12T20:33:03.092Z] ---> job-cost.sh [2021-05-12T20:33:03.092Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ToV2 [2021-05-12T20:33:30.275Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T20:33:43.370Z] Removing intermediate container d88451d98c89 [2021-05-12T20:33:43.370Z] ---> 917cce1445c2 [2021-05-12T20:33:43.370Z] Step 12/24 : FROM alpine:3.12 [2021-05-12T20:33:43.370Z] 3.12: Pulling from library/alpine [2021-05-12T20:33:43.370Z] d2f70382dc9a: Pulling fs layer [2021-05-12T20:33:43.370Z] d2f70382dc9a: Download complete [2021-05-12T20:33:43.370Z] d2f70382dc9a: Pull complete [2021-05-12T20:33:43.370Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T20:33:43.370Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T20:33:43.370Z] ---> 9852663dfa18 [2021-05-12T20:33:43.370Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-12T20:33:43.370Z] ---> Running in 4cde84888408 [2021-05-12T20:33:43.370Z] Removing intermediate container 4cde84888408 [2021-05-12T20:33:43.370Z] ---> cbb4b5cc39ed [2021-05-12T20:33:43.370Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-12T20:33:43.370Z] ---> Running in 3be3dbeeb96f [2021-05-12T20:33:43.370Z] Removing intermediate container 3be3dbeeb96f [2021-05-12T20:33:43.370Z] ---> e9e015eb5a00 [2021-05-12T20:33:43.370Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-12T20:33:43.370Z] ---> Running in db689a8e91b1 [2021-05-12T20:33:43.370Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:33:43.370Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:33:43.370Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-12T20:33:43.370Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-12T20:33:43.370Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-12T20:33:43.370Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-12T20:33:43.370Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-12T20:33:43.370Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-12T20:33:43.370Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T20:33:43.370Z] OK: 8 MiB in 20 packages [2021-05-12T20:33:43.370Z] Removing intermediate container db689a8e91b1 [2021-05-12T20:33:43.371Z] ---> a1e524049135 [2021-05-12T20:33:43.371Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-12T20:33:43.968Z] ---> c51499cf1e24 [2021-05-12T20:33:43.968Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-12T20:33:44.947Z] ---> d5a4b9df8ef2 [2021-05-12T20:33:44.947Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-12T20:33:45.543Z] ---> fc4e5293fc06 [2021-05-12T20:33:45.543Z] Step 19/24 : EXPOSE 49986 [2021-05-12T20:33:45.543Z] ---> Running in 472b896b121f [2021-05-12T20:33:46.141Z] Removing intermediate container 472b896b121f [2021-05-12T20:33:46.141Z] ---> d3f1a18543d0 [2021-05-12T20:33:46.141Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-12T20:33:46.141Z] ---> Running in 4e7ef0f62e54 [2021-05-12T20:33:46.735Z] Removing intermediate container 4e7ef0f62e54 [2021-05-12T20:33:46.735Z] ---> efb842c29714 [2021-05-12T20:33:46.735Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-12T20:33:46.735Z] ---> Running in 5a1e843d687f [2021-05-12T20:33:47.362Z] Removing intermediate container 5a1e843d687f [2021-05-12T20:33:47.362Z] ---> 54dd9d35c854 [2021-05-12T20:33:47.362Z] Step 22/24 : LABEL arch=arm64 [2021-05-12T20:33:47.362Z] ---> Running in f6b350294e3a [2021-05-12T20:33:47.649Z] Removing intermediate container f6b350294e3a [2021-05-12T20:33:47.649Z] ---> 072bed3a93d5 [2021-05-12T20:33:47.649Z] Step 23/24 : LABEL git_sha=e49a06c3c66a55c70ec67bdc5be023fc399b112a [2021-05-12T20:33:47.926Z] ---> Running in 2f8f80679875 [2021-05-12T20:33:48.523Z] Removing intermediate container 2f8f80679875 [2021-05-12T20:33:48.523Z] ---> d0bda1e4a2aa [2021-05-12T20:33:48.523Z] Step 24/24 : LABEL version=0.0.0 [2021-05-12T20:33:48.523Z] ---> Running in ee42e8529b17 [2021-05-12T20:33:49.120Z] Removing intermediate container ee42e8529b17 [2021-05-12T20:33:49.120Z] ---> 5723fc4c14e9 [2021-05-12T20:33:49.120Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-12T20:33:49.120Z] Successfully built 5723fc4c14e9 [2021-05-12T20:33:49.120Z] 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-12T20:33:49.593Z] ---> job-cost.sh [2021-05-12T20:33:49.593Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-uEcA [2021-05-12T20:34:10.404Z] lf-activate-venv(): INFO: Adding /tmp/venv-ToV2/bin to PATH [2021-05-12T20:34:10.404Z] INFO: No Stack... [2021-05-12T20:34:10.404Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T20:34:10.404Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T20:34:10.793Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-05-12T20:34:10.793Z] + cut -d, -f6 [Pipeline] lock [2021-05-12T20:34:11.063Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-96-2-stack-cost] [2021-05-12T20:34:11.078Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-96-2-stack-cost] did not exist. Created. [2021-05-12T20:34:11.078Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-96-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T20:34:11.538Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-12T20:34:11.728Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T20:34:11.739Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-96-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-12T20:34:46.142Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T20:36:37.950Z] lf-activate-venv(): INFO: Adding /tmp/venv-uEcA/bin to PATH [2021-05-12T20:36:37.950Z] INFO: No Stack... [2021-05-12T20:36:39.925Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-12T20:36:40.522Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T20:36:40.869Z] + + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-05-12T20:36:40.869Z] cut -d, -f6 [Pipeline] lock [2021-05-12T20:36:40.986Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-96-2-stack-cost] [2021-05-12T20:36:41.010Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-96-2-stack-cost] did not exist. Created. [2021-05-12T20:36:41.010Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-96-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T20:36:41.455Z] /w/workspace/device-rest-go/2@tmp/durable-f01ae43c/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-f01ae43c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-12T20:36:41.802Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-12T20:36:41.823Z] Warning: overwriting stash ‘stack-cost’ [2021-05-12T20:36:41.978Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T20:36:41.993Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-96-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-12T20:36:42.402Z] provisioning config files... [2021-05-12T20:36:42.415Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-96@tmp/config7796544419027051598tmp [Pipeline] { [Pipeline] sh [2021-05-12T20:36:42.820Z] + set +x [2021-05-12T20:36:42.820Z] + curl -s https://codecov.io/bash [2021-05-12T20:36:42.820Z] + bash -s -- [2021-05-12T20:36:43.091Z] [2021-05-12T20:36:43.091Z] _____ _ [2021-05-12T20:36:43.091Z] / ____| | | [2021-05-12T20:36:43.091Z] | | ___ __| | ___ ___ _____ __ [2021-05-12T20:36:43.091Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-12T20:36:43.091Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-12T20:36:43.091Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-12T20:36:43.091Z] Bash-1.0.2 [2021-05-12T20:36:43.091Z] [2021-05-12T20:36:43.091Z] [2021-05-12T20:36:43.091Z] ==> git version 2.24.3 found [2021-05-12T20:36:43.091Z] ==> 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-12T20:36:43.091Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-12T20:36:43.091Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-12T20:36:43.091Z] ==> Jenkins CI detected. [2021-05-12T20:36:43.091Z] project root: . [2021-05-12T20:36:43.091Z] --> token set from env [2021-05-12T20:36:43.091Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-12T20:36:43.091Z] ==> Running gcov in . (disable via -X gcov) [2021-05-12T20:36:43.091Z] ==> Python coveragepy not found [2021-05-12T20:36:43.091Z] ==> Searching for coverage reports in: [2021-05-12T20:36:43.091Z] + . [2021-05-12T20:36:43.091Z] -> Found 1 reports [2021-05-12T20:36:43.091Z] ==> Detecting git/mercurial file structure [2021-05-12T20:36:43.361Z] ==> Reading reports [2021-05-12T20:36:43.361Z] + ./coverage.out bytes=8513 [2021-05-12T20:36:43.361Z] ==> Appending adjustments [2021-05-12T20:36:43.361Z] https://docs.codecov.io/docs/fixing-reports [2021-05-12T20:36:43.361Z] + Found adjustments [2021-05-12T20:36:43.361Z] ==> Gzipping contents [2021-05-12T20:36:43.361Z] 4.0K /tmp/codecov.Ffhl49.gz [2021-05-12T20:36:43.361Z] ==> Uploading reports [2021-05-12T20:36:43.361Z] url: https://codecov.io [2021-05-12T20:36:43.361Z] query: branch=PR-96&commit=e49a06c3c66a55c70ec67bdc5be023fc399b112a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-96%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=96&job=&cmd_args= [2021-05-12T20:36:43.361Z] -> Pinging Codecov [2021-05-12T20:36:43.361Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-96&commit=e49a06c3c66a55c70ec67bdc5be023fc399b112a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-96%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=96&job=&cmd_args= [2021-05-12T20:36:43.965Z] -> Uploading to [2021-05-12T20:36:43.965Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-12/4E5D53B4F1F92C436F7061BF334D961C/e49a06c3c66a55c70ec67bdc5be023fc399b112a/db008be6-469c-412d-9a70-f287261af071.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210512T203643Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6002d16d84be37fe23bb7423ee4141f69655b62bc78ff6253c432b9c1313fa78 [2021-05-12T20:36:43.965Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-12T20:36:43.965Z] Dload Upload Total Spent Left Speed [2021-05-12T20:36:44.566Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3114 --:--:-- --:--:-- --:--:-- 3122 [2021-05-12T20:36:44.566Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/e49a06c3c66a55c70ec67bdc5be023fc399b112a [Pipeline] } [2021-05-12T20:36:44.584Z] 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-12T20:36:45.615Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:36:46.223Z] ---> package-listing.sh [2021-05-12T20:36:46.223Z] ++ facter osfamily [2021-05-12T20:36:46.223Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-12T20:36:46.499Z] + OS_FAMILY=redhat [2021-05-12T20:36:46.499Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-96 [2021-05-12T20:36:46.499Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-12T20:36:46.499Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-12T20:36:46.499Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-12T20:36:46.499Z] + PACKAGES=/tmp/packages_start.txt [2021-05-12T20:36:46.499Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-96 ']' [2021-05-12T20:36:46.499Z] + PACKAGES=/tmp/packages_end.txt [2021-05-12T20:36:46.499Z] + case "${OS_FAMILY}" in [2021-05-12T20:36:46.499Z] + rpm -qa [2021-05-12T20:36:46.499Z] + sort [2021-05-12T20:36:54.902Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-12T20:36:54.902Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-12T20:36:54.902Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-12T20:36:54.902Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-96 ']' [2021-05-12T20:36:54.902Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-96/archives/ [2021-05-12T20:36:54.902Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-96/archives/ [Pipeline] echo [2021-05-12T20:36:54.919Z] 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-96/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-12T20:36:55.229Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:36:55.870Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:36:56.137Z] [2021-05-12T20:36:56.137Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:36:56.516Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:36:56.516Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-12T20:36:56.516Z] df20fa9351a1: Pulling fs layer [2021-05-12T20:36:56.516Z] 36b3adc4ff6f: Pulling fs layer [2021-05-12T20:36:56.516Z] 8ad3a11d3b57: Pulling fs layer [2021-05-12T20:36:56.516Z] 46f8f816bc3b: Pulling fs layer [2021-05-12T20:36:56.516Z] 93b61091891f: Pulling fs layer [2021-05-12T20:36:56.516Z] 93b9cdb0e59b: Pulling fs layer [2021-05-12T20:36:56.516Z] 5e14af77c1be: Pulling fs layer [2021-05-12T20:36:56.516Z] 46f8f816bc3b: Waiting [2021-05-12T20:36:56.516Z] 01666e4c0597: Pulling fs layer [2021-05-12T20:36:56.516Z] 93b61091891f: Waiting [2021-05-12T20:36:56.516Z] aa168da1d23b: Pulling fs layer [2021-05-12T20:36:56.516Z] 93b9cdb0e59b: Waiting [2021-05-12T20:36:56.516Z] 5e14af77c1be: Waiting [2021-05-12T20:36:56.516Z] 01666e4c0597: Waiting [2021-05-12T20:36:56.516Z] aa168da1d23b: Waiting [2021-05-12T20:36:56.516Z] 36b3adc4ff6f: Verifying Checksum [2021-05-12T20:36:56.516Z] 36b3adc4ff6f: Download complete [2021-05-12T20:36:56.836Z] 46f8f816bc3b: Verifying Checksum [2021-05-12T20:36:56.836Z] 46f8f816bc3b: Download complete [2021-05-12T20:36:56.836Z] df20fa9351a1: Verifying Checksum [2021-05-12T20:36:56.836Z] df20fa9351a1: Download complete [2021-05-12T20:36:56.836Z] 93b9cdb0e59b: Download complete [2021-05-12T20:36:56.836Z] 5e14af77c1be: Verifying Checksum [2021-05-12T20:36:56.836Z] 5e14af77c1be: Download complete [2021-05-12T20:36:56.836Z] 93b61091891f: Verifying Checksum [2021-05-12T20:36:56.836Z] 93b61091891f: Download complete [2021-05-12T20:36:57.147Z] 01666e4c0597: Verifying Checksum [2021-05-12T20:36:57.147Z] 01666e4c0597: Download complete [2021-05-12T20:36:57.874Z] df20fa9351a1: Pull complete [2021-05-12T20:36:57.874Z] 8ad3a11d3b57: Verifying Checksum [2021-05-12T20:36:57.874Z] 8ad3a11d3b57: Download complete [2021-05-12T20:36:58.530Z] 36b3adc4ff6f: Pull complete [2021-05-12T20:37:00.632Z] 8ad3a11d3b57: Pull complete [2021-05-12T20:37:00.632Z] 46f8f816bc3b: Pull complete [2021-05-12T20:37:02.183Z] 93b61091891f: Pull complete [2021-05-12T20:37:02.457Z] 93b9cdb0e59b: Pull complete [2021-05-12T20:37:02.457Z] 5e14af77c1be: Pull complete [2021-05-12T20:37:03.051Z] aa168da1d23b: Verifying Checksum [2021-05-12T20:37:03.051Z] aa168da1d23b: Download complete [2021-05-12T20:37:03.051Z] 01666e4c0597: Pull complete [2021-05-12T20:37:15.609Z] aa168da1d23b: Pull complete [2021-05-12T20:37:15.609Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-12T20:37:15.609Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:37:15.609Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-12T20:37:15.871Z] prd-centos7-docker-4c-2g-4844 does not seem to be running inside a container [2021-05-12T20:37:15.939Z] $ 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-96/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-96 -v /w/workspace/dgexfoundry_device-rest-go_PR-96:/w/workspace/dgexfoundry_device-rest-go_PR-96:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-96@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-96@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-12T20:37:20.558Z] $ docker top f5086090af7e5c0f71e732323ffc83757d9335060b4760fd7362cd269fa468f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:37:21.141Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-12T20:37:21.484Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-12T20:37:21.853Z] + ls /var/log/sa-host [2021-05-12T20:37:21.854Z] + sadf -c /var/log/sa-host/sa12 [2021-05-12T20:37:21.854Z] file_magic: OK [2021-05-12T20:37:21.854Z] HZ: Using current value: 100 [2021-05-12T20:37:21.854Z] file_header: OK [2021-05-12T20:37:21.854Z] 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-12T20:37:21.854Z] Statistics: [2021-05-12T20:37:21.854Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-12T20:37:21.854Z] File successfully converted to sysstat format version 12.2.1 [2021-05-12T20:37:21.854Z] + sadf -c /var/log/sa-host/sa23 [2021-05-12T20:37:21.854Z] file_magic: OK [2021-05-12T20:37:21.854Z] HZ: Using current value: 100 [2021-05-12T20:37:21.854Z] file_header: OK [2021-05-12T20:37:21.854Z] 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-12T20:37:21.854Z] Statistics: [2021-05-12T20:37:21.854Z] Hnuu...uuuununununu... [2021-05-12T20:37:21.854Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-12T20:37:22.018Z] provisioning config files... [2021-05-12T20:37:22.036Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-96@tmp/config2762509689572331485tmp [Pipeline] { [Pipeline] echo [2021-05-12T20:37:22.061Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:37:22.367Z] ---> create-netrc.sh [Pipeline] } [2021-05-12T20:37:22.378Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-12T20:37:22.404Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:37:22.728Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-12T20:37:22.751Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:37:23.074Z] ---> sudo-logs.sh [2021-05-12T20:37:23.074Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-12T20:37:23.103Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:37:23.421Z] ---> job-cost.sh [2021-05-12T20:37:23.421Z] lf-activate-venv: SKIPPING [2021-05-12T20:37:23.421Z] DEBUG: total: 0.20999999344348907 [2021-05-12T20:37:23.421Z] INFO: Retrieving Stack Cost... [2021-05-12T20:37:25.349Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T20:37:25.612Z] INFO: Archiving Costs [Pipeline] echo [2021-05-12T20:37:25.629Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:37:25.935Z] ---> logs-deploy.sh [2021-05-12T20:37:25.935Z] lf-activate-venv: SKIPPING [2021-05-12T20:37:25.935Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-96/2 [2021-05-12T20:37:25.935Z] INFO: archiving workspace using pattern(s): [2021-05-12T20:37:28.626Z] Archives upload complete. [2021-05-12T20:37:28.626Z] INFO: archiving logs to Nexus