Started by user Ernesto Ojeda Replayed #1 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: PERFORMANCE_OPTIMIZED 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 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. Replacing contents of vars/edgeXDockerLogin.groovy Replacing contents of vars/edgeXUpdateNamedTag.groovy Replacing contents of vars/edgeXInfraPublish.groovy Replacing contents of vars/edgeXInfraLFToolsSign.groovy Replacing contents of vars/edgeXGeneric.groovy Replacing contents of vars/edgeXBuildGoParallel.groovy Replacing contents of vars/edgeXSemver.groovy Replacing contents of vars/edgeXNexusPublish.groovy Replacing contents of vars/edgeXBuildGoMod.groovy Replacing contents of vars/edgeXRelease.groovy Replacing contents of vars/edgeXSnap.groovy Replacing contents of vars/edgeXReleaseSnap.groovy Replacing contents of vars/edgeXBuildCApp.groovy Replacing contents of vars/edgeXInfraShipLogs.groovy Replacing contents of vars/edgeXSetupEnvironment.groovy Replacing contents of vars/edgex.groovy Replacing contents of vars/edgeXBuildDocker.groovy Replacing contents of vars/edgeXSwaggerPublish.groovy Replacing contents of vars/edgeXReleaseGitTag.groovy Replacing contents of vars/edgeXReleaseDockerImage.groovy Replacing contents of vars/edgeXClair.groovy Replacing contents of vars/edgeXBuildGoApp.groovy Replacing contents of vars/edgeXSnyk.groovy Replacing contents of vars/edgeXCodecov.groovy Replacing contents of vars/edgeXDocker.groovy Replacing contents of vars/edgeXReleaseGitTagUtil.groovy Replacing contents of vars/edgeXReleaseGitHubAssets.groovy Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Replacing contents of vars/lfInfraShipLogs.groovy [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-4430 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-124 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit 875f7634c9e73d2f964494396a4c8bf4cc82f848 Merge succeeded, producing 875f7634c9e73d2f964494396a4c8bf4cc82f848 Checking out Revision 875f7634c9e73d2f964494396a4c8bf4cc82f848 (PR-124) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 875f7634c9e73d2f964494396a4c8bf4cc82f848 # timeout=10 Commit message: "ci: testing new native snap build" > git rev-list --no-walk 875f7634c9e73d2f964494396a4c8bf4cc82f848 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-09T22:16:16.713Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-09T22:16:17.000Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-09T22:16:17.128Z] ========================================================= [2020-10-09T22:16:17.129Z] EdgeX Global Pipelines Version Info [2020-10-09T22:16:17.129Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-09T22:16:18.811Z] ------------------- [2020-10-09T22:16:18.811Z] stable info: [2020-10-09T22:16:18.811Z] ------------------- [2020-10-09T22:16:18.811Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-09T22:16:18.811Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-09T22:16:18.811Z] Message: update stable to v1.0.131 [2020-10-09T22:16:19.767Z] ------------------- [2020-10-09T22:16:19.767Z] experimental info: [2020-10-09T22:16:19.767Z] ------------------- [2020-10-09T22:16:19.767Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-09T22:16:19.767Z] Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a [2020-10-09T22:16:19.767Z] Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-09T22:16:20.232Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2020-10-09T22:16:20.355Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2020-10-09T22:16:20.474Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-09T22:16:20.588Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-09T22:16:20.703Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-09T22:16:20.812Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-09T22:16:20.906Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-09T22:16:20.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-09T22:16:21.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-10-09T22:16:21.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-09T22:16:21.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-09T22:16:21.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-service-configurable [Pipeline] echo [2020-10-09T22:16:21.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-09T22:16:21.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-09T22:16:21.901Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-09T22:16:22.001Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-10-09T22:16:22.094Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-09T22:16:22.202Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-09T22:16:22.303Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-09T22:16:22.444Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-10-09T22:16:22.545Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-09T22:16:22.644Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-09T22:16:22.734Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-09T22:16:22.832Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-09T22:16:22.926Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-09T22:16:23.022Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-124 [Pipeline] echo [2020-10-09T22:16:23.126Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-124 [Pipeline] echo [2020-10-09T22:16:23.218Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-124 [Pipeline] echo [2020-10-09T22:16:23.339Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 875f7634c9e73d2f964494396a4c8bf4cc82f848 [Pipeline] echo [2020-10-09T22:16:23.440Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 875f763 [Pipeline] echo [2020-10-09T22:16:23.540Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-09T22:16:24.181Z] + git log --format=format:%s -1 875f7634c9e73d2f964494396a4c8bf4cc82f848 [Pipeline] echo [2020-10-09T22:16:24.290Z] GIT_COMMIT: 875f7634c9e73d2f964494396a4c8bf4cc82f848, Commit Message: ci: testing new native snap build [Pipeline] echo [2020-10-09T22:16:24.346Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-09T22:16:24.960Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-09T22:16:25.557Z] [2020-10-09T22:16:25.557Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-09T22:16:25.924Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-09T22:16:25.924Z] latest: Pulling from edgex-devops/git-semver [2020-10-09T22:16:25.924Z] 31603596830f: Pulling fs layer [2020-10-09T22:16:25.924Z] 2a8b12db71e7: Pulling fs layer [2020-10-09T22:16:25.924Z] 6ca5941a6612: Pulling fs layer [2020-10-09T22:16:25.924Z] ecc8261a40a4: Pulling fs layer [2020-10-09T22:16:25.924Z] ecc8261a40a4: Waiting [2020-10-09T22:16:25.924Z] 2a8b12db71e7: Verifying Checksum [2020-10-09T22:16:25.924Z] 2a8b12db71e7: Download complete [2020-10-09T22:16:26.192Z] 31603596830f: Verifying Checksum [2020-10-09T22:16:26.192Z] 31603596830f: Download complete [2020-10-09T22:16:26.463Z] ecc8261a40a4: Download complete [2020-10-09T22:16:26.463Z] 6ca5941a6612: Verifying Checksum [2020-10-09T22:16:26.463Z] 6ca5941a6612: Download complete [2020-10-09T22:16:26.463Z] 31603596830f: Pull complete [2020-10-09T22:16:26.728Z] 2a8b12db71e7: Pull complete [2020-10-09T22:16:27.749Z] 6ca5941a6612: Pull complete [2020-10-09T22:16:27.749Z] ecc8261a40a4: Pull complete [2020-10-09T22:16:28.025Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-09T22:16:28.025Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-09T22:16:28.025Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-09T22:16:28.227Z] prd-centos7-docker-4c-2g-4430 does not seem to be running inside a container [2020-10-09T22:16:28.336Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-124 -v /w/workspace/_app-service-configurable_PR-124:/w/workspace/_app-service-configurable_PR-124:rw,z -v /w/workspace/_app-service-configurable_PR-124@tmp:/w/workspace/_app-service-configurable_PR-124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-09T22:16:30.448Z] $ docker top f34966e4eb207004514de751da045821d8440ac244a53ed7339835d68272cfc5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-09T22:16:30.816Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-09T22:16:30.816Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-09T22:16:31.080Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-09T22:16:31.086Z] $ docker exec f34966e4eb207004514de751da045821d8440ac244a53ed7339835d68272cfc5 ssh-agent [2020-10-09T22:16:31.252Z] SSH_AUTH_SOCK=/tmp/ssh-JAW9SOLo9Eue/agent.12 [2020-10-09T22:16:31.252Z] SSH_AGENT_PID=17 [2020-10-09T22:16:31.265Z] Running ssh-add (command line suppressed) [2020-10-09T22:16:31.391Z] Identity added: /w/workspace/_app-service-configurable_PR-124@tmp/private_key_195470175463789031.key (/w/workspace/_app-service-configurable_PR-124@tmp/private_key_195470175463789031.key) [2020-10-09T22:16:31.442Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-09T22:16:31.786Z] + git tag --points-at HEAD [Pipeline] } [2020-10-09T22:16:31.810Z] $ docker exec --env ******** --env ******** f34966e4eb207004514de751da045821d8440ac244a53ed7339835d68272cfc5 ssh-agent -k [2020-10-09T22:16:31.928Z] unset SSH_AUTH_SOCK; [2020-10-09T22:16:31.928Z] unset SSH_AGENT_PID; [2020-10-09T22:16:31.928Z] echo Agent pid 17 killed; [2020-10-09T22:16:31.970Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-09T22:16:32.121Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-09T22:16:32.122Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-09T22:16:32.288Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-09T22:16:32.294Z] $ docker exec f34966e4eb207004514de751da045821d8440ac244a53ed7339835d68272cfc5 ssh-agent [2020-10-09T22:16:32.460Z] SSH_AUTH_SOCK=/tmp/ssh-mo6hq2cpeNwX/agent.47 [2020-10-09T22:16:32.460Z] SSH_AGENT_PID=52 [2020-10-09T22:16:32.472Z] Running ssh-add (command line suppressed) [2020-10-09T22:16:32.594Z] Identity added: /w/workspace/_app-service-configurable_PR-124@tmp/private_key_388483230429286062.key (/w/workspace/_app-service-configurable_PR-124@tmp/private_key_388483230429286062.key) [2020-10-09T22:16:32.655Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-09T22:16:33.010Z] + git semver init [2020-10-09T22:16:33.010Z] # -> Open(): unable to determine branch for HEAD [2020-10-09T22:16:33.010Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-124/.git [2020-10-09T22:16:33.010Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-124 [2020-10-09T22:16:33.010Z] # $SEMVER_REMOTE_NAME = origin [2020-10-09T22:16:33.010Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-09T22:16:33.010Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-09T22:16:33.010Z] # $SEMVER_BRANCH = PR-124 [2020-10-09T22:16:33.010Z] # $SEMVER_TEMP = /tmp/semver-598475111 [2020-10-09T22:16:33.010Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2020-10-09T22:16:33.275Z] # '/tmp/semver-598475111' -> '/w/workspace/_app-service-configurable_PR-124/.semver' [2020-10-09T22:16:33.544Z] # -> Force: false [2020-10-09T22:16:33.544Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-124/.semver [Pipeline] } [2020-10-09T22:16:33.562Z] $ docker exec --env ******** --env ******** f34966e4eb207004514de751da045821d8440ac244a53ed7339835d68272cfc5 ssh-agent -k [2020-10-09T22:16:33.677Z] unset SSH_AUTH_SOCK; [2020-10-09T22:16:33.677Z] unset SSH_AGENT_PID; [2020-10-09T22:16:33.677Z] echo Agent pid 52 killed; [2020-10-09T22:16:33.724Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-09T22:16:34.256Z] + git semver [Pipeline] } [2020-10-09T22:16:34.280Z] $ docker stop --time=1 f34966e4eb207004514de751da045821d8440ac244a53ed7339835d68272cfc5 [2020-10-09T22:16:35.626Z] $ docker rm -f f34966e4eb207004514de751da045821d8440ac244a53ed7339835d68272cfc5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-09T22:16:36.247Z] Stashed 1 file(s) [Pipeline] echo [2020-10-09T22:16:36.250Z] [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-09T22:16:51.866Z] Still waiting to schedule task [2020-10-09T22:16:51.866Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-09T22:16:51.869Z] Still waiting to schedule task [2020-10-09T22:16:51.869Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline [2020-10-09T22:18:46.120Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4431 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-09T22:18:46.193Z] Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout [2020-10-09T22:18:50.939Z] using credential edgex-jenkins-ssh [2020-10-09T22:18:51.001Z] Cloning the remote Git repository [2020-10-09T22:18:51.074Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T22:18:51.195Z] > git init /w/workspace/app-service-configurable/2 # timeout=10 [2020-10-09T22:18:51.284Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T22:18:51.285Z] > git --version # timeout=10 [2020-10-09T22:18:51.311Z] > git --version # 'git version 2.17.1' [2020-10-09T22:18:51.313Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T22:18:51.366Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-09T22:18:52.045Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-09T22:18:52.068Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-09T22:18:52.097Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-09T22:18:52.132Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T22:18:52.133Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T22:18:52.145Z] > 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-09T22:18:52.668Z] Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit 875f7634c9e73d2f964494396a4c8bf4cc82f848 [2020-10-09T22:18:52.874Z] Merge succeeded, producing 875f7634c9e73d2f964494396a4c8bf4cc82f848 [2020-10-09T22:18:52.874Z] Checking out Revision 875f7634c9e73d2f964494396a4c8bf4cc82f848 (PR-124) [2020-10-09T22:18:52.692Z] > git config core.sparsecheckout # timeout=10 [2020-10-09T22:18:52.715Z] > git checkout -f 875f7634c9e73d2f964494396a4c8bf4cc82f848 # timeout=10 [2020-10-09T22:18:52.795Z] > git remote # timeout=10 [2020-10-09T22:18:52.810Z] > git config --get remote.origin.url # timeout=10 [2020-10-09T22:18:52.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T22:18:52.846Z] > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 [2020-10-09T22:18:52.868Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-09T22:18:52.887Z] > git config core.sparsecheckout # timeout=10 [2020-10-09T22:18:52.908Z] > git checkout -f 875f7634c9e73d2f964494396a4c8bf4cc82f848 # timeout=10 [2020-10-09T22:18:57.211Z] Commit message: "ci: testing new native snap build" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-09T22:18:58.272Z] ========================================================= [2020-10-09T22:18:58.272Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-09T22:18:58.272Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-09T22:18:59.268Z] + 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-09T22:18:59.867Z] Sending build context to Docker daemon 93.7kB [2020-10-09T22:18:59.867Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-09T22:18:59.867Z] Step 2/8 : FROM ${BASE} [2020-10-09T22:19:00.477Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-09T22:19:00.477Z] b538f80385f9: Pulling fs layer [2020-10-09T22:19:00.478Z] 74f711af9a0d: Pulling fs layer [2020-10-09T22:19:00.478Z] 99f96fe45779: Pulling fs layer [2020-10-09T22:19:00.478Z] 8529a6b9a6be: Pulling fs layer [2020-10-09T22:19:00.478Z] 45590311c82a: Pulling fs layer [2020-10-09T22:19:00.478Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-09T22:19:00.478Z] 209524e5b208: Pulling fs layer [2020-10-09T22:19:00.478Z] 45590311c82a: Waiting [2020-10-09T22:19:00.478Z] 69ca0ff8b7b3: Waiting [2020-10-09T22:19:00.478Z] 209524e5b208: Waiting [2020-10-09T22:19:00.478Z] 8529a6b9a6be: Waiting [2020-10-09T22:19:00.478Z] 99f96fe45779: Download complete [2020-10-09T22:19:00.478Z] 74f711af9a0d: Verifying Checksum [2020-10-09T22:19:00.478Z] 74f711af9a0d: Download complete [2020-10-09T22:19:00.478Z] 45590311c82a: Verifying Checksum [2020-10-09T22:19:00.478Z] 45590311c82a: Download complete [2020-10-09T22:19:00.478Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-09T22:19:00.478Z] 69ca0ff8b7b3: Download complete [2020-10-09T22:19:01.079Z] b538f80385f9: Verifying Checksum [2020-10-09T22:19:01.079Z] b538f80385f9: Download complete [2020-10-09T22:19:01.685Z] b538f80385f9: Pull complete [2020-10-09T22:19:02.289Z] 74f711af9a0d: Pull complete [2020-10-09T22:19:02.888Z] 99f96fe45779: Pull complete [2020-10-09T22:19:03.490Z] 209524e5b208: Verifying Checksum [2020-10-09T22:19:03.490Z] 209524e5b208: Download complete [2020-10-09T22:19:04.470Z] 8529a6b9a6be: Verifying Checksum [2020-10-09T22:19:04.470Z] 8529a6b9a6be: Download complete [2020-10-09T22:19:14.703Z] 8529a6b9a6be: Pull complete [2020-10-09T22:19:14.703Z] 45590311c82a: Pull complete [2020-10-09T22:19:14.981Z] 69ca0ff8b7b3: Pull complete [2020-10-09T22:19:19.222Z] Running on prd-centos7-docker-4c-2g-4432 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-09T22:19:19.289Z] Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout [2020-10-09T22:19:19.367Z] 209524e5b208: Pull complete [2020-10-09T22:19:19.367Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-09T22:19:19.367Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-09T22:19:19.367Z] ---> 5bddaf1c2fca [2020-10-09T22:19:19.367Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-09T22:19:21.868Z] using credential edgex-jenkins-ssh [2020-10-09T22:19:21.921Z] Cloning the remote Git repository [2020-10-09T22:19:22.007Z] ---> Running in 97e71d6a7110 [2020-10-09T22:19:22.282Z] Removing intermediate container 97e71d6a7110 [2020-10-09T22:19:22.282Z] ---> 74e36f38ae11 [2020-10-09T22:19:22.282Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-09T22:19:22.282Z] ---> Running in a742362a3900 [2020-10-09T22:19:22.001Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T22:19:22.071Z] > git init /w/workspace/app-service-configurable/2 # timeout=10 [2020-10-09T22:19:22.125Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T22:19:22.125Z] > git --version # timeout=10 [2020-10-09T22:19:22.133Z] > git --version # 'git version 2.16.5' [2020-10-09T22:19:22.133Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T22:19:22.159Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-09T22:19:23.184Z] Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit 875f7634c9e73d2f964494396a4c8bf4cc82f848 [2020-10-09T22:19:23.273Z] Merge succeeded, producing 875f7634c9e73d2f964494396a4c8bf4cc82f848 [2020-10-09T22:19:23.273Z] Checking out Revision 875f7634c9e73d2f964494396a4c8bf4cc82f848 (PR-124) [2020-10-09T22:19:22.730Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-09T22:19:22.735Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-09T22:19:22.745Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-09T22:19:22.756Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T22:19:22.756Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T22:19:22.760Z] > 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-09T22:19:23.196Z] > git config core.sparsecheckout # timeout=10 [2020-10-09T22:19:23.204Z] > git checkout -f 875f7634c9e73d2f964494396a4c8bf4cc82f848 # timeout=10 [2020-10-09T22:19:23.240Z] > git remote # timeout=10 [2020-10-09T22:19:23.246Z] > git config --get remote.origin.url # timeout=10 [2020-10-09T22:19:23.252Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T22:19:23.256Z] > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 [2020-10-09T22:19:23.266Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-09T22:19:23.278Z] > git config core.sparsecheckout # timeout=10 [2020-10-09T22:19:23.284Z] > git checkout -f 875f7634c9e73d2f964494396a4c8bf4cc82f848 # timeout=10 [2020-10-09T22:19:24.936Z] Removing intermediate container a742362a3900 [2020-10-09T22:19:24.936Z] ---> 8058661a3390 [2020-10-09T22:19:24.936Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-10-09T22:19:24.936Z] ---> Running in e60af7e65352 [2020-10-09T22:19:26.372Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-09T22:19:26.969Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-09T22:19:27.077Z] Commit message: "ci: testing new native snap build" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-10-09T22:19:27.948Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-10-09T22:19:27.948Z] (2/6) Installing libsodium (1.0.18-r0) [2020-10-09T22:19:27.948Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-10-09T22:19:27.948Z] (4/6) Installing libsodium-dev (1.0.18-r0) [Pipeline] echo [2020-10-09T22:19:27.979Z] ========================================================= [2020-10-09T22:19:27.979Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-09T22:19:27.979Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-09T22:19:28.227Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-09T22:19:28.227Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-10-09T22:19:28.227Z] Executing busybox-1.31.1-r16.trigger [2020-10-09T22:19:28.227Z] OK: 144 MiB in 45 packages [2020-10-09T22:19:28.660Z] + 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-09T22:19:28.660Z] Sending build context to Docker daemon 93.7kB [2020-10-09T22:19:28.926Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-09T22:19:28.926Z] Step 2/8 : FROM ${BASE} [2020-10-09T22:19:28.926Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-09T22:19:28.926Z] df20fa9351a1: Pulling fs layer [2020-10-09T22:19:28.926Z] ed8968b2872e: Pulling fs layer [2020-10-09T22:19:28.926Z] a92cc7c5fd73: Pulling fs layer [2020-10-09T22:19:28.926Z] e871e8e8d7a9: Pulling fs layer [2020-10-09T22:19:28.926Z] e73272ec9a57: Pulling fs layer [2020-10-09T22:19:28.926Z] 1e910a182e73: Pulling fs layer [2020-10-09T22:19:28.926Z] 4e634b169226: Pulling fs layer [2020-10-09T22:19:28.926Z] e73272ec9a57: Waiting [2020-10-09T22:19:28.926Z] 4e634b169226: Waiting [2020-10-09T22:19:28.926Z] e871e8e8d7a9: Waiting [2020-10-09T22:19:28.926Z] a92cc7c5fd73: Verifying Checksum [2020-10-09T22:19:28.926Z] a92cc7c5fd73: Download complete [2020-10-09T22:19:28.926Z] ed8968b2872e: Download complete [2020-10-09T22:19:29.190Z] e73272ec9a57: Verifying Checksum [2020-10-09T22:19:29.190Z] e73272ec9a57: Download complete [2020-10-09T22:19:29.190Z] 1e910a182e73: Verifying Checksum [2020-10-09T22:19:29.190Z] 1e910a182e73: Download complete [2020-10-09T22:19:29.190Z] df20fa9351a1: Verifying Checksum [2020-10-09T22:19:29.190Z] df20fa9351a1: Download complete [2020-10-09T22:19:29.456Z] df20fa9351a1: Pull complete [2020-10-09T22:19:29.456Z] ed8968b2872e: Pull complete [2020-10-09T22:19:29.668Z] Removing intermediate container e60af7e65352 [2020-10-09T22:19:29.668Z] ---> 731614cbd94b [2020-10-09T22:19:29.668Z] Step 6/8 : WORKDIR /app [2020-10-09T22:19:29.668Z] ---> Running in 487400f4226f [2020-10-09T22:19:29.722Z] a92cc7c5fd73: Pull complete [2020-10-09T22:19:30.267Z] Removing intermediate container 487400f4226f [2020-10-09T22:19:30.267Z] ---> bbf825021863 [2020-10-09T22:19:30.267Z] Step 7/8 : COPY . . [2020-10-09T22:19:30.865Z] ---> ad143eea982e [2020-10-09T22:19:30.865Z] Step 8/8 : RUN go mod download [2020-10-09T22:19:31.138Z] ---> Running in 33ceb67a8185 [2020-10-09T22:19:31.664Z] 4e634b169226: Verifying Checksum [2020-10-09T22:19:31.665Z] 4e634b169226: Download complete [2020-10-09T22:19:31.928Z] e871e8e8d7a9: Verifying Checksum [2020-10-09T22:19:31.928Z] e871e8e8d7a9: Download complete [2020-10-09T22:19:37.260Z] e871e8e8d7a9: Pull complete [2020-10-09T22:19:37.523Z] e73272ec9a57: Pull complete [2020-10-09T22:19:37.523Z] 1e910a182e73: Pull complete [2020-10-09T22:19:41.749Z] 4e634b169226: Pull complete [2020-10-09T22:19:41.749Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-09T22:19:41.749Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-09T22:19:41.749Z] ---> f7629b54cfaa [2020-10-09T22:19:41.749Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-09T22:19:41.749Z] ---> Running in d7e603255887 [2020-10-09T22:19:41.749Z] Removing intermediate container d7e603255887 [2020-10-09T22:19:41.749Z] ---> fddbf0e41272 [2020-10-09T22:19:41.749Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-09T22:19:41.749Z] ---> Running in b4b0028ac53f [2020-10-09T22:19:43.144Z] Removing intermediate container b4b0028ac53f [2020-10-09T22:19:43.144Z] ---> e53d049774a2 [2020-10-09T22:19:43.144Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-10-09T22:19:43.144Z] ---> Running in 829b434e8b5a [2020-10-09T22:19:43.726Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-09T22:19:44.303Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-09T22:19:44.882Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-10-09T22:19:44.882Z] (2/6) Installing libsodium (1.0.18-r0) [2020-10-09T22:19:45.147Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-10-09T22:19:45.147Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-10-09T22:19:45.147Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-09T22:19:45.419Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-10-09T22:19:45.419Z] Executing busybox-1.31.1-r16.trigger [2020-10-09T22:19:45.419Z] OK: 167 MiB in 45 packages [2020-10-09T22:19:45.994Z] Removing intermediate container 829b434e8b5a [2020-10-09T22:19:45.994Z] ---> f51d8a4b3814 [2020-10-09T22:19:45.994Z] Step 6/8 : WORKDIR /app [2020-10-09T22:19:45.994Z] ---> Running in 04304c65da39 [2020-10-09T22:19:46.256Z] Removing intermediate container 04304c65da39 [2020-10-09T22:19:46.256Z] ---> efa53d9968e7 [2020-10-09T22:19:46.256Z] Step 7/8 : COPY . . [2020-10-09T22:19:46.522Z] ---> 5e65691b7515 [2020-10-09T22:19:46.522Z] Step 8/8 : RUN go mod download [2020-10-09T22:19:46.522Z] ---> Running in d8dd684b92c8 [2020-10-09T22:19:57.942Z] Removing intermediate container 33ceb67a8185 [2020-10-09T22:19:57.942Z] ---> 719cb6599323 [2020-10-09T22:19:57.942Z] Successfully built 719cb6599323 [2020-10-09T22:19:57.942Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-09T22:19:58.343Z] + docker inspect -f . ci-base-image-arm64 [2020-10-09T22:19:58.343Z] . [Pipeline] withDockerContainer [2020-10-09T22:19:58.619Z] prd-ubuntu18.04-docker-arm64-4c-16g-4431 does not seem to be running inside a container [2020-10-09T22:19:58.707Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-09T22:20:00.582Z] $ docker top a18b4ff73e0105e64d329d36df3282398d5f2c282ba6f5eb56e3fb32e0677807 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-09T22:20:02.023Z] + go version [2020-10-09T22:20:02.023Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-09T22:20:02.049Z] $ docker stop --time=1 a18b4ff73e0105e64d329d36df3282398d5f2c282ba6f5eb56e3fb32e0677807 [2020-10-09T22:20:03.961Z] $ docker rm -f a18b4ff73e0105e64d329d36df3282398d5f2c282ba6f5eb56e3fb32e0677807 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-09T22:20:06.341Z] + docker inspect -f . ci-base-image-arm64 [2020-10-09T22:20:06.341Z] . [Pipeline] withDockerContainer [2020-10-09T22:20:06.584Z] prd-ubuntu18.04-docker-arm64-4c-16g-4431 does not seem to be running inside a container [2020-10-09T22:20:06.664Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-09T22:20:08.365Z] $ docker top 1b3fcacf123b86f2780bad6c383eceb1eaa1d98947475f9ee891a83bb89b8ccf -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-09T22:20:09.780Z] + make test [2020-10-09T22:20:09.780Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-10-09T22:20:13.181Z] Removing intermediate container d8dd684b92c8 [2020-10-09T22:20:13.181Z] ---> c9ffbfee3abb [2020-10-09T22:20:13.181Z] Successfully built c9ffbfee3abb [2020-10-09T22:20:13.181Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-09T22:20:13.544Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-09T22:20:13.544Z] . [Pipeline] withDockerContainer [2020-10-09T22:20:13.654Z] prd-centos7-docker-4c-2g-4432 does not seem to be running inside a container [2020-10-09T22:20:13.708Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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-09T22:20:14.440Z] $ docker top e906f3dd5d6cca0186afcd2fcda9ed1e4cdb9b7d51354eb027c366bdceb53802 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-09T22:20:14.991Z] + go version [2020-10-09T22:20:14.991Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-09T22:20:15.010Z] $ docker stop --time=1 e906f3dd5d6cca0186afcd2fcda9ed1e4cdb9b7d51354eb027c366bdceb53802 [2020-10-09T22:20:16.401Z] $ docker rm -f e906f3dd5d6cca0186afcd2fcda9ed1e4cdb9b7d51354eb027c366bdceb53802 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-09T22:20:17.247Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-09T22:20:17.247Z] . [Pipeline] withDockerContainer [2020-10-09T22:20:17.359Z] prd-centos7-docker-4c-2g-4432 does not seem to be running inside a container [2020-10-09T22:20:17.475Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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-09T22:20:18.018Z] $ docker top 80372526fb687b209d2e4b88ed4973993a8e00fd1aeb9b300e39fac27e09363e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-09T22:20:18.518Z] + make test [2020-10-09T22:20:18.518Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-10-09T22:20:36.781Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-10-09T22:20:36.781Z] CGO_ENABLED=1 go vet ./... [2020-10-09T22:20:38.724Z] gofmt -l . [2020-10-09T22:20:38.992Z] [ "`gofmt -l .`" = "" ] [2020-10-09T22:20:38.992Z] ./bin/test-go-mod-tidy.sh [2020-10-09T22:20:39.258Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-10-09T22:20:40.133Z] Stashed 1 file(s) [Pipeline] } [2020-10-09T22:20:40.141Z] $ docker stop --time=1 80372526fb687b209d2e4b88ed4973993a8e00fd1aeb9b300e39fac27e09363e [2020-10-09T22:20:41.748Z] $ docker rm -f 80372526fb687b209d2e4b88ed4973993a8e00fd1aeb9b300e39fac27e09363e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-09T22:20:45.826Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-09T22:20:46.125Z] + ls -al . [2020-10-09T22:20:46.125Z] total 96 [2020-10-09T22:20:46.125Z] drwxrwxr-x. 7 jenkins jenkins 4096 Oct 9 22:20 . [2020-10-09T22:20:46.125Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 9 22:19 .. [2020-10-09T22:20:46.125Z] -rw-rw-r--. 1 jenkins jenkins 6568 Oct 9 22:19 Attribution.txt [2020-10-09T22:20:46.125Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 9 22:19 bin [2020-10-09T22:20:46.125Z] -rw-r--r--. 1 jenkins jenkins 10 Oct 9 22:20 coverage.out [2020-10-09T22:20:46.125Z] -rw-rw-r--. 1 jenkins jenkins 180 Oct 9 22:19 docker-compose.debug.yml [2020-10-09T22:20:46.125Z] -rw-rw-r--. 1 jenkins jenkins 133 Oct 9 22:19 docker-compose.yml [2020-10-09T22:20:46.125Z] -rw-rw-r--. 1 jenkins jenkins 2002 Oct 9 22:19 Dockerfile [2020-10-09T22:20:46.125Z] -rw-rw-r--. 1 jenkins jenkins 966 Oct 9 22:19 Dockerfile.build [2020-10-09T22:20:46.125Z] -rw-rw-r--. 1 jenkins jenkins 119 Oct 9 22:19 .dockerignore [2020-10-09T22:20:46.125Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 9 22:19 .git [2020-10-09T22:20:46.125Z] drwxrwxr-x. 2 jenkins jenkins 81 Oct 9 22:19 .github [2020-10-09T22:20:46.125Z] -rw-rw-r--. 1 jenkins jenkins 93 Oct 9 22:19 .gitignore [2020-10-09T22:20:46.125Z] -rw-r--r--. 1 jenkins jenkins 133 Oct 9 22:20 go.mod [2020-10-09T22:20:46.125Z] -rw-r--r--. 1 jenkins jenkins 19640 Oct 9 22:20 go.sum [2020-10-09T22:20:46.125Z] -rw-rw-r--. 1 jenkins jenkins 766 Oct 9 22:19 Jenkinsfile [2020-10-09T22:20:46.125Z] -rw-rw-r--. 1 jenkins jenkins 10174 Oct 9 22:19 LICENSE [2020-10-09T22:20:46.125Z] -rw-rw-r--. 1 jenkins jenkins 1519 Oct 9 22:19 main.go [2020-10-09T22:20:46.125Z] -rw-rw-r--. 1 jenkins jenkins 1573 Oct 9 22:19 makefile [2020-10-09T22:20:46.125Z] -rw-rw-r--. 1 jenkins jenkins 1277 Oct 9 22:19 README.md [2020-10-09T22:20:46.125Z] drwxrwxr-x. 10 jenkins jenkins 171 Oct 9 22:19 res [2020-10-09T22:20:46.125Z] drwxrwxr-x. 4 jenkins jenkins 71 Oct 9 22:19 snap [2020-10-09T22:20:46.125Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 9 22:16 VERSION [Pipeline] isUnix [Pipeline] sh [2020-10-09T22:20:46.443Z] + 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-09T22:20:46.443Z] Sending build context to Docker daemon 116.2kB [2020-10-09T22:20:46.443Z] Step 1/27 : ARG BASE=golang:1.15-alpine [2020-10-09T22:20:46.443Z] Step 2/27 : FROM ${BASE} AS builder [2020-10-09T22:20:46.443Z] ---> c9ffbfee3abb [2020-10-09T22:20:46.443Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2020-10-09T22:20:46.705Z] ---> Running in d5343fbacad2 [2020-10-09T22:20:46.705Z] Removing intermediate container d5343fbacad2 [2020-10-09T22:20:46.705Z] ---> 64ac47df1584 [2020-10-09T22:20:46.705Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2020-10-09T22:20:46.972Z] ---> Running in 8d89047a8ff5 [2020-10-09T22:20:46.972Z] Removing intermediate container 8d89047a8ff5 [2020-10-09T22:20:46.972Z] ---> 5278b32a7465 [2020-10-09T22:20:46.972Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-09T22:20:46.972Z] ---> Running in 721a04472a68 [2020-10-09T22:20:47.236Z] Removing intermediate container 721a04472a68 [2020-10-09T22:20:47.236Z] ---> 531925401b68 [2020-10-09T22:20:47.236Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-09T22:20:47.236Z] ---> Running in e16e0ea9fb38 [2020-10-09T22:20:48.189Z] Removing intermediate container e16e0ea9fb38 [2020-10-09T22:20:48.189Z] ---> d30c896de961 [2020-10-09T22:20:48.189Z] Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-09T22:20:48.189Z] ---> Running in c1947272cceb [2020-10-09T22:20:48.765Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-09T22:20:49.341Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-09T22:20:49.918Z] OK: 167 MiB in 45 packages [2020-10-09T22:20:50.186Z] Removing intermediate container c1947272cceb [2020-10-09T22:20:50.186Z] ---> e25c401ddccc [2020-10-09T22:20:50.186Z] Step 8/27 : WORKDIR /app [2020-10-09T22:20:50.186Z] ---> Running in d0bb278305f5 [2020-10-09T22:20:50.449Z] Removing intermediate container d0bb278305f5 [2020-10-09T22:20:50.449Z] ---> 867cb479c314 [2020-10-09T22:20:50.449Z] Step 9/27 : COPY go.mod . [2020-10-09T22:20:50.717Z] ---> 3429b27167e4 [2020-10-09T22:20:50.717Z] Step 10/27 : RUN go mod download [2020-10-09T22:20:50.717Z] ---> Running in 746900c64018 [2020-10-09T22:20:51.677Z] Removing intermediate container 746900c64018 [2020-10-09T22:20:51.677Z] ---> b9d077e4071d [2020-10-09T22:20:51.677Z] Step 11/27 : COPY . . [2020-10-09T22:20:51.941Z] ---> 4cdba6e1fb69 [2020-10-09T22:20:51.941Z] Step 12/27 : ARG MAKE="make build" [2020-10-09T22:20:51.941Z] ---> Running in ad3df23ec78d [2020-10-09T22:20:52.212Z] Removing intermediate container ad3df23ec78d [2020-10-09T22:20:52.212Z] ---> 22cc78dd30b3 [2020-10-09T22:20:52.212Z] Step 13/27 : RUN $MAKE [2020-10-09T22:20:52.212Z] ---> Running in e45281471ae2 [2020-10-09T22:20:52.797Z] 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-09T22:20:56.840Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-10-09T22:20:57.114Z] CGO_ENABLED=1 go vet ./... [2020-10-09T22:21:07.296Z] gofmt -l . [2020-10-09T22:21:07.296Z] [ "`gofmt -l .`" = "" ] [2020-10-09T22:21:07.296Z] ./bin/test-go-mod-tidy.sh [2020-10-09T22:21:07.895Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-10-09T22:21:08.896Z] Warning: overwriting stash ‘coverage-report’ [2020-10-09T22:21:09.546Z] Stashed 1 file(s) [Pipeline] } [2020-10-09T22:21:09.555Z] $ docker stop --time=1 1b3fcacf123b86f2780bad6c383eceb1eaa1d98947475f9ee891a83bb89b8ccf [2020-10-09T22:21:11.066Z] Removing intermediate container e45281471ae2 [2020-10-09T22:21:11.066Z] ---> f8f25b5c367a [2020-10-09T22:21:11.066Z] Step 14/27 : FROM alpine:latest [2020-10-09T22:21:11.066Z] latest: Pulling from library/alpine [2020-10-09T22:21:11.066Z] df20fa9351a1: Already exists [2020-10-09T22:21:11.066Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-10-09T22:21:11.066Z] Status: Downloaded newer image for alpine:latest [2020-10-09T22:21:11.066Z] ---> a24bb4013296 [2020-10-09T22:21:11.066Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-09T22:21:11.066Z] ---> Running in 7e732fd11f91 [2020-10-09T22:21:11.066Z] Removing intermediate container 7e732fd11f91 [2020-10-09T22:21:11.066Z] ---> 2d67370c789e [2020-10-09T22:21:11.066Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2020-10-09T22:21:11.066Z] ---> Running in d9232d332987 [2020-10-09T22:21:11.066Z] Removing intermediate container d9232d332987 [2020-10-09T22:21:11.066Z] ---> ee3605858099 [2020-10-09T22:21:11.066Z] Step 17/27 : RUN apk --no-cache add ca-certificates zeromq [2020-10-09T22:21:11.066Z] ---> Running in 4827b45c996f [2020-10-09T22:21:11.066Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-09T22:21:11.066Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-09T22:21:11.066Z] (1/6) Installing ca-certificates (20191127-r4) [2020-10-09T22:21:11.066Z] (2/6) Installing libgcc (9.3.0-r2) [2020-10-09T22:21:11.066Z] (3/6) Installing libsodium (1.0.18-r0) [2020-10-09T22:21:11.066Z] (4/6) Installing libstdc++ (9.3.0-r2) [2020-10-09T22:21:11.336Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-09T22:21:11.336Z] (6/6) Installing zeromq (4.3.3-r0) [2020-10-09T22:21:11.336Z] Executing busybox-1.31.1-r16.trigger [2020-10-09T22:21:11.336Z] Executing ca-certificates-20191127-r4.trigger [2020-10-09T22:21:11.336Z] OK: 9 MiB in 20 packages [2020-10-09T22:21:11.770Z] $ docker rm -f 1b3fcacf123b86f2780bad6c383eceb1eaa1d98947475f9ee891a83bb89b8ccf [2020-10-09T22:21:12.284Z] Removing intermediate container 4827b45c996f [2020-10-09T22:21:12.284Z] ---> b2b8ae989350 [2020-10-09T22:21:12.284Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2020-10-09T22:21:12.550Z] ---> 48130862f106 [2020-10-09T22:21:12.550Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-09T22:21:12.812Z] ---> e272f09bf278 [2020-10-09T22:21:12.813Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2020-10-09T22:21:13.075Z] ---> 2e7f54e03d5c [2020-10-09T22:21:13.075Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2020-10-09T22:21:13.076Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-09T22:21:13.412Z] + ls -al . [2020-10-09T22:21:13.413Z] total 120 [2020-10-09T22:21:13.413Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 9 22:21 . [2020-10-09T22:21:13.413Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 9 22:18 .. [2020-10-09T22:21:13.413Z] -rw-rw-r-- 1 jenkins jenkins 119 Oct 9 22:18 .dockerignore [2020-10-09T22:21:13.413Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 9 22:18 .git [2020-10-09T22:21:13.413Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 9 22:18 .github [2020-10-09T22:21:13.413Z] -rw-rw-r-- 1 jenkins jenkins 93 Oct 9 22:18 .gitignore [2020-10-09T22:21:13.413Z] -rw-rw-r-- 1 jenkins jenkins 6568 Oct 9 22:18 Attribution.txt [2020-10-09T22:21:13.413Z] -rw-rw-r-- 1 jenkins jenkins 2002 Oct 9 22:18 Dockerfile [2020-10-09T22:21:13.413Z] -rw-rw-r-- 1 jenkins jenkins 966 Oct 9 22:18 Dockerfile.build [2020-10-09T22:21:13.413Z] -rw-rw-r-- 1 jenkins jenkins 766 Oct 9 22:18 Jenkinsfile [2020-10-09T22:21:13.413Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 9 22:18 LICENSE [2020-10-09T22:21:13.413Z] -rw-rw-r-- 1 jenkins jenkins 1277 Oct 9 22:18 README.md [2020-10-09T22:21:13.413Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 9 22:16 VERSION [2020-10-09T22:21:13.413Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 9 22:18 bin [2020-10-09T22:21:13.413Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 9 22:20 coverage.out [2020-10-09T22:21:13.413Z] -rw-rw-r-- 1 jenkins jenkins 180 Oct 9 22:18 docker-compose.debug.yml [2020-10-09T22:21:13.413Z] -rw-rw-r-- 1 jenkins jenkins 133 Oct 9 22:18 docker-compose.yml [2020-10-09T22:21:13.413Z] -rw-r--r-- 1 jenkins jenkins 133 Oct 9 22:21 go.mod [2020-10-09T22:21:13.413Z] -rw-r--r-- 1 jenkins jenkins 19640 Oct 9 22:21 go.sum [2020-10-09T22:21:13.413Z] -rw-rw-r-- 1 jenkins jenkins 1519 Oct 9 22:18 main.go [2020-10-09T22:21:13.413Z] -rw-rw-r-- 1 jenkins jenkins 1573 Oct 9 22:18 makefile [2020-10-09T22:21:13.413Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 9 22:18 res [2020-10-09T22:21:13.413Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 9 22:18 snap [Pipeline] isUnix [Pipeline] sh [2020-10-09T22:21:13.755Z] + 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-09T22:21:13.755Z] Sending build context to Docker daemon 116.2kB [2020-10-09T22:21:14.026Z] ---> 5c5d68bde5f4 [2020-10-09T22:21:14.026Z] Step 22/27 : EXPOSE 48095 [2020-10-09T22:21:14.026Z] ---> Running in 693d41707028 [2020-10-09T22:21:14.026Z] Removing intermediate container 693d41707028 [2020-10-09T22:21:14.026Z] ---> 46f6f8cd9040 [2020-10-09T22:21:14.026Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2020-10-09T22:21:14.026Z] ---> Running in a2d193e084ec [2020-10-09T22:21:14.029Z] Step 1/27 : ARG BASE=golang:1.15-alpine [2020-10-09T22:21:14.029Z] Step 2/27 : FROM ${BASE} AS builder [2020-10-09T22:21:14.029Z] ---> 719cb6599323 [2020-10-09T22:21:14.029Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2020-10-09T22:21:14.294Z] Removing intermediate container a2d193e084ec [2020-10-09T22:21:14.294Z] ---> f9eaa14f39a8 [2020-10-09T22:21:14.294Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-09T22:21:14.294Z] ---> Running in 5329aea4a66c [2020-10-09T22:21:14.303Z] ---> Running in af6b1a564904 [2020-10-09T22:21:14.558Z] Removing intermediate container 5329aea4a66c [2020-10-09T22:21:14.558Z] ---> aa74028221ac [2020-10-09T22:21:14.558Z] Step 25/27 : LABEL arch=amd64 [2020-10-09T22:21:14.558Z] ---> Running in 88895c547ade [2020-10-09T22:21:14.558Z] Removing intermediate container 88895c547ade [2020-10-09T22:21:14.558Z] ---> 71df803435ee [2020-10-09T22:21:14.558Z] Step 26/27 : LABEL git_sha=875f7634c9e73d2f964494396a4c8bf4cc82f848 [2020-10-09T22:21:14.575Z] Removing intermediate container af6b1a564904 [2020-10-09T22:21:14.575Z] ---> 2e8c91a079e5 [2020-10-09T22:21:14.575Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2020-10-09T22:21:14.820Z] ---> Running in e17f9a023be6 [2020-10-09T22:21:14.820Z] Removing intermediate container e17f9a023be6 [2020-10-09T22:21:14.820Z] ---> 4a70f4271d97 [2020-10-09T22:21:14.820Z] Step 27/27 : LABEL version=0.0.0 [2020-10-09T22:21:14.820Z] ---> Running in 1280e1380c5a [2020-10-09T22:21:14.849Z] ---> Running in 90e4fb75aa9a [2020-10-09T22:21:15.083Z] Removing intermediate container 1280e1380c5a [2020-10-09T22:21:15.083Z] ---> 7a4da6c7314d [2020-10-09T22:21:15.083Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-09T22:21:15.083Z] Successfully built 7a4da6c7314d [2020-10-09T22:21:15.083Z] Successfully tagged docker-app-service-configurable:latest [Pipeline] } [2020-10-09T22:21:15.122Z] Removing intermediate container 90e4fb75aa9a [2020-10-09T22:21:15.122Z] ---> 9f900f433e79 [2020-10-09T22:21:15.122Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2020-10-09T22:21:15.396Z] ---> Running in 1b730369ff9b [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node [2020-10-09T22:21:15.669Z] Removing intermediate container 1b730369ff9b [2020-10-09T22:21:15.669Z] ---> 354ae1cafb93 [2020-10-09T22:21:15.669Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-09T22:21:15.944Z] ---> Running in f42043bfe60a [2020-10-09T22:21:18.570Z] Removing intermediate container f42043bfe60a [2020-10-09T22:21:18.570Z] ---> 374f47097d7d [2020-10-09T22:21:18.570Z] Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-09T22:21:18.570Z] ---> Running in db37fa5ff4d0 [2020-10-09T22:21:19.999Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-09T22:21:20.594Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-09T22:21:21.190Z] OK: 144 MiB in 45 packages [2020-10-09T22:21:22.172Z] Removing intermediate container db37fa5ff4d0 [2020-10-09T22:21:22.172Z] ---> bf1d9d9d341e [2020-10-09T22:21:22.172Z] Step 8/27 : WORKDIR /app [2020-10-09T22:21:22.172Z] ---> Running in e55fef865285 [2020-10-09T22:21:22.776Z] Removing intermediate container e55fef865285 [2020-10-09T22:21:22.776Z] ---> c65274e7ad59 [2020-10-09T22:21:22.776Z] Step 9/27 : COPY go.mod . [2020-10-09T22:21:23.372Z] ---> a15db6effd7b [2020-10-09T22:21:23.372Z] Step 10/27 : RUN go mod download [2020-10-09T22:21:23.646Z] ---> Running in 100331cb344f [2020-10-09T22:21:26.264Z] Removing intermediate container 100331cb344f [2020-10-09T22:21:26.264Z] ---> 2a8d8da5279a [2020-10-09T22:21:26.264Z] Step 11/27 : COPY . . [2020-10-09T22:21:27.241Z] ---> 8869f5cc5578 [2020-10-09T22:21:27.241Z] Step 12/27 : ARG MAKE="make build" [2020-10-09T22:21:27.241Z] ---> Running in c680f78f2f8d [2020-10-09T22:21:27.514Z] Removing intermediate container c680f78f2f8d [2020-10-09T22:21:27.514Z] ---> 898ccc5cd487 [2020-10-09T22:21:27.514Z] Step 13/27 : RUN $MAKE [2020-10-09T22:21:27.788Z] ---> Running in d2d46392b217 [2020-10-09T22:21:29.224Z] 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-09T22:21:30.575Z] Still waiting to schedule task [2020-10-09T22:21:30.575Z] All nodes of label ‘ubuntu18.04-docker-8c-8g’ are offline [2020-10-09T22:22:16.262Z] Removing intermediate container d2d46392b217 [2020-10-09T22:22:16.262Z] ---> 62ca74a96528 [2020-10-09T22:22:16.262Z] Step 14/27 : FROM alpine:latest [2020-10-09T22:22:16.262Z] latest: Pulling from library/alpine [2020-10-09T22:22:16.262Z] b538f80385f9: Already exists [2020-10-09T22:22:16.262Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-10-09T22:22:16.262Z] Status: Downloaded newer image for alpine:latest [2020-10-09T22:22:16.262Z] ---> 62ee0e9f8440 [2020-10-09T22:22:16.262Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-09T22:22:16.262Z] ---> Running in 3e388d2a75f2 [2020-10-09T22:22:16.262Z] Removing intermediate container 3e388d2a75f2 [2020-10-09T22:22:16.262Z] ---> 5c3422604513 [2020-10-09T22:22:16.262Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2020-10-09T22:22:16.535Z] ---> Running in c3aaf76dca32 [2020-10-09T22:22:16.823Z] Removing intermediate container c3aaf76dca32 [2020-10-09T22:22:16.823Z] ---> 91a384ff0a63 [2020-10-09T22:22:16.823Z] Step 17/27 : RUN apk --no-cache add ca-certificates zeromq [2020-10-09T22:22:16.823Z] ---> Running in a6bda572bb0e [2020-10-09T22:22:18.267Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-09T22:22:18.538Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-09T22:22:19.134Z] (1/6) Installing ca-certificates (20191127-r4) [2020-10-09T22:22:19.134Z] (2/6) Installing libgcc (9.3.0-r2) [2020-10-09T22:22:19.134Z] (3/6) Installing libsodium (1.0.18-r0) [2020-10-09T22:22:19.416Z] (4/6) Installing libstdc++ (9.3.0-r2) [2020-10-09T22:22:19.416Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-09T22:22:19.416Z] (6/6) Installing zeromq (4.3.3-r0) [2020-10-09T22:22:19.416Z] Executing busybox-1.31.1-r16.trigger [2020-10-09T22:22:19.416Z] Executing ca-certificates-20191127-r4.trigger [2020-10-09T22:22:19.416Z] OK: 9 MiB in 20 packages [2020-10-09T22:22:21.396Z] Removing intermediate container a6bda572bb0e [2020-10-09T22:22:21.396Z] ---> acae8a81e314 [2020-10-09T22:22:21.396Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2020-10-09T22:22:21.994Z] ---> 7382c4b8e13e [2020-10-09T22:22:21.994Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2020-10-09T22:22:22.594Z] ---> e43c66173d24 [2020-10-09T22:22:22.594Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2020-10-09T22:22:23.588Z] ---> ddd981359540 [2020-10-09T22:22:23.588Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2020-10-09T22:22:25.045Z] ---> 0cd71817c237 [2020-10-09T22:22:25.045Z] Step 22/27 : EXPOSE 48095 [2020-10-09T22:22:25.045Z] ---> Running in 872fe6adcb60 [2020-10-09T22:22:25.381Z] Running on prd-ubuntu18.04-docker-8c-8g-4434 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-09T22:22:25.489Z] Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout [2020-10-09T22:22:25.640Z] Removing intermediate container 872fe6adcb60 [2020-10-09T22:22:25.640Z] ---> 7b3596836261 [2020-10-09T22:22:25.640Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2020-10-09T22:22:25.640Z] ---> Running in 61876902f01d [2020-10-09T22:22:25.911Z] Removing intermediate container 61876902f01d [2020-10-09T22:22:25.911Z] ---> 14ea56f48759 [2020-10-09T22:22:25.911Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-09T22:22:26.191Z] ---> Running in c0b8942068ec [2020-10-09T22:22:26.534Z] Removing intermediate container c0b8942068ec [2020-10-09T22:22:26.534Z] ---> 364898d351b6 [2020-10-09T22:22:26.534Z] Step 25/27 : LABEL arch=arm64 [2020-10-09T22:22:26.811Z] ---> Running in 4b35673222e7 [2020-10-09T22:22:27.084Z] Removing intermediate container 4b35673222e7 [2020-10-09T22:22:27.084Z] ---> 178a72bdd6f5 [2020-10-09T22:22:27.084Z] Step 26/27 : LABEL git_sha=875f7634c9e73d2f964494396a4c8bf4cc82f848 [2020-10-09T22:22:27.366Z] ---> Running in 39140a4cc3ef [2020-10-09T22:22:27.644Z] Removing intermediate container 39140a4cc3ef [2020-10-09T22:22:27.644Z] ---> 6b65adfcd646 [2020-10-09T22:22:27.644Z] Step 27/27 : LABEL version=0.0.0 [2020-10-09T22:22:27.760Z] using credential edgex-jenkins-ssh [2020-10-09T22:22:27.821Z] Cloning the remote Git repository [2020-10-09T22:22:27.920Z] ---> Running in 2115c7a127f0 [2020-10-09T22:22:27.229Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T22:22:27.290Z] > git init /w/workspace/app-service-configurable/2 # timeout=10 [2020-10-09T22:22:27.322Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T22:22:27.322Z] > git --version # timeout=10 [2020-10-09T22:22:28.191Z] Removing intermediate container 2115c7a127f0 [2020-10-09T22:22:28.191Z] ---> ed69eedf3b35 [2020-10-09T22:22:28.191Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-09T22:22:28.191Z] Successfully built ed69eedf3b35 [2020-10-09T22:22:28.191Z] 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-09T22:22:29.002Z] Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit 875f7634c9e73d2f964494396a4c8bf4cc82f848 [2020-10-09T22:22:27.334Z] > git --version # 'git version 2.17.1' [2020-10-09T22:22:27.334Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T22:22:27.360Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-09T22:22:27.907Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-09T22:22:27.911Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-09T22:22:27.920Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-09T22:22:27.931Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T22:22:27.931Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T22:22:27.935Z] > 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-09T22:22:28.395Z] > git config core.sparsecheckout # timeout=10 [2020-10-09T22:22:28.403Z] > git checkout -f 875f7634c9e73d2f964494396a4c8bf4cc82f848 # timeout=10 [2020-10-09T22:22:29.080Z] Merge succeeded, producing 875f7634c9e73d2f964494396a4c8bf4cc82f848 [2020-10-09T22:22:29.080Z] Checking out Revision 875f7634c9e73d2f964494396a4c8bf4cc82f848 (PR-124) [2020-10-09T22:22:28.430Z] > git remote # timeout=10 [2020-10-09T22:22:28.436Z] > git config --get remote.origin.url # timeout=10 [2020-10-09T22:22:28.449Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T22:22:28.452Z] > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 [2020-10-09T22:22:28.460Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-09T22:22:28.468Z] > git config core.sparsecheckout # timeout=10 [2020-10-09T22:22:28.472Z] > git checkout -f 875f7634c9e73d2f964494396a4c8bf4cc82f848 # timeout=10 [2020-10-09T22:22:32.770Z] Commit message: "ci: testing new native snap build" [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-10-09T22:22:33.984Z] + echo snap-build.sh [2020-10-09T22:22:33.984Z] snap-build.sh [2020-10-09T22:22:33.984Z] + SNAP_BASE_DIR=. [2020-10-09T22:22:33.984Z] + '[' '!' -z /w/workspace/app-service-configurable/2 ']' [2020-10-09T22:22:33.984Z] + SNAP_BASE_DIR=/w/workspace/app-service-configurable/2 [2020-10-09T22:22:33.984Z] + echo '[snap-build] Building snap in dir [/w/workspace/app-service-configurable/2]' [2020-10-09T22:22:33.984Z] [snap-build] Building snap in dir [/w/workspace/app-service-configurable/2] [2020-10-09T22:22:33.984Z] + cd /w/workspace/app-service-configurable/2 [2020-10-09T22:22:33.984Z] + snap install lxd [2020-10-09T22:22:33.984Z] 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-09T22:22:35.096Z] Failed in branch amd64 [2020-10-09T22:22:43.809Z] Still waiting to schedule task [2020-10-09T22:22:43.809Z] All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline [2020-10-09T22:24:26.025Z] Running on prd-ubuntu18.04-docker-arm64-16c-16g-4435 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-09T22:24:26.153Z] Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout [2020-10-09T22:24:30.084Z] using credential edgex-jenkins-ssh [2020-10-09T22:24:30.193Z] Cloning the remote Git repository [2020-10-09T22:24:30.244Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T22:24:30.341Z] > git init /w/workspace/app-service-configurable/2 # timeout=10 [2020-10-09T22:24:30.403Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T22:24:30.403Z] > git --version # timeout=10 [2020-10-09T22:24:30.418Z] > git --version # 'git version 2.17.1' [2020-10-09T22:24:30.419Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T22:24:30.493Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-09T22:24:31.868Z] Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit 875f7634c9e73d2f964494396a4c8bf4cc82f848 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [2020-10-09T22:24:31.212Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-09T22:24:31.227Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-09T22:24:31.247Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-09T22:24:31.279Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T22:24:31.279Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T22:24:31.290Z] > 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-09T22:24:31.893Z] > git config core.sparsecheckout # timeout=10 [2020-10-09T22:24:31.906Z] > git checkout -f 875f7634c9e73d2f964494396a4c8bf4cc82f848 # timeout=10 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-09T22:24:32.889Z] 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-09T22:24:36.102Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-09T22:24:36.675Z] ---> package-listing.sh [2020-10-09T22:24:36.675Z] ++ facter osfamily [2020-10-09T22:24:36.675Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-09T22:24:36.675Z] + OS_FAMILY=redhat [2020-10-09T22:24:36.675Z] + workspace=/w/workspace/_app-service-configurable_PR-124 [2020-10-09T22:24:36.675Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-09T22:24:36.675Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-09T22:24:36.675Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-09T22:24:36.675Z] + PACKAGES=/tmp/packages_start.txt [2020-10-09T22:24:36.675Z] + '[' /w/workspace/_app-service-configurable_PR-124 ']' [2020-10-09T22:24:36.675Z] + PACKAGES=/tmp/packages_end.txt [2020-10-09T22:24:36.675Z] + case "${OS_FAMILY}" in [2020-10-09T22:24:36.675Z] + rpm -qa [2020-10-09T22:24:36.675Z] + sort [2020-10-09T22:24:40.902Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-09T22:24:40.902Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-09T22:24:40.902Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-09T22:24:40.902Z] + '[' /w/workspace/_app-service-configurable_PR-124 ']' [2020-10-09T22:24:40.902Z] + mkdir -p /w/workspace/_app-service-configurable_PR-124/archives/ [2020-10-09T22:24:40.902Z] + 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-09T22:24:40.917Z] 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-09T22:24:41.223Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-09T22:24:41.533Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-09T22:24:41.533Z] [2020-10-09T22:24:41.533Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-09T22:24:41.880Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-09T22:24:41.880Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-09T22:24:41.880Z] df20fa9351a1: Pulling fs layer [2020-10-09T22:24:41.880Z] 36b3adc4ff6f: Pulling fs layer [2020-10-09T22:24:41.880Z] 8ad3a11d3b57: Pulling fs layer [2020-10-09T22:24:41.880Z] 46f8f816bc3b: Pulling fs layer [2020-10-09T22:24:41.880Z] 93b61091891f: Pulling fs layer [2020-10-09T22:24:41.880Z] 93b9cdb0e59b: Pulling fs layer [2020-10-09T22:24:41.880Z] 5e14af77c1be: Pulling fs layer [2020-10-09T22:24:41.880Z] 01666e4c0597: Pulling fs layer [2020-10-09T22:24:41.880Z] aa168da1d23b: Pulling fs layer [2020-10-09T22:24:41.880Z] 93b9cdb0e59b: Waiting [2020-10-09T22:24:41.880Z] 01666e4c0597: Waiting [2020-10-09T22:24:41.880Z] 5e14af77c1be: Waiting [2020-10-09T22:24:41.880Z] aa168da1d23b: Waiting [2020-10-09T22:24:41.880Z] 46f8f816bc3b: Waiting [2020-10-09T22:24:41.880Z] 93b61091891f: Waiting [2020-10-09T22:24:41.880Z] 36b3adc4ff6f: Verifying Checksum [2020-10-09T22:24:41.880Z] 36b3adc4ff6f: Download complete [2020-10-09T22:24:41.880Z] 46f8f816bc3b: Verifying Checksum [2020-10-09T22:24:41.880Z] 46f8f816bc3b: Download complete [2020-10-09T22:24:42.150Z] df20fa9351a1: Verifying Checksum [2020-10-09T22:24:42.150Z] df20fa9351a1: Download complete [2020-10-09T22:24:42.150Z] 93b61091891f: Verifying Checksum [2020-10-09T22:24:42.150Z] 93b61091891f: Download complete [2020-10-09T22:24:42.150Z] 93b9cdb0e59b: Verifying Checksum [2020-10-09T22:24:42.150Z] 93b9cdb0e59b: Download complete [2020-10-09T22:24:42.150Z] 01666e4c0597: Verifying Checksum [2020-10-09T22:24:42.150Z] 01666e4c0597: Download complete [2020-10-09T22:24:42.150Z] 5e14af77c1be: Verifying Checksum [2020-10-09T22:24:42.150Z] 5e14af77c1be: Download complete [2020-10-09T22:24:42.412Z] df20fa9351a1: Pull complete [2020-10-09T22:24:42.412Z] 36b3adc4ff6f: Pull complete [2020-10-09T22:24:42.675Z] 8ad3a11d3b57: Download complete [2020-10-09T22:24:43.252Z] 8ad3a11d3b57: Pull complete [2020-10-09T22:24:43.518Z] 46f8f816bc3b: Pull complete [2020-10-09T22:24:44.105Z] 93b61091891f: Pull complete [2020-10-09T22:24:44.105Z] aa168da1d23b: Verifying Checksum [2020-10-09T22:24:44.105Z] 93b9cdb0e59b: Pull complete [2020-10-09T22:24:44.373Z] 5e14af77c1be: Pull complete [2020-10-09T22:24:44.373Z] 01666e4c0597: Pull complete [2020-10-09T22:24:51.055Z] aa168da1d23b: Pull complete [2020-10-09T22:24:51.055Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-09T22:24:51.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-09T22:24:51.055Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-09T22:24:51.199Z] prd-centos7-docker-4c-2g-4430 does not seem to be running inside a container [2020-10-09T22:24:51.250Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-124/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-124 -v /w/workspace/_app-service-configurable_PR-124:/w/workspace/_app-service-configurable_PR-124:rw,z -v /w/workspace/_app-service-configurable_PR-124@tmp:/w/workspace/_app-service-configurable_PR-124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-09T22:24:58.653Z] $ docker top 9cbf27acc9912f60f4e195f79af357581da66cfb4d7dffea710657fcc67ed40c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-09T22:24:59.763Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-09T22:25:00.068Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-09T22:25:00.374Z] + ls /var/log/sa-host [2020-10-09T22:25:00.374Z] + sadf -c /var/log/sa-host/sa05 [2020-10-09T22:25:00.374Z] file_magic: OK [2020-10-09T22:25:00.374Z] HZ: Using current value: 100 [2020-10-09T22:25:00.374Z] file_header: OK [2020-10-09T22:25:00.374Z] 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-09T22:25:00.374Z] Statistics: [2020-10-09T22:25:00.374Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-09T22:25:00.374Z] File successfully converted to sysstat format version 12.2.1 [2020-10-09T22:25:00.374Z] + sadf -c /var/log/sa-host/sa09 [2020-10-09T22:25:00.374Z] file_magic: OK [2020-10-09T22:25:00.374Z] HZ: Using current value: 100 [2020-10-09T22:25:00.374Z] file_header: OK [2020-10-09T22:25:00.374Z] 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-09T22:25:00.374Z] Statistics: [2020-10-09T22:25:00.374Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-09T22:25:00.374Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-09T22:25:00.617Z] provisioning config files... [2020-10-09T22:25:00.643Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-124@tmp/config4770121563104083077tmp [Pipeline] { [Pipeline] echo [2020-10-09T22:25:00.722Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-09T22:25:01.020Z] ---> create-netrc.sh [Pipeline] } [2020-10-09T22:25:01.031Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-09T22:25:01.135Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-09T22:25:01.442Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-09T22:25:01.453Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-09T22:25:01.756Z] ---> sudo-logs.sh [2020-10-09T22:25:01.756Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-09T22:25:01.770Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-09T22:25:02.099Z] ---> job-cost.sh [2020-10-09T22:25:02.099Z] lf-activate-venv: SKIPPING [2020-10-09T22:25:02.099Z] INFO: No Stack... [2020-10-09T22:25:03.048Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-09T22:25:03.311Z] INFO: Archiving Costs [Pipeline] echo [2020-10-09T22:25:03.324Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-09T22:25:03.623Z] ---> logs-deploy.sh [2020-10-09T22:25:03.623Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-124/2 [2020-10-09T22:25:03.623Z] INFO: archiving workspace using pattern(s): [2020-10-09T22:25:05.549Z] Archives upload complete. [2020-10-09T22:25:05.549Z] INFO: archiving logs to Nexus