Pull request #124 opened 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 875f7634c9e73d2f964494396a4c8bf4cc82f848+b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 (73e37ca829c62b1fa98d9890b4e9cafe790f7273) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@793ecab86f129571a616148e60910185c3e6ff6c Attempting to resolve 793ecab86f129571a616148e60910185c3e6ff6c 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 793ecab86f129571a616148e60910185c3e6ff6c 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 793ecab86f129571a616148e60910185c3e6ff6c^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains 793ecab86f129571a616148e60910185c3e6ff6c # timeout=10 Selected match: pr/264/merge revision 793ecab86f129571a616148e60910185c3e6ff6c using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-124/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 793ecab86f129571a616148e60910185c3e6ff6c (pr/264/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f 793ecab86f129571a616148e60910185c3e6ff6c # 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-124/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 793ecab86f129571a616148e60910185c3e6ff6c Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4408 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 Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit 875f7634c9e73d2f964494396a4c8bf4cc82f848 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 > 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 875f7634c9e73d2f964494396a4c8bf4cc82f848 # 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 Merge succeeded, producing 875f7634c9e73d2f964494396a4c8bf4cc82f848 Checking out Revision 875f7634c9e73d2f964494396a4c8bf4cc82f848 (PR-124) > git config core.sparsecheckout # timeout=10 > git checkout -f 875f7634c9e73d2f964494396a4c8bf4cc82f848 # timeout=10 Commit message: "ci: testing new native snap build" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 793ecab86f129571a616148e60910185c3e6ff6c [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-09T20:21:23.776Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-09T20:21:24.181Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-09T20:21:24.396Z] ========================================================= [2020-10-09T20:21:24.396Z] EdgeX Global Pipelines Version Info [2020-10-09T20:21:24.396Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-09T20:21:25.888Z] ------------------- [2020-10-09T20:21:25.888Z] stable info: [2020-10-09T20:21:25.888Z] ------------------- [2020-10-09T20:21:25.888Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-09T20:21:25.888Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-09T20:21:25.888Z] Message: update stable to v1.0.131 [2020-10-09T20:21:26.829Z] ------------------- [2020-10-09T20:21:26.829Z] experimental info: [2020-10-09T20:21:26.829Z] ------------------- [2020-10-09T20:21:26.829Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-09T20:21:26.829Z] Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a [2020-10-09T20:21:26.829Z] Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-09T20:21:27.358Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2020-10-09T20:21:27.520Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2020-10-09T20:21:27.652Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-09T20:21:27.793Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-09T20:21:27.920Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-09T20:21:28.046Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-09T20:21:28.175Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-09T20:21:28.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-09T20:21:28.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-10-09T20:21:28.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-09T20:21:28.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-09T20:21:28.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-service-configurable [Pipeline] echo [2020-10-09T20:21:28.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-09T20:21:29.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-09T20:21:29.253Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-09T20:21:29.378Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-10-09T20:21:29.501Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-09T20:21:29.630Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-09T20:21:29.758Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-09T20:21:29.895Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-10-09T20:21:30.031Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-09T20:21:30.175Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-09T20:21:30.340Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-09T20:21:30.553Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-09T20:21:30.690Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-09T20:21:30.823Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-124 [Pipeline] echo [2020-10-09T20:21:30.956Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-124 [Pipeline] echo [2020-10-09T20:21:31.123Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-124 [Pipeline] echo [2020-10-09T20:21:31.251Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 875f7634c9e73d2f964494396a4c8bf4cc82f848 [Pipeline] echo [2020-10-09T20:21:31.377Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 875f763 [Pipeline] echo [2020-10-09T20:21:31.506Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-09T20:21:32.305Z] + git log --format=format:%s -1 875f7634c9e73d2f964494396a4c8bf4cc82f848 [Pipeline] echo [2020-10-09T20:21:32.383Z] GIT_COMMIT: 875f7634c9e73d2f964494396a4c8bf4cc82f848, Commit Message: ci: testing new native snap build [Pipeline] echo [2020-10-09T20:21:32.473Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-09T20:21:33.129Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-09T20:21:33.129Z] [2020-10-09T20:21:33.129Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-09T20:21:33.646Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-09T20:21:33.646Z] latest: Pulling from edgex-devops/git-semver [2020-10-09T20:21:33.646Z] 31603596830f: Pulling fs layer [2020-10-09T20:21:33.646Z] 2a8b12db71e7: Pulling fs layer [2020-10-09T20:21:33.646Z] 6ca5941a6612: Pulling fs layer [2020-10-09T20:21:33.646Z] ecc8261a40a4: Pulling fs layer [2020-10-09T20:21:33.646Z] ecc8261a40a4: Waiting [2020-10-09T20:21:33.646Z] 2a8b12db71e7: Verifying Checksum [2020-10-09T20:21:33.646Z] 2a8b12db71e7: Download complete [2020-10-09T20:21:33.909Z] 31603596830f: Verifying Checksum [2020-10-09T20:21:33.909Z] 31603596830f: Download complete [2020-10-09T20:21:33.909Z] ecc8261a40a4: Verifying Checksum [2020-10-09T20:21:33.910Z] ecc8261a40a4: Download complete [2020-10-09T20:21:33.910Z] 6ca5941a6612: Verifying Checksum [2020-10-09T20:21:33.910Z] 6ca5941a6612: Download complete [2020-10-09T20:21:34.184Z] 31603596830f: Pull complete [2020-10-09T20:21:34.184Z] 2a8b12db71e7: Pull complete [2020-10-09T20:21:34.759Z] 6ca5941a6612: Pull complete [2020-10-09T20:21:35.020Z] ecc8261a40a4: Pull complete [2020-10-09T20:21:35.020Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-09T20:21:35.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-09T20:21:35.020Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-09T20:21:35.127Z] prd-centos7-docker-4c-2g-4408 does not seem to be running inside a container [2020-10-09T20:21:35.175Z] $ 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-09T20:21:37.404Z] $ docker top f4cf374c597752771db20e8098075d56d61927c226123c46216cbb384657ce4c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-09T20:21:37.783Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-09T20:21:37.783Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-09T20:21:37.960Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-09T20:21:37.967Z] $ docker exec f4cf374c597752771db20e8098075d56d61927c226123c46216cbb384657ce4c ssh-agent [2020-10-09T20:21:38.108Z] SSH_AUTH_SOCK=/tmp/ssh-L2Wq0VT96uYC/agent.11 [2020-10-09T20:21:38.108Z] SSH_AGENT_PID=16 [2020-10-09T20:21:38.118Z] Running ssh-add (command line suppressed) [2020-10-09T20:21:38.230Z] Identity added: /w/workspace/_app-service-configurable_PR-124@tmp/private_key_3260952651273972723.key (/w/workspace/_app-service-configurable_PR-124@tmp/private_key_3260952651273972723.key) [2020-10-09T20:21:38.272Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-09T20:21:38.655Z] + git tag --points-at HEAD [Pipeline] } [2020-10-09T20:21:38.683Z] $ docker exec --env ******** --env ******** f4cf374c597752771db20e8098075d56d61927c226123c46216cbb384657ce4c ssh-agent -k [2020-10-09T20:21:38.788Z] unset SSH_AUTH_SOCK; [2020-10-09T20:21:38.789Z] unset SSH_AGENT_PID; [2020-10-09T20:21:38.789Z] echo Agent pid 16 killed; [2020-10-09T20:21:38.832Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-09T20:21:39.032Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-09T20:21:39.032Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-09T20:21:39.177Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-09T20:21:39.183Z] $ docker exec f4cf374c597752771db20e8098075d56d61927c226123c46216cbb384657ce4c ssh-agent [2020-10-09T20:21:39.321Z] SSH_AUTH_SOCK=/tmp/ssh-iHiT9nPzAnMa/agent.46 [2020-10-09T20:21:39.321Z] SSH_AGENT_PID=51 [2020-10-09T20:21:39.326Z] Running ssh-add (command line suppressed) [2020-10-09T20:21:39.434Z] Identity added: /w/workspace/_app-service-configurable_PR-124@tmp/private_key_7132325948529528531.key (/w/workspace/_app-service-configurable_PR-124@tmp/private_key_7132325948529528531.key) [2020-10-09T20:21:39.477Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-09T20:21:39.853Z] + git semver init [2020-10-09T20:21:39.853Z] # -> Open(): unable to determine branch for HEAD [2020-10-09T20:21:39.853Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-124/.git [2020-10-09T20:21:39.853Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-124 [2020-10-09T20:21:39.853Z] # $SEMVER_REMOTE_NAME = origin [2020-10-09T20:21:39.853Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-09T20:21:39.853Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-09T20:21:39.853Z] # $SEMVER_BRANCH = PR-124 [2020-10-09T20:21:39.853Z] # $SEMVER_TEMP = /tmp/semver-122594742 [2020-10-09T20:21:39.853Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2020-10-09T20:21:40.115Z] # '/tmp/semver-122594742' -> '/w/workspace/_app-service-configurable_PR-124/.semver' [2020-10-09T20:21:40.115Z] # -> Force: false [2020-10-09T20:21:40.115Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-124/.semver [Pipeline] } [2020-10-09T20:21:40.141Z] $ docker exec --env ******** --env ******** f4cf374c597752771db20e8098075d56d61927c226123c46216cbb384657ce4c ssh-agent -k [2020-10-09T20:21:40.243Z] unset SSH_AUTH_SOCK; [2020-10-09T20:21:40.243Z] unset SSH_AGENT_PID; [2020-10-09T20:21:40.243Z] echo Agent pid 51 killed; [2020-10-09T20:21:40.280Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-09T20:21:41.008Z] + git semver [Pipeline] } [2020-10-09T20:21:41.039Z] $ docker stop --time=1 f4cf374c597752771db20e8098075d56d61927c226123c46216cbb384657ce4c [2020-10-09T20:21:42.452Z] $ docker rm -f f4cf374c597752771db20e8098075d56d61927c226123c46216cbb384657ce4c [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-09T20:21:43.220Z] Stashed 1 file(s) [Pipeline] echo [2020-10-09T20:21:43.242Z] [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-09T20:21:59.181Z] Still waiting to schedule task [2020-10-09T20:21:59.181Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-09T20:21:59.210Z] Still waiting to schedule task [2020-10-09T20:21:59.210Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline [2020-10-09T20:23:53.935Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4409 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-09T20:23:54.038Z] Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout [2020-10-09T20:23:59.168Z] using credential edgex-jenkins-ssh [2020-10-09T20:23:59.222Z] Cloning the remote Git repository [2020-10-09T20:23:59.262Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T20:23:59.364Z] > git init /w/workspace/app-service-configurable/1 # timeout=10 [2020-10-09T20:23:59.436Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T20:23:59.437Z] > git --version # timeout=10 [2020-10-09T20:23:59.463Z] > git --version # 'git version 2.17.1' [2020-10-09T20:23:59.465Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T20:23:59.541Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-09T20:24:00.333Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-09T20:24:00.354Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-09T20:24:00.385Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-09T20:24:00.425Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T20:24:00.425Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T20:24:00.440Z] > 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-09T20:24:01.483Z] Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit 875f7634c9e73d2f964494396a4c8bf4cc82f848 [2020-10-09T20:24:01.723Z] Merge succeeded, producing 875f7634c9e73d2f964494396a4c8bf4cc82f848 [2020-10-09T20:24:01.724Z] Checking out Revision 875f7634c9e73d2f964494396a4c8bf4cc82f848 (PR-124) [2020-10-09T20:24:01.503Z] > git config core.sparsecheckout # timeout=10 [2020-10-09T20:24:01.521Z] > git checkout -f 875f7634c9e73d2f964494396a4c8bf4cc82f848 # timeout=10 [2020-10-09T20:24:01.614Z] > git remote # timeout=10 [2020-10-09T20:24:01.635Z] > git config --get remote.origin.url # timeout=10 [2020-10-09T20:24:01.660Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T20:24:01.669Z] > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 [2020-10-09T20:24:01.690Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-09T20:24:01.720Z] > git config core.sparsecheckout # timeout=10 [2020-10-09T20:24:01.751Z] > git checkout -f 875f7634c9e73d2f964494396a4c8bf4cc82f848 # timeout=10 [2020-10-09T20:24:06.316Z] Commit message: "ci: testing new native snap build" [2020-10-09T20:24:06.369Z] > git --version # timeout=10 [2020-10-09T20:24:06.377Z] > git --version # 'git version 2.17.1' [2020-10-09T20:24:06.395Z] fatal: bad object 793ecab86f129571a616148e60910185c3e6ff6c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-09T20:24:07.774Z] ========================================================= [2020-10-09T20:24:07.774Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-09T20:24:07.774Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-09T20:24:08.844Z] + 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-09T20:24:09.452Z] Sending build context to Docker daemon 93.7kB [2020-10-09T20:24:09.729Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-09T20:24:09.729Z] Step 2/8 : FROM ${BASE} [2020-10-09T20:24:10.004Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-09T20:24:10.004Z] b538f80385f9: Pulling fs layer [2020-10-09T20:24:10.004Z] 74f711af9a0d: Pulling fs layer [2020-10-09T20:24:10.004Z] 99f96fe45779: Pulling fs layer [2020-10-09T20:24:10.004Z] 8529a6b9a6be: Pulling fs layer [2020-10-09T20:24:10.004Z] 45590311c82a: Pulling fs layer [2020-10-09T20:24:10.004Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-09T20:24:10.004Z] 209524e5b208: Pulling fs layer [2020-10-09T20:24:10.004Z] 8529a6b9a6be: Waiting [2020-10-09T20:24:10.004Z] 45590311c82a: Waiting [2020-10-09T20:24:10.004Z] 209524e5b208: Waiting [2020-10-09T20:24:10.004Z] 69ca0ff8b7b3: Waiting [2020-10-09T20:24:10.004Z] 99f96fe45779: Download complete [2020-10-09T20:24:10.004Z] 74f711af9a0d: Verifying Checksum [2020-10-09T20:24:10.004Z] 74f711af9a0d: Download complete [2020-10-09T20:24:10.004Z] 45590311c82a: Verifying Checksum [2020-10-09T20:24:10.004Z] 45590311c82a: Download complete [2020-10-09T20:24:10.998Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-09T20:24:10.998Z] 69ca0ff8b7b3: Download complete [2020-10-09T20:24:10.998Z] b538f80385f9: Verifying Checksum [2020-10-09T20:24:10.998Z] b538f80385f9: Download complete [2020-10-09T20:24:11.603Z] b538f80385f9: Pull complete [2020-10-09T20:24:12.223Z] 74f711af9a0d: Pull complete [2020-10-09T20:24:12.828Z] 99f96fe45779: Pull complete [2020-10-09T20:24:13.429Z] 209524e5b208: Verifying Checksum [2020-10-09T20:24:13.429Z] 209524e5b208: Download complete [2020-10-09T20:24:14.419Z] 8529a6b9a6be: Verifying Checksum [2020-10-09T20:24:14.420Z] 8529a6b9a6be: Download complete [2020-10-09T20:24:20.361Z] Running on prd-centos7-docker-4c-2g-4410 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-09T20:24:20.541Z] Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout [2020-10-09T20:24:24.617Z] 8529a6b9a6be: Pull complete [2020-10-09T20:24:24.617Z] 45590311c82a: Pull complete [2020-10-09T20:24:24.617Z] 69ca0ff8b7b3: Pull complete [2020-10-09T20:24:28.347Z] using credential edgex-jenkins-ssh [2020-10-09T20:24:28.405Z] Cloning the remote Git repository [2020-10-09T20:24:28.504Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T20:24:28.975Z] 209524e5b208: Pull complete [2020-10-09T20:24:28.975Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-09T20:24:28.975Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-09T20:24:28.975Z] ---> 5bddaf1c2fca [2020-10-09T20:24:28.975Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-09T20:24:28.610Z] > git init /w/workspace/app-service-configurable/1 # timeout=10 [2020-10-09T20:24:28.690Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T20:24:28.691Z] > git --version # timeout=10 [2020-10-09T20:24:28.722Z] > git --version # 'git version 2.16.5' [2020-10-09T20:24:28.723Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T20:24:28.773Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-09T20:24:29.811Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-09T20:24:29.828Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-09T20:24:30.432Z] Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit 875f7634c9e73d2f964494396a4c8bf4cc82f848 [2020-10-09T20:24:30.727Z] Merge succeeded, producing 875f7634c9e73d2f964494396a4c8bf4cc82f848 [2020-10-09T20:24:30.727Z] Checking out Revision 875f7634c9e73d2f964494396a4c8bf4cc82f848 (PR-124) [2020-10-09T20:24:29.853Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-09T20:24:29.926Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T20:24:29.926Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T20:24:29.965Z] > 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-09T20:24:30.470Z] > git config core.sparsecheckout # timeout=10 [2020-10-09T20:24:30.504Z] > git checkout -f 875f7634c9e73d2f964494396a4c8bf4cc82f848 # timeout=10 [2020-10-09T20:24:30.639Z] > git remote # timeout=10 [2020-10-09T20:24:30.659Z] > git config --get remote.origin.url # timeout=10 [2020-10-09T20:24:30.678Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T20:24:30.684Z] > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 [2020-10-09T20:24:30.705Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-09T20:24:30.737Z] > git config core.sparsecheckout # timeout=10 [2020-10-09T20:24:30.744Z] > git checkout -f 875f7634c9e73d2f964494396a4c8bf4cc82f848 # timeout=10 [2020-10-09T20:24:31.613Z] ---> Running in da4adb593da3 [2020-10-09T20:24:31.613Z] Removing intermediate container da4adb593da3 [2020-10-09T20:24:31.613Z] ---> be43ae2b5c99 [2020-10-09T20:24:31.613Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-09T20:24:31.613Z] ---> Running in 757d80051a98 [2020-10-09T20:24:34.245Z] Removing intermediate container 757d80051a98 [2020-10-09T20:24:34.245Z] ---> e91bc1e78164 [2020-10-09T20:24:34.245Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-10-09T20:24:34.522Z] ---> Running in ece15f9d4a08 [2020-10-09T20:24:35.267Z] Commit message: "ci: testing new native snap build" [2020-10-09T20:24:35.304Z] > git --version # timeout=10 [2020-10-09T20:24:35.323Z] > git --version # 'git version 2.16.5' [2020-10-09T20:24:35.348Z] fatal: bad object 793ecab86f129571a616148e60910185c3e6ff6c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2020-10-09T20:24:35.971Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-09T20:24:36.580Z] ========================================================= [2020-10-09T20:24:36.580Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-09T20:24:36.580Z] ========================================================= [2020-10-09T20:24:36.594Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] isUnix [Pipeline] sh [2020-10-09T20:24:37.700Z] + 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-09T20:24:37.701Z] Sending build context to Docker daemon 93.7kB [2020-10-09T20:24:37.985Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-09T20:24:37.985Z] Step 2/8 : FROM ${BASE} [2020-10-09T20:24:38.028Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-10-09T20:24:38.028Z] (2/6) Installing libsodium (1.0.18-r0) [2020-10-09T20:24:38.280Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-09T20:24:38.280Z] df20fa9351a1: Pulling fs layer [2020-10-09T20:24:38.280Z] ed8968b2872e: Pulling fs layer [2020-10-09T20:24:38.280Z] a92cc7c5fd73: Pulling fs layer [2020-10-09T20:24:38.280Z] e871e8e8d7a9: Pulling fs layer [2020-10-09T20:24:38.280Z] e73272ec9a57: Pulling fs layer [2020-10-09T20:24:38.280Z] 1e910a182e73: Pulling fs layer [2020-10-09T20:24:38.280Z] 4e634b169226: Pulling fs layer [2020-10-09T20:24:38.280Z] e73272ec9a57: Waiting [2020-10-09T20:24:38.280Z] 1e910a182e73: Waiting [2020-10-09T20:24:38.280Z] 4e634b169226: Waiting [2020-10-09T20:24:38.280Z] e871e8e8d7a9: Waiting [2020-10-09T20:24:38.280Z] a92cc7c5fd73: Download complete [2020-10-09T20:24:38.280Z] ed8968b2872e: Verifying Checksum [2020-10-09T20:24:38.280Z] ed8968b2872e: Download complete [2020-10-09T20:24:38.280Z] e73272ec9a57: Verifying Checksum [2020-10-09T20:24:38.280Z] e73272ec9a57: Download complete [2020-10-09T20:24:38.280Z] 1e910a182e73: Verifying Checksum [2020-10-09T20:24:38.280Z] 1e910a182e73: Download complete [2020-10-09T20:24:38.280Z] df20fa9351a1: Verifying Checksum [2020-10-09T20:24:38.280Z] df20fa9351a1: Download complete [2020-10-09T20:24:38.306Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-10-09T20:24:38.306Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-10-09T20:24:38.306Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-09T20:24:38.579Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-10-09T20:24:38.579Z] Executing busybox-1.31.1-r16.trigger [2020-10-09T20:24:38.579Z] OK: 144 MiB in 45 packages [2020-10-09T20:24:38.908Z] df20fa9351a1: Pull complete [2020-10-09T20:24:39.186Z] ed8968b2872e: Pull complete [2020-10-09T20:24:39.186Z] a92cc7c5fd73: Pull complete [2020-10-09T20:24:40.019Z] Removing intermediate container ece15f9d4a08 [2020-10-09T20:24:40.019Z] ---> 009a5a821261 [2020-10-09T20:24:40.019Z] Step 6/8 : WORKDIR /app [2020-10-09T20:24:40.019Z] ---> Running in d548ecb79380 [2020-10-09T20:24:40.614Z] Removing intermediate container d548ecb79380 [2020-10-09T20:24:40.614Z] ---> 311e6ecc5704 [2020-10-09T20:24:40.614Z] Step 7/8 : COPY . . [2020-10-09T20:24:41.212Z] ---> 603e26180b64 [2020-10-09T20:24:41.212Z] Step 8/8 : RUN go mod download [2020-10-09T20:24:41.490Z] ---> Running in b8fec25c72d1 [2020-10-09T20:24:44.032Z] 4e634b169226: Verifying Checksum [2020-10-09T20:24:44.032Z] 4e634b169226: Download complete [2020-10-09T20:24:44.298Z] e871e8e8d7a9: Verifying Checksum [2020-10-09T20:24:44.298Z] e871e8e8d7a9: Download complete [2020-10-09T20:24:52.762Z] e871e8e8d7a9: Pull complete [2020-10-09T20:24:52.762Z] e73272ec9a57: Pull complete [2020-10-09T20:24:52.762Z] 1e910a182e73: Pull complete [2020-10-09T20:24:57.101Z] 4e634b169226: Pull complete [2020-10-09T20:24:57.101Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-09T20:24:57.101Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-09T20:24:57.101Z] ---> f7629b54cfaa [2020-10-09T20:24:57.101Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-09T20:24:57.369Z] ---> Running in e4efaecf0bd6 [2020-10-09T20:24:57.639Z] Removing intermediate container e4efaecf0bd6 [2020-10-09T20:24:57.639Z] ---> 686a32371799 [2020-10-09T20:24:57.639Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-09T20:24:57.639Z] ---> Running in 506f22c0cc38 [2020-10-09T20:24:59.634Z] Removing intermediate container 506f22c0cc38 [2020-10-09T20:24:59.634Z] ---> d4bf7ae0721f [2020-10-09T20:24:59.634Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-10-09T20:24:59.634Z] ---> Running in 9af13408d939 [2020-10-09T20:25:00.239Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-09T20:25:00.836Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-09T20:25:01.427Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-10-09T20:25:01.427Z] (2/6) Installing libsodium (1.0.18-r0) [2020-10-09T20:25:01.427Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-10-09T20:25:01.720Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-10-09T20:25:01.720Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-09T20:25:01.720Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-10-09T20:25:02.018Z] Executing busybox-1.31.1-r16.trigger [2020-10-09T20:25:02.018Z] OK: 167 MiB in 45 packages [2020-10-09T20:25:03.010Z] Removing intermediate container 9af13408d939 [2020-10-09T20:25:03.010Z] ---> 1434d4b71ccb [2020-10-09T20:25:03.010Z] Step 6/8 : WORKDIR /app [2020-10-09T20:25:03.010Z] ---> Running in 3b2294ed1f6c [2020-10-09T20:25:03.341Z] Removing intermediate container 3b2294ed1f6c [2020-10-09T20:25:03.341Z] ---> c72fa8ec70a8 [2020-10-09T20:25:03.341Z] Step 7/8 : COPY . . [2020-10-09T20:25:03.625Z] ---> d70196b4cc73 [2020-10-09T20:25:03.625Z] Step 8/8 : RUN go mod download [2020-10-09T20:25:03.625Z] ---> Running in f0de224ce706 [2020-10-09T20:25:13.841Z] Removing intermediate container b8fec25c72d1 [2020-10-09T20:25:13.841Z] ---> 6133b855a2e1 [2020-10-09T20:25:13.841Z] Successfully built 6133b855a2e1 [2020-10-09T20:25:13.841Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-09T20:25:14.306Z] + docker inspect -f . ci-base-image-arm64 [2020-10-09T20:25:14.306Z] . [Pipeline] withDockerContainer [2020-10-09T20:25:14.608Z] prd-ubuntu18.04-docker-arm64-4c-16g-4409 does not seem to be running inside a container [2020-10-09T20:25:14.697Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@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 ******** ci-base-image-arm64 cat [2020-10-09T20:25:16.535Z] $ docker top 163d647a46d63ad6dba8496bc16d7518fca33011c3549485c052962c9082bb7e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-09T20:25:18.022Z] + go version [2020-10-09T20:25:18.022Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-09T20:25:18.061Z] $ docker stop --time=1 163d647a46d63ad6dba8496bc16d7518fca33011c3549485c052962c9082bb7e [2020-10-09T20:25:20.066Z] $ docker rm -f 163d647a46d63ad6dba8496bc16d7518fca33011c3549485c052962c9082bb7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-09T20:25:21.417Z] + docker inspect -f . ci-base-image-arm64 [2020-10-09T20:25:21.418Z] . [Pipeline] withDockerContainer [2020-10-09T20:25:21.721Z] prd-ubuntu18.04-docker-arm64-4c-16g-4409 does not seem to be running inside a container [2020-10-09T20:25:21.807Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@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 ******** ci-base-image-arm64 cat [2020-10-09T20:25:23.700Z] $ docker top 60b3e290e6eab4ff1588b22afaf6117fcbc73847d6eadd4de826263259eecc20 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-09T20:25:25.196Z] + make test [2020-10-09T20:25:25.196Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-10-09T20:25:36.338Z] Removing intermediate container f0de224ce706 [2020-10-09T20:25:36.338Z] ---> e6ab291fdc14 [2020-10-09T20:25:36.338Z] Successfully built e6ab291fdc14 [2020-10-09T20:25:36.338Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-09T20:25:37.103Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-09T20:25:37.103Z] . [Pipeline] withDockerContainer [2020-10-09T20:25:37.262Z] prd-centos7-docker-4c-2g-4410 does not seem to be running inside a container [2020-10-09T20:25:37.421Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-09T20:25:38.549Z] $ docker top 2c395b168406c70cf3ae625233eb65bb71782398ed392404d93e588d081b89e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-09T20:25:39.136Z] + go version [2020-10-09T20:25:39.136Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-09T20:25:39.177Z] $ docker stop --time=1 2c395b168406c70cf3ae625233eb65bb71782398ed392404d93e588d081b89e8 [2020-10-09T20:25:40.623Z] $ docker rm -f 2c395b168406c70cf3ae625233eb65bb71782398ed392404d93e588d081b89e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-09T20:25:41.834Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-09T20:25:41.834Z] . [Pipeline] withDockerContainer [2020-10-09T20:25:41.997Z] prd-centos7-docker-4c-2g-4410 does not seem to be running inside a container [2020-10-09T20:25:42.211Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-09T20:25:43.274Z] $ docker top 535fb85904d8d1a27f85f123f5b2646d9434022257b6729b86f45e1c9e8f0816 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-09T20:25:43.969Z] + make test [2020-10-09T20:25:43.969Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-10-09T20:26:12.207Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-10-09T20:26:12.803Z] CGO_ENABLED=1 go vet ./... [2020-10-09T20:26:16.851Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-10-09T20:26:16.851Z] CGO_ENABLED=1 go vet ./... [2020-10-09T20:26:16.851Z] gofmt -l . [2020-10-09T20:26:16.851Z] [ "`gofmt -l .`" = "" ] [2020-10-09T20:26:16.851Z] ./bin/test-go-mod-tidy.sh [2020-10-09T20:26:17.120Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-10-09T20:26:19.216Z] Stashed 1 file(s) [Pipeline] } [2020-10-09T20:26:19.244Z] $ docker stop --time=1 535fb85904d8d1a27f85f123f5b2646d9434022257b6729b86f45e1c9e8f0816 [2020-10-09T20:26:21.584Z] $ docker rm -f 535fb85904d8d1a27f85f123f5b2646d9434022257b6729b86f45e1c9e8f0816 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-10-09T20:26:22.966Z] gofmt -l . [2020-10-09T20:26:22.966Z] [ "`gofmt -l .`" = "" ] [2020-10-09T20:26:22.966Z] ./bin/test-go-mod-tidy.sh [2020-10-09T20:26:23.242Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-10-09T20:26:25.227Z] Warning: overwriting stash ‘coverage-report’ [Pipeline] sh [2020-10-09T20:26:25.588Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-09T20:26:25.921Z] Stashed 1 file(s) [Pipeline] } [2020-10-09T20:26:25.946Z] $ docker stop --time=1 60b3e290e6eab4ff1588b22afaf6117fcbc73847d6eadd4de826263259eecc20 [2020-10-09T20:26:25.948Z] + ls -al . [2020-10-09T20:26:25.948Z] total 96 [2020-10-09T20:26:25.948Z] drwxrwxr-x. 7 jenkins jenkins 4096 Oct 9 20:26 . [2020-10-09T20:26:25.948Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 9 20:24 .. [2020-10-09T20:26:25.948Z] -rw-rw-r--. 1 jenkins jenkins 6568 Oct 9 20:24 Attribution.txt [2020-10-09T20:26:25.948Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 9 20:24 bin [2020-10-09T20:26:25.948Z] -rw-r--r--. 1 jenkins jenkins 10 Oct 9 20:25 coverage.out [2020-10-09T20:26:25.948Z] -rw-rw-r--. 1 jenkins jenkins 180 Oct 9 20:24 docker-compose.debug.yml [2020-10-09T20:26:25.948Z] -rw-rw-r--. 1 jenkins jenkins 133 Oct 9 20:24 docker-compose.yml [2020-10-09T20:26:25.948Z] -rw-rw-r--. 1 jenkins jenkins 2002 Oct 9 20:24 Dockerfile [2020-10-09T20:26:25.948Z] -rw-rw-r--. 1 jenkins jenkins 966 Oct 9 20:24 Dockerfile.build [2020-10-09T20:26:25.948Z] -rw-rw-r--. 1 jenkins jenkins 119 Oct 9 20:24 .dockerignore [2020-10-09T20:26:25.948Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 9 20:24 .git [2020-10-09T20:26:25.948Z] drwxrwxr-x. 2 jenkins jenkins 81 Oct 9 20:24 .github [2020-10-09T20:26:25.948Z] -rw-rw-r--. 1 jenkins jenkins 93 Oct 9 20:24 .gitignore [2020-10-09T20:26:25.948Z] -rw-r--r--. 1 jenkins jenkins 133 Oct 9 20:26 go.mod [2020-10-09T20:26:25.948Z] -rw-r--r--. 1 jenkins jenkins 19640 Oct 9 20:26 go.sum [2020-10-09T20:26:25.948Z] -rw-rw-r--. 1 jenkins jenkins 766 Oct 9 20:24 Jenkinsfile [2020-10-09T20:26:25.948Z] -rw-rw-r--. 1 jenkins jenkins 10174 Oct 9 20:24 LICENSE [2020-10-09T20:26:25.948Z] -rw-rw-r--. 1 jenkins jenkins 1519 Oct 9 20:24 main.go [2020-10-09T20:26:25.948Z] -rw-rw-r--. 1 jenkins jenkins 1573 Oct 9 20:24 makefile [2020-10-09T20:26:25.948Z] -rw-rw-r--. 1 jenkins jenkins 1277 Oct 9 20:24 README.md [2020-10-09T20:26:25.948Z] drwxrwxr-x. 10 jenkins jenkins 171 Oct 9 20:24 res [2020-10-09T20:26:25.948Z] drwxrwxr-x. 4 jenkins jenkins 71 Oct 9 20:24 snap [2020-10-09T20:26:25.948Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 9 20:21 VERSION [2020-10-09T20:26:28.223Z] $ docker rm -f 60b3e290e6eab4ff1588b22afaf6117fcbc73847d6eadd4de826263259eecc20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] isUnix [Pipeline] sh [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-10-09T20:26:29.473Z] + 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=875f7634c9e73d2f964494396a4c8bf4cc82f848 --label arch=amd64 --label version=0.0.0 . [2020-10-09T20:26:29.473Z] Sending build context to Docker daemon 116.2kB [Pipeline] sh [2020-10-09T20:26:29.763Z] Step 1/27 : ARG BASE=golang:1.15-alpine [2020-10-09T20:26:29.763Z] Step 2/27 : FROM ${BASE} AS builder [2020-10-09T20:26:29.763Z] ---> e6ab291fdc14 [2020-10-09T20:26:29.763Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2020-10-09T20:26:29.763Z] ---> Running in 8200b9548a4c [2020-10-09T20:26:29.897Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-09T20:26:30.033Z] Removing intermediate container 8200b9548a4c [2020-10-09T20:26:30.033Z] ---> 9bbe1e1791b7 [2020-10-09T20:26:30.033Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2020-10-09T20:26:30.033Z] ---> Running in 86b5f1a3b54a [2020-10-09T20:26:30.307Z] Removing intermediate container 86b5f1a3b54a [2020-10-09T20:26:30.307Z] ---> e3810a0615ee [2020-10-09T20:26:30.307Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-09T20:26:30.307Z] ---> Running in 8218da2e8ff8 [2020-10-09T20:26:30.309Z] + ls -al . [2020-10-09T20:26:30.309Z] total 120 [2020-10-09T20:26:30.309Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 9 20:26 . [2020-10-09T20:26:30.309Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 9 20:23 .. [2020-10-09T20:26:30.309Z] -rw-rw-r-- 1 jenkins jenkins 119 Oct 9 20:24 .dockerignore [2020-10-09T20:26:30.309Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 9 20:24 .git [2020-10-09T20:26:30.309Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 9 20:24 .github [2020-10-09T20:26:30.309Z] -rw-rw-r-- 1 jenkins jenkins 93 Oct 9 20:24 .gitignore [2020-10-09T20:26:30.309Z] -rw-rw-r-- 1 jenkins jenkins 6568 Oct 9 20:24 Attribution.txt [2020-10-09T20:26:30.309Z] -rw-rw-r-- 1 jenkins jenkins 2002 Oct 9 20:24 Dockerfile [2020-10-09T20:26:30.309Z] -rw-rw-r-- 1 jenkins jenkins 966 Oct 9 20:24 Dockerfile.build [2020-10-09T20:26:30.309Z] -rw-rw-r-- 1 jenkins jenkins 766 Oct 9 20:24 Jenkinsfile [2020-10-09T20:26:30.309Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 9 20:24 LICENSE [2020-10-09T20:26:30.309Z] -rw-rw-r-- 1 jenkins jenkins 1277 Oct 9 20:24 README.md [2020-10-09T20:26:30.309Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 9 20:21 VERSION [2020-10-09T20:26:30.309Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 9 20:24 bin [2020-10-09T20:26:30.309Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 9 20:25 coverage.out [2020-10-09T20:26:30.309Z] -rw-rw-r-- 1 jenkins jenkins 180 Oct 9 20:24 docker-compose.debug.yml [2020-10-09T20:26:30.309Z] -rw-rw-r-- 1 jenkins jenkins 133 Oct 9 20:24 docker-compose.yml [2020-10-09T20:26:30.310Z] -rw-r--r-- 1 jenkins jenkins 133 Oct 9 20:26 go.mod [2020-10-09T20:26:30.310Z] -rw-r--r-- 1 jenkins jenkins 19640 Oct 9 20:26 go.sum [2020-10-09T20:26:30.310Z] -rw-rw-r-- 1 jenkins jenkins 1519 Oct 9 20:24 main.go [2020-10-09T20:26:30.310Z] -rw-rw-r-- 1 jenkins jenkins 1573 Oct 9 20:24 makefile [2020-10-09T20:26:30.310Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 9 20:24 res [2020-10-09T20:26:30.310Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 9 20:24 snap [Pipeline] isUnix [Pipeline] sh [2020-10-09T20:26:30.571Z] Removing intermediate container 8218da2e8ff8 [2020-10-09T20:26:30.571Z] ---> 2ffeeeaf973d [2020-10-09T20:26:30.571Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-09T20:26:30.571Z] ---> Running in f89395cbca99 [2020-10-09T20:26:30.686Z] + 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=875f7634c9e73d2f964494396a4c8bf4cc82f848 --label arch=arm64 --label version=0.0.0 . [2020-10-09T20:26:30.686Z] Sending build context to Docker daemon 116.2kB [2020-10-09T20:26:30.960Z] Step 1/27 : ARG BASE=golang:1.15-alpine [2020-10-09T20:26:30.960Z] Step 2/27 : FROM ${BASE} AS builder [2020-10-09T20:26:30.960Z] ---> 6133b855a2e1 [2020-10-09T20:26:30.960Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2020-10-09T20:26:31.233Z] ---> Running in a4570d3b3fce [2020-10-09T20:26:31.829Z] Removing intermediate container a4570d3b3fce [2020-10-09T20:26:31.829Z] ---> 6c5ca1cc0119 [2020-10-09T20:26:31.829Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2020-10-09T20:26:31.829Z] ---> Running in f0457a9e98f0 [2020-10-09T20:26:31.977Z] Removing intermediate container f89395cbca99 [2020-10-09T20:26:31.977Z] ---> f6d736ab0c5c [2020-10-09T20:26:31.977Z] Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-09T20:26:32.250Z] ---> Running in 8f49c4e29952 [2020-10-09T20:26:32.425Z] Removing intermediate container f0457a9e98f0 [2020-10-09T20:26:32.425Z] ---> 435868158dd2 [2020-10-09T20:26:32.425Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-09T20:26:32.425Z] ---> Running in ce49622bbe50 [2020-10-09T20:26:32.836Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-09T20:26:33.019Z] Removing intermediate container ce49622bbe50 [2020-10-09T20:26:33.019Z] ---> bd1b36da19b7 [2020-10-09T20:26:33.019Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-09T20:26:33.019Z] ---> Running in 71437f9cabcc [2020-10-09T20:26:33.423Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-09T20:26:33.692Z] OK: 167 MiB in 45 packages [2020-10-09T20:26:34.273Z] Removing intermediate container 8f49c4e29952 [2020-10-09T20:26:34.273Z] ---> 33774bad1a92 [2020-10-09T20:26:34.273Z] Step 8/27 : WORKDIR /app [2020-10-09T20:26:34.273Z] ---> Running in bc48735fbffe [2020-10-09T20:26:34.539Z] Removing intermediate container bc48735fbffe [2020-10-09T20:26:34.539Z] ---> ef5d6160807b [2020-10-09T20:26:34.539Z] Step 9/27 : COPY go.mod . [2020-10-09T20:26:34.805Z] ---> 6eae4fd73778 [2020-10-09T20:26:34.805Z] Step 10/27 : RUN go mod download [2020-10-09T20:26:34.805Z] ---> Running in e79f5b3c5fca [2020-10-09T20:26:35.641Z] Removing intermediate container 71437f9cabcc [2020-10-09T20:26:35.641Z] ---> 78a498277799 [2020-10-09T20:26:35.641Z] Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-09T20:26:35.641Z] ---> Running in d53ad93cc773 [2020-10-09T20:26:36.224Z] Removing intermediate container e79f5b3c5fca [2020-10-09T20:26:36.224Z] ---> 577655763e70 [2020-10-09T20:26:36.224Z] Step 11/27 : COPY . . [2020-10-09T20:26:36.493Z] ---> f1faa076b526 [2020-10-09T20:26:36.493Z] Step 12/27 : ARG MAKE="make build" [2020-10-09T20:26:36.493Z] ---> Running in c4391c5932cc [2020-10-09T20:26:36.763Z] Removing intermediate container c4391c5932cc [2020-10-09T20:26:36.763Z] ---> 8e57b960fcc6 [2020-10-09T20:26:36.763Z] Step 13/27 : RUN $MAKE [2020-10-09T20:26:36.763Z] ---> Running in dc4e6b79a295 [2020-10-09T20:26:37.073Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-09T20:26:37.348Z] 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-09T20:26:38.044Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-09T20:26:38.639Z] OK: 144 MiB in 45 packages [2020-10-09T20:26:39.624Z] Removing intermediate container d53ad93cc773 [2020-10-09T20:26:39.624Z] ---> 03d38f23561e [2020-10-09T20:26:39.624Z] Step 8/27 : WORKDIR /app [2020-10-09T20:26:39.624Z] ---> Running in 2a75ba2afba5 [2020-10-09T20:26:40.219Z] Removing intermediate container 2a75ba2afba5 [2020-10-09T20:26:40.219Z] ---> 1c64074d11f5 [2020-10-09T20:26:40.219Z] Step 9/27 : COPY go.mod . [2020-10-09T20:26:40.812Z] ---> ccb4b71a60a0 [2020-10-09T20:26:40.812Z] Step 10/27 : RUN go mod download [2020-10-09T20:26:41.086Z] ---> Running in ceba24d5656d [2020-10-09T20:26:43.704Z] Removing intermediate container ceba24d5656d [2020-10-09T20:26:43.704Z] ---> 4fbaabd84749 [2020-10-09T20:26:43.704Z] Step 11/27 : COPY . . [2020-10-09T20:26:44.682Z] ---> d1ba06e26bed [2020-10-09T20:26:44.682Z] Step 12/27 : ARG MAKE="make build" [2020-10-09T20:26:44.682Z] ---> Running in 9abf039a482f [2020-10-09T20:26:44.955Z] Removing intermediate container 9abf039a482f [2020-10-09T20:26:44.955Z] ---> 7d108b137a2f [2020-10-09T20:26:44.955Z] Step 13/27 : RUN $MAKE [2020-10-09T20:26:45.232Z] ---> Running in 9f9ff87cde8d [2020-10-09T20:26:46.670Z] 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-09T20:27:04.529Z] Removing intermediate container dc4e6b79a295 [2020-10-09T20:27:04.529Z] ---> d54fb7c7ae3e [2020-10-09T20:27:04.529Z] Step 14/27 : FROM alpine:latest [2020-10-09T20:27:04.529Z] latest: Pulling from library/alpine [2020-10-09T20:27:04.529Z] df20fa9351a1: Already exists [2020-10-09T20:27:04.529Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-10-09T20:27:04.529Z] Status: Downloaded newer image for alpine:latest [2020-10-09T20:27:04.529Z] ---> a24bb4013296 [2020-10-09T20:27:04.529Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-09T20:27:04.529Z] ---> Running in 32fc18f0759f [2020-10-09T20:27:04.529Z] Removing intermediate container 32fc18f0759f [2020-10-09T20:27:04.529Z] ---> b5bbdd3252e2 [2020-10-09T20:27:04.529Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2020-10-09T20:27:04.529Z] ---> Running in 3f24617a86e5 [2020-10-09T20:27:04.529Z] Removing intermediate container 3f24617a86e5 [2020-10-09T20:27:04.529Z] ---> 843f364918ff [2020-10-09T20:27:04.529Z] Step 17/27 : RUN apk --no-cache add ca-certificates zeromq [2020-10-09T20:27:04.529Z] ---> Running in 9fc9ebc13910 [2020-10-09T20:27:05.144Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-09T20:27:05.144Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-09T20:27:05.419Z] (1/6) Installing ca-certificates (20191127-r4) [2020-10-09T20:27:05.419Z] (2/6) Installing libgcc (9.3.0-r2) [2020-10-09T20:27:05.419Z] (3/6) Installing libsodium (1.0.18-r0) [2020-10-09T20:27:05.419Z] (4/6) Installing libstdc++ (9.3.0-r2) [2020-10-09T20:27:05.751Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-09T20:27:05.751Z] (6/6) Installing zeromq (4.3.3-r0) [2020-10-09T20:27:05.751Z] Executing busybox-1.31.1-r16.trigger [2020-10-09T20:27:05.751Z] Executing ca-certificates-20191127-r4.trigger [2020-10-09T20:27:05.751Z] OK: 9 MiB in 20 packages [2020-10-09T20:27:06.741Z] Removing intermediate container 9fc9ebc13910 [2020-10-09T20:27:06.741Z] ---> 0dca5a832ad4 [2020-10-09T20:27:06.741Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2020-10-09T20:27:06.741Z] ---> c565387d91ce [2020-10-09T20:27:06.742Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2020-10-09T20:27:07.019Z] ---> 2f9d5edad1cc [2020-10-09T20:27:07.019Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2020-10-09T20:27:07.285Z] ---> 82f501bc4346 [2020-10-09T20:27:07.285Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2020-10-09T20:27:08.255Z] ---> 760107aaf5cc [2020-10-09T20:27:08.255Z] Step 22/27 : EXPOSE 48095 [2020-10-09T20:27:08.255Z] ---> Running in 7d37a4388c4a [2020-10-09T20:27:08.528Z] Removing intermediate container 7d37a4388c4a [2020-10-09T20:27:08.528Z] ---> f5fad3f947c3 [2020-10-09T20:27:08.528Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2020-10-09T20:27:08.528Z] ---> Running in fa8b9bd17a6b [2020-10-09T20:27:08.814Z] Removing intermediate container fa8b9bd17a6b [2020-10-09T20:27:08.814Z] ---> 35cc44437550 [2020-10-09T20:27:08.814Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-09T20:27:08.814Z] ---> Running in 5f417893bb39 [2020-10-09T20:27:09.136Z] Removing intermediate container 5f417893bb39 [2020-10-09T20:27:09.136Z] ---> 6ee18ea41172 [2020-10-09T20:27:09.136Z] Step 25/27 : LABEL arch=amd64 [2020-10-09T20:27:09.136Z] ---> Running in 36296c2387fe [2020-10-09T20:27:09.449Z] Removing intermediate container 36296c2387fe [2020-10-09T20:27:09.449Z] ---> ef96f4393286 [2020-10-09T20:27:09.449Z] Step 26/27 : LABEL git_sha=875f7634c9e73d2f964494396a4c8bf4cc82f848 [2020-10-09T20:27:09.449Z] ---> Running in 4ef3aff7e1fd [2020-10-09T20:27:09.793Z] Removing intermediate container 4ef3aff7e1fd [2020-10-09T20:27:09.793Z] ---> 271eab098d68 [2020-10-09T20:27:09.793Z] Step 27/27 : LABEL version=0.0.0 [2020-10-09T20:27:09.793Z] ---> Running in 343c923df198 [2020-10-09T20:27:10.112Z] Removing intermediate container 343c923df198 [2020-10-09T20:27:10.112Z] ---> d6c827f6d80f [2020-10-09T20:27:10.112Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-09T20:27:10.113Z] Successfully built d6c827f6d80f [2020-10-09T20:27:10.113Z] 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-09T20:27:26.114Z] Still waiting to schedule task [2020-10-09T20:27:26.114Z] All nodes of label ‘ubuntu18.04-docker-8c-8g’ are offline [2020-10-09T20:27:33.677Z] Removing intermediate container 9f9ff87cde8d [2020-10-09T20:27:33.677Z] ---> 039c4e99574f [2020-10-09T20:27:33.677Z] Step 14/27 : FROM alpine:latest [2020-10-09T20:27:33.677Z] latest: Pulling from library/alpine [2020-10-09T20:27:33.677Z] b538f80385f9: Already exists [2020-10-09T20:27:33.677Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-10-09T20:27:33.677Z] Status: Downloaded newer image for alpine:latest [2020-10-09T20:27:33.677Z] ---> 62ee0e9f8440 [2020-10-09T20:27:33.677Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-09T20:27:33.949Z] ---> Running in 4fdbd76d30d0 [2020-10-09T20:27:34.222Z] Removing intermediate container 4fdbd76d30d0 [2020-10-09T20:27:34.222Z] ---> 544659fdd4b2 [2020-10-09T20:27:34.222Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2020-10-09T20:27:34.495Z] ---> Running in 18684135b4f4 [2020-10-09T20:27:35.089Z] Removing intermediate container 18684135b4f4 [2020-10-09T20:27:35.089Z] ---> 055a1b87dc09 [2020-10-09T20:27:35.089Z] Step 17/27 : RUN apk --no-cache add ca-certificates zeromq [2020-10-09T20:27:35.089Z] ---> Running in 9b722f443047 [2020-10-09T20:27:36.521Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-09T20:27:36.794Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-09T20:27:37.387Z] (1/6) Installing ca-certificates (20191127-r4) [2020-10-09T20:27:37.388Z] (2/6) Installing libgcc (9.3.0-r2) [2020-10-09T20:27:37.388Z] (3/6) Installing libsodium (1.0.18-r0) [2020-10-09T20:27:37.388Z] (4/6) Installing libstdc++ (9.3.0-r2) [2020-10-09T20:27:37.388Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-09T20:27:37.388Z] (6/6) Installing zeromq (4.3.3-r0) [2020-10-09T20:27:37.388Z] Executing busybox-1.31.1-r16.trigger [2020-10-09T20:27:37.388Z] Executing ca-certificates-20191127-r4.trigger [2020-10-09T20:27:37.661Z] OK: 9 MiB in 20 packages [2020-10-09T20:27:39.641Z] Removing intermediate container 9b722f443047 [2020-10-09T20:27:39.641Z] ---> 6480818f4592 [2020-10-09T20:27:39.641Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2020-10-09T20:27:39.917Z] ---> fa47e63a5e39 [2020-10-09T20:27:39.917Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2020-10-09T20:27:40.896Z] ---> 22f8d68ba1b0 [2020-10-09T20:27:40.896Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2020-10-09T20:27:41.493Z] ---> 0cd7a16a4dad [2020-10-09T20:27:41.493Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2020-10-09T20:27:42.930Z] ---> 5275ab604695 [2020-10-09T20:27:42.930Z] Step 22/27 : EXPOSE 48095 [2020-10-09T20:27:43.203Z] ---> Running in 233676bac15e [2020-10-09T20:27:43.476Z] Removing intermediate container 233676bac15e [2020-10-09T20:27:43.476Z] ---> b74563ba3e1a [2020-10-09T20:27:43.476Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2020-10-09T20:27:43.748Z] ---> Running in 21e9665b4a11 [2020-10-09T20:27:44.022Z] Removing intermediate container 21e9665b4a11 [2020-10-09T20:27:44.022Z] ---> 185136e23e5c [2020-10-09T20:27:44.022Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-09T20:27:44.295Z] ---> Running in 2a24da7c668c [2020-10-09T20:27:44.893Z] Removing intermediate container 2a24da7c668c [2020-10-09T20:27:44.893Z] ---> 31e0344f993c [2020-10-09T20:27:44.893Z] Step 25/27 : LABEL arch=arm64 [2020-10-09T20:27:44.893Z] ---> Running in 536528c15163 [2020-10-09T20:27:45.490Z] Removing intermediate container 536528c15163 [2020-10-09T20:27:45.490Z] ---> 326cd1eee315 [2020-10-09T20:27:45.490Z] Step 26/27 : LABEL git_sha=875f7634c9e73d2f964494396a4c8bf4cc82f848 [2020-10-09T20:27:45.490Z] ---> Running in 2b458965da1e [2020-10-09T20:27:45.761Z] Removing intermediate container 2b458965da1e [2020-10-09T20:27:45.761Z] ---> 0c40a5259e06 [2020-10-09T20:27:45.761Z] Step 27/27 : LABEL version=0.0.0 [2020-10-09T20:27:46.035Z] ---> Running in 64352b49e088 [2020-10-09T20:27:46.307Z] Removing intermediate container 64352b49e088 [2020-10-09T20:27:46.307Z] ---> 5771a1fafabb [2020-10-09T20:27:46.307Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-09T20:27:46.580Z] Successfully built 5771a1fafabb [2020-10-09T20:27:46.580Z] 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-09T20:28:02.552Z] Still waiting to schedule task [2020-10-09T20:28:02.552Z] All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline [2020-10-09T20:28:28.402Z] Running on prd-ubuntu18.04-docker-8c-8g-4411 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-09T20:28:28.535Z] Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout [2020-10-09T20:28:30.761Z] using credential edgex-jenkins-ssh [2020-10-09T20:28:30.816Z] Cloning the remote Git repository [2020-10-09T20:28:30.070Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T20:28:30.146Z] > git init /w/workspace/app-service-configurable/1 # timeout=10 [2020-10-09T20:28:30.179Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T20:28:30.180Z] > git --version # timeout=10 [2020-10-09T20:28:30.188Z] > git --version # 'git version 2.17.1' [2020-10-09T20:28:30.188Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T20:28:30.230Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-09T20:28:32.087Z] Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit 875f7634c9e73d2f964494396a4c8bf4cc82f848 [2020-10-09T20:28:30.843Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-09T20:28:30.847Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-09T20:28:30.856Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-09T20:28:30.865Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T20:28:30.866Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T20:28:30.869Z] > 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-09T20:28:31.320Z] > git config core.sparsecheckout # timeout=10 [2020-10-09T20:28:31.325Z] > git checkout -f 875f7634c9e73d2f964494396a4c8bf4cc82f848 # timeout=10 [2020-10-09T20:28:31.356Z] > git remote # timeout=10 [2020-10-09T20:28:31.362Z] > git config --get remote.origin.url # timeout=10 [2020-10-09T20:28:32.158Z] Merge succeeded, producing 875f7634c9e73d2f964494396a4c8bf4cc82f848 [2020-10-09T20:28:32.159Z] Checking out Revision 875f7634c9e73d2f964494396a4c8bf4cc82f848 (PR-124) [2020-10-09T20:28:31.367Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T20:28:31.370Z] > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 [2020-10-09T20:28:31.379Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-09T20:28:31.386Z] > git config core.sparsecheckout # timeout=10 [2020-10-09T20:28:31.390Z] > git checkout -f 875f7634c9e73d2f964494396a4c8bf4cc82f848 # timeout=10 [2020-10-09T20:28:35.734Z] Commit message: "ci: testing new native snap build" [2020-10-09T20:28:34.981Z] > git --version # timeout=10 [2020-10-09T20:28:34.984Z] > git --version # 'git version 2.17.1' [2020-10-09T20:28:34.987Z] fatal: bad object 793ecab86f129571a616148e60910185c3e6ff6c [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-10-09T20:28:37.045Z] + echo snap-build.sh [2020-10-09T20:28:37.045Z] snap-build.sh [2020-10-09T20:28:37.045Z] + SNAP_BASE_DIR=. [2020-10-09T20:28:37.045Z] + '[' '!' -z /w/workspace/app-service-configurable/1 ']' [2020-10-09T20:28:37.045Z] + SNAP_BASE_DIR=/w/workspace/app-service-configurable/1 [2020-10-09T20:28:37.045Z] + echo '[snap-build] Building snap in dir [/w/workspace/app-service-configurable/1]' [2020-10-09T20:28:37.045Z] [snap-build] Building snap in dir [/w/workspace/app-service-configurable/1] [2020-10-09T20:28:37.045Z] + cd /w/workspace/app-service-configurable/1 [2020-10-09T20:28:37.045Z] + snap install lxd [2020-10-09T20:28:37.045Z] error: access denied (try with sudo) [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-09T20:28:38.715Z] Failed in branch amd64 [2020-10-09T20:29:50.410Z] Running on prd-ubuntu18.04-docker-arm64-16c-16g-4412 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-09T20:29:50.580Z] Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout [2020-10-09T20:29:54.567Z] using credential edgex-jenkins-ssh [2020-10-09T20:29:54.624Z] Cloning the remote Git repository [2020-10-09T20:29:54.670Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T20:29:54.765Z] > git init /w/workspace/app-service-configurable/1 # timeout=10 [2020-10-09T20:29:54.829Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T20:29:54.829Z] > git --version # timeout=10 [2020-10-09T20:29:54.845Z] > git --version # 'git version 2.17.1' [2020-10-09T20:29:54.847Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T20:29:54.888Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-09T20:29:55.583Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-09T20:29:55.595Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-09T20:29:55.618Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-09T20:29:55.647Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T20:29:55.647Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T20:29:56.180Z] Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit 875f7634c9e73d2f964494396a4c8bf4cc82f848 [2020-10-09T20:29:56.468Z] Merge succeeded, producing 875f7634c9e73d2f964494396a4c8bf4cc82f848 [2020-10-09T20:29:56.468Z] Checking out Revision 875f7634c9e73d2f964494396a4c8bf4cc82f848 (PR-124) [2020-10-09T20:29:55.659Z] > 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-09T20:29:56.310Z] > git config core.sparsecheckout # timeout=10 [2020-10-09T20:29:56.322Z] > git checkout -f 875f7634c9e73d2f964494396a4c8bf4cc82f848 # timeout=10 [2020-10-09T20:29:56.399Z] > git remote # timeout=10 [2020-10-09T20:29:56.414Z] > git config --get remote.origin.url # timeout=10 [2020-10-09T20:29:56.423Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T20:29:56.434Z] > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 [2020-10-09T20:29:56.454Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-09T20:29:56.494Z] > git config core.sparsecheckout # timeout=10 [2020-10-09T20:29:56.505Z] > git checkout -f 875f7634c9e73d2f964494396a4c8bf4cc82f848 # timeout=10 [2020-10-09T20:30:00.647Z] Commit message: "ci: testing new native snap build" [2020-10-09T20:30:00.706Z] > git --version # timeout=10 [2020-10-09T20:30:00.715Z] > git --version # 'git version 2.17.1' [2020-10-09T20:30:00.725Z] fatal: bad object 793ecab86f129571a616148e60910185c3e6ff6c [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-10-09T20:30:02.411Z] + echo snap-build.sh [2020-10-09T20:30:02.412Z] snap-build.sh [2020-10-09T20:30:02.412Z] + SNAP_BASE_DIR=. [2020-10-09T20:30:02.412Z] + '[' '!' -z /w/workspace/app-service-configurable/1 ']' [2020-10-09T20:30:02.412Z] + SNAP_BASE_DIR=/w/workspace/app-service-configurable/1 [2020-10-09T20:30:02.412Z] + echo '[snap-build] Building snap in dir [/w/workspace/app-service-configurable/1]' [2020-10-09T20:30:02.412Z] [snap-build] Building snap in dir [/w/workspace/app-service-configurable/1] [2020-10-09T20:30:02.412Z] + cd /w/workspace/app-service-configurable/1 [2020-10-09T20:30:02.412Z] + snap install lxd [2020-10-09T20:30:02.689Z] error: access denied (try with sudo) [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-09T20:30:04.555Z] 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-09T20:30:08.746Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-09T20:30:09.342Z] ---> package-listing.sh [2020-10-09T20:30:09.342Z] ++ facter osfamily [2020-10-09T20:30:09.342Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-09T20:30:09.342Z] + OS_FAMILY=redhat [2020-10-09T20:30:09.342Z] + workspace=/w/workspace/_app-service-configurable_PR-124 [2020-10-09T20:30:09.342Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-09T20:30:09.342Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-09T20:30:09.342Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-09T20:30:09.342Z] + PACKAGES=/tmp/packages_start.txt [2020-10-09T20:30:09.342Z] + '[' /w/workspace/_app-service-configurable_PR-124 ']' [2020-10-09T20:30:09.342Z] + PACKAGES=/tmp/packages_end.txt [2020-10-09T20:30:09.342Z] + case "${OS_FAMILY}" in [2020-10-09T20:30:09.342Z] + rpm -qa [2020-10-09T20:30:09.342Z] + sort [2020-10-09T20:30:13.562Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-09T20:30:13.562Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-09T20:30:13.562Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-09T20:30:13.562Z] + '[' /w/workspace/_app-service-configurable_PR-124 ']' [2020-10-09T20:30:13.562Z] + mkdir -p /w/workspace/_app-service-configurable_PR-124/archives/ [2020-10-09T20:30:13.562Z] + 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-09T20:30:13.591Z] 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-09T20:30:13.893Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-09T20:30:14.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-09T20:30:14.242Z] [2020-10-09T20:30:14.242Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-09T20:30:14.632Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-09T20:30:14.632Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-09T20:30:14.632Z] df20fa9351a1: Pulling fs layer [2020-10-09T20:30:14.632Z] 36b3adc4ff6f: Pulling fs layer [2020-10-09T20:30:14.632Z] 8ad3a11d3b57: Pulling fs layer [2020-10-09T20:30:14.632Z] 46f8f816bc3b: Pulling fs layer [2020-10-09T20:30:14.632Z] 93b61091891f: Pulling fs layer [2020-10-09T20:30:14.632Z] 93b9cdb0e59b: Pulling fs layer [2020-10-09T20:30:14.632Z] 5e14af77c1be: Pulling fs layer [2020-10-09T20:30:14.632Z] 01666e4c0597: Pulling fs layer [2020-10-09T20:30:14.632Z] aa168da1d23b: Pulling fs layer [2020-10-09T20:30:14.632Z] 93b61091891f: Waiting [2020-10-09T20:30:14.632Z] 93b9cdb0e59b: Waiting [2020-10-09T20:30:14.632Z] 5e14af77c1be: Waiting [2020-10-09T20:30:14.632Z] 01666e4c0597: Waiting [2020-10-09T20:30:14.632Z] aa168da1d23b: Waiting [2020-10-09T20:30:14.632Z] 46f8f816bc3b: Waiting [2020-10-09T20:30:14.632Z] 36b3adc4ff6f: Download complete [2020-10-09T20:30:14.632Z] 46f8f816bc3b: Verifying Checksum [2020-10-09T20:30:14.632Z] 46f8f816bc3b: Download complete [2020-10-09T20:30:14.893Z] df20fa9351a1: Verifying Checksum [2020-10-09T20:30:14.893Z] df20fa9351a1: Download complete [2020-10-09T20:30:14.893Z] 93b9cdb0e59b: Verifying Checksum [2020-10-09T20:30:14.893Z] 93b9cdb0e59b: Download complete [2020-10-09T20:30:14.893Z] 5e14af77c1be: Verifying Checksum [2020-10-09T20:30:14.893Z] 5e14af77c1be: Download complete [2020-10-09T20:30:14.893Z] 01666e4c0597: Verifying Checksum [2020-10-09T20:30:14.893Z] 01666e4c0597: Download complete [2020-10-09T20:30:14.893Z] 93b61091891f: Verifying Checksum [2020-10-09T20:30:14.893Z] 93b61091891f: Download complete [2020-10-09T20:30:14.893Z] 8ad3a11d3b57: Verifying Checksum [2020-10-09T20:30:14.893Z] 8ad3a11d3b57: Download complete [2020-10-09T20:30:14.893Z] df20fa9351a1: Pull complete [2020-10-09T20:30:15.168Z] 36b3adc4ff6f: Pull complete [2020-10-09T20:30:15.759Z] 8ad3a11d3b57: Pull complete [2020-10-09T20:30:15.759Z] 46f8f816bc3b: Pull complete [2020-10-09T20:30:16.021Z] 93b61091891f: Pull complete [2020-10-09T20:30:16.291Z] 93b9cdb0e59b: Pull complete [2020-10-09T20:30:16.866Z] 5e14af77c1be: Pull complete [2020-10-09T20:30:16.866Z] 01666e4c0597: Pull complete [2020-10-09T20:30:16.866Z] aa168da1d23b: Verifying Checksum [2020-10-09T20:30:16.866Z] aa168da1d23b: Download complete [2020-10-09T20:30:23.475Z] aa168da1d23b: Pull complete [2020-10-09T20:30:23.475Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-09T20:30:23.475Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-09T20:30:23.475Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-09T20:30:23.641Z] prd-centos7-docker-4c-2g-4408 does not seem to be running inside a container [2020-10-09T20:30:23.684Z] $ 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-09T20:30:29.812Z] $ docker top c43e256811648c880b29142708179d7b6bb03bb6b829ee84c8203fd05cb16915 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-09T20:30:30.339Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-09T20:30:30.654Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-09T20:30:30.974Z] + ls /var/log/sa-host [2020-10-09T20:30:30.974Z] + sadf -c /var/log/sa-host/sa05 [2020-10-09T20:30:30.974Z] file_magic: OK [2020-10-09T20:30:30.974Z] HZ: Using current value: 100 [2020-10-09T20:30:30.974Z] file_header: OK [2020-10-09T20:30:30.974Z] 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-09T20:30:30.974Z] Statistics: [2020-10-09T20:30:30.974Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-09T20:30:30.974Z] File successfully converted to sysstat format version 12.2.1 [2020-10-09T20:30:30.974Z] + sadf -c /var/log/sa-host/sa09 [2020-10-09T20:30:30.974Z] file_magic: OK [2020-10-09T20:30:30.974Z] HZ: Using current value: 100 [2020-10-09T20:30:30.974Z] file_header: OK [2020-10-09T20:30:30.974Z] 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-09T20:30:30.974Z] Statistics: [2020-10-09T20:30:30.974Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-09T20:30:30.974Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-09T20:30:31.245Z] provisioning config files... [2020-10-09T20:30:31.264Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-124@tmp/config3000676165723741660tmp [Pipeline] { [Pipeline] echo [2020-10-09T20:30:31.395Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-09T20:30:31.725Z] ---> create-netrc.sh [Pipeline] } [2020-10-09T20:30:31.750Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-09T20:30:31.912Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-09T20:30:32.239Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-09T20:30:32.267Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-09T20:30:32.592Z] ---> sudo-logs.sh [2020-10-09T20:30:32.592Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-09T20:30:32.622Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-09T20:30:32.977Z] ---> job-cost.sh [2020-10-09T20:30:32.977Z] lf-activate-venv: SKIPPING [2020-10-09T20:30:32.977Z] INFO: No Stack... [2020-10-09T20:30:34.360Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-09T20:30:34.933Z] INFO: Archiving Costs [Pipeline] echo [2020-10-09T20:30:34.981Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-09T20:30:35.307Z] ---> logs-deploy.sh [2020-10-09T20:30:35.307Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-124/1 [2020-10-09T20:30:35.307Z] INFO: archiving workspace using pattern(s): [2020-10-09T20:30:36.696Z] Archives upload complete. [2020-10-09T20:30:36.959Z] INFO: archiving logs to Nexus