Pull request #168 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 jim-wang-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 9f2d32b5c9ce46fc1ac012756954fae5ec908be8+b430426e5122e1d8120a8d3ea89e621b3f587a0f (e1b4aca61df1b195f8d76099c457ee792f2716f7) 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-21296 in /w/workspace/_app-service-configurable_PR-168 [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-168 # 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/168/head:refs/remotes/origin/PR-168 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b430426e5122e1d8120a8d3ea89e621b3f587a0f into PR head commit 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 Merge succeeded, producing 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 Checking out Revision 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 (PR-168) > git config core.sparsecheckout # timeout=10 > git checkout -f 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 # 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 b430426e5122e1d8120a8d3ea89e621b3f587a0f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 # timeout=10 Commit message: "feat(security): Add dumb-init to Dockerfile of ASC" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-19T20:45:01.186Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk 296969b817488fc227c82a5fce0416094e1afae1 # timeout=10 [Pipeline] withCredentials [2021-01-19T20:45:01.460Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-19T20:45:01.549Z] ========================================================= [2021-01-19T20:45:01.549Z] EdgeX Global Pipelines Version Info [2021-01-19T20:45:01.549Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-19T20:45:03.200Z] ------------------- [2021-01-19T20:45:03.200Z] stable info: [2021-01-19T20:45:03.200Z] ------------------- [2021-01-19T20:45:03.200Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-19T20:45:03.200Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-19T20:45:03.200Z] Message: update stable to v1.0.177 [2021-01-19T20:45:04.145Z] ------------------- [2021-01-19T20:45:04.145Z] experimental info: [2021-01-19T20:45:04.145Z] ------------------- [2021-01-19T20:45:04.145Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-19T20:45:04.145Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-19T20:45:04.145Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-19T20:45:04.400Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2021-01-19T20:45:04.488Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2021-01-19T20:45:04.608Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-19T20:45:04.704Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-19T20:45:04.799Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-19T20:45:04.886Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-19T20:45:05.005Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-19T20:45:05.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-19T20:45:05.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-19T20:45:05.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-19T20:45:05.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-19T20:45:05.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-service-configurable [Pipeline] echo [2021-01-19T20:45:05.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-19T20:45:05.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-19T20:45:05.779Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-19T20:45:05.889Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-19T20:45:05.985Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T20:45:06.077Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T20:45:06.162Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-19T20:45:06.255Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-01-19T20:45:06.342Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-19T20:45:06.437Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-19T20:45:06.539Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-19T20:45:06.631Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-19T20:45:06.786Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-19T20:45:06.871Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-19T20:45:06.992Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-19T20:45:07.076Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-168 [Pipeline] echo [2021-01-19T20:45:07.164Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-168 [Pipeline] echo [2021-01-19T20:45:07.249Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-168 [Pipeline] echo [2021-01-19T20:45:07.337Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 [Pipeline] echo [2021-01-19T20:45:07.424Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9f2d32b [Pipeline] echo [2021-01-19T20:45:07.526Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-19T20:45:07.689Z] provisioning config files... [2021-01-19T20:45:07.719Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-168@tmp/config7755680759928007089tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-19T20:45:08.069Z] ---> docker-login.sh [2021-01-19T20:45:08.069Z] nexus3.edgexfoundry.org:10001 [2021-01-19T20:45:08.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T20:45:08.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T20:45:08.334Z] Configure a credential helper to remove this warning. See [2021-01-19T20:45:08.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T20:45:08.334Z] [2021-01-19T20:45:08.334Z] Login Succeeded [2021-01-19T20:45:08.334Z] nexus3.edgexfoundry.org:10002 [2021-01-19T20:45:08.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T20:45:08.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T20:45:08.598Z] Configure a credential helper to remove this warning. See [2021-01-19T20:45:08.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T20:45:08.598Z] [2021-01-19T20:45:08.598Z] Login Succeeded [2021-01-19T20:45:08.598Z] nexus3.edgexfoundry.org:10003 [2021-01-19T20:45:08.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T20:45:08.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T20:45:08.861Z] Configure a credential helper to remove this warning. See [2021-01-19T20:45:08.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T20:45:08.861Z] [2021-01-19T20:45:08.861Z] Login Succeeded [2021-01-19T20:45:08.861Z] nexus3.edgexfoundry.org:10004 [2021-01-19T20:45:08.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T20:45:08.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T20:45:08.861Z] Configure a credential helper to remove this warning. See [2021-01-19T20:45:08.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T20:45:08.861Z] [2021-01-19T20:45:08.861Z] Login Succeeded [2021-01-19T20:45:08.861Z] docker.io [2021-01-19T20:45:09.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T20:45:09.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T20:45:09.385Z] Configure a credential helper to remove this warning. See [2021-01-19T20:45:09.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T20:45:09.385Z] [2021-01-19T20:45:09.385Z] Login Succeeded [2021-01-19T20:45:09.385Z] ---> docker-login.sh ends [Pipeline] } [2021-01-19T20:45:09.395Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T20:45:10.237Z] + git log --format=format:%s -1 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 [Pipeline] echo [2021-01-19T20:45:10.282Z] GIT_COMMIT: 9f2d32b5c9ce46fc1ac012756954fae5ec908be8, Commit Message: feat(security): Add dumb-init to Dockerfile of ASC [Pipeline] echo [2021-01-19T20:45:10.325Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-19T20:45:10.917Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T20:45:10.917Z] [2021-01-19T20:45:10.917Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T20:45:11.265Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T20:45:11.265Z] latest: Pulling from edgex-devops/git-semver [2021-01-19T20:45:11.265Z] 31603596830f: Pulling fs layer [2021-01-19T20:45:11.265Z] 2a8b12db71e7: Pulling fs layer [2021-01-19T20:45:11.265Z] 6ca5941a6612: Pulling fs layer [2021-01-19T20:45:11.265Z] ecc8261a40a4: Pulling fs layer [2021-01-19T20:45:11.265Z] ecc8261a40a4: Waiting [2021-01-19T20:45:11.265Z] 2a8b12db71e7: Verifying Checksum [2021-01-19T20:45:11.265Z] 2a8b12db71e7: Download complete [2021-01-19T20:45:11.265Z] 31603596830f: Verifying Checksum [2021-01-19T20:45:11.265Z] 31603596830f: Download complete [2021-01-19T20:45:11.531Z] ecc8261a40a4: Verifying Checksum [2021-01-19T20:45:11.531Z] ecc8261a40a4: Download complete [2021-01-19T20:45:11.531Z] 31603596830f: Pull complete [2021-01-19T20:45:11.793Z] 6ca5941a6612: Verifying Checksum [2021-01-19T20:45:11.793Z] 6ca5941a6612: Download complete [2021-01-19T20:45:11.793Z] 2a8b12db71e7: Pull complete [2021-01-19T20:45:12.370Z] 6ca5941a6612: Pull complete [2021-01-19T20:45:12.946Z] ecc8261a40a4: Pull complete [2021-01-19T20:45:12.946Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-19T20:45:12.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T20:45:12.946Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-19T20:45:13.102Z] prd-centos7-docker-4c-2g-21296 does not seem to be running inside a container [2021-01-19T20:45:13.158Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-168 -v /w/workspace/_app-service-configurable_PR-168:/w/workspace/_app-service-configurable_PR-168:rw,z -v /w/workspace/_app-service-configurable_PR-168@tmp:/w/workspace/_app-service-configurable_PR-168@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-19T20:45:15.052Z] $ docker top c8468ee13728a3f103b2af6378e8c5ce27b272fe7386e3fc78c6af29f7aee9b7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-19T20:45:15.384Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-19T20:45:15.384Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-19T20:45:15.608Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-19T20:45:15.612Z] $ docker exec c8468ee13728a3f103b2af6378e8c5ce27b272fe7386e3fc78c6af29f7aee9b7 ssh-agent [2021-01-19T20:45:15.761Z] SSH_AUTH_SOCK=/tmp/ssh-A3L2usBwattQ/agent.11 [2021-01-19T20:45:15.761Z] SSH_AGENT_PID=16 [2021-01-19T20:45:15.776Z] Running ssh-add (command line suppressed) [2021-01-19T20:45:15.886Z] Identity added: /w/workspace/_app-service-configurable_PR-168@tmp/private_key_3366607294331674677.key (/w/workspace/_app-service-configurable_PR-168@tmp/private_key_3366607294331674677.key) [2021-01-19T20:45:15.933Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-19T20:45:16.273Z] + git tag --points-at HEAD [Pipeline] } [2021-01-19T20:45:16.297Z] $ docker exec --env ******** --env ******** c8468ee13728a3f103b2af6378e8c5ce27b272fe7386e3fc78c6af29f7aee9b7 ssh-agent -k [2021-01-19T20:45:16.412Z] unset SSH_AUTH_SOCK; [2021-01-19T20:45:16.412Z] unset SSH_AGENT_PID; [2021-01-19T20:45:16.413Z] echo Agent pid 16 killed; [2021-01-19T20:45:16.459Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-19T20:45:16.633Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-19T20:45:16.633Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-19T20:45:16.800Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-19T20:45:16.805Z] $ docker exec c8468ee13728a3f103b2af6378e8c5ce27b272fe7386e3fc78c6af29f7aee9b7 ssh-agent [2021-01-19T20:45:16.956Z] SSH_AUTH_SOCK=/tmp/ssh-Ojyp8HYwuso0/agent.46 [2021-01-19T20:45:16.956Z] SSH_AGENT_PID=51 [2021-01-19T20:45:16.963Z] Running ssh-add (command line suppressed) [2021-01-19T20:45:17.082Z] Identity added: /w/workspace/_app-service-configurable_PR-168@tmp/private_key_7084378527645221211.key (/w/workspace/_app-service-configurable_PR-168@tmp/private_key_7084378527645221211.key) [2021-01-19T20:45:17.139Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-19T20:45:17.521Z] + git semver init [2021-01-19T20:45:17.521Z] # -> Open(): unable to determine branch for HEAD [2021-01-19T20:45:17.521Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-168/.git [2021-01-19T20:45:17.521Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-168 [2021-01-19T20:45:17.521Z] # $SEMVER_REMOTE_NAME = origin [2021-01-19T20:45:17.521Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-19T20:45:17.521Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-19T20:45:17.521Z] # $SEMVER_BRANCH = PR-168 [2021-01-19T20:45:17.521Z] # $SEMVER_TEMP = /tmp/semver-986239900 [2021-01-19T20:45:17.521Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2021-01-19T20:45:18.096Z] # '/tmp/semver-986239900' -> '/w/workspace/_app-service-configurable_PR-168/.semver' [2021-01-19T20:45:18.096Z] # -> Force: false [2021-01-19T20:45:18.096Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-168/.semver [Pipeline] } [2021-01-19T20:45:18.110Z] $ docker exec --env ******** --env ******** c8468ee13728a3f103b2af6378e8c5ce27b272fe7386e3fc78c6af29f7aee9b7 ssh-agent -k [2021-01-19T20:45:18.218Z] unset SSH_AUTH_SOCK; [2021-01-19T20:45:18.218Z] unset SSH_AGENT_PID; [2021-01-19T20:45:18.218Z] echo Agent pid 51 killed; [2021-01-19T20:45:18.260Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-19T20:45:18.772Z] + git semver [Pipeline] } [2021-01-19T20:45:18.790Z] $ docker stop --time=1 c8468ee13728a3f103b2af6378e8c5ce27b272fe7386e3fc78c6af29f7aee9b7 [2021-01-19T20:45:20.207Z] $ docker rm -f c8468ee13728a3f103b2af6378e8c5ce27b272fe7386e3fc78c6af29f7aee9b7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T20:45:20.664Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-19T20:45:21.130Z] Stashed 1 file(s) [Pipeline] echo [2021-01-19T20:45:21.133Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-19T20:45:21.865Z] Running on prd-centos7-docker-4c-2g-21295 in /w/workspace/_app-service-configurable_PR-168 [Pipeline] { [Pipeline] ws [2021-01-19T20:45:21.915Z] Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout [2021-01-19T20:45:27.494Z] using credential edgex-jenkins-ssh [2021-01-19T20:45:27.553Z] Cloning the remote Git repository [2021-01-19T20:45:27.628Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2021-01-19T20:45:27.730Z] > git init /w/workspace/app-service-configurable/2 # timeout=10 [2021-01-19T20:45:27.900Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2021-01-19T20:45:27.900Z] > git --version # timeout=10 [2021-01-19T20:45:27.967Z] > git --version # 'git version 2.24.3' [2021-01-19T20:45:27.968Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T20:45:28.053Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T20:45:28.873Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2021-01-19T20:45:28.922Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T20:45:28.982Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2021-01-19T20:45:29.012Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2021-01-19T20:45:29.013Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T20:45:29.020Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/168/head:refs/remotes/origin/PR-168 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-19T20:45:29.534Z] Merging remotes/origin/master commit b430426e5122e1d8120a8d3ea89e621b3f587a0f into PR head commit 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 [2021-01-19T20:45:29.737Z] Merge succeeded, producing 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 [2021-01-19T20:45:29.737Z] Checking out Revision 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 (PR-168) [2021-01-19T20:45:29.547Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T20:45:29.580Z] > git checkout -f 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 # timeout=10 [2021-01-19T20:45:29.670Z] > git remote # timeout=10 [2021-01-19T20:45:29.680Z] > git config --get remote.origin.url # timeout=10 [2021-01-19T20:45:29.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T20:45:29.709Z] > git merge b430426e5122e1d8120a8d3ea89e621b3f587a0f # timeout=10 [2021-01-19T20:45:29.727Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-19T20:45:29.742Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T20:45:29.763Z] > git checkout -f 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 # timeout=10 [2021-01-19T20:45:33.911Z] Commit message: "feat(security): Add dumb-init to Dockerfile of ASC" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T20:45:35.912Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-19T20:45:36.450Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-19T20:45:36.664Z] Still waiting to schedule task [2021-01-19T20:45:36.664Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-19T20:45:36.795Z] + sudo service docker restart [2021-01-19T20:45:36.795Z] + true [2021-01-19T20:45:36.795Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-19T20:45:38.337Z] provisioning config files... [2021-01-19T20:45:38.395Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config7157076362794038826tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-19T20:45:38.859Z] ---> docker-login.sh [2021-01-19T20:45:38.860Z] nexus3.edgexfoundry.org:10001 [2021-01-19T20:45:39.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T20:45:39.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T20:45:39.467Z] Configure a credential helper to remove this warning. See [2021-01-19T20:45:39.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T20:45:39.467Z] [2021-01-19T20:45:39.467Z] Login Succeeded [2021-01-19T20:45:39.467Z] nexus3.edgexfoundry.org:10002 [2021-01-19T20:45:40.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T20:45:40.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T20:45:40.099Z] Configure a credential helper to remove this warning. See [2021-01-19T20:45:40.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T20:45:40.099Z] [2021-01-19T20:45:40.099Z] Login Succeeded [2021-01-19T20:45:40.099Z] nexus3.edgexfoundry.org:10003 [2021-01-19T20:45:40.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T20:45:40.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T20:45:40.374Z] Configure a credential helper to remove this warning. See [2021-01-19T20:45:40.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T20:45:40.374Z] [2021-01-19T20:45:40.374Z] Login Succeeded [2021-01-19T20:45:40.374Z] nexus3.edgexfoundry.org:10004 [2021-01-19T20:45:40.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T20:45:40.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T20:45:40.707Z] Configure a credential helper to remove this warning. See [2021-01-19T20:45:40.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T20:45:40.707Z] [2021-01-19T20:45:40.707Z] Login Succeeded [2021-01-19T20:45:40.707Z] docker.io [2021-01-19T20:45:40.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T20:45:41.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T20:45:41.257Z] Configure a credential helper to remove this warning. See [2021-01-19T20:45:41.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T20:45:41.257Z] [2021-01-19T20:45:41.257Z] Login Succeeded [2021-01-19T20:45:41.257Z] ---> docker-login.sh ends [Pipeline] } [2021-01-19T20:45:41.276Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-19T20:45:41.770Z] ========================================================= [2021-01-19T20:45:41.770Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-19T20:45:41.770Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-19T20:45:42.443Z] + 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 . [2021-01-19T20:45:42.443Z] Sending build context to Docker daemon 96.26kB [2021-01-19T20:45:42.718Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T20:45:42.718Z] Step 2/8 : FROM ${BASE} [2021-01-19T20:45:42.718Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-19T20:45:42.718Z] 188c0c94c7c5: Pulling fs layer [2021-01-19T20:45:42.718Z] 0ef7d3d256c8: Pulling fs layer [2021-01-19T20:45:42.718Z] de9db76c5a1d: Pulling fs layer [2021-01-19T20:45:42.718Z] bca2f99d35d6: Pulling fs layer [2021-01-19T20:45:42.718Z] 93359f2a8cfa: Pulling fs layer [2021-01-19T20:45:42.718Z] 7c6f9722023f: Pulling fs layer [2021-01-19T20:45:42.718Z] a35cf1a2eb13: Pulling fs layer [2021-01-19T20:45:42.718Z] 93359f2a8cfa: Waiting [2021-01-19T20:45:42.718Z] 7c6f9722023f: Waiting [2021-01-19T20:45:42.718Z] a35cf1a2eb13: Waiting [2021-01-19T20:45:42.718Z] bca2f99d35d6: Waiting [2021-01-19T20:45:42.718Z] de9db76c5a1d: Verifying Checksum [2021-01-19T20:45:42.718Z] de9db76c5a1d: Download complete [2021-01-19T20:45:43.300Z] 0ef7d3d256c8: Verifying Checksum [2021-01-19T20:45:43.300Z] 0ef7d3d256c8: Download complete [2021-01-19T20:45:43.300Z] 93359f2a8cfa: Verifying Checksum [2021-01-19T20:45:43.300Z] 93359f2a8cfa: Download complete [2021-01-19T20:45:43.300Z] 7c6f9722023f: Verifying Checksum [2021-01-19T20:45:43.300Z] 7c6f9722023f: Download complete [2021-01-19T20:45:43.590Z] 188c0c94c7c5: Download complete [2021-01-19T20:45:45.063Z] 188c0c94c7c5: Pull complete [2021-01-19T20:45:45.345Z] 0ef7d3d256c8: Pull complete [2021-01-19T20:45:45.645Z] de9db76c5a1d: Pull complete [2021-01-19T20:45:49.123Z] a35cf1a2eb13: Verifying Checksum [2021-01-19T20:45:49.123Z] a35cf1a2eb13: Download complete [2021-01-19T20:45:51.428Z] bca2f99d35d6: Verifying Checksum [2021-01-19T20:45:51.428Z] bca2f99d35d6: Download complete [2021-01-19T20:46:07.446Z] bca2f99d35d6: Pull complete [2021-01-19T20:46:07.446Z] 93359f2a8cfa: Pull complete [2021-01-19T20:46:07.755Z] 7c6f9722023f: Pull complete [2021-01-19T20:46:15.094Z] a35cf1a2eb13: Pull complete [2021-01-19T20:46:15.094Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-19T20:46:15.094Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-19T20:46:15.094Z] ---> a62c8e92a672 [2021-01-19T20:46:15.094Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-19T20:46:15.094Z] ---> Running in 81818459c6cd [2021-01-19T20:46:15.373Z] Removing intermediate container 81818459c6cd [2021-01-19T20:46:15.373Z] ---> 0d0300d77a9d [2021-01-19T20:46:15.373Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T20:46:15.644Z] ---> Running in 18434688d073 [2021-01-19T20:46:17.656Z] Removing intermediate container 18434688d073 [2021-01-19T20:46:17.656Z] ---> 2461a2548a71 [2021-01-19T20:46:17.656Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2021-01-19T20:46:17.656Z] ---> Running in c7ddf007f71f [2021-01-19T20:46:19.307Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-19T20:46:19.978Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-19T20:46:20.255Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-01-19T20:46:20.533Z] (2/6) Installing libsodium (1.0.18-r0) [2021-01-19T20:46:20.533Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-01-19T20:46:20.533Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-01-19T20:46:20.857Z] (5/6) Installing libzmq (4.3.3-r0) [2021-01-19T20:46:20.857Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-01-19T20:46:20.857Z] Executing busybox-1.31.1-r19.trigger [2021-01-19T20:46:20.857Z] OK: 167 MiB in 45 packages [2021-01-19T20:46:21.886Z] Removing intermediate container c7ddf007f71f [2021-01-19T20:46:21.886Z] ---> 9ca8242391fa [2021-01-19T20:46:21.886Z] Step 6/8 : WORKDIR /app [2021-01-19T20:46:22.157Z] ---> Running in e4b9040ecc11 [2021-01-19T20:46:22.432Z] Removing intermediate container e4b9040ecc11 [2021-01-19T20:46:22.432Z] ---> 0bdf90616eb5 [2021-01-19T20:46:22.432Z] Step 7/8 : COPY . . [2021-01-19T20:46:22.728Z] ---> f4464a46a919 [2021-01-19T20:46:22.728Z] Step 8/8 : RUN go mod download [2021-01-19T20:46:23.018Z] ---> Running in 17b6ba0e465e [2021-01-19T20:46:50.886Z] Removing intermediate container 17b6ba0e465e [2021-01-19T20:46:50.886Z] ---> 29d6d47736e1 [2021-01-19T20:46:51.174Z] Successfully built 29d6d47736e1 [2021-01-19T20:46:51.174Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T20:46:51.545Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-19T20:46:51.862Z] . [Pipeline] withDockerContainer [2021-01-19T20:46:52.210Z] prd-centos7-docker-4c-2g-21295 does not seem to be running inside a container [2021-01-19T20:46:52.375Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-19T20:46:53.931Z] $ docker top 5b8cf5e673f08a2f2d62e2f292054e2adf9aebf7e4ac6ff876d28fee46997d89 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T20:46:55.073Z] + go version [2021-01-19T20:46:55.073Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-19T20:46:55.133Z] $ docker stop --time=1 5b8cf5e673f08a2f2d62e2f292054e2adf9aebf7e4ac6ff876d28fee46997d89 [2021-01-19T20:46:56.739Z] $ docker rm -f 5b8cf5e673f08a2f2d62e2f292054e2adf9aebf7e4ac6ff876d28fee46997d89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-19T20:46:57.719Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-19T20:46:57.719Z] . [Pipeline] withDockerContainer [2021-01-19T20:46:57.978Z] prd-centos7-docker-4c-2g-21295 does not seem to be running inside a container [2021-01-19T20:46:58.147Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-19T20:46:59.453Z] $ docker top 88fc38d7b9c6a9e58f0e82d548a1a02bd7d592d3ccdb0c488c55530e630bcf66 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T20:47:00.133Z] + make test [2021-01-19T20:47:00.133Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-01-19T20:47:27.174Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2021-01-19T20:47:27.174Z] CGO_ENABLED=1 go vet ./... [2021-01-19T20:47:28.171Z] gofmt -l . [2021-01-19T20:47:28.171Z] [ "`gofmt -l .`" = "" ] [2021-01-19T20:47:28.171Z] ./bin/test-go-mod-tidy.sh [2021-01-19T20:47:29.194Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-01-19T20:47:29.816Z] $ docker stop --time=1 88fc38d7b9c6a9e58f0e82d548a1a02bd7d592d3ccdb0c488c55530e630bcf66 [2021-01-19T20:47:32.514Z] $ docker rm -f 88fc38d7b9c6a9e58f0e82d548a1a02bd7d592d3ccdb0c488c55530e630bcf66 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T20:47:33.240Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-19T20:47:33.799Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-19T20:47:36.579Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-19T20:47:36.943Z] + ls -al . [2021-01-19T20:47:36.943Z] total 88 [2021-01-19T20:47:36.943Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jan 19 20:47 . [2021-01-19T20:47:36.943Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 19 20:45 .. [2021-01-19T20:47:36.943Z] -rw-rw-r--. 1 jenkins jenkins 6426 Jan 19 20:45 Attribution.txt [2021-01-19T20:47:36.943Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 19 20:45 bin [2021-01-19T20:47:36.943Z] -rw-r--r--. 1 jenkins jenkins 10 Jan 19 20:47 coverage.out [2021-01-19T20:47:36.943Z] -rw-rw-r--. 1 jenkins jenkins 2032 Jan 19 20:45 Dockerfile [2021-01-19T20:47:36.943Z] -rw-rw-r--. 1 jenkins jenkins 970 Jan 19 20:45 Dockerfile.build [2021-01-19T20:47:36.943Z] -rw-rw-r--. 1 jenkins jenkins 119 Jan 19 20:45 .dockerignore [2021-01-19T20:47:36.943Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 19 20:45 .git [2021-01-19T20:47:36.943Z] drwxrwxr-x. 2 jenkins jenkins 81 Jan 19 20:45 .github [2021-01-19T20:47:36.943Z] -rw-rw-r--. 1 jenkins jenkins 93 Jan 19 20:45 .gitignore [2021-01-19T20:47:36.943Z] -rw-r--r--. 1 jenkins jenkins 135 Jan 19 20:47 go.mod [2021-01-19T20:47:36.943Z] -rw-r--r--. 1 jenkins jenkins 18779 Jan 19 20:47 go.sum [2021-01-19T20:47:36.943Z] -rw-rw-r--. 1 jenkins jenkins 687 Jan 19 20:45 Jenkinsfile [2021-01-19T20:47:36.943Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jan 19 20:45 LICENSE [2021-01-19T20:47:36.943Z] -rw-rw-r--. 1 jenkins jenkins 1522 Jan 19 20:45 main.go [2021-01-19T20:47:36.943Z] -rw-rw-r--. 1 jenkins jenkins 1582 Jan 19 20:45 makefile [2021-01-19T20:47:36.943Z] -rw-rw-r--. 1 jenkins jenkins 1277 Jan 19 20:45 README.md [2021-01-19T20:47:36.943Z] drwxrwxr-x. 10 jenkins jenkins 171 Jan 19 20:45 res [2021-01-19T20:47:36.943Z] drwxrwxr-x. 4 jenkins jenkins 71 Jan 19 20:45 snap [2021-01-19T20:47:36.943Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 19 20:45 VERSION [Pipeline] isUnix [Pipeline] sh [2021-01-19T20:47:37.311Z] + docker build -t docker-app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=9f2d32b5c9ce46fc1ac012756954fae5ec908be8 --label arch=amd64 --label version=0.0.0 . [2021-01-19T20:47:37.312Z] Sending build context to Docker daemon 117.8kB [2021-01-19T20:47:37.953Z] Step 1/27 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T20:47:37.953Z] Step 2/27 : FROM ${BASE} AS builder [2021-01-19T20:47:37.953Z] ---> 29d6d47736e1 [2021-01-19T20:47:37.953Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2021-01-19T20:47:37.953Z] ---> Running in 196328d41fb2 [2021-01-19T20:47:38.246Z] Removing intermediate container 196328d41fb2 [2021-01-19T20:47:38.246Z] ---> 5de72d6a1ba0 [2021-01-19T20:47:38.246Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2021-01-19T20:47:38.246Z] ---> Running in 9bbcf5b61054 [2021-01-19T20:47:38.532Z] Removing intermediate container 9bbcf5b61054 [2021-01-19T20:47:38.532Z] ---> 263c3095b6b2 [2021-01-19T20:47:38.532Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2021-01-19T20:47:38.806Z] ---> Running in 0b622b843e30 [2021-01-19T20:47:39.107Z] Removing intermediate container 0b622b843e30 [2021-01-19T20:47:39.107Z] ---> 1102ae44861d [2021-01-19T20:47:39.107Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T20:47:39.396Z] ---> Running in 2bb2c710358a [2021-01-19T20:47:41.447Z] Removing intermediate container 2bb2c710358a [2021-01-19T20:47:41.447Z] ---> ec41385a4259 [2021-01-19T20:47:41.447Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-19T20:47:41.447Z] ---> Running in 6f986ded15e4 [2021-01-19T20:47:42.069Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-19T20:47:42.661Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-19T20:47:43.276Z] OK: 167 MiB in 45 packages [2021-01-19T20:47:43.874Z] Removing intermediate container 6f986ded15e4 [2021-01-19T20:47:43.874Z] ---> 9de735779ccc [2021-01-19T20:47:43.874Z] Step 8/27 : WORKDIR /app [2021-01-19T20:47:43.874Z] ---> Running in 08b67e1b62e8 [2021-01-19T20:47:44.146Z] Removing intermediate container 08b67e1b62e8 [2021-01-19T20:47:44.146Z] ---> 822f91d83a0e [2021-01-19T20:47:44.146Z] Step 9/27 : COPY go.mod . [2021-01-19T20:47:44.421Z] ---> 224dca2a823f [2021-01-19T20:47:44.421Z] Step 10/27 : RUN go mod download [2021-01-19T20:47:44.696Z] ---> Running in 07445e045a7f [2021-01-19T20:47:46.135Z] Removing intermediate container 07445e045a7f [2021-01-19T20:47:46.135Z] ---> 9afd6a6b1e5c [2021-01-19T20:47:46.135Z] Step 11/27 : COPY . . [2021-01-19T20:47:46.422Z] ---> 188cb5a0ca90 [2021-01-19T20:47:46.422Z] Step 12/27 : ARG MAKE="make build" [2021-01-19T20:47:46.696Z] ---> Running in 4c724994f7aa [2021-01-19T20:47:46.696Z] Removing intermediate container 4c724994f7aa [2021-01-19T20:47:46.696Z] ---> d57b7a462561 [2021-01-19T20:47:46.696Z] Step 13/27 : RUN $MAKE [2021-01-19T20:47:46.966Z] ---> Running in c7fdf94afa32 [2021-01-19T20:47:47.591Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o app-service-configurable [2021-01-19T20:48:15.008Z] Removing intermediate container c7fdf94afa32 [2021-01-19T20:48:15.008Z] ---> 1b65bc252e6e [2021-01-19T20:48:15.008Z] Step 14/27 : FROM alpine:3.12 [2021-01-19T20:48:15.008Z] 3.12: Pulling from library/alpine [2021-01-19T20:48:15.008Z] 801bfaa63ef2: Pulling fs layer [2021-01-19T20:48:15.008Z] error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/38/389fef7118515c70fd6c0e0d50bb75669942ea722ccb976507d7b087e54d5a23/data?verify=1611092293-HQEDF5I6xpl2%2FipPPKioaFJX8i0%3D: dial tcp: lookup production.cloudflare.docker.com on 10.30.120.3:53: server misbehaving [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] } [2021-01-19T20:48:16.224Z] Failed in branch amd64 [2021-01-19T20:48:17.245Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21298 in /w/workspace/_app-service-configurable_PR-168 [Pipeline] { [Pipeline] ws [2021-01-19T20:48:17.295Z] Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout [2021-01-19T20:48:22.582Z] using credential edgex-jenkins-ssh [2021-01-19T20:48:22.644Z] Cloning the remote Git repository [2021-01-19T20:48:22.706Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2021-01-19T20:48:22.819Z] > git init /w/workspace/app-service-configurable/2 # timeout=10 [2021-01-19T20:48:22.900Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2021-01-19T20:48:22.901Z] > git --version # timeout=10 [2021-01-19T20:48:22.919Z] > git --version # 'git version 2.17.1' [2021-01-19T20:48:22.921Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T20:48:22.974Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T20:48:24.574Z] Merging remotes/origin/master commit b430426e5122e1d8120a8d3ea89e621b3f587a0f into PR head commit 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 [2021-01-19T20:48:24.806Z] Merge succeeded, producing 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 [2021-01-19T20:48:24.807Z] Checking out Revision 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 (PR-168) [2021-01-19T20:48:23.817Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2021-01-19T20:48:23.839Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T20:48:23.867Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2021-01-19T20:48:23.919Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2021-01-19T20:48:23.920Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T20:48:23.933Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/168/head:refs/remotes/origin/PR-168 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-19T20:48:24.596Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T20:48:24.613Z] > git checkout -f 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 # timeout=10 [2021-01-19T20:48:24.704Z] > git remote # timeout=10 [2021-01-19T20:48:24.723Z] > git config --get remote.origin.url # timeout=10 [2021-01-19T20:48:24.752Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T20:48:24.763Z] > git merge b430426e5122e1d8120a8d3ea89e621b3f587a0f # timeout=10 [2021-01-19T20:48:24.788Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-19T20:48:24.813Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T20:48:24.823Z] > git checkout -f 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 # timeout=10 [2021-01-19T20:48:29.493Z] Commit message: "feat(security): Add dumb-init to Dockerfile of ASC" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T20:48:31.126Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-19T20:48:31.528Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-19T20:48:31.915Z] + true [2021-01-19T20:48:31.915Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-19T20:48:33.970Z] provisioning config files... [2021-01-19T20:48:34.016Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config6170147857151479781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-19T20:48:34.420Z] ---> docker-login.sh [2021-01-19T20:48:34.420Z] nexus3.edgexfoundry.org:10001 [2021-01-19T20:48:35.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T20:48:35.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T20:48:35.683Z] Configure a credential helper to remove this warning. See [2021-01-19T20:48:35.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T20:48:35.683Z] [2021-01-19T20:48:35.683Z] Login Succeeded [2021-01-19T20:48:35.683Z] nexus3.edgexfoundry.org:10002 [2021-01-19T20:48:35.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T20:48:36.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T20:48:36.237Z] Configure a credential helper to remove this warning. See [2021-01-19T20:48:36.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T20:48:36.237Z] [2021-01-19T20:48:36.237Z] Login Succeeded [2021-01-19T20:48:36.237Z] nexus3.edgexfoundry.org:10003 [2021-01-19T20:48:36.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T20:48:36.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T20:48:36.787Z] Configure a credential helper to remove this warning. See [2021-01-19T20:48:36.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T20:48:36.787Z] [2021-01-19T20:48:36.787Z] Login Succeeded [2021-01-19T20:48:36.787Z] nexus3.edgexfoundry.org:10004 [2021-01-19T20:48:37.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T20:48:37.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T20:48:37.340Z] Configure a credential helper to remove this warning. See [2021-01-19T20:48:37.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T20:48:37.340Z] [2021-01-19T20:48:37.340Z] Login Succeeded [2021-01-19T20:48:37.340Z] docker.io [2021-01-19T20:48:37.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T20:48:37.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T20:48:37.887Z] Configure a credential helper to remove this warning. See [2021-01-19T20:48:37.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T20:48:37.887Z] [2021-01-19T20:48:37.887Z] Login Succeeded [2021-01-19T20:48:37.887Z] ---> docker-login.sh ends [Pipeline] } [2021-01-19T20:48:37.905Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-19T20:48:38.357Z] ========================================================= [2021-01-19T20:48:38.357Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-19T20:48:38.357Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-19T20:48:38.735Z] + 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 . [2021-01-19T20:48:38.735Z] Sending build context to Docker daemon 96.26kB [2021-01-19T20:48:39.011Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T20:48:39.011Z] Step 2/8 : FROM ${BASE} [2021-01-19T20:48:39.285Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-19T20:48:39.285Z] 5f621e34cdf4: Pulling fs layer [2021-01-19T20:48:39.285Z] a4357932f1b6: Pulling fs layer [2021-01-19T20:48:39.285Z] 18c013af1878: Pulling fs layer [2021-01-19T20:48:39.285Z] 00ac8860ef70: Pulling fs layer [2021-01-19T20:48:39.285Z] 63d7cb157983: Pulling fs layer [2021-01-19T20:48:39.285Z] 00ac8860ef70: Waiting [2021-01-19T20:48:39.285Z] b116817d02f9: Pulling fs layer [2021-01-19T20:48:39.285Z] 745a02a5169b: Pulling fs layer [2021-01-19T20:48:39.285Z] 63d7cb157983: Waiting [2021-01-19T20:48:39.285Z] b116817d02f9: Waiting [2021-01-19T20:48:39.285Z] 18c013af1878: Download complete [2021-01-19T20:48:39.285Z] a4357932f1b6: Verifying Checksum [2021-01-19T20:48:39.285Z] a4357932f1b6: Download complete [2021-01-19T20:48:39.285Z] 63d7cb157983: Verifying Checksum [2021-01-19T20:48:39.285Z] 63d7cb157983: Download complete [2021-01-19T20:48:39.285Z] b116817d02f9: Verifying Checksum [2021-01-19T20:48:39.285Z] b116817d02f9: Download complete [2021-01-19T20:48:39.561Z] 5f621e34cdf4: Verifying Checksum [2021-01-19T20:48:39.561Z] 5f621e34cdf4: Download complete [2021-01-19T20:48:40.552Z] 5f621e34cdf4: Pull complete [2021-01-19T20:48:40.862Z] a4357932f1b6: Pull complete [2021-01-19T20:48:41.472Z] 18c013af1878: Pull complete [2021-01-19T20:48:41.747Z] 745a02a5169b: Verifying Checksum [2021-01-19T20:48:41.747Z] 745a02a5169b: Download complete [2021-01-19T20:48:43.186Z] 00ac8860ef70: Verifying Checksum [2021-01-19T20:48:43.186Z] 00ac8860ef70: Download complete [2021-01-19T20:48:53.360Z] 00ac8860ef70: Pull complete [2021-01-19T20:48:53.635Z] 63d7cb157983: Pull complete [2021-01-19T20:48:54.231Z] b116817d02f9: Pull complete [2021-01-19T20:48:58.545Z] 745a02a5169b: Pull complete [2021-01-19T20:48:58.545Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-19T20:48:58.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-19T20:48:58.545Z] ---> b7e6874047d6 [2021-01-19T20:48:58.545Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-19T20:49:00.536Z] ---> Running in daa196f48c8a [2021-01-19T20:49:01.130Z] Removing intermediate container daa196f48c8a [2021-01-19T20:49:01.130Z] ---> bc6c2fa9e872 [2021-01-19T20:49:01.130Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T20:49:01.130Z] ---> Running in e574c61cee42 [2021-01-19T20:49:03.765Z] Removing intermediate container e574c61cee42 [2021-01-19T20:49:03.765Z] ---> 7d2425f0cd7e [2021-01-19T20:49:03.765Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2021-01-19T20:49:03.765Z] ---> Running in 4aca800445a6 [2021-01-19T20:49:04.761Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-19T20:49:06.182Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-19T20:49:07.610Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-01-19T20:49:07.610Z] (2/6) Installing libsodium (1.0.18-r0) [2021-01-19T20:49:07.881Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-01-19T20:49:07.881Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-01-19T20:49:08.151Z] (5/6) Installing libzmq (4.3.3-r0) [2021-01-19T20:49:08.151Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-01-19T20:49:08.420Z] Executing busybox-1.31.1-r19.trigger [2021-01-19T20:49:08.420Z] OK: 144 MiB in 45 packages [2021-01-19T20:49:09.852Z] Removing intermediate container 4aca800445a6 [2021-01-19T20:49:09.852Z] ---> 841c45dbd621 [2021-01-19T20:49:09.852Z] Step 6/8 : WORKDIR /app [2021-01-19T20:49:09.852Z] ---> Running in 288e499cc7c3 [2021-01-19T20:49:10.124Z] Removing intermediate container 288e499cc7c3 [2021-01-19T20:49:10.124Z] ---> 657db5f48d7d [2021-01-19T20:49:10.124Z] Step 7/8 : COPY . . [2021-01-19T20:49:11.098Z] ---> c788cb5766e0 [2021-01-19T20:49:11.099Z] Step 8/8 : RUN go mod download [2021-01-19T20:49:11.099Z] ---> Running in d717385c0a3a [2021-01-19T20:49:37.955Z] Removing intermediate container d717385c0a3a [2021-01-19T20:49:37.955Z] ---> 1a610bd71269 [2021-01-19T20:49:37.955Z] Successfully built 1a610bd71269 [2021-01-19T20:49:37.955Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T20:49:38.296Z] + docker inspect -f . ci-base-image-arm64 [2021-01-19T20:49:38.297Z] . [Pipeline] withDockerContainer [2021-01-19T20:49:38.569Z] prd-ubuntu18.04-docker-arm64-4c-16g-21298 does not seem to be running inside a container [2021-01-19T20:49:38.650Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-19T20:49:40.135Z] $ docker top 3092e378d697614a69ccf2ba3526d06249aa48ec81c8cd805fd0ed5438f7feb6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T20:49:41.194Z] + go version [2021-01-19T20:49:41.194Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-19T20:49:41.216Z] $ docker stop --time=1 3092e378d697614a69ccf2ba3526d06249aa48ec81c8cd805fd0ed5438f7feb6 [2021-01-19T20:49:43.186Z] $ docker rm -f 3092e378d697614a69ccf2ba3526d06249aa48ec81c8cd805fd0ed5438f7feb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-19T20:49:44.277Z] + docker inspect -f . ci-base-image-arm64 [2021-01-19T20:49:44.277Z] . [Pipeline] withDockerContainer [2021-01-19T20:49:44.534Z] prd-ubuntu18.04-docker-arm64-4c-16g-21298 does not seem to be running inside a container [2021-01-19T20:49:44.617Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-19T20:49:46.220Z] $ docker top 8eff018d5d9a6793998aa362d33fe4df64cdd18e8196b845bb7994c950ac107a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T20:49:47.271Z] + make test [2021-01-19T20:49:47.271Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-01-19T20:50:26.318Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2021-01-19T20:50:26.318Z] CGO_ENABLED=1 go vet ./... [2021-01-19T20:50:29.723Z] gofmt -l . [2021-01-19T20:50:29.723Z] [ "`gofmt -l .`" = "" ] [2021-01-19T20:50:29.723Z] ./bin/test-go-mod-tidy.sh [2021-01-19T20:50:29.996Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-01-19T20:50:30.987Z] $ docker stop --time=1 8eff018d5d9a6793998aa362d33fe4df64cdd18e8196b845bb7994c950ac107a [2021-01-19T20:50:33.281Z] $ docker rm -f 8eff018d5d9a6793998aa362d33fe4df64cdd18e8196b845bb7994c950ac107a [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T20:50:34.139Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-19T20:50:34.200Z] Warning: overwriting stash ‘coverage-report’ [2021-01-19T20:50:34.851Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T20:50:35.642Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-19T20:50:36.074Z] + ls -al . [2021-01-19T20:50:36.074Z] total 112 [2021-01-19T20:50:36.074Z] drwxrwxr-x 7 jenkins jenkins 4096 Jan 19 20:50 . [2021-01-19T20:50:36.074Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 20:48 .. [2021-01-19T20:50:36.074Z] -rw-rw-r-- 1 jenkins jenkins 119 Jan 19 20:48 .dockerignore [2021-01-19T20:50:36.074Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 20:48 .git [2021-01-19T20:50:36.074Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 20:48 .github [2021-01-19T20:50:36.074Z] -rw-rw-r-- 1 jenkins jenkins 93 Jan 19 20:48 .gitignore [2021-01-19T20:50:36.074Z] -rw-rw-r-- 1 jenkins jenkins 6426 Jan 19 20:48 Attribution.txt [2021-01-19T20:50:36.074Z] -rw-rw-r-- 1 jenkins jenkins 2032 Jan 19 20:48 Dockerfile [2021-01-19T20:50:36.074Z] -rw-rw-r-- 1 jenkins jenkins 970 Jan 19 20:48 Dockerfile.build [2021-01-19T20:50:36.074Z] -rw-rw-r-- 1 jenkins jenkins 687 Jan 19 20:48 Jenkinsfile [2021-01-19T20:50:36.074Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 19 20:48 LICENSE [2021-01-19T20:50:36.074Z] -rw-rw-r-- 1 jenkins jenkins 1277 Jan 19 20:48 README.md [2021-01-19T20:50:36.074Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 20:45 VERSION [2021-01-19T20:50:36.074Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 20:48 bin [2021-01-19T20:50:36.074Z] -rw-r--r-- 1 jenkins jenkins 10 Jan 19 20:49 coverage.out [2021-01-19T20:50:36.074Z] -rw-r--r-- 1 jenkins jenkins 135 Jan 19 20:50 go.mod [2021-01-19T20:50:36.074Z] -rw-r--r-- 1 jenkins jenkins 18779 Jan 19 20:50 go.sum [2021-01-19T20:50:36.074Z] -rw-rw-r-- 1 jenkins jenkins 1522 Jan 19 20:48 main.go [2021-01-19T20:50:36.074Z] -rw-rw-r-- 1 jenkins jenkins 1582 Jan 19 20:48 makefile [2021-01-19T20:50:36.074Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 20:48 res [2021-01-19T20:50:36.074Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 20:48 snap [Pipeline] isUnix [Pipeline] sh [2021-01-19T20:50:36.457Z] + docker build -t docker-app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9f2d32b5c9ce46fc1ac012756954fae5ec908be8 --label arch=arm64 --label version=0.0.0 . [2021-01-19T20:50:36.457Z] Sending build context to Docker daemon 117.8kB [2021-01-19T20:50:36.743Z] Step 1/27 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T20:50:36.743Z] Step 2/27 : FROM ${BASE} AS builder [2021-01-19T20:50:36.743Z] ---> 1a610bd71269 [2021-01-19T20:50:36.743Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2021-01-19T20:50:37.032Z] ---> Running in 588185c68ab0 [2021-01-19T20:50:37.628Z] Removing intermediate container 588185c68ab0 [2021-01-19T20:50:37.628Z] ---> 72970851ab19 [2021-01-19T20:50:37.628Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2021-01-19T20:50:37.628Z] ---> Running in b63a45e92918 [2021-01-19T20:50:38.224Z] Removing intermediate container b63a45e92918 [2021-01-19T20:50:38.224Z] ---> 1fa89ecaf211 [2021-01-19T20:50:38.224Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2021-01-19T20:50:38.224Z] ---> Running in fe88b137a992 [2021-01-19T20:50:38.501Z] Removing intermediate container fe88b137a992 [2021-01-19T20:50:38.501Z] ---> ff83c0d5f91b [2021-01-19T20:50:38.501Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T20:50:38.778Z] ---> Running in 95edaed53dc5 [2021-01-19T20:50:41.393Z] Removing intermediate container 95edaed53dc5 [2021-01-19T20:50:41.393Z] ---> 7c46cf447420 [2021-01-19T20:50:41.393Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-19T20:50:41.393Z] ---> Running in 98988163a1cb [2021-01-19T20:50:42.370Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-19T20:50:42.962Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-19T20:50:43.935Z] OK: 144 MiB in 45 packages [2021-01-19T20:50:45.365Z] Removing intermediate container 98988163a1cb [2021-01-19T20:50:45.365Z] ---> 39f3ada25f4c [2021-01-19T20:50:45.365Z] Step 8/27 : WORKDIR /app [2021-01-19T20:50:45.365Z] ---> Running in 2e579b930c1e [2021-01-19T20:50:45.957Z] Removing intermediate container 2e579b930c1e [2021-01-19T20:50:45.957Z] ---> afb4949f7f53 [2021-01-19T20:50:45.957Z] Step 9/27 : COPY go.mod . [2021-01-19T20:50:46.552Z] ---> a93975624d32 [2021-01-19T20:50:46.552Z] Step 10/27 : RUN go mod download [2021-01-19T20:50:46.552Z] ---> Running in 0a12f5d2ab35 [2021-01-19T20:50:49.182Z] Removing intermediate container 0a12f5d2ab35 [2021-01-19T20:50:49.182Z] ---> 568db752e906 [2021-01-19T20:50:49.182Z] Step 11/27 : COPY . . [2021-01-19T20:50:49.776Z] ---> 85616be08005 [2021-01-19T20:50:49.776Z] Step 12/27 : ARG MAKE="make build" [2021-01-19T20:50:49.776Z] ---> Running in fda2552bbcad [2021-01-19T20:50:50.373Z] Removing intermediate container fda2552bbcad [2021-01-19T20:50:50.374Z] ---> 78d0b7cf7623 [2021-01-19T20:50:50.374Z] Step 13/27 : RUN $MAKE [2021-01-19T20:50:50.374Z] ---> Running in 7fdb5aaaf670 [2021-01-19T20:50:51.808Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o app-service-configurable [2021-01-19T20:51:24.179Z] Removing intermediate container 7fdb5aaaf670 [2021-01-19T20:51:24.179Z] ---> 428b37da9067 [2021-01-19T20:51:24.179Z] Step 14/27 : FROM alpine:3.12 [2021-01-19T20:51:25.608Z] 3.12: Pulling from library/alpine [2021-01-19T20:51:25.608Z] 159e5727ea61: Pulling fs layer [2021-01-19T20:51:25.881Z] 159e5727ea61: Download complete [2021-01-19T20:51:26.497Z] 159e5727ea61: Pull complete [2021-01-19T20:51:26.497Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-01-19T20:51:26.497Z] Status: Downloaded newer image for alpine:3.12 [2021-01-19T20:51:26.497Z] ---> afeebe901d6b [2021-01-19T20:51:26.497Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2021-01-19T20:51:26.770Z] ---> Running in c942cfd08820 [2021-01-19T20:51:27.365Z] Removing intermediate container c942cfd08820 [2021-01-19T20:51:27.365Z] ---> a679d0b7939e [2021-01-19T20:51:27.365Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2021-01-19T20:51:27.365Z] ---> Running in 137aa6e9dcfc [2021-01-19T20:51:27.959Z] Removing intermediate container 137aa6e9dcfc [2021-01-19T20:51:27.959Z] ---> 463471359429 [2021-01-19T20:51:27.959Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2021-01-19T20:51:27.959Z] ---> Running in 4ec9434af580 [2021-01-19T20:51:28.937Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-19T20:51:29.207Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-19T20:51:29.801Z] (1/7) Installing ca-certificates (20191127-r4) [2021-01-19T20:51:29.801Z] (2/7) Installing dumb-init (1.2.2-r1) [2021-01-19T20:51:29.801Z] (3/7) Installing libgcc (9.3.0-r2) [2021-01-19T20:51:29.801Z] (4/7) Installing libsodium (1.0.18-r0) [2021-01-19T20:51:29.801Z] (5/7) Installing libstdc++ (9.3.0-r2) [2021-01-19T20:51:30.078Z] (6/7) Installing libzmq (4.3.3-r0) [2021-01-19T20:51:30.078Z] (7/7) Installing zeromq (4.3.3-r0) [2021-01-19T20:51:30.078Z] Executing busybox-1.31.1-r19.trigger [2021-01-19T20:51:30.078Z] Executing ca-certificates-20191127-r4.trigger [2021-01-19T20:51:30.078Z] OK: 9 MiB in 21 packages [2021-01-19T20:51:32.055Z] Removing intermediate container 4ec9434af580 [2021-01-19T20:51:32.055Z] ---> aa3e00aae549 [2021-01-19T20:51:32.055Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2021-01-19T20:51:32.649Z] ---> 4499a68118f0 [2021-01-19T20:51:32.649Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2021-01-19T20:51:33.243Z] ---> 1df60db66f31 [2021-01-19T20:51:33.243Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2021-01-19T20:51:34.229Z] ---> fa812ad7ab67 [2021-01-19T20:51:34.229Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2021-01-19T20:51:35.660Z] ---> 6181d4b9f110 [2021-01-19T20:51:35.660Z] Step 22/27 : EXPOSE 48095 [2021-01-19T20:51:35.660Z] ---> Running in b747a33f9776 [2021-01-19T20:51:35.933Z] Removing intermediate container b747a33f9776 [2021-01-19T20:51:35.933Z] ---> c944ece5d3ac [2021-01-19T20:51:35.933Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2021-01-19T20:51:36.211Z] ---> Running in 57fa41c1e441 [2021-01-19T20:51:36.484Z] Removing intermediate container 57fa41c1e441 [2021-01-19T20:51:36.484Z] ---> 01984ad05339 [2021-01-19T20:51:36.484Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-19T20:51:36.756Z] ---> Running in a470d0082517 [2021-01-19T20:51:37.037Z] Removing intermediate container a470d0082517 [2021-01-19T20:51:37.037Z] ---> 82dc0164fc4d [2021-01-19T20:51:37.037Z] Step 25/27 : LABEL arch=arm64 [2021-01-19T20:51:37.309Z] ---> Running in 25ffb936609a [2021-01-19T20:51:37.903Z] Removing intermediate container 25ffb936609a [2021-01-19T20:51:37.903Z] ---> ada08a870098 [2021-01-19T20:51:37.903Z] Step 26/27 : LABEL git_sha=9f2d32b5c9ce46fc1ac012756954fae5ec908be8 [2021-01-19T20:51:37.903Z] ---> Running in df5169ba77a6 [2021-01-19T20:51:38.509Z] Removing intermediate container df5169ba77a6 [2021-01-19T20:51:38.509Z] ---> 850e5171b378 [2021-01-19T20:51:38.509Z] Step 27/27 : LABEL version=0.0.0 [2021-01-19T20:51:38.509Z] ---> Running in a0f8c335d236 [2021-01-19T20:51:39.103Z] Removing intermediate container a0f8c335d236 [2021-01-19T20:51:39.104Z] ---> 74cff3e0f9b0 [2021-01-19T20:51:39.104Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-19T20:51:39.104Z] Successfully built 74cff3e0f9b0 [2021-01-19T20:51:39.104Z] Successfully tagged docker-app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) 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 [2021-01-19T20:51:43.532Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T20:51:43.836Z] ---> package-listing.sh [2021-01-19T20:51:43.836Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-19T20:51:43.836Z] ++ facter osfamily [2021-01-19T20:51:43.836Z] + OS_FAMILY=redhat [2021-01-19T20:51:43.836Z] + workspace=/w/workspace/_app-service-configurable_PR-168 [2021-01-19T20:51:43.836Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-19T20:51:43.836Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-19T20:51:43.836Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-19T20:51:43.836Z] + PACKAGES=/tmp/packages_start.txt [2021-01-19T20:51:43.836Z] + '[' /w/workspace/_app-service-configurable_PR-168 ']' [2021-01-19T20:51:43.836Z] + PACKAGES=/tmp/packages_end.txt [2021-01-19T20:51:43.836Z] + case "${OS_FAMILY}" in [2021-01-19T20:51:43.836Z] + rpm -qa [2021-01-19T20:51:43.836Z] + sort [2021-01-19T20:51:48.061Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-19T20:51:48.061Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-19T20:51:48.061Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-19T20:51:48.061Z] + '[' /w/workspace/_app-service-configurable_PR-168 ']' [2021-01-19T20:51:48.061Z] + mkdir -p /w/workspace/_app-service-configurable_PR-168/archives/ [2021-01-19T20:51:48.061Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-168/archives/ [Pipeline] echo [2021-01-19T20:51:48.074Z] 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-168/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-19T20:51:48.364Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-19T20:51:48.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T20:51:48.696Z] [2021-01-19T20:51:48.696Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-19T20:51:49.051Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T20:51:49.051Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-19T20:51:49.051Z] df20fa9351a1: Pulling fs layer [2021-01-19T20:51:49.051Z] 36b3adc4ff6f: Pulling fs layer [2021-01-19T20:51:49.051Z] 8ad3a11d3b57: Pulling fs layer [2021-01-19T20:51:49.051Z] 46f8f816bc3b: Pulling fs layer [2021-01-19T20:51:49.051Z] 93b61091891f: Pulling fs layer [2021-01-19T20:51:49.051Z] 93b9cdb0e59b: Pulling fs layer [2021-01-19T20:51:49.051Z] 5e14af77c1be: Pulling fs layer [2021-01-19T20:51:49.051Z] 01666e4c0597: Pulling fs layer [2021-01-19T20:51:49.051Z] aa168da1d23b: Pulling fs layer [2021-01-19T20:51:49.051Z] 46f8f816bc3b: Waiting [2021-01-19T20:51:49.051Z] 5e14af77c1be: Waiting [2021-01-19T20:51:49.051Z] 93b61091891f: Waiting [2021-01-19T20:51:49.051Z] 01666e4c0597: Waiting [2021-01-19T20:51:49.051Z] 93b9cdb0e59b: Waiting [2021-01-19T20:51:49.051Z] aa168da1d23b: Waiting [2021-01-19T20:51:49.051Z] 36b3adc4ff6f: Verifying Checksum [2021-01-19T20:51:49.051Z] 36b3adc4ff6f: Download complete [2021-01-19T20:51:49.051Z] 46f8f816bc3b: Verifying Checksum [2021-01-19T20:51:49.051Z] 46f8f816bc3b: Download complete [2021-01-19T20:51:49.051Z] df20fa9351a1: Verifying Checksum [2021-01-19T20:51:49.051Z] 93b9cdb0e59b: Verifying Checksum [2021-01-19T20:51:49.051Z] 93b9cdb0e59b: Download complete [2021-01-19T20:51:49.314Z] 93b61091891f: Verifying Checksum [2021-01-19T20:51:49.314Z] 93b61091891f: Download complete [2021-01-19T20:51:49.314Z] 5e14af77c1be: Verifying Checksum [2021-01-19T20:51:49.314Z] 5e14af77c1be: Download complete [2021-01-19T20:51:49.314Z] 01666e4c0597: Verifying Checksum [2021-01-19T20:51:49.315Z] 01666e4c0597: Download complete [2021-01-19T20:51:49.577Z] df20fa9351a1: Pull complete [2021-01-19T20:51:49.577Z] 36b3adc4ff6f: Pull complete [2021-01-19T20:51:50.154Z] 8ad3a11d3b57: Verifying Checksum [2021-01-19T20:51:50.154Z] 8ad3a11d3b57: Download complete [2021-01-19T20:51:50.740Z] 8ad3a11d3b57: Pull complete [2021-01-19T20:51:50.740Z] 46f8f816bc3b: Pull complete [2021-01-19T20:51:51.689Z] aa168da1d23b: Verifying Checksum [2021-01-19T20:51:51.689Z] aa168da1d23b: Download complete [2021-01-19T20:51:51.689Z] 93b61091891f: Pull complete [2021-01-19T20:51:51.689Z] 93b9cdb0e59b: Pull complete [2021-01-19T20:51:51.951Z] 5e14af77c1be: Pull complete [2021-01-19T20:51:51.951Z] 01666e4c0597: Pull complete [2021-01-19T20:51:58.618Z] aa168da1d23b: Pull complete [2021-01-19T20:51:58.618Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-19T20:51:58.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T20:51:58.618Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-19T20:51:58.821Z] prd-centos7-docker-4c-2g-21296 does not seem to be running inside a container [2021-01-19T20:51:58.874Z] $ 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-168/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-168 -v /w/workspace/_app-service-configurable_PR-168:/w/workspace/_app-service-configurable_PR-168:rw,z -v /w/workspace/_app-service-configurable_PR-168@tmp:/w/workspace/_app-service-configurable_PR-168@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-19T20:52:02.298Z] $ docker top 1ace3a4e5e6cf10f888760238ede53e6c8162078bd40ff1f30376b2538472b68 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T20:52:02.899Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-19T20:52:03.197Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-19T20:52:03.496Z] + ls /var/log/sa-host [2021-01-19T20:52:03.496Z] + sadf -c /var/log/sa-host/sa19 [2021-01-19T20:52:03.496Z] file_magic: OK [2021-01-19T20:52:03.496Z] HZ: Using current value: 100 [2021-01-19T20:52:03.496Z] file_header: OK [2021-01-19T20:52:03.496Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-19T20:52:03.496Z] Statistics: [2021-01-19T20:52:03.496Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-19T20:52:03.496Z] File successfully converted to sysstat format version 12.2.1 [2021-01-19T20:52:03.496Z] + sadf -c /var/log/sa-host/sa23 [2021-01-19T20:52:03.496Z] file_magic: OK [2021-01-19T20:52:03.496Z] HZ: Using current value: 100 [2021-01-19T20:52:03.496Z] file_header: OK [2021-01-19T20:52:03.496Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-19T20:52:03.496Z] Statistics: [2021-01-19T20:52:03.496Z] Hnuu...uuuununununu... [2021-01-19T20:52:03.496Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-19T20:52:04.152Z] provisioning config files... [2021-01-19T20:52:04.169Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-168@tmp/config2158345724337672537tmp [Pipeline] { [Pipeline] echo [2021-01-19T20:52:04.254Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T20:52:04.552Z] ---> create-netrc.sh [Pipeline] } [2021-01-19T20:52:04.562Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-19T20:52:04.657Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T20:52:04.953Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-19T20:52:04.965Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T20:52:05.265Z] ---> sudo-logs.sh [2021-01-19T20:52:05.265Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-19T20:52:05.277Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T20:52:05.577Z] ---> job-cost.sh [2021-01-19T20:52:05.577Z] lf-activate-venv: SKIPPING [2021-01-19T20:52:05.577Z] INFO: No Stack... [2021-01-19T20:52:06.522Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-19T20:52:07.094Z] INFO: Archiving Costs [Pipeline] echo [2021-01-19T20:52:07.106Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T20:52:07.398Z] ---> logs-deploy.sh [2021-01-19T20:52:07.398Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-168/2 [2021-01-19T20:52:07.398Z] INFO: archiving workspace using pattern(s): [2021-01-19T20:52:09.322Z] Archives upload complete. [2021-01-19T20:52:09.322Z] INFO: archiving logs to Nexus