Pull request #818 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-functions-sdk-go Obtained Jenkinsfile from de4234b446d803550844c6248bc52a16687a1ca2+7ab1d82b7e244905f9818398051c1e157ceda5e1 (c89857688e661dd9c9195f93fa213ab3ad90ff37) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [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-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3601 in /w/workspace/ndry_app-functions-sdk-go_PR-818 [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-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-818 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.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-functions-sdk-go.git # timeout=10 Merging remotes/origin/master commit 7ab1d82b7e244905f9818398051c1e157ceda5e1 into PR head commit de4234b446d803550844c6248bc52a16687a1ca2 Merge succeeded, producing de4234b446d803550844c6248bc52a16687a1ca2 Checking out Revision de4234b446d803550844c6248bc52a16687a1ca2 (PR-818) Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/818/head:refs/remotes/origin/PR-818 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f de4234b446d803550844c6248bc52a16687a1ca2 # 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 7ab1d82b7e244905f9818398051c1e157ceda5e1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f de4234b446d803550844c6248bc52a16687a1ca2 # timeout=10 Commit message: "Merge branch 'master' into template-readme-fix" > git rev-list --no-walk cfc400115addc8ce9877164abc91991be0d64bfe # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-07T18:28:58.737Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-07T18:28:58.831Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-07T18:28:58.865Z] ========================================================= [2021-05-07T18:28:58.865Z] EdgeX Global Pipelines Version Info [2021-05-07T18:28:58.865Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:29:02.545Z] ------------------- [2021-05-07T18:29:02.545Z] stable info: [2021-05-07T18:29:02.545Z] ------------------- [2021-05-07T18:29:02.545Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-07T18:29:02.545Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T18:29:02.545Z] Message: update stable to v1.0.191 [2021-05-07T18:29:03.548Z] ------------------- [2021-05-07T18:29:03.548Z] experimental info: [2021-05-07T18:29:03.548Z] ------------------- [2021-05-07T18:29:03.548Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-07T18:29:03.548Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T18:29:03.548Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-07T18:29:03.733Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-05-07T18:29:03.755Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-05-07T18:29:03.779Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-07T18:29:03.812Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-07T18:29:03.837Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-07T18:29:03.862Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-07T18:29:03.887Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-07T18:29:03.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-07T18:29:03.937Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-07T18:29:03.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-07T18:29:04.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-07T18:29:04.027Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-05-07T18:29:04.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-07T18:29:04.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-07T18:29:04.095Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T18:29:04.119Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T18:29:04.143Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T18:29:04.169Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T18:29:04.193Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-07T18:29:04.216Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-07T18:29:04.240Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-07T18:29:04.270Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-05-07T18:29:04.296Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-07T18:29:04.320Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-07T18:29:04.345Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-05-07T18:29:04.374Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-07T18:29:04.401Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-818 [Pipeline] echo [2021-05-07T18:29:04.452Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-818 [Pipeline] echo [2021-05-07T18:29:04.477Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-818 [Pipeline] echo [2021-05-07T18:29:04.501Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = de4234b446d803550844c6248bc52a16687a1ca2 [Pipeline] echo [2021-05-07T18:29:04.525Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = de4234b [Pipeline] echo [2021-05-07T18:29:04.551Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T18:29:05.036Z] + git log --format=format:%s -1 de4234b446d803550844c6248bc52a16687a1ca2 [Pipeline] echo [2021-05-07T18:29:05.290Z] GIT_COMMIT: de4234b446d803550844c6248bc52a16687a1ca2, Commit Message: Merge branch 'master' into template-readme-fix [Pipeline] echo [2021-05-07T18:29:05.310Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:29:06.355Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T18:29:07.899Z] [2021-05-07T18:29:07.899Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:29:08.281Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T18:29:08.620Z] latest: Pulling from edgex-devops/git-semver [2021-05-07T18:29:08.620Z] 31603596830f: Pulling fs layer [2021-05-07T18:29:08.620Z] 54011a49482f: Pulling fs layer [2021-05-07T18:29:08.620Z] a6820b24f6d8: Pulling fs layer [2021-05-07T18:29:08.620Z] f581987b2513: Pulling fs layer [2021-05-07T18:29:08.620Z] f581987b2513: Waiting [2021-05-07T18:29:08.620Z] 54011a49482f: Verifying Checksum [2021-05-07T18:29:08.620Z] 54011a49482f: Download complete [2021-05-07T18:29:08.962Z] 31603596830f: Download complete [2021-05-07T18:29:09.619Z] f581987b2513: Verifying Checksum [2021-05-07T18:29:09.619Z] f581987b2513: Download complete [2021-05-07T18:29:09.619Z] a6820b24f6d8: Verifying Checksum [2021-05-07T18:29:09.619Z] a6820b24f6d8: Download complete [2021-05-07T18:29:10.265Z] 31603596830f: Pull complete [2021-05-07T18:29:10.560Z] 54011a49482f: Pull complete [2021-05-07T18:29:12.733Z] a6820b24f6d8: Pull complete [2021-05-07T18:29:13.389Z] f581987b2513: Pull complete [2021-05-07T18:29:13.389Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-07T18:29:13.389Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T18:29:13.389Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-07T18:29:13.750Z] prd-centos7-docker-4c-2g-3601 does not seem to be running inside a container [2021-05-07T18:29:13.864Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-818 -v /w/workspace/ndry_app-functions-sdk-go_PR-818:/w/workspace/ndry_app-functions-sdk-go_PR-818:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-818@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-818@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-07T18:29:16.783Z] $ docker top 2178b224f76235f1458507a3b045117fac3f796846ae6671c47471da2dccda37 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-07T18:29:17.104Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T18:29:17.104Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T18:29:17.533Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T18:29:17.539Z] $ docker exec 2178b224f76235f1458507a3b045117fac3f796846ae6671c47471da2dccda37 ssh-agent [2021-05-07T18:29:18.069Z] SSH_AUTH_SOCK=/tmp/ssh-v442uoJWW4k1/agent.11 [2021-05-07T18:29:18.069Z] SSH_AGENT_PID=16 [2021-05-07T18:29:18.093Z] Running ssh-add (command line suppressed) [2021-05-07T18:29:18.448Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-818@tmp/private_key_5372463396552933078.key (/w/workspace/ndry_app-functions-sdk-go_PR-818@tmp/private_key_5372463396552933078.key) [2021-05-07T18:29:18.605Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T18:29:18.964Z] + git tag --points-at HEAD [Pipeline] } [2021-05-07T18:29:19.007Z] $ docker exec --env ******** --env ******** 2178b224f76235f1458507a3b045117fac3f796846ae6671c47471da2dccda37 ssh-agent -k [2021-05-07T18:29:19.186Z] unset SSH_AUTH_SOCK; [2021-05-07T18:29:19.186Z] unset SSH_AGENT_PID; [2021-05-07T18:29:19.187Z] echo Agent pid 16 killed; [2021-05-07T18:29:19.270Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-07T18:29:19.324Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T18:29:19.324Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T18:29:19.613Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T18:29:19.618Z] $ docker exec 2178b224f76235f1458507a3b045117fac3f796846ae6671c47471da2dccda37 ssh-agent [2021-05-07T18:29:20.043Z] SSH_AUTH_SOCK=/tmp/ssh-Y1hcsbF8gWwf/agent.45 [2021-05-07T18:29:20.043Z] SSH_AGENT_PID=50 [2021-05-07T18:29:20.055Z] Running ssh-add (command line suppressed) [2021-05-07T18:29:20.252Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-818@tmp/private_key_4090895778759716018.key (/w/workspace/ndry_app-functions-sdk-go_PR-818@tmp/private_key_4090895778759716018.key) [2021-05-07T18:29:20.336Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T18:29:20.734Z] + git semver init [2021-05-07T18:29:20.734Z] # -> Open(): unable to determine branch for HEAD [2021-05-07T18:29:20.734Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-818/.git [2021-05-07T18:29:20.734Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-818 [2021-05-07T18:29:20.734Z] # $SEMVER_REMOTE_NAME = origin [2021-05-07T18:29:20.734Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-07T18:29:20.734Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-07T18:29:20.734Z] # $SEMVER_BRANCH = PR-818 [2021-05-07T18:29:20.734Z] # $SEMVER_TEMP = /tmp/semver-019133895 [2021-05-07T18:29:20.734Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-05-07T18:29:25.333Z] # '/tmp/semver-019133895' -> '/w/workspace/ndry_app-functions-sdk-go_PR-818/.semver' [2021-05-07T18:29:25.333Z] # -> Force: false [2021-05-07T18:29:25.333Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-818/.semver [Pipeline] } [2021-05-07T18:29:25.359Z] $ docker exec --env ******** --env ******** 2178b224f76235f1458507a3b045117fac3f796846ae6671c47471da2dccda37 ssh-agent -k [2021-05-07T18:29:25.661Z] unset SSH_AUTH_SOCK; [2021-05-07T18:29:25.663Z] unset SSH_AGENT_PID; [2021-05-07T18:29:25.664Z] echo Agent pid 50 killed; [2021-05-07T18:29:25.754Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-07T18:29:26.221Z] + git semver [Pipeline] } [2021-05-07T18:29:26.267Z] $ docker stop --time=1 2178b224f76235f1458507a3b045117fac3f796846ae6671c47471da2dccda37 [2021-05-07T18:29:28.456Z] $ docker rm -f 2178b224f76235f1458507a3b045117fac3f796846ae6671c47471da2dccda37 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T18:29:29.229Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-07T18:29:30.118Z] Stashed 1 file(s) [Pipeline] echo [2021-05-07T18:29:30.121Z] [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 [2021-05-07T18:29:45.314Z] Still waiting to schedule task [2021-05-07T18:29:45.314Z] ‘prd-centos7-docker-4c-2g-3593’ is offline; ‘prd-centos7-docker-4c-2g-3600’ is offline; ‘prd-centos7-docker-4c-2g-3602’ is offline; ‘prd-centos7-docker-4c-2g-3603’ is offline; ‘prd-centos7-docker-4c-2g-3609’ is offline; ‘prd-centos7-docker-4c-2g-3610’ is offline; ‘prd-centos7-docker-4c-2g-3611’ is offline [2021-05-07T18:29:45.317Z] Still waiting to schedule task [2021-05-07T18:29:45.317Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-3604’ [2021-05-07T18:30:53.143Z] Running on prd-centos7-docker-4c-2g-3618 in /w/workspace/ndry_app-functions-sdk-go_PR-818 [Pipeline] { [Pipeline] ws [2021-05-07T18:30:53.162Z] Running in /w/workspace/app-functions-sdk-go/7 [Pipeline] { [Pipeline] checkout [2021-05-07T18:30:56.133Z] using credential edgex-jenkins-ssh [2021-05-07T18:30:56.149Z] Cloning the remote Git repository [2021-05-07T18:30:56.172Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-05-07T18:30:56.250Z] > git init /w/workspace/app-functions-sdk-go/7 # timeout=10 [2021-05-07T18:30:56.312Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-05-07T18:30:56.312Z] > git --version # timeout=10 [2021-05-07T18:30:56.318Z] > git --version # 'git version 2.24.3' [2021-05-07T18:30:56.319Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T18:30:56.348Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T18:30:57.943Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-05-07T18:30:57.950Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T18:30:57.965Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-05-07T18:30:57.982Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-05-07T18:30:57.982Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T18:30:57.987Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/818/head:refs/remotes/origin/PR-818 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-07T18:30:58.522Z] Merging remotes/origin/master commit 7ab1d82b7e244905f9818398051c1e157ceda5e1 into PR head commit de4234b446d803550844c6248bc52a16687a1ca2 [2021-05-07T18:30:58.626Z] Merge succeeded, producing de4234b446d803550844c6248bc52a16687a1ca2 [2021-05-07T18:30:58.626Z] Checking out Revision de4234b446d803550844c6248bc52a16687a1ca2 (PR-818) [2021-05-07T18:30:58.532Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T18:30:58.539Z] > git checkout -f de4234b446d803550844c6248bc52a16687a1ca2 # timeout=10 [2021-05-07T18:30:58.588Z] > git remote # timeout=10 [2021-05-07T18:30:58.594Z] > git config --get remote.origin.url # timeout=10 [2021-05-07T18:30:58.601Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T18:30:58.605Z] > git merge 7ab1d82b7e244905f9818398051c1e157ceda5e1 # timeout=10 [2021-05-07T18:30:58.616Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-07T18:30:58.630Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T18:30:58.636Z] > git checkout -f de4234b446d803550844c6248bc52a16687a1ca2 # timeout=10 [2021-05-07T18:31:02.334Z] Commit message: "Merge branch 'master' into template-readme-fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T18:31:03.818Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-07T18:31:04.150Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-07T18:31:04.469Z] + sudo service docker restart [2021-05-07T18:31:04.469Z] + true [2021-05-07T18:31:04.469Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-05-07T18:31:06.059Z] ========================================================= [2021-05-07T18:31:06.059Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-07T18:31:06.059Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:31:06.378Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-07T18:31:06.956Z] Sending build context to Docker daemon 19.53MB [2021-05-07T18:31:06.956Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-07T18:31:06.956Z] Step 2/8 : FROM ${BASE} [2021-05-07T18:31:07.219Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-07T18:31:07.219Z] 540db60ca938: Pulling fs layer [2021-05-07T18:31:07.219Z] adcc1eea9eea: Pulling fs layer [2021-05-07T18:31:07.219Z] 4c4ab2625f07: Pulling fs layer [2021-05-07T18:31:07.219Z] 0510c868ecb4: Pulling fs layer [2021-05-07T18:31:07.219Z] afea3b2eda06: Pulling fs layer [2021-05-07T18:31:07.219Z] 7809a108b3ef: Pulling fs layer [2021-05-07T18:31:07.219Z] f706445af74f: Pulling fs layer [2021-05-07T18:31:07.219Z] afea3b2eda06: Waiting [2021-05-07T18:31:07.219Z] 7809a108b3ef: Waiting [2021-05-07T18:31:07.219Z] f706445af74f: Waiting [2021-05-07T18:31:07.219Z] 0510c868ecb4: Waiting [2021-05-07T18:31:07.219Z] 4c4ab2625f07: Verifying Checksum [2021-05-07T18:31:07.219Z] 4c4ab2625f07: Download complete [2021-05-07T18:31:07.219Z] adcc1eea9eea: Download complete [2021-05-07T18:31:07.219Z] afea3b2eda06: Verifying Checksum [2021-05-07T18:31:07.219Z] afea3b2eda06: Download complete [2021-05-07T18:31:07.219Z] 7809a108b3ef: Verifying Checksum [2021-05-07T18:31:07.219Z] 7809a108b3ef: Download complete [2021-05-07T18:31:07.219Z] 540db60ca938: Verifying Checksum [2021-05-07T18:31:07.219Z] 540db60ca938: Download complete [2021-05-07T18:31:07.491Z] 540db60ca938: Pull complete [2021-05-07T18:31:07.754Z] adcc1eea9eea: Pull complete [2021-05-07T18:31:07.754Z] 4c4ab2625f07: Pull complete [2021-05-07T18:31:09.163Z] f706445af74f: Verifying Checksum [2021-05-07T18:31:09.163Z] f706445af74f: Download complete [2021-05-07T18:31:10.148Z] 0510c868ecb4: Verifying Checksum [2021-05-07T18:31:10.148Z] 0510c868ecb4: Download complete [2021-05-07T18:31:16.882Z] 0510c868ecb4: Pull complete [2021-05-07T18:31:16.882Z] afea3b2eda06: Pull complete [2021-05-07T18:31:16.882Z] 7809a108b3ef: Pull complete [2021-05-07T18:31:21.157Z] f706445af74f: Pull complete [2021-05-07T18:31:21.157Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-07T18:31:21.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-07T18:31:21.157Z] ---> b068be0155e3 [2021-05-07T18:31:21.158Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-05-07T18:31:21.158Z] 20.10.0: Pulling from library/docker [2021-05-07T18:31:21.158Z] 05e7bc50f07f: Pulling fs layer [2021-05-07T18:31:21.158Z] 6db28d0fdbf6: Pulling fs layer [2021-05-07T18:31:21.158Z] 292df0bc6bf3: Pulling fs layer [2021-05-07T18:31:21.158Z] 2e060f4bd70b: Pulling fs layer [2021-05-07T18:31:21.158Z] 80e8d568a223: Pulling fs layer [2021-05-07T18:31:21.158Z] 8dc6ef1a942a: Pulling fs layer [2021-05-07T18:31:21.158Z] 2312dd95470a: Pulling fs layer [2021-05-07T18:31:21.158Z] 80e8d568a223: Waiting [2021-05-07T18:31:21.158Z] 8dc6ef1a942a: Waiting [2021-05-07T18:31:21.158Z] 2312dd95470a: Waiting [2021-05-07T18:31:21.158Z] 2e060f4bd70b: Waiting [2021-05-07T18:31:21.158Z] 292df0bc6bf3: Download complete [2021-05-07T18:31:21.426Z] 6db28d0fdbf6: Verifying Checksum [2021-05-07T18:31:21.426Z] 6db28d0fdbf6: Download complete [2021-05-07T18:31:21.426Z] 80e8d568a223: Verifying Checksum [2021-05-07T18:31:21.426Z] 80e8d568a223: Download complete [2021-05-07T18:31:21.426Z] 05e7bc50f07f: Verifying Checksum [2021-05-07T18:31:21.426Z] 05e7bc50f07f: Download complete [2021-05-07T18:31:21.426Z] 8dc6ef1a942a: Download complete [2021-05-07T18:31:21.698Z] 2312dd95470a: Verifying Checksum [2021-05-07T18:31:21.698Z] 2312dd95470a: Download complete [2021-05-07T18:31:22.295Z] 05e7bc50f07f: Pull complete [2021-05-07T18:31:22.566Z] 6db28d0fdbf6: Pull complete [2021-05-07T18:31:22.831Z] 292df0bc6bf3: Pull complete [2021-05-07T18:31:23.787Z] 2e060f4bd70b: Verifying Checksum [2021-05-07T18:31:23.787Z] 2e060f4bd70b: Download complete [2021-05-07T18:31:27.126Z] 2e060f4bd70b: Pull complete [2021-05-07T18:31:27.126Z] 80e8d568a223: Pull complete [2021-05-07T18:31:27.126Z] 8dc6ef1a942a: Pull complete [2021-05-07T18:31:27.126Z] 2312dd95470a: Pull complete [2021-05-07T18:31:27.126Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-05-07T18:31:27.126Z] Status: Downloaded newer image for docker:20.10.0 [2021-05-07T18:31:28.526Z] ---> 28723b2ff659 [2021-05-07T18:31:28.526Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-07T18:31:28.794Z] ---> Running in a587bf872294 [2021-05-07T18:31:28.794Z] Removing intermediate container a587bf872294 [2021-05-07T18:31:28.794Z] ---> 4b42c64cc1cc [2021-05-07T18:31:28.794Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-05-07T18:31:29.069Z] ---> Running in a85c5e0420f8 [2021-05-07T18:31:29.646Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-07T18:31:31.042Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-07T18:31:32.442Z] (1/5) Installing libsodium (1.0.18-r0) [2021-05-07T18:31:32.442Z] (2/5) Installing libzmq (4.3.3-r1) [2021-05-07T18:31:32.705Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-05-07T18:31:32.705Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-05-07T18:31:32.705Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-05-07T18:31:32.969Z] Executing busybox-1.32.1-r6.trigger [2021-05-07T18:31:32.969Z] OK: 150 MiB in 45 packages [2021-05-07T18:31:33.551Z] Removing intermediate container a85c5e0420f8 [2021-05-07T18:31:33.551Z] ---> 47b634264797 [2021-05-07T18:31:33.551Z] Step 6/8 : WORKDIR /build [2021-05-07T18:31:33.818Z] ---> Running in 0624151abb0e [2021-05-07T18:31:33.818Z] Removing intermediate container 0624151abb0e [2021-05-07T18:31:33.818Z] ---> 61945ad947e9 [2021-05-07T18:31:33.818Z] Step 7/8 : COPY go.mod . [2021-05-07T18:31:34.086Z] ---> ba0c30f3c049 [2021-05-07T18:31:34.086Z] Step 8/8 : RUN go mod download [2021-05-07T18:31:34.086Z] ---> Running in 88e87a2093a8 [2021-05-07T18:32:00.746Z] Removing intermediate container 88e87a2093a8 [2021-05-07T18:32:00.746Z] ---> b8e8ae757296 [2021-05-07T18:32:00.746Z] Successfully built b8e8ae757296 [2021-05-07T18:32:00.746Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:32:01.097Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-07T18:32:01.097Z] . [Pipeline] withDockerContainer [2021-05-07T18:32:01.268Z] prd-centos7-docker-4c-2g-3618 does not seem to be running inside a container [2021-05-07T18:32:01.350Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-07T18:32:02.341Z] $ docker top 339ed4f4f32d135f77df111338d367cde7e62ddd653be82607714644421a2ef4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T18:32:02.785Z] + go version [2021-05-07T18:32:02.785Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-07T18:32:02.802Z] $ docker stop --time=1 339ed4f4f32d135f77df111338d367cde7e62ddd653be82607714644421a2ef4 [2021-05-07T18:32:04.186Z] $ docker rm -f 339ed4f4f32d135f77df111338d367cde7e62ddd653be82607714644421a2ef4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:32:04.694Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-07T18:32:04.694Z] . [Pipeline] withDockerContainer [2021-05-07T18:32:04.796Z] prd-centos7-docker-4c-2g-3618 does not seem to be running inside a container [2021-05-07T18:32:04.851Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-07T18:32:05.475Z] $ docker top 2f1a90360ad21e62af2e02b0641f11e8c82b44540c4803df77ad97d16aab0c71 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T18:32:05.935Z] + go mod tidy [Pipeline] sh [2021-05-07T18:32:07.515Z] + make test [2021-05-07T18:32:07.515Z] make -C ./app-service-template build [2021-05-07T18:32:07.515Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/7/app-service-template' [2021-05-07T18:32:07.515Z] go mod tidy [2021-05-07T18:32:07.515Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-05-07T18:32:22.606Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/7/app-service-template' [2021-05-07T18:32:22.606Z] make -C ./app-service-template test [2021-05-07T18:32:22.606Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/7/app-service-template' [2021-05-07T18:32:22.606Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-05-07T18:32:32.723Z] ok new-app-service 0.013s coverage: 47.8% of statements [2021-05-07T18:32:32.723Z] ? new-app-service/config [no test files] [2021-05-07T18:32:32.723Z] ok new-app-service/functions 0.018s [2021-05-07T18:32:32.723Z] CGO_ENABLED=1 go vet ./... [2021-05-07T18:32:33.315Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3623 in /w/workspace/ndry_app-functions-sdk-go_PR-818 [Pipeline] { [Pipeline] ws [2021-05-07T18:32:33.334Z] Running in /w/workspace/app-functions-sdk-go/7 [Pipeline] { [Pipeline] checkout [2021-05-07T18:32:39.566Z] using credential edgex-jenkins-ssh [2021-05-07T18:32:39.595Z] Cloning the remote Git repository [2021-05-07T18:32:39.649Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-05-07T18:32:39.797Z] > git init /w/workspace/app-functions-sdk-go/7 # timeout=10 [2021-05-07T18:32:39.876Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-05-07T18:32:39.876Z] > git --version # timeout=10 [2021-05-07T18:32:39.909Z] > git --version # 'git version 2.17.1' [2021-05-07T18:32:39.911Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T18:32:40.018Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T18:32:41.002Z] gofmt -l . [2021-05-07T18:32:41.002Z] [ "`gofmt -l .`" = "" ] [2021-05-07T18:32:41.002Z] ./bin/test-go-mod-tidy.sh [2021-05-07T18:32:41.275Z] ./bin/test-attribution-txt.sh [2021-05-07T18:32:42.229Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/7/app-service-template' [2021-05-07T18:32:42.230Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-07T18:32:42.493Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-05-07T18:32:43.328Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-05-07T18:32:43.350Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T18:32:43.375Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-05-07T18:32:43.420Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-05-07T18:32:43.421Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T18:32:43.435Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/818/head:refs/remotes/origin/PR-818 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-07T18:32:44.085Z] Merging remotes/origin/master commit 7ab1d82b7e244905f9818398051c1e157ceda5e1 into PR head commit de4234b446d803550844c6248bc52a16687a1ca2 [2021-05-07T18:32:44.306Z] Merge succeeded, producing de4234b446d803550844c6248bc52a16687a1ca2 [2021-05-07T18:32:44.306Z] Checking out Revision de4234b446d803550844c6248bc52a16687a1ca2 (PR-818) [2021-05-07T18:32:45.116Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.029s coverage: 55.8% of statements [2021-05-07T18:32:45.116Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.026s coverage: 92.5% of statements [2021-05-07T18:32:45.116Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-05-07T18:32:45.116Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.079s coverage: 61.5% of statements [2021-05-07T18:32:45.116Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-05-07T18:32:45.116Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.025s [2021-05-07T18:32:44.093Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T18:32:44.107Z] > git checkout -f de4234b446d803550844c6248bc52a16687a1ca2 # timeout=10 [2021-05-07T18:32:44.219Z] > git remote # timeout=10 [2021-05-07T18:32:44.237Z] > git config --get remote.origin.url # timeout=10 [2021-05-07T18:32:44.252Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T18:32:44.262Z] > git merge 7ab1d82b7e244905f9818398051c1e157ceda5e1 # timeout=10 [2021-05-07T18:32:44.283Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-07T18:32:44.304Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T18:32:44.312Z] > git checkout -f de4234b446d803550844c6248bc52a16687a1ca2 # timeout=10 [2021-05-07T18:32:45.382Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.027s coverage: 75.4% of statements [2021-05-07T18:32:45.382Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-05-07T18:32:45.382Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-05-07T18:32:45.382Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-05-07T18:32:45.382Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-05-07T18:32:45.382Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-05-07T18:32:45.382Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-05-07T18:32:45.382Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.010s coverage: 97.0% of statements [2021-05-07T18:32:45.382Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-05-07T18:32:45.382Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.017s coverage: 10.5% of statements [2021-05-07T18:32:48.561Z] Commit message: "Merge branch 'master' into template-readme-fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T18:32:49.641Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.759s coverage: 78.4% of statements [2021-05-07T18:32:49.641Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-05-07T18:32:49.641Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.020s coverage: 18.4% of statements [2021-05-07T18:32:49.641Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.012s coverage: 27.3% of statements [2021-05-07T18:32:49.641Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-05-07T18:32:49.641Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-05-07T18:32:49.641Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.012s coverage: 71.7% of statements [2021-05-07T18:32:50.106Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-07T18:32:50.510Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-07T18:32:50.858Z] + true [2021-05-07T18:32:50.859Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-05-07T18:32:53.150Z] ========================================================= [2021-05-07T18:32:53.150Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-07T18:32:53.150Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:32:53.495Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-07T18:32:54.480Z] Sending build context to Docker daemon 19.52MB [2021-05-07T18:32:54.480Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-07T18:32:54.480Z] Step 2/8 : FROM ${BASE} [2021-05-07T18:32:55.081Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-07T18:32:55.081Z] 595b0fe564bb: Pulling fs layer [2021-05-07T18:32:55.081Z] 7186ed65a4f7: Pulling fs layer [2021-05-07T18:32:55.081Z] 316046926c0a: Pulling fs layer [2021-05-07T18:32:55.081Z] 4ebd0625c992: Pulling fs layer [2021-05-07T18:32:55.081Z] 207e8628e3a3: Pulling fs layer [2021-05-07T18:32:55.081Z] c791037a9be2: Pulling fs layer [2021-05-07T18:32:55.081Z] ffd874e62e21: Pulling fs layer [2021-05-07T18:32:55.081Z] 207e8628e3a3: Waiting [2021-05-07T18:32:55.081Z] c791037a9be2: Waiting [2021-05-07T18:32:55.081Z] ffd874e62e21: Waiting [2021-05-07T18:32:55.081Z] 4ebd0625c992: Waiting [2021-05-07T18:32:55.081Z] 316046926c0a: Download complete [2021-05-07T18:32:55.081Z] 7186ed65a4f7: Download complete [2021-05-07T18:32:55.081Z] 207e8628e3a3: Verifying Checksum [2021-05-07T18:32:55.081Z] 207e8628e3a3: Download complete [2021-05-07T18:32:55.081Z] c791037a9be2: Verifying Checksum [2021-05-07T18:32:55.081Z] c791037a9be2: Download complete [2021-05-07T18:32:55.081Z] 595b0fe564bb: Verifying Checksum [2021-05-07T18:32:55.081Z] 595b0fe564bb: Download complete [2021-05-07T18:32:55.682Z] 595b0fe564bb: Pull complete [2021-05-07T18:32:56.286Z] 7186ed65a4f7: Pull complete [2021-05-07T18:32:56.559Z] 316046926c0a: Pull complete [2021-05-07T18:32:57.540Z] ffd874e62e21: Verifying Checksum [2021-05-07T18:32:57.540Z] ffd874e62e21: Download complete [2021-05-07T18:32:58.982Z] 4ebd0625c992: Download complete [2021-05-07T18:33:09.170Z] 4ebd0625c992: Pull complete [2021-05-07T18:33:09.170Z] 207e8628e3a3: Pull complete [2021-05-07T18:33:09.170Z] c791037a9be2: Pull complete [2021-05-07T18:33:11.849Z] ffd874e62e21: Pull complete [2021-05-07T18:33:11.849Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-07T18:33:11.849Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-07T18:33:11.849Z] ---> cfc18b08335c [2021-05-07T18:33:11.849Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-05-07T18:33:11.849Z] 20.10.0: Pulling from library/docker [2021-05-07T18:33:11.849Z] a3cc7d3b244e: Pulling fs layer [2021-05-07T18:33:11.849Z] 02a3295e0d61: Pulling fs layer [2021-05-07T18:33:11.849Z] 0f4f2e6d8100: Pulling fs layer [2021-05-07T18:33:11.849Z] 330b718f631f: Pulling fs layer [2021-05-07T18:33:11.849Z] a93816041522: Pulling fs layer [2021-05-07T18:33:11.849Z] bdb6da89ff94: Pulling fs layer [2021-05-07T18:33:11.849Z] 330b718f631f: Waiting [2021-05-07T18:33:11.849Z] a93816041522: Waiting [2021-05-07T18:33:11.849Z] bdb6da89ff94: Waiting [2021-05-07T18:33:11.849Z] 2a70c0c122f4: Pulling fs layer [2021-05-07T18:33:11.849Z] 2a70c0c122f4: Waiting [2021-05-07T18:33:12.122Z] 0f4f2e6d8100: Verifying Checksum [2021-05-07T18:33:12.122Z] 0f4f2e6d8100: Download complete [2021-05-07T18:33:12.122Z] a3cc7d3b244e: Verifying Checksum [2021-05-07T18:33:12.122Z] a3cc7d3b244e: Download complete [2021-05-07T18:33:12.122Z] 02a3295e0d61: Verifying Checksum [2021-05-07T18:33:12.122Z] 02a3295e0d61: Download complete [2021-05-07T18:33:12.122Z] a93816041522: Verifying Checksum [2021-05-07T18:33:12.122Z] a93816041522: Download complete [2021-05-07T18:33:12.122Z] bdb6da89ff94: Verifying Checksum [2021-05-07T18:33:12.122Z] bdb6da89ff94: Download complete [2021-05-07T18:33:12.122Z] 2a70c0c122f4: Download complete [2021-05-07T18:33:12.718Z] a3cc7d3b244e: Pull complete [2021-05-07T18:33:13.314Z] 02a3295e0d61: Pull complete [2021-05-07T18:33:13.910Z] 0f4f2e6d8100: Pull complete [2021-05-07T18:33:13.910Z] 330b718f631f: Verifying Checksum [2021-05-07T18:33:13.910Z] 330b718f631f: Download complete [2021-05-07T18:33:16.292Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.043s coverage: 81.9% of statements [2021-05-07T18:33:16.292Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.012s coverage: 94.4% of statements [2021-05-07T18:33:16.292Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-07T18:33:16.292Z] gofmt -l . [2021-05-07T18:33:16.292Z] [ "`gofmt -l .`" = "" ] [2021-05-07T18:33:16.292Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-07T18:33:16.317Z] $ docker stop --time=1 2f1a90360ad21e62af2e02b0641f11e8c82b44540c4803df77ad97d16aab0c71 [2021-05-07T18:33:17.319Z] 330b718f631f: Pull complete [2021-05-07T18:33:17.915Z] a93816041522: Pull complete [2021-05-07T18:33:18.061Z] $ docker rm -f 2f1a90360ad21e62af2e02b0641f11e8c82b44540c4803df77ad97d16aab0c71 [2021-05-07T18:33:18.195Z] bdb6da89ff94: Pull complete [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T18:33:18.487Z] 2a70c0c122f4: Pull complete [2021-05-07T18:33:18.487Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-05-07T18:33:18.487Z] Status: Downloaded newer image for docker:20.10.0 [2021-05-07T18:33:18.641Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-07T18:33:19.354Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:33:20.015Z] ---> job-cost.sh [2021-05-07T18:33:20.015Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Kjmo [2021-05-07T18:33:25.235Z] ---> a5f24aca84f2 [2021-05-07T18:33:25.235Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-07T18:33:25.235Z] ---> Running in 40ad4f5ef779 [2021-05-07T18:33:25.829Z] Removing intermediate container 40ad4f5ef779 [2021-05-07T18:33:25.829Z] ---> 1ed7ca973a28 [2021-05-07T18:33:25.829Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-05-07T18:33:26.105Z] ---> Running in 23878d5630b1 [2021-05-07T18:33:27.541Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-07T18:33:28.975Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-07T18:33:29.570Z] (1/5) Installing libsodium (1.0.18-r0) [2021-05-07T18:33:29.844Z] (2/5) Installing libzmq (4.3.3-r1) [2021-05-07T18:33:29.844Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-05-07T18:33:30.127Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-05-07T18:33:30.127Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-05-07T18:33:30.399Z] Executing busybox-1.32.1-r6.trigger [2021-05-07T18:33:30.399Z] OK: 139 MiB in 45 packages [2021-05-07T18:33:31.832Z] Removing intermediate container 23878d5630b1 [2021-05-07T18:33:31.832Z] ---> 3763405700cd [2021-05-07T18:33:31.832Z] Step 6/8 : WORKDIR /build [2021-05-07T18:33:31.832Z] ---> Running in 049e9ecaebb3 [2021-05-07T18:33:32.433Z] Removing intermediate container 049e9ecaebb3 [2021-05-07T18:33:32.433Z] ---> 4df22db458d7 [2021-05-07T18:33:32.433Z] Step 7/8 : COPY go.mod . [2021-05-07T18:33:33.039Z] ---> 56aa2a817d6a [2021-05-07T18:33:33.039Z] Step 8/8 : RUN go mod download [2021-05-07T18:33:33.315Z] ---> Running in 55045b685f40 [2021-05-07T18:33:38.266Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-07T18:34:00.137Z] Removing intermediate container 55045b685f40 [2021-05-07T18:34:00.137Z] ---> 33a858d094f6 [2021-05-07T18:34:00.137Z] Successfully built 33a858d094f6 [2021-05-07T18:34:00.137Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:34:00.496Z] + docker inspect -f . ci-base-image-arm64 [2021-05-07T18:34:00.496Z] . [Pipeline] withDockerContainer [2021-05-07T18:34:00.810Z] prd-ubuntu18.04-docker-arm64-4c-16g-3623 does not seem to be running inside a container [2021-05-07T18:34:00.907Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-07T18:34:02.622Z] $ docker top 8ab6cd8be5d2b46f3736fb85b8f6dd6336e8dd095b147d23db014a556b999738 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T18:34:03.561Z] + go version [2021-05-07T18:34:03.561Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-07T18:34:03.586Z] $ docker stop --time=1 8ab6cd8be5d2b46f3736fb85b8f6dd6336e8dd095b147d23db014a556b999738 [2021-05-07T18:34:04.910Z] lf-activate-venv(): INFO: Adding /tmp/venv-Kjmo/bin to PATH [2021-05-07T18:34:04.910Z] INFO: No Stack... [2021-05-07T18:34:04.910Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-07T18:34:04.910Z] INFO: Archiving Costs [2021-05-07T18:34:05.487Z] $ docker rm -f 8ab6cd8be5d2b46f3736fb85b8f6dd6336e8dd095b147d23db014a556b999738 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:34:06.059Z] + cat /w/workspace/app-functions-sdk-go/7/archives/cost.csv [2021-05-07T18:34:06.059Z] + cut -d, -f6 [Pipeline] lock [2021-05-07T18:34:06.138Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-818-7-stack-cost] [2021-05-07T18:34:06.154Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-818-7-stack-cost] did not exist. Created. [2021-05-07T18:34:06.154Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-818-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-07T18:34:06.243Z] + docker inspect -f . ci-base-image-arm64 [2021-05-07T18:34:06.243Z] . [Pipeline] withDockerContainer [2021-05-07T18:34:06.486Z] + echo total: 0.029999999329447746 [2021-05-07T18:34:06.525Z] prd-ubuntu18.04-docker-arm64-4c-16g-3623 does not seem to be running inside a container [2021-05-07T18:34:06.650Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-07T18:34:08.102Z] $ docker top bcbc03bbbf47f5b2cf2f9872cdd7b70be5ccb28b7af15cf525a9a5ffc2e0075e -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] sh [2021-05-07T18:34:08.489Z] Stashed 1 file(s) [Pipeline] } [2021-05-07T18:34:08.507Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-818-7-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-07T18:34:09.079Z] + go mod tidy [Pipeline] sh [2021-05-07T18:34:10.861Z] + make test [2021-05-07T18:34:10.861Z] make -C ./app-service-template build [2021-05-07T18:34:10.861Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/7/app-service-template' [2021-05-07T18:34:10.861Z] go mod tidy [2021-05-07T18:34:11.504Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-05-07T18:34:50.572Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/7/app-service-template' [2021-05-07T18:34:50.572Z] make -C ./app-service-template test [2021-05-07T18:34:50.572Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/7/app-service-template' [2021-05-07T18:34:50.572Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-05-07T18:35:22.984Z] ok new-app-service 0.037s coverage: 47.8% of statements [2021-05-07T18:35:22.984Z] ? new-app-service/config [no test files] [2021-05-07T18:35:22.984Z] ok new-app-service/functions 0.028s [2021-05-07T18:35:22.984Z] CGO_ENABLED=1 go vet ./... [2021-05-07T18:35:49.993Z] gofmt -l . [2021-05-07T18:35:49.993Z] [ "`gofmt -l .`" = "" ] [2021-05-07T18:35:49.993Z] ./bin/test-go-mod-tidy.sh [2021-05-07T18:35:49.993Z] ./bin/test-attribution-txt.sh [2021-05-07T18:35:49.993Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/7/app-service-template' [2021-05-07T18:35:49.993Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-07T18:35:49.993Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-05-07T18:35:58.323Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.068s coverage: 55.8% of statements [2021-05-07T18:35:58.323Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.068s coverage: 92.5% of statements [2021-05-07T18:35:58.323Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-05-07T18:35:58.323Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.099s coverage: 61.5% of statements [2021-05-07T18:35:58.323Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-05-07T18:35:58.323Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.058s [2021-05-07T18:35:58.323Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.097s coverage: 75.4% of statements [2021-05-07T18:35:58.323Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-05-07T18:35:58.323Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-05-07T18:35:58.323Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-05-07T18:35:58.323Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-05-07T18:35:58.323Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-05-07T18:35:58.323Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-05-07T18:35:58.323Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.016s coverage: 97.0% of statements [2021-05-07T18:35:58.323Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-05-07T18:35:58.323Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.030s coverage: 10.5% of statements [2021-05-07T18:36:05.072Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.848s coverage: 78.4% of statements [2021-05-07T18:36:05.072Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-05-07T18:36:05.072Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.078s coverage: 18.4% of statements [2021-05-07T18:36:05.072Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.030s coverage: 27.3% of statements [2021-05-07T18:36:05.072Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-05-07T18:36:05.072Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-05-07T18:36:05.072Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.038s coverage: 71.7% of statements [2021-05-07T18:36:31.850Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.091s coverage: 81.9% of statements [2021-05-07T18:36:31.851Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.024s coverage: 94.4% of statements [2021-05-07T18:36:31.851Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-07T18:36:34.485Z] gofmt -l . [2021-05-07T18:36:34.757Z] [ "`gofmt -l .`" = "" ] [2021-05-07T18:36:35.357Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-07T18:36:35.658Z] $ docker stop --time=1 bcbc03bbbf47f5b2cf2f9872cdd7b70be5ccb28b7af15cf525a9a5ffc2e0075e [2021-05-07T18:36:37.907Z] $ docker rm -f bcbc03bbbf47f5b2cf2f9872cdd7b70be5ccb28b7af15cf525a9a5ffc2e0075e [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T18:36:38.915Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-07T18:36:38.948Z] Warning: overwriting stash ‘coverage-report’ [2021-05-07T18:36:40.025Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:36:40.623Z] ---> job-cost.sh [2021-05-07T18:36:40.623Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-PedB [2021-05-07T18:37:37.155Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-07T18:39:28.980Z] lf-activate-venv(): INFO: Adding /tmp/venv-PedB/bin to PATH [2021-05-07T18:39:28.980Z] INFO: No Stack... [2021-05-07T18:39:28.980Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-07T18:39:28.980Z] INFO: Archiving Costs [Pipeline] sh [2021-05-07T18:39:29.324Z] + cut -d, -f6 [2021-05-07T18:39:29.324Z] + cat /w/workspace/app-functions-sdk-go/7/archives/cost.csv [Pipeline] lock [2021-05-07T18:39:29.437Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-818-7-stack-cost] [2021-05-07T18:39:29.452Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-818-7-stack-cost] did not exist. Created. [2021-05-07T18:39:29.452Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-818-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-07T18:39:29.828Z] /w/workspace/app-functions-sdk-go/7@tmp/durable-4c208dd0/script.sh: 1: /w/workspace/app-functions-sdk-go/7@tmp/durable-4c208dd0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-07T18:39:30.171Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-07T18:39:30.192Z] Warning: overwriting stash ‘stack-cost’ [2021-05-07T18:39:30.345Z] Stashed 1 file(s) [Pipeline] } [2021-05-07T18:39:30.358Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-818-7-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-07T18:39:30.780Z] provisioning config files... [2021-05-07T18:39:30.805Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-818@tmp/config5524625621012498816tmp [Pipeline] { [Pipeline] sh [2021-05-07T18:39:31.222Z] + set +x [2021-05-07T18:39:31.222Z] + curl -s https://codecov.io/bash [2021-05-07T18:39:31.222Z] + bash -s -- [2021-05-07T18:39:31.503Z] [2021-05-07T18:39:31.503Z] _____ _ [2021-05-07T18:39:31.503Z] / ____| | | [2021-05-07T18:39:31.503Z] | | ___ __| | ___ ___ _____ __ [2021-05-07T18:39:31.503Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-07T18:39:31.503Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-07T18:39:31.503Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-07T18:39:31.503Z] Bash-1.0.2 [2021-05-07T18:39:31.503Z] [2021-05-07T18:39:31.503Z] [2021-05-07T18:39:31.503Z] ==> git version 2.24.3 found [2021-05-07T18:39:31.503Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-07T18:39:31.503Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-07T18:39:31.503Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-07T18:39:31.503Z] ==> Jenkins CI detected. [2021-05-07T18:39:31.503Z] project root: . [2021-05-07T18:39:31.503Z] --> token set from env [2021-05-07T18:39:31.503Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-07T18:39:31.788Z] ==> Running gcov in . (disable via -X gcov) [2021-05-07T18:39:31.788Z] ==> Python coveragepy not found [2021-05-07T18:39:31.788Z] ==> Searching for coverage reports in: [2021-05-07T18:39:31.788Z] + . [2021-05-07T18:39:31.788Z] -> Found 2 reports [2021-05-07T18:39:31.788Z] ==> Detecting git/mercurial file structure [2021-05-07T18:39:31.788Z] ==> Reading reports [2021-05-07T18:39:31.788Z] + ./app-service-template/coverage.out bytes=1055 [2021-05-07T18:39:31.788Z] + ./coverage.out bytes=86827 [2021-05-07T18:39:31.788Z] ==> Appending adjustments [2021-05-07T18:39:31.788Z] https://docs.codecov.io/docs/fixing-reports [2021-05-07T18:39:32.853Z] + Found adjustments [2021-05-07T18:39:32.853Z] ==> Gzipping contents [2021-05-07T18:39:32.853Z] 16K /tmp/codecov.IIBdka.gz [2021-05-07T18:39:32.853Z] ==> Uploading reports [2021-05-07T18:39:32.853Z] url: https://codecov.io [2021-05-07T18:39:32.853Z] query: branch=PR-818&commit=de4234b446d803550844c6248bc52a16687a1ca2&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-818%2F7%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=818&job=&cmd_args= [2021-05-07T18:39:32.853Z] -> Pinging Codecov [2021-05-07T18:39:32.853Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-818&commit=de4234b446d803550844c6248bc52a16687a1ca2&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-818%2F7%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=818&job=&cmd_args= [2021-05-07T18:39:33.549Z] -> Uploading to [2021-05-07T18:39:33.549Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-07/3D8B5DFFC46A037C893635FACE044666/de4234b446d803550844c6248bc52a16687a1ca2/681bd684-4def-4635-8f4d-4547151ed758.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210507%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210507T183933Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=23a7cd20f3abb3c12d5665fea3e95a1783dd2f23a485fdc7b6bccd0c69184b18 [2021-05-07T18:39:33.549Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-07T18:39:33.549Z] Dload Upload Total Spent Left Speed [2021-05-07T18:39:33.858Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15264 0 0 100 15264 0 35662 --:--:-- --:--:-- --:--:-- 35663 100 15264 0 0 100 15264 0 35647 --:--:-- --:--:-- --:--:-- 35663 [2021-05-07T18:39:33.858Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/de4234b446d803550844c6248bc52a16687a1ca2 [Pipeline] } [2021-05-07T18:39:33.977Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:39:35.036Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:39:36.017Z] ---> package-listing.sh [2021-05-07T18:39:36.017Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-07T18:39:36.017Z] ++ facter osfamily [2021-05-07T18:39:36.291Z] + OS_FAMILY=redhat [2021-05-07T18:39:36.291Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-818 [2021-05-07T18:39:36.291Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-07T18:39:36.291Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-07T18:39:36.291Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-07T18:39:36.292Z] + PACKAGES=/tmp/packages_start.txt [2021-05-07T18:39:36.292Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-818 ']' [2021-05-07T18:39:36.292Z] + PACKAGES=/tmp/packages_end.txt [2021-05-07T18:39:36.292Z] + case "${OS_FAMILY}" in [2021-05-07T18:39:36.292Z] + rpm -qa [2021-05-07T18:39:36.292Z] + sort [2021-05-07T18:39:43.248Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-07T18:39:43.248Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-07T18:39:43.248Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-07T18:39:43.248Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-818 ']' [2021-05-07T18:39:43.248Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-818/archives/ [2021-05-07T18:39:43.248Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-818/archives/ [Pipeline] echo [2021-05-07T18:39:43.272Z] 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/ndry_app-functions-sdk-go_PR-818/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-07T18:39:43.697Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:39:44.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T18:39:44.606Z] [2021-05-07T18:39:44.606Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:39:45.083Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T18:39:45.083Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-07T18:39:45.083Z] df20fa9351a1: Pulling fs layer [2021-05-07T18:39:45.083Z] 36b3adc4ff6f: Pulling fs layer [2021-05-07T18:39:45.083Z] 8ad3a11d3b57: Pulling fs layer [2021-05-07T18:39:45.083Z] 46f8f816bc3b: Pulling fs layer [2021-05-07T18:39:45.083Z] 93b61091891f: Pulling fs layer [2021-05-07T18:39:45.083Z] 93b9cdb0e59b: Pulling fs layer [2021-05-07T18:39:45.083Z] 5e14af77c1be: Pulling fs layer [2021-05-07T18:39:45.083Z] 01666e4c0597: Pulling fs layer [2021-05-07T18:39:45.083Z] aa168da1d23b: Pulling fs layer [2021-05-07T18:39:45.083Z] 93b9cdb0e59b: Waiting [2021-05-07T18:39:45.083Z] 5e14af77c1be: Waiting [2021-05-07T18:39:45.083Z] 01666e4c0597: Waiting [2021-05-07T18:39:45.083Z] aa168da1d23b: Waiting [2021-05-07T18:39:45.083Z] 46f8f816bc3b: Waiting [2021-05-07T18:39:45.083Z] 93b61091891f: Waiting [2021-05-07T18:39:45.365Z] 36b3adc4ff6f: Verifying Checksum [2021-05-07T18:39:45.365Z] 36b3adc4ff6f: Download complete [2021-05-07T18:39:45.365Z] 46f8f816bc3b: Verifying Checksum [2021-05-07T18:39:45.365Z] 46f8f816bc3b: Download complete [2021-05-07T18:39:45.365Z] df20fa9351a1: Verifying Checksum [2021-05-07T18:39:45.365Z] df20fa9351a1: Download complete [2021-05-07T18:39:45.365Z] 93b9cdb0e59b: Verifying Checksum [2021-05-07T18:39:45.365Z] 93b9cdb0e59b: Download complete [2021-05-07T18:39:45.365Z] 5e14af77c1be: Verifying Checksum [2021-05-07T18:39:45.365Z] 5e14af77c1be: Download complete [2021-05-07T18:39:45.365Z] 93b61091891f: Verifying Checksum [2021-05-07T18:39:45.365Z] 93b61091891f: Download complete [2021-05-07T18:39:45.365Z] 01666e4c0597: Verifying Checksum [2021-05-07T18:39:45.365Z] 01666e4c0597: Download complete [2021-05-07T18:39:46.423Z] 8ad3a11d3b57: Verifying Checksum [2021-05-07T18:39:46.423Z] 8ad3a11d3b57: Download complete [2021-05-07T18:39:46.423Z] df20fa9351a1: Pull complete [2021-05-07T18:39:46.712Z] 36b3adc4ff6f: Pull complete [2021-05-07T18:39:48.831Z] 8ad3a11d3b57: Pull complete [2021-05-07T18:39:48.831Z] 46f8f816bc3b: Pull complete [2021-05-07T18:39:49.902Z] 93b61091891f: Pull complete [2021-05-07T18:39:50.175Z] 93b9cdb0e59b: Pull complete [2021-05-07T18:39:50.459Z] 5e14af77c1be: Pull complete [2021-05-07T18:39:50.459Z] aa168da1d23b: Verifying Checksum [2021-05-07T18:39:50.459Z] aa168da1d23b: Download complete [2021-05-07T18:39:50.729Z] 01666e4c0597: Pull complete [2021-05-07T18:40:09.294Z] aa168da1d23b: Pull complete [2021-05-07T18:40:09.294Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-07T18:40:09.294Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T18:40:09.294Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-07T18:40:09.711Z] prd-centos7-docker-4c-2g-3601 does not seem to be running inside a container [2021-05-07T18:40:09.836Z] $ 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/ndry_app-functions-sdk-go_PR-818/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-818 -v /w/workspace/ndry_app-functions-sdk-go_PR-818:/w/workspace/ndry_app-functions-sdk-go_PR-818:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-818@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-818@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-07T18:40:12.420Z] $ docker top 390440fe9a752fac138579b80b4ba017a529325f955cb6c91d53ab9ccc318a14 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T18:40:13.059Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-07T18:40:13.843Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-07T18:40:14.200Z] + ls /var/log/sa-host [2021-05-07T18:40:14.200Z] + sadf -c /var/log/sa-host/sa07 [2021-05-07T18:40:14.200Z] file_magic: OK [2021-05-07T18:40:14.200Z] HZ: Using current value: 100 [2021-05-07T18:40:14.200Z] file_header: OK [2021-05-07T18:40:14.200Z] 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 [2021-05-07T18:40:14.200Z] Statistics: [2021-05-07T18:40:14.200Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-07T18:40:14.200Z] File successfully converted to sysstat format version 12.2.1 [2021-05-07T18:40:14.200Z] + sadf -c /var/log/sa-host/sa23 [2021-05-07T18:40:14.200Z] file_magic: OK [2021-05-07T18:40:14.200Z] HZ: Using current value: 100 [2021-05-07T18:40:14.200Z] file_header: OK [2021-05-07T18:40:14.200Z] 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 [2021-05-07T18:40:14.200Z] Statistics: [2021-05-07T18:40:14.200Z] Hnuu...uuuununununu... [2021-05-07T18:40:14.200Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-07T18:40:14.499Z] provisioning config files... [2021-05-07T18:40:14.534Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-818@tmp/config6102794502131278543tmp [Pipeline] { [Pipeline] echo [2021-05-07T18:40:14.566Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:40:14.967Z] ---> create-netrc.sh [Pipeline] } [2021-05-07T18:40:15.249Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-07T18:40:15.275Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:40:15.923Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-07T18:40:15.941Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:40:16.298Z] ---> sudo-logs.sh [2021-05-07T18:40:16.298Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-07T18:40:16.663Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:40:17.017Z] ---> job-cost.sh [2021-05-07T18:40:17.017Z] lf-activate-venv: SKIPPING [2021-05-07T18:40:17.017Z] DEBUG: total: 0.20999999344348907 [2021-05-07T18:40:17.017Z] INFO: Retrieving Stack Cost... [2021-05-07T18:40:18.994Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-07T18:40:19.269Z] INFO: Archiving Costs [Pipeline] echo [2021-05-07T18:40:19.297Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:40:19.679Z] ---> logs-deploy.sh [2021-05-07T18:40:19.679Z] lf-activate-venv: SKIPPING [2021-05-07T18:40:19.679Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-818/7 [2021-05-07T18:40:19.679Z] INFO: archiving workspace using pattern(s): [2021-05-07T18:40:23.125Z] Archives upload complete. [2021-05-07T18:40:23.125Z] INFO: archiving logs to Nexus