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 17:07:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:07:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:07:49 ========================================================= 17:07:49 EdgeX Global Pipelines Version Info 17:07:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:07:50 ------------------- 17:07:50 stable info: 17:07:50 ------------------- 17:07:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:07:50 Commit SHA: f3f382fce060f16c10d6f597981912fab355381a 17:07:50 Message: update stable to v1.0.148 17:07:51 ------------------- 17:07:51 experimental info: 17:07:51 ------------------- 17:07:51 Commited By: **** collab-it+edgex@linuxfoundation.org 17:07:51 Commit SHA: 2701555fd48d7f7017006eef04e32eb767bac8dc 17:07:51 Message: update experimental to v1.0.151 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 17:07:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 17:07:52 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 17:07:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:07:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:07:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:07:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 17:07:52 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:07:52 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 17:07:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:07:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:07:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:07:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-service-configurable [Pipeline] echo 17:07:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:07:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:07:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:07:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:07:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:07:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:07:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:07:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 17:07:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:07:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:07:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:07:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:07:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:07:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-124 [Pipeline] echo 17:07:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-124 [Pipeline] echo 17:07:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-124 [Pipeline] echo 17:07:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8d415b9becdc3b8f1189f5b95123b970724b7fb2 [Pipeline] echo 17:07:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8d415b9 [Pipeline] echo 17:07:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:07:55 + git log --format=format:%s -1 8d415b9becdc3b8f1189f5b95123b970724b7fb2 [Pipeline] echo 17:07:56 GIT_COMMIT: 8d415b9becdc3b8f1189f5b95123b970724b7fb2, Commit Message: Merge commit '6aed5cde4d38e364b7def40f9e6b4d8e988d4e17' into HEAD [Pipeline] echo 17:07:56 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:07:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:07:57 17:07:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:07:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:07:57 latest: Pulling from edgex-devops/git-semver 17:07:57 31603596830f: Pulling fs layer 17:07:57 2a8b12db71e7: Pulling fs layer 17:07:57 6ca5941a6612: Pulling fs layer 17:07:57 ecc8261a40a4: Pulling fs layer 17:07:57 ecc8261a40a4: Waiting 17:07:57 2a8b12db71e7: Verifying Checksum 17:07:57 2a8b12db71e7: Download complete 17:07:57 31603596830f: Download complete 17:07:57 ecc8261a40a4: Verifying Checksum 17:07:57 ecc8261a40a4: Download complete 17:07:57 6ca5941a6612: Verifying Checksum 17:07:57 6ca5941a6612: Download complete 17:07:57 31603596830f: Pull complete 17:07:58 2a8b12db71e7: Pull complete 17:07:58 6ca5941a6612: Pull complete 17:07:59 ecc8261a40a4: Pull complete 17:07:59 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 17:07:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:07:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:07:59 prd-centos7-docker-4c-2g-9181 does not seem to be running inside a container 17:07:59 $ 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 17:08:01 $ docker top 7b990f9bdf329819005266f7cef10695a1099f3f1a5af6dcfb4de47597d59b73 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:08:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:08:01 [ssh-agent] Looking for ssh-agent implementation... 17:08:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:08:01 $ docker exec 7b990f9bdf329819005266f7cef10695a1099f3f1a5af6dcfb4de47597d59b73 ssh-agent 17:08:01 SSH_AUTH_SOCK=/tmp/ssh-atrxs1bigvPw/agent.12 17:08:01 SSH_AGENT_PID=17 17:08:02 Running ssh-add (command line suppressed) 17:08:02 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) 17:08:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:08:02 + git tag --points-at HEAD [Pipeline] } 17:08:02 $ docker exec --env ******** --env ******** 7b990f9bdf329819005266f7cef10695a1099f3f1a5af6dcfb4de47597d59b73 ssh-agent -k 17:08:02 unset SSH_AUTH_SOCK; 17:08:02 unset SSH_AGENT_PID; 17:08:02 echo Agent pid 17 killed; 17:08:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:08:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:08:03 [ssh-agent] Looking for ssh-agent implementation... 17:08:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:08:03 $ docker exec 7b990f9bdf329819005266f7cef10695a1099f3f1a5af6dcfb4de47597d59b73 ssh-agent 17:08:03 SSH_AUTH_SOCK=/tmp/ssh-Qh1EmttXTWVq/agent.46 17:08:03 SSH_AGENT_PID=52 17:08:03 Running ssh-add (command line suppressed) 17:08:03 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) 17:08:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:08:03 + git semver init 17:08:03 # -> Open(): unable to determine branch for HEAD 17:08:03 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-124/.git 17:08:03 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-124 17:08:03 # $SEMVER_REMOTE_NAME = origin 17:08:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:08:03 # $SEMVER_USER_NAME = edgex-jenkins 17:08:03 # $SEMVER_BRANCH = PR-124 17:08:03 # $SEMVER_TEMP = /tmp/semver-284843324 17:08:03 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 17:08:04 # '/tmp/semver-284843324' -> '/w/workspace/_app-service-configurable_PR-124/.semver' 17:08:04 # -> Force: false 17:08:04 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-124/.semver [Pipeline] } 17:08:04 $ docker exec --env ******** --env ******** 7b990f9bdf329819005266f7cef10695a1099f3f1a5af6dcfb4de47597d59b73 ssh-agent -k 17:08:04 unset SSH_AUTH_SOCK; 17:08:04 unset SSH_AGENT_PID; 17:08:04 echo Agent pid 52 killed; 17:08:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:08:05 + git semver [Pipeline] } 17:08:05 $ docker stop --time=1 7b990f9bdf329819005266f7cef10695a1099f3f1a5af6dcfb4de47597d59b73 17:08:06 $ docker rm -f 7b990f9bdf329819005266f7cef10695a1099f3f1a5af6dcfb4de47597d59b73 [Pipeline] // withDockerContainer [Pipeline] sh 17:08:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:08:07 Stashed 1 file(s) [Pipeline] echo 17:08:07 [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 17:08:22 Still waiting to schedule task 17:08:22 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:08:22 Still waiting to schedule task 17:08:22 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 17:09:33 Running on prd-centos7-docker-4c-2g-9184 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws 17:09:33 Running in /w/workspace/app-service-configurable/17 [Pipeline] { [Pipeline] checkout 17:09:36 using credential edgex-jenkins-ssh 17:09:36 Cloning the remote Git repository 17:09:36 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 17:09:36 > git init /w/workspace/app-service-configurable/17 # timeout=10 17:09:36 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:09:36 > git --version # timeout=10 17:09:36 > git --version # 'git version 2.16.5' 17:09:36 using GIT_SSH to set credentials SSH Credentials for GitHub 17:09:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:09:37 Merging remotes/origin/master commit 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 into PR head commit d2bb64093145e97ba0d06667bcc6498e707e8b63 17:09:38 Merge succeeded, producing c2e5a198d2ccae0eeb7a0827dd7657978bdd92f0 17:09:38 Checking out Revision c2e5a198d2ccae0eeb7a0827dd7657978bdd92f0 (PR-124) 17:09:37 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:09:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:09:37 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:09:37 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:09:37 using GIT_SSH to set credentials SSH Credentials for GitHub 17:09:37 > 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 17:09:37 > git config core.sparsecheckout # timeout=10 17:09:37 > git checkout -f d2bb64093145e97ba0d06667bcc6498e707e8b63 # timeout=10 17:09:37 > git remote # timeout=10 17:09:37 > git config --get remote.origin.url # timeout=10 17:09:37 using GIT_SSH to set credentials SSH Credentials for GitHub 17:09:37 > git merge 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 # timeout=10 17:09:37 > git rev-parse HEAD^{commit} # timeout=10 17:09:38 > git config core.sparsecheckout # timeout=10 17:09:38 > git checkout -f c2e5a198d2ccae0eeb7a0827dd7657978bdd92f0 # timeout=10 17:09:41 Commit message: "Merge commit '6aed5cde4d38e364b7def40f9e6b4d8e988d4e17' into HEAD" 17:09:41 First time build. Skipping changelog. 17:09:41 > 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 17:09:42 ========================================================= 17:09:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 17:09:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:09:43 + 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 . 17:09:43 Sending build context to Docker daemon 98.3kB 17:09:43 Step 1/8 : ARG BASE=golang:1.15-alpine 17:09:43 Step 2/8 : FROM ${BASE} 17:09:44 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 17:09:44 df20fa9351a1: Pulling fs layer 17:09:44 ed8968b2872e: Pulling fs layer 17:09:44 a92cc7c5fd73: Pulling fs layer 17:09:44 e871e8e8d7a9: Pulling fs layer 17:09:44 e73272ec9a57: Pulling fs layer 17:09:44 1e910a182e73: Pulling fs layer 17:09:44 4e634b169226: Pulling fs layer 17:09:44 e871e8e8d7a9: Waiting 17:09:44 e73272ec9a57: Waiting 17:09:44 1e910a182e73: Waiting 17:09:44 4e634b169226: Waiting 17:09:44 a92cc7c5fd73: Verifying Checksum 17:09:44 a92cc7c5fd73: Download complete 17:09:44 ed8968b2872e: Verifying Checksum 17:09:44 ed8968b2872e: Download complete 17:09:44 e73272ec9a57: Verifying Checksum 17:09:44 e73272ec9a57: Download complete 17:09:44 1e910a182e73: Verifying Checksum 17:09:44 1e910a182e73: Download complete 17:09:44 df20fa9351a1: Verifying Checksum 17:09:44 df20fa9351a1: Download complete 17:09:44 df20fa9351a1: Pull complete 17:09:44 ed8968b2872e: Pull complete 17:09:45 a92cc7c5fd73: Pull complete 17:09:46 4e634b169226: Verifying Checksum 17:09:46 4e634b169226: Download complete 17:09:46 e871e8e8d7a9: Verifying Checksum 17:09:46 e871e8e8d7a9: Download complete 17:09:52 e871e8e8d7a9: Pull complete 17:09:52 e73272ec9a57: Pull complete 17:09:52 1e910a182e73: Pull complete 17:09:56 4e634b169226: Pull complete 17:09:56 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 17:09:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 17:09:56 ---> f7629b54cfaa 17:09:56 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:09:56 ---> Running in 43be3d0b4fba 17:09:57 Removing intermediate container 43be3d0b4fba 17:09:57 ---> 50f6a7e2158e 17:09:57 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:09:57 ---> Running in 0c562b1e4604 17:09:59 Removing intermediate container 0c562b1e4604 17:09:59 ---> 03326e2aaca4 17:09:59 Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash 17:09:59 ---> Running in 0e647b68515a 17:09:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:10:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:10:00 (1/6) Installing libc-dev (0.7.2-r3) 17:10:00 (2/6) Installing libsodium (1.0.18-r0) 17:10:01 (3/6) Installing pkgconf (1.7.2-r0) 17:10:01 (4/6) Installing libsodium-dev (1.0.18-r0) 17:10:01 (5/6) Installing libzmq (4.3.3-r0) 17:10:01 (6/6) Installing zeromq-dev (4.3.3-r0) 17:10:01 Executing busybox-1.31.1-r16.trigger 17:10:01 OK: 167 MiB in 45 packages 17:10:01 Removing intermediate container 0e647b68515a 17:10:01 ---> a5a2b9af0320 17:10:01 Step 6/8 : WORKDIR /app 17:10:01 ---> Running in a33aa0d185d8 17:10:02 Removing intermediate container a33aa0d185d8 17:10:02 ---> aab9e6751e0e 17:10:02 Step 7/8 : COPY . . 17:10:02 ---> 0cbde5199b84 17:10:02 Step 8/8 : RUN go mod download 17:10:02 ---> Running in 25d637fdb972 17:10:29 Removing intermediate container 25d637fdb972 17:10:29 ---> a805ae3566a3 17:10:29 Successfully built a805ae3566a3 17:10:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:10:29 + docker inspect -f . ci-base-image-x86_64 17:10:29 . [Pipeline] withDockerContainer 17:10:29 prd-centos7-docker-4c-2g-9184 does not seem to be running inside a container 17:10:29 $ 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 17:10:30 $ docker top ac85271604899b136d8f681ed63e8b8a1f111176d62a5cef540f1bfb8571f90b -eo pid,comm [Pipeline] { [Pipeline] sh 17:10:31 + go version 17:10:31 go version go1.15.2 linux/amd64 [Pipeline] } 17:10:31 $ docker stop --time=1 ac85271604899b136d8f681ed63e8b8a1f111176d62a5cef540f1bfb8571f90b 17:10:32 $ docker rm -f ac85271604899b136d8f681ed63e8b8a1f111176d62a5cef540f1bfb8571f90b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:10:33 + docker inspect -f . ci-base-image-x86_64 17:10:33 . [Pipeline] withDockerContainer 17:10:33 prd-centos7-docker-4c-2g-9184 does not seem to be running inside a container 17:10:33 $ 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 17:10:34 $ docker top c38e6da410fc38e48b9bfce2aa6d1178f182135e6cdc839f17210dc9e8d9a268 -eo pid,comm [Pipeline] { [Pipeline] sh 17:10:34 + make test 17:10:34 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 17:10:53 ? github.com/edgexfoundry/app-service-configurable [no test files] 17:10:53 CGO_ENABLED=1 go vet ./... 17:10:56 gofmt -l . 17:10:56 [ "`gofmt -l .`" = "" ] 17:10:56 ./bin/test-go-mod-tidy.sh 17:10:57 ./bin/test-attribution-txt.sh [Pipeline] stash 17:10:58 Stashed 1 file(s) [Pipeline] } 17:10:58 $ docker stop --time=1 c38e6da410fc38e48b9bfce2aa6d1178f182135e6cdc839f17210dc9e8d9a268 17:11:01 $ docker rm -f c38e6da410fc38e48b9bfce2aa6d1178f182135e6cdc839f17210dc9e8d9a268 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:11:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:11:04 + ls -al . 17:11:04 total 96 17:11:04 drwxrwxr-x. 7 jenkins jenkins 4096 Oct 27 17:10 . 17:11:04 drwxrwxr-x. 4 jenkins jenkins 30 Oct 27 17:09 .. 17:11:04 -rw-rw-r--. 1 jenkins jenkins 6568 Oct 27 17:09 Attribution.txt 17:11:04 drwxrwxr-x. 2 jenkins jenkins 64 Oct 27 17:09 bin 17:11:04 -rw-r--r--. 1 jenkins jenkins 10 Oct 27 17:10 coverage.out 17:11:04 -rw-rw-r--. 1 jenkins jenkins 180 Oct 27 17:09 docker-compose.debug.yml 17:11:04 -rw-rw-r--. 1 jenkins jenkins 133 Oct 27 17:09 docker-compose.yml 17:11:04 -rw-rw-r--. 1 jenkins jenkins 2002 Oct 27 17:09 Dockerfile 17:11:04 -rw-rw-r--. 1 jenkins jenkins 966 Oct 27 17:09 Dockerfile.build 17:11:04 -rw-rw-r--. 1 jenkins jenkins 119 Oct 27 17:09 .dockerignore 17:11:04 drwxrwxr-x. 8 jenkins jenkins 179 Oct 27 17:09 .git 17:11:04 drwxrwxr-x. 2 jenkins jenkins 81 Oct 27 17:09 .github 17:11:04 -rw-rw-r--. 1 jenkins jenkins 93 Oct 27 17:09 .gitignore 17:11:04 -rw-r--r--. 1 jenkins jenkins 133 Oct 27 17:10 go.mod 17:11:04 -rw-r--r--. 1 jenkins jenkins 19860 Oct 27 17:10 go.sum 17:11:04 -rw-rw-r--. 1 jenkins jenkins 766 Oct 27 17:09 Jenkinsfile 17:11:04 -rw-rw-r--. 1 jenkins jenkins 10174 Oct 27 17:09 LICENSE 17:11:04 -rw-rw-r--. 1 jenkins jenkins 1519 Oct 27 17:09 main.go 17:11:04 -rw-rw-r--. 1 jenkins jenkins 1573 Oct 27 17:09 makefile 17:11:04 -rw-rw-r--. 1 jenkins jenkins 1277 Oct 27 17:09 README.md 17:11:04 drwxrwxr-x. 10 jenkins jenkins 171 Oct 27 17:09 res 17:11:04 drwxrwxr-x. 4 jenkins jenkins 71 Oct 27 17:09 snap 17:11:04 -rw-rw-r--. 1 jenkins jenkins 5 Oct 27 17:08 VERSION [Pipeline] isUnix [Pipeline] sh 17:11:04 + 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 . 17:11:04 Sending build context to Docker daemon 120.8kB 17:11:04 Step 1/27 : ARG BASE=golang:1.15-alpine 17:11:04 Step 2/27 : FROM ${BASE} AS builder 17:11:04 ---> a805ae3566a3 17:11:04 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:11:04 ---> Running in 332ae4bee639 17:11:05 Removing intermediate container 332ae4bee639 17:11:05 ---> 919b11e98d44 17:11:05 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 17:11:05 ---> Running in a2c56154d270 17:11:05 Removing intermediate container a2c56154d270 17:11:05 ---> bf34ab2b1efa 17:11:05 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:11:05 ---> Running in 617566e970dc 17:11:05 Removing intermediate container 617566e970dc 17:11:05 ---> 520e733498b9 17:11:05 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:11:05 ---> Running in 8ae3c251c827 17:11:06 Removing intermediate container 8ae3c251c827 17:11:06 ---> 861ab3d43694 17:11:06 Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:11:06 ---> Running in 126c1ef5bcd1 17:11:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:11:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:11:09 OK: 167 MiB in 45 packages 17:11:09 Removing intermediate container 126c1ef5bcd1 17:11:09 ---> f16a5c0bf00f 17:11:09 Step 8/27 : WORKDIR /app 17:11:09 ---> Running in 958858b18de1 17:11:09 Removing intermediate container 958858b18de1 17:11:09 ---> 3dca3e6f317a 17:11:09 Step 9/27 : COPY go.mod . 17:11:09 ---> d66420d5cc6b 17:11:09 Step 10/27 : RUN go mod download 17:11:10 ---> Running in 17b8f0ef7149 17:11:11 Removing intermediate container 17b8f0ef7149 17:11:11 ---> b1d06b0793a4 17:11:11 Step 11/27 : COPY . . 17:11:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-9185 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws 17:11:11 Running in /w/workspace/app-service-configurable/17 [Pipeline] { [Pipeline] checkout 17:11:11 ---> b7b4e7741842 17:11:11 Step 12/27 : ARG MAKE="make build" 17:11:11 ---> Running in 93bffa9da3b5 17:11:11 Removing intermediate container 93bffa9da3b5 17:11:11 ---> e89c6e72896a 17:11:11 Step 13/27 : RUN $MAKE 17:11:11 ---> Running in ae0459e70444 17:11:12 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 17:11:17 using credential edgex-jenkins-ssh 17:11:17 Cloning the remote Git repository 17:11:17 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 17:11:17 > git init /w/workspace/app-service-configurable/17 # timeout=10 17:11:17 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:11:17 > git --version # timeout=10 17:11:17 > git --version # 'git version 2.17.1' 17:11:17 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:11:18 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:11:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:11:18 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:11:18 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:11:18 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:18 > 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 17:11:18 Merging remotes/origin/master commit 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 into PR head commit d2bb64093145e97ba0d06667bcc6498e707e8b63 17:11:19 Merge succeeded, producing 54883fb2508ae6bedfec129a97e88aceb31e28e4 17:11:19 Checking out Revision 54883fb2508ae6bedfec129a97e88aceb31e28e4 (PR-124) 17:11:18 > git config core.sparsecheckout # timeout=10 17:11:18 > git checkout -f d2bb64093145e97ba0d06667bcc6498e707e8b63 # timeout=10 17:11:19 > git remote # timeout=10 17:11:19 > git config --get remote.origin.url # timeout=10 17:11:19 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:19 > git merge 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 # timeout=10 17:11:19 > git rev-parse HEAD^{commit} # timeout=10 17:11:19 > git config core.sparsecheckout # timeout=10 17:11:19 > git checkout -f 54883fb2508ae6bedfec129a97e88aceb31e28e4 # timeout=10 17:11:24 Commit message: "Merge commit '6aed5cde4d38e364b7def40f9e6b4d8e988d4e17' into HEAD" 17:11:24 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { 17:11:24 > git rev-list --no-walk 2b71910c183cf0f434fb83f9adaad7bf20289b21 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:11:25 ========================================================= 17:11:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 17:11:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:11:26 + 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 . 17:11:26 Sending build context to Docker daemon 98.3kB 17:11:27 Step 1/8 : ARG BASE=golang:1.15-alpine 17:11:27 Step 2/8 : FROM ${BASE} 17:11:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:11:27 b538f80385f9: Pulling fs layer 17:11:27 74f711af9a0d: Pulling fs layer 17:11:27 99f96fe45779: Pulling fs layer 17:11:27 8529a6b9a6be: Pulling fs layer 17:11:27 45590311c82a: Pulling fs layer 17:11:27 69ca0ff8b7b3: Pulling fs layer 17:11:27 209524e5b208: Pulling fs layer 17:11:27 45590311c82a: Waiting 17:11:27 8529a6b9a6be: Waiting 17:11:27 69ca0ff8b7b3: Waiting 17:11:27 209524e5b208: Waiting 17:11:27 99f96fe45779: Verifying Checksum 17:11:27 99f96fe45779: Download complete 17:11:27 74f711af9a0d: Verifying Checksum 17:11:27 74f711af9a0d: Download complete 17:11:27 45590311c82a: Verifying Checksum 17:11:27 45590311c82a: Download complete 17:11:27 69ca0ff8b7b3: Verifying Checksum 17:11:27 69ca0ff8b7b3: Download complete 17:11:27 b538f80385f9: Verifying Checksum 17:11:27 b538f80385f9: Download complete 17:11:28 b538f80385f9: Pull complete 17:11:28 74f711af9a0d: Pull complete 17:11:29 99f96fe45779: Pull complete 17:11:30 209524e5b208: Verifying Checksum 17:11:30 209524e5b208: Download complete 17:11:31 8529a6b9a6be: Verifying Checksum 17:11:31 8529a6b9a6be: Download complete 17:11:31 Removing intermediate container ae0459e70444 17:11:31 ---> 8af4b65e2d80 17:11:31 Step 14/27 : FROM alpine:latest 17:11:31 latest: Pulling from library/alpine 17:11:31 188c0c94c7c5: Pulling fs layer 17:11:31 188c0c94c7c5: Verifying Checksum 17:11:31 188c0c94c7c5: Download complete 17:11:31 188c0c94c7c5: Pull complete 17:11:31 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 17:11:31 Status: Downloaded newer image for alpine:latest 17:11:31 ---> d6e46aa2470d 17:11:31 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:11:31 ---> Running in a962004ab944 17:11:31 Removing intermediate container a962004ab944 17:11:31 ---> 27a760286730 17:11:31 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 17:11:31 ---> Running in 617d152598d3 17:11:31 Removing intermediate container 617d152598d3 17:11:31 ---> 01c75324117e 17:11:31 Step 17/27 : RUN apk --no-cache add ca-certificates zeromq 17:11:31 ---> Running in 659b2513832d 17:11:31 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:11:31 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:11:31 (1/6) Installing ca-certificates (20191127-r4) 17:11:31 (2/6) Installing libgcc (9.3.0-r2) 17:11:31 (3/6) Installing libsodium (1.0.18-r0) 17:11:31 (4/6) Installing libstdc++ (9.3.0-r2) 17:11:31 (5/6) Installing libzmq (4.3.3-r0) 17:11:31 (6/6) Installing zeromq (4.3.3-r0) 17:11:31 Executing busybox-1.31.1-r19.trigger 17:11:31 Executing ca-certificates-20191127-r4.trigger 17:11:31 OK: 9 MiB in 20 packages 17:11:33 Removing intermediate container 659b2513832d 17:11:33 ---> 611ebacb8251 17:11:33 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:11:33 ---> 89ac85206b58 17:11:33 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 17:11:33 ---> fd17261b3b07 17:11:33 Step 20/27 : COPY --from=builder /app/res/ /res/ 17:11:33 ---> 6f0584009adb 17:11:33 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 17:11:34 ---> fecbfb8db137 17:11:34 Step 22/27 : EXPOSE 48095 17:11:34 ---> Running in b08fd11e8a8e 17:11:34 Removing intermediate container b08fd11e8a8e 17:11:34 ---> f2c112be6724 17:11:34 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 17:11:34 ---> Running in 48b9ec497e11 17:11:35 Removing intermediate container 48b9ec497e11 17:11:35 ---> e4bd7c18bb0f 17:11:35 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:11:35 ---> Running in bf5e7cdeec37 17:11:35 Removing intermediate container bf5e7cdeec37 17:11:35 ---> f46fb4ceaf5d 17:11:35 Step 25/27 : LABEL arch=amd64 17:11:35 ---> Running in 2886eeca1de4 17:11:35 Removing intermediate container 2886eeca1de4 17:11:35 ---> 9e3d45b1434c 17:11:35 Step 26/27 : LABEL git_sha=8d415b9becdc3b8f1189f5b95123b970724b7fb2 17:11:35 ---> Running in 7fd3c9deac79 17:11:35 Removing intermediate container 7fd3c9deac79 17:11:35 ---> 1222044c75db 17:11:35 Step 27/27 : LABEL version=0.0.0 17:11:35 ---> Running in 2fae48ca8029 17:11:35 Removing intermediate container 2fae48ca8029 17:11:35 ---> df618e69735c 17:11:35 [Warning] One or more build-args [ARCH] were not consumed 17:11:35 Successfully built df618e69735c 17:11:35 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 17:11:41 8529a6b9a6be: Pull complete 17:11:41 45590311c82a: Pull complete 17:11:41 69ca0ff8b7b3: Pull complete 17:11:46 209524e5b208: Pull complete 17:11:46 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 17:11:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 17:11:46 ---> 5bddaf1c2fca 17:11:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:11:48 ---> Running in ba22e9b5695b 17:11:48 Removing intermediate container ba22e9b5695b 17:11:48 ---> 4faab30758fc 17:11:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:11:48 ---> Running in e44b132ec1b7 17:11:51 Still waiting to schedule task 17:11:51 All nodes of label ‘ubuntu18.04-docker-8c-8g’ are offline 17:11:52 Removing intermediate container e44b132ec1b7 17:11:52 ---> 4f45140c1bdf 17:11:52 Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash 17:11:52 ---> Running in 58e8c889537f 17:11:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:11:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:11:55 (1/6) Installing libc-dev (0.7.2-r3) 17:11:56 (2/6) Installing libsodium (1.0.18-r0) 17:11:56 (3/6) Installing pkgconf (1.7.2-r0) 17:11:56 (4/6) Installing libsodium-dev (1.0.18-r0) 17:11:56 (5/6) Installing libzmq (4.3.3-r0) 17:11:56 (6/6) Installing zeromq-dev (4.3.3-r0) 17:11:56 Executing busybox-1.31.1-r16.trigger 17:11:56 OK: 144 MiB in 45 packages 17:11:58 Removing intermediate container 58e8c889537f 17:11:58 ---> e1c9d345909c 17:11:58 Step 6/8 : WORKDIR /app 17:11:58 ---> Running in 544fceafaafc 17:11:58 Removing intermediate container 544fceafaafc 17:11:58 ---> 22676be91c9b 17:11:58 Step 7/8 : COPY . . 17:11:59 ---> 97d4ee21ec2c 17:11:59 Step 8/8 : RUN go mod download 17:11:59 ---> Running in ca608632aae0 17:12:31 Removing intermediate container ca608632aae0 17:12:31 ---> 2b15571050fd 17:12:31 Successfully built 2b15571050fd 17:12:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:12:32 + docker inspect -f . ci-base-image-arm64 17:12:32 . [Pipeline] withDockerContainer 17:12:32 prd-ubuntu18.04-docker-arm64-4c-16g-9185 does not seem to be running inside a container 17:12:32 $ 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 17:12:34 $ docker top 49681b69edfa454407e135a4b1c7519c831efb2b0b7faa649dec98ee1e4f6986 -eo pid,comm [Pipeline] { [Pipeline] sh 17:12:36 + go version 17:12:36 go version go1.15.2 linux/arm64 [Pipeline] } 17:12:36 $ docker stop --time=1 49681b69edfa454407e135a4b1c7519c831efb2b0b7faa649dec98ee1e4f6986 17:12:38 $ docker rm -f 49681b69edfa454407e135a4b1c7519c831efb2b0b7faa649dec98ee1e4f6986 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:12:39 + docker inspect -f . ci-base-image-arm64 17:12:39 . [Pipeline] withDockerContainer 17:12:39 prd-ubuntu18.04-docker-arm64-4c-16g-9185 does not seem to be running inside a container 17:12:39 $ 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 17:12:41 $ docker top 570d175f639601dd006f4b8006d4f53cb7e632ca4dc951efaac1d58499014fd1 -eo pid,comm [Pipeline] { [Pipeline] sh 17:12:42 + make test 17:12:42 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 17:12:49 Running on prd-ubuntu18.04-docker-8c-8g-9188 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws 17:12:49 Running in /w/workspace/app-service-configurable/17 [Pipeline] { [Pipeline] checkout 17:12:51 using credential edgex-jenkins-ssh 17:12:51 Cloning the remote Git repository 17:12:52 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 17:12:52 > git init /w/workspace/app-service-configurable/17 # timeout=10 17:12:52 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:12:52 > git --version # timeout=10 17:12:52 > git --version # 'git version 2.17.1' 17:12:52 using GIT_SSH to set credentials SSH Credentials for GitHub 17:12:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:12:52 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:12:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:12:52 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:12:52 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:12:52 using GIT_SSH to set credentials SSH Credentials for GitHub 17:12:52 > 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 17:12:53 Merging remotes/origin/master commit 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 into PR head commit d2bb64093145e97ba0d06667bcc6498e707e8b63 17:12:53 Merge succeeded, producing 768e5b54d74a7eb73e8903cb2ff8a54e98b6e9c3 17:12:53 Checking out Revision 768e5b54d74a7eb73e8903cb2ff8a54e98b6e9c3 (PR-124) 17:12:53 > git config core.sparsecheckout # timeout=10 17:12:53 > git checkout -f d2bb64093145e97ba0d06667bcc6498e707e8b63 # timeout=10 17:12:53 > git remote # timeout=10 17:12:53 > git config --get remote.origin.url # timeout=10 17:12:53 using GIT_SSH to set credentials SSH Credentials for GitHub 17:12:53 > git merge 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 # timeout=10 17:12:53 > git rev-parse HEAD^{commit} # timeout=10 17:12:53 > git config core.sparsecheckout # timeout=10 17:12:53 > git checkout -f 768e5b54d74a7eb73e8903cb2ff8a54e98b6e9c3 # timeout=10 17:12:56 Commit message: "Merge commit '6aed5cde4d38e364b7def40f9e6b4d8e988d4e17' into HEAD" 17:12:56 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:12:57 > git rev-list --no-walk 2b71910c183cf0f434fb83f9adaad7bf20289b21 # timeout=10 17:12:58 + echo snap-build.sh 17:12:58 snap-build.sh 17:12:58 + SNAP_BASE_DIR=. 17:12:58 + '[' '!' -z /w/workspace/app-service-configurable/17 ']' 17:12:58 + SNAP_BASE_DIR=/w/workspace/app-service-configurable/17 17:12:58 + echo '[snap-build] Building snap in dir [/w/workspace/app-service-configurable/17]' 17:12:58 [snap-build] Building snap in dir [/w/workspace/app-service-configurable/17] 17:12:58 + sudo apt-get update 17:12:58 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 17:12:58 Get:2 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic InRelease [15.9 kB] 17:12:58 Get:3 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB] 17:12:58 Hit:4 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic InRelease 17:12:58 Get:5 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 17:12:58 Get:6 http://apt.puppetlabs.com xenial InRelease [101 kB] 17:12:58 Get:7 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1399 kB] 17:12:58 Get:8 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 17:12:58 Get:9 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [276 kB] 17:12:58 Get:10 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [166 kB] 17:12:58 Get:11 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [22.1 kB] 17:12:58 Get:12 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1079 kB] 17:12:58 Get:13 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [241 kB] 17:12:58 Get:14 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [12.9 kB] 17:12:58 Get:15 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [2964 B] 17:12:58 Hit:16 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic InRelease 17:12:58 Get:17 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1725 kB] 17:12:58 Get:18 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic/main amd64 Packages [824 B] 17:12:58 Get:19 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [367 kB] 17:12:58 Get:20 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [184 kB] 17:12:58 Get:21 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [24.6 kB] 17:12:58 Get:22 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1680 kB] 17:12:58 Get:23 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [354 kB] 17:12:58 Get:24 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [31.9 kB] 17:12:58 Get:25 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [6980 B] 17:12:58 Get:26 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [10.0 kB] 17:12:58 Get:27 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [10.3 kB] 17:12:59 Get:28 http://apt.puppetlabs.com xenial/puppet all Packages [22.7 kB] 17:12:59 Get:29 http://apt.puppetlabs.com xenial/puppet amd64 Packages [56.2 kB] 17:13:03 Fetched 8105 kB in 2s (3937 kB/s) 17:13:04 Reading package lists... 17:13:04 + sudo apt-get install -y snapd expect 17:13:04 Reading package lists... 17:13:04 Building dependency tree... 17:13:04 Reading state information... 17:13:04 The following packages were automatically installed and are no longer required: 17:13:04 grub-pc-bin libdumbnet1 17:13:04 Use 'sudo apt autoremove' to remove them. 17:13:04 The following additional packages will be installed: 17:13:04 tcl-expect 17:13:04 Suggested packages: 17:13:04 zenity | kdialog 17:13:04 The following NEW packages will be installed: 17:13:04 expect tcl-expect 17:13:04 The following packages will be upgraded: 17:13:04 snapd 17:13:05 1 upgraded, 2 newly installed, 0 to remove and 50 not upgraded. 17:13:05 Need to get 21.1 MB of archives. 17:13:05 After this operation, 3649 kB of additional disk space will be used. 17:13:05 Get:1 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic/universe amd64 tcl-expect amd64 5.45.4-1 [105 kB] 17:13:05 Get:2 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic/universe amd64 expect amd64 5.45.4-1 [137 kB] 17:13:05 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] 17:13:07 debconf: unable to initialize frontend: Dialog 17:13:07 debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) 17:13:07 debconf: falling back to frontend: Readline 17:13:07 debconf: unable to initialize frontend: Readline 17:13:07 debconf: (This frontend requires a controlling tty.) 17:13:07 debconf: falling back to frontend: Teletype 17:13:07 dpkg-preconfigure: unable to re-open stdin: 17:13:07 Fetched 21.1 MB in 2s (11.5 MB/s) 17:13:07 Selecting previously unselected package tcl-expect:amd64. 17:13:07 (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.) 17:13:07 Preparing to unpack .../tcl-expect_5.45.4-1_amd64.deb ... 17:13:07 Unpacking tcl-expect:amd64 (5.45.4-1) ... 17:13:08 Selecting previously unselected package expect. 17:13:08 Preparing to unpack .../expect_5.45.4-1_amd64.deb ... 17:13:08 Unpacking expect (5.45.4-1) ... 17:13:08 Preparing to unpack .../snapd_2.47.1+18.04_amd64.deb ... 17:13:08 Unpacking snapd (2.47.1+18.04) over (2.46.1+18.04) ... 17:13:10 Setting up snapd (2.47.1+18.04) ... 17:13:10 Installing new version of config file /etc/apparmor.d/usr.lib.snapd.snap-confine.real ... 17:13:13 snapd.failure.service is a disabled or a static unit, not starting it. 17:13:13 snapd.snap-repair.service is a disabled or a static unit, not starting it. 17:13:13 Setting up tcl-expect:amd64 (5.45.4-1) ... 17:13:13 Setting up expect (5.45.4-1) ... 17:13:13 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 17:13:13 Processing triggers for man-db (2.8.3-2ubuntu0.1) ... 17:13:15 Processing triggers for dbus (1.12.2-1ubuntu1.2) ... 17:13:15 Processing triggers for mime-support (3.60ubuntu1) ... 17:13:17 + sudo snap install --classic snapcraft 17:13:25 2020-10-27T17:13:24Z INFO Waiting for automatic snapd restart... 17:13:37 snapcraft 4.3 from Canonical* installed 17:13:37 + '[' -f snap/local/patches/0001-optimize-build-for-pipeline-CI-check.patch ']' 17:13:37 + pushd /w/workspace/app-service-configurable/17 17:13:37 + unbuffer snapcraft clean 17:13:37 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] } 17:13:39 Failed in branch amd64 17:13:39 ? github.com/edgexfoundry/app-service-configurable [no test files] 17:13:39 CGO_ENABLED=1 go vet ./... 17:13:49 gofmt -l . 17:13:49 [ "`gofmt -l .`" = "" ] 17:13:49 ./bin/test-go-mod-tidy.sh 17:13:49 ./bin/test-attribution-txt.sh [Pipeline] stash 17:13:50 Warning: overwriting stash ‘coverage-report’ 17:13:51 Stashed 1 file(s) [Pipeline] } 17:13:51 $ docker stop --time=1 570d175f639601dd006f4b8006d4f53cb7e632ca4dc951efaac1d58499014fd1 17:13:53 $ docker rm -f 570d175f639601dd006f4b8006d4f53cb7e632ca4dc951efaac1d58499014fd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:13:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:13:55 + ls -al . 17:13:55 total 120 17:13:55 drwxrwxr-x 7 jenkins jenkins 4096 Oct 27 17:13 . 17:13:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 17:11 .. 17:13:55 -rw-rw-r-- 1 jenkins jenkins 119 Oct 27 17:11 .dockerignore 17:13:55 drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 17:11 .git 17:13:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 17:11 .github 17:13:55 -rw-rw-r-- 1 jenkins jenkins 93 Oct 27 17:11 .gitignore 17:13:55 -rw-rw-r-- 1 jenkins jenkins 6568 Oct 27 17:11 Attribution.txt 17:13:55 -rw-rw-r-- 1 jenkins jenkins 2002 Oct 27 17:11 Dockerfile 17:13:55 -rw-rw-r-- 1 jenkins jenkins 966 Oct 27 17:11 Dockerfile.build 17:13:55 -rw-rw-r-- 1 jenkins jenkins 766 Oct 27 17:11 Jenkinsfile 17:13:55 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 27 17:11 LICENSE 17:13:55 -rw-rw-r-- 1 jenkins jenkins 1277 Oct 27 17:11 README.md 17:13:55 -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 17:08 VERSION 17:13:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 17:11 bin 17:13:55 -rw-r--r-- 1 jenkins jenkins 10 Oct 27 17:12 coverage.out 17:13:55 -rw-rw-r-- 1 jenkins jenkins 180 Oct 27 17:11 docker-compose.debug.yml 17:13:55 -rw-rw-r-- 1 jenkins jenkins 133 Oct 27 17:11 docker-compose.yml 17:13:55 -rw-r--r-- 1 jenkins jenkins 133 Oct 27 17:13 go.mod 17:13:55 -rw-r--r-- 1 jenkins jenkins 19860 Oct 27 17:13 go.sum 17:13:55 -rw-rw-r-- 1 jenkins jenkins 1519 Oct 27 17:11 main.go 17:13:55 -rw-rw-r-- 1 jenkins jenkins 1573 Oct 27 17:11 makefile 17:13:55 drwxrwxr-x 10 jenkins jenkins 4096 Oct 27 17:11 res 17:13:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 17:11 snap [Pipeline] isUnix [Pipeline] sh 17:13:56 + 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 . 17:13:56 Sending build context to Docker daemon 120.8kB 17:13:56 Step 1/27 : ARG BASE=golang:1.15-alpine 17:13:56 Step 2/27 : FROM ${BASE} AS builder 17:13:56 ---> 2b15571050fd 17:13:56 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:13:56 ---> Running in 206f0e760fb7 17:13:57 Removing intermediate container 206f0e760fb7 17:13:57 ---> 3d91b5c74fc1 17:13:57 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 17:13:57 ---> Running in 2ba28b2e54f5 17:13:58 Removing intermediate container 2ba28b2e54f5 17:13:58 ---> 89494252cd85 17:13:58 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:13:58 ---> Running in fd54d2bff4d0 17:13:58 Removing intermediate container fd54d2bff4d0 17:13:58 ---> 931687917309 17:13:58 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:13:58 ---> Running in 9a75c98ed96a 17:14:01 Removing intermediate container 9a75c98ed96a 17:14:01 ---> 7bc7107682f4 17:14:01 Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:14:01 ---> Running in 2c0b9bb5550f 17:14:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:14:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:14:04 OK: 144 MiB in 45 packages 17:14:06 Removing intermediate container 2c0b9bb5550f 17:14:06 ---> eb2e6fc910cd 17:14:06 Step 8/27 : WORKDIR /app 17:14:06 ---> Running in 889ceb925a04 17:14:06 Removing intermediate container 889ceb925a04 17:14:06 ---> 248d76bf3b0b 17:14:06 Step 9/27 : COPY go.mod . 17:14:06 ---> f9f54d5bc65d 17:14:06 Step 10/27 : RUN go mod download 17:14:07 ---> Running in 765fb5fc7a9c 17:14:09 Removing intermediate container 765fb5fc7a9c 17:14:09 ---> 6609101fa507 17:14:09 Step 11/27 : COPY . . 17:14:10 ---> cfe73ca29d26 17:14:10 Step 12/27 : ARG MAKE="make build" 17:14:10 ---> Running in eee5ab8660f4 17:14:11 Removing intermediate container eee5ab8660f4 17:14:11 ---> fd683ccad8ba 17:14:11 Step 13/27 : RUN $MAKE 17:14:11 ---> Running in b0532149de30 17:14:12 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 17:15:09 Removing intermediate container b0532149de30 17:15:09 ---> 27f8d95c67bc 17:15:09 Step 14/27 : FROM alpine:latest 17:15:09 latest: Pulling from library/alpine 17:15:09 5f621e34cdf4: Pulling fs layer 17:15:09 5f621e34cdf4: Verifying Checksum 17:15:09 5f621e34cdf4: Download complete 17:15:09 5f621e34cdf4: Pull complete 17:15:09 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 17:15:09 Status: Downloaded newer image for alpine:latest 17:15:09 ---> 2e77e061c27f 17:15:09 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:15:09 ---> Running in 04619261a81c 17:15:09 Removing intermediate container 04619261a81c 17:15:09 ---> 7e7a3a288286 17:15:09 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 17:15:09 ---> Running in eecebab9bd15 17:15:09 Removing intermediate container eecebab9bd15 17:15:09 ---> b95db049c219 17:15:09 Step 17/27 : RUN apk --no-cache add ca-certificates zeromq 17:15:09 ---> Running in 30b0c845720b 17:15:09 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:15:09 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:15:09 (1/6) Installing ca-certificates (20191127-r4) 17:15:09 (2/6) Installing libgcc (9.3.0-r2) 17:15:09 (3/6) Installing libsodium (1.0.18-r0) 17:15:09 (4/6) Installing libstdc++ (9.3.0-r2) 17:15:09 (5/6) Installing libzmq (4.3.3-r0) 17:15:09 (6/6) Installing zeromq (4.3.3-r0) 17:15:09 Executing busybox-1.31.1-r19.trigger 17:15:09 Executing ca-certificates-20191127-r4.trigger 17:15:09 OK: 9 MiB in 20 packages 17:15:09 Removing intermediate container 30b0c845720b 17:15:09 ---> 9ee585240430 17:15:09 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:15:10 ---> 1af149d134cd 17:15:10 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 17:15:10 ---> 3af4c5536e0b 17:15:10 Step 20/27 : COPY --from=builder /app/res/ /res/ 17:15:11 ---> 4dc66b0078d6 17:15:11 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 17:15:13 ---> 114e81f20297 17:15:13 Step 22/27 : EXPOSE 48095 17:15:13 ---> Running in a9ae315bcf63 17:15:13 Removing intermediate container a9ae315bcf63 17:15:13 ---> cf8770719eb2 17:15:13 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 17:15:13 ---> Running in 83843d80f261 17:15:14 Removing intermediate container 83843d80f261 17:15:14 ---> 24b2232db8d2 17:15:14 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:15:14 ---> Running in 5e43abfdb8d3 17:15:14 Removing intermediate container 5e43abfdb8d3 17:15:14 ---> 02abed9d0b2a 17:15:14 Step 25/27 : LABEL arch=arm64 17:15:14 ---> Running in eaafd27a16cc 17:15:15 Removing intermediate container eaafd27a16cc 17:15:15 ---> 7310de6dbe7c 17:15:15 Step 26/27 : LABEL git_sha=8d415b9becdc3b8f1189f5b95123b970724b7fb2 17:15:15 ---> Running in 8e0ea4bc974d 17:15:15 Removing intermediate container 8e0ea4bc974d 17:15:15 ---> 4594098d64df 17:15:15 Step 27/27 : LABEL version=0.0.0 17:15:15 ---> Running in 3b16e919ceb1 17:15:16 Removing intermediate container 3b16e919ceb1 17:15:16 ---> 5c43df2cc01d 17:15:16 [Warning] One or more build-args [ARCH] were not consumed 17:15:16 Successfully built 5c43df2cc01d 17:15:16 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 17:15:33 Still waiting to schedule task 17:15:33 All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline 17:17:06 Running on prd-ubuntu18.04-docker-arm64-16c-16g-9189 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws 17:17:06 Running in /w/workspace/app-service-configurable/17 [Pipeline] { [Pipeline] checkout 17:17:10 using credential edgex-jenkins-ssh 17:17:10 Cloning the remote Git repository 17:17:10 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 17:17:10 > git init /w/workspace/app-service-configurable/17 # timeout=10 17:17:10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:17:10 > git --version # timeout=10 17:17:10 > git --version # 'git version 2.17.1' 17:17:10 using GIT_SSH to set credentials SSH Credentials for GitHub 17:17:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:17:12 Merging remotes/origin/master commit 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 into PR head commit d2bb64093145e97ba0d06667bcc6498e707e8b63 17:17:12 Merge succeeded, producing 7e3a8a8506dfd030363ab1a1591e1758996a9249 17:17:12 Checking out Revision 7e3a8a8506dfd030363ab1a1591e1758996a9249 (PR-124) 17:17:11 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:17:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:17:11 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:17:11 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:17:11 using GIT_SSH to set credentials SSH Credentials for GitHub 17:17:11 > 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 17:17:12 > git config core.sparsecheckout # timeout=10 17:17:12 > git checkout -f d2bb64093145e97ba0d06667bcc6498e707e8b63 # timeout=10 17:17:12 > git remote # timeout=10 17:17:12 > git config --get remote.origin.url # timeout=10 17:17:12 using GIT_SSH to set credentials SSH Credentials for GitHub 17:17:12 > git merge 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 # timeout=10 17:17:12 > git rev-parse HEAD^{commit} # timeout=10 17:17:12 > git config core.sparsecheckout # timeout=10 17:17:12 > git checkout -f 7e3a8a8506dfd030363ab1a1591e1758996a9249 # timeout=10 17:17:16 Commit message: "Merge commit '6aed5cde4d38e364b7def40f9e6b4d8e988d4e17' into HEAD" 17:17:16 First time build. Skipping changelog. 17:17:16 > git rev-list --no-walk 2b71910c183cf0f434fb83f9adaad7bf20289b21 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:17:18 + echo snap-build.sh 17:17:18 snap-build.sh 17:17:18 + SNAP_BASE_DIR=. 17:17:18 + '[' '!' -z /w/workspace/app-service-configurable/17 ']' 17:17:18 + SNAP_BASE_DIR=/w/workspace/app-service-configurable/17 17:17:18 + echo '[snap-build] Building snap in dir [/w/workspace/app-service-configurable/17]' 17:17:18 [snap-build] Building snap in dir [/w/workspace/app-service-configurable/17] 17:17:18 + sudo apt-get update 17:17:18 Hit:1 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic InRelease 17:17:18 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 17:17:18 Get:3 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic InRelease [15.9 kB] 17:17:18 Get:4 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB] 17:17:18 Get:5 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 17:17:18 Get:6 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic InRelease [15.4 kB] 17:17:18 Get:7 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 17:17:19 Get:8 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic/main arm64 Packages [824 B] 17:17:19 Get:9 https://download.docker.com/linux/ubuntu bionic/stable arm64 Packages [12.9 kB] 17:17:19 Get:10 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic/main Translation-en [476 B] 17:17:19 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [825 kB] 17:17:20 Get:12 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1119 kB] 17:17:20 Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-security/main Translation-en [276 kB] 17:17:20 Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted arm64 Packages [1172 B] 17:17:20 Get:15 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted Translation-en [22.1 kB] 17:17:20 Get:16 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [942 kB] 17:17:20 Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe Translation-en [241 kB] 17:17:20 Get:18 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse arm64 Packages [2360 B] 17:17:20 Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse Translation-en [2964 B] 17:17:20 Get:20 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main Translation-en [367 kB] 17:17:20 Get:21 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [2088 B] 17:17:20 Get:22 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/restricted Translation-en [24.6 kB] 17:17:20 Get:23 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1479 kB] 17:17:20 Get:24 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/universe Translation-en [354 kB] 17:17:20 Get:25 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic/main arm64 Packages [9340 B] 17:17:20 Get:26 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [5072 B] 17:17:20 Get:27 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse Translation-en [6980 B] 17:17:20 Get:28 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [9992 B] 17:17:20 Get:29 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic/main Translation-en [1360 B] 17:17:20 Get:30 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports/main Translation-en [4764 B] 17:17:20 Get:31 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [9932 B] 17:17:20 Get:32 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports/universe Translation-en [4588 B] 17:17:33 Fetched 6071 kB in 4s (1353 kB/s) 17:17:36 Reading package lists... 17:17:36 + sudo apt-get install -y snapd expect 17:17:36 Reading package lists... 17:17:37 Building dependency tree... 17:17:37 Reading state information... 17:17:38 The following additional packages will be installed: 17:17:38 tcl-expect 17:17:38 Suggested packages: 17:17:38 zenity | kdialog 17:17:38 The following NEW packages will be installed: 17:17:38 expect tcl-expect 17:17:38 The following packages will be upgraded: 17:17:38 snapd 17:17:39 1 upgraded, 2 newly installed, 0 to remove and 232 not upgraded. 17:17:39 Need to get 18.7 MB of archives. 17:17:39 After this operation, 35.6 MB of additional disk space will be used. 17:17:39 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] 17:17:39 Get:2 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic/universe arm64 expect arm64 5.45.4-1 [137 kB] 17:17:39 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] 17:17:42 debconf: unable to initialize frontend: Dialog 17:17:42 debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) 17:17:42 debconf: falling back to frontend: Readline 17:17:42 debconf: unable to initialize frontend: Readline 17:17:42 debconf: (This frontend requires a controlling tty.) 17:17:42 debconf: falling back to frontend: Teletype 17:17:42 dpkg-preconfigure: unable to re-open stdin: 17:17:42 Fetched 18.7 MB in 2s (9762 kB/s) 17:17:42 Selecting previously unselected package tcl-expect:arm64. 17:17:43 (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.) 17:17:44 Preparing to unpack .../tcl-expect_5.45.4-1_arm64.deb ... 17:17:44 Unpacking tcl-expect:arm64 (5.45.4-1) ... 17:17:44 Selecting previously unselected package expect. 17:17:44 Preparing to unpack .../expect_5.45.4-1_arm64.deb ... 17:17:44 Unpacking expect (5.45.4-1) ... 17:17:44 Preparing to unpack .../snapd_2.47.1+18.04_arm64.deb ... 17:17:45 Unpacking snapd (2.47.1+18.04) over (2.42.1+18.04) ... 17:17:51 Setting up snapd (2.47.1+18.04) ... 17:17:51 Installing new version of config file /etc/apparmor.d/usr.lib.snapd.snap-confine.real ... 17:17:51 Installing new version of config file /etc/profile.d/apps-bin-path.sh ... 17:17:52 Created symlink /etc/systemd/system/multi-user.target.wants/snapd.apparmor.service → /lib/systemd/system/snapd.apparmor.service. 17:17:54 Created symlink /etc/systemd/system/multi-user.target.wants/snapd.recovery-chooser-trigger.service → /lib/systemd/system/snapd.recovery-chooser-trigger.service. 17:17:58 snapd.failure.service is a disabled or a static unit, not starting it. 17:17:58 snapd.snap-repair.service is a disabled or a static unit, not starting it. 17:17:59 Setting up tcl-expect:arm64 (5.45.4-1) ... 17:17:59 Setting up expect (5.45.4-1) ... 17:17:59 Processing triggers for libc-bin (2.27-3ubuntu1) ... 17:17:59 Processing triggers for man-db (2.8.3-2ubuntu0.1) ... 17:18:02 Processing triggers for dbus (1.12.2-1ubuntu1.1) ... 17:18:02 Processing triggers for mime-support (3.60ubuntu1) ... 17:18:09 + sudo snap install --classic snapcraft 17:18:27 2020-10-27T17:18:26Z INFO Waiting for automatic snapd restart... 17:19:00 snapcraft 4.3 from Canonical* installed 17:19:00 + '[' -f snap/local/patches/0001-optimize-build-for-pipeline-CI-check.patch ']' 17:19:00 + pushd /w/workspace/app-service-configurable/17 17:19:00 + unbuffer snapcraft clean 17:19:00 couldn't execute "snapcraft": no such file or directory 17:19:00 while executing 17:19:00 "spawn -noecho snapcraft clean" 17:19:00 ("eval" body line 1) 17:19:00 invoked from within 17:19:00 "eval [list spawn -noecho] $argv" 17:19:00 invoked from within 17:19:00 "if {[string compare [lindex $argv 0] "-p"] == 0} { 17:19:00 # pipeline 17:19:00 set stty_init "-echo" 17:19:00 eval [list spawn -noecho] [lrange $argv 1 end] 17:19:00 clo..." 17:19:00 (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] } 17:19:01 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 17:19:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:19:05 ---> package-listing.sh 17:19:05 ++ tr '[:upper:]' '[:lower:]' 17:19:05 ++ facter osfamily 17:19:05 + OS_FAMILY=redhat 17:19:05 + workspace=/w/workspace/_app-service-configurable_PR-124 17:19:05 + START_PACKAGES=/tmp/packages_start.txt 17:19:05 + END_PACKAGES=/tmp/packages_end.txt 17:19:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:19:05 + PACKAGES=/tmp/packages_start.txt 17:19:05 + '[' /w/workspace/_app-service-configurable_PR-124 ']' 17:19:05 + PACKAGES=/tmp/packages_end.txt 17:19:05 + case "${OS_FAMILY}" in 17:19:05 + rpm -qa 17:19:05 + sort 17:19:08 + '[' -f /tmp/packages_start.txt ']' 17:19:08 + '[' -f /tmp/packages_end.txt ']' 17:19:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:19:08 + '[' /w/workspace/_app-service-configurable_PR-124 ']' 17:19:08 + mkdir -p /w/workspace/_app-service-configurable_PR-124/archives/ 17:19:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-124/archives/ [Pipeline] echo 17:19:08 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 17:19:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:19:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:19:09 17:19:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:19:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:19:09 alpine: Pulling from edgex-lftools-log-publisher 17:19:09 df20fa9351a1: Pulling fs layer 17:19:09 36b3adc4ff6f: Pulling fs layer 17:19:09 8ad3a11d3b57: Pulling fs layer 17:19:09 46f8f816bc3b: Pulling fs layer 17:19:09 93b61091891f: Pulling fs layer 17:19:09 93b9cdb0e59b: Pulling fs layer 17:19:09 5e14af77c1be: Pulling fs layer 17:19:09 01666e4c0597: Pulling fs layer 17:19:09 aa168da1d23b: Pulling fs layer 17:19:09 93b9cdb0e59b: Waiting 17:19:09 46f8f816bc3b: Waiting 17:19:09 93b61091891f: Waiting 17:19:09 01666e4c0597: Waiting 17:19:09 5e14af77c1be: Waiting 17:19:09 aa168da1d23b: Waiting 17:19:09 36b3adc4ff6f: Verifying Checksum 17:19:09 36b3adc4ff6f: Download complete 17:19:09 46f8f816bc3b: Download complete 17:19:09 df20fa9351a1: Verifying Checksum 17:19:09 df20fa9351a1: Download complete 17:19:09 93b9cdb0e59b: Verifying Checksum 17:19:09 93b9cdb0e59b: Download complete 17:19:09 5e14af77c1be: Verifying Checksum 17:19:09 5e14af77c1be: Download complete 17:19:09 93b61091891f: Verifying Checksum 17:19:09 93b61091891f: Download complete 17:19:10 01666e4c0597: Verifying Checksum 17:19:10 01666e4c0597: Download complete 17:19:10 8ad3a11d3b57: Verifying Checksum 17:19:10 8ad3a11d3b57: Download complete 17:19:10 df20fa9351a1: Pull complete 17:19:10 36b3adc4ff6f: Pull complete 17:19:11 8ad3a11d3b57: Pull complete 17:19:11 46f8f816bc3b: Pull complete 17:19:11 93b61091891f: Pull complete 17:19:11 93b9cdb0e59b: Pull complete 17:19:12 aa168da1d23b: Verifying Checksum 17:19:12 aa168da1d23b: Download complete 17:19:12 5e14af77c1be: Pull complete 17:19:12 01666e4c0597: Pull complete 17:19:20 aa168da1d23b: Pull complete 17:19:20 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 17:19:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:19:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:19:20 prd-centos7-docker-4c-2g-9181 does not seem to be running inside a container 17:19:20 $ 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 17:19:23 $ docker top be64048893cf4f480e2db173c49dcaf3d73bcefdb6ff78240c262a21c9bbe837 -eo pid,comm [Pipeline] { [Pipeline] sh 17:19:23 + touch /tmp/pre-build-complete [Pipeline] sh 17:19:24 + mkdir -p /var/log/sa [Pipeline] sh 17:19:24 + ls /var/log/sa-host 17:19:24 + sadf -c /var/log/sa-host/sa05 17:19:24 file_magic: OK 17:19:24 HZ: Using current value: 100 17:19:24 file_header: OK 17:19:24 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 17:19:24 Statistics: 17:19:24 Hnuu...uuuununununu...Hnuu...uuuununununu... 17:19:24 File successfully converted to sysstat format version 12.2.1 17:19:24 + sadf -c /var/log/sa-host/sa27 17:19:24 file_magic: OK 17:19:24 HZ: Using current value: 100 17:19:24 file_header: OK 17:19:24 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 17:19:24 Statistics: 17:19:24 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:19:24 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:19:24 provisioning config files... 17:19:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-124@tmp/config2630481966943253956tmp [Pipeline] { [Pipeline] echo 17:19:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:19:25 ---> create-netrc.sh [Pipeline] } 17:19:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 17:19:25 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 17:19:25 ---> python-tools-install.sh [Pipeline] echo 17:19:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:19:25 ---> sudo-logs.sh 17:19:25 Archiving 'sudo' log.. [Pipeline] echo 17:19:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:19:26 ---> job-cost.sh 17:19:26 lf-activate-venv: SKIPPING 17:19:26 INFO: No Stack... 17:19:27 INFO: Retrieving Pricing Info for: v1-standard-2 17:19:27 INFO: Archiving Costs [Pipeline] echo 17:19:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:19:28 ---> logs-deploy.sh 17:19:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-124/17 17:19:28 INFO: archiving workspace using pattern(s): 17:19:29 Archives upload complete. 17:19:29 INFO: archiving logs to Nexus