Branch indexing 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 56afee60f47744720baa836efc6be2ae9b07808d+6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 (babfd6bf0625fd9459af3d1c1ae007a4324931d1) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@159edb943e95985edc301876a10a671138d0d622 Attempting to resolve 159edb943e95985edc301876a10a671138d0d622 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 159edb943e95985edc301876a10a671138d0d622 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 159edb943e95985edc301876a10a671138d0d622^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains 159edb943e95985edc301876a10a671138d0d622 # timeout=10 Selected match: pr/264/head revision 159edb943e95985edc301876a10a671138d0d622 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 159edb943e95985edc301876a10a671138d0d622 (pr/264/head) > git config core.sparsecheckout # timeout=10 > git checkout -f 159edb943e95985edc301876a10a671138d0d622 # timeout=10 Commit message: "fix: trying previous docker based script" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-9041 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-124 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 into PR head commit 56afee60f47744720baa836efc6be2ae9b07808d Merge succeeded, producing ffb787fbf19e9694b5c652c6fff92716ec2d7c4e Checking out Revision ffb787fbf19e9694b5c652c6fff92716ec2d7c4e (PR-124) > git config core.sparsecheckout # timeout=10 > git checkout -f 56afee60f47744720baa836efc6be2ae9b07808d # 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 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ffb787fbf19e9694b5c652c6fff92716ec2d7c4e # timeout=10 Commit message: "Merge commit '6aed5cde4d38e364b7def40f9e6b4d8e988d4e17' into HEAD" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk f2e565f1610ec8fd4223ca17c219d0fa5c7238c7 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-27T00:53:45.065Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-27T00:53:45.378Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-27T00:53:45.477Z] ========================================================= [2020-10-27T00:53:45.477Z] EdgeX Global Pipelines Version Info [2020-10-27T00:53:45.477Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-27T00:53:47.393Z] ------------------- [2020-10-27T00:53:47.393Z] stable info: [2020-10-27T00:53:47.393Z] ------------------- [2020-10-27T00:53:47.393Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-27T00:53:47.393Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-27T00:53:47.393Z] Message: update stable to v1.0.148 [2020-10-27T00:53:47.969Z] ------------------- [2020-10-27T00:53:47.969Z] experimental info: [2020-10-27T00:53:47.969Z] ------------------- [2020-10-27T00:53:47.969Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-27T00:53:47.969Z] Commit SHA: 2701555fd48d7f7017006eef04e32eb767bac8dc [2020-10-27T00:53:47.969Z] Message: update experimental to v1.0.151 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-27T00:53:48.325Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2020-10-27T00:53:48.424Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2020-10-27T00:53:48.517Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-27T00:53:48.626Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-27T00:53:48.727Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-27T00:53:48.820Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-27T00:53:48.927Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-27T00:53:49.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-27T00:53:49.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-10-27T00:53:49.212Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-27T00:53:49.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-27T00:53:49.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-service-configurable [Pipeline] echo [2020-10-27T00:53:49.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-27T00:53:49.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-27T00:53:49.740Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-27T00:53:49.847Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-10-27T00:53:49.941Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-27T00:53:50.032Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-27T00:53:50.200Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-27T00:53:50.294Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-10-27T00:53:50.387Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-27T00:53:50.490Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-27T00:53:50.603Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-27T00:53:50.697Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-27T00:53:50.789Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-27T00:53:50.882Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-124 [Pipeline] echo [2020-10-27T00:53:50.980Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-124 [Pipeline] echo [2020-10-27T00:53:51.098Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-124 [Pipeline] echo [2020-10-27T00:53:51.230Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ffb787fbf19e9694b5c652c6fff92716ec2d7c4e [Pipeline] echo [2020-10-27T00:53:51.329Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ffb787f [Pipeline] echo [2020-10-27T00:53:51.422Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-27T00:53:52.100Z] + git log --format=format:%s -1 ffb787fbf19e9694b5c652c6fff92716ec2d7c4e [Pipeline] echo [2020-10-27T00:53:52.167Z] GIT_COMMIT: ffb787fbf19e9694b5c652c6fff92716ec2d7c4e, Commit Message: Merge commit '6aed5cde4d38e364b7def40f9e6b4d8e988d4e17' into HEAD [Pipeline] echo [2020-10-27T00:53:52.215Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-27T00:53:53.221Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-27T00:53:53.491Z] [2020-10-27T00:53:53.491Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-27T00:53:53.859Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-27T00:53:53.859Z] latest: Pulling from edgex-devops/git-semver [2020-10-27T00:53:53.859Z] 31603596830f: Pulling fs layer [2020-10-27T00:53:53.859Z] 2a8b12db71e7: Pulling fs layer [2020-10-27T00:53:53.859Z] 6ca5941a6612: Pulling fs layer [2020-10-27T00:53:53.859Z] ecc8261a40a4: Pulling fs layer [2020-10-27T00:53:53.859Z] ecc8261a40a4: Waiting [2020-10-27T00:53:53.859Z] 2a8b12db71e7: Verifying Checksum [2020-10-27T00:53:53.859Z] 2a8b12db71e7: Download complete [2020-10-27T00:53:54.125Z] 31603596830f: Verifying Checksum [2020-10-27T00:53:54.125Z] 31603596830f: Download complete [2020-10-27T00:53:54.125Z] ecc8261a40a4: Verifying Checksum [2020-10-27T00:53:54.125Z] ecc8261a40a4: Download complete [2020-10-27T00:53:54.391Z] 6ca5941a6612: Verifying Checksum [2020-10-27T00:53:54.391Z] 6ca5941a6612: Download complete [2020-10-27T00:53:54.391Z] 31603596830f: Pull complete [2020-10-27T00:53:54.654Z] 2a8b12db71e7: Pull complete [2020-10-27T00:53:55.613Z] 6ca5941a6612: Pull complete [2020-10-27T00:53:55.613Z] ecc8261a40a4: Pull complete [2020-10-27T00:53:55.613Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-27T00:53:55.613Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-27T00:53:55.613Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-27T00:53:55.743Z] prd-centos7-docker-4c-2g-9041 does not seem to be running inside a container [2020-10-27T00:53:55.797Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-124 -v /w/workspace/_app-service-configurable_PR-124:/w/workspace/_app-service-configurable_PR-124:rw,z -v /w/workspace/_app-service-configurable_PR-124@tmp:/w/workspace/_app-service-configurable_PR-124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-27T00:53:58.078Z] $ docker top 57154e2391f3e2dba773da21b417eff1e3a98b8bc62d4f6dbade719c4b51a250 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-27T00:53:58.510Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-27T00:53:58.510Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-27T00:53:58.762Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-27T00:53:58.769Z] $ docker exec 57154e2391f3e2dba773da21b417eff1e3a98b8bc62d4f6dbade719c4b51a250 ssh-agent [2020-10-27T00:53:58.946Z] SSH_AUTH_SOCK=/tmp/ssh-bLqvgk5aptfV/agent.12 [2020-10-27T00:53:58.946Z] SSH_AGENT_PID=17 [2020-10-27T00:53:58.960Z] Running ssh-add (command line suppressed) [2020-10-27T00:53:59.084Z] Identity added: /w/workspace/_app-service-configurable_PR-124@tmp/private_key_7385539111096156281.key (/w/workspace/_app-service-configurable_PR-124@tmp/private_key_7385539111096156281.key) [2020-10-27T00:53:59.131Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-27T00:53:59.471Z] + git tag --points-at HEAD [Pipeline] } [2020-10-27T00:53:59.496Z] $ docker exec --env ******** --env ******** 57154e2391f3e2dba773da21b417eff1e3a98b8bc62d4f6dbade719c4b51a250 ssh-agent -k [2020-10-27T00:53:59.609Z] unset SSH_AUTH_SOCK; [2020-10-27T00:53:59.610Z] unset SSH_AGENT_PID; [2020-10-27T00:53:59.610Z] echo Agent pid 17 killed; [2020-10-27T00:53:59.654Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-27T00:53:59.816Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-27T00:53:59.816Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-27T00:53:59.978Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-27T00:53:59.984Z] $ docker exec 57154e2391f3e2dba773da21b417eff1e3a98b8bc62d4f6dbade719c4b51a250 ssh-agent [2020-10-27T00:54:00.150Z] SSH_AUTH_SOCK=/tmp/ssh-rcAsiXmpj5EC/agent.48 [2020-10-27T00:54:00.150Z] SSH_AGENT_PID=54 [2020-10-27T00:54:00.157Z] Running ssh-add (command line suppressed) [2020-10-27T00:54:00.277Z] Identity added: /w/workspace/_app-service-configurable_PR-124@tmp/private_key_1970063832212145936.key (/w/workspace/_app-service-configurable_PR-124@tmp/private_key_1970063832212145936.key) [2020-10-27T00:54:00.324Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-27T00:54:00.669Z] + git semver init [2020-10-27T00:54:00.670Z] # -> Open(): unable to determine branch for HEAD [2020-10-27T00:54:00.670Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-124/.git [2020-10-27T00:54:00.670Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-124 [2020-10-27T00:54:00.670Z] # $SEMVER_REMOTE_NAME = origin [2020-10-27T00:54:00.670Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-27T00:54:00.670Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-27T00:54:00.670Z] # $SEMVER_BRANCH = PR-124 [2020-10-27T00:54:00.670Z] # $SEMVER_TEMP = /tmp/semver-128237446 [2020-10-27T00:54:00.670Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2020-10-27T00:54:01.252Z] # '/tmp/semver-128237446' -> '/w/workspace/_app-service-configurable_PR-124/.semver' [2020-10-27T00:54:01.252Z] # -> Force: false [2020-10-27T00:54:01.252Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-124/.semver [Pipeline] } [2020-10-27T00:54:01.269Z] $ docker exec --env ******** --env ******** 57154e2391f3e2dba773da21b417eff1e3a98b8bc62d4f6dbade719c4b51a250 ssh-agent -k [2020-10-27T00:54:01.434Z] unset SSH_AUTH_SOCK; [2020-10-27T00:54:01.434Z] unset SSH_AGENT_PID; [2020-10-27T00:54:01.434Z] echo Agent pid 54 killed; [2020-10-27T00:54:01.501Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-27T00:54:02.090Z] + git semver [Pipeline] } [2020-10-27T00:54:02.117Z] $ docker stop --time=1 57154e2391f3e2dba773da21b417eff1e3a98b8bc62d4f6dbade719c4b51a250 [2020-10-27T00:54:03.618Z] $ docker rm -f 57154e2391f3e2dba773da21b417eff1e3a98b8bc62d4f6dbade719c4b51a250 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-27T00:54:04.109Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-27T00:54:04.689Z] Stashed 1 file(s) [Pipeline] echo [2020-10-27T00:54:04.693Z] [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-27T00:54:05.458Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-9037 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-27T00:54:05.508Z] Running in /w/workspace/app-service-configurable/13 [Pipeline] { [Pipeline] checkout [2020-10-27T00:54:09.867Z] using credential edgex-jenkins-ssh [2020-10-27T00:54:09.973Z] Cloning the remote Git repository [2020-10-27T00:54:10.010Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T00:54:10.106Z] > git init /w/workspace/app-service-configurable/13 # timeout=10 [2020-10-27T00:54:10.168Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T00:54:10.169Z] > git --version # timeout=10 [2020-10-27T00:54:10.183Z] > git --version # 'git version 2.17.1' [2020-10-27T00:54:10.185Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T00:54:10.251Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T00:54:11.602Z] Merging remotes/origin/master commit 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 into PR head commit 56afee60f47744720baa836efc6be2ae9b07808d [2020-10-27T00:54:10.934Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-27T00:54:10.952Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T00:54:10.980Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-27T00:54:11.013Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T00:54:11.014Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T00:54:11.025Z] > 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-27T00:54:11.600Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T00:54:11.617Z] > git checkout -f 56afee60f47744720baa836efc6be2ae9b07808d # timeout=10 [2020-10-27T00:54:11.804Z] Merge succeeded, producing 90048769e7a88ec46ffd2b17c9a5949ab01ccc87 [2020-10-27T00:54:11.805Z] Checking out Revision 90048769e7a88ec46ffd2b17c9a5949ab01ccc87 (PR-124) [2020-10-27T00:54:11.684Z] > git remote # timeout=10 [2020-10-27T00:54:11.699Z] > git config --get remote.origin.url # timeout=10 [2020-10-27T00:54:11.714Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T00:54:11.724Z] > git merge 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 # timeout=10 [2020-10-27T00:54:11.771Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-27T00:54:11.792Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T00:54:11.816Z] > git checkout -f 90048769e7a88ec46ffd2b17c9a5949ab01ccc87 # timeout=10 [2020-10-27T00:54:16.115Z] Commit message: "Merge commit '6aed5cde4d38e364b7def40f9e6b4d8e988d4e17' into HEAD" [2020-10-27T00:54:16.139Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-27T00:54:17.027Z] ========================================================= [2020-10-27T00:54:17.027Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-27T00:54:17.027Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-27T00:54:16.102Z] > git rev-list --no-walk f2e565f1610ec8fd4223ca17c219d0fa5c7238c7 # timeout=10 [2020-10-27T00:54:18.005Z] + 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-27T00:54:18.616Z] Sending build context to Docker daemon 98.3kB [2020-10-27T00:54:18.890Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-27T00:54:18.890Z] Step 2/8 : FROM ${BASE} [2020-10-27T00:54:19.180Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-27T00:54:19.180Z] b538f80385f9: Pulling fs layer [2020-10-27T00:54:19.180Z] 74f711af9a0d: Pulling fs layer [2020-10-27T00:54:19.180Z] 99f96fe45779: Pulling fs layer [2020-10-27T00:54:19.180Z] 8529a6b9a6be: Pulling fs layer [2020-10-27T00:54:19.180Z] 45590311c82a: Pulling fs layer [2020-10-27T00:54:19.180Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-27T00:54:19.180Z] 209524e5b208: Pulling fs layer [2020-10-27T00:54:19.180Z] 8529a6b9a6be: Waiting [2020-10-27T00:54:19.180Z] 45590311c82a: Waiting [2020-10-27T00:54:19.180Z] 69ca0ff8b7b3: Waiting [2020-10-27T00:54:19.180Z] 209524e5b208: Waiting [2020-10-27T00:54:19.180Z] 99f96fe45779: Verifying Checksum [2020-10-27T00:54:19.180Z] 99f96fe45779: Download complete [2020-10-27T00:54:19.180Z] 74f711af9a0d: Verifying Checksum [2020-10-27T00:54:19.180Z] 74f711af9a0d: Download complete [2020-10-27T00:54:19.180Z] 45590311c82a: Verifying Checksum [2020-10-27T00:54:19.180Z] 45590311c82a: Download complete [2020-10-27T00:54:19.180Z] 69ca0ff8b7b3: Download complete [2020-10-27T00:54:20.162Z] b538f80385f9: Verifying Checksum [2020-10-27T00:54:20.162Z] b538f80385f9: Download complete [2020-10-27T00:54:20.284Z] Still waiting to schedule task [2020-10-27T00:54:20.284Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-27T00:54:20.767Z] b538f80385f9: Pull complete [2020-10-27T00:54:21.367Z] 74f711af9a0d: Pull complete [2020-10-27T00:54:21.642Z] 99f96fe45779: Pull complete [2020-10-27T00:54:22.629Z] 209524e5b208: Verifying Checksum [2020-10-27T00:54:22.629Z] 209524e5b208: Download complete [2020-10-27T00:54:23.615Z] 8529a6b9a6be: Verifying Checksum [2020-10-27T00:54:23.615Z] 8529a6b9a6be: Download complete [2020-10-27T00:54:36.022Z] 8529a6b9a6be: Pull complete [2020-10-27T00:54:36.022Z] 45590311c82a: Pull complete [2020-10-27T00:54:36.022Z] 69ca0ff8b7b3: Pull complete [2020-10-27T00:54:38.651Z] 209524e5b208: Pull complete [2020-10-27T00:54:38.651Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-27T00:54:38.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-27T00:54:38.651Z] ---> 5bddaf1c2fca [2020-10-27T00:54:38.651Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-27T00:54:41.276Z] ---> Running in 12b51c5cc886 [2020-10-27T00:54:41.276Z] Removing intermediate container 12b51c5cc886 [2020-10-27T00:54:41.276Z] ---> b17c283df9d8 [2020-10-27T00:54:41.276Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-27T00:54:41.552Z] ---> Running in 3dbc11f21b6b [2020-10-27T00:54:44.175Z] Removing intermediate container 3dbc11f21b6b [2020-10-27T00:54:44.175Z] ---> 44b7ff350960 [2020-10-27T00:54:44.175Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-10-27T00:54:44.175Z] ---> Running in 898d1086a05f [2020-10-27T00:54:45.606Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-27T00:54:46.198Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-27T00:54:47.167Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-10-27T00:54:47.167Z] (2/6) Installing libsodium (1.0.18-r0) [2020-10-27T00:54:47.167Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-10-27T00:54:47.167Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-10-27T00:54:47.440Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-27T00:54:47.440Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-10-27T00:54:47.712Z] Executing busybox-1.31.1-r16.trigger [2020-10-27T00:54:47.712Z] OK: 144 MiB in 45 packages [2020-10-27T00:54:49.858Z] Removing intermediate container 898d1086a05f [2020-10-27T00:54:49.858Z] ---> 96cf10d57786 [2020-10-27T00:54:49.858Z] Step 6/8 : WORKDIR /app [2020-10-27T00:54:49.858Z] ---> Running in c3d0d39a89f5 [2020-10-27T00:54:49.858Z] Removing intermediate container c3d0d39a89f5 [2020-10-27T00:54:49.858Z] ---> 2c19912a2eeb [2020-10-27T00:54:49.858Z] Step 7/8 : COPY . . [2020-10-27T00:54:50.131Z] ---> 137a01cf00a6 [2020-10-27T00:54:50.131Z] Step 8/8 : RUN go mod download [2020-10-27T00:54:50.405Z] ---> Running in 82039ce3dfd4 [2020-10-27T00:55:22.763Z] Removing intermediate container 82039ce3dfd4 [2020-10-27T00:55:22.763Z] ---> bbfacaf7a181 [2020-10-27T00:55:22.763Z] Successfully built bbfacaf7a181 [2020-10-27T00:55:22.763Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-27T00:55:23.165Z] + docker inspect -f . ci-base-image-arm64 [2020-10-27T00:55:23.165Z] . [Pipeline] withDockerContainer [2020-10-27T00:55:23.541Z] prd-ubuntu18.04-docker-arm64-4c-16g-9037 does not seem to be running inside a container [2020-10-27T00:55:23.619Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/13 -v /w/workspace/app-service-configurable/13:/w/workspace/app-service-configurable/13:rw,z -v /w/workspace/app-service-configurable/13@tmp:/w/workspace/app-service-configurable/13@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 [2020-10-27T00:55:25.472Z] $ docker top b3da0bb2606592128baf3c8ca24725212102ffeac474742b910d1deda125c4d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-27T00:55:26.979Z] + go version [2020-10-27T00:55:26.979Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-27T00:55:26.982Z] $ docker stop --time=1 b3da0bb2606592128baf3c8ca24725212102ffeac474742b910d1deda125c4d3 [2020-10-27T00:55:28.911Z] $ docker rm -f b3da0bb2606592128baf3c8ca24725212102ffeac474742b910d1deda125c4d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-27T00:55:29.982Z] + docker inspect -f . ci-base-image-arm64 [2020-10-27T00:55:29.982Z] . [Pipeline] withDockerContainer [2020-10-27T00:55:30.247Z] prd-ubuntu18.04-docker-arm64-4c-16g-9037 does not seem to be running inside a container [2020-10-27T00:55:30.304Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/13 -v /w/workspace/app-service-configurable/13:/w/workspace/app-service-configurable/13:rw,z -v /w/workspace/app-service-configurable/13@tmp:/w/workspace/app-service-configurable/13@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 [2020-10-27T00:55:32.217Z] $ docker top ea7e0270569562330d8f81640feeeddf2ab4d4b0879c5ac0c725fe710af8ae8f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-27T00:55:33.668Z] + make test [2020-10-27T00:55:33.668Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-10-27T00:55:42.351Z] Running on prd-centos7-docker-4c-2g-9043 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-27T00:55:42.406Z] Running in /w/workspace/app-service-configurable/13 [Pipeline] { [Pipeline] checkout [2020-10-27T00:55:45.406Z] using credential edgex-jenkins-ssh [2020-10-27T00:55:45.461Z] Cloning the remote Git repository [2020-10-27T00:55:45.489Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T00:55:45.555Z] > git init /w/workspace/app-service-configurable/13 # timeout=10 [2020-10-27T00:55:45.607Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T00:55:45.607Z] > git --version # timeout=10 [2020-10-27T00:55:45.616Z] > git --version # 'git version 2.16.5' [2020-10-27T00:55:45.618Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T00:55:45.645Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T00:55:46.769Z] Merging remotes/origin/master commit 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 into PR head commit 56afee60f47744720baa836efc6be2ae9b07808d [2020-10-27T00:55:46.857Z] Merge succeeded, producing a7beb1ef5fc7cdc1891b3347ec6ae7c0e8d08e92 [2020-10-27T00:55:46.858Z] Checking out Revision a7beb1ef5fc7cdc1891b3347ec6ae7c0e8d08e92 (PR-124) [2020-10-27T00:55:46.215Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-27T00:55:46.221Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T00:55:46.232Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-27T00:55:46.246Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T00:55:46.246Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T00:55:46.250Z] > 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-27T00:55:46.780Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T00:55:46.785Z] > git checkout -f 56afee60f47744720baa836efc6be2ae9b07808d # timeout=10 [2020-10-27T00:55:46.818Z] > git remote # timeout=10 [2020-10-27T00:55:46.824Z] > git config --get remote.origin.url # timeout=10 [2020-10-27T00:55:46.831Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T00:55:46.834Z] > git merge 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 # timeout=10 [2020-10-27T00:55:46.853Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-27T00:55:46.863Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T00:55:46.867Z] > git checkout -f a7beb1ef5fc7cdc1891b3347ec6ae7c0e8d08e92 # timeout=10 [2020-10-27T00:55:50.543Z] Commit message: "Merge commit '6aed5cde4d38e364b7def40f9e6b4d8e988d4e17' into HEAD" [2020-10-27T00:55:50.554Z] First time build. Skipping changelog. [2020-10-27T00:55:50.549Z] > git rev-list --no-walk f2e565f1610ec8fd4223ca17c219d0fa5c7238c7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-27T00:55:51.548Z] ========================================================= [2020-10-27T00:55:51.549Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-27T00:55:51.549Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-27T00:55:52.214Z] + 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-27T00:55:52.484Z] Sending build context to Docker daemon 98.3kB [2020-10-27T00:55:52.750Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-27T00:55:52.750Z] Step 2/8 : FROM ${BASE} [2020-10-27T00:55:52.750Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-27T00:55:52.750Z] df20fa9351a1: Pulling fs layer [2020-10-27T00:55:52.750Z] ed8968b2872e: Pulling fs layer [2020-10-27T00:55:52.750Z] a92cc7c5fd73: Pulling fs layer [2020-10-27T00:55:52.750Z] e871e8e8d7a9: Pulling fs layer [2020-10-27T00:55:52.750Z] e73272ec9a57: Pulling fs layer [2020-10-27T00:55:52.750Z] 1e910a182e73: Pulling fs layer [2020-10-27T00:55:52.750Z] 4e634b169226: Pulling fs layer [2020-10-27T00:55:52.750Z] e73272ec9a57: Waiting [2020-10-27T00:55:52.750Z] 1e910a182e73: Waiting [2020-10-27T00:55:52.750Z] 4e634b169226: Waiting [2020-10-27T00:55:52.750Z] e871e8e8d7a9: Waiting [2020-10-27T00:55:52.750Z] a92cc7c5fd73: Verifying Checksum [2020-10-27T00:55:52.750Z] a92cc7c5fd73: Download complete [2020-10-27T00:55:52.750Z] ed8968b2872e: Verifying Checksum [2020-10-27T00:55:52.750Z] ed8968b2872e: Download complete [2020-10-27T00:55:52.750Z] e73272ec9a57: Verifying Checksum [2020-10-27T00:55:52.750Z] e73272ec9a57: Download complete [2020-10-27T00:55:52.750Z] 1e910a182e73: Verifying Checksum [2020-10-27T00:55:52.750Z] 1e910a182e73: Download complete [2020-10-27T00:55:52.750Z] df20fa9351a1: Verifying Checksum [2020-10-27T00:55:52.750Z] df20fa9351a1: Download complete [2020-10-27T00:55:53.013Z] df20fa9351a1: Pull complete [2020-10-27T00:55:53.275Z] ed8968b2872e: Pull complete [2020-10-27T00:55:53.538Z] a92cc7c5fd73: Pull complete [2020-10-27T00:55:55.468Z] 4e634b169226: Verifying Checksum [2020-10-27T00:55:55.468Z] 4e634b169226: Download complete [2020-10-27T00:55:55.732Z] e871e8e8d7a9: Verifying Checksum [2020-10-27T00:55:55.732Z] e871e8e8d7a9: Download complete [2020-10-27T00:56:01.062Z] e871e8e8d7a9: Pull complete [2020-10-27T00:56:01.062Z] e73272ec9a57: Pull complete [2020-10-27T00:56:01.062Z] 1e910a182e73: Pull complete [2020-10-27T00:56:09.252Z] 4e634b169226: Pull complete [2020-10-27T00:56:09.252Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-27T00:56:09.252Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-27T00:56:09.252Z] ---> f7629b54cfaa [2020-10-27T00:56:09.252Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-27T00:56:09.520Z] ---> Running in aaf37b127f63 [2020-10-27T00:56:09.786Z] Removing intermediate container aaf37b127f63 [2020-10-27T00:56:09.786Z] ---> 883e23021f16 [2020-10-27T00:56:09.786Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-27T00:56:09.786Z] ---> Running in c8304486da0d [2020-10-27T00:56:11.200Z] Removing intermediate container c8304486da0d [2020-10-27T00:56:11.200Z] ---> d04ed02bb7ff [2020-10-27T00:56:11.200Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-10-27T00:56:11.200Z] ---> Running in f8d84e3d8f9a [2020-10-27T00:56:12.162Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-27T00:56:12.737Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-27T00:56:13.312Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-10-27T00:56:13.312Z] (2/6) Installing libsodium (1.0.18-r0) [2020-10-27T00:56:13.312Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-10-27T00:56:13.575Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-10-27T00:56:13.575Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-27T00:56:13.575Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-10-27T00:56:13.838Z] Executing busybox-1.31.1-r16.trigger [2020-10-27T00:56:13.838Z] OK: 167 MiB in 45 packages [2020-10-27T00:56:14.418Z] Removing intermediate container f8d84e3d8f9a [2020-10-27T00:56:14.418Z] ---> bc98aa1c46b3 [2020-10-27T00:56:14.418Z] Step 6/8 : WORKDIR /app [2020-10-27T00:56:14.418Z] ---> Running in 5d7a2b5b657b [2020-10-27T00:56:14.681Z] Removing intermediate container 5d7a2b5b657b [2020-10-27T00:56:14.681Z] ---> 950b5bd93add [2020-10-27T00:56:14.681Z] Step 7/8 : COPY . . [2020-10-27T00:56:14.946Z] ---> d4c2439dabe1 [2020-10-27T00:56:14.946Z] Step 8/8 : RUN go mod download [2020-10-27T00:56:14.946Z] ---> Running in dbe8ee10d790 [2020-10-27T00:56:30.266Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-10-27T00:56:30.266Z] CGO_ENABLED=1 go vet ./... [2020-10-27T00:56:31.248Z] gofmt -l . [2020-10-27T00:56:31.248Z] [ "`gofmt -l .`" = "" ] [2020-10-27T00:56:31.248Z] ./bin/test-go-mod-tidy.sh [2020-10-27T00:56:31.850Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-10-27T00:56:33.502Z] Stashed 1 file(s) [Pipeline] } [2020-10-27T00:56:33.489Z] $ docker stop --time=1 ea7e0270569562330d8f81640feeeddf2ab4d4b0879c5ac0c725fe710af8ae8f [2020-10-27T00:56:35.972Z] $ docker rm -f ea7e0270569562330d8f81640feeeddf2ab4d4b0879c5ac0c725fe710af8ae8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-27T00:56:39.393Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-27T00:56:39.728Z] + ls -al . [2020-10-27T00:56:39.728Z] total 120 [2020-10-27T00:56:39.728Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 27 00:56 . [2020-10-27T00:56:39.728Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 00:54 .. [2020-10-27T00:56:39.728Z] -rw-rw-r-- 1 jenkins jenkins 119 Oct 27 00:54 .dockerignore [2020-10-27T00:56:39.728Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 00:54 .git [2020-10-27T00:56:39.728Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 00:54 .github [2020-10-27T00:56:39.728Z] -rw-rw-r-- 1 jenkins jenkins 93 Oct 27 00:54 .gitignore [2020-10-27T00:56:39.728Z] -rw-rw-r-- 1 jenkins jenkins 6568 Oct 27 00:54 Attribution.txt [2020-10-27T00:56:39.728Z] -rw-rw-r-- 1 jenkins jenkins 2002 Oct 27 00:54 Dockerfile [2020-10-27T00:56:39.728Z] -rw-rw-r-- 1 jenkins jenkins 966 Oct 27 00:54 Dockerfile.build [2020-10-27T00:56:39.728Z] -rw-rw-r-- 1 jenkins jenkins 766 Oct 27 00:54 Jenkinsfile [2020-10-27T00:56:39.728Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 27 00:54 LICENSE [2020-10-27T00:56:39.728Z] -rw-rw-r-- 1 jenkins jenkins 1277 Oct 27 00:54 README.md [2020-10-27T00:56:39.728Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 00:54 VERSION [2020-10-27T00:56:39.728Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 00:54 bin [2020-10-27T00:56:39.728Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 27 00:55 coverage.out [2020-10-27T00:56:39.728Z] -rw-rw-r-- 1 jenkins jenkins 180 Oct 27 00:54 docker-compose.debug.yml [2020-10-27T00:56:39.728Z] -rw-rw-r-- 1 jenkins jenkins 133 Oct 27 00:54 docker-compose.yml [2020-10-27T00:56:39.728Z] -rw-r--r-- 1 jenkins jenkins 133 Oct 27 00:56 go.mod [2020-10-27T00:56:39.728Z] -rw-r--r-- 1 jenkins jenkins 19860 Oct 27 00:56 go.sum [2020-10-27T00:56:39.728Z] -rw-rw-r-- 1 jenkins jenkins 1519 Oct 27 00:54 main.go [2020-10-27T00:56:39.728Z] -rw-rw-r-- 1 jenkins jenkins 1573 Oct 27 00:54 makefile [2020-10-27T00:56:39.728Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 27 00:54 res [2020-10-27T00:56:39.728Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 00:54 snap [Pipeline] isUnix [Pipeline] sh [2020-10-27T00:56:40.072Z] + 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=ffb787fbf19e9694b5c652c6fff92716ec2d7c4e --label arch=arm64 --label version=0.0.0 . [2020-10-27T00:56:40.072Z] Sending build context to Docker daemon 120.8kB [2020-10-27T00:56:40.344Z] Step 1/27 : ARG BASE=golang:1.15-alpine [2020-10-27T00:56:40.344Z] Step 2/27 : FROM ${BASE} AS builder [2020-10-27T00:56:40.344Z] ---> bbfacaf7a181 [2020-10-27T00:56:40.344Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2020-10-27T00:56:40.618Z] ---> Running in a4490739a301 [2020-10-27T00:56:41.215Z] Removing intermediate container a4490739a301 [2020-10-27T00:56:41.215Z] ---> 33939d4a4c3f [2020-10-27T00:56:41.215Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2020-10-27T00:56:41.215Z] ---> Running in 273b42b4c878 [2020-10-27T00:56:41.618Z] Removing intermediate container dbe8ee10d790 [2020-10-27T00:56:41.618Z] ---> fe07aabc57b3 [2020-10-27T00:56:41.618Z] Successfully built fe07aabc57b3 [2020-10-27T00:56:41.618Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-27T00:56:41.816Z] Removing intermediate container 273b42b4c878 [2020-10-27T00:56:41.816Z] ---> 47a312684f08 [2020-10-27T00:56:41.816Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-27T00:56:41.816Z] ---> Running in de5aca6df61d [2020-10-27T00:56:41.982Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-27T00:56:41.983Z] . [Pipeline] withDockerContainer [2020-10-27T00:56:42.090Z] prd-centos7-docker-4c-2g-9043 does not seem to be running inside a container [2020-10-27T00:56:42.091Z] Removing intermediate container de5aca6df61d [2020-10-27T00:56:42.091Z] ---> 0d653166954b [2020-10-27T00:56:42.091Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-27T00:56:42.148Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/13 -v /w/workspace/app-service-configurable/13:/w/workspace/app-service-configurable/13:rw,z -v /w/workspace/app-service-configurable/13@tmp:/w/workspace/app-service-configurable/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-27T00:56:42.366Z] ---> Running in 97bf3585b85a [2020-10-27T00:56:43.058Z] $ docker top 96b49cff3d11023d870d85deaa77f6c5795e5379849eca22f3fd8a4d0443b9b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-27T00:56:43.741Z] + go version [2020-10-27T00:56:43.741Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-27T00:56:43.762Z] $ docker stop --time=1 96b49cff3d11023d870d85deaa77f6c5795e5379849eca22f3fd8a4d0443b9b3 [2020-10-27T00:56:44.985Z] Removing intermediate container 97bf3585b85a [2020-10-27T00:56:44.986Z] ---> 406ab148f444 [2020-10-27T00:56:44.986Z] Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-27T00:56:44.986Z] ---> Running in 5f8bdf50a52f [2020-10-27T00:56:45.129Z] $ docker rm -f 96b49cff3d11023d870d85deaa77f6c5795e5379849eca22f3fd8a4d0443b9b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-27T00:56:46.031Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-27T00:56:46.031Z] . [Pipeline] withDockerContainer [2020-10-27T00:56:46.142Z] prd-centos7-docker-4c-2g-9043 does not seem to be running inside a container [2020-10-27T00:56:46.189Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/13 -v /w/workspace/app-service-configurable/13:/w/workspace/app-service-configurable/13:rw,z -v /w/workspace/app-service-configurable/13@tmp:/w/workspace/app-service-configurable/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-27T00:56:46.413Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-27T00:56:46.890Z] $ docker top 7ff40069278b34b564ef39efadb215b053d4e40ba755333709ce5d9fa2c8cfd1 -eo pid,comm [2020-10-27T00:56:47.007Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] { [Pipeline] sh [2020-10-27T00:56:47.404Z] + make test [2020-10-27T00:56:47.404Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-10-27T00:56:47.609Z] OK: 144 MiB in 45 packages [2020-10-27T00:56:49.044Z] Removing intermediate container 5f8bdf50a52f [2020-10-27T00:56:49.044Z] ---> 8e3f4a406b89 [2020-10-27T00:56:49.044Z] Step 8/27 : WORKDIR /app [2020-10-27T00:56:49.044Z] ---> Running in 30eef3572bc6 [2020-10-27T00:56:49.319Z] Removing intermediate container 30eef3572bc6 [2020-10-27T00:56:49.319Z] ---> 5aff75a69ca5 [2020-10-27T00:56:49.319Z] Step 9/27 : COPY go.mod . [2020-10-27T00:56:49.914Z] ---> 01c4b1dda6f9 [2020-10-27T00:56:49.914Z] Step 10/27 : RUN go mod download [2020-10-27T00:56:50.186Z] ---> Running in 53f3635e6eaa [2020-10-27T00:56:52.816Z] Removing intermediate container 53f3635e6eaa [2020-10-27T00:56:52.816Z] ---> 940e61d3aab7 [2020-10-27T00:56:52.816Z] Step 11/27 : COPY . . [2020-10-27T00:56:53.792Z] ---> e92d73a7f0af [2020-10-27T00:56:53.792Z] Step 12/27 : ARG MAKE="make build" [2020-10-27T00:56:53.792Z] ---> Running in dca8b714430a [2020-10-27T00:56:54.386Z] Removing intermediate container dca8b714430a [2020-10-27T00:56:54.386Z] ---> 5018cf09337b [2020-10-27T00:56:54.386Z] Step 13/27 : RUN $MAKE [2020-10-27T00:56:54.386Z] ---> Running in 7314d552f013 [2020-10-27T00:56:55.816Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/internal.SDKVersion=v1.2.1-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/internal.ApplicationVersion=0.0.0" -o app-service-configurable [2020-10-27T00:57:05.692Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-10-27T00:57:05.692Z] CGO_ENABLED=1 go vet ./... [2020-10-27T00:57:09.051Z] gofmt -l . [2020-10-27T00:57:09.051Z] [ "`gofmt -l .`" = "" ] [2020-10-27T00:57:09.051Z] ./bin/test-go-mod-tidy.sh [2020-10-27T00:57:09.313Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-10-27T00:57:09.905Z] Warning: overwriting stash ‘coverage-report’ [2020-10-27T00:57:10.207Z] Stashed 1 file(s) [Pipeline] } [2020-10-27T00:57:10.215Z] $ docker stop --time=1 7ff40069278b34b564ef39efadb215b053d4e40ba755333709ce5d9fa2c8cfd1 [2020-10-27T00:57:11.971Z] $ docker rm -f 7ff40069278b34b564ef39efadb215b053d4e40ba755333709ce5d9fa2c8cfd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-27T00:57:12.909Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-27T00:57:13.212Z] + ls -al . [2020-10-27T00:57:13.212Z] total 96 [2020-10-27T00:57:13.212Z] drwxrwxr-x. 7 jenkins jenkins 4096 Oct 27 00:57 . [2020-10-27T00:57:13.212Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 27 00:55 .. [2020-10-27T00:57:13.212Z] -rw-rw-r--. 1 jenkins jenkins 6568 Oct 27 00:55 Attribution.txt [2020-10-27T00:57:13.212Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 27 00:55 bin [2020-10-27T00:57:13.212Z] -rw-r--r--. 1 jenkins jenkins 10 Oct 27 00:56 coverage.out [2020-10-27T00:57:13.212Z] -rw-rw-r--. 1 jenkins jenkins 180 Oct 27 00:55 docker-compose.debug.yml [2020-10-27T00:57:13.212Z] -rw-rw-r--. 1 jenkins jenkins 133 Oct 27 00:55 docker-compose.yml [2020-10-27T00:57:13.212Z] -rw-rw-r--. 1 jenkins jenkins 2002 Oct 27 00:55 Dockerfile [2020-10-27T00:57:13.212Z] -rw-rw-r--. 1 jenkins jenkins 966 Oct 27 00:55 Dockerfile.build [2020-10-27T00:57:13.212Z] -rw-rw-r--. 1 jenkins jenkins 119 Oct 27 00:55 .dockerignore [2020-10-27T00:57:13.212Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 27 00:55 .git [2020-10-27T00:57:13.212Z] drwxrwxr-x. 2 jenkins jenkins 81 Oct 27 00:55 .github [2020-10-27T00:57:13.212Z] -rw-rw-r--. 1 jenkins jenkins 93 Oct 27 00:55 .gitignore [2020-10-27T00:57:13.212Z] -rw-r--r--. 1 jenkins jenkins 133 Oct 27 00:57 go.mod [2020-10-27T00:57:13.212Z] -rw-r--r--. 1 jenkins jenkins 19860 Oct 27 00:57 go.sum [2020-10-27T00:57:13.212Z] -rw-rw-r--. 1 jenkins jenkins 766 Oct 27 00:55 Jenkinsfile [2020-10-27T00:57:13.212Z] -rw-rw-r--. 1 jenkins jenkins 10174 Oct 27 00:55 LICENSE [2020-10-27T00:57:13.212Z] -rw-rw-r--. 1 jenkins jenkins 1519 Oct 27 00:55 main.go [2020-10-27T00:57:13.212Z] -rw-rw-r--. 1 jenkins jenkins 1573 Oct 27 00:55 makefile [2020-10-27T00:57:13.212Z] -rw-rw-r--. 1 jenkins jenkins 1277 Oct 27 00:55 README.md [2020-10-27T00:57:13.212Z] drwxrwxr-x. 10 jenkins jenkins 171 Oct 27 00:55 res [2020-10-27T00:57:13.212Z] drwxrwxr-x. 4 jenkins jenkins 71 Oct 27 00:55 snap [2020-10-27T00:57:13.212Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 27 00:54 VERSION [Pipeline] isUnix [Pipeline] sh [2020-10-27T00:57:13.520Z] + 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=ffb787fbf19e9694b5c652c6fff92716ec2d7c4e --label arch=amd64 --label version=0.0.0 . [2020-10-27T00:57:13.520Z] Sending build context to Docker daemon 120.8kB [2020-10-27T00:57:13.783Z] Step 1/27 : ARG BASE=golang:1.15-alpine [2020-10-27T00:57:13.783Z] Step 2/27 : FROM ${BASE} AS builder [2020-10-27T00:57:13.783Z] ---> fe07aabc57b3 [2020-10-27T00:57:13.783Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2020-10-27T00:57:13.783Z] ---> Running in b5509d250317 [2020-10-27T00:57:14.048Z] Removing intermediate container b5509d250317 [2020-10-27T00:57:14.048Z] ---> d3d7e40547ef [2020-10-27T00:57:14.048Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2020-10-27T00:57:14.048Z] ---> Running in b86119bb0eeb [2020-10-27T00:57:14.311Z] Removing intermediate container b86119bb0eeb [2020-10-27T00:57:14.311Z] ---> f1deebd5d31e [2020-10-27T00:57:14.311Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-27T00:57:14.311Z] ---> Running in 21354b1b6673 [2020-10-27T00:57:14.311Z] Removing intermediate container 21354b1b6673 [2020-10-27T00:57:14.311Z] ---> 7df99fbec740 [2020-10-27T00:57:14.311Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-27T00:57:14.575Z] ---> Running in ecb3a0ede8bd [2020-10-27T00:57:15.530Z] Removing intermediate container ecb3a0ede8bd [2020-10-27T00:57:15.531Z] ---> 8fcf333b5fa6 [2020-10-27T00:57:15.531Z] Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-27T00:57:15.531Z] ---> Running in 72f1c4df068d [2020-10-27T00:57:16.108Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-27T00:57:16.685Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-27T00:57:17.263Z] OK: 167 MiB in 45 packages [2020-10-27T00:57:17.529Z] Removing intermediate container 72f1c4df068d [2020-10-27T00:57:17.529Z] ---> 99038f8fcc7a [2020-10-27T00:57:17.529Z] Step 8/27 : WORKDIR /app [2020-10-27T00:57:17.794Z] ---> Running in 5c290e465276 [2020-10-27T00:57:17.794Z] Removing intermediate container 5c290e465276 [2020-10-27T00:57:17.794Z] ---> 85fba8ea9cd2 [2020-10-27T00:57:17.794Z] Step 9/27 : COPY go.mod . [2020-10-27T00:57:18.058Z] ---> 6d485e1a1a4f [2020-10-27T00:57:18.058Z] Step 10/27 : RUN go mod download [2020-10-27T00:57:18.324Z] ---> Running in 9630822bf1b4 [2020-10-27T00:57:19.287Z] Removing intermediate container 9630822bf1b4 [2020-10-27T00:57:19.287Z] ---> 6b214d38963f [2020-10-27T00:57:19.287Z] Step 11/27 : COPY . . [2020-10-27T00:57:19.551Z] ---> 1db08545600f [2020-10-27T00:57:19.551Z] Step 12/27 : ARG MAKE="make build" [2020-10-27T00:57:19.551Z] ---> Running in 0561209978fb [2020-10-27T00:57:19.816Z] Removing intermediate container 0561209978fb [2020-10-27T00:57:19.816Z] ---> 263d7cd20cc0 [2020-10-27T00:57:19.816Z] Step 13/27 : RUN $MAKE [2020-10-27T00:57:19.816Z] ---> Running in f5e78d115c72 [2020-10-27T00:57:20.404Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/internal.SDKVersion=v1.2.1-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/internal.ApplicationVersion=0.0.0" -o app-service-configurable [2020-10-27T00:57:38.658Z] Removing intermediate container f5e78d115c72 [2020-10-27T00:57:38.658Z] ---> 9118a9b00f0a [2020-10-27T00:57:38.658Z] Step 14/27 : FROM alpine:latest [2020-10-27T00:57:38.658Z] latest: Pulling from library/alpine [2020-10-27T00:57:38.658Z] 188c0c94c7c5: Pulling fs layer [2020-10-27T00:57:38.921Z] 188c0c94c7c5: Download complete [2020-10-27T00:57:39.184Z] 188c0c94c7c5: Pull complete [2020-10-27T00:57:39.184Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-10-27T00:57:39.184Z] Status: Downloaded newer image for alpine:latest [2020-10-27T00:57:39.184Z] ---> d6e46aa2470d [2020-10-27T00:57:39.184Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-27T00:57:39.184Z] ---> Running in cad27fe11e17 [2020-10-27T00:57:39.448Z] Removing intermediate container cad27fe11e17 [2020-10-27T00:57:39.448Z] ---> d2d24f265300 [2020-10-27T00:57:39.448Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2020-10-27T00:57:39.448Z] ---> Running in cb24a97f32c0 [2020-10-27T00:57:39.712Z] Removing intermediate container cb24a97f32c0 [2020-10-27T00:57:39.712Z] ---> 045f3e7f49dd [2020-10-27T00:57:39.712Z] Step 17/27 : RUN apk --no-cache add ca-certificates zeromq [2020-10-27T00:57:39.712Z] ---> Running in ee20210108fc [2020-10-27T00:57:40.293Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-27T00:57:40.293Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-27T00:57:40.557Z] (1/6) Installing ca-certificates (20191127-r4) [2020-10-27T00:57:40.557Z] (2/6) Installing libgcc (9.3.0-r2) [2020-10-27T00:57:40.557Z] (3/6) Installing libsodium (1.0.18-r0) [2020-10-27T00:57:40.557Z] (4/6) Installing libstdc++ (9.3.0-r2) [2020-10-27T00:57:40.557Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-27T00:57:40.557Z] (6/6) Installing zeromq (4.3.3-r0) [2020-10-27T00:57:40.557Z] Executing busybox-1.31.1-r19.trigger [2020-10-27T00:57:40.557Z] Executing ca-certificates-20191127-r4.trigger [2020-10-27T00:57:40.821Z] OK: 9 MiB in 20 packages [2020-10-27T00:57:42.229Z] Removing intermediate container ee20210108fc [2020-10-27T00:57:42.229Z] ---> f51d4a6e9455 [2020-10-27T00:57:42.229Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2020-10-27T00:57:42.229Z] ---> 1e0453496af9 [2020-10-27T00:57:42.229Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2020-10-27T00:57:42.491Z] ---> 82a60a5cfbb0 [2020-10-27T00:57:42.491Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2020-10-27T00:57:42.754Z] ---> 62706c0f9206 [2020-10-27T00:57:42.754Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2020-10-27T00:57:42.818Z] Removing intermediate container 7314d552f013 [2020-10-27T00:57:42.818Z] ---> 0309b9fe3a7f [2020-10-27T00:57:42.818Z] Step 14/27 : FROM alpine:latest [2020-10-27T00:57:42.818Z] latest: Pulling from library/alpine [2020-10-27T00:57:42.818Z] 5f621e34cdf4: Pulling fs layer [2020-10-27T00:57:42.818Z] 5f621e34cdf4: Verifying Checksum [2020-10-27T00:57:42.818Z] 5f621e34cdf4: Download complete [2020-10-27T00:57:42.818Z] 5f621e34cdf4: Pull complete [2020-10-27T00:57:43.092Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-10-27T00:57:43.092Z] Status: Downloaded newer image for alpine:latest [2020-10-27T00:57:43.092Z] ---> 2e77e061c27f [2020-10-27T00:57:43.092Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-27T00:57:43.092Z] ---> Running in 6e38d3016aa0 [2020-10-27T00:57:43.685Z] Removing intermediate container 6e38d3016aa0 [2020-10-27T00:57:43.685Z] ---> ac18e4dd7755 [2020-10-27T00:57:43.685Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2020-10-27T00:57:43.685Z] ---> Running in 786c05f201b0 [2020-10-27T00:57:43.703Z] ---> 3b36de513de6 [2020-10-27T00:57:43.703Z] Step 22/27 : EXPOSE 48095 [2020-10-27T00:57:43.703Z] ---> Running in d9ba6c70bbe5 [2020-10-27T00:57:43.703Z] Removing intermediate container d9ba6c70bbe5 [2020-10-27T00:57:43.703Z] ---> 038b461e3394 [2020-10-27T00:57:43.703Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2020-10-27T00:57:43.703Z] ---> Running in 4255ee3de1f0 [2020-10-27T00:57:43.965Z] Removing intermediate container 4255ee3de1f0 [2020-10-27T00:57:43.965Z] ---> 66a0eb2ce223 [2020-10-27T00:57:43.965Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-27T00:57:43.965Z] ---> Running in e158dcac77c5 [2020-10-27T00:57:44.228Z] Removing intermediate container e158dcac77c5 [2020-10-27T00:57:44.228Z] ---> 3d8117646866 [2020-10-27T00:57:44.228Z] Step 25/27 : LABEL arch=amd64 [2020-10-27T00:57:44.228Z] ---> Running in 961d58c55f98 [2020-10-27T00:57:44.228Z] Removing intermediate container 961d58c55f98 [2020-10-27T00:57:44.228Z] ---> 9681a4ed8079 [2020-10-27T00:57:44.228Z] Step 26/27 : LABEL git_sha=ffb787fbf19e9694b5c652c6fff92716ec2d7c4e [2020-10-27T00:57:44.279Z] Removing intermediate container 786c05f201b0 [2020-10-27T00:57:44.279Z] ---> f47e473ac17b [2020-10-27T00:57:44.279Z] Step 17/27 : RUN apk --no-cache add ca-certificates zeromq [2020-10-27T00:57:44.279Z] ---> Running in f16538e70c95 [2020-10-27T00:57:44.491Z] ---> Running in a5b5d87dc7b0 [2020-10-27T00:57:44.491Z] Removing intermediate container a5b5d87dc7b0 [2020-10-27T00:57:44.491Z] ---> 05c83dc1f3ef [2020-10-27T00:57:44.491Z] Step 27/27 : LABEL version=0.0.0 [2020-10-27T00:57:44.491Z] ---> Running in f579f68a25c6 [2020-10-27T00:57:44.754Z] Removing intermediate container f579f68a25c6 [2020-10-27T00:57:44.754Z] ---> 9e8c4fc8ed42 [2020-10-27T00:57:44.754Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-27T00:57:44.754Z] Successfully built 9e8c4fc8ed42 [2020-10-27T00:57:44.754Z] 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-27T00:57:45.715Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-27T00:57:45.715Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-27T00:57:46.310Z] (1/6) Installing ca-certificates (20191127-r4) [2020-10-27T00:57:46.310Z] (2/6) Installing libgcc (9.3.0-r2) [2020-10-27T00:57:46.310Z] (3/6) Installing libsodium (1.0.18-r0) [2020-10-27T00:57:46.310Z] (4/6) Installing libstdc++ (9.3.0-r2) [2020-10-27T00:57:46.587Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-27T00:57:46.587Z] (6/6) Installing zeromq (4.3.3-r0) [2020-10-27T00:57:46.587Z] Executing busybox-1.31.1-r19.trigger [2020-10-27T00:57:46.587Z] Executing ca-certificates-20191127-r4.trigger [2020-10-27T00:57:46.587Z] OK: 9 MiB in 20 packages [2020-10-27T00:57:48.561Z] Removing intermediate container f16538e70c95 [2020-10-27T00:57:48.561Z] ---> c05fae92b475 [2020-10-27T00:57:48.561Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2020-10-27T00:57:48.834Z] ---> 128875db9351 [2020-10-27T00:57:48.834Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2020-10-27T00:57:49.812Z] ---> 735d0a4e86c7 [2020-10-27T00:57:49.812Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2020-10-27T00:57:50.404Z] ---> a30fe98f1afe [2020-10-27T00:57:50.404Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2020-10-27T00:57:51.835Z] ---> 6ef8bf125f50 [2020-10-27T00:57:51.835Z] Step 22/27 : EXPOSE 48095 [2020-10-27T00:57:52.108Z] ---> Running in ccb0eb51a63a [2020-10-27T00:57:52.381Z] Removing intermediate container ccb0eb51a63a [2020-10-27T00:57:52.381Z] ---> b53fa8b8826c [2020-10-27T00:57:52.381Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2020-10-27T00:57:52.652Z] ---> Running in a73e61a03c3b [2020-10-27T00:57:52.924Z] Removing intermediate container a73e61a03c3b [2020-10-27T00:57:52.924Z] ---> 57ae789fdd66 [2020-10-27T00:57:52.924Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-27T00:57:53.196Z] ---> Running in df28c12c7100 [2020-10-27T00:57:53.470Z] Removing intermediate container df28c12c7100 [2020-10-27T00:57:53.470Z] ---> ed20470b6555 [2020-10-27T00:57:53.470Z] Step 25/27 : LABEL arch=arm64 [2020-10-27T00:57:53.743Z] ---> Running in 2835270cf9eb [2020-10-27T00:57:54.017Z] Removing intermediate container 2835270cf9eb [2020-10-27T00:57:54.017Z] ---> 7062a7eddd98 [2020-10-27T00:57:54.017Z] Step 26/27 : LABEL git_sha=ffb787fbf19e9694b5c652c6fff92716ec2d7c4e [2020-10-27T00:57:54.299Z] ---> Running in 0419896f6741 [2020-10-27T00:57:54.895Z] Removing intermediate container 0419896f6741 [2020-10-27T00:57:54.895Z] ---> c4938c95412c [2020-10-27T00:57:54.895Z] Step 27/27 : LABEL version=0.0.0 [2020-10-27T00:57:54.895Z] ---> Running in 0e4cdaeab1e7 [2020-10-27T00:57:55.492Z] Removing intermediate container 0e4cdaeab1e7 [2020-10-27T00:57:55.492Z] ---> 72edaf2af433 [2020-10-27T00:57:55.492Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-27T00:57:55.492Z] Successfully built 72edaf2af433 [2020-10-27T00:57:55.492Z] 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-27T00:58:00.366Z] Still waiting to schedule task [2020-10-27T00:58:00.366Z] All nodes of label ‘ubuntu18.04-docker-8c-8g’ are offline [2020-10-27T00:58:11.182Z] Still waiting to schedule task [2020-10-27T00:58:11.182Z] All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline [2020-10-27T00:59:01.395Z] Running on prd-ubuntu18.04-docker-8c-8g-9044 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-27T00:59:01.449Z] Running in /w/workspace/app-service-configurable/13 [Pipeline] { [Pipeline] checkout [2020-10-27T00:59:04.232Z] using credential edgex-jenkins-ssh [2020-10-27T00:59:04.293Z] Cloning the remote Git repository [2020-10-27T00:59:03.670Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T00:59:03.751Z] > git init /w/workspace/app-service-configurable/13 # timeout=10 [2020-10-27T00:59:03.790Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T00:59:03.791Z] > git --version # timeout=10 [2020-10-27T00:59:03.801Z] > git --version # 'git version 2.17.1' [2020-10-27T00:59:03.802Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T00:59:03.846Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T00:59:05.641Z] Merging remotes/origin/master commit 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 into PR head commit 56afee60f47744720baa836efc6be2ae9b07808d [2020-10-27T00:59:05.753Z] Merge succeeded, producing 466d297f97a24b49992e20a7cb69b84963d35870 [2020-10-27T00:59:05.754Z] Checking out Revision 466d297f97a24b49992e20a7cb69b84963d35870 (PR-124) [2020-10-27T00:59:04.440Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-27T00:59:04.447Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T00:59:04.460Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-27T00:59:04.479Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T00:59:04.479Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T00:59:04.486Z] > 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-27T00:59:04.996Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T00:59:05.003Z] > git checkout -f 56afee60f47744720baa836efc6be2ae9b07808d # timeout=10 [2020-10-27T00:59:05.048Z] > git remote # timeout=10 [2020-10-27T00:59:05.055Z] > git config --get remote.origin.url # timeout=10 [2020-10-27T00:59:05.064Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T00:59:05.068Z] > git merge 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 # timeout=10 [2020-10-27T00:59:05.086Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-27T00:59:05.100Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T00:59:05.106Z] > git checkout -f 466d297f97a24b49992e20a7cb69b84963d35870 # timeout=10 [2020-10-27T00:59:09.588Z] Commit message: "Merge commit '6aed5cde4d38e364b7def40f9e6b4d8e988d4e17' into HEAD" [2020-10-27T00:59:09.598Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [2020-10-27T00:59:08.935Z] > git rev-list --no-walk f2e565f1610ec8fd4223ca17c219d0fa5c7238c7 # timeout=10 [Pipeline] libraryResource [Pipeline] sh [2020-10-27T00:59:10.783Z] + echo snap-build.sh [2020-10-27T00:59:10.783Z] snap-build.sh [2020-10-27T00:59:10.783Z] + SNAP_BASE_DIR=. [2020-10-27T00:59:10.783Z] + '[' '!' -z /w/workspace/app-service-configurable/13 ']' [2020-10-27T00:59:10.783Z] + SNAP_BASE_DIR=/w/workspace/app-service-configurable/13 [2020-10-27T00:59:10.783Z] + echo '[snap-build] Building snap in dir [/w/workspace/app-service-configurable/13]' [2020-10-27T00:59:10.783Z] [snap-build] Building snap in dir [/w/workspace/app-service-configurable/13] [2020-10-27T00:59:10.783Z] + cd /w/workspace/app-service-configurable/13 [2020-10-27T00:59:10.783Z] + sudo apt-get update [2020-10-27T00:59:10.783Z] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-10-27T00:59:11.050Z] Get:2 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic InRelease [15.9 kB] [2020-10-27T00:59:11.050Z] Hit:3 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic InRelease [2020-10-27T00:59:11.050Z] Get:4 http://apt.puppetlabs.com xenial InRelease [101 kB] [2020-10-27T00:59:11.050Z] Get:5 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-10-27T00:59:11.050Z] Get:6 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1397 kB] [2020-10-27T00:59:11.314Z] Get:7 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB] [2020-10-27T00:59:11.314Z] Hit:8 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic InRelease [2020-10-27T00:59:11.314Z] Get:9 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [276 kB] [2020-10-27T00:59:11.314Z] Get:10 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [165 kB] [2020-10-27T00:59:11.314Z] Get:11 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [21.9 kB] [2020-10-27T00:59:11.314Z] Get:12 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1078 kB] [2020-10-27T00:59:11.314Z] Get:13 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [241 kB] [2020-10-27T00:59:11.314Z] Get:14 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [12.9 kB] [2020-10-27T00:59:11.314Z] Get:15 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [2964 B] [2020-10-27T00:59:11.582Z] Get:16 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-10-27T00:59:11.582Z] Get:17 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic/main amd64 Packages [824 B] [2020-10-27T00:59:11.877Z] Get:18 http://apt.puppetlabs.com xenial/puppet all Packages [22.7 kB] [2020-10-27T00:59:11.877Z] Get:19 http://apt.puppetlabs.com xenial/puppet amd64 Packages [56.2 kB] [2020-10-27T00:59:12.142Z] Get:20 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1725 kB] [2020-10-27T00:59:12.406Z] Get:21 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [367 kB] [2020-10-27T00:59:12.406Z] Get:22 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [184 kB] [2020-10-27T00:59:12.406Z] Get:23 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [24.6 kB] [2020-10-27T00:59:12.406Z] Get:24 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1680 kB] [2020-10-27T00:59:12.669Z] Get:25 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [353 kB] [2020-10-27T00:59:12.669Z] Get:26 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [31.9 kB] [2020-10-27T00:59:12.669Z] Get:27 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [6980 B] [2020-10-27T00:59:12.669Z] Get:28 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [10.0 kB] [2020-10-27T00:59:12.669Z] Get:29 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [10.3 kB] [2020-10-27T00:59:17.985Z] Fetched 8100 kB in 3s (3103 kB/s) [2020-10-27T00:59:18.564Z] Reading package lists... [2020-10-27T00:59:18.564Z] + sudo apt-get install -y expect [2020-10-27T00:59:18.832Z] Reading package lists... [2020-10-27T00:59:19.095Z] Building dependency tree... [2020-10-27T00:59:19.095Z] Reading state information... [2020-10-27T00:59:19.357Z] The following packages were automatically installed and are no longer required: [2020-10-27T00:59:19.357Z] grub-pc-bin libdumbnet1 [2020-10-27T00:59:19.357Z] Use 'sudo apt autoremove' to remove them. [2020-10-27T00:59:19.357Z] The following additional packages will be installed: [2020-10-27T00:59:19.357Z] tcl-expect [2020-10-27T00:59:19.357Z] The following NEW packages will be installed: [2020-10-27T00:59:19.357Z] expect tcl-expect [2020-10-27T00:59:19.622Z] 0 upgraded, 2 newly installed, 0 to remove and 51 not upgraded. [2020-10-27T00:59:19.622Z] Need to get 242 kB of archives. [2020-10-27T00:59:19.622Z] After this operation, 540 kB of additional disk space will be used. [2020-10-27T00:59:19.622Z] Get:1 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic/universe amd64 tcl-expect amd64 5.45.4-1 [105 kB] [2020-10-27T00:59:19.887Z] Get:2 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic/universe amd64 expect amd64 5.45.4-1 [137 kB] [2020-10-27T00:59:20.463Z] debconf: unable to initialize frontend: Dialog [2020-10-27T00:59:20.463Z] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) [2020-10-27T00:59:20.463Z] debconf: falling back to frontend: Readline [2020-10-27T00:59:20.463Z] debconf: unable to initialize frontend: Readline [2020-10-27T00:59:20.463Z] debconf: (This frontend requires a controlling tty.) [2020-10-27T00:59:20.463Z] debconf: falling back to frontend: Teletype [2020-10-27T00:59:20.463Z] dpkg-preconfigure: unable to re-open stdin: [2020-10-27T00:59:20.463Z] Fetched 242 kB in 1s (379 kB/s) [2020-10-27T00:59:20.724Z] Selecting previously unselected package tcl-expect:amd64. [2020-10-27T00:59:21.795Z] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 189863 files and directories currently installed.) [2020-10-27T00:59:21.795Z] Preparing to unpack .../tcl-expect_5.45.4-1_amd64.deb ... [2020-10-27T00:59:21.795Z] Unpacking tcl-expect:amd64 (5.45.4-1) ... [2020-10-27T00:59:22.058Z] Selecting previously unselected package expect. [2020-10-27T00:59:22.058Z] Preparing to unpack .../expect_5.45.4-1_amd64.deb ... [2020-10-27T00:59:22.058Z] Unpacking expect (5.45.4-1) ... [2020-10-27T00:59:22.058Z] Setting up tcl-expect:amd64 (5.45.4-1) ... [2020-10-27T00:59:22.321Z] Setting up expect (5.45.4-1) ... [2020-10-27T00:59:22.321Z] Processing triggers for man-db (2.8.3-2ubuntu0.1) ... [2020-10-27T00:59:24.901Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-10-27T00:59:27.468Z] + '[' -f snap/local/patches/0001-optimize-build-for-pipeline-CI-check.patch ']' [2020-10-27T00:59:27.468Z] + pushd /build [2020-10-27T00:59:27.468Z] /w/workspace/app-service-configurable/13@tmp/durable-3b29c3f8/script.sh: line 27: pushd: /build: No such file or directory [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-27T00:59:28.589Z] Failed in branch amd64 [2020-10-27T01:00:01.516Z] Running on prd-ubuntu18.04-docker-arm64-16c-16g-9046 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-27T01:00:01.606Z] Running in /w/workspace/app-service-configurable/13 [Pipeline] { [Pipeline] checkout [2020-10-27T01:00:05.705Z] using credential edgex-jenkins-ssh [2020-10-27T01:00:05.766Z] Cloning the remote Git repository [2020-10-27T01:00:05.817Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T01:00:05.917Z] > git init /w/workspace/app-service-configurable/13 # timeout=10 [2020-10-27T01:00:05.978Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T01:00:05.978Z] > git --version # timeout=10 [2020-10-27T01:00:05.992Z] > git --version # 'git version 2.17.1' [2020-10-27T01:00:05.993Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T01:00:06.058Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T01:00:07.553Z] Merging remotes/origin/master commit 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 into PR head commit 56afee60f47744720baa836efc6be2ae9b07808d [2020-10-27T01:00:07.758Z] Merge succeeded, producing ccb1ff15b217d337ed66f577de1dfda3522b76a7 [2020-10-27T01:00:07.758Z] Checking out Revision ccb1ff15b217d337ed66f577de1dfda3522b76a7 (PR-124) [2020-10-27T01:00:06.905Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-27T01:00:06.920Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T01:00:06.941Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-27T01:00:06.973Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T01:00:06.973Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T01:00:06.985Z] > 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-27T01:00:07.576Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T01:00:07.589Z] > git checkout -f 56afee60f47744720baa836efc6be2ae9b07808d # timeout=10 [2020-10-27T01:00:07.665Z] > git remote # timeout=10 [2020-10-27T01:00:07.680Z] > git config --get remote.origin.url # timeout=10 [2020-10-27T01:00:07.690Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T01:00:07.700Z] > git merge 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 # timeout=10 [2020-10-27T01:00:07.748Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-27T01:00:07.771Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T01:00:07.782Z] > git checkout -f ccb1ff15b217d337ed66f577de1dfda3522b76a7 # timeout=10 [2020-10-27T01:00:11.943Z] Commit message: "Merge commit '6aed5cde4d38e364b7def40f9e6b4d8e988d4e17' into HEAD" [2020-10-27T01:00:11.964Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-10-27T01:00:11.956Z] > git rev-list --no-walk f2e565f1610ec8fd4223ca17c219d0fa5c7238c7 # timeout=10 [2020-10-27T01:00:13.357Z] + echo snap-build.sh [2020-10-27T01:00:13.357Z] snap-build.sh [2020-10-27T01:00:13.357Z] + SNAP_BASE_DIR=. [2020-10-27T01:00:13.357Z] + '[' '!' -z /w/workspace/app-service-configurable/13 ']' [2020-10-27T01:00:13.357Z] + SNAP_BASE_DIR=/w/workspace/app-service-configurable/13 [2020-10-27T01:00:13.357Z] + echo '[snap-build] Building snap in dir [/w/workspace/app-service-configurable/13]' [2020-10-27T01:00:13.357Z] [snap-build] Building snap in dir [/w/workspace/app-service-configurable/13] [2020-10-27T01:00:13.357Z] + cd /w/workspace/app-service-configurable/13 [2020-10-27T01:00:13.357Z] + sudo apt-get update [2020-10-27T01:00:13.955Z] Get:1 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic InRelease [15.9 kB] [2020-10-27T01:00:13.955Z] Hit:2 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-10-27T01:00:13.955Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] [2020-10-27T01:00:13.955Z] Get:4 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] [2020-10-27T01:00:13.955Z] Get:5 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB] [2020-10-27T01:00:13.955Z] Get:6 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic InRelease [15.4 kB] [2020-10-27T01:00:14.231Z] Get:7 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] [2020-10-27T01:00:14.828Z] Get:8 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic/main arm64 Packages [824 B] [2020-10-27T01:00:14.828Z] Get:9 https://download.docker.com/linux/ubuntu bionic/stable arm64 Packages [12.9 kB] [2020-10-27T01:00:15.128Z] Get:10 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic/main Translation-en [476 B] [2020-10-27T01:00:15.405Z] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [822 kB] [2020-10-27T01:00:15.680Z] Get:12 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1119 kB] [2020-10-27T01:00:15.680Z] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-security/main Translation-en [276 kB] [2020-10-27T01:00:15.680Z] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted arm64 Packages [1172 B] [2020-10-27T01:00:15.680Z] Get:15 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted Translation-en [21.9 kB] [2020-10-27T01:00:15.680Z] Get:16 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [941 kB] [2020-10-27T01:00:15.680Z] Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe Translation-en [241 kB] [2020-10-27T01:00:15.957Z] Get:18 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse arm64 Packages [2360 B] [2020-10-27T01:00:15.957Z] Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse Translation-en [2964 B] [2020-10-27T01:00:15.957Z] Get:20 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main Translation-en [367 kB] [2020-10-27T01:00:15.957Z] Get:21 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [2088 B] [2020-10-27T01:00:15.957Z] Get:22 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/restricted Translation-en [24.6 kB] [2020-10-27T01:00:15.957Z] Get:23 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1478 kB] [2020-10-27T01:00:16.231Z] Get:24 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic/main arm64 Packages [9340 B] [2020-10-27T01:00:16.231Z] Get:25 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/universe Translation-en [353 kB] [2020-10-27T01:00:16.231Z] Get:26 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [5072 B] [2020-10-27T01:00:16.231Z] Get:27 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse Translation-en [6980 B] [2020-10-27T01:00:16.231Z] Get:28 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic/main Translation-en [1360 B] [2020-10-27T01:00:16.231Z] Get:29 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [9992 B] [2020-10-27T01:00:16.231Z] Get:30 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports/main Translation-en [4764 B] [2020-10-27T01:00:16.231Z] Get:31 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [9932 B] [2020-10-27T01:00:16.231Z] Get:32 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports/universe Translation-en [4588 B] [2020-10-27T01:00:31.348Z] Fetched 6066 kB in 5s (1329 kB/s) [2020-10-27T01:00:34.744Z] Reading package lists... [2020-10-27T01:00:34.744Z] + sudo apt-get install -y expect [2020-10-27T01:00:35.018Z] Reading package lists... [2020-10-27T01:00:35.620Z] Building dependency tree... [2020-10-27T01:00:35.897Z] Reading state information... [2020-10-27T01:00:36.884Z] The following additional packages will be installed: [2020-10-27T01:00:36.885Z] tcl-expect [2020-10-27T01:00:36.885Z] The following NEW packages will be installed: [2020-10-27T01:00:36.885Z] expect tcl-expect [2020-10-27T01:00:37.157Z] 0 upgraded, 2 newly installed, 0 to remove and 233 not upgraded. [2020-10-27T01:00:37.157Z] Need to get 233 kB of archives. [2020-10-27T01:00:37.157Z] After this operation, 523 kB of additional disk space will be used. [2020-10-27T01:00:37.157Z] Get:1 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic/universe arm64 tcl-expect arm64 5.45.4-1 [95.9 kB] [2020-10-27T01:00:37.754Z] Get:2 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic/universe arm64 expect arm64 5.45.4-1 [137 kB] [2020-10-27T01:00:38.742Z] debconf: unable to initialize frontend: Dialog [2020-10-27T01:00:38.742Z] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) [2020-10-27T01:00:38.742Z] debconf: falling back to frontend: Readline [2020-10-27T01:00:38.742Z] debconf: unable to initialize frontend: Readline [2020-10-27T01:00:38.742Z] debconf: (This frontend requires a controlling tty.) [2020-10-27T01:00:38.742Z] debconf: falling back to frontend: Teletype [2020-10-27T01:00:39.018Z] dpkg-preconfigure: unable to re-open stdin: [2020-10-27T01:00:39.018Z] Fetched 233 kB in 1s (368 kB/s) [2020-10-27T01:00:39.294Z] Selecting previously unselected package tcl-expect:arm64. [2020-10-27T01:00:40.944Z] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 171706 files and directories currently installed.) [2020-10-27T01:00:40.944Z] Preparing to unpack .../tcl-expect_5.45.4-1_arm64.deb ... [2020-10-27T01:00:40.944Z] Unpacking tcl-expect:arm64 (5.45.4-1) ... [2020-10-27T01:00:41.218Z] Selecting previously unselected package expect. [2020-10-27T01:00:41.218Z] Preparing to unpack .../expect_5.45.4-1_arm64.deb ... [2020-10-27T01:00:41.218Z] Unpacking expect (5.45.4-1) ... [2020-10-27T01:00:41.819Z] Setting up tcl-expect:arm64 (5.45.4-1) ... [2020-10-27T01:00:41.819Z] Setting up expect (5.45.4-1) ... [2020-10-27T01:00:41.819Z] Processing triggers for man-db (2.8.3-2ubuntu0.1) ... [2020-10-27T01:00:45.233Z] Processing triggers for libc-bin (2.27-3ubuntu1) ... [2020-10-27T01:00:51.939Z] + '[' -f snap/local/patches/0001-optimize-build-for-pipeline-CI-check.patch ']' [2020-10-27T01:00:51.939Z] + pushd /build [2020-10-27T01:00:51.939Z] /w/workspace/app-service-configurable/13@tmp/durable-9bb1252e/script.sh: line 27: pushd: /build: No such file or directory [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-27T01:00:53.312Z] 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-27T01:00:57.588Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T01:00:58.184Z] ---> package-listing.sh [2020-10-27T01:00:58.184Z] ++ facter osfamily [2020-10-27T01:00:58.184Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-27T01:00:58.184Z] + OS_FAMILY=redhat [2020-10-27T01:00:58.184Z] + workspace=/w/workspace/_app-service-configurable_PR-124 [2020-10-27T01:00:58.184Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-27T01:00:58.184Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-27T01:00:58.184Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-27T01:00:58.184Z] + PACKAGES=/tmp/packages_start.txt [2020-10-27T01:00:58.184Z] + '[' /w/workspace/_app-service-configurable_PR-124 ']' [2020-10-27T01:00:58.184Z] + PACKAGES=/tmp/packages_end.txt [2020-10-27T01:00:58.184Z] + case "${OS_FAMILY}" in [2020-10-27T01:00:58.184Z] + rpm -qa [2020-10-27T01:00:58.184Z] + sort [2020-10-27T01:01:03.509Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-27T01:01:03.509Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-27T01:01:03.509Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-27T01:01:03.509Z] + '[' /w/workspace/_app-service-configurable_PR-124 ']' [2020-10-27T01:01:03.509Z] + mkdir -p /w/workspace/_app-service-configurable_PR-124/archives/ [2020-10-27T01:01:03.509Z] + 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-27T01:01:03.524Z] 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-27T01:01:03.833Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-27T01:01:04.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-27T01:01:04.149Z] [2020-10-27T01:01:04.149Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-27T01:01:04.522Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-27T01:01:04.523Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-27T01:01:04.523Z] df20fa9351a1: Pulling fs layer [2020-10-27T01:01:04.523Z] 36b3adc4ff6f: Pulling fs layer [2020-10-27T01:01:04.523Z] 8ad3a11d3b57: Pulling fs layer [2020-10-27T01:01:04.523Z] 46f8f816bc3b: Pulling fs layer [2020-10-27T01:01:04.523Z] 93b61091891f: Pulling fs layer [2020-10-27T01:01:04.523Z] 93b9cdb0e59b: Pulling fs layer [2020-10-27T01:01:04.523Z] 5e14af77c1be: Pulling fs layer [2020-10-27T01:01:04.523Z] 01666e4c0597: Pulling fs layer [2020-10-27T01:01:04.523Z] aa168da1d23b: Pulling fs layer [2020-10-27T01:01:04.523Z] 93b61091891f: Waiting [2020-10-27T01:01:04.523Z] 93b9cdb0e59b: Waiting [2020-10-27T01:01:04.523Z] 5e14af77c1be: Waiting [2020-10-27T01:01:04.523Z] 01666e4c0597: Waiting [2020-10-27T01:01:04.523Z] aa168da1d23b: Waiting [2020-10-27T01:01:04.523Z] 46f8f816bc3b: Waiting [2020-10-27T01:01:04.523Z] 36b3adc4ff6f: Download complete [2020-10-27T01:01:04.523Z] 46f8f816bc3b: Verifying Checksum [2020-10-27T01:01:04.523Z] 46f8f816bc3b: Download complete [2020-10-27T01:01:04.795Z] 93b61091891f: Verifying Checksum [2020-10-27T01:01:04.795Z] 93b61091891f: Download complete [2020-10-27T01:01:04.795Z] df20fa9351a1: Download complete [2020-10-27T01:01:04.795Z] 93b9cdb0e59b: Verifying Checksum [2020-10-27T01:01:04.795Z] 93b9cdb0e59b: Download complete [2020-10-27T01:01:04.795Z] 5e14af77c1be: Verifying Checksum [2020-10-27T01:01:04.795Z] 5e14af77c1be: Download complete [2020-10-27T01:01:04.795Z] 01666e4c0597: Verifying Checksum [2020-10-27T01:01:04.795Z] 01666e4c0597: Download complete [2020-10-27T01:01:05.064Z] df20fa9351a1: Pull complete [2020-10-27T01:01:05.064Z] 8ad3a11d3b57: Verifying Checksum [2020-10-27T01:01:05.064Z] 8ad3a11d3b57: Download complete [2020-10-27T01:01:05.335Z] 36b3adc4ff6f: Pull complete [2020-10-27T01:01:06.308Z] 8ad3a11d3b57: Pull complete [2020-10-27T01:01:06.308Z] 46f8f816bc3b: Pull complete [2020-10-27T01:01:06.896Z] 93b61091891f: Pull complete [2020-10-27T01:01:06.896Z] 93b9cdb0e59b: Pull complete [2020-10-27T01:01:07.175Z] 5e14af77c1be: Pull complete [2020-10-27T01:01:07.175Z] aa168da1d23b: Verifying Checksum [2020-10-27T01:01:07.175Z] aa168da1d23b: Download complete [2020-10-27T01:01:07.175Z] 01666e4c0597: Pull complete [2020-10-27T01:01:14.428Z] aa168da1d23b: Pull complete [2020-10-27T01:01:14.428Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-27T01:01:14.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-27T01:01:14.428Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-27T01:01:14.709Z] prd-centos7-docker-4c-2g-9041 does not seem to be running inside a container [2020-10-27T01:01:14.773Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-124/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-124 -v /w/workspace/_app-service-configurable_PR-124:/w/workspace/_app-service-configurable_PR-124:rw,z -v /w/workspace/_app-service-configurable_PR-124@tmp:/w/workspace/_app-service-configurable_PR-124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-27T01:01:21.283Z] $ docker top 3a5387ccd81388e0c273490bfb0277c6890350b89d91181bcb7bddb12ad5ccdd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-27T01:01:21.824Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-27T01:01:22.142Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-27T01:01:22.461Z] + ls /var/log/sa-host [2020-10-27T01:01:22.461Z] + sadf -c /var/log/sa-host/sa05 [2020-10-27T01:01:22.461Z] file_magic: OK [2020-10-27T01:01:22.461Z] HZ: Using current value: 100 [2020-10-27T01:01:22.461Z] file_header: OK [2020-10-27T01:01:22.461Z] 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-27T01:01:22.461Z] Statistics: [2020-10-27T01:01:22.461Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-27T01:01:22.461Z] File successfully converted to sysstat format version 12.2.1 [2020-10-27T01:01:22.461Z] + sadf -c /var/log/sa-host/sa27 [2020-10-27T01:01:22.461Z] file_magic: OK [2020-10-27T01:01:22.461Z] HZ: Using current value: 100 [2020-10-27T01:01:22.461Z] file_header: OK [2020-10-27T01:01:22.461Z] 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-27T01:01:22.461Z] Statistics: [2020-10-27T01:01:22.461Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-27T01:01:22.461Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-27T01:01:22.668Z] provisioning config files... [2020-10-27T01:01:22.691Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-124@tmp/config1291899972762596654tmp [Pipeline] { [Pipeline] echo [2020-10-27T01:01:22.779Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T01:01:23.407Z] ---> create-netrc.sh [Pipeline] } [2020-10-27T01:01:23.417Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-27T01:01:23.542Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T01:01:23.860Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-27T01:01:23.872Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T01:01:24.185Z] ---> sudo-logs.sh [2020-10-27T01:01:24.185Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-27T01:01:24.199Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T01:01:24.504Z] ---> job-cost.sh [2020-10-27T01:01:24.505Z] lf-activate-venv: SKIPPING [2020-10-27T01:01:24.505Z] INFO: No Stack... [2020-10-27T01:01:25.456Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-27T01:01:26.032Z] INFO: Archiving Costs [Pipeline] echo [2020-10-27T01:01:26.048Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T01:01:26.379Z] ---> logs-deploy.sh [2020-10-27T01:01:26.379Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-124/13 [2020-10-27T01:01:26.379Z] INFO: archiving workspace using pattern(s): [2020-10-27T01:01:28.319Z] Archives upload complete. [2020-10-27T01:01:28.319Z] INFO: archiving logs to Nexus