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 052ea3b2913d5291dfc6a5de58db39fb5350a109+4d6967253c42c2a443b56733e0120e3dc957a25e (9d0dc4c4411d481b42bb6cebfdd0da34d14ac790) 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-ssh1632661731336033207.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-ssh6301406070085023339.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-ssh1879446829031902867.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-ssh673880447513797524.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-ssh7116557360043149478.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 Running on prd-centos7-docker-4c-2g-858 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-ssh391740903350872953.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh5404589366703064912.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 Merging remotes/origin/main commit 4d6967253c42c2a443b56733e0120e3dc957a25e into PR head commit 052ea3b2913d5291dfc6a5de58db39fb5350a109 Merge succeeded, producing 052ea3b2913d5291dfc6a5de58db39fb5350a109 Checking out Revision 052ea3b2913d5291dfc6a5de58db39fb5350a109 (PR-938) > git config core.sparsecheckout # timeout=10 > git checkout -f 052ea3b2913d5291dfc6a5de58db39fb5350a109 # 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-ssh1854216013784527637.key > git merge 4d6967253c42c2a443b56733e0120e3dc957a25e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 052ea3b2913d5291dfc6a5de58db39fb5350a109 # timeout=10 Commit message: "fix: Updated ApplicationService mock" > git rev-list --no-walk 3b59b5a5b64443c1e7e5492cc1ead7ba38b831a4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:18:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:18:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:18:50 ========================================================= 20:18:50 EdgeX Global Pipelines Version Info 20:18:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:18:51 ------------------- 20:18:51 stable info: 20:18:51 ------------------- 20:18:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:18:51 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 20:18:51 Message: update stable to v1.0.205 20:18:53 ------------------- 20:18:53 experimental info: 20:18:53 ------------------- 20:18:53 Commited By: **** collab-it+edgex@linuxfoundation.org 20:18:53 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 20:18:53 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:18:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 20:18:53 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 20:18:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:18:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:18:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:18:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-938 [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-938 [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-938 [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 052ea3b2913d5291dfc6a5de58db39fb5350a109 [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 052ea3b [Pipeline] echo 20:18:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:18:55 + git log --format=format:%s -1 052ea3b2913d5291dfc6a5de58db39fb5350a109 [Pipeline] echo 20:18:55 GIT_COMMIT: 052ea3b2913d5291dfc6a5de58db39fb5350a109, Commit Message: fix: Updated ApplicationService mock [Pipeline] echo 20:18:55 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:18:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:18:56 20:18:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:18:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:18:56 latest: Pulling from edgex-devops/git-semver 20:18:56 31603596830f: Pulling fs layer 20:18:56 04fac38145f0: Pulling fs layer 20:18:56 701f6daf10bf: Pulling fs layer 20:18:56 24f72da36158: Pulling fs layer 20:18:56 24f72da36158: Waiting 20:18:56 04fac38145f0: Verifying Checksum 20:18:56 04fac38145f0: Download complete 20:18:57 31603596830f: Verifying Checksum 20:18:57 31603596830f: Download complete 20:18:57 31603596830f: Pull complete 20:18:57 24f72da36158: Verifying Checksum 20:18:57 24f72da36158: Download complete 20:18:57 04fac38145f0: Pull complete 20:18:57 701f6daf10bf: Verifying Checksum 20:18:57 701f6daf10bf: Download complete 20:18:58 701f6daf10bf: Pull complete 20:18:58 24f72da36158: Pull complete 20:18:58 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 20:18:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:18:58 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:18:58 prd-centos7-docker-4c-2g-858 does not seem to be running inside a container 20:18:58 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:18:59 $ docker top 2b6e6f344c1c716f33585ceeb7f6b2fbada1f18e6ca4c6c4ac7642620d32215a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:18:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:18:59 [ssh-agent] Looking for ssh-agent implementation... 20:19:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:19:00 $ docker exec 2b6e6f344c1c716f33585ceeb7f6b2fbada1f18e6ca4c6c4ac7642620d32215a ssh-agent 20:19:00 SSH_AUTH_SOCK=/tmp/ssh-B1tWMzdJ4LdU/agent.15 20:19:00 SSH_AGENT_PID=22 20:19:00 Running ssh-add (command line suppressed) 20:19:00 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/private_key_731709917166969691.key (/w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/private_key_731709917166969691.key) 20:19:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:19:00 + git tag --points-at HEAD [Pipeline] } 20:19:00 $ docker exec --env ******** --env ******** 2b6e6f344c1c716f33585ceeb7f6b2fbada1f18e6ca4c6c4ac7642620d32215a ssh-agent -k 20:19:00 unset SSH_AUTH_SOCK; 20:19:00 unset SSH_AGENT_PID; 20:19:00 echo Agent pid 22 killed; 20:19:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:19:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:19:00 [ssh-agent] Looking for ssh-agent implementation... 20:19:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:19:01 $ docker exec 2b6e6f344c1c716f33585ceeb7f6b2fbada1f18e6ca4c6c4ac7642620d32215a ssh-agent 20:19:01 SSH_AUTH_SOCK=/tmp/ssh-BrPfbFsSnzri/agent.54 20:19:01 SSH_AGENT_PID=61 20:19:01 Running ssh-add (command line suppressed) 20:19:01 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/private_key_2219972401617472520.key (/w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/private_key_2219972401617472520.key) 20:19:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:19:01 + git semver init 20:19:01 # -> Open(): unable to determine branch for HEAD 20:19:01 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-938/.git 20:19:01 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-938 20:19:01 # $SEMVER_REMOTE_NAME = origin 20:19:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:19:01 # $SEMVER_USER_NAME = edgex-jenkins 20:19:01 # $SEMVER_BRANCH = PR-938 20:19:01 # $SEMVER_TEMP = /tmp/semver-472625171 20:19:01 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 20:19:04 # '/tmp/semver-472625171' -> '/w/workspace/ndry_app-functions-sdk-go_PR-938/.semver' 20:19:04 # -> Force: false 20:19:04 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-938/.semver [Pipeline] } 20:19:04 $ docker exec --env ******** --env ******** 2b6e6f344c1c716f33585ceeb7f6b2fbada1f18e6ca4c6c4ac7642620d32215a ssh-agent -k 20:19:04 unset SSH_AUTH_SOCK; 20:19:04 unset SSH_AGENT_PID; 20:19:04 echo Agent pid 61 killed; 20:19:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:19:04 + git semver [Pipeline] } 20:19:04 $ docker stop --time=1 2b6e6f344c1c716f33585ceeb7f6b2fbada1f18e6ca4c6c4ac7642620d32215a 20:19:06 $ docker rm -f 2b6e6f344c1c716f33585ceeb7f6b2fbada1f18e6ca4c6c4ac7642620d32215a [Pipeline] // withDockerContainer [Pipeline] sh 20:19:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:19:06 Stashed 1 file(s) [Pipeline] echo 20:19:06 [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 20:19:22 Still waiting to schedule task 20:19:22 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-858’ 20:19:22 Still waiting to schedule task 20:19:22 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 20:21:25 Running on prd-ubuntu18.04-docker-arm64-4c-16g-859 in /w/workspace/ndry_app-functions-sdk-go_PR-938 [Pipeline] { [Pipeline] ws 20:21:25 Running in /w/workspace/app-functions-sdk-go/5 [Pipeline] { [Pipeline] checkout 20:21:25 The recommended git tool is: git 20:21:27 Running on prd-centos7-docker-4c-2g-860 in /w/workspace/ndry_app-functions-sdk-go_PR-938 [Pipeline] { [Pipeline] ws 20:21:27 Running in /w/workspace/app-functions-sdk-go/5 [Pipeline] { [Pipeline] checkout 20:21:27 The recommended git tool is: git 20:21:30 using credential edgex-jenkins-ssh 20:21:30 Cloning the remote Git repository 20:21:30 using credential edgex-jenkins-ssh 20:21:28 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 20:21:28 > git init /w/workspace/app-functions-sdk-go/5 # timeout=10 20:21:29 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:21:29 > git --version # timeout=10 20:21:29 > git --version # 'git version 2.24.4' 20:21:29 using GIT_SSH to set credentials SSH Credentials for GitHub 20:21:29 [INFO] Currently running in a labeled security context 20:21:29 [INFO] Currently SELinux is 'enforcing' on the host 20:21:29 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/5@tmp/jenkins-gitclient-ssh1908355183266861773.key 20:21:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:21:30 Cloning the remote Git repository 20:21:31 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 20:21:31 > git init /w/workspace/app-functions-sdk-go/5 # timeout=10 20:21:31 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:21:31 > git --version # timeout=10 20:21:31 > git --version # 'git version 2.17.1' 20:21:31 using GIT_SSH to set credentials SSH Credentials for GitHub 20:21:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:21:32 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:21:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:21:32 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:21:32 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:21:32 using GIT_SSH to set credentials SSH Credentials for GitHub 20:21:32 [INFO] Currently running in a labeled security context 20:21:32 [INFO] Currently SELinux is 'enforcing' on the host 20:21:32 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/5@tmp/jenkins-gitclient-ssh6095748572080765609.key 20:21: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 20:21:33 Merging remotes/origin/main commit 4d6967253c42c2a443b56733e0120e3dc957a25e into PR head commit 052ea3b2913d5291dfc6a5de58db39fb5350a109 20:21:33 Merge succeeded, producing 052ea3b2913d5291dfc6a5de58db39fb5350a109 20:21:33 Checking out Revision 052ea3b2913d5291dfc6a5de58db39fb5350a109 (PR-938) 20:21:33 > git config core.sparsecheckout # timeout=10 20:21:33 > git checkout -f 052ea3b2913d5291dfc6a5de58db39fb5350a109 # timeout=10 20:21:33 > git remote # timeout=10 20:21:33 > git config --get remote.origin.url # timeout=10 20:21:33 using GIT_SSH to set credentials SSH Credentials for GitHub 20:21:33 [INFO] Currently running in a labeled security context 20:21:33 [INFO] Currently SELinux is 'enforcing' on the host 20:21:33 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/5@tmp/jenkins-gitclient-ssh4530345542977647816.key 20:21:33 > git merge 4d6967253c42c2a443b56733e0120e3dc957a25e # timeout=10 20:21:33 > git rev-parse HEAD^{commit} # timeout=10 20:21:33 > git config core.sparsecheckout # timeout=10 20:21:33 > git checkout -f 052ea3b2913d5291dfc6a5de58db39fb5350a109 # timeout=10 20:21:35 Merging remotes/origin/main commit 4d6967253c42c2a443b56733e0120e3dc957a25e into PR head commit 052ea3b2913d5291dfc6a5de58db39fb5350a109 20:21:35 Merge succeeded, producing 052ea3b2913d5291dfc6a5de58db39fb5350a109 20:21:35 Checking out Revision 052ea3b2913d5291dfc6a5de58db39fb5350a109 (PR-938) 20:21:34 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:21:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:21:34 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:21:34 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:21:34 using GIT_SSH to set credentials SSH Credentials for GitHub 20:21:34 > 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 20:21:35 > git config core.sparsecheckout # timeout=10 20:21:35 > git checkout -f 052ea3b2913d5291dfc6a5de58db39fb5350a109 # timeout=10 20:21:35 > git remote # timeout=10 20:21:35 > git config --get remote.origin.url # timeout=10 20:21:35 using GIT_SSH to set credentials SSH Credentials for GitHub 20:21:35 > git merge 4d6967253c42c2a443b56733e0120e3dc957a25e # timeout=10 20:21:35 > git rev-parse HEAD^{commit} # timeout=10 20:21:35 > git config core.sparsecheckout # timeout=10 20:21:35 > git checkout -f 052ea3b2913d5291dfc6a5de58db39fb5350a109 # timeout=10 20:21:37 Commit message: "fix: Updated ApplicationService mock" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:21:38 ========================================================= 20:21:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 20:21:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 20:21:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:21:38 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 20:21:38 540db60ca938: Pulling fs layer 20:21:38 adcc1eea9eea: Pulling fs layer 20:21:38 4c4ab2625f07: Pulling fs layer 20:21:38 db62176df00c: Pulling fs layer 20:21:38 3b30891b0d05: Pulling fs layer 20:21:38 06b49ca38bd5: Pulling fs layer 20:21:38 c788192a36de: Pulling fs layer 20:21:38 a77e37c0d609: Pulling fs layer 20:21:38 c3185cebc471: Pulling fs layer 20:21:38 db62176df00c: Waiting 20:21:38 3b30891b0d05: Waiting 20:21:38 06b49ca38bd5: Waiting 20:21:38 c788192a36de: Waiting 20:21:38 a77e37c0d609: Waiting 20:21:38 c3185cebc471: Waiting 20:21:38 4c4ab2625f07: Verifying Checksum 20:21:38 4c4ab2625f07: Download complete 20:21:38 adcc1eea9eea: Verifying Checksum 20:21:38 adcc1eea9eea: Download complete 20:21:38 3b30891b0d05: Verifying Checksum 20:21:38 3b30891b0d05: Download complete 20:21:38 06b49ca38bd5: Verifying Checksum 20:21:38 06b49ca38bd5: Download complete 20:21:38 540db60ca938: Verifying Checksum 20:21:38 540db60ca938: Download complete 20:21:38 c788192a36de: Verifying Checksum 20:21:38 c788192a36de: Download complete 20:21:39 540db60ca938: Pull complete 20:21:39 adcc1eea9eea: Pull complete 20:21:39 4c4ab2625f07: Pull complete 20:21:39 a77e37c0d609: Verifying Checksum 20:21:39 a77e37c0d609: Download complete 20:21:40 Commit message: "fix: Updated ApplicationService mock" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:21:40 ========================================================= 20:21:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 20:21:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 20:21:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:21:42 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:21:42 595b0fe564bb: Pulling fs layer 20:21:42 24495759ef45: Pulling fs layer 20:21:42 d148012ef14d: Pulling fs layer 20:21:42 e90a11edd702: Pulling fs layer 20:21:42 d77568369979: Pulling fs layer 20:21:42 fc1c9f9a7f3b: Pulling fs layer 20:21:42 170f2ba95c9a: Pulling fs layer 20:21:42 97ac5df62f85: Pulling fs layer 20:21:42 e90a11edd702: Waiting 20:21:42 d77568369979: Waiting 20:21:42 fc1c9f9a7f3b: Waiting 20:21:42 97ac5df62f85: Waiting 20:21:42 170f2ba95c9a: Waiting 20:21:42 d148012ef14d: Verifying Checksum 20:21:42 d148012ef14d: Download complete 20:21:42 24495759ef45: Verifying Checksum 20:21:42 24495759ef45: Download complete 20:21:42 d77568369979: Download complete 20:21:42 fc1c9f9a7f3b: Verifying Checksum 20:21:42 fc1c9f9a7f3b: Download complete 20:21:43 170f2ba95c9a: Download complete 20:21:43 595b0fe564bb: Verifying Checksum 20:21:43 595b0fe564bb: Download complete 20:21:43 595b0fe564bb: Pull complete 20:21:44 c3185cebc471: Verifying Checksum 20:21:44 c3185cebc471: Download complete 20:21:44 24495759ef45: Pull complete 20:21:44 d148012ef14d: Pull complete 20:21:45 db62176df00c: Verifying Checksum 20:21:45 db62176df00c: Download complete 20:21:46 97ac5df62f85: Verifying Checksum 20:21:46 97ac5df62f85: Download complete 20:21:47 e90a11edd702: Verifying Checksum 20:21:47 e90a11edd702: Download complete 20:21:49 db62176df00c: Pull complete 20:21:49 3b30891b0d05: Pull complete 20:21:49 06b49ca38bd5: Pull complete 20:21:49 c788192a36de: Pull complete 20:21:49 a77e37c0d609: Pull complete 20:21:51 c3185cebc471: Pull complete 20:21:51 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 20:21:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:21:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 20:21:52 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 20:21:52 + docker inspect -f . ci-base-image-x86_64 20:21:52 . [Pipeline] withDockerContainer 20:21:52 prd-centos7-docker-4c-2g-860 does not seem to be running inside a container 20:21:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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 ******** -e ******** ci-base-image-x86_64 cat 20:21:54 $ docker top cac6ccc2d2ee01a72803addc0e43dc1393c17300172d83a1146a01c7cb7e7c53 -eo pid,comm [Pipeline] { [Pipeline] sh 20:21:55 + go version 20:21:55 go version go1.16.6 linux/amd64 [Pipeline] } 20:21:55 $ docker stop --time=1 cac6ccc2d2ee01a72803addc0e43dc1393c17300172d83a1146a01c7cb7e7c53 20:21:56 $ docker rm -f cac6ccc2d2ee01a72803addc0e43dc1393c17300172d83a1146a01c7cb7e7c53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:21:57 + docker inspect -f . ci-base-image-x86_64 20:21:57 . [Pipeline] withDockerContainer 20:21:57 prd-centos7-docker-4c-2g-860 does not seem to be running inside a container 20:21:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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 ******** -e ******** ci-base-image-x86_64 cat 20:21:57 e90a11edd702: Pull complete 20:21:57 $ docker top 796b7642512354c78fb6a236eab411ff139d2a922b9e2016586eeb1eb194c8fd -eo pid,comm 20:21:57 d77568369979: Pull complete [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:21:57 fc1c9f9a7f3b: Pull complete 20:21:58 + make test 20:21:58 make -C ./app-service-template build 20:21:58 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 20:21:58 go mod tidy 20:21:58 170f2ba95c9a: Pull complete 20:21:58 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 20:21:58 go: downloading github.com/google/uuid v1.3.0 20:21:58 go: downloading github.com/stretchr/testify v1.7.0 20:21:58 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 20:21:58 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 20:21:58 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 20:21:58 go: downloading github.com/go-playground/validator/v10 v10.6.1 20:21:58 go: downloading github.com/go-kit/kit v0.9.0 20:21:58 go: downloading gopkg.in/yaml.v2 v2.4.0 20:21:58 go: downloading github.com/davecgh/go-spew v1.1.1 20:21:58 go: downloading github.com/pmezard/go-difflib v1.0.0 20:21:58 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 20:21:58 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 20:21:58 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 20:21:58 go: downloading github.com/stretchr/objx v0.1.0 20:21:58 go: downloading github.com/gorilla/mux v1.8.0 20:21:58 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 20:21:59 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 20:21:59 go: downloading github.com/go-playground/universal-translator v0.17.0 20:21:59 go: downloading github.com/leodido/go-urn v1.2.0 20:21:59 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 20:21:59 go: downloading golang.org/x/text v0.3.2 20:21:59 go: downloading github.com/go-playground/assert/v2 v2.0.1 20:21:59 go: downloading github.com/go-playground/locales v0.13.0 20:22:00 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 20:22:00 go: downloading github.com/go-logfmt/logfmt v0.4.0 20:22:00 go: downloading github.com/go-stack/stack v1.8.0 20:22:00 go: downloading github.com/mitchellh/copystructure v1.0.0 20:22:00 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 20:22:00 go: downloading github.com/gorilla/websocket v1.4.2 20:22:00 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 20:22:00 go: downloading github.com/pelletier/go-toml v1.9.2 20:22:00 go: downloading github.com/hashicorp/consul/api v1.8.1 20:22:00 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 20:22:00 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:22:00 go: downloading github.com/kr/pretty v0.2.0 20:22:00 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:22:00 go: downloading github.com/x448/float16 v0.8.4 20:22:00 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:22:00 go: downloading github.com/hashicorp/go-hclog v0.12.0 20:22:00 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 20:22:00 go: downloading github.com/hashicorp/serf v0.9.5 20:22:00 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:22:00 go: downloading github.com/hashicorp/consul/sdk v0.7.0 20:22:00 go: downloading github.com/hashicorp/go-uuid v1.0.1 20:22:00 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 20:22:00 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:22:00 go: downloading github.com/kr/text v0.1.0 20:22:00 go: downloading github.com/mitchellh/go-homedir v1.1.0 20:22:00 go: downloading github.com/fatih/color v1.9.0 20:22:00 go: downloading github.com/mattn/go-colorable v0.1.6 20:22:00 go: downloading github.com/mattn/go-isatty v0.0.12 20:22:00 go: downloading github.com/pkg/errors v0.8.1 20:22:00 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:22:00 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 20:22:00 go: downloading github.com/hashicorp/go-msgpack v0.5.3 20:22:00 go: downloading github.com/hashicorp/memberlist v0.2.2 20:22:00 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:22:00 go: downloading github.com/pebbe/zmq4 v1.2.7 20:22:00 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:22:00 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 20:22:00 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:22:00 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:22:00 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:22:00 go: downloading github.com/hashicorp/go-multierror v1.1.0 20:22:01 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 20:22:01 go: downloading github.com/miekg/dns v1.1.26 20:22:01 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:22:01 go: downloading github.com/onsi/ginkgo v1.10.1 20:22:01 go: downloading github.com/onsi/gomega v1.7.0 20:22:01 go: downloading github.com/hashicorp/golang-lru v0.5.0 20:22:01 go: downloading github.com/hashicorp/errwrap v1.0.0 20:22:01 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 20:22:01 go: downloading github.com/hpcloud/tail v1.0.0 20:22:01 go: downloading github.com/golang/protobuf v1.3.2 20:22:01 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 20:22:01 go: downloading gopkg.in/fsnotify.v1 v1.4.7 20:22:01 go: downloading github.com/fsnotify/fsnotify v1.4.7 20:22:01 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 20:22:05 97ac5df62f85: Pull complete 20:22:05 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 20:22:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:22:05 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 20:22:05 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 20:22:06 + docker inspect -f . ci-base-image-arm64 20:22:06 . [Pipeline] withDockerContainer 20:22:06 prd-ubuntu18.04-docker-arm64-4c-16g-859 does not seem to be running inside a container 20:22:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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 ******** -e ******** ci-base-image-arm64 cat 20:22:11 $ docker top eb9b6347087a4246c10b4329a883f433a4ec62c4b415371c366e4c7ed5444c4a -eo pid,comm [Pipeline] { [Pipeline] sh 20:22:12 + go version 20:22:12 go version go1.16.6 linux/arm64 [Pipeline] } 20:22:12 $ docker stop --time=1 eb9b6347087a4246c10b4329a883f433a4ec62c4b415371c366e4c7ed5444c4a 20:22:13 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 20:22:13 make -C ./app-service-template test 20:22:13 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 20:22:13 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 20:22:15 $ docker rm -f eb9b6347087a4246c10b4329a883f433a4ec62c4b415371c366e4c7ed5444c4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:22:15 + docker inspect -f . ci-base-image-arm64 20:22:15 . [Pipeline] withDockerContainer 20:22:16 prd-ubuntu18.04-docker-arm64-4c-16g-859 does not seem to be running inside a container 20:22:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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 ******** -e ******** ci-base-image-arm64 cat 20:22:17 $ docker top a4552aaa01051859b1210c9c4b3f56b8d20aeee75959c3b3243320d545e404d9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:22:18 + make test 20:22:18 make -C ./app-service-template build 20:22:18 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 20:22:18 go mod tidy 20:22:20 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 20:22:20 go: downloading github.com/google/uuid v1.3.0 20:22:20 go: downloading github.com/stretchr/testify v1.7.0 20:22:20 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 20:22:20 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 20:22:20 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 20:22:20 go: downloading github.com/davecgh/go-spew v1.1.1 20:22:20 go: downloading github.com/pmezard/go-difflib v1.0.0 20:22:20 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 20:22:20 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 20:22:20 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 20:22:20 go: downloading github.com/stretchr/objx v0.1.0 20:22:20 go: downloading github.com/go-playground/validator/v10 v10.6.1 20:22:20 go: downloading github.com/go-kit/kit v0.9.0 20:22:20 go: downloading gopkg.in/yaml.v2 v2.4.0 20:22:21 go: downloading github.com/gorilla/mux v1.8.0 20:22:21 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 20:22:21 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 20:22:21 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 20:22:21 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 20:22:21 go: downloading github.com/mitchellh/copystructure v1.0.0 20:22:21 go: downloading github.com/gorilla/websocket v1.4.2 20:22:21 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 20:22:21 go: downloading github.com/hashicorp/consul/api v1.8.1 20:22:21 go: downloading github.com/pelletier/go-toml v1.9.2 20:22:21 go: downloading github.com/go-playground/universal-translator v0.17.0 20:22:21 go: downloading github.com/leodido/go-urn v1.2.0 20:22:21 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 20:22:21 go: downloading golang.org/x/text v0.3.2 20:22:22 go: downloading github.com/go-playground/assert/v2 v2.0.1 20:22:22 ok new-app-service 0.009s coverage: 48.1% of statements 20:22:22 ? new-app-service/config [no test files] 20:22:22 ok new-app-service/functions 0.009s 20:22:22 CGO_ENABLED=1 go vet ./... 20:22:22 go: downloading github.com/go-playground/locales v0.13.0 20:22:24 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:22:24 go: downloading github.com/kr/pretty v0.2.0 20:22:24 go: downloading github.com/x448/float16 v0.8.4 20:22:24 go: downloading github.com/go-logfmt/logfmt v0.4.0 20:22:24 go: downloading github.com/go-stack/stack v1.8.0 20:22:24 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 20:22:24 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:22:24 go: downloading github.com/hashicorp/go-hclog v0.12.0 20:22:24 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 20:22:24 go: downloading github.com/hashicorp/serf v0.9.5 20:22:24 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:22:24 go: downloading github.com/hashicorp/consul/sdk v0.7.0 20:22:25 go: downloading github.com/hashicorp/go-uuid v1.0.1 20:22:25 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 20:22:25 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:22:25 go: downloading github.com/kr/text v0.1.0 20:22:25 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 20:22:25 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:22:25 go: downloading github.com/pebbe/zmq4 v1.2.7 20:22:25 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:22:25 go: downloading github.com/fatih/color v1.9.0 20:22:25 go: downloading github.com/mattn/go-colorable v0.1.6 20:22:25 go: downloading github.com/mattn/go-isatty v0.0.12 20:22:25 go: downloading github.com/mitchellh/go-homedir v1.1.0 20:22:25 go: downloading github.com/pkg/errors v0.8.1 20:22:25 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:22:25 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:22:25 go: downloading github.com/hashicorp/go-msgpack v0.5.3 20:22:25 go: downloading github.com/hashicorp/memberlist v0.2.2 20:22:25 go: downloading github.com/onsi/ginkgo v1.10.1 20:22:25 go: downloading github.com/onsi/gomega v1.7.0 20:22:25 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 20:22:26 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:22:26 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:22:26 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:22:26 go: downloading github.com/hashicorp/go-multierror v1.1.0 20:22:26 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 20:22:26 go: downloading github.com/miekg/dns v1.1.26 20:22:26 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:22:26 go: downloading github.com/hashicorp/golang-lru v0.5.0 20:22:26 go: downloading github.com/hashicorp/errwrap v1.0.0 20:22:26 go: downloading github.com/hpcloud/tail v1.0.0 20:22:26 go: downloading github.com/golang/protobuf v1.3.2 20:22:26 go: downloading gopkg.in/fsnotify.v1 v1.4.7 20:22:26 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 20:22:26 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 20:22:26 go: downloading github.com/fsnotify/fsnotify v1.4.7 20:22:26 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 20:22:30 gofmt -l . 20:22:30 [ "`gofmt -l .`" = "" ] 20:22:30 ./bin/test-attribution-txt.sh 20:22:30 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 20:22:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:22:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 20:22:31 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.011s coverage: 65.4% of statements 20:22:31 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.024s coverage: 93.2% of statements 20:22:31 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 20:22:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.020s coverage: 61.8% of statements 20:22:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 20:22:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.015s 20:22:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.328s coverage: 75.2% of statements 20:22:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 20:22:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 20:22:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 20:22:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 20:22:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 20:22:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 20:22:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.024s coverage: 97.3% of statements 20:22:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 20:22:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.023s coverage: 10.5% of statements 20:22:38 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.064s coverage: 77.0% of statements 20:22:38 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 20:22:38 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.014s coverage: 12.5% of statements 20:22:38 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.011s coverage: 27.3% of statements 20:22:38 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 20:22:38 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 20:22:38 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.011s coverage: 51.4% of statements 20:23:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.047s coverage: 77.3% of statements 20:23:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.008s coverage: 94.4% of statements 20:23:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:23:04 gofmt -l . 20:23:04 [ "`gofmt -l .`" = "" ] [Pipeline] } 20:23:04 $ docker stop --time=1 796b7642512354c78fb6a236eab411ff139d2a922b9e2016586eeb1eb194c8fd 20:23:05 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 20:23:05 make -C ./app-service-template test 20:23:05 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 20:23:05 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 20:23:06 $ docker rm -f 796b7642512354c78fb6a236eab411ff139d2a922b9e2016586eeb1eb194c8fd [Pipeline] // withDockerContainer [Pipeline] sh 20:23:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:23:07 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 20:23:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:23:08 20:23:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:23:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:23:08 latest: Pulling from edgex-lftools-log-publisher 20:23:08 b4d181a07f80: Pulling fs layer 20:23:08 a1111a8f2ec3: Pulling fs layer 20:23:08 ed53099fbce6: Pulling fs layer 20:23:08 dc539afda2c1: Pulling fs layer 20:23:08 77bc0d833cb6: Pulling fs layer 20:23:08 9065ff56babe: Pulling fs layer 20:23:08 d287ab97295c: Pulling fs layer 20:23:08 77bc0d833cb6: Waiting 20:23:08 9065ff56babe: Waiting 20:23:08 d287ab97295c: Waiting 20:23:08 dc539afda2c1: Waiting 20:23:08 a1111a8f2ec3: Verifying Checksum 20:23:08 a1111a8f2ec3: Download complete 20:23:08 dc539afda2c1: Verifying Checksum 20:23:08 dc539afda2c1: Download complete 20:23:08 77bc0d833cb6: Verifying Checksum 20:23:08 77bc0d833cb6: Download complete 20:23:08 9065ff56babe: Verifying Checksum 20:23:08 9065ff56babe: Download complete 20:23:08 ed53099fbce6: Verifying Checksum 20:23:08 ed53099fbce6: Download complete 20:23:09 b4d181a07f80: Verifying Checksum 20:23:09 b4d181a07f80: Download complete 20:23:10 b4d181a07f80: Pull complete 20:23:10 a1111a8f2ec3: Pull complete 20:23:11 ed53099fbce6: Pull complete 20:23:11 dc539afda2c1: Pull complete 20:23:11 77bc0d833cb6: Pull complete 20:23:11 9065ff56babe: Pull complete 20:23:12 d287ab97295c: Verifying Checksum 20:23:12 d287ab97295c: Download complete 20:23:16 d287ab97295c: Pull complete 20:23:16 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:23:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:23:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:23:16 prd-centos7-docker-4c-2g-860 does not seem to be running inside a container 20:23:16 $ 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/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:23:19 $ docker top 8da59fbf320bae62a23fd76bbd57179a38dcdc27ecc1c856c859cd1633203c6b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:23:20 ---> job-cost.sh 20:23:20 lf-activate-venv: SKIPPING 20:23:20 INFO: No Stack... 20:23:21 INFO: Retrieving Pricing Info for: v3-standard-2 20:23:21 INFO: Archiving Costs [Pipeline] sh 20:23:21 + + catcut -d, /w/workspace/app-functions-sdk-go/5/archives/cost.csv -f6 20:23:21 [Pipeline] lock 20:23:21 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-5-stack-cost] 20:23:21 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-5-stack-cost] did not exist. Created. 20:23:21 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:23:22 + echo total: 0.05999999865889549 [Pipeline] stash 20:23:22 Stashed 1 file(s) [Pipeline] } 20:23:22 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-5-stack-cost] [Pipeline] // lock [Pipeline] } 20:23:22 $ docker stop --time=1 8da59fbf320bae62a23fd76bbd57179a38dcdc27ecc1c856c859cd1633203c6b 20:23:23 $ docker rm -f 8da59fbf320bae62a23fd76bbd57179a38dcdc27ecc1c856c859cd1633203c6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:23:32 ok new-app-service 0.042s coverage: 48.1% of statements 20:23:32 ? new-app-service/config [no test files] 20:23:32 ok new-app-service/functions 0.042s 20:23:32 CGO_ENABLED=1 go vet ./... 20:23:59 gofmt -l . 20:23:59 [ "`gofmt -l .`" = "" ] 20:23:59 ./bin/test-attribution-txt.sh 20:24:00 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 20:24:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:24:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 20:24:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.089s coverage: 65.4% of statements 20:24:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.101s coverage: 93.2% of statements 20:24:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 20:24:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.099s coverage: 61.8% of statements 20:24:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 20:24:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.075s 20:24:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.148s coverage: 75.2% of statements 20:24:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 20:24:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 20:24:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 20:24:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 20:24:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 20:24:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 20:24:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.027s coverage: 97.3% of statements 20:24:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 20:24:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.060s coverage: 10.5% of statements 20:24:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.231s coverage: 77.0% of statements 20:24:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 20:24:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.040s coverage: 12.5% of statements 20:24:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.039s coverage: 27.3% of statements 20:24:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 20:24:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 20:24:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.055s coverage: 51.4% of statements 20:24:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.113s coverage: 77.3% of statements 20:24:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.031s coverage: 94.4% of statements 20:24:44 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:24:46 gofmt -l . 20:24:47 [ "`gofmt -l .`" = "" ] [Pipeline] } 20:24:47 $ docker stop --time=1 a4552aaa01051859b1210c9c4b3f56b8d20aeee75959c3b3243320d545e404d9 20:24:50 $ docker rm -f a4552aaa01051859b1210c9c4b3f56b8d20aeee75959c3b3243320d545e404d9 [Pipeline] // withDockerContainer [Pipeline] sh 20:24:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:24:52 Warning: overwriting stash ‘coverage-report’ 20:24:52 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 20:24:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:24:53 20:24:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:24:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:24:54 arm64: Pulling from edgex-lftools-log-publisher 20:24:54 448f6bf000e3: Pulling fs layer 20:24:54 f757da607395: Pulling fs layer 20:24:54 05883995daec: Pulling fs layer 20:24:54 8603b9c90790: Pulling fs layer 20:24:54 1560dd03e051: Pulling fs layer 20:24:54 27f5ce0e4adf: Pulling fs layer 20:24:54 c2d8d7efcc4b: Pulling fs layer 20:24:54 1560dd03e051: Waiting 20:24:54 27f5ce0e4adf: Waiting 20:24:54 c2d8d7efcc4b: Waiting 20:24:54 8603b9c90790: Waiting 20:24:54 f757da607395: Verifying Checksum 20:24:54 f757da607395: Download complete 20:24:54 8603b9c90790: Verifying Checksum 20:24:54 8603b9c90790: Download complete 20:24:55 1560dd03e051: Verifying Checksum 20:24:55 1560dd03e051: Download complete 20:24:55 27f5ce0e4adf: Verifying Checksum 20:24:55 27f5ce0e4adf: Download complete 20:24:55 05883995daec: Verifying Checksum 20:24:55 05883995daec: Download complete 20:24:56 448f6bf000e3: Verifying Checksum 20:24:56 448f6bf000e3: Download complete 20:24:59 c2d8d7efcc4b: Verifying Checksum 20:24:59 c2d8d7efcc4b: Download complete 20:24:59 448f6bf000e3: Pull complete 20:25:00 f757da607395: Pull complete 20:25:02 05883995daec: Pull complete 20:25:02 8603b9c90790: Pull complete 20:25:03 1560dd03e051: Pull complete 20:25:03 27f5ce0e4adf: Pull complete 20:25:18 c2d8d7efcc4b: Pull complete 20:25:18 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 20:25:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:25:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:25:18 prd-ubuntu18.04-docker-arm64-4c-16g-859 does not seem to be running inside a container 20:25: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/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:25:22 $ docker top e3d72d8f47554825cb5eed015a7b249d2e1c81fb43e965185a35344dfcbadccc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:25:23 ---> job-cost.sh 20:25:23 lf-activate-venv: SKIPPING 20:25:23 INFO: No Stack... 20:25:25 INFO: Retrieving Pricing Info for: v3-standard-4 20:25:25 INFO: Archiving Costs [Pipeline] sh 20:25:26 + cut -d, -f6 20:25:26 + cat /w/workspace/app-functions-sdk-go/5/archives/cost.csv [Pipeline] lock 20:25:26 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-5-stack-cost] 20:25:26 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-5-stack-cost] did not exist. Created. 20:25:26 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:25:27 /w/workspace/app-functions-sdk-go/5@tmp/durable-2ccd0c86/script.sh: 1: /w/workspace/app-functions-sdk-go/5@tmp/durable-2ccd0c86/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:25:28 + echo total: 0.10999999940395355 [Pipeline] stash 20:25:28 Warning: overwriting stash ‘stack-cost’ 20:25:28 Stashed 1 file(s) [Pipeline] } 20:25:28 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-5-stack-cost] [Pipeline] // lock [Pipeline] } 20:25:28 $ docker stop --time=1 e3d72d8f47554825cb5eed015a7b249d2e1c81fb43e965185a35344dfcbadccc 20:25:29 $ docker rm -f e3d72d8f47554825cb5eed015a7b249d2e1c81fb43e965185a35344dfcbadccc [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 20:25:30 provisioning config files... 20:25:31 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/config8847158447039548721tmp [Pipeline] { [Pipeline] sh 20:25:31 + set +x 20:25:31 + curl -s https://codecov.io/bash 20:25:31 + bash -s -- 20:25:31 20:25:31 _____ _ 20:25:31 / ____| | | 20:25:31 | | ___ __| | ___ ___ _____ __ 20:25:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:25:31 | |___| (_) | (_| | __/ (_| (_) \ V / 20:25:31 \_____\___/ \__,_|\___|\___\___/ \_/ 20:25:31 Bash-1.0.6 20:25:31 20:25:31 20:25:31 ==> git version 2.24.4 found 20:25:31 ==> 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 20:25:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:25:31 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:25:31 ==> Jenkins CI detected. 20:25:31 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-938 20:25:31 project root: . 20:25:31 --> token set from env 20:25:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:25:31 ==> Running gcov in . (disable via -X gcov) 20:25:31 ==> Python coveragepy not found 20:25:31 ==> Searching for coverage reports in: 20:25:31 + . 20:25:31 -> Found 2 reports 20:25:31 ==> Detecting git/mercurial file structure 20:25:31 ==> Reading reports 20:25:31 + ./app-service-template/coverage.out bytes=1219 20:25:31 + ./coverage.out bytes=100525 20:25:31 ==> Appending adjustments 20:25:31 https://docs.codecov.io/docs/fixing-reports 20:25:32 + Found adjustments 20:25:32 ==> Gzipping contents 20:25:32 20K /tmp/codecov.1Pl2nR.gz 20:25:32 ==> Uploading reports 20:25:32 url: https://codecov.io 20:25:32 query: branch=PR-938&commit=052ea3b2913d5291dfc6a5de58db39fb5350a109&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-938%2F5%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=938&job=&cmd_args= 20:25:32 -> Pinging Codecov 20:25:32 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=052ea3b2913d5291dfc6a5de58db39fb5350a109&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-938%2F5%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=938&job=&cmd_args= 20:25:32 -> Uploading to 20:25:32 https://storage.googleapis.com/codecov/v4/raw/2021-08-26/3D8B5DFFC46A037C893635FACE044666/052ea3b2913d5291dfc6a5de58db39fb5350a109/e9b67563-02f9-4a16-bcaa-1ecd7097bcd5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210826%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210826T202532Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=075f8e26a5ba1169a80babd7f41e393fc7c2b20f01065dd190ca54d29b999cf6 20:25:32 % Total % Received % Xferd Average Speed Time Time Time Current 20:25:32 Dload Upload Total Spent Left Speed 20:25:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17426 0 0 100 17426 0 31961 --:--:-- --:--:-- --:--:-- 31974 20:25:33 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/052ea3b2913d5291dfc6a5de58db39fb5350a109 [Pipeline] } 20:25:33 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 20:25:34 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-938/archives ']' [Pipeline] libraryResource [Pipeline] sh 20:25:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:25:35 ---> package-listing.sh 20:25:35 ++ facter osfamily 20:25:35 ++ tr '[:upper:]' '[:lower:]' 20:25:35 + OS_FAMILY=redhat 20:25:35 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-938 20:25:35 + START_PACKAGES=/tmp/packages_start.txt 20:25:35 + END_PACKAGES=/tmp/packages_end.txt 20:25:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:25:35 + PACKAGES=/tmp/packages_start.txt 20:25:35 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-938 ']' 20:25:35 + PACKAGES=/tmp/packages_end.txt 20:25:35 + case "${OS_FAMILY}" in 20:25:35 + rpm -qa 20:25:35 + sort 20:25:36 + '[' -f /tmp/packages_start.txt ']' 20:25:36 + '[' -f /tmp/packages_end.txt ']' 20:25:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:25:36 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-938 ']' 20:25:36 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-938/archives/ 20:25:36 + 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 20:25:36 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 20:25:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:25:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:25:38 20:25:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:25:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:25:38 latest: Pulling from edgex-lftools-log-publisher 20:25:38 b4d181a07f80: Pulling fs layer 20:25:38 a1111a8f2ec3: Pulling fs layer 20:25:38 ed53099fbce6: Pulling fs layer 20:25:38 dc539afda2c1: Pulling fs layer 20:25:38 77bc0d833cb6: Pulling fs layer 20:25:38 9065ff56babe: Pulling fs layer 20:25:38 d287ab97295c: Pulling fs layer 20:25:38 77bc0d833cb6: Waiting 20:25:38 9065ff56babe: Waiting 20:25:38 d287ab97295c: Waiting 20:25:38 dc539afda2c1: Waiting 20:25:38 a1111a8f2ec3: Verifying Checksum 20:25:38 a1111a8f2ec3: Download complete 20:25:38 dc539afda2c1: Verifying Checksum 20:25:38 dc539afda2c1: Download complete 20:25:39 77bc0d833cb6: Verifying Checksum 20:25:39 77bc0d833cb6: Download complete 20:25:39 9065ff56babe: Verifying Checksum 20:25:39 9065ff56babe: Download complete 20:25:39 ed53099fbce6: Verifying Checksum 20:25:39 ed53099fbce6: Download complete 20:25:40 b4d181a07f80: Verifying Checksum 20:25:40 b4d181a07f80: Download complete 20:25:42 b4d181a07f80: Pull complete 20:25:42 a1111a8f2ec3: Pull complete 20:25:43 ed53099fbce6: Pull complete 20:25:43 dc539afda2c1: Pull complete 20:25:43 77bc0d833cb6: Pull complete 20:25:43 9065ff56babe: Pull complete 20:25:45 d287ab97295c: Verifying Checksum 20:25:45 d287ab97295c: Download complete 20:25:50 d287ab97295c: Pull complete 20:25:50 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:25:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:25:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:25:50 prd-centos7-docker-4c-2g-858 does not seem to be running inside a container 20:25:50 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:25:53 $ docker top e0cd2c1317103e945bdd6c738949ec0a9d40e518df44d8040405afad2ed65bec -eo pid,comm [Pipeline] { [Pipeline] sh 20:25:54 + touch /tmp/pre-build-complete [Pipeline] sh 20:25:54 + mkdir -p /var/log/sysstat [Pipeline] sh 20:25:54 + ls /var/log/sa-host 20:25:54 + sadf -c /var/log/sa-host/sa05 20:25:54 file_magic: OK 20:25:54 HZ: Using current value: 100 20:25:54 file_header: OK 20:25:54 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 20:25:54 Statistics: 20:25:54 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:25:54 File successfully converted to sysstat format version 12.0.3 20:25:54 + sadf -c /var/log/sa-host/sa26 20:25:54 file_magic: OK 20:25:54 HZ: Using current value: 100 20:25:54 file_header: OK 20:25:54 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 20:25:54 Statistics: 20:25:54 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:25:54 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:25:55 provisioning config files... 20:25:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/config7027041845807867976tmp [Pipeline] { [Pipeline] echo 20:25:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:25:55 ---> create-netrc.sh [Pipeline] } 20:25:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:25:55 ---> python-tools-install.sh [Pipeline] echo 20:25:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:25:56 ---> sudo-logs.sh 20:25:56 Archiving 'sudo' log.. 20:25:56 sudo: unable to resolve host prd-centos7-docker-4c-2g-858.vexxhost.local: Name or service not known 20:25:56 sudo: unable to resolve host prd-centos7-docker-4c-2g-858.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 20:25:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:25:56 ---> job-cost.sh 20:25:56 lf-activate-venv: SKIPPING 20:25:56 DEBUG: total: 0.10999999940395355 20:25:56 INFO: Retrieving Stack Cost... 20:25:58 INFO: Retrieving Pricing Info for: v3-standard-2 20:25:59 INFO: Archiving Costs [Pipeline] echo 20:25:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:25:59 ---> logs-deploy.sh 20:25:59 lf-activate-venv: SKIPPING 20:25:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-938/5 20:25:59 INFO: archiving workspace using pattern(s): 20:26:00 Archives upload complete. 20:26:00 INFO: archiving logs to Nexus 20:26:01 ---> uname -a: 20:26:01 Linux prd-centos7-docker-4c-2g-858.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 20:26:01 20:26:01 20:26:01 ---> lscpu: 20:26:01 Architecture: x86_64 20:26:01 CPU op-mode(s): 32-bit, 64-bit 20:26:01 Byte Order: Little Endian 20:26:01 Address sizes: 40 bits physical, 48 bits virtual 20:26:01 CPU(s): 2 20:26:01 On-line CPU(s) list: 0,1 20:26:01 Thread(s) per core: 1 20:26:01 Core(s) per socket: 1 20:26:01 Socket(s): 2 20:26:01 NUMA node(s): 1 20:26:01 Vendor ID: AuthenticAMD 20:26:01 CPU family: 23 20:26:01 Model: 49 20:26:01 Model name: AMD EPYC-Rome Processor 20:26:01 Stepping: 0 20:26:01 CPU MHz: 2799.998 20:26:01 BogoMIPS: 5599.99 20:26:01 Virtualization: AMD-V 20:26:01 Hypervisor vendor: KVM 20:26:01 Virtualization type: full 20:26:01 L1d cache: 32K 20:26:01 L1i cache: 32K 20:26:01 L2 cache: 512K 20:26:01 L3 cache: 16384K 20:26:01 NUMA node0 CPU(s): 0,1 20:26:01 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 20:26:01 20:26:01 20:26:01 ---> nproc: 20:26:01 2 20:26:01 20:26:01 20:26:01 ---> df -h: 20:26:01 Filesystem Size Used Avail Use% Mounted on 20:26:01 overlay 40G 7.7G 33G 20% / 20:26:01 tmpfs 64M 0 64M 0% /dev 20:26:01 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 20:26:01 shm 64M 0 64M 0% /dev/shm 20:26:01 /dev/vda1 40G 7.7G 33G 20% /facter-os 20:26:01 20:26:01 20:26:01 ---> sar -b -r -n DEV: 20:26:01 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/26/21 _x86_64_ (2 CPU) 20:26:01 20:26:01 20:18:01 LINUX RESTART (2 CPU) 20:26:01 20:26:01 20:19:01 tps rtps wtps bread/s bwrtn/s 20:26:01 20:20:01 5.80 0.15 5.65 22.12 1303.01 20:26:01 20:21:01 0.35 0.00 0.35 0.00 5.66 20:26:01 20:22:01 0.30 0.00 0.30 0.00 3.90 20:26:01 20:23:01 0.22 0.00 0.22 0.00 2.56 20:26:01 20:24:01 0.27 0.00 0.27 0.00 3.32 20:26:01 20:25:01 0.20 0.00 0.20 0.00 1.88 20:26:01 Average: 1.19 0.02 1.16 3.69 220.06 20:26:01 20:26:01 20:19:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:26:01 20:20:01 5435216 0 801800 10.01 2620 1769304 1266972 13.99 596884 1576332 20 20:26:01 20:21:01 5443556 0 793456 9.91 2620 1769308 1197868 13.23 592124 1574116 16 20:26:01 20:22:01 5441096 0 795916 9.94 2620 1769308 1198108 13.23 590940 1578292 8 20:26:01 20:23:01 5440772 0 796232 9.94 2620 1769316 1198084 13.23 590416 1578868 8 20:26:01 20:24:01 5438784 0 798216 9.97 2620 1769320 1197964 13.23 588504 1582828 8 20:26:01 20:25:01 5438940 0 798056 9.96 2620 1769324 1197940 13.23 588392 1582892 8 20:26:01 Average: 5439727 0 797279 9.95 2620 1769313 1209489 13.35 591210 1578888 11 20:26:01 20:26:01 20:19:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:26:01 20:20:01 eth0 98.82 124.55 329.00 16.67 0.00 0.00 0.00 0.00 20:26:01 20:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:26:01 20:20:01 docker0 116.02 84.76 10.55 313.19 0.00 0.00 0.00 0.00 20:26:01 20:21:01 eth0 0.80 0.08 0.08 0.01 0.00 0.00 0.00 0.00 20:26:01 20:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:26:01 20:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:26:01 20:22:01 eth0 0.82 0.32 0.31 0.20 0.00 0.00 0.00 0.00 20:26:01 20:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:26:01 20:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:26:01 20:23:01 eth0 0.67 0.32 0.29 0.20 0.00 0.00 0.00 0.00 20:26:01 20:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:26:01 20:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:26:01 20:24:01 eth0 0.25 0.20 0.08 0.07 0.00 0.00 0.00 0.00 20:26:01 20:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:26:01 20:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:26:01 20:25:01 eth0 0.15 0.13 0.09 0.01 0.00 0.00 0.00 0.00 20:26:01 20:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:26:01 20:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:26:01 Average: eth0 16.92 20.93 54.98 2.86 0.00 0.00 0.00 0.00 20:26:01 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:26:01 Average: docker0 19.34 14.13 1.76 52.20 0.00 0.00 0.00 0.00 20:26:01 20:26:01 20:26:01 ---> sar -P ALL: 20:26:01 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/26/21 _x86_64_ (2 CPU) 20:26:01 20:26:01 20:18:01 LINUX RESTART (2 CPU) 20:26:01 20:26:01 20:19:01 CPU %user %nice %system %iowait %steal %idle 20:26:01 20:20:01 all 2.21 0.00 0.74 0.12 0.13 96.81 20:26:01 20:20:01 0 2.96 0.00 0.79 0.03 0.10 96.12 20:26:01 20:20:01 1 1.46 0.00 0.69 0.20 0.15 97.50 20:26:01 20:21:01 all 0.17 0.00 0.07 0.00 0.02 99.75 20:26:01 20:21:01 0 0.25 0.00 0.05 0.00 0.02 99.68 20:26:01 20:21:01 1 0.08 0.00 0.08 0.00 0.02 99.82 20:26:01 20:22:01 all 0.23 0.00 0.07 0.00 0.02 99.68 20:26:01 20:22:01 0 0.35 0.00 0.03 0.00 0.02 99.60 20:26:01 20:22:01 1 0.12 0.00 0.10 0.00 0.02 99.77 20:26:01 20:23:01 all 0.24 0.00 0.06 0.00 0.03 99.67 20:26:01 20:23:01 0 0.40 0.00 0.03 0.00 0.03 99.53 20:26:01 20:23:01 1 0.08 0.00 0.08 0.00 0.03 99.80 20:26:01 20:24:01 all 0.25 0.00 0.07 0.00 0.07 99.62 20:26:01 20:24:01 0 0.43 0.00 0.03 0.00 0.05 99.48 20:26:01 20:24:01 1 0.07 0.00 0.10 0.00 0.08 99.75 20:26:01 20:25:01 all 0.19 0.00 0.04 0.00 0.06 99.71 20:26:01 20:25:01 0 0.32 0.00 0.03 0.00 0.05 99.60 20:26:01 20:25:01 1 0.07 0.00 0.05 0.00 0.07 99.82 20:26:01 Average: all 0.55 0.00 0.17 0.02 0.05 99.21 20:26:01 Average: 0 0.78 0.00 0.16 0.01 0.04 99.01 20:26:01 Average: 1 0.31 0.00 0.18 0.03 0.06 99.41 20:26:01 20:26:01 20:26:01