Pull request #787 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0fe18bb418aaaab492f9f8fa3385c8d89a17c8d1+22e95e5b1dde9b714d2d9d1350500a85f05cc6d2 (96152b909657426b2f54c20ce4218f4bf4d1a4c5) 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-311 in /w/workspace/ndry_app-functions-sdk-go_PR-787 [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-787 # 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/787/head:refs/remotes/origin/PR-787 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 22e95e5b1dde9b714d2d9d1350500a85f05cc6d2 into PR head commit 0fe18bb418aaaab492f9f8fa3385c8d89a17c8d1 Merge succeeded, producing 0fe18bb418aaaab492f9f8fa3385c8d89a17c8d1 Checking out Revision 0fe18bb418aaaab492f9f8fa3385c8d89a17c8d1 (PR-787) > git config core.sparsecheckout # timeout=10 > git checkout -f 0fe18bb418aaaab492f9f8fa3385c8d89a17c8d1 # 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 22e95e5b1dde9b714d2d9d1350500a85f05cc6d2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0fe18bb418aaaab492f9f8fa3385c8d89a17c8d1 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-15T17:41:07.353Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-15T17:41:07.445Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-15T17:41:07.472Z] ========================================================= [2021-04-15T17:41:07.472Z] EdgeX Global Pipelines Version Info [2021-04-15T17:41:07.472Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 656386e6baef869c0a7a4fcba8ba4fcdb8662bc1 # timeout=10 [2021-04-15T17:41:08.938Z] ------------------- [2021-04-15T17:41:08.938Z] stable info: [2021-04-15T17:41:08.938Z] ------------------- [2021-04-15T17:41:08.938Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-15T17:41:08.938Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-15T17:41:08.938Z] Message: update stable to v1.0.186 [2021-04-15T17:41:09.893Z] ------------------- [2021-04-15T17:41:09.893Z] experimental info: [2021-04-15T17:41:09.893Z] ------------------- [2021-04-15T17:41:09.893Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-15T17:41:09.893Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-15T17:41:09.893Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-15T17:41:10.057Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-04-15T17:41:10.081Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-04-15T17:41:10.104Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-15T17:41:10.128Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-15T17:41:10.152Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-15T17:41:10.187Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-15T17:41:10.237Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-15T17:41:10.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-15T17:41:10.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-15T17:41:10.307Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-15T17:41:10.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-15T17:41:10.353Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-04-15T17:41:10.375Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-15T17:41:10.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-15T17:41:10.440Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-04-15T17:41:10.463Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-15T17:41:10.486Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-15T17:41:10.509Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-15T17:41:10.532Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-15T17:41:10.556Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-15T17:41:10.580Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-15T17:41:10.625Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-04-15T17:41:10.649Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-15T17:41:10.673Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-15T17:41:10.697Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-04-15T17:41:10.739Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-15T17:41:10.768Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-787 [Pipeline] echo [2021-04-15T17:41:10.790Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-787 [Pipeline] echo [2021-04-15T17:41:10.813Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-787 [Pipeline] echo [2021-04-15T17:41:10.855Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0fe18bb418aaaab492f9f8fa3385c8d89a17c8d1 [Pipeline] echo [2021-04-15T17:41:10.877Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0fe18bb [Pipeline] echo [2021-04-15T17:41:10.900Z] [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-15T17:41:11.307Z] + git log --format=format:%s -1 0fe18bb418aaaab492f9f8fa3385c8d89a17c8d1 [Pipeline] echo [2021-04-15T17:41:11.393Z] GIT_COMMIT: 0fe18bb418aaaab492f9f8fa3385c8d89a17c8d1, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-04-15T17:41:11.413Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:41:12.008Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-15T17:41:12.274Z] [2021-04-15T17:41:12.274Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:41:12.594Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-15T17:41:12.594Z] latest: Pulling from edgex-devops/git-semver [2021-04-15T17:41:12.594Z] 31603596830f: Pulling fs layer [2021-04-15T17:41:12.594Z] 2a8b12db71e7: Pulling fs layer [2021-04-15T17:41:12.594Z] 6ca5941a6612: Pulling fs layer [2021-04-15T17:41:12.594Z] ecc8261a40a4: Pulling fs layer [2021-04-15T17:41:12.594Z] ecc8261a40a4: Waiting [2021-04-15T17:41:12.594Z] 2a8b12db71e7: Verifying Checksum [2021-04-15T17:41:12.594Z] 2a8b12db71e7: Download complete [2021-04-15T17:41:12.863Z] 31603596830f: Download complete [2021-04-15T17:41:12.863Z] ecc8261a40a4: Verifying Checksum [2021-04-15T17:41:12.863Z] ecc8261a40a4: Download complete [2021-04-15T17:41:12.863Z] 6ca5941a6612: Verifying Checksum [2021-04-15T17:41:12.863Z] 6ca5941a6612: Download complete [2021-04-15T17:41:13.131Z] 31603596830f: Pull complete [2021-04-15T17:41:13.396Z] 2a8b12db71e7: Pull complete [2021-04-15T17:41:13.987Z] 6ca5941a6612: Pull complete [2021-04-15T17:41:14.249Z] ecc8261a40a4: Pull complete [2021-04-15T17:41:14.249Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-15T17:41:14.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-15T17:41:14.249Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-15T17:41:14.359Z] prd-centos7-docker-4c-2g-311 does not seem to be running inside a container [2021-04-15T17:41:14.409Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-787 -v /w/workspace/ndry_app-functions-sdk-go_PR-787:/w/workspace/ndry_app-functions-sdk-go_PR-787:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-787@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-787@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-15T17:41:16.407Z] $ docker top b1b18d01581e94555bb443d4e0a01f054a0b4026f5e400c0eaaefef0cc111d65 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-15T17:41:16.557Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-15T17:41:16.557Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-15T17:41:16.765Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-15T17:41:16.769Z] $ docker exec b1b18d01581e94555bb443d4e0a01f054a0b4026f5e400c0eaaefef0cc111d65 ssh-agent [2021-04-15T17:41:16.940Z] SSH_AUTH_SOCK=/tmp/ssh-LGPzkJQoUrvw/agent.12 [2021-04-15T17:41:16.940Z] SSH_AGENT_PID=17 [2021-04-15T17:41:16.952Z] Running ssh-add (command line suppressed) [2021-04-15T17:41:17.080Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-787@tmp/private_key_3168545806896095941.key (/w/workspace/ndry_app-functions-sdk-go_PR-787@tmp/private_key_3168545806896095941.key) [2021-04-15T17:41:17.138Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-15T17:41:17.453Z] + git tag --points-at HEAD [Pipeline] } [2021-04-15T17:41:17.477Z] $ docker exec --env ******** --env ******** b1b18d01581e94555bb443d4e0a01f054a0b4026f5e400c0eaaefef0cc111d65 ssh-agent -k [2021-04-15T17:41:17.598Z] unset SSH_AUTH_SOCK; [2021-04-15T17:41:17.598Z] unset SSH_AGENT_PID; [2021-04-15T17:41:17.598Z] echo Agent pid 17 killed; [2021-04-15T17:41:17.650Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-15T17:41:17.696Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-15T17:41:17.696Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-15T17:41:17.872Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-15T17:41:17.877Z] $ docker exec b1b18d01581e94555bb443d4e0a01f054a0b4026f5e400c0eaaefef0cc111d65 ssh-agent [2021-04-15T17:41:18.053Z] SSH_AUTH_SOCK=/tmp/ssh-gEfaMAolpAKa/agent.47 [2021-04-15T17:41:18.053Z] SSH_AGENT_PID=52 [2021-04-15T17:41:18.061Z] Running ssh-add (command line suppressed) [2021-04-15T17:41:18.184Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-787@tmp/private_key_6570199509418065449.key (/w/workspace/ndry_app-functions-sdk-go_PR-787@tmp/private_key_6570199509418065449.key) [2021-04-15T17:41:18.241Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-15T17:41:18.552Z] + git semver init [2021-04-15T17:41:18.552Z] # -> Open(): unable to determine branch for HEAD [2021-04-15T17:41:18.552Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-787/.git [2021-04-15T17:41:18.552Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-787 [2021-04-15T17:41:18.552Z] # $SEMVER_REMOTE_NAME = origin [2021-04-15T17:41:18.552Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-15T17:41:18.552Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-15T17:41:18.552Z] # $SEMVER_BRANCH = PR-787 [2021-04-15T17:41:18.552Z] # $SEMVER_TEMP = /tmp/semver-397891689 [2021-04-15T17:41:18.552Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-04-15T17:41:21.895Z] # '/tmp/semver-397891689' -> '/w/workspace/ndry_app-functions-sdk-go_PR-787/.semver' [2021-04-15T17:41:21.895Z] # -> Force: false [2021-04-15T17:41:21.895Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-787/.semver [Pipeline] } [2021-04-15T17:41:21.921Z] $ docker exec --env ******** --env ******** b1b18d01581e94555bb443d4e0a01f054a0b4026f5e400c0eaaefef0cc111d65 ssh-agent -k [2021-04-15T17:41:22.118Z] unset SSH_AUTH_SOCK; [2021-04-15T17:41:22.120Z] unset SSH_AGENT_PID; [2021-04-15T17:41:22.120Z] echo Agent pid 52 killed; [2021-04-15T17:41:22.190Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-15T17:41:22.533Z] + git semver [Pipeline] } [2021-04-15T17:41:22.553Z] $ docker stop --time=1 b1b18d01581e94555bb443d4e0a01f054a0b4026f5e400c0eaaefef0cc111d65 [2021-04-15T17:41:24.063Z] $ docker rm -f b1b18d01581e94555bb443d4e0a01f054a0b4026f5e400c0eaaefef0cc111d65 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-15T17:41:24.504Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-15T17:41:24.917Z] Stashed 1 file(s) [Pipeline] echo [2021-04-15T17:41:24.920Z] [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-15T17:41:40.077Z] Still waiting to schedule task [2021-04-15T17:41:40.078Z] ‘prd-centos7-blackbox-4c-2g-33548’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-blackbox-4c-2g-33549’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-307’ is offline; ‘prd-centos7-docker-4c-2g-313’ is offline; ‘prd-centos7-docker-4c-2g-32765’ is offline; ‘prd-centos7-docker-4c-2g-32816’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-32989’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-04-15T17:41:40.080Z] Still waiting to schedule task [2021-04-15T17:41:40.080Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-04-15T17:41:50.840Z] Running on prd-centos7-docker-4c-2g-313 in /w/workspace/ndry_app-functions-sdk-go_PR-787 [Pipeline] { [Pipeline] ws [2021-04-15T17:41:50.856Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-04-15T17:41:53.599Z] using credential edgex-jenkins-ssh [2021-04-15T17:41:53.613Z] Cloning the remote Git repository [2021-04-15T17:41:53.641Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-15T17:41:53.709Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2021-04-15T17:41:53.784Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-15T17:41:53.785Z] > git --version # timeout=10 [2021-04-15T17:41:53.793Z] > git --version # 'git version 2.24.3' [2021-04-15T17:41:53.793Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T17:41:53.823Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-15T17:41:55.366Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-15T17:41:55.379Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-15T17:41:55.393Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-15T17:41:55.417Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-15T17:41:55.417Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T17:41:55.423Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/787/head:refs/remotes/origin/PR-787 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-15T17:41:55.842Z] Merging remotes/origin/master commit 22e95e5b1dde9b714d2d9d1350500a85f05cc6d2 into PR head commit 0fe18bb418aaaab492f9f8fa3385c8d89a17c8d1 [2021-04-15T17:41:55.946Z] Merge succeeded, producing 0fe18bb418aaaab492f9f8fa3385c8d89a17c8d1 [2021-04-15T17:41:55.946Z] Checking out Revision 0fe18bb418aaaab492f9f8fa3385c8d89a17c8d1 (PR-787) [2021-04-15T17:41:55.854Z] > git config core.sparsecheckout # timeout=10 [2021-04-15T17:41:55.860Z] > git checkout -f 0fe18bb418aaaab492f9f8fa3385c8d89a17c8d1 # timeout=10 [2021-04-15T17:41:55.915Z] > git remote # timeout=10 [2021-04-15T17:41:55.920Z] > git config --get remote.origin.url # timeout=10 [2021-04-15T17:41:55.926Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T17:41:55.931Z] > git merge 22e95e5b1dde9b714d2d9d1350500a85f05cc6d2 # timeout=10 [2021-04-15T17:41:55.941Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-15T17:41:55.951Z] > git config core.sparsecheckout # timeout=10 [2021-04-15T17:41:55.956Z] > git checkout -f 0fe18bb418aaaab492f9f8fa3385c8d89a17c8d1 # timeout=10 [2021-04-15T17:41:59.703Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-15T17:42:00.823Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-15T17:42:01.168Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-15T17:42:01.476Z] + sudo service docker restart [2021-04-15T17:42:01.476Z] + true [2021-04-15T17:42:01.476Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-04-15T17:42:02.604Z] ========================================================= [2021-04-15T17:42:02.604Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-15T17:42:02.604Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:42:02.927Z] + 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-15T17:42:03.509Z] Sending build context to Docker daemon 19.46MB [2021-04-15T17:42:03.509Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-15T17:42:03.509Z] Step 2/8 : FROM ${BASE} [2021-04-15T17:42:03.783Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-15T17:42:03.783Z] 188c0c94c7c5: Pulling fs layer [2021-04-15T17:42:03.783Z] 0ef7d3d256c8: Pulling fs layer [2021-04-15T17:42:03.783Z] de9db76c5a1d: Pulling fs layer [2021-04-15T17:42:03.783Z] bca2f99d35d6: Pulling fs layer [2021-04-15T17:42:03.783Z] 93359f2a8cfa: Pulling fs layer [2021-04-15T17:42:03.783Z] 7c6f9722023f: Pulling fs layer [2021-04-15T17:42:03.783Z] a35cf1a2eb13: Pulling fs layer [2021-04-15T17:42:03.783Z] bca2f99d35d6: Waiting [2021-04-15T17:42:03.783Z] 93359f2a8cfa: Waiting [2021-04-15T17:42:03.783Z] 7c6f9722023f: Waiting [2021-04-15T17:42:03.783Z] a35cf1a2eb13: Waiting [2021-04-15T17:42:03.783Z] de9db76c5a1d: Verifying Checksum [2021-04-15T17:42:03.783Z] de9db76c5a1d: Download complete [2021-04-15T17:42:03.783Z] 0ef7d3d256c8: Download complete [2021-04-15T17:42:03.783Z] 93359f2a8cfa: Verifying Checksum [2021-04-15T17:42:03.783Z] 93359f2a8cfa: Download complete [2021-04-15T17:42:03.783Z] 7c6f9722023f: Verifying Checksum [2021-04-15T17:42:03.783Z] 7c6f9722023f: Download complete [2021-04-15T17:42:03.783Z] 188c0c94c7c5: Verifying Checksum [2021-04-15T17:42:03.783Z] 188c0c94c7c5: Download complete [2021-04-15T17:42:04.058Z] 188c0c94c7c5: Pull complete [2021-04-15T17:42:04.326Z] 0ef7d3d256c8: Pull complete [2021-04-15T17:42:04.591Z] de9db76c5a1d: Pull complete [2021-04-15T17:42:05.996Z] a35cf1a2eb13: Verifying Checksum [2021-04-15T17:42:05.996Z] a35cf1a2eb13: Download complete [2021-04-15T17:42:06.951Z] bca2f99d35d6: Verifying Checksum [2021-04-15T17:42:06.951Z] bca2f99d35d6: Download complete [2021-04-15T17:42:12.294Z] bca2f99d35d6: Pull complete [2021-04-15T17:42:12.559Z] 93359f2a8cfa: Pull complete [2021-04-15T17:42:12.559Z] 7c6f9722023f: Pull complete [2021-04-15T17:42:16.844Z] a35cf1a2eb13: Pull complete [2021-04-15T17:42:16.844Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-15T17:42:16.844Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-15T17:42:16.844Z] ---> a62c8e92a672 [2021-04-15T17:42:16.844Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-04-15T17:42:16.844Z] 20.10.0: Pulling from library/docker [2021-04-15T17:42:16.844Z] 05e7bc50f07f: Pulling fs layer [2021-04-15T17:42:16.844Z] 6db28d0fdbf6: Pulling fs layer [2021-04-15T17:42:16.844Z] 292df0bc6bf3: Pulling fs layer [2021-04-15T17:42:16.844Z] 2e060f4bd70b: Pulling fs layer [2021-04-15T17:42:16.844Z] 80e8d568a223: Pulling fs layer [2021-04-15T17:42:16.844Z] 8dc6ef1a942a: Pulling fs layer [2021-04-15T17:42:16.844Z] 2312dd95470a: Pulling fs layer [2021-04-15T17:42:16.844Z] 2e060f4bd70b: Waiting [2021-04-15T17:42:16.844Z] 80e8d568a223: Waiting [2021-04-15T17:42:16.844Z] 8dc6ef1a942a: Waiting [2021-04-15T17:42:16.844Z] 2312dd95470a: Waiting [2021-04-15T17:42:16.844Z] 292df0bc6bf3: Verifying Checksum [2021-04-15T17:42:16.844Z] 292df0bc6bf3: Download complete [2021-04-15T17:42:16.844Z] 05e7bc50f07f: Verifying Checksum [2021-04-15T17:42:16.844Z] 05e7bc50f07f: Download complete [2021-04-15T17:42:16.844Z] 6db28d0fdbf6: Verifying Checksum [2021-04-15T17:42:16.844Z] 6db28d0fdbf6: Download complete [2021-04-15T17:42:16.844Z] 80e8d568a223: Verifying Checksum [2021-04-15T17:42:16.844Z] 80e8d568a223: Download complete [2021-04-15T17:42:16.844Z] 8dc6ef1a942a: Verifying Checksum [2021-04-15T17:42:16.844Z] 2312dd95470a: Verifying Checksum [2021-04-15T17:42:16.844Z] 2312dd95470a: Download complete [2021-04-15T17:42:17.117Z] 05e7bc50f07f: Pull complete [2021-04-15T17:42:17.703Z] 6db28d0fdbf6: Pull complete [2021-04-15T17:42:17.703Z] 292df0bc6bf3: Pull complete [2021-04-15T17:42:18.288Z] 2e060f4bd70b: Download complete [2021-04-15T17:42:21.627Z] 2e060f4bd70b: Pull complete [2021-04-15T17:42:21.627Z] 80e8d568a223: Pull complete [2021-04-15T17:42:21.627Z] 8dc6ef1a942a: Pull complete [2021-04-15T17:42:21.627Z] 2312dd95470a: Pull complete [2021-04-15T17:42:21.627Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-04-15T17:42:21.627Z] Status: Downloaded newer image for docker:20.10.0 [2021-04-15T17:42:23.048Z] ---> 2110209cd957 [2021-04-15T17:42:23.048Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-15T17:42:23.048Z] ---> Running in c4ccb4325210 [2021-04-15T17:42:23.314Z] Removing intermediate container c4ccb4325210 [2021-04-15T17:42:23.314Z] ---> fe8eae43743d [2021-04-15T17:42:23.314Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-04-15T17:42:23.314Z] ---> Running in 3e3d7709ada8 [2021-04-15T17:42:24.269Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-15T17:42:24.845Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-15T17:42:25.422Z] (1/5) Installing libsodium (1.0.18-r0) [2021-04-15T17:42:25.423Z] (2/5) Installing libzmq (4.3.3-r0) [2021-04-15T17:42:25.423Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-04-15T17:42:25.689Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-04-15T17:42:25.689Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-04-15T17:42:25.953Z] Executing busybox-1.31.1-r19.trigger [2021-04-15T17:42:25.953Z] OK: 167 MiB in 44 packages [2021-04-15T17:42:26.534Z] Removing intermediate container 3e3d7709ada8 [2021-04-15T17:42:26.534Z] ---> 7dd3cbcc1ac3 [2021-04-15T17:42:26.534Z] Step 6/8 : WORKDIR /build [2021-04-15T17:42:26.534Z] ---> Running in 350792696c4f [2021-04-15T17:42:26.800Z] Removing intermediate container 350792696c4f [2021-04-15T17:42:26.800Z] ---> 275579cfcdab [2021-04-15T17:42:26.800Z] Step 7/8 : COPY go.mod . [2021-04-15T17:42:27.076Z] ---> f2f8b118b2fc [2021-04-15T17:42:27.076Z] Step 8/8 : RUN go mod download [2021-04-15T17:42:27.076Z] ---> Running in b8715b2ecaba [2021-04-15T17:42:53.754Z] Removing intermediate container b8715b2ecaba [2021-04-15T17:42:53.754Z] ---> ea4e0b307538 [2021-04-15T17:42:53.754Z] Successfully built ea4e0b307538 [2021-04-15T17:42:53.754Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:42:54.076Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-15T17:42:54.076Z] . [Pipeline] withDockerContainer [2021-04-15T17:42:54.210Z] prd-centos7-docker-4c-2g-313 does not seem to be running inside a container [2021-04-15T17:42:54.265Z] $ 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 ******** ci-base-image-x86_64 cat [2021-04-15T17:42:55.177Z] $ docker top 6817250c57068520ddb5855a23fad6bb7f75f21e949425c1fb99a241a7cddc7e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-15T17:42:55.648Z] + go version [2021-04-15T17:42:55.648Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-15T17:42:55.666Z] $ docker stop --time=1 6817250c57068520ddb5855a23fad6bb7f75f21e949425c1fb99a241a7cddc7e [2021-04-15T17:42:57.032Z] $ docker rm -f 6817250c57068520ddb5855a23fad6bb7f75f21e949425c1fb99a241a7cddc7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:42:57.533Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-15T17:42:57.534Z] . [Pipeline] withDockerContainer [2021-04-15T17:42:57.641Z] prd-centos7-docker-4c-2g-313 does not seem to be running inside a container [2021-04-15T17:42:57.691Z] $ 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 ******** ci-base-image-x86_64 cat [2021-04-15T17:42:58.511Z] $ docker top abd1a4cafa8a1babb7b3f0b5ff8038d8cdc8db4d50c4e45bad49eec0d04361df -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-15T17:42:59.008Z] + make test [2021-04-15T17:42:59.008Z] make -C ./app-service-template build [2021-04-15T17:42:59.008Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-04-15T17:42:59.008Z] 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-15T17:43:14.041Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-04-15T17:43:14.041Z] make -C ./app-service-template test [2021-04-15T17:43:14.041Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-04-15T17:43:14.041Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-04-15T17:43:22.324Z] ok new-app-service 0.022s coverage: 47.8% of statements [2021-04-15T17:43:22.325Z] ? new-app-service/config [no test files] [2021-04-15T17:43:22.325Z] ok new-app-service/functions 0.012s [2021-04-15T17:43:22.325Z] CGO_ENABLED=1 go vet ./... [2021-04-15T17:43:25.677Z] gofmt -l . [2021-04-15T17:43:25.677Z] [ "`gofmt -l .`" = "" ] [2021-04-15T17:43:25.677Z] ./bin/test-go-mod-tidy.sh [2021-04-15T17:43:26.266Z] ./bin/test-attribution-txt.sh [2021-04-15T17:43:26.864Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-04-15T17:43:26.864Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-15T17:43:27.574Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-04-15T17:43:30.440Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.017s coverage: 55.8% of statements [2021-04-15T17:43:30.440Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.038s coverage: 92.5% of statements [2021-04-15T17:43:30.440Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-04-15T17:43:30.440Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.065s coverage: 61.5% of statements [2021-04-15T17:43:30.440Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-04-15T17:43:30.440Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.047s [2021-04-15T17:43:30.714Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.039s coverage: 75.4% of statements [2021-04-15T17:43:30.714Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-04-15T17:43:30.714Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-04-15T17:43:30.714Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-04-15T17:43:30.714Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-04-15T17:43:30.714Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-04-15T17:43:30.714Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-04-15T17:43:30.714Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.006s coverage: 97.0% of statements [2021-04-15T17:43:30.714Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-04-15T17:43:30.714Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.018s coverage: 10.5% of statements [2021-04-15T17:43:36.050Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.744s coverage: 78.4% of statements [2021-04-15T17:43:36.050Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-04-15T17:43:36.050Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.035s coverage: 18.4% of statements [2021-04-15T17:43:36.050Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.013s coverage: 27.3% of statements [2021-04-15T17:43:36.050Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-04-15T17:43:36.050Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-04-15T17:43:36.050Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.013s coverage: 71.7% of statements [2021-04-15T17:44:02.667Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.041s coverage: 81.9% of statements [2021-04-15T17:44:02.667Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.017s coverage: 94.4% of statements [2021-04-15T17:44:02.667Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-15T17:44:02.667Z] gofmt -l . [2021-04-15T17:44:02.667Z] [ "`gofmt -l .`" = "" ] [2021-04-15T17:44:02.667Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-15T17:44:02.693Z] $ docker stop --time=1 abd1a4cafa8a1babb7b3f0b5ff8038d8cdc8db4d50c4e45bad49eec0d04361df [2021-04-15T17:44:04.444Z] $ docker rm -f abd1a4cafa8a1babb7b3f0b5ff8038d8cdc8db4d50c4e45bad49eec0d04361df [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-15T17:44:05.066Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-15T17:44:05.493Z] 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-15T17:44:06.066Z] ---> job-cost.sh [2021-04-15T17:44:06.066Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Fvz9 [2021-04-15T17:44:24.236Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-15T17:44:50.893Z] lf-activate-venv(): INFO: Adding /tmp/venv-Fvz9/bin to PATH [2021-04-15T17:44:50.893Z] INFO: No Stack... [2021-04-15T17:44:50.893Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-15T17:44:50.893Z] INFO: Archiving Costs [Pipeline] sh [2021-04-15T17:44:51.341Z] + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv [2021-04-15T17:44:51.341Z] + cut -d, -f6 [Pipeline] lock [2021-04-15T17:44:51.426Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-787-2-stack-cost] [2021-04-15T17:44:51.436Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-787-2-stack-cost] did not exist. Created. [2021-04-15T17:44:51.436Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-787-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-15T17:44:51.772Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-15T17:44:51.919Z] Stashed 1 file(s) [Pipeline] } [2021-04-15T17:44:51.927Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-787-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-15T17:45:11.128Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-315 in /w/workspace/ndry_app-functions-sdk-go_PR-787 [Pipeline] { [Pipeline] ws [2021-04-15T17:45:11.144Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-04-15T17:45:16.784Z] using credential edgex-jenkins-ssh [2021-04-15T17:45:16.843Z] Cloning the remote Git repository [2021-04-15T17:45:16.906Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-15T17:45:17.028Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2021-04-15T17:45:17.128Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-15T17:45:17.129Z] > git --version # timeout=10 [2021-04-15T17:45:17.153Z] > git --version # 'git version 2.17.1' [2021-04-15T17:45:17.156Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T17:45:17.247Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-15T17:45:21.084Z] Merging remotes/origin/master commit 22e95e5b1dde9b714d2d9d1350500a85f05cc6d2 into PR head commit 0fe18bb418aaaab492f9f8fa3385c8d89a17c8d1 [2021-04-15T17:45:21.361Z] Merge succeeded, producing 0fe18bb418aaaab492f9f8fa3385c8d89a17c8d1 [2021-04-15T17:45:21.362Z] Checking out Revision 0fe18bb418aaaab492f9f8fa3385c8d89a17c8d1 (PR-787) [2021-04-15T17:45:20.485Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-15T17:45:20.517Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-15T17:45:20.542Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-15T17:45:20.580Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-15T17:45:20.581Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T17:45:20.596Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/787/head:refs/remotes/origin/PR-787 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-15T17:45:21.108Z] > git config core.sparsecheckout # timeout=10 [2021-04-15T17:45:21.124Z] > git checkout -f 0fe18bb418aaaab492f9f8fa3385c8d89a17c8d1 # timeout=10 [2021-04-15T17:45:21.257Z] > git remote # timeout=10 [2021-04-15T17:45:21.284Z] > git config --get remote.origin.url # timeout=10 [2021-04-15T17:45:21.300Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T17:45:21.313Z] > git merge 22e95e5b1dde9b714d2d9d1350500a85f05cc6d2 # timeout=10 [2021-04-15T17:45:21.341Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-15T17:45:21.373Z] > git config core.sparsecheckout # timeout=10 [2021-04-15T17:45:21.405Z] > git checkout -f 0fe18bb418aaaab492f9f8fa3385c8d89a17c8d1 # timeout=10 [2021-04-15T17:45:25.782Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-15T17:45:27.281Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-15T17:45:27.708Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-15T17:45:28.054Z] + sudo service docker restart [2021-04-15T17:45:28.055Z] + true [Pipeline] unstash [Pipeline] echo [2021-04-15T17:45:30.351Z] ========================================================= [2021-04-15T17:45:30.351Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-15T17:45:30.351Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:45:30.703Z] + 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-15T17:45:31.697Z] Sending build context to Docker daemon 19.46MB [2021-04-15T17:45:31.697Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-15T17:45:31.697Z] Step 2/8 : FROM ${BASE} [2021-04-15T17:45:32.301Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-15T17:45:32.301Z] 5f621e34cdf4: Pulling fs layer [2021-04-15T17:45:32.301Z] a4357932f1b6: Pulling fs layer [2021-04-15T17:45:32.301Z] 18c013af1878: Pulling fs layer [2021-04-15T17:45:32.301Z] 00ac8860ef70: Pulling fs layer [2021-04-15T17:45:32.301Z] 63d7cb157983: Pulling fs layer [2021-04-15T17:45:32.301Z] b116817d02f9: Pulling fs layer [2021-04-15T17:45:32.301Z] 745a02a5169b: Pulling fs layer [2021-04-15T17:45:32.301Z] 00ac8860ef70: Waiting [2021-04-15T17:45:32.301Z] 63d7cb157983: Waiting [2021-04-15T17:45:32.301Z] b116817d02f9: Waiting [2021-04-15T17:45:32.301Z] 745a02a5169b: Waiting [2021-04-15T17:45:32.301Z] 18c013af1878: Download complete [2021-04-15T17:45:32.301Z] a4357932f1b6: Verifying Checksum [2021-04-15T17:45:32.301Z] a4357932f1b6: Download complete [2021-04-15T17:45:32.301Z] 63d7cb157983: Verifying Checksum [2021-04-15T17:45:32.301Z] 63d7cb157983: Download complete [2021-04-15T17:45:32.301Z] b116817d02f9: Verifying Checksum [2021-04-15T17:45:32.301Z] b116817d02f9: Download complete [2021-04-15T17:45:32.301Z] 5f621e34cdf4: Verifying Checksum [2021-04-15T17:45:32.301Z] 5f621e34cdf4: Download complete [2021-04-15T17:45:32.905Z] 5f621e34cdf4: Pull complete [2021-04-15T17:45:33.508Z] a4357932f1b6: Pull complete [2021-04-15T17:45:34.115Z] 18c013af1878: Pull complete [2021-04-15T17:45:35.105Z] 745a02a5169b: Download complete [2021-04-15T17:45:36.089Z] 00ac8860ef70: Verifying Checksum [2021-04-15T17:45:36.089Z] 00ac8860ef70: Download complete [2021-04-15T17:45:46.265Z] 00ac8860ef70: Pull complete [2021-04-15T17:45:46.541Z] 63d7cb157983: Pull complete [2021-04-15T17:45:46.817Z] b116817d02f9: Pull complete [2021-04-15T17:45:51.155Z] 745a02a5169b: Pull complete [2021-04-15T17:45:51.155Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-15T17:45:51.155Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-15T17:45:51.155Z] ---> b7e6874047d6 [2021-04-15T17:45:51.155Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-04-15T17:45:51.155Z] 20.10.0: Pulling from library/docker [2021-04-15T17:45:51.155Z] a3cc7d3b244e: Pulling fs layer [2021-04-15T17:45:51.155Z] 02a3295e0d61: Pulling fs layer [2021-04-15T17:45:51.155Z] 0f4f2e6d8100: Pulling fs layer [2021-04-15T17:45:51.155Z] 330b718f631f: Pulling fs layer [2021-04-15T17:45:51.155Z] a93816041522: Pulling fs layer [2021-04-15T17:45:51.155Z] bdb6da89ff94: Pulling fs layer [2021-04-15T17:45:51.155Z] 2a70c0c122f4: Pulling fs layer [2021-04-15T17:45:51.155Z] 2a70c0c122f4: Waiting [2021-04-15T17:45:51.155Z] a93816041522: Waiting [2021-04-15T17:45:51.155Z] bdb6da89ff94: Waiting [2021-04-15T17:45:51.155Z] 330b718f631f: Waiting [2021-04-15T17:45:51.155Z] 0f4f2e6d8100: Verifying Checksum [2021-04-15T17:45:51.155Z] 0f4f2e6d8100: Download complete [2021-04-15T17:45:51.155Z] 02a3295e0d61: Verifying Checksum [2021-04-15T17:45:51.155Z] 02a3295e0d61: Download complete [2021-04-15T17:45:51.155Z] a93816041522: Verifying Checksum [2021-04-15T17:45:51.155Z] a93816041522: Download complete [2021-04-15T17:45:51.155Z] a3cc7d3b244e: Verifying Checksum [2021-04-15T17:45:51.155Z] a3cc7d3b244e: Download complete [2021-04-15T17:45:51.155Z] bdb6da89ff94: Verifying Checksum [2021-04-15T17:45:51.155Z] bdb6da89ff94: Download complete [2021-04-15T17:45:51.155Z] 2a70c0c122f4: Verifying Checksum [2021-04-15T17:45:51.155Z] 2a70c0c122f4: Download complete [2021-04-15T17:45:51.764Z] a3cc7d3b244e: Pull complete [2021-04-15T17:45:52.367Z] 02a3295e0d61: Pull complete [2021-04-15T17:45:52.655Z] 0f4f2e6d8100: Pull complete [2021-04-15T17:45:52.655Z] 330b718f631f: Verifying Checksum [2021-04-15T17:45:52.655Z] 330b718f631f: Download complete [2021-04-15T17:45:56.981Z] 330b718f631f: Pull complete [2021-04-15T17:45:56.981Z] a93816041522: Pull complete [2021-04-15T17:45:57.256Z] bdb6da89ff94: Pull complete [2021-04-15T17:45:57.529Z] 2a70c0c122f4: Pull complete [2021-04-15T17:45:57.802Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-04-15T17:45:57.802Z] Status: Downloaded newer image for docker:20.10.0 [2021-04-15T17:46:04.521Z] ---> 9d343fb041fc [2021-04-15T17:46:04.521Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-15T17:46:04.521Z] ---> Running in 57b67ae5d9bd [2021-04-15T17:46:04.794Z] Removing intermediate container 57b67ae5d9bd [2021-04-15T17:46:04.794Z] ---> bd3a1dbfd68c [2021-04-15T17:46:04.794Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-04-15T17:46:05.068Z] ---> Running in 20e8639914a3 [2021-04-15T17:46:06.509Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-15T17:46:07.106Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-15T17:46:08.082Z] (1/5) Installing libsodium (1.0.18-r0) [2021-04-15T17:46:08.082Z] (2/5) Installing libzmq (4.3.3-r0) [2021-04-15T17:46:08.082Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-04-15T17:46:08.360Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-04-15T17:46:08.360Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-04-15T17:46:08.360Z] Executing busybox-1.31.1-r19.trigger [2021-04-15T17:46:08.360Z] OK: 144 MiB in 44 packages [2021-04-15T17:46:09.792Z] Removing intermediate container 20e8639914a3 [2021-04-15T17:46:09.792Z] ---> cbd1617bed2a [2021-04-15T17:46:09.792Z] Step 6/8 : WORKDIR /build [2021-04-15T17:46:10.066Z] ---> Running in 153ebd8d6bbb [2021-04-15T17:46:10.661Z] Removing intermediate container 153ebd8d6bbb [2021-04-15T17:46:10.661Z] ---> 952bd40a0672 [2021-04-15T17:46:10.661Z] Step 7/8 : COPY go.mod . [2021-04-15T17:46:11.258Z] ---> 11fdaa27aa01 [2021-04-15T17:46:11.258Z] Step 8/8 : RUN go mod download [2021-04-15T17:46:11.547Z] ---> Running in d08342ec8e4e [2021-04-15T17:46:38.350Z] Removing intermediate container d08342ec8e4e [2021-04-15T17:46:38.350Z] ---> 107073e83e4d [2021-04-15T17:46:38.350Z] Successfully built 107073e83e4d [2021-04-15T17:46:38.350Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:46:38.698Z] + docker inspect -f . ci-base-image-arm64 [2021-04-15T17:46:38.698Z] . [Pipeline] withDockerContainer [2021-04-15T17:46:39.002Z] prd-ubuntu18.04-docker-arm64-4c-16g-315 does not seem to be running inside a container [2021-04-15T17:46:39.102Z] $ 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 ******** ci-base-image-arm64 cat [2021-04-15T17:46:40.785Z] $ docker top 399c3612ad0b9c02e5b9a8be1f5fb09357bd880d1432ba6127b644bb57c12082 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-15T17:46:41.767Z] + go version [2021-04-15T17:46:41.767Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-15T17:46:41.805Z] $ docker stop --time=1 399c3612ad0b9c02e5b9a8be1f5fb09357bd880d1432ba6127b644bb57c12082 [2021-04-15T17:46:43.811Z] $ docker rm -f 399c3612ad0b9c02e5b9a8be1f5fb09357bd880d1432ba6127b644bb57c12082 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:46:44.524Z] + docker inspect -f . ci-base-image-arm64 [2021-04-15T17:46:44.524Z] . [Pipeline] withDockerContainer [2021-04-15T17:46:44.839Z] prd-ubuntu18.04-docker-arm64-4c-16g-315 does not seem to be running inside a container [2021-04-15T17:46:44.949Z] $ 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 ******** ci-base-image-arm64 cat [2021-04-15T17:46:46.594Z] $ docker top 86ad810d80be6fdb5c8184ff09209e5aac1316d8b47f9214d71a93e1df7e9af2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-15T17:46:47.573Z] + make test [2021-04-15T17:46:47.574Z] make -C ./app-service-template build [2021-04-15T17:46:47.574Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-04-15T17:46:47.574Z] 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-15T17:47:26.625Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-04-15T17:47:26.625Z] make -C ./app-service-template test [2021-04-15T17:47:26.625Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-04-15T17:47:26.625Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-04-15T17:47:48.828Z] ok new-app-service 0.038s coverage: 47.8% of statements [2021-04-15T17:47:48.828Z] ? new-app-service/config [no test files] [2021-04-15T17:47:48.828Z] ok new-app-service/functions 0.029s [2021-04-15T17:47:48.828Z] CGO_ENABLED=1 go vet ./... [2021-04-15T17:47:59.040Z] gofmt -l . [2021-04-15T17:47:59.040Z] [ "`gofmt -l .`" = "" ] [2021-04-15T17:47:59.040Z] ./bin/test-go-mod-tidy.sh [2021-04-15T17:47:59.641Z] ./bin/test-attribution-txt.sh [2021-04-15T17:48:01.076Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-04-15T17:48:01.076Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-15T17:48:02.527Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-04-15T17:48:10.825Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.120s coverage: 55.8% of statements [2021-04-15T17:48:10.825Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.049s coverage: 92.5% of statements [2021-04-15T17:48:10.825Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-04-15T17:48:10.825Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.065s coverage: 61.5% of statements [2021-04-15T17:48:10.825Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-04-15T17:48:10.825Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.042s [2021-04-15T17:48:10.825Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.105s coverage: 75.4% of statements [2021-04-15T17:48:10.825Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-04-15T17:48:10.825Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-04-15T17:48:10.825Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-04-15T17:48:10.825Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-04-15T17:48:10.825Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-04-15T17:48:10.825Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-04-15T17:48:10.825Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.050s coverage: 97.0% of statements [2021-04-15T17:48:10.825Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-04-15T17:48:11.430Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.039s coverage: 10.5% of statements [2021-04-15T17:48:16.849Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.842s coverage: 78.4% of statements [2021-04-15T17:48:16.849Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-04-15T17:48:16.849Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.024s coverage: 18.4% of statements [2021-04-15T17:48:16.849Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.029s coverage: 27.3% of statements [2021-04-15T17:48:16.849Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-04-15T17:48:16.849Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-04-15T17:48:16.849Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.031s coverage: 71.7% of statements [2021-04-15T17:48:43.630Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.082s coverage: 81.9% of statements [2021-04-15T17:48:43.630Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.024s coverage: 94.4% of statements [2021-04-15T17:48:43.630Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-15T17:48:47.041Z] gofmt -l . [2021-04-15T17:48:47.041Z] [ "`gofmt -l .`" = "" ] [2021-04-15T17:48:47.318Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-15T17:48:47.956Z] $ docker stop --time=1 86ad810d80be6fdb5c8184ff09209e5aac1316d8b47f9214d71a93e1df7e9af2 [2021-04-15T17:48:50.060Z] $ docker rm -f 86ad810d80be6fdb5c8184ff09209e5aac1316d8b47f9214d71a93e1df7e9af2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-15T17:48:50.891Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-15T17:48:50.923Z] Warning: overwriting stash ‘coverage-report’ [2021-04-15T17:48:52.051Z] 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-15T17:48:52.568Z] ---> job-cost.sh [2021-04-15T17:48:52.568Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-eyvp [2021-04-15T17:49:31.804Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-15T17:51:08.549Z] lf-activate-venv(): INFO: Adding /tmp/venv-eyvp/bin to PATH [2021-04-15T17:51:08.549Z] INFO: No Stack... [2021-04-15T17:51:08.549Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-15T17:51:08.549Z] INFO: Archiving Costs [Pipeline] sh [2021-04-15T17:51:08.884Z] + cut -d,+ -f6 [2021-04-15T17:51:08.884Z] cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv [Pipeline] lock [2021-04-15T17:51:08.991Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-787-2-stack-cost] [2021-04-15T17:51:09.000Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-787-2-stack-cost] did not exist. Created. [2021-04-15T17:51:09.000Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-787-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-15T17:51:09.373Z] /w/workspace/app-functions-sdk-go/2@tmp/durable-c28e1882/script.sh: 1: /w/workspace/app-functions-sdk-go/2@tmp/durable-c28e1882/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-15T17:51:09.715Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-15T17:51:09.745Z] Warning: overwriting stash ‘stack-cost’ [2021-04-15T17:51:09.904Z] Stashed 1 file(s) [Pipeline] } [2021-04-15T17:51:09.925Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-787-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-15T17:51:10.344Z] provisioning config files... [2021-04-15T17:51:10.362Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-787@tmp/config2709436920729190553tmp [Pipeline] { [Pipeline] sh [2021-04-15T17:51:10.704Z] + set +x [2021-04-15T17:51:10.704Z] + curl -s https://codecov.io/bash [2021-04-15T17:51:10.704Z] + bash -s -- [2021-04-15T17:51:10.970Z] [2021-04-15T17:51:10.970Z] _____ _ [2021-04-15T17:51:10.970Z] / ____| | | [2021-04-15T17:51:10.970Z] | | ___ __| | ___ ___ _____ __ [2021-04-15T17:51:10.970Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-15T17:51:10.970Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-15T17:51:10.970Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-15T17:51:10.970Z] Bash-1.0.1 [2021-04-15T17:51:10.970Z] [2021-04-15T17:51:10.970Z] [2021-04-15T17:51:10.970Z] ==> git version 2.24.3 found [2021-04-15T17:51:10.970Z] ==> 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-15T17:51:10.970Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-15T17:51:10.970Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-15T17:51:10.970Z] ==> Jenkins CI detected. [2021-04-15T17:51:10.970Z] project root: . [2021-04-15T17:51:10.970Z] --> token set from env [2021-04-15T17:51:10.970Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-15T17:51:10.970Z] ==> Running gcov in . (disable via -X gcov) [2021-04-15T17:51:10.970Z] ==> Python coveragepy not found [2021-04-15T17:51:10.970Z] ==> Searching for coverage reports in: [2021-04-15T17:51:10.970Z] + . [2021-04-15T17:51:10.970Z] -> Found 2 reports [2021-04-15T17:51:10.970Z] ==> Detecting git/mercurial file structure [2021-04-15T17:51:10.970Z] ==> Reading reports [2021-04-15T17:51:10.970Z] + ./app-service-template/coverage.out bytes=1055 [2021-04-15T17:51:10.970Z] + ./coverage.out bytes=86827 [2021-04-15T17:51:10.970Z] ==> Appending adjustments [2021-04-15T17:51:10.970Z] https://docs.codecov.io/docs/fixing-reports [2021-04-15T17:51:11.548Z] + Found adjustments [2021-04-15T17:51:11.548Z] ==> Gzipping contents [2021-04-15T17:51:11.548Z] 16K /tmp/codecov.c8aZY1.gz [2021-04-15T17:51:11.548Z] ==> Uploading reports [2021-04-15T17:51:11.548Z] url: https://codecov.io [2021-04-15T17:51:11.548Z] query: branch=PR-787&commit=0fe18bb418aaaab492f9f8fa3385c8d89a17c8d1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-787%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=787&job=&cmd_args= [2021-04-15T17:51:11.548Z] -> Pinging Codecov [2021-04-15T17:51:11.548Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-787&commit=0fe18bb418aaaab492f9f8fa3385c8d89a17c8d1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-787%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=787&job=&cmd_args= [2021-04-15T17:51:12.499Z] -> Uploading to [2021-04-15T17:51:12.499Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-15/3D8B5DFFC46A037C893635FACE044666/0fe18bb418aaaab492f9f8fa3385c8d89a17c8d1/2f4b35c4-ba9b-481b-9d1d-972ea56b6e68.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210415%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210415T175112Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=057db0643b8d2d5cb6d358504e84c9aa543813f293c8ace940ba105ad84edf02 [2021-04-15T17:51:12.499Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-15T17:51:12.499Z] Dload Upload Total Spent Left Speed [2021-04-15T17:51:12.763Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15301 0 0 100 15301 0 39851 --:--:-- --:--:-- --:--:-- 39950 [2021-04-15T17:51:12.763Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/0fe18bb418aaaab492f9f8fa3385c8d89a17c8d1 [Pipeline] } [2021-04-15T17:51:12.774Z] 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-15T17:51:13.834Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T17:51:14.425Z] ---> package-listing.sh [2021-04-15T17:51:14.425Z] ++ facter osfamily [2021-04-15T17:51:14.425Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-15T17:51:14.425Z] + OS_FAMILY=redhat [2021-04-15T17:51:14.425Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-787 [2021-04-15T17:51:14.425Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-15T17:51:14.425Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-15T17:51:14.425Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-15T17:51:14.425Z] + PACKAGES=/tmp/packages_start.txt [2021-04-15T17:51:14.425Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-787 ']' [2021-04-15T17:51:14.425Z] + PACKAGES=/tmp/packages_end.txt [2021-04-15T17:51:14.425Z] + case "${OS_FAMILY}" in [2021-04-15T17:51:14.425Z] + rpm -qa [2021-04-15T17:51:14.425Z] + sort [2021-04-15T17:51:19.840Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-15T17:51:19.840Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-15T17:51:19.840Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-15T17:51:19.840Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-787 ']' [2021-04-15T17:51:19.840Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-787/archives/ [2021-04-15T17:51:19.840Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-787/archives/ [Pipeline] echo [2021-04-15T17:51:19.856Z] 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-787/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-15T17:51:20.151Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:51:20.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-15T17:51:20.460Z] [2021-04-15T17:51:20.460Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:51:20.785Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-15T17:51:20.785Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-15T17:51:20.785Z] df20fa9351a1: Pulling fs layer [2021-04-15T17:51:20.785Z] 36b3adc4ff6f: Pulling fs layer [2021-04-15T17:51:20.785Z] 8ad3a11d3b57: Pulling fs layer [2021-04-15T17:51:20.785Z] 46f8f816bc3b: Pulling fs layer [2021-04-15T17:51:20.785Z] 93b61091891f: Pulling fs layer [2021-04-15T17:51:20.785Z] 93b9cdb0e59b: Pulling fs layer [2021-04-15T17:51:20.785Z] 5e14af77c1be: Pulling fs layer [2021-04-15T17:51:20.785Z] 01666e4c0597: Pulling fs layer [2021-04-15T17:51:20.785Z] aa168da1d23b: Pulling fs layer [2021-04-15T17:51:20.785Z] 93b9cdb0e59b: Waiting [2021-04-15T17:51:20.785Z] 5e14af77c1be: Waiting [2021-04-15T17:51:20.785Z] 46f8f816bc3b: Waiting [2021-04-15T17:51:20.785Z] 01666e4c0597: Waiting [2021-04-15T17:51:20.785Z] aa168da1d23b: Waiting [2021-04-15T17:51:20.785Z] 93b61091891f: Waiting [2021-04-15T17:51:20.785Z] 36b3adc4ff6f: Verifying Checksum [2021-04-15T17:51:20.785Z] 36b3adc4ff6f: Download complete [2021-04-15T17:51:20.785Z] 46f8f816bc3b: Verifying Checksum [2021-04-15T17:51:20.785Z] 46f8f816bc3b: Download complete [2021-04-15T17:51:20.785Z] df20fa9351a1: Verifying Checksum [2021-04-15T17:51:20.785Z] df20fa9351a1: Download complete [2021-04-15T17:51:21.051Z] 93b9cdb0e59b: Verifying Checksum [2021-04-15T17:51:21.051Z] 93b9cdb0e59b: Download complete [2021-04-15T17:51:21.051Z] 5e14af77c1be: Verifying Checksum [2021-04-15T17:51:21.051Z] 5e14af77c1be: Download complete [2021-04-15T17:51:21.051Z] 93b61091891f: Download complete [2021-04-15T17:51:21.051Z] 01666e4c0597: Verifying Checksum [2021-04-15T17:51:21.051Z] 01666e4c0597: Download complete [2021-04-15T17:51:21.051Z] 8ad3a11d3b57: Verifying Checksum [2021-04-15T17:51:21.051Z] 8ad3a11d3b57: Download complete [2021-04-15T17:51:21.337Z] df20fa9351a1: Pull complete [2021-04-15T17:51:21.604Z] 36b3adc4ff6f: Pull complete [2021-04-15T17:51:22.590Z] 8ad3a11d3b57: Pull complete [2021-04-15T17:51:22.866Z] 46f8f816bc3b: Pull complete [2021-04-15T17:51:23.143Z] aa168da1d23b: Download complete [2021-04-15T17:51:23.143Z] 93b61091891f: Pull complete [2021-04-15T17:51:23.408Z] 93b9cdb0e59b: Pull complete [2021-04-15T17:51:23.408Z] 5e14af77c1be: Pull complete [2021-04-15T17:51:23.672Z] 01666e4c0597: Pull complete [2021-04-15T17:51:31.873Z] aa168da1d23b: Pull complete [2021-04-15T17:51:31.873Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-15T17:51:31.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-15T17:51:31.873Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-15T17:51:32.063Z] prd-centos7-docker-4c-2g-311 does not seem to be running inside a container [2021-04-15T17:51:32.133Z] $ 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-787/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-787 -v /w/workspace/ndry_app-functions-sdk-go_PR-787:/w/workspace/ndry_app-functions-sdk-go_PR-787:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-787@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-787@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-15T17:51:35.239Z] $ docker top e4cb6ab28058b9fac0ea240b6efcd5269ceead975fcf6f4ca7dfe69874dc8f33 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-15T17:51:35.726Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-15T17:51:36.027Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-15T17:51:36.328Z] + ls /var/log/sa-host [2021-04-15T17:51:36.328Z] + sadf -c /var/log/sa-host/sa15 [2021-04-15T17:51:36.328Z] file_magic: OK [2021-04-15T17:51:36.328Z] HZ: Using current value: 100 [2021-04-15T17:51:36.328Z] file_header: OK [2021-04-15T17:51:36.328Z] 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-15T17:51:36.328Z] Statistics: [2021-04-15T17:51:36.328Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-15T17:51:36.328Z] File successfully converted to sysstat format version 12.2.1 [2021-04-15T17:51:36.328Z] + sadf -c /var/log/sa-host/sa23 [2021-04-15T17:51:36.328Z] file_magic: OK [2021-04-15T17:51:36.328Z] HZ: Using current value: 100 [2021-04-15T17:51:36.328Z] file_header: OK [2021-04-15T17:51:36.328Z] 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-15T17:51:36.328Z] Statistics: [2021-04-15T17:51:36.328Z] Hnuu...uuuununununu... [2021-04-15T17:51:36.328Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-15T17:51:36.497Z] provisioning config files... [2021-04-15T17:51:36.516Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-787@tmp/config4114293466581667119tmp [Pipeline] { [Pipeline] echo [2021-04-15T17:51:36.540Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T17:51:36.841Z] ---> create-netrc.sh [Pipeline] } [2021-04-15T17:51:36.851Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-15T17:51:36.877Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T17:51:37.180Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-15T17:51:37.200Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T17:51:37.501Z] ---> sudo-logs.sh [2021-04-15T17:51:37.501Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-15T17:51:37.544Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T17:51:37.845Z] ---> job-cost.sh [2021-04-15T17:51:37.845Z] lf-activate-venv: SKIPPING [2021-04-15T17:51:37.845Z] DEBUG: total: 0.20999999344348907 [2021-04-15T17:51:37.845Z] INFO: Retrieving Stack Cost... [2021-04-15T17:51:38.795Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-15T17:51:39.370Z] INFO: Archiving Costs [Pipeline] echo [2021-04-15T17:51:39.385Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T17:51:39.694Z] ---> logs-deploy.sh [2021-04-15T17:51:39.695Z] lf-activate-venv: SKIPPING [2021-04-15T17:51:39.695Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-787/2 [2021-04-15T17:51:39.695Z] INFO: archiving workspace using pattern(s): [2021-04-15T17:51:41.626Z] Archives upload complete. [2021-04-15T17:51:41.626Z] INFO: archiving logs to Nexus