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 56afee60f47744720baa836efc6be2ae9b07808d+36f96dc01f0f062f25a64d6a8a14201b3aa7f12a (95781af2c48257f249bfe3504b7860eeb11fa145) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@159edb943e95985edc301876a10a671138d0d622 Attempting to resolve 159edb943e95985edc301876a10a671138d0d622 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 159edb943e95985edc301876a10a671138d0d622 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 159edb943e95985edc301876a10a671138d0d622^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains 159edb943e95985edc301876a10a671138d0d622 # timeout=10 Selected match: pr/264/head revision 159edb943e95985edc301876a10a671138d0d622 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 159edb943e95985edc301876a10a671138d0d622 (pr/264/head) > git config core.sparsecheckout # timeout=10 > git checkout -f 159edb943e95985edc301876a10a671138d0d622 # 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 ‘prd-centos7-builder-2c-1g-9011’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-9012’ is offline; ‘prd-centos7-docker-4c-2g-9015’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6371’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-8998’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-9014’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-9017 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 36f96dc01f0f062f25a64d6a8a14201b3aa7f12a into PR head commit 56afee60f47744720baa836efc6be2ae9b07808d > 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 56afee60f47744720baa836efc6be2ae9b07808d # timeout=10 Merge succeeded, producing f2e565f1610ec8fd4223ca17c219d0fa5c7238c7 Checking out Revision f2e565f1610ec8fd4223ca17c219d0fa5c7238c7 (PR-124) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 36f96dc01f0f062f25a64d6a8a14201b3aa7f12a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2e565f1610ec8fd4223ca17c219d0fa5c7238c7 # timeout=10 Commit message: "Merge commit '36f96dc01f0f062f25a64d6a8a14201b3aa7f12a' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-26T23:10:57.114Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-26T23:10:57.352Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-26T23:10:57.463Z] ========================================================= [2020-10-26T23:10:57.463Z] EdgeX Global Pipelines Version Info [2020-10-26T23:10:57.463Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ce34c79cf5f08ae78959e83a603cdd0ab134b168 # timeout=10 [2020-10-26T23:10:59.455Z] ------------------- [2020-10-26T23:10:59.455Z] stable info: [2020-10-26T23:10:59.455Z] ------------------- [2020-10-26T23:10:59.455Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-26T23:10:59.455Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-26T23:10:59.455Z] Message: update stable to v1.0.148 [2020-10-26T23:11:00.405Z] ------------------- [2020-10-26T23:11:00.405Z] experimental info: [2020-10-26T23:11:00.405Z] ------------------- [2020-10-26T23:11:00.405Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-26T23:11:00.405Z] Commit SHA: 2701555fd48d7f7017006eef04e32eb767bac8dc [2020-10-26T23:11:00.405Z] Message: update experimental to v1.0.151 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-26T23:11:00.799Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2020-10-26T23:11:00.895Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2020-10-26T23:11:00.989Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-26T23:11:01.091Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-26T23:11:01.191Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-26T23:11:01.301Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-26T23:11:01.397Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-26T23:11:01.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-26T23:11:01.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-10-26T23:11:01.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-26T23:11:01.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-26T23:11:01.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-service-configurable [Pipeline] echo [2020-10-26T23:11:01.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-26T23:11:02.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-26T23:11:02.141Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-26T23:11:02.229Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-10-26T23:11:02.314Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-26T23:11:02.420Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-26T23:11:02.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-26T23:11:02.691Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-10-26T23:11:02.777Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-26T23:11:02.883Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-26T23:11:02.979Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-26T23:11:03.068Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-26T23:11:03.157Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-26T23:11:03.271Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-124 [Pipeline] echo [2020-10-26T23:11:03.359Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-124 [Pipeline] echo [2020-10-26T23:11:03.461Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-124 [Pipeline] echo [2020-10-26T23:11:03.550Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f2e565f1610ec8fd4223ca17c219d0fa5c7238c7 [Pipeline] echo [2020-10-26T23:11:03.715Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f2e565f [Pipeline] echo [2020-10-26T23:11:03.799Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-26T23:11:04.497Z] + git log --format=format:%s -1 f2e565f1610ec8fd4223ca17c219d0fa5c7238c7 [Pipeline] echo [2020-10-26T23:11:04.572Z] GIT_COMMIT: f2e565f1610ec8fd4223ca17c219d0fa5c7238c7, Commit Message: Merge commit '36f96dc01f0f062f25a64d6a8a14201b3aa7f12a' into HEAD [Pipeline] echo [2020-10-26T23:11:04.652Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-26T23:11:05.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-26T23:11:05.489Z] [2020-10-26T23:11:05.490Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-26T23:11:05.849Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-26T23:11:05.849Z] latest: Pulling from edgex-devops/git-semver [2020-10-26T23:11:05.849Z] 31603596830f: Pulling fs layer [2020-10-26T23:11:05.849Z] 2a8b12db71e7: Pulling fs layer [2020-10-26T23:11:05.849Z] 6ca5941a6612: Pulling fs layer [2020-10-26T23:11:05.849Z] ecc8261a40a4: Pulling fs layer [2020-10-26T23:11:05.849Z] ecc8261a40a4: Waiting [2020-10-26T23:11:05.849Z] 2a8b12db71e7: Verifying Checksum [2020-10-26T23:11:05.849Z] 2a8b12db71e7: Download complete [2020-10-26T23:11:06.118Z] 31603596830f: Verifying Checksum [2020-10-26T23:11:06.118Z] 31603596830f: Download complete [2020-10-26T23:11:06.118Z] 6ca5941a6612: Verifying Checksum [2020-10-26T23:11:06.118Z] 6ca5941a6612: Download complete [2020-10-26T23:11:06.118Z] ecc8261a40a4: Verifying Checksum [2020-10-26T23:11:06.118Z] ecc8261a40a4: Download complete [2020-10-26T23:11:06.383Z] 31603596830f: Pull complete [2020-10-26T23:11:06.383Z] 2a8b12db71e7: Pull complete [2020-10-26T23:11:07.339Z] 6ca5941a6612: Pull complete [2020-10-26T23:11:07.605Z] ecc8261a40a4: Pull complete [2020-10-26T23:11:07.605Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-26T23:11:07.605Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-26T23:11:07.605Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-26T23:11:07.712Z] prd-centos7-docker-4c-2g-9017 does not seem to be running inside a container [2020-10-26T23:11:07.764Z] $ 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-26T23:11:10.101Z] $ docker top a9263a045cf4912b2b38ca3cbc4d0d04e235933565c53e40bf5e56d180f1d848 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-26T23:11:10.422Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-26T23:11:10.422Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-26T23:11:10.649Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-26T23:11:10.653Z] $ docker exec a9263a045cf4912b2b38ca3cbc4d0d04e235933565c53e40bf5e56d180f1d848 ssh-agent [2020-10-26T23:11:10.838Z] SSH_AUTH_SOCK=/tmp/ssh-TA97Kec2OXm9/agent.12 [2020-10-26T23:11:10.838Z] SSH_AGENT_PID=17 [2020-10-26T23:11:10.854Z] Running ssh-add (command line suppressed) [2020-10-26T23:11:10.981Z] Identity added: /w/workspace/_app-service-configurable_PR-124@tmp/private_key_2184434346465500013.key (/w/workspace/_app-service-configurable_PR-124@tmp/private_key_2184434346465500013.key) [2020-10-26T23:11:11.035Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-26T23:11:11.379Z] + git tag --points-at HEAD [Pipeline] } [2020-10-26T23:11:11.402Z] $ docker exec --env ******** --env ******** a9263a045cf4912b2b38ca3cbc4d0d04e235933565c53e40bf5e56d180f1d848 ssh-agent -k [2020-10-26T23:11:11.518Z] unset SSH_AUTH_SOCK; [2020-10-26T23:11:11.519Z] unset SSH_AGENT_PID; [2020-10-26T23:11:11.519Z] echo Agent pid 17 killed; [2020-10-26T23:11:11.564Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-26T23:11:11.701Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-26T23:11:11.701Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-26T23:11:11.867Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-26T23:11:11.871Z] $ docker exec a9263a045cf4912b2b38ca3cbc4d0d04e235933565c53e40bf5e56d180f1d848 ssh-agent [2020-10-26T23:11:12.037Z] SSH_AUTH_SOCK=/tmp/ssh-Ii4bxZyaPLPY/agent.47 [2020-10-26T23:11:12.037Z] SSH_AGENT_PID=52 [2020-10-26T23:11:12.044Z] Running ssh-add (command line suppressed) [2020-10-26T23:11:12.167Z] Identity added: /w/workspace/_app-service-configurable_PR-124@tmp/private_key_4515840554868857355.key (/w/workspace/_app-service-configurable_PR-124@tmp/private_key_4515840554868857355.key) [2020-10-26T23:11:12.218Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-26T23:11:12.554Z] + git semver init [2020-10-26T23:11:12.554Z] # -> Open(): unable to determine branch for HEAD [2020-10-26T23:11:12.554Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-124/.git [2020-10-26T23:11:12.554Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-124 [2020-10-26T23:11:12.554Z] # $SEMVER_REMOTE_NAME = origin [2020-10-26T23:11:12.554Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-26T23:11:12.554Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-26T23:11:12.554Z] # $SEMVER_BRANCH = PR-124 [2020-10-26T23:11:12.554Z] # $SEMVER_TEMP = /tmp/semver-175200045 [2020-10-26T23:11:12.554Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2020-10-26T23:11:13.129Z] # '/tmp/semver-175200045' -> '/w/workspace/_app-service-configurable_PR-124/.semver' [2020-10-26T23:11:13.129Z] # -> Force: false [2020-10-26T23:11:13.129Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-124/.semver [Pipeline] } [2020-10-26T23:11:13.142Z] $ docker exec --env ******** --env ******** a9263a045cf4912b2b38ca3cbc4d0d04e235933565c53e40bf5e56d180f1d848 ssh-agent -k [2020-10-26T23:11:13.258Z] unset SSH_AUTH_SOCK; [2020-10-26T23:11:13.258Z] unset SSH_AGENT_PID; [2020-10-26T23:11:13.258Z] echo Agent pid 52 killed; [2020-10-26T23:11:13.312Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-26T23:11:13.837Z] + git semver [Pipeline] } [2020-10-26T23:11:13.856Z] $ docker stop --time=1 a9263a045cf4912b2b38ca3cbc4d0d04e235933565c53e40bf5e56d180f1d848 [2020-10-26T23:11:15.236Z] $ docker rm -f a9263a045cf4912b2b38ca3cbc4d0d04e235933565c53e40bf5e56d180f1d848 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-26T23:11:15.701Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-26T23:11:16.255Z] Stashed 1 file(s) [Pipeline] echo [2020-10-26T23:11:16.258Z] [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-26T23:11:31.750Z] Still waiting to schedule task [2020-10-26T23:11:31.750Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-26T23:11:31.752Z] Still waiting to schedule task [2020-10-26T23:11:31.753Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-26T23:14:23.125Z] Running on prd-centos7-docker-4c-2g-9018 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-26T23:14:23.190Z] Running in /w/workspace/app-service-configurable/12 [Pipeline] { [Pipeline] checkout [2020-10-26T23:14:26.835Z] using credential edgex-jenkins-ssh [2020-10-26T23:14:26.900Z] Cloning the remote Git repository [2020-10-26T23:14:26.932Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-26T23:14:27.002Z] > git init /w/workspace/app-service-configurable/12 # timeout=10 [2020-10-26T23:14:27.059Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-26T23:14:27.059Z] > git --version # timeout=10 [2020-10-26T23:14:27.069Z] > git --version # 'git version 2.16.5' [2020-10-26T23:14:27.069Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-26T23:14:27.099Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-26T23:14:27.697Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-26T23:14:27.705Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-26T23:14:27.718Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-26T23:14:27.733Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-26T23:14:27.733Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-26T23:14:27.738Z] > 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-26T23:14:28.188Z] Merging remotes/origin/master commit 36f96dc01f0f062f25a64d6a8a14201b3aa7f12a into PR head commit 56afee60f47744720baa836efc6be2ae9b07808d [2020-10-26T23:14:28.279Z] Merge succeeded, producing 48a8a05e06f028e5fe16cf9e976801738dbe0691 [2020-10-26T23:14:28.280Z] Checking out Revision 48a8a05e06f028e5fe16cf9e976801738dbe0691 (PR-124) [2020-10-26T23:14:28.199Z] > git config core.sparsecheckout # timeout=10 [2020-10-26T23:14:28.203Z] > git checkout -f 56afee60f47744720baa836efc6be2ae9b07808d # timeout=10 [2020-10-26T23:14:28.238Z] > git remote # timeout=10 [2020-10-26T23:14:28.246Z] > git config --get remote.origin.url # timeout=10 [2020-10-26T23:14:28.252Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-26T23:14:28.256Z] > git merge 36f96dc01f0f062f25a64d6a8a14201b3aa7f12a # timeout=10 [2020-10-26T23:14:28.275Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-26T23:14:28.285Z] > git config core.sparsecheckout # timeout=10 [2020-10-26T23:14:28.289Z] > git checkout -f 48a8a05e06f028e5fe16cf9e976801738dbe0691 # timeout=10 [2020-10-26T23:14:31.899Z] Commit message: "Merge commit '36f96dc01f0f062f25a64d6a8a14201b3aa7f12a' into HEAD" [2020-10-26T23:14:31.914Z] First time build. Skipping changelog. [2020-10-26T23:14:31.905Z] > git rev-list --no-walk ce34c79cf5f08ae78959e83a603cdd0ab134b168 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-26T23:14:32.818Z] ========================================================= [2020-10-26T23:14:32.818Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-26T23:14:32.818Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-26T23:14:33.586Z] + 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-26T23:14:33.586Z] Sending build context to Docker daemon 96.26kB [2020-10-26T23:14:33.853Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-26T23:14:33.853Z] Step 2/8 : FROM ${BASE} [2020-10-26T23:14:34.116Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-26T23:14:34.116Z] df20fa9351a1: Pulling fs layer [2020-10-26T23:14:34.116Z] ed8968b2872e: Pulling fs layer [2020-10-26T23:14:34.116Z] a92cc7c5fd73: Pulling fs layer [2020-10-26T23:14:34.116Z] e871e8e8d7a9: Pulling fs layer [2020-10-26T23:14:34.116Z] e73272ec9a57: Pulling fs layer [2020-10-26T23:14:34.116Z] 1e910a182e73: Pulling fs layer [2020-10-26T23:14:34.116Z] 4e634b169226: Pulling fs layer [2020-10-26T23:14:34.116Z] 1e910a182e73: Waiting [2020-10-26T23:14:34.116Z] e871e8e8d7a9: Waiting [2020-10-26T23:14:34.116Z] 4e634b169226: Waiting [2020-10-26T23:14:34.116Z] a92cc7c5fd73: Verifying Checksum [2020-10-26T23:14:34.116Z] a92cc7c5fd73: Download complete [2020-10-26T23:14:34.116Z] ed8968b2872e: Download complete [2020-10-26T23:14:34.116Z] e73272ec9a57: Verifying Checksum [2020-10-26T23:14:34.116Z] e73272ec9a57: Download complete [2020-10-26T23:14:34.695Z] df20fa9351a1: Verifying Checksum [2020-10-26T23:14:34.695Z] df20fa9351a1: Download complete [2020-10-26T23:14:34.695Z] 1e910a182e73: Verifying Checksum [2020-10-26T23:14:34.695Z] 1e910a182e73: Download complete [2020-10-26T23:14:34.961Z] df20fa9351a1: Pull complete [2020-10-26T23:14:35.226Z] ed8968b2872e: Pull complete [2020-10-26T23:14:35.226Z] a92cc7c5fd73: Pull complete [2020-10-26T23:14:36.177Z] 4e634b169226: Verifying Checksum [2020-10-26T23:14:36.177Z] 4e634b169226: Download complete [2020-10-26T23:14:37.138Z] e871e8e8d7a9: Verifying Checksum [2020-10-26T23:14:37.138Z] e871e8e8d7a9: Download complete [2020-10-26T23:14:43.815Z] e871e8e8d7a9: Pull complete [2020-10-26T23:14:43.815Z] e73272ec9a57: Pull complete [2020-10-26T23:14:43.815Z] 1e910a182e73: Pull complete [2020-10-26T23:14:48.060Z] 4e634b169226: Pull complete [2020-10-26T23:14:48.060Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-26T23:14:48.060Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-26T23:14:48.060Z] ---> f7629b54cfaa [2020-10-26T23:14:48.060Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-26T23:14:48.060Z] ---> Running in 2ed0e2fee18e [2020-10-26T23:14:48.325Z] Removing intermediate container 2ed0e2fee18e [2020-10-26T23:14:48.325Z] ---> 6ebb0b4cb30f [2020-10-26T23:14:48.325Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-26T23:14:48.325Z] ---> Running in 23c8ae0d46fa [2020-10-26T23:14:49.773Z] Removing intermediate container 23c8ae0d46fa [2020-10-26T23:14:49.773Z] ---> ef60c56e84f4 [2020-10-26T23:14:49.773Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-10-26T23:14:49.773Z] ---> Running in e84ca2892035 [2020-10-26T23:14:50.350Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-26T23:14:51.300Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-26T23:14:51.874Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-10-26T23:14:52.136Z] (2/6) Installing libsodium (1.0.18-r0) [2020-10-26T23:14:52.136Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-10-26T23:14:52.136Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-10-26T23:14:52.398Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-26T23:14:52.398Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-10-26T23:14:52.661Z] Executing busybox-1.31.1-r16.trigger [2020-10-26T23:14:52.661Z] OK: 167 MiB in 45 packages [2020-10-26T23:14:53.238Z] Removing intermediate container e84ca2892035 [2020-10-26T23:14:53.238Z] ---> 01cc8bacb21c [2020-10-26T23:14:53.238Z] Step 6/8 : WORKDIR /app [2020-10-26T23:14:53.238Z] ---> Running in 940923914f65 [2020-10-26T23:14:53.515Z] Removing intermediate container 940923914f65 [2020-10-26T23:14:53.515Z] ---> 4e13ea147a17 [2020-10-26T23:14:53.515Z] Step 7/8 : COPY . . [2020-10-26T23:14:53.779Z] ---> 9f5ca1736376 [2020-10-26T23:14:53.779Z] Step 8/8 : RUN go mod download [2020-10-26T23:14:53.779Z] ---> Running in fa84b65c297d [2020-10-26T23:15:11.808Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-9019 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-26T23:15:11.887Z] Running in /w/workspace/app-service-configurable/12 [Pipeline] { [Pipeline] checkout [2020-10-26T23:15:17.238Z] using credential edgex-jenkins-ssh [2020-10-26T23:15:17.303Z] Cloning the remote Git repository [2020-10-26T23:15:17.369Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-26T23:15:17.493Z] > git init /w/workspace/app-service-configurable/12 # timeout=10 [2020-10-26T23:15:17.565Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-26T23:15:17.565Z] > git --version # timeout=10 [2020-10-26T23:15:17.578Z] > git --version # 'git version 2.17.1' [2020-10-26T23:15:17.580Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-26T23:15:17.625Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-26T23:15:19.163Z] Merging remotes/origin/master commit 36f96dc01f0f062f25a64d6a8a14201b3aa7f12a into PR head commit 56afee60f47744720baa836efc6be2ae9b07808d [2020-10-26T23:15:19.453Z] Merge succeeded, producing 8c39ca9b1a8d4a8135027152fd5ade538081b0e0 [2020-10-26T23:15:19.454Z] Checking out Revision 8c39ca9b1a8d4a8135027152fd5ade538081b0e0 (PR-124) [2020-10-26T23:15:18.423Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-26T23:15:18.451Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-26T23:15:18.489Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-26T23:15:18.535Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-26T23:15:18.536Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-26T23:15:18.567Z] > 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-26T23:15:19.186Z] > git config core.sparsecheckout # timeout=10 [2020-10-26T23:15:19.200Z] > git checkout -f 56afee60f47744720baa836efc6be2ae9b07808d # timeout=10 [2020-10-26T23:15:19.287Z] > git remote # timeout=10 [2020-10-26T23:15:19.307Z] > git config --get remote.origin.url # timeout=10 [2020-10-26T23:15:19.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-26T23:15:19.343Z] > git merge 36f96dc01f0f062f25a64d6a8a14201b3aa7f12a # timeout=10 [2020-10-26T23:15:19.389Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-26T23:15:19.461Z] > git config core.sparsecheckout # timeout=10 [2020-10-26T23:15:20.434Z] Removing intermediate container fa84b65c297d [2020-10-26T23:15:20.435Z] ---> 30001ceaa149 [2020-10-26T23:15:20.435Z] Successfully built 30001ceaa149 [2020-10-26T23:15:20.435Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-26T23:15:20.800Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-26T23:15:20.800Z] . [Pipeline] withDockerContainer [2020-10-26T23:15:19.507Z] > git checkout -f 8c39ca9b1a8d4a8135027152fd5ade538081b0e0 # timeout=10 [2020-10-26T23:15:20.930Z] prd-centos7-docker-4c-2g-9018 does not seem to be running inside a container [2020-10-26T23:15:20.988Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/12 -v /w/workspace/app-service-configurable/12:/w/workspace/app-service-configurable/12:rw,z -v /w/workspace/app-service-configurable/12@tmp:/w/workspace/app-service-configurable/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-26T23:15:21.754Z] $ docker top f2f287d6f8ad00ef7a7e94ffcd26eeb79f043b48a1f9ca7d2cf176a3f2bd128f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-26T23:15:22.296Z] + go version [2020-10-26T23:15:22.296Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-26T23:15:22.314Z] $ docker stop --time=1 f2f287d6f8ad00ef7a7e94ffcd26eeb79f043b48a1f9ca7d2cf176a3f2bd128f [2020-10-26T23:15:23.657Z] $ docker rm -f f2f287d6f8ad00ef7a7e94ffcd26eeb79f043b48a1f9ca7d2cf176a3f2bd128f [2020-10-26T23:15:23.814Z] Commit message: "Merge commit '36f96dc01f0f062f25a64d6a8a14201b3aa7f12a' into HEAD" [2020-10-26T23:15:23.838Z] First time build. Skipping changelog. [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-10-26T23:15:24.623Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-26T23:15:24.624Z] . [Pipeline] withDockerContainer [2020-10-26T23:15:24.765Z] prd-centos7-docker-4c-2g-9018 does not seem to be running inside a container [2020-10-26T23:15:24.813Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/12 -v /w/workspace/app-service-configurable/12:/w/workspace/app-service-configurable/12:rw,z -v /w/workspace/app-service-configurable/12@tmp:/w/workspace/app-service-configurable/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-26T23:15:23.824Z] > git rev-list --no-walk ce34c79cf5f08ae78959e83a603cdd0ab134b168 # timeout=10 [2020-10-26T23:15:25.380Z] $ docker top fef3503a4a7ed7ed0b3ba7c72dd67b9162853b6460dadc1b0228c6325671bbc6 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-10-26T23:15:25.618Z] ========================================================= [2020-10-26T23:15:25.618Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-26T23:15:25.618Z] ========================================================= [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-10-26T23:15:25.922Z] + make test [2020-10-26T23:15:25.922Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-10-26T23:15:26.683Z] + 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-26T23:15:27.284Z] Sending build context to Docker daemon 96.26kB [2020-10-26T23:15:27.284Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-26T23:15:27.284Z] Step 2/8 : FROM ${BASE} [2020-10-26T23:15:27.881Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-26T23:15:27.881Z] b538f80385f9: Pulling fs layer [2020-10-26T23:15:27.881Z] 74f711af9a0d: Pulling fs layer [2020-10-26T23:15:27.881Z] 99f96fe45779: Pulling fs layer [2020-10-26T23:15:27.881Z] 8529a6b9a6be: Pulling fs layer [2020-10-26T23:15:27.881Z] 45590311c82a: Pulling fs layer [2020-10-26T23:15:27.881Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-26T23:15:27.881Z] 209524e5b208: Pulling fs layer [2020-10-26T23:15:27.881Z] 45590311c82a: Waiting [2020-10-26T23:15:27.881Z] 69ca0ff8b7b3: Waiting [2020-10-26T23:15:27.881Z] 209524e5b208: Waiting [2020-10-26T23:15:27.881Z] 8529a6b9a6be: Waiting [2020-10-26T23:15:27.881Z] 99f96fe45779: Verifying Checksum [2020-10-26T23:15:27.881Z] 99f96fe45779: Download complete [2020-10-26T23:15:27.881Z] 74f711af9a0d: Verifying Checksum [2020-10-26T23:15:27.881Z] 74f711af9a0d: Download complete [2020-10-26T23:15:27.881Z] 45590311c82a: Verifying Checksum [2020-10-26T23:15:27.881Z] 45590311c82a: Download complete [2020-10-26T23:15:27.881Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-26T23:15:27.881Z] 69ca0ff8b7b3: Download complete [2020-10-26T23:15:27.881Z] b538f80385f9: Download complete [2020-10-26T23:15:28.481Z] b538f80385f9: Pull complete [2020-10-26T23:15:29.101Z] 74f711af9a0d: Pull complete [2020-10-26T23:15:29.382Z] 99f96fe45779: Pull complete [2020-10-26T23:15:29.986Z] 209524e5b208: Verifying Checksum [2020-10-26T23:15:29.986Z] 209524e5b208: Download complete [2020-10-26T23:15:31.964Z] 8529a6b9a6be: Verifying Checksum [2020-10-26T23:15:31.964Z] 8529a6b9a6be: Download complete [2020-10-26T23:15:42.145Z] 8529a6b9a6be: Pull complete [2020-10-26T23:15:42.145Z] 45590311c82a: Pull complete [2020-10-26T23:15:42.145Z] 69ca0ff8b7b3: Pull complete [2020-10-26T23:15:44.142Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-10-26T23:15:44.142Z] CGO_ENABLED=1 go vet ./... [2020-10-26T23:15:45.115Z] gofmt -l . [2020-10-26T23:15:45.115Z] [ "`gofmt -l .`" = "" ] [2020-10-26T23:15:45.115Z] ./bin/test-go-mod-tidy.sh [2020-10-26T23:15:45.689Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-10-26T23:15:46.473Z] 209524e5b208: Pull complete [2020-10-26T23:15:46.473Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-26T23:15:46.473Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-26T23:15:46.473Z] ---> 5bddaf1c2fca [2020-10-26T23:15:46.473Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-26T23:15:46.997Z] Stashed 1 file(s) [Pipeline] } [2020-10-26T23:15:47.003Z] $ docker stop --time=1 fef3503a4a7ed7ed0b3ba7c72dd67b9162853b6460dadc1b0228c6325671bbc6 [2020-10-26T23:15:49.103Z] ---> Running in 61cd1e014a7c [2020-10-26T23:15:49.103Z] Removing intermediate container 61cd1e014a7c [2020-10-26T23:15:49.103Z] ---> 3794278e4aa8 [2020-10-26T23:15:49.103Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-26T23:15:49.377Z] ---> Running in 356e2653260f [2020-10-26T23:15:49.794Z] $ docker rm -f fef3503a4a7ed7ed0b3ba7c72dd67b9162853b6460dadc1b0228c6325671bbc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-10-26T23:15:52.009Z] Removing intermediate container 356e2653260f [2020-10-26T23:15:52.009Z] ---> bd7f4a4a5ee9 [2020-10-26T23:15:52.009Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-10-26T23:15:52.009Z] ---> Running in 04cdf2891d54 [Pipeline] sh [2020-10-26T23:15:52.996Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-26T23:15:53.297Z] + ls -al . [2020-10-26T23:15:53.297Z] total 96 [2020-10-26T23:15:53.297Z] drwxrwxr-x. 7 jenkins jenkins 4096 Oct 26 23:15 . [2020-10-26T23:15:53.297Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 26 23:14 .. [2020-10-26T23:15:53.297Z] -rw-rw-r--. 1 jenkins jenkins 6568 Oct 26 23:14 Attribution.txt [2020-10-26T23:15:53.297Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 26 23:14 bin [2020-10-26T23:15:53.297Z] -rw-r--r--. 1 jenkins jenkins 10 Oct 26 23:15 coverage.out [2020-10-26T23:15:53.297Z] -rw-rw-r--. 1 jenkins jenkins 180 Oct 26 23:14 docker-compose.debug.yml [2020-10-26T23:15:53.297Z] -rw-rw-r--. 1 jenkins jenkins 133 Oct 26 23:14 docker-compose.yml [2020-10-26T23:15:53.297Z] -rw-rw-r--. 1 jenkins jenkins 2002 Oct 26 23:14 Dockerfile [2020-10-26T23:15:53.297Z] -rw-rw-r--. 1 jenkins jenkins 966 Oct 26 23:14 Dockerfile.build [2020-10-26T23:15:53.297Z] -rw-rw-r--. 1 jenkins jenkins 119 Oct 26 23:14 .dockerignore [2020-10-26T23:15:53.297Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 26 23:14 .git [2020-10-26T23:15:53.297Z] drwxrwxr-x. 2 jenkins jenkins 81 Oct 26 23:14 .github [2020-10-26T23:15:53.297Z] -rw-rw-r--. 1 jenkins jenkins 93 Oct 26 23:14 .gitignore [2020-10-26T23:15:53.297Z] -rw-r--r--. 1 jenkins jenkins 133 Oct 26 23:15 go.mod [2020-10-26T23:15:53.297Z] -rw-r--r--. 1 jenkins jenkins 19860 Oct 26 23:15 go.sum [2020-10-26T23:15:53.297Z] -rw-rw-r--. 1 jenkins jenkins 766 Oct 26 23:14 Jenkinsfile [2020-10-26T23:15:53.297Z] -rw-rw-r--. 1 jenkins jenkins 10174 Oct 26 23:14 LICENSE [2020-10-26T23:15:53.297Z] -rw-rw-r--. 1 jenkins jenkins 1519 Oct 26 23:14 main.go [2020-10-26T23:15:53.297Z] -rw-rw-r--. 1 jenkins jenkins 1573 Oct 26 23:14 makefile [2020-10-26T23:15:53.297Z] -rw-rw-r--. 1 jenkins jenkins 1277 Oct 26 23:14 README.md [2020-10-26T23:15:53.297Z] drwxrwxr-x. 10 jenkins jenkins 171 Oct 26 23:14 res [2020-10-26T23:15:53.298Z] drwxrwxr-x. 4 jenkins jenkins 71 Oct 26 23:14 snap [2020-10-26T23:15:53.298Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 26 23:11 VERSION [Pipeline] isUnix [Pipeline] sh [2020-10-26T23:15:53.448Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-26T23:15:53.607Z] + 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=f2e565f1610ec8fd4223ca17c219d0fa5c7238c7 --label arch=amd64 --label version=0.0.0 . [2020-10-26T23:15:53.607Z] Sending build context to Docker daemon 118.8kB [2020-10-26T23:15:53.607Z] Step 1/27 : ARG BASE=golang:1.15-alpine [2020-10-26T23:15:53.607Z] Step 2/27 : FROM ${BASE} AS builder [2020-10-26T23:15:53.607Z] ---> 30001ceaa149 [2020-10-26T23:15:53.607Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2020-10-26T23:15:53.870Z] ---> Running in bf35ebb043c3 [2020-10-26T23:15:53.870Z] Removing intermediate container bf35ebb043c3 [2020-10-26T23:15:53.870Z] ---> da1c9c388829 [2020-10-26T23:15:53.870Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2020-10-26T23:15:54.132Z] ---> Running in 2e01ec25ca21 [2020-10-26T23:15:54.132Z] Removing intermediate container 2e01ec25ca21 [2020-10-26T23:15:54.132Z] ---> 4f7a197f10d8 [2020-10-26T23:15:54.132Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-26T23:15:54.399Z] ---> Running in f0d588e550b1 [2020-10-26T23:15:54.399Z] Removing intermediate container f0d588e550b1 [2020-10-26T23:15:54.399Z] ---> 890d28787a3a [2020-10-26T23:15:54.399Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-26T23:15:54.399Z] ---> Running in 443f8acd50c6 [2020-10-26T23:15:54.429Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-26T23:15:55.355Z] Removing intermediate container 443f8acd50c6 [2020-10-26T23:15:55.355Z] ---> 64215e8eacd1 [2020-10-26T23:15:55.355Z] Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-26T23:15:55.406Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-10-26T23:15:55.406Z] (2/6) Installing libsodium (1.0.18-r0) [2020-10-26T23:15:55.618Z] ---> Running in 03064da19896 [2020-10-26T23:15:55.678Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-10-26T23:15:55.678Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-10-26T23:15:55.882Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-26T23:15:55.949Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-26T23:15:55.949Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-10-26T23:15:56.221Z] Executing busybox-1.31.1-r16.trigger [2020-10-26T23:15:56.221Z] OK: 144 MiB in 45 packages [2020-10-26T23:15:56.829Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-26T23:15:57.658Z] Removing intermediate container 04cdf2891d54 [2020-10-26T23:15:57.658Z] ---> 8f0b97487609 [2020-10-26T23:15:57.658Z] Step 6/8 : WORKDIR /app [2020-10-26T23:15:57.658Z] ---> Running in d1dd6edf9c76 [2020-10-26T23:15:57.777Z] OK: 167 MiB in 45 packages [2020-10-26T23:15:57.933Z] Removing intermediate container d1dd6edf9c76 [2020-10-26T23:15:57.933Z] ---> 28fb0abf1be3 [2020-10-26T23:15:57.933Z] Step 7/8 : COPY . . [2020-10-26T23:15:58.039Z] Removing intermediate container 03064da19896 [2020-10-26T23:15:58.039Z] ---> 67eb0e56ac3b [2020-10-26T23:15:58.039Z] Step 8/27 : WORKDIR /app [2020-10-26T23:15:58.039Z] ---> Running in 225c5b84f32d [2020-10-26T23:15:58.302Z] Removing intermediate container 225c5b84f32d [2020-10-26T23:15:58.302Z] ---> 6aec4535f404 [2020-10-26T23:15:58.302Z] Step 9/27 : COPY go.mod . [2020-10-26T23:15:58.302Z] ---> ab7fd3a54e7c [2020-10-26T23:15:58.302Z] Step 10/27 : RUN go mod download [2020-10-26T23:15:58.565Z] ---> Running in 8a4a2930652b [2020-10-26T23:15:58.913Z] ---> 867c52f3e55a [2020-10-26T23:15:58.913Z] Step 8/8 : RUN go mod download [2020-10-26T23:15:58.913Z] ---> Running in a7939175c9d4 [2020-10-26T23:15:59.522Z] Removing intermediate container 8a4a2930652b [2020-10-26T23:15:59.522Z] ---> b491652e0d61 [2020-10-26T23:15:59.522Z] Step 11/27 : COPY . . [2020-10-26T23:15:59.788Z] ---> 3e083485d23d [2020-10-26T23:15:59.788Z] Step 12/27 : ARG MAKE="make build" [2020-10-26T23:15:59.788Z] ---> Running in 0bb614d6a016 [2020-10-26T23:15:59.788Z] Removing intermediate container 0bb614d6a016 [2020-10-26T23:15:59.788Z] ---> dff88e2b1db1 [2020-10-26T23:15:59.788Z] Step 13/27 : RUN $MAKE [2020-10-26T23:16:00.056Z] ---> Running in d73724dd0ff4 [2020-10-26T23:16:00.329Z] 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-26T23:16:18.643Z] Removing intermediate container d73724dd0ff4 [2020-10-26T23:16:18.643Z] ---> f8fb64c25b6f [2020-10-26T23:16:18.643Z] Step 14/27 : FROM alpine:latest [2020-10-26T23:16:18.643Z] latest: Pulling from library/alpine [2020-10-26T23:16:18.643Z] 188c0c94c7c5: Pulling fs layer [2020-10-26T23:16:18.643Z] 188c0c94c7c5: Verifying Checksum [2020-10-26T23:16:18.643Z] 188c0c94c7c5: Download complete [2020-10-26T23:16:18.643Z] 188c0c94c7c5: Pull complete [2020-10-26T23:16:18.643Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-10-26T23:16:18.643Z] Status: Downloaded newer image for alpine:latest [2020-10-26T23:16:18.643Z] ---> d6e46aa2470d [2020-10-26T23:16:18.643Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-26T23:16:18.643Z] ---> Running in 894b69dd21be [2020-10-26T23:16:18.643Z] Removing intermediate container 894b69dd21be [2020-10-26T23:16:18.643Z] ---> 87bf1f6a4997 [2020-10-26T23:16:18.643Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2020-10-26T23:16:18.643Z] ---> Running in f4b3439f05da [2020-10-26T23:16:18.643Z] Removing intermediate container f4b3439f05da [2020-10-26T23:16:18.643Z] ---> 40e7d132a9c0 [2020-10-26T23:16:18.643Z] Step 17/27 : RUN apk --no-cache add ca-certificates zeromq [2020-10-26T23:16:18.643Z] ---> Running in 732d01a1114e [2020-10-26T23:16:18.643Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-26T23:16:18.643Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-26T23:16:18.907Z] (1/6) Installing ca-certificates (20191127-r4) [2020-10-26T23:16:18.907Z] (2/6) Installing libgcc (9.3.0-r2) [2020-10-26T23:16:18.907Z] (3/6) Installing libsodium (1.0.18-r0) [2020-10-26T23:16:18.907Z] (4/6) Installing libstdc++ (9.3.0-r2) [2020-10-26T23:16:18.907Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-26T23:16:18.907Z] (6/6) Installing zeromq (4.3.3-r0) [2020-10-26T23:16:18.907Z] Executing busybox-1.31.1-r19.trigger [2020-10-26T23:16:18.907Z] Executing ca-certificates-20191127-r4.trigger [2020-10-26T23:16:19.178Z] OK: 9 MiB in 20 packages [2020-10-26T23:16:20.574Z] Removing intermediate container 732d01a1114e [2020-10-26T23:16:20.574Z] ---> df22862f281f [2020-10-26T23:16:20.574Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2020-10-26T23:16:20.837Z] ---> 6fe740ff42c1 [2020-10-26T23:16:20.837Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2020-10-26T23:16:20.837Z] ---> aa67120fea4f [2020-10-26T23:16:20.837Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2020-10-26T23:16:21.100Z] ---> aa1c63e8693b [2020-10-26T23:16:21.101Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2020-10-26T23:16:22.053Z] ---> 1d880d5ef8be [2020-10-26T23:16:22.053Z] Step 22/27 : EXPOSE 48095 [2020-10-26T23:16:22.053Z] ---> Running in 26592d3b9d93 [2020-10-26T23:16:22.053Z] Removing intermediate container 26592d3b9d93 [2020-10-26T23:16:22.053Z] ---> 9403e5aaea14 [2020-10-26T23:16:22.053Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2020-10-26T23:16:22.053Z] ---> Running in 057ab7fcdb04 [2020-10-26T23:16:22.316Z] Removing intermediate container 057ab7fcdb04 [2020-10-26T23:16:22.316Z] ---> 93d21de34776 [2020-10-26T23:16:22.316Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-26T23:16:22.316Z] ---> Running in 76adde157325 [2020-10-26T23:16:22.580Z] Removing intermediate container 76adde157325 [2020-10-26T23:16:22.580Z] ---> 59746e8476c8 [2020-10-26T23:16:22.580Z] Step 25/27 : LABEL arch=amd64 [2020-10-26T23:16:22.580Z] ---> Running in fab303e9f3e6 [2020-10-26T23:16:22.845Z] Removing intermediate container fab303e9f3e6 [2020-10-26T23:16:22.845Z] ---> 3144a00a5f5c [2020-10-26T23:16:22.845Z] Step 26/27 : LABEL git_sha=f2e565f1610ec8fd4223ca17c219d0fa5c7238c7 [2020-10-26T23:16:22.845Z] ---> Running in 9c6cffa605f7 [2020-10-26T23:16:22.845Z] Removing intermediate container 9c6cffa605f7 [2020-10-26T23:16:22.845Z] ---> 31f8912856b3 [2020-10-26T23:16:22.845Z] Step 27/27 : LABEL version=0.0.0 [2020-10-26T23:16:23.109Z] ---> Running in 550c646cc2bb [2020-10-26T23:16:23.109Z] Removing intermediate container 550c646cc2bb [2020-10-26T23:16:23.109Z] ---> a64f4305de20 [2020-10-26T23:16:23.109Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-26T23:16:23.109Z] Successfully built a64f4305de20 [2020-10-26T23:16:23.109Z] 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-26T23:16:31.293Z] Removing intermediate container a7939175c9d4 [2020-10-26T23:16:31.293Z] ---> 8399174c77a2 [2020-10-26T23:16:31.293Z] Successfully built 8399174c77a2 [2020-10-26T23:16:31.293Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-26T23:16:31.752Z] + docker inspect -f . ci-base-image-arm64 [2020-10-26T23:16:31.752Z] . [Pipeline] withDockerContainer [2020-10-26T23:16:32.067Z] prd-ubuntu18.04-docker-arm64-4c-16g-9019 does not seem to be running inside a container [2020-10-26T23:16:32.181Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/12 -v /w/workspace/app-service-configurable/12:/w/workspace/app-service-configurable/12:rw,z -v /w/workspace/app-service-configurable/12@tmp:/w/workspace/app-service-configurable/12@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-26T23:16:34.151Z] $ docker top cf6d23223724b97c8fe17b536c97a0b23bc3c137ea58831a836bd7559b79f90c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-26T23:16:35.579Z] + go version [2020-10-26T23:16:35.579Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-26T23:16:35.607Z] $ docker stop --time=1 cf6d23223724b97c8fe17b536c97a0b23bc3c137ea58831a836bd7559b79f90c [2020-10-26T23:16:37.589Z] $ docker rm -f cf6d23223724b97c8fe17b536c97a0b23bc3c137ea58831a836bd7559b79f90c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-26T23:16:38.620Z] + docker inspect -f . ci-base-image-arm64 [2020-10-26T23:16:38.621Z] . [Pipeline] withDockerContainer [2020-10-26T23:16:38.679Z] Still waiting to schedule task [2020-10-26T23:16:38.679Z] All nodes of label ‘ubuntu18.04-docker-8c-8g’ are offline [2020-10-26T23:16:38.896Z] prd-ubuntu18.04-docker-arm64-4c-16g-9019 does not seem to be running inside a container [2020-10-26T23:16:38.987Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/12 -v /w/workspace/app-service-configurable/12:/w/workspace/app-service-configurable/12:rw,z -v /w/workspace/app-service-configurable/12@tmp:/w/workspace/app-service-configurable/12@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-26T23:16:40.804Z] $ docker top 4c4f96cf062fa970548485ad279b23a94417c62ac1a5277e5b3c0dd33694f74e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-26T23:16:42.297Z] + make test [2020-10-26T23:16:42.297Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-10-26T23:17:35.438Z] Running on prd-ubuntu18.04-docker-8c-8g-9020 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-26T23:17:35.501Z] Running in /w/workspace/app-service-configurable/12 [Pipeline] { [Pipeline] checkout [2020-10-26T23:17:37.781Z] using credential edgex-jenkins-ssh [2020-10-26T23:17:37.833Z] Cloning the remote Git repository [2020-10-26T23:17:37.868Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-26T23:17:37.943Z] > git init /w/workspace/app-service-configurable/12 # timeout=10 [2020-10-26T23:17:37.983Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-26T23:17:37.983Z] > git --version # timeout=10 [2020-10-26T23:17:38.887Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-10-26T23:17:38.888Z] CGO_ENABLED=1 go vet ./... [2020-10-26T23:17:37.995Z] > git --version # 'git version 2.17.1' [2020-10-26T23:17:37.995Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-26T23:17:38.024Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-26T23:17:38.620Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-26T23:17:38.628Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-26T23:17:38.640Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-26T23:17:38.651Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-26T23:17:38.651Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-26T23:17:38.655Z] > 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-26T23:17:39.202Z] Merging remotes/origin/master commit 36f96dc01f0f062f25a64d6a8a14201b3aa7f12a into PR head commit 56afee60f47744720baa836efc6be2ae9b07808d [2020-10-26T23:17:39.280Z] Merge succeeded, producing 0fb8084cd6ba24b89d75f224cf335c13a24cbc0d [2020-10-26T23:17:39.281Z] Checking out Revision 0fb8084cd6ba24b89d75f224cf335c13a24cbc0d (PR-124) [2020-10-26T23:17:39.216Z] > git config core.sparsecheckout # timeout=10 [2020-10-26T23:17:39.221Z] > git checkout -f 56afee60f47744720baa836efc6be2ae9b07808d # timeout=10 [2020-10-26T23:17:39.251Z] > git remote # timeout=10 [2020-10-26T23:17:39.257Z] > git config --get remote.origin.url # timeout=10 [2020-10-26T23:17:39.262Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-26T23:17:39.265Z] > git merge 36f96dc01f0f062f25a64d6a8a14201b3aa7f12a # timeout=10 [2020-10-26T23:17:39.281Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-26T23:17:39.290Z] > git config core.sparsecheckout # timeout=10 [2020-10-26T23:17:39.294Z] > git checkout -f 0fb8084cd6ba24b89d75f224cf335c13a24cbc0d # timeout=10 [2020-10-26T23:17:40.895Z] gofmt -l . [2020-10-26T23:17:40.895Z] [ "`gofmt -l .`" = "" ] [2020-10-26T23:17:40.895Z] ./bin/test-go-mod-tidy.sh [2020-10-26T23:17:41.496Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-10-26T23:17:42.972Z] Commit message: "Merge commit '36f96dc01f0f062f25a64d6a8a14201b3aa7f12a' into HEAD" [2020-10-26T23:17:42.987Z] First time build. Skipping changelog. [2020-10-26T23:17:43.035Z] Warning: overwriting stash ‘coverage-report’ [Pipeline] withEnv [Pipeline] { [2020-10-26T23:17:43.641Z] Stashed 1 file(s) [Pipeline] } [2020-10-26T23:17:43.749Z] $ docker stop --time=1 4c4f96cf062fa970548485ad279b23a94417c62ac1a5277e5b3c0dd33694f74e [2020-10-26T23:17:42.982Z] > git rev-list --no-walk ce34c79cf5f08ae78959e83a603cdd0ab134b168 # timeout=10 [2020-10-26T23:17:45.937Z] $ docker rm -f 4c4f96cf062fa970548485ad279b23a94417c62ac1a5277e5b3c0dd33694f74e [Pipeline] libraryResource [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2020-10-26T23:17:47.201Z] + echo snap-build.sh [2020-10-26T23:17:47.201Z] snap-build.sh [2020-10-26T23:17:47.201Z] + SNAP_BASE_DIR=. [2020-10-26T23:17:47.201Z] + '[' '!' -z /w/workspace/app-service-configurable/12 ']' [2020-10-26T23:17:47.201Z] + SNAP_BASE_DIR=/w/workspace/app-service-configurable/12 [2020-10-26T23:17:47.201Z] + echo '[snap-build] Building snap in dir [/w/workspace/app-service-configurable/12]' [2020-10-26T23:17:47.201Z] [snap-build] Building snap in dir [/w/workspace/app-service-configurable/12] [2020-10-26T23:17:47.201Z] + cd /w/workspace/app-service-configurable/12 [2020-10-26T23:17:47.201Z] + sudo apt-get update [2020-10-26T23:17:47.201Z] Hit:1 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic InRelease [2020-10-26T23:17:47.201Z] Get:2 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-10-26T23:17:47.201Z] Get:3 http://apt.puppetlabs.com xenial InRelease [101 kB] [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-10-26T23:17:47.473Z] Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-10-26T23:17:47.473Z] Get:5 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic InRelease [15.9 kB] [2020-10-26T23:17:47.473Z] Get:6 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-10-26T23:17:47.473Z] Get:7 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB] [2020-10-26T23:17:47.473Z] Get:8 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1725 kB] [Pipeline] sh [2020-10-26T23:17:47.745Z] Hit:9 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic InRelease [2020-10-26T23:17:47.745Z] Get:10 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [367 kB] [2020-10-26T23:17:47.745Z] Get:11 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [184 kB] [2020-10-26T23:17:47.745Z] Get:12 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [24.6 kB] [2020-10-26T23:17:47.745Z] Get:13 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1680 kB] [2020-10-26T23:17:47.745Z] Get:14 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [353 kB] [2020-10-26T23:17:47.745Z] Get:15 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [31.9 kB] [2020-10-26T23:17:47.745Z] Get:16 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [6980 B] [2020-10-26T23:17:47.745Z] Get:17 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [10.0 kB] [2020-10-26T23:17:47.745Z] Get:18 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [10.3 kB] [2020-10-26T23:17:47.745Z] Get:19 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic/main amd64 Packages [824 B] [2020-10-26T23:17:47.917Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-26T23:17:48.008Z] Get:20 http://apt.puppetlabs.com xenial/puppet amd64 Packages [56.2 kB] [2020-10-26T23:17:48.008Z] Get:21 http://apt.puppetlabs.com xenial/puppet all Packages [22.7 kB] [2020-10-26T23:17:48.008Z] Get:22 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1397 kB] [2020-10-26T23:17:48.372Z] + ls -al . [2020-10-26T23:17:48.372Z] total 120 [2020-10-26T23:17:48.372Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 26 23:17 . [2020-10-26T23:17:48.372Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 23:15 .. [2020-10-26T23:17:48.372Z] -rw-rw-r-- 1 jenkins jenkins 119 Oct 26 23:15 .dockerignore [2020-10-26T23:17:48.372Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 23:15 .git [2020-10-26T23:17:48.372Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 23:15 .github [2020-10-26T23:17:48.372Z] -rw-rw-r-- 1 jenkins jenkins 93 Oct 26 23:15 .gitignore [2020-10-26T23:17:48.372Z] -rw-rw-r-- 1 jenkins jenkins 6568 Oct 26 23:15 Attribution.txt [2020-10-26T23:17:48.372Z] -rw-rw-r-- 1 jenkins jenkins 2002 Oct 26 23:15 Dockerfile [2020-10-26T23:17:48.372Z] -rw-rw-r-- 1 jenkins jenkins 966 Oct 26 23:15 Dockerfile.build [2020-10-26T23:17:48.372Z] -rw-rw-r-- 1 jenkins jenkins 766 Oct 26 23:15 Jenkinsfile [2020-10-26T23:17:48.372Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 26 23:15 LICENSE [2020-10-26T23:17:48.372Z] -rw-rw-r-- 1 jenkins jenkins 1277 Oct 26 23:15 README.md [2020-10-26T23:17:48.372Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 23:11 VERSION [2020-10-26T23:17:48.372Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 23:15 bin [2020-10-26T23:17:48.372Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 26 23:16 coverage.out [2020-10-26T23:17:48.372Z] -rw-rw-r-- 1 jenkins jenkins 180 Oct 26 23:15 docker-compose.debug.yml [2020-10-26T23:17:48.372Z] -rw-rw-r-- 1 jenkins jenkins 133 Oct 26 23:15 docker-compose.yml [2020-10-26T23:17:48.372Z] -rw-r--r-- 1 jenkins jenkins 133 Oct 26 23:17 go.mod [2020-10-26T23:17:48.372Z] -rw-r--r-- 1 jenkins jenkins 19860 Oct 26 23:17 go.sum [2020-10-26T23:17:48.372Z] -rw-rw-r-- 1 jenkins jenkins 1519 Oct 26 23:15 main.go [2020-10-26T23:17:48.372Z] -rw-rw-r-- 1 jenkins jenkins 1573 Oct 26 23:15 makefile [2020-10-26T23:17:48.372Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 23:15 res [2020-10-26T23:17:48.372Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 23:15 snap [Pipeline] isUnix [Pipeline] sh [2020-10-26T23:17:48.584Z] Get:23 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [276 kB] [2020-10-26T23:17:48.584Z] Get:24 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [165 kB] [2020-10-26T23:17:48.584Z] Get:25 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [21.9 kB] [2020-10-26T23:17:48.584Z] Get:26 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1078 kB] [2020-10-26T23:17:48.584Z] Get:27 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [241 kB] [2020-10-26T23:17:48.584Z] Get:28 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [12.9 kB] [2020-10-26T23:17:48.584Z] Get:29 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [2964 B] [2020-10-26T23:17:48.749Z] + 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=f2e565f1610ec8fd4223ca17c219d0fa5c7238c7 --label arch=arm64 --label version=0.0.0 . [2020-10-26T23:17:48.749Z] Sending build context to Docker daemon 118.8kB [2020-10-26T23:17:49.038Z] Step 1/27 : ARG BASE=golang:1.15-alpine [2020-10-26T23:17:49.038Z] Step 2/27 : FROM ${BASE} AS builder [2020-10-26T23:17:49.038Z] ---> 8399174c77a2 [2020-10-26T23:17:49.038Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2020-10-26T23:17:49.314Z] ---> Running in 152607a0e044 [2020-10-26T23:17:49.919Z] Removing intermediate container 152607a0e044 [2020-10-26T23:17:49.919Z] ---> 0d76c80ad6cf [2020-10-26T23:17:49.919Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2020-10-26T23:17:49.919Z] ---> Running in 6a4e74358a1b [2020-10-26T23:17:50.530Z] Removing intermediate container 6a4e74358a1b [2020-10-26T23:17:50.530Z] ---> b76ce9970979 [2020-10-26T23:17:50.530Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-26T23:17:50.530Z] ---> Running in 681cf6db5132 [2020-10-26T23:17:51.128Z] Removing intermediate container 681cf6db5132 [2020-10-26T23:17:51.128Z] ---> 11385012f7a8 [2020-10-26T23:17:51.128Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-26T23:17:51.128Z] ---> Running in 7bda14eb5b7f [2020-10-26T23:17:51.906Z] Fetched 8100 kB in 2s (3703 kB/s) [2020-10-26T23:17:52.860Z] Reading package lists... [2020-10-26T23:17:52.860Z] + sudo apt-get install -y expect [2020-10-26T23:17:53.131Z] Reading package lists... [2020-10-26T23:17:53.131Z] Building dependency tree... [2020-10-26T23:17:53.131Z] Reading state information... [2020-10-26T23:17:53.393Z] The following packages were automatically installed and are no longer required: [2020-10-26T23:17:53.393Z] grub-pc-bin libdumbnet1 [2020-10-26T23:17:53.393Z] Use 'sudo apt autoremove' to remove them. [2020-10-26T23:17:53.393Z] The following additional packages will be installed: [2020-10-26T23:17:53.393Z] tcl-expect [2020-10-26T23:17:53.394Z] The following NEW packages will be installed: [2020-10-26T23:17:53.394Z] expect tcl-expect [2020-10-26T23:17:53.394Z] 0 upgraded, 2 newly installed, 0 to remove and 51 not upgraded. [2020-10-26T23:17:53.394Z] Need to get 242 kB of archives. [2020-10-26T23:17:53.394Z] After this operation, 540 kB of additional disk space will be used. [2020-10-26T23:17:53.394Z] 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-26T23:17:53.654Z] Get:2 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic/universe amd64 expect amd64 5.45.4-1 [137 kB] [2020-10-26T23:17:53.770Z] Removing intermediate container 7bda14eb5b7f [2020-10-26T23:17:53.770Z] ---> ceb35329c819 [2020-10-26T23:17:53.770Z] Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-26T23:17:53.915Z] debconf: unable to initialize frontend: Dialog [2020-10-26T23:17:53.916Z] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) [2020-10-26T23:17:53.916Z] debconf: falling back to frontend: Readline [2020-10-26T23:17:53.916Z] debconf: unable to initialize frontend: Readline [2020-10-26T23:17:53.916Z] debconf: (This frontend requires a controlling tty.) [2020-10-26T23:17:53.916Z] debconf: falling back to frontend: Teletype [2020-10-26T23:17:53.916Z] dpkg-preconfigure: unable to re-open stdin: [2020-10-26T23:17:53.916Z] Fetched 242 kB in 0s (1500 kB/s) [2020-10-26T23:17:53.916Z] Selecting previously unselected package tcl-expect:amd64. [2020-10-26T23:17:54.050Z] ---> Running in cac902cde549 [2020-10-26T23:17:54.981Z] (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-26T23:17:54.981Z] Preparing to unpack .../tcl-expect_5.45.4-1_amd64.deb ... [2020-10-26T23:17:54.981Z] Unpacking tcl-expect:amd64 (5.45.4-1) ... [2020-10-26T23:17:54.981Z] Selecting previously unselected package expect. [2020-10-26T23:17:54.981Z] Preparing to unpack .../expect_5.45.4-1_amd64.deb ... [2020-10-26T23:17:54.981Z] Unpacking expect (5.45.4-1) ... [2020-10-26T23:17:55.243Z] Setting up tcl-expect:amd64 (5.45.4-1) ... [2020-10-26T23:17:55.243Z] Setting up expect (5.45.4-1) ... [2020-10-26T23:17:55.243Z] Processing triggers for man-db (2.8.3-2ubuntu0.1) ... [2020-10-26T23:17:55.486Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-26T23:17:56.461Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-26T23:17:57.164Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-10-26T23:17:57.441Z] OK: 144 MiB in 45 packages [2020-10-26T23:17:58.423Z] Removing intermediate container cac902cde549 [2020-10-26T23:17:58.423Z] ---> 7e4fe716eccb [2020-10-26T23:17:58.423Z] Step 8/27 : WORKDIR /app [2020-10-26T23:17:58.423Z] ---> Running in 0e6d195c8afd [2020-10-26T23:17:58.569Z] + '[' -f snap/local/patches/0001-optimize-build-for-pipeline-CI-check.patch ']' [2020-10-26T23:17:58.569Z] + pushd /build [2020-10-26T23:17:58.569Z] /w/workspace/app-service-configurable/12@tmp/durable-beb44d1c/script.sh: line 27: pushd: /build: No such file or directory [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2020-10-26T23:17:59.022Z] Removing intermediate container 0e6d195c8afd [2020-10-26T23:17:59.022Z] ---> 39498be5a4eb [2020-10-26T23:17:59.022Z] Step 9/27 : COPY go.mod . [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [2020-10-26T23:17:59.629Z] ---> 8692f19579a1 [2020-10-26T23:17:59.629Z] Step 10/27 : RUN go mod download [Pipeline] } [2020-10-26T23:17:59.633Z] Failed in branch amd64 [2020-10-26T23:17:59.908Z] ---> Running in 8f8e49fca7e2 [2020-10-26T23:18:02.537Z] Removing intermediate container 8f8e49fca7e2 [2020-10-26T23:18:02.537Z] ---> 831b32f77a2e [2020-10-26T23:18:02.537Z] Step 11/27 : COPY . . [2020-10-26T23:18:03.132Z] ---> 63520f110ba3 [2020-10-26T23:18:03.132Z] Step 12/27 : ARG MAKE="make build" [2020-10-26T23:18:03.406Z] ---> Running in 55d4af65c797 [2020-10-26T23:18:04.007Z] Removing intermediate container 55d4af65c797 [2020-10-26T23:18:04.007Z] ---> bd7822528183 [2020-10-26T23:18:04.007Z] Step 13/27 : RUN $MAKE [2020-10-26T23:18:04.007Z] ---> Running in 800097abf13d [2020-10-26T23:18:05.441Z] 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-26T23:18:52.427Z] Removing intermediate container 800097abf13d [2020-10-26T23:18:52.427Z] ---> 0eed6273dbfe [2020-10-26T23:18:52.427Z] Step 14/27 : FROM alpine:latest [2020-10-26T23:18:52.427Z] latest: Pulling from library/alpine [2020-10-26T23:18:52.427Z] 5f621e34cdf4: Pulling fs layer [2020-10-26T23:18:52.703Z] 5f621e34cdf4: Download complete [2020-10-26T23:18:53.300Z] 5f621e34cdf4: Pull complete [2020-10-26T23:18:53.300Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-10-26T23:18:53.300Z] Status: Downloaded newer image for alpine:latest [2020-10-26T23:18:53.300Z] ---> 2e77e061c27f [2020-10-26T23:18:53.300Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-26T23:18:53.573Z] ---> Running in 417888325acb [2020-10-26T23:18:53.843Z] Removing intermediate container 417888325acb [2020-10-26T23:18:53.843Z] ---> df8530c26b00 [2020-10-26T23:18:53.843Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2020-10-26T23:18:54.118Z] ---> Running in a8bb6f913bb8 [2020-10-26T23:18:54.388Z] Removing intermediate container a8bb6f913bb8 [2020-10-26T23:18:54.388Z] ---> 77312a93cea3 [2020-10-26T23:18:54.388Z] Step 17/27 : RUN apk --no-cache add ca-certificates zeromq [2020-10-26T23:18:54.675Z] ---> Running in 522eff0c9c04 [2020-10-26T23:18:56.106Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-26T23:18:56.376Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-26T23:18:56.971Z] (1/6) Installing ca-certificates (20191127-r4) [2020-10-26T23:18:56.971Z] (2/6) Installing libgcc (9.3.0-r2) [2020-10-26T23:18:56.971Z] (3/6) Installing libsodium (1.0.18-r0) [2020-10-26T23:18:56.971Z] (4/6) Installing libstdc++ (9.3.0-r2) [2020-10-26T23:18:56.971Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-26T23:18:56.971Z] (6/6) Installing zeromq (4.3.3-r0) [2020-10-26T23:18:56.971Z] Executing busybox-1.31.1-r19.trigger [2020-10-26T23:18:56.971Z] Executing ca-certificates-20191127-r4.trigger [2020-10-26T23:18:57.242Z] OK: 9 MiB in 20 packages [2020-10-26T23:18:59.229Z] Removing intermediate container 522eff0c9c04 [2020-10-26T23:18:59.229Z] ---> 35f4cb154058 [2020-10-26T23:18:59.229Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2020-10-26T23:18:59.506Z] ---> 3b9afcc717df [2020-10-26T23:18:59.506Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2020-10-26T23:19:00.485Z] ---> b21107ba875e [2020-10-26T23:19:00.486Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2020-10-26T23:19:01.081Z] ---> 9a09927ed6ce [2020-10-26T23:19:01.081Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2020-10-26T23:19:02.517Z] ---> f70aaa146f7d [2020-10-26T23:19:02.517Z] Step 22/27 : EXPOSE 48095 [2020-10-26T23:19:02.793Z] ---> Running in 952426d59330 [2020-10-26T23:19:03.067Z] Removing intermediate container 952426d59330 [2020-10-26T23:19:03.067Z] ---> 145d35ee5ec7 [2020-10-26T23:19:03.067Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2020-10-26T23:19:03.344Z] ---> Running in 0610c9505ae1 [2020-10-26T23:19:03.619Z] Removing intermediate container 0610c9505ae1 [2020-10-26T23:19:03.619Z] ---> 8ea9968af6b0 [2020-10-26T23:19:03.619Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-26T23:19:03.903Z] ---> Running in 2be310cbb0a9 [2020-10-26T23:19:04.498Z] Removing intermediate container 2be310cbb0a9 [2020-10-26T23:19:04.498Z] ---> 9500c0838c04 [2020-10-26T23:19:04.498Z] Step 25/27 : LABEL arch=arm64 [2020-10-26T23:19:04.498Z] ---> Running in e6a211dc0a1b [2020-10-26T23:19:05.092Z] Removing intermediate container e6a211dc0a1b [2020-10-26T23:19:05.092Z] ---> 038845cf3c64 [2020-10-26T23:19:05.092Z] Step 26/27 : LABEL git_sha=f2e565f1610ec8fd4223ca17c219d0fa5c7238c7 [2020-10-26T23:19:05.092Z] ---> Running in 4ed27bb18c94 [2020-10-26T23:19:05.686Z] Removing intermediate container 4ed27bb18c94 [2020-10-26T23:19:05.686Z] ---> d76bd7b5ccbe [2020-10-26T23:19:05.686Z] Step 27/27 : LABEL version=0.0.0 [2020-10-26T23:19:05.686Z] ---> Running in 9acd84e746be [2020-10-26T23:19:06.282Z] Removing intermediate container 9acd84e746be [2020-10-26T23:19:06.282Z] ---> ac7d259464fd [2020-10-26T23:19:06.282Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-26T23:19:06.282Z] Successfully built ac7d259464fd [2020-10-26T23:19:06.282Z] 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-26T23:19:22.026Z] Still waiting to schedule task [2020-10-26T23:19:22.026Z] All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline [2020-10-26T23:21:03.011Z] Running on prd-ubuntu18.04-docker-arm64-16c-16g-9021 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-26T23:21:03.123Z] Running in /w/workspace/app-service-configurable/12 [Pipeline] { [Pipeline] checkout [2020-10-26T23:21:07.107Z] using credential edgex-jenkins-ssh [2020-10-26T23:21:07.202Z] Cloning the remote Git repository [2020-10-26T23:21:07.254Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-26T23:21:07.351Z] > git init /w/workspace/app-service-configurable/12 # timeout=10 [2020-10-26T23:21:07.411Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-26T23:21:07.412Z] > git --version # timeout=10 [2020-10-26T23:21:07.427Z] > git --version # 'git version 2.17.1' [2020-10-26T23:21:07.429Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-26T23:21:07.476Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-26T23:21:08.787Z] Merging remotes/origin/master commit 36f96dc01f0f062f25a64d6a8a14201b3aa7f12a into PR head commit 56afee60f47744720baa836efc6be2ae9b07808d [2020-10-26T23:21:08.966Z] Merge succeeded, producing 885991670f16d07aa0329b55810f0fbd2ebfd817 [2020-10-26T23:21:08.966Z] Checking out Revision 885991670f16d07aa0329b55810f0fbd2ebfd817 (PR-124) [2020-10-26T23:21:08.172Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-26T23:21:08.183Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-26T23:21:08.205Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-26T23:21:08.232Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-26T23:21:08.232Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-26T23:21:08.246Z] > 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-26T23:21:08.804Z] > git config core.sparsecheckout # timeout=10 [2020-10-26T23:21:08.815Z] > git checkout -f 56afee60f47744720baa836efc6be2ae9b07808d # timeout=10 [2020-10-26T23:21:08.880Z] > git remote # timeout=10 [2020-10-26T23:21:08.893Z] > git config --get remote.origin.url # timeout=10 [2020-10-26T23:21:08.903Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-26T23:21:08.912Z] > git merge 36f96dc01f0f062f25a64d6a8a14201b3aa7f12a # timeout=10 [2020-10-26T23:21:08.953Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-26T23:21:08.973Z] > git config core.sparsecheckout # timeout=10 [2020-10-26T23:21:08.982Z] > git checkout -f 885991670f16d07aa0329b55810f0fbd2ebfd817 # timeout=10 [2020-10-26T23:21:13.105Z] Commit message: "Merge commit '36f96dc01f0f062f25a64d6a8a14201b3aa7f12a' into HEAD" [2020-10-26T23:21:13.124Z] First time build. Skipping changelog. [2020-10-26T23:21:13.114Z] > git rev-list --no-walk ce34c79cf5f08ae78959e83a603cdd0ab134b168 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-10-26T23:21:14.721Z] + echo snap-build.sh [2020-10-26T23:21:14.721Z] snap-build.sh [2020-10-26T23:21:14.721Z] + SNAP_BASE_DIR=. [2020-10-26T23:21:14.721Z] + '[' '!' -z /w/workspace/app-service-configurable/12 ']' [2020-10-26T23:21:14.721Z] + SNAP_BASE_DIR=/w/workspace/app-service-configurable/12 [2020-10-26T23:21:14.721Z] + echo '[snap-build] Building snap in dir [/w/workspace/app-service-configurable/12]' [2020-10-26T23:21:14.721Z] [snap-build] Building snap in dir [/w/workspace/app-service-configurable/12] [2020-10-26T23:21:14.721Z] + cd /w/workspace/app-service-configurable/12 [2020-10-26T23:21:14.721Z] + sudo apt-get update [2020-10-26T23:21:14.997Z] Get:1 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic InRelease [15.9 kB] [2020-10-26T23:21:14.997Z] Hit:2 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-10-26T23:21:14.997Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] [2020-10-26T23:21:14.997Z] Get:4 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] [2020-10-26T23:21:15.273Z] Get:5 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB] [2020-10-26T23:21:15.273Z] Get:6 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic InRelease [15.4 kB] [2020-10-26T23:21:15.273Z] Get:7 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] [2020-10-26T23:21:15.885Z] Get:8 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic/main arm64 Packages [824 B] [2020-10-26T23:21:16.159Z] Get:9 https://download.docker.com/linux/ubuntu bionic/stable arm64 Packages [12.9 kB] [2020-10-26T23:21:16.159Z] Get:10 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic/main Translation-en [476 B] [2020-10-26T23:21:16.754Z] Get:11 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1119 kB] [2020-10-26T23:21:17.028Z] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [822 kB] [2020-10-26T23:21:17.028Z] Get:13 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main Translation-en [367 kB] [2020-10-26T23:21:17.028Z] Get:14 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [2088 B] [2020-10-26T23:21:17.028Z] Get:15 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/restricted Translation-en [24.6 kB] [2020-10-26T23:21:17.028Z] Get:16 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1478 kB] [2020-10-26T23:21:17.028Z] Get:17 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/universe Translation-en [353 kB] [2020-10-26T23:21:17.304Z] Get:18 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [5072 B] [2020-10-26T23:21:17.304Z] Get:19 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse Translation-en [6980 B] [2020-10-26T23:21:17.304Z] Get:20 http://ports.ubuntu.com/ubuntu-ports bionic-security/main Translation-en [276 kB] [2020-10-26T23:21:17.304Z] Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted arm64 Packages [1172 B] [2020-10-26T23:21:17.304Z] Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted Translation-en [21.9 kB] [2020-10-26T23:21:17.304Z] Get:23 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [941 kB] [2020-10-26T23:21:17.304Z] Get:24 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic/main arm64 Packages [9340 B] [2020-10-26T23:21:17.304Z] Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe Translation-en [241 kB] [2020-10-26T23:21:17.304Z] Get:26 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse arm64 Packages [2360 B] [2020-10-26T23:21:17.304Z] Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse Translation-en [2964 B] [2020-10-26T23:21:17.578Z] Get:28 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic/main Translation-en [1360 B] [2020-10-26T23:21:17.578Z] Get:29 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [9992 B] [2020-10-26T23:21:17.578Z] Get:30 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports/main Translation-en [4764 B] [2020-10-26T23:21:17.578Z] Get:31 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [9932 B] [2020-10-26T23:21:17.578Z] Get:32 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports/universe Translation-en [4588 B] [2020-10-26T23:21:29.969Z] Fetched 6066 kB in 5s (1317 kB/s) [2020-10-26T23:21:32.584Z] Reading package lists... [2020-10-26T23:21:32.858Z] + sudo apt-get install -y expect [2020-10-26T23:21:33.131Z] Reading package lists... [2020-10-26T23:21:33.726Z] Building dependency tree... [2020-10-26T23:21:33.726Z] Reading state information... [2020-10-26T23:21:34.323Z] The following additional packages will be installed: [2020-10-26T23:21:34.323Z] tcl-expect [2020-10-26T23:21:34.595Z] The following NEW packages will be installed: [2020-10-26T23:21:34.595Z] expect tcl-expect [2020-10-26T23:21:34.867Z] 0 upgraded, 2 newly installed, 0 to remove and 233 not upgraded. [2020-10-26T23:21:34.867Z] Need to get 233 kB of archives. [2020-10-26T23:21:34.867Z] After this operation, 523 kB of additional disk space will be used. [2020-10-26T23:21:34.867Z] 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-26T23:21:35.142Z] 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-26T23:21:36.117Z] debconf: unable to initialize frontend: Dialog [2020-10-26T23:21:36.117Z] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) [2020-10-26T23:21:36.117Z] debconf: falling back to frontend: Readline [2020-10-26T23:21:36.117Z] debconf: unable to initialize frontend: Readline [2020-10-26T23:21:36.117Z] debconf: (This frontend requires a controlling tty.) [2020-10-26T23:21:36.117Z] debconf: falling back to frontend: Teletype [2020-10-26T23:21:36.117Z] dpkg-preconfigure: unable to re-open stdin: [2020-10-26T23:21:36.391Z] Fetched 233 kB in 1s (362 kB/s) [2020-10-26T23:21:36.673Z] Selecting previously unselected package tcl-expect:arm64. [2020-10-26T23:21:38.316Z] (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-26T23:21:38.316Z] Preparing to unpack .../tcl-expect_5.45.4-1_arm64.deb ... [2020-10-26T23:21:38.316Z] Unpacking tcl-expect:arm64 (5.45.4-1) ... [2020-10-26T23:21:38.589Z] Selecting previously unselected package expect. [2020-10-26T23:21:38.589Z] Preparing to unpack .../expect_5.45.4-1_arm64.deb ... [2020-10-26T23:21:38.589Z] Unpacking expect (5.45.4-1) ... [2020-10-26T23:21:38.865Z] Setting up tcl-expect:arm64 (5.45.4-1) ... [2020-10-26T23:21:38.865Z] Setting up expect (5.45.4-1) ... [2020-10-26T23:21:39.141Z] Processing triggers for man-db (2.8.3-2ubuntu0.1) ... [2020-10-26T23:21:42.548Z] Processing triggers for libc-bin (2.27-3ubuntu1) ... [2020-10-26T23:21:49.267Z] + '[' -f snap/local/patches/0001-optimize-build-for-pipeline-CI-check.patch ']' [2020-10-26T23:21:49.267Z] + pushd /build [2020-10-26T23:21:49.267Z] /w/workspace/app-service-configurable/12@tmp/durable-ffc57d17/script.sh: line 27: pushd: /build: No such file or directory [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-26T23:21:50.750Z] 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-26T23:21:53.961Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-26T23:21:54.539Z] ---> package-listing.sh [2020-10-26T23:21:54.539Z] ++ facter osfamily [2020-10-26T23:21:54.539Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-26T23:21:54.539Z] + OS_FAMILY=redhat [2020-10-26T23:21:54.539Z] + workspace=/w/workspace/_app-service-configurable_PR-124 [2020-10-26T23:21:54.539Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-26T23:21:54.539Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-26T23:21:54.539Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-26T23:21:54.539Z] + PACKAGES=/tmp/packages_start.txt [2020-10-26T23:21:54.539Z] + '[' /w/workspace/_app-service-configurable_PR-124 ']' [2020-10-26T23:21:54.539Z] + PACKAGES=/tmp/packages_end.txt [2020-10-26T23:21:54.539Z] + case "${OS_FAMILY}" in [2020-10-26T23:21:54.539Z] + rpm -qa [2020-10-26T23:21:54.539Z] + sort [2020-10-26T23:21:58.774Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-26T23:21:58.774Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-26T23:21:58.774Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-26T23:21:58.774Z] + '[' /w/workspace/_app-service-configurable_PR-124 ']' [2020-10-26T23:21:58.774Z] + mkdir -p /w/workspace/_app-service-configurable_PR-124/archives/ [2020-10-26T23:21:58.774Z] + 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-26T23:21:58.788Z] 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-26T23:21:59.084Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-26T23:21:59.393Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-26T23:21:59.394Z] [2020-10-26T23:21:59.394Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-26T23:21:59.780Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-26T23:21:59.780Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-26T23:21:59.780Z] df20fa9351a1: Pulling fs layer [2020-10-26T23:21:59.780Z] 36b3adc4ff6f: Pulling fs layer [2020-10-26T23:21:59.780Z] 8ad3a11d3b57: Pulling fs layer [2020-10-26T23:21:59.780Z] 46f8f816bc3b: Pulling fs layer [2020-10-26T23:21:59.780Z] 93b61091891f: Pulling fs layer [2020-10-26T23:21:59.780Z] 93b9cdb0e59b: Pulling fs layer [2020-10-26T23:21:59.780Z] 5e14af77c1be: Pulling fs layer [2020-10-26T23:21:59.780Z] 01666e4c0597: Pulling fs layer [2020-10-26T23:21:59.780Z] aa168da1d23b: Pulling fs layer [2020-10-26T23:21:59.780Z] 93b9cdb0e59b: Waiting [2020-10-26T23:21:59.780Z] 5e14af77c1be: Waiting [2020-10-26T23:21:59.780Z] 01666e4c0597: Waiting [2020-10-26T23:21:59.780Z] aa168da1d23b: Waiting [2020-10-26T23:21:59.780Z] 46f8f816bc3b: Waiting [2020-10-26T23:21:59.780Z] 93b61091891f: Waiting [2020-10-26T23:21:59.780Z] 36b3adc4ff6f: Verifying Checksum [2020-10-26T23:21:59.780Z] 36b3adc4ff6f: Download complete [2020-10-26T23:21:59.780Z] 46f8f816bc3b: Download complete [2020-10-26T23:22:00.043Z] df20fa9351a1: Verifying Checksum [2020-10-26T23:22:00.043Z] df20fa9351a1: Download complete [2020-10-26T23:22:00.043Z] 93b9cdb0e59b: Download complete [2020-10-26T23:22:00.043Z] 93b61091891f: Verifying Checksum [2020-10-26T23:22:00.043Z] 93b61091891f: Download complete [2020-10-26T23:22:00.043Z] 5e14af77c1be: Verifying Checksum [2020-10-26T23:22:00.043Z] 5e14af77c1be: Download complete [2020-10-26T23:22:00.043Z] 01666e4c0597: Verifying Checksum [2020-10-26T23:22:00.043Z] 01666e4c0597: Download complete [2020-10-26T23:22:00.306Z] df20fa9351a1: Pull complete [2020-10-26T23:22:00.569Z] 36b3adc4ff6f: Pull complete [2020-10-26T23:22:01.150Z] 8ad3a11d3b57: Verifying Checksum [2020-10-26T23:22:01.150Z] 8ad3a11d3b57: Download complete [2020-10-26T23:22:02.122Z] 8ad3a11d3b57: Pull complete [2020-10-26T23:22:02.392Z] 46f8f816bc3b: Pull complete [2020-10-26T23:22:02.660Z] 93b61091891f: Pull complete [2020-10-26T23:22:02.925Z] 93b9cdb0e59b: Pull complete [2020-10-26T23:22:02.925Z] aa168da1d23b: Verifying Checksum [2020-10-26T23:22:02.925Z] 5e14af77c1be: Pull complete [2020-10-26T23:22:03.191Z] 01666e4c0597: Pull complete [2020-10-26T23:22:11.415Z] aa168da1d23b: Pull complete [2020-10-26T23:22:11.415Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-26T23:22:11.415Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-26T23:22:11.415Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-26T23:22:11.641Z] prd-centos7-docker-4c-2g-9017 does not seem to be running inside a container [2020-10-26T23:22:11.699Z] $ 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-26T23:22:15.828Z] $ docker top 351a74d8c27ef6a3769ed48b682aaae3a49db689f7462be89267d8ac19d740b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-26T23:22:16.485Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-26T23:22:16.791Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-26T23:22:17.099Z] + ls /var/log/sa-host [2020-10-26T23:22:17.099Z] + sadf -c /var/log/sa-host/sa05 [2020-10-26T23:22:17.099Z] file_magic: OK [2020-10-26T23:22:17.099Z] HZ: Using current value: 100 [2020-10-26T23:22:17.099Z] file_header: OK [2020-10-26T23:22:17.099Z] 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-26T23:22:17.099Z] Statistics: [2020-10-26T23:22:17.099Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-26T23:22:17.099Z] File successfully converted to sysstat format version 12.2.1 [2020-10-26T23:22:17.099Z] + sadf -c /var/log/sa-host/sa26 [2020-10-26T23:22:17.099Z] file_magic: OK [2020-10-26T23:22:17.099Z] HZ: Using current value: 100 [2020-10-26T23:22:17.099Z] file_header: OK [2020-10-26T23:22:17.099Z] 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-26T23:22:17.099Z] Statistics: [2020-10-26T23:22:17.099Z] 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-26T23:22:17.099Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-26T23:22:17.376Z] provisioning config files... [2020-10-26T23:22:17.399Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-124@tmp/config8468333335289312320tmp [Pipeline] { [Pipeline] echo [2020-10-26T23:22:17.493Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-26T23:22:17.793Z] ---> create-netrc.sh [Pipeline] } [2020-10-26T23:22:17.803Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-26T23:22:17.922Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-26T23:22:18.224Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-26T23:22:18.236Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-26T23:22:18.548Z] ---> sudo-logs.sh [2020-10-26T23:22:18.549Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-26T23:22:18.562Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-26T23:22:18.865Z] ---> job-cost.sh [2020-10-26T23:22:18.865Z] lf-activate-venv: SKIPPING [2020-10-26T23:22:18.865Z] INFO: No Stack... [2020-10-26T23:22:19.814Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-26T23:22:20.389Z] INFO: Archiving Costs [Pipeline] echo [2020-10-26T23:22:20.406Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-26T23:22:20.709Z] ---> logs-deploy.sh [2020-10-26T23:22:20.709Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-124/12 [2020-10-26T23:22:20.709Z] INFO: archiving workspace using pattern(s): [2020-10-26T23:22:22.636Z] Archives upload complete. [2020-10-26T23:22:22.636Z] INFO: archiving logs to Nexus