Pull request #947 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 AlexCuse for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from dea0737f80a96cfec8aaba85c461ca861e02c0fc+29a796916db0c5ecb6b77355899a0f370fd93cd0 (007a9d83606ea4a8618458426e87132b1cefc06e) 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-ssh7681932872747566363.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-ssh1603494379888598878.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-947/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-947/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8339993577026318915.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-ssh4319805139785832947.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-947/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-947/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4397069920967992447.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-101’ Running on prd-centos7-docker-4c-2g-104 in /w/workspace/ndry_app-functions-sdk-go_PR-947 [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-947 # 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-947@tmp/jenkins-gitclient-ssh2699326675492577205.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 29a796916db0c5ecb6b77355899a0f370fd93cd0 into PR head commit dea0737f80a96cfec8aaba85c461ca861e02c0fc Merge succeeded, producing dea0737f80a96cfec8aaba85c461ca861e02c0fc Checking out Revision dea0737f80a96cfec8aaba85c461ca861e02c0fc (PR-947) > 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-947@tmp/jenkins-gitclient-ssh721510834757548565.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/947/head:refs/remotes/origin/PR-947 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dea0737f80a96cfec8aaba85c461ca861e02c0fc # 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-947@tmp/jenkins-gitclient-ssh7288619709117274799.key > git merge 29a796916db0c5ecb6b77355899a0f370fd93cd0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dea0737f80a96cfec8aaba85c461ca861e02c0fc # timeout=10 Commit message: "Apply suggestions from code review" > git rev-list --no-walk cda6702614aadf54aee16589f006b43ef4a7d454 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:25:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:25:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:25:49 ========================================================= 23:25:49 EdgeX Global Pipelines Version Info 23:25:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:25:50 ------------------- 23:25:50 stable info: 23:25:50 ------------------- 23:25:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:25:50 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:25:50 Message: update stable to v1.0.205 23:25:50 ------------------- 23:25:50 experimental info: 23:25:50 ------------------- 23:25:50 Commited By: **** collab-it+edgex@linuxfoundation.org 23:25:50 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:25:50 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:25:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 23:25:51 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 23:25:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:25:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:25:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:25:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:25:51 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:25:51 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:25:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:25:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:25:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:25:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:25:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 23:25:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:25:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:25:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 23:25:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:25:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:25:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:25:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:25:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:25:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:25:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:25:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:25:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:25:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 23:25:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:25:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-947 [Pipeline] echo 23:25:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-947 [Pipeline] echo 23:25:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-947 [Pipeline] echo 23:25:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dea0737f80a96cfec8aaba85c461ca861e02c0fc [Pipeline] echo 23:25:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dea0737 [Pipeline] echo 23:25:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:25:52 + git log --format=format:%s -1 dea0737f80a96cfec8aaba85c461ca861e02c0fc [Pipeline] echo 23:25:52 GIT_COMMIT: dea0737f80a96cfec8aaba85c461ca861e02c0fc, Commit Message: Apply suggestions from code review [Pipeline] echo 23:25:52 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:25:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:25:53 23:25:53 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:25:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:25:54 latest: Pulling from edgex-devops/git-semver 23:25:54 31603596830f: Pulling fs layer 23:25:54 04fac38145f0: Pulling fs layer 23:25:54 701f6daf10bf: Pulling fs layer 23:25:54 24f72da36158: Pulling fs layer 23:25:54 24f72da36158: Waiting 23:25:54 04fac38145f0: Verifying Checksum 23:25:54 04fac38145f0: Download complete 23:25:54 31603596830f: Verifying Checksum 23:25:54 31603596830f: Download complete 23:25:54 31603596830f: Pull complete 23:25:54 24f72da36158: Verifying Checksum 23:25:54 24f72da36158: Download complete 23:25:54 04fac38145f0: Pull complete 23:25:54 701f6daf10bf: Verifying Checksum 23:25:54 701f6daf10bf: Download complete 23:25:55 701f6daf10bf: Pull complete 23:25:55 24f72da36158: Pull complete 23:25:55 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 23:25:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:25:55 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:25:55 prd-centos7-docker-4c-2g-104 does not seem to be running inside a container 23:25:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-947 -v /w/workspace/ndry_app-functions-sdk-go_PR-947:/w/workspace/ndry_app-functions-sdk-go_PR-947:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-947@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-947@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:25:56 $ docker top 1d7e7c81a34a7aba6143a326e74207b36a06bc84205db1671e53df4d5b9c54c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:25:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:25:56 [ssh-agent] Looking for ssh-agent implementation... 23:25:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:25:56 $ docker exec 1d7e7c81a34a7aba6143a326e74207b36a06bc84205db1671e53df4d5b9c54c6 ssh-agent 23:25:56 SSH_AUTH_SOCK=/tmp/ssh-lGR2jCLXiR1D/agent.14 23:25:56 SSH_AGENT_PID=20 23:25:56 Running ssh-add (command line suppressed) 23:25:56 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-947@tmp/private_key_9172412519444879946.key (/w/workspace/ndry_app-functions-sdk-go_PR-947@tmp/private_key_9172412519444879946.key) 23:25:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:25:57 + git tag --points-at HEAD [Pipeline] } 23:25:57 $ docker exec --env ******** --env ******** 1d7e7c81a34a7aba6143a326e74207b36a06bc84205db1671e53df4d5b9c54c6 ssh-agent -k 23:25:57 unset SSH_AUTH_SOCK; 23:25:57 unset SSH_AGENT_PID; 23:25:57 echo Agent pid 20 killed; 23:25:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:25:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:25:57 [ssh-agent] Looking for ssh-agent implementation... 23:25:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:25:57 $ docker exec 1d7e7c81a34a7aba6143a326e74207b36a06bc84205db1671e53df4d5b9c54c6 ssh-agent 23:25:57 SSH_AUTH_SOCK=/tmp/ssh-7XftHiqwrlhs/agent.55 23:25:57 SSH_AGENT_PID=61 23:25:57 Running ssh-add (command line suppressed) 23:25:57 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-947@tmp/private_key_8707134639995124091.key (/w/workspace/ndry_app-functions-sdk-go_PR-947@tmp/private_key_8707134639995124091.key) 23:25:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:25:58 + git semver init 23:25:58 # -> Open(): unable to determine branch for HEAD 23:25:58 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-947/.git 23:25:58 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-947 23:25:58 # $SEMVER_REMOTE_NAME = origin 23:25:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:25:58 # $SEMVER_USER_NAME = edgex-jenkins 23:25:58 # $SEMVER_BRANCH = PR-947 23:25:58 # $SEMVER_TEMP = /tmp/semver-923088763 23:25:58 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 23:26:00 # '/tmp/semver-923088763' -> '/w/workspace/ndry_app-functions-sdk-go_PR-947/.semver' 23:26:00 # -> Force: false 23:26:00 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-947/.semver [Pipeline] } 23:26:00 $ docker exec --env ******** --env ******** 1d7e7c81a34a7aba6143a326e74207b36a06bc84205db1671e53df4d5b9c54c6 ssh-agent -k 23:26:00 unset SSH_AUTH_SOCK; 23:26:00 unset SSH_AGENT_PID; 23:26:00 echo Agent pid 61 killed; 23:26:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:26:00 + git semver [Pipeline] } 23:26:00 $ docker stop --time=1 1d7e7c81a34a7aba6143a326e74207b36a06bc84205db1671e53df4d5b9c54c6 23:26:02 $ docker rm -f 1d7e7c81a34a7aba6143a326e74207b36a06bc84205db1671e53df4d5b9c54c6 [Pipeline] // withDockerContainer [Pipeline] sh 23:26:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:26:02 Stashed 1 file(s) [Pipeline] echo 23:26:02 [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 23:26:18 Still waiting to schedule task 23:26:18 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:26:18 Still waiting to schedule task 23:26:18 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-102’ 23:28:47 Running on prd-centos7-docker-4c-2g-105 in /w/workspace/ndry_app-functions-sdk-go_PR-947 [Pipeline] { [Pipeline] ws 23:28:47 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 23:28:47 The recommended git tool is: git 23:28:50 using credential edgex-jenkins-ssh 23:28:50 Cloning the remote Git repository 23:28:50 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:28:50 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 23:28:50 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:28:50 > git --version # timeout=10 23:28:50 > git --version # 'git version 2.24.4' 23:28:50 using GIT_SSH to set credentials SSH Credentials for GitHub 23:28:50 [INFO] Currently running in a labeled security context 23:28:50 [INFO] Currently SELinux is 'enforcing' on the host 23:28:50 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh6291970126531488033.key 23:28:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:28:52 Merging remotes/origin/main commit 29a796916db0c5ecb6b77355899a0f370fd93cd0 into PR head commit dea0737f80a96cfec8aaba85c461ca861e02c0fc 23:28:52 Merge succeeded, producing dea0737f80a96cfec8aaba85c461ca861e02c0fc 23:28:52 Checking out Revision dea0737f80a96cfec8aaba85c461ca861e02c0fc (PR-947) 23:28:51 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:28:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:28:51 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:28:51 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:28:51 using GIT_SSH to set credentials SSH Credentials for GitHub 23:28:51 [INFO] Currently running in a labeled security context 23:28:51 [INFO] Currently SELinux is 'enforcing' on the host 23:28:51 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh7388867910374579988.key 23:28:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/947/head:refs/remotes/origin/PR-947 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:28:52 > git config core.sparsecheckout # timeout=10 23:28:52 > git checkout -f dea0737f80a96cfec8aaba85c461ca861e02c0fc # timeout=10 23:28:52 > git remote # timeout=10 23:28:52 > git config --get remote.origin.url # timeout=10 23:28:52 using GIT_SSH to set credentials SSH Credentials for GitHub 23:28:52 [INFO] Currently running in a labeled security context 23:28:52 [INFO] Currently SELinux is 'enforcing' on the host 23:28:52 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh5153771117978850714.key 23:28:52 > git merge 29a796916db0c5ecb6b77355899a0f370fd93cd0 # timeout=10 23:28:52 > git rev-parse HEAD^{commit} # timeout=10 23:28:52 > git config core.sparsecheckout # timeout=10 23:28:52 > git checkout -f dea0737f80a96cfec8aaba85c461ca861e02c0fc # timeout=10 23:28:56 Commit message: "Apply suggestions from code review" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:28:57 ========================================================= 23:28:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:28:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 23:28:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:28:57 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:28:57 540db60ca938: Pulling fs layer 23:28:57 adcc1eea9eea: Pulling fs layer 23:28:57 4c4ab2625f07: Pulling fs layer 23:28:57 db62176df00c: Pulling fs layer 23:28:57 3b30891b0d05: Pulling fs layer 23:28:57 06b49ca38bd5: Pulling fs layer 23:28:57 c788192a36de: Pulling fs layer 23:28:57 a77e37c0d609: Pulling fs layer 23:28:57 c3185cebc471: Pulling fs layer 23:28:57 db62176df00c: Waiting 23:28:57 3b30891b0d05: Waiting 23:28:57 06b49ca38bd5: Waiting 23:28:57 c788192a36de: Waiting 23:28:57 a77e37c0d609: Waiting 23:28:57 c3185cebc471: Waiting 23:28:57 4c4ab2625f07: Verifying Checksum 23:28:57 4c4ab2625f07: Download complete 23:28:57 adcc1eea9eea: Verifying Checksum 23:28:57 adcc1eea9eea: Download complete 23:28:57 3b30891b0d05: Download complete 23:28:57 06b49ca38bd5: Verifying Checksum 23:28:57 06b49ca38bd5: Download complete 23:28:57 c788192a36de: Verifying Checksum 23:28:57 c788192a36de: Download complete 23:28:57 540db60ca938: Verifying Checksum 23:28:57 540db60ca938: Download complete 23:28:58 540db60ca938: Pull complete 23:28:58 adcc1eea9eea: Pull complete 23:28:58 4c4ab2625f07: Pull complete 23:28:58 a77e37c0d609: Verifying Checksum 23:28:58 a77e37c0d609: Download complete 23:29:02 c3185cebc471: Verifying Checksum 23:29:02 c3185cebc471: Download complete 23:29:02 db62176df00c: Verifying Checksum 23:29:02 db62176df00c: Download complete 23:29:05 db62176df00c: Pull complete 23:29:05 3b30891b0d05: Pull complete 23:29:05 06b49ca38bd5: Pull complete 23:29:05 c788192a36de: Pull complete 23:29:05 a77e37c0d609: Pull complete 23:29:07 c3185cebc471: Pull complete 23:29:07 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 23:29:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:29:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 23:29:08 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 23:29:08 + docker inspect -f . ci-base-image-x86_64 23:29:08 . [Pipeline] withDockerContainer 23:29:08 prd-centos7-docker-4c-2g-105 does not seem to be running inside a container 23:29:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:29:11 $ docker top 66158aa1f2e1b61d902b68c9448a7b9aef76352466fc407e0ac10f3241baa567 -eo pid,comm [Pipeline] { [Pipeline] sh 23:29:11 + go version 23:29:11 go version go1.16.6 linux/amd64 [Pipeline] } 23:29:11 $ docker stop --time=1 66158aa1f2e1b61d902b68c9448a7b9aef76352466fc407e0ac10f3241baa567 23:29:12 $ docker rm -f 66158aa1f2e1b61d902b68c9448a7b9aef76352466fc407e0ac10f3241baa567 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:29:13 + docker inspect -f . ci-base-image-x86_64 23:29:13 . [Pipeline] withDockerContainer 23:29:13 prd-centos7-docker-4c-2g-105 does not seem to be running inside a container 23:29:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:29:13 $ docker top 00f6e956d0fdcc766c52c765d072906c23b01087828b89dccaa1b9b0f264c1ca -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:29:14 + make test 23:29:14 make -C ./app-service-template build 23:29:14 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 23:29:14 go mod tidy 23:29:14 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 23:29:14 go: downloading github.com/google/uuid v1.3.0 23:29:14 go: downloading github.com/stretchr/testify v1.7.0 23:29:14 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 23:29:15 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 23:29:15 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 23:29:15 go: downloading github.com/go-playground/validator/v10 v10.6.1 23:29:15 go: downloading github.com/go-kit/kit v0.9.0 23:29:15 go: downloading gopkg.in/yaml.v2 v2.4.0 23:29:15 go: downloading github.com/davecgh/go-spew v1.1.1 23:29:15 go: downloading github.com/pmezard/go-difflib v1.0.0 23:29:15 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 23:29:15 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 23:29:15 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:29:15 go: downloading github.com/stretchr/objx v0.1.0 23:29:15 go: downloading github.com/gorilla/mux v1.8.0 23:29:15 go: downloading github.com/hashicorp/go-multierror v1.1.1 23:29:15 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 23:29:15 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 23:29:15 go: downloading github.com/go-playground/universal-translator v0.17.0 23:29:15 go: downloading github.com/leodido/go-urn v1.2.0 23:29:15 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 23:29:15 go: downloading golang.org/x/text v0.3.2 23:29:15 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:29:15 go: downloading github.com/go-playground/locales v0.13.0 23:29:16 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 23:29:16 go: downloading github.com/go-logfmt/logfmt v0.4.0 23:29:16 go: downloading github.com/go-stack/stack v1.8.0 23:29:16 go: downloading github.com/mitchellh/copystructure v1.0.0 23:29:16 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 23:29:16 go: downloading github.com/gorilla/websocket v1.4.2 23:29:16 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 23:29:16 go: downloading github.com/pelletier/go-toml v1.9.2 23:29:16 go: downloading github.com/hashicorp/consul/api v1.8.1 23:29:16 go: downloading github.com/hashicorp/errwrap v1.0.0 23:29:16 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 23:29:17 go: downloading github.com/kr/pretty v0.2.0 23:29:17 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 23:29:17 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:29:17 go: downloading github.com/x448/float16 v0.8.4 23:29:17 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:29:17 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:29:17 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:29:17 go: downloading github.com/hashicorp/serf v0.9.5 23:29:17 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:29:17 go: downloading github.com/hashicorp/consul/sdk v0.7.0 23:29:17 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:29:17 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:29:17 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:29:17 go: downloading github.com/kr/text v0.1.0 23:29:17 go: downloading github.com/fatih/color v1.9.0 23:29:17 go: downloading github.com/mattn/go-colorable v0.1.6 23:29:17 go: downloading github.com/mattn/go-isatty v0.0.12 23:29:17 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:29:17 go: downloading github.com/pkg/errors v0.8.1 23:29:17 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:29:17 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 23:29:17 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:29:17 go: downloading github.com/hashicorp/memberlist v0.2.2 23:29:17 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:29:17 go: downloading github.com/pebbe/zmq4 v1.2.7 23:29:17 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:29:17 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:29:17 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:29:17 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:29:17 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:29:17 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:29:17 go: downloading github.com/miekg/dns v1.1.26 23:29:17 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:29:17 go: downloading github.com/onsi/ginkgo v1.10.1 23:29:17 go: downloading github.com/onsi/gomega v1.7.0 23:29:17 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:29:17 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 23:29:17 go: downloading github.com/hpcloud/tail v1.0.0 23:29:17 go: downloading github.com/golang/protobuf v1.3.2 23:29:17 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:29:17 go: downloading gopkg.in/fsnotify.v1 v1.4.7 23:29:17 go: downloading github.com/fsnotify/fsnotify v1.4.7 23:29:17 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 23:29:28 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 23:29:28 make -C ./app-service-template test 23:29:28 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 23:29:28 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 23:29:36 ok new-app-service 0.016s coverage: 48.1% of statements 23:29:36 ? new-app-service/config [no test files] 23:29:36 ok new-app-service/functions 0.007s 23:29:36 CGO_ENABLED=1 go vet ./... 23:29:43 gofmt -l . 23:29:43 [ "`gofmt -l .`" = "" ] 23:29:43 ./bin/test-attribution-txt.sh 23:29:43 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 23:29:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:29:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 23:29:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.010s coverage: 64.0% of statements 23:29:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.008s coverage: 93.2% of statements 23:29:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 23:29:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.012s coverage: 61.8% of statements 23:29:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 23:29:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.026s 23:29:47 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.135s coverage: 75.6% of statements 23:29:47 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 23:29:47 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 23:29:47 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 23:29:47 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 23:29:47 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 23:29:47 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 23:29:47 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.002s coverage: 97.3% of statements 23:29:47 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 23:29:47 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.012s coverage: 10.5% of statements 23:29:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.051s coverage: 77.0% of statements 23:29:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 23:29:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.018s coverage: 12.5% of statements 23:29:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.007s coverage: 27.3% of statements 23:29:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 23:29:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 23:29:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.009s coverage: 51.4% of statements 23:30:18 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.029s coverage: 77.3% of statements 23:30:18 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.006s coverage: 94.4% of statements 23:30:18 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:30:18 gofmt -l . 23:30:18 internal/runtime/runtime.go 23:30:18 [ "`gofmt -l .`" = "" ] 23:30:18 make: *** [Makefile:34: test-sdk] Error 1 [Pipeline] } 23:30:18 $ docker stop --time=1 00f6e956d0fdcc766c52c765d072906c23b01087828b89dccaa1b9b0f264c1ca 23:30:19 $ docker rm -f 00f6e956d0fdcc766c52c765d072906c23b01087828b89dccaa1b9b0f264c1ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:30:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:30:20 23:30:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:30:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:30:20 latest: Pulling from edgex-lftools-log-publisher 23:30:20 b4d181a07f80: Pulling fs layer 23:30:20 a1111a8f2ec3: Pulling fs layer 23:30:20 ed53099fbce6: Pulling fs layer 23:30:20 dc539afda2c1: Pulling fs layer 23:30:20 77bc0d833cb6: Pulling fs layer 23:30:20 9065ff56babe: Pulling fs layer 23:30:20 d287ab97295c: Pulling fs layer 23:30:20 dc539afda2c1: Waiting 23:30:20 77bc0d833cb6: Waiting 23:30:20 9065ff56babe: Waiting 23:30:20 d287ab97295c: Waiting 23:30:21 a1111a8f2ec3: Verifying Checksum 23:30:21 a1111a8f2ec3: Download complete 23:30:21 dc539afda2c1: Verifying Checksum 23:30:21 dc539afda2c1: Download complete 23:30:21 77bc0d833cb6: Verifying Checksum 23:30:21 77bc0d833cb6: Download complete 23:30:21 9065ff56babe: Verifying Checksum 23:30:21 9065ff56babe: Download complete 23:30:21 ed53099fbce6: Verifying Checksum 23:30:21 ed53099fbce6: Download complete 23:30:22 b4d181a07f80: Verifying Checksum 23:30:22 b4d181a07f80: Download complete 23:30:23 b4d181a07f80: Pull complete 23:30:23 a1111a8f2ec3: Pull complete 23:30:23 ed53099fbce6: Pull complete 23:30:24 dc539afda2c1: Pull complete 23:30:24 77bc0d833cb6: Pull complete 23:30:24 9065ff56babe: Pull complete 23:30:25 d287ab97295c: Verifying Checksum 23:30:25 d287ab97295c: Download complete 23:30:30 d287ab97295c: Pull complete 23:30:30 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:30:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:30:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:30:30 prd-centos7-docker-4c-2g-105 does not seem to be running inside a container 23:30:30 $ 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/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:30:32 $ docker top 5ee37832e2e6e0aea90e35c0d1b713d31c212f2d8e2fd4dc9338aac33f0f196c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:30:33 ---> job-cost.sh 23:30:33 lf-activate-venv: SKIPPING 23:30:33 INFO: No Stack... 23:30:34 INFO: Retrieving Pricing Info for: v3-standard-2 23:30:40 Running on prd-ubuntu18.04-docker-arm64-4c-16g-106 in /w/workspace/ndry_app-functions-sdk-go_PR-947 [Pipeline] { [Pipeline] ws 23:30:40 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 23:30:40 The recommended git tool is: git 23:30:40 INFO: Archiving Costs [Pipeline] sh 23:30:41 + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv 23:30:41 + cut -d, -f6 [Pipeline] lock 23:30:41 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-947-2-stack-cost] 23:30:41 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-947-2-stack-cost] did not exist. Created. 23:30:41 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-947-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:30:41 + echo total: 0.05999999865889549 [Pipeline] stash 23:30:41 Stashed 1 file(s) [Pipeline] } 23:30:41 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-947-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:30:41 $ docker stop --time=1 5ee37832e2e6e0aea90e35c0d1b713d31c212f2d8e2fd4dc9338aac33f0f196c 23:30:43 $ docker rm -f 5ee37832e2e6e0aea90e35c0d1b713d31c212f2d8e2fd4dc9338aac33f0f196c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:30:43 Failed in branch amd64 23:30:46 using credential edgex-jenkins-ssh 23:30:46 Cloning the remote Git repository 23:30:46 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:30:46 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 23:30:46 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:30:46 > git --version # timeout=10 23:30:46 > git --version # 'git version 2.17.1' 23:30:46 using GIT_SSH to set credentials SSH Credentials for GitHub 23:30:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:30:50 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:30:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:30:50 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:30:50 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:30:50 using GIT_SSH to set credentials SSH Credentials for GitHub 23:30:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/947/head:refs/remotes/origin/PR-947 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:30:51 Merging remotes/origin/main commit 29a796916db0c5ecb6b77355899a0f370fd93cd0 into PR head commit dea0737f80a96cfec8aaba85c461ca861e02c0fc 23:30:51 Merge succeeded, producing dea0737f80a96cfec8aaba85c461ca861e02c0fc 23:30:51 Checking out Revision dea0737f80a96cfec8aaba85c461ca861e02c0fc (PR-947) 23:30:51 > git config core.sparsecheckout # timeout=10 23:30:51 > git checkout -f dea0737f80a96cfec8aaba85c461ca861e02c0fc # timeout=10 23:30:51 > git remote # timeout=10 23:30:51 > git config --get remote.origin.url # timeout=10 23:30:51 using GIT_SSH to set credentials SSH Credentials for GitHub 23:30:51 > git merge 29a796916db0c5ecb6b77355899a0f370fd93cd0 # timeout=10 23:30:51 > git rev-parse HEAD^{commit} # timeout=10 23:30:51 > git config core.sparsecheckout # timeout=10 23:30:51 > git checkout -f dea0737f80a96cfec8aaba85c461ca861e02c0fc # timeout=10 23:30:55 Commit message: "Apply suggestions from code review" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:30:56 ========================================================= 23:30:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:30:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 23:30:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:30:59 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:30:59 595b0fe564bb: Pulling fs layer 23:30:59 24495759ef45: Pulling fs layer 23:30:59 d148012ef14d: Pulling fs layer 23:30:59 e90a11edd702: Pulling fs layer 23:30:59 d77568369979: Pulling fs layer 23:30:59 fc1c9f9a7f3b: Pulling fs layer 23:30:59 170f2ba95c9a: Pulling fs layer 23:30:59 97ac5df62f85: Pulling fs layer 23:30:59 e90a11edd702: Waiting 23:30:59 fc1c9f9a7f3b: Waiting 23:30:59 170f2ba95c9a: Waiting 23:30:59 d77568369979: Waiting 23:30:59 97ac5df62f85: Waiting 23:30:59 d148012ef14d: Download complete 23:30:59 24495759ef45: Verifying Checksum 23:30:59 24495759ef45: Download complete 23:30:59 d77568369979: Download complete 23:30:59 fc1c9f9a7f3b: Download complete 23:30:59 170f2ba95c9a: Verifying Checksum 23:30:59 170f2ba95c9a: Download complete 23:30:59 595b0fe564bb: Verifying Checksum 23:30:59 595b0fe564bb: Download complete 23:31:00 595b0fe564bb: Pull complete 23:31:00 24495759ef45: Pull complete 23:31:01 d148012ef14d: Pull complete 23:31:02 97ac5df62f85: Verifying Checksum 23:31:02 97ac5df62f85: Download complete 23:31:03 e90a11edd702: Verifying Checksum 23:31:03 e90a11edd702: Download complete 23:31:15 e90a11edd702: Pull complete 23:31:15 d77568369979: Pull complete 23:31:15 fc1c9f9a7f3b: Pull complete 23:31:15 170f2ba95c9a: Pull complete 23:31:21 97ac5df62f85: Pull complete 23:31:21 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 23:31:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:31:21 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 23:31:21 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 23:31:22 + docker inspect -f . ci-base-image-arm64 23:31:22 . [Pipeline] withDockerContainer 23:31:22 prd-ubuntu18.04-docker-arm64-4c-16g-106 does not seem to be running inside a container 23:31:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:31:29 $ docker top 6131ef4213d343342dcebae0212a38aa4a3d79b5bc7d7a6852062ab98d472f0b -eo pid,comm [Pipeline] { [Pipeline] sh 23:31:30 + go version 23:31:30 go version go1.16.6 linux/arm64 [Pipeline] } 23:31:30 $ docker stop --time=1 6131ef4213d343342dcebae0212a38aa4a3d79b5bc7d7a6852062ab98d472f0b 23:31:32 $ docker rm -f 6131ef4213d343342dcebae0212a38aa4a3d79b5bc7d7a6852062ab98d472f0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:31:33 + docker inspect -f . ci-base-image-arm64 23:31:33 . [Pipeline] withDockerContainer 23:31:33 prd-ubuntu18.04-docker-arm64-4c-16g-106 does not seem to be running inside a container 23:31:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:31:35 $ docker top aa1462cdefb8dff4cdc6fd842fbbda8724f32e58f75ab013eb1be7439ce15e1e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:31:36 + make test 23:31:36 make -C ./app-service-template build 23:31:36 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 23:31:36 go mod tidy 23:31:38 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 23:31:38 go: downloading github.com/google/uuid v1.3.0 23:31:38 go: downloading github.com/stretchr/testify v1.7.0 23:31:38 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 23:31:38 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 23:31:38 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 23:31:38 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 23:31:38 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:31:38 go: downloading github.com/davecgh/go-spew v1.1.1 23:31:38 go: downloading github.com/pmezard/go-difflib v1.0.0 23:31:38 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 23:31:38 go: downloading github.com/stretchr/objx v0.1.0 23:31:38 go: downloading github.com/go-playground/validator/v10 v10.6.1 23:31:38 go: downloading github.com/go-kit/kit v0.9.0 23:31:38 go: downloading gopkg.in/yaml.v2 v2.4.0 23:31:38 go: downloading github.com/gorilla/mux v1.8.0 23:31:38 go: downloading github.com/hashicorp/go-multierror v1.1.1 23:31:38 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 23:31:38 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 23:31:38 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 23:31:38 go: downloading github.com/mitchellh/copystructure v1.0.0 23:31:38 go: downloading github.com/gorilla/websocket v1.4.2 23:31:38 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 23:31:38 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 23:31:38 go: downloading github.com/pelletier/go-toml v1.9.2 23:31:38 go: downloading github.com/go-playground/universal-translator v0.17.0 23:31:39 go: downloading github.com/leodido/go-urn v1.2.0 23:31:39 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 23:31:39 go: downloading golang.org/x/text v0.3.2 23:31:39 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:31:39 go: downloading github.com/go-playground/locales v0.13.0 23:31:42 go: downloading github.com/hashicorp/errwrap v1.0.0 23:31:42 go: downloading github.com/hashicorp/consul/api v1.8.1 23:31:42 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:31:42 go: downloading github.com/x448/float16 v0.8.4 23:31:42 go: downloading github.com/go-logfmt/logfmt v0.4.0 23:31:42 go: downloading github.com/go-stack/stack v1.8.0 23:31:42 go: downloading github.com/kr/pretty v0.2.0 23:31:42 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 23:31:42 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:31:42 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:31:42 go: downloading github.com/kr/text v0.1.0 23:31:42 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 23:31:42 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 23:31:42 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:31:42 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:31:42 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:31:42 go: downloading github.com/hashicorp/serf v0.9.5 23:31:42 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:31:42 go: downloading github.com/hashicorp/consul/sdk v0.7.0 23:31:42 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:31:42 go: downloading github.com/pebbe/zmq4 v1.2.7 23:31:43 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:31:43 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:31:43 go: downloading github.com/fatih/color v1.9.0 23:31:43 go: downloading github.com/mattn/go-colorable v0.1.6 23:31:43 go: downloading github.com/mattn/go-isatty v0.0.12 23:31:43 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:31:43 go: downloading github.com/pkg/errors v0.8.1 23:31:43 go: downloading github.com/onsi/ginkgo v1.10.1 23:31:43 go: downloading github.com/onsi/gomega v1.7.0 23:31:43 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:31:43 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:31:43 go: downloading github.com/hashicorp/memberlist v0.2.2 23:31:43 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:31:43 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:31:43 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:31:43 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:31:43 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:31:43 go: downloading github.com/miekg/dns v1.1.26 23:31:43 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:31:44 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:31:44 go: downloading github.com/hpcloud/tail v1.0.0 23:31:44 go: downloading github.com/golang/protobuf v1.3.2 23:31:44 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:31:44 go: downloading gopkg.in/fsnotify.v1 v1.4.7 23:31:44 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 23:31:44 go: downloading github.com/fsnotify/fsnotify v1.4.7 23:31:44 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 23:32:23 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 23:32:23 make -C ./app-service-template test 23:32:23 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 23:32:23 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 23:32:56 ok new-app-service 0.044s coverage: 48.1% of statements 23:32:56 ? new-app-service/config [no test files] 23:32:56 ok new-app-service/functions 0.042s 23:32:56 CGO_ENABLED=1 go vet ./... 23:33:18 gofmt -l . 23:33:18 [ "`gofmt -l .`" = "" ] 23:33:18 ./bin/test-attribution-txt.sh 23:33:19 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 23:33:19 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:33:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 23:33:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.112s coverage: 64.0% of statements 23:33:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.086s coverage: 93.2% of statements 23:33:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 23:33:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.099s coverage: 61.8% of statements 23:33:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 23:33:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.034s 23:33:30 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.103s coverage: 75.6% of statements 23:33:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 23:33:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 23:33:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 23:33:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 23:33:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 23:33:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 23:33:30 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.026s coverage: 97.3% of statements 23:33:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 23:33:30 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.038s coverage: 10.5% of statements 23:33:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.149s coverage: 77.0% of statements 23:33:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 23:33:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.034s coverage: 12.5% of statements 23:33:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.113s coverage: 27.3% of statements 23:33:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 23:33:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 23:33:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.052s coverage: 51.4% of statements 23:34:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.115s coverage: 77.3% of statements 23:34:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.038s coverage: 94.4% of statements 23:34:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:34:05 gofmt -l . 23:34:05 internal/runtime/runtime.go 23:34:06 [ "`gofmt -l .`" = "" ] 23:34:06 make: *** [Makefile:34: test-sdk] Error 1 [Pipeline] } 23:34:06 $ docker stop --time=1 aa1462cdefb8dff4cdc6fd842fbbda8724f32e58f75ab013eb1be7439ce15e1e 23:34:08 $ docker rm -f aa1462cdefb8dff4cdc6fd842fbbda8724f32e58f75ab013eb1be7439ce15e1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:34:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:34:11 23:34:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:34:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:34:12 arm64: Pulling from edgex-lftools-log-publisher 23:34:12 448f6bf000e3: Pulling fs layer 23:34:12 f757da607395: Pulling fs layer 23:34:12 05883995daec: Pulling fs layer 23:34:12 8603b9c90790: Pulling fs layer 23:34:12 1560dd03e051: Pulling fs layer 23:34:12 27f5ce0e4adf: Pulling fs layer 23:34:12 c2d8d7efcc4b: Pulling fs layer 23:34:12 8603b9c90790: Waiting 23:34:12 1560dd03e051: Waiting 23:34:12 27f5ce0e4adf: Waiting 23:34:12 c2d8d7efcc4b: Waiting 23:34:12 f757da607395: Verifying Checksum 23:34:12 f757da607395: Download complete 23:34:12 8603b9c90790: Verifying Checksum 23:34:12 8603b9c90790: Download complete 23:34:12 1560dd03e051: Verifying Checksum 23:34:12 1560dd03e051: Download complete 23:34:12 27f5ce0e4adf: Verifying Checksum 23:34:12 27f5ce0e4adf: Download complete 23:34:12 05883995daec: Download complete 23:34:13 448f6bf000e3: Verifying Checksum 23:34:13 448f6bf000e3: Download complete 23:34:15 c2d8d7efcc4b: Verifying Checksum 23:34:15 c2d8d7efcc4b: Download complete 23:34:16 448f6bf000e3: Pull complete 23:34:17 f757da607395: Pull complete 23:34:18 05883995daec: Pull complete 23:34:19 8603b9c90790: Pull complete 23:34:20 1560dd03e051: Pull complete 23:34:20 27f5ce0e4adf: Pull complete 23:34:35 c2d8d7efcc4b: Pull complete 23:34:35 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:34:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:34:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:34:36 prd-ubuntu18.04-docker-arm64-4c-16g-106 does not seem to be running inside a container 23:34:36 $ 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/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:34:41 $ docker top 06c8ca101dd90cfc0c99f0fa7c067412140b49cf30c2f11dbb400bbc1db865ee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:34:42 ---> job-cost.sh 23:34:42 lf-activate-venv: SKIPPING 23:34:42 INFO: No Stack... 23:34:43 INFO: Retrieving Pricing Info for: v3-standard-4 23:34:43 INFO: Archiving Costs [Pipeline] sh 23:34:44 + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv 23:34:44 + cut -d, -f6 [Pipeline] lock 23:34:44 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-947-2-stack-cost] 23:34:44 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-947-2-stack-cost] did not exist. Created. 23:34:44 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-947-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:34:45 /w/workspace/app-functions-sdk-go/2@tmp/durable-05bf2187/script.sh: 1: /w/workspace/app-functions-sdk-go/2@tmp/durable-05bf2187/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:34:45 + echo total: 0.10999999940395355 [Pipeline] stash 23:34:45 Warning: overwriting stash ‘stack-cost’ 23:34:46 Stashed 1 file(s) [Pipeline] } 23:34:46 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-947-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:34:46 $ docker stop --time=1 06c8ca101dd90cfc0c99f0fa7c067412140b49cf30c2f11dbb400bbc1db865ee 23:34:47 $ docker rm -f 06c8ca101dd90cfc0c99f0fa7c067412140b49cf30c2f11dbb400bbc1db865ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:34:48 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:34:50 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-947/archives ']' [Pipeline] libraryResource [Pipeline] sh 23:34:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:34:51 ---> package-listing.sh 23:34:51 ++ tr '[:upper:]' '[:lower:]' 23:34:51 ++ facter osfamily 23:34:51 + OS_FAMILY=redhat 23:34:51 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-947 23:34:51 + START_PACKAGES=/tmp/packages_start.txt 23:34:51 + END_PACKAGES=/tmp/packages_end.txt 23:34:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:34:51 + PACKAGES=/tmp/packages_start.txt 23:34:51 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-947 ']' 23:34:51 + PACKAGES=/tmp/packages_end.txt 23:34:51 + case "${OS_FAMILY}" in 23:34:51 + sort 23:34:51 + rpm -qa 23:34:51 + '[' -f /tmp/packages_start.txt ']' 23:34:51 + '[' -f /tmp/packages_end.txt ']' 23:34:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:34:51 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-947 ']' 23:34:51 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-947/archives/ 23:34:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-947/archives/ [Pipeline] echo 23:34:51 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-947/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:34:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:34:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:34:52 23:34:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:34:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:34:53 latest: Pulling from edgex-lftools-log-publisher 23:34:53 b4d181a07f80: Pulling fs layer 23:34:53 a1111a8f2ec3: Pulling fs layer 23:34:53 ed53099fbce6: Pulling fs layer 23:34:53 dc539afda2c1: Pulling fs layer 23:34:53 77bc0d833cb6: Pulling fs layer 23:34:53 9065ff56babe: Pulling fs layer 23:34:53 d287ab97295c: Pulling fs layer 23:34:53 77bc0d833cb6: Waiting 23:34:53 9065ff56babe: Waiting 23:34:53 d287ab97295c: Waiting 23:34:53 dc539afda2c1: Waiting 23:34:53 a1111a8f2ec3: Verifying Checksum 23:34:53 a1111a8f2ec3: Download complete 23:34:53 dc539afda2c1: Verifying Checksum 23:34:53 dc539afda2c1: Download complete 23:34:53 77bc0d833cb6: Verifying Checksum 23:34:53 77bc0d833cb6: Download complete 23:34:53 9065ff56babe: Verifying Checksum 23:34:53 9065ff56babe: Download complete 23:34:53 ed53099fbce6: Verifying Checksum 23:34:53 ed53099fbce6: Download complete 23:34:54 b4d181a07f80: Verifying Checksum 23:34:54 b4d181a07f80: Download complete 23:34:55 b4d181a07f80: Pull complete 23:34:55 a1111a8f2ec3: Pull complete 23:34:56 ed53099fbce6: Pull complete 23:34:56 dc539afda2c1: Pull complete 23:34:56 77bc0d833cb6: Pull complete 23:34:56 9065ff56babe: Pull complete 23:34:57 d287ab97295c: Verifying Checksum 23:34:57 d287ab97295c: Download complete 23:35:02 d287ab97295c: Pull complete 23:35:02 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:35:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:35:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:35:02 prd-centos7-docker-4c-2g-104 does not seem to be running inside a container 23:35:03 $ 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-947/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-947 -v /w/workspace/ndry_app-functions-sdk-go_PR-947:/w/workspace/ndry_app-functions-sdk-go_PR-947:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-947@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-947@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:35:05 $ docker top ce1cb04f3f7caa2a93f1d3e38d119b063f98e649c9cca4f6d16550a842ee2a28 -eo pid,comm [Pipeline] { [Pipeline] sh 23:35:05 + touch /tmp/pre-build-complete [Pipeline] sh 23:35:05 + mkdir -p /var/log/sysstat [Pipeline] sh 23:35:06 + ls /var/log/sa-host 23:35:06 + sadf -c /var/log/sa-host/sa05 23:35:06 file_magic: OK 23:35:06 HZ: Using current value: 100 23:35:06 file_header: OK 23:35:06 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 23:35:06 Statistics: 23:35:06 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:35:06 File successfully converted to sysstat format version 12.0.3 23:35:06 + sadf -c /var/log/sa-host/sa13 23:35:06 file_magic: OK 23:35:06 HZ: Using current value: 100 23:35:06 file_header: OK 23:35:06 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 23:35:06 Statistics: 23:35:06 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:35:06 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:35:06 provisioning config files... 23:35:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-947@tmp/config4212782920196576304tmp [Pipeline] { [Pipeline] echo 23:35:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:35:06 ---> create-netrc.sh [Pipeline] } 23:35:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:35:07 ---> python-tools-install.sh [Pipeline] echo 23:35:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:35:07 ---> sudo-logs.sh 23:35:07 Archiving 'sudo' log.. 23:35:07 sudo: unable to resolve host prd-centos7-docker-4c-2g-104.vexxhost.local: Name or service not known 23:35:12 sudo: unable to resolve host prd-centos7-docker-4c-2g-104.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 23:35:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:35:13 ---> job-cost.sh 23:35:13 lf-activate-venv: SKIPPING 23:35:13 DEBUG: total: 0.10999999940395355 23:35:13 INFO: Retrieving Stack Cost... 23:35:13 INFO: Retrieving Pricing Info for: v3-standard-2 23:35:14 INFO: Archiving Costs [Pipeline] echo 23:35:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:35:14 ---> logs-deploy.sh 23:35:14 lf-activate-venv: SKIPPING 23:35:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-947/2 23:35:14 INFO: archiving workspace using pattern(s): 23:35:15 Archives upload complete. 23:35:15 INFO: archiving logs to Nexus 23:35:16 ---> uname -a: 23:35:16 Linux prd-centos7-docker-4c-2g-104.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 23:35:16 23:35:16 23:35:16 ---> lscpu: 23:35:16 Architecture: x86_64 23:35:16 CPU op-mode(s): 32-bit, 64-bit 23:35:16 Byte Order: Little Endian 23:35:16 Address sizes: 40 bits physical, 48 bits virtual 23:35:16 CPU(s): 2 23:35:16 On-line CPU(s) list: 0,1 23:35:16 Thread(s) per core: 1 23:35:16 Core(s) per socket: 1 23:35:16 Socket(s): 2 23:35:16 NUMA node(s): 1 23:35:16 Vendor ID: AuthenticAMD 23:35:16 CPU family: 23 23:35:16 Model: 49 23:35:16 Model name: AMD EPYC-Rome Processor 23:35:16 Stepping: 0 23:35:16 CPU MHz: 2799.998 23:35:16 BogoMIPS: 5599.99 23:35:16 Virtualization: AMD-V 23:35:16 Hypervisor vendor: KVM 23:35:16 Virtualization type: full 23:35:16 L1d cache: 32K 23:35:16 L1i cache: 32K 23:35:16 L2 cache: 512K 23:35:16 L3 cache: 16384K 23:35:16 NUMA node0 CPU(s): 0,1 23:35:16 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 23:35:16 23:35:16 23:35:16 ---> nproc: 23:35:16 2 23:35:16 23:35:16 23:35:16 ---> df -h: 23:35:16 Filesystem Size Used Avail Use% Mounted on 23:35:16 overlay 40G 7.7G 33G 20% / 23:35:16 tmpfs 64M 0 64M 0% /dev 23:35:16 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 23:35:16 shm 64M 0 64M 0% /dev/shm 23:35:16 /dev/vda1 40G 7.7G 33G 20% /facter-os 23:35:16 23:35:16 23:35:16 ---> sar -b -r -n DEV: 23:35:16 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/13/21 _x86_64_ (2 CPU) 23:35:16 23:35:16 23:25:05 LINUX RESTART (2 CPU) 23:35:16 23:35:16 23:26:01 tps rtps wtps bread/s bwrtn/s 23:35:16 23:27:01 7.04 0.17 6.88 22.65 1374.55 23:35:16 23:28:01 0.45 0.00 0.45 0.00 7.64 23:35:16 23:29:01 0.23 0.00 0.23 0.00 2.70 23:35:16 23:30:01 0.23 0.00 0.23 0.00 3.35 23:35:16 23:31:01 0.28 0.00 0.28 0.00 3.06 23:35:16 23:32:01 0.27 0.00 0.27 0.00 3.10 23:35:16 23:33:01 0.23 0.00 0.23 0.00 3.35 23:35:16 23:34:01 0.23 0.00 0.23 0.00 2.85 23:35:16 23:35:01 8.29 0.10 8.19 9.99 463.31 23:35:16 Average: 1.92 0.03 1.89 3.63 207.13 23:35:16 23:35:16 23:26:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:35:16 23:27:01 5423128 0 813896 10.16 2620 1769296 1501384 16.58 599776 1586008 20 23:35:16 23:28:01 5425044 0 811972 10.14 2620 1769304 1464640 16.17 598764 1586444 20 23:35:16 23:29:01 5425540 0 811476 10.13 2620 1769304 1464580 16.17 603008 1581876 20 23:35:16 23:30:01 5425052 0 811956 10.14 2620 1769312 1464364 16.17 602280 1582732 20 23:35:16 23:31:01 5424368 0 812636 10.15 2620 1769316 1464484 16.17 596500 1589276 12 23:35:16 23:32:01 5424572 0 812428 10.14 2620 1769320 1464484 16.17 596520 1589276 8 23:35:16 23:33:01 5425156 0 811836 10.14 2620 1769328 1464364 16.17 595752 1589276 20 23:35:16 23:34:01 5425412 0 811576 10.13 2620 1769332 1464364 16.17 595776 1589276 8 23:35:16 23:35:01 4812220 0 934616 11.67 2620 2259484 1650680 18.22 781684 1927964 489308 23:35:16 Average: 5356721 0 825821 10.31 2620 1823777 1489260 16.44 618896 1624681 54382 23:35:16 23:35:16 23:26:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:35:16 23:27:01 eth0 7.63 4.86 6.73 2.23 0.00 0.00 0.00 0.00 23:35:16 23:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:35:16 23:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:35:16 23:28:01 eth0 6.13 2.88 4.15 0.37 0.00 0.00 0.00 0.00 23:35:16 23:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:35:16 23:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:35:16 23:29:01 eth0 1.30 0.28 0.34 0.20 0.00 0.00 0.00 0.00 23:35:16 23:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:35:16 23:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:35:16 23:30:01 eth0 0.57 0.07 0.06 0.01 0.00 0.00 0.00 0.00 23:35:16 23:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:35:16 23:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:35:16 23:31:01 eth0 0.67 0.38 0.35 0.23 0.00 0.00 0.00 0.00 23:35:16 23:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:35:16 23:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:35:16 23:32:01 eth0 0.17 0.10 0.07 0.04 0.00 0.00 0.00 0.00 23:35:16 23:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:35:16 23:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:35:16 23:33:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 23:35:16 23:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:35:16 23:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:35:16 23:34:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 23:35:16 23:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:35:16 23:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:35:16 23:35:01 eth0 393.95 269.12 2612.54 22.98 0.00 0.00 0.00 0.00 23:35:16 23:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:35:16 23:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:35:16 Average: eth0 45.62 30.87 291.58 2.90 0.00 0.00 0.00 0.00 23:35:16 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:35:16 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:35:16 23:35:16 23:35:16 ---> sar -P ALL: 23:35:16 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/13/21 _x86_64_ (2 CPU) 23:35:16 23:35:16 23:25:05 LINUX RESTART (2 CPU) 23:35:16 23:35:16 23:26:01 CPU %user %nice %system %iowait %steal %idle 23:35:16 23:27:01 all 0.54 0.00 0.28 0.11 0.03 99.06 23:35:16 23:27:01 0 0.47 0.00 0.28 0.17 0.03 99.05 23:35:16 23:27:01 1 0.60 0.00 0.27 0.05 0.02 99.06 23:35:16 23:28:01 all 0.25 0.00 0.08 0.00 0.03 99.64 23:35:16 23:28:01 0 0.42 0.00 0.12 0.00 0.03 99.43 23:35:16 23:28:01 1 0.08 0.00 0.05 0.00 0.02 99.85 23:35:16 23:29:01 all 0.14 0.00 0.06 0.00 0.03 99.77 23:35:16 23:29:01 0 0.20 0.00 0.05 0.00 0.02 99.73 23:35:16 23:29:01 1 0.08 0.00 0.07 0.00 0.03 99.82 23:35:16 23:30:01 all 0.18 0.00 0.03 0.00 0.02 99.77 23:35:16 23:30:01 0 0.35 0.00 0.03 0.00 0.02 99.60 23:35:16 23:30:01 1 0.02 0.00 0.03 0.00 0.02 99.93 23:35:16 23:31:01 all 0.23 0.00 0.05 0.00 0.02 99.70 23:35:16 23:31:01 0 0.40 0.00 0.05 0.00 0.02 99.53 23:35:16 23:31:01 1 0.07 0.00 0.05 0.00 0.02 99.87 23:35:16 23:32:01 all 0.15 0.00 0.04 0.00 0.02 99.79 23:35:16 23:32:01 0 0.27 0.00 0.05 0.00 0.03 99.65 23:35:16 23:32:01 1 0.03 0.00 0.03 0.00 0.00 99.93 23:35:16 23:33:01 all 0.09 0.00 0.03 0.00 0.03 99.85 23:35:16 23:33:01 0 0.13 0.00 0.03 0.00 0.03 99.80 23:35:16 23:33:01 1 0.05 0.00 0.03 0.00 0.02 99.90 23:35:16 23:34:01 all 0.19 0.00 0.05 0.00 0.01 99.75 23:35:16 23:34:01 0 0.08 0.00 0.05 0.00 0.00 99.87 23:35:16 23:34:01 1 0.30 0.00 0.05 0.00 0.02 99.63 23:35:16 23:35:01 all 7.72 0.00 2.90 0.02 0.04 89.33 23:35:16 23:35:01 0 8.26 0.00 3.12 0.02 0.05 88.56 23:35:16 23:35:01 1 7.18 0.00 2.68 0.02 0.03 90.09 23:35:16 Average: all 1.04 0.00 0.39 0.01 0.02 98.53 23:35:16 Average: 0 1.16 0.00 0.42 0.02 0.03 98.38 23:35:16 Average: 1 0.92 0.00 0.36 0.01 0.02 98.69 23:35:16 23:35:16 23:35:16