Pull request #124 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 6b151aa00f8aefefdb25ac6c14c711756a9b23b0+6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 (5f354aca1c55d79cde87688f8d4b63cacbdc81fd) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@cbaf532f9317a634cb51b519024b50e839119da9 Attempting to resolve cbaf532f9317a634cb51b519024b50e839119da9 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 cbaf532f9317a634cb51b519024b50e839119da9 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 cbaf532f9317a634cb51b519024b50e839119da9^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains cbaf532f9317a634cb51b519024b50e839119da9 # timeout=10 Selected match: pr/264/head revision cbaf532f9317a634cb51b519024b50e839119da9 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 cbaf532f9317a634cb51b519024b50e839119da9 (pr/264/head) > git config core.sparsecheckout # timeout=10 > git checkout -f cbaf532f9317a634cb51b519024b50e839119da9 # 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-9200 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 6b151aa00f8aefefdb25ac6c14c711756a9b23b0 Merge succeeded, producing e7c19c07fa405c616a3a12a5c37f47feee8c2273 Checking out Revision e7c19c07fa405c616a3a12a5c37f47feee8c2273 (PR-124) > git config core.sparsecheckout # timeout=10 > git checkout -f 6b151aa00f8aefefdb25ac6c14c711756a9b23b0 # 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 e7c19c07fa405c616a3a12a5c37f47feee8c2273 # timeout=10 Commit message: "Merge commit '6aed5cde4d38e364b7def40f9e6b4d8e988d4e17' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-27T17:49:45.778Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 8d415b9becdc3b8f1189f5b95123b970724b7fb2 # timeout=10 [2020-10-27T17:49:46.107Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-27T17:49:46.233Z] ========================================================= [2020-10-27T17:49:46.233Z] EdgeX Global Pipelines Version Info [2020-10-27T17:49:46.233Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-27T17:49:48.334Z] ------------------- [2020-10-27T17:49:48.334Z] stable info: [2020-10-27T17:49:48.335Z] ------------------- [2020-10-27T17:49:48.335Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-27T17:49:48.335Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-27T17:49:48.335Z] Message: update stable to v1.0.148 [2020-10-27T17:49:48.914Z] ------------------- [2020-10-27T17:49:48.914Z] experimental info: [2020-10-27T17:49:48.914Z] ------------------- [2020-10-27T17:49:48.914Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-27T17:49:48.914Z] Commit SHA: 2701555fd48d7f7017006eef04e32eb767bac8dc [2020-10-27T17:49:48.914Z] Message: update experimental to v1.0.151 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-27T17:49:49.315Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2020-10-27T17:49:49.412Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2020-10-27T17:49:49.511Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-27T17:49:49.677Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-27T17:49:49.778Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-27T17:49:49.892Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-27T17:49:50.025Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-27T17:49:50.144Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-27T17:49:50.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-10-27T17:49:50.379Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-27T17:49:50.481Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-27T17:49:50.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-service-configurable [Pipeline] echo [2020-10-27T17:49:50.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-27T17:49:50.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-27T17:49:50.887Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-27T17:49:50.994Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-10-27T17:49:51.092Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-27T17:49:51.218Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-27T17:49:51.414Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-27T17:49:51.521Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-10-27T17:49:51.621Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-27T17:49:51.723Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-27T17:49:51.841Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-27T17:49:51.945Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-27T17:49:52.058Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-27T17:49:52.153Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-124 [Pipeline] echo [2020-10-27T17:49:52.278Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-124 [Pipeline] echo [2020-10-27T17:49:52.387Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-124 [Pipeline] echo [2020-10-27T17:49:52.537Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e7c19c07fa405c616a3a12a5c37f47feee8c2273 [Pipeline] echo [2020-10-27T17:49:52.633Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e7c19c0 [Pipeline] echo [2020-10-27T17:49:52.731Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-27T17:49:53.341Z] + git log --format=format:%s -1 e7c19c07fa405c616a3a12a5c37f47feee8c2273 [Pipeline] echo [2020-10-27T17:49:53.409Z] GIT_COMMIT: e7c19c07fa405c616a3a12a5c37f47feee8c2273, Commit Message: Merge commit '6aed5cde4d38e364b7def40f9e6b4d8e988d4e17' into HEAD [Pipeline] echo [2020-10-27T17:49:53.463Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-27T17:49:54.098Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-27T17:49:54.369Z] [2020-10-27T17:49:54.369Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-27T17:49:54.737Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-27T17:49:54.737Z] latest: Pulling from edgex-devops/git-semver [2020-10-27T17:49:54.737Z] 31603596830f: Pulling fs layer [2020-10-27T17:49:54.737Z] 2a8b12db71e7: Pulling fs layer [2020-10-27T17:49:54.737Z] 6ca5941a6612: Pulling fs layer [2020-10-27T17:49:54.737Z] ecc8261a40a4: Pulling fs layer [2020-10-27T17:49:54.737Z] ecc8261a40a4: Waiting [2020-10-27T17:49:54.737Z] 2a8b12db71e7: Verifying Checksum [2020-10-27T17:49:54.737Z] 2a8b12db71e7: Download complete [2020-10-27T17:49:55.005Z] 31603596830f: Verifying Checksum [2020-10-27T17:49:55.005Z] 31603596830f: Download complete [2020-10-27T17:49:55.005Z] 6ca5941a6612: Verifying Checksum [2020-10-27T17:49:55.274Z] ecc8261a40a4: Verifying Checksum [2020-10-27T17:49:55.274Z] ecc8261a40a4: Download complete [2020-10-27T17:49:55.274Z] 31603596830f: Pull complete [2020-10-27T17:49:55.544Z] 2a8b12db71e7: Pull complete [2020-10-27T17:49:56.514Z] 6ca5941a6612: Pull complete [2020-10-27T17:49:56.785Z] ecc8261a40a4: Pull complete [2020-10-27T17:49:56.785Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-27T17:49:56.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-27T17:49:56.785Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-27T17:49:56.922Z] prd-centos7-docker-4c-2g-9200 does not seem to be running inside a container [2020-10-27T17:49:56.980Z] $ 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-27T17:49:59.232Z] $ docker top 7988a82cd0811afd518c600291cbab19d119d55c7639a5803c4d7a116dcffa07 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-27T17:49:59.547Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-27T17:49:59.548Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-27T17:49:59.810Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-27T17:49:59.816Z] $ docker exec 7988a82cd0811afd518c600291cbab19d119d55c7639a5803c4d7a116dcffa07 ssh-agent [2020-10-27T17:50:00.022Z] SSH_AUTH_SOCK=/tmp/ssh-qKZ5X8t6EJir/agent.11 [2020-10-27T17:50:00.022Z] SSH_AGENT_PID=16 [2020-10-27T17:50:00.042Z] Running ssh-add (command line suppressed) [2020-10-27T17:50:00.211Z] Identity added: /w/workspace/_app-service-configurable_PR-124@tmp/private_key_909482715439797256.key (/w/workspace/_app-service-configurable_PR-124@tmp/private_key_909482715439797256.key) [2020-10-27T17:50:00.282Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-27T17:50:00.637Z] + git tag --points-at HEAD [Pipeline] } [2020-10-27T17:50:00.665Z] $ docker exec --env ******** --env ******** 7988a82cd0811afd518c600291cbab19d119d55c7639a5803c4d7a116dcffa07 ssh-agent -k [2020-10-27T17:50:00.791Z] unset SSH_AUTH_SOCK; [2020-10-27T17:50:00.792Z] unset SSH_AGENT_PID; [2020-10-27T17:50:00.792Z] echo Agent pid 16 killed; [2020-10-27T17:50:00.849Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-27T17:50:01.037Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-27T17:50:01.037Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-27T17:50:01.239Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-27T17:50:01.245Z] $ docker exec 7988a82cd0811afd518c600291cbab19d119d55c7639a5803c4d7a116dcffa07 ssh-agent [2020-10-27T17:50:01.431Z] SSH_AUTH_SOCK=/tmp/ssh-5XVlvxpXat8F/agent.45 [2020-10-27T17:50:01.431Z] SSH_AGENT_PID=51 [2020-10-27T17:50:01.439Z] Running ssh-add (command line suppressed) [2020-10-27T17:50:01.582Z] Identity added: /w/workspace/_app-service-configurable_PR-124@tmp/private_key_3669184682699308884.key (/w/workspace/_app-service-configurable_PR-124@tmp/private_key_3669184682699308884.key) [2020-10-27T17:50:01.659Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-27T17:50:02.056Z] + git semver init [2020-10-27T17:50:02.056Z] # -> Open(): unable to determine branch for HEAD [2020-10-27T17:50:02.056Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-124/.git [2020-10-27T17:50:02.056Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-124 [2020-10-27T17:50:02.056Z] # $SEMVER_REMOTE_NAME = origin [2020-10-27T17:50:02.056Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-27T17:50:02.056Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-27T17:50:02.056Z] # $SEMVER_BRANCH = PR-124 [2020-10-27T17:50:02.056Z] # $SEMVER_TEMP = /tmp/semver-948687346 [2020-10-27T17:50:02.056Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2020-10-27T17:50:04.637Z] # '/tmp/semver-948687346' -> '/w/workspace/_app-service-configurable_PR-124/.semver' [2020-10-27T17:50:04.637Z] # -> Force: false [2020-10-27T17:50:04.637Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-124/.semver [Pipeline] } [2020-10-27T17:50:04.655Z] $ docker exec --env ******** --env ******** 7988a82cd0811afd518c600291cbab19d119d55c7639a5803c4d7a116dcffa07 ssh-agent -k [2020-10-27T17:50:04.815Z] unset SSH_AUTH_SOCK; [2020-10-27T17:50:04.816Z] unset SSH_AGENT_PID; [2020-10-27T17:50:04.816Z] echo Agent pid 51 killed; [2020-10-27T17:50:04.877Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-27T17:50:05.366Z] + git semver [Pipeline] } [2020-10-27T17:50:05.390Z] $ docker stop --time=1 7988a82cd0811afd518c600291cbab19d119d55c7639a5803c4d7a116dcffa07 [2020-10-27T17:50:06.817Z] $ docker rm -f 7988a82cd0811afd518c600291cbab19d119d55c7639a5803c4d7a116dcffa07 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-27T17:50:07.341Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-27T17:50:07.995Z] Stashed 1 file(s) [Pipeline] echo [2020-10-27T17:50:07.998Z] [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-27T17:50:24.935Z] Still waiting to schedule task [2020-10-27T17:50:24.935Z] ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-9196’ is offline; ‘prd-centos7-docker-4c-2g-9201’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6371’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-27T17:50:24.937Z] Still waiting to schedule task [2020-10-27T17:50:24.937Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-27T17:50:36.075Z] Running on prd-centos7-docker-4c-2g-9201 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-27T17:50:36.126Z] Running in /w/workspace/app-service-configurable/18 [Pipeline] { [Pipeline] checkout [2020-10-27T17:50:38.861Z] using credential edgex-jenkins-ssh [2020-10-27T17:50:38.911Z] Cloning the remote Git repository [2020-10-27T17:50:38.937Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T17:50:39.004Z] > git init /w/workspace/app-service-configurable/18 # timeout=10 [2020-10-27T17:50:39.054Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T17:50:39.054Z] > git --version # timeout=10 [2020-10-27T17:50:39.061Z] > git --version # 'git version 2.16.5' [2020-10-27T17:50:39.062Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T17:50:39.086Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T17:50:39.622Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-27T17:50:39.628Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T17:50:39.639Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-27T17:50:39.653Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T17:50:39.654Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T17:50:39.658Z] > 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-27T17:50:40.103Z] Merging remotes/origin/master commit 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 into PR head commit 6b151aa00f8aefefdb25ac6c14c711756a9b23b0 [2020-10-27T17:50:40.208Z] Merge succeeded, producing 149f6af1d79d19ca36936ddbe142b149328578f1 [2020-10-27T17:50:40.209Z] Checking out Revision 149f6af1d79d19ca36936ddbe142b149328578f1 (PR-124) [2020-10-27T17:50:40.121Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T17:50:40.136Z] > git checkout -f 6b151aa00f8aefefdb25ac6c14c711756a9b23b0 # timeout=10 [2020-10-27T17:50:40.173Z] > git remote # timeout=10 [2020-10-27T17:50:40.178Z] > git config --get remote.origin.url # timeout=10 [2020-10-27T17:50:40.183Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T17:50:40.186Z] > git merge 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 # timeout=10 [2020-10-27T17:50:40.204Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-27T17:50:40.214Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T17:50:40.219Z] > git checkout -f 149f6af1d79d19ca36936ddbe142b149328578f1 # timeout=10 [2020-10-27T17:50:43.792Z] Commit message: "Merge commit '6aed5cde4d38e364b7def40f9e6b4d8e988d4e17' into HEAD" [2020-10-27T17:50:43.803Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-27T17:50:44.686Z] ========================================================= [2020-10-27T17:50:44.686Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-27T17:50:44.686Z] ========================================================= [2020-10-27T17:50:43.798Z] > git rev-list --no-walk 8d415b9becdc3b8f1189f5b95123b970724b7fb2 # timeout=10 [Pipeline] isUnix [Pipeline] sh [2020-10-27T17:50:45.305Z] + 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-27T17:50:45.305Z] Sending build context to Docker daemon 98.3kB [2020-10-27T17:50:45.913Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-27T17:50:45.913Z] Step 2/8 : FROM ${BASE} [2020-10-27T17:50:45.913Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-27T17:50:45.913Z] df20fa9351a1: Pulling fs layer [2020-10-27T17:50:45.913Z] ed8968b2872e: Pulling fs layer [2020-10-27T17:50:45.913Z] a92cc7c5fd73: Pulling fs layer [2020-10-27T17:50:45.913Z] e871e8e8d7a9: Pulling fs layer [2020-10-27T17:50:45.913Z] e73272ec9a57: Pulling fs layer [2020-10-27T17:50:45.913Z] 1e910a182e73: Pulling fs layer [2020-10-27T17:50:45.913Z] 4e634b169226: Pulling fs layer [2020-10-27T17:50:45.913Z] e73272ec9a57: Waiting [2020-10-27T17:50:45.913Z] 1e910a182e73: Waiting [2020-10-27T17:50:45.913Z] 4e634b169226: Waiting [2020-10-27T17:50:45.913Z] e871e8e8d7a9: Waiting [2020-10-27T17:50:45.913Z] a92cc7c5fd73: Verifying Checksum [2020-10-27T17:50:45.913Z] a92cc7c5fd73: Download complete [2020-10-27T17:50:45.913Z] ed8968b2872e: Download complete [2020-10-27T17:50:45.913Z] e73272ec9a57: Verifying Checksum [2020-10-27T17:50:45.913Z] e73272ec9a57: Download complete [2020-10-27T17:50:45.913Z] 1e910a182e73: Verifying Checksum [2020-10-27T17:50:45.913Z] 1e910a182e73: Download complete [2020-10-27T17:50:45.913Z] df20fa9351a1: Download complete [2020-10-27T17:50:46.493Z] df20fa9351a1: Pull complete [2020-10-27T17:50:46.493Z] ed8968b2872e: Pull complete [2020-10-27T17:50:46.756Z] a92cc7c5fd73: Pull complete [2020-10-27T17:50:48.692Z] 4e634b169226: Verifying Checksum [2020-10-27T17:50:48.692Z] 4e634b169226: Download complete [2020-10-27T17:50:49.646Z] e871e8e8d7a9: Verifying Checksum [2020-10-27T17:50:49.646Z] e871e8e8d7a9: Download complete [2020-10-27T17:50:56.327Z] e871e8e8d7a9: Pull complete [2020-10-27T17:50:56.327Z] e73272ec9a57: Pull complete [2020-10-27T17:50:56.327Z] 1e910a182e73: Pull complete [2020-10-27T17:50:59.664Z] 4e634b169226: Pull complete [2020-10-27T17:50:59.665Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-27T17:50:59.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-27T17:50:59.665Z] ---> f7629b54cfaa [2020-10-27T17:50:59.665Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-27T17:50:59.928Z] ---> Running in 204f2b620eae [2020-10-27T17:51:00.193Z] Removing intermediate container 204f2b620eae [2020-10-27T17:51:00.193Z] ---> 83b848a16ad2 [2020-10-27T17:51:00.193Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-27T17:51:00.193Z] ---> Running in 247fbec14584 [2020-10-27T17:51:01.590Z] Removing intermediate container 247fbec14584 [2020-10-27T17:51:01.590Z] ---> ce277811c275 [2020-10-27T17:51:01.590Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-10-27T17:51:01.590Z] ---> Running in 0681c877e2e1 [2020-10-27T17:51:02.173Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-27T17:51:03.125Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-27T17:51:03.701Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-10-27T17:51:03.701Z] (2/6) Installing libsodium (1.0.18-r0) [2020-10-27T17:51:03.964Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-10-27T17:51:03.964Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-10-27T17:51:03.964Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-27T17:51:04.227Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-10-27T17:51:04.227Z] Executing busybox-1.31.1-r16.trigger [2020-10-27T17:51:04.227Z] OK: 167 MiB in 45 packages [2020-10-27T17:51:04.804Z] Removing intermediate container 0681c877e2e1 [2020-10-27T17:51:04.804Z] ---> e7ce07b33a8a [2020-10-27T17:51:04.804Z] Step 6/8 : WORKDIR /app [2020-10-27T17:51:04.804Z] ---> Running in a6ba87cc54fa [2020-10-27T17:51:05.073Z] Removing intermediate container a6ba87cc54fa [2020-10-27T17:51:05.073Z] ---> dc982ddc65f8 [2020-10-27T17:51:05.073Z] Step 7/8 : COPY . . [2020-10-27T17:51:05.337Z] ---> c657eb4a90e7 [2020-10-27T17:51:05.337Z] Step 8/8 : RUN go mod download [2020-10-27T17:51:05.337Z] ---> Running in 73c2061bf044 [2020-10-27T17:51:31.994Z] Removing intermediate container 73c2061bf044 [2020-10-27T17:51:31.994Z] ---> 1045b429c535 [2020-10-27T17:51:31.994Z] Successfully built 1045b429c535 [2020-10-27T17:51:31.994Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-27T17:51:32.361Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-27T17:51:32.362Z] . [Pipeline] withDockerContainer [2020-10-27T17:51:32.468Z] prd-centos7-docker-4c-2g-9201 does not seem to be running inside a container [2020-10-27T17:51:32.524Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/18 -v /w/workspace/app-service-configurable/18:/w/workspace/app-service-configurable/18:rw,z -v /w/workspace/app-service-configurable/18@tmp:/w/workspace/app-service-configurable/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-27T17:51:33.345Z] $ docker top 122c06d77f1133bb89e8955ecac4d5eebbfe53ff12659b597c1c364d62261f88 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-27T17:51:33.836Z] + go version [2020-10-27T17:51:33.836Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-27T17:51:33.853Z] $ docker stop --time=1 122c06d77f1133bb89e8955ecac4d5eebbfe53ff12659b597c1c364d62261f88 [2020-10-27T17:51:35.182Z] $ docker rm -f 122c06d77f1133bb89e8955ecac4d5eebbfe53ff12659b597c1c364d62261f88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-27T17:51:36.161Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-27T17:51:36.161Z] . [Pipeline] withDockerContainer [2020-10-27T17:51:36.267Z] prd-centos7-docker-4c-2g-9201 does not seem to be running inside a container [2020-10-27T17:51:36.317Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/18 -v /w/workspace/app-service-configurable/18:/w/workspace/app-service-configurable/18:rw,z -v /w/workspace/app-service-configurable/18@tmp:/w/workspace/app-service-configurable/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-27T17:51:36.891Z] $ docker top 53a471afda9c3a1a4b2c52c8afd73bdc8bca63747a2397dbaafb8997da5b5a65 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-27T17:51:37.381Z] + make test [2020-10-27T17:51:37.381Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-10-27T17:51:55.682Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-10-27T17:51:55.682Z] CGO_ENABLED=1 go vet ./... [2020-10-27T17:51:57.636Z] gofmt -l . [2020-10-27T17:51:57.636Z] [ "`gofmt -l .`" = "" ] [2020-10-27T17:51:57.636Z] ./bin/test-go-mod-tidy.sh [2020-10-27T17:51:57.899Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-10-27T17:51:58.762Z] Stashed 1 file(s) [Pipeline] } [2020-10-27T17:51:58.770Z] $ docker stop --time=1 53a471afda9c3a1a4b2c52c8afd73bdc8bca63747a2397dbaafb8997da5b5a65 [2020-10-27T17:52:01.361Z] $ docker rm -f 53a471afda9c3a1a4b2c52c8afd73bdc8bca63747a2397dbaafb8997da5b5a65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-27T17:52:04.558Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-27T17:52:04.859Z] + ls -al . [2020-10-27T17:52:04.859Z] total 96 [2020-10-27T17:52:04.859Z] drwxrwxr-x. 7 jenkins jenkins 4096 Oct 27 17:51 . [2020-10-27T17:52:04.859Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 27 17:50 .. [2020-10-27T17:52:04.859Z] -rw-rw-r--. 1 jenkins jenkins 6568 Oct 27 17:50 Attribution.txt [2020-10-27T17:52:04.859Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 27 17:50 bin [2020-10-27T17:52:04.859Z] -rw-r--r--. 1 jenkins jenkins 10 Oct 27 17:51 coverage.out [2020-10-27T17:52:04.859Z] -rw-rw-r--. 1 jenkins jenkins 180 Oct 27 17:50 docker-compose.debug.yml [2020-10-27T17:52:04.859Z] -rw-rw-r--. 1 jenkins jenkins 133 Oct 27 17:50 docker-compose.yml [2020-10-27T17:52:04.859Z] -rw-rw-r--. 1 jenkins jenkins 2002 Oct 27 17:50 Dockerfile [2020-10-27T17:52:04.859Z] -rw-rw-r--. 1 jenkins jenkins 966 Oct 27 17:50 Dockerfile.build [2020-10-27T17:52:04.859Z] -rw-rw-r--. 1 jenkins jenkins 119 Oct 27 17:50 .dockerignore [2020-10-27T17:52:04.859Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 27 17:50 .git [2020-10-27T17:52:04.859Z] drwxrwxr-x. 2 jenkins jenkins 81 Oct 27 17:50 .github [2020-10-27T17:52:04.859Z] -rw-rw-r--. 1 jenkins jenkins 93 Oct 27 17:50 .gitignore [2020-10-27T17:52:04.859Z] -rw-r--r--. 1 jenkins jenkins 133 Oct 27 17:51 go.mod [2020-10-27T17:52:04.859Z] -rw-r--r--. 1 jenkins jenkins 19860 Oct 27 17:51 go.sum [2020-10-27T17:52:04.859Z] -rw-rw-r--. 1 jenkins jenkins 766 Oct 27 17:50 Jenkinsfile [2020-10-27T17:52:04.859Z] -rw-rw-r--. 1 jenkins jenkins 10174 Oct 27 17:50 LICENSE [2020-10-27T17:52:04.859Z] -rw-rw-r--. 1 jenkins jenkins 1519 Oct 27 17:50 main.go [2020-10-27T17:52:04.859Z] -rw-rw-r--. 1 jenkins jenkins 1573 Oct 27 17:50 makefile [2020-10-27T17:52:04.859Z] -rw-rw-r--. 1 jenkins jenkins 1277 Oct 27 17:50 README.md [2020-10-27T17:52:04.859Z] drwxrwxr-x. 10 jenkins jenkins 171 Oct 27 17:50 res [2020-10-27T17:52:04.859Z] drwxrwxr-x. 4 jenkins jenkins 71 Oct 27 17:50 snap [2020-10-27T17:52:04.859Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 27 17:50 VERSION [Pipeline] isUnix [Pipeline] sh [2020-10-27T17:52:05.170Z] + 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=e7c19c07fa405c616a3a12a5c37f47feee8c2273 --label arch=amd64 --label version=0.0.0 . [2020-10-27T17:52:05.171Z] Sending build context to Docker daemon 120.8kB [2020-10-27T17:52:05.171Z] Step 1/27 : ARG BASE=golang:1.15-alpine [2020-10-27T17:52:05.171Z] Step 2/27 : FROM ${BASE} AS builder [2020-10-27T17:52:05.171Z] ---> 1045b429c535 [2020-10-27T17:52:05.171Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2020-10-27T17:52:05.436Z] ---> Running in f42eb8ef4f64 [2020-10-27T17:52:05.699Z] Removing intermediate container f42eb8ef4f64 [2020-10-27T17:52:05.699Z] ---> ab438c856e5e [2020-10-27T17:52:05.699Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2020-10-27T17:52:05.699Z] ---> Running in d4aa465382bb [2020-10-27T17:52:05.963Z] Removing intermediate container d4aa465382bb [2020-10-27T17:52:05.963Z] ---> 9bf3bc4ee048 [2020-10-27T17:52:05.963Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-27T17:52:05.963Z] ---> Running in d74a3eb4b3fd [2020-10-27T17:52:05.963Z] Removing intermediate container d74a3eb4b3fd [2020-10-27T17:52:05.963Z] ---> e15586bf161b [2020-10-27T17:52:05.963Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-27T17:52:06.226Z] ---> Running in df6204a2c106 [2020-10-27T17:52:07.178Z] Removing intermediate container df6204a2c106 [2020-10-27T17:52:07.178Z] ---> 77698855fb78 [2020-10-27T17:52:07.178Z] Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-27T17:52:07.178Z] ---> Running in 8431ef2cabc7 [2020-10-27T17:52:07.444Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-27T17:52:08.020Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-27T17:52:08.595Z] OK: 167 MiB in 45 packages [2020-10-27T17:52:09.171Z] Removing intermediate container 8431ef2cabc7 [2020-10-27T17:52:09.171Z] ---> 7480db316520 [2020-10-27T17:52:09.171Z] Step 8/27 : WORKDIR /app [2020-10-27T17:52:09.171Z] ---> Running in 7e82e9f116dc [2020-10-27T17:52:09.171Z] Removing intermediate container 7e82e9f116dc [2020-10-27T17:52:09.171Z] ---> bdab3badc482 [2020-10-27T17:52:09.171Z] Step 9/27 : COPY go.mod . [2020-10-27T17:52:09.435Z] ---> d13faeb572a6 [2020-10-27T17:52:09.435Z] Step 10/27 : RUN go mod download [2020-10-27T17:52:09.699Z] ---> Running in b79672a5367e [2020-10-27T17:52:10.649Z] Removing intermediate container b79672a5367e [2020-10-27T17:52:10.649Z] ---> c5f8a44a1a34 [2020-10-27T17:52:10.649Z] Step 11/27 : COPY . . [2020-10-27T17:52:10.649Z] ---> 17410876d50f [2020-10-27T17:52:10.650Z] Step 12/27 : ARG MAKE="make build" [2020-10-27T17:52:10.913Z] ---> Running in 63524d2fe1df [2020-10-27T17:52:10.913Z] Removing intermediate container 63524d2fe1df [2020-10-27T17:52:10.913Z] ---> cbbebeecd023 [2020-10-27T17:52:10.913Z] Step 13/27 : RUN $MAKE [2020-10-27T17:52:10.913Z] ---> Running in 7fea455aedbb [2020-10-27T17:52:11.493Z] 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-27T17:52:29.756Z] Removing intermediate container 7fea455aedbb [2020-10-27T17:52:29.756Z] ---> 70ba81ab8fc8 [2020-10-27T17:52:29.756Z] Step 14/27 : FROM alpine:latest [2020-10-27T17:52:29.756Z] latest: Pulling from library/alpine [2020-10-27T17:52:29.756Z] 188c0c94c7c5: Pulling fs layer [2020-10-27T17:52:29.756Z] 188c0c94c7c5: Verifying Checksum [2020-10-27T17:52:29.756Z] 188c0c94c7c5: Download complete [2020-10-27T17:52:29.756Z] 188c0c94c7c5: Pull complete [2020-10-27T17:52:29.756Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-10-27T17:52:29.756Z] Status: Downloaded newer image for alpine:latest [2020-10-27T17:52:29.756Z] ---> d6e46aa2470d [2020-10-27T17:52:29.756Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-27T17:52:29.756Z] ---> Running in 42c73f0b784d [2020-10-27T17:52:29.756Z] Removing intermediate container 42c73f0b784d [2020-10-27T17:52:29.756Z] ---> bfebbcba5a73 [2020-10-27T17:52:29.756Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2020-10-27T17:52:29.756Z] ---> Running in 70fff9fb033a [2020-10-27T17:52:29.756Z] Removing intermediate container 70fff9fb033a [2020-10-27T17:52:29.756Z] ---> 8b1c02a2b477 [2020-10-27T17:52:29.756Z] Step 17/27 : RUN apk --no-cache add ca-certificates zeromq [2020-10-27T17:52:29.756Z] ---> Running in 25576ed8c71b [2020-10-27T17:52:29.756Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-27T17:52:30.023Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-27T17:52:30.023Z] (1/6) Installing ca-certificates (20191127-r4) [2020-10-27T17:52:30.286Z] (2/6) Installing libgcc (9.3.0-r2) [2020-10-27T17:52:30.286Z] (3/6) Installing libsodium (1.0.18-r0) [2020-10-27T17:52:30.286Z] (4/6) Installing libstdc++ (9.3.0-r2) [2020-10-27T17:52:30.286Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-27T17:52:30.286Z] (6/6) Installing zeromq (4.3.3-r0) [2020-10-27T17:52:30.286Z] Executing busybox-1.31.1-r19.trigger [2020-10-27T17:52:30.286Z] Executing ca-certificates-20191127-r4.trigger [2020-10-27T17:52:30.286Z] OK: 9 MiB in 20 packages [2020-10-27T17:52:31.235Z] Removing intermediate container 25576ed8c71b [2020-10-27T17:52:31.235Z] ---> 31db4ca97cdf [2020-10-27T17:52:31.235Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2020-10-27T17:52:31.497Z] ---> c9456304ab14 [2020-10-27T17:52:31.497Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2020-10-27T17:52:31.760Z] ---> 5c7a3797dc74 [2020-10-27T17:52:31.760Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2020-10-27T17:52:32.022Z] ---> 3362c17458d1 [2020-10-27T17:52:32.022Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2020-10-27T17:52:32.600Z] ---> b9548562542b [2020-10-27T17:52:32.600Z] Step 22/27 : EXPOSE 48095 [2020-10-27T17:52:32.600Z] ---> Running in fe9e4f2a80a4 [2020-10-27T17:52:32.862Z] Removing intermediate container fe9e4f2a80a4 [2020-10-27T17:52:32.862Z] ---> c282871f21d4 [2020-10-27T17:52:32.862Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2020-10-27T17:52:32.862Z] ---> Running in 8d15cf329b35 [2020-10-27T17:52:33.129Z] Removing intermediate container 8d15cf329b35 [2020-10-27T17:52:33.129Z] ---> 39be850d766e [2020-10-27T17:52:33.129Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-27T17:52:33.129Z] ---> Running in cecbcc8f4fab [2020-10-27T17:52:33.391Z] Removing intermediate container cecbcc8f4fab [2020-10-27T17:52:33.391Z] ---> 623e6c41f0f6 [2020-10-27T17:52:33.391Z] Step 25/27 : LABEL arch=amd64 [2020-10-27T17:52:33.391Z] ---> Running in 48d733d17a9d [2020-10-27T17:52:33.391Z] Removing intermediate container 48d733d17a9d [2020-10-27T17:52:33.391Z] ---> 84eec07586db [2020-10-27T17:52:33.391Z] Step 26/27 : LABEL git_sha=e7c19c07fa405c616a3a12a5c37f47feee8c2273 [2020-10-27T17:52:33.659Z] ---> Running in 604c56b17e53 [2020-10-27T17:52:33.659Z] Removing intermediate container 604c56b17e53 [2020-10-27T17:52:33.659Z] ---> ccfddc97bd70 [2020-10-27T17:52:33.659Z] Step 27/27 : LABEL version=0.0.0 [2020-10-27T17:52:33.659Z] ---> Running in 4faca90ca79b [2020-10-27T17:52:33.922Z] Removing intermediate container 4faca90ca79b [2020-10-27T17:52:33.922Z] ---> 52898d48f8f6 [2020-10-27T17:52:33.922Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-27T17:52:33.922Z] Successfully built 52898d48f8f6 [2020-10-27T17:52:33.922Z] 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-27T17:52:49.571Z] Still waiting to schedule task [2020-10-27T17:52:49.572Z] All nodes of label ‘ubuntu18.04-docker-8c-8g’ are offline [2020-10-27T17:53:09.529Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-9202 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-27T17:53:09.602Z] Running in /w/workspace/app-service-configurable/18 [Pipeline] { [Pipeline] checkout [2020-10-27T17:53:15.870Z] using credential edgex-jenkins-ssh [2020-10-27T17:53:15.945Z] Cloning the remote Git repository [2020-10-27T17:53:16.027Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T17:53:16.168Z] > git init /w/workspace/app-service-configurable/18 # timeout=10 [2020-10-27T17:53:16.313Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T17:53:16.317Z] > git --version # timeout=10 [2020-10-27T17:53:16.344Z] > git --version # 'git version 2.17.1' [2020-10-27T17:53:16.346Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T17:53:16.398Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T17:53:17.258Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-27T17:53:17.278Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T17:53:17.310Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-27T17:53:17.352Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T17:53:17.352Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T17:53:17.369Z] > 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-27T17:53:17.887Z] Merging remotes/origin/master commit 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 into PR head commit 6b151aa00f8aefefdb25ac6c14c711756a9b23b0 [2020-10-27T17:53:18.143Z] Merge succeeded, producing edffefed15012d72b749f129de22882bcf65ed8c [2020-10-27T17:53:18.143Z] Checking out Revision edffefed15012d72b749f129de22882bcf65ed8c (PR-124) [2020-10-27T17:53:17.928Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T17:53:17.956Z] > git checkout -f 6b151aa00f8aefefdb25ac6c14c711756a9b23b0 # timeout=10 [2020-10-27T17:53:18.034Z] > git remote # timeout=10 [2020-10-27T17:53:18.056Z] > git config --get remote.origin.url # timeout=10 [2020-10-27T17:53:18.078Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T17:53:18.089Z] > git merge 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 # timeout=10 [2020-10-27T17:53:18.137Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-27T17:53:18.169Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T17:53:18.194Z] > git checkout -f edffefed15012d72b749f129de22882bcf65ed8c # timeout=10 [2020-10-27T17:53:22.673Z] Commit message: "Merge commit '6aed5cde4d38e364b7def40f9e6b4d8e988d4e17' into HEAD" [2020-10-27T17:53:22.701Z] First time build. Skipping changelog. [2020-10-27T17:53:22.699Z] > git rev-list --no-walk 8d415b9becdc3b8f1189f5b95123b970724b7fb2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-27T17:53:24.224Z] ========================================================= [2020-10-27T17:53:24.224Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-27T17:53:24.224Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-27T17:53:25.331Z] + 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-27T17:53:25.938Z] Sending build context to Docker daemon 98.3kB [2020-10-27T17:53:26.215Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-27T17:53:26.215Z] Step 2/8 : FROM ${BASE} [2020-10-27T17:53:26.491Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-27T17:53:26.491Z] b538f80385f9: Pulling fs layer [2020-10-27T17:53:26.491Z] 74f711af9a0d: Pulling fs layer [2020-10-27T17:53:26.491Z] 99f96fe45779: Pulling fs layer [2020-10-27T17:53:26.491Z] 8529a6b9a6be: Pulling fs layer [2020-10-27T17:53:26.491Z] 45590311c82a: Pulling fs layer [2020-10-27T17:53:26.491Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-27T17:53:26.491Z] 209524e5b208: Pulling fs layer [2020-10-27T17:53:26.491Z] 69ca0ff8b7b3: Waiting [2020-10-27T17:53:26.491Z] 8529a6b9a6be: Waiting [2020-10-27T17:53:26.491Z] 209524e5b208: Waiting [2020-10-27T17:53:26.491Z] 45590311c82a: Waiting [2020-10-27T17:53:26.491Z] 99f96fe45779: Verifying Checksum [2020-10-27T17:53:26.491Z] 99f96fe45779: Download complete [2020-10-27T17:53:26.491Z] 74f711af9a0d: Download complete [2020-10-27T17:53:26.491Z] 45590311c82a: Verifying Checksum [2020-10-27T17:53:26.491Z] 45590311c82a: Download complete [2020-10-27T17:53:26.491Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-27T17:53:26.491Z] 69ca0ff8b7b3: Download complete [2020-10-27T17:53:26.491Z] b538f80385f9: Download complete [2020-10-27T17:53:27.474Z] b538f80385f9: Pull complete [2020-10-27T17:53:28.076Z] 74f711af9a0d: Pull complete [2020-10-27T17:53:28.352Z] 99f96fe45779: Pull complete [2020-10-27T17:53:29.339Z] 209524e5b208: Verifying Checksum [2020-10-27T17:53:29.339Z] 209524e5b208: Download complete [2020-10-27T17:53:30.325Z] 8529a6b9a6be: Verifying Checksum [2020-10-27T17:53:30.325Z] 8529a6b9a6be: Download complete [2020-10-27T17:53:40.505Z] 8529a6b9a6be: Pull complete [2020-10-27T17:53:40.505Z] 45590311c82a: Pull complete [2020-10-27T17:53:40.505Z] 69ca0ff8b7b3: Pull complete [2020-10-27T17:53:43.951Z] 209524e5b208: Pull complete [2020-10-27T17:53:43.951Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-27T17:53:43.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-27T17:53:43.951Z] ---> 5bddaf1c2fca [2020-10-27T17:53:43.951Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-27T17:53:46.214Z] Running on prd-ubuntu18.04-docker-8c-8g-9203 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-27T17:53:46.267Z] Running in /w/workspace/app-service-configurable/18 [Pipeline] { [Pipeline] checkout [2020-10-27T17:53:47.380Z] ---> Running in e385d9abab2d [2020-10-27T17:53:47.380Z] Removing intermediate container e385d9abab2d [2020-10-27T17:53:47.380Z] ---> 9572a63f6a16 [2020-10-27T17:53:47.380Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-27T17:53:47.380Z] ---> Running in d4b0e98b5b33 [2020-10-27T17:53:48.567Z] using credential edgex-jenkins-ssh [2020-10-27T17:53:48.667Z] Cloning the remote Git repository [2020-10-27T17:53:48.692Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T17:53:48.751Z] > git init /w/workspace/app-service-configurable/18 # timeout=10 [2020-10-27T17:53:48.782Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T17:53:48.782Z] > git --version # timeout=10 [2020-10-27T17:53:48.793Z] > git --version # 'git version 2.17.1' [2020-10-27T17:53:48.793Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T17:53:48.827Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T17:53:49.431Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-27T17:53:49.436Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T17:53:49.450Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-27T17:53:49.472Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T17:53:49.472Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T17:53:49.476Z] > 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-27T17:53:49.971Z] Merging remotes/origin/master commit 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 into PR head commit 6b151aa00f8aefefdb25ac6c14c711756a9b23b0 [2020-10-27T17:53:50.048Z] Removing intermediate container d4b0e98b5b33 [2020-10-27T17:53:50.048Z] ---> 89cfbc59bf7e [2020-10-27T17:53:50.048Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-10-27T17:53:50.049Z] Merge succeeded, producing 2023aaf126689aead13def70ef99cac40ed111b9 [2020-10-27T17:53:50.049Z] Checking out Revision 2023aaf126689aead13def70ef99cac40ed111b9 (PR-124) [2020-10-27T17:53:50.333Z] ---> Running in ab2125cb00d2 [2020-10-27T17:53:49.983Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T17:53:49.990Z] > git checkout -f 6b151aa00f8aefefdb25ac6c14c711756a9b23b0 # timeout=10 [2020-10-27T17:53:50.017Z] > git remote # timeout=10 [2020-10-27T17:53:50.022Z] > git config --get remote.origin.url # timeout=10 [2020-10-27T17:53:50.026Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T17:53:50.029Z] > git merge 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 # timeout=10 [2020-10-27T17:53:50.047Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-27T17:53:50.057Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T17:53:50.060Z] > git checkout -f 2023aaf126689aead13def70ef99cac40ed111b9 # timeout=10 [2020-10-27T17:53:51.775Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-27T17:53:52.370Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-27T17:53:53.348Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-10-27T17:53:53.348Z] (2/6) Installing libsodium (1.0.18-r0) [2020-10-27T17:53:53.348Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-10-27T17:53:53.348Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-10-27T17:53:53.624Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-27T17:53:53.624Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-10-27T17:53:53.648Z] Commit message: "Merge commit '6aed5cde4d38e364b7def40f9e6b4d8e988d4e17' into HEAD" [2020-10-27T17:53:53.660Z] First time build. Skipping changelog. [2020-10-27T17:53:53.899Z] Executing busybox-1.31.1-r16.trigger [2020-10-27T17:53:53.900Z] OK: 144 MiB in 45 packages [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-10-27T17:53:53.657Z] > git rev-list --no-walk 8d415b9becdc3b8f1189f5b95123b970724b7fb2 # timeout=10 [2020-10-27T17:53:54.906Z] + echo snap-build.sh [2020-10-27T17:53:54.906Z] snap-build.sh [2020-10-27T17:53:54.906Z] + SNAP_BASE_DIR=. [2020-10-27T17:53:54.906Z] + '[' '!' -z /w/workspace/app-service-configurable/18 ']' [2020-10-27T17:53:54.906Z] + SNAP_BASE_DIR=/w/workspace/app-service-configurable/18 [2020-10-27T17:53:54.906Z] + sudo apt-get update [2020-10-27T17:53:54.906Z] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-10-27T17:53:54.906Z] Hit:2 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic InRelease [2020-10-27T17:53:54.906Z] Get:3 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-10-27T17:53:55.168Z] Get:4 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic InRelease [15.9 kB] [2020-10-27T17:53:55.168Z] Get:5 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-10-27T17:53:55.168Z] Get:6 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1399 kB] [2020-10-27T17:53:55.168Z] Get:7 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB] [2020-10-27T17:53:55.168Z] Get:8 http://apt.puppetlabs.com xenial InRelease [101 kB] [2020-10-27T17:53:55.168Z] Get:9 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [276 kB] [2020-10-27T17:53:55.168Z] Get:10 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [166 kB] [2020-10-27T17:53:55.168Z] Get:11 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [22.1 kB] [2020-10-27T17:53:55.168Z] Get:12 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1079 kB] [2020-10-27T17:53:55.168Z] Get:13 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1725 kB] [2020-10-27T17:53:55.346Z] Removing intermediate container ab2125cb00d2 [2020-10-27T17:53:55.346Z] ---> 553297da03a6 [2020-10-27T17:53:55.346Z] Step 6/8 : WORKDIR /app [2020-10-27T17:53:55.346Z] ---> Running in b46ac04b993e [2020-10-27T17:53:55.429Z] Get:14 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [241 kB] [2020-10-27T17:53:55.429Z] Get:15 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [12.9 kB] [2020-10-27T17:53:55.429Z] Get:16 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [2964 B] [2020-10-27T17:53:55.429Z] Hit:17 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic InRelease [2020-10-27T17:53:55.429Z] Get:18 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [367 kB] [2020-10-27T17:53:55.429Z] Get:19 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [184 kB] [2020-10-27T17:53:55.429Z] Get:20 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [24.6 kB] [2020-10-27T17:53:55.429Z] Get:21 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1680 kB] [2020-10-27T17:53:55.429Z] Get:22 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [354 kB] [2020-10-27T17:53:55.429Z] Get:23 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [31.9 kB] [2020-10-27T17:53:55.429Z] Get:24 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [6980 B] [2020-10-27T17:53:55.429Z] Get:25 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [10.0 kB] [2020-10-27T17:53:55.429Z] Get:26 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [10.3 kB] [2020-10-27T17:53:55.621Z] Removing intermediate container b46ac04b993e [2020-10-27T17:53:55.621Z] ---> be5f36675b5d [2020-10-27T17:53:55.621Z] Step 7/8 : COPY . . [2020-10-27T17:53:55.689Z] Get:27 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic/main amd64 Packages [824 B] [2020-10-27T17:53:55.951Z] Get:28 http://apt.puppetlabs.com xenial/puppet amd64 Packages [56.2 kB] [2020-10-27T17:53:55.951Z] Get:29 http://apt.puppetlabs.com xenial/puppet all Packages [22.7 kB] [2020-10-27T17:53:56.604Z] ---> 198aaffa645b [2020-10-27T17:53:56.604Z] Step 8/8 : RUN go mod download [2020-10-27T17:53:56.604Z] ---> Running in 803c10ead003 [2020-10-27T17:53:59.262Z] Fetched 8105 kB in 2s (4192 kB/s) [2020-10-27T17:54:00.204Z] Reading package lists... [2020-10-27T17:54:00.465Z] + sudo apt-get install -y snapd [2020-10-27T17:54:00.465Z] Reading package lists... [2020-10-27T17:54:00.465Z] Building dependency tree... [2020-10-27T17:54:00.465Z] Reading state information... [2020-10-27T17:54:00.726Z] The following packages were automatically installed and are no longer required: [2020-10-27T17:54:00.726Z] grub-pc-bin libdumbnet1 [2020-10-27T17:54:00.726Z] Use 'sudo apt autoremove' to remove them. [2020-10-27T17:54:00.726Z] Suggested packages: [2020-10-27T17:54:00.726Z] zenity | kdialog [2020-10-27T17:54:00.726Z] The following packages will be upgraded: [2020-10-27T17:54:00.726Z] snapd [2020-10-27T17:54:00.726Z] 1 upgraded, 0 newly installed, 0 to remove and 50 not upgraded. [2020-10-27T17:54:00.726Z] Need to get 20.9 MB of archives. [2020-10-27T17:54:00.726Z] After this operation, 3109 kB of additional disk space will be used. [2020-10-27T17:54:00.726Z] Get:1 http://ca-ymq-2.clouds.archive.ubuntu.com/ubuntu bionic-updates/main amd64 snapd amd64 2.47.1+18.04 [20.9 MB] [2020-10-27T17:54:01.673Z] debconf: unable to initialize frontend: Dialog [2020-10-27T17:54:01.673Z] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) [2020-10-27T17:54:01.673Z] debconf: falling back to frontend: Readline [2020-10-27T17:54:01.673Z] debconf: unable to initialize frontend: Readline [2020-10-27T17:54:01.673Z] debconf: (This frontend requires a controlling tty.) [2020-10-27T17:54:01.673Z] debconf: falling back to frontend: Teletype [2020-10-27T17:54:01.673Z] dpkg-preconfigure: unable to re-open stdin: [2020-10-27T17:54:01.674Z] Fetched 20.9 MB in 1s (34.8 MB/s) [2020-10-27T17:54:02.722Z] (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-27T17:54:02.722Z] Preparing to unpack .../snapd_2.47.1+18.04_amd64.deb ... [2020-10-27T17:54:02.983Z] Unpacking snapd (2.47.1+18.04) over (2.46.1+18.04) ... [2020-10-27T17:54:05.532Z] Setting up snapd (2.47.1+18.04) ... [2020-10-27T17:54:05.532Z] Installing new version of config file /etc/apparmor.d/usr.lib.snapd.snap-confine.real ... [2020-10-27T17:54:07.461Z] snapd.failure.service is a disabled or a static unit, not starting it. [2020-10-27T17:54:07.461Z] snapd.snap-repair.service is a disabled or a static unit, not starting it. [2020-10-27T17:54:07.722Z] Processing triggers for dbus (1.12.2-1ubuntu1.2) ... [2020-10-27T17:54:07.723Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-10-27T17:54:07.723Z] Processing triggers for man-db (2.8.3-2ubuntu0.1) ... [2020-10-27T17:54:09.638Z] + sudo snap install --classic snapcraft [2020-10-27T17:54:17.776Z] 2020-10-27T17:54:15Z INFO Waiting for automatic snapd restart... [2020-10-27T17:54:27.788Z] snapcraft 4.3 from Canonical* installed [2020-10-27T17:54:27.788Z] + echo '[snap-build] Building snap in dir [/w/workspace/app-service-configurable/18]' [2020-10-27T17:54:27.788Z] [snap-build] Building snap in dir [/w/workspace/app-service-configurable/18] [2020-10-27T17:54:27.788Z] + cd /w/workspace/app-service-configurable/18 [2020-10-27T17:54:27.788Z] + '[' -f snap/local/patches/0001-optimize-build-for-pipeline-CI-check.patch ']' [2020-10-27T17:54:27.788Z] + snapcraft clean [2020-10-27T17:54:28.049Z] You need 'multipass' set-up to build snaps: https://multipass.run. [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-10-27T17:54:29.009Z] Removing intermediate container 803c10ead003 [2020-10-27T17:54:29.009Z] ---> 7d042bde5e5c [2020-10-27T17:54:29.009Z] Successfully built 7d042bde5e5c [2020-10-27T17:54:29.009Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-27T17:54:29.329Z] Failed in branch amd64 [Pipeline] isUnix [Pipeline] sh [2020-10-27T17:54:29.711Z] + docker inspect -f . ci-base-image-arm64 [2020-10-27T17:54:29.711Z] . [Pipeline] withDockerContainer [2020-10-27T17:54:29.999Z] prd-ubuntu18.04-docker-arm64-4c-16g-9202 does not seem to be running inside a container [2020-10-27T17:54:30.116Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/18 -v /w/workspace/app-service-configurable/18:/w/workspace/app-service-configurable/18:rw,z -v /w/workspace/app-service-configurable/18@tmp:/w/workspace/app-service-configurable/18@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-27T17:54:32.211Z] $ docker top 171a0012c32f6da7ee83f52216db59e33b9b30bf58df4a99c12e71d867d8b722 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-27T17:54:33.601Z] + go version [2020-10-27T17:54:33.601Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-27T17:54:33.658Z] $ docker stop --time=1 171a0012c32f6da7ee83f52216db59e33b9b30bf58df4a99c12e71d867d8b722 [2020-10-27T17:54:35.681Z] $ docker rm -f 171a0012c32f6da7ee83f52216db59e33b9b30bf58df4a99c12e71d867d8b722 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-27T17:54:36.690Z] + docker inspect -f . ci-base-image-arm64 [2020-10-27T17:54:36.690Z] . [Pipeline] withDockerContainer [2020-10-27T17:54:36.968Z] prd-ubuntu18.04-docker-arm64-4c-16g-9202 does not seem to be running inside a container [2020-10-27T17:54:37.087Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/18 -v /w/workspace/app-service-configurable/18:/w/workspace/app-service-configurable/18:rw,z -v /w/workspace/app-service-configurable/18@tmp:/w/workspace/app-service-configurable/18@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-27T17:54:39.167Z] $ docker top adcbe71345256e5d118b0472ba0c7747e174a61eeae75d196e5c5e571ff3e9f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-27T17:54:40.721Z] + make test [2020-10-27T17:54:40.721Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-10-27T17:55:37.400Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-10-27T17:55:37.400Z] CGO_ENABLED=1 go vet ./... [2020-10-27T17:55:42.830Z] gofmt -l . [2020-10-27T17:55:42.830Z] [ "`gofmt -l .`" = "" ] [2020-10-27T17:55:42.830Z] ./bin/test-go-mod-tidy.sh [2020-10-27T17:55:43.432Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-10-27T17:55:44.886Z] Warning: overwriting stash ‘coverage-report’ [2020-10-27T17:55:45.648Z] Stashed 1 file(s) [Pipeline] } [2020-10-27T17:55:45.705Z] $ docker stop --time=1 adcbe71345256e5d118b0472ba0c7747e174a61eeae75d196e5c5e571ff3e9f2 [2020-10-27T17:55:48.018Z] $ docker rm -f adcbe71345256e5d118b0472ba0c7747e174a61eeae75d196e5c5e571ff3e9f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-27T17:55:49.300Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-27T17:55:49.642Z] + ls -al . [2020-10-27T17:55:49.643Z] total 120 [2020-10-27T17:55:49.643Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 27 17:55 . [2020-10-27T17:55:49.643Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 17:53 .. [2020-10-27T17:55:49.643Z] -rw-rw-r-- 1 jenkins jenkins 119 Oct 27 17:53 .dockerignore [2020-10-27T17:55:49.643Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 17:53 .git [2020-10-27T17:55:49.643Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 17:53 .github [2020-10-27T17:55:49.643Z] -rw-rw-r-- 1 jenkins jenkins 93 Oct 27 17:53 .gitignore [2020-10-27T17:55:49.643Z] -rw-rw-r-- 1 jenkins jenkins 6568 Oct 27 17:53 Attribution.txt [2020-10-27T17:55:49.643Z] -rw-rw-r-- 1 jenkins jenkins 2002 Oct 27 17:53 Dockerfile [2020-10-27T17:55:49.643Z] -rw-rw-r-- 1 jenkins jenkins 966 Oct 27 17:53 Dockerfile.build [2020-10-27T17:55:49.643Z] -rw-rw-r-- 1 jenkins jenkins 766 Oct 27 17:53 Jenkinsfile [2020-10-27T17:55:49.643Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 27 17:53 LICENSE [2020-10-27T17:55:49.643Z] -rw-rw-r-- 1 jenkins jenkins 1277 Oct 27 17:53 README.md [2020-10-27T17:55:49.643Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 17:50 VERSION [2020-10-27T17:55:49.643Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 17:53 bin [2020-10-27T17:55:49.643Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 27 17:54 coverage.out [2020-10-27T17:55:49.643Z] -rw-rw-r-- 1 jenkins jenkins 180 Oct 27 17:53 docker-compose.debug.yml [2020-10-27T17:55:49.643Z] -rw-rw-r-- 1 jenkins jenkins 133 Oct 27 17:53 docker-compose.yml [2020-10-27T17:55:49.643Z] -rw-r--r-- 1 jenkins jenkins 133 Oct 27 17:55 go.mod [2020-10-27T17:55:49.643Z] -rw-r--r-- 1 jenkins jenkins 19860 Oct 27 17:55 go.sum [2020-10-27T17:55:49.643Z] -rw-rw-r-- 1 jenkins jenkins 1519 Oct 27 17:53 main.go [2020-10-27T17:55:49.643Z] -rw-rw-r-- 1 jenkins jenkins 1573 Oct 27 17:53 makefile [2020-10-27T17:55:49.643Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 27 17:53 res [2020-10-27T17:55:49.643Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 17:53 snap [Pipeline] isUnix [Pipeline] sh [2020-10-27T17:55:49.992Z] + 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=e7c19c07fa405c616a3a12a5c37f47feee8c2273 --label arch=arm64 --label version=0.0.0 . [2020-10-27T17:55:49.992Z] Sending build context to Docker daemon 120.8kB [2020-10-27T17:55:50.270Z] Step 1/27 : ARG BASE=golang:1.15-alpine [2020-10-27T17:55:50.270Z] Step 2/27 : FROM ${BASE} AS builder [2020-10-27T17:55:50.270Z] ---> 7d042bde5e5c [2020-10-27T17:55:50.270Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2020-10-27T17:55:50.545Z] ---> Running in 448759cd86a6 [2020-10-27T17:55:51.139Z] Removing intermediate container 448759cd86a6 [2020-10-27T17:55:51.139Z] ---> ee61bb9ff56f [2020-10-27T17:55:51.139Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2020-10-27T17:55:51.139Z] ---> Running in 4e3ae3314fec [2020-10-27T17:55:51.740Z] Removing intermediate container 4e3ae3314fec [2020-10-27T17:55:51.740Z] ---> e1d5a1adab6c [2020-10-27T17:55:51.740Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-27T17:55:51.740Z] ---> Running in 9e37bdac9e93 [2020-10-27T17:55:52.012Z] Removing intermediate container 9e37bdac9e93 [2020-10-27T17:55:52.012Z] ---> 0ac5f3ac0e53 [2020-10-27T17:55:52.013Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-27T17:55:52.285Z] ---> Running in e12eb3c66a78 [2020-10-27T17:55:54.909Z] Removing intermediate container e12eb3c66a78 [2020-10-27T17:55:54.909Z] ---> 9134d42519b7 [2020-10-27T17:55:54.909Z] Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-27T17:55:54.909Z] ---> Running in 93f950f3325d [2020-10-27T17:55:56.347Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-27T17:55:56.943Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-27T17:55:57.917Z] OK: 144 MiB in 45 packages [2020-10-27T17:55:58.901Z] Removing intermediate container 93f950f3325d [2020-10-27T17:55:58.901Z] ---> 9c137b8d5b34 [2020-10-27T17:55:58.901Z] Step 8/27 : WORKDIR /app [2020-10-27T17:55:59.181Z] ---> Running in 27ad0c4589c0 [2020-10-27T17:55:59.778Z] Removing intermediate container 27ad0c4589c0 [2020-10-27T17:55:59.778Z] ---> 6cd3e7bb88d1 [2020-10-27T17:55:59.778Z] Step 9/27 : COPY go.mod . [2020-10-27T17:56:00.377Z] ---> db8ab6d8e3e9 [2020-10-27T17:56:00.377Z] Step 10/27 : RUN go mod download [2020-10-27T17:56:00.377Z] ---> Running in 3c33d58d3218 [2020-10-27T17:56:02.996Z] Removing intermediate container 3c33d58d3218 [2020-10-27T17:56:02.996Z] ---> daf702bc421c [2020-10-27T17:56:02.996Z] Step 11/27 : COPY . . [2020-10-27T17:56:03.971Z] ---> 55a6f99db17f [2020-10-27T17:56:03.971Z] Step 12/27 : ARG MAKE="make build" [2020-10-27T17:56:03.971Z] ---> Running in cd5c0d877512 [2020-10-27T17:56:04.243Z] Removing intermediate container cd5c0d877512 [2020-10-27T17:56:04.243Z] ---> 890238fe4f55 [2020-10-27T17:56:04.243Z] Step 13/27 : RUN $MAKE [2020-10-27T17:56:04.517Z] ---> Running in c44e3125cc5c [2020-10-27T17:56:05.956Z] 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-27T17:57:02.571Z] Removing intermediate container c44e3125cc5c [2020-10-27T17:57:02.571Z] ---> a32f680c01e5 [2020-10-27T17:57:02.571Z] Step 14/27 : FROM alpine:latest [2020-10-27T17:57:02.571Z] latest: Pulling from library/alpine [2020-10-27T17:57:02.571Z] 5f621e34cdf4: Pulling fs layer [2020-10-27T17:57:02.571Z] 5f621e34cdf4: Verifying Checksum [2020-10-27T17:57:02.571Z] 5f621e34cdf4: Download complete [2020-10-27T17:57:02.571Z] 5f621e34cdf4: Pull complete [2020-10-27T17:57:02.571Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-10-27T17:57:02.571Z] Status: Downloaded newer image for alpine:latest [2020-10-27T17:57:02.571Z] ---> 2e77e061c27f [2020-10-27T17:57:02.571Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-27T17:57:02.571Z] ---> Running in 1fb0dc0f7929 [2020-10-27T17:57:02.571Z] Removing intermediate container 1fb0dc0f7929 [2020-10-27T17:57:02.571Z] ---> 876ae38120b8 [2020-10-27T17:57:02.571Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2020-10-27T17:57:02.571Z] ---> Running in 977560817d48 [2020-10-27T17:57:02.571Z] Removing intermediate container 977560817d48 [2020-10-27T17:57:02.571Z] ---> c44eb45d555f [2020-10-27T17:57:02.571Z] Step 17/27 : RUN apk --no-cache add ca-certificates zeromq [2020-10-27T17:57:02.571Z] ---> Running in e21fa42a3ba9 [2020-10-27T17:57:02.571Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-27T17:57:02.571Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-27T17:57:02.571Z] (1/6) Installing ca-certificates (20191127-r4) [2020-10-27T17:57:02.571Z] (2/6) Installing libgcc (9.3.0-r2) [2020-10-27T17:57:02.571Z] (3/6) Installing libsodium (1.0.18-r0) [2020-10-27T17:57:02.571Z] (4/6) Installing libstdc++ (9.3.0-r2) [2020-10-27T17:57:02.571Z] (5/6) Installing libzmq (4.3.3-r0) [2020-10-27T17:57:02.571Z] (6/6) Installing zeromq (4.3.3-r0) [2020-10-27T17:57:02.571Z] Executing busybox-1.31.1-r19.trigger [2020-10-27T17:57:02.571Z] Executing ca-certificates-20191127-r4.trigger [2020-10-27T17:57:02.571Z] OK: 9 MiB in 20 packages [2020-10-27T17:57:02.571Z] Removing intermediate container e21fa42a3ba9 [2020-10-27T17:57:02.571Z] ---> 3496d456b819 [2020-10-27T17:57:02.571Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2020-10-27T17:57:02.845Z] ---> bffc7eef1242 [2020-10-27T17:57:02.845Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2020-10-27T17:57:03.826Z] ---> 93f7a5ae6205 [2020-10-27T17:57:03.826Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2020-10-27T17:57:04.424Z] ---> b5898c93b35a [2020-10-27T17:57:04.424Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2020-10-27T17:57:06.400Z] ---> 5d991c29bc15 [2020-10-27T17:57:06.400Z] Step 22/27 : EXPOSE 48095 [2020-10-27T17:57:06.400Z] ---> Running in d78ed5bc25ce [2020-10-27T17:57:07.001Z] Removing intermediate container d78ed5bc25ce [2020-10-27T17:57:07.001Z] ---> 49ec9cd7835e [2020-10-27T17:57:07.001Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2020-10-27T17:57:07.001Z] ---> Running in e15fe4e65248 [2020-10-27T17:57:07.600Z] Removing intermediate container e15fe4e65248 [2020-10-27T17:57:07.600Z] ---> 122dac76f84c [2020-10-27T17:57:07.600Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-27T17:57:07.600Z] ---> Running in 8e5b533eb00e [2020-10-27T17:57:08.198Z] Removing intermediate container 8e5b533eb00e [2020-10-27T17:57:08.198Z] ---> bf8ada654eb1 [2020-10-27T17:57:08.198Z] Step 25/27 : LABEL arch=arm64 [2020-10-27T17:57:08.198Z] ---> Running in 09509325f7ea [2020-10-27T17:57:08.796Z] Removing intermediate container 09509325f7ea [2020-10-27T17:57:08.796Z] ---> f9cdeec47683 [2020-10-27T17:57:08.796Z] Step 26/27 : LABEL git_sha=e7c19c07fa405c616a3a12a5c37f47feee8c2273 [2020-10-27T17:57:08.796Z] ---> Running in fa0b80256313 [2020-10-27T17:57:09.399Z] Removing intermediate container fa0b80256313 [2020-10-27T17:57:09.399Z] ---> a988de10bf6c [2020-10-27T17:57:09.399Z] Step 27/27 : LABEL version=0.0.0 [2020-10-27T17:57:09.399Z] ---> Running in a4d419522e0b [2020-10-27T17:57:10.001Z] Removing intermediate container a4d419522e0b [2020-10-27T17:57:10.002Z] ---> 3fcc10561306 [2020-10-27T17:57:10.002Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-27T17:57:10.002Z] Successfully built 3fcc10561306 [2020-10-27T17:57:10.002Z] 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-27T17:57:25.785Z] Still waiting to schedule task [2020-10-27T17:57:25.785Z] All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline [2020-10-27T17:59:06.413Z] Running on prd-ubuntu18.04-docker-arm64-16c-16g-9206 in /w/workspace/_app-service-configurable_PR-124 [Pipeline] { [Pipeline] ws [2020-10-27T17:59:06.475Z] Running in /w/workspace/app-service-configurable/18 [Pipeline] { [Pipeline] checkout [2020-10-27T17:59:10.556Z] using credential edgex-jenkins-ssh [2020-10-27T17:59:10.623Z] Cloning the remote Git repository [2020-10-27T17:59:10.672Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T17:59:10.776Z] > git init /w/workspace/app-service-configurable/18 # timeout=10 [2020-10-27T17:59:10.843Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T17:59:10.844Z] > git --version # timeout=10 [2020-10-27T17:59:10.861Z] > git --version # 'git version 2.17.1' [2020-10-27T17:59:10.862Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T17:59:10.919Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T17:59:12.203Z] Merging remotes/origin/master commit 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 into PR head commit 6b151aa00f8aefefdb25ac6c14c711756a9b23b0 [2020-10-27T17:59:12.397Z] Merge succeeded, producing 550562dad882dbbf18fc9050914995e569f450b2 [2020-10-27T17:59:12.397Z] Checking out Revision 550562dad882dbbf18fc9050914995e569f450b2 (PR-124) [2020-10-27T17:59:11.573Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-27T17:59:11.586Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T17:59:11.609Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-10-27T17:59:11.640Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-10-27T17:59:11.641Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T17:59:11.654Z] > 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-27T17:59:12.218Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T17:59:12.230Z] > git checkout -f 6b151aa00f8aefefdb25ac6c14c711756a9b23b0 # timeout=10 [2020-10-27T17:59:12.301Z] > git remote # timeout=10 [2020-10-27T17:59:12.317Z] > git config --get remote.origin.url # timeout=10 [2020-10-27T17:59:12.327Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T17:59:12.336Z] > git merge 6aed5cde4d38e364b7def40f9e6b4d8e988d4e17 # timeout=10 [2020-10-27T17:59:12.384Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-27T17:59:12.402Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T17:59:12.412Z] > git checkout -f 550562dad882dbbf18fc9050914995e569f450b2 # timeout=10 [2020-10-27T17:59:16.544Z] Commit message: "Merge commit '6aed5cde4d38e364b7def40f9e6b4d8e988d4e17' into HEAD" [2020-10-27T17:59:16.564Z] First time build. Skipping changelog. [2020-10-27T17:59:16.553Z] > git rev-list --no-walk 8d415b9becdc3b8f1189f5b95123b970724b7fb2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-10-27T17:59:18.024Z] + echo snap-build.sh [2020-10-27T17:59:18.024Z] snap-build.sh [2020-10-27T17:59:18.024Z] + SNAP_BASE_DIR=. [2020-10-27T17:59:18.024Z] + '[' '!' -z /w/workspace/app-service-configurable/18 ']' [2020-10-27T17:59:18.024Z] + SNAP_BASE_DIR=/w/workspace/app-service-configurable/18 [2020-10-27T17:59:18.024Z] + sudo apt-get update [2020-10-27T17:59:18.300Z] Get:1 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic InRelease [15.9 kB] [2020-10-27T17:59:18.300Z] Hit:2 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-10-27T17:59:18.300Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] [2020-10-27T17:59:18.574Z] Get:4 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] [2020-10-27T17:59:18.574Z] Get:5 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB] [2020-10-27T17:59:18.574Z] Get:6 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic InRelease [15.4 kB] [2020-10-27T17:59:18.850Z] Get:7 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] [2020-10-27T17:59:19.449Z] Get:8 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic/main arm64 Packages [824 B] [2020-10-27T17:59:19.449Z] Get:9 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic/main Translation-en [476 B] [2020-10-27T17:59:19.449Z] Get:10 https://download.docker.com/linux/ubuntu bionic/stable arm64 Packages [12.9 kB] [2020-10-27T17:59:20.046Z] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [825 kB] [2020-10-27T17:59:20.321Z] Get:12 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1119 kB] [2020-10-27T17:59:20.321Z] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-security/main Translation-en [276 kB] [2020-10-27T17:59:20.321Z] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted arm64 Packages [1172 B] [2020-10-27T17:59:20.321Z] Get:15 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted Translation-en [22.1 kB] [2020-10-27T17:59:20.321Z] Get:16 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [942 kB] [2020-10-27T17:59:20.321Z] Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe Translation-en [241 kB] [2020-10-27T17:59:20.321Z] Get:18 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse arm64 Packages [2360 B] [2020-10-27T17:59:20.321Z] Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse Translation-en [2964 B] [2020-10-27T17:59:20.595Z] Get:20 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main Translation-en [367 kB] [2020-10-27T17:59:20.595Z] Get:21 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [2088 B] [2020-10-27T17:59:20.595Z] Get:22 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/restricted Translation-en [24.6 kB] [2020-10-27T17:59:20.595Z] Get:23 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1479 kB] [2020-10-27T17:59:20.595Z] Get:24 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/universe Translation-en [354 kB] [2020-10-27T17:59:20.595Z] Get:25 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [5072 B] [2020-10-27T17:59:20.595Z] Get:26 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse Translation-en [6980 B] [2020-10-27T17:59:20.867Z] Get:27 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic/main arm64 Packages [9340 B] [2020-10-27T17:59:20.867Z] Get:28 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [9992 B] [2020-10-27T17:59:20.867Z] Get:29 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports/main Translation-en [4764 B] [2020-10-27T17:59:20.867Z] Get:30 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic/main Translation-en [1360 B] [2020-10-27T17:59:20.867Z] Get:31 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [9932 B] [2020-10-27T17:59:20.867Z] Get:32 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports/universe Translation-en [4588 B] [2020-10-27T17:59:33.263Z] Fetched 6071 kB in 4s (1358 kB/s) [2020-10-27T17:59:36.647Z] Reading package lists... [2020-10-27T17:59:36.647Z] + sudo apt-get install -y snapd [2020-10-27T17:59:36.921Z] Reading package lists... [2020-10-27T17:59:37.518Z] Building dependency tree... [2020-10-27T17:59:37.518Z] Reading state information... [2020-10-27T17:59:38.497Z] Suggested packages: [2020-10-27T17:59:38.497Z] zenity | kdialog [2020-10-27T17:59:38.497Z] The following packages will be upgraded: [2020-10-27T17:59:38.497Z] snapd [2020-10-27T17:59:38.770Z] 1 upgraded, 0 newly installed, 0 to remove and 232 not upgraded. [2020-10-27T17:59:38.770Z] Need to get 18.5 MB of archives. [2020-10-27T17:59:38.770Z] After this operation, 35.1 MB of additional disk space will be used. [2020-10-27T17:59:38.770Z] Get:1 http://ca-ymq-2.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 snapd arm64 2.47.1+18.04 [18.5 MB] [2020-10-27T17:59:41.386Z] debconf: unable to initialize frontend: Dialog [2020-10-27T17:59:41.386Z] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) [2020-10-27T17:59:41.386Z] debconf: falling back to frontend: Readline [2020-10-27T17:59:41.386Z] debconf: unable to initialize frontend: Readline [2020-10-27T17:59:41.386Z] debconf: (This frontend requires a controlling tty.) [2020-10-27T17:59:41.386Z] debconf: falling back to frontend: Teletype [2020-10-27T17:59:41.386Z] dpkg-preconfigure: unable to re-open stdin: [2020-10-27T17:59:41.386Z] Fetched 18.5 MB in 2s (11.5 MB/s) [2020-10-27T17:59:43.032Z] (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-27T17:59:43.308Z] Preparing to unpack .../snapd_2.47.1+18.04_arm64.deb ... [2020-10-27T17:59:43.585Z] Unpacking snapd (2.47.1+18.04) over (2.42.1+18.04) ... [2020-10-27T17:59:48.995Z] Setting up snapd (2.47.1+18.04) ... [2020-10-27T17:59:48.995Z] Installing new version of config file /etc/apparmor.d/usr.lib.snapd.snap-confine.real ... [2020-10-27T17:59:48.995Z] Installing new version of config file /etc/profile.d/apps-bin-path.sh ... [2020-10-27T17:59:50.965Z] Created symlink /etc/systemd/system/multi-user.target.wants/snapd.apparmor.service → /lib/systemd/system/snapd.apparmor.service. [2020-10-27T17:59:52.935Z] Created symlink /etc/systemd/system/multi-user.target.wants/snapd.recovery-chooser-trigger.service → /lib/systemd/system/snapd.recovery-chooser-trigger.service. [2020-10-27T17:59:56.325Z] snapd.failure.service is a disabled or a static unit, not starting it. [2020-10-27T17:59:56.599Z] snapd.snap-repair.service is a disabled or a static unit, not starting it. [2020-10-27T17:59:57.580Z] Processing triggers for dbus (1.12.2-1ubuntu1.1) ... [2020-10-27T17:59:57.580Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-10-27T17:59:57.580Z] Processing triggers for man-db (2.8.3-2ubuntu0.1) ... [2020-10-27T18:00:04.314Z] + sudo snap install --classic snapcraft [2020-10-27T18:00:22.615Z] 2020-10-27T18:00:20Z INFO Waiting for automatic snapd restart... [2020-10-27T18:00:54.935Z] snapcraft 4.3 from Canonical* installed [2020-10-27T18:00:54.935Z] + echo '[snap-build] Building snap in dir [/w/workspace/app-service-configurable/18]' [2020-10-27T18:00:54.935Z] [snap-build] Building snap in dir [/w/workspace/app-service-configurable/18] [2020-10-27T18:00:54.935Z] + cd /w/workspace/app-service-configurable/18 [2020-10-27T18:00:54.935Z] + '[' -f snap/local/patches/0001-optimize-build-for-pipeline-CI-check.patch ']' [2020-10-27T18:00:54.935Z] + snapcraft clean [2020-10-27T18:00:54.935Z] /w/workspace/app-service-configurable/18@tmp/durable-577092fb/script.sh: line 25: snapcraft: command not found [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-27T18:00:56.120Z] 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-27T18:00:59.104Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T18:00:59.688Z] ---> package-listing.sh [2020-10-27T18:00:59.688Z] ++ facter osfamily [2020-10-27T18:00:59.688Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-27T18:00:59.688Z] + OS_FAMILY=redhat [2020-10-27T18:00:59.688Z] + workspace=/w/workspace/_app-service-configurable_PR-124 [2020-10-27T18:00:59.688Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-27T18:00:59.688Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-27T18:00:59.688Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-27T18:00:59.688Z] + PACKAGES=/tmp/packages_start.txt [2020-10-27T18:00:59.688Z] + '[' /w/workspace/_app-service-configurable_PR-124 ']' [2020-10-27T18:00:59.688Z] + PACKAGES=/tmp/packages_end.txt [2020-10-27T18:00:59.688Z] + case "${OS_FAMILY}" in [2020-10-27T18:00:59.688Z] + rpm -qa [2020-10-27T18:00:59.688Z] + sort [2020-10-27T18:01:03.933Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-27T18:01:03.933Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-27T18:01:03.933Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-27T18:01:03.933Z] + '[' /w/workspace/_app-service-configurable_PR-124 ']' [2020-10-27T18:01:03.933Z] + mkdir -p /w/workspace/_app-service-configurable_PR-124/archives/ [2020-10-27T18:01:03.933Z] + 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-27T18:01:03.951Z] 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-27T18:01:04.253Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-27T18:01:04.572Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-27T18:01:04.572Z] [2020-10-27T18:01:04.572Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-27T18:01:04.950Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-27T18:01:04.950Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-27T18:01:04.950Z] df20fa9351a1: Pulling fs layer [2020-10-27T18:01:04.950Z] 36b3adc4ff6f: Pulling fs layer [2020-10-27T18:01:04.950Z] 8ad3a11d3b57: Pulling fs layer [2020-10-27T18:01:04.950Z] 46f8f816bc3b: Pulling fs layer [2020-10-27T18:01:04.950Z] 93b61091891f: Pulling fs layer [2020-10-27T18:01:04.950Z] 93b9cdb0e59b: Pulling fs layer [2020-10-27T18:01:04.950Z] 5e14af77c1be: Pulling fs layer [2020-10-27T18:01:04.950Z] 01666e4c0597: Pulling fs layer [2020-10-27T18:01:04.950Z] aa168da1d23b: Pulling fs layer [2020-10-27T18:01:04.950Z] 93b61091891f: Waiting [2020-10-27T18:01:04.950Z] 93b9cdb0e59b: Waiting [2020-10-27T18:01:04.950Z] 5e14af77c1be: Waiting [2020-10-27T18:01:04.950Z] 01666e4c0597: Waiting [2020-10-27T18:01:04.950Z] 46f8f816bc3b: Waiting [2020-10-27T18:01:04.950Z] 36b3adc4ff6f: Verifying Checksum [2020-10-27T18:01:04.950Z] 36b3adc4ff6f: Download complete [2020-10-27T18:01:04.950Z] 46f8f816bc3b: Download complete [2020-10-27T18:01:04.950Z] df20fa9351a1: Verifying Checksum [2020-10-27T18:01:04.950Z] df20fa9351a1: Download complete [2020-10-27T18:01:05.216Z] 93b9cdb0e59b: Verifying Checksum [2020-10-27T18:01:05.216Z] 93b9cdb0e59b: Download complete [2020-10-27T18:01:05.216Z] 93b61091891f: Verifying Checksum [2020-10-27T18:01:05.216Z] 93b61091891f: Download complete [2020-10-27T18:01:05.216Z] 5e14af77c1be: Verifying Checksum [2020-10-27T18:01:05.216Z] 5e14af77c1be: Download complete [2020-10-27T18:01:05.216Z] 01666e4c0597: Verifying Checksum [2020-10-27T18:01:05.216Z] 01666e4c0597: Download complete [2020-10-27T18:01:05.216Z] 8ad3a11d3b57: Verifying Checksum [2020-10-27T18:01:05.216Z] 8ad3a11d3b57: Download complete [2020-10-27T18:01:05.485Z] df20fa9351a1: Pull complete [2020-10-27T18:01:05.760Z] 36b3adc4ff6f: Pull complete [2020-10-27T18:01:06.349Z] 8ad3a11d3b57: Pull complete [2020-10-27T18:01:06.618Z] 46f8f816bc3b: Pull complete [2020-10-27T18:01:07.199Z] 93b61091891f: Pull complete [2020-10-27T18:01:07.469Z] 93b9cdb0e59b: Pull complete [2020-10-27T18:01:07.742Z] aa168da1d23b: Verifying Checksum [2020-10-27T18:01:07.742Z] aa168da1d23b: Download complete [2020-10-27T18:01:07.742Z] 5e14af77c1be: Pull complete [2020-10-27T18:01:07.742Z] 01666e4c0597: Pull complete [2020-10-27T18:01:15.957Z] aa168da1d23b: Pull complete [2020-10-27T18:01:15.957Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-27T18:01:15.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-27T18:01:15.957Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-27T18:01:16.128Z] prd-centos7-docker-4c-2g-9200 does not seem to be running inside a container [2020-10-27T18:01:16.184Z] $ 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-27T18:01:24.107Z] $ docker top 146beaa1d9796b798835c6c82b71d22febe3dc1d7f79b584dffd421a4c37f855 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-27T18:01:25.006Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-27T18:01:25.310Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-27T18:01:25.615Z] + ls /var/log/sa-host [2020-10-27T18:01:25.615Z] + sadf -c /var/log/sa-host/sa05 [2020-10-27T18:01:25.615Z] file_magic: OK [2020-10-27T18:01:25.615Z] HZ: Using current value: 100 [2020-10-27T18:01:25.615Z] file_header: OK [2020-10-27T18:01:25.615Z] 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-27T18:01:25.615Z] Statistics: [2020-10-27T18:01:25.615Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-27T18:01:25.615Z] File successfully converted to sysstat format version 12.2.1 [2020-10-27T18:01:25.615Z] + sadf -c /var/log/sa-host/sa27 [2020-10-27T18:01:25.615Z] file_magic: OK [2020-10-27T18:01:25.615Z] HZ: Using current value: 100 [2020-10-27T18:01:25.615Z] file_header: OK [2020-10-27T18:01:25.615Z] 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-27T18:01:25.615Z] Statistics: [2020-10-27T18:01:25.615Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-27T18:01:25.615Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-27T18:01:25.821Z] provisioning config files... [2020-10-27T18:01:25.843Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-124@tmp/config8521378133412750043tmp [Pipeline] { [Pipeline] echo [2020-10-27T18:01:25.916Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T18:01:26.223Z] ---> create-netrc.sh [Pipeline] } [2020-10-27T18:01:26.234Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-27T18:01:26.325Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T18:01:26.624Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-27T18:01:26.636Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T18:01:26.957Z] ---> sudo-logs.sh [2020-10-27T18:01:26.957Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-27T18:01:26.970Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T18:01:27.274Z] ---> job-cost.sh [2020-10-27T18:01:27.274Z] lf-activate-venv: SKIPPING [2020-10-27T18:01:27.274Z] INFO: No Stack... [2020-10-27T18:01:28.671Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-27T18:01:29.247Z] INFO: Archiving Costs [Pipeline] echo [2020-10-27T18:01:29.263Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T18:01:29.563Z] ---> logs-deploy.sh [2020-10-27T18:01:29.563Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-124/18 [2020-10-27T18:01:29.563Z] INFO: archiving workspace using pattern(s): [2020-10-27T18:01:31.489Z] Archives upload complete. [2020-10-27T18:01:31.489Z] INFO: archiving logs to Nexus