Pull request #601 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 617009534888cd92541258c79e78462022b342ac+d78c271fc58e0b0b1163e796583a0e1e72dfcd52 (be58302b47e570e8ef28875eaee4db08648065cb) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-16617 in /w/workspace/ndry_app-functions-sdk-go_PR-601 [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-601 # 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/601/head:refs/remotes/origin/PR-601 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d78c271fc58e0b0b1163e796583a0e1e72dfcd52 into PR head commit 617009534888cd92541258c79e78462022b342ac Merge succeeded, producing b190ecce5d51a47daa1a09113a5202785382782e Checking out Revision b190ecce5d51a47daa1a09113a5202785382782e (PR-601) > git config core.sparsecheckout # timeout=10 > git checkout -f 617009534888cd92541258c79e78462022b342ac # 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 d78c271fc58e0b0b1163e796583a0e1e72dfcd52 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b190ecce5d51a47daa1a09113a5202785382782e # timeout=10 Commit message: "Merge commit 'd78c271fc58e0b0b1163e796583a0e1e72dfcd52' into HEAD" > git rev-list --no-walk 617009534888cd92541258c79e78462022b342ac # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-17T21:19:38.301Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-17T21:19:38.636Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-17T21:19:38.726Z] ========================================================= [2020-12-17T21:19:38.726Z] EdgeX Global Pipelines Version Info [2020-12-17T21:19:38.726Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-17T21:19:40.288Z] ------------------- [2020-12-17T21:19:40.288Z] stable info: [2020-12-17T21:19:40.288Z] ------------------- [2020-12-17T21:19:40.288Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-17T21:19:40.288Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-17T21:19:40.288Z] Message: update stable to v1.0.173 [2020-12-17T21:19:41.240Z] ------------------- [2020-12-17T21:19:41.240Z] experimental info: [2020-12-17T21:19:41.240Z] ------------------- [2020-12-17T21:19:41.240Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-17T21:19:41.240Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-17T21:19:41.240Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-17T21:19:41.502Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-12-17T21:19:41.597Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-12-17T21:19:41.694Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-17T21:19:41.800Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-17T21:19:42.000Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-17T21:19:42.103Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-17T21:19:42.201Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-17T21:19:42.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-17T21:19:42.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-17T21:19:42.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-17T21:19:42.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-17T21:19:42.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-12-17T21:19:42.828Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-17T21:19:42.923Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-17T21:19:43.039Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-12-17T21:19:43.138Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-17T21:19:43.262Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-17T21:19:43.365Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-17T21:19:43.474Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-17T21:19:43.579Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-17T21:19:43.696Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-17T21:19:43.794Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-12-17T21:19:43.893Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-17T21:19:43.997Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-17T21:19:44.096Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-12-17T21:19:44.196Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-17T21:19:44.305Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-17T21:19:44.414Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-601 [Pipeline] echo [2020-12-17T21:19:44.524Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-601 [Pipeline] echo [2020-12-17T21:19:44.619Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-601 [Pipeline] echo [2020-12-17T21:19:44.710Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b190ecce5d51a47daa1a09113a5202785382782e [Pipeline] echo [2020-12-17T21:19:44.799Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b190ecc [Pipeline] echo [2020-12-17T21:19:44.900Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-17T21:19:45.631Z] + git log --format=format:%s -1 b190ecce5d51a47daa1a09113a5202785382782e [Pipeline] echo [2020-12-17T21:19:45.696Z] GIT_COMMIT: b190ecce5d51a47daa1a09113a5202785382782e, Commit Message: Merge commit 'd78c271fc58e0b0b1163e796583a0e1e72dfcd52' into HEAD [Pipeline] echo [2020-12-17T21:19:45.742Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:19:46.389Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-17T21:19:46.651Z] [2020-12-17T21:19:46.651Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:19:46.999Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-17T21:19:46.999Z] latest: Pulling from edgex-devops/git-semver [2020-12-17T21:19:46.999Z] 31603596830f: Pulling fs layer [2020-12-17T21:19:46.999Z] 2a8b12db71e7: Pulling fs layer [2020-12-17T21:19:46.999Z] 6ca5941a6612: Pulling fs layer [2020-12-17T21:19:46.999Z] ecc8261a40a4: Pulling fs layer [2020-12-17T21:19:46.999Z] ecc8261a40a4: Waiting [2020-12-17T21:19:46.999Z] 2a8b12db71e7: Verifying Checksum [2020-12-17T21:19:46.999Z] 2a8b12db71e7: Download complete [2020-12-17T21:19:47.268Z] 31603596830f: Verifying Checksum [2020-12-17T21:19:47.268Z] 31603596830f: Download complete [2020-12-17T21:19:47.268Z] 6ca5941a6612: Verifying Checksum [2020-12-17T21:19:47.268Z] 6ca5941a6612: Download complete [2020-12-17T21:19:47.268Z] ecc8261a40a4: Verifying Checksum [2020-12-17T21:19:47.268Z] ecc8261a40a4: Download complete [2020-12-17T21:19:47.531Z] 31603596830f: Pull complete [2020-12-17T21:19:47.531Z] 2a8b12db71e7: Pull complete [2020-12-17T21:19:48.493Z] 6ca5941a6612: Pull complete [2020-12-17T21:19:48.758Z] ecc8261a40a4: Pull complete [2020-12-17T21:19:48.758Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-17T21:19:48.758Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-17T21:19:48.758Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-17T21:19:48.855Z] prd-centos7-docker-4c-2g-16617 does not seem to be running inside a container [2020-12-17T21:19:48.908Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-601 -v /w/workspace/ndry_app-functions-sdk-go_PR-601:/w/workspace/ndry_app-functions-sdk-go_PR-601:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-601@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-601@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 [2020-12-17T21:19:50.615Z] $ docker top a2a46473fb7d41104197ac56233c452a58a7cc9b2257e708dba95f4dd1068d0e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-17T21:19:50.920Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-17T21:19:50.920Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-17T21:19:51.149Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-17T21:19:51.153Z] $ docker exec a2a46473fb7d41104197ac56233c452a58a7cc9b2257e708dba95f4dd1068d0e ssh-agent [2020-12-17T21:19:51.315Z] SSH_AUTH_SOCK=/tmp/ssh-acbW9RB2DYBQ/agent.11 [2020-12-17T21:19:51.315Z] SSH_AGENT_PID=16 [2020-12-17T21:19:51.324Z] Running ssh-add (command line suppressed) [2020-12-17T21:19:51.437Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-601@tmp/private_key_7873026909254810441.key (/w/workspace/ndry_app-functions-sdk-go_PR-601@tmp/private_key_7873026909254810441.key) [2020-12-17T21:19:51.489Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-17T21:19:51.823Z] + git tag --points-at HEAD [Pipeline] } [2020-12-17T21:19:51.913Z] $ docker exec --env ******** --env ******** a2a46473fb7d41104197ac56233c452a58a7cc9b2257e708dba95f4dd1068d0e ssh-agent -k [2020-12-17T21:19:52.034Z] unset SSH_AUTH_SOCK; [2020-12-17T21:19:52.034Z] unset SSH_AGENT_PID; [2020-12-17T21:19:52.034Z] echo Agent pid 16 killed; [2020-12-17T21:19:52.080Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-17T21:19:52.244Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-17T21:19:52.244Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-17T21:19:52.413Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-17T21:19:52.418Z] $ docker exec a2a46473fb7d41104197ac56233c452a58a7cc9b2257e708dba95f4dd1068d0e ssh-agent [2020-12-17T21:19:52.668Z] SSH_AUTH_SOCK=/tmp/ssh-rqulVCm9TlIt/agent.46 [2020-12-17T21:19:52.668Z] SSH_AGENT_PID=52 [2020-12-17T21:19:52.686Z] Running ssh-add (command line suppressed) [2020-12-17T21:19:52.816Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-601@tmp/private_key_3767003077504581059.key (/w/workspace/ndry_app-functions-sdk-go_PR-601@tmp/private_key_3767003077504581059.key) [2020-12-17T21:19:52.897Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-17T21:19:53.275Z] + git semver init [2020-12-17T21:19:53.276Z] # -> Open(): unable to determine branch for HEAD [2020-12-17T21:19:53.276Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-601/.git [2020-12-17T21:19:53.276Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-601 [2020-12-17T21:19:53.276Z] # $SEMVER_REMOTE_NAME = origin [2020-12-17T21:19:53.276Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-17T21:19:53.276Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-17T21:19:53.276Z] # $SEMVER_BRANCH = PR-601 [2020-12-17T21:19:53.276Z] # $SEMVER_TEMP = /tmp/semver-932655057 [2020-12-17T21:19:53.276Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-12-17T21:19:55.901Z] # '/tmp/semver-932655057' -> '/w/workspace/ndry_app-functions-sdk-go_PR-601/.semver' [2020-12-17T21:19:55.902Z] # -> Force: false [2020-12-17T21:19:55.902Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-601/.semver [Pipeline] } [2020-12-17T21:19:55.916Z] $ docker exec --env ******** --env ******** a2a46473fb7d41104197ac56233c452a58a7cc9b2257e708dba95f4dd1068d0e ssh-agent -k [2020-12-17T21:19:56.050Z] unset SSH_AUTH_SOCK; [2020-12-17T21:19:56.051Z] unset SSH_AGENT_PID; [2020-12-17T21:19:56.051Z] echo Agent pid 52 killed; [2020-12-17T21:19:56.146Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-17T21:19:56.639Z] + git semver [Pipeline] } [2020-12-17T21:19:56.663Z] $ docker stop --time=1 a2a46473fb7d41104197ac56233c452a58a7cc9b2257e708dba95f4dd1068d0e [2020-12-17T21:19:58.159Z] $ docker rm -f a2a46473fb7d41104197ac56233c452a58a7cc9b2257e708dba95f4dd1068d0e [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-17T21:19:58.713Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-17T21:19:59.236Z] Stashed 1 file(s) [Pipeline] echo [2020-12-17T21:19:59.239Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-12-17T21:20:14.767Z] Still waiting to schedule task [2020-12-17T21:20:14.767Z] ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-16613’ is offline; ‘prd-centos7-docker-4c-2g-16615’ is offline; ‘prd-centos7-docker-4c-2g-16619’ is offline; ‘prd-centos7-docker-4c-2g-16620’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-16614’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-12-17T21:20:14.772Z] Still waiting to schedule task [2020-12-17T21:20:14.772Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-16614’ is offline [2020-12-17T21:21:19.992Z] Running on prd-centos7-docker-4c-2g-16623 in /w/workspace/ndry_app-functions-sdk-go_PR-601 [Pipeline] { [Pipeline] ws [2020-12-17T21:21:20.115Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-12-17T21:21:23.184Z] using credential edgex-jenkins-ssh [2020-12-17T21:21:23.264Z] Cloning the remote Git repository [2020-12-17T21:21:23.095Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-17T21:21:23.208Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2020-12-17T21:21:23.281Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-17T21:21:23.282Z] > git --version # timeout=10 [2020-12-17T21:21:23.288Z] > git --version # 'git version 2.24.3' [2020-12-17T21:21:23.288Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-17T21:21:23.335Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-17T21:21:25.368Z] Merging remotes/origin/master commit d78c271fc58e0b0b1163e796583a0e1e72dfcd52 into PR head commit 617009534888cd92541258c79e78462022b342ac [2020-12-17T21:21:25.481Z] Merge succeeded, producing 84dcb08e6b9e40c6d282b973495441c2ecdbe62d [2020-12-17T21:21:25.481Z] Checking out Revision 84dcb08e6b9e40c6d282b973495441c2ecdbe62d (PR-601) [2020-12-17T21:21:24.887Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-17T21:21:24.892Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-17T21:21:24.908Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-17T21:21:24.929Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-17T21:21:24.929Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-17T21:21:24.933Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/601/head:refs/remotes/origin/PR-601 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-17T21:21:25.339Z] > git config core.sparsecheckout # timeout=10 [2020-12-17T21:21:25.346Z] > git checkout -f 617009534888cd92541258c79e78462022b342ac # timeout=10 [2020-12-17T21:21:25.398Z] > git remote # timeout=10 [2020-12-17T21:21:25.403Z] > git config --get remote.origin.url # timeout=10 [2020-12-17T21:21:25.410Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-17T21:21:25.414Z] > git merge d78c271fc58e0b0b1163e796583a0e1e72dfcd52 # timeout=10 [2020-12-17T21:21:25.446Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-17T21:21:25.456Z] > git config core.sparsecheckout # timeout=10 [2020-12-17T21:21:25.459Z] > git checkout -f 84dcb08e6b9e40c6d282b973495441c2ecdbe62d # timeout=10 [2020-12-17T21:21:29.190Z] Commit message: "Merge commit 'd78c271fc58e0b0b1163e796583a0e1e72dfcd52' into HEAD" [2020-12-17T21:21:29.197Z] > git rev-list --no-walk 617009534888cd92541258c79e78462022b342ac # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-17T21:21:30.748Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-17T21:21:31.088Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-17T21:21:31.399Z] + sudo service docker restart [2020-12-17T21:21:31.399Z] + true [2020-12-17T21:21:31.399Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2020-12-17T21:21:32.591Z] ========================================================= [2020-12-17T21:21:32.591Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-17T21:21:32.591Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:21:32.943Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-12-17T21:21:33.523Z] Sending build context to Docker daemon 19.15MB [2020-12-17T21:21:33.523Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-17T21:21:33.523Z] Step 2/8 : FROM ${BASE} [2020-12-17T21:21:33.523Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-17T21:21:33.523Z] 188c0c94c7c5: Pulling fs layer [2020-12-17T21:21:33.523Z] 0ef7d3d256c8: Pulling fs layer [2020-12-17T21:21:33.523Z] de9db76c5a1d: Pulling fs layer [2020-12-17T21:21:33.523Z] bca2f99d35d6: Pulling fs layer [2020-12-17T21:21:33.523Z] 93359f2a8cfa: Pulling fs layer [2020-12-17T21:21:33.523Z] 7c6f9722023f: Pulling fs layer [2020-12-17T21:21:33.523Z] a35cf1a2eb13: Pulling fs layer [2020-12-17T21:21:33.523Z] bca2f99d35d6: Waiting [2020-12-17T21:21:33.523Z] a35cf1a2eb13: Waiting [2020-12-17T21:21:33.523Z] 93359f2a8cfa: Waiting [2020-12-17T21:21:33.523Z] 7c6f9722023f: Waiting [2020-12-17T21:21:33.789Z] de9db76c5a1d: Verifying Checksum [2020-12-17T21:21:33.789Z] de9db76c5a1d: Download complete [2020-12-17T21:21:33.789Z] 0ef7d3d256c8: Verifying Checksum [2020-12-17T21:21:33.789Z] 0ef7d3d256c8: Download complete [2020-12-17T21:21:33.789Z] 93359f2a8cfa: Download complete [2020-12-17T21:21:33.789Z] 7c6f9722023f: Verifying Checksum [2020-12-17T21:21:33.789Z] 7c6f9722023f: Download complete [2020-12-17T21:21:33.789Z] 188c0c94c7c5: Verifying Checksum [2020-12-17T21:21:33.789Z] 188c0c94c7c5: Download complete [2020-12-17T21:21:34.058Z] 188c0c94c7c5: Pull complete [2020-12-17T21:21:34.332Z] 0ef7d3d256c8: Pull complete [2020-12-17T21:21:34.332Z] de9db76c5a1d: Pull complete [2020-12-17T21:21:36.277Z] a35cf1a2eb13: Verifying Checksum [2020-12-17T21:21:36.277Z] a35cf1a2eb13: Download complete [2020-12-17T21:21:36.542Z] bca2f99d35d6: Verifying Checksum [2020-12-17T21:21:36.542Z] bca2f99d35d6: Download complete [2020-12-17T21:21:41.901Z] bca2f99d35d6: Pull complete [2020-12-17T21:21:42.182Z] 93359f2a8cfa: Pull complete [2020-12-17T21:21:42.182Z] 7c6f9722023f: Pull complete [2020-12-17T21:21:46.515Z] a35cf1a2eb13: Pull complete [2020-12-17T21:21:46.515Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-17T21:21:46.515Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-17T21:21:46.515Z] ---> a62c8e92a672 [2020-12-17T21:21:46.515Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-17T21:21:46.515Z] latest: Pulling from library/docker [2020-12-17T21:21:46.515Z] 05e7bc50f07f: Pulling fs layer [2020-12-17T21:21:46.515Z] 6db28d0fdbf6: Pulling fs layer [2020-12-17T21:21:46.515Z] 292df0bc6bf3: Pulling fs layer [2020-12-17T21:21:46.515Z] a3104fdc50d0: Pulling fs layer [2020-12-17T21:21:46.515Z] a8e67d69e12c: Pulling fs layer [2020-12-17T21:21:46.515Z] 1ede2b221ee4: Pulling fs layer [2020-12-17T21:21:46.515Z] fc74c0d5b799: Pulling fs layer [2020-12-17T21:21:46.515Z] a8e67d69e12c: Waiting [2020-12-17T21:21:46.515Z] fc74c0d5b799: Waiting [2020-12-17T21:21:46.515Z] 1ede2b221ee4: Waiting [2020-12-17T21:21:46.515Z] a3104fdc50d0: Waiting [2020-12-17T21:21:46.515Z] 292df0bc6bf3: Verifying Checksum [2020-12-17T21:21:46.515Z] 292df0bc6bf3: Download complete [2020-12-17T21:21:46.515Z] 05e7bc50f07f: Verifying Checksum [2020-12-17T21:21:46.515Z] 05e7bc50f07f: Download complete [2020-12-17T21:21:46.515Z] 6db28d0fdbf6: Verifying Checksum [2020-12-17T21:21:46.515Z] 6db28d0fdbf6: Download complete [2020-12-17T21:21:46.515Z] a8e67d69e12c: Verifying Checksum [2020-12-17T21:21:46.515Z] a8e67d69e12c: Download complete [2020-12-17T21:21:46.515Z] fc74c0d5b799: Verifying Checksum [2020-12-17T21:21:46.515Z] fc74c0d5b799: Download complete [2020-12-17T21:21:46.797Z] 1ede2b221ee4: Verifying Checksum [2020-12-17T21:21:46.797Z] 1ede2b221ee4: Download complete [2020-12-17T21:21:46.797Z] 05e7bc50f07f: Pull complete [2020-12-17T21:21:47.063Z] 6db28d0fdbf6: Pull complete [2020-12-17T21:21:47.327Z] 292df0bc6bf3: Pull complete [2020-12-17T21:21:47.590Z] a3104fdc50d0: Verifying Checksum [2020-12-17T21:21:47.590Z] a3104fdc50d0: Download complete [2020-12-17T21:21:50.967Z] a3104fdc50d0: Pull complete [2020-12-17T21:21:51.235Z] a8e67d69e12c: Pull complete [2020-12-17T21:21:51.235Z] 1ede2b221ee4: Pull complete [2020-12-17T21:21:51.498Z] fc74c0d5b799: Pull complete [2020-12-17T21:21:51.498Z] Digest: sha256:2150209ece9a657dd6d7572b659b2eace81e78d15289a9e69bd26d0f8098dde0 [2020-12-17T21:21:51.498Z] Status: Downloaded newer image for docker:latest [2020-12-17T21:21:52.902Z] ---> f29cb08c7bd5 [2020-12-17T21:21:52.902Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-17T21:21:52.902Z] ---> Running in 2f06bc5a4f76 [2020-12-17T21:21:52.902Z] Removing intermediate container 2f06bc5a4f76 [2020-12-17T21:21:52.902Z] ---> dbd4d71cb456 [2020-12-17T21:21:52.902Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-12-17T21:21:53.167Z] ---> Running in 70d43b65ae55 [2020-12-17T21:21:53.746Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-17T21:21:54.698Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-17T21:21:55.274Z] (1/5) Installing libsodium (1.0.18-r0) [2020-12-17T21:21:55.274Z] (2/5) Installing libzmq (4.3.3-r0) [2020-12-17T21:21:55.538Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-12-17T21:21:55.538Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-12-17T21:21:55.801Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-12-17T21:21:55.801Z] Executing busybox-1.31.1-r19.trigger [2020-12-17T21:21:55.801Z] OK: 167 MiB in 44 packages [2020-12-17T21:21:56.383Z] Removing intermediate container 70d43b65ae55 [2020-12-17T21:21:56.383Z] ---> a7a305ae318b [2020-12-17T21:21:56.383Z] Step 6/8 : WORKDIR /build [2020-12-17T21:21:56.383Z] ---> Running in df833a18d92b [2020-12-17T21:21:56.645Z] Removing intermediate container df833a18d92b [2020-12-17T21:21:56.645Z] ---> 19194cbfe91d [2020-12-17T21:21:56.645Z] Step 7/8 : COPY go.mod . [2020-12-17T21:21:56.912Z] ---> 46b634e90d98 [2020-12-17T21:21:56.912Z] Step 8/8 : RUN go mod download [2020-12-17T21:21:56.912Z] ---> Running in 48a86a9d5f98 [2020-12-17T21:22:18.987Z] Removing intermediate container 48a86a9d5f98 [2020-12-17T21:22:18.987Z] ---> 5bc4e7aaa300 [2020-12-17T21:22:19.272Z] Successfully built 5bc4e7aaa300 [2020-12-17T21:22:19.272Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:22:19.621Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-17T21:22:19.621Z] . [Pipeline] withDockerContainer [2020-12-17T21:22:19.760Z] prd-centos7-docker-4c-2g-16623 does not seem to be running inside a container [2020-12-17T21:22:19.815Z] $ 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 [2020-12-17T21:22:20.765Z] $ docker top 6d667b91282ca2d7951641fd66005540472774322cea6af45afbfcaded8e8f44 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-17T21:22:21.369Z] + go version [2020-12-17T21:22:21.369Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-17T21:22:21.387Z] $ docker stop --time=1 6d667b91282ca2d7951641fd66005540472774322cea6af45afbfcaded8e8f44 [2020-12-17T21:22:22.749Z] $ docker rm -f 6d667b91282ca2d7951641fd66005540472774322cea6af45afbfcaded8e8f44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:22:23.619Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-17T21:22:23.619Z] . [Pipeline] withDockerContainer [2020-12-17T21:22:23.721Z] prd-centos7-docker-4c-2g-16623 does not seem to be running inside a container [2020-12-17T21:22:23.771Z] $ 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 [2020-12-17T21:22:24.533Z] $ docker top efa80165fca6c578563210b2a588916f6b8eefd7247a1e9c3c6c043320e99b07 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-17T21:22:25.033Z] + make test [2020-12-17T21:22:25.033Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-17T21:22:26.440Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-12-17T21:22:33.221Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.012s coverage: 86.2% of statements [2020-12-17T21:22:44.754Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16625 in /w/workspace/ndry_app-functions-sdk-go_PR-601 [Pipeline] { [Pipeline] ws [2020-12-17T21:22:44.812Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-12-17T21:22:45.577Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.022s coverage: 50.5% of statements [2020-12-17T21:22:45.577Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-12-17T21:22:45.577Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-12-17T21:22:45.577Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.029s coverage: 54.7% of statements [2020-12-17T21:22:45.577Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-12-17T21:22:45.577Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.021s coverage: 69.1% of statements [2020-12-17T21:22:50.184Z] using credential edgex-jenkins-ssh [2020-12-17T21:22:50.320Z] Cloning the remote Git repository [2020-12-17T21:22:50.425Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-17T21:22:50.536Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2020-12-17T21:22:50.607Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-17T21:22:50.609Z] > git --version # timeout=10 [2020-12-17T21:22:50.627Z] > git --version # 'git version 2.17.1' [2020-12-17T21:22:50.629Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-17T21:22:50.716Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-17T21:22:53.737Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-17T21:22:53.753Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-17T21:22:53.775Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-17T21:22:53.814Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-17T21:22:53.814Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-17T21:22:54.426Z] Merging remotes/origin/master commit d78c271fc58e0b0b1163e796583a0e1e72dfcd52 into PR head commit 617009534888cd92541258c79e78462022b342ac [2020-12-17T21:22:54.767Z] Merge succeeded, producing bde973c42ad2932e8595a0583cfd1d042fba0c51 [2020-12-17T21:22:54.768Z] Checking out Revision bde973c42ad2932e8595a0583cfd1d042fba0c51 (PR-601) [2020-12-17T21:22:53.828Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/601/head:refs/remotes/origin/PR-601 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-17T21:22:54.450Z] > git config core.sparsecheckout # timeout=10 [2020-12-17T21:22:54.461Z] > git checkout -f 617009534888cd92541258c79e78462022b342ac # timeout=10 [2020-12-17T21:22:54.584Z] > git remote # timeout=10 [2020-12-17T21:22:54.613Z] > git config --get remote.origin.url # timeout=10 [2020-12-17T21:22:54.630Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-17T21:22:54.651Z] > git merge d78c271fc58e0b0b1163e796583a0e1e72dfcd52 # timeout=10 [2020-12-17T21:22:54.750Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-17T21:22:54.779Z] > git config core.sparsecheckout # timeout=10 [2020-12-17T21:22:54.792Z] > git checkout -f bde973c42ad2932e8595a0583cfd1d042fba0c51 # timeout=10 [2020-12-17T21:22:57.860Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.419s coverage: 61.6% of statements [2020-12-17T21:22:57.860Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.006s coverage: 89.5% of statements [2020-12-17T21:22:57.860Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements [2020-12-17T21:22:57.860Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.015s coverage: 100.0% of statements [2020-12-17T21:22:57.860Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.006s coverage: 100.0% of statements [2020-12-17T21:22:57.860Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements [2020-12-17T21:22:57.860Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-12-17T21:22:57.860Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-12-17T21:22:57.860Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-12-17T21:22:57.860Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-12-17T21:22:57.860Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-12-17T21:22:57.860Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-12-17T21:22:57.860Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-12-17T21:22:57.860Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.005s coverage: 97.7% of statements [2020-12-17T21:22:57.860Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-12-17T21:22:57.860Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-12-17T21:22:57.860Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.008s coverage: 8.8% of statements [2020-12-17T21:22:57.860Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.917s coverage: 75.0% of statements [2020-12-17T21:22:57.860Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-12-17T21:22:57.860Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.013s coverage: 89.7% of statements [2020-12-17T21:22:57.860Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.009s coverage: 88.9% of statements [2020-12-17T21:22:57.860Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.012s coverage: 80.5% of statements [2020-12-17T21:22:57.860Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.007s coverage: 71.7% of statements [2020-12-17T21:22:59.137Z] Commit message: "Merge commit 'd78c271fc58e0b0b1163e796583a0e1e72dfcd52' into HEAD" [2020-12-17T21:22:59.149Z] > git rev-list --no-walk 617009534888cd92541258c79e78462022b342ac # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-17T21:23:01.079Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-17T21:23:01.546Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-17T21:23:01.914Z] + true [2020-12-17T21:23:01.914Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2020-12-17T21:23:04.848Z] ========================================================= [2020-12-17T21:23:04.848Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-17T21:23:04.848Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:23:05.238Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-12-17T21:23:06.226Z] Sending build context to Docker daemon 19.15MB [2020-12-17T21:23:06.226Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-17T21:23:06.226Z] Step 2/8 : FROM ${BASE} [2020-12-17T21:23:06.825Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-17T21:23:06.825Z] 5f621e34cdf4: Pulling fs layer [2020-12-17T21:23:06.825Z] a4357932f1b6: Pulling fs layer [2020-12-17T21:23:06.825Z] 18c013af1878: Pulling fs layer [2020-12-17T21:23:06.825Z] 00ac8860ef70: Pulling fs layer [2020-12-17T21:23:06.825Z] 63d7cb157983: Pulling fs layer [2020-12-17T21:23:06.825Z] b116817d02f9: Pulling fs layer [2020-12-17T21:23:06.825Z] 745a02a5169b: Pulling fs layer [2020-12-17T21:23:06.825Z] 63d7cb157983: Waiting [2020-12-17T21:23:06.825Z] b116817d02f9: Waiting [2020-12-17T21:23:06.825Z] 745a02a5169b: Waiting [2020-12-17T21:23:06.825Z] 00ac8860ef70: Waiting [2020-12-17T21:23:06.825Z] 18c013af1878: Verifying Checksum [2020-12-17T21:23:06.825Z] 18c013af1878: Download complete [2020-12-17T21:23:06.825Z] a4357932f1b6: Download complete [2020-12-17T21:23:06.825Z] 63d7cb157983: Verifying Checksum [2020-12-17T21:23:06.825Z] 63d7cb157983: Download complete [2020-12-17T21:23:06.825Z] b116817d02f9: Verifying Checksum [2020-12-17T21:23:06.825Z] b116817d02f9: Download complete [2020-12-17T21:23:06.825Z] 5f621e34cdf4: Verifying Checksum [2020-12-17T21:23:06.825Z] 5f621e34cdf4: Download complete [2020-12-17T21:23:07.811Z] 5f621e34cdf4: Pull complete [2020-12-17T21:23:08.089Z] a4357932f1b6: Pull complete [2020-12-17T21:23:08.699Z] 18c013af1878: Pull complete [2020-12-17T21:23:08.974Z] 745a02a5169b: Verifying Checksum [2020-12-17T21:23:08.974Z] 745a02a5169b: Download complete [2020-12-17T21:23:11.707Z] 00ac8860ef70: Verifying Checksum [2020-12-17T21:23:11.707Z] 00ac8860ef70: Download complete [2020-12-17T21:23:16.044Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.044s coverage: 81.6% of statements [2020-12-17T21:23:16.044Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2020-12-17T21:23:16.044Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-12-17T21:23:17.022Z] gofmt -l . [2020-12-17T21:23:17.022Z] [ "`gofmt -l .`" = "" ] [2020-12-17T21:23:17.293Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-17T21:23:17.578Z] $ docker stop --time=1 efa80165fca6c578563210b2a588916f6b8eefd7247a1e9c3c6c043320e99b07 [2020-12-17T21:23:19.289Z] $ docker rm -f efa80165fca6c578563210b2a588916f6b8eefd7247a1e9c3c6c043320e99b07 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-17T21:23:19.896Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-17T21:23:20.324Z] Stashed 1 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [2020-12-17T21:23:21.949Z] 00ac8860ef70: Pull complete [Pipeline] } [2020-12-17T21:23:22.233Z] 63d7cb157983: Pull complete [2020-12-17T21:23:22.515Z] b116817d02f9: Pull complete [2020-12-17T21:23:25.917Z] 745a02a5169b: Pull complete [2020-12-17T21:23:25.917Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-17T21:23:25.917Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-17T21:23:25.917Z] ---> b7e6874047d6 [2020-12-17T21:23:25.917Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-17T21:23:26.190Z] latest: Pulling from library/docker [2020-12-17T21:23:26.190Z] a3cc7d3b244e: Pulling fs layer [2020-12-17T21:23:26.190Z] 02a3295e0d61: Pulling fs layer [2020-12-17T21:23:26.190Z] 0f4f2e6d8100: Pulling fs layer [2020-12-17T21:23:26.190Z] 065c9533d613: Pulling fs layer [2020-12-17T21:23:26.190Z] 9fce0df16b8b: Pulling fs layer [2020-12-17T21:23:26.190Z] e3faa53604c1: Pulling fs layer [2020-12-17T21:23:26.190Z] 04b5adaa2053: Pulling fs layer [2020-12-17T21:23:26.190Z] 065c9533d613: Waiting [2020-12-17T21:23:26.191Z] 9fce0df16b8b: Waiting [2020-12-17T21:23:26.191Z] e3faa53604c1: Waiting [2020-12-17T21:23:26.191Z] 04b5adaa2053: Waiting [2020-12-17T21:23:26.191Z] 0f4f2e6d8100: Verifying Checksum [2020-12-17T21:23:26.191Z] 0f4f2e6d8100: Download complete [2020-12-17T21:23:26.466Z] 02a3295e0d61: Download complete [2020-12-17T21:23:26.466Z] 9fce0df16b8b: Verifying Checksum [2020-12-17T21:23:26.466Z] 9fce0df16b8b: Download complete [2020-12-17T21:23:26.466Z] e3faa53604c1: Verifying Checksum [2020-12-17T21:23:26.466Z] e3faa53604c1: Download complete [2020-12-17T21:23:26.466Z] 04b5adaa2053: Verifying Checksum [2020-12-17T21:23:26.466Z] 04b5adaa2053: Download complete [2020-12-17T21:23:26.466Z] a3cc7d3b244e: Download complete [2020-12-17T21:23:27.451Z] a3cc7d3b244e: Pull complete [2020-12-17T21:23:28.048Z] 02a3295e0d61: Pull complete [2020-12-17T21:23:28.650Z] 0f4f2e6d8100: Pull complete [2020-12-17T21:23:28.650Z] 065c9533d613: Download complete [2020-12-17T21:23:32.055Z] 065c9533d613: Pull complete [2020-12-17T21:23:32.655Z] 9fce0df16b8b: Pull complete [2020-12-17T21:23:32.929Z] e3faa53604c1: Pull complete [2020-12-17T21:23:33.527Z] 04b5adaa2053: Pull complete [2020-12-17T21:23:33.527Z] Digest: sha256:2150209ece9a657dd6d7572b659b2eace81e78d15289a9e69bd26d0f8098dde0 [2020-12-17T21:23:33.527Z] Status: Downloaded newer image for docker:latest [2020-12-17T21:23:41.910Z] ---> c174e5be32b0 [2020-12-17T21:23:41.910Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-17T21:23:41.910Z] ---> Running in 9927b777bf3d [2020-12-17T21:23:41.910Z] Removing intermediate container 9927b777bf3d [2020-12-17T21:23:41.910Z] ---> 2294ff79e187 [2020-12-17T21:23:41.910Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-12-17T21:23:41.910Z] ---> Running in 6ef81c2436d5 [2020-12-17T21:23:43.429Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-17T21:23:44.058Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-17T21:23:45.047Z] (1/5) Installing libsodium (1.0.18-r0) [2020-12-17T21:23:45.047Z] (2/5) Installing libzmq (4.3.3-r0) [2020-12-17T21:23:45.319Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-12-17T21:23:45.319Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-12-17T21:23:45.319Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-12-17T21:23:45.592Z] Executing busybox-1.31.1-r19.trigger [2020-12-17T21:23:45.592Z] OK: 144 MiB in 44 packages [2020-12-17T21:23:47.031Z] Removing intermediate container 6ef81c2436d5 [2020-12-17T21:23:47.031Z] ---> 672f71491c1a [2020-12-17T21:23:47.031Z] Step 6/8 : WORKDIR /build [2020-12-17T21:23:47.031Z] ---> Running in e7595ec1823a [2020-12-17T21:23:47.634Z] Removing intermediate container e7595ec1823a [2020-12-17T21:23:47.634Z] ---> 057bfe8b7341 [2020-12-17T21:23:47.634Z] Step 7/8 : COPY go.mod . [2020-12-17T21:23:48.232Z] ---> 62e40ceb9a40 [2020-12-17T21:23:48.232Z] Step 8/8 : RUN go mod download [2020-12-17T21:23:48.509Z] ---> Running in 751d546a51c7 [2020-12-17T21:24:15.372Z] Removing intermediate container 751d546a51c7 [2020-12-17T21:24:15.372Z] ---> dc215b3ead52 [2020-12-17T21:24:15.372Z] Successfully built dc215b3ead52 [2020-12-17T21:24:15.372Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:24:15.736Z] + docker inspect -f . ci-base-image-arm64 [2020-12-17T21:24:15.736Z] . [Pipeline] withDockerContainer [2020-12-17T21:24:16.036Z] prd-ubuntu18.04-docker-arm64-4c-16g-16625 does not seem to be running inside a container [2020-12-17T21:24:16.128Z] $ 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 [2020-12-17T21:24:17.681Z] $ docker top e0957e5cdedd60d1cb4dd524759d02aca20d3cae0fdf12c809b85ebc536d4c0c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-17T21:24:18.703Z] + go version [2020-12-17T21:24:18.703Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-17T21:24:18.731Z] $ docker stop --time=1 e0957e5cdedd60d1cb4dd524759d02aca20d3cae0fdf12c809b85ebc536d4c0c [2020-12-17T21:24:20.665Z] $ docker rm -f e0957e5cdedd60d1cb4dd524759d02aca20d3cae0fdf12c809b85ebc536d4c0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:24:21.698Z] + docker inspect -f . ci-base-image-arm64 [2020-12-17T21:24:21.698Z] . [Pipeline] withDockerContainer [2020-12-17T21:24:21.968Z] prd-ubuntu18.04-docker-arm64-4c-16g-16625 does not seem to be running inside a container [2020-12-17T21:24:22.062Z] $ 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 [2020-12-17T21:24:23.635Z] $ docker top 9fb269633ebc818efb17b3178b8dd2cff64ad32a20c880d7db2a38a76ee6b75e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-17T21:24:24.703Z] + make test [2020-12-17T21:24:24.703Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-17T21:24:26.794Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-12-17T21:24:53.693Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.051s coverage: 86.2% of statements [2020-12-17T21:25:20.568Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.054s coverage: 50.5% of statements [2020-12-17T21:25:20.568Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-12-17T21:25:20.568Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-12-17T21:25:20.568Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.082s coverage: 54.7% of statements [2020-12-17T21:25:20.568Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-12-17T21:25:20.568Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.051s coverage: 69.1% of statements [2020-12-17T21:25:27.303Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.443s coverage: 61.6% of statements [2020-12-17T21:25:27.303Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.014s coverage: 89.5% of statements [2020-12-17T21:25:27.303Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.030s coverage: 100.0% of statements [2020-12-17T21:25:27.303Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.034s coverage: 100.0% of statements [2020-12-17T21:25:27.303Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.013s coverage: 100.0% of statements [2020-12-17T21:25:27.303Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.012s coverage: 100.0% of statements [2020-12-17T21:25:27.303Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-12-17T21:25:27.303Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-12-17T21:25:27.303Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-12-17T21:25:27.303Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-12-17T21:25:27.303Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-12-17T21:25:27.303Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-12-17T21:25:27.303Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-12-17T21:25:27.303Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.016s coverage: 97.7% of statements [2020-12-17T21:25:27.303Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-12-17T21:25:27.303Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-12-17T21:25:27.303Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.023s coverage: 8.8% of statements [2020-12-17T21:25:27.574Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.940s coverage: 75.0% of statements [2020-12-17T21:25:27.574Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-12-17T21:25:27.574Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.035s coverage: 89.7% of statements [2020-12-17T21:25:27.574Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.024s coverage: 88.9% of statements [2020-12-17T21:25:27.574Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.036s coverage: 80.5% of statements [2020-12-17T21:25:27.574Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.020s coverage: 71.7% of statements [2020-12-17T21:25:54.453Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.060s coverage: 81.6% of statements [2020-12-17T21:25:54.453Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements [2020-12-17T21:25:54.453Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-12-17T21:26:02.751Z] gofmt -l . [2020-12-17T21:26:03.027Z] [ "`gofmt -l .`" = "" ] [2020-12-17T21:26:03.620Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-17T21:26:04.242Z] $ docker stop --time=1 9fb269633ebc818efb17b3178b8dd2cff64ad32a20c880d7db2a38a76ee6b75e [2020-12-17T21:26:06.322Z] $ docker rm -f 9fb269633ebc818efb17b3178b8dd2cff64ad32a20c880d7db2a38a76ee6b75e [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-17T21:26:07.308Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-17T21:26:07.383Z] Warning: overwriting stash ‘coverage-report’ [2020-12-17T21:26:08.297Z] Stashed 1 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] } [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 [2020-12-17T21:26:10.001Z] provisioning config files... [2020-12-17T21:26:10.015Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-601@tmp/config4032471749851040528tmp [Pipeline] { [Pipeline] sh [2020-12-17T21:26:10.414Z] + set +x [2020-12-17T21:26:10.414Z] + curl -s https://codecov.io/bash [2020-12-17T21:26:10.414Z] + bash -s -- [2020-12-17T21:26:10.675Z] [2020-12-17T21:26:10.675Z] _____ _ [2020-12-17T21:26:10.675Z] / ____| | | [2020-12-17T21:26:10.675Z] | | ___ __| | ___ ___ _____ __ [2020-12-17T21:26:10.675Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-17T21:26:10.675Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-17T21:26:10.675Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-17T21:26:10.675Z] Bash-20201217-3d3df35 [2020-12-17T21:26:10.675Z] [2020-12-17T21:26:10.675Z] [2020-12-17T21:26:10.675Z] git version 2.24.3 found [2020-12-17T21:26:10.675Z] 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 [2020-12-17T21:26:10.675Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2020-12-17T21:26:10.675Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets found [2020-12-17T21:26:10.675Z] ==> Jenkins CI detected. [2020-12-17T21:26:10.675Z] project root: . [2020-12-17T21:26:10.675Z] --> token set from env [2020-12-17T21:26:10.675Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-17T21:26:10.675Z] ==> Running gcov in . (disable via -X gcov) [2020-12-17T21:26:10.675Z] ==> Python coveragepy not found [2020-12-17T21:26:10.675Z] ==> Searching for coverage reports in: [2020-12-17T21:26:10.675Z] + . [2020-12-17T21:26:10.675Z] -> Found 1 reports [2020-12-17T21:26:10.675Z] ==> Detecting git/mercurial file structure [2020-12-17T21:26:10.675Z] ==> Reading reports [2020-12-17T21:26:10.675Z] + ./coverage.out bytes=85267 [2020-12-17T21:26:10.675Z] ==> Appending adjustments [2020-12-17T21:26:10.675Z] https://docs.codecov.io/docs/fixing-reports [2020-12-17T21:26:11.250Z] + Found adjustments [2020-12-17T21:26:11.250Z] ==> Gzipping contents [2020-12-17T21:26:11.250Z] 16K /tmp/codecov.2jRNJu.gz [2020-12-17T21:26:11.250Z] ==> Uploading reports [2020-12-17T21:26:11.250Z] url: https://codecov.io [2020-12-17T21:26:11.250Z] query: branch=PR-601&commit=b190ecce5d51a47daa1a09113a5202785382782e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-601%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=601&job=&cmd_args= [2020-12-17T21:26:11.250Z] -> Pinging Codecov [2020-12-17T21:26:11.250Z] https://codecov.io/upload/v4?package=bash-20201217-3d3df35&token=secret&branch=PR-601&commit=b190ecce5d51a47daa1a09113a5202785382782e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-601%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=601&job=&cmd_args= [2020-12-17T21:26:11.512Z] -> Uploading to [2020-12-17T21:26:11.512Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-17/3D8B5DFFC46A037C893635FACE044666/b190ecce5d51a47daa1a09113a5202785382782e/264bf3d2-5355-48df-8b61-a3bfff2db6f7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201217T212611Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ea6b80df1afded2a35bb912b1750cd3f990c325c35a49441d6f4bd776b0f8530 [2020-12-17T21:26:11.512Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-17T21:26:11.512Z] Dload Upload Total Spent Left Speed [2020-12-17T21:26:12.087Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15081 0 0 100 15081 0 35791 --:--:-- --:--:-- --:--:-- 35736 100 15081 0 0 100 15081 0 35776 --:--:-- --:--:-- --:--:-- 35736 [2020-12-17T21:26:12.087Z] -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/b190ecce5d51a47daa1a09113a5202785382782e [Pipeline] } [2020-12-17T21:26:12.096Z] 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 [2020-12-17T21:26:14.596Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T21:26:14.913Z] ---> package-listing.sh [2020-12-17T21:26:14.913Z] ++ facter osfamily [2020-12-17T21:26:14.913Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-17T21:26:14.913Z] + OS_FAMILY=redhat [2020-12-17T21:26:14.913Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-601 [2020-12-17T21:26:14.913Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-17T21:26:14.913Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-17T21:26:14.913Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-17T21:26:14.913Z] + PACKAGES=/tmp/packages_start.txt [2020-12-17T21:26:14.913Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-601 ']' [2020-12-17T21:26:14.913Z] + PACKAGES=/tmp/packages_end.txt [2020-12-17T21:26:14.913Z] + case "${OS_FAMILY}" in [2020-12-17T21:26:14.913Z] + rpm -qa [2020-12-17T21:26:14.913Z] + sort [2020-12-17T21:26:20.228Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-17T21:26:20.228Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-17T21:26:20.228Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-17T21:26:20.228Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-601 ']' [2020-12-17T21:26:20.228Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-601/archives/ [2020-12-17T21:26:20.228Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-601/archives/ [Pipeline] echo [2020-12-17T21:26:20.241Z] 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-601/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-17T21:26:20.526Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:26:20.831Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-17T21:26:20.831Z] [2020-12-17T21:26:20.831Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:26:21.233Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-17T21:26:21.233Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-17T21:26:21.233Z] df20fa9351a1: Pulling fs layer [2020-12-17T21:26:21.233Z] 36b3adc4ff6f: Pulling fs layer [2020-12-17T21:26:21.233Z] 8ad3a11d3b57: Pulling fs layer [2020-12-17T21:26:21.233Z] 46f8f816bc3b: Pulling fs layer [2020-12-17T21:26:21.233Z] 93b61091891f: Pulling fs layer [2020-12-17T21:26:21.233Z] 93b9cdb0e59b: Pulling fs layer [2020-12-17T21:26:21.233Z] 5e14af77c1be: Pulling fs layer [2020-12-17T21:26:21.233Z] 01666e4c0597: Pulling fs layer [2020-12-17T21:26:21.233Z] aa168da1d23b: Pulling fs layer [2020-12-17T21:26:21.233Z] 46f8f816bc3b: Waiting [2020-12-17T21:26:21.233Z] 93b61091891f: Waiting [2020-12-17T21:26:21.233Z] 93b9cdb0e59b: Waiting [2020-12-17T21:26:21.233Z] 01666e4c0597: Waiting [2020-12-17T21:26:21.233Z] aa168da1d23b: Waiting [2020-12-17T21:26:21.233Z] 5e14af77c1be: Waiting [2020-12-17T21:26:21.233Z] 36b3adc4ff6f: Verifying Checksum [2020-12-17T21:26:21.233Z] 36b3adc4ff6f: Download complete [2020-12-17T21:26:21.233Z] 46f8f816bc3b: Verifying Checksum [2020-12-17T21:26:21.233Z] 46f8f816bc3b: Download complete [2020-12-17T21:26:21.233Z] df20fa9351a1: Download complete [2020-12-17T21:26:21.233Z] 93b9cdb0e59b: Verifying Checksum [2020-12-17T21:26:21.233Z] 93b9cdb0e59b: Download complete [2020-12-17T21:26:21.233Z] 5e14af77c1be: Verifying Checksum [2020-12-17T21:26:21.233Z] 5e14af77c1be: Download complete [2020-12-17T21:26:21.496Z] 93b61091891f: Verifying Checksum [2020-12-17T21:26:21.496Z] 93b61091891f: Download complete [2020-12-17T21:26:21.496Z] 01666e4c0597: Verifying Checksum [2020-12-17T21:26:21.496Z] 01666e4c0597: Download complete [2020-12-17T21:26:21.760Z] df20fa9351a1: Pull complete [2020-12-17T21:26:21.760Z] 8ad3a11d3b57: Verifying Checksum [2020-12-17T21:26:21.760Z] 8ad3a11d3b57: Download complete [2020-12-17T21:26:21.760Z] 36b3adc4ff6f: Pull complete [2020-12-17T21:26:22.721Z] 8ad3a11d3b57: Pull complete [2020-12-17T21:26:22.721Z] 46f8f816bc3b: Pull complete [2020-12-17T21:26:23.301Z] aa168da1d23b: Verifying Checksum [2020-12-17T21:26:23.301Z] aa168da1d23b: Download complete [2020-12-17T21:26:23.301Z] 93b61091891f: Pull complete [2020-12-17T21:26:23.562Z] 93b9cdb0e59b: Pull complete [2020-12-17T21:26:24.141Z] 5e14af77c1be: Pull complete [2020-12-17T21:26:24.141Z] 01666e4c0597: Pull complete [2020-12-17T21:26:30.792Z] aa168da1d23b: Pull complete [2020-12-17T21:26:30.792Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-17T21:26:30.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-17T21:26:30.792Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-17T21:26:30.970Z] prd-centos7-docker-4c-2g-16617 does not seem to be running inside a container [2020-12-17T21:26:31.021Z] $ 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-601/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-601 -v /w/workspace/ndry_app-functions-sdk-go_PR-601:/w/workspace/ndry_app-functions-sdk-go_PR-601:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-601@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-601@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 [2020-12-17T21:26:34.393Z] $ docker top 5e7df5f92e6317efa07a343594b7890a5d40bc38f9e0aefe5e77bd23c759882c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-17T21:26:34.890Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-17T21:26:35.189Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-17T21:26:35.486Z] + ls /var/log/sa-host [2020-12-17T21:26:35.486Z] + sadf -c /var/log/sa-host/sa17 [2020-12-17T21:26:35.486Z] file_magic: OK [2020-12-17T21:26:35.486Z] HZ: Using current value: 100 [2020-12-17T21:26:35.486Z] file_header: OK [2020-12-17T21:26:35.486Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-17T21:26:35.486Z] Statistics: [2020-12-17T21:26:35.486Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-17T21:26:35.486Z] File successfully converted to sysstat format version 12.2.1 [2020-12-17T21:26:35.486Z] + sadf -c /var/log/sa-host/sa23 [2020-12-17T21:26:35.486Z] file_magic: OK [2020-12-17T21:26:35.486Z] HZ: Using current value: 100 [2020-12-17T21:26:35.486Z] file_header: OK [2020-12-17T21:26:35.486Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-17T21:26:35.486Z] Statistics: [2020-12-17T21:26:35.486Z] Hnuu...uuuununununu... [2020-12-17T21:26:35.486Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-17T21:26:35.691Z] provisioning config files... [2020-12-17T21:26:35.711Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-601@tmp/config2324590603234584325tmp [Pipeline] { [Pipeline] echo [2020-12-17T21:26:35.790Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T21:26:36.092Z] ---> create-netrc.sh [Pipeline] } [2020-12-17T21:26:36.102Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-17T21:26:36.196Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T21:26:36.492Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-17T21:26:36.502Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T21:26:36.797Z] ---> sudo-logs.sh [2020-12-17T21:26:36.797Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-17T21:26:36.808Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T21:26:37.104Z] ---> job-cost.sh [2020-12-17T21:26:37.104Z] lf-activate-venv: SKIPPING [2020-12-17T21:26:37.104Z] INFO: No Stack... [2020-12-17T21:26:38.529Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-17T21:26:38.803Z] INFO: Archiving Costs [Pipeline] echo [2020-12-17T21:26:38.825Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T21:26:39.131Z] ---> logs-deploy.sh [2020-12-17T21:26:39.132Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-601/2 [2020-12-17T21:26:39.132Z] INFO: archiving workspace using pattern(s): [2020-12-17T21:26:41.059Z] Archives upload complete. [2020-12-17T21:26:41.059Z] INFO: archiving logs to Nexus