Pull request #117 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 lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from fde47d2900d3a434dfb4ae6029df15605a167693+d76b33905ff2852036d8bb432dc01390d416ad34 (74a21eba0ce0ec4d819d27bc9f85d8dccb5b8ec5) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable 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 Found match: refs/tags/stable revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > 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/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 with 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 --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > 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. [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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2153 in /w/workspace/_app-service-configurable_PR-117 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-117 # 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 --no-tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/117/head:refs/remotes/origin/PR-117 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d76b33905ff2852036d8bb432dc01390d416ad34 into PR head commit fde47d2900d3a434dfb4ae6029df15605a167693 Merge succeeded, producing fde47d2900d3a434dfb4ae6029df15605a167693 Checking out Revision fde47d2900d3a434dfb4ae6029df15605a167693 (PR-117) > git config core.sparsecheckout # timeout=10 > git checkout -f fde47d2900d3a434dfb4ae6029df15605a167693 # 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 d76b33905ff2852036d8bb432dc01390d416ad34 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fde47d2900d3a434dfb4ae6029df15605a167693 # timeout=10 Commit message: "build: Switch to using Go 1.15" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-10T19:07:56.070Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-10T19:07:56.345Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk ee3733b9dceb4c33530732f8e9bc66c0862a35c5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-10T19:07:56.445Z] ========================================================= [2020-09-10T19:07:56.445Z] EdgeX Global Pipelines Version Info [2020-09-10T19:07:56.445Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-10T19:07:57.925Z] ------------------- [2020-09-10T19:07:57.926Z] stable info: [2020-09-10T19:07:57.926Z] ------------------- [2020-09-10T19:07:57.926Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-10T19:07:57.926Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-10T19:07:57.926Z] Message: update stable to v1.0.119 [2020-09-10T19:07:58.871Z] ------------------- [2020-09-10T19:07:58.871Z] experimental info: [2020-09-10T19:07:58.871Z] ------------------- [2020-09-10T19:07:58.871Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-10T19:07:58.871Z] Commit SHA: fce6018850fd827eed96b6ce04e8822d251c695d [2020-09-10T19:07:58.871Z] Message: update experimental to v1.0.120 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-10T19:07:59.299Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2020-09-10T19:07:59.408Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2020-09-10T19:07:59.496Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-10T19:07:59.609Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-10T19:07:59.711Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-10T19:07:59.805Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-10T19:07:59.893Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-10T19:07:59.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-10T19:08:00.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-10T19:08:00.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-10T19:08:00.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-10T19:08:00.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-service-configurable [Pipeline] echo [2020-09-10T19:08:00.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-10T19:08:00.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-10T19:08:01.050Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-10T19:08:01.184Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-10T19:08:01.354Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-10T19:08:01.447Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-10T19:08:01.567Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-10T19:08:01.663Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-09-10T19:08:01.757Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-10T19:08:01.870Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-10T19:08:02.022Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-117 [Pipeline] echo [2020-09-10T19:08:02.113Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-117 [Pipeline] echo [2020-09-10T19:08:02.235Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-117 [Pipeline] echo [2020-09-10T19:08:02.325Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fde47d2900d3a434dfb4ae6029df15605a167693 [Pipeline] echo [2020-09-10T19:08:02.446Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fde47d2 [Pipeline] echo [2020-09-10T19:08:02.542Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-10T19:08:03.213Z] + git log --format=format:%s -1 fde47d2900d3a434dfb4ae6029df15605a167693 [Pipeline] echo [2020-09-10T19:08:03.282Z] GIT_COMMIT: fde47d2900d3a434dfb4ae6029df15605a167693, Commit Message: build: Switch to using Go 1.15 [Pipeline] echo [2020-09-10T19:08:03.335Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-10T19:08:04.437Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-10T19:08:04.701Z] [2020-09-10T19:08:04.701Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-10T19:08:05.047Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-10T19:08:05.047Z] latest: Pulling from edgex-devops/git-semver [2020-09-10T19:08:05.047Z] 31603596830f: Pulling fs layer [2020-09-10T19:08:05.047Z] 2a8b12db71e7: Pulling fs layer [2020-09-10T19:08:05.047Z] 6ca5941a6612: Pulling fs layer [2020-09-10T19:08:05.047Z] ecc8261a40a4: Pulling fs layer [2020-09-10T19:08:05.047Z] ecc8261a40a4: Waiting [2020-09-10T19:08:05.047Z] 2a8b12db71e7: Verifying Checksum [2020-09-10T19:08:05.047Z] 2a8b12db71e7: Download complete [2020-09-10T19:08:05.310Z] 31603596830f: Verifying Checksum [2020-09-10T19:08:05.311Z] 31603596830f: Download complete [2020-09-10T19:08:05.576Z] ecc8261a40a4: Verifying Checksum [2020-09-10T19:08:05.576Z] ecc8261a40a4: Download complete [2020-09-10T19:08:05.849Z] 31603596830f: Pull complete [2020-09-10T19:08:05.850Z] 6ca5941a6612: Verifying Checksum [2020-09-10T19:08:05.850Z] 6ca5941a6612: Download complete [2020-09-10T19:08:05.850Z] 2a8b12db71e7: Pull complete [2020-09-10T19:08:06.798Z] 6ca5941a6612: Pull complete [2020-09-10T19:08:07.059Z] ecc8261a40a4: Pull complete [2020-09-10T19:08:07.059Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-10T19:08:07.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-10T19:08:07.059Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-10T19:08:07.166Z] prd-centos7-docker-4c-2g-2153 does not seem to be running inside a container [2020-09-10T19:08:07.182Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-117 -v /w/workspace/_app-service-configurable_PR-117:/w/workspace/_app-service-configurable_PR-117:rw,z -v /w/workspace/_app-service-configurable_PR-117@tmp:/w/workspace/_app-service-configurable_PR-117@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-10T19:08:09.146Z] $ docker top 5ce4e74c9cbbff8dfb103508434b71f44bdc2a5591fad1110675756fa6988975 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-10T19:08:09.466Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-10T19:08:09.466Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-10T19:08:09.661Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-10T19:08:09.630Z] $ docker exec 5ce4e74c9cbbff8dfb103508434b71f44bdc2a5591fad1110675756fa6988975 ssh-agent [2020-09-10T19:08:09.828Z] SSH_AUTH_SOCK=/tmp/ssh-wZcYO4to9TMg/agent.11 [2020-09-10T19:08:09.828Z] SSH_AGENT_PID=17 [2020-09-10T19:08:09.839Z] Running ssh-add (command line suppressed) [2020-09-10T19:08:09.919Z] Identity added: /w/workspace/_app-service-configurable_PR-117@tmp/private_key_3003381093437280775.key (/w/workspace/_app-service-configurable_PR-117@tmp/private_key_3003381093437280775.key) [2020-09-10T19:08:10.005Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-10T19:08:10.343Z] + git describe --exact-match --tags HEAD [2020-09-10T19:08:10.343Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-10T19:08:10.329Z] $ docker exec --env ******** --env ******** 5ce4e74c9cbbff8dfb103508434b71f44bdc2a5591fad1110675756fa6988975 ssh-agent -k [2020-09-10T19:08:10.440Z] unset SSH_AUTH_SOCK; [2020-09-10T19:08:10.441Z] unset SSH_AGENT_PID; [2020-09-10T19:08:10.441Z] echo Agent pid 17 killed; [2020-09-10T19:08:10.519Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-10T19:08:10.621Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-10T19:08:10.621Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-10T19:08:10.750Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-10T19:08:10.750Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-10T19:08:10.903Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-10T19:08:10.871Z] $ docker exec 5ce4e74c9cbbff8dfb103508434b71f44bdc2a5591fad1110675756fa6988975 ssh-agent [2020-09-10T19:08:11.053Z] SSH_AUTH_SOCK=/tmp/ssh-2stXrhydH20F/agent.46 [2020-09-10T19:08:11.053Z] SSH_AGENT_PID=51 [2020-09-10T19:08:11.059Z] Running ssh-add (command line suppressed) [2020-09-10T19:08:11.134Z] Identity added: /w/workspace/_app-service-configurable_PR-117@tmp/private_key_1524978886071394355.key (/w/workspace/_app-service-configurable_PR-117@tmp/private_key_1524978886071394355.key) [2020-09-10T19:08:11.220Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-10T19:08:11.552Z] + git semver init [2020-09-10T19:08:11.552Z] # -> Open(): unable to determine branch for HEAD [2020-09-10T19:08:11.552Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-117/.git [2020-09-10T19:08:11.552Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-117 [2020-09-10T19:08:11.552Z] # $SEMVER_REMOTE_NAME = origin [2020-09-10T19:08:11.552Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-10T19:08:11.552Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-10T19:08:11.552Z] # $SEMVER_BRANCH = PR-117 [2020-09-10T19:08:11.552Z] # $SEMVER_TEMP = /tmp/semver-782928739 [2020-09-10T19:08:11.552Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2020-09-10T19:08:11.814Z] # '/tmp/semver-782928739' -> '/w/workspace/_app-service-configurable_PR-117/.semver' [2020-09-10T19:08:11.814Z] # -> Force: false [2020-09-10T19:08:11.814Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-117/.semver [Pipeline] } [2020-09-10T19:08:11.791Z] $ docker exec --env ******** --env ******** 5ce4e74c9cbbff8dfb103508434b71f44bdc2a5591fad1110675756fa6988975 ssh-agent -k [2020-09-10T19:08:11.904Z] unset SSH_AUTH_SOCK; [2020-09-10T19:08:11.904Z] unset SSH_AGENT_PID; [2020-09-10T19:08:11.904Z] echo Agent pid 51 killed; [2020-09-10T19:08:11.986Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-10T19:08:12.454Z] + git semver [Pipeline] } [2020-09-10T19:08:12.435Z] $ docker stop --time=1 5ce4e74c9cbbff8dfb103508434b71f44bdc2a5591fad1110675756fa6988975 [2020-09-10T19:08:13.791Z] $ docker rm -f 5ce4e74c9cbbff8dfb103508434b71f44bdc2a5591fad1110675756fa6988975 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-10T19:08:14.692Z] Stashed 26 file(s) [Pipeline] echo [2020-09-10T19:08:14.695Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-10T19:08:14.786Z] Archived original 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-09-10T19:08:30.248Z] Still waiting to schedule task [2020-09-10T19:08:30.248Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-10T19:08:30.250Z] Still waiting to schedule task [2020-09-10T19:08:30.250Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2152’ is offline [2020-09-10T19:10:23.583Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2154 in /w/workspace/_app-service-configurable_PR-117 [Pipeline] { [Pipeline] ws [2020-09-10T19:10:23.647Z] Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout [2020-09-10T19:10:28.785Z] using credential edgex-jenkins-ssh [2020-09-10T19:10:28.850Z] Cloning the remote Git repository [2020-09-10T19:10:28.850Z] Cloning with configured refspecs honoured and without tags [2020-09-10T19:10:30.082Z] Fetching without tags [2020-09-10T19:10:28.880Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-09-10T19:10:28.996Z] > git init /w/workspace/app-service-configurable/2 # timeout=10 [2020-09-10T19:10:29.067Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-09-10T19:10:29.068Z] > git --version # timeout=10 [2020-09-10T19:10:29.089Z] > git --version # 'git version 2.17.1' [2020-09-10T19:10:29.091Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T19:10:29.168Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-10T19:10:29.819Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-09-10T19:10:29.875Z] > git config --add remote.origin.fetch +refs/pull/117/head:refs/remotes/origin/PR-117 # timeout=10 [2020-09-10T19:10:29.913Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-10T19:10:30.018Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-09-10T19:10:30.062Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-09-10T19:10:30.062Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T19:10:30.073Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-10T19:10:30.625Z] Merging remotes/origin/master commit d76b33905ff2852036d8bb432dc01390d416ad34 into PR head commit fde47d2900d3a434dfb4ae6029df15605a167693 [2020-09-10T19:10:31.016Z] Merge succeeded, producing fde47d2900d3a434dfb4ae6029df15605a167693 [2020-09-10T19:10:31.017Z] Checking out Revision fde47d2900d3a434dfb4ae6029df15605a167693 (PR-117) [2020-09-10T19:10:30.612Z] > git config core.sparsecheckout # timeout=10 [2020-09-10T19:10:30.639Z] > git checkout -f fde47d2900d3a434dfb4ae6029df15605a167693 # timeout=10 [2020-09-10T19:10:30.812Z] > git remote # timeout=10 [2020-09-10T19:10:30.846Z] > git config --get remote.origin.url # timeout=10 [2020-09-10T19:10:30.895Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T19:10:30.913Z] > git merge d76b33905ff2852036d8bb432dc01390d416ad34 # timeout=10 [2020-09-10T19:10:30.955Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-10T19:10:30.992Z] > git config core.sparsecheckout # timeout=10 [2020-09-10T19:10:31.019Z] > git checkout -f fde47d2900d3a434dfb4ae6029df15605a167693 # timeout=10 [2020-09-10T19:10:35.245Z] Commit message: "build: Switch to using Go 1.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-10T19:10:36.421Z] ========================================================= [2020-09-10T19:10:36.421Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-10T19:10:36.421Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-10T19:10:37.626Z] + 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-09-10T19:10:38.645Z] Sending build context to Docker daemon 314.4kB [2020-09-10T19:10:38.645Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-10T19:10:38.645Z] Step 2/8 : FROM ${BASE} [2020-09-10T19:10:38.929Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-10T19:10:38.929Z] b538f80385f9: Pulling fs layer [2020-09-10T19:10:38.929Z] 74f711af9a0d: Pulling fs layer [2020-09-10T19:10:38.929Z] 99f96fe45779: Pulling fs layer [2020-09-10T19:10:38.929Z] 8529a6b9a6be: Pulling fs layer [2020-09-10T19:10:38.929Z] 45590311c82a: Pulling fs layer [2020-09-10T19:10:38.929Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-10T19:10:38.929Z] 209524e5b208: Pulling fs layer [2020-09-10T19:10:38.929Z] 8529a6b9a6be: Waiting [2020-09-10T19:10:38.929Z] 45590311c82a: Waiting [2020-09-10T19:10:38.929Z] 69ca0ff8b7b3: Waiting [2020-09-10T19:10:38.929Z] 209524e5b208: Waiting [2020-09-10T19:10:38.929Z] 99f96fe45779: Verifying Checksum [2020-09-10T19:10:38.929Z] 99f96fe45779: Download complete [2020-09-10T19:10:38.929Z] 74f711af9a0d: Verifying Checksum [2020-09-10T19:10:38.929Z] 74f711af9a0d: Download complete [2020-09-10T19:10:38.929Z] 45590311c82a: Verifying Checksum [2020-09-10T19:10:38.929Z] 45590311c82a: Download complete [2020-09-10T19:10:38.929Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-10T19:10:38.929Z] 69ca0ff8b7b3: Download complete [2020-09-10T19:10:38.929Z] b538f80385f9: Verifying Checksum [2020-09-10T19:10:38.929Z] b538f80385f9: Download complete [2020-09-10T19:10:39.929Z] b538f80385f9: Pull complete [2020-09-10T19:10:40.206Z] 74f711af9a0d: Pull complete [2020-09-10T19:10:40.803Z] 99f96fe45779: Pull complete [2020-09-10T19:10:41.408Z] 209524e5b208: Verifying Checksum [2020-09-10T19:10:41.408Z] 209524e5b208: Download complete [2020-09-10T19:10:42.399Z] 8529a6b9a6be: Verifying Checksum [2020-09-10T19:10:42.399Z] 8529a6b9a6be: Download complete [2020-09-10T19:10:52.580Z] 8529a6b9a6be: Pull complete [2020-09-10T19:10:53.181Z] 45590311c82a: Pull complete [2020-09-10T19:10:53.456Z] 69ca0ff8b7b3: Pull complete [2020-09-10T19:10:57.791Z] 209524e5b208: Pull complete [2020-09-10T19:10:57.791Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-10T19:10:57.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-10T19:10:57.791Z] ---> 5bddaf1c2fca [2020-09-10T19:10:57.791Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-10T19:11:00.404Z] ---> Running in b5e82a031673 [2020-09-10T19:11:00.404Z] Removing intermediate container b5e82a031673 [2020-09-10T19:11:00.404Z] ---> 6afab2996d0b [2020-09-10T19:11:00.404Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-10T19:11:00.679Z] ---> Running in ccf12e153793 [2020-09-10T19:11:03.315Z] Removing intermediate container ccf12e153793 [2020-09-10T19:11:03.315Z] ---> 02d38dfcd9ab [2020-09-10T19:11:03.315Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-09-10T19:11:03.589Z] ---> Running in 0f43b0dca955 [2020-09-10T19:11:05.021Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-10T19:11:05.614Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-10T19:11:06.209Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-09-10T19:11:06.482Z] (2/6) Installing libsodium (1.0.18-r0) [2020-09-10T19:11:06.482Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-09-10T19:11:06.482Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-09-10T19:11:06.755Z] (5/6) Installing libzmq (4.3.3-r0) [2020-09-10T19:11:06.755Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-09-10T19:11:06.755Z] Executing busybox-1.31.1-r16.trigger [2020-09-10T19:11:07.041Z] OK: 144 MiB in 45 packages [2020-09-10T19:11:08.472Z] Removing intermediate container 0f43b0dca955 [2020-09-10T19:11:08.472Z] ---> f3d26886974f [2020-09-10T19:11:08.472Z] Step 6/8 : WORKDIR /app [2020-09-10T19:11:08.472Z] ---> Running in 4814aac47f5d [2020-09-10T19:11:09.067Z] Removing intermediate container 4814aac47f5d [2020-09-10T19:11:09.068Z] ---> 52ffd3a40e13 [2020-09-10T19:11:09.068Z] Step 7/8 : COPY . . [2020-09-10T19:11:09.666Z] ---> 7b8d90f0b446 [2020-09-10T19:11:09.666Z] Step 8/8 : RUN go mod download [2020-09-10T19:11:09.948Z] ---> Running in d4b3c53e49c1 [2020-09-10T19:11:29.162Z] Running on prd-centos7-docker-4c-2g-2155 in /w/workspace/_app-service-configurable_PR-117 [Pipeline] { [Pipeline] ws [2020-09-10T19:11:29.211Z] Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout [2020-09-10T19:11:31.659Z] using credential edgex-jenkins-ssh [2020-09-10T19:11:31.708Z] Cloning the remote Git repository [2020-09-10T19:11:31.708Z] Cloning with configured refspecs honoured and without tags [2020-09-10T19:11:31.703Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-09-10T19:11:32.725Z] Fetching without tags [2020-09-10T19:11:31.773Z] > git init /w/workspace/app-service-configurable/2 # timeout=10 [2020-09-10T19:11:32.013Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-09-10T19:11:32.013Z] > git --version # timeout=10 [2020-09-10T19:11:32.021Z] > git --version # 'git version 2.16.5' [2020-09-10T19:11:32.022Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T19:11:32.169Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-10T19:11:32.651Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-09-10T19:11:32.659Z] > git config --add remote.origin.fetch +refs/pull/117/head:refs/remotes/origin/PR-117 # timeout=10 [2020-09-10T19:11:32.666Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-10T19:11:32.676Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-09-10T19:11:32.693Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-09-10T19:11:32.693Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T19:11:32.698Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-10T19:11:33.119Z] Merging remotes/origin/master commit d76b33905ff2852036d8bb432dc01390d416ad34 into PR head commit fde47d2900d3a434dfb4ae6029df15605a167693 [2020-09-10T19:11:33.198Z] Merge succeeded, producing fde47d2900d3a434dfb4ae6029df15605a167693 [2020-09-10T19:11:33.199Z] Checking out Revision fde47d2900d3a434dfb4ae6029df15605a167693 (PR-117) [2020-09-10T19:11:33.091Z] > git config core.sparsecheckout # timeout=10 [2020-09-10T19:11:33.097Z] > git checkout -f fde47d2900d3a434dfb4ae6029df15605a167693 # timeout=10 [2020-09-10T19:11:33.133Z] > git remote # timeout=10 [2020-09-10T19:11:33.139Z] > git config --get remote.origin.url # timeout=10 [2020-09-10T19:11:33.143Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T19:11:33.147Z] > git merge d76b33905ff2852036d8bb432dc01390d416ad34 # timeout=10 [2020-09-10T19:11:33.155Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-10T19:11:33.170Z] > git config core.sparsecheckout # timeout=10 [2020-09-10T19:11:33.174Z] > git checkout -f fde47d2900d3a434dfb4ae6029df15605a167693 # timeout=10 [2020-09-10T19:11:36.844Z] Commit message: "build: Switch to using Go 1.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-10T19:11:37.817Z] ========================================================= [2020-09-10T19:11:37.817Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-10T19:11:37.817Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-10T19:11:38.520Z] + 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-09-10T19:11:38.785Z] Sending build context to Docker daemon 314.4kB [2020-09-10T19:11:38.785Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-10T19:11:38.785Z] Step 2/8 : FROM ${BASE} [2020-09-10T19:11:38.785Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-10T19:11:38.785Z] df20fa9351a1: Pulling fs layer [2020-09-10T19:11:38.785Z] ed8968b2872e: Pulling fs layer [2020-09-10T19:11:38.785Z] a92cc7c5fd73: Pulling fs layer [2020-09-10T19:11:38.785Z] e871e8e8d7a9: Pulling fs layer [2020-09-10T19:11:38.785Z] e73272ec9a57: Pulling fs layer [2020-09-10T19:11:38.785Z] 1e910a182e73: Pulling fs layer [2020-09-10T19:11:38.785Z] 4e634b169226: Pulling fs layer [2020-09-10T19:11:38.785Z] e871e8e8d7a9: Waiting [2020-09-10T19:11:38.785Z] e73272ec9a57: Waiting [2020-09-10T19:11:38.785Z] 1e910a182e73: Waiting [2020-09-10T19:11:38.785Z] 4e634b169226: Waiting [2020-09-10T19:11:39.048Z] a92cc7c5fd73: Verifying Checksum [2020-09-10T19:11:39.048Z] a92cc7c5fd73: Download complete [2020-09-10T19:11:39.048Z] ed8968b2872e: Verifying Checksum [2020-09-10T19:11:39.048Z] ed8968b2872e: Download complete [2020-09-10T19:11:39.048Z] e73272ec9a57: Verifying Checksum [2020-09-10T19:11:39.048Z] e73272ec9a57: Download complete [2020-09-10T19:11:39.048Z] 1e910a182e73: Verifying Checksum [2020-09-10T19:11:39.048Z] 1e910a182e73: Download complete [2020-09-10T19:11:39.048Z] df20fa9351a1: Verifying Checksum [2020-09-10T19:11:39.048Z] df20fa9351a1: Download complete [2020-09-10T19:11:39.314Z] df20fa9351a1: Pull complete [2020-09-10T19:11:39.583Z] ed8968b2872e: Pull complete [2020-09-10T19:11:39.583Z] a92cc7c5fd73: Pull complete [2020-09-10T19:11:40.532Z] 4e634b169226: Verifying Checksum [2020-09-10T19:11:40.532Z] 4e634b169226: Download complete [2020-09-10T19:11:41.484Z] e871e8e8d7a9: Verifying Checksum [2020-09-10T19:11:41.484Z] e871e8e8d7a9: Download complete [2020-09-10T19:11:42.291Z] Removing intermediate container d4b3c53e49c1 [2020-09-10T19:11:42.291Z] ---> 5fa932dda21c [2020-09-10T19:11:42.292Z] Successfully built 5fa932dda21c [2020-09-10T19:11:42.292Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-10T19:11:43.020Z] + docker inspect -f . ci-base-image-arm64 [2020-09-10T19:11:43.020Z] . [Pipeline] withDockerContainer [2020-09-10T19:11:43.254Z] prd-ubuntu18.04-docker-arm64-4c-16g-2154 does not seem to be running inside a container [2020-09-10T19:11:43.307Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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 ******** ci-base-image-arm64 cat [2020-09-10T19:11:45.234Z] $ docker top 24f32765d2dd8346eccc960f6d3780e5251f5c3e318083d74e4a06d22ecdd5b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-10T19:11:46.693Z] + go version [2020-09-10T19:11:46.693Z] go version go1.15.2 linux/arm64 [Pipeline] sh [2020-09-10T19:11:46.816Z] e871e8e8d7a9: Pull complete [2020-09-10T19:11:46.816Z] e73272ec9a57: Pull complete [2020-09-10T19:11:46.816Z] 1e910a182e73: Pull complete [2020-09-10T19:11:47.750Z] + make test [2020-09-10T19:11:47.750Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-09-10T19:11:51.047Z] 4e634b169226: Pull complete [2020-09-10T19:11:51.047Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-10T19:11:51.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-10T19:11:51.047Z] ---> f7629b54cfaa [2020-09-10T19:11:51.047Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-10T19:11:51.047Z] ---> Running in 0fe82b60a238 [2020-09-10T19:11:51.047Z] Removing intermediate container 0fe82b60a238 [2020-09-10T19:11:51.047Z] ---> 107768766171 [2020-09-10T19:11:51.047Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-10T19:11:51.311Z] ---> Running in d43ac7b178df [2020-09-10T19:11:52.267Z] Removing intermediate container d43ac7b178df [2020-09-10T19:11:52.267Z] ---> fe3dec0ae51c [2020-09-10T19:11:52.267Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-09-10T19:11:52.533Z] ---> Running in 3993bb42da61 [2020-09-10T19:11:53.483Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-10T19:11:54.059Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-10T19:11:54.635Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-09-10T19:11:54.635Z] (2/6) Installing libsodium (1.0.18-r0) [2020-09-10T19:11:54.635Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-09-10T19:11:54.898Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-09-10T19:11:54.898Z] (5/6) Installing libzmq (4.3.3-r0) [2020-09-10T19:11:55.473Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-09-10T19:11:55.473Z] Executing busybox-1.31.1-r16.trigger [2020-09-10T19:11:55.473Z] OK: 167 MiB in 45 packages [2020-09-10T19:11:56.425Z] Removing intermediate container 3993bb42da61 [2020-09-10T19:11:56.425Z] ---> c10418010c62 [2020-09-10T19:11:56.425Z] Step 6/8 : WORKDIR /app [2020-09-10T19:11:56.425Z] ---> Running in 76c7cc244c06 [2020-09-10T19:11:56.425Z] Removing intermediate container 76c7cc244c06 [2020-09-10T19:11:56.425Z] ---> 4e933346e053 [2020-09-10T19:11:56.425Z] Step 7/8 : COPY . . [2020-09-10T19:11:57.006Z] ---> 60c532a14509 [2020-09-10T19:11:57.006Z] Step 8/8 : RUN go mod download [2020-09-10T19:11:57.006Z] ---> Running in f960a4add9d1 [2020-09-10T19:12:23.647Z] Removing intermediate container f960a4add9d1 [2020-09-10T19:12:23.647Z] ---> d02b3e99b48b [2020-09-10T19:12:23.647Z] Successfully built d02b3e99b48b [2020-09-10T19:12:23.647Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-10T19:12:24.311Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-10T19:12:24.311Z] . [Pipeline] withDockerContainer [2020-09-10T19:12:24.415Z] prd-centos7-docker-4c-2g-2155 does not seem to be running inside a container [2020-09-10T19:12:24.431Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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 ******** ci-base-image-x86_64 cat [2020-09-10T19:12:25.186Z] $ docker top be9030d4fa133195ca00d102601b9f45cc0e476a707d72a2b4d0a4f115eecc8f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-10T19:12:25.705Z] + go version [2020-09-10T19:12:25.705Z] go version go1.15.2 linux/amd64 [Pipeline] sh [2020-09-10T19:12:26.107Z] + make test [2020-09-10T19:12:26.107Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-09-10T19:12:44.391Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-09-10T19:12:44.391Z] CGO_ENABLED=1 go vet ./... [2020-09-10T19:12:44.405Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-09-10T19:12:44.405Z] CGO_ENABLED=1 go vet ./... [2020-09-10T19:12:45.379Z] gofmt -l . [2020-09-10T19:12:45.379Z] [ "`gofmt -l .`" = "" ] [2020-09-10T19:12:45.379Z] ./bin/test-go-mod-tidy.sh [2020-09-10T19:12:45.981Z] ./bin/test-attribution-txt.sh [2020-09-10T19:12:46.344Z] gofmt -l . [2020-09-10T19:12:46.614Z] [ "`gofmt -l .`" = "" ] [2020-09-10T19:12:46.614Z] ./bin/test-go-mod-tidy.sh [2020-09-10T19:12:46.961Z] An attribution for explicit is missing from in Attribution.txt, please add [2020-09-10T19:12:46.961Z] make: *** [makefile:39: test] Error 1 [Pipeline] } [2020-09-10T19:12:46.953Z] $ docker stop --time=1 24f32765d2dd8346eccc960f6d3780e5251f5c3e318083d74e4a06d22ecdd5b4 [2020-09-10T19:12:47.189Z] ./bin/test-attribution-txt.sh [2020-09-10T19:12:47.452Z] An attribution for explicit is missing from in Attribution.txt, please add [2020-09-10T19:12:47.452Z] make: *** [makefile:39: test] Error 1 [2020-09-10T19:12:49.186Z] $ docker rm -f 24f32765d2dd8346eccc960f6d3780e5251f5c3e318083d74e4a06d22ecdd5b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2020-09-10T19:12:49.774Z] $ docker stop --time=1 be9030d4fa133195ca00d102601b9f45cc0e476a707d72a2b4d0a4f115eecc8f [2020-09-10T19:12:51.529Z] $ docker rm -f be9030d4fa133195ca00d102601b9f45cc0e476a707d72a2b4d0a4f115eecc8f [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-10T19:12:54.273Z] Failed in branch arm64 [Pipeline] // stage [Pipeline] } [2020-09-10T19:12:54.360Z] Failed in branch amd64 [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] { (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-09-10T19:12:56.769Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-10T19:12:57.332Z] ---> package-listing.sh [2020-09-10T19:12:57.332Z] ++ facter osfamily [2020-09-10T19:12:57.332Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-10T19:12:57.332Z] + OS_FAMILY=redhat [2020-09-10T19:12:57.332Z] + workspace=/w/workspace/_app-service-configurable_PR-117 [2020-09-10T19:12:57.332Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-10T19:12:57.332Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-10T19:12:57.332Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-10T19:12:57.332Z] + PACKAGES=/tmp/packages_start.txt [2020-09-10T19:12:57.332Z] + '[' /w/workspace/_app-service-configurable_PR-117 ']' [2020-09-10T19:12:57.332Z] + PACKAGES=/tmp/packages_end.txt [2020-09-10T19:12:57.332Z] + case "${OS_FAMILY}" in [2020-09-10T19:12:57.332Z] + rpm -qa [2020-09-10T19:12:57.332Z] + sort [2020-09-10T19:13:01.550Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-10T19:13:01.550Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-10T19:13:01.550Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-10T19:13:01.550Z] + '[' /w/workspace/_app-service-configurable_PR-117 ']' [2020-09-10T19:13:01.550Z] + mkdir -p /w/workspace/_app-service-configurable_PR-117/archives/ [2020-09-10T19:13:01.551Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-117/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-10T19:13:02.577Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-10T19:13:02.578Z] [2020-09-10T19:13:02.578Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-10T19:13:02.967Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-10T19:13:02.967Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-10T19:13:02.967Z] df20fa9351a1: Pulling fs layer [2020-09-10T19:13:02.967Z] 36b3adc4ff6f: Pulling fs layer [2020-09-10T19:13:02.967Z] 8ad3a11d3b57: Pulling fs layer [2020-09-10T19:13:02.967Z] 46f8f816bc3b: Pulling fs layer [2020-09-10T19:13:02.967Z] 0dadc02b9964: Pulling fs layer [2020-09-10T19:13:02.967Z] ce6a7cf60c04: Pulling fs layer [2020-09-10T19:13:02.967Z] 7a184a31f384: Pulling fs layer [2020-09-10T19:13:02.967Z] 0879bd2ef858: Pulling fs layer [2020-09-10T19:13:02.967Z] 46f8f816bc3b: Waiting [2020-09-10T19:13:02.967Z] ce6a7cf60c04: Waiting [2020-09-10T19:13:02.967Z] 7a184a31f384: Waiting [2020-09-10T19:13:02.967Z] 0879bd2ef858: Waiting [2020-09-10T19:13:02.967Z] 0dadc02b9964: Waiting [2020-09-10T19:13:02.967Z] 36b3adc4ff6f: Verifying Checksum [2020-09-10T19:13:02.967Z] 36b3adc4ff6f: Download complete [2020-09-10T19:13:02.967Z] 46f8f816bc3b: Verifying Checksum [2020-09-10T19:13:02.967Z] 46f8f816bc3b: Download complete [2020-09-10T19:13:02.967Z] df20fa9351a1: Verifying Checksum [2020-09-10T19:13:02.967Z] df20fa9351a1: Download complete [2020-09-10T19:13:03.244Z] ce6a7cf60c04: Verifying Checksum [2020-09-10T19:13:03.244Z] ce6a7cf60c04: Download complete [2020-09-10T19:13:03.244Z] 0dadc02b9964: Download complete [2020-09-10T19:13:03.244Z] 7a184a31f384: Verifying Checksum [2020-09-10T19:13:03.244Z] 7a184a31f384: Download complete [2020-09-10T19:13:03.507Z] 8ad3a11d3b57: Verifying Checksum [2020-09-10T19:13:03.507Z] 8ad3a11d3b57: Download complete [2020-09-10T19:13:03.507Z] df20fa9351a1: Pull complete [2020-09-10T19:13:03.774Z] 36b3adc4ff6f: Pull complete [2020-09-10T19:13:03.774Z] 0879bd2ef858: Verifying Checksum [2020-09-10T19:13:03.774Z] 0879bd2ef858: Download complete [2020-09-10T19:13:04.353Z] 8ad3a11d3b57: Pull complete [2020-09-10T19:13:04.353Z] 46f8f816bc3b: Pull complete [2020-09-10T19:13:04.620Z] 0dadc02b9964: Pull complete [2020-09-10T19:13:04.620Z] ce6a7cf60c04: Pull complete [2020-09-10T19:13:04.882Z] 7a184a31f384: Pull complete [2020-09-10T19:13:07.445Z] 0879bd2ef858: Pull complete [2020-09-10T19:13:07.445Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-10T19:13:07.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-10T19:13:07.445Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-10T19:13:07.617Z] prd-centos7-docker-4c-2g-2153 does not seem to be running inside a container [2020-09-10T19:13:07.626Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/_app-service-configurable_PR-117 -v /w/workspace/_app-service-configurable_PR-117:/w/workspace/_app-service-configurable_PR-117:rw,z -v /w/workspace/_app-service-configurable_PR-117@tmp:/w/workspace/_app-service-configurable_PR-117@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-10T19:13:11.242Z] $ docker top 97901082fbf073aa98d358c2d894bb8110b5f26e86c57e7c04a39ecc70501d63 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-10T19:13:11.754Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-10T19:13:12.054Z] + ls /var/log/sa-host [2020-09-10T19:13:12.054Z] + sadf -c /var/log/sa-host/sa05 [2020-09-10T19:13:12.054Z] file_magic: OK [2020-09-10T19:13:12.054Z] HZ: Using current value: 100 [2020-09-10T19:13:12.054Z] file_header: OK [2020-09-10T19:13:12.054Z] 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-09-10T19:13:12.054Z] Statistics: [2020-09-10T19:13:12.054Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-10T19:13:12.054Z] File successfully converted to sysstat format version 12.2.1 [2020-09-10T19:13:12.054Z] + sadf -c /var/log/sa-host/sa10 [2020-09-10T19:13:12.054Z] file_magic: OK [2020-09-10T19:13:12.054Z] HZ: Using current value: 100 [2020-09-10T19:13:12.054Z] file_header: OK [2020-09-10T19:13:12.054Z] 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-09-10T19:13:12.054Z] Statistics: [2020-09-10T19:13:12.054Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-10T19:13:12.054Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-10T19:13:12.136Z] provisioning config files... [2020-09-10T19:13:12.158Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-117@tmp/config339925631664908369tmp [Pipeline] { [Pipeline] echo [2020-09-10T19:13:12.234Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-10T19:13:12.534Z] ---> create-netrc.sh [Pipeline] echo [2020-09-10T19:13:12.545Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-10T19:13:12.843Z] ---> logs-deploy.sh [2020-09-10T19:13:12.843Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-117/2 [2020-09-10T19:13:12.843Z] INFO: archiving workspace using pattern(s): [2020-09-10T19:13:14.234Z] Archives upload complete. [2020-09-10T19:13:14.234Z] INFO: archiving logs to Nexus