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 e92003af6722fe32357d7364a936dad51019c50c+b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 (ec97e694dfd789fd9dc807907722ec75be0d0f3b) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@2576957d09d487598da7fdb00e6e5ba52dd8238b Attempting to resolve 2576957d09d487598da7fdb00e6e5ba52dd8238b 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 2576957d09d487598da7fdb00e6e5ba52dd8238b 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 2576957d09d487598da7fdb00e6e5ba52dd8238b^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains 2576957d09d487598da7fdb00e6e5ba52dd8238b # timeout=10 Selected match: pr/264/head revision 2576957d09d487598da7fdb00e6e5ba52dd8238b 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 2576957d09d487598da7fdb00e6e5ba52dd8238b (pr/264/head) > git config core.sparsecheckout # timeout=10 > git checkout -f 2576957d09d487598da7fdb00e6e5ba52dd8238b # timeout=10 Commit message: "feat(snap): Use new native build script" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-4809’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4813 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 e92003af6722fe32357d7364a936dad51019c50c Merge succeeded, producing e92003af6722fe32357d7364a936dad51019c50c Checking out Revision e92003af6722fe32357d7364a936dad51019c50c (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 e92003af6722fe32357d7364a936dad51019c50c # 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 e92003af6722fe32357d7364a936dad51019c50c # timeout=10 Commit message: "ci: testing new native snap build" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-12T15:57:35.850Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-12T15:57:36.183Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-12T15:57:36.296Z] ========================================================= [2020-10-12T15:57:36.296Z] EdgeX Global Pipelines Version Info [2020-10-12T15:57:36.296Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-12T15:57:38.240Z] ------------------- [2020-10-12T15:57:38.241Z] stable info: [2020-10-12T15:57:38.241Z] ------------------- [2020-10-12T15:57:38.241Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-12T15:57:38.241Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-12T15:57:38.241Z] Message: update stable to v1.0.131 [2020-10-12T15:57:38.816Z] ------------------- [2020-10-12T15:57:38.816Z] experimental info: [2020-10-12T15:57:38.816Z] ------------------- [2020-10-12T15:57:38.816Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-12T15:57:38.816Z] Commit SHA: 2e6d42a532571151575c80d72899821df0f9b0af [2020-10-12T15:57:38.816Z] Message: update experimental to v1.0.135 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-12T15:57:39.218Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2020-10-12T15:57:39.336Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2020-10-12T15:57:39.424Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-12T15:57:39.511Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-12T15:57:39.616Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-12T15:57:39.704Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-12T15:57:39.793Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-12T15:57:39.879Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-12T15:57:39.971Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-10-12T15:57:40.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-12T15:57:40.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-12T15:57:40.336Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-service-configurable [Pipeline] echo [2020-10-12T15:57:40.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-12T15:57:40.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-12T15:57:40.723Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-12T15:57:40.832Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-10-12T15:57:40.934Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T15:57:41.037Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T15:57:41.150Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-12T15:57:41.251Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-10-12T15:57:41.402Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-12T15:57:41.507Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-12T15:57:41.615Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-12T15:57:41.705Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-12T15:57:41.792Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-12T15:57:41.882Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-124 [Pipeline] echo [2020-10-12T15:57:41.978Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-124 [Pipeline] echo [2020-10-12T15:57:42.069Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-124 [Pipeline] echo [2020-10-12T15:57:42.175Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e92003af6722fe32357d7364a936dad51019c50c [Pipeline] echo [2020-10-12T15:57:42.265Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e92003a [Pipeline] echo [2020-10-12T15:57:42.355Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-12T15:57:43.067Z] + git log --format=format:%s -1 e92003af6722fe32357d7364a936dad51019c50c [Pipeline] echo [2020-10-12T15:57:43.132Z] GIT_COMMIT: e92003af6722fe32357d7364a936dad51019c50c, Commit Message: ci: testing new native snap build [Pipeline] echo [2020-10-12T15:57:43.183Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-12T15:57:44.066Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T15:57:44.331Z] [2020-10-12T15:57:44.331Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T15:57:44.789Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T15:57:44.789Z] latest: Pulling from edgex-devops/git-semver [2020-10-12T15:57:44.789Z] 31603596830f: Pulling fs layer [2020-10-12T15:57:44.789Z] 2a8b12db71e7: Pulling fs layer [2020-10-12T15:57:44.789Z] 6ca5941a6612: Pulling fs layer [2020-10-12T15:57:44.789Z] ecc8261a40a4: Pulling fs layer [2020-10-12T15:57:44.789Z] ecc8261a40a4: Waiting [2020-10-12T15:57:44.789Z] 2a8b12db71e7: Download complete [2020-10-12T15:57:45.051Z] 31603596830f: Verifying Checksum [2020-10-12T15:57:45.051Z] 31603596830f: Download complete [2020-10-12T15:57:45.051Z] ecc8261a40a4: Verifying Checksum [2020-10-12T15:57:45.051Z] ecc8261a40a4: Download complete [2020-10-12T15:57:45.315Z] 6ca5941a6612: Verifying Checksum [2020-10-12T15:57:45.315Z] 6ca5941a6612: Download complete [2020-10-12T15:57:45.315Z] 31603596830f: Pull complete [2020-10-12T15:57:45.595Z] 2a8b12db71e7: Pull complete [2020-10-12T15:57:46.176Z] 6ca5941a6612: Pull complete [2020-10-12T15:57:46.440Z] ecc8261a40a4: Pull complete [2020-10-12T15:57:46.440Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-12T15:57:46.703Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T15:57:46.703Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-12T15:57:46.838Z] prd-centos7-docker-4c-2g-4813 does not seem to be running inside a container [2020-10-12T15:57:46.897Z] $ 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-12T15:57:49.138Z] $ docker top b7bf244d28d2a26e5a256c102536ff04f31afa787283eaebfee9d8213acd8e5d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-12T15:57:49.462Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-12T15:57:49.462Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-12T15:57:49.700Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-12T15:57:49.706Z] $ docker exec b7bf244d28d2a26e5a256c102536ff04f31afa787283eaebfee9d8213acd8e5d ssh-agent [2020-10-12T15:57:49.884Z] SSH_AUTH_SOCK=/tmp/ssh-SDB9VYkj5XAe/agent.12 [2020-10-12T15:57:49.884Z] SSH_AGENT_PID=17 [2020-10-12T15:57:49.899Z] Running ssh-add (command line suppressed) [2020-10-12T15:57:50.032Z] Identity added: /w/workspace/_app-service-configurable_PR-124@tmp/private_key_7849684789664507780.key (/w/workspace/_app-service-configurable_PR-124@tmp/private_key_7849684789664507780.key) [2020-10-12T15:57:50.086Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-12T15:57:50.435Z] + git tag --points-at HEAD [Pipeline] } [2020-10-12T15:57:50.462Z] $ docker exec --env ******** --env ******** b7bf244d28d2a26e5a256c102536ff04f31afa787283eaebfee9d8213acd8e5d ssh-agent -k [2020-10-12T15:57:50.593Z] unset SSH_AUTH_SOCK; [2020-10-12T15:57:50.593Z] unset SSH_AGENT_PID; [2020-10-12T15:57:50.593Z] echo Agent pid 17 killed; [2020-10-12T15:57:50.639Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-12T15:57:50.792Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-12T15:57:50.792Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-12T15:57:50.968Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-12T15:57:50.973Z] $ docker exec b7bf244d28d2a26e5a256c102536ff04f31afa787283eaebfee9d8213acd8e5d ssh-agent [2020-10-12T15:57:51.155Z] SSH_AUTH_SOCK=/tmp/ssh-haCoawrtmlF7/agent.46 [2020-10-12T15:57:51.155Z] SSH_AGENT_PID=51 [2020-10-12T15:57:51.163Z] Running ssh-add (command line suppressed) [2020-10-12T15:57:51.311Z] Identity added: /w/workspace/_app-service-configurable_PR-124@tmp/private_key_4370415584047879370.key (/w/workspace/_app-service-configurable_PR-124@tmp/private_key_4370415584047879370.key) [2020-10-12T15:57:51.374Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-12T15:57:51.716Z] + git semver init [2020-10-12T15:57:51.716Z] # -> Open(): unable to determine branch for HEAD [2020-10-12T15:57:51.716Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-124/.git [2020-10-12T15:57:51.716Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-124 [2020-10-12T15:57:51.716Z] # $SEMVER_REMOTE_NAME = origin [2020-10-12T15:57:51.716Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-12T15:57:51.716Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-12T15:57:51.716Z] # $SEMVER_BRANCH = PR-124 [2020-10-12T15:57:51.716Z] # $SEMVER_TEMP = /tmp/semver-931547563 [2020-10-12T15:57:51.716Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2020-10-12T15:57:52.294Z] # '/tmp/semver-931547563' -> '/w/workspace/_app-service-configurable_PR-124/.semver' [2020-10-12T15:57:52.294Z] # -> Force: false [2020-10-12T15:57:52.294Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-124/.semver [Pipeline] } [2020-10-12T15:57:52.309Z] $ docker exec --env ******** --env ******** b7bf244d28d2a26e5a256c102536ff04f31afa787283eaebfee9d8213acd8e5d ssh-agent -k [2020-10-12T15:57:52.451Z] unset SSH_AUTH_SOCK; [2020-10-12T15:57:52.452Z] unset SSH_AGENT_PID; [2020-10-12T15:57:52.452Z] echo Agent pid 51 killed; [2020-10-12T15:57:52.519Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-12T15:57:52.989Z] + git semver [Pipeline] } [2020-10-12T15:57:53.007Z] $ docker stop --time=1 b7bf244d28d2a26e5a256c102536ff04f31afa787283eaebfee9d8213acd8e5d [2020-10-12T15:57:54.439Z] $ docker rm -f b7bf244d28d2a26e5a256c102536ff04f31afa787283eaebfee9d8213acd8e5d [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-12T15:57:55.168Z] Stashed 1 file(s) [Pipeline] echo [2020-10-12T15:57:55.171Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-10-12T15:58:10.678Z] Still waiting to schedule task [2020-10-12T15:58:10.678Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-12T15:58:10.680Z] Still waiting to schedule task [2020-10-12T15:58:10.680Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-12T16:00:21.192Z] Running on prd-centos7-docker-4c-2g-4815 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-12T16:00:21.291Z] Running in /w/workspace/app-service-configurable/5 [Pipeline] { [Pipeline] checkout [2020-10-12T16:00:28.779Z] using credential edgex-jenkins-ssh [2020-10-12T16:00:28.836Z] Cloning the remote Git repository [2020-10-12T16:00:28.950Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-12T16:00:29.098Z] > git init /w/workspace/app-service-configurable/5 # timeout=10 [2020-10-12T16:00:29.199Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-12T16:00:29.200Z] > git --version # timeout=10 [2020-10-12T16:00:29.220Z] > git --version # 'git version 2.16.5' [2020-10-12T16:00:29.221Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T16:00:29.263Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T16:00:30.326Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-12T16:00:30.833Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T16:00:31.090Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-12T16:00:31.232Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-12T16:00:31.232Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T16:00:31.246Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-12T16:00:32.401Z] Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit e92003af6722fe32357d7364a936dad51019c50c [2020-10-12T16:00:32.683Z] Merge succeeded, producing e92003af6722fe32357d7364a936dad51019c50c [2020-10-12T16:00:32.683Z] Checking out Revision e92003af6722fe32357d7364a936dad51019c50c (PR-124) [2020-10-12T16:00:32.436Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T16:00:32.497Z] > git checkout -f e92003af6722fe32357d7364a936dad51019c50c # timeout=10 [2020-10-12T16:00:32.607Z] > git remote # timeout=10 [2020-10-12T16:00:32.620Z] > git config --get remote.origin.url # timeout=10 [2020-10-12T16:00:32.638Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T16:00:32.644Z] > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 [2020-10-12T16:00:32.667Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-12T16:00:32.688Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T16:00:32.699Z] > git checkout -f e92003af6722fe32357d7364a936dad51019c50c # timeout=10 [2020-10-12T16:00:37.088Z] 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-12T16:00:38.143Z] ========================================================= [2020-10-12T16:00:38.143Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-12T16:00:38.143Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-12T16:00:39.319Z] + 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-12T16:00:39.596Z] Sending build context to Docker daemon 93.7kB [2020-10-12T16:00:40.219Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-12T16:00:40.219Z] Step 2/8 : FROM ${BASE} [2020-10-12T16:00:40.219Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-12T16:00:40.219Z] df20fa9351a1: Pulling fs layer [2020-10-12T16:00:40.219Z] ed8968b2872e: Pulling fs layer [2020-10-12T16:00:40.219Z] a92cc7c5fd73: Pulling fs layer [2020-10-12T16:00:40.219Z] e871e8e8d7a9: Pulling fs layer [2020-10-12T16:00:40.219Z] e73272ec9a57: Pulling fs layer [2020-10-12T16:00:40.219Z] 1e910a182e73: Pulling fs layer [2020-10-12T16:00:40.219Z] 4e634b169226: Pulling fs layer [2020-10-12T16:00:40.219Z] e73272ec9a57: Waiting [2020-10-12T16:00:40.219Z] 1e910a182e73: Waiting [2020-10-12T16:00:40.219Z] 4e634b169226: Waiting [2020-10-12T16:00:40.219Z] e871e8e8d7a9: Waiting [2020-10-12T16:00:40.219Z] a92cc7c5fd73: Verifying Checksum [2020-10-12T16:00:40.219Z] a92cc7c5fd73: Download complete [2020-10-12T16:00:40.219Z] ed8968b2872e: Download complete [2020-10-12T16:00:40.219Z] e73272ec9a57: Verifying Checksum [2020-10-12T16:00:40.219Z] e73272ec9a57: Download complete [2020-10-12T16:00:40.219Z] 1e910a182e73: Verifying Checksum [2020-10-12T16:00:40.219Z] 1e910a182e73: Download complete [2020-10-12T16:00:40.489Z] df20fa9351a1: Verifying Checksum [2020-10-12T16:00:40.489Z] df20fa9351a1: Download complete [2020-10-12T16:00:41.131Z] df20fa9351a1: Pull complete [2020-10-12T16:00:41.436Z] ed8968b2872e: Pull complete [2020-10-12T16:00:41.752Z] a92cc7c5fd73: Pull complete [2020-10-12T16:00:47.534Z] 4e634b169226: Verifying Checksum [2020-10-12T16:00:47.534Z] 4e634b169226: Download complete [2020-10-12T16:00:47.534Z] e871e8e8d7a9: Verifying Checksum [2020-10-12T16:00:47.534Z] e871e8e8d7a9: Download complete [2020-10-12T16:00:57.930Z] e871e8e8d7a9: Pull complete [2020-10-12T16:00:57.930Z] e73272ec9a57: Pull complete [2020-10-12T16:00:57.930Z] 1e910a182e73: Pull complete [2020-10-12T16:01:04.878Z] 4e634b169226: Pull complete [2020-10-12T16:01:04.878Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-12T16:01:04.878Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-12T16:01:04.878Z] ---> f7629b54cfaa [2020-10-12T16:01:04.878Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-12T16:01:04.878Z] ---> Running in 789b340911c3 [2020-10-12T16:01:04.878Z] Removing intermediate container 789b340911c3 [2020-10-12T16:01:04.878Z] ---> 5809a02c9cbb [2020-10-12T16:01:04.878Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T16:01:04.878Z] ---> Running in 80a046edfd67 [2020-10-12T16:01:05.332Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4816 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-12T16:01:05.395Z] Running in /w/workspace/app-service-configurable/5 [Pipeline] { [Pipeline] checkout [2020-10-12T16:01:06.347Z] Removing intermediate container 80a046edfd67 [2020-10-12T16:01:06.347Z] ---> 5a451e7db9b8 [2020-10-12T16:01:06.347Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-10-12T16:01:06.627Z] ---> Running in 3f0f8027f2fe [2020-10-12T16:01:07.262Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-12T16:01:08.255Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-12T16:01:09.212Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-10-12T16:01:09.212Z] (2/6) Installing libsodium (1.0.18-r0) [2020-10-12T16:01:09.484Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-10-12T16:01:09.484Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-10-12T16:01:09.484Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-12T16:01:09.757Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-10-12T16:01:09.757Z] Executing busybox-1.31.1-r16.trigger [2020-10-12T16:01:09.757Z] OK: 167 MiB in 45 packages [2020-10-12T16:01:10.693Z] using credential edgex-jenkins-ssh [2020-10-12T16:01:10.753Z] Cloning the remote Git repository [2020-10-12T16:01:10.756Z] Removing intermediate container 3f0f8027f2fe [2020-10-12T16:01:10.756Z] ---> 5503d5a6025f [2020-10-12T16:01:10.756Z] Step 6/8 : WORKDIR /app [2020-10-12T16:01:10.756Z] ---> Running in bb25f778f264 [2020-10-12T16:01:10.756Z] Removing intermediate container bb25f778f264 [2020-10-12T16:01:10.756Z] ---> a7642f86d709 [2020-10-12T16:01:10.756Z] Step 7/8 : COPY . . [2020-10-12T16:01:11.360Z] ---> ff259e7564b0 [2020-10-12T16:01:11.360Z] Step 8/8 : RUN go mod download [2020-10-12T16:01:11.360Z] ---> Running in 54e671705189 [2020-10-12T16:01:10.822Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-12T16:01:10.933Z] > git init /w/workspace/app-service-configurable/5 # timeout=10 [2020-10-12T16:01:11.005Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-12T16:01:11.006Z] > git --version # timeout=10 [2020-10-12T16:01:11.022Z] > git --version # 'git version 2.17.1' [2020-10-12T16:01:11.024Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T16:01:11.076Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T16:01:12.519Z] Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit e92003af6722fe32357d7364a936dad51019c50c [2020-10-12T16:01:12.788Z] Merge succeeded, producing e92003af6722fe32357d7364a936dad51019c50c [2020-10-12T16:01:12.789Z] Checking out Revision e92003af6722fe32357d7364a936dad51019c50c (PR-124) [2020-10-12T16:01:11.888Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-12T16:01:11.904Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T16:01:11.936Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-12T16:01:11.969Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-12T16:01:11.970Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T16:01:11.982Z] > 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-12T16:01:12.550Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T16:01:12.563Z] > git checkout -f e92003af6722fe32357d7364a936dad51019c50c # timeout=10 [2020-10-12T16:01:12.648Z] > git remote # timeout=10 [2020-10-12T16:01:12.666Z] > git config --get remote.origin.url # timeout=10 [2020-10-12T16:01:12.692Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T16:01:12.749Z] > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 [2020-10-12T16:01:12.779Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-12T16:01:12.808Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T16:01:12.858Z] > git checkout -f e92003af6722fe32357d7364a936dad51019c50c # timeout=10 [2020-10-12T16:01:17.221Z] 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-12T16:01:18.266Z] ========================================================= [2020-10-12T16:01:18.266Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-12T16:01:18.266Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-12T16:01:19.251Z] + 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-12T16:01:19.852Z] Sending build context to Docker daemon 93.7kB [2020-10-12T16:01:20.128Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-12T16:01:20.128Z] Step 2/8 : FROM ${BASE} [2020-10-12T16:01:20.401Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-12T16:01:20.401Z] b538f80385f9: Pulling fs layer [2020-10-12T16:01:20.401Z] 74f711af9a0d: Pulling fs layer [2020-10-12T16:01:20.401Z] 99f96fe45779: Pulling fs layer [2020-10-12T16:01:20.401Z] 8529a6b9a6be: Pulling fs layer [2020-10-12T16:01:20.401Z] 45590311c82a: Pulling fs layer [2020-10-12T16:01:20.401Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-12T16:01:20.401Z] 209524e5b208: Pulling fs layer [2020-10-12T16:01:20.401Z] 69ca0ff8b7b3: Waiting [2020-10-12T16:01:20.401Z] 209524e5b208: Waiting [2020-10-12T16:01:20.401Z] 8529a6b9a6be: Waiting [2020-10-12T16:01:20.401Z] 45590311c82a: Waiting [2020-10-12T16:01:20.401Z] 99f96fe45779: Verifying Checksum [2020-10-12T16:01:20.401Z] 99f96fe45779: Download complete [2020-10-12T16:01:20.401Z] 74f711af9a0d: Verifying Checksum [2020-10-12T16:01:20.401Z] 74f711af9a0d: Download complete [2020-10-12T16:01:20.401Z] 45590311c82a: Verifying Checksum [2020-10-12T16:01:20.401Z] 45590311c82a: Download complete [2020-10-12T16:01:20.401Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-12T16:01:20.401Z] 69ca0ff8b7b3: Download complete [2020-10-12T16:01:20.678Z] b538f80385f9: Verifying Checksum [2020-10-12T16:01:20.678Z] b538f80385f9: Download complete [2020-10-12T16:01:21.278Z] b538f80385f9: Pull complete [2020-10-12T16:01:21.880Z] 74f711af9a0d: Pull complete [2020-10-12T16:01:22.480Z] 99f96fe45779: Pull complete [2020-10-12T16:01:23.090Z] 209524e5b208: Verifying Checksum [2020-10-12T16:01:23.090Z] 209524e5b208: Download complete [2020-10-12T16:01:24.541Z] 8529a6b9a6be: Verifying Checksum [2020-10-12T16:01:24.541Z] 8529a6b9a6be: Download complete [2020-10-12T16:01:34.709Z] 8529a6b9a6be: Pull complete [2020-10-12T16:01:34.709Z] 45590311c82a: Pull complete [2020-10-12T16:01:34.710Z] 69ca0ff8b7b3: Pull complete [2020-10-12T16:01:38.231Z] Removing intermediate container 54e671705189 [2020-10-12T16:01:38.231Z] ---> 708fefd3f0c9 [2020-10-12T16:01:38.231Z] Successfully built 708fefd3f0c9 [2020-10-12T16:01:38.231Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T16:01:38.869Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-12T16:01:38.869Z] . [Pipeline] withDockerContainer [2020-10-12T16:01:39.035Z] 209524e5b208: Pull complete [2020-10-12T16:01:39.035Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-12T16:01:39.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-12T16:01:39.035Z] ---> 5bddaf1c2fca [2020-10-12T16:01:39.035Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-12T16:01:39.726Z] prd-centos7-docker-4c-2g-4815 does not seem to be running inside a container [2020-10-12T16:01:39.859Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/5 -v /w/workspace/app-service-configurable/5:/w/workspace/app-service-configurable/5:rw,z -v /w/workspace/app-service-configurable/5@tmp:/w/workspace/app-service-configurable/5@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-12T16:01:41.369Z] $ docker top e9d017d231f5d5421adeda60bae77980f5eddd36baf9600eb32472a8c4d7fe50 -eo pid,comm [2020-10-12T16:01:41.657Z] ---> Running in b77475f53384 [Pipeline] { [Pipeline] sh [2020-10-12T16:01:41.933Z] Removing intermediate container b77475f53384 [2020-10-12T16:01:41.934Z] ---> f3a2531a804a [2020-10-12T16:01:41.934Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T16:01:42.207Z] ---> Running in 1b80aa09da0d [2020-10-12T16:01:42.221Z] + go version [2020-10-12T16:01:42.221Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-12T16:01:42.246Z] $ docker stop --time=1 e9d017d231f5d5421adeda60bae77980f5eddd36baf9600eb32472a8c4d7fe50 [2020-10-12T16:01:43.839Z] $ docker rm -f e9d017d231f5d5421adeda60bae77980f5eddd36baf9600eb32472a8c4d7fe50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-12T16:01:44.856Z] Removing intermediate container 1b80aa09da0d [2020-10-12T16:01:44.856Z] ---> 01e87231888b [2020-10-12T16:01:44.856Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-10-12T16:01:44.883Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-12T16:01:44.883Z] . [Pipeline] withDockerContainer [2020-10-12T16:01:45.051Z] prd-centos7-docker-4c-2g-4815 does not seem to be running inside a container [2020-10-12T16:01:45.130Z] ---> Running in a8d1e2bb9f75 [2020-10-12T16:01:45.164Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/5 -v /w/workspace/app-service-configurable/5:/w/workspace/app-service-configurable/5:rw,z -v /w/workspace/app-service-configurable/5@tmp:/w/workspace/app-service-configurable/5@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-12T16:01:46.383Z] $ docker top 53aa4a5f2cf8eaf9a53a65348aefb5d5bc55f0fe7bb000c44dee4a8f51e05a55 -eo pid,comm [Pipeline] { [2020-10-12T16:01:46.574Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] sh [2020-10-12T16:01:46.967Z] + make test [2020-10-12T16:01:46.967Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-10-12T16:01:47.565Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-12T16:01:48.554Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-10-12T16:01:48.830Z] (2/6) Installing libsodium (1.0.18-r0) [2020-10-12T16:01:48.830Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-10-12T16:01:49.105Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-10-12T16:01:49.105Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-12T16:01:49.379Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-10-12T16:01:49.379Z] Executing busybox-1.31.1-r16.trigger [2020-10-12T16:01:49.379Z] OK: 144 MiB in 45 packages [2020-10-12T16:01:50.824Z] Removing intermediate container a8d1e2bb9f75 [2020-10-12T16:01:50.824Z] ---> 8dc314c13285 [2020-10-12T16:01:50.824Z] Step 6/8 : WORKDIR /app [2020-10-12T16:01:50.824Z] ---> Running in c16399c01dfd [2020-10-12T16:01:51.447Z] Removing intermediate container c16399c01dfd [2020-10-12T16:01:51.447Z] ---> 4fe87e7839a2 [2020-10-12T16:01:51.447Z] Step 7/8 : COPY . . [2020-10-12T16:01:52.448Z] ---> c04771dd635f [2020-10-12T16:01:52.448Z] Step 8/8 : RUN go mod download [2020-10-12T16:01:52.448Z] ---> Running in 10f90d06e6fb [2020-10-12T16:02:19.714Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-10-12T16:02:19.714Z] CGO_ENABLED=1 go vet ./... [2020-10-12T16:02:21.198Z] gofmt -l . [2020-10-12T16:02:21.198Z] [ "`gofmt -l .`" = "" ] [2020-10-12T16:02:21.473Z] ./bin/test-go-mod-tidy.sh [2020-10-12T16:02:22.063Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-10-12T16:02:23.109Z] Stashed 1 file(s) [Pipeline] } [2020-10-12T16:02:23.130Z] $ docker stop --time=1 53aa4a5f2cf8eaf9a53a65348aefb5d5bc55f0fe7bb000c44dee4a8f51e05a55 [2020-10-12T16:02:24.830Z] Removing intermediate container 10f90d06e6fb [2020-10-12T16:02:24.830Z] ---> 2d9e2eff0508 [2020-10-12T16:02:24.830Z] Successfully built 2d9e2eff0508 [2020-10-12T16:02:24.830Z] Successfully tagged ci-base-image-arm64:latest [2020-10-12T16:02:25.029Z] $ docker rm -f 53aa4a5f2cf8eaf9a53a65348aefb5d5bc55f0fe7bb000c44dee4a8f51e05a55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh [2020-10-12T16:02:26.191Z] + docker inspect -f . ci-base-image-arm64 [2020-10-12T16:02:26.191Z] . [Pipeline] sh [Pipeline] withDockerContainer [2020-10-12T16:02:26.848Z] prd-ubuntu18.04-docker-arm64-4c-16g-4816 does not seem to be running inside a container [2020-10-12T16:02:26.889Z] + sudo chown -R jenkins:jenkins . [2020-10-12T16:02:26.937Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/5 -v /w/workspace/app-service-configurable/5:/w/workspace/app-service-configurable/5:rw,z -v /w/workspace/app-service-configurable/5@tmp:/w/workspace/app-service-configurable/5@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-12T16:02:28.749Z] $ docker top b7b4d19516ddbbf50b34c914a03bf8aaae2f2bb47bfa32fc04a6d93672362ffe -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2020-10-12T16:02:29.447Z] + ls -al . [2020-10-12T16:02:29.447Z] total 96 [2020-10-12T16:02:29.447Z] drwxrwxr-x. 7 jenkins jenkins 4096 Oct 12 16:02 . [2020-10-12T16:02:29.447Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 12 16:00 .. [2020-10-12T16:02:29.447Z] -rw-rw-r--. 1 jenkins jenkins 6568 Oct 12 16:00 Attribution.txt [2020-10-12T16:02:29.447Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 12 16:00 bin [2020-10-12T16:02:29.447Z] -rw-r--r--. 1 jenkins jenkins 10 Oct 12 16:01 coverage.out [2020-10-12T16:02:29.447Z] -rw-rw-r--. 1 jenkins jenkins 180 Oct 12 16:00 docker-compose.debug.yml [2020-10-12T16:02:29.447Z] -rw-rw-r--. 1 jenkins jenkins 133 Oct 12 16:00 docker-compose.yml [2020-10-12T16:02:29.447Z] -rw-rw-r--. 1 jenkins jenkins 2002 Oct 12 16:00 Dockerfile [2020-10-12T16:02:29.447Z] -rw-rw-r--. 1 jenkins jenkins 966 Oct 12 16:00 Dockerfile.build [2020-10-12T16:02:29.447Z] -rw-rw-r--. 1 jenkins jenkins 119 Oct 12 16:00 .dockerignore [2020-10-12T16:02:29.447Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 12 16:00 .git [2020-10-12T16:02:29.447Z] drwxrwxr-x. 2 jenkins jenkins 81 Oct 12 16:00 .github [2020-10-12T16:02:29.447Z] -rw-rw-r--. 1 jenkins jenkins 93 Oct 12 16:00 .gitignore [2020-10-12T16:02:29.447Z] -rw-r--r--. 1 jenkins jenkins 133 Oct 12 16:02 go.mod [2020-10-12T16:02:29.447Z] -rw-r--r--. 1 jenkins jenkins 19640 Oct 12 16:02 go.sum [2020-10-12T16:02:29.447Z] -rw-rw-r--. 1 jenkins jenkins 766 Oct 12 16:00 Jenkinsfile [2020-10-12T16:02:29.447Z] -rw-rw-r--. 1 jenkins jenkins 10174 Oct 12 16:00 LICENSE [2020-10-12T16:02:29.447Z] -rw-rw-r--. 1 jenkins jenkins 1519 Oct 12 16:00 main.go [2020-10-12T16:02:29.447Z] -rw-rw-r--. 1 jenkins jenkins 1573 Oct 12 16:00 makefile [2020-10-12T16:02:29.447Z] -rw-rw-r--. 1 jenkins jenkins 1277 Oct 12 16:00 README.md [2020-10-12T16:02:29.447Z] drwxrwxr-x. 10 jenkins jenkins 171 Oct 12 16:00 res [2020-10-12T16:02:29.447Z] drwxrwxr-x. 4 jenkins jenkins 71 Oct 12 16:00 snap [2020-10-12T16:02:29.447Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 12 15:57 VERSION [Pipeline] isUnix [Pipeline] sh [2020-10-12T16:02:29.973Z] + 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=e92003af6722fe32357d7364a936dad51019c50c --label arch=amd64 --label version=0.0.0 . [2020-10-12T16:02:29.973Z] Sending build context to Docker daemon 116.2kB [2020-10-12T16:02:30.228Z] + go version [2020-10-12T16:02:30.228Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-12T16:02:30.249Z] Step 1/27 : ARG BASE=golang:1.15-alpine [2020-10-12T16:02:30.249Z] Step 2/27 : FROM ${BASE} AS builder [2020-10-12T16:02:30.249Z] ---> 708fefd3f0c9 [2020-10-12T16:02:30.249Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2020-10-12T16:02:30.249Z] ---> Running in f3d35bc9a48c [2020-10-12T16:02:30.259Z] $ docker stop --time=1 b7b4d19516ddbbf50b34c914a03bf8aaae2f2bb47bfa32fc04a6d93672362ffe [2020-10-12T16:02:30.548Z] Removing intermediate container f3d35bc9a48c [2020-10-12T16:02:30.548Z] ---> 874bfe273900 [2020-10-12T16:02:30.548Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2020-10-12T16:02:30.548Z] ---> Running in a0100eb0b74e [2020-10-12T16:02:30.848Z] Removing intermediate container a0100eb0b74e [2020-10-12T16:02:30.848Z] ---> 8778dd5716c4 [2020-10-12T16:02:30.848Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-12T16:02:30.848Z] ---> Running in 6c2b882472bf [2020-10-12T16:02:31.117Z] Removing intermediate container 6c2b882472bf [2020-10-12T16:02:31.117Z] ---> a78330e663d5 [2020-10-12T16:02:31.117Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T16:02:31.117Z] ---> Running in cc0fd7b6fdbe [2020-10-12T16:02:32.198Z] $ docker rm -f b7b4d19516ddbbf50b34c914a03bf8aaae2f2bb47bfa32fc04a6d93672362ffe [Pipeline] // withDockerContainer [Pipeline] } [2020-10-12T16:02:32.554Z] Removing intermediate container cc0fd7b6fdbe [2020-10-12T16:02:32.554Z] ---> 0caf92de0344 [2020-10-12T16:02:32.554Z] Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-12T16:02:32.554Z] ---> Running in ea2c5dc4a679 [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-12T16:02:33.183Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-12T16:02:33.295Z] + docker inspect -f . ci-base-image-arm64 [2020-10-12T16:02:33.295Z] . [Pipeline] withDockerContainer [2020-10-12T16:02:33.525Z] prd-ubuntu18.04-docker-arm64-4c-16g-4816 does not seem to be running inside a container [2020-10-12T16:02:33.613Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/5 -v /w/workspace/app-service-configurable/5:/w/workspace/app-service-configurable/5:rw,z -v /w/workspace/app-service-configurable/5@tmp:/w/workspace/app-service-configurable/5@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-12T16:02:34.169Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-12T16:02:35.160Z] OK: 167 MiB in 45 packages [2020-10-12T16:02:35.431Z] $ docker top a78f3a71a66f79a99574e5feee35ac654a9b53ca4498f2dcba5d1e91f6e96aab -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T16:02:35.785Z] Removing intermediate container ea2c5dc4a679 [2020-10-12T16:02:35.785Z] ---> 536a894d4a99 [2020-10-12T16:02:35.785Z] Step 8/27 : WORKDIR /app [2020-10-12T16:02:35.785Z] ---> Running in 235d84794e04 [2020-10-12T16:02:36.126Z] Removing intermediate container 235d84794e04 [2020-10-12T16:02:36.126Z] ---> 75c2111f6c50 [2020-10-12T16:02:36.150Z] Step 9/27 : COPY go.mod . [2020-10-12T16:02:36.802Z] ---> c903e7b3e86a [2020-10-12T16:02:36.802Z] Step 10/27 : RUN go mod download [2020-10-12T16:02:36.802Z] ---> Running in 8f76aca3615e [2020-10-12T16:02:36.807Z] + make test [2020-10-12T16:02:36.807Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-10-12T16:02:38.297Z] Removing intermediate container 8f76aca3615e [2020-10-12T16:02:38.297Z] ---> 5a51b3bdce77 [2020-10-12T16:02:38.297Z] Step 11/27 : COPY . . [2020-10-12T16:02:38.902Z] ---> 4d4e6dd1ce3a [2020-10-12T16:02:38.902Z] Step 12/27 : ARG MAKE="make build" [2020-10-12T16:02:38.902Z] ---> Running in d7ff8a323b79 [2020-10-12T16:02:39.183Z] Removing intermediate container d7ff8a323b79 [2020-10-12T16:02:39.183Z] ---> 2dec810dadde [2020-10-12T16:02:39.183Z] Step 13/27 : RUN $MAKE [2020-10-12T16:02:39.183Z] ---> Running in af73bdbcc42b [2020-10-12T16:02:40.256Z] 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-12T16:03:13.639Z] Removing intermediate container af73bdbcc42b [2020-10-12T16:03:13.639Z] ---> 3433836e5127 [2020-10-12T16:03:13.639Z] Step 14/27 : FROM alpine:latest [2020-10-12T16:03:13.639Z] latest: Pulling from library/alpine [2020-10-12T16:03:13.639Z] df20fa9351a1: Already exists [2020-10-12T16:03:13.639Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-10-12T16:03:13.639Z] Status: Downloaded newer image for alpine:latest [2020-10-12T16:03:13.639Z] ---> a24bb4013296 [2020-10-12T16:03:13.639Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-12T16:03:13.639Z] ---> Running in e6b526827a8a [2020-10-12T16:03:13.639Z] Removing intermediate container e6b526827a8a [2020-10-12T16:03:13.639Z] ---> ae93c16764bb [2020-10-12T16:03:13.639Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2020-10-12T16:03:13.639Z] ---> Running in fab755d65570 [2020-10-12T16:03:13.639Z] Removing intermediate container fab755d65570 [2020-10-12T16:03:13.639Z] ---> 807243bb275e [2020-10-12T16:03:13.639Z] Step 17/27 : RUN apk --no-cache add ca-certificates zeromq [2020-10-12T16:03:13.639Z] ---> Running in f9c5ca9c982d [2020-10-12T16:03:13.639Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-12T16:03:13.639Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-12T16:03:13.943Z] (1/6) Installing ca-certificates (20191127-r4) [2020-10-12T16:03:14.235Z] (2/6) Installing libgcc (9.3.0-r2) [2020-10-12T16:03:14.235Z] (3/6) Installing libsodium (1.0.18-r0) [2020-10-12T16:03:14.235Z] (4/6) Installing libstdc++ (9.3.0-r2) [2020-10-12T16:03:14.235Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-12T16:03:14.235Z] (6/6) Installing zeromq (4.3.3-r0) [2020-10-12T16:03:14.235Z] Executing busybox-1.31.1-r16.trigger [2020-10-12T16:03:14.235Z] Executing ca-certificates-20191127-r4.trigger [2020-10-12T16:03:14.235Z] OK: 9 MiB in 20 packages [2020-10-12T16:03:15.235Z] Removing intermediate container f9c5ca9c982d [2020-10-12T16:03:15.235Z] ---> 1185549554f9 [2020-10-12T16:03:15.235Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2020-10-12T16:03:15.522Z] ---> 373943c3e030 [2020-10-12T16:03:15.522Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2020-10-12T16:03:15.819Z] ---> 66acdb0b3954 [2020-10-12T16:03:15.819Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2020-10-12T16:03:16.108Z] ---> d444c8520b6b [2020-10-12T16:03:16.108Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2020-10-12T16:03:16.741Z] ---> f597a65c7ce4 [2020-10-12T16:03:16.741Z] Step 22/27 : EXPOSE 48095 [2020-10-12T16:03:17.011Z] ---> Running in d18ab5cd6d8f [2020-10-12T16:03:17.301Z] Removing intermediate container d18ab5cd6d8f [2020-10-12T16:03:17.301Z] ---> 62a529ef4b15 [2020-10-12T16:03:17.301Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2020-10-12T16:03:17.301Z] ---> Running in 50887f4c65be [2020-10-12T16:03:17.618Z] Removing intermediate container 50887f4c65be [2020-10-12T16:03:17.618Z] ---> d513a02a786b [2020-10-12T16:03:17.618Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-12T16:03:17.618Z] ---> Running in fe620545d6e1 [2020-10-12T16:03:17.910Z] Removing intermediate container fe620545d6e1 [2020-10-12T16:03:17.910Z] ---> db47ad48133f [2020-10-12T16:03:17.910Z] Step 25/27 : LABEL arch=amd64 [2020-10-12T16:03:17.910Z] ---> Running in e6c67d51f2c4 [2020-10-12T16:03:18.253Z] Removing intermediate container e6c67d51f2c4 [2020-10-12T16:03:18.253Z] ---> ea013e49ccbe [2020-10-12T16:03:18.253Z] Step 26/27 : LABEL git_sha=e92003af6722fe32357d7364a936dad51019c50c [2020-10-12T16:03:18.253Z] ---> Running in 673f5cd80af2 [2020-10-12T16:03:18.526Z] Removing intermediate container 673f5cd80af2 [2020-10-12T16:03:18.526Z] ---> 2436d90ad1e8 [2020-10-12T16:03:18.526Z] Step 27/27 : LABEL version=0.0.0 [2020-10-12T16:03:18.526Z] ---> Running in 1c5dc98308b9 [2020-10-12T16:03:18.790Z] Removing intermediate container 1c5dc98308b9 [2020-10-12T16:03:18.790Z] ---> aaf257d15c74 [2020-10-12T16:03:18.790Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-12T16:03:18.790Z] Successfully built aaf257d15c74 [2020-10-12T16:03:18.790Z] Successfully tagged docker-app-service-configurable:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node [2020-10-12T16:03:33.385Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-10-12T16:03:33.385Z] CGO_ENABLED=1 go vet ./... [2020-10-12T16:03:34.352Z] Still waiting to schedule task [2020-10-12T16:03:34.352Z] All nodes of label ‘ubuntu18.04-docker-8c-8g’ are offline [2020-10-12T16:03:37.719Z] gofmt -l . [2020-10-12T16:03:37.719Z] [ "`gofmt -l .`" = "" ] [2020-10-12T16:03:37.719Z] ./bin/test-go-mod-tidy.sh [2020-10-12T16:03:37.719Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-10-12T16:03:39.182Z] Warning: overwriting stash ‘coverage-report’ [2020-10-12T16:03:39.878Z] Stashed 1 file(s) [Pipeline] } [2020-10-12T16:03:39.894Z] $ docker stop --time=1 a78f3a71a66f79a99574e5feee35ac654a9b53ca4498f2dcba5d1e91f6e96aab [2020-10-12T16:03:42.351Z] $ docker rm -f a78f3a71a66f79a99574e5feee35ac654a9b53ca4498f2dcba5d1e91f6e96aab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-12T16:03:43.917Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-12T16:03:44.260Z] + ls -al . [2020-10-12T16:03:44.260Z] total 120 [2020-10-12T16:03:44.260Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 12 16:03 . [2020-10-12T16:03:44.260Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 16:01 .. [2020-10-12T16:03:44.260Z] -rw-rw-r-- 1 jenkins jenkins 119 Oct 12 16:01 .dockerignore [2020-10-12T16:03:44.260Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 16:01 .git [2020-10-12T16:03:44.260Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 16:01 .github [2020-10-12T16:03:44.260Z] -rw-rw-r-- 1 jenkins jenkins 93 Oct 12 16:01 .gitignore [2020-10-12T16:03:44.260Z] -rw-rw-r-- 1 jenkins jenkins 6568 Oct 12 16:01 Attribution.txt [2020-10-12T16:03:44.260Z] -rw-rw-r-- 1 jenkins jenkins 2002 Oct 12 16:01 Dockerfile [2020-10-12T16:03:44.260Z] -rw-rw-r-- 1 jenkins jenkins 966 Oct 12 16:01 Dockerfile.build [2020-10-12T16:03:44.260Z] -rw-rw-r-- 1 jenkins jenkins 766 Oct 12 16:01 Jenkinsfile [2020-10-12T16:03:44.260Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 12 16:01 LICENSE [2020-10-12T16:03:44.260Z] -rw-rw-r-- 1 jenkins jenkins 1277 Oct 12 16:01 README.md [2020-10-12T16:03:44.260Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 15:57 VERSION [2020-10-12T16:03:44.260Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 16:01 bin [2020-10-12T16:03:44.260Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 12 16:02 coverage.out [2020-10-12T16:03:44.260Z] -rw-rw-r-- 1 jenkins jenkins 180 Oct 12 16:01 docker-compose.debug.yml [2020-10-12T16:03:44.260Z] -rw-rw-r-- 1 jenkins jenkins 133 Oct 12 16:01 docker-compose.yml [2020-10-12T16:03:44.260Z] -rw-r--r-- 1 jenkins jenkins 133 Oct 12 16:03 go.mod [2020-10-12T16:03:44.260Z] -rw-r--r-- 1 jenkins jenkins 19640 Oct 12 16:03 go.sum [2020-10-12T16:03:44.260Z] -rw-rw-r-- 1 jenkins jenkins 1519 Oct 12 16:01 main.go [2020-10-12T16:03:44.260Z] -rw-rw-r-- 1 jenkins jenkins 1573 Oct 12 16:01 makefile [2020-10-12T16:03:44.260Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 16:01 res [2020-10-12T16:03:44.260Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 16:01 snap [Pipeline] isUnix [Pipeline] sh [2020-10-12T16:03:44.624Z] + 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=e92003af6722fe32357d7364a936dad51019c50c --label arch=arm64 --label version=0.0.0 . [2020-10-12T16:03:44.624Z] Sending build context to Docker daemon 116.2kB [2020-10-12T16:03:44.894Z] Step 1/27 : ARG BASE=golang:1.15-alpine [2020-10-12T16:03:44.894Z] Step 2/27 : FROM ${BASE} AS builder [2020-10-12T16:03:44.894Z] ---> 2d9e2eff0508 [2020-10-12T16:03:44.894Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2020-10-12T16:03:45.166Z] ---> Running in 9b1d31422fe8 [2020-10-12T16:03:45.758Z] Removing intermediate container 9b1d31422fe8 [2020-10-12T16:03:45.758Z] ---> 7d2937bd7090 [2020-10-12T16:03:45.758Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2020-10-12T16:03:45.758Z] ---> Running in 75d02944b727 [2020-10-12T16:03:46.353Z] Removing intermediate container 75d02944b727 [2020-10-12T16:03:46.353Z] ---> 4ccb20161739 [2020-10-12T16:03:46.353Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-12T16:03:46.353Z] ---> Running in 99ada4fc0a85 [2020-10-12T16:03:46.627Z] Removing intermediate container 99ada4fc0a85 [2020-10-12T16:03:46.627Z] ---> 79e1f2863189 [2020-10-12T16:03:46.627Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T16:03:46.898Z] ---> Running in 569f6d7c230f [2020-10-12T16:03:49.506Z] Removing intermediate container 569f6d7c230f [2020-10-12T16:03:49.506Z] ---> 108a6a9a3fb2 [2020-10-12T16:03:49.506Z] Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-12T16:03:49.506Z] ---> Running in 10a1cfc1a971 [2020-10-12T16:03:50.488Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-12T16:03:51.471Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-12T16:03:52.460Z] OK: 144 MiB in 45 packages [2020-10-12T16:03:53.433Z] Removing intermediate container 10a1cfc1a971 [2020-10-12T16:03:53.433Z] ---> d12339366c68 [2020-10-12T16:03:53.433Z] Step 8/27 : WORKDIR /app [2020-10-12T16:03:53.703Z] ---> Running in 40b13c2cd4c2 [2020-10-12T16:03:54.298Z] Removing intermediate container 40b13c2cd4c2 [2020-10-12T16:03:54.298Z] ---> f616aa9d6193 [2020-10-12T16:03:54.298Z] Step 9/27 : COPY go.mod . [2020-10-12T16:03:54.893Z] ---> 9eda6bd1c0de [2020-10-12T16:03:54.893Z] Step 10/27 : RUN go mod download [2020-10-12T16:03:54.893Z] ---> Running in 646593289c79 [2020-10-12T16:03:57.528Z] Removing intermediate container 646593289c79 [2020-10-12T16:03:57.528Z] ---> 1e5cb2ebcce3 [2020-10-12T16:03:57.528Z] Step 11/27 : COPY . . [2020-10-12T16:03:58.510Z] ---> c47b540de125 [2020-10-12T16:03:58.510Z] Step 12/27 : ARG MAKE="make build" [2020-10-12T16:03:58.510Z] ---> Running in af5064383fbe [2020-10-12T16:03:59.105Z] Removing intermediate container af5064383fbe [2020-10-12T16:03:59.105Z] ---> 8601d08e3172 [2020-10-12T16:03:59.105Z] Step 13/27 : RUN $MAKE [2020-10-12T16:03:59.105Z] ---> Running in 9f9a91a59651 [2020-10-12T16:04:00.539Z] 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-12T16:04:37.509Z] Running on prd-ubuntu18.04-docker-8c-8g-4820 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-12T16:04:37.573Z] Running in /w/workspace/app-service-configurable/5 [Pipeline] { [Pipeline] checkout [2020-10-12T16:04:39.712Z] using credential edgex-jenkins-ssh [2020-10-12T16:04:39.786Z] Cloning the remote Git repository [2020-10-12T16:04:39.384Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-12T16:04:39.460Z] > git init /w/workspace/app-service-configurable/5 # timeout=10 [2020-10-12T16:04:39.486Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-12T16:04:39.486Z] > git --version # timeout=10 [2020-10-12T16:04:39.494Z] > git --version # 'git version 2.17.1' [2020-10-12T16:04:39.495Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T16:04:39.516Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T16:04:40.197Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-12T16:04:40.201Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T16:04:40.211Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-12T16:04:40.222Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-12T16:04:40.222Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T16:04:40.226Z] > 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-12T16:04:41.131Z] Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit e92003af6722fe32357d7364a936dad51019c50c [2020-10-12T16:04:41.201Z] Merge succeeded, producing e92003af6722fe32357d7364a936dad51019c50c [2020-10-12T16:04:41.202Z] Checking out Revision e92003af6722fe32357d7364a936dad51019c50c (PR-124) [2020-10-12T16:04:40.707Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T16:04:40.710Z] > git checkout -f e92003af6722fe32357d7364a936dad51019c50c # timeout=10 [2020-10-12T16:04:40.739Z] > git remote # timeout=10 [2020-10-12T16:04:40.746Z] > git config --get remote.origin.url # timeout=10 [2020-10-12T16:04:40.754Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T16:04:40.758Z] > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 [2020-10-12T16:04:40.766Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-12T16:04:40.773Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T16:04:40.776Z] > git checkout -f e92003af6722fe32357d7364a936dad51019c50c # timeout=10 [2020-10-12T16:04:44.886Z] Commit message: "ci: testing new native snap build" [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-10-12T16:04:46.165Z] + echo snap-build.sh [2020-10-12T16:04:46.165Z] snap-build.sh [2020-10-12T16:04:46.165Z] + SNAP_BASE_DIR=. [2020-10-12T16:04:46.165Z] + '[' '!' -z /w/workspace/app-service-configurable/5 ']' [2020-10-12T16:04:46.165Z] + SNAP_BASE_DIR=/w/workspace/app-service-configurable/5 [2020-10-12T16:04:46.165Z] + echo '[snap-build] Building snap in dir [/w/workspace/app-service-configurable/5]' [2020-10-12T16:04:46.165Z] [snap-build] Building snap in dir [/w/workspace/app-service-configurable/5] [2020-10-12T16:04:46.165Z] + cd /w/workspace/app-service-configurable/5 [2020-10-12T16:04:46.165Z] + sudo snap install lxd [2020-10-12T16:04:47.559Z] Removing intermediate container 9f9a91a59651 [2020-10-12T16:04:47.559Z] ---> 326f1bc286bb [2020-10-12T16:04:47.559Z] Step 14/27 : FROM alpine:latest [2020-10-12T16:04:47.559Z] latest: Pulling from library/alpine [2020-10-12T16:04:47.559Z] b538f80385f9: Already exists [2020-10-12T16:04:47.559Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-10-12T16:04:47.559Z] Status: Downloaded newer image for alpine:latest [2020-10-12T16:04:47.559Z] ---> 62ee0e9f8440 [2020-10-12T16:04:47.559Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-12T16:04:47.559Z] ---> Running in bae934a714c9 [2020-10-12T16:04:48.154Z] Removing intermediate container bae934a714c9 [2020-10-12T16:04:48.154Z] ---> b78b5ef2d1f8 [2020-10-12T16:04:48.154Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2020-10-12T16:04:48.154Z] ---> Running in f411c7c99459 [2020-10-12T16:04:48.750Z] Removing intermediate container f411c7c99459 [2020-10-12T16:04:48.750Z] ---> dbcd5639edd3 [2020-10-12T16:04:48.750Z] Step 17/27 : RUN apk --no-cache add ca-certificates zeromq [2020-10-12T16:04:48.750Z] ---> Running in c82b2e5a9efc [2020-10-12T16:04:50.182Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-12T16:04:50.456Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-12T16:04:51.050Z] (1/6) Installing ca-certificates (20191127-r4) [2020-10-12T16:04:51.050Z] (2/6) Installing libgcc (9.3.0-r2) [2020-10-12T16:04:51.050Z] (3/6) Installing libsodium (1.0.18-r0) [2020-10-12T16:04:51.050Z] (4/6) Installing libstdc++ (9.3.0-r2) [2020-10-12T16:04:51.050Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-12T16:04:51.050Z] (6/6) Installing zeromq (4.3.3-r0) [2020-10-12T16:04:51.050Z] Executing busybox-1.31.1-r16.trigger [2020-10-12T16:04:51.050Z] Executing ca-certificates-20191127-r4.trigger [2020-10-12T16:04:51.328Z] OK: 9 MiB in 20 packages [2020-10-12T16:04:52.781Z] 2020-10-12T16:04:51Z INFO Waiting for automatic snapd restart... [2020-10-12T16:04:53.308Z] Removing intermediate container c82b2e5a9efc [2020-10-12T16:04:53.308Z] ---> eee0a6afe4bf [2020-10-12T16:04:53.308Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2020-10-12T16:04:53.902Z] ---> 30535d4b5343 [2020-10-12T16:04:53.902Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2020-10-12T16:04:54.880Z] ---> 14b7600cc6c9 [2020-10-12T16:04:54.880Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2020-10-12T16:04:55.474Z] ---> 76cc729b245e [2020-10-12T16:04:55.474Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2020-10-12T16:04:56.919Z] ---> 7cf425fa1bce [2020-10-12T16:04:56.919Z] Step 22/27 : EXPOSE 48095 [2020-10-12T16:04:57.201Z] ---> Running in 056d1911eb85 [2020-10-12T16:04:57.476Z] Removing intermediate container 056d1911eb85 [2020-10-12T16:04:57.476Z] ---> dba6fb12f6d5 [2020-10-12T16:04:57.476Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2020-10-12T16:04:57.750Z] ---> Running in 178cc2d5fbd1 [2020-10-12T16:04:58.028Z] Removing intermediate container 178cc2d5fbd1 [2020-10-12T16:04:58.028Z] ---> efef33f34b94 [2020-10-12T16:04:58.028Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-12T16:04:58.301Z] ---> Running in 3ee53a072d14 [2020-10-12T16:04:58.897Z] Removing intermediate container 3ee53a072d14 [2020-10-12T16:04:58.897Z] ---> 716479d86264 [2020-10-12T16:04:58.897Z] Step 25/27 : LABEL arch=arm64 [2020-10-12T16:04:58.897Z] ---> Running in a9a79b2aa6df [2020-10-12T16:04:59.491Z] Removing intermediate container a9a79b2aa6df [2020-10-12T16:04:59.491Z] ---> 4413628b8915 [2020-10-12T16:04:59.491Z] Step 26/27 : LABEL git_sha=e92003af6722fe32357d7364a936dad51019c50c [2020-10-12T16:04:59.491Z] ---> Running in 3a080efe40e5 [2020-10-12T16:05:00.084Z] Removing intermediate container 3a080efe40e5 [2020-10-12T16:05:00.084Z] ---> a3b096e9eb9d [2020-10-12T16:05:00.084Z] Step 27/27 : LABEL version=0.0.0 [2020-10-12T16:05:00.084Z] ---> Running in ef56235184f8 [2020-10-12T16:05:00.676Z] Removing intermediate container ef56235184f8 [2020-10-12T16:05:00.676Z] ---> be12a99b6a6b [2020-10-12T16:05:00.676Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-12T16:05:00.676Z] Successfully built be12a99b6a6b [2020-10-12T16:05:00.676Z] 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-12T16:05:07.759Z] lxd 4.6 from Canonical* installed [2020-10-12T16:05:07.759Z] + sudo snap install --classic snapcraft [2020-10-12T16:05:10.320Z] snapcraft 4.3 from Canonical* installed [2020-10-12T16:05:10.320Z] + sudo lxd init --auto [2020-10-12T16:05:16.425Z] Still waiting to schedule task [2020-10-12T16:05:16.426Z] All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline [2020-10-12T16:05:20.429Z] + snapcraft --use-lxd [2020-10-12T16:05:21.006Z] The 'snap' directory is meant specifically for snapcraft, but it contains the following non-snapcraft-related paths, which is unsupported and will cause unexpected behavior: [2020-10-12T16:05:21.006Z] - README.md [2020-10-12T16:05:21.006Z] [2020-10-12T16:05:21.006Z] If you must store these files within the 'snap' directory, move them to 'snap/local', which is ignored by snapcraft. [2020-10-12T16:05:21.268Z] The 'LXD' provider does not support having the 'lxd' or 'lxd-client' deb packages installed. To completely migrate to the LXD snap run 'lxd.migrate' and try again. [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-12T16:05:22.704Z] Failed in branch amd64 [2020-10-12T16:07:10.706Z] Running on prd-ubuntu18.04-docker-arm64-16c-16g-4824 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-12T16:07:10.776Z] Running in /w/workspace/app-service-configurable/5 [Pipeline] { [Pipeline] checkout [2020-10-12T16:07:15.252Z] using credential edgex-jenkins-ssh [2020-10-12T16:07:15.310Z] Cloning the remote Git repository [2020-10-12T16:07:15.366Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-12T16:07:15.464Z] > git init /w/workspace/app-service-configurable/5 # timeout=10 [2020-10-12T16:07:15.532Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-12T16:07:15.532Z] > git --version # timeout=10 [2020-10-12T16:07:15.547Z] > git --version # 'git version 2.17.1' [2020-10-12T16:07:15.550Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T16:07:15.598Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T16:07:16.835Z] Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit e92003af6722fe32357d7364a936dad51019c50c [2020-10-12T16:07:16.229Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-12T16:07:16.241Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T16:07:16.261Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-12T16:07:16.289Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-12T16:07:16.289Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T16:07:16.302Z] > 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-12T16:07:16.856Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T16:07:16.867Z] > git checkout -f e92003af6722fe32357d7364a936dad51019c50c # timeout=10 [2020-10-12T16:07:16.940Z] > git remote # timeout=10 [2020-10-12T16:07:17.024Z] Merge succeeded, producing e92003af6722fe32357d7364a936dad51019c50c [2020-10-12T16:07:17.025Z] Checking out Revision e92003af6722fe32357d7364a936dad51019c50c (PR-124) [2020-10-12T16:07:16.956Z] > git config --get remote.origin.url # timeout=10 [2020-10-12T16:07:16.966Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T16:07:16.976Z] > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 [2020-10-12T16:07:17.012Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-12T16:07:17.036Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T16:07:17.049Z] > git checkout -f e92003af6722fe32357d7364a936dad51019c50c # timeout=10 [2020-10-12T16:07:21.222Z] Commit message: "ci: testing new native snap build" [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-10-12T16:07:22.657Z] + echo snap-build.sh [2020-10-12T16:07:22.657Z] snap-build.sh [2020-10-12T16:07:22.657Z] + SNAP_BASE_DIR=. [2020-10-12T16:07:22.657Z] + '[' '!' -z /w/workspace/app-service-configurable/5 ']' [2020-10-12T16:07:22.657Z] + SNAP_BASE_DIR=/w/workspace/app-service-configurable/5 [2020-10-12T16:07:22.657Z] + echo '[snap-build] Building snap in dir [/w/workspace/app-service-configurable/5]' [2020-10-12T16:07:22.657Z] [snap-build] Building snap in dir [/w/workspace/app-service-configurable/5] [2020-10-12T16:07:22.657Z] + cd /w/workspace/app-service-configurable/5 [2020-10-12T16:07:22.657Z] + sudo snap install lxd [2020-10-12T16:07:49.445Z] 2020-10-12T16:07:37Z INFO Waiting for restart... [2020-10-12T16:08:28.427Z] lxd 4.6 from Canonical* installed [2020-10-12T16:08:28.427Z] + sudo snap install --classic snapcraft [2020-10-12T16:08:43.492Z] snapcraft 4.3 from Canonical* installed [2020-10-12T16:08:43.492Z] + sudo lxd init --auto [2020-10-12T16:10:35.322Z] + snapcraft --use-lxd [2020-10-12T16:10:35.322Z] /w/workspace/app-service-configurable/5@tmp/durable-679c3cf2/script.sh: line 22: snapcraft: command not found [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-12T16:10:36.463Z] 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-12T16:10:39.669Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T16:10:40.244Z] ---> package-listing.sh [2020-10-12T16:10:40.244Z] ++ facter osfamily [2020-10-12T16:10:40.244Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-12T16:10:40.244Z] + OS_FAMILY=redhat [2020-10-12T16:10:40.244Z] + workspace=/w/workspace/_app-service-configurable_PR-124 [2020-10-12T16:10:40.244Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-12T16:10:40.244Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-12T16:10:40.244Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-12T16:10:40.244Z] + PACKAGES=/tmp/packages_start.txt [2020-10-12T16:10:40.244Z] + '[' /w/workspace/_app-service-configurable_PR-124 ']' [2020-10-12T16:10:40.244Z] + PACKAGES=/tmp/packages_end.txt [2020-10-12T16:10:40.244Z] + case "${OS_FAMILY}" in [2020-10-12T16:10:40.244Z] + rpm -qa [2020-10-12T16:10:40.244Z] + sort [2020-10-12T16:10:44.474Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-12T16:10:44.474Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-12T16:10:44.474Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-12T16:10:44.474Z] + '[' /w/workspace/_app-service-configurable_PR-124 ']' [2020-10-12T16:10:44.474Z] + mkdir -p /w/workspace/_app-service-configurable_PR-124/archives/ [2020-10-12T16:10:44.474Z] + 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-12T16:10:44.487Z] 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-12T16:10:44.780Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-12T16:10:45.085Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-12T16:10:45.086Z] [2020-10-12T16:10:45.086Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-12T16:10:45.441Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-12T16:10:45.442Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-12T16:10:45.442Z] df20fa9351a1: Pulling fs layer [2020-10-12T16:10:45.442Z] 36b3adc4ff6f: Pulling fs layer [2020-10-12T16:10:45.442Z] 8ad3a11d3b57: Pulling fs layer [2020-10-12T16:10:45.442Z] 46f8f816bc3b: Pulling fs layer [2020-10-12T16:10:45.442Z] 93b61091891f: Pulling fs layer [2020-10-12T16:10:45.442Z] 93b9cdb0e59b: Pulling fs layer [2020-10-12T16:10:45.442Z] 5e14af77c1be: Pulling fs layer [2020-10-12T16:10:45.442Z] 01666e4c0597: Pulling fs layer [2020-10-12T16:10:45.442Z] aa168da1d23b: Pulling fs layer [2020-10-12T16:10:45.442Z] 93b9cdb0e59b: Waiting [2020-10-12T16:10:45.442Z] 5e14af77c1be: Waiting [2020-10-12T16:10:45.442Z] 01666e4c0597: Waiting [2020-10-12T16:10:45.442Z] aa168da1d23b: Waiting [2020-10-12T16:10:45.442Z] 46f8f816bc3b: Waiting [2020-10-12T16:10:45.442Z] 93b61091891f: Waiting [2020-10-12T16:10:45.442Z] 36b3adc4ff6f: Verifying Checksum [2020-10-12T16:10:45.442Z] 36b3adc4ff6f: Download complete [2020-10-12T16:10:45.442Z] 46f8f816bc3b: Verifying Checksum [2020-10-12T16:10:45.442Z] 46f8f816bc3b: Download complete [2020-10-12T16:10:45.442Z] df20fa9351a1: Verifying Checksum [2020-10-12T16:10:45.442Z] 93b9cdb0e59b: Verifying Checksum [2020-10-12T16:10:45.442Z] 93b9cdb0e59b: Download complete [2020-10-12T16:10:45.442Z] 93b61091891f: Verifying Checksum [2020-10-12T16:10:45.442Z] 93b61091891f: Download complete [2020-10-12T16:10:45.705Z] 5e14af77c1be: Verifying Checksum [2020-10-12T16:10:45.706Z] 5e14af77c1be: Download complete [2020-10-12T16:10:45.706Z] 01666e4c0597: Verifying Checksum [2020-10-12T16:10:45.706Z] 01666e4c0597: Download complete [2020-10-12T16:10:45.968Z] df20fa9351a1: Pull complete [2020-10-12T16:10:45.968Z] 8ad3a11d3b57: Verifying Checksum [2020-10-12T16:10:45.968Z] 8ad3a11d3b57: Download complete [2020-10-12T16:10:46.233Z] 36b3adc4ff6f: Pull complete [2020-10-12T16:10:47.190Z] 8ad3a11d3b57: Pull complete [2020-10-12T16:10:47.190Z] 46f8f816bc3b: Pull complete [2020-10-12T16:10:47.458Z] 93b61091891f: Pull complete [2020-10-12T16:10:47.723Z] aa168da1d23b: Verifying Checksum [2020-10-12T16:10:47.723Z] aa168da1d23b: Download complete [2020-10-12T16:10:47.723Z] 93b9cdb0e59b: Pull complete [2020-10-12T16:10:47.723Z] 5e14af77c1be: Pull complete [2020-10-12T16:10:47.994Z] 01666e4c0597: Pull complete [2020-10-12T16:10:54.637Z] aa168da1d23b: Pull complete [2020-10-12T16:10:54.637Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-12T16:10:54.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-12T16:10:54.637Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-12T16:10:54.839Z] prd-centos7-docker-4c-2g-4813 does not seem to be running inside a container [2020-10-12T16:10:54.886Z] $ 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-12T16:10:59.166Z] $ docker top 1213cb0ecd49d36b23acdec972ea4e15251853e87b54e356154f11366c7af0d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T16:10:59.652Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-12T16:10:59.954Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-12T16:11:00.255Z] + ls /var/log/sa-host [2020-10-12T16:11:00.255Z] + sadf -c /var/log/sa-host/sa05 [2020-10-12T16:11:00.255Z] file_magic: OK [2020-10-12T16:11:00.255Z] HZ: Using current value: 100 [2020-10-12T16:11:00.255Z] file_header: OK [2020-10-12T16:11:00.255Z] 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-12T16:11:00.255Z] Statistics: [2020-10-12T16:11:00.255Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-12T16:11:00.255Z] File successfully converted to sysstat format version 12.2.1 [2020-10-12T16:11:00.255Z] + sadf -c /var/log/sa-host/sa12 [2020-10-12T16:11:00.255Z] file_magic: OK [2020-10-12T16:11:00.255Z] HZ: Using current value: 100 [2020-10-12T16:11:00.255Z] file_header: OK [2020-10-12T16:11:00.255Z] 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-12T16:11:00.255Z] Statistics: [2020-10-12T16:11:00.255Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-12T16:11:00.255Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-12T16:11:00.498Z] provisioning config files... [2020-10-12T16:11:00.519Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-124@tmp/config1676970799299364234tmp [Pipeline] { [Pipeline] echo [2020-10-12T16:11:00.591Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T16:11:00.890Z] ---> create-netrc.sh [Pipeline] } [2020-10-12T16:11:00.900Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-12T16:11:01.025Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T16:11:01.323Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-12T16:11:01.335Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T16:11:01.641Z] ---> sudo-logs.sh [2020-10-12T16:11:01.642Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-12T16:11:01.657Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T16:11:01.959Z] ---> job-cost.sh [2020-10-12T16:11:01.959Z] lf-activate-venv: SKIPPING [2020-10-12T16:11:01.959Z] INFO: No Stack... [2020-10-12T16:11:02.907Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-12T16:11:03.484Z] INFO: Archiving Costs [Pipeline] echo [2020-10-12T16:11:03.498Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T16:11:03.794Z] ---> logs-deploy.sh [2020-10-12T16:11:03.794Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-124/5 [2020-10-12T16:11:03.794Z] INFO: archiving workspace using pattern(s): [2020-10-12T16:11:05.717Z] Archives upload complete. [2020-10-12T16:11:05.718Z] INFO: archiving logs to Nexus