Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 1e9cfc143a381fd03a181be6c6ca930955f09315+d1bfd12592bfcc37ebda2d741922e4b068f28a62 (226a99aba1e295e07abc2b36cb85aab44668f5e7) 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d45bb06fbd349d05c83df7b0a7176550fae40e6 # timeout=10 Commit message: "Merge pull request #295 from ernestojeda/always-docker-auth" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-11771 in /w/workspace/dgexfoundry_device-rest-go_PR-55 [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-55 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit d1bfd12592bfcc37ebda2d741922e4b068f28a62 into PR head commit 1e9cfc143a381fd03a181be6c6ca930955f09315 Merge succeeded, producing d95f158d9b0264ad1415a05a888bb698dd173d24 Checking out Revision d95f158d9b0264ad1415a05a888bb698dd173d24 (PR-55) > 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 --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/55/head:refs/remotes/origin/PR-55 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1e9cfc143a381fd03a181be6c6ca930955f09315 # 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 d1bfd12592bfcc37ebda2d741922e4b068f28a62 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d95f158d9b0264ad1415a05a888bb698dd173d24 # timeout=10 Commit message: "Merge commit 'd1bfd12592bfcc37ebda2d741922e4b068f28a62' into HEAD" > git rev-list --no-walk 1e9cfc143a381fd03a181be6c6ca930955f09315 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-10T23:08:00.354Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-10T23:08:00.795Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-10T23:08:00.962Z] ========================================================= [2020-11-10T23:08:00.962Z] EdgeX Global Pipelines Version Info [2020-11-10T23:08:00.962Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-10T23:08:03.139Z] ------------------- [2020-11-10T23:08:03.139Z] stable info: [2020-11-10T23:08:03.139Z] ------------------- [2020-11-10T23:08:03.139Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-10T23:08:03.139Z] Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [2020-11-10T23:08:03.139Z] Message: update stable to v1.0.162 [2020-11-10T23:08:03.716Z] ------------------- [2020-11-10T23:08:03.716Z] experimental info: [2020-11-10T23:08:03.716Z] ------------------- [2020-11-10T23:08:03.716Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-10T23:08:03.716Z] Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [2020-11-10T23:08:03.716Z] Message: update experimental to v1.0.162 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-10T23:08:04.109Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-11-10T23:08:04.212Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-11-10T23:08:04.316Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-10T23:08:04.417Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-10T23:08:04.518Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-10T23:08:04.615Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-10T23:08:04.713Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-10T23:08:04.857Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-10T23:08:04.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-10T23:08:05.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-10T23:08:05.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-10T23:08:05.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-11-10T23:08:05.420Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-10T23:08:05.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-10T23:08:05.622Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-10T23:08:05.720Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-10T23:08:05.819Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-10T23:08:05.917Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-10T23:08:06.013Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-10T23:08:06.113Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-10T23:08:06.213Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-10T23:08:06.316Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-10T23:08:06.418Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-10T23:08:06.512Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-10T23:08:06.610Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-10T23:08:06.737Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-10T23:08:06.839Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-55 [Pipeline] echo [2020-11-10T23:08:06.936Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-55 [Pipeline] echo [2020-11-10T23:08:07.028Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-55 [Pipeline] echo [2020-11-10T23:08:07.136Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d95f158d9b0264ad1415a05a888bb698dd173d24 [Pipeline] echo [2020-11-10T23:08:07.231Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d95f158 [Pipeline] echo [2020-11-10T23:08:07.328Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-10T23:08:07.510Z] provisioning config files... [2020-11-10T23:08:07.538Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-55@tmp/config7230961035129114511tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-10T23:08:07.912Z] ---> docker-login.sh [2020-11-10T23:08:07.912Z] nexus3.edgexfoundry.org:10001 [2020-11-10T23:08:08.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:08:08.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:08:08.437Z] Configure a credential helper to remove this warning. See [2020-11-10T23:08:08.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:08:08.437Z] [2020-11-10T23:08:08.437Z] Login Succeeded [2020-11-10T23:08:08.437Z] nexus3.edgexfoundry.org:10002 [2020-11-10T23:08:08.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:08:08.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:08:08.437Z] Configure a credential helper to remove this warning. See [2020-11-10T23:08:08.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:08:08.437Z] [2020-11-10T23:08:08.437Z] Login Succeeded [2020-11-10T23:08:08.437Z] nexus3.edgexfoundry.org:10003 [2020-11-10T23:08:08.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:08:08.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:08:08.699Z] Configure a credential helper to remove this warning. See [2020-11-10T23:08:08.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:08:08.699Z] [2020-11-10T23:08:08.699Z] Login Succeeded [2020-11-10T23:08:08.699Z] nexus3.edgexfoundry.org:10004 [2020-11-10T23:08:08.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:08:08.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:08:08.967Z] Configure a credential helper to remove this warning. See [2020-11-10T23:08:08.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:08:08.967Z] [2020-11-10T23:08:08.967Z] Login Succeeded [2020-11-10T23:08:08.967Z] docker.io [2020-11-10T23:08:08.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:08:09.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:08:09.230Z] Configure a credential helper to remove this warning. See [2020-11-10T23:08:09.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:08:09.230Z] [2020-11-10T23:08:09.230Z] Login Succeeded [2020-11-10T23:08:09.230Z] ---> docker-login.sh ends [Pipeline] } [2020-11-10T23:08:09.242Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-10T23:08:10.014Z] + git log --format=format:%s -1 d95f158d9b0264ad1415a05a888bb698dd173d24 [Pipeline] echo [2020-11-10T23:08:10.082Z] GIT_COMMIT: d95f158d9b0264ad1415a05a888bb698dd173d24, Commit Message: Merge commit 'd1bfd12592bfcc37ebda2d741922e4b068f28a62' into HEAD [Pipeline] echo [2020-11-10T23:08:10.151Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-10T23:08:12.010Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-10T23:08:12.010Z] [2020-11-10T23:08:12.010Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-10T23:08:12.392Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-10T23:08:12.393Z] latest: Pulling from edgex-devops/git-semver [2020-11-10T23:08:12.393Z] 31603596830f: Pulling fs layer [2020-11-10T23:08:12.393Z] 2a8b12db71e7: Pulling fs layer [2020-11-10T23:08:12.393Z] 6ca5941a6612: Pulling fs layer [2020-11-10T23:08:12.393Z] ecc8261a40a4: Pulling fs layer [2020-11-10T23:08:12.393Z] ecc8261a40a4: Waiting [2020-11-10T23:08:12.393Z] 2a8b12db71e7: Verifying Checksum [2020-11-10T23:08:12.393Z] 2a8b12db71e7: Download complete [2020-11-10T23:08:12.393Z] 31603596830f: Verifying Checksum [2020-11-10T23:08:12.393Z] 31603596830f: Download complete [2020-11-10T23:08:12.665Z] ecc8261a40a4: Verifying Checksum [2020-11-10T23:08:12.665Z] ecc8261a40a4: Download complete [2020-11-10T23:08:12.665Z] 6ca5941a6612: Verifying Checksum [2020-11-10T23:08:12.665Z] 6ca5941a6612: Download complete [2020-11-10T23:08:12.927Z] 31603596830f: Pull complete [2020-11-10T23:08:12.927Z] 2a8b12db71e7: Pull complete [2020-11-10T23:08:13.886Z] 6ca5941a6612: Pull complete [2020-11-10T23:08:14.149Z] ecc8261a40a4: Pull complete [2020-11-10T23:08:14.149Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-10T23:08:14.149Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-10T23:08:14.149Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-10T23:08:14.258Z] prd-centos7-docker-4c-2g-11771 does not seem to be running inside a container [2020-11-10T23:08:14.311Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-55 -v /w/workspace/dgexfoundry_device-rest-go_PR-55:/w/workspace/dgexfoundry_device-rest-go_PR-55:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-55@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-55@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-10T23:08:16.422Z] $ docker top bcbc20630df19e93c8a454172eb40c3e225160671b943a47773b01a5fd0d76e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-10T23:08:16.772Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-10T23:08:16.772Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-10T23:08:16.989Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-10T23:08:16.996Z] $ docker exec bcbc20630df19e93c8a454172eb40c3e225160671b943a47773b01a5fd0d76e3 ssh-agent [2020-11-10T23:08:17.156Z] SSH_AUTH_SOCK=/tmp/ssh-9tX6SrWnPfPd/agent.11 [2020-11-10T23:08:17.156Z] SSH_AGENT_PID=16 [2020-11-10T23:08:17.168Z] Running ssh-add (command line suppressed) [2020-11-10T23:08:17.294Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-55@tmp/private_key_7864437632615900277.key (/w/workspace/dgexfoundry_device-rest-go_PR-55@tmp/private_key_7864437632615900277.key) [2020-11-10T23:08:17.339Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-10T23:08:17.680Z] + git tag --points-at HEAD [Pipeline] } [2020-11-10T23:08:17.707Z] $ docker exec --env ******** --env ******** bcbc20630df19e93c8a454172eb40c3e225160671b943a47773b01a5fd0d76e3 ssh-agent -k [2020-11-10T23:08:17.826Z] unset SSH_AUTH_SOCK; [2020-11-10T23:08:17.826Z] unset SSH_AGENT_PID; [2020-11-10T23:08:17.826Z] echo Agent pid 16 killed; [2020-11-10T23:08:17.870Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-10T23:08:18.024Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-10T23:08:18.024Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-10T23:08:18.196Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-10T23:08:18.203Z] $ docker exec bcbc20630df19e93c8a454172eb40c3e225160671b943a47773b01a5fd0d76e3 ssh-agent [2020-11-10T23:08:18.360Z] SSH_AUTH_SOCK=/tmp/ssh-GzCRfWvzAXIA/agent.46 [2020-11-10T23:08:18.360Z] SSH_AGENT_PID=52 [2020-11-10T23:08:18.366Z] Running ssh-add (command line suppressed) [2020-11-10T23:08:18.488Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-55@tmp/private_key_7918135787173465356.key (/w/workspace/dgexfoundry_device-rest-go_PR-55@tmp/private_key_7918135787173465356.key) [2020-11-10T23:08:18.538Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-10T23:08:18.880Z] + git semver init [2020-11-10T23:08:18.880Z] # -> Open(): unable to determine branch for HEAD [2020-11-10T23:08:18.880Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-55/.git [2020-11-10T23:08:18.880Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-55 [2020-11-10T23:08:18.880Z] # $SEMVER_REMOTE_NAME = origin [2020-11-10T23:08:18.880Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-10T23:08:18.880Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-10T23:08:18.880Z] # $SEMVER_BRANCH = PR-55 [2020-11-10T23:08:18.880Z] # $SEMVER_TEMP = /tmp/semver-172232702 [2020-11-10T23:08:18.880Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-11-10T23:08:20.309Z] # '/tmp/semver-172232702' -> '/w/workspace/dgexfoundry_device-rest-go_PR-55/.semver' [2020-11-10T23:08:20.309Z] # -> Force: false [2020-11-10T23:08:20.309Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-55/.semver [Pipeline] } [2020-11-10T23:08:20.326Z] $ docker exec --env ******** --env ******** bcbc20630df19e93c8a454172eb40c3e225160671b943a47773b01a5fd0d76e3 ssh-agent -k [2020-11-10T23:08:20.447Z] unset SSH_AUTH_SOCK; [2020-11-10T23:08:20.447Z] unset SSH_AGENT_PID; [2020-11-10T23:08:20.447Z] echo Agent pid 52 killed; [2020-11-10T23:08:20.487Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-10T23:08:20.966Z] + git semver [Pipeline] } [2020-11-10T23:08:20.985Z] $ docker stop --time=1 bcbc20630df19e93c8a454172eb40c3e225160671b943a47773b01a5fd0d76e3 [2020-11-10T23:08:22.377Z] $ docker rm -f bcbc20630df19e93c8a454172eb40c3e225160671b943a47773b01a5fd0d76e3 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-10T23:08:22.912Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-10T23:08:23.319Z] Stashed 1 file(s) [Pipeline] echo [2020-11-10T23:08:23.322Z] [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 [2020-11-10T23:08:38.926Z] Still waiting to schedule task [2020-11-10T23:08:38.926Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-11771’ [2020-11-10T23:08:38.928Z] Still waiting to schedule task [2020-11-10T23:08:38.928Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-11-10T23:09:53.753Z] Running on prd-centos7-docker-4c-2g-11774 in /w/workspace/dgexfoundry_device-rest-go_PR-55 [Pipeline] { [Pipeline] ws [2020-11-10T23:09:53.805Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2020-11-10T23:09:56.615Z] using credential edgex-jenkins-ssh [2020-11-10T23:09:56.664Z] Cloning the remote Git repository [2020-11-10T23:09:56.558Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-11-10T23:09:56.643Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2020-11-10T23:09:56.699Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-10T23:09:56.700Z] > git --version # timeout=10 [2020-11-10T23:09:56.706Z] > git --version # 'git version 2.16.5' [2020-11-10T23:09:56.707Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-10T23:09:56.738Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-10T23:09:58.276Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-10T23:09:58.288Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-10T23:09:58.710Z] Merging remotes/origin/master commit d1bfd12592bfcc37ebda2d741922e4b068f28a62 into PR head commit 1e9cfc143a381fd03a181be6c6ca930955f09315 [2020-11-10T23:09:58.797Z] Merge succeeded, producing 9ce0df90734cfd8011078d23756cc52e21edf8ea [2020-11-10T23:09:58.798Z] Checking out Revision 9ce0df90734cfd8011078d23756cc52e21edf8ea (PR-55) [2020-11-10T23:09:58.301Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-10T23:09:58.317Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-10T23:09:58.317Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-10T23:09:58.321Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/55/head:refs/remotes/origin/PR-55 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-10T23:09:58.721Z] > git config core.sparsecheckout # timeout=10 [2020-11-10T23:09:58.728Z] > git checkout -f 1e9cfc143a381fd03a181be6c6ca930955f09315 # timeout=10 [2020-11-10T23:09:58.760Z] > git remote # timeout=10 [2020-11-10T23:09:58.766Z] > git config --get remote.origin.url # timeout=10 [2020-11-10T23:09:58.772Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-10T23:09:58.776Z] > git merge d1bfd12592bfcc37ebda2d741922e4b068f28a62 # timeout=10 [2020-11-10T23:09:58.793Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-10T23:09:58.803Z] > git config core.sparsecheckout # timeout=10 [2020-11-10T23:09:58.807Z] > git checkout -f 9ce0df90734cfd8011078d23756cc52e21edf8ea # timeout=10 [2020-11-10T23:10:02.455Z] Commit message: "Merge commit 'd1bfd12592bfcc37ebda2d741922e4b068f28a62' into HEAD" [2020-11-10T23:10:02.461Z] > git rev-list --no-walk 1e9cfc143a381fd03a181be6c6ca930955f09315 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-10T23:10:03.328Z] provisioning config files... [2020-11-10T23:10:03.367Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config72901330460882030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-10T23:10:04.054Z] ---> docker-login.sh [2020-11-10T23:10:04.054Z] nexus3.edgexfoundry.org:10001 [2020-11-10T23:10:04.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:10:04.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:10:04.601Z] Configure a credential helper to remove this warning. See [2020-11-10T23:10:04.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:10:04.601Z] [2020-11-10T23:10:04.601Z] Login Succeeded [2020-11-10T23:10:04.601Z] nexus3.edgexfoundry.org:10002 [2020-11-10T23:10:04.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:10:04.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:10:04.863Z] Configure a credential helper to remove this warning. See [2020-11-10T23:10:04.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:10:04.863Z] [2020-11-10T23:10:04.863Z] Login Succeeded [2020-11-10T23:10:04.863Z] nexus3.edgexfoundry.org:10003 [2020-11-10T23:10:04.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:10:04.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:10:04.863Z] Configure a credential helper to remove this warning. See [2020-11-10T23:10:04.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:10:04.863Z] [2020-11-10T23:10:04.863Z] Login Succeeded [2020-11-10T23:10:04.863Z] nexus3.edgexfoundry.org:10004 [2020-11-10T23:10:05.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:10:05.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:10:05.135Z] Configure a credential helper to remove this warning. See [2020-11-10T23:10:05.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:10:05.135Z] [2020-11-10T23:10:05.135Z] Login Succeeded [2020-11-10T23:10:05.135Z] docker.io [2020-11-10T23:10:05.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:10:05.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:10:05.398Z] Configure a credential helper to remove this warning. See [2020-11-10T23:10:05.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:10:05.398Z] [2020-11-10T23:10:05.398Z] Login Succeeded [2020-11-10T23:10:05.398Z] ---> docker-login.sh ends [Pipeline] } [2020-11-10T23:10:05.442Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-10T23:10:05.882Z] ========================================================= [2020-11-10T23:10:05.882Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-10T23:10:05.882Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-10T23:10:06.338Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-11-10T23:10:06.338Z] Sending build context to Docker daemon 79.87kB [2020-11-10T23:10:06.606Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-11-10T23:10:06.606Z] Step 2/10 : FROM ${BASE} [2020-11-10T23:10:06.606Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-10T23:10:06.606Z] df20fa9351a1: Pulling fs layer [2020-11-10T23:10:06.606Z] ed8968b2872e: Pulling fs layer [2020-11-10T23:10:06.606Z] a92cc7c5fd73: Pulling fs layer [2020-11-10T23:10:06.606Z] e871e8e8d7a9: Pulling fs layer [2020-11-10T23:10:06.606Z] e73272ec9a57: Pulling fs layer [2020-11-10T23:10:06.606Z] 1e910a182e73: Pulling fs layer [2020-11-10T23:10:06.606Z] 4e634b169226: Pulling fs layer [2020-11-10T23:10:06.606Z] e871e8e8d7a9: Waiting [2020-11-10T23:10:06.606Z] e73272ec9a57: Waiting [2020-11-10T23:10:06.606Z] 1e910a182e73: Waiting [2020-11-10T23:10:06.606Z] 4e634b169226: Waiting [2020-11-10T23:10:06.606Z] a92cc7c5fd73: Verifying Checksum [2020-11-10T23:10:06.606Z] a92cc7c5fd73: Download complete [2020-11-10T23:10:06.606Z] ed8968b2872e: Download complete [2020-11-10T23:10:06.606Z] e73272ec9a57: Verifying Checksum [2020-11-10T23:10:06.606Z] e73272ec9a57: Download complete [2020-11-10T23:10:06.606Z] df20fa9351a1: Verifying Checksum [2020-11-10T23:10:06.606Z] df20fa9351a1: Download complete [2020-11-10T23:10:06.606Z] 1e910a182e73: Verifying Checksum [2020-11-10T23:10:06.606Z] 1e910a182e73: Download complete [2020-11-10T23:10:06.874Z] df20fa9351a1: Pull complete [2020-11-10T23:10:07.137Z] ed8968b2872e: Pull complete [2020-11-10T23:10:07.137Z] a92cc7c5fd73: Pull complete [2020-11-10T23:10:09.707Z] 4e634b169226: Verifying Checksum [2020-11-10T23:10:09.707Z] 4e634b169226: Download complete [2020-11-10T23:10:09.974Z] e871e8e8d7a9: Verifying Checksum [2020-11-10T23:10:09.974Z] e871e8e8d7a9: Download complete [2020-11-10T23:10:15.322Z] e871e8e8d7a9: Pull complete [2020-11-10T23:10:15.589Z] e73272ec9a57: Pull complete [2020-11-10T23:10:15.589Z] 1e910a182e73: Pull complete [2020-11-10T23:10:20.918Z] 4e634b169226: Pull complete [2020-11-10T23:10:20.918Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-10T23:10:20.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-10T23:10:20.918Z] ---> f7629b54cfaa [2020-11-10T23:10:20.918Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-11-10T23:10:20.918Z] ---> Running in 57b2c535b0a1 [2020-11-10T23:10:20.918Z] Removing intermediate container 57b2c535b0a1 [2020-11-10T23:10:20.918Z] ---> 670b85192191 [2020-11-10T23:10:20.918Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-11-10T23:10:20.918Z] ---> Running in 03899a27ce6e [2020-11-10T23:10:20.918Z] Removing intermediate container 03899a27ce6e [2020-11-10T23:10:20.918Z] ---> e549f35e6fb0 [2020-11-10T23:10:20.918Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-10T23:10:21.184Z] ---> Running in 1d4bc1cb59e2 [2020-11-10T23:10:21.184Z] Removing intermediate container 1d4bc1cb59e2 [2020-11-10T23:10:21.184Z] ---> d937d59501a0 [2020-11-10T23:10:21.184Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-10T23:10:21.450Z] ---> Running in 8f38acc759c6 [2020-11-10T23:10:22.850Z] Removing intermediate container 8f38acc759c6 [2020-11-10T23:10:22.850Z] ---> b992c19fb7ea [2020-11-10T23:10:22.850Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-10T23:10:22.850Z] ---> Running in 899d234a83ad [2020-11-10T23:10:23.434Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-10T23:10:24.013Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-10T23:10:24.593Z] OK: 166 MiB in 39 packages [2020-11-10T23:10:25.170Z] Removing intermediate container 899d234a83ad [2020-11-10T23:10:25.170Z] ---> eb6355e35542 [2020-11-10T23:10:25.170Z] Step 8/10 : WORKDIR /device-rest-go [2020-11-10T23:10:25.170Z] ---> Running in 287c641e1984 [2020-11-10T23:10:25.433Z] Removing intermediate container 287c641e1984 [2020-11-10T23:10:25.433Z] ---> 734d401311c3 [2020-11-10T23:10:25.433Z] Step 9/10 : COPY . . [2020-11-10T23:10:25.697Z] ---> a88e2f695e71 [2020-11-10T23:10:25.697Z] Step 10/10 : RUN go mod download [2020-11-10T23:10:25.697Z] ---> Running in bd3244f657fb [2020-11-10T23:10:47.717Z] Removing intermediate container bd3244f657fb [2020-11-10T23:10:47.717Z] ---> a220d88a8aa3 [2020-11-10T23:10:47.717Z] Successfully built a220d88a8aa3 [2020-11-10T23:10:47.717Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-10T23:10:48.042Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-10T23:10:48.042Z] . [Pipeline] withDockerContainer [2020-11-10T23:10:48.159Z] prd-centos7-docker-4c-2g-11774 does not seem to be running inside a container [2020-11-10T23:10:48.219Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-10T23:10:48.970Z] $ docker top a660e9a344fbd62300f633d2b8b524bb8bc35db1349a3ebf03f27f4ba6fed33a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-10T23:10:49.517Z] + go version [2020-11-10T23:10:49.517Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-10T23:10:49.534Z] $ docker stop --time=1 a660e9a344fbd62300f633d2b8b524bb8bc35db1349a3ebf03f27f4ba6fed33a [2020-11-10T23:10:50.904Z] $ docker rm -f a660e9a344fbd62300f633d2b8b524bb8bc35db1349a3ebf03f27f4ba6fed33a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-10T23:10:51.801Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-10T23:10:51.801Z] . [Pipeline] withDockerContainer [2020-11-10T23:10:51.930Z] prd-centos7-docker-4c-2g-11774 does not seem to be running inside a container [2020-11-10T23:10:51.986Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-10T23:10:52.667Z] $ docker top e15de2d3d8fdadd45e24efe3e360e360fb48c35546a551e32ba80ddebeb1637b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-10T23:10:53.162Z] + make test [2020-11-10T23:10:53.162Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-11-10T23:10:53.748Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-11-10T23:11:06.173Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-11-10T23:11:06.173Z] ok github.com/edgexfoundry/device-rest-go/driver 0.076s coverage: 56.3% of statements [2020-11-10T23:11:06.173Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-10T23:11:07.588Z] gofmt -l . [2020-11-10T23:11:07.588Z] [ "`gofmt -l .`" = "" ] [2020-11-10T23:11:07.588Z] ./bin/test-go-mod-tidy.sh [2020-11-10T23:11:07.851Z] ./bin/test-attribution-txt.sh [Pipeline] } [2020-11-10T23:11:08.133Z] $ docker stop --time=1 e15de2d3d8fdadd45e24efe3e360e360fb48c35546a551e32ba80ddebeb1637b [2020-11-10T23:11:10.203Z] $ docker rm -f e15de2d3d8fdadd45e24efe3e360e360fb48c35546a551e32ba80ddebeb1637b [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-10T23:11:10.934Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-10T23:11:11.290Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-11-10T23:11:15.051Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-10T23:11:15.360Z] + ls -al . [2020-11-10T23:11:15.360Z] total 96 [2020-11-10T23:11:15.360Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 10 23:11 . [2020-11-10T23:11:15.360Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 10 23:09 .. [2020-11-10T23:11:15.360Z] -rw-rw-r--. 1 jenkins jenkins 5294 Nov 10 23:09 Attribution.txt [2020-11-10T23:11:15.360Z] drwxrwxr-x. 2 jenkins jenkins 64 Nov 10 23:09 bin [2020-11-10T23:11:15.360Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 10 23:09 cmd [2020-11-10T23:11:15.360Z] -rw-r--r--. 1 jenkins jenkins 9369 Nov 10 23:11 coverage.out [2020-11-10T23:11:15.360Z] -rw-rw-r--. 1 jenkins jenkins 1519 Nov 10 23:09 Dockerfile [2020-11-10T23:11:15.360Z] -rw-rw-r--. 1 jenkins jenkins 989 Nov 10 23:09 Dockerfile.build [2020-11-10T23:11:15.360Z] -rw-rw-r--. 1 jenkins jenkins 151 Nov 10 23:09 .dockerignore [2020-11-10T23:11:15.360Z] drwxrwxr-x. 2 jenkins jenkins 93 Nov 10 23:11 driver [2020-11-10T23:11:15.360Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 10 23:10 .git [2020-11-10T23:11:15.360Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 10 23:09 .github [2020-11-10T23:11:15.360Z] -rw-rw-r--. 1 jenkins jenkins 339 Nov 10 23:09 .gitignore [2020-11-10T23:11:15.360Z] -rw-r--r--. 1 jenkins jenkins 274 Nov 10 23:11 go.mod [2020-11-10T23:11:15.360Z] -rw-r--r--. 1 jenkins jenkins 13804 Nov 10 23:11 go.sum [2020-11-10T23:11:15.360Z] -rw-rw-r--. 1 jenkins jenkins 680 Nov 10 23:09 Jenkinsfile [2020-11-10T23:11:15.360Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 10 23:09 LICENSE [2020-11-10T23:11:15.360Z] -rw-rw-r--. 1 jenkins jenkins 951 Nov 10 23:09 Makefile [2020-11-10T23:11:15.360Z] -rw-rw-r--. 1 jenkins jenkins 5917 Nov 10 23:09 README.md [2020-11-10T23:11:15.360Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 10 23:09 snap [2020-11-10T23:11:15.360Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 10 23:08 VERSION [2020-11-10T23:11:15.360Z] -rw-rw-r--. 1 jenkins jenkins 713 Nov 10 23:09 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-10T23:11:15.678Z] + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=d95f158d9b0264ad1415a05a888bb698dd173d24 --label arch=amd64 --label version=0.0.0 . [2020-11-10T23:11:15.678Z] Sending build context to Docker daemon 91.65kB [2020-11-10T23:11:15.943Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-11-10T23:11:15.943Z] Step 2/25 : FROM ${BASE} AS builder [2020-11-10T23:11:15.943Z] ---> a220d88a8aa3 [2020-11-10T23:11:15.943Z] Step 3/25 : ARG MAKE='make build' [2020-11-10T23:11:15.943Z] ---> Running in 15c1f8a59ff3 [2020-11-10T23:11:16.209Z] Removing intermediate container 15c1f8a59ff3 [2020-11-10T23:11:16.209Z] ---> 0038d0a50df1 [2020-11-10T23:11:16.209Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-11-10T23:11:16.209Z] ---> Running in 7bbde6c5d662 [2020-11-10T23:11:16.209Z] Removing intermediate container 7bbde6c5d662 [2020-11-10T23:11:16.209Z] ---> 2e3a45b10783 [2020-11-10T23:11:16.209Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-11-10T23:11:16.488Z] ---> Running in cb50ee2b1c26 [2020-11-10T23:11:16.488Z] Removing intermediate container cb50ee2b1c26 [2020-11-10T23:11:16.488Z] ---> 24d61c70ceb0 [2020-11-10T23:11:16.488Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-10T23:11:16.488Z] ---> Running in 1f5e9ecb10b9 [2020-11-10T23:11:17.440Z] Removing intermediate container 1f5e9ecb10b9 [2020-11-10T23:11:17.440Z] ---> d78813f923a6 [2020-11-10T23:11:17.440Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-10T23:11:17.707Z] ---> Running in 908b77070d77 [2020-11-10T23:11:17.973Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-10T23:11:18.930Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-10T23:11:19.509Z] OK: 166 MiB in 39 packages [2020-11-10T23:11:19.771Z] Removing intermediate container 908b77070d77 [2020-11-10T23:11:19.771Z] ---> a1d0fc8fdf5b [2020-11-10T23:11:19.771Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-11-10T23:11:19.771Z] ---> Running in 155d1881be67 [2020-11-10T23:11:20.035Z] Removing intermediate container 155d1881be67 [2020-11-10T23:11:20.035Z] ---> 459e8ba571db [2020-11-10T23:11:20.035Z] Step 9/25 : COPY go.mod . [2020-11-10T23:11:20.299Z] ---> 61abc5001432 [2020-11-10T23:11:20.299Z] Step 10/25 : COPY Makefile . [2020-11-10T23:11:20.562Z] ---> cf6efb90051b [2020-11-10T23:11:20.562Z] Step 11/25 : RUN make update [2020-11-10T23:11:20.562Z] ---> Running in 1852f3d2859d [2020-11-10T23:11:21.145Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-11-10T23:11:21.411Z] Removing intermediate container 1852f3d2859d [2020-11-10T23:11:21.411Z] ---> 31b8e6901ff7 [2020-11-10T23:11:21.411Z] Step 12/25 : COPY . . [2020-11-10T23:11:21.692Z] ---> 0021c2832885 [2020-11-10T23:11:21.692Z] Step 13/25 : RUN $MAKE [2020-11-10T23:11:21.692Z] ---> Running in 026a9445cda5 [2020-11-10T23:11:22.274Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2020-11-10T23:11:34.629Z] Removing intermediate container 026a9445cda5 [2020-11-10T23:11:34.629Z] ---> 6206ea4382f3 [2020-11-10T23:11:34.629Z] Step 14/25 : FROM alpine:latest [2020-11-10T23:11:34.630Z] latest: Pulling from library/alpine [2020-11-10T23:11:34.630Z] 188c0c94c7c5: Pulling fs layer [2020-11-10T23:11:34.630Z] 188c0c94c7c5: Verifying Checksum [2020-11-10T23:11:34.630Z] 188c0c94c7c5: Download complete [2020-11-10T23:11:34.630Z] 188c0c94c7c5: Pull complete [2020-11-10T23:11:34.630Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-10T23:11:34.630Z] Status: Downloaded newer image for alpine:latest [2020-11-10T23:11:34.630Z] ---> d6e46aa2470d [2020-11-10T23:11:34.630Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-10T23:11:34.630Z] ---> Running in 390f3cd5ecc6 [2020-11-10T23:11:34.630Z] Removing intermediate container 390f3cd5ecc6 [2020-11-10T23:11:34.630Z] ---> 5eb112a80df3 [2020-11-10T23:11:34.630Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-11-10T23:11:34.630Z] ---> Running in f2630301d0d3 [2020-11-10T23:11:34.630Z] Removing intermediate container f2630301d0d3 [2020-11-10T23:11:34.630Z] ---> f53b856e1c4d [2020-11-10T23:11:34.630Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-11-10T23:11:34.630Z] ---> e003451a6065 [2020-11-10T23:11:34.630Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-11-10T23:11:34.894Z] ---> 5c8b3b8d320f [2020-11-10T23:11:34.894Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-11-10T23:11:35.481Z] ---> 42c8fcb12ddb [2020-11-10T23:11:35.481Z] Step 20/25 : EXPOSE 49986 [2020-11-10T23:11:35.481Z] ---> Running in ea3022e17c8c [2020-11-10T23:11:35.481Z] Removing intermediate container ea3022e17c8c [2020-11-10T23:11:35.481Z] ---> 185104d7c3c6 [2020-11-10T23:11:35.481Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-11-10T23:11:35.481Z] ---> Running in cd664d64cb92 [2020-11-10T23:11:35.743Z] Removing intermediate container cd664d64cb92 [2020-11-10T23:11:35.743Z] ---> 96bd5109e1be [2020-11-10T23:11:35.743Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-11-10T23:11:35.743Z] ---> Running in 7a129d15598f [2020-11-10T23:11:36.008Z] Removing intermediate container 7a129d15598f [2020-11-10T23:11:36.008Z] ---> d009bb09bbaa [2020-11-10T23:11:36.008Z] Step 23/25 : LABEL arch=amd64 [2020-11-10T23:11:36.008Z] ---> Running in eb3c8b49a080 [2020-11-10T23:11:36.008Z] Removing intermediate container eb3c8b49a080 [2020-11-10T23:11:36.008Z] ---> 698ee6bd2786 [2020-11-10T23:11:36.008Z] Step 24/25 : LABEL git_sha=d95f158d9b0264ad1415a05a888bb698dd173d24 [2020-11-10T23:11:36.271Z] ---> Running in 2fea4cd35433 [2020-11-10T23:11:36.271Z] Removing intermediate container 2fea4cd35433 [2020-11-10T23:11:36.271Z] ---> 9d10733adff6 [2020-11-10T23:11:36.271Z] Step 25/25 : LABEL version=0.0.0 [2020-11-10T23:11:36.271Z] ---> Running in 3c01c1ebafae [2020-11-10T23:11:36.532Z] Removing intermediate container 3c01c1ebafae [2020-11-10T23:11:36.532Z] ---> cc0fd9d6ef73 [2020-11-10T23:11:36.532Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-10T23:11:36.532Z] Successfully built cc0fd9d6ef73 [2020-11-10T23:11:36.532Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-11-10T23:11:54.158Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-11776 in /w/workspace/dgexfoundry_device-rest-go_PR-55 [Pipeline] { [Pipeline] ws [2020-11-10T23:11:54.219Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2020-11-10T23:11:59.383Z] using credential edgex-jenkins-ssh [2020-11-10T23:11:59.445Z] Cloning the remote Git repository [2020-11-10T23:11:59.503Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-11-10T23:11:59.614Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2020-11-10T23:11:59.686Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-10T23:11:59.689Z] > git --version # timeout=10 [2020-11-10T23:11:59.706Z] > git --version # 'git version 2.17.1' [2020-11-10T23:11:59.708Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-10T23:11:59.782Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-10T23:12:01.968Z] Merging remotes/origin/master commit d1bfd12592bfcc37ebda2d741922e4b068f28a62 into PR head commit 1e9cfc143a381fd03a181be6c6ca930955f09315 [2020-11-10T23:12:01.312Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-10T23:12:01.337Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-10T23:12:01.362Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-10T23:12:01.397Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-10T23:12:01.398Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-10T23:12:01.416Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/55/head:refs/remotes/origin/PR-55 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-10T23:12:01.996Z] > git config core.sparsecheckout # timeout=10 [2020-11-10T23:12:02.010Z] > git checkout -f 1e9cfc143a381fd03a181be6c6ca930955f09315 # timeout=10 [2020-11-10T23:12:02.248Z] Merge succeeded, producing ee6b607195ad5bd1d41acff29762b0f402887deb [2020-11-10T23:12:02.249Z] Checking out Revision ee6b607195ad5bd1d41acff29762b0f402887deb (PR-55) [2020-11-10T23:12:02.093Z] > git remote # timeout=10 [2020-11-10T23:12:02.111Z] > git config --get remote.origin.url # timeout=10 [2020-11-10T23:12:02.164Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-10T23:12:02.177Z] > git merge d1bfd12592bfcc37ebda2d741922e4b068f28a62 # timeout=10 [2020-11-10T23:12:02.223Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-10T23:12:02.262Z] > git config core.sparsecheckout # timeout=10 [2020-11-10T23:12:02.287Z] > git checkout -f ee6b607195ad5bd1d41acff29762b0f402887deb # timeout=10 [2020-11-10T23:12:06.682Z] Commit message: "Merge commit 'd1bfd12592bfcc37ebda2d741922e4b068f28a62' into HEAD" [2020-11-10T23:12:06.696Z] > git rev-list --no-walk 1e9cfc143a381fd03a181be6c6ca930955f09315 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-10T23:12:07.482Z] provisioning config files... [2020-11-10T23:12:07.526Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config3539566098588746430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-10T23:12:08.604Z] ---> docker-login.sh [2020-11-10T23:12:08.604Z] nexus3.edgexfoundry.org:10001 [2020-11-10T23:12:09.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:12:09.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:12:09.838Z] Configure a credential helper to remove this warning. See [2020-11-10T23:12:09.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:12:09.838Z] [2020-11-10T23:12:09.838Z] Login Succeeded [2020-11-10T23:12:09.838Z] nexus3.edgexfoundry.org:10002 [2020-11-10T23:12:10.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:12:10.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:12:10.387Z] Configure a credential helper to remove this warning. See [2020-11-10T23:12:10.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:12:10.387Z] [2020-11-10T23:12:10.387Z] Login Succeeded [2020-11-10T23:12:10.387Z] nexus3.edgexfoundry.org:10003 [2020-11-10T23:12:10.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:12:10.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:12:10.949Z] Configure a credential helper to remove this warning. See [2020-11-10T23:12:10.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:12:10.949Z] [2020-11-10T23:12:10.949Z] Login Succeeded [2020-11-10T23:12:10.949Z] nexus3.edgexfoundry.org:10004 [2020-11-10T23:12:11.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:12:11.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:12:11.552Z] Configure a credential helper to remove this warning. See [2020-11-10T23:12:11.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:12:11.552Z] [2020-11-10T23:12:11.552Z] Login Succeeded [2020-11-10T23:12:11.552Z] docker.io [2020-11-10T23:12:12.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:12:12.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:12:12.428Z] Configure a credential helper to remove this warning. See [2020-11-10T23:12:12.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:12:12.428Z] [2020-11-10T23:12:12.428Z] Login Succeeded [2020-11-10T23:12:12.428Z] ---> docker-login.sh ends [Pipeline] } [2020-11-10T23:12:12.500Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-10T23:12:12.948Z] ========================================================= [2020-11-10T23:12:12.948Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-10T23:12:12.948Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-10T23:12:13.341Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-11-10T23:12:13.341Z] Sending build context to Docker daemon 79.87kB [2020-11-10T23:12:13.620Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-11-10T23:12:13.620Z] Step 2/10 : FROM ${BASE} [2020-11-10T23:12:13.895Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-10T23:12:13.895Z] b538f80385f9: Pulling fs layer [2020-11-10T23:12:13.895Z] 74f711af9a0d: Pulling fs layer [2020-11-10T23:12:13.895Z] 99f96fe45779: Pulling fs layer [2020-11-10T23:12:13.895Z] 8529a6b9a6be: Pulling fs layer [2020-11-10T23:12:13.895Z] 45590311c82a: Pulling fs layer [2020-11-10T23:12:13.895Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-10T23:12:13.895Z] 209524e5b208: Pulling fs layer [2020-11-10T23:12:13.895Z] 8529a6b9a6be: Waiting [2020-11-10T23:12:13.895Z] 45590311c82a: Waiting [2020-11-10T23:12:13.895Z] 69ca0ff8b7b3: Waiting [2020-11-10T23:12:13.895Z] 209524e5b208: Waiting [2020-11-10T23:12:13.895Z] 99f96fe45779: Verifying Checksum [2020-11-10T23:12:13.895Z] 99f96fe45779: Download complete [2020-11-10T23:12:13.895Z] 74f711af9a0d: Verifying Checksum [2020-11-10T23:12:13.895Z] 74f711af9a0d: Download complete [2020-11-10T23:12:13.895Z] 45590311c82a: Verifying Checksum [2020-11-10T23:12:13.895Z] 45590311c82a: Download complete [2020-11-10T23:12:13.895Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-10T23:12:13.895Z] 69ca0ff8b7b3: Download complete [2020-11-10T23:12:13.895Z] b538f80385f9: Download complete [2020-11-10T23:12:14.505Z] b538f80385f9: Pull complete [2020-11-10T23:12:15.166Z] 74f711af9a0d: Pull complete [2020-11-10T23:12:15.776Z] 99f96fe45779: Pull complete [2020-11-10T23:12:17.227Z] 209524e5b208: Verifying Checksum [2020-11-10T23:12:17.227Z] 209524e5b208: Download complete [2020-11-10T23:12:17.829Z] 8529a6b9a6be: Verifying Checksum [2020-11-10T23:12:17.829Z] 8529a6b9a6be: Download complete [2020-11-10T23:12:28.035Z] 8529a6b9a6be: Pull complete [2020-11-10T23:12:28.035Z] 45590311c82a: Pull complete [2020-11-10T23:12:28.311Z] 69ca0ff8b7b3: Pull complete [2020-11-10T23:12:31.733Z] 209524e5b208: Pull complete [2020-11-10T23:12:31.733Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-10T23:12:31.733Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-10T23:12:31.733Z] ---> 5bddaf1c2fca [2020-11-10T23:12:31.733Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-11-10T23:12:34.365Z] ---> Running in b7da5968b882 [2020-11-10T23:12:34.678Z] Removing intermediate container b7da5968b882 [2020-11-10T23:12:34.678Z] ---> 97d7bc03bf67 [2020-11-10T23:12:34.678Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-11-10T23:12:34.678Z] ---> Running in a27e333d37fc [2020-11-10T23:12:35.320Z] Removing intermediate container a27e333d37fc [2020-11-10T23:12:35.320Z] ---> ad2b29073372 [2020-11-10T23:12:35.320Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-10T23:12:35.320Z] ---> Running in 89f2387f4bdc [2020-11-10T23:12:35.950Z] Removing intermediate container 89f2387f4bdc [2020-11-10T23:12:35.950Z] ---> d22147897f4f [2020-11-10T23:12:35.950Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-10T23:12:35.950Z] ---> Running in 6635d9c06a86 [2020-11-10T23:12:38.602Z] Removing intermediate container 6635d9c06a86 [2020-11-10T23:12:38.602Z] ---> ac770201311b [2020-11-10T23:12:38.602Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-10T23:12:38.883Z] ---> Running in 71f5a96db49b [2020-11-10T23:12:40.322Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-10T23:12:40.918Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-10T23:12:41.897Z] OK: 142 MiB in 39 packages [2020-11-10T23:12:42.882Z] Removing intermediate container 71f5a96db49b [2020-11-10T23:12:42.882Z] ---> 206369a2fa9f [2020-11-10T23:12:42.882Z] Step 8/10 : WORKDIR /device-rest-go [2020-11-10T23:12:43.158Z] ---> Running in 8019e7484301 [2020-11-10T23:12:43.753Z] Removing intermediate container 8019e7484301 [2020-11-10T23:12:43.753Z] ---> 801c07201dfc [2020-11-10T23:12:43.753Z] Step 9/10 : COPY . . [2020-11-10T23:12:44.369Z] ---> d972b46b40cb [2020-11-10T23:12:44.369Z] Step 10/10 : RUN go mod download [2020-11-10T23:12:44.654Z] ---> Running in 4945896b8b90 [2020-11-10T23:13:06.978Z] Removing intermediate container 4945896b8b90 [2020-11-10T23:13:06.978Z] ---> 811ae94bf495 [2020-11-10T23:13:06.978Z] Successfully built 811ae94bf495 [2020-11-10T23:13:06.978Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-10T23:13:07.329Z] + docker inspect -f . ci-base-image-arm64 [2020-11-10T23:13:07.329Z] . [Pipeline] withDockerContainer [2020-11-10T23:13:07.568Z] prd-ubuntu18.04-docker-arm64-4c-16g-11776 does not seem to be running inside a container [2020-11-10T23:13:07.664Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-10T23:13:09.397Z] $ docker top 6702dd2d33256f092583be0fe376424bd342d54fef75ae367ad7a407456e5b78 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-10T23:13:10.839Z] + go version [2020-11-10T23:13:10.839Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-10T23:13:10.872Z] $ docker stop --time=1 6702dd2d33256f092583be0fe376424bd342d54fef75ae367ad7a407456e5b78 [2020-11-10T23:13:12.875Z] $ docker rm -f 6702dd2d33256f092583be0fe376424bd342d54fef75ae367ad7a407456e5b78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-10T23:13:13.905Z] + docker inspect -f . ci-base-image-arm64 [2020-11-10T23:13:13.905Z] . [Pipeline] withDockerContainer [2020-11-10T23:13:14.223Z] prd-ubuntu18.04-docker-arm64-4c-16g-11776 does not seem to be running inside a container [2020-11-10T23:13:14.321Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-10T23:13:16.249Z] $ docker top 1e4cb7d9637651aca70e4ab79e925bb29b69a223987f74444319b71a36bc8cab -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-10T23:13:17.652Z] + make test [2020-11-10T23:13:17.652Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-11-10T23:13:18.636Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-11-10T23:13:57.694Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-11-10T23:13:57.694Z] ok github.com/edgexfoundry/device-rest-go/driver 0.045s coverage: 56.3% of statements [2020-11-10T23:13:57.694Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-10T23:14:01.101Z] gofmt -l . [2020-11-10T23:14:01.101Z] [ "`gofmt -l .`" = "" ] [2020-11-10T23:14:01.101Z] ./bin/test-go-mod-tidy.sh [2020-11-10T23:14:01.101Z] ./bin/test-attribution-txt.sh [Pipeline] } [2020-11-10T23:14:02.117Z] $ docker stop --time=1 1e4cb7d9637651aca70e4ab79e925bb29b69a223987f74444319b71a36bc8cab [2020-11-10T23:14:04.563Z] $ docker rm -f 1e4cb7d9637651aca70e4ab79e925bb29b69a223987f74444319b71a36bc8cab [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-10T23:14:05.478Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-10T23:14:05.498Z] Warning: overwriting stash ‘coverage-report’ [2020-11-10T23:14:06.287Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-10T23:14:07.130Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-10T23:14:07.554Z] + ls -al . [2020-11-10T23:14:07.554Z] total 124 [2020-11-10T23:14:07.554Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 23:14 . [2020-11-10T23:14:07.554Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 23:11 .. [2020-11-10T23:14:07.554Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 10 23:12 .dockerignore [2020-11-10T23:14:07.554Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 23:12 .git [2020-11-10T23:14:07.554Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 23:12 .github [2020-11-10T23:14:07.554Z] -rw-rw-r-- 1 jenkins jenkins 339 Nov 10 23:12 .gitignore [2020-11-10T23:14:07.554Z] -rw-rw-r-- 1 jenkins jenkins 5294 Nov 10 23:12 Attribution.txt [2020-11-10T23:14:07.554Z] -rw-rw-r-- 1 jenkins jenkins 1519 Nov 10 23:12 Dockerfile [2020-11-10T23:14:07.554Z] -rw-rw-r-- 1 jenkins jenkins 989 Nov 10 23:12 Dockerfile.build [2020-11-10T23:14:07.554Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 10 23:12 Jenkinsfile [2020-11-10T23:14:07.554Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 10 23:12 LICENSE [2020-11-10T23:14:07.554Z] -rw-rw-r-- 1 jenkins jenkins 951 Nov 10 23:12 Makefile [2020-11-10T23:14:07.554Z] -rw-rw-r-- 1 jenkins jenkins 5917 Nov 10 23:12 README.md [2020-11-10T23:14:07.554Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 23:08 VERSION [2020-11-10T23:14:07.554Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 23:12 bin [2020-11-10T23:14:07.554Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 23:12 cmd [2020-11-10T23:14:07.554Z] -rw-r--r-- 1 jenkins jenkins 9369 Nov 10 23:13 coverage.out [2020-11-10T23:14:07.554Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 23:13 driver [2020-11-10T23:14:07.554Z] -rw-r--r-- 1 jenkins jenkins 274 Nov 10 23:14 go.mod [2020-11-10T23:14:07.554Z] -rw-r--r-- 1 jenkins jenkins 13804 Nov 10 23:14 go.sum [2020-11-10T23:14:07.554Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 23:12 snap [2020-11-10T23:14:07.554Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 10 23:12 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-10T23:14:07.940Z] + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d95f158d9b0264ad1415a05a888bb698dd173d24 --label arch=arm64 --label version=0.0.0 . [2020-11-10T23:14:07.940Z] Sending build context to Docker daemon 91.65kB [2020-11-10T23:14:08.222Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-11-10T23:14:08.222Z] Step 2/25 : FROM ${BASE} AS builder [2020-11-10T23:14:08.222Z] ---> 811ae94bf495 [2020-11-10T23:14:08.222Z] Step 3/25 : ARG MAKE='make build' [2020-11-10T23:14:08.504Z] ---> Running in da72be1afc18 [2020-11-10T23:14:09.106Z] Removing intermediate container da72be1afc18 [2020-11-10T23:14:09.106Z] ---> d551641a05d6 [2020-11-10T23:14:09.106Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-11-10T23:14:09.106Z] ---> Running in af45a5ffa8b6 [2020-11-10T23:14:09.699Z] Removing intermediate container af45a5ffa8b6 [2020-11-10T23:14:09.699Z] ---> db0f51976e97 [2020-11-10T23:14:09.699Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-11-10T23:14:09.699Z] ---> Running in e3a645fedc28 [2020-11-10T23:14:10.293Z] Removing intermediate container e3a645fedc28 [2020-11-10T23:14:10.293Z] ---> f710f0828b0d [2020-11-10T23:14:10.293Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-10T23:14:10.293Z] ---> Running in 8956034d0f74 [2020-11-10T23:14:12.920Z] Removing intermediate container 8956034d0f74 [2020-11-10T23:14:12.920Z] ---> 068c207beef6 [2020-11-10T23:14:12.920Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-10T23:14:12.920Z] ---> Running in d0ebd958c65b [2020-11-10T23:14:14.355Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-10T23:14:14.947Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-10T23:14:15.542Z] OK: 142 MiB in 39 packages [2020-11-10T23:14:16.526Z] Removing intermediate container d0ebd958c65b [2020-11-10T23:14:16.526Z] ---> 64d005ceca43 [2020-11-10T23:14:16.526Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-11-10T23:14:16.806Z] ---> Running in 8a482545753b [2020-11-10T23:14:17.402Z] Removing intermediate container 8a482545753b [2020-11-10T23:14:17.402Z] ---> e6b7a9072c74 [2020-11-10T23:14:17.402Z] Step 9/25 : COPY go.mod . [2020-11-10T23:14:17.998Z] ---> d395a53f1387 [2020-11-10T23:14:17.998Z] Step 10/25 : COPY Makefile . [2020-11-10T23:14:18.593Z] ---> b4103e400b43 [2020-11-10T23:14:18.593Z] Step 11/25 : RUN make update [2020-11-10T23:14:18.593Z] ---> Running in 83559eee7141 [2020-11-10T23:14:20.596Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-11-10T23:14:21.577Z] Removing intermediate container 83559eee7141 [2020-11-10T23:14:21.577Z] ---> 628b20c98d1e [2020-11-10T23:14:21.577Z] Step 12/25 : COPY . . [2020-11-10T23:14:22.179Z] ---> 9497c1d0b069 [2020-11-10T23:14:22.179Z] Step 13/25 : RUN $MAKE [2020-11-10T23:14:22.453Z] ---> Running in 2e65935654e2 [2020-11-10T23:14:23.888Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2020-11-10T23:14:56.317Z] Removing intermediate container 2e65935654e2 [2020-11-10T23:14:56.317Z] ---> f15ecef2f97c [2020-11-10T23:14:56.317Z] Step 14/25 : FROM alpine:latest [2020-11-10T23:14:56.317Z] latest: Pulling from library/alpine [2020-11-10T23:14:56.317Z] 5f621e34cdf4: Pulling fs layer [2020-11-10T23:14:56.317Z] 5f621e34cdf4: Verifying Checksum [2020-11-10T23:14:56.317Z] 5f621e34cdf4: Download complete [2020-11-10T23:14:56.317Z] 5f621e34cdf4: Pull complete [2020-11-10T23:14:56.317Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-10T23:14:56.317Z] Status: Downloaded newer image for alpine:latest [2020-11-10T23:14:56.317Z] ---> 2e77e061c27f [2020-11-10T23:14:56.317Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-10T23:14:56.317Z] ---> Running in 38a03961987a [2020-11-10T23:14:56.317Z] Removing intermediate container 38a03961987a [2020-11-10T23:14:56.317Z] ---> 7133edc20fed [2020-11-10T23:14:56.317Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-11-10T23:14:56.317Z] ---> Running in 4236f5874ea3 [2020-11-10T23:14:56.317Z] Removing intermediate container 4236f5874ea3 [2020-11-10T23:14:56.317Z] ---> 8e9e2c011ea9 [2020-11-10T23:14:56.317Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-11-10T23:14:56.317Z] ---> 0e9af53d63f0 [2020-11-10T23:14:56.317Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-11-10T23:14:56.317Z] ---> b8182d4c6d2e [2020-11-10T23:14:56.317Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-11-10T23:14:57.302Z] ---> 008aa914a8c8 [2020-11-10T23:14:57.302Z] Step 20/25 : EXPOSE 49986 [2020-11-10T23:14:57.302Z] ---> Running in c77f7235fe39 [2020-11-10T23:14:57.905Z] Removing intermediate container c77f7235fe39 [2020-11-10T23:14:57.905Z] ---> cf3866ccfb64 [2020-11-10T23:14:57.905Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-11-10T23:14:57.905Z] ---> Running in 2928785c1bdd [2020-11-10T23:14:58.500Z] Removing intermediate container 2928785c1bdd [2020-11-10T23:14:58.500Z] ---> 547cf82126fe [2020-11-10T23:14:58.500Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-11-10T23:14:58.500Z] ---> Running in 1f17fe621b68 [2020-11-10T23:14:59.101Z] Removing intermediate container 1f17fe621b68 [2020-11-10T23:14:59.101Z] ---> c9a775cb87c4 [2020-11-10T23:14:59.101Z] Step 23/25 : LABEL arch=arm64 [2020-11-10T23:14:59.101Z] ---> Running in cd1a4d5b0a92 [2020-11-10T23:14:59.700Z] Removing intermediate container cd1a4d5b0a92 [2020-11-10T23:14:59.700Z] ---> 0d2861a6f557 [2020-11-10T23:14:59.700Z] Step 24/25 : LABEL git_sha=d95f158d9b0264ad1415a05a888bb698dd173d24 [2020-11-10T23:14:59.986Z] ---> Running in ca8ef316b7f0 [2020-11-10T23:15:00.267Z] Removing intermediate container ca8ef316b7f0 [2020-11-10T23:15:00.267Z] ---> 1f6a004de5cc [2020-11-10T23:15:00.267Z] Step 25/25 : LABEL version=0.0.0 [2020-11-10T23:15:00.542Z] ---> Running in d8b97150c198 [2020-11-10T23:15:00.815Z] Removing intermediate container d8b97150c198 [2020-11-10T23:15:00.815Z] ---> 9eb8062baa4c [2020-11-10T23:15:00.815Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-10T23:15:00.815Z] Successfully built 9eb8062baa4c [2020-11-10T23:15:00.815Z] Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [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 [2020-11-10T23:15:02.905Z] provisioning config files... [2020-11-10T23:15:02.923Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-55@tmp/config732994175417261836tmp [Pipeline] { [Pipeline] sh [2020-11-10T23:15:03.333Z] + set +x [2020-11-10T23:15:03.333Z] + curl -s https://codecov.io/bash [2020-11-10T23:15:03.333Z] + bash -s -- [2020-11-10T23:15:03.601Z] [2020-11-10T23:15:03.601Z] _____ _ [2020-11-10T23:15:03.601Z] / ____| | | [2020-11-10T23:15:03.601Z] | | ___ __| | ___ ___ _____ __ [2020-11-10T23:15:03.601Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-10T23:15:03.601Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-10T23:15:03.601Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-10T23:15:03.601Z] Bash-20201106-81372f2 [2020-11-10T23:15:03.601Z] [2020-11-10T23:15:03.601Z] [2020-11-10T23:15:03.601Z] ==> Jenkins CI detected. [2020-11-10T23:15:03.601Z] project root: . [2020-11-10T23:15:03.601Z] --> token set from env [2020-11-10T23:15:03.601Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-10T23:15:03.601Z] ==> Running gcov in . (disable via -X gcov) [2020-11-10T23:15:03.601Z] ==> Python coveragepy not found [2020-11-10T23:15:03.601Z] ==> Searching for coverage reports in: [2020-11-10T23:15:03.601Z] + . [2020-11-10T23:15:03.601Z] -> Found 1 reports [2020-11-10T23:15:03.602Z] ==> Detecting git/mercurial file structure [2020-11-10T23:15:03.602Z] ==> Reading reports [2020-11-10T23:15:03.602Z] + ./coverage.out bytes=9369 [2020-11-10T23:15:03.602Z] ==> Appending adjustments [2020-11-10T23:15:03.602Z] https://docs.codecov.io/docs/fixing-reports [2020-11-10T23:15:03.602Z] + Found adjustments [2020-11-10T23:15:03.602Z] ==> Gzipping contents [2020-11-10T23:15:03.602Z] ==> Uploading reports [2020-11-10T23:15:03.602Z] url: https://codecov.io [2020-11-10T23:15:03.602Z] query: branch=PR-55&commit=d95f158d9b0264ad1415a05a888bb698dd173d24&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-55%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=55&job=&cmd_args= [2020-11-10T23:15:03.866Z] -> Pinging Codecov [2020-11-10T23:15:03.866Z] https://codecov.io/upload/v4?package=bash-20201106-81372f2&token=secret&branch=PR-55&commit=d95f158d9b0264ad1415a05a888bb698dd173d24&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-55%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=55&job=&cmd_args= [2020-11-10T23:15:04.129Z] -> Uploading to [2020-11-10T23:15:04.129Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-10/4E5D53B4F1F92C436F7061BF334D961C/d95f158d9b0264ad1415a05a888bb698dd173d24/f0bc7c9d-8d3c-4619-acab-291f25e762f9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201110T231504Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bc66d4cde503535e410a6c93de1fd535fe4c9a106f765a340220511de23a52be [2020-11-10T23:15:04.129Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-10T23:15:04.129Z] Dload Upload Total Spent Left Speed [2020-11-10T23:15:04.706Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1695 0 0 100 1695 0 4153 --:--:-- --:--:-- --:--:-- 4164 [2020-11-10T23:15:04.706Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/d95f158d9b0264ad1415a05a888bb698dd173d24 [Pipeline] } [2020-11-10T23:15:04.716Z] 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 [2020-11-10T23:15:07.514Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-10T23:15:08.089Z] ---> package-listing.sh [2020-11-10T23:15:08.090Z] ++ facter osfamily [2020-11-10T23:15:08.090Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-10T23:15:08.090Z] + OS_FAMILY=redhat [2020-11-10T23:15:08.090Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-55 [2020-11-10T23:15:08.090Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-10T23:15:08.090Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-10T23:15:08.090Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-10T23:15:08.090Z] + PACKAGES=/tmp/packages_start.txt [2020-11-10T23:15:08.090Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-55 ']' [2020-11-10T23:15:08.090Z] + PACKAGES=/tmp/packages_end.txt [2020-11-10T23:15:08.090Z] + case "${OS_FAMILY}" in [2020-11-10T23:15:08.090Z] + rpm -qa [2020-11-10T23:15:08.090Z] + sort [2020-11-10T23:15:12.330Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-10T23:15:12.330Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-10T23:15:12.330Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-10T23:15:12.330Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-55 ']' [2020-11-10T23:15:12.330Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-55/archives/ [2020-11-10T23:15:12.330Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-55/archives/ [Pipeline] echo [2020-11-10T23:15:12.344Z] 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-55/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-10T23:15:12.643Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-10T23:15:12.952Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-10T23:15:12.952Z] [2020-11-10T23:15:12.952Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-10T23:15:13.310Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-10T23:15:13.310Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-10T23:15:13.310Z] df20fa9351a1: Pulling fs layer [2020-11-10T23:15:13.310Z] 36b3adc4ff6f: Pulling fs layer [2020-11-10T23:15:13.310Z] 8ad3a11d3b57: Pulling fs layer [2020-11-10T23:15:13.310Z] 46f8f816bc3b: Pulling fs layer [2020-11-10T23:15:13.310Z] 93b61091891f: Pulling fs layer [2020-11-10T23:15:13.310Z] 93b9cdb0e59b: Pulling fs layer [2020-11-10T23:15:13.310Z] 5e14af77c1be: Pulling fs layer [2020-11-10T23:15:13.310Z] 01666e4c0597: Pulling fs layer [2020-11-10T23:15:13.310Z] aa168da1d23b: Pulling fs layer [2020-11-10T23:15:13.310Z] 93b61091891f: Waiting [2020-11-10T23:15:13.311Z] 93b9cdb0e59b: Waiting [2020-11-10T23:15:13.311Z] 46f8f816bc3b: Waiting [2020-11-10T23:15:13.311Z] aa168da1d23b: Waiting [2020-11-10T23:15:13.311Z] 36b3adc4ff6f: Download complete [2020-11-10T23:15:13.311Z] 46f8f816bc3b: Verifying Checksum [2020-11-10T23:15:13.311Z] 46f8f816bc3b: Download complete [2020-11-10T23:15:13.311Z] df20fa9351a1: Verifying Checksum [2020-11-10T23:15:13.311Z] 93b9cdb0e59b: Verifying Checksum [2020-11-10T23:15:13.311Z] 93b9cdb0e59b: Download complete [2020-11-10T23:15:13.582Z] 5e14af77c1be: Download complete [2020-11-10T23:15:13.582Z] 01666e4c0597: Verifying Checksum [2020-11-10T23:15:13.582Z] 01666e4c0597: Download complete [2020-11-10T23:15:13.582Z] 93b61091891f: Verifying Checksum [2020-11-10T23:15:13.582Z] 93b61091891f: Download complete [2020-11-10T23:15:13.582Z] 8ad3a11d3b57: Verifying Checksum [2020-11-10T23:15:13.582Z] 8ad3a11d3b57: Download complete [2020-11-10T23:15:13.854Z] df20fa9351a1: Pull complete [2020-11-10T23:15:14.118Z] 36b3adc4ff6f: Pull complete [2020-11-10T23:15:14.716Z] 8ad3a11d3b57: Pull complete [2020-11-10T23:15:15.306Z] 46f8f816bc3b: Pull complete [2020-11-10T23:15:15.575Z] aa168da1d23b: Verifying Checksum [2020-11-10T23:15:15.575Z] aa168da1d23b: Download complete [2020-11-10T23:15:15.575Z] 93b61091891f: Pull complete [2020-11-10T23:15:15.844Z] 93b9cdb0e59b: Pull complete [2020-11-10T23:15:15.844Z] 5e14af77c1be: Pull complete [2020-11-10T23:15:16.110Z] 01666e4c0597: Pull complete [2020-11-10T23:15:24.320Z] aa168da1d23b: Pull complete [2020-11-10T23:15:24.320Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-10T23:15:24.320Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-10T23:15:24.320Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-10T23:15:24.499Z] prd-centos7-docker-4c-2g-11771 does not seem to be running inside a container [2020-11-10T23:15:24.554Z] $ 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-55/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-55 -v /w/workspace/dgexfoundry_device-rest-go_PR-55:/w/workspace/dgexfoundry_device-rest-go_PR-55:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-55@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-55@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-10T23:15:28.599Z] $ docker top 0990f322f60547c6f7c049d10ffbbcf93aacdd436a4462f4123d040103a05792 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-10T23:15:29.140Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-10T23:15:29.443Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-10T23:15:29.745Z] + ls /var/log/sa-host [2020-11-10T23:15:29.745Z] + sadf -c /var/log/sa-host/sa05 [2020-11-10T23:15:29.745Z] file_magic: OK [2020-11-10T23:15:29.745Z] HZ: Using current value: 100 [2020-11-10T23:15:29.745Z] file_header: OK [2020-11-10T23:15:29.745Z] 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 [2020-11-10T23:15:29.745Z] Statistics: [2020-11-10T23:15:29.745Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-10T23:15:29.745Z] File successfully converted to sysstat format version 12.2.1 [2020-11-10T23:15:29.745Z] + sadf -c /var/log/sa-host/sa10 [2020-11-10T23:15:29.745Z] file_magic: OK [2020-11-10T23:15:29.745Z] HZ: Using current value: 100 [2020-11-10T23:15:29.745Z] file_header: OK [2020-11-10T23:15:29.745Z] 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 [2020-11-10T23:15:29.745Z] Statistics: [2020-11-10T23:15:29.745Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-10T23:15:29.746Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-10T23:15:31.206Z] provisioning config files... [2020-11-10T23:15:31.224Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-55@tmp/config3685596678220309214tmp [Pipeline] { [Pipeline] echo [2020-11-10T23:15:31.303Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-10T23:15:31.606Z] ---> create-netrc.sh [Pipeline] } [2020-11-10T23:15:31.617Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-10T23:15:31.717Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-10T23:15:32.019Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-10T23:15:32.030Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-10T23:15:32.329Z] ---> sudo-logs.sh [2020-11-10T23:15:32.329Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-10T23:15:32.340Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-10T23:15:32.637Z] ---> job-cost.sh [2020-11-10T23:15:32.638Z] lf-activate-venv: SKIPPING [2020-11-10T23:15:32.638Z] INFO: No Stack... [2020-11-10T23:15:33.585Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-10T23:15:34.158Z] INFO: Archiving Costs [Pipeline] echo [2020-11-10T23:15:34.171Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-10T23:15:34.471Z] ---> logs-deploy.sh [2020-11-10T23:15:34.472Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-55/2 [2020-11-10T23:15:34.472Z] INFO: archiving workspace using pattern(s): [2020-11-10T23:15:36.588Z] Archives upload complete. [2020-11-10T23:15:36.588Z] INFO: archiving logs to Nexus