Pull request #124 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/app-service-configurable Obtained Jenkinsfile from eb95a8810dbf10c9fd4fedba36a0f72971cb7199+b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 (687dfcda90690653e63a5c5f3595ad2cd2e1f9b7) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@b563489c51c9371daa340b5f9eeea531cdc8566f Attempting to resolve b563489c51c9371daa340b5f9eeea531cdc8566f 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 b563489c51c9371daa340b5f9eeea531cdc8566f 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 b563489c51c9371daa340b5f9eeea531cdc8566f^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains b563489c51c9371daa340b5f9eeea531cdc8566f # timeout=10 Selected match: pr/264/merge revision b563489c51c9371daa340b5f9eeea531cdc8566f 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 b563489c51c9371daa340b5f9eeea531cdc8566f (pr/264/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f b563489c51c9371daa340b5f9eeea531cdc8566f # timeout=10 Commit message: "feat(snap): Use new native build script" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4441 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-124 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit eb95a8810dbf10c9fd4fedba36a0f72971cb7199 Merge succeeded, producing eb95a8810dbf10c9fd4fedba36a0f72971cb7199 Checking out Revision eb95a8810dbf10c9fd4fedba36a0f72971cb7199 (PR-124) > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb95a8810dbf10c9fd4fedba36a0f72971cb7199 # 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 eb95a8810dbf10c9fd4fedba36a0f72971cb7199 # timeout=10 Commit message: "ci: testing new native snap build" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 875f7634c9e73d2f964494396a4c8bf4cc82f848 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-09T22:32:53.839Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-09T22:32:54.160Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-09T22:32:54.290Z] ========================================================= [2020-10-09T22:32:54.290Z] EdgeX Global Pipelines Version Info [2020-10-09T22:32:54.290Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-09T22:32:55.764Z] ------------------- [2020-10-09T22:32:55.764Z] stable info: [2020-10-09T22:32:55.764Z] ------------------- [2020-10-09T22:32:55.764Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-09T22:32:55.764Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-09T22:32:55.764Z] Message: update stable to v1.0.131 [2020-10-09T22:32:56.723Z] ------------------- [2020-10-09T22:32:56.723Z] experimental info: [2020-10-09T22:32:56.723Z] ------------------- [2020-10-09T22:32:56.723Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-09T22:32:56.723Z] Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a [2020-10-09T22:32:56.723Z] Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-09T22:32:57.101Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2020-10-09T22:32:57.197Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2020-10-09T22:32:57.350Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-09T22:32:57.447Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-09T22:32:57.547Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-09T22:32:57.709Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-09T22:32:57.817Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-09T22:32:57.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-09T22:32:58.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-10-09T22:32:58.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-09T22:32:58.206Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-09T22:32:58.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-service-configurable [Pipeline] echo [2020-10-09T22:32:58.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-09T22:32:58.531Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-09T22:32:58.622Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-09T22:32:58.710Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-10-09T22:32:58.855Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-09T22:32:58.943Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-09T22:32:59.036Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-09T22:32:59.123Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-10-09T22:32:59.222Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-09T22:32:59.309Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-09T22:32:59.432Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-09T22:32:59.521Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-09T22:32:59.602Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-09T22:32:59.741Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-124 [Pipeline] echo [2020-10-09T22:32:59.832Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-124 [Pipeline] echo [2020-10-09T22:32:59.919Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-124 [Pipeline] echo [2020-10-09T22:33:00.030Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb95a8810dbf10c9fd4fedba36a0f72971cb7199 [Pipeline] echo [2020-10-09T22:33:00.185Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb95a88 [Pipeline] echo [2020-10-09T22:33:00.276Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-09T22:33:01.003Z] + git log --format=format:%s -1 eb95a8810dbf10c9fd4fedba36a0f72971cb7199 [Pipeline] echo [2020-10-09T22:33:01.064Z] GIT_COMMIT: eb95a8810dbf10c9fd4fedba36a0f72971cb7199, Commit Message: ci: testing new native snap build [Pipeline] echo [2020-10-09T22:33:01.107Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-09T22:33:01.707Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-09T22:33:01.707Z] [2020-10-09T22:33:01.707Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-09T22:33:02.075Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-09T22:33:02.075Z] latest: Pulling from edgex-devops/git-semver [2020-10-09T22:33:02.075Z] 31603596830f: Pulling fs layer [2020-10-09T22:33:02.075Z] 2a8b12db71e7: Pulling fs layer [2020-10-09T22:33:02.075Z] 6ca5941a6612: Pulling fs layer [2020-10-09T22:33:02.076Z] ecc8261a40a4: Pulling fs layer [2020-10-09T22:33:02.076Z] ecc8261a40a4: Waiting [2020-10-09T22:33:02.076Z] 2a8b12db71e7: Verifying Checksum [2020-10-09T22:33:02.076Z] 2a8b12db71e7: Download complete [2020-10-09T22:33:02.341Z] 31603596830f: Download complete [2020-10-09T22:33:02.341Z] ecc8261a40a4: Verifying Checksum [2020-10-09T22:33:02.341Z] ecc8261a40a4: Download complete [2020-10-09T22:33:02.341Z] 6ca5941a6612: Verifying Checksum [2020-10-09T22:33:02.341Z] 6ca5941a6612: Download complete [2020-10-09T22:33:02.608Z] 31603596830f: Pull complete [2020-10-09T22:33:02.608Z] 2a8b12db71e7: Pull complete [2020-10-09T22:33:03.560Z] 6ca5941a6612: Pull complete [2020-10-09T22:33:03.560Z] ecc8261a40a4: Pull complete [2020-10-09T22:33:03.827Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-09T22:33:03.827Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-09T22:33:03.827Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-09T22:33:03.948Z] prd-centos7-docker-4c-2g-4441 does not seem to be running inside a container [2020-10-09T22:33:04.003Z] $ 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-09T22:33:06.149Z] $ docker top 0b671ede0f3519a18795894d9a5223b98bd1e398b7b224015f6110cc1f891e41 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-09T22:33:06.487Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-09T22:33:06.487Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-09T22:33:06.707Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-09T22:33:06.713Z] $ docker exec 0b671ede0f3519a18795894d9a5223b98bd1e398b7b224015f6110cc1f891e41 ssh-agent [2020-10-09T22:33:06.877Z] SSH_AUTH_SOCK=/tmp/ssh-q824NmX7V0vB/agent.12 [2020-10-09T22:33:06.878Z] SSH_AGENT_PID=18 [2020-10-09T22:33:06.891Z] Running ssh-add (command line suppressed) [2020-10-09T22:33:07.013Z] Identity added: /w/workspace/_app-service-configurable_PR-124@tmp/private_key_1159285078040532753.key (/w/workspace/_app-service-configurable_PR-124@tmp/private_key_1159285078040532753.key) [2020-10-09T22:33:07.067Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-09T22:33:07.417Z] + git tag --points-at HEAD [Pipeline] } [2020-10-09T22:33:07.442Z] $ docker exec --env ******** --env ******** 0b671ede0f3519a18795894d9a5223b98bd1e398b7b224015f6110cc1f891e41 ssh-agent -k [2020-10-09T22:33:07.566Z] unset SSH_AUTH_SOCK; [2020-10-09T22:33:07.567Z] unset SSH_AGENT_PID; [2020-10-09T22:33:07.567Z] echo Agent pid 18 killed; [2020-10-09T22:33:07.609Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-09T22:33:07.786Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-09T22:33:07.786Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-09T22:33:07.973Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-09T22:33:07.978Z] $ docker exec 0b671ede0f3519a18795894d9a5223b98bd1e398b7b224015f6110cc1f891e41 ssh-agent [2020-10-09T22:33:08.167Z] SSH_AUTH_SOCK=/tmp/ssh-PbVVjpyBeaMB/agent.47 [2020-10-09T22:33:08.167Z] SSH_AGENT_PID=52 [2020-10-09T22:33:08.175Z] Running ssh-add (command line suppressed) [2020-10-09T22:33:08.311Z] Identity added: /w/workspace/_app-service-configurable_PR-124@tmp/private_key_5765233431554163418.key (/w/workspace/_app-service-configurable_PR-124@tmp/private_key_5765233431554163418.key) [2020-10-09T22:33:08.362Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-09T22:33:08.702Z] + git semver init [2020-10-09T22:33:08.702Z] # -> Open(): unable to determine branch for HEAD [2020-10-09T22:33:08.702Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-124/.git [2020-10-09T22:33:08.702Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-124 [2020-10-09T22:33:08.702Z] # $SEMVER_REMOTE_NAME = origin [2020-10-09T22:33:08.702Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-09T22:33:08.702Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-09T22:33:08.702Z] # $SEMVER_BRANCH = PR-124 [2020-10-09T22:33:08.702Z] # $SEMVER_TEMP = /tmp/semver-805214459 [2020-10-09T22:33:08.702Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2020-10-09T22:33:09.277Z] # '/tmp/semver-805214459' -> '/w/workspace/_app-service-configurable_PR-124/.semver' [2020-10-09T22:33:09.277Z] # -> Force: false [2020-10-09T22:33:09.277Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-124/.semver [Pipeline] } [2020-10-09T22:33:09.307Z] $ docker exec --env ******** --env ******** 0b671ede0f3519a18795894d9a5223b98bd1e398b7b224015f6110cc1f891e41 ssh-agent -k [2020-10-09T22:33:09.477Z] unset SSH_AUTH_SOCK; [2020-10-09T22:33:09.477Z] unset SSH_AGENT_PID; [2020-10-09T22:33:09.477Z] echo Agent pid 52 killed; [2020-10-09T22:33:09.524Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-09T22:33:10.001Z] + git semver [Pipeline] } [2020-10-09T22:33:10.024Z] $ docker stop --time=1 0b671ede0f3519a18795894d9a5223b98bd1e398b7b224015f6110cc1f891e41 [2020-10-09T22:33:11.357Z] $ docker rm -f 0b671ede0f3519a18795894d9a5223b98bd1e398b7b224015f6110cc1f891e41 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-09T22:33:12.004Z] Stashed 1 file(s) [Pipeline] echo [2020-10-09T22:33:12.007Z] [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:33:27.577Z] Still waiting to schedule task [2020-10-09T22:33:27.577Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-09T22:33:27.579Z] Still waiting to schedule task [2020-10-09T22:33:27.579Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline [2020-10-09T22:35:26.397Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4442 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-09T22:35:26.515Z] Running in /w/workspace/app-service-configurable/3 [Pipeline] { [Pipeline] checkout [2020-10-09T22:35:31.709Z] using credential edgex-jenkins-ssh [2020-10-09T22:35:31.787Z] Cloning the remote Git repository [2020-10-09T22:35:31.858Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T22:35:31.972Z] > git init /w/workspace/app-service-configurable/3 # timeout=10 [2020-10-09T22:35:32.048Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T22:35:32.050Z] > git --version # timeout=10 [2020-10-09T22:35:32.071Z] > git --version # 'git version 2.17.1' [2020-10-09T22:35:32.073Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T22:35:32.129Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-09T22:35:33.591Z] Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit eb95a8810dbf10c9fd4fedba36a0f72971cb7199 [2020-10-09T22:35:33.881Z] Merge succeeded, producing eb95a8810dbf10c9fd4fedba36a0f72971cb7199 [2020-10-09T22:35:33.882Z] Checking out Revision eb95a8810dbf10c9fd4fedba36a0f72971cb7199 (PR-124) [2020-10-09T22:35:32.899Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-09T22:35:32.916Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-09T22:35:32.956Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-09T22:35:33.005Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T22:35:33.005Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T22:35:33.017Z] > 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:35:33.615Z] > git config core.sparsecheckout # timeout=10 [2020-10-09T22:35:33.640Z] > git checkout -f eb95a8810dbf10c9fd4fedba36a0f72971cb7199 # timeout=10 [2020-10-09T22:35:33.725Z] > git remote # timeout=10 [2020-10-09T22:35:33.742Z] > git config --get remote.origin.url # timeout=10 [2020-10-09T22:35:33.755Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T22:35:33.765Z] > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 [2020-10-09T22:35:33.840Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-09T22:35:33.890Z] > git config core.sparsecheckout # timeout=10 [2020-10-09T22:35:33.916Z] > git checkout -f eb95a8810dbf10c9fd4fedba36a0f72971cb7199 # timeout=10 [2020-10-09T22:35:38.196Z] 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:35:39.286Z] ========================================================= [2020-10-09T22:35:39.286Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-09T22:35:39.286Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-09T22:35:40.262Z] + 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:35:40.863Z] Sending build context to Docker daemon 93.7kB [2020-10-09T22:35:41.137Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-09T22:35:41.137Z] Step 2/8 : FROM ${BASE} [2020-10-09T22:35:41.414Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-09T22:35:41.414Z] b538f80385f9: Pulling fs layer [2020-10-09T22:35:41.414Z] 74f711af9a0d: Pulling fs layer [2020-10-09T22:35:41.414Z] 99f96fe45779: Pulling fs layer [2020-10-09T22:35:41.414Z] 8529a6b9a6be: Pulling fs layer [2020-10-09T22:35:41.414Z] 45590311c82a: Pulling fs layer [2020-10-09T22:35:41.414Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-09T22:35:41.414Z] 209524e5b208: Pulling fs layer [2020-10-09T22:35:41.414Z] 69ca0ff8b7b3: Waiting [2020-10-09T22:35:41.414Z] 8529a6b9a6be: Waiting [2020-10-09T22:35:41.414Z] 45590311c82a: Waiting [2020-10-09T22:35:41.414Z] 209524e5b208: Waiting [2020-10-09T22:35:41.414Z] 99f96fe45779: Verifying Checksum [2020-10-09T22:35:41.414Z] 99f96fe45779: Download complete [2020-10-09T22:35:41.414Z] 74f711af9a0d: Verifying Checksum [2020-10-09T22:35:41.414Z] 74f711af9a0d: Download complete [2020-10-09T22:35:41.414Z] 45590311c82a: Download complete [2020-10-09T22:35:41.414Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-09T22:35:41.414Z] 69ca0ff8b7b3: Download complete [2020-10-09T22:35:41.695Z] b538f80385f9: Verifying Checksum [2020-10-09T22:35:41.695Z] b538f80385f9: Download complete [2020-10-09T22:35:42.300Z] b538f80385f9: Pull complete [2020-10-09T22:35:42.908Z] 74f711af9a0d: Pull complete [2020-10-09T22:35:43.513Z] 99f96fe45779: Pull complete [2020-10-09T22:35:43.788Z] 209524e5b208: Verifying Checksum [2020-10-09T22:35:43.788Z] 209524e5b208: Download complete [2020-10-09T22:35:45.234Z] 8529a6b9a6be: Verifying Checksum [2020-10-09T22:35:45.234Z] 8529a6b9a6be: Download complete [2020-10-09T22:35:55.436Z] 8529a6b9a6be: Pull complete [2020-10-09T22:35:55.710Z] 45590311c82a: Pull complete [2020-10-09T22:35:56.306Z] 69ca0ff8b7b3: Pull complete [2020-10-09T22:35:56.720Z] Running on prd-centos7-docker-4c-2g-4443 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-09T22:35:56.784Z] Running in /w/workspace/app-service-configurable/3 [Pipeline] { [Pipeline] checkout [2020-10-09T22:35:59.197Z] using credential edgex-jenkins-ssh [2020-10-09T22:35:59.244Z] Cloning the remote Git repository [2020-10-09T22:35:59.275Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T22:35:59.341Z] > git init /w/workspace/app-service-configurable/3 # timeout=10 [2020-10-09T22:35:59.835Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T22:35:59.835Z] > git --version # timeout=10 [2020-10-09T22:35:59.842Z] > git --version # 'git version 2.16.5' [2020-10-09T22:35:59.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T22:35:59.883Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-09T22:36:00.644Z] 209524e5b208: Pull complete [2020-10-09T22:36:00.644Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-09T22:36:00.644Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-09T22:36:00.644Z] ---> 5bddaf1c2fca [2020-10-09T22:36:00.644Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-09T22:36:00.535Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-09T22:36:00.542Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-09T22:36:00.555Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-09T22:36:00.567Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T22:36:00.568Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T22:36:00.573Z] > 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:36:02.381Z] Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit eb95a8810dbf10c9fd4fedba36a0f72971cb7199 [2020-10-09T22:36:02.466Z] Merge succeeded, producing eb95a8810dbf10c9fd4fedba36a0f72971cb7199 [2020-10-09T22:36:02.467Z] Checking out Revision eb95a8810dbf10c9fd4fedba36a0f72971cb7199 (PR-124) [2020-10-09T22:36:02.635Z] ---> Running in 2136d93c335e [2020-10-09T22:36:02.392Z] > git config core.sparsecheckout # timeout=10 [2020-10-09T22:36:02.398Z] > git checkout -f eb95a8810dbf10c9fd4fedba36a0f72971cb7199 # timeout=10 [2020-10-09T22:36:02.431Z] > git remote # timeout=10 [2020-10-09T22:36:02.436Z] > git config --get remote.origin.url # timeout=10 [2020-10-09T22:36:02.445Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T22:36:02.450Z] > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 [2020-10-09T22:36:02.462Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-09T22:36:02.472Z] > git config core.sparsecheckout # timeout=10 [2020-10-09T22:36:02.480Z] > git checkout -f eb95a8810dbf10c9fd4fedba36a0f72971cb7199 # timeout=10 [2020-10-09T22:36:03.244Z] Removing intermediate container 2136d93c335e [2020-10-09T22:36:03.244Z] ---> 571fae8d6fb6 [2020-10-09T22:36:03.244Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-09T22:36:03.244Z] ---> Running in 635fcd9adaf0 [2020-10-09T22:36:05.882Z] Removing intermediate container 635fcd9adaf0 [2020-10-09T22:36:05.882Z] ---> 53d8a36e94cf [2020-10-09T22:36:05.882Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-10-09T22:36:06.137Z] Commit message: "ci: testing new native snap build" [2020-10-09T22:36:06.163Z] ---> Running in 64ddf85b3849 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-09T22:36:07.123Z] ========================================================= [2020-10-09T22:36:07.124Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-09T22:36:07.124Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-09T22:36:07.601Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-09T22:36:07.770Z] + 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:36:07.771Z] Sending build context to Docker daemon 93.7kB [2020-10-09T22:36:08.035Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-09T22:36:08.035Z] Step 2/8 : FROM ${BASE} [2020-10-09T22:36:08.035Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-09T22:36:08.035Z] df20fa9351a1: Pulling fs layer [2020-10-09T22:36:08.035Z] ed8968b2872e: Pulling fs layer [2020-10-09T22:36:08.035Z] a92cc7c5fd73: Pulling fs layer [2020-10-09T22:36:08.035Z] e871e8e8d7a9: Pulling fs layer [2020-10-09T22:36:08.035Z] e73272ec9a57: Pulling fs layer [2020-10-09T22:36:08.035Z] 1e910a182e73: Pulling fs layer [2020-10-09T22:36:08.035Z] 4e634b169226: Pulling fs layer [2020-10-09T22:36:08.035Z] e73272ec9a57: Waiting [2020-10-09T22:36:08.035Z] 1e910a182e73: Waiting [2020-10-09T22:36:08.035Z] 4e634b169226: Waiting [2020-10-09T22:36:08.035Z] e871e8e8d7a9: Waiting [2020-10-09T22:36:08.197Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-09T22:36:08.298Z] a92cc7c5fd73: Download complete [2020-10-09T22:36:08.298Z] ed8968b2872e: Download complete [2020-10-09T22:36:08.298Z] e73272ec9a57: Download complete [2020-10-09T22:36:08.298Z] 1e910a182e73: Verifying Checksum [2020-10-09T22:36:08.298Z] 1e910a182e73: Download complete [2020-10-09T22:36:08.298Z] df20fa9351a1: Verifying Checksum [2020-10-09T22:36:08.298Z] df20fa9351a1: Download complete [2020-10-09T22:36:08.564Z] df20fa9351a1: Pull complete [2020-10-09T22:36:08.564Z] ed8968b2872e: Pull complete [2020-10-09T22:36:08.827Z] a92cc7c5fd73: Pull complete [2020-10-09T22:36:09.177Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-10-09T22:36:09.177Z] (2/6) Installing libsodium (1.0.18-r0) [2020-10-09T22:36:09.177Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-10-09T22:36:09.450Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-10-09T22:36:09.725Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-09T22:36:09.999Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-10-09T22:36:10.235Z] 4e634b169226: Verifying Checksum [2020-10-09T22:36:10.235Z] 4e634b169226: Download complete [2020-10-09T22:36:10.596Z] Executing busybox-1.31.1-r16.trigger [2020-10-09T22:36:10.596Z] OK: 144 MiB in 45 packages [2020-10-09T22:36:10.824Z] e871e8e8d7a9: Verifying Checksum [2020-10-09T22:36:10.824Z] e871e8e8d7a9: Download complete [2020-10-09T22:36:11.582Z] Removing intermediate container 64ddf85b3849 [2020-10-09T22:36:11.582Z] ---> 7dc9cfc04db3 [2020-10-09T22:36:11.582Z] Step 6/8 : WORKDIR /app [2020-10-09T22:36:11.858Z] ---> Running in 40adff3a5ce1 [2020-10-09T22:36:12.456Z] Removing intermediate container 40adff3a5ce1 [2020-10-09T22:36:12.456Z] ---> 78d0015b4201 [2020-10-09T22:36:12.456Z] Step 7/8 : COPY . . [2020-10-09T22:36:13.062Z] ---> 05e7b63389bf [2020-10-09T22:36:13.062Z] Step 8/8 : RUN go mod download [2020-10-09T22:36:13.351Z] ---> Running in 80a8f8cb07db [2020-10-09T22:36:16.168Z] e871e8e8d7a9: Pull complete [2020-10-09T22:36:16.168Z] e73272ec9a57: Pull complete [2020-10-09T22:36:16.168Z] 1e910a182e73: Pull complete [2020-10-09T22:36:21.485Z] 4e634b169226: Pull complete [2020-10-09T22:36:21.485Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-09T22:36:21.485Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-09T22:36:21.485Z] ---> f7629b54cfaa [2020-10-09T22:36:21.485Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-09T22:36:21.485Z] ---> Running in d88be90f8619 [2020-10-09T22:36:21.485Z] Removing intermediate container d88be90f8619 [2020-10-09T22:36:21.485Z] ---> 74fef9ea91a2 [2020-10-09T22:36:21.485Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-09T22:36:21.485Z] ---> Running in a657aa63743c [2020-10-09T22:36:22.880Z] Removing intermediate container a657aa63743c [2020-10-09T22:36:22.880Z] ---> 2b51646a00b5 [2020-10-09T22:36:22.880Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-10-09T22:36:22.880Z] ---> Running in 8ff0470595c1 [2020-10-09T22:36:23.456Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-09T22:36:24.848Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-09T22:36:25.794Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-10-09T22:36:26.056Z] (2/6) Installing libsodium (1.0.18-r0) [2020-10-09T22:36:26.056Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-10-09T22:36:26.318Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-10-09T22:36:26.318Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-09T22:36:26.583Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-10-09T22:36:26.583Z] Executing busybox-1.31.1-r16.trigger [2020-10-09T22:36:26.583Z] OK: 167 MiB in 45 packages [2020-10-09T22:36:27.159Z] Removing intermediate container 8ff0470595c1 [2020-10-09T22:36:27.159Z] ---> bf3f6dfb6344 [2020-10-09T22:36:27.159Z] Step 6/8 : WORKDIR /app [2020-10-09T22:36:27.159Z] ---> Running in 5c1facb1ec70 [2020-10-09T22:36:27.422Z] Removing intermediate container 5c1facb1ec70 [2020-10-09T22:36:27.422Z] ---> a8a0490ba37a [2020-10-09T22:36:27.422Z] Step 7/8 : COPY . . [2020-10-09T22:36:27.690Z] ---> ccabd13751e4 [2020-10-09T22:36:27.690Z] Step 8/8 : RUN go mod download [2020-10-09T22:36:27.690Z] ---> Running in 6515979e744a [2020-10-09T22:36:45.709Z] Removing intermediate container 80a8f8cb07db [2020-10-09T22:36:45.709Z] ---> b3c44dc7e57d [2020-10-09T22:36:45.709Z] Successfully built b3c44dc7e57d [2020-10-09T22:36:45.709Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-09T22:36:46.152Z] + docker inspect -f . ci-base-image-arm64 [2020-10-09T22:36:46.152Z] . [Pipeline] withDockerContainer [2020-10-09T22:36:46.435Z] prd-ubuntu18.04-docker-arm64-4c-16g-4442 does not seem to be running inside a container [2020-10-09T22:36:46.527Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@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:36:48.433Z] $ docker top 64186c62fb0fd1466e05a1e805ae9800e1f19e2f4e2859d2fdc7ea765cd5cd16 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-09T22:36:49.848Z] + go version [2020-10-09T22:36:49.848Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-09T22:36:49.887Z] $ docker stop --time=1 64186c62fb0fd1466e05a1e805ae9800e1f19e2f4e2859d2fdc7ea765cd5cd16 [2020-10-09T22:36:51.841Z] $ docker rm -f 64186c62fb0fd1466e05a1e805ae9800e1f19e2f4e2859d2fdc7ea765cd5cd16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-09T22:36:52.887Z] + docker inspect -f . ci-base-image-arm64 [2020-10-09T22:36:52.888Z] . [Pipeline] withDockerContainer [2020-10-09T22:36:53.127Z] prd-ubuntu18.04-docker-arm64-4c-16g-4442 does not seem to be running inside a container [2020-10-09T22:36:53.226Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@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:36:54.335Z] Removing intermediate container 6515979e744a [2020-10-09T22:36:54.336Z] ---> 64060e8acca9 [2020-10-09T22:36:54.336Z] Successfully built 64060e8acca9 [2020-10-09T22:36:54.336Z] Successfully tagged ci-base-image-x86_64:latest [2020-10-09T22:36:55.042Z] $ docker top 385c0f0bd7d315fafd5bbfbd6f3e09dcf513d28bc58cc06e05b6cb51679232b1 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-10-09T22:36:55.820Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-09T22:36:55.820Z] . [Pipeline] withDockerContainer [2020-10-09T22:36:55.926Z] prd-centos7-docker-4c-2g-4443 does not seem to be running inside a container [2020-10-09T22:36:55.979Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-09T22:36:56.450Z] + make test [2020-10-09T22:36:56.450Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-10-09T22:36:56.761Z] $ docker top 68d7cab0b7538154ee31969a63b1f51f88a423ce3fdf4152e1df20e365d08add -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-09T22:36:57.350Z] + go version [2020-10-09T22:36:57.350Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-09T22:36:57.367Z] $ docker stop --time=1 68d7cab0b7538154ee31969a63b1f51f88a423ce3fdf4152e1df20e365d08add [2020-10-09T22:36:58.705Z] $ docker rm -f 68d7cab0b7538154ee31969a63b1f51f88a423ce3fdf4152e1df20e365d08add [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-09T22:36:59.547Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-09T22:36:59.548Z] . [Pipeline] withDockerContainer [2020-10-09T22:36:59.643Z] prd-centos7-docker-4c-2g-4443 does not seem to be running inside a container [2020-10-09T22:36:59.695Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-09T22:37:00.556Z] $ docker top 1dd8553901b758dccaf81583ff1b21648e1ac79ed818dc0a1f6f2179ccabfc62 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-09T22:37:01.044Z] + make test [2020-10-09T22:37:01.044Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-10-09T22:37:19.295Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-10-09T22:37:19.295Z] CGO_ENABLED=1 go vet ./... [2020-10-09T22:37:20.254Z] gofmt -l . [2020-10-09T22:37:20.254Z] [ "`gofmt -l .`" = "" ] [2020-10-09T22:37:20.254Z] ./bin/test-go-mod-tidy.sh [2020-10-09T22:37:20.847Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-10-09T22:37:21.841Z] Stashed 1 file(s) [Pipeline] } [2020-10-09T22:37:21.851Z] $ docker stop --time=1 1dd8553901b758dccaf81583ff1b21648e1ac79ed818dc0a1f6f2179ccabfc62 [2020-10-09T22:37:23.439Z] $ docker rm -f 1dd8553901b758dccaf81583ff1b21648e1ac79ed818dc0a1f6f2179ccabfc62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-09T22:37:27.861Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-09T22:37:28.160Z] + ls -al . [2020-10-09T22:37:28.160Z] total 96 [2020-10-09T22:37:28.160Z] drwxrwxr-x. 7 jenkins jenkins 4096 Oct 9 22:37 . [2020-10-09T22:37:28.160Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 9 22:35 .. [2020-10-09T22:37:28.160Z] -rw-rw-r--. 1 jenkins jenkins 6568 Oct 9 22:36 Attribution.txt [2020-10-09T22:37:28.160Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 9 22:36 bin [2020-10-09T22:37:28.160Z] -rw-r--r--. 1 jenkins jenkins 10 Oct 9 22:37 coverage.out [2020-10-09T22:37:28.160Z] -rw-rw-r--. 1 jenkins jenkins 180 Oct 9 22:36 docker-compose.debug.yml [2020-10-09T22:37:28.160Z] -rw-rw-r--. 1 jenkins jenkins 133 Oct 9 22:36 docker-compose.yml [2020-10-09T22:37:28.160Z] -rw-rw-r--. 1 jenkins jenkins 2002 Oct 9 22:36 Dockerfile [2020-10-09T22:37:28.160Z] -rw-rw-r--. 1 jenkins jenkins 966 Oct 9 22:36 Dockerfile.build [2020-10-09T22:37:28.160Z] -rw-rw-r--. 1 jenkins jenkins 119 Oct 9 22:36 .dockerignore [2020-10-09T22:37:28.160Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 9 22:36 .git [2020-10-09T22:37:28.160Z] drwxrwxr-x. 2 jenkins jenkins 81 Oct 9 22:36 .github [2020-10-09T22:37:28.160Z] -rw-rw-r--. 1 jenkins jenkins 93 Oct 9 22:36 .gitignore [2020-10-09T22:37:28.160Z] -rw-r--r--. 1 jenkins jenkins 133 Oct 9 22:37 go.mod [2020-10-09T22:37:28.161Z] -rw-r--r--. 1 jenkins jenkins 19640 Oct 9 22:37 go.sum [2020-10-09T22:37:28.161Z] -rw-rw-r--. 1 jenkins jenkins 766 Oct 9 22:36 Jenkinsfile [2020-10-09T22:37:28.161Z] -rw-rw-r--. 1 jenkins jenkins 10174 Oct 9 22:36 LICENSE [2020-10-09T22:37:28.161Z] -rw-rw-r--. 1 jenkins jenkins 1519 Oct 9 22:36 main.go [2020-10-09T22:37:28.161Z] -rw-rw-r--. 1 jenkins jenkins 1573 Oct 9 22:36 makefile [2020-10-09T22:37:28.161Z] -rw-rw-r--. 1 jenkins jenkins 1277 Oct 9 22:36 README.md [2020-10-09T22:37:28.161Z] drwxrwxr-x. 10 jenkins jenkins 171 Oct 9 22:36 res [2020-10-09T22:37:28.161Z] drwxrwxr-x. 4 jenkins jenkins 71 Oct 9 22:36 snap [2020-10-09T22:37:28.161Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 9 22:33 VERSION [Pipeline] isUnix [Pipeline] sh [2020-10-09T22:37:28.467Z] + 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=eb95a8810dbf10c9fd4fedba36a0f72971cb7199 --label arch=amd64 --label version=0.0.0 . [2020-10-09T22:37:28.467Z] Sending build context to Docker daemon 116.2kB [2020-10-09T22:37:28.467Z] Step 1/27 : ARG BASE=golang:1.15-alpine [2020-10-09T22:37:28.467Z] Step 2/27 : FROM ${BASE} AS builder [2020-10-09T22:37:28.467Z] ---> 64060e8acca9 [2020-10-09T22:37:28.467Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2020-10-09T22:37:28.729Z] ---> Running in 525bbf712327 [2020-10-09T22:37:28.729Z] Removing intermediate container 525bbf712327 [2020-10-09T22:37:28.729Z] ---> ee351e0f4cfa [2020-10-09T22:37:28.729Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2020-10-09T22:37:28.991Z] ---> Running in b4d382e02149 [2020-10-09T22:37:28.991Z] Removing intermediate container b4d382e02149 [2020-10-09T22:37:28.991Z] ---> dfc0a8c048a2 [2020-10-09T22:37:28.991Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-09T22:37:28.991Z] ---> Running in e1a2a308ede5 [2020-10-09T22:37:29.253Z] Removing intermediate container e1a2a308ede5 [2020-10-09T22:37:29.253Z] ---> 2b48a6f1967a [2020-10-09T22:37:29.253Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-09T22:37:29.253Z] ---> Running in 0c3381916c5a [2020-10-09T22:37:30.202Z] Removing intermediate container 0c3381916c5a [2020-10-09T22:37:30.202Z] ---> 1e56522923f1 [2020-10-09T22:37:30.202Z] Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-09T22:37:30.202Z] ---> Running in 885f59ae6367 [2020-10-09T22:37:30.778Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-09T22:37:31.725Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-09T22:37:32.674Z] OK: 167 MiB in 45 packages [2020-10-09T22:37:33.249Z] Removing intermediate container 885f59ae6367 [2020-10-09T22:37:33.249Z] ---> edbc41a92f06 [2020-10-09T22:37:33.249Z] Step 8/27 : WORKDIR /app [2020-10-09T22:37:33.249Z] ---> Running in 4bc6cc6399ff [2020-10-09T22:37:33.249Z] Removing intermediate container 4bc6cc6399ff [2020-10-09T22:37:33.249Z] ---> 6aa4ab1078d8 [2020-10-09T22:37:33.249Z] Step 9/27 : COPY go.mod . [2020-10-09T22:37:33.515Z] ---> 391c6671b3ce [2020-10-09T22:37:33.516Z] Step 10/27 : RUN go mod download [2020-10-09T22:37:33.516Z] ---> Running in b23eb6e1160f [2020-10-09T22:37:34.467Z] Removing intermediate container b23eb6e1160f [2020-10-09T22:37:34.467Z] ---> 066ec31aa589 [2020-10-09T22:37:34.467Z] Step 11/27 : COPY . . [2020-10-09T22:37:34.731Z] ---> 625a5dadfe0e [2020-10-09T22:37:34.731Z] Step 12/27 : ARG MAKE="make build" [2020-10-09T22:37:34.731Z] ---> Running in ec797f9609bd [2020-10-09T22:37:34.995Z] Removing intermediate container ec797f9609bd [2020-10-09T22:37:34.995Z] ---> a3641825d909 [2020-10-09T22:37:34.995Z] Step 13/27 : RUN $MAKE [2020-10-09T22:37:34.995Z] ---> Running in ffae0c69a0bd [2020-10-09T22:37:35.572Z] 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:37:53.059Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-10-09T22:37:53.059Z] CGO_ENABLED=1 go vet ./... [2020-10-09T22:37:53.862Z] Removing intermediate container ffae0c69a0bd [2020-10-09T22:37:53.863Z] ---> 2318eee94137 [2020-10-09T22:37:53.863Z] Step 14/27 : FROM alpine:latest [2020-10-09T22:37:53.863Z] latest: Pulling from library/alpine [2020-10-09T22:37:53.863Z] df20fa9351a1: Already exists [2020-10-09T22:37:53.863Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-10-09T22:37:53.863Z] Status: Downloaded newer image for alpine:latest [2020-10-09T22:37:53.863Z] ---> a24bb4013296 [2020-10-09T22:37:53.863Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-09T22:37:53.863Z] ---> Running in c4b276caec9a [2020-10-09T22:37:53.863Z] Removing intermediate container c4b276caec9a [2020-10-09T22:37:53.863Z] ---> 136e5a62b24a [2020-10-09T22:37:53.863Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2020-10-09T22:37:53.863Z] ---> Running in 0202734904a6 [2020-10-09T22:37:53.863Z] Removing intermediate container 0202734904a6 [2020-10-09T22:37:53.863Z] ---> 4f82af0fe23e [2020-10-09T22:37:53.863Z] Step 17/27 : RUN apk --no-cache add ca-certificates zeromq [2020-10-09T22:37:53.863Z] ---> Running in 05b0dd1f77da [2020-10-09T22:37:53.863Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-09T22:37:53.863Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-09T22:37:53.863Z] (1/6) Installing ca-certificates (20191127-r4) [2020-10-09T22:37:53.863Z] (2/6) Installing libgcc (9.3.0-r2) [2020-10-09T22:37:53.863Z] (3/6) Installing libsodium (1.0.18-r0) [2020-10-09T22:37:53.863Z] (4/6) Installing libstdc++ (9.3.0-r2) [2020-10-09T22:37:53.863Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-09T22:37:53.863Z] (6/6) Installing zeromq (4.3.3-r0) [2020-10-09T22:37:53.863Z] Executing busybox-1.31.1-r16.trigger [2020-10-09T22:37:53.863Z] Executing ca-certificates-20191127-r4.trigger [2020-10-09T22:37:53.863Z] OK: 9 MiB in 20 packages [2020-10-09T22:37:54.443Z] Removing intermediate container 05b0dd1f77da [2020-10-09T22:37:54.443Z] ---> d80fd1b0f9aa [2020-10-09T22:37:54.443Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2020-10-09T22:37:54.707Z] ---> 72219678fec2 [2020-10-09T22:37:54.707Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2020-10-09T22:37:54.970Z] ---> ca985345137f [2020-10-09T22:37:54.970Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2020-10-09T22:37:55.047Z] gofmt -l . [2020-10-09T22:37:55.048Z] [ "`gofmt -l .`" = "" ] [2020-10-09T22:37:55.048Z] ./bin/test-go-mod-tidy.sh [2020-10-09T22:37:55.235Z] ---> b15247417e9e [2020-10-09T22:37:55.235Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2020-10-09T22:37:55.320Z] ./bin/test-attribution-txt.sh [2020-10-09T22:37:55.811Z] ---> 9a360f15ade6 [2020-10-09T22:37:55.811Z] Step 22/27 : EXPOSE 48095 [2020-10-09T22:37:56.075Z] ---> Running in 09284deb3fba [2020-10-09T22:37:56.075Z] Removing intermediate container 09284deb3fba [2020-10-09T22:37:56.075Z] ---> d1965ec07c19 [2020-10-09T22:37:56.075Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2020-10-09T22:37:56.075Z] ---> Running in e107d0c25669 [Pipeline] stash [2020-10-09T22:37:56.321Z] Warning: overwriting stash ‘coverage-report’ [2020-10-09T22:37:56.340Z] Removing intermediate container e107d0c25669 [2020-10-09T22:37:56.340Z] ---> ffe40213cd5c [2020-10-09T22:37:56.340Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-09T22:37:56.340Z] ---> Running in cb753f49b278 [2020-10-09T22:37:56.601Z] Removing intermediate container cb753f49b278 [2020-10-09T22:37:56.601Z] ---> fd01ef5accf5 [2020-10-09T22:37:56.601Z] Step 25/27 : LABEL arch=amd64 [2020-10-09T22:37:56.601Z] ---> Running in 7daadd2f864f [2020-10-09T22:37:56.863Z] Removing intermediate container 7daadd2f864f [2020-10-09T22:37:56.863Z] ---> af0142fdc06d [2020-10-09T22:37:56.863Z] Step 26/27 : LABEL git_sha=eb95a8810dbf10c9fd4fedba36a0f72971cb7199 [2020-10-09T22:37:56.863Z] ---> Running in 655a512712ef [2020-10-09T22:37:56.967Z] Stashed 1 file(s) [Pipeline] } [2020-10-09T22:37:56.991Z] $ docker stop --time=1 385c0f0bd7d315fafd5bbfbd6f3e09dcf513d28bc58cc06e05b6cb51679232b1 [2020-10-09T22:37:57.124Z] Removing intermediate container 655a512712ef [2020-10-09T22:37:57.125Z] ---> 48fc6e70a721 [2020-10-09T22:37:57.125Z] Step 27/27 : LABEL version=0.0.0 [2020-10-09T22:37:57.125Z] ---> Running in c83bce5e4806 [2020-10-09T22:37:57.125Z] Removing intermediate container c83bce5e4806 [2020-10-09T22:37:57.125Z] ---> 8a59f5eaa368 [2020-10-09T22:37:57.125Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-09T22:37:57.125Z] Successfully built 8a59f5eaa368 [2020-10-09T22:37:57.125Z] Successfully tagged docker-app-service-configurable:latest [2020-10-09T22:37:59.397Z] $ docker rm -f 385c0f0bd7d315fafd5bbfbd6f3e09dcf513d28bc58cc06e05b6cb51679232b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [2020-10-09T22:38:01.098Z] + sudo chown -R jenkins:jenkins . [Pipeline] node [Pipeline] sh [2020-10-09T22:38:01.487Z] + ls -al . [2020-10-09T22:38:01.487Z] total 120 [2020-10-09T22:38:01.487Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 9 22:37 . [2020-10-09T22:38:01.487Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 9 22:35 .. [2020-10-09T22:38:01.487Z] -rw-rw-r-- 1 jenkins jenkins 119 Oct 9 22:35 .dockerignore [2020-10-09T22:38:01.487Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 9 22:35 .git [2020-10-09T22:38:01.487Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 9 22:35 .github [2020-10-09T22:38:01.487Z] -rw-rw-r-- 1 jenkins jenkins 93 Oct 9 22:35 .gitignore [2020-10-09T22:38:01.487Z] -rw-rw-r-- 1 jenkins jenkins 6568 Oct 9 22:35 Attribution.txt [2020-10-09T22:38:01.487Z] -rw-rw-r-- 1 jenkins jenkins 2002 Oct 9 22:35 Dockerfile [2020-10-09T22:38:01.487Z] -rw-rw-r-- 1 jenkins jenkins 966 Oct 9 22:35 Dockerfile.build [2020-10-09T22:38:01.487Z] -rw-rw-r-- 1 jenkins jenkins 766 Oct 9 22:35 Jenkinsfile [2020-10-09T22:38:01.487Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 9 22:35 LICENSE [2020-10-09T22:38:01.487Z] -rw-rw-r-- 1 jenkins jenkins 1277 Oct 9 22:35 README.md [2020-10-09T22:38:01.487Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 9 22:33 VERSION [2020-10-09T22:38:01.487Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 9 22:35 bin [2020-10-09T22:38:01.487Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 9 22:36 coverage.out [2020-10-09T22:38:01.487Z] -rw-rw-r-- 1 jenkins jenkins 180 Oct 9 22:35 docker-compose.debug.yml [2020-10-09T22:38:01.487Z] -rw-rw-r-- 1 jenkins jenkins 133 Oct 9 22:35 docker-compose.yml [2020-10-09T22:38:01.487Z] -rw-r--r-- 1 jenkins jenkins 133 Oct 9 22:37 go.mod [2020-10-09T22:38:01.487Z] -rw-r--r-- 1 jenkins jenkins 19640 Oct 9 22:37 go.sum [2020-10-09T22:38:01.487Z] -rw-rw-r-- 1 jenkins jenkins 1519 Oct 9 22:35 main.go [2020-10-09T22:38:01.487Z] -rw-rw-r-- 1 jenkins jenkins 1573 Oct 9 22:35 makefile [2020-10-09T22:38:01.487Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 9 22:35 res [2020-10-09T22:38:01.487Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 9 22:35 snap [Pipeline] isUnix [Pipeline] sh [2020-10-09T22:38:01.838Z] + 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=eb95a8810dbf10c9fd4fedba36a0f72971cb7199 --label arch=arm64 --label version=0.0.0 . [2020-10-09T22:38:01.838Z] Sending build context to Docker daemon 116.2kB [2020-10-09T22:38:02.112Z] Step 1/27 : ARG BASE=golang:1.15-alpine [2020-10-09T22:38:02.112Z] Step 2/27 : FROM ${BASE} AS builder [2020-10-09T22:38:02.112Z] ---> b3c44dc7e57d [2020-10-09T22:38:02.112Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2020-10-09T22:38:03.092Z] ---> Running in 9a5207a4a2c9 [2020-10-09T22:38:03.688Z] Removing intermediate container 9a5207a4a2c9 [2020-10-09T22:38:03.688Z] ---> aa1c93e277b6 [2020-10-09T22:38:03.688Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2020-10-09T22:38:03.963Z] ---> Running in 847735310ac4 [2020-10-09T22:38:04.559Z] Removing intermediate container 847735310ac4 [2020-10-09T22:38:04.559Z] ---> 0c4d05dabb7f [2020-10-09T22:38:04.559Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-09T22:38:04.832Z] ---> Running in 6c79f24eba23 [2020-10-09T22:38:05.435Z] Removing intermediate container 6c79f24eba23 [2020-10-09T22:38:05.435Z] ---> 319c020466ee [2020-10-09T22:38:05.435Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-09T22:38:06.030Z] ---> Running in 84a365f0937e [2020-10-09T22:38:08.656Z] Removing intermediate container 84a365f0937e [2020-10-09T22:38:08.656Z] ---> d9fbded0f963 [2020-10-09T22:38:08.656Z] Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-09T22:38:08.656Z] ---> Running in 4ffcde97602e [2020-10-09T22:38:10.098Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-09T22:38:11.073Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-09T22:38:12.057Z] OK: 144 MiB in 45 packages [2020-10-09T22:38:13.038Z] Removing intermediate container 4ffcde97602e [2020-10-09T22:38:13.038Z] ---> 8ce902f67c14 [2020-10-09T22:38:13.038Z] Step 8/27 : WORKDIR /app [2020-10-09T22:38:13.311Z] ---> Running in 052e2f057481 [2020-10-09T22:38:13.909Z] Removing intermediate container 052e2f057481 [2020-10-09T22:38:13.909Z] ---> 96ca9d0c5361 [2020-10-09T22:38:13.909Z] Step 9/27 : COPY go.mod . [2020-10-09T22:38:14.509Z] ---> f363a6491e33 [2020-10-09T22:38:14.509Z] Step 10/27 : RUN go mod download [2020-10-09T22:38:14.798Z] ---> Running in 7f4d047247b5 [2020-10-09T22:38:16.112Z] Still waiting to schedule task [2020-10-09T22:38:16.112Z] All nodes of label ‘ubuntu18.04-docker-8c-8g’ are offline [2020-10-09T22:38:17.501Z] Removing intermediate container 7f4d047247b5 [2020-10-09T22:38:17.501Z] ---> fe5aa287e6f6 [2020-10-09T22:38:17.501Z] Step 11/27 : COPY . . [2020-10-09T22:38:18.524Z] ---> 8b226ac3bed4 [2020-10-09T22:38:18.524Z] Step 12/27 : ARG MAKE="make build" [2020-10-09T22:38:18.809Z] ---> Running in 8e4698a4af06 [2020-10-09T22:38:19.435Z] Removing intermediate container 8e4698a4af06 [2020-10-09T22:38:19.435Z] ---> d17971075943 [2020-10-09T22:38:19.435Z] Step 13/27 : RUN $MAKE [2020-10-09T22:38:19.435Z] ---> Running in b46ea6f83202 [2020-10-09T22:38:20.889Z] 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:39:08.063Z] Removing intermediate container b46ea6f83202 [2020-10-09T22:39:08.063Z] ---> 8b90dbda6e71 [2020-10-09T22:39:08.063Z] Step 14/27 : FROM alpine:latest [2020-10-09T22:39:08.063Z] latest: Pulling from library/alpine [2020-10-09T22:39:08.063Z] b538f80385f9: Already exists [2020-10-09T22:39:08.063Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-10-09T22:39:08.063Z] Status: Downloaded newer image for alpine:latest [2020-10-09T22:39:08.063Z] ---> 62ee0e9f8440 [2020-10-09T22:39:08.063Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-09T22:39:08.063Z] ---> Running in 91d52c10a6d7 [2020-10-09T22:39:08.063Z] Removing intermediate container 91d52c10a6d7 [2020-10-09T22:39:08.063Z] ---> 850e675e6604 [2020-10-09T22:39:08.063Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2020-10-09T22:39:08.063Z] ---> Running in f01fecde3e13 [2020-10-09T22:39:08.659Z] Removing intermediate container f01fecde3e13 [2020-10-09T22:39:08.659Z] ---> 331146df2863 [2020-10-09T22:39:08.659Z] Step 17/27 : RUN apk --no-cache add ca-certificates zeromq [2020-10-09T22:39:08.932Z] ---> Running in 75de16d52f3a [2020-10-09T22:39:10.370Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-09T22:39:10.642Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-09T22:39:11.242Z] (1/6) Installing ca-certificates (20191127-r4) [2020-10-09T22:39:11.242Z] (2/6) Installing libgcc (9.3.0-r2) [2020-10-09T22:39:11.242Z] (3/6) Installing libsodium (1.0.18-r0) [2020-10-09T22:39:11.242Z] (4/6) Installing libstdc++ (9.3.0-r2) [2020-10-09T22:39:11.242Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-09T22:39:11.242Z] (6/6) Installing zeromq (4.3.3-r0) [2020-10-09T22:39:11.242Z] Executing busybox-1.31.1-r16.trigger [2020-10-09T22:39:11.242Z] Executing ca-certificates-20191127-r4.trigger [2020-10-09T22:39:11.514Z] OK: 9 MiB in 20 packages [2020-10-09T22:39:13.499Z] Removing intermediate container 75de16d52f3a [2020-10-09T22:39:13.499Z] ---> c92446759a5e [2020-10-09T22:39:13.499Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2020-10-09T22:39:14.095Z] ---> 90c5cdf9f579 [2020-10-09T22:39:14.095Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2020-10-09T22:39:15.077Z] ---> 02010924066d [2020-10-09T22:39:15.077Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2020-10-09T22:39:16.057Z] ---> ec952808f297 [2020-10-09T22:39:16.057Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2020-10-09T22:39:17.508Z] ---> d85d657650b4 [2020-10-09T22:39:17.508Z] Step 22/27 : EXPOSE 48095 [2020-10-09T22:39:17.783Z] ---> Running in ef583200088f [2020-10-09T22:39:18.057Z] Removing intermediate container ef583200088f [2020-10-09T22:39:18.057Z] ---> 699a653ce0c7 [2020-10-09T22:39:18.057Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2020-10-09T22:39:18.334Z] ---> Running in 8e660d643404 [2020-10-09T22:39:18.937Z] Removing intermediate container 8e660d643404 [2020-10-09T22:39:18.937Z] ---> c1da1105ce6a [2020-10-09T22:39:18.937Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-09T22:39:18.937Z] ---> Running in 55ca3200d808 [2020-10-09T22:39:19.021Z] Running on prd-ubuntu18.04-docker-8c-8g-4444 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-09T22:39:19.081Z] Running in /w/workspace/app-service-configurable/3 [Pipeline] { [Pipeline] checkout [2020-10-09T22:39:19.537Z] Removing intermediate container 55ca3200d808 [2020-10-09T22:39:19.537Z] ---> 797d0225b3aa [2020-10-09T22:39:19.537Z] Step 25/27 : LABEL arch=arm64 [2020-10-09T22:39:19.537Z] ---> Running in fa338cf8dd43 [2020-10-09T22:39:20.134Z] Removing intermediate container fa338cf8dd43 [2020-10-09T22:39:20.134Z] ---> dad2ef4c6391 [2020-10-09T22:39:20.134Z] Step 26/27 : LABEL git_sha=eb95a8810dbf10c9fd4fedba36a0f72971cb7199 [2020-10-09T22:39:20.410Z] ---> Running in b16fe8b0737e [2020-10-09T22:39:20.682Z] Removing intermediate container b16fe8b0737e [2020-10-09T22:39:20.682Z] ---> b0ffb67e138b [2020-10-09T22:39:20.682Z] Step 27/27 : LABEL version=0.0.0 [2020-10-09T22:39:20.957Z] ---> Running in b93632559b35 [2020-10-09T22:39:21.551Z] Removing intermediate container b93632559b35 [2020-10-09T22:39:21.551Z] ---> 2c766400c29c [2020-10-09T22:39:21.551Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-09T22:39:21.551Z] Successfully built 2c766400c29c [2020-10-09T22:39:21.551Z] Successfully tagged docker-app-service-configurable-arm64:latest [2020-10-09T22:39:21.562Z] using credential edgex-jenkins-ssh [Pipeline] } [2020-10-09T22:39:21.609Z] Cloning the remote Git repository [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:39:21.623Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T22:39:21.694Z] > git init /w/workspace/app-service-configurable/3 # timeout=10 [2020-10-09T22:39:21.722Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T22:39:21.722Z] > git --version # timeout=10 [2020-10-09T22:39:21.734Z] > git --version # 'git version 2.17.1' [2020-10-09T22:39:21.735Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T22:39:21.762Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-09T22:39:22.348Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-09T22:39:22.355Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-09T22:39:22.364Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-09T22:39:22.383Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T22:39:22.383Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T22:39:22.387Z] > 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:39:22.911Z] Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit eb95a8810dbf10c9fd4fedba36a0f72971cb7199 [2020-10-09T22:39:22.987Z] Merge succeeded, producing eb95a8810dbf10c9fd4fedba36a0f72971cb7199 [2020-10-09T22:39:22.988Z] Checking out Revision eb95a8810dbf10c9fd4fedba36a0f72971cb7199 (PR-124) [2020-10-09T22:39:22.912Z] > git config core.sparsecheckout # timeout=10 [2020-10-09T22:39:22.916Z] > git checkout -f eb95a8810dbf10c9fd4fedba36a0f72971cb7199 # timeout=10 [2020-10-09T22:39:22.952Z] > git remote # timeout=10 [2020-10-09T22:39:22.957Z] > git config --get remote.origin.url # timeout=10 [2020-10-09T22:39:22.965Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T22:39:22.968Z] > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 [2020-10-09T22:39:22.975Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-09T22:39:22.983Z] > git config core.sparsecheckout # timeout=10 [2020-10-09T22:39:22.987Z] > git checkout -f eb95a8810dbf10c9fd4fedba36a0f72971cb7199 # timeout=10 [2020-10-09T22:39:26.693Z] Commit message: "ci: testing new native snap build" [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-10-09T22:39:27.986Z] + echo snap-build.sh [2020-10-09T22:39:27.986Z] snap-build.sh [2020-10-09T22:39:27.986Z] + SNAP_BASE_DIR=. [2020-10-09T22:39:27.986Z] + '[' '!' -z /w/workspace/app-service-configurable/3 ']' [2020-10-09T22:39:27.986Z] + SNAP_BASE_DIR=/w/workspace/app-service-configurable/3 [2020-10-09T22:39:27.986Z] + echo '[snap-build] Building snap in dir [/w/workspace/app-service-configurable/3]' [2020-10-09T22:39:27.986Z] [snap-build] Building snap in dir [/w/workspace/app-service-configurable/3] [2020-10-09T22:39:27.986Z] + cd /w/workspace/app-service-configurable/3 [2020-10-09T22:39:27.986Z] + sudo snap install lxd [2020-10-09T22:39:37.122Z] Still waiting to schedule task [2020-10-09T22:39:37.122Z] All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline [2020-10-09T22:39:38.061Z] 2020-10-09T22:39:36Z INFO Waiting for automatic snapd restart... [2020-10-09T22:39:53.047Z] lxd 4.6 from Canonical* installed [2020-10-09T22:39:53.047Z] + sudo snap install snapcraft [2020-10-09T22:39:53.047Z] error: This revision of snap "snapcraft" was published using classic [2020-10-09T22:39:53.047Z] confinement and thus may perform arbitrary system changes outside of the [2020-10-09T22:39:53.047Z] security sandbox that snaps are usually confined to, which may put your [2020-10-09T22:39:53.047Z] system at risk. [2020-10-09T22:39:53.047Z] [2020-10-09T22:39:53.047Z] If you understand and want to proceed repeat the command including [2020-10-09T22:39:53.047Z] --classic. [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:39:54.166Z] Failed in branch amd64 [2020-10-09T22:41:22.596Z] Running on prd-ubuntu18.04-docker-arm64-16c-16g-4445 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-09T22:41:22.668Z] Running in /w/workspace/app-service-configurable/3 [Pipeline] { [Pipeline] checkout [2020-10-09T22:41:26.678Z] using credential edgex-jenkins-ssh [2020-10-09T22:41:26.765Z] Cloning the remote Git repository [2020-10-09T22:41:26.815Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T22:41:26.923Z] > git init /w/workspace/app-service-configurable/3 # timeout=10 [2020-10-09T22:41:26.995Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T22:41:26.996Z] > git --version # timeout=10 [2020-10-09T22:41:27.013Z] > git --version # 'git version 2.17.1' [2020-10-09T22:41:27.014Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T22:41:27.106Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-09T22:41:28.373Z] Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit eb95a8810dbf10c9fd4fedba36a0f72971cb7199 [2020-10-09T22:41:28.531Z] Merge succeeded, producing eb95a8810dbf10c9fd4fedba36a0f72971cb7199 [2020-10-09T22:41:28.532Z] Checking out Revision eb95a8810dbf10c9fd4fedba36a0f72971cb7199 (PR-124) [2020-10-09T22:41:27.769Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-09T22:41:27.783Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-09T22:41:27.806Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-09T22:41:27.837Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-09T22:41:27.837Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T22:41:27.848Z] > 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:41:28.391Z] > git config core.sparsecheckout # timeout=10 [2020-10-09T22:41:28.401Z] > git checkout -f eb95a8810dbf10c9fd4fedba36a0f72971cb7199 # timeout=10 [2020-10-09T22:41:28.471Z] > git remote # timeout=10 [2020-10-09T22:41:28.485Z] > git config --get remote.origin.url # timeout=10 [2020-10-09T22:41:28.494Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-09T22:41:28.503Z] > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 [2020-10-09T22:41:28.522Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-09T22:41:28.539Z] > git config core.sparsecheckout # timeout=10 [2020-10-09T22:41:28.549Z] > git checkout -f eb95a8810dbf10c9fd4fedba36a0f72971cb7199 # timeout=10 [2020-10-09T22:41:32.715Z] Commit message: "ci: testing new native snap build" [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-10-09T22:41:34.232Z] + echo snap-build.sh [2020-10-09T22:41:34.232Z] snap-build.sh [2020-10-09T22:41:34.232Z] + SNAP_BASE_DIR=. [2020-10-09T22:41:34.232Z] + '[' '!' -z /w/workspace/app-service-configurable/3 ']' [2020-10-09T22:41:34.232Z] + SNAP_BASE_DIR=/w/workspace/app-service-configurable/3 [2020-10-09T22:41:34.232Z] + echo '[snap-build] Building snap in dir [/w/workspace/app-service-configurable/3]' [2020-10-09T22:41:34.232Z] [snap-build] Building snap in dir [/w/workspace/app-service-configurable/3] [2020-10-09T22:41:34.232Z] + cd /w/workspace/app-service-configurable/3 [2020-10-09T22:41:34.232Z] + sudo snap install lxd [2020-10-09T22:41:52.675Z] 2020-10-09T22:41:47Z INFO Waiting for restart... [2020-10-09T22:42:25.032Z] lxd 4.6 from Canonical* installed [2020-10-09T22:42:25.032Z] + sudo snap install snapcraft [2020-10-09T22:42:25.032Z] error: This revision of snap "snapcraft" was published using classic [2020-10-09T22:42:25.032Z] confinement and thus may perform arbitrary system changes outside of the [2020-10-09T22:42:25.032Z] security sandbox that snaps are usually confined to, which may put your [2020-10-09T22:42:25.032Z] system at risk. [2020-10-09T22:42:25.032Z] [2020-10-09T22:42:25.032Z] If you understand and want to proceed repeat the command including [2020-10-09T22:42:25.032Z] --classic. [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:42:26.384Z] 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:42:29.454Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-09T22:42:30.027Z] ---> package-listing.sh [2020-10-09T22:42:30.027Z] ++ facter osfamily [2020-10-09T22:42:30.027Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-09T22:42:30.027Z] + OS_FAMILY=redhat [2020-10-09T22:42:30.027Z] + workspace=/w/workspace/_app-service-configurable_PR-124 [2020-10-09T22:42:30.027Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-09T22:42:30.027Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-09T22:42:30.027Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-09T22:42:30.027Z] + PACKAGES=/tmp/packages_start.txt [2020-10-09T22:42:30.027Z] + '[' /w/workspace/_app-service-configurable_PR-124 ']' [2020-10-09T22:42:30.027Z] + PACKAGES=/tmp/packages_end.txt [2020-10-09T22:42:30.027Z] + case "${OS_FAMILY}" in [2020-10-09T22:42:30.027Z] + rpm -qa [2020-10-09T22:42:30.027Z] + sort [2020-10-09T22:42:34.252Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-09T22:42:34.252Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-09T22:42:34.252Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-09T22:42:34.252Z] + '[' /w/workspace/_app-service-configurable_PR-124 ']' [2020-10-09T22:42:34.252Z] + mkdir -p /w/workspace/_app-service-configurable_PR-124/archives/ [2020-10-09T22:42:34.252Z] + 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:42:34.271Z] 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:42:34.567Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-09T22:42:34.872Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-09T22:42:34.873Z] [2020-10-09T22:42:34.873Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-09T22:42:35.222Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-09T22:42:35.222Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-09T22:42:35.222Z] df20fa9351a1: Pulling fs layer [2020-10-09T22:42:35.222Z] 36b3adc4ff6f: Pulling fs layer [2020-10-09T22:42:35.222Z] 8ad3a11d3b57: Pulling fs layer [2020-10-09T22:42:35.222Z] 46f8f816bc3b: Pulling fs layer [2020-10-09T22:42:35.222Z] 93b61091891f: Pulling fs layer [2020-10-09T22:42:35.222Z] 93b9cdb0e59b: Pulling fs layer [2020-10-09T22:42:35.222Z] 5e14af77c1be: Pulling fs layer [2020-10-09T22:42:35.222Z] 01666e4c0597: Pulling fs layer [2020-10-09T22:42:35.222Z] aa168da1d23b: Pulling fs layer [2020-10-09T22:42:35.222Z] 46f8f816bc3b: Waiting [2020-10-09T22:42:35.222Z] 93b61091891f: Waiting [2020-10-09T22:42:35.222Z] 93b9cdb0e59b: Waiting [2020-10-09T22:42:35.222Z] 5e14af77c1be: Waiting [2020-10-09T22:42:35.222Z] 01666e4c0597: Waiting [2020-10-09T22:42:35.222Z] aa168da1d23b: Waiting [2020-10-09T22:42:35.222Z] 36b3adc4ff6f: Verifying Checksum [2020-10-09T22:42:35.222Z] 36b3adc4ff6f: Download complete [2020-10-09T22:42:35.222Z] 46f8f816bc3b: Verifying Checksum [2020-10-09T22:42:35.222Z] 46f8f816bc3b: Download complete [2020-10-09T22:42:35.486Z] df20fa9351a1: Verifying Checksum [2020-10-09T22:42:35.486Z] df20fa9351a1: Download complete [2020-10-09T22:42:35.486Z] 93b9cdb0e59b: Verifying Checksum [2020-10-09T22:42:35.486Z] 93b9cdb0e59b: Download complete [2020-10-09T22:42:35.486Z] 93b61091891f: Verifying Checksum [2020-10-09T22:42:35.486Z] 93b61091891f: Download complete [2020-10-09T22:42:35.486Z] 5e14af77c1be: Verifying Checksum [2020-10-09T22:42:35.486Z] 5e14af77c1be: Download complete [2020-10-09T22:42:35.486Z] 01666e4c0597: Download complete [2020-10-09T22:42:35.749Z] df20fa9351a1: Pull complete [2020-10-09T22:42:35.749Z] 36b3adc4ff6f: Pull complete [2020-10-09T22:42:36.013Z] 8ad3a11d3b57: Download complete [2020-10-09T22:42:36.973Z] 8ad3a11d3b57: Pull complete [2020-10-09T22:42:36.973Z] 46f8f816bc3b: Pull complete [2020-10-09T22:42:37.552Z] 93b61091891f: Pull complete [2020-10-09T22:42:37.815Z] 93b9cdb0e59b: Pull complete [2020-10-09T22:42:37.815Z] 5e14af77c1be: Pull complete [2020-10-09T22:42:37.815Z] aa168da1d23b: Verifying Checksum [2020-10-09T22:42:37.815Z] aa168da1d23b: Download complete [2020-10-09T22:42:38.079Z] 01666e4c0597: Pull complete [2020-10-09T22:42:44.718Z] aa168da1d23b: Pull complete [2020-10-09T22:42:44.718Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-09T22:42:44.718Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-09T22:42:44.718Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-09T22:42:44.875Z] prd-centos7-docker-4c-2g-4441 does not seem to be running inside a container [2020-10-09T22:42:44.922Z] $ 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-09T22:42:48.658Z] $ docker top e6b8d46424aef8a41d0cfb01be4dd28118810e21d0efbc11d2c08edf29582b7d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-09T22:42:49.231Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-09T22:42:49.533Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-09T22:42:49.835Z] + ls /var/log/sa-host [2020-10-09T22:42:49.835Z] + sadf -c /var/log/sa-host/sa05 [2020-10-09T22:42:49.835Z] file_magic: OK [2020-10-09T22:42:49.835Z] HZ: Using current value: 100 [2020-10-09T22:42:49.835Z] file_header: OK [2020-10-09T22:42:49.835Z] 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:42:49.835Z] Statistics: [2020-10-09T22:42:49.835Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-09T22:42:49.835Z] File successfully converted to sysstat format version 12.2.1 [2020-10-09T22:42:49.835Z] + sadf -c /var/log/sa-host/sa09 [2020-10-09T22:42:49.835Z] file_magic: OK [2020-10-09T22:42:49.835Z] HZ: Using current value: 100 [2020-10-09T22:42:49.835Z] file_header: OK [2020-10-09T22:42:49.835Z] 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:42:49.835Z] Statistics: [2020-10-09T22:42:49.835Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-09T22:42:49.835Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-09T22:42:50.610Z] provisioning config files... [2020-10-09T22:42:50.633Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-124@tmp/config7442269283306103321tmp [Pipeline] { [Pipeline] echo [2020-10-09T22:42:50.708Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-09T22:42:51.004Z] ---> create-netrc.sh [Pipeline] } [2020-10-09T22:42:51.013Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-09T22:42:51.106Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-09T22:42:51.404Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-09T22:42:51.414Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-09T22:42:51.715Z] ---> sudo-logs.sh [2020-10-09T22:42:51.715Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-09T22:42:51.725Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-09T22:42:52.020Z] ---> job-cost.sh [2020-10-09T22:42:52.020Z] lf-activate-venv: SKIPPING [2020-10-09T22:42:52.020Z] INFO: No Stack... [2020-10-09T22:42:52.970Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-09T22:42:53.233Z] INFO: Archiving Costs [Pipeline] echo [2020-10-09T22:42:53.247Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-09T22:42:53.545Z] ---> logs-deploy.sh [2020-10-09T22:42:53.545Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-124/3 [2020-10-09T22:42:53.545Z] INFO: archiving workspace using pattern(s): [2020-10-09T22:42:55.465Z] Archives upload complete. [2020-10-09T22:42:55.465Z] INFO: archiving logs to Nexus