Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0f60892254390497993418a5736ab1b9fc8af45b+d1bfd12592bfcc37ebda2d741922e4b068f28a62 (705c12bbb3278edb0162cc8ae53f3095c0bfb67a) 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-11773 in /w/workspace/dgexfoundry_device-rest-go_PR-46 [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-46 # 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 > 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 Merging remotes/origin/master commit d1bfd12592bfcc37ebda2d741922e4b068f28a62 into PR head commit 0f60892254390497993418a5736ab1b9fc8af45b Merge succeeded, producing 7e3683adb8d7d7477cce2374b9802d06cbf53f2d Checking out Revision 7e3683adb8d7d7477cce2374b9802d06cbf53f2d (PR-46) > 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/46/head:refs/remotes/origin/PR-46 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f60892254390497993418a5736ab1b9fc8af45b # 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 7e3683adb8d7d7477cce2374b9802d06cbf53f2d # timeout=10 Commit message: "Merge commit 'd1bfd12592bfcc37ebda2d741922e4b068f28a62' into HEAD" > git rev-list --no-walk 0f60892254390497993418a5736ab1b9fc8af45b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-10T23:09:03.524Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-10T23:09:03.794Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-10T23:09:04.000Z] ========================================================= [2020-11-10T23:09:04.000Z] EdgeX Global Pipelines Version Info [2020-11-10T23:09:04.000Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-10T23:09:05.973Z] ------------------- [2020-11-10T23:09:05.973Z] stable info: [2020-11-10T23:09:05.973Z] ------------------- [2020-11-10T23:09:05.973Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-10T23:09:05.973Z] Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [2020-11-10T23:09:05.973Z] Message: update stable to v1.0.162 [2020-11-10T23:09:06.966Z] ------------------- [2020-11-10T23:09:06.966Z] experimental info: [2020-11-10T23:09:06.966Z] ------------------- [2020-11-10T23:09:06.966Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-10T23:09:06.966Z] Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [2020-11-10T23:09:06.966Z] Message: update experimental to v1.0.162 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-10T23:09:07.439Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-11-10T23:09:07.547Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-11-10T23:09:07.671Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-10T23:09:07.780Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-10T23:09:07.877Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-10T23:09:07.982Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-10T23:09:08.082Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-10T23:09:08.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-10T23:09:08.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-10T23:09:08.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-10T23:09:08.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-10T23:09:08.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-11-10T23:09:08.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-10T23:09:08.857Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-10T23:09:08.979Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-10T23:09:09.076Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-10T23:09:09.176Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-10T23:09:09.289Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-10T23:09:09.456Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-10T23:09:09.549Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-10T23:09:09.634Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-10T23:09:09.745Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-10T23:09:09.832Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-10T23:09:09.926Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-10T23:09:10.015Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-10T23:09:10.105Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-10T23:09:10.218Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-46 [Pipeline] echo [2020-11-10T23:09:10.354Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-46 [Pipeline] echo [2020-11-10T23:09:10.442Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-46 [Pipeline] echo [2020-11-10T23:09:10.599Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e3683adb8d7d7477cce2374b9802d06cbf53f2d [Pipeline] echo [2020-11-10T23:09:10.700Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e3683a [Pipeline] echo [2020-11-10T23:09:10.789Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-10T23:09:10.975Z] provisioning config files... [2020-11-10T23:09:11.007Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-46@tmp/config7020170369339732048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-10T23:09:11.395Z] ---> docker-login.sh [2020-11-10T23:09:11.395Z] nexus3.edgexfoundry.org:10001 [2020-11-10T23:09:11.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:09:11.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:09:11.658Z] Configure a credential helper to remove this warning. See [2020-11-10T23:09:11.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:09:11.658Z] [2020-11-10T23:09:11.921Z] Login Succeeded [2020-11-10T23:09:11.922Z] nexus3.edgexfoundry.org:10002 [2020-11-10T23:09:11.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:09:11.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:09:11.922Z] Configure a credential helper to remove this warning. See [2020-11-10T23:09:11.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:09:11.922Z] [2020-11-10T23:09:11.922Z] Login Succeeded [2020-11-10T23:09:11.922Z] nexus3.edgexfoundry.org:10003 [2020-11-10T23:09:12.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:09:12.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:09:12.195Z] Configure a credential helper to remove this warning. See [2020-11-10T23:09:12.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:09:12.195Z] [2020-11-10T23:09:12.195Z] Login Succeeded [2020-11-10T23:09:12.195Z] nexus3.edgexfoundry.org:10004 [2020-11-10T23:09:12.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:09:12.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:09:12.458Z] Configure a credential helper to remove this warning. See [2020-11-10T23:09:12.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:09:12.458Z] [2020-11-10T23:09:12.458Z] Login Succeeded [2020-11-10T23:09:12.458Z] docker.io [2020-11-10T23:09:12.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:09:12.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:09:12.722Z] Configure a credential helper to remove this warning. See [2020-11-10T23:09:12.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:09:12.722Z] [2020-11-10T23:09:12.722Z] Login Succeeded [2020-11-10T23:09:12.722Z] ---> docker-login.sh ends [Pipeline] } [2020-11-10T23:09:12.732Z] 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:09:13.534Z] + git log --format=format:%s -1 7e3683adb8d7d7477cce2374b9802d06cbf53f2d [Pipeline] echo [2020-11-10T23:09:13.624Z] GIT_COMMIT: 7e3683adb8d7d7477cce2374b9802d06cbf53f2d, Commit Message: Merge commit 'd1bfd12592bfcc37ebda2d741922e4b068f28a62' into HEAD [Pipeline] echo [2020-11-10T23:09:13.677Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-10T23:09:14.512Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-10T23:09:14.512Z] [2020-11-10T23:09:14.512Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-10T23:09:14.871Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-10T23:09:14.871Z] latest: Pulling from edgex-devops/git-semver [2020-11-10T23:09:14.871Z] 31603596830f: Pulling fs layer [2020-11-10T23:09:14.871Z] 2a8b12db71e7: Pulling fs layer [2020-11-10T23:09:14.871Z] 6ca5941a6612: Pulling fs layer [2020-11-10T23:09:14.871Z] ecc8261a40a4: Pulling fs layer [2020-11-10T23:09:14.871Z] ecc8261a40a4: Waiting [2020-11-10T23:09:14.871Z] 2a8b12db71e7: Verifying Checksum [2020-11-10T23:09:14.871Z] 2a8b12db71e7: Download complete [2020-11-10T23:09:15.137Z] 31603596830f: Verifying Checksum [2020-11-10T23:09:15.137Z] 31603596830f: Download complete [2020-11-10T23:09:15.137Z] ecc8261a40a4: Verifying Checksum [2020-11-10T23:09:15.137Z] ecc8261a40a4: Download complete [2020-11-10T23:09:15.137Z] 6ca5941a6612: Verifying Checksum [2020-11-10T23:09:15.137Z] 6ca5941a6612: Download complete [2020-11-10T23:09:15.400Z] 31603596830f: Pull complete [2020-11-10T23:09:15.673Z] 2a8b12db71e7: Pull complete [2020-11-10T23:09:16.629Z] 6ca5941a6612: Pull complete [2020-11-10T23:09:16.629Z] ecc8261a40a4: Pull complete [2020-11-10T23:09:16.629Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-10T23:09:16.629Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-10T23:09:16.629Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-10T23:09:16.748Z] prd-centos7-docker-4c-2g-11773 does not seem to be running inside a container [2020-11-10T23:09:16.820Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-46 -v /w/workspace/dgexfoundry_device-rest-go_PR-46:/w/workspace/dgexfoundry_device-rest-go_PR-46:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-46@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-46@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-10T23:09:18.921Z] $ docker top e2aad51f662dd99be2d8ac099291331844ed85919df6a2fe96bd2ffb52097a48 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-10T23:09:19.231Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-10T23:09:19.231Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-10T23:09:19.520Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-10T23:09:19.530Z] $ docker exec e2aad51f662dd99be2d8ac099291331844ed85919df6a2fe96bd2ffb52097a48 ssh-agent [2020-11-10T23:09:19.729Z] SSH_AUTH_SOCK=/tmp/ssh-919eraxofgjs/agent.11 [2020-11-10T23:09:19.729Z] SSH_AGENT_PID=17 [2020-11-10T23:09:19.741Z] Running ssh-add (command line suppressed) [2020-11-10T23:09:19.872Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-46@tmp/private_key_5939961864666085338.key (/w/workspace/dgexfoundry_device-rest-go_PR-46@tmp/private_key_5939961864666085338.key) [2020-11-10T23:09:19.921Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-10T23:09:20.261Z] + git tag --points-at HEAD [Pipeline] } [2020-11-10T23:09:20.291Z] $ docker exec --env ******** --env ******** e2aad51f662dd99be2d8ac099291331844ed85919df6a2fe96bd2ffb52097a48 ssh-agent -k [2020-11-10T23:09:20.414Z] unset SSH_AUTH_SOCK; [2020-11-10T23:09:20.415Z] unset SSH_AGENT_PID; [2020-11-10T23:09:20.415Z] echo Agent pid 17 killed; [2020-11-10T23:09:20.467Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-10T23:09:20.700Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-10T23:09:20.701Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-10T23:09:20.892Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-10T23:09:20.908Z] $ docker exec e2aad51f662dd99be2d8ac099291331844ed85919df6a2fe96bd2ffb52097a48 ssh-agent [2020-11-10T23:09:21.089Z] SSH_AUTH_SOCK=/tmp/ssh-hsdrMqJwL2eI/agent.46 [2020-11-10T23:09:21.089Z] SSH_AGENT_PID=52 [2020-11-10T23:09:21.101Z] Running ssh-add (command line suppressed) [2020-11-10T23:09:21.230Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-46@tmp/private_key_5978624627799887013.key (/w/workspace/dgexfoundry_device-rest-go_PR-46@tmp/private_key_5978624627799887013.key) [2020-11-10T23:09:21.303Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-10T23:09:21.674Z] + git semver init [2020-11-10T23:09:21.674Z] # -> Open(): unable to determine branch for HEAD [2020-11-10T23:09:21.674Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-46/.git [2020-11-10T23:09:21.674Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-46 [2020-11-10T23:09:21.674Z] # $SEMVER_REMOTE_NAME = origin [2020-11-10T23:09:21.674Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-10T23:09:21.674Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-10T23:09:21.674Z] # $SEMVER_BRANCH = PR-46 [2020-11-10T23:09:21.674Z] # $SEMVER_TEMP = /tmp/semver-284405199 [2020-11-10T23:09:21.674Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-11-10T23:09:23.150Z] # '/tmp/semver-284405199' -> '/w/workspace/dgexfoundry_device-rest-go_PR-46/.semver' [2020-11-10T23:09:23.150Z] # -> Force: false [2020-11-10T23:09:23.150Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-46/.semver [Pipeline] } [2020-11-10T23:09:23.173Z] $ docker exec --env ******** --env ******** e2aad51f662dd99be2d8ac099291331844ed85919df6a2fe96bd2ffb52097a48 ssh-agent -k [2020-11-10T23:09:23.365Z] unset SSH_AUTH_SOCK; [2020-11-10T23:09:23.366Z] unset SSH_AGENT_PID; [2020-11-10T23:09:23.366Z] echo Agent pid 52 killed; [2020-11-10T23:09:23.414Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-10T23:09:23.907Z] + git semver [Pipeline] } [2020-11-10T23:09:23.933Z] $ docker stop --time=1 e2aad51f662dd99be2d8ac099291331844ed85919df6a2fe96bd2ffb52097a48 [2020-11-10T23:09:25.358Z] $ docker rm -f e2aad51f662dd99be2d8ac099291331844ed85919df6a2fe96bd2ffb52097a48 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-10T23:09:25.861Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-10T23:09:26.311Z] Stashed 1 file(s) [Pipeline] echo [2020-11-10T23:09:26.314Z] [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:09:41.914Z] Still waiting to schedule task [2020-11-10T23:09:41.915Z] ‘prd-centos7-builder-2c-1g-11770’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-11774’ is offline; ‘prd-ubuntu18.04-docker-arm64-16c-16g-10291’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-10024’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-11550’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-11763’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-11765’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-11-10T23:09:41.917Z] Still waiting to schedule task [2020-11-10T23:09:41.917Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-11-10T23:10:04.245Z] Running on prd-centos7-docker-4c-2g-11775 in /w/workspace/dgexfoundry_device-rest-go_PR-46 [Pipeline] { [Pipeline] ws [2020-11-10T23:10:04.307Z] Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout [2020-11-10T23:10:07.235Z] using credential edgex-jenkins-ssh [2020-11-10T23:10:07.289Z] Cloning the remote Git repository [2020-11-10T23:10:07.320Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-11-10T23:10:07.393Z] > git init /w/workspace/device-rest-go/5 # timeout=10 [2020-11-10T23:10:07.439Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-10T23:10:07.439Z] > git --version # timeout=10 [2020-11-10T23:10:07.449Z] > git --version # 'git version 2.16.5' [2020-11-10T23:10:07.449Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-10T23:10:07.479Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-10T23:10:10.901Z] Merging remotes/origin/master commit d1bfd12592bfcc37ebda2d741922e4b068f28a62 into PR head commit 0f60892254390497993418a5736ab1b9fc8af45b [2020-11-10T23:10:10.985Z] Merge succeeded, producing 72fee764f3f915cee29fafeebabe82604accc3d7 [2020-11-10T23:10:10.985Z] Checking out Revision 72fee764f3f915cee29fafeebabe82604accc3d7 (PR-46) [2020-11-10T23:10:10.505Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-10T23:10:10.512Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-10T23:10:10.521Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-10T23:10:10.533Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-10T23:10:10.534Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-10T23:10:10.538Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/46/head:refs/remotes/origin/PR-46 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-10T23:10:10.911Z] > git config core.sparsecheckout # timeout=10 [2020-11-10T23:10:10.916Z] > git checkout -f 0f60892254390497993418a5736ab1b9fc8af45b # timeout=10 [2020-11-10T23:10:10.950Z] > git remote # timeout=10 [2020-11-10T23:10:10.956Z] > git config --get remote.origin.url # timeout=10 [2020-11-10T23:10:10.960Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-10T23:10:10.963Z] > git merge d1bfd12592bfcc37ebda2d741922e4b068f28a62 # timeout=10 [2020-11-10T23:10:10.981Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-10T23:10:10.991Z] > git config core.sparsecheckout # timeout=10 [2020-11-10T23:10:10.995Z] > git checkout -f 72fee764f3f915cee29fafeebabe82604accc3d7 # timeout=10 [2020-11-10T23:10:14.573Z] Commit message: "Merge commit 'd1bfd12592bfcc37ebda2d741922e4b068f28a62' into HEAD" [2020-11-10T23:10:14.578Z] > git rev-list --no-walk 0f60892254390497993418a5736ab1b9fc8af45b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-10T23:10:15.288Z] provisioning config files... [2020-11-10T23:10:15.316Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config1861957827774615157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-10T23:10:15.973Z] ---> docker-login.sh [2020-11-10T23:10:15.973Z] nexus3.edgexfoundry.org:10001 [2020-11-10T23:10:16.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:10:16.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:10:16.500Z] Configure a credential helper to remove this warning. See [2020-11-10T23:10:16.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:10:16.500Z] [2020-11-10T23:10:16.500Z] Login Succeeded [2020-11-10T23:10:16.500Z] nexus3.edgexfoundry.org:10002 [2020-11-10T23:10:16.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:10:16.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:10:16.500Z] Configure a credential helper to remove this warning. See [2020-11-10T23:10:16.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:10:16.500Z] [2020-11-10T23:10:16.500Z] Login Succeeded [2020-11-10T23:10:16.500Z] nexus3.edgexfoundry.org:10003 [2020-11-10T23:10:16.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:10:16.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:10:16.760Z] Configure a credential helper to remove this warning. See [2020-11-10T23:10:16.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:10:16.760Z] [2020-11-10T23:10:16.760Z] Login Succeeded [2020-11-10T23:10:16.760Z] nexus3.edgexfoundry.org:10004 [2020-11-10T23:10:17.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:10:17.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:10:17.022Z] Configure a credential helper to remove this warning. See [2020-11-10T23:10:17.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:10:17.022Z] [2020-11-10T23:10:17.022Z] Login Succeeded [2020-11-10T23:10:17.022Z] docker.io [2020-11-10T23:10:17.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:10:17.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:10:17.285Z] Configure a credential helper to remove this warning. See [2020-11-10T23:10:17.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:10:17.285Z] [2020-11-10T23:10:17.285Z] Login Succeeded [2020-11-10T23:10:17.285Z] ---> docker-login.sh ends [Pipeline] } [2020-11-10T23:10:17.321Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-10T23:10:17.732Z] ========================================================= [2020-11-10T23:10:17.732Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-10T23:10:17.732Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-10T23:10:18.195Z] + 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:18.195Z] Sending build context to Docker daemon 79.87kB [2020-11-10T23:10:18.195Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-11-10T23:10:18.195Z] Step 2/10 : FROM ${BASE} [2020-11-10T23:10:18.459Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-10T23:10:18.459Z] df20fa9351a1: Pulling fs layer [2020-11-10T23:10:18.459Z] ed8968b2872e: Pulling fs layer [2020-11-10T23:10:18.459Z] a92cc7c5fd73: Pulling fs layer [2020-11-10T23:10:18.459Z] e871e8e8d7a9: Pulling fs layer [2020-11-10T23:10:18.459Z] e73272ec9a57: Pulling fs layer [2020-11-10T23:10:18.459Z] 1e910a182e73: Pulling fs layer [2020-11-10T23:10:18.459Z] 4e634b169226: Pulling fs layer [2020-11-10T23:10:18.459Z] e871e8e8d7a9: Waiting [2020-11-10T23:10:18.459Z] e73272ec9a57: Waiting [2020-11-10T23:10:18.459Z] 1e910a182e73: Waiting [2020-11-10T23:10:18.459Z] 4e634b169226: Waiting [2020-11-10T23:10:18.459Z] a92cc7c5fd73: Verifying Checksum [2020-11-10T23:10:18.459Z] a92cc7c5fd73: Download complete [2020-11-10T23:10:18.459Z] ed8968b2872e: Verifying Checksum [2020-11-10T23:10:18.459Z] ed8968b2872e: Download complete [2020-11-10T23:10:18.459Z] e73272ec9a57: Download complete [2020-11-10T23:10:18.459Z] df20fa9351a1: Verifying Checksum [2020-11-10T23:10:18.459Z] df20fa9351a1: Download complete [2020-11-10T23:10:18.459Z] 1e910a182e73: Verifying Checksum [2020-11-10T23:10:18.459Z] 1e910a182e73: Download complete [2020-11-10T23:10:18.723Z] df20fa9351a1: Pull complete [2020-11-10T23:10:18.986Z] ed8968b2872e: Pull complete [2020-11-10T23:10:18.986Z] a92cc7c5fd73: Pull complete [2020-11-10T23:10:20.392Z] 4e634b169226: Verifying Checksum [2020-11-10T23:10:20.392Z] 4e634b169226: Download complete [2020-11-10T23:10:20.968Z] e871e8e8d7a9: Verifying Checksum [2020-11-10T23:10:20.968Z] e871e8e8d7a9: Download complete [2020-11-10T23:10:26.280Z] e871e8e8d7a9: Pull complete [2020-11-10T23:10:26.280Z] e73272ec9a57: Pull complete [2020-11-10T23:10:26.280Z] 1e910a182e73: Pull complete [2020-11-10T23:10:31.585Z] 4e634b169226: Pull complete [2020-11-10T23:10:31.585Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-10T23:10:31.585Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-10T23:10:31.585Z] ---> f7629b54cfaa [2020-11-10T23:10:31.585Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-11-10T23:10:31.585Z] ---> Running in 459587eeb678 [2020-11-10T23:10:31.585Z] Removing intermediate container 459587eeb678 [2020-11-10T23:10:31.585Z] ---> 653631516219 [2020-11-10T23:10:31.585Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-11-10T23:10:31.585Z] ---> Running in ab8ff2aef232 [2020-11-10T23:10:31.854Z] Removing intermediate container ab8ff2aef232 [2020-11-10T23:10:31.854Z] ---> 8a7937dcdc0a [2020-11-10T23:10:31.854Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-10T23:10:31.854Z] ---> Running in 4490fa07b0c9 [2020-11-10T23:10:32.123Z] Removing intermediate container 4490fa07b0c9 [2020-11-10T23:10:32.123Z] ---> 5180bfcc59fb [2020-11-10T23:10:32.123Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-10T23:10:32.123Z] ---> Running in 9b1998a57ec3 [2020-11-10T23:10:33.535Z] Removing intermediate container 9b1998a57ec3 [2020-11-10T23:10:33.535Z] ---> 479c69bc6c22 [2020-11-10T23:10:33.535Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-10T23:10:33.535Z] ---> Running in eb9cfc5c816b [2020-11-10T23:10:34.113Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-10T23:10:34.700Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-10T23:10:35.285Z] OK: 166 MiB in 39 packages [2020-11-10T23:10:35.865Z] Removing intermediate container eb9cfc5c816b [2020-11-10T23:10:35.865Z] ---> 6c63211c0878 [2020-11-10T23:10:35.865Z] Step 8/10 : WORKDIR /device-rest-go [2020-11-10T23:10:35.865Z] ---> Running in 958552a7e76a [2020-11-10T23:10:35.865Z] Removing intermediate container 958552a7e76a [2020-11-10T23:10:35.865Z] ---> f2ef713cd6b4 [2020-11-10T23:10:35.865Z] Step 9/10 : COPY . . [2020-11-10T23:10:36.129Z] ---> 2f7754b0e933 [2020-11-10T23:10:36.129Z] Step 10/10 : RUN go mod download [2020-11-10T23:10:36.406Z] ---> Running in 33d35157aec8 [2020-11-10T23:10:54.601Z] Removing intermediate container 33d35157aec8 [2020-11-10T23:10:54.601Z] ---> 66b362bb6182 [2020-11-10T23:10:54.601Z] Successfully built 66b362bb6182 [2020-11-10T23:10:54.601Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-10T23:10:54.905Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-10T23:10:54.905Z] . [Pipeline] withDockerContainer [2020-11-10T23:10:55.018Z] prd-centos7-docker-4c-2g-11775 does not seem to be running inside a container [2020-11-10T23:10:55.073Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** ci-base-image-x86_64 cat [2020-11-10T23:10:55.869Z] $ docker top d60de239cf76315b3ba8bbbcd94b873515a0e11f2863096ebd68c78aeec70da9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-10T23:10:56.480Z] + go version [2020-11-10T23:10:56.480Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-10T23:10:56.496Z] $ docker stop --time=1 d60de239cf76315b3ba8bbbcd94b873515a0e11f2863096ebd68c78aeec70da9 [2020-11-10T23:10:57.857Z] $ docker rm -f d60de239cf76315b3ba8bbbcd94b873515a0e11f2863096ebd68c78aeec70da9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-10T23:10:58.683Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-10T23:10:58.684Z] . [Pipeline] withDockerContainer [2020-11-10T23:10:58.787Z] prd-centos7-docker-4c-2g-11775 does not seem to be running inside a container [2020-11-10T23:10:58.841Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** ci-base-image-x86_64 cat [2020-11-10T23:10:59.463Z] $ docker top 6410336245c987db9bcaccb4aefe9e0166f21b5d5d0c0f8c3183d30b26529e45 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-10T23:11:00.000Z] + make test [2020-11-10T23:11:00.000Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-11-10T23:11:00.580Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-11-10T23:11:10.726Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-11-10T23:11:11.311Z] ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 56.3% of statements [2020-11-10T23:11:11.311Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-10T23:11:14.602Z] gofmt -l . [2020-11-10T23:11:14.602Z] [ "`gofmt -l .`" = "" ] [2020-11-10T23:11:14.602Z] ./bin/test-go-mod-tidy.sh [2020-11-10T23:11:14.602Z] ./bin/test-attribution-txt.sh [2020-11-10T23:11:14.602Z] An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add [2020-11-10T23:11:14.602Z] make: *** [Makefile:28: test] Error 1 [Pipeline] } [2020-11-10T23:11:14.637Z] $ docker stop --time=1 6410336245c987db9bcaccb4aefe9e0166f21b5d5d0c0f8c3183d30b26529e45 [2020-11-10T23:11:17.017Z] $ docker rm -f 6410336245c987db9bcaccb4aefe9e0166f21b5d5d0c0f8c3183d30b26529e45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-11-10T23:11:18.801Z] Failed in branch amd64 [2020-11-10T23:12:58.051Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-11777 in /w/workspace/dgexfoundry_device-rest-go_PR-46 [Pipeline] { [Pipeline] ws [2020-11-10T23:12:58.108Z] Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout [2020-11-10T23:13:03.108Z] using credential edgex-jenkins-ssh [2020-11-10T23:13:03.190Z] Cloning the remote Git repository [2020-11-10T23:13:03.262Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-11-10T23:13:03.363Z] > git init /w/workspace/device-rest-go/5 # timeout=10 [2020-11-10T23:13:03.432Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-10T23:13:03.433Z] > git --version # timeout=10 [2020-11-10T23:13:03.452Z] > git --version # 'git version 2.17.1' [2020-11-10T23:13:03.453Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-10T23:13:03.552Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-10T23:13:05.608Z] Merging remotes/origin/master commit d1bfd12592bfcc37ebda2d741922e4b068f28a62 into PR head commit 0f60892254390497993418a5736ab1b9fc8af45b [2020-11-10T23:13:05.091Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-10T23:13:05.111Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-10T23:13:05.137Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-10T23:13:05.167Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-10T23:13:05.168Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-10T23:13:05.179Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/46/head:refs/remotes/origin/PR-46 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-10T23:13:05.653Z] > git config core.sparsecheckout # timeout=10 [2020-11-10T23:13:05.670Z] > git checkout -f 0f60892254390497993418a5736ab1b9fc8af45b # timeout=10 [2020-11-10T23:13:05.738Z] > git remote # timeout=10 [2020-11-10T23:13:05.754Z] > git config --get remote.origin.url # timeout=10 [2020-11-10T23:13:05.765Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-10T23:13:05.776Z] > git merge d1bfd12592bfcc37ebda2d741922e4b068f28a62 # timeout=10 [2020-11-10T23:13:05.818Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-10T23:13:05.810Z] Merge succeeded, producing 12a48a71674f3598348bdbb95ba1b64dfe75059f [2020-11-10T23:13:05.810Z] Checking out Revision 12a48a71674f3598348bdbb95ba1b64dfe75059f (PR-46) [2020-11-10T23:13:05.837Z] > git config core.sparsecheckout # timeout=10 [2020-11-10T23:13:05.847Z] > git checkout -f 12a48a71674f3598348bdbb95ba1b64dfe75059f # timeout=10 [2020-11-10T23:13:10.012Z] Commit message: "Merge commit 'd1bfd12592bfcc37ebda2d741922e4b068f28a62' into HEAD" [2020-11-10T23:13:10.037Z] > git rev-list --no-walk 0f60892254390497993418a5736ab1b9fc8af45b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-10T23:13:10.790Z] provisioning config files... [2020-11-10T23:13:10.834Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config7660072684327546582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-10T23:13:11.873Z] ---> docker-login.sh [2020-11-10T23:13:11.873Z] nexus3.edgexfoundry.org:10001 [2020-11-10T23:13:12.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:13:13.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:13:13.099Z] Configure a credential helper to remove this warning. See [2020-11-10T23:13:13.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:13:13.099Z] [2020-11-10T23:13:13.099Z] Login Succeeded [2020-11-10T23:13:13.099Z] nexus3.edgexfoundry.org:10002 [2020-11-10T23:13:13.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:13:13.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:13:13.664Z] Configure a credential helper to remove this warning. See [2020-11-10T23:13:13.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:13:13.664Z] [2020-11-10T23:13:13.664Z] Login Succeeded [2020-11-10T23:13:13.664Z] nexus3.edgexfoundry.org:10003 [2020-11-10T23:13:13.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:13:14.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:13:14.247Z] Configure a credential helper to remove this warning. See [2020-11-10T23:13:14.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:13:14.247Z] [2020-11-10T23:13:14.247Z] Login Succeeded [2020-11-10T23:13:14.247Z] nexus3.edgexfoundry.org:10004 [2020-11-10T23:13:14.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:13:14.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:13:14.805Z] Configure a credential helper to remove this warning. See [2020-11-10T23:13:14.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:13:14.805Z] [2020-11-10T23:13:14.805Z] Login Succeeded [2020-11-10T23:13:14.805Z] docker.io [2020-11-10T23:13:15.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T23:13:15.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T23:13:15.691Z] Configure a credential helper to remove this warning. See [2020-11-10T23:13:15.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T23:13:15.691Z] [2020-11-10T23:13:15.691Z] Login Succeeded [2020-11-10T23:13:15.691Z] ---> docker-login.sh ends [Pipeline] } [2020-11-10T23:13:15.824Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-10T23:13:16.294Z] ========================================================= [2020-11-10T23:13:16.294Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-10T23:13:16.294Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-10T23:13:16.692Z] + 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:13:16.692Z] Sending build context to Docker daemon 79.87kB [2020-11-10T23:13:16.984Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-11-10T23:13:16.984Z] Step 2/10 : FROM ${BASE} [2020-11-10T23:13:17.258Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-10T23:13:17.258Z] b538f80385f9: Pulling fs layer [2020-11-10T23:13:17.258Z] 74f711af9a0d: Pulling fs layer [2020-11-10T23:13:17.258Z] 99f96fe45779: Pulling fs layer [2020-11-10T23:13:17.258Z] 8529a6b9a6be: Pulling fs layer [2020-11-10T23:13:17.258Z] 45590311c82a: Pulling fs layer [2020-11-10T23:13:17.258Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-10T23:13:17.258Z] 209524e5b208: Pulling fs layer [2020-11-10T23:13:17.258Z] 8529a6b9a6be: Waiting [2020-11-10T23:13:17.258Z] 45590311c82a: Waiting [2020-11-10T23:13:17.258Z] 69ca0ff8b7b3: Waiting [2020-11-10T23:13:17.258Z] 209524e5b208: Waiting [2020-11-10T23:13:17.258Z] 99f96fe45779: Verifying Checksum [2020-11-10T23:13:17.258Z] 99f96fe45779: Download complete [2020-11-10T23:13:17.258Z] 74f711af9a0d: Verifying Checksum [2020-11-10T23:13:17.258Z] 74f711af9a0d: Download complete [2020-11-10T23:13:17.258Z] 45590311c82a: Verifying Checksum [2020-11-10T23:13:17.258Z] 45590311c82a: Download complete [2020-11-10T23:13:17.258Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-10T23:13:17.258Z] 69ca0ff8b7b3: Download complete [2020-11-10T23:13:17.544Z] b538f80385f9: Verifying Checksum [2020-11-10T23:13:17.544Z] b538f80385f9: Download complete [2020-11-10T23:13:18.535Z] b538f80385f9: Pull complete [2020-11-10T23:13:19.136Z] 74f711af9a0d: Pull complete [2020-11-10T23:13:19.413Z] 99f96fe45779: Pull complete [2020-11-10T23:13:20.024Z] 209524e5b208: Verifying Checksum [2020-11-10T23:13:20.024Z] 209524e5b208: Download complete [2020-11-10T23:13:21.016Z] 8529a6b9a6be: Verifying Checksum [2020-11-10T23:13:21.016Z] 8529a6b9a6be: Download complete [2020-11-10T23:13:33.460Z] 8529a6b9a6be: Pull complete [2020-11-10T23:13:33.460Z] 45590311c82a: Pull complete [2020-11-10T23:13:33.460Z] 69ca0ff8b7b3: Pull complete [2020-11-10T23:13:35.453Z] 209524e5b208: Pull complete [2020-11-10T23:13:35.453Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-10T23:13:35.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-10T23:13:35.453Z] ---> 5bddaf1c2fca [2020-11-10T23:13:35.453Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-11-10T23:13:38.850Z] ---> Running in 5b44f04a74a3 [2020-11-10T23:13:39.123Z] Removing intermediate container 5b44f04a74a3 [2020-11-10T23:13:39.123Z] ---> ef5a8fac6b02 [2020-11-10T23:13:39.123Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-11-10T23:13:39.123Z] ---> Running in c2b29defe116 [2020-11-10T23:13:39.742Z] Removing intermediate container c2b29defe116 [2020-11-10T23:13:39.742Z] ---> e0bc49e95151 [2020-11-10T23:13:39.742Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-10T23:13:39.742Z] ---> Running in 41d5b7cf6eca [2020-11-10T23:13:40.355Z] Removing intermediate container 41d5b7cf6eca [2020-11-10T23:13:40.355Z] ---> 88a2d2b2e2d5 [2020-11-10T23:13:40.355Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-10T23:13:40.355Z] ---> Running in 9b25eae98f3f [2020-11-10T23:13:42.978Z] Removing intermediate container 9b25eae98f3f [2020-11-10T23:13:42.978Z] ---> 7f210af6a434 [2020-11-10T23:13:42.978Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-10T23:13:43.254Z] ---> Running in 8c07a68f7d3d [2020-11-10T23:13:44.700Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-10T23:13:45.685Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-10T23:13:46.282Z] OK: 142 MiB in 39 packages [2020-11-10T23:13:47.271Z] Removing intermediate container 8c07a68f7d3d [2020-11-10T23:13:47.271Z] ---> da297b1cbe4e [2020-11-10T23:13:47.271Z] Step 8/10 : WORKDIR /device-rest-go [2020-11-10T23:13:47.549Z] ---> Running in f40247cd7fc5 [2020-11-10T23:13:48.147Z] Removing intermediate container f40247cd7fc5 [2020-11-10T23:13:48.147Z] ---> b1b764c1c7a9 [2020-11-10T23:13:48.147Z] Step 9/10 : COPY . . [2020-11-10T23:13:48.745Z] ---> 342c5b2792b1 [2020-11-10T23:13:48.745Z] Step 10/10 : RUN go mod download [2020-11-10T23:13:49.018Z] ---> Running in 1d061853ee5d [2020-11-10T23:14:11.199Z] Removing intermediate container 1d061853ee5d [2020-11-10T23:14:11.199Z] ---> bace8fcdf9b9 [2020-11-10T23:14:11.199Z] Successfully built bace8fcdf9b9 [2020-11-10T23:14:11.199Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-10T23:14:11.545Z] + docker inspect -f . ci-base-image-arm64 [2020-11-10T23:14:11.545Z] . [Pipeline] withDockerContainer [2020-11-10T23:14:11.812Z] prd-ubuntu18.04-docker-arm64-4c-16g-11777 does not seem to be running inside a container [2020-11-10T23:14:11.908Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** ci-base-image-arm64 cat [2020-11-10T23:14:13.767Z] $ docker top c27ae12f3a4790b86e4ba4d7e1e103f7d74b7b604ce9b967e9714f04ae999d67 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-10T23:14:15.205Z] + go version [2020-11-10T23:14:15.205Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-10T23:14:15.236Z] $ docker stop --time=1 c27ae12f3a4790b86e4ba4d7e1e103f7d74b7b604ce9b967e9714f04ae999d67 [2020-11-10T23:14:17.173Z] $ docker rm -f c27ae12f3a4790b86e4ba4d7e1e103f7d74b7b604ce9b967e9714f04ae999d67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-10T23:14:18.247Z] + docker inspect -f . ci-base-image-arm64 [2020-11-10T23:14:18.247Z] . [Pipeline] withDockerContainer [2020-11-10T23:14:18.528Z] prd-ubuntu18.04-docker-arm64-4c-16g-11777 does not seem to be running inside a container [2020-11-10T23:14:18.619Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** ci-base-image-arm64 cat [2020-11-10T23:14:20.538Z] $ docker top f7dc4122c4e51f290acc3ead8a25c8bed391b67dfa4121cfef072295c24255dd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-10T23:14:21.975Z] + make test [2020-11-10T23:14:21.975Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-11-10T23:14:22.963Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-11-10T23:15:02.026Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-11-10T23:15:02.026Z] ok github.com/edgexfoundry/device-rest-go/driver 0.047s coverage: 56.3% of statements [2020-11-10T23:15:02.027Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-10T23:15:04.703Z] gofmt -l . [2020-11-10T23:15:04.703Z] [ "`gofmt -l .`" = "" ] [2020-11-10T23:15:04.703Z] ./bin/test-go-mod-tidy.sh [2020-11-10T23:15:04.975Z] ./bin/test-attribution-txt.sh [2020-11-10T23:15:05.953Z] An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add [2020-11-10T23:15:05.953Z] make: *** [Makefile:28: test] Error 1 [Pipeline] } [2020-11-10T23:15:05.989Z] $ docker stop --time=1 f7dc4122c4e51f290acc3ead8a25c8bed391b67dfa4121cfef072295c24255dd [2020-11-10T23:15:08.284Z] $ docker rm -f f7dc4122c4e51f290acc3ead8a25c8bed391b67dfa4121cfef072295c24255dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-11-10T23:15:09.853Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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:13.735Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-10T23:15:14.315Z] ---> package-listing.sh [2020-11-10T23:15:14.315Z] ++ facter osfamily [2020-11-10T23:15:14.315Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-10T23:15:14.315Z] + OS_FAMILY=redhat [2020-11-10T23:15:14.315Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-46 [2020-11-10T23:15:14.315Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-10T23:15:14.315Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-10T23:15:14.315Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-10T23:15:14.315Z] + PACKAGES=/tmp/packages_start.txt [2020-11-10T23:15:14.315Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-46 ']' [2020-11-10T23:15:14.315Z] + PACKAGES=/tmp/packages_end.txt [2020-11-10T23:15:14.315Z] + case "${OS_FAMILY}" in [2020-11-10T23:15:14.315Z] + rpm -qa [2020-11-10T23:15:14.315Z] + sort [2020-11-10T23:15:18.552Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-10T23:15:18.552Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-10T23:15:18.552Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-10T23:15:18.552Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-46 ']' [2020-11-10T23:15:18.552Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-46/archives/ [2020-11-10T23:15:18.552Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-46/archives/ [Pipeline] echo [2020-11-10T23:15:18.567Z] 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-46/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:18.862Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-10T23:15:19.170Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-10T23:15:19.170Z] [2020-11-10T23:15:19.170Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-10T23:15:19.540Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-10T23:15:19.540Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-10T23:15:19.540Z] df20fa9351a1: Pulling fs layer [2020-11-10T23:15:19.540Z] 36b3adc4ff6f: Pulling fs layer [2020-11-10T23:15:19.540Z] 8ad3a11d3b57: Pulling fs layer [2020-11-10T23:15:19.540Z] 46f8f816bc3b: Pulling fs layer [2020-11-10T23:15:19.540Z] 93b61091891f: Pulling fs layer [2020-11-10T23:15:19.540Z] 93b9cdb0e59b: Pulling fs layer [2020-11-10T23:15:19.540Z] 5e14af77c1be: Pulling fs layer [2020-11-10T23:15:19.540Z] 01666e4c0597: Pulling fs layer [2020-11-10T23:15:19.540Z] aa168da1d23b: Pulling fs layer [2020-11-10T23:15:19.540Z] 46f8f816bc3b: Waiting [2020-11-10T23:15:19.540Z] 93b9cdb0e59b: Waiting [2020-11-10T23:15:19.540Z] 5e14af77c1be: Waiting [2020-11-10T23:15:19.540Z] 01666e4c0597: Waiting [2020-11-10T23:15:19.540Z] aa168da1d23b: Waiting [2020-11-10T23:15:19.540Z] 93b61091891f: Waiting [2020-11-10T23:15:19.540Z] 36b3adc4ff6f: Download complete [2020-11-10T23:15:19.540Z] 46f8f816bc3b: Verifying Checksum [2020-11-10T23:15:19.540Z] 46f8f816bc3b: Download complete [2020-11-10T23:15:19.540Z] df20fa9351a1: Verifying Checksum [2020-11-10T23:15:19.540Z] df20fa9351a1: Download complete [2020-11-10T23:15:19.805Z] 93b9cdb0e59b: Verifying Checksum [2020-11-10T23:15:19.805Z] 93b9cdb0e59b: Download complete [2020-11-10T23:15:19.805Z] 93b61091891f: Verifying Checksum [2020-11-10T23:15:19.805Z] 93b61091891f: Download complete [2020-11-10T23:15:19.805Z] 5e14af77c1be: Verifying Checksum [2020-11-10T23:15:19.805Z] 5e14af77c1be: Download complete [2020-11-10T23:15:19.805Z] 01666e4c0597: Download complete [2020-11-10T23:15:19.805Z] 8ad3a11d3b57: Verifying Checksum [2020-11-10T23:15:19.805Z] 8ad3a11d3b57: Download complete [2020-11-10T23:15:20.070Z] df20fa9351a1: Pull complete [2020-11-10T23:15:20.070Z] 36b3adc4ff6f: Pull complete [2020-11-10T23:15:21.039Z] 8ad3a11d3b57: Pull complete [2020-11-10T23:15:21.039Z] 46f8f816bc3b: Pull complete [2020-11-10T23:15:21.632Z] 93b61091891f: Pull complete [2020-11-10T23:15:21.632Z] 93b9cdb0e59b: Pull complete [2020-11-10T23:15:21.896Z] 5e14af77c1be: Pull complete [2020-11-10T23:15:21.896Z] aa168da1d23b: Verifying Checksum [2020-11-10T23:15:21.896Z] aa168da1d23b: Download complete [2020-11-10T23:15:21.896Z] 01666e4c0597: Pull complete [2020-11-10T23:15:28.534Z] aa168da1d23b: Pull complete [2020-11-10T23:15:28.534Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-10T23:15:28.534Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-10T23:15:28.534Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-10T23:15:28.699Z] prd-centos7-docker-4c-2g-11773 does not seem to be running inside a container [2020-11-10T23:15:28.763Z] $ 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-46/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-46 -v /w/workspace/dgexfoundry_device-rest-go_PR-46:/w/workspace/dgexfoundry_device-rest-go_PR-46:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-46@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-46@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:10003/edgex-lftools-log-publisher:alpine cat [2020-11-10T23:15:35.351Z] $ docker top 0222708493bbc8c454dea61a633e0cd5eeb9cc491fc417da683a8766a3a49f85 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-10T23:15:35.964Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-10T23:15:36.265Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-10T23:15:36.569Z] + ls /var/log/sa-host [2020-11-10T23:15:36.569Z] + sadf -c /var/log/sa-host/sa05 [2020-11-10T23:15:36.569Z] file_magic: OK [2020-11-10T23:15:36.569Z] HZ: Using current value: 100 [2020-11-10T23:15:36.569Z] file_header: OK [2020-11-10T23:15:36.569Z] 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:36.569Z] Statistics: [2020-11-10T23:15:36.569Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-10T23:15:36.569Z] File successfully converted to sysstat format version 12.2.1 [2020-11-10T23:15:36.569Z] + sadf -c /var/log/sa-host/sa10 [2020-11-10T23:15:36.569Z] file_magic: OK [2020-11-10T23:15:36.569Z] HZ: Using current value: 100 [2020-11-10T23:15:36.569Z] file_header: OK [2020-11-10T23:15:36.569Z] 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:36.569Z] Statistics: [2020-11-10T23:15:36.569Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-10T23:15:36.569Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-10T23:15:36.814Z] provisioning config files... [2020-11-10T23:15:36.868Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-46@tmp/config507337769264154422tmp [Pipeline] { [Pipeline] echo [2020-11-10T23:15:36.947Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-10T23:15:37.248Z] ---> create-netrc.sh [Pipeline] } [2020-11-10T23:15:37.258Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-10T23:15:37.359Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-10T23:15:37.663Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-10T23:15:37.675Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-10T23:15:37.978Z] ---> sudo-logs.sh [2020-11-10T23:15:37.978Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-10T23:15:37.990Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-10T23:15:38.294Z] ---> job-cost.sh [2020-11-10T23:15:38.294Z] lf-activate-venv: SKIPPING [2020-11-10T23:15:38.294Z] INFO: No Stack... [2020-11-10T23:15:39.688Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-10T23:15:39.950Z] INFO: Archiving Costs [Pipeline] echo [2020-11-10T23:15:39.963Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-10T23:15:40.264Z] ---> logs-deploy.sh [2020-11-10T23:15:40.264Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-46/5 [2020-11-10T23:15:40.264Z] INFO: archiving workspace using pattern(s): [2020-11-10T23:15:42.185Z] Archives upload complete. [2020-11-10T23:15:42.185Z] INFO: archiving logs to Nexus