Pull request #158 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from a18326b98e3b96dfd175254a2cd2e61b3f1f01ee+29a5207daaee0c6984d6485493504bb709ad3623 (9e0a1b08b13a9cecc9308c3663505dd99327e195) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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:app-service-configurable, buildSnap:true] ========================================================= [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: app-service-configurable-settings PROJECT: app-service-configurable 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-app-service-configurable 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: true 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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-17082 in /w/workspace/_app-service-configurable_PR-158 [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/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-158 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.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/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/158/head:refs/remotes/origin/PR-158 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 29a5207daaee0c6984d6485493504bb709ad3623 into PR head commit a18326b98e3b96dfd175254a2cd2e61b3f1f01ee Merge succeeded, producing 44ca93d868ac217f7452af40cf6081647efc4994 Checking out Revision 44ca93d868ac217f7452af40cf6081647efc4994 (PR-158) > git config core.sparsecheckout # timeout=10 > git checkout -f a18326b98e3b96dfd175254a2cd2e61b3f1f01ee # 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 29a5207daaee0c6984d6485493504bb709ad3623 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 44ca93d868ac217f7452af40cf6081647efc4994 # timeout=10 Commit message: "Merge commit '29a5207daaee0c6984d6485493504bb709ad3623' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-21T17:31:24.929Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk 13c81618a19f6814d1cada7f8c469d6a31dccbeb # timeout=10 [Pipeline] withCredentials [2020-12-21T17:31:25.233Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-21T17:31:25.355Z] ========================================================= [2020-12-21T17:31:25.355Z] EdgeX Global Pipelines Version Info [2020-12-21T17:31:25.355Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-21T17:31:26.871Z] ------------------- [2020-12-21T17:31:26.871Z] stable info: [2020-12-21T17:31:26.871Z] ------------------- [2020-12-21T17:31:26.871Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-21T17:31:26.871Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-21T17:31:26.871Z] Message: update stable to v1.0.173 [2020-12-21T17:31:27.828Z] ------------------- [2020-12-21T17:31:27.828Z] experimental info: [2020-12-21T17:31:27.828Z] ------------------- [2020-12-21T17:31:27.828Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-21T17:31:27.828Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-21T17:31:27.828Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-21T17:31:28.103Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2020-12-21T17:31:28.210Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2020-12-21T17:31:28.308Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-21T17:31:28.402Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-21T17:31:28.508Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-21T17:31:28.606Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-21T17:31:28.700Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-21T17:31:28.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-21T17:31:28.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-21T17:31:28.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-21T17:31:29.088Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-21T17:31:29.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-service-configurable [Pipeline] echo [2020-12-21T17:31:29.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-21T17:31:29.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-21T17:31:29.490Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-21T17:31:29.599Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-21T17:31:29.710Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T17:31:29.801Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T17:31:29.921Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-21T17:31:30.015Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-21T17:31:30.164Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-21T17:31:30.269Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-21T17:31:30.391Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-21T17:31:30.618Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-21T17:31:30.736Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-21T17:31:30.902Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-21T17:31:31.076Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-21T17:31:31.203Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-158 [Pipeline] echo [2020-12-21T17:31:31.311Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-158 [Pipeline] echo [2020-12-21T17:31:31.448Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-158 [Pipeline] echo [2020-12-21T17:31:31.557Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 44ca93d868ac217f7452af40cf6081647efc4994 [Pipeline] echo [2020-12-21T17:31:31.665Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 44ca93d [Pipeline] echo [2020-12-21T17:31:31.765Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-21T17:31:31.972Z] provisioning config files... [2020-12-21T17:31:32.006Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-158@tmp/config2945855255119118356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-21T17:31:32.366Z] ---> docker-login.sh [2020-12-21T17:31:32.367Z] nexus3.edgexfoundry.org:10001 [2020-12-21T17:31:32.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T17:31:32.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T17:31:32.892Z] Configure a credential helper to remove this warning. See [2020-12-21T17:31:32.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T17:31:32.892Z] [2020-12-21T17:31:32.892Z] Login Succeeded [2020-12-21T17:31:32.892Z] nexus3.edgexfoundry.org:10002 [2020-12-21T17:31:32.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T17:31:32.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T17:31:32.892Z] Configure a credential helper to remove this warning. See [2020-12-21T17:31:32.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T17:31:32.892Z] [2020-12-21T17:31:32.892Z] Login Succeeded [2020-12-21T17:31:32.892Z] nexus3.edgexfoundry.org:10003 [2020-12-21T17:31:33.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T17:31:33.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T17:31:33.155Z] Configure a credential helper to remove this warning. See [2020-12-21T17:31:33.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T17:31:33.155Z] [2020-12-21T17:31:33.155Z] Login Succeeded [2020-12-21T17:31:33.155Z] nexus3.edgexfoundry.org:10004 [2020-12-21T17:31:33.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T17:31:33.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T17:31:33.417Z] Configure a credential helper to remove this warning. See [2020-12-21T17:31:33.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T17:31:33.417Z] [2020-12-21T17:31:33.417Z] Login Succeeded [2020-12-21T17:31:33.417Z] docker.io [2020-12-21T17:31:33.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T17:31:33.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T17:31:33.678Z] Configure a credential helper to remove this warning. See [2020-12-21T17:31:33.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T17:31:33.678Z] [2020-12-21T17:31:33.678Z] Login Succeeded [2020-12-21T17:31:33.678Z] ---> docker-login.sh ends [Pipeline] } [2020-12-21T17:31:33.687Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T17:31:34.555Z] + git log --format=format:%s -1 44ca93d868ac217f7452af40cf6081647efc4994 [Pipeline] echo [2020-12-21T17:31:34.614Z] GIT_COMMIT: 44ca93d868ac217f7452af40cf6081647efc4994, Commit Message: Merge commit '29a5207daaee0c6984d6485493504bb709ad3623' into HEAD [Pipeline] echo [2020-12-21T17:31:34.661Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-21T17:31:35.650Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T17:31:35.651Z] [2020-12-21T17:31:35.651Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T17:31:35.997Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T17:31:35.997Z] latest: Pulling from edgex-devops/git-semver [2020-12-21T17:31:35.997Z] 31603596830f: Pulling fs layer [2020-12-21T17:31:35.997Z] 2a8b12db71e7: Pulling fs layer [2020-12-21T17:31:35.997Z] 6ca5941a6612: Pulling fs layer [2020-12-21T17:31:35.997Z] ecc8261a40a4: Pulling fs layer [2020-12-21T17:31:35.997Z] ecc8261a40a4: Waiting [2020-12-21T17:31:35.997Z] 2a8b12db71e7: Verifying Checksum [2020-12-21T17:31:35.997Z] 2a8b12db71e7: Download complete [2020-12-21T17:31:36.260Z] 31603596830f: Verifying Checksum [2020-12-21T17:31:36.260Z] 31603596830f: Download complete [2020-12-21T17:31:36.260Z] ecc8261a40a4: Verifying Checksum [2020-12-21T17:31:36.260Z] ecc8261a40a4: Download complete [2020-12-21T17:31:36.260Z] 6ca5941a6612: Verifying Checksum [2020-12-21T17:31:36.260Z] 6ca5941a6612: Download complete [2020-12-21T17:31:36.523Z] 31603596830f: Pull complete [2020-12-21T17:31:36.523Z] 2a8b12db71e7: Pull complete [2020-12-21T17:31:37.469Z] 6ca5941a6612: Pull complete [2020-12-21T17:31:37.739Z] ecc8261a40a4: Pull complete [2020-12-21T17:31:37.739Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-21T17:31:37.739Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T17:31:37.739Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-21T17:31:37.836Z] prd-centos7-docker-4c-2g-17082 does not seem to be running inside a container [2020-12-21T17:31:37.889Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-158 -v /w/workspace/_app-service-configurable_PR-158:/w/workspace/_app-service-configurable_PR-158:rw,z -v /w/workspace/_app-service-configurable_PR-158@tmp:/w/workspace/_app-service-configurable_PR-158@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-21T17:31:39.629Z] $ docker top cadf8349f7f7a125bcfb7512ad598bd7a8e931cb2222447165df6f978ed6c6ba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-21T17:31:39.935Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-21T17:31:39.935Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-21T17:31:40.136Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-21T17:31:40.146Z] $ docker exec cadf8349f7f7a125bcfb7512ad598bd7a8e931cb2222447165df6f978ed6c6ba ssh-agent [2020-12-21T17:31:40.303Z] SSH_AUTH_SOCK=/tmp/ssh-3yNgiorBqIVk/agent.12 [2020-12-21T17:31:40.303Z] SSH_AGENT_PID=18 [2020-12-21T17:31:40.312Z] Running ssh-add (command line suppressed) [2020-12-21T17:31:40.433Z] Identity added: /w/workspace/_app-service-configurable_PR-158@tmp/private_key_4843276471265015197.key (/w/workspace/_app-service-configurable_PR-158@tmp/private_key_4843276471265015197.key) [2020-12-21T17:31:40.476Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-21T17:31:40.819Z] + git tag --points-at HEAD [Pipeline] } [2020-12-21T17:31:40.847Z] $ docker exec --env ******** --env ******** cadf8349f7f7a125bcfb7512ad598bd7a8e931cb2222447165df6f978ed6c6ba ssh-agent -k [2020-12-21T17:31:40.957Z] unset SSH_AUTH_SOCK; [2020-12-21T17:31:40.958Z] unset SSH_AGENT_PID; [2020-12-21T17:31:40.958Z] echo Agent pid 18 killed; [2020-12-21T17:31:40.995Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-21T17:31:41.207Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-21T17:31:41.207Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-21T17:31:41.365Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-21T17:31:41.374Z] $ docker exec cadf8349f7f7a125bcfb7512ad598bd7a8e931cb2222447165df6f978ed6c6ba ssh-agent [2020-12-21T17:31:41.521Z] SSH_AUTH_SOCK=/tmp/ssh-aaAgUPhSYGif/agent.47 [2020-12-21T17:31:41.521Z] SSH_AGENT_PID=52 [2020-12-21T17:31:41.527Z] Running ssh-add (command line suppressed) [2020-12-21T17:31:41.650Z] Identity added: /w/workspace/_app-service-configurable_PR-158@tmp/private_key_6947620859145213260.key (/w/workspace/_app-service-configurable_PR-158@tmp/private_key_6947620859145213260.key) [2020-12-21T17:31:41.691Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-21T17:31:42.085Z] + git semver init [2020-12-21T17:31:42.086Z] # -> Open(): unable to determine branch for HEAD [2020-12-21T17:31:42.086Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-158/.git [2020-12-21T17:31:42.086Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-158 [2020-12-21T17:31:42.086Z] # $SEMVER_REMOTE_NAME = origin [2020-12-21T17:31:42.086Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-21T17:31:42.086Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-21T17:31:42.086Z] # $SEMVER_BRANCH = PR-158 [2020-12-21T17:31:42.086Z] # $SEMVER_TEMP = /tmp/semver-183346469 [2020-12-21T17:31:42.086Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2020-12-21T17:31:42.659Z] # '/tmp/semver-183346469' -> '/w/workspace/_app-service-configurable_PR-158/.semver' [2020-12-21T17:31:42.659Z] # -> Force: false [2020-12-21T17:31:42.659Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-158/.semver [Pipeline] } [2020-12-21T17:31:42.678Z] $ docker exec --env ******** --env ******** cadf8349f7f7a125bcfb7512ad598bd7a8e931cb2222447165df6f978ed6c6ba ssh-agent -k [2020-12-21T17:31:42.792Z] unset SSH_AUTH_SOCK; [2020-12-21T17:31:42.792Z] unset SSH_AGENT_PID; [2020-12-21T17:31:42.792Z] echo Agent pid 52 killed; [2020-12-21T17:31:42.827Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-21T17:31:43.298Z] + git semver [Pipeline] } [2020-12-21T17:31:43.320Z] $ docker stop --time=1 cadf8349f7f7a125bcfb7512ad598bd7a8e931cb2222447165df6f978ed6c6ba [2020-12-21T17:31:44.701Z] $ docker rm -f cadf8349f7f7a125bcfb7512ad598bd7a8e931cb2222447165df6f978ed6c6ba [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-21T17:31:45.153Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-21T17:31:45.594Z] Stashed 1 file(s) [Pipeline] echo [2020-12-21T17:31:45.597Z] [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-12-21T17:32:01.364Z] Still waiting to schedule task [2020-12-21T17:32:01.364Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-21T17:32:01.366Z] Still waiting to schedule task [2020-12-21T17:32:01.367Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-21T17:33:51.892Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17083 in /w/workspace/_app-service-configurable_PR-158 [Pipeline] { [Pipeline] ws [2020-12-21T17:33:51.954Z] Running in /w/workspace/app-service-configurable/4 [Pipeline] { [Pipeline] checkout [2020-12-21T17:33:57.147Z] using credential edgex-jenkins-ssh [2020-12-21T17:33:57.229Z] Cloning the remote Git repository [2020-12-21T17:33:57.277Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-12-21T17:33:57.382Z] > git init /w/workspace/app-service-configurable/4 # timeout=10 [2020-12-21T17:33:57.476Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-12-21T17:33:57.477Z] > git --version # timeout=10 [2020-12-21T17:33:57.500Z] > git --version # 'git version 2.17.1' [2020-12-21T17:33:57.501Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T17:33:57.553Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T17:33:58.463Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-12-21T17:33:58.479Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T17:33:58.510Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-12-21T17:33:58.575Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-12-21T17:33:58.576Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T17:33:59.217Z] Merging remotes/origin/master commit 29a5207daaee0c6984d6485493504bb709ad3623 into PR head commit a18326b98e3b96dfd175254a2cd2e61b3f1f01ee [2020-12-21T17:33:59.428Z] Merge succeeded, producing b6fa29b63dd7418fd4e42ff75b006e417d39a82f [2020-12-21T17:33:59.428Z] Checking out Revision b6fa29b63dd7418fd4e42ff75b006e417d39a82f (PR-158) [2020-12-21T17:33:58.595Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/158/head:refs/remotes/origin/PR-158 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-21T17:33:59.233Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T17:33:59.246Z] > git checkout -f a18326b98e3b96dfd175254a2cd2e61b3f1f01ee # timeout=10 [2020-12-21T17:33:59.321Z] > git remote # timeout=10 [2020-12-21T17:33:59.335Z] > git config --get remote.origin.url # timeout=10 [2020-12-21T17:33:59.347Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T17:33:59.357Z] > git merge 29a5207daaee0c6984d6485493504bb709ad3623 # timeout=10 [2020-12-21T17:33:59.400Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-21T17:33:59.431Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T17:33:59.440Z] > git checkout -f b6fa29b63dd7418fd4e42ff75b006e417d39a82f # timeout=10 [2020-12-21T17:34:03.812Z] Commit message: "Merge commit '29a5207daaee0c6984d6485493504bb709ad3623' into HEAD" [2020-12-21T17:34:03.841Z] First time build. Skipping changelog. [2020-12-21T17:34:03.815Z] > git rev-list --no-walk 13c81618a19f6814d1cada7f8c469d6a31dccbeb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T17:34:05.440Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-21T17:34:05.840Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-21T17:34:06.184Z] + sudo service+ docker restart [2020-12-21T17:34:06.184Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-21T17:34:08.934Z] provisioning config files... [2020-12-21T17:34:08.985Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/4@tmp/config8213094293082166332tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-21T17:34:09.483Z] ---> docker-login.sh [2020-12-21T17:34:09.483Z] nexus3.edgexfoundry.org:10001 [2020-12-21T17:34:10.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T17:34:10.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T17:34:10.679Z] Configure a credential helper to remove this warning. See [2020-12-21T17:34:10.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T17:34:10.679Z] [2020-12-21T17:34:10.679Z] Login Succeeded [2020-12-21T17:34:10.679Z] nexus3.edgexfoundry.org:10002 [2020-12-21T17:34:10.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T17:34:11.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T17:34:11.226Z] Configure a credential helper to remove this warning. See [2020-12-21T17:34:11.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T17:34:11.226Z] [2020-12-21T17:34:11.226Z] Login Succeeded [2020-12-21T17:34:11.226Z] nexus3.edgexfoundry.org:10003 [2020-12-21T17:34:11.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T17:34:11.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T17:34:11.775Z] Configure a credential helper to remove this warning. See [2020-12-21T17:34:11.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T17:34:11.775Z] [2020-12-21T17:34:11.775Z] Login Succeeded [2020-12-21T17:34:11.775Z] nexus3.edgexfoundry.org:10004 [2020-12-21T17:34:12.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T17:34:12.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T17:34:12.324Z] Configure a credential helper to remove this warning. See [2020-12-21T17:34:12.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T17:34:12.324Z] [2020-12-21T17:34:12.324Z] Login Succeeded [2020-12-21T17:34:12.324Z] docker.io [2020-12-21T17:34:12.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T17:34:12.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T17:34:12.881Z] Configure a credential helper to remove this warning. See [2020-12-21T17:34:12.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T17:34:12.881Z] [2020-12-21T17:34:12.881Z] Login Succeeded [2020-12-21T17:34:13.152Z] ---> docker-login.sh ends [Pipeline] } [2020-12-21T17:34:13.170Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-21T17:34:13.635Z] ========================================================= [2020-12-21T17:34:13.635Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-21T17:34:13.635Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-21T17:34:14.068Z] + 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-12-21T17:34:14.068Z] Sending build context to Docker daemon 93.7kB [2020-12-21T17:34:14.341Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2020-12-21T17:34:14.341Z] Step 2/8 : FROM ${BASE} [2020-12-21T17:34:14.617Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-21T17:34:14.617Z] 5f621e34cdf4: Pulling fs layer [2020-12-21T17:34:14.617Z] a4357932f1b6: Pulling fs layer [2020-12-21T17:34:14.617Z] 18c013af1878: Pulling fs layer [2020-12-21T17:34:14.617Z] 00ac8860ef70: Pulling fs layer [2020-12-21T17:34:14.617Z] 63d7cb157983: Pulling fs layer [2020-12-21T17:34:14.617Z] b116817d02f9: Pulling fs layer [2020-12-21T17:34:14.617Z] 745a02a5169b: Pulling fs layer [2020-12-21T17:34:14.617Z] 00ac8860ef70: Waiting [2020-12-21T17:34:14.617Z] 63d7cb157983: Waiting [2020-12-21T17:34:14.617Z] b116817d02f9: Waiting [2020-12-21T17:34:14.617Z] 745a02a5169b: Waiting [2020-12-21T17:34:14.617Z] 18c013af1878: Verifying Checksum [2020-12-21T17:34:14.617Z] 18c013af1878: Download complete [2020-12-21T17:34:14.617Z] a4357932f1b6: Download complete [2020-12-21T17:34:14.617Z] 63d7cb157983: Download complete [2020-12-21T17:34:14.617Z] b116817d02f9: Verifying Checksum [2020-12-21T17:34:14.617Z] b116817d02f9: Download complete [2020-12-21T17:34:14.617Z] 5f621e34cdf4: Download complete [2020-12-21T17:34:15.222Z] 5f621e34cdf4: Pull complete [2020-12-21T17:34:15.828Z] a4357932f1b6: Pull complete [2020-12-21T17:34:16.438Z] 18c013af1878: Pull complete [2020-12-21T17:34:17.418Z] 745a02a5169b: Verifying Checksum [2020-12-21T17:34:17.418Z] 745a02a5169b: Download complete [2020-12-21T17:34:18.392Z] 00ac8860ef70: Verifying Checksum [2020-12-21T17:34:18.392Z] 00ac8860ef70: Download complete [2020-12-21T17:34:20.404Z] Running on prd-centos7-docker-4c-2g-17085 in /w/workspace/_app-service-configurable_PR-158 [Pipeline] { [Pipeline] ws [2020-12-21T17:34:20.523Z] Running in /w/workspace/app-service-configurable/4 [Pipeline] { [Pipeline] checkout [2020-12-21T17:34:23.151Z] using credential edgex-jenkins-ssh [2020-12-21T17:34:23.209Z] Cloning the remote Git repository [2020-12-21T17:34:23.238Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-12-21T17:34:23.300Z] > git init /w/workspace/app-service-configurable/4 # timeout=10 [2020-12-21T17:34:23.355Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-12-21T17:34:23.355Z] > git --version # timeout=10 [2020-12-21T17:34:23.361Z] > git --version # 'git version 2.24.3' [2020-12-21T17:34:23.362Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T17:34:23.391Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T17:34:24.121Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-12-21T17:34:24.133Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T17:34:24.671Z] Merging remotes/origin/master commit 29a5207daaee0c6984d6485493504bb709ad3623 into PR head commit a18326b98e3b96dfd175254a2cd2e61b3f1f01ee [2020-12-21T17:34:24.766Z] Merge succeeded, producing cebd7f9328f43a361a3dd17962f2c5ae514c1ba6 [2020-12-21T17:34:24.766Z] Checking out Revision cebd7f9328f43a361a3dd17962f2c5ae514c1ba6 (PR-158) [2020-12-21T17:34:24.143Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-12-21T17:34:24.155Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-12-21T17:34:24.155Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T17:34:24.159Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/158/head:refs/remotes/origin/PR-158 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-21T17:34:24.685Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T17:34:24.691Z] > git checkout -f a18326b98e3b96dfd175254a2cd2e61b3f1f01ee # timeout=10 [2020-12-21T17:34:24.727Z] > git remote # timeout=10 [2020-12-21T17:34:24.735Z] > git config --get remote.origin.url # timeout=10 [2020-12-21T17:34:24.743Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T17:34:24.748Z] > git merge 29a5207daaee0c6984d6485493504bb709ad3623 # timeout=10 [2020-12-21T17:34:24.765Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-21T17:34:24.774Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T17:34:24.778Z] > git checkout -f cebd7f9328f43a361a3dd17962f2c5ae514c1ba6 # timeout=10 [2020-12-21T17:34:28.510Z] Commit message: "Merge commit '29a5207daaee0c6984d6485493504bb709ad3623' into HEAD" [2020-12-21T17:34:28.521Z] First time build. Skipping changelog. [2020-12-21T17:34:28.629Z] 00ac8860ef70: Pull complete [2020-12-21T17:34:28.629Z] 63d7cb157983: Pull complete [2020-12-21T17:34:28.906Z] b116817d02f9: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2020-12-21T17:34:28.518Z] > git rev-list --no-walk 13c81618a19f6814d1cada7f8c469d6a31dccbeb # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T17:34:29.746Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-21T17:34:30.071Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-21T17:34:30.365Z] + sudo service docker restart [2020-12-21T17:34:30.366Z] + true [2020-12-21T17:34:30.366Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-21T17:34:31.377Z] provisioning config files... [2020-12-21T17:34:31.402Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/4@tmp/config4698085535212854965tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-21T17:34:31.813Z] ---> docker-login.sh [2020-12-21T17:34:31.813Z] nexus3.edgexfoundry.org:10001 [2020-12-21T17:34:31.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T17:34:32.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T17:34:32.078Z] Configure a credential helper to remove this warning. See [2020-12-21T17:34:32.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T17:34:32.078Z] [2020-12-21T17:34:32.078Z] Login Succeeded [2020-12-21T17:34:32.078Z] nexus3.edgexfoundry.org:10002 [2020-12-21T17:34:32.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T17:34:32.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T17:34:32.341Z] Configure a credential helper to remove this warning. See [2020-12-21T17:34:32.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T17:34:32.341Z] [2020-12-21T17:34:32.341Z] Login Succeeded [2020-12-21T17:34:32.342Z] nexus3.edgexfoundry.org:10003 [2020-12-21T17:34:32.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T17:34:32.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T17:34:32.342Z] Configure a credential helper to remove this warning. See [2020-12-21T17:34:32.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T17:34:32.342Z] [2020-12-21T17:34:32.342Z] Login Succeeded [2020-12-21T17:34:32.342Z] nexus3.edgexfoundry.org:10004 [2020-12-21T17:34:32.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T17:34:32.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T17:34:32.604Z] Configure a credential helper to remove this warning. See [2020-12-21T17:34:32.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T17:34:32.604Z] [2020-12-21T17:34:32.604Z] Login Succeeded [2020-12-21T17:34:32.604Z] docker.io [2020-12-21T17:34:32.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T17:34:33.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T17:34:33.129Z] Configure a credential helper to remove this warning. See [2020-12-21T17:34:33.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T17:34:33.129Z] [2020-12-21T17:34:33.129Z] Login Succeeded [2020-12-21T17:34:33.129Z] ---> docker-login.sh ends [Pipeline] } [2020-12-21T17:34:33.139Z] Deleting 1 temporary files [Pipeline] // wrap [2020-12-21T17:34:33.258Z] 745a02a5169b: Pull complete [2020-12-21T17:34:33.258Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-21T17:34:33.258Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-21T17:34:33.258Z] ---> b7e6874047d6 [2020-12-21T17:34:33.258Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-21T17:34:33.549Z] ========================================================= [2020-12-21T17:34:33.549Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-21T17:34:33.549Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-21T17:34:33.893Z] + 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-12-21T17:34:33.893Z] Sending build context to Docker daemon 93.7kB [2020-12-21T17:34:33.893Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2020-12-21T17:34:33.893Z] Step 2/8 : FROM ${BASE} [2020-12-21T17:34:33.893Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-21T17:34:33.893Z] 188c0c94c7c5: Pulling fs layer [2020-12-21T17:34:33.893Z] 0ef7d3d256c8: Pulling fs layer [2020-12-21T17:34:33.893Z] de9db76c5a1d: Pulling fs layer [2020-12-21T17:34:33.893Z] bca2f99d35d6: Pulling fs layer [2020-12-21T17:34:33.893Z] 93359f2a8cfa: Pulling fs layer [2020-12-21T17:34:33.893Z] 7c6f9722023f: Pulling fs layer [2020-12-21T17:34:33.893Z] a35cf1a2eb13: Pulling fs layer [2020-12-21T17:34:33.893Z] 93359f2a8cfa: Waiting [2020-12-21T17:34:33.893Z] 7c6f9722023f: Waiting [2020-12-21T17:34:33.893Z] a35cf1a2eb13: Waiting [2020-12-21T17:34:33.893Z] bca2f99d35d6: Waiting [2020-12-21T17:34:34.155Z] de9db76c5a1d: Verifying Checksum [2020-12-21T17:34:34.155Z] de9db76c5a1d: Download complete [2020-12-21T17:34:34.155Z] 0ef7d3d256c8: Verifying Checksum [2020-12-21T17:34:34.155Z] 0ef7d3d256c8: Download complete [2020-12-21T17:34:34.155Z] 93359f2a8cfa: Verifying Checksum [2020-12-21T17:34:34.155Z] 93359f2a8cfa: Download complete [2020-12-21T17:34:34.155Z] 7c6f9722023f: Verifying Checksum [2020-12-21T17:34:34.155Z] 7c6f9722023f: Download complete [2020-12-21T17:34:34.155Z] 188c0c94c7c5: Verifying Checksum [2020-12-21T17:34:34.155Z] 188c0c94c7c5: Download complete [2020-12-21T17:34:34.419Z] 188c0c94c7c5: Pull complete [2020-12-21T17:34:34.419Z] 0ef7d3d256c8: Pull complete [2020-12-21T17:34:34.692Z] de9db76c5a1d: Pull complete [2020-12-21T17:34:35.891Z] ---> Running in 3fd3d1438a46 [2020-12-21T17:34:35.891Z] Removing intermediate container 3fd3d1438a46 [2020-12-21T17:34:35.891Z] ---> f686d054ef6d [2020-12-21T17:34:35.891Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-21T17:34:35.891Z] ---> Running in 0e00b263f912 [2020-12-21T17:34:36.094Z] a35cf1a2eb13: Verifying Checksum [2020-12-21T17:34:36.094Z] a35cf1a2eb13: Download complete [2020-12-21T17:34:36.671Z] bca2f99d35d6: Verifying Checksum [2020-12-21T17:34:36.671Z] bca2f99d35d6: Download complete [2020-12-21T17:34:38.533Z] Removing intermediate container 0e00b263f912 [2020-12-21T17:34:38.533Z] ---> d15e4c476d50 [2020-12-21T17:34:38.533Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-12-21T17:34:38.533Z] ---> Running in 1e5c95c558ba [2020-12-21T17:34:39.993Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-21T17:34:40.588Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-21T17:34:41.575Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-12-21T17:34:41.575Z] (2/6) Installing libsodium (1.0.18-r0) [2020-12-21T17:34:41.575Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-12-21T17:34:41.854Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-12-21T17:34:41.854Z] (5/6) Installing libzmq (4.3.3-r0) [2020-12-21T17:34:42.036Z] bca2f99d35d6: Pull complete [2020-12-21T17:34:42.037Z] 93359f2a8cfa: Pull complete [2020-12-21T17:34:42.037Z] 7c6f9722023f: Pull complete [2020-12-21T17:34:42.142Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-12-21T17:34:42.143Z] Executing busybox-1.31.1-r19.trigger [2020-12-21T17:34:42.143Z] OK: 144 MiB in 45 packages [2020-12-21T17:34:43.574Z] Removing intermediate container 1e5c95c558ba [2020-12-21T17:34:43.574Z] ---> 9da58db1a43b [2020-12-21T17:34:43.574Z] Step 6/8 : WORKDIR /app [2020-12-21T17:34:43.574Z] ---> Running in cac71efb4ae9 [2020-12-21T17:34:44.167Z] Removing intermediate container cac71efb4ae9 [2020-12-21T17:34:44.167Z] ---> 0b15f757d0dc [2020-12-21T17:34:44.167Z] Step 7/8 : COPY . . [2020-12-21T17:34:45.145Z] ---> 8ec9ba655a46 [2020-12-21T17:34:45.145Z] Step 8/8 : RUN go mod download [2020-12-21T17:34:45.145Z] ---> Running in d79af1556652 [2020-12-21T17:34:45.383Z] a35cf1a2eb13: Pull complete [2020-12-21T17:34:45.383Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-21T17:34:45.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-21T17:34:45.383Z] ---> a62c8e92a672 [2020-12-21T17:34:45.383Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-21T17:34:45.383Z] ---> Running in c4c7c8ac8ce0 [2020-12-21T17:34:45.654Z] Removing intermediate container c4c7c8ac8ce0 [2020-12-21T17:34:45.654Z] ---> 8fe650f7f6a5 [2020-12-21T17:34:45.654Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-21T17:34:45.654Z] ---> Running in 079badd6cb9f [2020-12-21T17:34:46.617Z] Removing intermediate container 079badd6cb9f [2020-12-21T17:34:46.617Z] ---> 2f9fd58dd43e [2020-12-21T17:34:46.617Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-12-21T17:34:46.617Z] ---> Running in 21ae92d6cad5 [2020-12-21T17:34:47.195Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-21T17:34:48.140Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-21T17:34:48.401Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-12-21T17:34:48.669Z] (2/6) Installing libsodium (1.0.18-r0) [2020-12-21T17:34:48.670Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-12-21T17:34:48.670Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-12-21T17:34:48.950Z] (5/6) Installing libzmq (4.3.3-r0) [2020-12-21T17:34:48.950Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-12-21T17:34:48.950Z] Executing busybox-1.31.1-r19.trigger [2020-12-21T17:34:49.226Z] OK: 167 MiB in 45 packages [2020-12-21T17:34:49.805Z] Removing intermediate container 21ae92d6cad5 [2020-12-21T17:34:49.805Z] ---> 44364628c2f9 [2020-12-21T17:34:49.805Z] Step 6/8 : WORKDIR /app [2020-12-21T17:34:49.805Z] ---> Running in 57f6ada134ed [2020-12-21T17:34:50.069Z] Removing intermediate container 57f6ada134ed [2020-12-21T17:34:50.069Z] ---> 9f0ba01a3145 [2020-12-21T17:34:50.069Z] Step 7/8 : COPY . . [2020-12-21T17:34:50.332Z] ---> d30c3b775fa4 [2020-12-21T17:34:50.332Z] Step 8/8 : RUN go mod download [2020-12-21T17:34:50.332Z] ---> Running in 576908ef74fe [2020-12-21T17:35:12.048Z] Removing intermediate container d79af1556652 [2020-12-21T17:35:12.048Z] ---> e8ce36110dde [2020-12-21T17:35:12.048Z] Successfully built e8ce36110dde [2020-12-21T17:35:12.048Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T17:35:12.401Z] + docker inspect -f . ci-base-image-arm64 [2020-12-21T17:35:12.401Z] . [Pipeline] withDockerContainer [2020-12-21T17:35:12.692Z] prd-ubuntu18.04-docker-arm64-4c-16g-17083 does not seem to be running inside a container [2020-12-21T17:35:12.818Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-21T17:35:14.427Z] $ docker top 0ffb615f048b4cb30ea5f67a6305e96678d5b8faec837c24c85d059c4e66b164 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T17:35:15.578Z] + go version [2020-12-21T17:35:15.578Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-21T17:35:15.605Z] $ docker stop --time=1 0ffb615f048b4cb30ea5f67a6305e96678d5b8faec837c24c85d059c4e66b164 [2020-12-21T17:35:17.093Z] Removing intermediate container 576908ef74fe [2020-12-21T17:35:17.093Z] ---> 5f13dab6fcca [2020-12-21T17:35:17.093Z] Successfully built 5f13dab6fcca [2020-12-21T17:35:17.093Z] Successfully tagged ci-base-image-x86_64:latest [2020-12-21T17:35:17.606Z] $ docker rm -f 0ffb615f048b4cb30ea5f67a6305e96678d5b8faec837c24c85d059c4e66b164 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-21T17:35:18.484Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-21T17:35:18.484Z] . [Pipeline] withDockerContainer [2020-12-21T17:35:18.710Z] + docker inspect -f . ci-base-image-arm64 [2020-12-21T17:35:18.710Z] . [2020-12-21T17:35:18.823Z] prd-centos7-docker-4c-2g-17085 does not seem to be running inside a container [2020-12-21T17:35:18.972Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-21T17:35:19.737Z] $ docker top 2b1dbc31f11ad0fe21031c8b1160df846692645828fd0b57bb0e0449ba0bfc4b -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2020-12-21T17:35:20.198Z] prd-ubuntu18.04-docker-arm64-4c-16g-17083 does not seem to be running inside a container [2020-12-21T17:35:20.285Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-21T17:35:21.819Z] $ docker top 3d7867d517965b25676863883d49ea29b08cd69fd1184269648b972b3b5c954f -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2020-12-21T17:35:22.505Z] + go version [2020-12-21T17:35:22.505Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-21T17:35:22.526Z] $ docker stop --time=1 2b1dbc31f11ad0fe21031c8b1160df846692645828fd0b57bb0e0449ba0bfc4b [2020-12-21T17:35:22.914Z] + make test [2020-12-21T17:35:22.914Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-12-21T17:35:23.916Z] $ docker rm -f 2b1dbc31f11ad0fe21031c8b1160df846692645828fd0b57bb0e0449ba0bfc4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-21T17:35:24.821Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-21T17:35:24.821Z] . [Pipeline] withDockerContainer [2020-12-21T17:35:24.932Z] prd-centos7-docker-4c-2g-17085 does not seem to be running inside a container [2020-12-21T17:35:25.001Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-21T17:35:25.685Z] $ docker top f6c26163329ab1578b9271d66b4357a64bd645cc73cdb8434643bd70ff4cb104 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T17:35:26.235Z] + make test [2020-12-21T17:35:26.236Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-12-21T17:35:38.691Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-12-21T17:35:38.691Z] CGO_ENABLED=1 go vet ./... [2020-12-21T17:35:39.645Z] gofmt -l . [2020-12-21T17:35:39.912Z] [ "`gofmt -l .`" = "" ] [2020-12-21T17:35:39.912Z] ./bin/test-go-mod-tidy.sh [2020-12-21T17:35:40.180Z] go.mod is not tidy, please run "go mod tidy" [2020-12-21T17:35:40.180Z] changes from running "go mod tidy:" [2020-12-21T17:35:40.180Z] --- go.mod [2020-12-21T17:35:40.180Z] +++ go.mod.bk [2020-12-21T17:35:40.180Z] @@ -2,4 +2,4 @@ [2020-12-21T17:35:40.180Z] [2020-12-21T17:35:40.180Z] go 1.15 [2020-12-21T17:35:40.180Z] [2020-12-21T17:35:40.180Z] -require github.com/edgexfoundry/app-functions-sdk-go v1.3.1-dev.8 [2020-12-21T17:35:40.180Z] +require github.com/edgexfoundry/app-functions-sdk-go v1.3.1-dev.8 [2020-12-21T17:35:40.180Z] \ No newline at end of file [2020-12-21T17:35:40.180Z] make: *** [makefile:38: test] Error 1 [Pipeline] } [2020-12-21T17:35:40.200Z] $ docker stop --time=1 f6c26163329ab1578b9271d66b4357a64bd645cc73cdb8434643bd70ff4cb104 [2020-12-21T17:35:42.518Z] $ docker rm -f f6c26163329ab1578b9271d66b4357a64bd645cc73cdb8434643bd70ff4cb104 [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-12-21T17:35:45.019Z] Failed in branch amd64 [2020-12-21T17:36:02.184Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-12-21T17:36:02.184Z] CGO_ENABLED=1 go vet ./... [2020-12-21T17:36:05.615Z] gofmt -l . [2020-12-21T17:36:05.615Z] [ "`gofmt -l .`" = "" ] [2020-12-21T17:36:05.615Z] ./bin/test-go-mod-tidy.sh [2020-12-21T17:36:05.889Z] go.mod is not tidy, please run "go mod tidy" [2020-12-21T17:36:05.889Z] changes from running "go mod tidy:" [2020-12-21T17:36:05.889Z] --- go.mod [2020-12-21T17:36:05.889Z] +++ go.mod.bk [2020-12-21T17:36:05.889Z] @@ -2,4 +2,4 @@ [2020-12-21T17:36:05.889Z] [2020-12-21T17:36:05.889Z] go 1.15 [2020-12-21T17:36:05.889Z] [2020-12-21T17:36:05.889Z] -require github.com/edgexfoundry/app-functions-sdk-go v1.3.1-dev.8 [2020-12-21T17:36:05.889Z] +require github.com/edgexfoundry/app-functions-sdk-go v1.3.1-dev.8 [2020-12-21T17:36:05.889Z] \ No newline at end of file [2020-12-21T17:36:05.889Z] make: *** [makefile:38: test] Error 1 [Pipeline] } [2020-12-21T17:36:05.921Z] $ docker stop --time=1 3d7867d517965b25676863883d49ea29b08cd69fd1184269648b972b3b5c954f [2020-12-21T17:36:08.289Z] $ docker rm -f 3d7867d517965b25676863883d49ea29b08cd69fd1184269648b972b3b5c954f [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-12-21T17:36:10.001Z] 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-12-21T17:36:13.159Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T17:36:13.462Z] ---> package-listing.sh [2020-12-21T17:36:13.462Z] ++ facter osfamily [2020-12-21T17:36:13.462Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-21T17:36:13.462Z] + OS_FAMILY=redhat [2020-12-21T17:36:13.462Z] + workspace=/w/workspace/_app-service-configurable_PR-158 [2020-12-21T17:36:13.462Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-21T17:36:13.462Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-21T17:36:13.462Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-21T17:36:13.462Z] + PACKAGES=/tmp/packages_start.txt [2020-12-21T17:36:13.462Z] + '[' /w/workspace/_app-service-configurable_PR-158 ']' [2020-12-21T17:36:13.462Z] + PACKAGES=/tmp/packages_end.txt [2020-12-21T17:36:13.462Z] + case "${OS_FAMILY}" in [2020-12-21T17:36:13.462Z] + rpm -qa [2020-12-21T17:36:13.462Z] + sort [2020-12-21T17:36:18.772Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-21T17:36:18.772Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-21T17:36:18.772Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-21T17:36:18.772Z] + '[' /w/workspace/_app-service-configurable_PR-158 ']' [2020-12-21T17:36:18.772Z] + mkdir -p /w/workspace/_app-service-configurable_PR-158/archives/ [2020-12-21T17:36:18.772Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-158/archives/ [Pipeline] echo [2020-12-21T17:36:18.785Z] 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/_app-service-configurable_PR-158/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-21T17:36:19.077Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-21T17:36:19.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T17:36:19.386Z] [2020-12-21T17:36:19.386Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-21T17:36:19.746Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T17:36:19.746Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-21T17:36:19.746Z] df20fa9351a1: Pulling fs layer [2020-12-21T17:36:19.746Z] 36b3adc4ff6f: Pulling fs layer [2020-12-21T17:36:19.746Z] 8ad3a11d3b57: Pulling fs layer [2020-12-21T17:36:19.746Z] 46f8f816bc3b: Pulling fs layer [2020-12-21T17:36:19.746Z] 93b61091891f: Pulling fs layer [2020-12-21T17:36:19.746Z] 93b9cdb0e59b: Pulling fs layer [2020-12-21T17:36:19.746Z] 5e14af77c1be: Pulling fs layer [2020-12-21T17:36:19.746Z] 01666e4c0597: Pulling fs layer [2020-12-21T17:36:19.746Z] aa168da1d23b: Pulling fs layer [2020-12-21T17:36:19.746Z] 46f8f816bc3b: Waiting [2020-12-21T17:36:19.746Z] 93b61091891f: Waiting [2020-12-21T17:36:19.746Z] 93b9cdb0e59b: Waiting [2020-12-21T17:36:19.746Z] aa168da1d23b: Waiting [2020-12-21T17:36:19.746Z] 01666e4c0597: Waiting [2020-12-21T17:36:19.746Z] 5e14af77c1be: Waiting [2020-12-21T17:36:19.746Z] 36b3adc4ff6f: Verifying Checksum [2020-12-21T17:36:19.746Z] 36b3adc4ff6f: Download complete [2020-12-21T17:36:19.746Z] 46f8f816bc3b: Verifying Checksum [2020-12-21T17:36:19.746Z] 46f8f816bc3b: Download complete [2020-12-21T17:36:20.010Z] df20fa9351a1: Verifying Checksum [2020-12-21T17:36:20.010Z] 93b9cdb0e59b: Verifying Checksum [2020-12-21T17:36:20.010Z] 93b9cdb0e59b: Download complete [2020-12-21T17:36:20.010Z] 5e14af77c1be: Verifying Checksum [2020-12-21T17:36:20.010Z] 5e14af77c1be: Download complete [2020-12-21T17:36:20.010Z] 93b61091891f: Verifying Checksum [2020-12-21T17:36:20.010Z] 93b61091891f: Download complete [2020-12-21T17:36:20.010Z] 01666e4c0597: Verifying Checksum [2020-12-21T17:36:20.010Z] 01666e4c0597: Download complete [2020-12-21T17:36:20.010Z] 8ad3a11d3b57: Verifying Checksum [2020-12-21T17:36:20.010Z] 8ad3a11d3b57: Download complete [2020-12-21T17:36:20.278Z] df20fa9351a1: Pull complete [2020-12-21T17:36:20.555Z] 36b3adc4ff6f: Pull complete [2020-12-21T17:36:21.140Z] 8ad3a11d3b57: Pull complete [2020-12-21T17:36:21.140Z] 46f8f816bc3b: Pull complete [2020-12-21T17:36:22.098Z] 93b61091891f: Pull complete [2020-12-21T17:36:22.098Z] 93b9cdb0e59b: Pull complete [2020-12-21T17:36:22.098Z] 5e14af77c1be: Pull complete [2020-12-21T17:36:22.393Z] 01666e4c0597: Pull complete [2020-12-21T17:36:22.657Z] aa168da1d23b: Verifying Checksum [2020-12-21T17:36:22.657Z] aa168da1d23b: Download complete [2020-12-21T17:36:29.287Z] aa168da1d23b: Pull complete [2020-12-21T17:36:29.287Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-21T17:36:29.287Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T17:36:29.287Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-21T17:36:29.455Z] prd-centos7-docker-4c-2g-17082 does not seem to be running inside a container [2020-12-21T17:36:29.513Z] $ 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/_app-service-configurable_PR-158/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-158 -v /w/workspace/_app-service-configurable_PR-158:/w/workspace/_app-service-configurable_PR-158:rw,z -v /w/workspace/_app-service-configurable_PR-158@tmp:/w/workspace/_app-service-configurable_PR-158@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-21T17:36:33.577Z] $ docker top d7058ee33dca49c3fd3d8cc3cebed2bef63844069b1bf0ef7fd5d85ee20941f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T17:36:34.162Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-21T17:36:34.463Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-21T17:36:34.805Z] + ls /var/log/sa-host [2020-12-21T17:36:34.805Z] + sadf -c /var/log/sa-host/sa21 [2020-12-21T17:36:34.805Z] file_magic: OK [2020-12-21T17:36:34.805Z] HZ: Using current value: 100 [2020-12-21T17:36:34.805Z] file_header: OK [2020-12-21T17:36:34.805Z] 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-12-21T17:36:34.805Z] Statistics: [2020-12-21T17:36:34.805Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-21T17:36:34.805Z] File successfully converted to sysstat format version 12.2.1 [2020-12-21T17:36:34.805Z] + sadf -c /var/log/sa-host/sa23 [2020-12-21T17:36:34.805Z] file_magic: OK [2020-12-21T17:36:34.805Z] HZ: Using current value: 100 [2020-12-21T17:36:34.805Z] file_header: OK [2020-12-21T17:36:34.805Z] 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-12-21T17:36:34.805Z] Statistics: [2020-12-21T17:36:34.805Z] Hnuu...uuuununununu... [2020-12-21T17:36:34.805Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-21T17:36:35.426Z] provisioning config files... [2020-12-21T17:36:35.441Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-158@tmp/config3773092824177895986tmp [Pipeline] { [Pipeline] echo [2020-12-21T17:36:35.546Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T17:36:35.874Z] ---> create-netrc.sh [Pipeline] } [2020-12-21T17:36:35.887Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-21T17:36:36.000Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T17:36:36.337Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-21T17:36:36.349Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T17:36:36.649Z] ---> sudo-logs.sh [2020-12-21T17:36:36.649Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-21T17:36:36.664Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T17:36:36.968Z] ---> job-cost.sh [2020-12-21T17:36:36.969Z] lf-activate-venv: SKIPPING [2020-12-21T17:36:36.969Z] INFO: No Stack... [2020-12-21T17:36:38.366Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-21T17:36:38.955Z] INFO: Archiving Costs [Pipeline] echo [2020-12-21T17:36:38.969Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T17:36:39.346Z] ---> logs-deploy.sh [2020-12-21T17:36:39.347Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-158/4 [2020-12-21T17:36:39.347Z] INFO: archiving workspace using pattern(s): [2020-12-21T17:36:41.287Z] Archives upload complete. [2020-12-21T17:36:41.287Z] INFO: archiving logs to Nexus