Pull request #938 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 82dd4a40f68d56724c0c860592e687c32cd20b4d+4d6967253c42c2a443b56733e0120e3dc957a25e (8ae4222fe8475df0ecd06c09fce099c2d6781ec0) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8874935695320541077.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8738210395431997032.key > 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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-938/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-938/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2993706223887231301.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh169682502843239462.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-938/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-938/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6502877541495016972.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk 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 ‘prd-centos7-docker-4c-2g-712’ Running on prd-centos7-docker-4c-2g-720 in /w/workspace/ndry_app-functions-sdk-go_PR-938 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-938 # 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.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/jenkins-gitclient-ssh3305162123329192914.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4d6967253c42c2a443b56733e0120e3dc957a25e into PR head commit 82dd4a40f68d56724c0c860592e687c32cd20b4d > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/jenkins-gitclient-ssh3106784656781161095.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/938/head:refs/remotes/origin/PR-938 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 82dd4a40f68d56724c0c860592e687c32cd20b4d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/jenkins-gitclient-ssh443574401860705598.key Merge succeeded, producing 82dd4a40f68d56724c0c860592e687c32cd20b4d Checking out Revision 82dd4a40f68d56724c0c860592e687c32cd20b4d (PR-938) > git merge 4d6967253c42c2a443b56733e0120e3dc957a25e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 82dd4a40f68d56724c0c860592e687c32cd20b4d # timeout=10 Commit message: "feat: Add Pipeline per Topic capability" First time build. Skipping changelog. > git rev-list --no-walk 314f7188a5aaa180fb4c70faf4d2969a3f909372 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:00:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:00:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:00:58 ========================================================= 21:00:58 EdgeX Global Pipelines Version Info 21:00:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:00:59 ------------------- 21:00:59 stable info: 21:00:59 ------------------- 21:00:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:00:59 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 21:00:59 Message: update stable to v1.0.205 21:01:00 ------------------- 21:01:00 experimental info: 21:01:00 ------------------- 21:01:00 Commited By: **** collab-it+edgex@linuxfoundation.org 21:01:00 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 21:01:00 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:01:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 21:01:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:01:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-938 [Pipeline] echo 21:01:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-938 [Pipeline] echo 21:01:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-938 [Pipeline] echo 21:01:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 82dd4a40f68d56724c0c860592e687c32cd20b4d [Pipeline] echo 21:01:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 82dd4a4 [Pipeline] echo 21:01:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:01:01 + git log --format=format:%s -1 82dd4a40f68d56724c0c860592e687c32cd20b4d [Pipeline] echo 21:01:01 GIT_COMMIT: 82dd4a40f68d56724c0c860592e687c32cd20b4d, Commit Message: feat: Add Pipeline per Topic capability [Pipeline] echo 21:01:01 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 21:01:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:01:02 21:01:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:01:03 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:01:03 latest: Pulling from edgex-devops/git-semver 21:01:03 31603596830f: Pulling fs layer 21:01:03 04fac38145f0: Pulling fs layer 21:01:03 701f6daf10bf: Pulling fs layer 21:01:03 24f72da36158: Pulling fs layer 21:01:03 24f72da36158: Waiting 21:01:03 04fac38145f0: Verifying Checksum 21:01:03 04fac38145f0: Download complete 21:01:03 31603596830f: Verifying Checksum 21:01:03 31603596830f: Download complete 21:01:03 24f72da36158: Verifying Checksum 21:01:03 24f72da36158: Download complete 21:01:03 31603596830f: Pull complete 21:01:03 04fac38145f0: Pull complete 21:01:04 701f6daf10bf: Verifying Checksum 21:01:04 701f6daf10bf: Download complete 21:01:04 701f6daf10bf: Pull complete 21:01:04 24f72da36158: Pull complete 21:01:04 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 21:01:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:01:04 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:01:04 prd-centos7-docker-4c-2g-720 does not seem to be running inside a container 21:01:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-938 -v /w/workspace/ndry_app-functions-sdk-go_PR-938:/w/workspace/ndry_app-functions-sdk-go_PR-938:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-938@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-938@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:01:05 $ docker top 19cc2e23ebc2c003bd66a712993d1f3bfbd9cac5d56ec9d50049417ec5d76e6a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:01:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:01:05 [ssh-agent] Looking for ssh-agent implementation... 21:01:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:01:06 $ docker exec 19cc2e23ebc2c003bd66a712993d1f3bfbd9cac5d56ec9d50049417ec5d76e6a ssh-agent 21:01:06 SSH_AUTH_SOCK=/tmp/ssh-2N1okKYZLjWc/agent.14 21:01:06 SSH_AGENT_PID=20 21:01:06 Running ssh-add (command line suppressed) 21:01:06 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/private_key_2017428797206179077.key (/w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/private_key_2017428797206179077.key) 21:01:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:01:06 + git tag --points-at HEAD [Pipeline] } 21:01:06 $ docker exec --env ******** --env ******** 19cc2e23ebc2c003bd66a712993d1f3bfbd9cac5d56ec9d50049417ec5d76e6a ssh-agent -k 21:01:07 unset SSH_AUTH_SOCK; 21:01:07 unset SSH_AGENT_PID; 21:01:07 echo Agent pid 20 killed; 21:01:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:01:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:01:07 [ssh-agent] Looking for ssh-agent implementation... 21:01:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:01:07 $ docker exec 19cc2e23ebc2c003bd66a712993d1f3bfbd9cac5d56ec9d50049417ec5d76e6a ssh-agent 21:01:07 SSH_AUTH_SOCK=/tmp/ssh-9pbNcdJ7tvrH/agent.53 21:01:07 SSH_AGENT_PID=59 21:01:07 Running ssh-add (command line suppressed) 21:01:07 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/private_key_8611776888175648583.key (/w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/private_key_8611776888175648583.key) 21:01:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:01:08 + git semver init 21:01:08 # -> Open(): unable to determine branch for HEAD 21:01:08 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-938/.git 21:01:08 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-938 21:01:08 # $SEMVER_REMOTE_NAME = origin 21:01:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:01:08 # $SEMVER_USER_NAME = edgex-jenkins 21:01:08 # $SEMVER_BRANCH = PR-938 21:01:08 # $SEMVER_TEMP = /tmp/semver-039034263 21:01:08 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 21:01:12 # '/tmp/semver-039034263' -> '/w/workspace/ndry_app-functions-sdk-go_PR-938/.semver' 21:01:12 # -> Force: false 21:01:12 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-938/.semver [Pipeline] } 21:01:12 $ docker exec --env ******** --env ******** 19cc2e23ebc2c003bd66a712993d1f3bfbd9cac5d56ec9d50049417ec5d76e6a ssh-agent -k 21:01:12 unset SSH_AUTH_SOCK; 21:01:12 unset SSH_AGENT_PID; 21:01:12 echo Agent pid 59 killed; 21:01:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:01:13 + git semver [Pipeline] } 21:01:13 $ docker stop --time=1 19cc2e23ebc2c003bd66a712993d1f3bfbd9cac5d56ec9d50049417ec5d76e6a 21:01:14 $ docker rm -f 19cc2e23ebc2c003bd66a712993d1f3bfbd9cac5d56ec9d50049417ec5d76e6a [Pipeline] // withDockerContainer [Pipeline] sh 21:01:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:01:15 Stashed 1 file(s) [Pipeline] echo 21:01:15 [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 21:01:30 Still waiting to schedule task 21:01:30 Waiting for next available executor on ‘centos7-docker-4c-2g’ 21:01:30 Still waiting to schedule task 21:01:30 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-714’ 21:04:16 Running on prd-centos7-docker-4c-2g-721 in /w/workspace/ndry_app-functions-sdk-go_PR-938 [Pipeline] { [Pipeline] ws 21:04:16 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 21:04:16 The recommended git tool is: git 21:04:20 using credential edgex-jenkins-ssh 21:04:20 Cloning the remote Git repository 21:04:20 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 21:04:20 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 21:04:20 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:04:20 > git --version # timeout=10 21:04:20 > git --version # 'git version 2.24.4' 21:04:20 using GIT_SSH to set credentials SSH Credentials for GitHub 21:04:20 [INFO] Currently running in a labeled security context 21:04:20 [INFO] Currently SELinux is 'enforcing' on the host 21:04:20 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh5846976324193244459.key 21:04:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:04:33 Merging remotes/origin/main commit 4d6967253c42c2a443b56733e0120e3dc957a25e into PR head commit 82dd4a40f68d56724c0c860592e687c32cd20b4d 21:04:33 Merge succeeded, producing 82dd4a40f68d56724c0c860592e687c32cd20b4d 21:04:33 Checking out Revision 82dd4a40f68d56724c0c860592e687c32cd20b4d (PR-938) 21:04:32 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:04:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:04:32 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:04:32 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:04:32 using GIT_SSH to set credentials SSH Credentials for GitHub 21:04:32 [INFO] Currently running in a labeled security context 21:04:32 [INFO] Currently SELinux is 'enforcing' on the host 21:04:32 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh1687715517148401823.key 21:04:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/938/head:refs/remotes/origin/PR-938 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:04:33 > git config core.sparsecheckout # timeout=10 21:04:33 > git checkout -f 82dd4a40f68d56724c0c860592e687c32cd20b4d # timeout=10 21:04:33 > git remote # timeout=10 21:04:33 > git config --get remote.origin.url # timeout=10 21:04:33 using GIT_SSH to set credentials SSH Credentials for GitHub 21:04:33 [INFO] Currently running in a labeled security context 21:04:33 [INFO] Currently SELinux is 'enforcing' on the host 21:04:33 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh1052924260204733948.key 21:04:33 > git merge 4d6967253c42c2a443b56733e0120e3dc957a25e # timeout=10 21:04:33 > git rev-parse HEAD^{commit} # timeout=10 21:04:33 > git config core.sparsecheckout # timeout=10 21:04:33 > git checkout -f 82dd4a40f68d56724c0c860592e687c32cd20b4d # timeout=10 21:04:37 Commit message: "feat: Add Pipeline per Topic capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 21:04:38 ========================================================= 21:04:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 21:04:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 21:04:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 21:04:49 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 21:04:49 540db60ca938: Pulling fs layer 21:04:49 adcc1eea9eea: Pulling fs layer 21:04:49 4c4ab2625f07: Pulling fs layer 21:04:49 db62176df00c: Pulling fs layer 21:04:49 3b30891b0d05: Pulling fs layer 21:04:49 06b49ca38bd5: Pulling fs layer 21:04:49 c788192a36de: Pulling fs layer 21:04:49 a77e37c0d609: Pulling fs layer 21:04:49 c3185cebc471: Pulling fs layer 21:04:49 db62176df00c: Waiting 21:04:49 3b30891b0d05: Waiting 21:04:49 06b49ca38bd5: Waiting 21:04:49 c788192a36de: Waiting 21:04:49 a77e37c0d609: Waiting 21:04:49 c3185cebc471: Waiting 21:04:49 4c4ab2625f07: Verifying Checksum 21:04:49 4c4ab2625f07: Download complete 21:04:49 adcc1eea9eea: Verifying Checksum 21:04:49 adcc1eea9eea: Download complete 21:04:49 3b30891b0d05: Download complete 21:04:49 06b49ca38bd5: Verifying Checksum 21:04:49 06b49ca38bd5: Download complete 21:04:49 c788192a36de: Verifying Checksum 21:04:49 c788192a36de: Download complete 21:04:49 540db60ca938: Verifying Checksum 21:04:49 540db60ca938: Download complete 21:04:49 540db60ca938: Pull complete 21:04:49 adcc1eea9eea: Pull complete 21:04:50 4c4ab2625f07: Pull complete 21:04:50 a77e37c0d609: Verifying Checksum 21:04:50 a77e37c0d609: Download complete 21:04:58 c3185cebc471: Verifying Checksum 21:04:58 c3185cebc471: Download complete 21:05:02 db62176df00c: Download complete 21:05:05 db62176df00c: Pull complete 21:05:05 3b30891b0d05: Pull complete 21:05:05 06b49ca38bd5: Pull complete 21:05:05 c788192a36de: Pull complete 21:05:06 a77e37c0d609: Pull complete 21:05:07 c3185cebc471: Pull complete 21:05:07 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 21:05:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 21:05:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 21:05:08 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 21:05:08 + docker inspect -f . ci-base-image-x86_64 21:05:08 . [Pipeline] withDockerContainer 21:05:08 prd-centos7-docker-4c-2g-721 does not seem to be running inside a container 21:05:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:05:13 $ docker top eeb1a032265a7cbf8cbcdcf518f970f9dfa41a1f30ab93fe79ebf92496a7b722 -eo pid,comm [Pipeline] { [Pipeline] sh 21:05:14 + go version 21:05:14 go version go1.16.6 linux/amd64 [Pipeline] } 21:05:14 $ docker stop --time=1 eeb1a032265a7cbf8cbcdcf518f970f9dfa41a1f30ab93fe79ebf92496a7b722 21:05:15 $ docker rm -f eeb1a032265a7cbf8cbcdcf518f970f9dfa41a1f30ab93fe79ebf92496a7b722 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:05:15 + docker inspect -f . ci-base-image-x86_64 21:05:15 . [Pipeline] withDockerContainer 21:05:15 prd-centos7-docker-4c-2g-721 does not seem to be running inside a container 21:05:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:05:16 $ docker top b93c3e66bd7e0893d4ed6b185a2529091b9a2e5558c48292d2c5d634a5136d6a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:05:16 + make test 21:05:16 make -C ./app-service-template build 21:05:16 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 21:05:16 go mod tidy 21:05:17 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 21:05:17 go: downloading github.com/stretchr/testify v1.7.0 21:05:18 go: downloading github.com/google/uuid v1.3.0 21:05:18 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 21:05:18 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 21:05:18 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 21:05:18 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 21:05:18 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 21:05:18 go: downloading github.com/davecgh/go-spew v1.1.1 21:05:18 go: downloading github.com/pmezard/go-difflib v1.0.0 21:05:18 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 21:05:18 go: downloading github.com/stretchr/objx v0.1.0 21:05:18 go: downloading github.com/go-kit/kit v0.9.0 21:05:18 go: downloading github.com/go-playground/validator/v10 v10.6.1 21:05:18 go: downloading gopkg.in/yaml.v2 v2.4.0 21:05:18 go: downloading github.com/gorilla/mux v1.8.0 21:05:18 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 21:05:18 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 21:05:18 go: downloading github.com/mitchellh/copystructure v1.0.0 21:05:18 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 21:05:18 go: downloading github.com/gorilla/websocket v1.4.2 21:05:18 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 21:05:18 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 21:05:18 go: downloading github.com/go-playground/universal-translator v0.17.0 21:05:19 go: downloading github.com/leodido/go-urn v1.2.0 21:05:19 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 21:05:19 go: downloading golang.org/x/text v0.3.2 21:05:19 go: downloading github.com/go-playground/assert/v2 v2.0.1 21:05:19 go: downloading github.com/go-playground/locales v0.13.0 21:05:21 go: downloading github.com/pelletier/go-toml v1.9.2 21:05:21 go: downloading github.com/go-logfmt/logfmt v0.4.0 21:05:21 go: downloading github.com/go-stack/stack v1.8.0 21:05:21 go: downloading github.com/hashicorp/consul/api v1.8.1 21:05:21 go: downloading github.com/mitchellh/reflectwalk v1.0.0 21:05:21 go: downloading github.com/x448/float16 v0.8.4 21:05:21 go: downloading github.com/kr/pretty v0.2.0 21:05:21 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 21:05:21 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 21:05:21 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:05:21 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 21:05:21 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 21:05:21 go: downloading github.com/hashicorp/go-hclog v0.12.0 21:05:21 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 21:05:21 go: downloading github.com/hashicorp/serf v0.9.5 21:05:21 go: downloading github.com/mitchellh/mapstructure v1.1.2 21:05:21 go: downloading github.com/hashicorp/consul/sdk v0.7.0 21:05:21 go: downloading github.com/hashicorp/go-uuid v1.0.1 21:05:21 go: downloading github.com/kr/text v0.1.0 21:05:21 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 21:05:21 go: downloading github.com/go-redis/redis/v7 v7.3.0 21:05:21 go: downloading github.com/pebbe/zmq4 v1.2.7 21:05:21 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 21:05:21 go: downloading github.com/fatih/color v1.9.0 21:05:21 go: downloading github.com/mattn/go-colorable v0.1.6 21:05:21 go: downloading github.com/mattn/go-isatty v0.0.12 21:05:21 go: downloading github.com/mitchellh/go-homedir v1.1.0 21:05:21 go: downloading github.com/pkg/errors v0.8.1 21:05:22 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:05:22 go: downloading github.com/hashicorp/go-msgpack v0.5.3 21:05:22 go: downloading github.com/hashicorp/memberlist v0.2.2 21:05:22 go: downloading github.com/onsi/ginkgo v1.10.1 21:05:22 go: downloading github.com/onsi/gomega v1.7.0 21:05:22 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 21:05:22 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 21:05:22 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:05:22 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:05:22 go: downloading github.com/hashicorp/go-multierror v1.1.0 21:05:22 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 21:05:22 go: downloading github.com/miekg/dns v1.1.26 21:05:22 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:05:22 go: downloading github.com/hashicorp/golang-lru v0.5.0 21:05:22 go: downloading github.com/hashicorp/errwrap v1.0.0 21:05:22 go: downloading github.com/hpcloud/tail v1.0.0 21:05:22 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 21:05:22 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 21:05:22 go: downloading github.com/golang/protobuf v1.3.2 21:05:22 go: downloading gopkg.in/fsnotify.v1 v1.4.7 21:05:22 go: downloading github.com/fsnotify/fsnotify v1.4.7 21:05:22 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 21:05:26 Running on prd-ubuntu18.04-docker-arm64-4c-16g-723 in /w/workspace/ndry_app-functions-sdk-go_PR-938 [Pipeline] { [Pipeline] ws 21:05:26 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 21:05:26 The recommended git tool is: git 21:05:31 using credential edgex-jenkins-ssh 21:05:31 Cloning the remote Git repository 21:05:31 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 21:05:31 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 21:05:31 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:05:31 > git --version # timeout=10 21:05:31 > git --version # 'git version 2.17.1' 21:05:31 using GIT_SSH to set credentials SSH Credentials for GitHub 21:05:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:05:32 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 21:05:32 make -C ./app-service-template test 21:05:32 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 21:05:32 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 21:05:36 Merging remotes/origin/main commit 4d6967253c42c2a443b56733e0120e3dc957a25e into PR head commit 82dd4a40f68d56724c0c860592e687c32cd20b4d 21:05:36 Merge succeeded, producing 82dd4a40f68d56724c0c860592e687c32cd20b4d 21:05:36 Checking out Revision 82dd4a40f68d56724c0c860592e687c32cd20b4d (PR-938) 21:05:35 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:05:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:05:35 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:05:35 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:05:35 using GIT_SSH to set credentials SSH Credentials for GitHub 21:05:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/938/head:refs/remotes/origin/PR-938 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:05:36 > git config core.sparsecheckout # timeout=10 21:05:36 > git checkout -f 82dd4a40f68d56724c0c860592e687c32cd20b4d # timeout=10 21:05:36 > git remote # timeout=10 21:05:36 > git config --get remote.origin.url # timeout=10 21:05:36 using GIT_SSH to set credentials SSH Credentials for GitHub 21:05:36 > git merge 4d6967253c42c2a443b56733e0120e3dc957a25e # timeout=10 21:05:36 > git rev-parse HEAD^{commit} # timeout=10 21:05:36 > git config core.sparsecheckout # timeout=10 21:05:36 > git checkout -f 82dd4a40f68d56724c0c860592e687c32cd20b4d # timeout=10 21:05:40 Commit message: "feat: Add Pipeline per Topic capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 21:05:41 ========================================================= 21:05:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 21:05:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 21:05:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 21:05:42 ok new-app-service 0.012s coverage: 48.1% of statements 21:05:42 ? new-app-service/config [no test files] 21:05:42 ok new-app-service/functions 0.008s 21:05:42 CGO_ENABLED=1 go vet ./... 21:05:43 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:05:43 595b0fe564bb: Pulling fs layer 21:05:43 24495759ef45: Pulling fs layer 21:05:43 d148012ef14d: Pulling fs layer 21:05:43 e90a11edd702: Pulling fs layer 21:05:43 d77568369979: Pulling fs layer 21:05:43 fc1c9f9a7f3b: Pulling fs layer 21:05:43 170f2ba95c9a: Pulling fs layer 21:05:43 97ac5df62f85: Pulling fs layer 21:05:43 e90a11edd702: Waiting 21:05:43 d77568369979: Waiting 21:05:43 fc1c9f9a7f3b: Waiting 21:05:43 170f2ba95c9a: Waiting 21:05:43 d148012ef14d: Verifying Checksum 21:05:43 d148012ef14d: Download complete 21:05:43 24495759ef45: Download complete 21:05:43 d77568369979: Verifying Checksum 21:05:43 d77568369979: Download complete 21:05:43 fc1c9f9a7f3b: Verifying Checksum 21:05:43 fc1c9f9a7f3b: Download complete 21:05:43 170f2ba95c9a: Download complete 21:05:43 595b0fe564bb: Download complete 21:05:44 595b0fe564bb: Pull complete 21:05:45 24495759ef45: Pull complete 21:05:45 d148012ef14d: Pull complete 21:05:46 97ac5df62f85: Verifying Checksum 21:05:46 97ac5df62f85: Download complete 21:05:47 e90a11edd702: Verifying Checksum 21:05:47 e90a11edd702: Download complete 21:05:48 gofmt -l . 21:05:48 [ "`gofmt -l .`" = "" ] 21:05:48 ./bin/test-attribution-txt.sh 21:05:48 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 21:05:48 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:05:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 21:05:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.014s coverage: 65.5% of statements 21:05:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.007s coverage: 93.2% of statements 21:05:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 21:05:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.015s coverage: 61.8% of statements 21:05:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 21:05:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.006s 21:05:57 e90a11edd702: Pull complete 21:05:57 d77568369979: Pull complete 21:05:57 fc1c9f9a7f3b: Pull complete 21:05:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 5.098s coverage: 75.2% of statements 21:05:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 21:05:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 21:05:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 21:05:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 21:05:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 21:05:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 21:05:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.010s coverage: 97.3% of statements 21:05:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 21:05:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.006s coverage: 10.5% of statements 21:05:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.047s coverage: 77.0% of statements 21:05:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 21:05:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.008s coverage: 12.5% of statements 21:05:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.014s coverage: 27.3% of statements 21:05:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 21:05:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 21:05:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.008s coverage: 51.4% of statements 21:05:58 170f2ba95c9a: Pull complete 21:06:04 97ac5df62f85: Pull complete 21:06:04 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 21:06:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 21:06:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 21:06:05 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 21:06:05 + docker inspect -f . ci-base-image-arm64 21:06:05 . [Pipeline] withDockerContainer 21:06:06 prd-ubuntu18.04-docker-arm64-4c-16g-723 does not seem to be running inside a container 21:06:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:06:11 $ docker top f3076db56b9671e41a2678ca72176b8ab9c503fa3a90160a651e651882ad0da8 -eo pid,comm [Pipeline] { [Pipeline] sh 21:06:12 + go version 21:06:12 go version go1.16.6 linux/arm64 [Pipeline] } 21:06:12 $ docker stop --time=1 f3076db56b9671e41a2678ca72176b8ab9c503fa3a90160a651e651882ad0da8 21:06:14 $ docker rm -f f3076db56b9671e41a2678ca72176b8ab9c503fa3a90160a651e651882ad0da8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:06:15 + docker inspect -f . ci-base-image-arm64 21:06:15 . [Pipeline] withDockerContainer 21:06:15 prd-ubuntu18.04-docker-arm64-4c-16g-723 does not seem to be running inside a container 21:06:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:06:17 $ docker top e9bf8aecf4c47ce31610024e55d41448e0f45381cfb1ab37f612fdf58c74b5f6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:06:18 + make test 21:06:18 make -C ./app-service-template build 21:06:18 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 21:06:18 go mod tidy 21:06:19 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 21:06:19 go: downloading github.com/stretchr/testify v1.7.0 21:06:19 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 21:06:19 go: downloading github.com/google/uuid v1.3.0 21:06:19 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 21:06:19 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 21:06:19 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 21:06:19 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 21:06:19 go: downloading github.com/davecgh/go-spew v1.1.1 21:06:19 go: downloading github.com/pmezard/go-difflib v1.0.0 21:06:19 go: downloading github.com/stretchr/objx v0.1.0 21:06:19 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 21:06:19 go: downloading github.com/gorilla/mux v1.8.0 21:06:19 go: downloading github.com/go-kit/kit v0.9.0 21:06:19 go: downloading github.com/go-playground/validator/v10 v10.6.1 21:06:19 go: downloading gopkg.in/yaml.v2 v2.4.0 21:06:19 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 21:06:19 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 21:06:19 go: downloading github.com/mitchellh/copystructure v1.0.0 21:06:19 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 21:06:19 go: downloading github.com/pelletier/go-toml v1.9.2 21:06:19 go: downloading github.com/gorilla/websocket v1.4.2 21:06:20 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 21:06:20 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 21:06:20 go: downloading github.com/go-playground/universal-translator v0.17.0 21:06:20 go: downloading github.com/leodido/go-urn v1.2.0 21:06:20 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 21:06:20 go: downloading golang.org/x/text v0.3.2 21:06:20 go: downloading github.com/go-playground/assert/v2 v2.0.1 21:06:21 go: downloading github.com/go-playground/locales v0.13.0 21:06:23 go: downloading github.com/hashicorp/consul/api v1.8.1 21:06:23 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 21:06:23 go: downloading github.com/mitchellh/reflectwalk v1.0.0 21:06:23 go: downloading github.com/x448/float16 v0.8.4 21:06:24 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:06:24 go: downloading github.com/go-logfmt/logfmt v0.4.0 21:06:24 go: downloading github.com/go-stack/stack v1.8.0 21:06:24 go: downloading github.com/kr/pretty v0.2.0 21:06:24 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 21:06:24 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 21:06:24 go: downloading github.com/pebbe/zmq4 v1.2.7 21:06:24 go: downloading github.com/go-redis/redis/v7 v7.3.0 21:06:24 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 21:06:24 go: downloading github.com/hashicorp/go-hclog v0.12.0 21:06:24 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 21:06:24 go: downloading github.com/hashicorp/serf v0.9.5 21:06:24 go: downloading github.com/mitchellh/mapstructure v1.1.2 21:06:24 go: downloading github.com/hashicorp/consul/sdk v0.7.0 21:06:24 go: downloading github.com/hashicorp/go-uuid v1.0.1 21:06:24 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 21:06:24 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 21:06:24 go: downloading github.com/kr/text v0.1.0 21:06:24 go: downloading github.com/onsi/ginkgo v1.10.1 21:06:24 go: downloading github.com/onsi/gomega v1.7.0 21:06:24 go: downloading github.com/mitchellh/go-homedir v1.1.0 21:06:24 go: downloading github.com/fatih/color v1.9.0 21:06:24 go: downloading github.com/mattn/go-colorable v0.1.6 21:06:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.024s coverage: 77.3% of statements 21:06:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.011s coverage: 94.4% of statements 21:06:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:06:24 gofmt -l . 21:06:24 [ "`gofmt -l .`" = "" ] 21:06:24 go: downloading github.com/mattn/go-isatty v0.0.12 21:06:24 go: downloading github.com/pkg/errors v0.8.1 21:06:24 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:06:24 go: downloading github.com/hashicorp/go-msgpack v0.5.3 21:06:24 go: downloading github.com/hashicorp/memberlist v0.2.2 21:06:24 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 21:06:24 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 21:06:24 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:06:24 go: downloading github.com/hpcloud/tail v1.0.0 21:06:24 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:06:24 go: downloading github.com/hashicorp/go-multierror v1.1.0 [Pipeline] } 21:06:25 $ docker stop --time=1 b93c3e66bd7e0893d4ed6b185a2529091b9a2e5558c48292d2c5d634a5136d6a 21:06:25 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 21:06:25 go: downloading github.com/miekg/dns v1.1.26 21:06:25 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:06:25 go: downloading github.com/hashicorp/golang-lru v0.5.0 21:06:25 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 21:06:25 go: downloading github.com/hashicorp/errwrap v1.0.0 21:06:25 go: downloading gopkg.in/fsnotify.v1 v1.4.7 21:06:25 go: downloading github.com/golang/protobuf v1.3.2 21:06:25 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 21:06:25 go: downloading github.com/fsnotify/fsnotify v1.4.7 21:06:25 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 21:06:26 $ docker rm -f b93c3e66bd7e0893d4ed6b185a2529091b9a2e5558c48292d2c5d634a5136d6a [Pipeline] // withDockerContainer [Pipeline] sh 21:06:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:06:27 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:06:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:06:28 21:06:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:06:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:06:28 latest: Pulling from edgex-lftools-log-publisher 21:06:28 b4d181a07f80: Pulling fs layer 21:06:28 a1111a8f2ec3: Pulling fs layer 21:06:28 ed53099fbce6: Pulling fs layer 21:06:28 dc539afda2c1: Pulling fs layer 21:06:28 77bc0d833cb6: Pulling fs layer 21:06:28 9065ff56babe: Pulling fs layer 21:06:28 d287ab97295c: Pulling fs layer 21:06:28 77bc0d833cb6: Waiting 21:06:28 9065ff56babe: Waiting 21:06:28 d287ab97295c: Waiting 21:06:28 dc539afda2c1: Waiting 21:06:29 a1111a8f2ec3: Verifying Checksum 21:06:29 a1111a8f2ec3: Download complete 21:06:29 dc539afda2c1: Verifying Checksum 21:06:29 dc539afda2c1: Download complete 21:06:29 77bc0d833cb6: Download complete 21:06:29 9065ff56babe: Verifying Checksum 21:06:29 9065ff56babe: Download complete 21:06:29 ed53099fbce6: Verifying Checksum 21:06:29 ed53099fbce6: Download complete 21:06:31 b4d181a07f80: Verifying Checksum 21:06:31 b4d181a07f80: Download complete 21:06:32 b4d181a07f80: Pull complete 21:06:32 a1111a8f2ec3: Pull complete 21:06:32 ed53099fbce6: Pull complete 21:06:32 dc539afda2c1: Pull complete 21:06:32 77bc0d833cb6: Pull complete 21:06:32 9065ff56babe: Pull complete 21:06:39 d287ab97295c: Verifying Checksum 21:06:39 d287ab97295c: Download complete 21:06:43 d287ab97295c: Pull complete 21:06:43 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 21:06:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:06:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:06:43 prd-centos7-docker-4c-2g-721 does not seem to be running inside a container 21:06:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:06:46 $ docker top 1991339e9309ea2abc45a397b0a69449fb653c34c528ececbd8e78f9b46ef1c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:46 ---> job-cost.sh 21:06:46 lf-activate-venv: SKIPPING 21:06:46 INFO: No Stack... 21:06:47 INFO: Retrieving Pricing Info for: v3-standard-2 21:06:48 INFO: Archiving Costs [Pipeline] sh 21:06:48 + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv 21:06:48 + cut -d, -f6 [Pipeline] lock 21:06:48 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-3-stack-cost] 21:06:48 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-3-stack-cost] did not exist. Created. 21:06:48 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:06:48 + echo total: 0.05999999865889549 [Pipeline] stash 21:06:48 Stashed 1 file(s) [Pipeline] } 21:06:48 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:06:48 $ docker stop --time=1 1991339e9309ea2abc45a397b0a69449fb653c34c528ececbd8e78f9b46ef1c8 21:06:50 $ docker rm -f 1991339e9309ea2abc45a397b0a69449fb653c34c528ececbd8e78f9b46ef1c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:07:04 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 21:07:04 make -C ./app-service-template test 21:07:04 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 21:07:04 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 21:07:31 ok new-app-service 0.044s coverage: 48.1% of statements 21:07:31 ? new-app-service/config [no test files] 21:07:31 ok new-app-service/functions 0.038s 21:07:31 CGO_ENABLED=1 go vet ./... 21:07:58 gofmt -l . 21:07:58 [ "`gofmt -l .`" = "" ] 21:07:58 ./bin/test-attribution-txt.sh 21:07:58 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 21:07:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:08:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 21:08:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.122s coverage: 65.5% of statements 21:08:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.071s coverage: 93.2% of statements 21:08:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 21:08:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.081s coverage: 61.8% of statements 21:08:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 21:08:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.049s 21:08:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.106s coverage: 75.2% of statements 21:08:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 21:08:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 21:08:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 21:08:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 21:08:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 21:08:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 21:08:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.014s coverage: 97.3% of statements 21:08:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 21:08:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.036s coverage: 10.5% of statements 21:08:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.185s coverage: 77.0% of statements 21:08:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 21:08:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.061s coverage: 12.5% of statements 21:08:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.090s coverage: 27.3% of statements 21:08:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 21:08:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 21:08:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.046s coverage: 51.4% of statements 21:08:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.105s coverage: 77.3% of statements 21:08:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.031s coverage: 94.4% of statements 21:08:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:08:45 gofmt -l . 21:08:46 [ "`gofmt -l .`" = "" ] [Pipeline] } 21:08:46 $ docker stop --time=1 e9bf8aecf4c47ce31610024e55d41448e0f45381cfb1ab37f612fdf58c74b5f6 21:08:49 $ docker rm -f e9bf8aecf4c47ce31610024e55d41448e0f45381cfb1ab37f612fdf58c74b5f6 [Pipeline] // withDockerContainer [Pipeline] sh 21:08:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:08:51 Warning: overwriting stash ‘coverage-report’ 21:08:51 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:08:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:52 21:08:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 21:08:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:53 arm64: Pulling from edgex-lftools-log-publisher 21:08:53 448f6bf000e3: Pulling fs layer 21:08:53 f757da607395: Pulling fs layer 21:08:53 05883995daec: Pulling fs layer 21:08:53 8603b9c90790: Pulling fs layer 21:08:53 1560dd03e051: Pulling fs layer 21:08:53 27f5ce0e4adf: Pulling fs layer 21:08:53 c2d8d7efcc4b: Pulling fs layer 21:08:53 8603b9c90790: Waiting 21:08:53 1560dd03e051: Waiting 21:08:53 27f5ce0e4adf: Waiting 21:08:53 c2d8d7efcc4b: Waiting 21:08:53 f757da607395: Verifying Checksum 21:08:53 f757da607395: Download complete 21:08:53 8603b9c90790: Download complete 21:08:54 05883995daec: Verifying Checksum 21:08:54 05883995daec: Download complete 21:08:54 27f5ce0e4adf: Verifying Checksum 21:08:54 27f5ce0e4adf: Download complete 21:08:54 1560dd03e051: Verifying Checksum 21:08:54 1560dd03e051: Download complete 21:08:55 448f6bf000e3: Verifying Checksum 21:08:58 c2d8d7efcc4b: Verifying Checksum 21:08:58 c2d8d7efcc4b: Download complete 21:08:58 448f6bf000e3: Pull complete 21:08:59 f757da607395: Pull complete 21:09:00 05883995daec: Pull complete 21:09:01 8603b9c90790: Pull complete 21:09:02 1560dd03e051: Pull complete 21:09:02 27f5ce0e4adf: Pull complete 21:09:17 c2d8d7efcc4b: Pull complete 21:09:17 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 21:09:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:09:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 21:09:17 prd-ubuntu18.04-docker-arm64-4c-16g-723 does not seem to be running inside a container 21:09:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:09:21 $ docker top d519e0f13d34095fb58cc28a08add55f60fd9162dbd73a45970876091e547ecd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:22 ---> job-cost.sh 21:09:22 lf-activate-venv: SKIPPING 21:09:22 INFO: No Stack... 21:09:24 INFO: Retrieving Pricing Info for: v3-standard-4 21:09:24 INFO: Archiving Costs [Pipeline] sh 21:09:25 + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv+ 21:09:25 cut -d, -f6 [Pipeline] lock 21:09:25 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-3-stack-cost] 21:09:25 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-3-stack-cost] did not exist. Created. 21:09:25 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:09:26 /w/workspace/app-functions-sdk-go/3@tmp/durable-43b33d3f/script.sh: 1: /w/workspace/app-functions-sdk-go/3@tmp/durable-43b33d3f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 21:09:27 + echo total: 0.10999999940395355 [Pipeline] stash 21:09:27 Warning: overwriting stash ‘stack-cost’ 21:09:27 Stashed 1 file(s) [Pipeline] } 21:09:27 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:09:27 $ docker stop --time=1 d519e0f13d34095fb58cc28a08add55f60fd9162dbd73a45970876091e547ecd 21:09:28 $ docker rm -f d519e0f13d34095fb58cc28a08add55f60fd9162dbd73a45970876091e547ecd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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] configFileProvider 21:09:29 provisioning config files... 21:09:29 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/config993955359855793014tmp [Pipeline] { [Pipeline] sh 21:09:30 + set +x 21:09:30 + curl -s https://codecov.io/bash 21:09:30 + bash -s -- 21:09:30 21:09:30 _____ _ 21:09:30 / ____| | | 21:09:30 | | ___ __| | ___ ___ _____ __ 21:09:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:09:30 | |___| (_) | (_| | __/ (_| (_) \ V / 21:09:30 \_____\___/ \__,_|\___|\___\___/ \_/ 21:09:30 Bash-1.0.6 21:09:30 21:09:30 21:09:30 ==> git version 2.24.4 found 21:09:30 ==> 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 21:09:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 21:09:30 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 21:09:30 ==> Jenkins CI detected. 21:09:30 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-938 21:09:30 project root: . 21:09:30 --> token set from env 21:09:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:09:30 ==> Running gcov in . (disable via -X gcov) 21:09:30 ==> Python coveragepy not found 21:09:30 ==> Searching for coverage reports in: 21:09:30 + . 21:09:30 -> Found 2 reports 21:09:30 ==> Detecting git/mercurial file structure 21:09:30 ==> Reading reports 21:09:30 + ./app-service-template/coverage.out bytes=1219 21:09:30 + ./coverage.out bytes=100436 21:09:30 ==> Appending adjustments 21:09:30 https://docs.codecov.io/docs/fixing-reports 21:09:30 + Found adjustments 21:09:30 ==> Gzipping contents 21:09:30 20K /tmp/codecov.LQFSgM.gz 21:09:30 ==> Uploading reports 21:09:30 url: https://codecov.io 21:09:30 query: branch=PR-938&commit=82dd4a40f68d56724c0c860592e687c32cd20b4d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-938%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=938&job=&cmd_args= 21:09:30 -> Pinging Codecov 21:09:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-938&commit=82dd4a40f68d56724c0c860592e687c32cd20b4d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-938%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=938&job=&cmd_args= 21:09:31 -> Uploading to 21:09:31 https://storage.googleapis.com/codecov/v4/raw/2021-08-24/3D8B5DFFC46A037C893635FACE044666/82dd4a40f68d56724c0c860592e687c32cd20b4d/8422d335-082d-470b-b8ee-890647f4d6a1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210824%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210824T210931Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0d98789e465b42c478def1c43090d2a278d4c4d9be4e565c123733545cb881ac 21:09:31 % Total % Received % Xferd Average Speed Time Time Time Current 21:09:31 Dload Upload Total Spent Left Speed 21:09:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17401 0 0 100 17401 0 45155 --:--:-- --:--:-- --:--:-- 45080 100 17401 0 0 100 17401 0 45136 --:--:-- --:--:-- --:--:-- 45080 21:09:31 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/82dd4a40f68d56724c0c860592e687c32cd20b4d [Pipeline] } 21:09:31 Deleting 1 temporary files [Pipeline] // configFileProvider [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] sh 21:09:33 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-938/archives ']' [Pipeline] libraryResource [Pipeline] sh 21:09:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:09:34 ---> package-listing.sh 21:09:34 ++ facter osfamily 21:09:34 ++ tr '[:upper:]' '[:lower:]' 21:09:34 + OS_FAMILY=redhat 21:09:34 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-938 21:09:34 + START_PACKAGES=/tmp/packages_start.txt 21:09:34 + END_PACKAGES=/tmp/packages_end.txt 21:09:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:09:34 + PACKAGES=/tmp/packages_start.txt 21:09:34 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-938 ']' 21:09:34 + PACKAGES=/tmp/packages_end.txt 21:09:34 + case "${OS_FAMILY}" in 21:09:34 + sort 21:09:34 + rpm -qa 21:09:35 + '[' -f /tmp/packages_start.txt ']' 21:09:35 + '[' -f /tmp/packages_end.txt ']' 21:09:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:09:35 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-938 ']' 21:09:35 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-938/archives/ 21:09:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-938/archives/ [Pipeline] echo 21:09:35 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-938/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:09:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:09:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:36 21:09:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:09:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:36 latest: Pulling from edgex-lftools-log-publisher 21:09:36 b4d181a07f80: Pulling fs layer 21:09:36 a1111a8f2ec3: Pulling fs layer 21:09:36 ed53099fbce6: Pulling fs layer 21:09:36 dc539afda2c1: Pulling fs layer 21:09:36 77bc0d833cb6: Pulling fs layer 21:09:36 9065ff56babe: Pulling fs layer 21:09:36 d287ab97295c: Pulling fs layer 21:09:36 77bc0d833cb6: Waiting 21:09:36 9065ff56babe: Waiting 21:09:36 d287ab97295c: Waiting 21:09:36 dc539afda2c1: Waiting 21:09:37 a1111a8f2ec3: Verifying Checksum 21:09:37 a1111a8f2ec3: Download complete 21:09:37 dc539afda2c1: Verifying Checksum 21:09:37 dc539afda2c1: Download complete 21:09:37 77bc0d833cb6: Verifying Checksum 21:09:37 77bc0d833cb6: Download complete 21:09:37 9065ff56babe: Verifying Checksum 21:09:37 9065ff56babe: Download complete 21:09:37 ed53099fbce6: Verifying Checksum 21:09:37 ed53099fbce6: Download complete 21:09:38 b4d181a07f80: Verifying Checksum 21:09:38 b4d181a07f80: Download complete 21:09:39 b4d181a07f80: Pull complete 21:09:40 a1111a8f2ec3: Pull complete 21:09:40 ed53099fbce6: Pull complete 21:09:40 dc539afda2c1: Pull complete 21:09:40 77bc0d833cb6: Pull complete 21:09:40 9065ff56babe: Pull complete 21:09:42 d287ab97295c: Verifying Checksum 21:09:42 d287ab97295c: Download complete 21:09:46 d287ab97295c: Pull complete 21:09:46 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 21:09:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:09:46 prd-centos7-docker-4c-2g-720 does not seem to be running inside a container 21:09:46 $ 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-938/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-938 -v /w/workspace/ndry_app-functions-sdk-go_PR-938:/w/workspace/ndry_app-functions-sdk-go_PR-938:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-938@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-938@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:09:49 $ docker top bcfb34c950c7b6aae3653b91f72e45f433b058f14d93d0ebafb9df218bda4744 -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:49 + touch /tmp/pre-build-complete [Pipeline] sh 21:09:49 + mkdir -p /var/log/sysstat [Pipeline] sh 21:09:50 + ls /var/log/sa-host 21:09:50 + sadf -c /var/log/sa-host/sa05 21:09:50 file_magic: OK 21:09:50 HZ: Using current value: 100 21:09:50 file_header: OK 21:09:50 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 21:09:50 Statistics: 21:09:50 Hnuu...uuuununununu...Hnuu...uuuununununu... 21:09:50 File successfully converted to sysstat format version 12.0.3 21:09:50 + sadf -c /var/log/sa-host/sa24 21:09:50 file_magic: OK 21:09:50 HZ: Using current value: 100 21:09:50 file_header: OK 21:09:50 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 21:09:50 Statistics: 21:09:50 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:09:50 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:50 provisioning config files... 21:09:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/config3133067289751248018tmp [Pipeline] { [Pipeline] echo 21:09:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:09:51 ---> create-netrc.sh [Pipeline] } 21:09:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:09:51 ---> python-tools-install.sh [Pipeline] echo 21:09:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:09:52 ---> sudo-logs.sh 21:09:52 Archiving 'sudo' log.. 21:09:52 sudo: unable to resolve host prd-centos7-docker-4c-2g-720.vexxhost.local: Name or service not known 21:09:52 sudo: unable to resolve host prd-centos7-docker-4c-2g-720.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 21:09:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:09:52 ---> job-cost.sh 21:09:52 lf-activate-venv: SKIPPING 21:09:52 DEBUG: total: 0.10999999940395355 21:09:52 INFO: Retrieving Stack Cost... 21:09:53 INFO: Retrieving Pricing Info for: v3-standard-2 21:09:53 INFO: Archiving Costs [Pipeline] echo 21:09:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:09:53 ---> logs-deploy.sh 21:09:53 lf-activate-venv: SKIPPING 21:09:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-938/3 21:09:53 INFO: archiving workspace using pattern(s): 21:09:54 Archives upload complete. 21:09:54 INFO: archiving logs to Nexus 21:09:55 ---> uname -a: 21:09:55 Linux prd-centos7-docker-4c-2g-720.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 21:09:55 21:09:55 21:09:55 ---> lscpu: 21:09:55 Architecture: x86_64 21:09:55 CPU op-mode(s): 32-bit, 64-bit 21:09:55 Byte Order: Little Endian 21:09:55 Address sizes: 40 bits physical, 48 bits virtual 21:09:55 CPU(s): 2 21:09:55 On-line CPU(s) list: 0,1 21:09:55 Thread(s) per core: 1 21:09:55 Core(s) per socket: 1 21:09:55 Socket(s): 2 21:09:55 NUMA node(s): 1 21:09:55 Vendor ID: AuthenticAMD 21:09:55 CPU family: 23 21:09:55 Model: 49 21:09:55 Model name: AMD EPYC-Rome Processor 21:09:55 Stepping: 0 21:09:55 CPU MHz: 2799.998 21:09:55 BogoMIPS: 5599.99 21:09:55 Virtualization: AMD-V 21:09:55 Hypervisor vendor: KVM 21:09:55 Virtualization type: full 21:09:55 L1d cache: 32K 21:09:55 L1i cache: 32K 21:09:55 L2 cache: 512K 21:09:55 L3 cache: 16384K 21:09:55 NUMA node0 CPU(s): 0,1 21:09:55 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 21:09:55 21:09:55 21:09:55 ---> nproc: 21:09:55 2 21:09:55 21:09:55 21:09:55 ---> df -h: 21:09:55 Filesystem Size Used Avail Use% Mounted on 21:09:55 overlay 40G 7.7G 33G 20% / 21:09:55 tmpfs 64M 0 64M 0% /dev 21:09:55 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 21:09:55 shm 64M 0 64M 0% /dev/shm 21:09:55 /dev/vda1 40G 7.7G 33G 20% /facter-os 21:09:55 21:09:55 21:09:55 ---> sar -b -r -n DEV: 21:09:55 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/24/21 _x86_64_ (2 CPU) 21:09:55 21:09:55 21:00:15 LINUX RESTART (2 CPU) 21:09:55 21:09:55 21:01:01 tps rtps wtps bread/s bwrtn/s 21:09:55 21:02:01 22.37 3.32 19.05 2566.94 3713.86 21:09:55 21:03:01 0.93 0.00 0.93 0.00 20.21 21:09:55 21:04:01 0.25 0.00 0.25 0.00 2.47 21:09:55 21:05:01 0.20 0.00 0.20 0.00 2.03 21:09:55 21:06:01 0.20 0.00 0.20 0.00 2.10 21:09:55 21:07:01 0.27 0.00 0.27 0.00 2.97 21:09:55 21:08:01 0.27 0.00 0.27 0.00 3.65 21:09:55 21:09:01 0.23 0.00 0.23 0.00 2.85 21:09:55 Average: 3.05 0.41 2.64 316.24 462.08 21:09:55 21:09:55 21:01:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:09:55 21:02:01 5436156 0 800852 10.00 2620 1769312 1251628 13.82 590008 1582616 20 21:09:55 21:03:01 5439872 0 797132 9.95 2620 1769316 1206168 13.32 587176 1582608 8 21:09:55 21:04:01 5440044 0 796956 9.95 2620 1769320 1206168 13.32 585832 1584072 8 21:09:55 21:05:01 5438116 0 798880 9.97 2620 1769324 1206420 13.32 588100 1584072 8 21:09:55 21:06:01 5438276 0 798712 9.97 2620 1769332 1206336 13.32 583232 1588596 8 21:09:55 21:07:01 5438168 0 798820 9.97 2620 1769332 1206348 13.32 583188 1588592 8 21:09:55 21:08:01 5438548 0 798436 9.97 2620 1769336 1206168 13.32 583548 1588592 20 21:09:55 21:09:01 5433900 0 803076 10.03 2620 1769344 1206168 13.32 587472 1588592 8 21:09:55 Average: 5437885 0 799108 9.98 2620 1769327 1211926 13.38 586070 1585968 11 21:09:55 21:09:55 21:01:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:09:55 21:02:01 eth0 174.00 130.96 656.54 22.08 0.00 0.00 0.00 0.00 21:09:55 21:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:55 21:02:01 docker0 77.76 94.26 8.36 318.73 0.00 0.00 0.00 0.00 21:09:55 21:03:01 eth0 0.05 0.07 0.00 0.01 0.00 0.00 0.00 0.00 21:09:55 21:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:55 21:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:55 21:04:01 eth0 1.58 0.02 0.15 0.00 0.00 0.00 0.00 0.00 21:09:55 21:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:55 21:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:55 21:05:01 eth0 0.98 0.32 0.32 0.20 0.00 0.00 0.00 0.00 21:09:55 21:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:55 21:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:55 21:06:01 eth0 0.63 0.48 0.38 0.27 0.00 0.00 0.00 0.00 21:09:55 21:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:55 21:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:55 21:07:01 eth0 0.20 0.17 0.07 0.01 0.00 0.00 0.00 0.00 21:09:55 21:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:55 21:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:55 21:08:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 21:09:55 21:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:55 21:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:55 21:09:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 21:09:55 21:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:55 21:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:55 Average: eth0 21.89 16.29 81.00 2.78 0.00 0.00 0.00 0.00 21:09:55 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:55 Average: docker0 9.58 11.61 1.03 39.27 0.00 0.00 0.00 0.00 21:09:55 21:09:55 21:09:55 ---> sar -P ALL: 21:09:55 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/24/21 _x86_64_ (2 CPU) 21:09:55 21:09:55 21:00:15 LINUX RESTART (2 CPU) 21:09:55 21:09:55 21:01:01 CPU %user %nice %system %iowait %steal %idle 21:09:55 21:02:01 all 4.20 0.00 1.54 0.32 0.03 93.91 21:09:55 21:02:01 0 4.24 0.00 1.52 0.45 0.03 93.76 21:09:55 21:02:01 1 4.16 0.00 1.56 0.19 0.03 94.06 21:09:55 21:03:01 all 0.11 0.00 0.04 0.00 0.03 99.82 21:09:55 21:03:01 0 0.18 0.00 0.03 0.00 0.02 99.77 21:09:55 21:03:01 1 0.03 0.00 0.05 0.00 0.03 99.88 21:09:55 21:04:01 all 0.14 0.00 0.04 0.00 0.02 99.80 21:09:55 21:04:01 0 0.07 0.00 0.05 0.00 0.03 99.85 21:09:55 21:04:01 1 0.22 0.00 0.03 0.00 0.00 99.75 21:09:55 21:05:01 all 0.18 0.00 0.05 0.00 0.02 99.75 21:09:55 21:05:01 0 0.05 0.00 0.07 0.00 0.02 99.87 21:09:55 21:05:01 1 0.32 0.00 0.03 0.00 0.02 99.63 21:09:55 21:06:01 all 0.24 0.00 0.03 0.00 0.02 99.71 21:09:55 21:06:01 0 0.05 0.00 0.03 0.00 0.02 99.90 21:09:55 21:06:01 1 0.43 0.00 0.03 0.00 0.02 99.52 21:09:55 21:07:01 all 0.25 0.00 0.05 0.00 0.01 99.69 21:09:55 21:07:01 0 0.02 0.00 0.03 0.00 0.02 99.93 21:09:55 21:07:01 1 0.48 0.00 0.07 0.00 0.00 99.45 21:09:55 21:08:01 all 0.21 0.00 0.04 0.00 0.02 99.73 21:09:55 21:08:01 0 0.03 0.00 0.02 0.00 0.00 99.95 21:09:55 21:08:01 1 0.38 0.00 0.07 0.00 0.03 99.52 21:09:55 21:09:01 all 0.17 0.00 0.05 0.00 0.02 99.77 21:09:55 21:09:01 0 0.03 0.00 0.02 0.00 0.02 99.93 21:09:55 21:09:01 1 0.30 0.00 0.08 0.00 0.02 99.60 21:09:55 Average: all 0.67 0.00 0.23 0.04 0.02 99.04 21:09:55 Average: 0 0.57 0.00 0.22 0.05 0.02 99.14 21:09:55 Average: 1 0.78 0.00 0.24 0.02 0.02 98.94 21:09:55 21:09:55 21:09:55