Pull request #124 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d+b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 (1a77c6182f6bc99ea1562a2236f9c8ca05e6ccf2) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@efada01dddc644051883a424356893eca9caef03 Attempting to resolve efada01dddc644051883a424356893eca9caef03 from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Could not find efada01dddc644051883a424356893eca9caef03 in remote references. Pulling heads to local for deep search... > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git rev-parse efada01dddc644051883a424356893eca9caef03^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains efada01dddc644051883a424356893eca9caef03 # timeout=10 Selected match: pr/264/merge revision efada01dddc644051883a424356893eca9caef03 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efada01dddc644051883a424356893eca9caef03 (pr/264/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f efada01dddc644051883a424356893eca9caef03 # timeout=10 Commit message: "feat(snap): Use new native build script" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-4802 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-124 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d Merge succeeded, producing 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d Checking out Revision 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d (PR-124) > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d # timeout=10 Commit message: "ci: testing new native snap build" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk eb95a8810dbf10c9fd4fedba36a0f72971cb7199 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:43:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:43:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:43:56 ========================================================= 15:43:56 EdgeX Global Pipelines Version Info 15:43:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:43:58 ------------------- 15:43:58 stable info: 15:43:58 ------------------- 15:43:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:43:58 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 15:43:58 Message: update stable to v1.0.131 15:43:58 ------------------- 15:43:58 experimental info: 15:43:58 ------------------- 15:43:58 Commited By: **** collab-it+edgex@linuxfoundation.org 15:43:58 Commit SHA: 2e6d42a532571151575c80d72899821df0f9b0af 15:43:58 Message: update experimental to v1.0.135 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:44:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:44:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:44:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-service-configurable [Pipeline] echo 15:44:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:44:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:44:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:44:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:44:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:44:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:44:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:44:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 15:44:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:44:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:44:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:44:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:44:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:44:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-124 [Pipeline] echo 15:44:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-124 [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-124 [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5eaaeaa [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:44:02 + git log --format=format:%s -1 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d [Pipeline] echo 15:44:03 GIT_COMMIT: 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d, Commit Message: ci: testing new native snap build [Pipeline] echo 15:44:03 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:44:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:44:03 15:44:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:44:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:44:04 latest: Pulling from edgex-devops/git-semver 15:44:04 31603596830f: Pulling fs layer 15:44:04 2a8b12db71e7: Pulling fs layer 15:44:04 6ca5941a6612: Pulling fs layer 15:44:04 ecc8261a40a4: Pulling fs layer 15:44:04 ecc8261a40a4: Waiting 15:44:04 2a8b12db71e7: Verifying Checksum 15:44:04 2a8b12db71e7: Download complete 15:44:04 31603596830f: Download complete 15:44:04 ecc8261a40a4: Verifying Checksum 15:44:04 ecc8261a40a4: Download complete 15:44:04 6ca5941a6612: Verifying Checksum 15:44:04 6ca5941a6612: Download complete 15:44:04 31603596830f: Pull complete 15:44:05 2a8b12db71e7: Pull complete 15:44:05 6ca5941a6612: Pull complete 15:44:05 ecc8261a40a4: Pull complete 15:44:05 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 15:44:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:44:05 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:44:06 prd-centos7-docker-4c-2g-4802 does not seem to be running inside a container 15:44:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-124 -v /w/workspace/_app-service-configurable_PR-124:/w/workspace/_app-service-configurable_PR-124:rw,z -v /w/workspace/_app-service-configurable_PR-124@tmp:/w/workspace/_app-service-configurable_PR-124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:44:08 $ docker top be62abd0658e9af2d981065b4f5d2c6b31db7915dd2f1663cfbba9d5d8913fec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:44:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:44:09 [ssh-agent] Looking for ssh-agent implementation... 15:44:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:44:09 $ docker exec be62abd0658e9af2d981065b4f5d2c6b31db7915dd2f1663cfbba9d5d8913fec ssh-agent 15:44:09 SSH_AUTH_SOCK=/tmp/ssh-vpmeonVn7Xnk/agent.11 15:44:09 SSH_AGENT_PID=16 15:44:09 Running ssh-add (command line suppressed) 15:44:09 Identity added: /w/workspace/_app-service-configurable_PR-124@tmp/private_key_4478164211315353450.key (/w/workspace/_app-service-configurable_PR-124@tmp/private_key_4478164211315353450.key) 15:44:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:44:09 + git tag --points-at HEAD [Pipeline] } 15:44:09 $ docker exec --env ******** --env ******** be62abd0658e9af2d981065b4f5d2c6b31db7915dd2f1663cfbba9d5d8913fec ssh-agent -k 15:44:10 unset SSH_AUTH_SOCK; 15:44:10 unset SSH_AGENT_PID; 15:44:10 echo Agent pid 16 killed; 15:44:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:44:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:44:10 [ssh-agent] Looking for ssh-agent implementation... 15:44:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:44:10 $ docker exec be62abd0658e9af2d981065b4f5d2c6b31db7915dd2f1663cfbba9d5d8913fec ssh-agent 15:44:10 SSH_AUTH_SOCK=/tmp/ssh-C7DSAGGnf3FG/agent.45 15:44:10 SSH_AGENT_PID=50 15:44:10 Running ssh-add (command line suppressed) 15:44:10 Identity added: /w/workspace/_app-service-configurable_PR-124@tmp/private_key_2203476548307555301.key (/w/workspace/_app-service-configurable_PR-124@tmp/private_key_2203476548307555301.key) 15:44:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:44:11 + git semver init 15:44:11 # -> Open(): unable to determine branch for HEAD 15:44:11 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-124/.git 15:44:11 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-124 15:44:11 # $SEMVER_REMOTE_NAME = origin 15:44:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:44:11 # $SEMVER_USER_NAME = edgex-jenkins 15:44:11 # $SEMVER_BRANCH = PR-124 15:44:11 # $SEMVER_TEMP = /tmp/semver-164612095 15:44:11 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 15:44:11 # '/tmp/semver-164612095' -> '/w/workspace/_app-service-configurable_PR-124/.semver' 15:44:11 # -> Force: false 15:44:11 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-124/.semver [Pipeline] } 15:44:11 $ docker exec --env ******** --env ******** be62abd0658e9af2d981065b4f5d2c6b31db7915dd2f1663cfbba9d5d8913fec ssh-agent -k 15:44:11 unset SSH_AUTH_SOCK; 15:44:11 unset SSH_AGENT_PID; 15:44:11 echo Agent pid 50 killed; 15:44:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:44:12 + git semver [Pipeline] } 15:44:12 $ docker stop --time=1 be62abd0658e9af2d981065b4f5d2c6b31db7915dd2f1663cfbba9d5d8913fec 15:44:13 $ docker rm -f be62abd0658e9af2d981065b4f5d2c6b31db7915dd2f1663cfbba9d5d8913fec [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 15:44:14 Stashed 1 file(s) [Pipeline] echo 15:44:14 [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 15:44:29 Still waiting to schedule task 15:44:29 Waiting for next available executor on ‘centos7-docker-4c-2g’ 15:44:29 Still waiting to schedule task 15:44:29 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline 15:46:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4803 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws 15:46:16 Running in /w/workspace/app-service-configurable/4 [Pipeline] { [Pipeline] checkout 15:46:21 using credential edgex-jenkins-ssh 15:46:21 Cloning the remote Git repository 15:46:21 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 15:46:21 > git init /w/workspace/app-service-configurable/4 # timeout=10 15:46:21 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 15:46:21 > git --version # timeout=10 15:46:21 > git --version # 'git version 2.17.1' 15:46:21 using GIT_SSH to set credentials SSH Credentials for GitHub 15:46:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:46:22 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 15:46:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:46:22 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 15:46:22 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 15:46:22 using GIT_SSH to set credentials SSH Credentials for GitHub 15:46:22 > 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 15:46:23 Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d 15:46:23 Merge succeeded, producing 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d 15:46:23 Checking out Revision 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d (PR-124) 15:46:23 > git config core.sparsecheckout # timeout=10 15:46:23 > git checkout -f 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d # timeout=10 15:46:23 > git remote # timeout=10 15:46:23 > git config --get remote.origin.url # timeout=10 15:46:23 using GIT_SSH to set credentials SSH Credentials for GitHub 15:46:23 > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 15:46:23 > git rev-parse HEAD^{commit} # timeout=10 15:46:23 > git config core.sparsecheckout # timeout=10 15:46:23 > git checkout -f 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d # timeout=10 15:46:27 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 15:46:28 ========================================================= 15:46:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 15:46:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:46:29 + 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 . 15:46:30 Sending build context to Docker daemon 93.7kB 15:46:30 Step 1/8 : ARG BASE=golang:1.15-alpine 15:46:30 Step 2/8 : FROM ${BASE} 15:46:30 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:46:30 b538f80385f9: Pulling fs layer 15:46:30 74f711af9a0d: Pulling fs layer 15:46:30 99f96fe45779: Pulling fs layer 15:46:30 8529a6b9a6be: Pulling fs layer 15:46:30 45590311c82a: Pulling fs layer 15:46:30 69ca0ff8b7b3: Pulling fs layer 15:46:30 209524e5b208: Pulling fs layer 15:46:30 45590311c82a: Waiting 15:46:30 69ca0ff8b7b3: Waiting 15:46:30 8529a6b9a6be: Waiting 15:46:30 209524e5b208: Waiting 15:46:30 99f96fe45779: Verifying Checksum 15:46:30 99f96fe45779: Download complete 15:46:31 74f711af9a0d: Verifying Checksum 15:46:31 74f711af9a0d: Download complete 15:46:31 45590311c82a: Verifying Checksum 15:46:31 45590311c82a: Download complete 15:46:31 69ca0ff8b7b3: Download complete 15:46:31 b538f80385f9: Download complete 15:46:32 b538f80385f9: Pull complete 15:46:32 74f711af9a0d: Pull complete 15:46:33 99f96fe45779: Pull complete 15:46:34 209524e5b208: Verifying Checksum 15:46:34 209524e5b208: Download complete 15:46:35 8529a6b9a6be: Verifying Checksum 15:46:35 8529a6b9a6be: Download complete 15:46:45 8529a6b9a6be: Pull complete 15:46:45 45590311c82a: Pull complete 15:46:46 69ca0ff8b7b3: Pull complete 15:46:50 209524e5b208: Pull complete 15:46:50 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 15:46:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 15:46:50 ---> 5bddaf1c2fca 15:46:50 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:46:53 ---> Running in a633c8c6ab37 15:46:53 Removing intermediate container a633c8c6ab37 15:46:53 ---> 94cd42037a75 15:46:53 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:46:53 ---> Running in 626ca7d0cf8f 15:46:55 Removing intermediate container 626ca7d0cf8f 15:46:55 ---> e043b8af7a7d 15:46:55 Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash 15:46:56 ---> Running in 914171e5d753 15:46:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:46:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:46:59 (1/6) Installing libc-dev (0.7.2-r3) 15:46:59 (2/6) Installing libsodium (1.0.18-r0) 15:46:59 (3/6) Installing pkgconf (1.7.2-r0) 15:46:59 (4/6) Installing libsodium-dev (1.0.18-r0) 15:46:59 (5/6) Installing libzmq (4.3.3-r0) 15:46:59 (6/6) Installing zeromq-dev (4.3.3-r0) 15:46:59 Executing busybox-1.31.1-r16.trigger 15:46:59 OK: 144 MiB in 45 packages 15:47:00 Removing intermediate container 914171e5d753 15:47:00 ---> 08f8092e3536 15:47:00 Step 6/8 : WORKDIR /app 15:47:01 ---> Running in a001c8720527 15:47:01 Removing intermediate container a001c8720527 15:47:01 ---> 5c6bcf09489a 15:47:01 Step 7/8 : COPY . . 15:47:02 ---> bf43d5991476 15:47:02 Step 8/8 : RUN go mod download 15:47:02 ---> Running in 128ab405eac7 15:47:09 Running on prd-centos7-docker-4c-2g-4804 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws 15:47:10 Running in /w/workspace/app-service-configurable/4 [Pipeline] { [Pipeline] checkout 15:47:12 using credential edgex-jenkins-ssh 15:47:12 Cloning the remote Git repository 15:47:12 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 15:47:12 > git init /w/workspace/app-service-configurable/4 # timeout=10 15:47:12 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 15:47:12 > git --version # timeout=10 15:47:12 > git --version # 'git version 2.16.5' 15:47:12 using GIT_SSH to set credentials SSH Credentials for GitHub 15:47:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:47:13 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 15:47:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:47:13 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 15:47:13 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 15:47:13 using GIT_SSH to set credentials SSH Credentials for GitHub 15:47:13 > 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 15:47:14 Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d 15:47:14 Merge succeeded, producing 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d 15:47:14 Checking out Revision 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d (PR-124) 15:47:14 > git config core.sparsecheckout # timeout=10 15:47:14 > git checkout -f 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d # timeout=10 15:47:14 > git remote # timeout=10 15:47:14 > git config --get remote.origin.url # timeout=10 15:47:14 using GIT_SSH to set credentials SSH Credentials for GitHub 15:47:14 > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 15:47:14 > git rev-parse HEAD^{commit} # timeout=10 15:47:14 > git config core.sparsecheckout # timeout=10 15:47:14 > git checkout -f 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d # timeout=10 15:47:18 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 15:47:19 ========================================================= 15:47:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 15:47:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:47:19 + 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 . 15:47:19 Sending build context to Docker daemon 93.7kB 15:47:20 Step 1/8 : ARG BASE=golang:1.15-alpine 15:47:20 Step 2/8 : FROM ${BASE} 15:47:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 15:47:20 df20fa9351a1: Pulling fs layer 15:47:20 ed8968b2872e: Pulling fs layer 15:47:20 a92cc7c5fd73: Pulling fs layer 15:47:20 e871e8e8d7a9: Pulling fs layer 15:47:20 e73272ec9a57: Pulling fs layer 15:47:20 1e910a182e73: Pulling fs layer 15:47:20 4e634b169226: Pulling fs layer 15:47:20 e73272ec9a57: Waiting 15:47:20 1e910a182e73: Waiting 15:47:20 4e634b169226: Waiting 15:47:20 e871e8e8d7a9: Waiting 15:47:20 a92cc7c5fd73: Verifying Checksum 15:47:20 a92cc7c5fd73: Download complete 15:47:20 ed8968b2872e: Download complete 15:47:20 e73272ec9a57: Verifying Checksum 15:47:20 e73272ec9a57: Download complete 15:47:20 1e910a182e73: Download complete 15:47:20 df20fa9351a1: Verifying Checksum 15:47:20 df20fa9351a1: Download complete 15:47:20 df20fa9351a1: Pull complete 15:47:20 ed8968b2872e: Pull complete 15:47:20 a92cc7c5fd73: Pull complete 15:47:22 4e634b169226: Verifying Checksum 15:47:22 4e634b169226: Download complete 15:47:22 e871e8e8d7a9: Verifying Checksum 15:47:22 e871e8e8d7a9: Download complete 15:47:28 e871e8e8d7a9: Pull complete 15:47:28 e73272ec9a57: Pull complete 15:47:28 1e910a182e73: Pull complete 15:47:32 4e634b169226: Pull complete 15:47:32 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 15:47:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 15:47:32 ---> f7629b54cfaa 15:47:32 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:47:32 ---> Running in c2624182cf20 15:47:32 Removing intermediate container c2624182cf20 15:47:32 ---> 7d0e37b19b01 15:47:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:47:32 ---> Running in 0221d95a2eb2 15:47:34 Removing intermediate container 0221d95a2eb2 15:47:34 ---> 0c053c12529c 15:47:34 Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash 15:47:34 ---> Running in a0c7277c4a1e 15:47:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:47:34 Removing intermediate container 128ab405eac7 15:47:34 ---> 266d9c195b49 15:47:34 Successfully built 266d9c195b49 15:47:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:47:35 + docker inspect -f . ci-base-image-arm64 15:47:35 . [Pipeline] withDockerContainer 15:47:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:47:35 prd-ubuntu18.04-docker-arm64-4c-16g-4803 does not seem to be running inside a container 15:47:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:47:35 (1/6) Installing libc-dev (0.7.2-r3) 15:47:35 (2/6) Installing libsodium (1.0.18-r0) 15:47:36 (3/6) Installing pkgconf (1.7.2-r0) 15:47:36 (4/6) Installing libsodium-dev (1.0.18-r0) 15:47:36 (5/6) Installing libzmq (4.3.3-r0) 15:47:36 (6/6) Installing zeromq-dev (4.3.3-r0) 15:47:36 Executing busybox-1.31.1-r16.trigger 15:47:36 OK: 167 MiB in 45 packages 15:47:37 $ docker top 83dd1d589200a4700bf98e9de14ca78f6cedf7da5c25fc088f774fc9b104e700 -eo pid,comm 15:47:37 Removing intermediate container a0c7277c4a1e 15:47:37 ---> cba52571a774 15:47:37 Step 6/8 : WORKDIR /app 15:47:37 ---> Running in edbe0108aca3 15:47:37 Removing intermediate container edbe0108aca3 15:47:37 ---> b8ea3fc02233 15:47:37 Step 7/8 : COPY . . [Pipeline] { 15:47:37 ---> 9329ed5edf12 15:47:37 Step 8/8 : RUN go mod download [Pipeline] sh 15:47:38 ---> Running in 015d2502f635 15:47:39 + go version 15:47:39 go version go1.15.2 linux/arm64 [Pipeline] } 15:47:39 $ docker stop --time=1 83dd1d589200a4700bf98e9de14ca78f6cedf7da5c25fc088f774fc9b104e700 15:47:40 $ docker rm -f 83dd1d589200a4700bf98e9de14ca78f6cedf7da5c25fc088f774fc9b104e700 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:47:41 + docker inspect -f . ci-base-image-arm64 15:47:41 . [Pipeline] withDockerContainer 15:47:42 prd-ubuntu18.04-docker-arm64-4c-16g-4803 does not seem to be running inside a container 15:47:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:47:44 $ docker top c07f7fd029c160edbcc870b04028cd0e89d551e0bde8091c831f4e8db6f7bec0 -eo pid,comm [Pipeline] { [Pipeline] sh 15:47:45 + make test 15:47:45 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 15:48:04 Removing intermediate container 015d2502f635 15:48:04 ---> 74a565b82439 15:48:04 Successfully built 74a565b82439 15:48:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:48:05 + docker inspect -f . ci-base-image-x86_64 15:48:05 . [Pipeline] withDockerContainer 15:48:05 prd-centos7-docker-4c-2g-4804 does not seem to be running inside a container 15:48:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:48:06 $ docker top c674c6876420a7cc9c3f0ce8ee2edbbf6086f6c4bf569cc52d67ea7f1ce0569b -eo pid,comm [Pipeline] { [Pipeline] sh 15:48:06 + go version 15:48:06 go version go1.15.2 linux/amd64 [Pipeline] } 15:48:06 $ docker stop --time=1 c674c6876420a7cc9c3f0ce8ee2edbbf6086f6c4bf569cc52d67ea7f1ce0569b 15:48:08 $ docker rm -f c674c6876420a7cc9c3f0ce8ee2edbbf6086f6c4bf569cc52d67ea7f1ce0569b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:48:10 + docker inspect -f . ci-base-image-x86_64 15:48:10 . [Pipeline] withDockerContainer 15:48:10 prd-centos7-docker-4c-2g-4804 does not seem to be running inside a container 15:48:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:48:10 $ docker top 16315d1476842588c8c27fa9716ec4ffd7290580d8dc0a07db6a1a4dadc34737 -eo pid,comm [Pipeline] { [Pipeline] sh 15:48:11 + make test 15:48:11 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 15:48:26 ? github.com/edgexfoundry/app-service-configurable [no test files] 15:48:26 CGO_ENABLED=1 go vet ./... 15:48:31 gofmt -l . 15:48:31 [ "`gofmt -l .`" = "" ] 15:48:31 ./bin/test-go-mod-tidy.sh 15:48:31 ./bin/test-attribution-txt.sh [Pipeline] stash 15:48:31 Stashed 1 file(s) [Pipeline] } 15:48:31 $ docker stop --time=1 16315d1476842588c8c27fa9716ec4ffd7290580d8dc0a07db6a1a4dadc34737 15:48:34 $ docker rm -f 16315d1476842588c8c27fa9716ec4ffd7290580d8dc0a07db6a1a4dadc34737 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:48:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:48:37 + ls -al . 15:48:37 total 96 15:48:37 drwxrwxr-x. 7 jenkins jenkins 4096 Oct 12 15:48 . 15:48:37 drwxrwxr-x. 4 jenkins jenkins 28 Oct 12 15:47 .. 15:48:37 -rw-rw-r--. 1 jenkins jenkins 6568 Oct 12 15:47 Attribution.txt 15:48:37 drwxrwxr-x. 2 jenkins jenkins 64 Oct 12 15:47 bin 15:48:37 -rw-r--r--. 1 jenkins jenkins 10 Oct 12 15:48 coverage.out 15:48:37 -rw-rw-r--. 1 jenkins jenkins 180 Oct 12 15:47 docker-compose.debug.yml 15:48:37 -rw-rw-r--. 1 jenkins jenkins 133 Oct 12 15:47 docker-compose.yml 15:48:37 -rw-rw-r--. 1 jenkins jenkins 2002 Oct 12 15:47 Dockerfile 15:48:37 -rw-rw-r--. 1 jenkins jenkins 966 Oct 12 15:47 Dockerfile.build 15:48:37 -rw-rw-r--. 1 jenkins jenkins 119 Oct 12 15:47 .dockerignore 15:48:37 drwxrwxr-x. 8 jenkins jenkins 179 Oct 12 15:47 .git 15:48:37 drwxrwxr-x. 2 jenkins jenkins 81 Oct 12 15:47 .github 15:48:37 -rw-rw-r--. 1 jenkins jenkins 93 Oct 12 15:47 .gitignore 15:48:37 -rw-r--r--. 1 jenkins jenkins 133 Oct 12 15:48 go.mod 15:48:37 -rw-r--r--. 1 jenkins jenkins 19640 Oct 12 15:48 go.sum 15:48:37 -rw-rw-r--. 1 jenkins jenkins 766 Oct 12 15:47 Jenkinsfile 15:48:37 -rw-rw-r--. 1 jenkins jenkins 10174 Oct 12 15:47 LICENSE 15:48:37 -rw-rw-r--. 1 jenkins jenkins 1519 Oct 12 15:47 main.go 15:48:37 -rw-rw-r--. 1 jenkins jenkins 1573 Oct 12 15:47 makefile 15:48:37 -rw-rw-r--. 1 jenkins jenkins 1277 Oct 12 15:47 README.md 15:48:37 drwxrwxr-x. 10 jenkins jenkins 171 Oct 12 15:47 res 15:48:37 drwxrwxr-x. 4 jenkins jenkins 71 Oct 12 15:47 snap 15:48:37 -rw-rw-r--. 1 jenkins jenkins 5 Oct 12 15:44 VERSION [Pipeline] isUnix [Pipeline] sh 15:48:37 + docker build -t docker-app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d --label arch=amd64 --label version=0.0.0 . 15:48:37 Sending build context to Docker daemon 116.2kB 15:48:37 Step 1/27 : ARG BASE=golang:1.15-alpine 15:48:37 Step 2/27 : FROM ${BASE} AS builder 15:48:37 ---> 74a565b82439 15:48:37 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 15:48:37 ---> Running in 1e59273fb52d 15:48:37 Removing intermediate container 1e59273fb52d 15:48:37 ---> a2a16486d0ae 15:48:37 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 15:48:38 ---> Running in dbba4a17bc23 15:48:38 Removing intermediate container dbba4a17bc23 15:48:38 ---> 0fd3f447e8c9 15:48:38 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:48:38 ---> Running in 9b46b4901271 15:48:38 Removing intermediate container 9b46b4901271 15:48:38 ---> 0742ce2b4f59 15:48:38 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:48:38 ---> Running in 739f1e5ba418 15:48:39 Removing intermediate container 739f1e5ba418 15:48:39 ---> 423b763c7324 15:48:39 Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:48:39 ---> Running in 9e23410272f8 15:48:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:48:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:48:40 OK: 167 MiB in 45 packages 15:48:41 Removing intermediate container 9e23410272f8 15:48:41 ---> f45c7a80d70f 15:48:41 Step 8/27 : WORKDIR /app 15:48:41 ---> Running in a6a9987b59f0 15:48:41 Removing intermediate container a6a9987b59f0 15:48:41 ---> 16fd2c4b8558 15:48:41 Step 9/27 : COPY go.mod . 15:48:41 ---> 3610e85e43ad 15:48:41 Step 10/27 : RUN go mod download 15:48:41 ---> Running in 93d44049b553 15:48:42 ? github.com/edgexfoundry/app-service-configurable [no test files] 15:48:42 CGO_ENABLED=1 go vet ./... 15:48:42 Removing intermediate container 93d44049b553 15:48:42 ---> 809cc1973954 15:48:42 Step 11/27 : COPY . . 15:48:43 ---> 6a448874285e 15:48:43 Step 12/27 : ARG MAKE="make build" 15:48:43 ---> Running in 132ce55fdaa6 15:48:43 Removing intermediate container 132ce55fdaa6 15:48:43 ---> 53af9343398c 15:48:43 Step 13/27 : RUN $MAKE 15:48:43 ---> Running in df96bade3209 15:48:43 gofmt -l . 15:48:43 [ "`gofmt -l .`" = "" ] 15:48:43 ./bin/test-go-mod-tidy.sh 15:48:43 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 15:48:44 ./bin/test-attribution-txt.sh [Pipeline] stash 15:48:45 Warning: overwriting stash ‘coverage-report’ 15:48:46 Stashed 1 file(s) [Pipeline] } 15:48:46 $ docker stop --time=1 c07f7fd029c160edbcc870b04028cd0e89d551e0bde8091c831f4e8db6f7bec0 15:48:48 $ docker rm -f c07f7fd029c160edbcc870b04028cd0e89d551e0bde8091c831f4e8db6f7bec0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:48:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:48:50 + ls -al . 15:48:50 total 120 15:48:50 drwxrwxr-x 7 jenkins jenkins 4096 Oct 12 15:48 . 15:48:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 15:46 .. 15:48:50 -rw-rw-r-- 1 jenkins jenkins 119 Oct 12 15:46 .dockerignore 15:48:50 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 15:46 .git 15:48:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 15:46 .github 15:48:50 -rw-rw-r-- 1 jenkins jenkins 93 Oct 12 15:46 .gitignore 15:48:50 -rw-rw-r-- 1 jenkins jenkins 6568 Oct 12 15:46 Attribution.txt 15:48:50 -rw-rw-r-- 1 jenkins jenkins 2002 Oct 12 15:46 Dockerfile 15:48:50 -rw-rw-r-- 1 jenkins jenkins 966 Oct 12 15:46 Dockerfile.build 15:48:50 -rw-rw-r-- 1 jenkins jenkins 766 Oct 12 15:46 Jenkinsfile 15:48:50 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 12 15:46 LICENSE 15:48:50 -rw-rw-r-- 1 jenkins jenkins 1277 Oct 12 15:46 README.md 15:48:50 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 15:44 VERSION 15:48:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 15:46 bin 15:48:50 -rw-r--r-- 1 jenkins jenkins 10 Oct 12 15:47 coverage.out 15:48:50 -rw-rw-r-- 1 jenkins jenkins 180 Oct 12 15:46 docker-compose.debug.yml 15:48:50 -rw-rw-r-- 1 jenkins jenkins 133 Oct 12 15:46 docker-compose.yml 15:48:50 -rw-r--r-- 1 jenkins jenkins 133 Oct 12 15:48 go.mod 15:48:50 -rw-r--r-- 1 jenkins jenkins 19640 Oct 12 15:48 go.sum 15:48:50 -rw-rw-r-- 1 jenkins jenkins 1519 Oct 12 15:46 main.go 15:48:50 -rw-rw-r-- 1 jenkins jenkins 1573 Oct 12 15:46 makefile 15:48:50 drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 15:46 res 15:48:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 15:46 snap [Pipeline] isUnix [Pipeline] sh 15:48:50 + docker build -t docker-app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d --label arch=arm64 --label version=0.0.0 . 15:48:50 Sending build context to Docker daemon 116.2kB 15:48:50 Step 1/27 : ARG BASE=golang:1.15-alpine 15:48:50 Step 2/27 : FROM ${BASE} AS builder 15:48:50 ---> 266d9c195b49 15:48:50 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 15:48:51 ---> Running in 6ad623219ceb 15:48:51 Removing intermediate container 6ad623219ceb 15:48:51 ---> 87c3fbe2e823 15:48:51 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 15:48:51 ---> Running in d76d75d30106 15:48:52 Removing intermediate container d76d75d30106 15:48:52 ---> b76c26ccc572 15:48:52 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:48:52 ---> Running in 0883f168a1c0 15:48:52 Removing intermediate container 0883f168a1c0 15:48:52 ---> 1f3fd8ef5c03 15:48:52 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:48:52 ---> Running in 49185e18846e 15:48:55 Removing intermediate container 49185e18846e 15:48:55 ---> 0306d372e37b 15:48:55 Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:48:55 ---> Running in 595b2f9da88b 15:48:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:48:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:48:58 OK: 144 MiB in 45 packages 15:48:59 Removing intermediate container 595b2f9da88b 15:48:59 ---> 5c3366668666 15:48:59 Step 8/27 : WORKDIR /app 15:48:59 ---> Running in f8a1966bc027 15:48:59 Removing intermediate container f8a1966bc027 15:48:59 ---> 9720043d3770 15:48:59 Step 9/27 : COPY go.mod . 15:49:00 ---> 28e24665200d 15:49:00 Step 10/27 : RUN go mod download 15:49:00 ---> Running in 4002ec9c253d 15:49:02 Removing intermediate container df96bade3209 15:49:02 ---> 1da5849324f5 15:49:02 Step 14/27 : FROM alpine:latest 15:49:02 latest: Pulling from library/alpine 15:49:02 df20fa9351a1: Already exists 15:49:02 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 15:49:02 Status: Downloaded newer image for alpine:latest 15:49:02 ---> a24bb4013296 15:49:02 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:49:02 ---> Running in 15b86ac6afde 15:49:02 Removing intermediate container 15b86ac6afde 15:49:02 ---> cadd8dfea33b 15:49:02 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 15:49:02 ---> Running in fa27616084bf 15:49:02 Removing intermediate container fa27616084bf 15:49:02 ---> 883ca2da79b6 15:49:02 Step 17/27 : RUN apk --no-cache add ca-certificates zeromq 15:49:02 ---> Running in 052f8dd93aa0 15:49:02 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:49:02 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:49:02 (1/6) Installing ca-certificates (20191127-r4) 15:49:02 (2/6) Installing libgcc (9.3.0-r2) 15:49:02 (3/6) Installing libsodium (1.0.18-r0) 15:49:02 (4/6) Installing libstdc++ (9.3.0-r2) 15:49:02 (5/6) Installing libzmq (4.3.3-r0) 15:49:02 (6/6) Installing zeromq (4.3.3-r0) 15:49:02 Executing busybox-1.31.1-r16.trigger 15:49:02 Executing ca-certificates-20191127-r4.trigger 15:49:02 OK: 9 MiB in 20 packages 15:49:03 Removing intermediate container 052f8dd93aa0 15:49:03 ---> 5699e7fd2252 15:49:03 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 15:49:03 ---> e077bec12533 15:49:03 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 15:49:03 ---> e8f9e822f76c 15:49:03 Step 20/27 : COPY --from=builder /app/res/ /res/ 15:49:03 Removing intermediate container 4002ec9c253d 15:49:03 ---> c06128356f30 15:49:03 Step 11/27 : COPY . . 15:49:03 ---> ef6dfb67dcd3 15:49:03 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 15:49:04 ---> 69252e240d7d 15:49:04 Step 22/27 : EXPOSE 48095 15:49:04 ---> e84532dacfe8 15:49:04 Step 12/27 : ARG MAKE="make build" 15:49:04 ---> Running in e10703415b67 15:49:04 ---> Running in b7a3c7c56620 15:49:04 Removing intermediate container b7a3c7c56620 15:49:04 ---> c3e4d8ea1a7a 15:49:04 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 15:49:04 ---> Running in 5596d5da6ab8 15:49:04 Removing intermediate container e10703415b67 15:49:04 ---> b27c95631073 15:49:04 Step 13/27 : RUN $MAKE 15:49:04 Removing intermediate container 5596d5da6ab8 15:49:04 ---> a84067acb383 15:49:04 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:49:04 ---> Running in eb42cde9484a 15:49:05 ---> Running in 6e62ac61e0a6 15:49:05 Removing intermediate container eb42cde9484a 15:49:05 ---> 25ca15391b3f 15:49:05 Step 25/27 : LABEL arch=amd64 15:49:05 ---> Running in 96cfb1e6861e 15:49:05 Removing intermediate container 96cfb1e6861e 15:49:05 ---> fc532bdc2fd0 15:49:05 Step 26/27 : LABEL git_sha=5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d 15:49:05 ---> Running in f8943941b2a6 15:49:05 Removing intermediate container f8943941b2a6 15:49:05 ---> 7dec89a2a2f7 15:49:05 Step 27/27 : LABEL version=0.0.0 15:49:05 ---> Running in 63983ee3151c 15:49:05 Removing intermediate container 63983ee3151c 15:49:05 ---> 11981497c127 15:49:05 [Warning] One or more build-args [ARCH] were not consumed 15:49:05 Successfully built 11981497c127 15:49:05 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 15:49:06 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 15:49:21 Still waiting to schedule task 15:49:21 All nodes of label ‘ubuntu18.04-docker-8c-8g’ are offline 15:49:53 Removing intermediate container 6e62ac61e0a6 15:49:53 ---> f23cced102b1 15:49:53 Step 14/27 : FROM alpine:latest 15:49:53 latest: Pulling from library/alpine 15:49:53 b538f80385f9: Already exists 15:49:53 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 15:49:53 Status: Downloaded newer image for alpine:latest 15:49:53 ---> 62ee0e9f8440 15:49:53 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:49:53 ---> Running in bd8d2e9bcaca 15:49:54 Removing intermediate container bd8d2e9bcaca 15:49:54 ---> e871db71367a 15:49:54 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 15:49:54 ---> Running in becc83c498ee 15:49:54 Removing intermediate container becc83c498ee 15:49:54 ---> c7d3b6fd85a9 15:49:54 Step 17/27 : RUN apk --no-cache add ca-certificates zeromq 15:49:54 ---> Running in 63ca2061ab89 15:49:56 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:49:56 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:49:57 (1/6) Installing ca-certificates (20191127-r4) 15:49:57 (2/6) Installing libgcc (9.3.0-r2) 15:49:57 (3/6) Installing libsodium (1.0.18-r0) 15:49:57 (4/6) Installing libstdc++ (9.3.0-r2) 15:49:57 (5/6) Installing libzmq (4.3.3-r0) 15:49:57 (6/6) Installing zeromq (4.3.3-r0) 15:49:57 Executing busybox-1.31.1-r16.trigger 15:49:57 Executing ca-certificates-20191127-r4.trigger 15:49:57 OK: 9 MiB in 20 packages 15:49:59 Removing intermediate container 63ca2061ab89 15:49:59 ---> 9169a3b7c2bc 15:49:59 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 15:49:59 ---> 676fa0276079 15:49:59 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 15:50:00 ---> f4b0fffda893 15:50:00 Step 20/27 : COPY --from=builder /app/res/ /res/ 15:50:01 ---> 82824d749dc4 15:50:01 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 15:50:02 ---> 59edc0abcec4 15:50:02 Step 22/27 : EXPOSE 48095 15:50:02 ---> Running in b3f26c1df69b 15:50:03 Removing intermediate container b3f26c1df69b 15:50:03 ---> 18b772e6eac2 15:50:03 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 15:50:03 ---> Running in 67f421235909 15:50:04 Removing intermediate container 67f421235909 15:50:04 ---> d61a647da226 15:50:04 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:50:04 ---> Running in 6f63b1d9706d 15:50:04 Removing intermediate container 6f63b1d9706d 15:50:04 ---> cbcdbd396823 15:50:04 Step 25/27 : LABEL arch=arm64 15:50:04 ---> Running in f2eee8bb81fa 15:50:05 Removing intermediate container f2eee8bb81fa 15:50:05 ---> ac8cb785bab9 15:50:05 Step 26/27 : LABEL git_sha=5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d 15:50:05 ---> Running in 7eaa0a7a8e4a 15:50:05 Removing intermediate container 7eaa0a7a8e4a 15:50:05 ---> 413912b9198f 15:50:05 Step 27/27 : LABEL version=0.0.0 15:50:05 ---> Running in fff409bc8ea4 15:50:06 Removing intermediate container fff409bc8ea4 15:50:06 ---> f4ea154a6896 15:50:06 [Warning] One or more build-args [ARCH] were not consumed 15:50:06 Successfully built f4ea154a6896 15:50:06 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 15:50:15 Running on prd-ubuntu18.04-docker-8c-8g-4806 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws 15:50:15 Running in /w/workspace/app-service-configurable/4 [Pipeline] { [Pipeline] checkout 15:50:17 using credential edgex-jenkins-ssh 15:50:17 Cloning the remote Git repository 15:50:17 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 15:50:17 > git init /w/workspace/app-service-configurable/4 # timeout=10 15:50:17 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 15:50:17 > git --version # timeout=10 15:50:17 > git --version # 'git version 2.17.1' 15:50:17 using GIT_SSH to set credentials SSH Credentials for GitHub 15:50:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:50:18 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 15:50:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:50:18 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 15:50:18 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 15:50:18 using GIT_SSH to set credentials SSH Credentials for GitHub 15:50:18 > 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 15:50:18 Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d 15:50:18 Merge succeeded, producing 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d 15:50:18 Checking out Revision 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d (PR-124) 15:50:18 > git config core.sparsecheckout # timeout=10 15:50:18 > git checkout -f 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d # timeout=10 15:50:18 > git remote # timeout=10 15:50:18 > git config --get remote.origin.url # timeout=10 15:50:18 using GIT_SSH to set credentials SSH Credentials for GitHub 15:50:18 > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 15:50:18 > git rev-parse HEAD^{commit} # timeout=10 15:50:18 > git config core.sparsecheckout # timeout=10 15:50:18 > git checkout -f 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d # timeout=10 15:50:22 Commit message: "ci: testing new native snap build" 15:50:22 Still waiting to schedule task 15:50:22 All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:50:23 + echo snap-build.sh 15:50:23 snap-build.sh 15:50:23 + SNAP_BASE_DIR=. 15:50:23 + '[' '!' -z /w/workspace/app-service-configurable/4 ']' 15:50:23 + SNAP_BASE_DIR=/w/workspace/app-service-configurable/4 15:50:23 + echo '[snap-build] Building snap in dir [/w/workspace/app-service-configurable/4]' 15:50:23 [snap-build] Building snap in dir [/w/workspace/app-service-configurable/4] 15:50:23 + cd /w/workspace/app-service-configurable/4 15:50:23 + sudo snap install lxd 15:50:32 2020-10-12T15:50:29Z INFO Waiting for automatic snapd restart... 15:50:47 lxd 4.6 from Canonical* installed 15:50:47 + sudo snap install --classic snapcraft 15:50:52 snapcraft 4.3 from Canonical* installed 15:50:52 + sudo lxd init --auto 15:50:58 + sudo snapcraft --use-lxd 15:51:00 Running with 'sudo' may cause permission errors and is discouraged. Use 'sudo' when cleaning. 15:51:00 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: 15:51:00 - README.md 15:51:00 15:51:00 If you must store these files within the 'snap' directory, move them to 'snap/local', which is ignored by snapcraft. 15:51:00 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] } 15:51:01 Failed in branch amd64 15:52:09 Running on prd-ubuntu18.04-docker-arm64-16c-16g-4807 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws 15:52:09 Running in /w/workspace/app-service-configurable/4 [Pipeline] { [Pipeline] checkout 15:52:13 using credential edgex-jenkins-ssh 15:52:13 Cloning the remote Git repository 15:52:13 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 15:52:13 > git init /w/workspace/app-service-configurable/4 # timeout=10 15:52:14 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 15:52:14 > git --version # timeout=10 15:52:14 > git --version # 'git version 2.17.1' 15:52:14 using GIT_SSH to set credentials SSH Credentials for GitHub 15:52:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:52:15 Merging remotes/origin/master commit b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 into PR head commit 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d 15:52:15 Merge succeeded, producing 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d 15:52:15 Checking out Revision 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d (PR-124) 15:52:14 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 15:52:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:52:14 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 15:52:14 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 15:52:14 using GIT_SSH to set credentials SSH Credentials for GitHub 15:52:14 > 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 15:52:15 > git config core.sparsecheckout # timeout=10 15:52:15 > git checkout -f 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d # timeout=10 15:52:15 > git remote # timeout=10 15:52:15 > git config --get remote.origin.url # timeout=10 15:52:15 using GIT_SSH to set credentials SSH Credentials for GitHub 15:52:15 > git merge b6c69ffee2b8ff15a19bf9726ef85a2b23ce38c6 # timeout=10 15:52:15 > git rev-parse HEAD^{commit} # timeout=10 15:52:15 > git config core.sparsecheckout # timeout=10 15:52:15 > git checkout -f 5eaaeaad1ca820363a2eecfa91cfa365ed48ac1d # timeout=10 15:52:19 Commit message: "ci: testing new native snap build" [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:21 + echo snap-build.sh 15:52:21 snap-build.sh 15:52:21 + SNAP_BASE_DIR=. 15:52:21 + '[' '!' -z /w/workspace/app-service-configurable/4 ']' 15:52:21 + SNAP_BASE_DIR=/w/workspace/app-service-configurable/4 15:52:21 + echo '[snap-build] Building snap in dir [/w/workspace/app-service-configurable/4]' 15:52:21 [snap-build] Building snap in dir [/w/workspace/app-service-configurable/4] 15:52:21 + cd /w/workspace/app-service-configurable/4 15:52:21 + sudo snap install lxd 15:52:39 2020-10-12T15:52:33Z INFO Waiting for restart... 15:53:11 lxd 4.6 from Canonical* installed 15:53:11 + sudo snap install --classic snapcraft 15:53:30 snapcraft 4.3 from Canonical* installed 15:53:30 + sudo lxd init --auto 15:55:21 + sudo snapcraft --use-lxd 15:55:26 Running with 'sudo' may cause permission errors and is discouraged. Use 'sudo' when cleaning. 15:55:26 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: 15:55:26 - README.md 15:55:26 15:55:26 If you must store these files within the 'snap' directory, move them to 'snap/local', which is ignored by snapcraft. 15:55:27 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] } 15:55:29 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 15:55:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:55:32 ---> package-listing.sh 15:55:32 ++ facter osfamily 15:55:32 ++ tr '[:upper:]' '[:lower:]' 15:55:32 + OS_FAMILY=redhat 15:55:32 + workspace=/w/workspace/_app-service-configurable_PR-124 15:55:32 + START_PACKAGES=/tmp/packages_start.txt 15:55:32 + END_PACKAGES=/tmp/packages_end.txt 15:55:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:55:32 + PACKAGES=/tmp/packages_start.txt 15:55:32 + '[' /w/workspace/_app-service-configurable_PR-124 ']' 15:55:32 + PACKAGES=/tmp/packages_end.txt 15:55:32 + case "${OS_FAMILY}" in 15:55:32 + rpm -qa 15:55:32 + sort 15:55:36 + '[' -f /tmp/packages_start.txt ']' 15:55:36 + '[' -f /tmp/packages_end.txt ']' 15:55:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:55:36 + '[' /w/workspace/_app-service-configurable_PR-124 ']' 15:55:36 + mkdir -p /w/workspace/_app-service-configurable_PR-124/archives/ 15:55:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-124/archives/ [Pipeline] echo 15:55:36 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 15:55:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:55:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:55:37 15:55:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:55:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:55:37 alpine: Pulling from edgex-lftools-log-publisher 15:55:37 df20fa9351a1: Pulling fs layer 15:55:37 36b3adc4ff6f: Pulling fs layer 15:55:37 8ad3a11d3b57: Pulling fs layer 15:55:37 46f8f816bc3b: Pulling fs layer 15:55:37 93b61091891f: Pulling fs layer 15:55:37 93b9cdb0e59b: Pulling fs layer 15:55:37 5e14af77c1be: Pulling fs layer 15:55:37 01666e4c0597: Pulling fs layer 15:55:37 aa168da1d23b: Pulling fs layer 15:55:37 93b9cdb0e59b: Waiting 15:55:37 5e14af77c1be: Waiting 15:55:37 01666e4c0597: Waiting 15:55:37 46f8f816bc3b: Waiting 15:55:37 93b61091891f: Waiting 15:55:37 aa168da1d23b: Waiting 15:55:37 36b3adc4ff6f: Download complete 15:55:37 46f8f816bc3b: Verifying Checksum 15:55:37 46f8f816bc3b: Download complete 15:55:38 93b61091891f: Download complete 15:55:38 df20fa9351a1: Download complete 15:55:38 93b9cdb0e59b: Verifying Checksum 15:55:38 93b9cdb0e59b: Download complete 15:55:38 5e14af77c1be: Verifying Checksum 15:55:38 5e14af77c1be: Download complete 15:55:38 01666e4c0597: Verifying Checksum 15:55:38 8ad3a11d3b57: Verifying Checksum 15:55:38 8ad3a11d3b57: Download complete 15:55:38 df20fa9351a1: Pull complete 15:55:38 36b3adc4ff6f: Pull complete 15:55:39 8ad3a11d3b57: Pull complete 15:55:39 46f8f816bc3b: Pull complete 15:55:39 93b61091891f: Pull complete 15:55:40 93b9cdb0e59b: Pull complete 15:55:40 5e14af77c1be: Pull complete 15:55:40 01666e4c0597: Pull complete 15:55:40 aa168da1d23b: Verifying Checksum 15:55:40 aa168da1d23b: Download complete 15:55:49 aa168da1d23b: Pull complete 15:55:49 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 15:55:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:55:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:55:49 prd-centos7-docker-4c-2g-4802 does not seem to be running inside a container 15:55:49 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-124/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-124 -v /w/workspace/_app-service-configurable_PR-124:/w/workspace/_app-service-configurable_PR-124:rw,z -v /w/workspace/_app-service-configurable_PR-124@tmp:/w/workspace/_app-service-configurable_PR-124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 15:55:53 $ docker top c73875f3369b4260c15079443543c690f8cddde6b3b76940195f306aff73c716 -eo pid,comm [Pipeline] { [Pipeline] sh 15:55:53 + touch /tmp/pre-build-complete [Pipeline] sh 15:55:54 + mkdir -p /var/log/sa [Pipeline] sh 15:55:54 + ls /var/log/sa-host 15:55:54 + sadf -c /var/log/sa-host/sa05 15:55:54 file_magic: OK 15:55:54 HZ: Using current value: 100 15:55:54 file_header: OK 15:55:54 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 15:55:54 Statistics: 15:55:54 Hnuu...uuuununununu...Hnuu...uuuununununu... 15:55:54 File successfully converted to sysstat format version 12.2.1 15:55:54 + sadf -c /var/log/sa-host/sa12 15:55:54 file_magic: OK 15:55:54 HZ: Using current value: 100 15:55:54 file_header: OK 15:55:54 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 15:55:54 Statistics: 15:55:54 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:55:54 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:55:54 provisioning config files... 15:55:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-124@tmp/config1381713968884370460tmp [Pipeline] { [Pipeline] echo 15:55:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:55:55 ---> create-netrc.sh [Pipeline] } 15:55:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 15:55:55 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 15:55:55 ---> python-tools-install.sh [Pipeline] echo 15:55:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:55:55 ---> sudo-logs.sh 15:55:55 Archiving 'sudo' log.. [Pipeline] echo 15:55:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:55:56 ---> job-cost.sh 15:55:56 lf-activate-venv: SKIPPING 15:55:56 INFO: No Stack... 15:55:57 INFO: Retrieving Pricing Info for: v1-standard-2 15:55:57 INFO: Archiving Costs [Pipeline] echo 15:55:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:55:58 ---> logs-deploy.sh 15:55:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-124/4 15:55:58 INFO: archiving workspace using pattern(s): 15:55:59 Archives upload complete. 15:55:59 INFO: archiving logs to Nexus