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 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d+b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 (1a77c6182f6bc99ea1562a2236f9c8ca05e6ccf2) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@efada01dddc644051883a424356893eca9caef03 Attempting to resolve efada01dddc644051883a424356893eca9caef03 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 efada01dddc644051883a424356893eca9caef03 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 efada01dddc644051883a424356893eca9caef03^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains efada01dddc644051883a424356893eca9caef03 # timeout=10 Selected match: pr/264/merge revision efada01dddc644051883a424356893eca9caef03 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 efada01dddc644051883a424356893eca9caef03 (pr/264/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f efada01dddc644051883a424356893eca9caef03 # timeout=10 Commit message: "feat(snap): Use new native build 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-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-4802 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 b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d Merge succeeded, producing 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d Checking out Revision 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d (PR-124) > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d # timeout=10 Commit message: "ci: testing new native snap build" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk eb95a8810dbf10c9fd4fedba36a0f72971cb7199 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-12T15:43:55.823Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-12T15:43:56.059Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-12T15:43:56.160Z] ========================================================= [2020-10-12T15:43:56.160Z] EdgeX Global Pipelines Version Info [2020-10-12T15:43:56.160Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-12T15:43:58.061Z] ------------------- [2020-10-12T15:43:58.061Z] stable info: [2020-10-12T15:43:58.061Z] ------------------- [2020-10-12T15:43:58.061Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-12T15:43:58.061Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-12T15:43:58.061Z] Message: update stable to v1.0.131 [2020-10-12T15:43:58.636Z] ------------------- [2020-10-12T15:43:58.636Z] experimental info: [2020-10-12T15:43:58.636Z] ------------------- [2020-10-12T15:43:58.636Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-12T15:43:58.636Z] Commit SHA: 2e6d42a532571151575c80d72899821df0f9b0af [2020-10-12T15:43:58.636Z] Message: update experimental to v1.0.135 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-12T15:43:59.036Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2020-10-12T15:43:59.187Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2020-10-12T15:43:59.287Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-12T15:43:59.403Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-12T15:43:59.513Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-12T15:43:59.612Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-12T15:43:59.705Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-12T15:43:59.812Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-12T15:43:59.904Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-10-12T15:44:00.013Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-12T15:44:00.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-12T15:44:00.242Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-service-configurable [Pipeline] echo [2020-10-12T15:44:00.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-12T15:44:00.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-12T15:44:00.739Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-12T15:44:00.835Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-10-12T15:44:00.930Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T15:44:01.043Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T15:44:01.163Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-12T15:44:01.265Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-10-12T15:44:01.375Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-12T15:44:01.466Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-12T15:44:01.590Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-12T15:44:01.677Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-12T15:44:01.766Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-12T15:44:01.863Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-124 [Pipeline] echo [2020-10-12T15:44:01.978Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-124 [Pipeline] echo [2020-10-12T15:44:02.071Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-124 [Pipeline] echo [2020-10-12T15:44:02.186Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d [Pipeline] echo [2020-10-12T15:44:02.277Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5eaaeaa [Pipeline] echo [2020-10-12T15:44:02.376Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-12T15:44:02.981Z] + git log --format=format:%s -1 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d [Pipeline] echo [2020-10-12T15:44:03.049Z] GIT_COMMIT: 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d, Commit Message: ci: testing new native snap build [Pipeline] echo [2020-10-12T15:44:03.096Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-12T15:44:03.688Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T15:44:03.951Z] [2020-10-12T15:44:03.951Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T15:44:04.311Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T15:44:04.311Z] latest: Pulling from edgex-devops/git-semver [2020-10-12T15:44:04.311Z] 31603596830f: Pulling fs layer [2020-10-12T15:44:04.311Z] 2a8b12db71e7: Pulling fs layer [2020-10-12T15:44:04.311Z] 6ca5941a6612: Pulling fs layer [2020-10-12T15:44:04.311Z] ecc8261a40a4: Pulling fs layer [2020-10-12T15:44:04.311Z] ecc8261a40a4: Waiting [2020-10-12T15:44:04.311Z] 2a8b12db71e7: Verifying Checksum [2020-10-12T15:44:04.311Z] 2a8b12db71e7: Download complete [2020-10-12T15:44:04.581Z] 31603596830f: Download complete [2020-10-12T15:44:04.581Z] ecc8261a40a4: Verifying Checksum [2020-10-12T15:44:04.581Z] ecc8261a40a4: Download complete [2020-10-12T15:44:04.581Z] 6ca5941a6612: Verifying Checksum [2020-10-12T15:44:04.581Z] 6ca5941a6612: Download complete [2020-10-12T15:44:04.846Z] 31603596830f: Pull complete [2020-10-12T15:44:05.110Z] 2a8b12db71e7: Pull complete [2020-10-12T15:44:05.692Z] 6ca5941a6612: Pull complete [2020-10-12T15:44:05.954Z] ecc8261a40a4: Pull complete [2020-10-12T15:44:05.954Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-12T15:44:05.954Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T15:44:05.954Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-12T15:44:06.058Z] prd-centos7-docker-4c-2g-4802 does not seem to be running inside a container [2020-10-12T15:44:06.107Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-12T15:44:08.713Z] $ docker top be62abd0658e9af2d981065b4f5d2c6b31db7915dd2f1663cfbba9d5d8913fec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-12T15:44:09.041Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-12T15:44:09.041Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-12T15:44:09.253Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-12T15:44:09.259Z] $ docker exec be62abd0658e9af2d981065b4f5d2c6b31db7915dd2f1663cfbba9d5d8913fec ssh-agent [2020-10-12T15:44:09.416Z] SSH_AUTH_SOCK=/tmp/ssh-vpmeonVn7Xnk/agent.11 [2020-10-12T15:44:09.416Z] SSH_AGENT_PID=16 [2020-10-12T15:44:09.426Z] Running ssh-add (command line suppressed) [2020-10-12T15:44:09.543Z] Identity added: /w/workspace/_app-service-configurable_PR-124@tmp/private_key_4478164211315353450.key (/w/workspace/_app-service-configurable_PR-124@tmp/private_key_4478164211315353450.key) [2020-10-12T15:44:09.592Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-12T15:44:09.930Z] + git tag --points-at HEAD [Pipeline] } [2020-10-12T15:44:09.952Z] $ docker exec --env ******** --env ******** be62abd0658e9af2d981065b4f5d2c6b31db7915dd2f1663cfbba9d5d8913fec ssh-agent -k [2020-10-12T15:44:10.060Z] unset SSH_AUTH_SOCK; [2020-10-12T15:44:10.060Z] unset SSH_AGENT_PID; [2020-10-12T15:44:10.060Z] echo Agent pid 16 killed; [2020-10-12T15:44:10.102Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-12T15:44:10.417Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-12T15:44:10.417Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-12T15:44:10.576Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-12T15:44:10.582Z] $ docker exec be62abd0658e9af2d981065b4f5d2c6b31db7915dd2f1663cfbba9d5d8913fec ssh-agent [2020-10-12T15:44:10.735Z] SSH_AUTH_SOCK=/tmp/ssh-C7DSAGGnf3FG/agent.45 [2020-10-12T15:44:10.736Z] SSH_AGENT_PID=50 [2020-10-12T15:44:10.742Z] Running ssh-add (command line suppressed) [2020-10-12T15:44:10.860Z] Identity added: /w/workspace/_app-service-configurable_PR-124@tmp/private_key_2203476548307555301.key (/w/workspace/_app-service-configurable_PR-124@tmp/private_key_2203476548307555301.key) [2020-10-12T15:44:10.905Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-12T15:44:11.237Z] + git semver init [2020-10-12T15:44:11.237Z] # -> Open(): unable to determine branch for HEAD [2020-10-12T15:44:11.237Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-124/.git [2020-10-12T15:44:11.237Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-124 [2020-10-12T15:44:11.237Z] # $SEMVER_REMOTE_NAME = origin [2020-10-12T15:44:11.237Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-12T15:44:11.237Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-12T15:44:11.237Z] # $SEMVER_BRANCH = PR-124 [2020-10-12T15:44:11.237Z] # $SEMVER_TEMP = /tmp/semver-164612095 [2020-10-12T15:44:11.237Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2020-10-12T15:44:11.500Z] # '/tmp/semver-164612095' -> '/w/workspace/_app-service-configurable_PR-124/.semver' [2020-10-12T15:44:11.500Z] # -> Force: false [2020-10-12T15:44:11.500Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-124/.semver [Pipeline] } [2020-10-12T15:44:11.515Z] $ docker exec --env ******** --env ******** be62abd0658e9af2d981065b4f5d2c6b31db7915dd2f1663cfbba9d5d8913fec ssh-agent -k [2020-10-12T15:44:11.641Z] unset SSH_AUTH_SOCK; [2020-10-12T15:44:11.641Z] unset SSH_AGENT_PID; [2020-10-12T15:44:11.641Z] echo Agent pid 50 killed; [2020-10-12T15:44:11.682Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-12T15:44:12.250Z] + git semver [Pipeline] } [2020-10-12T15:44:12.281Z] $ docker stop --time=1 be62abd0658e9af2d981065b4f5d2c6b31db7915dd2f1663cfbba9d5d8913fec [2020-10-12T15:44:13.619Z] $ docker rm -f be62abd0658e9af2d981065b4f5d2c6b31db7915dd2f1663cfbba9d5d8913fec [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-12T15:44:14.286Z] Stashed 1 file(s) [Pipeline] echo [2020-10-12T15:44:14.289Z] [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-12T15:44:29.846Z] Still waiting to schedule task [2020-10-12T15:44:29.846Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-12T15:44:29.849Z] Still waiting to schedule task [2020-10-12T15:44:29.849Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline [2020-10-12T15:46:16.812Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4803 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-12T15:46:16.870Z] Running in /w/workspace/app-service-configurable/4 [Pipeline] { [Pipeline] checkout [2020-10-12T15:46:21.576Z] using credential edgex-jenkins-ssh [2020-10-12T15:46:21.647Z] Cloning the remote Git repository [2020-10-12T15:46:21.697Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-12T15:46:21.810Z] > git init /w/workspace/app-service-configurable/4 # timeout=10 [2020-10-12T15:46:21.908Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-12T15:46:21.909Z] > git --version # timeout=10 [2020-10-12T15:46:21.931Z] > git --version # 'git version 2.17.1' [2020-10-12T15:46:21.933Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T15:46:22.014Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T15:46:22.721Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-12T15:46:22.743Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T15:46:22.767Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-12T15:46:22.801Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-12T15:46:22.802Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T15:46:22.814Z] > 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-12T15:46:23.338Z] Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d [2020-10-12T15:46:23.515Z] Merge succeeded, producing 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d [2020-10-12T15:46:23.515Z] Checking out Revision 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d (PR-124) [2020-10-12T15:46:23.358Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T15:46:23.370Z] > git checkout -f 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d # timeout=10 [2020-10-12T15:46:23.442Z] > git remote # timeout=10 [2020-10-12T15:46:23.460Z] > git config --get remote.origin.url # timeout=10 [2020-10-12T15:46:23.472Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T15:46:23.482Z] > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 [2020-10-12T15:46:23.502Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-12T15:46:23.521Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T15:46:23.535Z] > git checkout -f 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d # timeout=10 [2020-10-12T15:46:27.955Z] Commit message: "ci: testing new native snap build" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-12T15:46:28.864Z] ========================================================= [2020-10-12T15:46:28.864Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-12T15:46:28.864Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-12T15:46:29.831Z] + 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-12T15:46:30.433Z] Sending build context to Docker daemon 93.7kB [2020-10-12T15:46:30.706Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-12T15:46:30.706Z] Step 2/8 : FROM ${BASE} [2020-10-12T15:46:30.982Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-12T15:46:30.982Z] b538f80385f9: Pulling fs layer [2020-10-12T15:46:30.982Z] 74f711af9a0d: Pulling fs layer [2020-10-12T15:46:30.982Z] 99f96fe45779: Pulling fs layer [2020-10-12T15:46:30.982Z] 8529a6b9a6be: Pulling fs layer [2020-10-12T15:46:30.982Z] 45590311c82a: Pulling fs layer [2020-10-12T15:46:30.982Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-12T15:46:30.982Z] 209524e5b208: Pulling fs layer [2020-10-12T15:46:30.982Z] 45590311c82a: Waiting [2020-10-12T15:46:30.982Z] 69ca0ff8b7b3: Waiting [2020-10-12T15:46:30.982Z] 8529a6b9a6be: Waiting [2020-10-12T15:46:30.982Z] 209524e5b208: Waiting [2020-10-12T15:46:30.982Z] 99f96fe45779: Verifying Checksum [2020-10-12T15:46:30.982Z] 99f96fe45779: Download complete [2020-10-12T15:46:31.254Z] 74f711af9a0d: Verifying Checksum [2020-10-12T15:46:31.254Z] 74f711af9a0d: Download complete [2020-10-12T15:46:31.254Z] 45590311c82a: Verifying Checksum [2020-10-12T15:46:31.254Z] 45590311c82a: Download complete [2020-10-12T15:46:31.530Z] 69ca0ff8b7b3: Download complete [2020-10-12T15:46:31.530Z] b538f80385f9: Download complete [2020-10-12T15:46:32.130Z] b538f80385f9: Pull complete [2020-10-12T15:46:32.748Z] 74f711af9a0d: Pull complete [2020-10-12T15:46:33.355Z] 99f96fe45779: Pull complete [2020-10-12T15:46:34.341Z] 209524e5b208: Verifying Checksum [2020-10-12T15:46:34.341Z] 209524e5b208: Download complete [2020-10-12T15:46:35.323Z] 8529a6b9a6be: Verifying Checksum [2020-10-12T15:46:35.323Z] 8529a6b9a6be: Download complete [2020-10-12T15:46:45.504Z] 8529a6b9a6be: Pull complete [2020-10-12T15:46:45.781Z] 45590311c82a: Pull complete [2020-10-12T15:46:46.378Z] 69ca0ff8b7b3: Pull complete [2020-10-12T15:46:50.698Z] 209524e5b208: Pull complete [2020-10-12T15:46:50.698Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-12T15:46:50.698Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-12T15:46:50.698Z] ---> 5bddaf1c2fca [2020-10-12T15:46:50.698Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-12T15:46:53.321Z] ---> Running in a633c8c6ab37 [2020-10-12T15:46:53.321Z] Removing intermediate container a633c8c6ab37 [2020-10-12T15:46:53.321Z] ---> 94cd42037a75 [2020-10-12T15:46:53.321Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T15:46:53.321Z] ---> Running in 626ca7d0cf8f [2020-10-12T15:46:55.950Z] Removing intermediate container 626ca7d0cf8f [2020-10-12T15:46:55.950Z] ---> e043b8af7a7d [2020-10-12T15:46:55.950Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-10-12T15:46:56.227Z] ---> Running in 914171e5d753 [2020-10-12T15:46:57.664Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-12T15:46:58.641Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-12T15:46:59.232Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-10-12T15:46:59.232Z] (2/6) Installing libsodium (1.0.18-r0) [2020-10-12T15:46:59.232Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-10-12T15:46:59.232Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-10-12T15:46:59.501Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-12T15:46:59.502Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-10-12T15:46:59.775Z] Executing busybox-1.31.1-r16.trigger [2020-10-12T15:46:59.775Z] OK: 144 MiB in 45 packages [2020-10-12T15:47:00.759Z] Removing intermediate container 914171e5d753 [2020-10-12T15:47:00.759Z] ---> 08f8092e3536 [2020-10-12T15:47:00.759Z] Step 6/8 : WORKDIR /app [2020-10-12T15:47:01.032Z] ---> Running in a001c8720527 [2020-10-12T15:47:01.630Z] Removing intermediate container a001c8720527 [2020-10-12T15:47:01.630Z] ---> 5c6bcf09489a [2020-10-12T15:47:01.630Z] Step 7/8 : COPY . . [2020-10-12T15:47:02.616Z] ---> bf43d5991476 [2020-10-12T15:47:02.616Z] Step 8/8 : RUN go mod download [2020-10-12T15:47:02.616Z] ---> Running in 128ab405eac7 [2020-10-12T15:47:09.960Z] Running on prd-centos7-docker-4c-2g-4804 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-12T15:47:10.030Z] Running in /w/workspace/app-service-configurable/4 [Pipeline] { [Pipeline] checkout [2020-10-12T15:47:12.739Z] using credential edgex-jenkins-ssh [2020-10-12T15:47:12.801Z] Cloning the remote Git repository [2020-10-12T15:47:12.830Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-12T15:47:12.897Z] > git init /w/workspace/app-service-configurable/4 # timeout=10 [2020-10-12T15:47:12.954Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-12T15:47:12.955Z] > git --version # timeout=10 [2020-10-12T15:47:12.961Z] > git --version # 'git version 2.16.5' [2020-10-12T15:47:12.962Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T15:47:12.989Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T15:47:13.504Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-12T15:47:13.510Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T15:47:13.521Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-12T15:47:13.535Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-12T15:47:13.535Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T15:47:13.540Z] > 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-12T15:47:14.007Z] Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d [2020-10-12T15:47:14.087Z] Merge succeeded, producing 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d [2020-10-12T15:47:14.088Z] Checking out Revision 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d (PR-124) [2020-10-12T15:47:14.018Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T15:47:14.024Z] > git checkout -f 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d # timeout=10 [2020-10-12T15:47:14.058Z] > git remote # timeout=10 [2020-10-12T15:47:14.063Z] > git config --get remote.origin.url # timeout=10 [2020-10-12T15:47:14.068Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T15:47:14.072Z] > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 [2020-10-12T15:47:14.083Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-12T15:47:14.093Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T15:47:14.098Z] > git checkout -f 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d # timeout=10 [2020-10-12T15:47:18.401Z] Commit message: "ci: testing new native snap build" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-12T15:47:19.281Z] ========================================================= [2020-10-12T15:47:19.281Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-12T15:47:19.281Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-12T15:47:19.899Z] + 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-12T15:47:19.899Z] Sending build context to Docker daemon 93.7kB [2020-10-12T15:47:20.163Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-12T15:47:20.163Z] Step 2/8 : FROM ${BASE} [2020-10-12T15:47:20.426Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-12T15:47:20.426Z] df20fa9351a1: Pulling fs layer [2020-10-12T15:47:20.426Z] ed8968b2872e: Pulling fs layer [2020-10-12T15:47:20.426Z] a92cc7c5fd73: Pulling fs layer [2020-10-12T15:47:20.426Z] e871e8e8d7a9: Pulling fs layer [2020-10-12T15:47:20.426Z] e73272ec9a57: Pulling fs layer [2020-10-12T15:47:20.426Z] 1e910a182e73: Pulling fs layer [2020-10-12T15:47:20.426Z] 4e634b169226: Pulling fs layer [2020-10-12T15:47:20.426Z] e73272ec9a57: Waiting [2020-10-12T15:47:20.426Z] 1e910a182e73: Waiting [2020-10-12T15:47:20.426Z] 4e634b169226: Waiting [2020-10-12T15:47:20.426Z] e871e8e8d7a9: Waiting [2020-10-12T15:47:20.426Z] a92cc7c5fd73: Verifying Checksum [2020-10-12T15:47:20.426Z] a92cc7c5fd73: Download complete [2020-10-12T15:47:20.426Z] ed8968b2872e: Download complete [2020-10-12T15:47:20.426Z] e73272ec9a57: Verifying Checksum [2020-10-12T15:47:20.426Z] e73272ec9a57: Download complete [2020-10-12T15:47:20.426Z] 1e910a182e73: Download complete [2020-10-12T15:47:20.426Z] df20fa9351a1: Verifying Checksum [2020-10-12T15:47:20.426Z] df20fa9351a1: Download complete [2020-10-12T15:47:20.695Z] df20fa9351a1: Pull complete [2020-10-12T15:47:20.964Z] ed8968b2872e: Pull complete [2020-10-12T15:47:20.964Z] a92cc7c5fd73: Pull complete [2020-10-12T15:47:22.359Z] 4e634b169226: Verifying Checksum [2020-10-12T15:47:22.359Z] 4e634b169226: Download complete [2020-10-12T15:47:22.937Z] e871e8e8d7a9: Verifying Checksum [2020-10-12T15:47:22.937Z] e871e8e8d7a9: Download complete [2020-10-12T15:47:28.259Z] e871e8e8d7a9: Pull complete [2020-10-12T15:47:28.260Z] e73272ec9a57: Pull complete [2020-10-12T15:47:28.260Z] 1e910a182e73: Pull complete [2020-10-12T15:47:32.497Z] 4e634b169226: Pull complete [2020-10-12T15:47:32.497Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-12T15:47:32.497Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-12T15:47:32.497Z] ---> f7629b54cfaa [2020-10-12T15:47:32.497Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-12T15:47:32.497Z] ---> Running in c2624182cf20 [2020-10-12T15:47:32.497Z] Removing intermediate container c2624182cf20 [2020-10-12T15:47:32.497Z] ---> 7d0e37b19b01 [2020-10-12T15:47:32.497Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T15:47:32.497Z] ---> Running in 0221d95a2eb2 [2020-10-12T15:47:34.453Z] Removing intermediate container 0221d95a2eb2 [2020-10-12T15:47:34.453Z] ---> 0c053c12529c [2020-10-12T15:47:34.453Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-10-12T15:47:34.453Z] ---> Running in a0c7277c4a1e [2020-10-12T15:47:34.717Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-12T15:47:34.984Z] Removing intermediate container 128ab405eac7 [2020-10-12T15:47:34.984Z] ---> 266d9c195b49 [2020-10-12T15:47:34.984Z] Successfully built 266d9c195b49 [2020-10-12T15:47:34.984Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T15:47:35.393Z] + docker inspect -f . ci-base-image-arm64 [2020-10-12T15:47:35.393Z] . [Pipeline] withDockerContainer [2020-10-12T15:47:35.664Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-12T15:47:35.668Z] prd-ubuntu18.04-docker-arm64-4c-16g-4803 does not seem to be running inside a container [2020-10-12T15:47:35.753Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-12T15:47:35.928Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-10-12T15:47:35.928Z] (2/6) Installing libsodium (1.0.18-r0) [2020-10-12T15:47:36.504Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-10-12T15:47:36.504Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-10-12T15:47:36.768Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-12T15:47:36.768Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-10-12T15:47:36.768Z] Executing busybox-1.31.1-r16.trigger [2020-10-12T15:47:36.768Z] OK: 167 MiB in 45 packages [2020-10-12T15:47:37.623Z] $ docker top 83dd1d589200a4700bf98e9de14ca78f6cedf7da5c25fc088f774fc9b104e700 -eo pid,comm [2020-10-12T15:47:37.722Z] Removing intermediate container a0c7277c4a1e [2020-10-12T15:47:37.722Z] ---> cba52571a774 [2020-10-12T15:47:37.722Z] Step 6/8 : WORKDIR /app [2020-10-12T15:47:37.722Z] ---> Running in edbe0108aca3 [2020-10-12T15:47:37.722Z] Removing intermediate container edbe0108aca3 [2020-10-12T15:47:37.722Z] ---> b8ea3fc02233 [2020-10-12T15:47:37.722Z] Step 7/8 : COPY . . [Pipeline] { [2020-10-12T15:47:37.988Z] ---> 9329ed5edf12 [2020-10-12T15:47:37.988Z] Step 8/8 : RUN go mod download [Pipeline] sh [2020-10-12T15:47:38.293Z] ---> Running in 015d2502f635 [2020-10-12T15:47:39.051Z] + go version [2020-10-12T15:47:39.051Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-12T15:47:39.077Z] $ docker stop --time=1 83dd1d589200a4700bf98e9de14ca78f6cedf7da5c25fc088f774fc9b104e700 [2020-10-12T15:47:40.984Z] $ docker rm -f 83dd1d589200a4700bf98e9de14ca78f6cedf7da5c25fc088f774fc9b104e700 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-12T15:47:41.924Z] + docker inspect -f . ci-base-image-arm64 [2020-10-12T15:47:41.924Z] . [Pipeline] withDockerContainer [2020-10-12T15:47:42.157Z] prd-ubuntu18.04-docker-arm64-4c-16g-4803 does not seem to be running inside a container [2020-10-12T15:47:42.243Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-12T15:47:44.044Z] $ docker top c07f7fd029c160edbcc870b04028cd0e89d551e0bde8091c831f4e8db6f7bec0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T15:47:45.413Z] + make test [2020-10-12T15:47:45.413Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-10-12T15:48:04.931Z] Removing intermediate container 015d2502f635 [2020-10-12T15:48:04.931Z] ---> 74a565b82439 [2020-10-12T15:48:04.931Z] Successfully built 74a565b82439 [2020-10-12T15:48:04.931Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T15:48:05.283Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-12T15:48:05.284Z] . [Pipeline] withDockerContainer [2020-10-12T15:48:05.396Z] prd-centos7-docker-4c-2g-4804 does not seem to be running inside a container [2020-10-12T15:48:05.454Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@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-12T15:48:06.210Z] $ docker top c674c6876420a7cc9c3f0ce8ee2edbbf6086f6c4bf569cc52d67ea7f1ce0569b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T15:48:06.713Z] + go version [2020-10-12T15:48:06.714Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-12T15:48:06.730Z] $ docker stop --time=1 c674c6876420a7cc9c3f0ce8ee2edbbf6086f6c4bf569cc52d67ea7f1ce0569b [2020-10-12T15:48:08.064Z] $ docker rm -f c674c6876420a7cc9c3f0ce8ee2edbbf6086f6c4bf569cc52d67ea7f1ce0569b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-12T15:48:10.111Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-12T15:48:10.111Z] . [Pipeline] withDockerContainer [2020-10-12T15:48:10.213Z] prd-centos7-docker-4c-2g-4804 does not seem to be running inside a container [2020-10-12T15:48:10.413Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@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-12T15:48:10.994Z] $ docker top 16315d1476842588c8c27fa9716ec4ffd7290580d8dc0a07db6a1a4dadc34737 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T15:48:11.476Z] + make test [2020-10-12T15:48:11.476Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-10-12T15:48:26.501Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-10-12T15:48:26.767Z] CGO_ENABLED=1 go vet ./... [2020-10-12T15:48:31.020Z] gofmt -l . [2020-10-12T15:48:31.020Z] [ "`gofmt -l .`" = "" ] [2020-10-12T15:48:31.020Z] ./bin/test-go-mod-tidy.sh [2020-10-12T15:48:31.020Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-10-12T15:48:31.616Z] Stashed 1 file(s) [Pipeline] } [2020-10-12T15:48:31.625Z] $ docker stop --time=1 16315d1476842588c8c27fa9716ec4ffd7290580d8dc0a07db6a1a4dadc34737 [2020-10-12T15:48:34.091Z] $ docker rm -f 16315d1476842588c8c27fa9716ec4ffd7290580d8dc0a07db6a1a4dadc34737 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-12T15:48:36.903Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-12T15:48:37.200Z] + ls -al . [2020-10-12T15:48:37.200Z] total 96 [2020-10-12T15:48:37.200Z] drwxrwxr-x. 7 jenkins jenkins 4096 Oct 12 15:48 . [2020-10-12T15:48:37.200Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 12 15:47 .. [2020-10-12T15:48:37.200Z] -rw-rw-r--. 1 jenkins jenkins 6568 Oct 12 15:47 Attribution.txt [2020-10-12T15:48:37.200Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 12 15:47 bin [2020-10-12T15:48:37.200Z] -rw-r--r--. 1 jenkins jenkins 10 Oct 12 15:48 coverage.out [2020-10-12T15:48:37.200Z] -rw-rw-r--. 1 jenkins jenkins 180 Oct 12 15:47 docker-compose.debug.yml [2020-10-12T15:48:37.200Z] -rw-rw-r--. 1 jenkins jenkins 133 Oct 12 15:47 docker-compose.yml [2020-10-12T15:48:37.200Z] -rw-rw-r--. 1 jenkins jenkins 2002 Oct 12 15:47 Dockerfile [2020-10-12T15:48:37.200Z] -rw-rw-r--. 1 jenkins jenkins 966 Oct 12 15:47 Dockerfile.build [2020-10-12T15:48:37.200Z] -rw-rw-r--. 1 jenkins jenkins 119 Oct 12 15:47 .dockerignore [2020-10-12T15:48:37.200Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 12 15:47 .git [2020-10-12T15:48:37.200Z] drwxrwxr-x. 2 jenkins jenkins 81 Oct 12 15:47 .github [2020-10-12T15:48:37.200Z] -rw-rw-r--. 1 jenkins jenkins 93 Oct 12 15:47 .gitignore [2020-10-12T15:48:37.200Z] -rw-r--r--. 1 jenkins jenkins 133 Oct 12 15:48 go.mod [2020-10-12T15:48:37.200Z] -rw-r--r--. 1 jenkins jenkins 19640 Oct 12 15:48 go.sum [2020-10-12T15:48:37.200Z] -rw-rw-r--. 1 jenkins jenkins 766 Oct 12 15:47 Jenkinsfile [2020-10-12T15:48:37.200Z] -rw-rw-r--. 1 jenkins jenkins 10174 Oct 12 15:47 LICENSE [2020-10-12T15:48:37.200Z] -rw-rw-r--. 1 jenkins jenkins 1519 Oct 12 15:47 main.go [2020-10-12T15:48:37.200Z] -rw-rw-r--. 1 jenkins jenkins 1573 Oct 12 15:47 makefile [2020-10-12T15:48:37.200Z] -rw-rw-r--. 1 jenkins jenkins 1277 Oct 12 15:47 README.md [2020-10-12T15:48:37.200Z] drwxrwxr-x. 10 jenkins jenkins 171 Oct 12 15:47 res [2020-10-12T15:48:37.200Z] drwxrwxr-x. 4 jenkins jenkins 71 Oct 12 15:47 snap [2020-10-12T15:48:37.200Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 12 15:44 VERSION [Pipeline] isUnix [Pipeline] sh [2020-10-12T15:48:37.509Z] + 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=5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d --label arch=amd64 --label version=0.0.0 . [2020-10-12T15:48:37.509Z] Sending build context to Docker daemon 116.2kB [2020-10-12T15:48:37.509Z] Step 1/27 : ARG BASE=golang:1.15-alpine [2020-10-12T15:48:37.509Z] Step 2/27 : FROM ${BASE} AS builder [2020-10-12T15:48:37.509Z] ---> 74a565b82439 [2020-10-12T15:48:37.509Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2020-10-12T15:48:37.773Z] ---> Running in 1e59273fb52d [2020-10-12T15:48:37.773Z] Removing intermediate container 1e59273fb52d [2020-10-12T15:48:37.773Z] ---> a2a16486d0ae [2020-10-12T15:48:37.773Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2020-10-12T15:48:38.039Z] ---> Running in dbba4a17bc23 [2020-10-12T15:48:38.039Z] Removing intermediate container dbba4a17bc23 [2020-10-12T15:48:38.039Z] ---> 0fd3f447e8c9 [2020-10-12T15:48:38.039Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-12T15:48:38.304Z] ---> Running in 9b46b4901271 [2020-10-12T15:48:38.304Z] Removing intermediate container 9b46b4901271 [2020-10-12T15:48:38.304Z] ---> 0742ce2b4f59 [2020-10-12T15:48:38.304Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T15:48:38.304Z] ---> Running in 739f1e5ba418 [2020-10-12T15:48:39.254Z] Removing intermediate container 739f1e5ba418 [2020-10-12T15:48:39.254Z] ---> 423b763c7324 [2020-10-12T15:48:39.254Z] Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-12T15:48:39.519Z] ---> Running in 9e23410272f8 [2020-10-12T15:48:39.782Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-12T15:48:40.728Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-12T15:48:40.992Z] OK: 167 MiB in 45 packages [2020-10-12T15:48:41.254Z] Removing intermediate container 9e23410272f8 [2020-10-12T15:48:41.254Z] ---> f45c7a80d70f [2020-10-12T15:48:41.254Z] Step 8/27 : WORKDIR /app [2020-10-12T15:48:41.516Z] ---> Running in a6a9987b59f0 [2020-10-12T15:48:41.516Z] Removing intermediate container a6a9987b59f0 [2020-10-12T15:48:41.516Z] ---> 16fd2c4b8558 [2020-10-12T15:48:41.516Z] Step 9/27 : COPY go.mod . [2020-10-12T15:48:41.779Z] ---> 3610e85e43ad [2020-10-12T15:48:41.779Z] Step 10/27 : RUN go mod download [2020-10-12T15:48:41.779Z] ---> Running in 93d44049b553 [2020-10-12T15:48:42.008Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-10-12T15:48:42.009Z] CGO_ENABLED=1 go vet ./... [2020-10-12T15:48:42.733Z] Removing intermediate container 93d44049b553 [2020-10-12T15:48:42.733Z] ---> 809cc1973954 [2020-10-12T15:48:42.733Z] Step 11/27 : COPY . . [2020-10-12T15:48:43.000Z] ---> 6a448874285e [2020-10-12T15:48:43.000Z] Step 12/27 : ARG MAKE="make build" [2020-10-12T15:48:43.000Z] ---> Running in 132ce55fdaa6 [2020-10-12T15:48:43.265Z] Removing intermediate container 132ce55fdaa6 [2020-10-12T15:48:43.265Z] ---> 53af9343398c [2020-10-12T15:48:43.265Z] Step 13/27 : RUN $MAKE [2020-10-12T15:48:43.265Z] ---> Running in df96bade3209 [2020-10-12T15:48:43.459Z] gofmt -l . [2020-10-12T15:48:43.459Z] [ "`gofmt -l .`" = "" ] [2020-10-12T15:48:43.459Z] ./bin/test-go-mod-tidy.sh [2020-10-12T15:48:43.856Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/internal.SDKVersion=v1.2.1-dev.35 -X github.com/edgexfoundry/app-functions-sdk-go/internal.ApplicationVersion=0.0.0" -o app-service-configurable [2020-10-12T15:48:44.452Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-10-12T15:48:45.447Z] Warning: overwriting stash ‘coverage-report’ [2020-10-12T15:48:46.133Z] Stashed 1 file(s) [Pipeline] } [2020-10-12T15:48:46.148Z] $ docker stop --time=1 c07f7fd029c160edbcc870b04028cd0e89d551e0bde8091c831f4e8db6f7bec0 [2020-10-12T15:48:48.468Z] $ docker rm -f c07f7fd029c160edbcc870b04028cd0e89d551e0bde8091c831f4e8db6f7bec0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-12T15:48:49.760Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-12T15:48:50.128Z] + ls -al . [2020-10-12T15:48:50.128Z] total 120 [2020-10-12T15:48:50.128Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 12 15:48 . [2020-10-12T15:48:50.128Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 15:46 .. [2020-10-12T15:48:50.128Z] -rw-rw-r-- 1 jenkins jenkins 119 Oct 12 15:46 .dockerignore [2020-10-12T15:48:50.128Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 15:46 .git [2020-10-12T15:48:50.128Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 15:46 .github [2020-10-12T15:48:50.128Z] -rw-rw-r-- 1 jenkins jenkins 93 Oct 12 15:46 .gitignore [2020-10-12T15:48:50.128Z] -rw-rw-r-- 1 jenkins jenkins 6568 Oct 12 15:46 Attribution.txt [2020-10-12T15:48:50.128Z] -rw-rw-r-- 1 jenkins jenkins 2002 Oct 12 15:46 Dockerfile [2020-10-12T15:48:50.128Z] -rw-rw-r-- 1 jenkins jenkins 966 Oct 12 15:46 Dockerfile.build [2020-10-12T15:48:50.128Z] -rw-rw-r-- 1 jenkins jenkins 766 Oct 12 15:46 Jenkinsfile [2020-10-12T15:48:50.128Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 12 15:46 LICENSE [2020-10-12T15:48:50.128Z] -rw-rw-r-- 1 jenkins jenkins 1277 Oct 12 15:46 README.md [2020-10-12T15:48:50.128Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 15:44 VERSION [2020-10-12T15:48:50.128Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 15:46 bin [2020-10-12T15:48:50.128Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 12 15:47 coverage.out [2020-10-12T15:48:50.128Z] -rw-rw-r-- 1 jenkins jenkins 180 Oct 12 15:46 docker-compose.debug.yml [2020-10-12T15:48:50.128Z] -rw-rw-r-- 1 jenkins jenkins 133 Oct 12 15:46 docker-compose.yml [2020-10-12T15:48:50.128Z] -rw-r--r-- 1 jenkins jenkins 133 Oct 12 15:48 go.mod [2020-10-12T15:48:50.128Z] -rw-r--r-- 1 jenkins jenkins 19640 Oct 12 15:48 go.sum [2020-10-12T15:48:50.128Z] -rw-rw-r-- 1 jenkins jenkins 1519 Oct 12 15:46 main.go [2020-10-12T15:48:50.128Z] -rw-rw-r-- 1 jenkins jenkins 1573 Oct 12 15:46 makefile [2020-10-12T15:48:50.128Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 15:46 res [2020-10-12T15:48:50.128Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 15:46 snap [Pipeline] isUnix [Pipeline] sh [2020-10-12T15:48:50.475Z] + 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=5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d --label arch=arm64 --label version=0.0.0 . [2020-10-12T15:48:50.475Z] Sending build context to Docker daemon 116.2kB [2020-10-12T15:48:50.748Z] Step 1/27 : ARG BASE=golang:1.15-alpine [2020-10-12T15:48:50.748Z] Step 2/27 : FROM ${BASE} AS builder [2020-10-12T15:48:50.748Z] ---> 266d9c195b49 [2020-10-12T15:48:50.748Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2020-10-12T15:48:51.021Z] ---> Running in 6ad623219ceb [2020-10-12T15:48:51.616Z] Removing intermediate container 6ad623219ceb [2020-10-12T15:48:51.616Z] ---> 87c3fbe2e823 [2020-10-12T15:48:51.616Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2020-10-12T15:48:51.617Z] ---> Running in d76d75d30106 [2020-10-12T15:48:52.212Z] Removing intermediate container d76d75d30106 [2020-10-12T15:48:52.212Z] ---> b76c26ccc572 [2020-10-12T15:48:52.212Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-12T15:48:52.212Z] ---> Running in 0883f168a1c0 [2020-10-12T15:48:52.812Z] Removing intermediate container 0883f168a1c0 [2020-10-12T15:48:52.812Z] ---> 1f3fd8ef5c03 [2020-10-12T15:48:52.812Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T15:48:52.812Z] ---> Running in 49185e18846e [2020-10-12T15:48:55.436Z] Removing intermediate container 49185e18846e [2020-10-12T15:48:55.436Z] ---> 0306d372e37b [2020-10-12T15:48:55.436Z] Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-12T15:48:55.436Z] ---> Running in 595b2f9da88b [2020-10-12T15:48:56.874Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-12T15:48:57.851Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-12T15:48:58.445Z] OK: 144 MiB in 45 packages [2020-10-12T15:48:59.427Z] Removing intermediate container 595b2f9da88b [2020-10-12T15:48:59.427Z] ---> 5c3366668666 [2020-10-12T15:48:59.427Z] Step 8/27 : WORKDIR /app [2020-10-12T15:48:59.699Z] ---> Running in f8a1966bc027 [2020-10-12T15:48:59.973Z] Removing intermediate container f8a1966bc027 [2020-10-12T15:48:59.973Z] ---> 9720043d3770 [2020-10-12T15:48:59.973Z] Step 9/27 : COPY go.mod . [2020-10-12T15:49:00.956Z] ---> 28e24665200d [2020-10-12T15:49:00.956Z] Step 10/27 : RUN go mod download [2020-10-12T15:49:00.956Z] ---> Running in 4002ec9c253d [2020-10-12T15:49:02.090Z] Removing intermediate container df96bade3209 [2020-10-12T15:49:02.090Z] ---> 1da5849324f5 [2020-10-12T15:49:02.090Z] Step 14/27 : FROM alpine:latest [2020-10-12T15:49:02.090Z] latest: Pulling from library/alpine [2020-10-12T15:49:02.091Z] df20fa9351a1: Already exists [2020-10-12T15:49:02.091Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-10-12T15:49:02.091Z] Status: Downloaded newer image for alpine:latest [2020-10-12T15:49:02.091Z] ---> a24bb4013296 [2020-10-12T15:49:02.091Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-12T15:49:02.091Z] ---> Running in 15b86ac6afde [2020-10-12T15:49:02.091Z] Removing intermediate container 15b86ac6afde [2020-10-12T15:49:02.091Z] ---> cadd8dfea33b [2020-10-12T15:49:02.091Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2020-10-12T15:49:02.091Z] ---> Running in fa27616084bf [2020-10-12T15:49:02.091Z] Removing intermediate container fa27616084bf [2020-10-12T15:49:02.091Z] ---> 883ca2da79b6 [2020-10-12T15:49:02.091Z] Step 17/27 : RUN apk --no-cache add ca-certificates zeromq [2020-10-12T15:49:02.091Z] ---> Running in 052f8dd93aa0 [2020-10-12T15:49:02.091Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-12T15:49:02.091Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-12T15:49:02.091Z] (1/6) Installing ca-certificates (20191127-r4) [2020-10-12T15:49:02.091Z] (2/6) Installing libgcc (9.3.0-r2) [2020-10-12T15:49:02.091Z] (3/6) Installing libsodium (1.0.18-r0) [2020-10-12T15:49:02.091Z] (4/6) Installing libstdc++ (9.3.0-r2) [2020-10-12T15:49:02.091Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-12T15:49:02.091Z] (6/6) Installing zeromq (4.3.3-r0) [2020-10-12T15:49:02.091Z] Executing busybox-1.31.1-r16.trigger [2020-10-12T15:49:02.091Z] Executing ca-certificates-20191127-r4.trigger [2020-10-12T15:49:02.091Z] OK: 9 MiB in 20 packages [2020-10-12T15:49:03.039Z] Removing intermediate container 052f8dd93aa0 [2020-10-12T15:49:03.039Z] ---> 5699e7fd2252 [2020-10-12T15:49:03.039Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2020-10-12T15:49:03.306Z] ---> e077bec12533 [2020-10-12T15:49:03.306Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2020-10-12T15:49:03.569Z] ---> e8f9e822f76c [2020-10-12T15:49:03.569Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2020-10-12T15:49:03.579Z] Removing intermediate container 4002ec9c253d [2020-10-12T15:49:03.579Z] ---> c06128356f30 [2020-10-12T15:49:03.579Z] Step 11/27 : COPY . . [2020-10-12T15:49:03.831Z] ---> ef6dfb67dcd3 [2020-10-12T15:49:03.831Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2020-10-12T15:49:04.406Z] ---> 69252e240d7d [2020-10-12T15:49:04.406Z] Step 22/27 : EXPOSE 48095 [2020-10-12T15:49:04.556Z] ---> e84532dacfe8 [2020-10-12T15:49:04.556Z] Step 12/27 : ARG MAKE="make build" [2020-10-12T15:49:04.556Z] ---> Running in e10703415b67 [2020-10-12T15:49:04.668Z] ---> Running in b7a3c7c56620 [2020-10-12T15:49:04.668Z] Removing intermediate container b7a3c7c56620 [2020-10-12T15:49:04.668Z] ---> c3e4d8ea1a7a [2020-10-12T15:49:04.668Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2020-10-12T15:49:04.668Z] ---> Running in 5596d5da6ab8 [2020-10-12T15:49:04.829Z] Removing intermediate container e10703415b67 [2020-10-12T15:49:04.829Z] ---> b27c95631073 [2020-10-12T15:49:04.829Z] Step 13/27 : RUN $MAKE [2020-10-12T15:49:04.931Z] Removing intermediate container 5596d5da6ab8 [2020-10-12T15:49:04.931Z] ---> a84067acb383 [2020-10-12T15:49:04.931Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-12T15:49:04.931Z] ---> Running in eb42cde9484a [2020-10-12T15:49:05.102Z] ---> Running in 6e62ac61e0a6 [2020-10-12T15:49:05.194Z] Removing intermediate container eb42cde9484a [2020-10-12T15:49:05.194Z] ---> 25ca15391b3f [2020-10-12T15:49:05.194Z] Step 25/27 : LABEL arch=amd64 [2020-10-12T15:49:05.194Z] ---> Running in 96cfb1e6861e [2020-10-12T15:49:05.456Z] Removing intermediate container 96cfb1e6861e [2020-10-12T15:49:05.456Z] ---> fc532bdc2fd0 [2020-10-12T15:49:05.456Z] Step 26/27 : LABEL git_sha=5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d [2020-10-12T15:49:05.456Z] ---> Running in f8943941b2a6 [2020-10-12T15:49:05.718Z] Removing intermediate container f8943941b2a6 [2020-10-12T15:49:05.718Z] ---> 7dec89a2a2f7 [2020-10-12T15:49:05.718Z] Step 27/27 : LABEL version=0.0.0 [2020-10-12T15:49:05.718Z] ---> Running in 63983ee3151c [2020-10-12T15:49:05.718Z] Removing intermediate container 63983ee3151c [2020-10-12T15:49:05.718Z] ---> 11981497c127 [2020-10-12T15:49:05.718Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-12T15:49:05.718Z] Successfully built 11981497c127 [2020-10-12T15:49:05.981Z] 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-12T15:49:06.537Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/internal.SDKVersion=v1.2.1-dev.35 -X github.com/edgexfoundry/app-functions-sdk-go/internal.ApplicationVersion=0.0.0" -o app-service-configurable [2020-10-12T15:49:21.511Z] Still waiting to schedule task [2020-10-12T15:49:21.511Z] All nodes of label ‘ubuntu18.04-docker-8c-8g’ are offline [2020-10-12T15:49:53.575Z] Removing intermediate container 6e62ac61e0a6 [2020-10-12T15:49:53.575Z] ---> f23cced102b1 [2020-10-12T15:49:53.575Z] Step 14/27 : FROM alpine:latest [2020-10-12T15:49:53.575Z] latest: Pulling from library/alpine [2020-10-12T15:49:53.575Z] b538f80385f9: Already exists [2020-10-12T15:49:53.575Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-10-12T15:49:53.575Z] Status: Downloaded newer image for alpine:latest [2020-10-12T15:49:53.575Z] ---> 62ee0e9f8440 [2020-10-12T15:49:53.575Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-12T15:49:53.575Z] ---> Running in bd8d2e9bcaca [2020-10-12T15:49:54.172Z] Removing intermediate container bd8d2e9bcaca [2020-10-12T15:49:54.172Z] ---> e871db71367a [2020-10-12T15:49:54.172Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2020-10-12T15:49:54.172Z] ---> Running in becc83c498ee [2020-10-12T15:49:54.445Z] Removing intermediate container becc83c498ee [2020-10-12T15:49:54.445Z] ---> c7d3b6fd85a9 [2020-10-12T15:49:54.445Z] Step 17/27 : RUN apk --no-cache add ca-certificates zeromq [2020-10-12T15:49:54.720Z] ---> Running in 63ca2061ab89 [2020-10-12T15:49:56.149Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-12T15:49:56.422Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-12T15:49:57.014Z] (1/6) Installing ca-certificates (20191127-r4) [2020-10-12T15:49:57.014Z] (2/6) Installing libgcc (9.3.0-r2) [2020-10-12T15:49:57.014Z] (3/6) Installing libsodium (1.0.18-r0) [2020-10-12T15:49:57.014Z] (4/6) Installing libstdc++ (9.3.0-r2) [2020-10-12T15:49:57.291Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-12T15:49:57.291Z] (6/6) Installing zeromq (4.3.3-r0) [2020-10-12T15:49:57.291Z] Executing busybox-1.31.1-r16.trigger [2020-10-12T15:49:57.291Z] Executing ca-certificates-20191127-r4.trigger [2020-10-12T15:49:57.291Z] OK: 9 MiB in 20 packages [2020-10-12T15:49:59.262Z] Removing intermediate container 63ca2061ab89 [2020-10-12T15:49:59.262Z] ---> 9169a3b7c2bc [2020-10-12T15:49:59.262Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2020-10-12T15:49:59.856Z] ---> 676fa0276079 [2020-10-12T15:49:59.856Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2020-10-12T15:50:00.455Z] ---> f4b0fffda893 [2020-10-12T15:50:00.455Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2020-10-12T15:50:01.431Z] ---> 82824d749dc4 [2020-10-12T15:50:01.431Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2020-10-12T15:50:02.873Z] ---> 59edc0abcec4 [2020-10-12T15:50:02.873Z] Step 22/27 : EXPOSE 48095 [2020-10-12T15:50:02.873Z] ---> Running in b3f26c1df69b [2020-10-12T15:50:03.468Z] Removing intermediate container b3f26c1df69b [2020-10-12T15:50:03.468Z] ---> 18b772e6eac2 [2020-10-12T15:50:03.468Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2020-10-12T15:50:03.468Z] ---> Running in 67f421235909 [2020-10-12T15:50:04.061Z] Removing intermediate container 67f421235909 [2020-10-12T15:50:04.061Z] ---> d61a647da226 [2020-10-12T15:50:04.061Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-12T15:50:04.061Z] ---> Running in 6f63b1d9706d [2020-10-12T15:50:04.657Z] Removing intermediate container 6f63b1d9706d [2020-10-12T15:50:04.657Z] ---> cbcdbd396823 [2020-10-12T15:50:04.657Z] Step 25/27 : LABEL arch=arm64 [2020-10-12T15:50:04.657Z] ---> Running in f2eee8bb81fa [2020-10-12T15:50:05.257Z] Removing intermediate container f2eee8bb81fa [2020-10-12T15:50:05.257Z] ---> ac8cb785bab9 [2020-10-12T15:50:05.257Z] Step 26/27 : LABEL git_sha=5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d [2020-10-12T15:50:05.257Z] ---> Running in 7eaa0a7a8e4a [2020-10-12T15:50:05.853Z] Removing intermediate container 7eaa0a7a8e4a [2020-10-12T15:50:05.853Z] ---> 413912b9198f [2020-10-12T15:50:05.853Z] Step 27/27 : LABEL version=0.0.0 [2020-10-12T15:50:05.853Z] ---> Running in fff409bc8ea4 [2020-10-12T15:50:06.447Z] Removing intermediate container fff409bc8ea4 [2020-10-12T15:50:06.447Z] ---> f4ea154a6896 [2020-10-12T15:50:06.447Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-12T15:50:06.447Z] Successfully built f4ea154a6896 [2020-10-12T15:50:06.447Z] 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-12T15:50:15.004Z] Running on prd-ubuntu18.04-docker-8c-8g-4806 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-12T15:50:15.066Z] Running in /w/workspace/app-service-configurable/4 [Pipeline] { [Pipeline] checkout [2020-10-12T15:50:17.455Z] using credential edgex-jenkins-ssh [2020-10-12T15:50:17.510Z] Cloning the remote Git repository [2020-10-12T15:50:17.543Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-12T15:50:17.607Z] > git init /w/workspace/app-service-configurable/4 # timeout=10 [2020-10-12T15:50:17.642Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-12T15:50:17.642Z] > git --version # timeout=10 [2020-10-12T15:50:17.648Z] > git --version # 'git version 2.17.1' [2020-10-12T15:50:17.648Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T15:50:17.672Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T15:50:18.255Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-12T15:50:18.261Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T15:50:18.271Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-12T15:50:18.289Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-12T15:50:18.289Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T15:50:18.294Z] > 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-12T15:50:18.760Z] Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d [2020-10-12T15:50:18.834Z] Merge succeeded, producing 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d [2020-10-12T15:50:18.834Z] Checking out Revision 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d (PR-124) [2020-10-12T15:50:18.776Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T15:50:18.780Z] > git checkout -f 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d # timeout=10 [2020-10-12T15:50:18.811Z] > git remote # timeout=10 [2020-10-12T15:50:18.818Z] > git config --get remote.origin.url # timeout=10 [2020-10-12T15:50:18.822Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T15:50:18.826Z] > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 [2020-10-12T15:50:18.835Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-12T15:50:18.843Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T15:50:18.856Z] > git checkout -f 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d # timeout=10 [2020-10-12T15:50:22.479Z] Commit message: "ci: testing new native snap build" [2020-10-12T15:50:22.608Z] Still waiting to schedule task [2020-10-12T15:50:22.609Z] All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-10-12T15:50:23.929Z] + echo snap-build.sh [2020-10-12T15:50:23.929Z] snap-build.sh [2020-10-12T15:50:23.929Z] + SNAP_BASE_DIR=. [2020-10-12T15:50:23.929Z] + '[' '!' -z /w/workspace/app-service-configurable/4 ']' [2020-10-12T15:50:23.929Z] + SNAP_BASE_DIR=/w/workspace/app-service-configurable/4 [2020-10-12T15:50:23.929Z] + echo '[snap-build] Building snap in dir [/w/workspace/app-service-configurable/4]' [2020-10-12T15:50:23.929Z] [snap-build] Building snap in dir [/w/workspace/app-service-configurable/4] [2020-10-12T15:50:23.929Z] + cd /w/workspace/app-service-configurable/4 [2020-10-12T15:50:23.929Z] + sudo snap install lxd [2020-10-12T15:50:32.085Z] 2020-10-12T15:50:29Z INFO Waiting for automatic snapd restart... [2020-10-12T15:50:47.030Z] lxd 4.6 from Canonical* installed [2020-10-12T15:50:47.030Z] + sudo snap install --classic snapcraft [2020-10-12T15:50:52.337Z] snapcraft 4.3 from Canonical* installed [2020-10-12T15:50:52.337Z] + sudo lxd init --auto [2020-10-12T15:50:58.948Z] + sudo snapcraft --use-lxd [2020-10-12T15:51:00.421Z] Running with 'sudo' may cause permission errors and is discouraged. Use 'sudo' when cleaning. [2020-10-12T15:51:00.421Z] The 'snap' directory is meant specifically for snapcraft, but it contains the following non-snapcraft-related paths, which is unsupported and will cause unexpected behavior: [2020-10-12T15:51:00.421Z] - README.md [2020-10-12T15:51:00.421Z] [2020-10-12T15:51:00.421Z] If you must store these files within the 'snap' directory, move them to 'snap/local', which is ignored by snapcraft. [2020-10-12T15:51:00.690Z] The 'LXD' provider does not support having the 'lxd' or 'lxd-client' deb packages installed. To completely migrate to the LXD snap run 'lxd.migrate' and try again. [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-12T15:51:01.837Z] Failed in branch amd64 [2020-10-12T15:52:09.556Z] Running on prd-ubuntu18.04-docker-arm64-16c-16g-4807 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-12T15:52:09.639Z] Running in /w/workspace/app-service-configurable/4 [Pipeline] { [Pipeline] checkout [2020-10-12T15:52:13.715Z] using credential edgex-jenkins-ssh [2020-10-12T15:52:13.774Z] Cloning the remote Git repository [2020-10-12T15:52:13.830Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-12T15:52:13.955Z] > git init /w/workspace/app-service-configurable/4 # timeout=10 [2020-10-12T15:52:14.023Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-12T15:52:14.023Z] > git --version # timeout=10 [2020-10-12T15:52:14.039Z] > git --version # 'git version 2.17.1' [2020-10-12T15:52:14.040Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T15:52:14.124Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T15:52:15.347Z] Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d [2020-10-12T15:52:15.538Z] Merge succeeded, producing 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d [2020-10-12T15:52:15.538Z] Checking out Revision 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d (PR-124) [2020-10-12T15:52:14.741Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-12T15:52:14.755Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T15:52:14.779Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-12T15:52:14.812Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-12T15:52:14.813Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T15:52:14.825Z] > 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-12T15:52:15.370Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T15:52:15.382Z] > git checkout -f 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d # timeout=10 [2020-10-12T15:52:15.453Z] > git remote # timeout=10 [2020-10-12T15:52:15.488Z] > git config --get remote.origin.url # timeout=10 [2020-10-12T15:52:15.499Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T15:52:15.509Z] > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 [2020-10-12T15:52:15.530Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-12T15:52:15.550Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T15:52:15.560Z] > git checkout -f 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d # timeout=10 [2020-10-12T15:52:19.804Z] Commit message: "ci: testing new native snap build" [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-10-12T15:52:21.210Z] + echo snap-build.sh [2020-10-12T15:52:21.210Z] snap-build.sh [2020-10-12T15:52:21.210Z] + SNAP_BASE_DIR=. [2020-10-12T15:52:21.210Z] + '[' '!' -z /w/workspace/app-service-configurable/4 ']' [2020-10-12T15:52:21.210Z] + SNAP_BASE_DIR=/w/workspace/app-service-configurable/4 [2020-10-12T15:52:21.210Z] + echo '[snap-build] Building snap in dir [/w/workspace/app-service-configurable/4]' [2020-10-12T15:52:21.210Z] [snap-build] Building snap in dir [/w/workspace/app-service-configurable/4] [2020-10-12T15:52:21.210Z] + cd /w/workspace/app-service-configurable/4 [2020-10-12T15:52:21.210Z] + sudo snap install lxd [2020-10-12T15:52:39.539Z] 2020-10-12T15:52:33Z INFO Waiting for restart... [2020-10-12T15:53:11.925Z] lxd 4.6 from Canonical* installed [2020-10-12T15:53:11.925Z] + sudo snap install --classic snapcraft [2020-10-12T15:53:30.210Z] snapcraft 4.3 from Canonical* installed [2020-10-12T15:53:30.211Z] + sudo lxd init --auto [2020-10-12T15:55:21.992Z] + sudo snapcraft --use-lxd [2020-10-12T15:55:26.287Z] Running with 'sudo' may cause permission errors and is discouraged. Use 'sudo' when cleaning. [2020-10-12T15:55:26.287Z] The 'snap' directory is meant specifically for snapcraft, but it contains the following non-snapcraft-related paths, which is unsupported and will cause unexpected behavior: [2020-10-12T15:55:26.287Z] - README.md [2020-10-12T15:55:26.287Z] [2020-10-12T15:55:26.287Z] If you must store these files within the 'snap' directory, move them to 'snap/local', which is ignored by snapcraft. [2020-10-12T15:55:27.720Z] The 'LXD' provider does not support having the 'lxd' or 'lxd-client' deb packages installed. To completely migrate to the LXD snap run 'lxd.migrate' and try again. [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-12T15:55:29.077Z] 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-12T15:55:32.125Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T15:55:32.693Z] ---> package-listing.sh [2020-10-12T15:55:32.693Z] ++ facter osfamily [2020-10-12T15:55:32.693Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-12T15:55:32.693Z] + OS_FAMILY=redhat [2020-10-12T15:55:32.693Z] + workspace=/w/workspace/_app-service-configurable_PR-124 [2020-10-12T15:55:32.693Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-12T15:55:32.693Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-12T15:55:32.693Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-12T15:55:32.693Z] + PACKAGES=/tmp/packages_start.txt [2020-10-12T15:55:32.693Z] + '[' /w/workspace/_app-service-configurable_PR-124 ']' [2020-10-12T15:55:32.693Z] + PACKAGES=/tmp/packages_end.txt [2020-10-12T15:55:32.693Z] + case "${OS_FAMILY}" in [2020-10-12T15:55:32.693Z] + rpm -qa [2020-10-12T15:55:32.693Z] + sort [2020-10-12T15:55:36.917Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-12T15:55:36.917Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-12T15:55:36.917Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-12T15:55:36.917Z] + '[' /w/workspace/_app-service-configurable_PR-124 ']' [2020-10-12T15:55:36.917Z] + mkdir -p /w/workspace/_app-service-configurable_PR-124/archives/ [2020-10-12T15:55:36.917Z] + 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-12T15:55:36.938Z] 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-12T15:55:37.240Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-12T15:55:37.553Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-12T15:55:37.554Z] [2020-10-12T15:55:37.554Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-12T15:55:37.907Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-12T15:55:37.907Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-12T15:55:37.907Z] df20fa9351a1: Pulling fs layer [2020-10-12T15:55:37.907Z] 36b3adc4ff6f: Pulling fs layer [2020-10-12T15:55:37.907Z] 8ad3a11d3b57: Pulling fs layer [2020-10-12T15:55:37.907Z] 46f8f816bc3b: Pulling fs layer [2020-10-12T15:55:37.907Z] 93b61091891f: Pulling fs layer [2020-10-12T15:55:37.907Z] 93b9cdb0e59b: Pulling fs layer [2020-10-12T15:55:37.907Z] 5e14af77c1be: Pulling fs layer [2020-10-12T15:55:37.907Z] 01666e4c0597: Pulling fs layer [2020-10-12T15:55:37.907Z] aa168da1d23b: Pulling fs layer [2020-10-12T15:55:37.907Z] 93b9cdb0e59b: Waiting [2020-10-12T15:55:37.907Z] 5e14af77c1be: Waiting [2020-10-12T15:55:37.907Z] 01666e4c0597: Waiting [2020-10-12T15:55:37.907Z] 46f8f816bc3b: Waiting [2020-10-12T15:55:37.907Z] 93b61091891f: Waiting [2020-10-12T15:55:37.907Z] aa168da1d23b: Waiting [2020-10-12T15:55:37.907Z] 36b3adc4ff6f: Download complete [2020-10-12T15:55:37.907Z] 46f8f816bc3b: Verifying Checksum [2020-10-12T15:55:37.907Z] 46f8f816bc3b: Download complete [2020-10-12T15:55:38.173Z] 93b61091891f: Download complete [2020-10-12T15:55:38.173Z] df20fa9351a1: Download complete [2020-10-12T15:55:38.173Z] 93b9cdb0e59b: Verifying Checksum [2020-10-12T15:55:38.173Z] 93b9cdb0e59b: Download complete [2020-10-12T15:55:38.173Z] 5e14af77c1be: Verifying Checksum [2020-10-12T15:55:38.173Z] 5e14af77c1be: Download complete [2020-10-12T15:55:38.173Z] 01666e4c0597: Verifying Checksum [2020-10-12T15:55:38.173Z] 8ad3a11d3b57: Verifying Checksum [2020-10-12T15:55:38.173Z] 8ad3a11d3b57: Download complete [2020-10-12T15:55:38.437Z] df20fa9351a1: Pull complete [2020-10-12T15:55:38.705Z] 36b3adc4ff6f: Pull complete [2020-10-12T15:55:39.299Z] 8ad3a11d3b57: Pull complete [2020-10-12T15:55:39.299Z] 46f8f816bc3b: Pull complete [2020-10-12T15:55:39.878Z] 93b61091891f: Pull complete [2020-10-12T15:55:40.148Z] 93b9cdb0e59b: Pull complete [2020-10-12T15:55:40.148Z] 5e14af77c1be: Pull complete [2020-10-12T15:55:40.731Z] 01666e4c0597: Pull complete [2020-10-12T15:55:40.998Z] aa168da1d23b: Verifying Checksum [2020-10-12T15:55:40.998Z] aa168da1d23b: Download complete [2020-10-12T15:55:49.186Z] aa168da1d23b: Pull complete [2020-10-12T15:55:49.186Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-12T15:55:49.186Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-12T15:55:49.186Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-12T15:55:49.337Z] prd-centos7-docker-4c-2g-4802 does not seem to be running inside a container [2020-10-12T15:55:49.393Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-12T15:55:53.118Z] $ docker top c73875f3369b4260c15079443543c690f8cddde6b3b76940195f306aff73c716 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T15:55:53.777Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-12T15:55:54.092Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-12T15:55:54.391Z] + ls /var/log/sa-host [2020-10-12T15:55:54.391Z] + sadf -c /var/log/sa-host/sa05 [2020-10-12T15:55:54.391Z] file_magic: OK [2020-10-12T15:55:54.391Z] HZ: Using current value: 100 [2020-10-12T15:55:54.391Z] file_header: OK [2020-10-12T15:55:54.391Z] 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-12T15:55:54.391Z] Statistics: [2020-10-12T15:55:54.391Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-12T15:55:54.391Z] File successfully converted to sysstat format version 12.2.1 [2020-10-12T15:55:54.391Z] + sadf -c /var/log/sa-host/sa12 [2020-10-12T15:55:54.391Z] file_magic: OK [2020-10-12T15:55:54.391Z] HZ: Using current value: 100 [2020-10-12T15:55:54.391Z] file_header: OK [2020-10-12T15:55:54.391Z] 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-12T15:55:54.391Z] Statistics: [2020-10-12T15:55:54.391Z] 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-12T15:55:54.391Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-12T15:55:54.621Z] provisioning config files... [2020-10-12T15:55:54.645Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-124@tmp/config1381713968884370460tmp [Pipeline] { [Pipeline] echo [2020-10-12T15:55:54.738Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T15:55:55.038Z] ---> create-netrc.sh [Pipeline] } [2020-10-12T15:55:55.048Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-12T15:55:55.145Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T15:55:55.446Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-12T15:55:55.458Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T15:55:55.757Z] ---> sudo-logs.sh [2020-10-12T15:55:55.757Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-12T15:55:55.768Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T15:55:56.066Z] ---> job-cost.sh [2020-10-12T15:55:56.066Z] lf-activate-venv: SKIPPING [2020-10-12T15:55:56.066Z] INFO: No Stack... [2020-10-12T15:55:57.472Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-12T15:55:57.737Z] INFO: Archiving Costs [Pipeline] echo [2020-10-12T15:55:57.752Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T15:55:58.051Z] ---> logs-deploy.sh [2020-10-12T15:55:58.051Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-124/4 [2020-10-12T15:55:58.051Z] INFO: archiving workspace using pattern(s): [2020-10-12T15:55:59.972Z] Archives upload complete. [2020-10-12T15:55:59.972Z] INFO: archiving logs to Nexus