Pull request #780 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a0b8ba81702863e4c21c7adc7168b5107d86a227+da3d0518fcb37b196a136ae416cf8139cdec645a (101c56ffb6882f040fa0d27c7ceadf59c20de2ad) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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.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-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-33015 in /w/workspace/ndry_app-functions-sdk-go_PR-780 [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-780 # 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 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/780/head:refs/remotes/origin/PR-780 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit da3d0518fcb37b196a136ae416cf8139cdec645a into PR head commit a0b8ba81702863e4c21c7adc7168b5107d86a227 Merge succeeded, producing a0b8ba81702863e4c21c7adc7168b5107d86a227 Checking out Revision a0b8ba81702863e4c21c7adc7168b5107d86a227 (PR-780) > git config core.sparsecheckout # timeout=10 > git checkout -f a0b8ba81702863e4c21c7adc7168b5107d86a227 # 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 da3d0518fcb37b196a136ae416cf8139cdec645a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0b8ba81702863e4c21c7adc7168b5107d86a227 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-06T22:43:57.816Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 800b3b1a50037b6b0c53a3c3b7731e1f78bcec93 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-06T22:43:58.055Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-06T22:43:58.142Z] ========================================================= [2021-04-06T22:43:58.142Z] EdgeX Global Pipelines Version Info [2021-04-06T22:43:58.142Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-06T22:43:59.583Z] ------------------- [2021-04-06T22:43:59.583Z] stable info: [2021-04-06T22:43:59.583Z] ------------------- [2021-04-06T22:43:59.583Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-06T22:43:59.583Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-06T22:43:59.583Z] Message: update stable to v1.0.186 [2021-04-06T22:44:00.531Z] ------------------- [2021-04-06T22:44:00.531Z] experimental info: [2021-04-06T22:44:00.531Z] ------------------- [2021-04-06T22:44:00.531Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-06T22:44:00.531Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-06T22:44:00.531Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-06T22:44:00.814Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-04-06T22:44:00.901Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-04-06T22:44:01.018Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-06T22:44:01.120Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-06T22:44:01.214Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-06T22:44:01.316Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-06T22:44:01.398Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-06T22:44:01.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-06T22:44:01.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-06T22:44:01.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-06T22:44:01.771Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-06T22:44:01.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-04-06T22:44:02.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-06T22:44:02.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-06T22:44:02.171Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T22:44:02.276Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T22:44:02.388Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T22:44:02.498Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T22:44:02.582Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-06T22:44:02.757Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-06T22:44:02.846Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-06T22:44:02.936Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-04-06T22:44:03.062Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-06T22:44:03.158Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-06T22:44:03.238Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-04-06T22:44:03.370Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-06T22:44:03.486Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-780 [Pipeline] echo [2021-04-06T22:44:03.614Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-780 [Pipeline] echo [2021-04-06T22:44:03.720Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-780 [Pipeline] echo [2021-04-06T22:44:03.806Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a0b8ba81702863e4c21c7adc7168b5107d86a227 [Pipeline] echo [2021-04-06T22:44:03.892Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a0b8ba8 [Pipeline] echo [2021-04-06T22:44:03.973Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T22:44:04.742Z] + git log --format=format:%s -1 a0b8ba81702863e4c21c7adc7168b5107d86a227 [Pipeline] echo [2021-04-06T22:44:04.808Z] GIT_COMMIT: a0b8ba81702863e4c21c7adc7168b5107d86a227, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-04-06T22:44:04.875Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-06T22:44:05.462Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T22:44:05.735Z] [2021-04-06T22:44:05.735Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T22:44:06.098Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T22:44:06.098Z] latest: Pulling from edgex-devops/git-semver [2021-04-06T22:44:06.098Z] 31603596830f: Pulling fs layer [2021-04-06T22:44:06.098Z] 2a8b12db71e7: Pulling fs layer [2021-04-06T22:44:06.098Z] 6ca5941a6612: Pulling fs layer [2021-04-06T22:44:06.098Z] ecc8261a40a4: Pulling fs layer [2021-04-06T22:44:06.098Z] ecc8261a40a4: Waiting [2021-04-06T22:44:06.098Z] 2a8b12db71e7: Verifying Checksum [2021-04-06T22:44:06.098Z] 2a8b12db71e7: Download complete [2021-04-06T22:44:06.365Z] 31603596830f: Verifying Checksum [2021-04-06T22:44:06.365Z] 31603596830f: Download complete [2021-04-06T22:44:06.365Z] ecc8261a40a4: Verifying Checksum [2021-04-06T22:44:06.365Z] ecc8261a40a4: Download complete [2021-04-06T22:44:06.365Z] 6ca5941a6612: Download complete [2021-04-06T22:44:06.627Z] 31603596830f: Pull complete [2021-04-06T22:44:06.890Z] 2a8b12db71e7: Pull complete [2021-04-06T22:44:07.840Z] 6ca5941a6612: Pull complete [2021-04-06T22:44:07.840Z] ecc8261a40a4: Pull complete [2021-04-06T22:44:07.840Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-06T22:44:07.840Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T22:44:07.840Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-06T22:44:07.970Z] prd-centos7-docker-4c-2g-33015 does not seem to be running inside a container [2021-04-06T22:44:08.025Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-780 -v /w/workspace/ndry_app-functions-sdk-go_PR-780:/w/workspace/ndry_app-functions-sdk-go_PR-780:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-780@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-780@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-06T22:44:10.426Z] $ docker top 7b876f4f1ab834662a98a44a0d2953031d1c74973533b6d0c326180d36093060 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-06T22:44:10.902Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-06T22:44:10.902Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-06T22:44:11.164Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-06T22:44:11.168Z] $ docker exec 7b876f4f1ab834662a98a44a0d2953031d1c74973533b6d0c326180d36093060 ssh-agent [2021-04-06T22:44:11.349Z] SSH_AUTH_SOCK=/tmp/ssh-ZjKHxCmX1pkS/agent.11 [2021-04-06T22:44:11.349Z] SSH_AGENT_PID=17 [2021-04-06T22:44:11.364Z] Running ssh-add (command line suppressed) [2021-04-06T22:44:11.503Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-780@tmp/private_key_3210114228427031599.key (/w/workspace/ndry_app-functions-sdk-go_PR-780@tmp/private_key_3210114228427031599.key) [2021-04-06T22:44:11.556Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-06T22:44:11.905Z] + git tag --points-at HEAD [Pipeline] } [2021-04-06T22:44:11.934Z] $ docker exec --env ******** --env ******** 7b876f4f1ab834662a98a44a0d2953031d1c74973533b6d0c326180d36093060 ssh-agent -k [2021-04-06T22:44:12.062Z] unset SSH_AUTH_SOCK; [2021-04-06T22:44:12.062Z] unset SSH_AGENT_PID; [2021-04-06T22:44:12.063Z] echo Agent pid 17 killed; [2021-04-06T22:44:12.119Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-06T22:44:12.266Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-06T22:44:12.266Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-06T22:44:12.449Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-06T22:44:12.454Z] $ docker exec 7b876f4f1ab834662a98a44a0d2953031d1c74973533b6d0c326180d36093060 ssh-agent [2021-04-06T22:44:12.626Z] SSH_AUTH_SOCK=/tmp/ssh-HMtSEkm060Wm/agent.45 [2021-04-06T22:44:12.626Z] SSH_AGENT_PID=51 [2021-04-06T22:44:12.635Z] Running ssh-add (command line suppressed) [2021-04-06T22:44:12.758Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-780@tmp/private_key_8472410804543286075.key (/w/workspace/ndry_app-functions-sdk-go_PR-780@tmp/private_key_8472410804543286075.key) [2021-04-06T22:44:12.819Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-06T22:44:13.153Z] + git semver init [2021-04-06T22:44:13.153Z] # -> Open(): unable to determine branch for HEAD [2021-04-06T22:44:13.153Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-780/.git [2021-04-06T22:44:13.153Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-780 [2021-04-06T22:44:13.153Z] # $SEMVER_REMOTE_NAME = origin [2021-04-06T22:44:13.153Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-06T22:44:13.153Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-06T22:44:13.153Z] # $SEMVER_BRANCH = PR-780 [2021-04-06T22:44:13.153Z] # $SEMVER_TEMP = /tmp/semver-781878537 [2021-04-06T22:44:13.153Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-04-06T22:44:17.396Z] # '/tmp/semver-781878537' -> '/w/workspace/ndry_app-functions-sdk-go_PR-780/.semver' [2021-04-06T22:44:17.396Z] # -> Force: false [2021-04-06T22:44:17.396Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-780/.semver [Pipeline] } [2021-04-06T22:44:17.410Z] $ docker exec --env ******** --env ******** 7b876f4f1ab834662a98a44a0d2953031d1c74973533b6d0c326180d36093060 ssh-agent -k [2021-04-06T22:44:17.534Z] unset SSH_AUTH_SOCK; [2021-04-06T22:44:17.535Z] unset SSH_AGENT_PID; [2021-04-06T22:44:17.535Z] echo Agent pid 51 killed; [2021-04-06T22:44:17.593Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-06T22:44:18.039Z] + git semver [Pipeline] } [2021-04-06T22:44:18.057Z] $ docker stop --time=1 7b876f4f1ab834662a98a44a0d2953031d1c74973533b6d0c326180d36093060 [2021-04-06T22:44:19.575Z] $ docker rm -f 7b876f4f1ab834662a98a44a0d2953031d1c74973533b6d0c326180d36093060 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T22:44:20.071Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-06T22:44:20.726Z] Stashed 1 file(s) [Pipeline] echo [2021-04-06T22:44:20.728Z] [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-04-06T22:44:36.322Z] Still waiting to schedule task [2021-04-06T22:44:36.322Z] ‘prd-centos7-blackbox-4c-2g-32647’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-32765’ is offline; ‘prd-centos7-docker-4c-2g-32816’ is offline; ‘prd-centos7-docker-4c-2g-33017’ is offline; ‘prd-centos7-docker-4c-2g-33018’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-32989’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-04-06T22:44:36.325Z] Still waiting to schedule task [2021-04-06T22:44:36.325Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-04-06T22:44:47.546Z] Running on prd-centos7-docker-4c-2g-33018 in /w/workspace/ndry_app-functions-sdk-go_PR-780 [Pipeline] { [Pipeline] ws [2021-04-06T22:44:47.597Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-04-06T22:44:50.425Z] using credential edgex-jenkins-ssh [2021-04-06T22:44:50.478Z] Cloning the remote Git repository [2021-04-06T22:44:50.507Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-06T22:44:50.575Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2021-04-06T22:44:50.641Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-06T22:44:50.641Z] > git --version # timeout=10 [2021-04-06T22:44:50.647Z] > git --version # 'git version 2.24.3' [2021-04-06T22:44:50.648Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T22:44:50.689Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T22:44:56.300Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-06T22:44:56.308Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T22:44:56.763Z] Merging remotes/origin/master commit da3d0518fcb37b196a136ae416cf8139cdec645a into PR head commit a0b8ba81702863e4c21c7adc7168b5107d86a227 [2021-04-06T22:44:56.867Z] Merge succeeded, producing a0b8ba81702863e4c21c7adc7168b5107d86a227 [2021-04-06T22:44:56.867Z] Checking out Revision a0b8ba81702863e4c21c7adc7168b5107d86a227 (PR-780) [2021-04-06T22:44:56.321Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-06T22:44:56.335Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-06T22:44:56.335Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T22:44:56.339Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/780/head:refs/remotes/origin/PR-780 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-06T22:44:56.771Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T22:44:56.776Z] > git checkout -f a0b8ba81702863e4c21c7adc7168b5107d86a227 # timeout=10 [2021-04-06T22:44:56.835Z] > git remote # timeout=10 [2021-04-06T22:44:56.841Z] > git config --get remote.origin.url # timeout=10 [2021-04-06T22:44:56.847Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T22:44:56.851Z] > git merge da3d0518fcb37b196a136ae416cf8139cdec645a # timeout=10 [2021-04-06T22:44:56.860Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-06T22:44:56.871Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T22:44:56.875Z] > git checkout -f a0b8ba81702863e4c21c7adc7168b5107d86a227 # timeout=10 [2021-04-06T22:45:00.523Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T22:45:01.856Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-06T22:45:02.222Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-06T22:45:02.539Z] + sudo service docker restart [2021-04-06T22:45:02.539Z] + true [2021-04-06T22:45:02.539Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-04-06T22:45:03.628Z] ========================================================= [2021-04-06T22:45:03.629Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-06T22:45:03.629Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-06T22:45:03.969Z] + 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 . [2021-04-06T22:45:04.917Z] Sending build context to Docker daemon 19.45MB [2021-04-06T22:45:04.918Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T22:45:04.918Z] Step 2/8 : FROM ${BASE} [2021-04-06T22:45:04.918Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-06T22:45:04.918Z] 188c0c94c7c5: Pulling fs layer [2021-04-06T22:45:04.918Z] 0ef7d3d256c8: Pulling fs layer [2021-04-06T22:45:04.918Z] de9db76c5a1d: Pulling fs layer [2021-04-06T22:45:04.918Z] bca2f99d35d6: Pulling fs layer [2021-04-06T22:45:04.918Z] 93359f2a8cfa: Pulling fs layer [2021-04-06T22:45:04.918Z] 7c6f9722023f: Pulling fs layer [2021-04-06T22:45:04.918Z] a35cf1a2eb13: Pulling fs layer [2021-04-06T22:45:04.918Z] bca2f99d35d6: Waiting [2021-04-06T22:45:04.918Z] 93359f2a8cfa: Waiting [2021-04-06T22:45:04.918Z] 7c6f9722023f: Waiting [2021-04-06T22:45:04.918Z] a35cf1a2eb13: Waiting [2021-04-06T22:45:04.918Z] de9db76c5a1d: Download complete [2021-04-06T22:45:04.918Z] 0ef7d3d256c8: Verifying Checksum [2021-04-06T22:45:04.918Z] 0ef7d3d256c8: Download complete [2021-04-06T22:45:04.918Z] 93359f2a8cfa: Verifying Checksum [2021-04-06T22:45:04.918Z] 93359f2a8cfa: Download complete [2021-04-06T22:45:04.918Z] 7c6f9722023f: Verifying Checksum [2021-04-06T22:45:04.918Z] 7c6f9722023f: Download complete [2021-04-06T22:45:04.918Z] 188c0c94c7c5: Verifying Checksum [2021-04-06T22:45:04.918Z] 188c0c94c7c5: Download complete [2021-04-06T22:45:05.496Z] 188c0c94c7c5: Pull complete [2021-04-06T22:45:05.496Z] 0ef7d3d256c8: Pull complete [2021-04-06T22:45:05.761Z] de9db76c5a1d: Pull complete [2021-04-06T22:45:06.711Z] a35cf1a2eb13: Verifying Checksum [2021-04-06T22:45:06.711Z] a35cf1a2eb13: Download complete [2021-04-06T22:45:07.678Z] bca2f99d35d6: Verifying Checksum [2021-04-06T22:45:07.678Z] bca2f99d35d6: Download complete [2021-04-06T22:45:13.038Z] bca2f99d35d6: Pull complete [2021-04-06T22:45:13.303Z] 93359f2a8cfa: Pull complete [2021-04-06T22:45:13.566Z] 7c6f9722023f: Pull complete [2021-04-06T22:45:23.648Z] a35cf1a2eb13: Pull complete [2021-04-06T22:45:23.648Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-06T22:45:23.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-06T22:45:23.648Z] ---> a62c8e92a672 [2021-04-06T22:45:23.648Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-04-06T22:45:23.648Z] 20.10.0: Pulling from library/docker [2021-04-06T22:45:23.648Z] 05e7bc50f07f: Pulling fs layer [2021-04-06T22:45:23.648Z] 6db28d0fdbf6: Pulling fs layer [2021-04-06T22:45:23.648Z] 292df0bc6bf3: Pulling fs layer [2021-04-06T22:45:23.648Z] 2e060f4bd70b: Pulling fs layer [2021-04-06T22:45:23.648Z] 80e8d568a223: Pulling fs layer [2021-04-06T22:45:23.648Z] 8dc6ef1a942a: Pulling fs layer [2021-04-06T22:45:23.648Z] 2312dd95470a: Pulling fs layer [2021-04-06T22:45:23.648Z] 2e060f4bd70b: Waiting [2021-04-06T22:45:23.648Z] 80e8d568a223: Waiting [2021-04-06T22:45:23.648Z] 8dc6ef1a942a: Waiting [2021-04-06T22:45:23.648Z] 2312dd95470a: Waiting [2021-04-06T22:45:23.648Z] 292df0bc6bf3: Download complete [2021-04-06T22:45:23.648Z] 05e7bc50f07f: Verifying Checksum [2021-04-06T22:45:23.648Z] 05e7bc50f07f: Download complete [2021-04-06T22:45:23.648Z] 6db28d0fdbf6: Verifying Checksum [2021-04-06T22:45:23.648Z] 6db28d0fdbf6: Download complete [2021-04-06T22:45:23.648Z] 80e8d568a223: Verifying Checksum [2021-04-06T22:45:23.648Z] 80e8d568a223: Download complete [2021-04-06T22:45:23.648Z] 8dc6ef1a942a: Verifying Checksum [2021-04-06T22:45:23.648Z] 8dc6ef1a942a: Download complete [2021-04-06T22:45:23.648Z] 2312dd95470a: Verifying Checksum [2021-04-06T22:45:23.648Z] 2312dd95470a: Download complete [2021-04-06T22:45:23.648Z] 05e7bc50f07f: Pull complete [2021-04-06T22:45:23.648Z] 6db28d0fdbf6: Pull complete [2021-04-06T22:45:23.648Z] 292df0bc6bf3: Pull complete [2021-04-06T22:45:23.648Z] 2e060f4bd70b: Verifying Checksum [2021-04-06T22:45:23.648Z] 2e060f4bd70b: Download complete [2021-04-06T22:45:26.225Z] 2e060f4bd70b: Pull complete [2021-04-06T22:45:26.488Z] 80e8d568a223: Pull complete [2021-04-06T22:45:26.488Z] 8dc6ef1a942a: Pull complete [2021-04-06T22:45:26.752Z] 2312dd95470a: Pull complete [2021-04-06T22:45:26.752Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-04-06T22:45:26.752Z] Status: Downloaded newer image for docker:20.10.0 [2021-04-06T22:45:28.177Z] ---> 74d2a357045e [2021-04-06T22:45:28.177Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-06T22:45:28.177Z] ---> Running in 2682c99ab782 [2021-04-06T22:45:28.441Z] Removing intermediate container 2682c99ab782 [2021-04-06T22:45:28.442Z] ---> cfed5b247fd1 [2021-04-06T22:45:28.442Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-04-06T22:45:28.442Z] ---> Running in f3eb2c86a131 [2021-04-06T22:45:29.407Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-06T22:45:29.986Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-06T22:45:30.941Z] (1/5) Installing libsodium (1.0.18-r0) [2021-04-06T22:45:30.941Z] (2/5) Installing libzmq (4.3.3-r0) [2021-04-06T22:45:30.941Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-04-06T22:45:30.941Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-04-06T22:45:31.222Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-04-06T22:45:31.222Z] Executing busybox-1.31.1-r19.trigger [2021-04-06T22:45:31.222Z] OK: 167 MiB in 44 packages [2021-04-06T22:45:32.188Z] Removing intermediate container f3eb2c86a131 [2021-04-06T22:45:32.188Z] ---> 2ecbae8734ac [2021-04-06T22:45:32.188Z] Step 6/8 : WORKDIR /build [2021-04-06T22:45:32.188Z] ---> Running in 08e3f9e311cd [2021-04-06T22:45:32.457Z] Removing intermediate container 08e3f9e311cd [2021-04-06T22:45:32.457Z] ---> 2c0a320fb2a4 [2021-04-06T22:45:32.457Z] Step 7/8 : COPY go.mod . [2021-04-06T22:45:32.457Z] ---> ba8b4b607d85 [2021-04-06T22:45:32.457Z] Step 8/8 : RUN go mod download [2021-04-06T22:45:32.729Z] ---> Running in 3ec0d8b61427 [2021-04-06T22:45:55.154Z] Removing intermediate container 3ec0d8b61427 [2021-04-06T22:45:55.154Z] ---> 837d143e449f [2021-04-06T22:45:55.154Z] Successfully built 837d143e449f [2021-04-06T22:45:55.154Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T22:45:55.475Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-06T22:45:55.475Z] . [Pipeline] withDockerContainer [2021-04-06T22:45:55.616Z] prd-centos7-docker-4c-2g-33018 does not seem to be running inside a container [2021-04-06T22:45:55.671Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-06T22:45:56.632Z] $ docker top 903455bd4f0f3711937f30f230f77341d805cf1549953aa277f0dd5cca8e0513 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T22:45:57.129Z] + go version [2021-04-06T22:45:57.129Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-06T22:45:57.148Z] $ docker stop --time=1 903455bd4f0f3711937f30f230f77341d805cf1549953aa277f0dd5cca8e0513 [2021-04-06T22:45:58.531Z] $ docker rm -f 903455bd4f0f3711937f30f230f77341d805cf1549953aa277f0dd5cca8e0513 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-06T22:45:59.349Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-06T22:45:59.349Z] . [Pipeline] withDockerContainer [2021-04-06T22:45:59.456Z] prd-centos7-docker-4c-2g-33018 does not seem to be running inside a container [2021-04-06T22:45:59.512Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-06T22:46:00.409Z] $ docker top ee93ca3de5dbb250cfe4d3e86b80b4662978b9a96ffe07952f901738fd93e42d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T22:46:00.962Z] + make test [2021-04-06T22:46:00.962Z] make -C ./app-service-template build [2021-04-06T22:46:00.962Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-04-06T22:46:00.962Z] 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-04-06T22:46:16.024Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-04-06T22:46:16.024Z] make -C ./app-service-template test [2021-04-06T22:46:16.024Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-04-06T22:46:16.024Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-04-06T22:46:24.284Z] ok new-app-service 0.022s coverage: 47.8% of statements [2021-04-06T22:46:24.284Z] ? new-app-service/config [no test files] [2021-04-06T22:46:24.549Z] ok new-app-service/functions 0.012s [2021-04-06T22:46:24.819Z] CGO_ENABLED=1 go vet ./... [2021-04-06T22:46:29.094Z] gofmt -l . [2021-04-06T22:46:29.094Z] [ "`gofmt -l .`" = "" ] [2021-04-06T22:46:29.094Z] ./bin/test-go-mod-tidy.sh [2021-04-06T22:46:29.368Z] ./bin/test-attribution-txt.sh [2021-04-06T22:46:29.949Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-04-06T22:46:29.949Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-06T22:46:30.550Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-04-06T22:46:33.913Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.575s coverage: 55.8% of statements [2021-04-06T22:46:33.913Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.015s coverage: 92.5% of statements [2021-04-06T22:46:33.913Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-04-06T22:46:33.913Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.051s coverage: 61.5% of statements [2021-04-06T22:46:33.913Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-04-06T22:46:33.913Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.038s [2021-04-06T22:46:33.913Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.034s coverage: 75.4% of statements [2021-04-06T22:46:33.913Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-04-06T22:46:33.913Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-04-06T22:46:33.913Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-04-06T22:46:33.913Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-04-06T22:46:33.913Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-04-06T22:46:33.913Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-04-06T22:46:33.913Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.006s coverage: 97.0% of statements [2021-04-06T22:46:33.913Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-04-06T22:46:34.531Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.036s coverage: 10.5% of statements [2021-04-06T22:46:38.849Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.768s coverage: 78.4% of statements [2021-04-06T22:46:38.849Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-04-06T22:46:38.849Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.018s coverage: 18.4% of statements [2021-04-06T22:46:38.849Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.025s coverage: 27.3% of statements [2021-04-06T22:46:38.849Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-04-06T22:46:38.849Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-04-06T22:46:38.849Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.022s coverage: 71.7% of statements [2021-04-06T22:47:02.746Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-33021 in /w/workspace/ndry_app-functions-sdk-go_PR-780 [Pipeline] { [Pipeline] ws [2021-04-06T22:47:02.796Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-04-06T22:47:05.497Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.042s coverage: 81.9% of statements [2021-04-06T22:47:05.497Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.010s coverage: 94.4% of statements [2021-04-06T22:47:05.497Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-06T22:47:05.497Z] gofmt -l . [2021-04-06T22:47:05.497Z] [ "`gofmt -l .`" = "" ] [2021-04-06T22:47:05.497Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-06T22:47:05.522Z] $ docker stop --time=1 ee93ca3de5dbb250cfe4d3e86b80b4662978b9a96ffe07952f901738fd93e42d [2021-04-06T22:47:07.256Z] $ docker rm -f ee93ca3de5dbb250cfe4d3e86b80b4662978b9a96ffe07952f901738fd93e42d [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T22:47:07.929Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-06T22:47:08.104Z] using credential edgex-jenkins-ssh [2021-04-06T22:47:08.161Z] Cloning the remote Git repository [2021-04-06T22:47:08.208Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-06T22:47:08.364Z] 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-04-06T22:47:09.471Z] ---> job-cost.sh [2021-04-06T22:47:09.471Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-pWMp [2021-04-06T22:47:08.326Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2021-04-06T22:47:08.421Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-06T22:47:08.421Z] > git --version # timeout=10 [2021-04-06T22:47:08.438Z] > git --version # 'git version 2.17.1' [2021-04-06T22:47:08.440Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T22:47:08.507Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T22:47:11.983Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-06T22:47:12.001Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T22:47:12.034Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-06T22:47:12.077Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-06T22:47:12.078Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T22:47:12.092Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/780/head:refs/remotes/origin/PR-780 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-06T22:47:12.615Z] Merging remotes/origin/master commit da3d0518fcb37b196a136ae416cf8139cdec645a into PR head commit a0b8ba81702863e4c21c7adc7168b5107d86a227 [2021-04-06T22:47:12.868Z] Merge succeeded, producing a0b8ba81702863e4c21c7adc7168b5107d86a227 [2021-04-06T22:47:12.869Z] Checking out Revision a0b8ba81702863e4c21c7adc7168b5107d86a227 (PR-780) [2021-04-06T22:47:12.631Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T22:47:12.647Z] > git checkout -f a0b8ba81702863e4c21c7adc7168b5107d86a227 # timeout=10 [2021-04-06T22:47:12.770Z] > git remote # timeout=10 [2021-04-06T22:47:12.786Z] > git config --get remote.origin.url # timeout=10 [2021-04-06T22:47:12.812Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T22:47:12.823Z] > git merge da3d0518fcb37b196a136ae416cf8139cdec645a # timeout=10 [2021-04-06T22:47:12.846Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-06T22:47:12.868Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T22:47:12.892Z] > git checkout -f a0b8ba81702863e4c21c7adc7168b5107d86a227 # timeout=10 [2021-04-06T22:47:17.595Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-04-06T22:47:18.033Z] [2021-04-06T22:47:18.033Z] GitHub has been notified of this commit’s build result [2021-04-06T22:47:18.033Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T22:47:19.223Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-06T22:47:19.682Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-06T22:47:20.041Z] + sudo service docker restart [2021-04-06T22:47:20.041Z] + true [Pipeline] unstash [Pipeline] echo [2021-04-06T22:47:22.330Z] ========================================================= [2021-04-06T22:47:22.330Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-06T22:47:22.330Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-06T22:47:22.716Z] + 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 . [2021-04-06T22:47:23.710Z] Sending build context to Docker daemon 19.45MB [2021-04-06T22:47:23.710Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T22:47:23.710Z] Step 2/8 : FROM ${BASE} [2021-04-06T22:47:24.311Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-06T22:47:24.311Z] 5f621e34cdf4: Pulling fs layer [2021-04-06T22:47:24.311Z] a4357932f1b6: Pulling fs layer [2021-04-06T22:47:24.311Z] 18c013af1878: Pulling fs layer [2021-04-06T22:47:24.311Z] 00ac8860ef70: Pulling fs layer [2021-04-06T22:47:24.311Z] 63d7cb157983: Pulling fs layer [2021-04-06T22:47:24.311Z] b116817d02f9: Pulling fs layer [2021-04-06T22:47:24.311Z] 745a02a5169b: Pulling fs layer [2021-04-06T22:47:24.311Z] 00ac8860ef70: Waiting [2021-04-06T22:47:24.311Z] 63d7cb157983: Waiting [2021-04-06T22:47:24.311Z] b116817d02f9: Waiting [2021-04-06T22:47:24.311Z] 18c013af1878: Verifying Checksum [2021-04-06T22:47:24.311Z] 18c013af1878: Download complete [2021-04-06T22:47:24.311Z] a4357932f1b6: Verifying Checksum [2021-04-06T22:47:24.311Z] a4357932f1b6: Download complete [2021-04-06T22:47:24.311Z] 63d7cb157983: Verifying Checksum [2021-04-06T22:47:24.311Z] 63d7cb157983: Download complete [2021-04-06T22:47:24.311Z] b116817d02f9: Verifying Checksum [2021-04-06T22:47:24.311Z] b116817d02f9: Download complete [2021-04-06T22:47:24.311Z] 5f621e34cdf4: Verifying Checksum [2021-04-06T22:47:24.311Z] 5f621e34cdf4: Download complete [2021-04-06T22:47:24.920Z] 5f621e34cdf4: Pull complete [2021-04-06T22:47:25.533Z] a4357932f1b6: Pull complete [2021-04-06T22:47:26.130Z] 18c013af1878: Pull complete [2021-04-06T22:47:27.111Z] 745a02a5169b: Download complete [2021-04-06T22:47:27.641Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-06T22:47:28.091Z] 00ac8860ef70: Verifying Checksum [2021-04-06T22:47:28.091Z] 00ac8860ef70: Download complete [2021-04-06T22:47:38.242Z] 00ac8860ef70: Pull complete [2021-04-06T22:47:38.242Z] 63d7cb157983: Pull complete [2021-04-06T22:47:38.242Z] b116817d02f9: Pull complete [2021-04-06T22:47:40.874Z] 745a02a5169b: Pull complete [2021-04-06T22:47:40.874Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-06T22:47:40.874Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-06T22:47:40.874Z] ---> b7e6874047d6 [2021-04-06T22:47:40.874Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-04-06T22:47:40.874Z] 20.10.0: Pulling from library/docker [2021-04-06T22:47:41.150Z] a3cc7d3b244e: Pulling fs layer [2021-04-06T22:47:41.150Z] 02a3295e0d61: Pulling fs layer [2021-04-06T22:47:41.150Z] 0f4f2e6d8100: Pulling fs layer [2021-04-06T22:47:41.150Z] 330b718f631f: Pulling fs layer [2021-04-06T22:47:41.150Z] a93816041522: Pulling fs layer [2021-04-06T22:47:41.150Z] bdb6da89ff94: Pulling fs layer [2021-04-06T22:47:41.150Z] 2a70c0c122f4: Pulling fs layer [2021-04-06T22:47:41.150Z] 330b718f631f: Waiting [2021-04-06T22:47:41.150Z] a93816041522: Waiting [2021-04-06T22:47:41.150Z] bdb6da89ff94: Waiting [2021-04-06T22:47:41.150Z] 2a70c0c122f4: Waiting [2021-04-06T22:47:41.150Z] 0f4f2e6d8100: Verifying Checksum [2021-04-06T22:47:41.150Z] 0f4f2e6d8100: Download complete [2021-04-06T22:47:41.150Z] 02a3295e0d61: Verifying Checksum [2021-04-06T22:47:41.150Z] 02a3295e0d61: Download complete [2021-04-06T22:47:41.427Z] a3cc7d3b244e: Verifying Checksum [2021-04-06T22:47:41.427Z] a93816041522: Verifying Checksum [2021-04-06T22:47:41.427Z] a93816041522: Download complete [2021-04-06T22:47:41.427Z] bdb6da89ff94: Verifying Checksum [2021-04-06T22:47:41.427Z] bdb6da89ff94: Download complete [2021-04-06T22:47:41.427Z] 2a70c0c122f4: Verifying Checksum [2021-04-06T22:47:41.427Z] 2a70c0c122f4: Download complete [2021-04-06T22:47:42.030Z] a3cc7d3b244e: Pull complete [2021-04-06T22:47:43.014Z] 02a3295e0d61: Pull complete [2021-04-06T22:47:43.014Z] 0f4f2e6d8100: Pull complete [2021-04-06T22:47:43.290Z] 330b718f631f: Verifying Checksum [2021-04-06T22:47:43.290Z] 330b718f631f: Download complete [2021-04-06T22:47:47.660Z] 330b718f631f: Pull complete [2021-04-06T22:47:47.660Z] a93816041522: Pull complete [2021-04-06T22:47:47.941Z] bdb6da89ff94: Pull complete [2021-04-06T22:47:48.213Z] 2a70c0c122f4: Pull complete [2021-04-06T22:47:48.213Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-04-06T22:47:48.213Z] Status: Downloaded newer image for docker:20.10.0 [2021-04-06T22:47:54.358Z] lf-activate-venv(): INFO: Adding /tmp/venv-pWMp/bin to PATH [2021-04-06T22:47:54.358Z] INFO: No Stack... [2021-04-06T22:47:54.358Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-06T22:47:54.947Z] INFO: Archiving Costs [2021-04-06T22:47:54.949Z] ---> 69d719f5a1a3 [2021-04-06T22:47:54.949Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-06T22:47:54.949Z] ---> Running in 1cda7881c984 [2021-04-06T22:47:54.949Z] Removing intermediate container 1cda7881c984 [2021-04-06T22:47:54.949Z] ---> e09b0fd47044 [2021-04-06T22:47:54.949Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [Pipeline] sh [2021-04-06T22:47:55.221Z] ---> Running in a6f166ad9dc1 [2021-04-06T22:47:55.265Z] + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv [2021-04-06T22:47:55.265Z] + cut -d, -f6 [Pipeline] lock [2021-04-06T22:47:55.354Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-780-2-stack-cost] [2021-04-06T22:47:55.361Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-780-2-stack-cost] did not exist. Created. [2021-04-06T22:47:55.361Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-780-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-06T22:47:55.752Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-06T22:47:55.931Z] Stashed 1 file(s) [Pipeline] } [2021-04-06T22:47:55.941Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-780-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-06T22:47:56.668Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-06T22:47:57.267Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-06T22:47:58.247Z] (1/5) Installing libsodium (1.0.18-r0) [2021-04-06T22:47:58.519Z] (2/5) Installing libzmq (4.3.3-r0) [2021-04-06T22:47:58.790Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-04-06T22:47:58.790Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-04-06T22:47:58.790Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-04-06T22:47:59.063Z] Executing busybox-1.31.1-r19.trigger [2021-04-06T22:47:59.063Z] OK: 144 MiB in 44 packages [2021-04-06T22:48:00.501Z] Removing intermediate container a6f166ad9dc1 [2021-04-06T22:48:00.501Z] ---> d9698dcdc5ab [2021-04-06T22:48:00.501Z] Step 6/8 : WORKDIR /build [2021-04-06T22:48:00.501Z] ---> Running in f0cb4f204871 [2021-04-06T22:48:00.775Z] Removing intermediate container f0cb4f204871 [2021-04-06T22:48:00.775Z] ---> a0e532ce9cd2 [2021-04-06T22:48:00.775Z] Step 7/8 : COPY go.mod . [2021-04-06T22:48:01.761Z] ---> 5421ff7472f8 [2021-04-06T22:48:01.761Z] Step 8/8 : RUN go mod download [2021-04-06T22:48:01.761Z] ---> Running in 8fb6c50569a7 [2021-04-06T22:48:28.551Z] Removing intermediate container 8fb6c50569a7 [2021-04-06T22:48:28.551Z] ---> 95fffd3206da [2021-04-06T22:48:28.551Z] Successfully built 95fffd3206da [2021-04-06T22:48:28.551Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T22:48:28.896Z] + docker inspect -f . ci-base-image-arm64 [2021-04-06T22:48:28.896Z] . [Pipeline] withDockerContainer [2021-04-06T22:48:29.186Z] prd-ubuntu18.04-docker-arm64-4c-16g-33021 does not seem to be running inside a container [2021-04-06T22:48:29.276Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-06T22:48:30.891Z] $ docker top 6668a9d2d61abffd90e859bda52c0590386c92eff28e92796274fbf5bdd4f74d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T22:48:31.936Z] + go version [2021-04-06T22:48:31.936Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-06T22:48:31.957Z] $ docker stop --time=1 6668a9d2d61abffd90e859bda52c0590386c92eff28e92796274fbf5bdd4f74d [2021-04-06T22:48:33.931Z] $ docker rm -f 6668a9d2d61abffd90e859bda52c0590386c92eff28e92796274fbf5bdd4f74d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-06T22:48:34.959Z] + docker inspect -f . ci-base-image-arm64 [2021-04-06T22:48:34.959Z] . [Pipeline] withDockerContainer [2021-04-06T22:48:35.226Z] prd-ubuntu18.04-docker-arm64-4c-16g-33021 does not seem to be running inside a container [2021-04-06T22:48:35.305Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-06T22:48:36.774Z] $ docker top c038f86a1dbac3199d7d6307a22f9c0451d87baf51ee174b4fafa6b5ef673c08 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T22:48:37.816Z] + make test [2021-04-06T22:48:37.817Z] make -C ./app-service-template build [2021-04-06T22:48:37.817Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-04-06T22:48:37.817Z] 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-04-06T22:49:16.853Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-04-06T22:49:16.853Z] make -C ./app-service-template test [2021-04-06T22:49:16.853Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-04-06T22:49:16.853Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-04-06T22:49:43.713Z] ok new-app-service 0.038s coverage: 47.8% of statements [2021-04-06T22:49:43.713Z] ? new-app-service/config [no test files] [2021-04-06T22:49:43.713Z] ok new-app-service/functions 0.031s [2021-04-06T22:49:43.713Z] CGO_ENABLED=1 go vet ./... [2021-04-06T22:49:52.030Z] gofmt -l . [2021-04-06T22:49:52.030Z] [ "`gofmt -l .`" = "" ] [2021-04-06T22:49:52.030Z] ./bin/test-go-mod-tidy.sh [2021-04-06T22:49:52.030Z] ./bin/test-attribution-txt.sh [2021-04-06T22:49:53.475Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-04-06T22:49:53.475Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-06T22:49:54.922Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-04-06T22:50:05.452Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.076s coverage: 55.8% of statements [2021-04-06T22:50:05.452Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.065s coverage: 92.5% of statements [2021-04-06T22:50:05.452Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-04-06T22:50:05.452Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.070s coverage: 61.5% of statements [2021-04-06T22:50:05.452Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-04-06T22:50:05.452Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.026s [2021-04-06T22:50:05.452Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.069s coverage: 75.4% of statements [2021-04-06T22:50:05.452Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-04-06T22:50:05.452Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-04-06T22:50:05.452Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-04-06T22:50:05.452Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-04-06T22:50:05.452Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-04-06T22:50:05.452Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-04-06T22:50:05.452Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.014s coverage: 97.0% of statements [2021-04-06T22:50:05.452Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-04-06T22:50:05.452Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.026s coverage: 10.5% of statements [2021-04-06T22:50:10.893Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.816s coverage: 78.4% of statements [2021-04-06T22:50:10.893Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-04-06T22:50:10.893Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.036s coverage: 18.4% of statements [2021-04-06T22:50:10.893Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.052s coverage: 27.3% of statements [2021-04-06T22:50:10.893Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-04-06T22:50:10.893Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-04-06T22:50:10.893Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.044s coverage: 71.7% of statements [2021-04-06T22:50:37.667Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.084s coverage: 81.9% of statements [2021-04-06T22:50:37.667Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.024s coverage: 94.4% of statements [2021-04-06T22:50:37.667Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-06T22:50:41.092Z] gofmt -l . [2021-04-06T22:50:41.092Z] [ "`gofmt -l .`" = "" ] [2021-04-06T22:50:41.367Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-06T22:50:41.989Z] $ docker stop --time=1 c038f86a1dbac3199d7d6307a22f9c0451d87baf51ee174b4fafa6b5ef673c08 [2021-04-06T22:50:44.017Z] $ docker rm -f c038f86a1dbac3199d7d6307a22f9c0451d87baf51ee174b4fafa6b5ef673c08 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T22:50:45.002Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-06T22:50:45.067Z] Warning: overwriting stash ‘coverage-report’ [2021-04-06T22:50:45.870Z] 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-04-06T22:50:46.855Z] ---> job-cost.sh [2021-04-06T22:50:46.856Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7tcJ [2021-04-06T22:51:33.802Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-06T22:53:25.975Z] lf-activate-venv(): INFO: Adding /tmp/venv-7tcJ/bin to PATH [2021-04-06T22:53:25.975Z] INFO: No Stack... [2021-04-06T22:53:25.975Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-06T22:53:25.975Z] INFO: Archiving Costs [Pipeline] sh [2021-04-06T22:53:26.317Z] + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv+ [2021-04-06T22:53:26.317Z] cut -d, -f6 [Pipeline] lock [2021-04-06T22:53:26.449Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-780-2-stack-cost] [2021-04-06T22:53:26.456Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-780-2-stack-cost] did not exist. Created. [2021-04-06T22:53:26.456Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-780-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-06T22:53:26.900Z] /w/workspace/app-functions-sdk-go/2@tmp/durable-6fc58eac/script.sh: 1: /w/workspace/app-functions-sdk-go/2@tmp/durable-6fc58eac/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-06T22:53:27.253Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-06T22:53:27.315Z] Warning: overwriting stash ‘stack-cost’ [2021-04-06T22:53:27.476Z] Stashed 1 file(s) [Pipeline] } [2021-04-06T22:53:27.487Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-780-2-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-04-06T22:53:28.490Z] provisioning config files... [2021-04-06T22:53:28.506Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-780@tmp/config1643582772224855940tmp [Pipeline] { [Pipeline] sh [2021-04-06T22:53:28.880Z] + set +x [2021-04-06T22:53:28.880Z] + curl -s https://codecov.io/bash [2021-04-06T22:53:28.880Z] + bash -s -- [2021-04-06T22:53:29.142Z] [2021-04-06T22:53:29.143Z] _____ _ [2021-04-06T22:53:29.143Z] / ____| | | [2021-04-06T22:53:29.143Z] | | ___ __| | ___ ___ _____ __ [2021-04-06T22:53:29.143Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-06T22:53:29.143Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-06T22:53:29.143Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-06T22:53:29.143Z] Bash-20210309-2b87ace [2021-04-06T22:53:29.143Z] [2021-04-06T22:53:29.143Z] [2021-04-06T22:53:29.143Z] ==> git version 2.24.3 found [2021-04-06T22:53:29.143Z] ==> 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-04-06T22:53:29.143Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-06T22:53:29.143Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-06T22:53:29.143Z] ==> Jenkins CI detected. [2021-04-06T22:53:29.143Z] project root: . [2021-04-06T22:53:29.143Z] --> token set from env [2021-04-06T22:53:29.143Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-06T22:53:29.143Z] ==> Running gcov in . (disable via -X gcov) [2021-04-06T22:53:29.143Z] ==> Python coveragepy not found [2021-04-06T22:53:29.143Z] ==> Searching for coverage reports in: [2021-04-06T22:53:29.143Z] + . [2021-04-06T22:53:29.143Z] -> Found 2 reports [2021-04-06T22:53:29.143Z] ==> Detecting git/mercurial file structure [2021-04-06T22:53:29.143Z] ==> Reading reports [2021-04-06T22:53:29.143Z] + ./app-service-template/coverage.out bytes=1055 [2021-04-06T22:53:29.143Z] + ./coverage.out bytes=86827 [2021-04-06T22:53:29.143Z] ==> Appending adjustments [2021-04-06T22:53:29.143Z] https://docs.codecov.io/docs/fixing-reports [2021-04-06T22:53:29.715Z] + Found adjustments [2021-04-06T22:53:29.716Z] ==> Gzipping contents [2021-04-06T22:53:29.716Z] 16K /tmp/codecov.d6xCm8.gz [2021-04-06T22:53:29.716Z] ==> Uploading reports [2021-04-06T22:53:29.716Z] url: https://codecov.io [2021-04-06T22:53:29.716Z] query: branch=PR-780&commit=a0b8ba81702863e4c21c7adc7168b5107d86a227&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-780%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=780&job=&cmd_args= [2021-04-06T22:53:29.716Z] -> Pinging Codecov [2021-04-06T22:53:29.716Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-780&commit=a0b8ba81702863e4c21c7adc7168b5107d86a227&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-780%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=780&job=&cmd_args= [2021-04-06T22:53:29.979Z] -> Uploading to [2021-04-06T22:53:29.979Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-06/3D8B5DFFC46A037C893635FACE044666/a0b8ba81702863e4c21c7adc7168b5107d86a227/1e680f9e-163f-45a0-9b3e-af4bfc495572.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210406T225329Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=321a4a251f64997fe6eb009a9fd1be15105a9955a0fd0950713d0e110b3fdd08 [2021-04-06T22:53:29.980Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-06T22:53:29.980Z] Dload Upload Total Spent Left Speed [2021-04-06T22:53:30.554Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15328 0 0 100 15328 0 31797 --:--:-- --:--:-- --:--:-- 31866 [2021-04-06T22:53:30.554Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/a0b8ba81702863e4c21c7adc7168b5107d86a227 [Pipeline] } [2021-04-06T22:53:30.566Z] 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-04-06T22:53:33.081Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T22:53:33.657Z] ---> package-listing.sh [2021-04-06T22:53:33.657Z] ++ facter osfamily [2021-04-06T22:53:33.657Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-06T22:53:33.657Z] + OS_FAMILY=redhat [2021-04-06T22:53:33.657Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-780 [2021-04-06T22:53:33.657Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-06T22:53:33.657Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-06T22:53:33.657Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-06T22:53:33.657Z] + PACKAGES=/tmp/packages_start.txt [2021-04-06T22:53:33.657Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-780 ']' [2021-04-06T22:53:33.657Z] + PACKAGES=/tmp/packages_end.txt [2021-04-06T22:53:33.657Z] + case "${OS_FAMILY}" in [2021-04-06T22:53:33.657Z] + rpm -qa [2021-04-06T22:53:33.657Z] + sort [2021-04-06T22:53:38.992Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-06T22:53:38.992Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-06T22:53:38.992Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-06T22:53:38.992Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-780 ']' [2021-04-06T22:53:38.992Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-780/archives/ [2021-04-06T22:53:38.992Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-780/archives/ [Pipeline] echo [2021-04-06T22:53:39.008Z] 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-780/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-06T22:53:39.308Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-06T22:53:39.620Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T22:53:39.620Z] [2021-04-06T22:53:39.620Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-06T22:53:39.971Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T22:53:39.971Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-06T22:53:39.971Z] df20fa9351a1: Pulling fs layer [2021-04-06T22:53:39.971Z] 36b3adc4ff6f: Pulling fs layer [2021-04-06T22:53:39.971Z] 8ad3a11d3b57: Pulling fs layer [2021-04-06T22:53:39.971Z] 46f8f816bc3b: Pulling fs layer [2021-04-06T22:53:39.971Z] 93b61091891f: Pulling fs layer [2021-04-06T22:53:39.971Z] 93b9cdb0e59b: Pulling fs layer [2021-04-06T22:53:39.971Z] 5e14af77c1be: Pulling fs layer [2021-04-06T22:53:39.971Z] 01666e4c0597: Pulling fs layer [2021-04-06T22:53:39.971Z] aa168da1d23b: Pulling fs layer [2021-04-06T22:53:39.971Z] 93b9cdb0e59b: Waiting [2021-04-06T22:53:39.971Z] 5e14af77c1be: Waiting [2021-04-06T22:53:39.971Z] 01666e4c0597: Waiting [2021-04-06T22:53:39.971Z] aa168da1d23b: Waiting [2021-04-06T22:53:39.971Z] 46f8f816bc3b: Waiting [2021-04-06T22:53:39.971Z] 93b61091891f: Waiting [2021-04-06T22:53:39.971Z] 36b3adc4ff6f: Verifying Checksum [2021-04-06T22:53:39.971Z] 36b3adc4ff6f: Download complete [2021-04-06T22:53:39.971Z] 46f8f816bc3b: Verifying Checksum [2021-04-06T22:53:39.971Z] 46f8f816bc3b: Download complete [2021-04-06T22:53:39.971Z] df20fa9351a1: Verifying Checksum [2021-04-06T22:53:39.971Z] df20fa9351a1: Download complete [2021-04-06T22:53:39.971Z] 93b9cdb0e59b: Verifying Checksum [2021-04-06T22:53:39.971Z] 93b9cdb0e59b: Download complete [2021-04-06T22:53:39.971Z] 5e14af77c1be: Verifying Checksum [2021-04-06T22:53:39.971Z] 5e14af77c1be: Download complete [2021-04-06T22:53:39.971Z] 93b61091891f: Download complete [2021-04-06T22:53:40.241Z] 01666e4c0597: Verifying Checksum [2021-04-06T22:53:40.241Z] 01666e4c0597: Download complete [2021-04-06T22:53:40.504Z] df20fa9351a1: Pull complete [2021-04-06T22:53:40.772Z] 8ad3a11d3b57: Verifying Checksum [2021-04-06T22:53:40.772Z] 8ad3a11d3b57: Download complete [2021-04-06T22:53:40.772Z] 36b3adc4ff6f: Pull complete [2021-04-06T22:53:41.362Z] 8ad3a11d3b57: Pull complete [2021-04-06T22:53:41.630Z] 46f8f816bc3b: Pull complete [2021-04-06T22:53:41.901Z] 93b61091891f: Pull complete [2021-04-06T22:53:42.165Z] aa168da1d23b: Verifying Checksum [2021-04-06T22:53:42.165Z] aa168da1d23b: Download complete [2021-04-06T22:53:43.119Z] 93b9cdb0e59b: Pull complete [2021-04-06T22:53:43.119Z] 5e14af77c1be: Pull complete [2021-04-06T22:53:43.386Z] 01666e4c0597: Pull complete [2021-04-06T22:53:50.005Z] aa168da1d23b: Pull complete [2021-04-06T22:53:50.005Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-06T22:53:50.005Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T22:53:50.005Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-06T22:53:50.227Z] prd-centos7-docker-4c-2g-33015 does not seem to be running inside a container [2021-04-06T22:53:50.277Z] $ 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-780/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-780 -v /w/workspace/ndry_app-functions-sdk-go_PR-780:/w/workspace/ndry_app-functions-sdk-go_PR-780:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-780@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-780@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:10003/edgex-lftools-log-publisher:alpine cat [2021-04-06T22:53:53.485Z] $ docker top 68a457a4bd1929af026ec05bd329d6125d516fc87c2f63b79f79158b7e8c99b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T22:53:54.031Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-06T22:53:54.332Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-06T22:53:54.635Z] + ls /var/log/sa-host [2021-04-06T22:53:54.635Z] + sadf -c /var/log/sa-host/sa06 [2021-04-06T22:53:54.635Z] file_magic: OK [2021-04-06T22:53:54.635Z] HZ: Using current value: 100 [2021-04-06T22:53:54.635Z] file_header: OK [2021-04-06T22:53:54.635Z] 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-04-06T22:53:54.635Z] Statistics: [2021-04-06T22:53:54.635Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-06T22:53:54.635Z] File successfully converted to sysstat format version 12.2.1 [2021-04-06T22:53:54.635Z] + sadf -c /var/log/sa-host/sa23 [2021-04-06T22:53:54.635Z] file_magic: OK [2021-04-06T22:53:54.635Z] HZ: Using current value: 100 [2021-04-06T22:53:54.635Z] file_header: OK [2021-04-06T22:53:54.635Z] 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-04-06T22:53:54.635Z] Statistics: [2021-04-06T22:53:54.635Z] Hnuu...uuuununununu... [2021-04-06T22:53:54.636Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-06T22:53:55.337Z] provisioning config files... [2021-04-06T22:53:55.359Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-780@tmp/config8436733194754073017tmp [Pipeline] { [Pipeline] echo [2021-04-06T22:53:55.422Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T22:53:55.722Z] ---> create-netrc.sh [Pipeline] } [2021-04-06T22:53:55.732Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-06T22:53:55.832Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T22:53:56.132Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-06T22:53:56.145Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T22:53:56.445Z] ---> sudo-logs.sh [2021-04-06T22:53:56.445Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-06T22:53:56.505Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T22:53:56.810Z] ---> job-cost.sh [2021-04-06T22:53:56.811Z] lf-activate-venv: SKIPPING [2021-04-06T22:53:56.811Z] DEBUG: total: 0.20999999344348907 [2021-04-06T22:53:56.811Z] INFO: Retrieving Stack Cost... [2021-04-06T22:53:57.758Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-06T22:53:58.333Z] INFO: Archiving Costs [Pipeline] echo [2021-04-06T22:53:58.348Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T22:53:58.647Z] ---> logs-deploy.sh [2021-04-06T22:53:58.647Z] lf-activate-venv: SKIPPING [2021-04-06T22:53:58.647Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-780/2 [2021-04-06T22:53:58.647Z] INFO: archiving workspace using pattern(s): [2021-04-06T22:54:00.570Z] Archives upload complete. [2021-04-06T22:54:00.570Z] INFO: archiving logs to Nexus [2021-04-06T22:54:01.520Z] ---> uname -a: [2021-04-06T22:54:01.520Z] Linux prd-centos7-docker-4c-2g-33015.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-04-06T22:54:01.520Z] [2021-04-06T22:54:01.520Z] [2021-04-06T22:54:01.520Z] ---> lscpu: [2021-04-06T22:54:01.520Z] Architecture: x86_64 [2021-04-06T22:54:01.520Z] CPU op-mode(s): 32-bit, 64-bit [2021-04-06T22:54:01.520Z] Byte Order: Little Endian [2021-04-06T22:54:01.520Z] Address sizes: 40 bits physical, 48 bits virtual [2021-04-06T22:54:01.520Z] CPU(s): 4 [2021-04-06T22:54:01.520Z] On-line CPU(s) list: 0-3 [2021-04-06T22:54:01.520Z] Thread(s) per core: 1 [2021-04-06T22:54:01.520Z] Core(s) per socket: 1 [2021-04-06T22:54:01.520Z] Socket(s): 4 [2021-04-06T22:54:01.520Z] NUMA node(s): 1 [2021-04-06T22:54:01.520Z] Vendor ID: GenuineIntel [2021-04-06T22:54:01.520Z] CPU family: 6 [2021-04-06T22:54:01.520Z] Model: 44 [2021-04-06T22:54:01.520Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-04-06T22:54:01.520Z] Stepping: 1 [2021-04-06T22:54:01.520Z] CPU MHz: 2933.436 [2021-04-06T22:54:01.520Z] BogoMIPS: 5866.87 [2021-04-06T22:54:01.520Z] Virtualization: VT-x [2021-04-06T22:54:01.520Z] Hypervisor vendor: KVM [2021-04-06T22:54:01.520Z] Virtualization type: full [2021-04-06T22:54:01.520Z] L1d cache: 128 KiB [2021-04-06T22:54:01.520Z] L1i cache: 128 KiB [2021-04-06T22:54:01.520Z] L2 cache: 16 MiB [2021-04-06T22:54:01.520Z] L3 cache: 64 MiB [2021-04-06T22:54:01.520Z] NUMA node0 CPU(s): 0-3 [2021-04-06T22:54:01.520Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-04-06T22:54:01.520Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-04-06T22:54:01.520Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-04-06T22:54:01.520Z] Vulnerability Meltdown: Mitigation; PTI [2021-04-06T22:54:01.520Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-04-06T22:54:01.520Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-04-06T22:54:01.520Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-04-06T22:54:01.520Z] Vulnerability Srbds: Not affected [2021-04-06T22:54:01.520Z] Vulnerability Tsx async abort: Not affected [2021-04-06T22:54:01.520Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-04-06T22:54:01.520Z] [2021-04-06T22:54:01.520Z] [2021-04-06T22:54:01.520Z] ---> nproc: [2021-04-06T22:54:01.520Z] 4 [2021-04-06T22:54:01.520Z] [2021-04-06T22:54:01.520Z] [2021-04-06T22:54:01.520Z] ---> df -h: [2021-04-06T22:54:01.520Z] Filesystem Size Used Available Use% Mounted on [2021-04-06T22:54:01.520Z] overlay 50.0G 7.3G 42.7G 15% / [2021-04-06T22:54:01.520Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-04-06T22:54:01.520Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-04-06T22:54:01.520Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-04-06T22:54:01.520Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-04-06T22:54:01.520Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-04-06T22:54:01.520Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-04-06T22:54:01.520Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-04-06T22:54:01.520Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-780@tmp [2021-04-06T22:54:01.520Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-04-06T22:54:01.520Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-04-06T22:54:01.520Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-04-06T22:54:01.520Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-04-06T22:54:01.520Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-780 [2021-04-06T22:54:01.520Z] [2021-04-06T22:54:01.520Z] [2021-04-06T22:54:01.520Z] ---> free -m: [2021-04-06T22:54:01.520Z] total used free shared buff/cache available [2021-04-06T22:54:01.520Z] Mem: 1837 687 94 0 1055 1046 [2021-04-06T22:54:01.520Z] Swap: 1023 1 1022 [2021-04-06T22:54:01.520Z] [2021-04-06T22:54:01.520Z]