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 20:45:01 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 20:45:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:45:01 ========================================================= 20:45:01 EdgeX Global Pipelines Version Info 20:45:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:45:03 ------------------- 20:45:03 stable info: 20:45:03 ------------------- 20:45:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:45:03 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 20:45:03 Message: update stable to v1.0.177 20:45:04 ------------------- 20:45:04 experimental info: 20:45:04 ------------------- 20:45:04 Commited By: **** collab-it+edgex@linuxfoundation.org 20:45:04 Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 20:45:04 Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:45:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 20:45:04 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 20:45:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:45:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:45:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:45:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 20:45:05 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:45:05 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 20:45:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:45:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:45:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:45:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-service-configurable [Pipeline] echo 20:45:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:45:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:45:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:45:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:45:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:45:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:45:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:45:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 20:45:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:45:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:45:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:45:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:45:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:45:06 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 20:45:06 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 20:45:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-168 [Pipeline] echo 20:45:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-168 [Pipeline] echo 20:45:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-168 [Pipeline] echo 20:45:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 [Pipeline] echo 20:45:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9f2d32b [Pipeline] echo 20:45:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:45:07 provisioning config files... 20:45:07 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-168@tmp/config7755680759928007089tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:08 ---> docker-login.sh 20:45:08 nexus3.edgexfoundry.org:10001 20:45:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:08 Configure a credential helper to remove this warning. See 20:45:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:08 20:45:08 Login Succeeded 20:45:08 nexus3.edgexfoundry.org:10002 20:45:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:08 Configure a credential helper to remove this warning. See 20:45:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:08 20:45:08 Login Succeeded 20:45:08 nexus3.edgexfoundry.org:10003 20:45:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:08 Configure a credential helper to remove this warning. See 20:45:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:08 20:45:08 Login Succeeded 20:45:08 nexus3.edgexfoundry.org:10004 20:45:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:08 Configure a credential helper to remove this warning. See 20:45:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:08 20:45:08 Login Succeeded 20:45:08 docker.io 20:45:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:09 Configure a credential helper to remove this warning. See 20:45:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:09 20:45:09 Login Succeeded 20:45:09 ---> docker-login.sh ends [Pipeline] } 20:45:09 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 20:45:10 + git log --format=format:%s -1 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 [Pipeline] echo 20:45:10 GIT_COMMIT: 9f2d32b5c9ce46fc1ac012756954fae5ec908be8, Commit Message: feat(security): Add dumb-init to Dockerfile of ASC [Pipeline] echo 20:45:10 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:45:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:45:10 20:45:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:45:11 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:45:11 latest: Pulling from edgex-devops/git-semver 20:45:11 31603596830f: Pulling fs layer 20:45:11 2a8b12db71e7: Pulling fs layer 20:45:11 6ca5941a6612: Pulling fs layer 20:45:11 ecc8261a40a4: Pulling fs layer 20:45:11 ecc8261a40a4: Waiting 20:45:11 2a8b12db71e7: Verifying Checksum 20:45:11 2a8b12db71e7: Download complete 20:45:11 31603596830f: Verifying Checksum 20:45:11 31603596830f: Download complete 20:45:11 ecc8261a40a4: Verifying Checksum 20:45:11 ecc8261a40a4: Download complete 20:45:11 31603596830f: Pull complete 20:45:11 6ca5941a6612: Verifying Checksum 20:45:11 6ca5941a6612: Download complete 20:45:11 2a8b12db71e7: Pull complete 20:45:12 6ca5941a6612: Pull complete 20:45:12 ecc8261a40a4: Pull complete 20:45:12 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 20:45:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:45:12 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:45:13 prd-centos7-docker-4c-2g-21296 does not seem to be running inside a container 20:45:13 $ 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 20:45:15 $ docker top c8468ee13728a3f103b2af6378e8c5ce27b272fe7386e3fc78c6af29f7aee9b7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:45:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:45:15 [ssh-agent] Looking for ssh-agent implementation... 20:45:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:45:15 $ docker exec c8468ee13728a3f103b2af6378e8c5ce27b272fe7386e3fc78c6af29f7aee9b7 ssh-agent 20:45:15 SSH_AUTH_SOCK=/tmp/ssh-A3L2usBwattQ/agent.11 20:45:15 SSH_AGENT_PID=16 20:45:15 Running ssh-add (command line suppressed) 20:45:15 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) 20:45:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:45:16 + git tag --points-at HEAD [Pipeline] } 20:45:16 $ docker exec --env ******** --env ******** c8468ee13728a3f103b2af6378e8c5ce27b272fe7386e3fc78c6af29f7aee9b7 ssh-agent -k 20:45:16 unset SSH_AUTH_SOCK; 20:45:16 unset SSH_AGENT_PID; 20:45:16 echo Agent pid 16 killed; 20:45:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:45:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:45:16 [ssh-agent] Looking for ssh-agent implementation... 20:45:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:45:16 $ docker exec c8468ee13728a3f103b2af6378e8c5ce27b272fe7386e3fc78c6af29f7aee9b7 ssh-agent 20:45:16 SSH_AUTH_SOCK=/tmp/ssh-Ojyp8HYwuso0/agent.46 20:45:16 SSH_AGENT_PID=51 20:45:16 Running ssh-add (command line suppressed) 20:45:17 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) 20:45:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:45:17 + git semver init 20:45:17 # -> Open(): unable to determine branch for HEAD 20:45:17 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-168/.git 20:45:17 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-168 20:45:17 # $SEMVER_REMOTE_NAME = origin 20:45:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:45:17 # $SEMVER_USER_NAME = edgex-jenkins 20:45:17 # $SEMVER_BRANCH = PR-168 20:45:17 # $SEMVER_TEMP = /tmp/semver-986239900 20:45:17 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 20:45:18 # '/tmp/semver-986239900' -> '/w/workspace/_app-service-configurable_PR-168/.semver' 20:45:18 # -> Force: false 20:45:18 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-168/.semver [Pipeline] } 20:45:18 $ docker exec --env ******** --env ******** c8468ee13728a3f103b2af6378e8c5ce27b272fe7386e3fc78c6af29f7aee9b7 ssh-agent -k 20:45:18 unset SSH_AUTH_SOCK; 20:45:18 unset SSH_AGENT_PID; 20:45:18 echo Agent pid 51 killed; 20:45:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:45:18 + git semver [Pipeline] } 20:45:18 $ docker stop --time=1 c8468ee13728a3f103b2af6378e8c5ce27b272fe7386e3fc78c6af29f7aee9b7 20:45:20 $ docker rm -f c8468ee13728a3f103b2af6378e8c5ce27b272fe7386e3fc78c6af29f7aee9b7 [Pipeline] // withDockerContainer [Pipeline] sh 20:45:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:45:21 Stashed 1 file(s) [Pipeline] echo 20:45:21 [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 20:45:21 Running on prd-centos7-docker-4c-2g-21295 in /w/workspace/_app-service-configurable_PR-168 [Pipeline] { [Pipeline] ws 20:45:21 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 20:45:27 using credential edgex-jenkins-ssh 20:45:27 Cloning the remote Git repository 20:45:27 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 20:45:27 > git init /w/workspace/app-service-configurable/2 # timeout=10 20:45:27 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 20:45:27 > git --version # timeout=10 20:45:27 > git --version # 'git version 2.24.3' 20:45:27 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:28 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 20:45:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:28 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 20:45:29 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 20:45:29 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:29 > 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 20:45:29 Merging remotes/origin/master commit b430426e5122e1d8120a8d3ea89e621b3f587a0f into PR head commit 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 20:45:29 Merge succeeded, producing 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 20:45:29 Checking out Revision 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 (PR-168) 20:45:29 > git config core.sparsecheckout # timeout=10 20:45:29 > git checkout -f 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 # timeout=10 20:45:29 > git remote # timeout=10 20:45:29 > git config --get remote.origin.url # timeout=10 20:45:29 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:29 > git merge b430426e5122e1d8120a8d3ea89e621b3f587a0f # timeout=10 20:45:29 > git rev-parse HEAD^{commit} # timeout=10 20:45:29 > git config core.sparsecheckout # timeout=10 20:45:29 > git checkout -f 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 # timeout=10 20:45:33 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 20:45:35 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:45:36 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:45:36 Still waiting to schedule task 20:45:36 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 20:45:36 + sudo service docker restart 20:45:36 + true 20:45:36 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:45:38 provisioning config files... 20:45:38 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config7157076362794038826tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:38 ---> docker-login.sh 20:45:38 nexus3.edgexfoundry.org:10001 20:45:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:39 Configure a credential helper to remove this warning. See 20:45:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:39 20:45:39 Login Succeeded 20:45:39 nexus3.edgexfoundry.org:10002 20:45:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:40 Configure a credential helper to remove this warning. See 20:45:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:40 20:45:40 Login Succeeded 20:45:40 nexus3.edgexfoundry.org:10003 20:45:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:40 Configure a credential helper to remove this warning. See 20:45:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:40 20:45:40 Login Succeeded 20:45:40 nexus3.edgexfoundry.org:10004 20:45:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:40 Configure a credential helper to remove this warning. See 20:45:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:40 20:45:40 Login Succeeded 20:45:40 docker.io 20:45:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:41 Configure a credential helper to remove this warning. See 20:45:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:41 20:45:41 Login Succeeded 20:45:41 ---> docker-login.sh ends [Pipeline] } 20:45:41 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:45:41 ========================================================= 20:45:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 20:45:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:45:42 + 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 . 20:45:42 Sending build context to Docker daemon 96.26kB 20:45:42 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 20:45:42 Step 2/8 : FROM ${BASE} 20:45:42 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 20:45:42 188c0c94c7c5: Pulling fs layer 20:45:42 0ef7d3d256c8: Pulling fs layer 20:45:42 de9db76c5a1d: Pulling fs layer 20:45:42 bca2f99d35d6: Pulling fs layer 20:45:42 93359f2a8cfa: Pulling fs layer 20:45:42 7c6f9722023f: Pulling fs layer 20:45:42 a35cf1a2eb13: Pulling fs layer 20:45:42 93359f2a8cfa: Waiting 20:45:42 7c6f9722023f: Waiting 20:45:42 a35cf1a2eb13: Waiting 20:45:42 bca2f99d35d6: Waiting 20:45:42 de9db76c5a1d: Verifying Checksum 20:45:42 de9db76c5a1d: Download complete 20:45:43 0ef7d3d256c8: Verifying Checksum 20:45:43 0ef7d3d256c8: Download complete 20:45:43 93359f2a8cfa: Verifying Checksum 20:45:43 93359f2a8cfa: Download complete 20:45:43 7c6f9722023f: Verifying Checksum 20:45:43 7c6f9722023f: Download complete 20:45:43 188c0c94c7c5: Download complete 20:45:45 188c0c94c7c5: Pull complete 20:45:45 0ef7d3d256c8: Pull complete 20:45:45 de9db76c5a1d: Pull complete 20:45:49 a35cf1a2eb13: Verifying Checksum 20:45:49 a35cf1a2eb13: Download complete 20:45:51 bca2f99d35d6: Verifying Checksum 20:45:51 bca2f99d35d6: Download complete 20:46:07 bca2f99d35d6: Pull complete 20:46:07 93359f2a8cfa: Pull complete 20:46:07 7c6f9722023f: Pull complete 20:46:15 a35cf1a2eb13: Pull complete 20:46:15 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 20:46:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 20:46:15 ---> a62c8e92a672 20:46:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:46:15 ---> Running in 81818459c6cd 20:46:15 Removing intermediate container 81818459c6cd 20:46:15 ---> 0d0300d77a9d 20:46:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:46:15 ---> Running in 18434688d073 20:46:17 Removing intermediate container 18434688d073 20:46:17 ---> 2461a2548a71 20:46:17 Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash 20:46:17 ---> Running in c7ddf007f71f 20:46:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:46:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:46:20 (1/6) Installing libc-dev (0.7.2-r3) 20:46:20 (2/6) Installing libsodium (1.0.18-r0) 20:46:20 (3/6) Installing pkgconf (1.7.2-r0) 20:46:20 (4/6) Installing libsodium-dev (1.0.18-r0) 20:46:20 (5/6) Installing libzmq (4.3.3-r0) 20:46:20 (6/6) Installing zeromq-dev (4.3.3-r0) 20:46:20 Executing busybox-1.31.1-r19.trigger 20:46:20 OK: 167 MiB in 45 packages 20:46:21 Removing intermediate container c7ddf007f71f 20:46:21 ---> 9ca8242391fa 20:46:21 Step 6/8 : WORKDIR /app 20:46:22 ---> Running in e4b9040ecc11 20:46:22 Removing intermediate container e4b9040ecc11 20:46:22 ---> 0bdf90616eb5 20:46:22 Step 7/8 : COPY . . 20:46:22 ---> f4464a46a919 20:46:22 Step 8/8 : RUN go mod download 20:46:23 ---> Running in 17b6ba0e465e 20:46:50 Removing intermediate container 17b6ba0e465e 20:46:50 ---> 29d6d47736e1 20:46:51 Successfully built 29d6d47736e1 20:46:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:46:51 + docker inspect -f . ci-base-image-x86_64 20:46:51 . [Pipeline] withDockerContainer 20:46:52 prd-centos7-docker-4c-2g-21295 does not seem to be running inside a container 20:46:52 $ 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 20:46:53 $ docker top 5b8cf5e673f08a2f2d62e2f292054e2adf9aebf7e4ac6ff876d28fee46997d89 -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:55 + go version 20:46:55 go version go1.15.5 linux/amd64 [Pipeline] } 20:46:55 $ docker stop --time=1 5b8cf5e673f08a2f2d62e2f292054e2adf9aebf7e4ac6ff876d28fee46997d89 20:46:56 $ docker rm -f 5b8cf5e673f08a2f2d62e2f292054e2adf9aebf7e4ac6ff876d28fee46997d89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:46:57 + docker inspect -f . ci-base-image-x86_64 20:46:57 . [Pipeline] withDockerContainer 20:46:57 prd-centos7-docker-4c-2g-21295 does not seem to be running inside a container 20:46:58 $ 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 20:46:59 $ docker top 88fc38d7b9c6a9e58f0e82d548a1a02bd7d592d3ccdb0c488c55530e630bcf66 -eo pid,comm [Pipeline] { [Pipeline] sh 20:47:00 + make test 20:47:00 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 20:47:27 ? github.com/edgexfoundry/app-service-configurable [no test files] 20:47:27 CGO_ENABLED=1 go vet ./... 20:47:28 gofmt -l . 20:47:28 [ "`gofmt -l .`" = "" ] 20:47:28 ./bin/test-go-mod-tidy.sh 20:47:29 ./bin/test-attribution-txt.sh [Pipeline] } 20:47:29 $ docker stop --time=1 88fc38d7b9c6a9e58f0e82d548a1a02bd7d592d3ccdb0c488c55530e630bcf66 20:47:32 $ docker rm -f 88fc38d7b9c6a9e58f0e82d548a1a02bd7d592d3ccdb0c488c55530e630bcf66 [Pipeline] // withDockerContainer [Pipeline] sh 20:47:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:47:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:47:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:47:36 + ls -al . 20:47:36 total 88 20:47:36 drwxrwxr-x. 7 jenkins jenkins 4096 Jan 19 20:47 . 20:47:36 drwxrwxr-x. 4 jenkins jenkins 28 Jan 19 20:45 .. 20:47:36 -rw-rw-r--. 1 jenkins jenkins 6426 Jan 19 20:45 Attribution.txt 20:47:36 drwxrwxr-x. 2 jenkins jenkins 64 Jan 19 20:45 bin 20:47:36 -rw-r--r--. 1 jenkins jenkins 10 Jan 19 20:47 coverage.out 20:47:36 -rw-rw-r--. 1 jenkins jenkins 2032 Jan 19 20:45 Dockerfile 20:47:36 -rw-rw-r--. 1 jenkins jenkins 970 Jan 19 20:45 Dockerfile.build 20:47:36 -rw-rw-r--. 1 jenkins jenkins 119 Jan 19 20:45 .dockerignore 20:47:36 drwxrwxr-x. 8 jenkins jenkins 179 Jan 19 20:45 .git 20:47:36 drwxrwxr-x. 2 jenkins jenkins 81 Jan 19 20:45 .github 20:47:36 -rw-rw-r--. 1 jenkins jenkins 93 Jan 19 20:45 .gitignore 20:47:36 -rw-r--r--. 1 jenkins jenkins 135 Jan 19 20:47 go.mod 20:47:36 -rw-r--r--. 1 jenkins jenkins 18779 Jan 19 20:47 go.sum 20:47:36 -rw-rw-r--. 1 jenkins jenkins 687 Jan 19 20:45 Jenkinsfile 20:47:36 -rw-rw-r--. 1 jenkins jenkins 10174 Jan 19 20:45 LICENSE 20:47:36 -rw-rw-r--. 1 jenkins jenkins 1522 Jan 19 20:45 main.go 20:47:36 -rw-rw-r--. 1 jenkins jenkins 1582 Jan 19 20:45 makefile 20:47:36 -rw-rw-r--. 1 jenkins jenkins 1277 Jan 19 20:45 README.md 20:47:36 drwxrwxr-x. 10 jenkins jenkins 171 Jan 19 20:45 res 20:47:36 drwxrwxr-x. 4 jenkins jenkins 71 Jan 19 20:45 snap 20:47:36 -rw-rw-r--. 1 jenkins jenkins 5 Jan 19 20:45 VERSION [Pipeline] isUnix [Pipeline] sh 20:47:37 + 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 . 20:47:37 Sending build context to Docker daemon 117.8kB 20:47:37 Step 1/27 : ARG BASE=golang:1.15-alpine3.12 20:47:37 Step 2/27 : FROM ${BASE} AS builder 20:47:37 ---> 29d6d47736e1 20:47:37 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 20:47:37 ---> Running in 196328d41fb2 20:47:38 Removing intermediate container 196328d41fb2 20:47:38 ---> 5de72d6a1ba0 20:47:38 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 20:47:38 ---> Running in 9bbcf5b61054 20:47:38 Removing intermediate container 9bbcf5b61054 20:47:38 ---> 263c3095b6b2 20:47:38 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 20:47:38 ---> Running in 0b622b843e30 20:47:39 Removing intermediate container 0b622b843e30 20:47:39 ---> 1102ae44861d 20:47:39 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:47:39 ---> Running in 2bb2c710358a 20:47:41 Removing intermediate container 2bb2c710358a 20:47:41 ---> ec41385a4259 20:47:41 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:47:41 ---> Running in 6f986ded15e4 20:47:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:47:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:47:43 OK: 167 MiB in 45 packages 20:47:43 Removing intermediate container 6f986ded15e4 20:47:43 ---> 9de735779ccc 20:47:43 Step 8/27 : WORKDIR /app 20:47:43 ---> Running in 08b67e1b62e8 20:47:44 Removing intermediate container 08b67e1b62e8 20:47:44 ---> 822f91d83a0e 20:47:44 Step 9/27 : COPY go.mod . 20:47:44 ---> 224dca2a823f 20:47:44 Step 10/27 : RUN go mod download 20:47:44 ---> Running in 07445e045a7f 20:47:46 Removing intermediate container 07445e045a7f 20:47:46 ---> 9afd6a6b1e5c 20:47:46 Step 11/27 : COPY . . 20:47:46 ---> 188cb5a0ca90 20:47:46 Step 12/27 : ARG MAKE="make build" 20:47:46 ---> Running in 4c724994f7aa 20:47:46 Removing intermediate container 4c724994f7aa 20:47:46 ---> d57b7a462561 20:47:46 Step 13/27 : RUN $MAKE 20:47:46 ---> Running in c7fdf94afa32 20:47:47 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 20:48:15 Removing intermediate container c7fdf94afa32 20:48:15 ---> 1b65bc252e6e 20:48:15 Step 14/27 : FROM alpine:3.12 20:48:15 3.12: Pulling from library/alpine 20:48:15 801bfaa63ef2: Pulling fs layer 20:48:15 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] } 20:48:16 Failed in branch amd64 20:48:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21298 in /w/workspace/_app-service-configurable_PR-168 [Pipeline] { [Pipeline] ws 20:48:17 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 20:48:22 using credential edgex-jenkins-ssh 20:48:22 Cloning the remote Git repository 20:48:22 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 20:48:22 > git init /w/workspace/app-service-configurable/2 # timeout=10 20:48:22 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 20:48:22 > git --version # timeout=10 20:48:22 > git --version # 'git version 2.17.1' 20:48:22 using GIT_SSH to set credentials SSH Credentials for GitHub 20:48:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:48:24 Merging remotes/origin/master commit b430426e5122e1d8120a8d3ea89e621b3f587a0f into PR head commit 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 20:48:24 Merge succeeded, producing 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 20:48:24 Checking out Revision 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 (PR-168) 20:48:23 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 20:48:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:48:23 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 20:48:23 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 20:48:23 using GIT_SSH to set credentials SSH Credentials for GitHub 20:48:23 > 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 20:48:24 > git config core.sparsecheckout # timeout=10 20:48:24 > git checkout -f 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 # timeout=10 20:48:24 > git remote # timeout=10 20:48:24 > git config --get remote.origin.url # timeout=10 20:48:24 using GIT_SSH to set credentials SSH Credentials for GitHub 20:48:24 > git merge b430426e5122e1d8120a8d3ea89e621b3f587a0f # timeout=10 20:48:24 > git rev-parse HEAD^{commit} # timeout=10 20:48:24 > git config core.sparsecheckout # timeout=10 20:48:24 > git checkout -f 9f2d32b5c9ce46fc1ac012756954fae5ec908be8 # timeout=10 20:48:29 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 20:48:31 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 20:48:31 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:48:31 + true 20:48:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:48:33 provisioning config files... 20:48:34 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config6170147857151479781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:48:34 ---> docker-login.sh 20:48:34 nexus3.edgexfoundry.org:10001 20:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:35 Configure a credential helper to remove this warning. See 20:48:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:35 20:48:35 Login Succeeded 20:48:35 nexus3.edgexfoundry.org:10002 20:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:36 Configure a credential helper to remove this warning. See 20:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:36 20:48:36 Login Succeeded 20:48:36 nexus3.edgexfoundry.org:10003 20:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:36 Configure a credential helper to remove this warning. See 20:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:36 20:48:36 Login Succeeded 20:48:36 nexus3.edgexfoundry.org:10004 20:48:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:37 Configure a credential helper to remove this warning. See 20:48:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:37 20:48:37 Login Succeeded 20:48:37 docker.io 20:48:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:37 Configure a credential helper to remove this warning. See 20:48:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:37 20:48:37 Login Succeeded 20:48:37 ---> docker-login.sh ends [Pipeline] } 20:48:37 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:48:38 ========================================================= 20:48:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 20:48:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:48:38 + 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 . 20:48:38 Sending build context to Docker daemon 96.26kB 20:48:39 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 20:48:39 Step 2/8 : FROM ${BASE} 20:48:39 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:48:39 5f621e34cdf4: Pulling fs layer 20:48:39 a4357932f1b6: Pulling fs layer 20:48:39 18c013af1878: Pulling fs layer 20:48:39 00ac8860ef70: Pulling fs layer 20:48:39 63d7cb157983: Pulling fs layer 20:48:39 00ac8860ef70: Waiting 20:48:39 b116817d02f9: Pulling fs layer 20:48:39 745a02a5169b: Pulling fs layer 20:48:39 63d7cb157983: Waiting 20:48:39 b116817d02f9: Waiting 20:48:39 18c013af1878: Download complete 20:48:39 a4357932f1b6: Verifying Checksum 20:48:39 a4357932f1b6: Download complete 20:48:39 63d7cb157983: Verifying Checksum 20:48:39 63d7cb157983: Download complete 20:48:39 b116817d02f9: Verifying Checksum 20:48:39 b116817d02f9: Download complete 20:48:39 5f621e34cdf4: Verifying Checksum 20:48:39 5f621e34cdf4: Download complete 20:48:40 5f621e34cdf4: Pull complete 20:48:40 a4357932f1b6: Pull complete 20:48:41 18c013af1878: Pull complete 20:48:41 745a02a5169b: Verifying Checksum 20:48:41 745a02a5169b: Download complete 20:48:43 00ac8860ef70: Verifying Checksum 20:48:43 00ac8860ef70: Download complete 20:48:53 00ac8860ef70: Pull complete 20:48:53 63d7cb157983: Pull complete 20:48:54 b116817d02f9: Pull complete 20:48:58 745a02a5169b: Pull complete 20:48:58 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 20:48:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 20:48:58 ---> b7e6874047d6 20:48:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:49:00 ---> Running in daa196f48c8a 20:49:01 Removing intermediate container daa196f48c8a 20:49:01 ---> bc6c2fa9e872 20:49:01 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:49:01 ---> Running in e574c61cee42 20:49:03 Removing intermediate container e574c61cee42 20:49:03 ---> 7d2425f0cd7e 20:49:03 Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash 20:49:03 ---> Running in 4aca800445a6 20:49:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:49:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:49:07 (1/6) Installing libc-dev (0.7.2-r3) 20:49:07 (2/6) Installing libsodium (1.0.18-r0) 20:49:07 (3/6) Installing pkgconf (1.7.2-r0) 20:49:07 (4/6) Installing libsodium-dev (1.0.18-r0) 20:49:08 (5/6) Installing libzmq (4.3.3-r0) 20:49:08 (6/6) Installing zeromq-dev (4.3.3-r0) 20:49:08 Executing busybox-1.31.1-r19.trigger 20:49:08 OK: 144 MiB in 45 packages 20:49:09 Removing intermediate container 4aca800445a6 20:49:09 ---> 841c45dbd621 20:49:09 Step 6/8 : WORKDIR /app 20:49:09 ---> Running in 288e499cc7c3 20:49:10 Removing intermediate container 288e499cc7c3 20:49:10 ---> 657db5f48d7d 20:49:10 Step 7/8 : COPY . . 20:49:11 ---> c788cb5766e0 20:49:11 Step 8/8 : RUN go mod download 20:49:11 ---> Running in d717385c0a3a 20:49:37 Removing intermediate container d717385c0a3a 20:49:37 ---> 1a610bd71269 20:49:37 Successfully built 1a610bd71269 20:49:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:49:38 + docker inspect -f . ci-base-image-arm64 20:49:38 . [Pipeline] withDockerContainer 20:49:38 prd-ubuntu18.04-docker-arm64-4c-16g-21298 does not seem to be running inside a container 20:49:38 $ 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 20:49:40 $ docker top 3092e378d697614a69ccf2ba3526d06249aa48ec81c8cd805fd0ed5438f7feb6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:49:41 + go version 20:49:41 go version go1.15.5 linux/arm64 [Pipeline] } 20:49:41 $ docker stop --time=1 3092e378d697614a69ccf2ba3526d06249aa48ec81c8cd805fd0ed5438f7feb6 20:49:43 $ docker rm -f 3092e378d697614a69ccf2ba3526d06249aa48ec81c8cd805fd0ed5438f7feb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:49:44 + docker inspect -f . ci-base-image-arm64 20:49:44 . [Pipeline] withDockerContainer 20:49:44 prd-ubuntu18.04-docker-arm64-4c-16g-21298 does not seem to be running inside a container 20:49:44 $ 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 20:49:46 $ docker top 8eff018d5d9a6793998aa362d33fe4df64cdd18e8196b845bb7994c950ac107a -eo pid,comm [Pipeline] { [Pipeline] sh 20:49:47 + make test 20:49:47 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 20:50:26 ? github.com/edgexfoundry/app-service-configurable [no test files] 20:50:26 CGO_ENABLED=1 go vet ./... 20:50:29 gofmt -l . 20:50:29 [ "`gofmt -l .`" = "" ] 20:50:29 ./bin/test-go-mod-tidy.sh 20:50:29 ./bin/test-attribution-txt.sh [Pipeline] } 20:50:30 $ docker stop --time=1 8eff018d5d9a6793998aa362d33fe4df64cdd18e8196b845bb7994c950ac107a 20:50:33 $ docker rm -f 8eff018d5d9a6793998aa362d33fe4df64cdd18e8196b845bb7994c950ac107a [Pipeline] // withDockerContainer [Pipeline] sh 20:50:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:50:34 Warning: overwriting stash ‘coverage-report’ 20:50:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:50:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:50:36 + ls -al . 20:50:36 total 112 20:50:36 drwxrwxr-x 7 jenkins jenkins 4096 Jan 19 20:50 . 20:50:36 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 20:48 .. 20:50:36 -rw-rw-r-- 1 jenkins jenkins 119 Jan 19 20:48 .dockerignore 20:50:36 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 20:48 .git 20:50:36 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 20:48 .github 20:50:36 -rw-rw-r-- 1 jenkins jenkins 93 Jan 19 20:48 .gitignore 20:50:36 -rw-rw-r-- 1 jenkins jenkins 6426 Jan 19 20:48 Attribution.txt 20:50:36 -rw-rw-r-- 1 jenkins jenkins 2032 Jan 19 20:48 Dockerfile 20:50:36 -rw-rw-r-- 1 jenkins jenkins 970 Jan 19 20:48 Dockerfile.build 20:50:36 -rw-rw-r-- 1 jenkins jenkins 687 Jan 19 20:48 Jenkinsfile 20:50:36 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 19 20:48 LICENSE 20:50:36 -rw-rw-r-- 1 jenkins jenkins 1277 Jan 19 20:48 README.md 20:50:36 -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 20:45 VERSION 20:50:36 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 20:48 bin 20:50:36 -rw-r--r-- 1 jenkins jenkins 10 Jan 19 20:49 coverage.out 20:50:36 -rw-r--r-- 1 jenkins jenkins 135 Jan 19 20:50 go.mod 20:50:36 -rw-r--r-- 1 jenkins jenkins 18779 Jan 19 20:50 go.sum 20:50:36 -rw-rw-r-- 1 jenkins jenkins 1522 Jan 19 20:48 main.go 20:50:36 -rw-rw-r-- 1 jenkins jenkins 1582 Jan 19 20:48 makefile 20:50:36 drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 20:48 res 20:50:36 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 20:48 snap [Pipeline] isUnix [Pipeline] sh 20:50:36 + 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 . 20:50:36 Sending build context to Docker daemon 117.8kB 20:50:36 Step 1/27 : ARG BASE=golang:1.15-alpine3.12 20:50:36 Step 2/27 : FROM ${BASE} AS builder 20:50:36 ---> 1a610bd71269 20:50:36 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 20:50:37 ---> Running in 588185c68ab0 20:50:37 Removing intermediate container 588185c68ab0 20:50:37 ---> 72970851ab19 20:50:37 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 20:50:37 ---> Running in b63a45e92918 20:50:38 Removing intermediate container b63a45e92918 20:50:38 ---> 1fa89ecaf211 20:50:38 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 20:50:38 ---> Running in fe88b137a992 20:50:38 Removing intermediate container fe88b137a992 20:50:38 ---> ff83c0d5f91b 20:50:38 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:50:38 ---> Running in 95edaed53dc5 20:50:41 Removing intermediate container 95edaed53dc5 20:50:41 ---> 7c46cf447420 20:50:41 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:50:41 ---> Running in 98988163a1cb 20:50:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:50:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:50:43 OK: 144 MiB in 45 packages 20:50:45 Removing intermediate container 98988163a1cb 20:50:45 ---> 39f3ada25f4c 20:50:45 Step 8/27 : WORKDIR /app 20:50:45 ---> Running in 2e579b930c1e 20:50:45 Removing intermediate container 2e579b930c1e 20:50:45 ---> afb4949f7f53 20:50:45 Step 9/27 : COPY go.mod . 20:50:46 ---> a93975624d32 20:50:46 Step 10/27 : RUN go mod download 20:50:46 ---> Running in 0a12f5d2ab35 20:50:49 Removing intermediate container 0a12f5d2ab35 20:50:49 ---> 568db752e906 20:50:49 Step 11/27 : COPY . . 20:50:49 ---> 85616be08005 20:50:49 Step 12/27 : ARG MAKE="make build" 20:50:49 ---> Running in fda2552bbcad 20:50:50 Removing intermediate container fda2552bbcad 20:50:50 ---> 78d0b7cf7623 20:50:50 Step 13/27 : RUN $MAKE 20:50:50 ---> Running in 7fdb5aaaf670 20:50:51 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 20:51:24 Removing intermediate container 7fdb5aaaf670 20:51:24 ---> 428b37da9067 20:51:24 Step 14/27 : FROM alpine:3.12 20:51:25 3.12: Pulling from library/alpine 20:51:25 159e5727ea61: Pulling fs layer 20:51:25 159e5727ea61: Download complete 20:51:26 159e5727ea61: Pull complete 20:51:26 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 20:51:26 Status: Downloaded newer image for alpine:3.12 20:51:26 ---> afeebe901d6b 20:51:26 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 20:51:26 ---> Running in c942cfd08820 20:51:27 Removing intermediate container c942cfd08820 20:51:27 ---> a679d0b7939e 20:51:27 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 20:51:27 ---> Running in 137aa6e9dcfc 20:51:27 Removing intermediate container 137aa6e9dcfc 20:51:27 ---> 463471359429 20:51:27 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 20:51:27 ---> Running in 4ec9434af580 20:51:28 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:51:29 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:51:29 (1/7) Installing ca-certificates (20191127-r4) 20:51:29 (2/7) Installing dumb-init (1.2.2-r1) 20:51:29 (3/7) Installing libgcc (9.3.0-r2) 20:51:29 (4/7) Installing libsodium (1.0.18-r0) 20:51:29 (5/7) Installing libstdc++ (9.3.0-r2) 20:51:30 (6/7) Installing libzmq (4.3.3-r0) 20:51:30 (7/7) Installing zeromq (4.3.3-r0) 20:51:30 Executing busybox-1.31.1-r19.trigger 20:51:30 Executing ca-certificates-20191127-r4.trigger 20:51:30 OK: 9 MiB in 21 packages 20:51:32 Removing intermediate container 4ec9434af580 20:51:32 ---> aa3e00aae549 20:51:32 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 20:51:32 ---> 4499a68118f0 20:51:32 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 20:51:33 ---> 1df60db66f31 20:51:33 Step 20/27 : COPY --from=builder /app/res/ /res/ 20:51:34 ---> fa812ad7ab67 20:51:34 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 20:51:35 ---> 6181d4b9f110 20:51:35 Step 22/27 : EXPOSE 48095 20:51:35 ---> Running in b747a33f9776 20:51:35 Removing intermediate container b747a33f9776 20:51:35 ---> c944ece5d3ac 20:51:35 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 20:51:36 ---> Running in 57fa41c1e441 20:51:36 Removing intermediate container 57fa41c1e441 20:51:36 ---> 01984ad05339 20:51:36 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:51:36 ---> Running in a470d0082517 20:51:37 Removing intermediate container a470d0082517 20:51:37 ---> 82dc0164fc4d 20:51:37 Step 25/27 : LABEL arch=arm64 20:51:37 ---> Running in 25ffb936609a 20:51:37 Removing intermediate container 25ffb936609a 20:51:37 ---> ada08a870098 20:51:37 Step 26/27 : LABEL git_sha=9f2d32b5c9ce46fc1ac012756954fae5ec908be8 20:51:37 ---> Running in df5169ba77a6 20:51:38 Removing intermediate container df5169ba77a6 20:51:38 ---> 850e5171b378 20:51:38 Step 27/27 : LABEL version=0.0.0 20:51:38 ---> Running in a0f8c335d236 20:51:39 Removing intermediate container a0f8c335d236 20:51:39 ---> 74cff3e0f9b0 20:51:39 [Warning] One or more build-args [ARCH] were not consumed 20:51:39 Successfully built 74cff3e0f9b0 20:51:39 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 20:51:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:51:43 ---> package-listing.sh 20:51:43 ++ tr '[:upper:]' '[:lower:]' 20:51:43 ++ facter osfamily 20:51:43 + OS_FAMILY=redhat 20:51:43 + workspace=/w/workspace/_app-service-configurable_PR-168 20:51:43 + START_PACKAGES=/tmp/packages_start.txt 20:51:43 + END_PACKAGES=/tmp/packages_end.txt 20:51:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:51:43 + PACKAGES=/tmp/packages_start.txt 20:51:43 + '[' /w/workspace/_app-service-configurable_PR-168 ']' 20:51:43 + PACKAGES=/tmp/packages_end.txt 20:51:43 + case "${OS_FAMILY}" in 20:51:43 + rpm -qa 20:51:43 + sort 20:51:48 + '[' -f /tmp/packages_start.txt ']' 20:51:48 + '[' -f /tmp/packages_end.txt ']' 20:51:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:51:48 + '[' /w/workspace/_app-service-configurable_PR-168 ']' 20:51:48 + mkdir -p /w/workspace/_app-service-configurable_PR-168/archives/ 20:51:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-168/archives/ [Pipeline] echo 20:51:48 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 20:51:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:51:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:51:48 20:51:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:51:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:51:49 alpine: Pulling from edgex-lftools-log-publisher 20:51:49 df20fa9351a1: Pulling fs layer 20:51:49 36b3adc4ff6f: Pulling fs layer 20:51:49 8ad3a11d3b57: Pulling fs layer 20:51:49 46f8f816bc3b: Pulling fs layer 20:51:49 93b61091891f: Pulling fs layer 20:51:49 93b9cdb0e59b: Pulling fs layer 20:51:49 5e14af77c1be: Pulling fs layer 20:51:49 01666e4c0597: Pulling fs layer 20:51:49 aa168da1d23b: Pulling fs layer 20:51:49 46f8f816bc3b: Waiting 20:51:49 5e14af77c1be: Waiting 20:51:49 93b61091891f: Waiting 20:51:49 01666e4c0597: Waiting 20:51:49 93b9cdb0e59b: Waiting 20:51:49 aa168da1d23b: Waiting 20:51:49 36b3adc4ff6f: Verifying Checksum 20:51:49 36b3adc4ff6f: Download complete 20:51:49 46f8f816bc3b: Verifying Checksum 20:51:49 46f8f816bc3b: Download complete 20:51:49 df20fa9351a1: Verifying Checksum 20:51:49 93b9cdb0e59b: Verifying Checksum 20:51:49 93b9cdb0e59b: Download complete 20:51:49 93b61091891f: Verifying Checksum 20:51:49 93b61091891f: Download complete 20:51:49 5e14af77c1be: Verifying Checksum 20:51:49 5e14af77c1be: Download complete 20:51:49 01666e4c0597: Verifying Checksum 20:51:49 01666e4c0597: Download complete 20:51:49 df20fa9351a1: Pull complete 20:51:49 36b3adc4ff6f: Pull complete 20:51:50 8ad3a11d3b57: Verifying Checksum 20:51:50 8ad3a11d3b57: Download complete 20:51:50 8ad3a11d3b57: Pull complete 20:51:50 46f8f816bc3b: Pull complete 20:51:51 aa168da1d23b: Verifying Checksum 20:51:51 aa168da1d23b: Download complete 20:51:51 93b61091891f: Pull complete 20:51:51 93b9cdb0e59b: Pull complete 20:51:51 5e14af77c1be: Pull complete 20:51:51 01666e4c0597: Pull complete 20:51:58 aa168da1d23b: Pull complete 20:51:58 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:51:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:51:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:51:58 prd-centos7-docker-4c-2g-21296 does not seem to be running inside a container 20:51:58 $ 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 20:52:02 $ docker top 1ace3a4e5e6cf10f888760238ede53e6c8162078bd40ff1f30376b2538472b68 -eo pid,comm [Pipeline] { [Pipeline] sh 20:52:02 + touch /tmp/pre-build-complete [Pipeline] sh 20:52:03 + mkdir -p /var/log/sa [Pipeline] sh 20:52:03 + ls /var/log/sa-host 20:52:03 + sadf -c /var/log/sa-host/sa19 20:52:03 file_magic: OK 20:52:03 HZ: Using current value: 100 20:52:03 file_header: OK 20:52:03 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 20:52:03 Statistics: 20:52:03 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:52:03 File successfully converted to sysstat format version 12.2.1 20:52:03 + sadf -c /var/log/sa-host/sa23 20:52:03 file_magic: OK 20:52:03 HZ: Using current value: 100 20:52:03 file_header: OK 20:52:03 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 20:52:03 Statistics: 20:52:03 Hnuu...uuuununununu... 20:52:03 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:52:04 provisioning config files... 20:52:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-168@tmp/config2158345724337672537tmp [Pipeline] { [Pipeline] echo 20:52:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:52:04 ---> create-netrc.sh [Pipeline] } 20:52:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:52:04 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:52:04 ---> python-tools-install.sh [Pipeline] echo 20:52:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:52:05 ---> sudo-logs.sh 20:52:05 Archiving 'sudo' log.. [Pipeline] echo 20:52:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:52:05 ---> job-cost.sh 20:52:05 lf-activate-venv: SKIPPING 20:52:05 INFO: No Stack... 20:52:06 INFO: Retrieving Pricing Info for: v1-standard-2 20:52:07 INFO: Archiving Costs [Pipeline] echo 20:52:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:52:07 ---> logs-deploy.sh 20:52:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-168/2 20:52:07 INFO: archiving workspace using pattern(s): 20:52:09 Archives upload complete. 20:52:09 INFO: archiving logs to Nexus