Pull request #124 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 ernestojeda for edgexfoundry/app-service-configurable Obtained Jenkinsfile from d2bb64093145e97ba0d06667bcc6498e707e8b63+6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 (49eaa2a0018e36415467be1b274044b864f8b819) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@22a229d7f7778260051e54fac5d06bedaac47605 Attempting to resolve 22a229d7f7778260051e54fac5d06bedaac47605 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 Could not find 22a229d7f7778260051e54fac5d06bedaac47605 in remote references. Pulling heads to local for deep search... > 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/pull/*:refs/remotes/origin/pr/* # timeout=10 > git rev-parse 22a229d7f7778260051e54fac5d06bedaac47605^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains 22a229d7f7778260051e54fac5d06bedaac47605 # timeout=10 Selected match: pr/264/head revision 22a229d7f7778260051e54fac5d06bedaac47605 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 without 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 --no-tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 22a229d7f7778260051e54fac5d06bedaac47605 (pr/264/head) > git config core.sparsecheckout # timeout=10 > git checkout -f 22a229d7f7778260051e54fac5d06bedaac47605 # timeout=10 Commit message: "fix: trying previous docker based script" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-9181 in /w/workspace/_app-service-configurable_PR-124 [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-124 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 into PR head commit d2bb64093145e97ba0d06667bcc6498e707e8b63 Merge succeeded, producing 8d415b9becdc3b8f1189f5b95123b970724b7fb2 Checking out Revision 8d415b9becdc3b8f1189f5b95123b970724b7fb2 (PR-124) > 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 --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2bb64093145e97ba0d06667bcc6498e707e8b63 # 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 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8d415b9becdc3b8f1189f5b95123b970724b7fb2 # timeout=10 Commit message: "Merge commit '6aed5cde4d38e364b7def40f9e6b4d8e988d4e17' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 2b71910c183cf0f434fb83f9adaad7bf20289b21 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-27T17:07:48.778Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-27T17:07:49.008Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-27T17:07:49.106Z] ========================================================= [2020-10-27T17:07:49.106Z] EdgeX Global Pipelines Version Info [2020-10-27T17:07:49.106Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-27T17:07:50.608Z] ------------------- [2020-10-27T17:07:50.608Z] stable info: [2020-10-27T17:07:50.608Z] ------------------- [2020-10-27T17:07:50.608Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-27T17:07:50.608Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-27T17:07:50.608Z] Message: update stable to v1.0.148 [2020-10-27T17:07:51.562Z] ------------------- [2020-10-27T17:07:51.562Z] experimental info: [2020-10-27T17:07:51.562Z] ------------------- [2020-10-27T17:07:51.562Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-27T17:07:51.562Z] Commit SHA: 2701555fd48d7f7017006eef04e32eb767bac8dc [2020-10-27T17:07:51.562Z] Message: update experimental to v1.0.151 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-27T17:07:51.987Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2020-10-27T17:07:52.204Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2020-10-27T17:07:52.297Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-27T17:07:52.391Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-27T17:07:52.482Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-27T17:07:52.571Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-27T17:07:52.667Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-27T17:07:52.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-27T17:07:52.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-10-27T17:07:52.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-27T17:07:53.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-27T17:07:53.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-service-configurable [Pipeline] echo [2020-10-27T17:07:53.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-27T17:07:53.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-27T17:07:53.474Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-27T17:07:53.583Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-10-27T17:07:53.684Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-27T17:07:53.803Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-27T17:07:53.915Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-27T17:07:54.023Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-10-27T17:07:54.144Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-27T17:07:54.278Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-27T17:07:54.384Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-27T17:07:54.488Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-27T17:07:54.581Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-27T17:07:54.669Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-124 [Pipeline] echo [2020-10-27T17:07:54.851Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-124 [Pipeline] echo [2020-10-27T17:07:54.974Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-124 [Pipeline] echo [2020-10-27T17:07:55.068Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8d415b9becdc3b8f1189f5b95123b970724b7fb2 [Pipeline] echo [2020-10-27T17:07:55.207Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8d415b9 [Pipeline] echo [2020-10-27T17:07:55.323Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-27T17:07:55.992Z] + git log --format=format:%s -1 8d415b9becdc3b8f1189f5b95123b970724b7fb2 [Pipeline] echo [2020-10-27T17:07:56.067Z] GIT_COMMIT: 8d415b9becdc3b8f1189f5b95123b970724b7fb2, Commit Message: Merge commit '6aed5cde4d38e364b7def40f9e6b4d8e988d4e17' into HEAD [Pipeline] echo [2020-10-27T17:07:56.116Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-27T17:07:56.756Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-27T17:07:57.031Z] [2020-10-27T17:07:57.031Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-27T17:07:57.384Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-27T17:07:57.384Z] latest: Pulling from edgex-devops/git-semver [2020-10-27T17:07:57.384Z] 31603596830f: Pulling fs layer [2020-10-27T17:07:57.384Z] 2a8b12db71e7: Pulling fs layer [2020-10-27T17:07:57.384Z] 6ca5941a6612: Pulling fs layer [2020-10-27T17:07:57.384Z] ecc8261a40a4: Pulling fs layer [2020-10-27T17:07:57.384Z] ecc8261a40a4: Waiting [2020-10-27T17:07:57.384Z] 2a8b12db71e7: Verifying Checksum [2020-10-27T17:07:57.384Z] 2a8b12db71e7: Download complete [2020-10-27T17:07:57.648Z] 31603596830f: Download complete [2020-10-27T17:07:57.648Z] ecc8261a40a4: Verifying Checksum [2020-10-27T17:07:57.648Z] ecc8261a40a4: Download complete [2020-10-27T17:07:57.648Z] 6ca5941a6612: Verifying Checksum [2020-10-27T17:07:57.648Z] 6ca5941a6612: Download complete [2020-10-27T17:07:57.912Z] 31603596830f: Pull complete [2020-10-27T17:07:58.185Z] 2a8b12db71e7: Pull complete [2020-10-27T17:07:58.770Z] 6ca5941a6612: Pull complete [2020-10-27T17:07:59.032Z] ecc8261a40a4: Pull complete [2020-10-27T17:07:59.032Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-27T17:07:59.032Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-27T17:07:59.032Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-27T17:07:59.133Z] prd-centos7-docker-4c-2g-9181 does not seem to be running inside a container [2020-10-27T17:07:59.191Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-124 -v /w/workspace/_app-service-configurable_PR-124:/w/workspace/_app-service-configurable_PR-124:rw,z -v /w/workspace/_app-service-configurable_PR-124@tmp:/w/workspace/_app-service-configurable_PR-124@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-27T17:08:01.271Z] $ docker top 7b990f9bdf329819005266f7cef10695a1099f3f1a5af6dcfb4de47597d59b73 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-27T17:08:01.583Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-27T17:08:01.583Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-27T17:08:01.824Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-27T17:08:01.835Z] $ docker exec 7b990f9bdf329819005266f7cef10695a1099f3f1a5af6dcfb4de47597d59b73 ssh-agent [2020-10-27T17:08:01.996Z] SSH_AUTH_SOCK=/tmp/ssh-atrxs1bigvPw/agent.12 [2020-10-27T17:08:01.996Z] SSH_AGENT_PID=17 [2020-10-27T17:08:02.007Z] Running ssh-add (command line suppressed) [2020-10-27T17:08:02.142Z] Identity added: /w/workspace/_app-service-configurable_PR-124@tmp/private_key_243423983489584472.key (/w/workspace/_app-service-configurable_PR-124@tmp/private_key_243423983489584472.key) [2020-10-27T17:08:02.189Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-27T17:08:02.541Z] + git tag --points-at HEAD [Pipeline] } [2020-10-27T17:08:02.628Z] $ docker exec --env ******** --env ******** 7b990f9bdf329819005266f7cef10695a1099f3f1a5af6dcfb4de47597d59b73 ssh-agent -k [2020-10-27T17:08:02.799Z] unset SSH_AUTH_SOCK; [2020-10-27T17:08:02.800Z] unset SSH_AGENT_PID; [2020-10-27T17:08:02.800Z] echo Agent pid 17 killed; [2020-10-27T17:08:02.843Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-27T17:08:03.000Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-27T17:08:03.000Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-27T17:08:03.164Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-27T17:08:03.175Z] $ docker exec 7b990f9bdf329819005266f7cef10695a1099f3f1a5af6dcfb4de47597d59b73 ssh-agent [2020-10-27T17:08:03.333Z] SSH_AUTH_SOCK=/tmp/ssh-Qh1EmttXTWVq/agent.46 [2020-10-27T17:08:03.333Z] SSH_AGENT_PID=52 [2020-10-27T17:08:03.341Z] Running ssh-add (command line suppressed) [2020-10-27T17:08:03.472Z] Identity added: /w/workspace/_app-service-configurable_PR-124@tmp/private_key_3127297890823390752.key (/w/workspace/_app-service-configurable_PR-124@tmp/private_key_3127297890823390752.key) [2020-10-27T17:08:03.512Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-27T17:08:03.857Z] + git semver init [2020-10-27T17:08:03.857Z] # -> Open(): unable to determine branch for HEAD [2020-10-27T17:08:03.857Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-124/.git [2020-10-27T17:08:03.857Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-124 [2020-10-27T17:08:03.857Z] # $SEMVER_REMOTE_NAME = origin [2020-10-27T17:08:03.857Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-27T17:08:03.857Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-27T17:08:03.857Z] # $SEMVER_BRANCH = PR-124 [2020-10-27T17:08:03.857Z] # $SEMVER_TEMP = /tmp/semver-284843324 [2020-10-27T17:08:03.857Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2020-10-27T17:08:04.432Z] # '/tmp/semver-284843324' -> '/w/workspace/_app-service-configurable_PR-124/.semver' [2020-10-27T17:08:04.432Z] # -> Force: false [2020-10-27T17:08:04.432Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-124/.semver [Pipeline] } [2020-10-27T17:08:04.454Z] $ docker exec --env ******** --env ******** 7b990f9bdf329819005266f7cef10695a1099f3f1a5af6dcfb4de47597d59b73 ssh-agent -k [2020-10-27T17:08:04.568Z] unset SSH_AUTH_SOCK; [2020-10-27T17:08:04.569Z] unset SSH_AGENT_PID; [2020-10-27T17:08:04.569Z] echo Agent pid 52 killed; [2020-10-27T17:08:04.605Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-27T17:08:05.095Z] + git semver [Pipeline] } [2020-10-27T17:08:05.121Z] $ docker stop --time=1 7b990f9bdf329819005266f7cef10695a1099f3f1a5af6dcfb4de47597d59b73 [2020-10-27T17:08:06.504Z] $ docker rm -f 7b990f9bdf329819005266f7cef10695a1099f3f1a5af6dcfb4de47597d59b73 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-27T17:08:07.030Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-27T17:08:07.416Z] Stashed 1 file(s) [Pipeline] echo [2020-10-27T17:08:07.418Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-10-27T17:08:22.955Z] Still waiting to schedule task [2020-10-27T17:08:22.955Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-27T17:08:22.960Z] Still waiting to schedule task [2020-10-27T17:08:22.960Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-27T17:09:33.062Z] Running on prd-centos7-docker-4c-2g-9184 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-27T17:09:33.127Z] Running in /w/workspace/app-service-configurable/17 [Pipeline] { [Pipeline] checkout [2020-10-27T17:09:36.157Z] using credential edgex-jenkins-ssh [2020-10-27T17:09:36.223Z] Cloning the remote Git repository [2020-10-27T17:09:36.280Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T17:09:36.353Z] > git init /w/workspace/app-service-configurable/17 # timeout=10 [2020-10-27T17:09:36.776Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T17:09:36.776Z] > git --version # timeout=10 [2020-10-27T17:09:36.782Z] > git --version # 'git version 2.16.5' [2020-10-27T17:09:36.783Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T17:09:36.823Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T17:09:37.904Z] Merging remotes/origin/master commit 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 into PR head commit d2bb64093145e97ba0d06667bcc6498e707e8b63 [2020-10-27T17:09:38.001Z] Merge succeeded, producing c2e5a198d2ccae0eeb7a0827dd7657978bdd92f0 [2020-10-27T17:09:38.001Z] Checking out Revision c2e5a198d2ccae0eeb7a0827dd7657978bdd92f0 (PR-124) [2020-10-27T17:09:37.421Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-27T17:09:37.429Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T17:09:37.440Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-27T17:09:37.455Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T17:09:37.456Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T17:09:37.460Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-27T17:09:37.913Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T17:09:37.921Z] > git checkout -f d2bb64093145e97ba0d06667bcc6498e707e8b63 # timeout=10 [2020-10-27T17:09:37.956Z] > git remote # timeout=10 [2020-10-27T17:09:37.962Z] > git config --get remote.origin.url # timeout=10 [2020-10-27T17:09:37.968Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T17:09:37.972Z] > git merge 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 # timeout=10 [2020-10-27T17:09:37.993Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-27T17:09:38.004Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T17:09:38.012Z] > git checkout -f c2e5a198d2ccae0eeb7a0827dd7657978bdd92f0 # timeout=10 [2020-10-27T17:09:41.630Z] Commit message: "Merge commit '6aed5cde4d38e364b7def40f9e6b4d8e988d4e17' into HEAD" [2020-10-27T17:09:41.646Z] First time build. Skipping changelog. [2020-10-27T17:09:41.635Z] > git rev-list --no-walk 2b71910c183cf0f434fb83f9adaad7bf20289b21 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-27T17:09:42.679Z] ========================================================= [2020-10-27T17:09:42.679Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-27T17:09:42.679Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-27T17:09:43.505Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-10-27T17:09:43.505Z] Sending build context to Docker daemon 98.3kB [2020-10-27T17:09:43.770Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-27T17:09:43.770Z] Step 2/8 : FROM ${BASE} [2020-10-27T17:09:44.038Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-27T17:09:44.038Z] df20fa9351a1: Pulling fs layer [2020-10-27T17:09:44.038Z] ed8968b2872e: Pulling fs layer [2020-10-27T17:09:44.038Z] a92cc7c5fd73: Pulling fs layer [2020-10-27T17:09:44.038Z] e871e8e8d7a9: Pulling fs layer [2020-10-27T17:09:44.038Z] e73272ec9a57: Pulling fs layer [2020-10-27T17:09:44.038Z] 1e910a182e73: Pulling fs layer [2020-10-27T17:09:44.038Z] 4e634b169226: Pulling fs layer [2020-10-27T17:09:44.038Z] e871e8e8d7a9: Waiting [2020-10-27T17:09:44.038Z] e73272ec9a57: Waiting [2020-10-27T17:09:44.038Z] 1e910a182e73: Waiting [2020-10-27T17:09:44.038Z] 4e634b169226: Waiting [2020-10-27T17:09:44.038Z] a92cc7c5fd73: Verifying Checksum [2020-10-27T17:09:44.038Z] a92cc7c5fd73: Download complete [2020-10-27T17:09:44.038Z] ed8968b2872e: Verifying Checksum [2020-10-27T17:09:44.038Z] ed8968b2872e: Download complete [2020-10-27T17:09:44.038Z] e73272ec9a57: Verifying Checksum [2020-10-27T17:09:44.038Z] e73272ec9a57: Download complete [2020-10-27T17:09:44.038Z] 1e910a182e73: Verifying Checksum [2020-10-27T17:09:44.038Z] 1e910a182e73: Download complete [2020-10-27T17:09:44.038Z] df20fa9351a1: Verifying Checksum [2020-10-27T17:09:44.038Z] df20fa9351a1: Download complete [2020-10-27T17:09:44.309Z] df20fa9351a1: Pull complete [2020-10-27T17:09:44.900Z] ed8968b2872e: Pull complete [2020-10-27T17:09:45.163Z] a92cc7c5fd73: Pull complete [2020-10-27T17:09:46.129Z] 4e634b169226: Verifying Checksum [2020-10-27T17:09:46.129Z] 4e634b169226: Download complete [2020-10-27T17:09:46.718Z] e871e8e8d7a9: Verifying Checksum [2020-10-27T17:09:46.718Z] e871e8e8d7a9: Download complete [2020-10-27T17:09:52.077Z] e871e8e8d7a9: Pull complete [2020-10-27T17:09:52.656Z] e73272ec9a57: Pull complete [2020-10-27T17:09:52.656Z] 1e910a182e73: Pull complete [2020-10-27T17:09:56.900Z] 4e634b169226: Pull complete [2020-10-27T17:09:56.900Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-27T17:09:56.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-27T17:09:56.900Z] ---> f7629b54cfaa [2020-10-27T17:09:56.900Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-27T17:09:56.900Z] ---> Running in 43be3d0b4fba [2020-10-27T17:09:57.166Z] Removing intermediate container 43be3d0b4fba [2020-10-27T17:09:57.166Z] ---> 50f6a7e2158e [2020-10-27T17:09:57.166Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-27T17:09:57.166Z] ---> Running in 0c562b1e4604 [2020-10-27T17:09:59.132Z] Removing intermediate container 0c562b1e4604 [2020-10-27T17:09:59.132Z] ---> 03326e2aaca4 [2020-10-27T17:09:59.132Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-10-27T17:09:59.132Z] ---> Running in 0e647b68515a [2020-10-27T17:09:59.711Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-27T17:10:00.289Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-27T17:10:00.863Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-10-27T17:10:00.863Z] (2/6) Installing libsodium (1.0.18-r0) [2020-10-27T17:10:01.127Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-10-27T17:10:01.127Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-10-27T17:10:01.127Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-27T17:10:01.394Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-10-27T17:10:01.394Z] Executing busybox-1.31.1-r16.trigger [2020-10-27T17:10:01.394Z] OK: 167 MiB in 45 packages [2020-10-27T17:10:01.979Z] Removing intermediate container 0e647b68515a [2020-10-27T17:10:01.979Z] ---> a5a2b9af0320 [2020-10-27T17:10:01.979Z] Step 6/8 : WORKDIR /app [2020-10-27T17:10:01.979Z] ---> Running in a33aa0d185d8 [2020-10-27T17:10:02.245Z] Removing intermediate container a33aa0d185d8 [2020-10-27T17:10:02.245Z] ---> aab9e6751e0e [2020-10-27T17:10:02.245Z] Step 7/8 : COPY . . [2020-10-27T17:10:02.507Z] ---> 0cbde5199b84 [2020-10-27T17:10:02.507Z] Step 8/8 : RUN go mod download [2020-10-27T17:10:02.507Z] ---> Running in 25d637fdb972 [2020-10-27T17:10:29.175Z] Removing intermediate container 25d637fdb972 [2020-10-27T17:10:29.175Z] ---> a805ae3566a3 [2020-10-27T17:10:29.175Z] Successfully built a805ae3566a3 [2020-10-27T17:10:29.175Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-27T17:10:29.545Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-27T17:10:29.545Z] . [Pipeline] withDockerContainer [2020-10-27T17:10:29.674Z] prd-centos7-docker-4c-2g-9184 does not seem to be running inside a container [2020-10-27T17:10:29.729Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/17 -v /w/workspace/app-service-configurable/17:/w/workspace/app-service-configurable/17:rw,z -v /w/workspace/app-service-configurable/17@tmp:/w/workspace/app-service-configurable/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-27T17:10:30.592Z] $ docker top ac85271604899b136d8f681ed63e8b8a1f111176d62a5cef540f1bfb8571f90b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-27T17:10:31.133Z] + go version [2020-10-27T17:10:31.133Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-27T17:10:31.149Z] $ docker stop --time=1 ac85271604899b136d8f681ed63e8b8a1f111176d62a5cef540f1bfb8571f90b [2020-10-27T17:10:32.506Z] $ docker rm -f ac85271604899b136d8f681ed63e8b8a1f111176d62a5cef540f1bfb8571f90b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-27T17:10:33.431Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-27T17:10:33.431Z] . [Pipeline] withDockerContainer [2020-10-27T17:10:33.536Z] prd-centos7-docker-4c-2g-9184 does not seem to be running inside a container [2020-10-27T17:10:33.590Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/17 -v /w/workspace/app-service-configurable/17:/w/workspace/app-service-configurable/17:rw,z -v /w/workspace/app-service-configurable/17@tmp:/w/workspace/app-service-configurable/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-27T17:10:34.294Z] $ docker top c38e6da410fc38e48b9bfce2aa6d1178f182135e6cdc839f17210dc9e8d9a268 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-27T17:10:34.880Z] + make test [2020-10-27T17:10:34.880Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-10-27T17:10:53.555Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-10-27T17:10:53.555Z] CGO_ENABLED=1 go vet ./... [2020-10-27T17:10:56.923Z] gofmt -l . [2020-10-27T17:10:56.923Z] [ "`gofmt -l .`" = "" ] [2020-10-27T17:10:56.923Z] ./bin/test-go-mod-tidy.sh [2020-10-27T17:10:57.504Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-10-27T17:10:58.444Z] Stashed 1 file(s) [Pipeline] } [2020-10-27T17:10:58.452Z] $ docker stop --time=1 c38e6da410fc38e48b9bfce2aa6d1178f182135e6cdc839f17210dc9e8d9a268 [2020-10-27T17:11:01.036Z] $ docker rm -f c38e6da410fc38e48b9bfce2aa6d1178f182135e6cdc839f17210dc9e8d9a268 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-27T17:11:03.905Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-27T17:11:04.215Z] + ls -al . [2020-10-27T17:11:04.215Z] total 96 [2020-10-27T17:11:04.215Z] drwxrwxr-x. 7 jenkins jenkins 4096 Oct 27 17:10 . [2020-10-27T17:11:04.215Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 27 17:09 .. [2020-10-27T17:11:04.215Z] -rw-rw-r--. 1 jenkins jenkins 6568 Oct 27 17:09 Attribution.txt [2020-10-27T17:11:04.215Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 27 17:09 bin [2020-10-27T17:11:04.215Z] -rw-r--r--. 1 jenkins jenkins 10 Oct 27 17:10 coverage.out [2020-10-27T17:11:04.215Z] -rw-rw-r--. 1 jenkins jenkins 180 Oct 27 17:09 docker-compose.debug.yml [2020-10-27T17:11:04.215Z] -rw-rw-r--. 1 jenkins jenkins 133 Oct 27 17:09 docker-compose.yml [2020-10-27T17:11:04.215Z] -rw-rw-r--. 1 jenkins jenkins 2002 Oct 27 17:09 Dockerfile [2020-10-27T17:11:04.215Z] -rw-rw-r--. 1 jenkins jenkins 966 Oct 27 17:09 Dockerfile.build [2020-10-27T17:11:04.215Z] -rw-rw-r--. 1 jenkins jenkins 119 Oct 27 17:09 .dockerignore [2020-10-27T17:11:04.215Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 27 17:09 .git [2020-10-27T17:11:04.215Z] drwxrwxr-x. 2 jenkins jenkins 81 Oct 27 17:09 .github [2020-10-27T17:11:04.215Z] -rw-rw-r--. 1 jenkins jenkins 93 Oct 27 17:09 .gitignore [2020-10-27T17:11:04.215Z] -rw-r--r--. 1 jenkins jenkins 133 Oct 27 17:10 go.mod [2020-10-27T17:11:04.215Z] -rw-r--r--. 1 jenkins jenkins 19860 Oct 27 17:10 go.sum [2020-10-27T17:11:04.215Z] -rw-rw-r--. 1 jenkins jenkins 766 Oct 27 17:09 Jenkinsfile [2020-10-27T17:11:04.215Z] -rw-rw-r--. 1 jenkins jenkins 10174 Oct 27 17:09 LICENSE [2020-10-27T17:11:04.215Z] -rw-rw-r--. 1 jenkins jenkins 1519 Oct 27 17:09 main.go [2020-10-27T17:11:04.215Z] -rw-rw-r--. 1 jenkins jenkins 1573 Oct 27 17:09 makefile [2020-10-27T17:11:04.215Z] -rw-rw-r--. 1 jenkins jenkins 1277 Oct 27 17:09 README.md [2020-10-27T17:11:04.215Z] drwxrwxr-x. 10 jenkins jenkins 171 Oct 27 17:09 res [2020-10-27T17:11:04.215Z] drwxrwxr-x. 4 jenkins jenkins 71 Oct 27 17:09 snap [2020-10-27T17:11:04.215Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 27 17:08 VERSION [Pipeline] isUnix [Pipeline] sh [2020-10-27T17:11:04.538Z] + 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=8d415b9becdc3b8f1189f5b95123b970724b7fb2 --label arch=amd64 --label version=0.0.0 . [2020-10-27T17:11:04.538Z] Sending build context to Docker daemon 120.8kB [2020-10-27T17:11:04.800Z] Step 1/27 : ARG BASE=golang:1.15-alpine [2020-10-27T17:11:04.800Z] Step 2/27 : FROM ${BASE} AS builder [2020-10-27T17:11:04.800Z] ---> a805ae3566a3 [2020-10-27T17:11:04.800Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2020-10-27T17:11:04.800Z] ---> Running in 332ae4bee639 [2020-10-27T17:11:05.070Z] Removing intermediate container 332ae4bee639 [2020-10-27T17:11:05.070Z] ---> 919b11e98d44 [2020-10-27T17:11:05.070Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2020-10-27T17:11:05.070Z] ---> Running in a2c56154d270 [2020-10-27T17:11:05.335Z] Removing intermediate container a2c56154d270 [2020-10-27T17:11:05.335Z] ---> bf34ab2b1efa [2020-10-27T17:11:05.335Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-27T17:11:05.335Z] ---> Running in 617566e970dc [2020-10-27T17:11:05.599Z] Removing intermediate container 617566e970dc [2020-10-27T17:11:05.599Z] ---> 520e733498b9 [2020-10-27T17:11:05.599Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-27T17:11:05.599Z] ---> Running in 8ae3c251c827 [2020-10-27T17:11:06.555Z] Removing intermediate container 8ae3c251c827 [2020-10-27T17:11:06.555Z] ---> 861ab3d43694 [2020-10-27T17:11:06.555Z] Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-27T17:11:06.555Z] ---> Running in 126c1ef5bcd1 [2020-10-27T17:11:07.134Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-27T17:11:07.710Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-27T17:11:09.107Z] OK: 167 MiB in 45 packages [2020-10-27T17:11:09.685Z] Removing intermediate container 126c1ef5bcd1 [2020-10-27T17:11:09.685Z] ---> f16a5c0bf00f [2020-10-27T17:11:09.685Z] Step 8/27 : WORKDIR /app [2020-10-27T17:11:09.685Z] ---> Running in 958858b18de1 [2020-10-27T17:11:09.685Z] Removing intermediate container 958858b18de1 [2020-10-27T17:11:09.685Z] ---> 3dca3e6f317a [2020-10-27T17:11:09.685Z] Step 9/27 : COPY go.mod . [2020-10-27T17:11:09.953Z] ---> d66420d5cc6b [2020-10-27T17:11:09.953Z] Step 10/27 : RUN go mod download [2020-10-27T17:11:10.218Z] ---> Running in 17b8f0ef7149 [2020-10-27T17:11:11.179Z] Removing intermediate container 17b8f0ef7149 [2020-10-27T17:11:11.179Z] ---> b1d06b0793a4 [2020-10-27T17:11:11.179Z] Step 11/27 : COPY . . [2020-10-27T17:11:11.201Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-9185 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-27T17:11:11.259Z] Running in /w/workspace/app-service-configurable/17 [Pipeline] { [Pipeline] checkout [2020-10-27T17:11:11.447Z] ---> b7b4e7741842 [2020-10-27T17:11:11.447Z] Step 12/27 : ARG MAKE="make build" [2020-10-27T17:11:11.447Z] ---> Running in 93bffa9da3b5 [2020-10-27T17:11:11.722Z] Removing intermediate container 93bffa9da3b5 [2020-10-27T17:11:11.722Z] ---> e89c6e72896a [2020-10-27T17:11:11.722Z] Step 13/27 : RUN $MAKE [2020-10-27T17:11:11.722Z] ---> Running in ae0459e70444 [2020-10-27T17:11:12.307Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/internal.SDKVersion=v1.2.1-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/internal.ApplicationVersion=0.0.0" -o app-service-configurable [2020-10-27T17:11:17.033Z] using credential edgex-jenkins-ssh [2020-10-27T17:11:17.097Z] Cloning the remote Git repository [2020-10-27T17:11:17.168Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T17:11:17.284Z] > git init /w/workspace/app-service-configurable/17 # timeout=10 [2020-10-27T17:11:17.376Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T17:11:17.377Z] > git --version # timeout=10 [2020-10-27T17:11:17.394Z] > git --version # 'git version 2.17.1' [2020-10-27T17:11:17.395Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T17:11:17.450Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T17:11:18.252Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-27T17:11:18.281Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T17:11:18.308Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-27T17:11:18.344Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T17:11:18.345Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T17:11:18.359Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-27T17:11:18.919Z] Merging remotes/origin/master commit 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 into PR head commit d2bb64093145e97ba0d06667bcc6498e707e8b63 [2020-10-27T17:11:19.157Z] Merge succeeded, producing 54883fb2508ae6bedfec129a97e88aceb31e28e4 [2020-10-27T17:11:19.157Z] Checking out Revision 54883fb2508ae6bedfec129a97e88aceb31e28e4 (PR-124) [2020-10-27T17:11:18.944Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T17:11:18.960Z] > git checkout -f d2bb64093145e97ba0d06667bcc6498e707e8b63 # timeout=10 [2020-10-27T17:11:19.040Z] > git remote # timeout=10 [2020-10-27T17:11:19.061Z] > git config --get remote.origin.url # timeout=10 [2020-10-27T17:11:19.089Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T17:11:19.102Z] > git merge 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 # timeout=10 [2020-10-27T17:11:19.147Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-27T17:11:19.172Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T17:11:19.196Z] > git checkout -f 54883fb2508ae6bedfec129a97e88aceb31e28e4 # timeout=10 [2020-10-27T17:11:24.079Z] Commit message: "Merge commit '6aed5cde4d38e364b7def40f9e6b4d8e988d4e17' into HEAD" [2020-10-27T17:11:24.103Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [2020-10-27T17:11:24.095Z] > git rev-list --no-walk 2b71910c183cf0f434fb83f9adaad7bf20289b21 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-27T17:11:25.169Z] ========================================================= [2020-10-27T17:11:25.169Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-27T17:11:25.169Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-27T17:11:26.166Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-10-27T17:11:26.778Z] Sending build context to Docker daemon 98.3kB [2020-10-27T17:11:27.057Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-27T17:11:27.057Z] Step 2/8 : FROM ${BASE} [2020-10-27T17:11:27.337Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-27T17:11:27.337Z] b538f80385f9: Pulling fs layer [2020-10-27T17:11:27.337Z] 74f711af9a0d: Pulling fs layer [2020-10-27T17:11:27.337Z] 99f96fe45779: Pulling fs layer [2020-10-27T17:11:27.337Z] 8529a6b9a6be: Pulling fs layer [2020-10-27T17:11:27.337Z] 45590311c82a: Pulling fs layer [2020-10-27T17:11:27.337Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-27T17:11:27.337Z] 209524e5b208: Pulling fs layer [2020-10-27T17:11:27.337Z] 45590311c82a: Waiting [2020-10-27T17:11:27.337Z] 8529a6b9a6be: Waiting [2020-10-27T17:11:27.337Z] 69ca0ff8b7b3: Waiting [2020-10-27T17:11:27.337Z] 209524e5b208: Waiting [2020-10-27T17:11:27.337Z] 99f96fe45779: Verifying Checksum [2020-10-27T17:11:27.337Z] 99f96fe45779: Download complete [2020-10-27T17:11:27.337Z] 74f711af9a0d: Verifying Checksum [2020-10-27T17:11:27.337Z] 74f711af9a0d: Download complete [2020-10-27T17:11:27.337Z] 45590311c82a: Verifying Checksum [2020-10-27T17:11:27.337Z] 45590311c82a: Download complete [2020-10-27T17:11:27.337Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-27T17:11:27.337Z] 69ca0ff8b7b3: Download complete [2020-10-27T17:11:27.337Z] b538f80385f9: Verifying Checksum [2020-10-27T17:11:27.337Z] b538f80385f9: Download complete [2020-10-27T17:11:28.331Z] b538f80385f9: Pull complete [2020-10-27T17:11:28.937Z] 74f711af9a0d: Pull complete [2020-10-27T17:11:29.214Z] 99f96fe45779: Pull complete [2020-10-27T17:11:30.203Z] 209524e5b208: Verifying Checksum [2020-10-27T17:11:30.203Z] 209524e5b208: Download complete [2020-10-27T17:11:31.201Z] 8529a6b9a6be: Verifying Checksum [2020-10-27T17:11:31.201Z] 8529a6b9a6be: Download complete [2020-10-27T17:11:31.699Z] Removing intermediate container ae0459e70444 [2020-10-27T17:11:31.699Z] ---> 8af4b65e2d80 [2020-10-27T17:11:31.699Z] Step 14/27 : FROM alpine:latest [2020-10-27T17:11:31.699Z] latest: Pulling from library/alpine [2020-10-27T17:11:31.699Z] 188c0c94c7c5: Pulling fs layer [2020-10-27T17:11:31.699Z] 188c0c94c7c5: Verifying Checksum [2020-10-27T17:11:31.699Z] 188c0c94c7c5: Download complete [2020-10-27T17:11:31.699Z] 188c0c94c7c5: Pull complete [2020-10-27T17:11:31.699Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-10-27T17:11:31.699Z] Status: Downloaded newer image for alpine:latest [2020-10-27T17:11:31.699Z] ---> d6e46aa2470d [2020-10-27T17:11:31.699Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-27T17:11:31.699Z] ---> Running in a962004ab944 [2020-10-27T17:11:31.699Z] Removing intermediate container a962004ab944 [2020-10-27T17:11:31.699Z] ---> 27a760286730 [2020-10-27T17:11:31.699Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2020-10-27T17:11:31.699Z] ---> Running in 617d152598d3 [2020-10-27T17:11:31.699Z] Removing intermediate container 617d152598d3 [2020-10-27T17:11:31.699Z] ---> 01c75324117e [2020-10-27T17:11:31.699Z] Step 17/27 : RUN apk --no-cache add ca-certificates zeromq [2020-10-27T17:11:31.699Z] ---> Running in 659b2513832d [2020-10-27T17:11:31.699Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-27T17:11:31.699Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-27T17:11:31.699Z] (1/6) Installing ca-certificates (20191127-r4) [2020-10-27T17:11:31.699Z] (2/6) Installing libgcc (9.3.0-r2) [2020-10-27T17:11:31.699Z] (3/6) Installing libsodium (1.0.18-r0) [2020-10-27T17:11:31.699Z] (4/6) Installing libstdc++ (9.3.0-r2) [2020-10-27T17:11:31.699Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-27T17:11:31.965Z] (6/6) Installing zeromq (4.3.3-r0) [2020-10-27T17:11:31.965Z] Executing busybox-1.31.1-r19.trigger [2020-10-27T17:11:31.965Z] Executing ca-certificates-20191127-r4.trigger [2020-10-27T17:11:31.965Z] OK: 9 MiB in 20 packages [2020-10-27T17:11:33.367Z] Removing intermediate container 659b2513832d [2020-10-27T17:11:33.367Z] ---> 611ebacb8251 [2020-10-27T17:11:33.367Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2020-10-27T17:11:33.367Z] ---> 89ac85206b58 [2020-10-27T17:11:33.367Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2020-10-27T17:11:33.631Z] ---> fd17261b3b07 [2020-10-27T17:11:33.631Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2020-10-27T17:11:33.897Z] ---> 6f0584009adb [2020-10-27T17:11:33.897Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2020-10-27T17:11:34.474Z] ---> fecbfb8db137 [2020-10-27T17:11:34.474Z] Step 22/27 : EXPOSE 48095 [2020-10-27T17:11:34.738Z] ---> Running in b08fd11e8a8e [2020-10-27T17:11:34.738Z] Removing intermediate container b08fd11e8a8e [2020-10-27T17:11:34.738Z] ---> f2c112be6724 [2020-10-27T17:11:34.738Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2020-10-27T17:11:34.738Z] ---> Running in 48b9ec497e11 [2020-10-27T17:11:35.004Z] Removing intermediate container 48b9ec497e11 [2020-10-27T17:11:35.004Z] ---> e4bd7c18bb0f [2020-10-27T17:11:35.004Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-27T17:11:35.004Z] ---> Running in bf5e7cdeec37 [2020-10-27T17:11:35.267Z] Removing intermediate container bf5e7cdeec37 [2020-10-27T17:11:35.267Z] ---> f46fb4ceaf5d [2020-10-27T17:11:35.267Z] Step 25/27 : LABEL arch=amd64 [2020-10-27T17:11:35.267Z] ---> Running in 2886eeca1de4 [2020-10-27T17:11:35.532Z] Removing intermediate container 2886eeca1de4 [2020-10-27T17:11:35.532Z] ---> 9e3d45b1434c [2020-10-27T17:11:35.532Z] Step 26/27 : LABEL git_sha=8d415b9becdc3b8f1189f5b95123b970724b7fb2 [2020-10-27T17:11:35.532Z] ---> Running in 7fd3c9deac79 [2020-10-27T17:11:35.532Z] Removing intermediate container 7fd3c9deac79 [2020-10-27T17:11:35.532Z] ---> 1222044c75db [2020-10-27T17:11:35.532Z] Step 27/27 : LABEL version=0.0.0 [2020-10-27T17:11:35.796Z] ---> Running in 2fae48ca8029 [2020-10-27T17:11:35.796Z] Removing intermediate container 2fae48ca8029 [2020-10-27T17:11:35.796Z] ---> df618e69735c [2020-10-27T17:11:35.796Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-27T17:11:35.796Z] Successfully built df618e69735c [2020-10-27T17:11:35.796Z] Successfully tagged docker-app-service-configurable:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node [2020-10-27T17:11:41.400Z] 8529a6b9a6be: Pull complete [2020-10-27T17:11:41.400Z] 45590311c82a: Pull complete [2020-10-27T17:11:41.677Z] 69ca0ff8b7b3: Pull complete [2020-10-27T17:11:46.018Z] 209524e5b208: Pull complete [2020-10-27T17:11:46.018Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-27T17:11:46.018Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-27T17:11:46.018Z] ---> 5bddaf1c2fca [2020-10-27T17:11:46.018Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-27T17:11:48.641Z] ---> Running in ba22e9b5695b [2020-10-27T17:11:48.926Z] Removing intermediate container ba22e9b5695b [2020-10-27T17:11:48.926Z] ---> 4faab30758fc [2020-10-27T17:11:48.926Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-27T17:11:48.926Z] ---> Running in e44b132ec1b7 [2020-10-27T17:11:51.345Z] Still waiting to schedule task [2020-10-27T17:11:51.345Z] All nodes of label ‘ubuntu18.04-docker-8c-8g’ are offline [2020-10-27T17:11:52.342Z] Removing intermediate container e44b132ec1b7 [2020-10-27T17:11:52.342Z] ---> 4f45140c1bdf [2020-10-27T17:11:52.342Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-10-27T17:11:52.342Z] ---> Running in 58e8c889537f [2020-10-27T17:11:53.783Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-27T17:11:54.765Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-27T17:11:55.745Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-10-27T17:11:56.019Z] (2/6) Installing libsodium (1.0.18-r0) [2020-10-27T17:11:56.019Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-10-27T17:11:56.296Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-10-27T17:11:56.296Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-27T17:11:56.575Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-10-27T17:11:56.575Z] Executing busybox-1.31.1-r16.trigger [2020-10-27T17:11:56.575Z] OK: 144 MiB in 45 packages [2020-10-27T17:11:58.012Z] Removing intermediate container 58e8c889537f [2020-10-27T17:11:58.012Z] ---> e1c9d345909c [2020-10-27T17:11:58.012Z] Step 6/8 : WORKDIR /app [2020-10-27T17:11:58.012Z] ---> Running in 544fceafaafc [2020-10-27T17:11:58.610Z] Removing intermediate container 544fceafaafc [2020-10-27T17:11:58.610Z] ---> 22676be91c9b [2020-10-27T17:11:58.610Z] Step 7/8 : COPY . . [2020-10-27T17:11:59.594Z] ---> 97d4ee21ec2c [2020-10-27T17:11:59.594Z] Step 8/8 : RUN go mod download [2020-10-27T17:11:59.594Z] ---> Running in ca608632aae0 [2020-10-27T17:12:31.944Z] Removing intermediate container ca608632aae0 [2020-10-27T17:12:31.945Z] ---> 2b15571050fd [2020-10-27T17:12:31.945Z] Successfully built 2b15571050fd [2020-10-27T17:12:31.945Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-27T17:12:32.378Z] + docker inspect -f . ci-base-image-arm64 [2020-10-27T17:12:32.379Z] . [Pipeline] withDockerContainer [2020-10-27T17:12:32.656Z] prd-ubuntu18.04-docker-arm64-4c-16g-9185 does not seem to be running inside a container [2020-10-27T17:12:32.762Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/17 -v /w/workspace/app-service-configurable/17:/w/workspace/app-service-configurable/17:rw,z -v /w/workspace/app-service-configurable/17@tmp:/w/workspace/app-service-configurable/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-27T17:12:34.698Z] $ docker top 49681b69edfa454407e135a4b1c7519c831efb2b0b7faa649dec98ee1e4f6986 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-27T17:12:36.104Z] + go version [2020-10-27T17:12:36.104Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-27T17:12:36.132Z] $ docker stop --time=1 49681b69edfa454407e135a4b1c7519c831efb2b0b7faa649dec98ee1e4f6986 [2020-10-27T17:12:38.054Z] $ docker rm -f 49681b69edfa454407e135a4b1c7519c831efb2b0b7faa649dec98ee1e4f6986 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-27T17:12:39.115Z] + docker inspect -f . ci-base-image-arm64 [2020-10-27T17:12:39.115Z] . [Pipeline] withDockerContainer [2020-10-27T17:12:39.403Z] prd-ubuntu18.04-docker-arm64-4c-16g-9185 does not seem to be running inside a container [2020-10-27T17:12:39.525Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/17 -v /w/workspace/app-service-configurable/17:/w/workspace/app-service-configurable/17:rw,z -v /w/workspace/app-service-configurable/17@tmp:/w/workspace/app-service-configurable/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-27T17:12:41.474Z] $ docker top 570d175f639601dd006f4b8006d4f53cb7e632ca4dc951efaac1d58499014fd1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-27T17:12:42.978Z] + make test [2020-10-27T17:12:42.978Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-10-27T17:12:49.293Z] Running on prd-ubuntu18.04-docker-8c-8g-9188 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-27T17:12:49.376Z] Running in /w/workspace/app-service-configurable/17 [Pipeline] { [Pipeline] checkout [2020-10-27T17:12:51.676Z] using credential edgex-jenkins-ssh [2020-10-27T17:12:51.737Z] Cloning the remote Git repository [2020-10-27T17:12:52.031Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T17:12:52.110Z] > git init /w/workspace/app-service-configurable/17 # timeout=10 [2020-10-27T17:12:52.153Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T17:12:52.153Z] > git --version # timeout=10 [2020-10-27T17:12:52.159Z] > git --version # 'git version 2.17.1' [2020-10-27T17:12:52.160Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T17:12:52.190Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T17:12:52.894Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-27T17:12:52.898Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T17:12:52.908Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-27T17:12:52.920Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T17:12:52.920Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T17:12:52.924Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-27T17:12:53.164Z] Merging remotes/origin/master commit 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 into PR head commit d2bb64093145e97ba0d06667bcc6498e707e8b63 [2020-10-27T17:12:53.241Z] Merge succeeded, producing 768e5b54d74a7eb73e8903cb2ff8a54e98b6e9c3 [2020-10-27T17:12:53.241Z] Checking out Revision 768e5b54d74a7eb73e8903cb2ff8a54e98b6e9c3 (PR-124) [2020-10-27T17:12:53.442Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T17:12:53.447Z] > git checkout -f d2bb64093145e97ba0d06667bcc6498e707e8b63 # timeout=10 [2020-10-27T17:12:53.477Z] > git remote # timeout=10 [2020-10-27T17:12:53.483Z] > git config --get remote.origin.url # timeout=10 [2020-10-27T17:12:53.487Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T17:12:53.490Z] > git merge 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 # timeout=10 [2020-10-27T17:12:53.506Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-27T17:12:53.515Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T17:12:53.520Z] > git checkout -f 768e5b54d74a7eb73e8903cb2ff8a54e98b6e9c3 # timeout=10 [2020-10-27T17:12:56.906Z] Commit message: "Merge commit '6aed5cde4d38e364b7def40f9e6b4d8e988d4e17' into HEAD" [2020-10-27T17:12:56.916Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-10-27T17:12:57.180Z] > git rev-list --no-walk 2b71910c183cf0f434fb83f9adaad7bf20289b21 # timeout=10 [2020-10-27T17:12:58.100Z] + echo snap-build.sh [2020-10-27T17:12:58.100Z] snap-build.sh [2020-10-27T17:12:58.100Z] + SNAP_BASE_DIR=. [2020-10-27T17:12:58.100Z] + '[' '!' -z /w/workspace/app-service-configurable/17 ']' [2020-10-27T17:12:58.100Z] + SNAP_BASE_DIR=/w/workspace/app-service-configurable/17 [2020-10-27T17:12:58.100Z] + echo '[snap-build] Building snap in dir [/w/workspace/app-service-configurable/17]' [2020-10-27T17:12:58.100Z] [snap-build] Building snap in dir [/w/workspace/app-service-configurable/17] [2020-10-27T17:12:58.100Z] + sudo apt-get update [2020-10-27T17:12:58.100Z] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-10-27T17:12:58.363Z] Get:2 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic InRelease [15.9 kB] [2020-10-27T17:12:58.363Z] Get:3 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB] [2020-10-27T17:12:58.363Z] Hit:4 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic InRelease [2020-10-27T17:12:58.363Z] Get:5 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-10-27T17:12:58.363Z] Get:6 http://apt.puppetlabs.com xenial InRelease [101 kB] [2020-10-27T17:12:58.363Z] Get:7 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1399 kB] [2020-10-27T17:12:58.363Z] Get:8 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-10-27T17:12:58.625Z] Get:9 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [276 kB] [2020-10-27T17:12:58.625Z] Get:10 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [166 kB] [2020-10-27T17:12:58.625Z] Get:11 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [22.1 kB] [2020-10-27T17:12:58.625Z] Get:12 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1079 kB] [2020-10-27T17:12:58.625Z] Get:13 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [241 kB] [2020-10-27T17:12:58.625Z] Get:14 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [12.9 kB] [2020-10-27T17:12:58.625Z] Get:15 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [2964 B] [2020-10-27T17:12:58.625Z] Hit:16 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic InRelease [2020-10-27T17:12:58.888Z] Get:17 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1725 kB] [2020-10-27T17:12:58.888Z] Get:18 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic/main amd64 Packages [824 B] [2020-10-27T17:12:58.888Z] Get:19 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [367 kB] [2020-10-27T17:12:58.888Z] Get:20 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [184 kB] [2020-10-27T17:12:58.888Z] Get:21 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [24.6 kB] [2020-10-27T17:12:58.888Z] Get:22 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1680 kB] [2020-10-27T17:12:58.888Z] Get:23 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [354 kB] [2020-10-27T17:12:58.888Z] Get:24 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [31.9 kB] [2020-10-27T17:12:58.888Z] Get:25 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [6980 B] [2020-10-27T17:12:58.888Z] Get:26 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [10.0 kB] [2020-10-27T17:12:58.888Z] Get:27 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [10.3 kB] [2020-10-27T17:12:59.149Z] Get:28 http://apt.puppetlabs.com xenial/puppet all Packages [22.7 kB] [2020-10-27T17:12:59.412Z] Get:29 http://apt.puppetlabs.com xenial/puppet amd64 Packages [56.2 kB] [2020-10-27T17:13:03.638Z] Fetched 8105 kB in 2s (3937 kB/s) [2020-10-27T17:13:04.212Z] Reading package lists... [2020-10-27T17:13:04.212Z] + sudo apt-get install -y snapd expect [2020-10-27T17:13:04.212Z] Reading package lists... [2020-10-27T17:13:04.476Z] Building dependency tree... [2020-10-27T17:13:04.476Z] Reading state information... [2020-10-27T17:13:04.739Z] The following packages were automatically installed and are no longer required: [2020-10-27T17:13:04.739Z] grub-pc-bin libdumbnet1 [2020-10-27T17:13:04.739Z] Use 'sudo apt autoremove' to remove them. [2020-10-27T17:13:04.739Z] The following additional packages will be installed: [2020-10-27T17:13:04.739Z] tcl-expect [2020-10-27T17:13:04.739Z] Suggested packages: [2020-10-27T17:13:04.739Z] zenity | kdialog [2020-10-27T17:13:04.739Z] The following NEW packages will be installed: [2020-10-27T17:13:04.739Z] expect tcl-expect [2020-10-27T17:13:04.739Z] The following packages will be upgraded: [2020-10-27T17:13:04.739Z] snapd [2020-10-27T17:13:05.004Z] 1 upgraded, 2 newly installed, 0 to remove and 50 not upgraded. [2020-10-27T17:13:05.004Z] Need to get 21.1 MB of archives. [2020-10-27T17:13:05.004Z] After this operation, 3649 kB of additional disk space will be used. [2020-10-27T17:13:05.004Z] Get:1 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic/universe amd64 tcl-expect amd64 5.45.4-1 [105 kB] [2020-10-27T17:13:05.268Z] Get:2 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic/universe amd64 expect amd64 5.45.4-1 [137 kB] [2020-10-27T17:13:05.268Z] Get:3 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/main amd64 snapd amd64 2.47.1+18.04 [20.9 MB] [2020-10-27T17:13:07.190Z] debconf: unable to initialize frontend: Dialog [2020-10-27T17:13:07.190Z] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) [2020-10-27T17:13:07.190Z] debconf: falling back to frontend: Readline [2020-10-27T17:13:07.190Z] debconf: unable to initialize frontend: Readline [2020-10-27T17:13:07.190Z] debconf: (This frontend requires a controlling tty.) [2020-10-27T17:13:07.190Z] debconf: falling back to frontend: Teletype [2020-10-27T17:13:07.190Z] dpkg-preconfigure: unable to re-open stdin: [2020-10-27T17:13:07.190Z] Fetched 21.1 MB in 2s (11.5 MB/s) [2020-10-27T17:13:07.190Z] Selecting previously unselected package tcl-expect:amd64. [2020-10-27T17:13:07.980Z] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 189863 files and directories currently installed.) [2020-10-27T17:13:07.980Z] Preparing to unpack .../tcl-expect_5.45.4-1_amd64.deb ... [2020-10-27T17:13:07.980Z] Unpacking tcl-expect:amd64 (5.45.4-1) ... [2020-10-27T17:13:08.241Z] Selecting previously unselected package expect. [2020-10-27T17:13:08.241Z] Preparing to unpack .../expect_5.45.4-1_amd64.deb ... [2020-10-27T17:13:08.241Z] Unpacking expect (5.45.4-1) ... [2020-10-27T17:13:08.241Z] Preparing to unpack .../snapd_2.47.1+18.04_amd64.deb ... [2020-10-27T17:13:08.241Z] Unpacking snapd (2.47.1+18.04) over (2.46.1+18.04) ... [2020-10-27T17:13:10.790Z] Setting up snapd (2.47.1+18.04) ... [2020-10-27T17:13:10.790Z] Installing new version of config file /etc/apparmor.d/usr.lib.snapd.snap-confine.real ... [2020-10-27T17:13:13.386Z] snapd.failure.service is a disabled or a static unit, not starting it. [2020-10-27T17:13:13.386Z] snapd.snap-repair.service is a disabled or a static unit, not starting it. [2020-10-27T17:13:13.386Z] Setting up tcl-expect:amd64 (5.45.4-1) ... [2020-10-27T17:13:13.386Z] Setting up expect (5.45.4-1) ... [2020-10-27T17:13:13.386Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-10-27T17:13:13.386Z] Processing triggers for man-db (2.8.3-2ubuntu0.1) ... [2020-10-27T17:13:15.309Z] Processing triggers for dbus (1.12.2-1ubuntu1.2) ... [2020-10-27T17:13:15.309Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-10-27T17:13:17.246Z] + sudo snap install --classic snapcraft [2020-10-27T17:13:25.413Z] 2020-10-27T17:13:24Z INFO Waiting for automatic snapd restart... [2020-10-27T17:13:37.663Z] snapcraft 4.3 from Canonical* installed [2020-10-27T17:13:37.663Z] + '[' -f snap/local/patches/0001-optimize-build-for-pipeline-CI-check.patch ']' [2020-10-27T17:13:37.663Z] + pushd /w/workspace/app-service-configurable/17 [2020-10-27T17:13:37.663Z] + unbuffer snapcraft clean [2020-10-27T17:13:37.924Z] You need 'multipass' set-up to build snaps: https://multipass.run. [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-27T17:13:39.542Z] Failed in branch amd64 [2020-10-27T17:13:39.598Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-10-27T17:13:39.598Z] CGO_ENABLED=1 go vet ./... [2020-10-27T17:13:49.777Z] gofmt -l . [2020-10-27T17:13:49.778Z] [ "`gofmt -l .`" = "" ] [2020-10-27T17:13:49.778Z] ./bin/test-go-mod-tidy.sh [2020-10-27T17:13:49.778Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-10-27T17:13:50.782Z] Warning: overwriting stash ‘coverage-report’ [2020-10-27T17:13:51.552Z] Stashed 1 file(s) [Pipeline] } [2020-10-27T17:13:51.565Z] $ docker stop --time=1 570d175f639601dd006f4b8006d4f53cb7e632ca4dc951efaac1d58499014fd1 [2020-10-27T17:13:53.924Z] $ docker rm -f 570d175f639601dd006f4b8006d4f53cb7e632ca4dc951efaac1d58499014fd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-27T17:13:55.465Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-27T17:13:55.923Z] + ls -al . [2020-10-27T17:13:55.924Z] total 120 [2020-10-27T17:13:55.924Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 27 17:13 . [2020-10-27T17:13:55.924Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 17:11 .. [2020-10-27T17:13:55.924Z] -rw-rw-r-- 1 jenkins jenkins 119 Oct 27 17:11 .dockerignore [2020-10-27T17:13:55.924Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 17:11 .git [2020-10-27T17:13:55.924Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 17:11 .github [2020-10-27T17:13:55.924Z] -rw-rw-r-- 1 jenkins jenkins 93 Oct 27 17:11 .gitignore [2020-10-27T17:13:55.924Z] -rw-rw-r-- 1 jenkins jenkins 6568 Oct 27 17:11 Attribution.txt [2020-10-27T17:13:55.924Z] -rw-rw-r-- 1 jenkins jenkins 2002 Oct 27 17:11 Dockerfile [2020-10-27T17:13:55.924Z] -rw-rw-r-- 1 jenkins jenkins 966 Oct 27 17:11 Dockerfile.build [2020-10-27T17:13:55.924Z] -rw-rw-r-- 1 jenkins jenkins 766 Oct 27 17:11 Jenkinsfile [2020-10-27T17:13:55.924Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 27 17:11 LICENSE [2020-10-27T17:13:55.924Z] -rw-rw-r-- 1 jenkins jenkins 1277 Oct 27 17:11 README.md [2020-10-27T17:13:55.924Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 17:08 VERSION [2020-10-27T17:13:55.924Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 17:11 bin [2020-10-27T17:13:55.924Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 27 17:12 coverage.out [2020-10-27T17:13:55.924Z] -rw-rw-r-- 1 jenkins jenkins 180 Oct 27 17:11 docker-compose.debug.yml [2020-10-27T17:13:55.924Z] -rw-rw-r-- 1 jenkins jenkins 133 Oct 27 17:11 docker-compose.yml [2020-10-27T17:13:55.924Z] -rw-r--r-- 1 jenkins jenkins 133 Oct 27 17:13 go.mod [2020-10-27T17:13:55.924Z] -rw-r--r-- 1 jenkins jenkins 19860 Oct 27 17:13 go.sum [2020-10-27T17:13:55.924Z] -rw-rw-r-- 1 jenkins jenkins 1519 Oct 27 17:11 main.go [2020-10-27T17:13:55.924Z] -rw-rw-r-- 1 jenkins jenkins 1573 Oct 27 17:11 makefile [2020-10-27T17:13:55.924Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 27 17:11 res [2020-10-27T17:13:55.924Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 17:11 snap [Pipeline] isUnix [Pipeline] sh [2020-10-27T17:13:56.293Z] + 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=8d415b9becdc3b8f1189f5b95123b970724b7fb2 --label arch=arm64 --label version=0.0.0 . [2020-10-27T17:13:56.294Z] Sending build context to Docker daemon 120.8kB [2020-10-27T17:13:56.567Z] Step 1/27 : ARG BASE=golang:1.15-alpine [2020-10-27T17:13:56.567Z] Step 2/27 : FROM ${BASE} AS builder [2020-10-27T17:13:56.567Z] ---> 2b15571050fd [2020-10-27T17:13:56.567Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2020-10-27T17:13:56.844Z] ---> Running in 206f0e760fb7 [2020-10-27T17:13:57.445Z] Removing intermediate container 206f0e760fb7 [2020-10-27T17:13:57.445Z] ---> 3d91b5c74fc1 [2020-10-27T17:13:57.445Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2020-10-27T17:13:57.445Z] ---> Running in 2ba28b2e54f5 [2020-10-27T17:13:58.053Z] Removing intermediate container 2ba28b2e54f5 [2020-10-27T17:13:58.053Z] ---> 89494252cd85 [2020-10-27T17:13:58.053Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-27T17:13:58.053Z] ---> Running in fd54d2bff4d0 [2020-10-27T17:13:58.655Z] Removing intermediate container fd54d2bff4d0 [2020-10-27T17:13:58.655Z] ---> 931687917309 [2020-10-27T17:13:58.655Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-27T17:13:58.655Z] ---> Running in 9a75c98ed96a [2020-10-27T17:14:01.292Z] Removing intermediate container 9a75c98ed96a [2020-10-27T17:14:01.292Z] ---> 7bc7107682f4 [2020-10-27T17:14:01.292Z] Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-27T17:14:01.579Z] ---> Running in 2c0b9bb5550f [2020-10-27T17:14:03.047Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-27T17:14:03.654Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-27T17:14:04.634Z] OK: 144 MiB in 45 packages [2020-10-27T17:14:06.076Z] Removing intermediate container 2c0b9bb5550f [2020-10-27T17:14:06.076Z] ---> eb2e6fc910cd [2020-10-27T17:14:06.076Z] Step 8/27 : WORKDIR /app [2020-10-27T17:14:06.076Z] ---> Running in 889ceb925a04 [2020-10-27T17:14:06.348Z] Removing intermediate container 889ceb925a04 [2020-10-27T17:14:06.348Z] ---> 248d76bf3b0b [2020-10-27T17:14:06.348Z] Step 9/27 : COPY go.mod . [2020-10-27T17:14:06.947Z] ---> f9f54d5bc65d [2020-10-27T17:14:06.947Z] Step 10/27 : RUN go mod download [2020-10-27T17:14:07.229Z] ---> Running in 765fb5fc7a9c [2020-10-27T17:14:09.874Z] Removing intermediate container 765fb5fc7a9c [2020-10-27T17:14:09.874Z] ---> 6609101fa507 [2020-10-27T17:14:09.874Z] Step 11/27 : COPY . . [2020-10-27T17:14:10.869Z] ---> cfe73ca29d26 [2020-10-27T17:14:10.869Z] Step 12/27 : ARG MAKE="make build" [2020-10-27T17:14:10.869Z] ---> Running in eee5ab8660f4 [2020-10-27T17:14:11.144Z] Removing intermediate container eee5ab8660f4 [2020-10-27T17:14:11.144Z] ---> fd683ccad8ba [2020-10-27T17:14:11.144Z] Step 13/27 : RUN $MAKE [2020-10-27T17:14:11.418Z] ---> Running in b0532149de30 [2020-10-27T17:14:12.850Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/internal.SDKVersion=v1.2.1-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/internal.ApplicationVersion=0.0.0" -o app-service-configurable [2020-10-27T17:15:09.468Z] Removing intermediate container b0532149de30 [2020-10-27T17:15:09.468Z] ---> 27f8d95c67bc [2020-10-27T17:15:09.468Z] Step 14/27 : FROM alpine:latest [2020-10-27T17:15:09.468Z] latest: Pulling from library/alpine [2020-10-27T17:15:09.468Z] 5f621e34cdf4: Pulling fs layer [2020-10-27T17:15:09.468Z] 5f621e34cdf4: Verifying Checksum [2020-10-27T17:15:09.468Z] 5f621e34cdf4: Download complete [2020-10-27T17:15:09.468Z] 5f621e34cdf4: Pull complete [2020-10-27T17:15:09.468Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-10-27T17:15:09.468Z] Status: Downloaded newer image for alpine:latest [2020-10-27T17:15:09.468Z] ---> 2e77e061c27f [2020-10-27T17:15:09.468Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-27T17:15:09.468Z] ---> Running in 04619261a81c [2020-10-27T17:15:09.468Z] Removing intermediate container 04619261a81c [2020-10-27T17:15:09.468Z] ---> 7e7a3a288286 [2020-10-27T17:15:09.468Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2020-10-27T17:15:09.468Z] ---> Running in eecebab9bd15 [2020-10-27T17:15:09.468Z] Removing intermediate container eecebab9bd15 [2020-10-27T17:15:09.468Z] ---> b95db049c219 [2020-10-27T17:15:09.468Z] Step 17/27 : RUN apk --no-cache add ca-certificates zeromq [2020-10-27T17:15:09.468Z] ---> Running in 30b0c845720b [2020-10-27T17:15:09.468Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-27T17:15:09.468Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-27T17:15:09.468Z] (1/6) Installing ca-certificates (20191127-r4) [2020-10-27T17:15:09.468Z] (2/6) Installing libgcc (9.3.0-r2) [2020-10-27T17:15:09.468Z] (3/6) Installing libsodium (1.0.18-r0) [2020-10-27T17:15:09.468Z] (4/6) Installing libstdc++ (9.3.0-r2) [2020-10-27T17:15:09.468Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-27T17:15:09.468Z] (6/6) Installing zeromq (4.3.3-r0) [2020-10-27T17:15:09.468Z] Executing busybox-1.31.1-r19.trigger [2020-10-27T17:15:09.468Z] Executing ca-certificates-20191127-r4.trigger [2020-10-27T17:15:09.468Z] OK: 9 MiB in 20 packages [2020-10-27T17:15:09.468Z] Removing intermediate container 30b0c845720b [2020-10-27T17:15:09.468Z] ---> 9ee585240430 [2020-10-27T17:15:09.468Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2020-10-27T17:15:10.067Z] ---> 1af149d134cd [2020-10-27T17:15:10.067Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2020-10-27T17:15:10.664Z] ---> 3af4c5536e0b [2020-10-27T17:15:10.664Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2020-10-27T17:15:11.645Z] ---> 4dc66b0078d6 [2020-10-27T17:15:11.645Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2020-10-27T17:15:13.156Z] ---> 114e81f20297 [2020-10-27T17:15:13.156Z] Step 22/27 : EXPOSE 48095 [2020-10-27T17:15:13.156Z] ---> Running in a9ae315bcf63 [2020-10-27T17:15:13.753Z] Removing intermediate container a9ae315bcf63 [2020-10-27T17:15:13.753Z] ---> cf8770719eb2 [2020-10-27T17:15:13.753Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2020-10-27T17:15:13.753Z] ---> Running in 83843d80f261 [2020-10-27T17:15:14.355Z] Removing intermediate container 83843d80f261 [2020-10-27T17:15:14.355Z] ---> 24b2232db8d2 [2020-10-27T17:15:14.355Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-27T17:15:14.355Z] ---> Running in 5e43abfdb8d3 [2020-10-27T17:15:14.632Z] Removing intermediate container 5e43abfdb8d3 [2020-10-27T17:15:14.632Z] ---> 02abed9d0b2a [2020-10-27T17:15:14.632Z] Step 25/27 : LABEL arch=arm64 [2020-10-27T17:15:14.909Z] ---> Running in eaafd27a16cc [2020-10-27T17:15:15.181Z] Removing intermediate container eaafd27a16cc [2020-10-27T17:15:15.181Z] ---> 7310de6dbe7c [2020-10-27T17:15:15.181Z] Step 26/27 : LABEL git_sha=8d415b9becdc3b8f1189f5b95123b970724b7fb2 [2020-10-27T17:15:15.452Z] ---> Running in 8e0ea4bc974d [2020-10-27T17:15:15.724Z] Removing intermediate container 8e0ea4bc974d [2020-10-27T17:15:15.724Z] ---> 4594098d64df [2020-10-27T17:15:15.724Z] Step 27/27 : LABEL version=0.0.0 [2020-10-27T17:15:15.995Z] ---> Running in 3b16e919ceb1 [2020-10-27T17:15:16.267Z] Removing intermediate container 3b16e919ceb1 [2020-10-27T17:15:16.267Z] ---> 5c43df2cc01d [2020-10-27T17:15:16.267Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-27T17:15:16.267Z] Successfully built 5c43df2cc01d [2020-10-27T17:15:16.267Z] 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] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node [2020-10-27T17:15:33.071Z] Still waiting to schedule task [2020-10-27T17:15:33.071Z] All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline [2020-10-27T17:17:06.289Z] Running on prd-ubuntu18.04-docker-arm64-16c-16g-9189 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-27T17:17:06.409Z] Running in /w/workspace/app-service-configurable/17 [Pipeline] { [Pipeline] checkout [2020-10-27T17:17:10.411Z] using credential edgex-jenkins-ssh [2020-10-27T17:17:10.553Z] Cloning the remote Git repository [2020-10-27T17:17:10.615Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T17:17:10.724Z] > git init /w/workspace/app-service-configurable/17 # timeout=10 [2020-10-27T17:17:10.785Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T17:17:10.786Z] > git --version # timeout=10 [2020-10-27T17:17:10.801Z] > git --version # 'git version 2.17.1' [2020-10-27T17:17:10.802Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T17:17:10.846Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T17:17:12.091Z] Merging remotes/origin/master commit 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 into PR head commit d2bb64093145e97ba0d06667bcc6498e707e8b63 [2020-10-27T17:17:12.314Z] Merge succeeded, producing 7e3a8a8506dfd030363ab1a1591e1758996a9249 [2020-10-27T17:17:12.315Z] Checking out Revision 7e3a8a8506dfd030363ab1a1591e1758996a9249 (PR-124) [2020-10-27T17:17:11.507Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-27T17:17:11.519Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T17:17:11.539Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-27T17:17:11.570Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T17:17:11.570Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T17:17:11.584Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-27T17:17:12.124Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T17:17:12.136Z] > git checkout -f d2bb64093145e97ba0d06667bcc6498e707e8b63 # timeout=10 [2020-10-27T17:17:12.210Z] > git remote # timeout=10 [2020-10-27T17:17:12.225Z] > git config --get remote.origin.url # timeout=10 [2020-10-27T17:17:12.254Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T17:17:12.265Z] > git merge 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 # timeout=10 [2020-10-27T17:17:12.312Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-27T17:17:12.334Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T17:17:12.344Z] > git checkout -f 7e3a8a8506dfd030363ab1a1591e1758996a9249 # timeout=10 [2020-10-27T17:17:16.587Z] Commit message: "Merge commit '6aed5cde4d38e364b7def40f9e6b4d8e988d4e17' into HEAD" [2020-10-27T17:17:16.606Z] First time build. Skipping changelog. [2020-10-27T17:17:16.605Z] > git rev-list --no-walk 2b71910c183cf0f434fb83f9adaad7bf20289b21 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-10-27T17:17:18.051Z] + echo snap-build.sh [2020-10-27T17:17:18.051Z] snap-build.sh [2020-10-27T17:17:18.051Z] + SNAP_BASE_DIR=. [2020-10-27T17:17:18.051Z] + '[' '!' -z /w/workspace/app-service-configurable/17 ']' [2020-10-27T17:17:18.051Z] + SNAP_BASE_DIR=/w/workspace/app-service-configurable/17 [2020-10-27T17:17:18.051Z] + echo '[snap-build] Building snap in dir [/w/workspace/app-service-configurable/17]' [2020-10-27T17:17:18.051Z] [snap-build] Building snap in dir [/w/workspace/app-service-configurable/17] [2020-10-27T17:17:18.051Z] + sudo apt-get update [2020-10-27T17:17:18.326Z] Hit:1 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-10-27T17:17:18.326Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] [2020-10-27T17:17:18.326Z] Get:3 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic InRelease [15.9 kB] [2020-10-27T17:17:18.326Z] Get:4 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB] [2020-10-27T17:17:18.326Z] Get:5 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] [2020-10-27T17:17:18.599Z] Get:6 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic InRelease [15.4 kB] [2020-10-27T17:17:18.599Z] Get:7 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] [2020-10-27T17:17:19.197Z] Get:8 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic/main arm64 Packages [824 B] [2020-10-27T17:17:19.475Z] Get:9 https://download.docker.com/linux/ubuntu bionic/stable arm64 Packages [12.9 kB] [2020-10-27T17:17:19.475Z] Get:10 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic/main Translation-en [476 B] [2020-10-27T17:17:19.759Z] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [825 kB] [2020-10-27T17:17:20.364Z] Get:12 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1119 kB] [2020-10-27T17:17:20.364Z] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-security/main Translation-en [276 kB] [2020-10-27T17:17:20.364Z] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted arm64 Packages [1172 B] [2020-10-27T17:17:20.364Z] Get:15 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted Translation-en [22.1 kB] [2020-10-27T17:17:20.364Z] Get:16 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [942 kB] [2020-10-27T17:17:20.364Z] Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe Translation-en [241 kB] [2020-10-27T17:17:20.365Z] Get:18 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse arm64 Packages [2360 B] [2020-10-27T17:17:20.365Z] Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse Translation-en [2964 B] [2020-10-27T17:17:20.640Z] Get:20 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main Translation-en [367 kB] [2020-10-27T17:17:20.640Z] Get:21 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [2088 B] [2020-10-27T17:17:20.640Z] Get:22 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/restricted Translation-en [24.6 kB] [2020-10-27T17:17:20.640Z] Get:23 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1479 kB] [2020-10-27T17:17:20.640Z] Get:24 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/universe Translation-en [354 kB] [2020-10-27T17:17:20.640Z] Get:25 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic/main arm64 Packages [9340 B] [2020-10-27T17:17:20.640Z] Get:26 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [5072 B] [2020-10-27T17:17:20.640Z] Get:27 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse Translation-en [6980 B] [2020-10-27T17:17:20.912Z] Get:28 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [9992 B] [2020-10-27T17:17:20.912Z] Get:29 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic/main Translation-en [1360 B] [2020-10-27T17:17:20.912Z] Get:30 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports/main Translation-en [4764 B] [2020-10-27T17:17:20.912Z] Get:31 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [9932 B] [2020-10-27T17:17:20.912Z] Get:32 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports/universe Translation-en [4588 B] [2020-10-27T17:17:33.318Z] Fetched 6071 kB in 4s (1353 kB/s) [2020-10-27T17:17:36.705Z] Reading package lists... [2020-10-27T17:17:36.705Z] + sudo apt-get install -y snapd expect [2020-10-27T17:17:36.979Z] Reading package lists... [2020-10-27T17:17:37.958Z] Building dependency tree... [2020-10-27T17:17:37.958Z] Reading state information... [2020-10-27T17:17:38.555Z] The following additional packages will be installed: [2020-10-27T17:17:38.555Z] tcl-expect [2020-10-27T17:17:38.555Z] Suggested packages: [2020-10-27T17:17:38.555Z] zenity | kdialog [2020-10-27T17:17:38.830Z] The following NEW packages will be installed: [2020-10-27T17:17:38.830Z] expect tcl-expect [2020-10-27T17:17:38.830Z] The following packages will be upgraded: [2020-10-27T17:17:38.830Z] snapd [2020-10-27T17:17:39.102Z] 1 upgraded, 2 newly installed, 0 to remove and 232 not upgraded. [2020-10-27T17:17:39.102Z] Need to get 18.7 MB of archives. [2020-10-27T17:17:39.102Z] After this operation, 35.6 MB of additional disk space will be used. [2020-10-27T17:17:39.102Z] Get:1 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic/universe arm64 tcl-expect arm64 5.45.4-1 [95.9 kB] [2020-10-27T17:17:39.376Z] Get:2 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic/universe arm64 expect arm64 5.45.4-1 [137 kB] [2020-10-27T17:17:39.653Z] Get:3 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 snapd arm64 2.47.1+18.04 [18.5 MB] [2020-10-27T17:17:42.287Z] debconf: unable to initialize frontend: Dialog [2020-10-27T17:17:42.288Z] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) [2020-10-27T17:17:42.288Z] debconf: falling back to frontend: Readline [2020-10-27T17:17:42.288Z] debconf: unable to initialize frontend: Readline [2020-10-27T17:17:42.288Z] debconf: (This frontend requires a controlling tty.) [2020-10-27T17:17:42.288Z] debconf: falling back to frontend: Teletype [2020-10-27T17:17:42.288Z] dpkg-preconfigure: unable to re-open stdin: [2020-10-27T17:17:42.288Z] Fetched 18.7 MB in 2s (9762 kB/s) [2020-10-27T17:17:42.288Z] Selecting previously unselected package tcl-expect:arm64. [2020-10-27T17:17:43.936Z] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 171706 files and directories currently installed.) [2020-10-27T17:17:44.211Z] Preparing to unpack .../tcl-expect_5.45.4-1_arm64.deb ... [2020-10-27T17:17:44.211Z] Unpacking tcl-expect:arm64 (5.45.4-1) ... [2020-10-27T17:17:44.488Z] Selecting previously unselected package expect. [2020-10-27T17:17:44.488Z] Preparing to unpack .../expect_5.45.4-1_arm64.deb ... [2020-10-27T17:17:44.488Z] Unpacking expect (5.45.4-1) ... [2020-10-27T17:17:44.762Z] Preparing to unpack .../snapd_2.47.1+18.04_arm64.deb ... [2020-10-27T17:17:45.037Z] Unpacking snapd (2.47.1+18.04) over (2.42.1+18.04) ... [2020-10-27T17:17:51.756Z] Setting up snapd (2.47.1+18.04) ... [2020-10-27T17:17:51.756Z] Installing new version of config file /etc/apparmor.d/usr.lib.snapd.snap-confine.real ... [2020-10-27T17:17:51.756Z] Installing new version of config file /etc/profile.d/apps-bin-path.sh ... [2020-10-27T17:17:52.353Z] Created symlink /etc/systemd/system/multi-user.target.wants/snapd.apparmor.service → /lib/systemd/system/snapd.apparmor.service. [2020-10-27T17:17:54.329Z] Created symlink /etc/systemd/system/multi-user.target.wants/snapd.recovery-chooser-trigger.service → /lib/systemd/system/snapd.recovery-chooser-trigger.service. [2020-10-27T17:17:58.673Z] snapd.failure.service is a disabled or a static unit, not starting it. [2020-10-27T17:17:58.673Z] snapd.snap-repair.service is a disabled or a static unit, not starting it. [2020-10-27T17:17:59.273Z] Setting up tcl-expect:arm64 (5.45.4-1) ... [2020-10-27T17:17:59.273Z] Setting up expect (5.45.4-1) ... [2020-10-27T17:17:59.273Z] Processing triggers for libc-bin (2.27-3ubuntu1) ... [2020-10-27T17:17:59.273Z] Processing triggers for man-db (2.8.3-2ubuntu0.1) ... [2020-10-27T17:18:02.680Z] Processing triggers for dbus (1.12.2-1ubuntu1.1) ... [2020-10-27T17:18:02.680Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-10-27T17:18:09.404Z] + sudo snap install --classic snapcraft [2020-10-27T17:18:27.683Z] 2020-10-27T17:18:26Z INFO Waiting for automatic snapd restart... [2020-10-27T17:19:00.006Z] snapcraft 4.3 from Canonical* installed [2020-10-27T17:19:00.006Z] + '[' -f snap/local/patches/0001-optimize-build-for-pipeline-CI-check.patch ']' [2020-10-27T17:19:00.006Z] + pushd /w/workspace/app-service-configurable/17 [2020-10-27T17:19:00.006Z] + unbuffer snapcraft clean [2020-10-27T17:19:00.006Z] couldn't execute "snapcraft": no such file or directory [2020-10-27T17:19:00.006Z] while executing [2020-10-27T17:19:00.006Z] "spawn -noecho snapcraft clean" [2020-10-27T17:19:00.006Z] ("eval" body line 1) [2020-10-27T17:19:00.006Z] invoked from within [2020-10-27T17:19:00.006Z] "eval [list spawn -noecho] $argv" [2020-10-27T17:19:00.006Z] invoked from within [2020-10-27T17:19:00.006Z] "if {[string compare [lindex $argv 0] "-p"] == 0} { [2020-10-27T17:19:00.006Z] # pipeline [2020-10-27T17:19:00.006Z] set stty_init "-echo" [2020-10-27T17:19:00.006Z] eval [list spawn -noecho] [lrange $argv 1 end] [2020-10-27T17:19:00.006Z] clo..." [2020-10-27T17:19:00.006Z] (file "/usr/bin/unbuffer" line 13) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-27T17:19:01.338Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-10-27T17:19:04.549Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T17:19:05.123Z] ---> package-listing.sh [2020-10-27T17:19:05.123Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-27T17:19:05.123Z] ++ facter osfamily [2020-10-27T17:19:05.123Z] + OS_FAMILY=redhat [2020-10-27T17:19:05.123Z] + workspace=/w/workspace/_app-service-configurable_PR-124 [2020-10-27T17:19:05.123Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-27T17:19:05.123Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-27T17:19:05.123Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-27T17:19:05.123Z] + PACKAGES=/tmp/packages_start.txt [2020-10-27T17:19:05.123Z] + '[' /w/workspace/_app-service-configurable_PR-124 ']' [2020-10-27T17:19:05.123Z] + PACKAGES=/tmp/packages_end.txt [2020-10-27T17:19:05.123Z] + case "${OS_FAMILY}" in [2020-10-27T17:19:05.123Z] + rpm -qa [2020-10-27T17:19:05.123Z] + sort [2020-10-27T17:19:08.819Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-27T17:19:08.819Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-27T17:19:08.819Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-27T17:19:08.819Z] + '[' /w/workspace/_app-service-configurable_PR-124 ']' [2020-10-27T17:19:08.819Z] + mkdir -p /w/workspace/_app-service-configurable_PR-124/archives/ [2020-10-27T17:19:08.819Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-124/archives/ [Pipeline] echo [2020-10-27T17:19:08.840Z] 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-124/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-27T17:19:09.134Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-27T17:19:09.453Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-27T17:19:09.453Z] [2020-10-27T17:19:09.453Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-27T17:19:09.812Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-27T17:19:09.812Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-27T17:19:09.812Z] df20fa9351a1: Pulling fs layer [2020-10-27T17:19:09.812Z] 36b3adc4ff6f: Pulling fs layer [2020-10-27T17:19:09.812Z] 8ad3a11d3b57: Pulling fs layer [2020-10-27T17:19:09.812Z] 46f8f816bc3b: Pulling fs layer [2020-10-27T17:19:09.812Z] 93b61091891f: Pulling fs layer [2020-10-27T17:19:09.812Z] 93b9cdb0e59b: Pulling fs layer [2020-10-27T17:19:09.812Z] 5e14af77c1be: Pulling fs layer [2020-10-27T17:19:09.812Z] 01666e4c0597: Pulling fs layer [2020-10-27T17:19:09.812Z] aa168da1d23b: Pulling fs layer [2020-10-27T17:19:09.812Z] 93b9cdb0e59b: Waiting [2020-10-27T17:19:09.812Z] 46f8f816bc3b: Waiting [2020-10-27T17:19:09.812Z] 93b61091891f: Waiting [2020-10-27T17:19:09.812Z] 01666e4c0597: Waiting [2020-10-27T17:19:09.812Z] 5e14af77c1be: Waiting [2020-10-27T17:19:09.812Z] aa168da1d23b: Waiting [2020-10-27T17:19:09.812Z] 36b3adc4ff6f: Verifying Checksum [2020-10-27T17:19:09.812Z] 36b3adc4ff6f: Download complete [2020-10-27T17:19:09.812Z] 46f8f816bc3b: Download complete [2020-10-27T17:19:09.812Z] df20fa9351a1: Verifying Checksum [2020-10-27T17:19:09.812Z] df20fa9351a1: Download complete [2020-10-27T17:19:09.812Z] 93b9cdb0e59b: Verifying Checksum [2020-10-27T17:19:09.812Z] 93b9cdb0e59b: Download complete [2020-10-27T17:19:09.812Z] 5e14af77c1be: Verifying Checksum [2020-10-27T17:19:09.812Z] 5e14af77c1be: Download complete [2020-10-27T17:19:09.812Z] 93b61091891f: Verifying Checksum [2020-10-27T17:19:09.812Z] 93b61091891f: Download complete [2020-10-27T17:19:10.075Z] 01666e4c0597: Verifying Checksum [2020-10-27T17:19:10.075Z] 01666e4c0597: Download complete [2020-10-27T17:19:10.340Z] 8ad3a11d3b57: Verifying Checksum [2020-10-27T17:19:10.340Z] 8ad3a11d3b57: Download complete [2020-10-27T17:19:10.340Z] df20fa9351a1: Pull complete [2020-10-27T17:19:10.340Z] 36b3adc4ff6f: Pull complete [2020-10-27T17:19:11.305Z] 8ad3a11d3b57: Pull complete [2020-10-27T17:19:11.305Z] 46f8f816bc3b: Pull complete [2020-10-27T17:19:11.889Z] 93b61091891f: Pull complete [2020-10-27T17:19:11.889Z] 93b9cdb0e59b: Pull complete [2020-10-27T17:19:12.155Z] aa168da1d23b: Verifying Checksum [2020-10-27T17:19:12.155Z] aa168da1d23b: Download complete [2020-10-27T17:19:12.155Z] 5e14af77c1be: Pull complete [2020-10-27T17:19:12.155Z] 01666e4c0597: Pull complete [2020-10-27T17:19:20.369Z] aa168da1d23b: Pull complete [2020-10-27T17:19:20.369Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-27T17:19:20.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-27T17:19:20.369Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-27T17:19:20.591Z] prd-centos7-docker-4c-2g-9181 does not seem to be running inside a container [2020-10-27T17:19:20.654Z] $ 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-124/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-124 -v /w/workspace/_app-service-configurable_PR-124:/w/workspace/_app-service-configurable_PR-124:rw,z -v /w/workspace/_app-service-configurable_PR-124@tmp:/w/workspace/_app-service-configurable_PR-124@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:10003/edgex-lftools-log-publisher:alpine cat [2020-10-27T17:19:23.280Z] $ docker top be64048893cf4f480e2db173c49dcaf3d73bcefdb6ff78240c262a21c9bbe837 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-27T17:19:23.853Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-27T17:19:24.157Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-27T17:19:24.460Z] + ls /var/log/sa-host [2020-10-27T17:19:24.460Z] + sadf -c /var/log/sa-host/sa05 [2020-10-27T17:19:24.460Z] file_magic: OK [2020-10-27T17:19:24.460Z] HZ: Using current value: 100 [2020-10-27T17:19:24.460Z] file_header: OK [2020-10-27T17:19:24.460Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-10-27T17:19:24.460Z] Statistics: [2020-10-27T17:19:24.460Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-27T17:19:24.460Z] File successfully converted to sysstat format version 12.2.1 [2020-10-27T17:19:24.461Z] + sadf -c /var/log/sa-host/sa27 [2020-10-27T17:19:24.461Z] file_magic: OK [2020-10-27T17:19:24.461Z] HZ: Using current value: 100 [2020-10-27T17:19:24.461Z] file_header: OK [2020-10-27T17:19:24.461Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-10-27T17:19:24.461Z] Statistics: [2020-10-27T17:19:24.461Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-27T17:19:24.461Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-27T17:19:24.688Z] provisioning config files... [2020-10-27T17:19:24.717Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-124@tmp/config2630481966943253956tmp [Pipeline] { [Pipeline] echo [2020-10-27T17:19:24.812Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T17:19:25.139Z] ---> create-netrc.sh [Pipeline] } [2020-10-27T17:19:25.149Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-27T17:19:25.253Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T17:19:25.564Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-27T17:19:25.575Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T17:19:25.869Z] ---> sudo-logs.sh [2020-10-27T17:19:25.869Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-27T17:19:25.881Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T17:19:26.176Z] ---> job-cost.sh [2020-10-27T17:19:26.176Z] lf-activate-venv: SKIPPING [2020-10-27T17:19:26.176Z] INFO: No Stack... [2020-10-27T17:19:27.121Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-27T17:19:27.695Z] INFO: Archiving Costs [Pipeline] echo [2020-10-27T17:19:27.711Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T17:19:28.008Z] ---> logs-deploy.sh [2020-10-27T17:19:28.008Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-124/17 [2020-10-27T17:19:28.008Z] INFO: archiving workspace using pattern(s): [2020-10-27T17:19:29.940Z] Archives upload complete. [2020-10-27T17:19:29.940Z] INFO: archiving logs to Nexus