Pull request #956 event 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 0a4695d9fbf35a1b4c2bc9732963be46ee20c206+6e54455fea00f37496bf405a1cf96c92d232c807 (33c693a647981190c285a871643ea51ca4c1e34d) 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-ssh1802592379395810791.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-ssh2052956074065859143.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-956/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-956/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1450856863792975706.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-ssh7808614441999401578.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-956/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-956/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4203474194117878691.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1664 in /w/workspace/ndry_app-functions-sdk-go_PR-956 [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-956 # 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-956@tmp/jenkins-gitclient-ssh957601471389099738.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-956@tmp/jenkins-gitclient-ssh2470627180670159658.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/956/head:refs/remotes/origin/PR-956 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6e54455fea00f37496bf405a1cf96c92d232c807 into PR head commit 0a4695d9fbf35a1b4c2bc9732963be46ee20c206 Merge succeeded, producing 0a4695d9fbf35a1b4c2bc9732963be46ee20c206 Checking out Revision 0a4695d9fbf35a1b4c2bc9732963be46ee20c206 (PR-956) > git config core.sparsecheckout # timeout=10 > git checkout -f 0a4695d9fbf35a1b4c2bc9732963be46ee20c206 # 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-956@tmp/jenkins-gitclient-ssh7502923302947143823.key > git merge 6e54455fea00f37496bf405a1cf96c92d232c807 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0a4695d9fbf35a1b4c2bc9732963be46ee20c206 # timeout=10 Commit message: "refactor(triggers): Formalize Service/Runtime Interface to Trigger" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 7e771e60e867e2ad614d62e47e0a69b08a4eb302 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:48:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:48:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:48:47 ========================================================= 17:48:47 EdgeX Global Pipelines Version Info 17:48:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:48:48 ------------------- 17:48:48 stable info: 17:48:48 ------------------- 17:48:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:48:48 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 17:48:48 Message: update stable to v1.0.205 17:48:49 ------------------- 17:48:49 experimental info: 17:48:49 ------------------- 17:48:49 Commited By: **** collab-it+edgex@linuxfoundation.org 17:48:49 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 17:48:49 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:48:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 17:48:49 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 17:48:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:48:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:48:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:48:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 17:48:49 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:48:49 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 17:48:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:48:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:48:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:48:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:48:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 17:48:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:48:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:48:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 17:48:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:48:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:48:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:48:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:48:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:48:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:48:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 17:48:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:48:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:48:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 17:48:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:48:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-956 [Pipeline] echo 17:48:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-956 [Pipeline] echo 17:48:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-956 [Pipeline] echo 17:48:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0a4695d9fbf35a1b4c2bc9732963be46ee20c206 [Pipeline] echo 17:48:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0a4695d [Pipeline] echo 17:48:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:48:53 + git log --format=format:%s -1 0a4695d9fbf35a1b4c2bc9732963be46ee20c206 [Pipeline] echo 17:48:53 GIT_COMMIT: 0a4695d9fbf35a1b4c2bc9732963be46ee20c206, Commit Message: refactor(triggers): Formalize Service/Runtime Interface to Trigger [Pipeline] echo 17:48:53 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:48:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:48:54 17:48:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:48:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:48:54 latest: Pulling from edgex-devops/git-semver 17:48:54 31603596830f: Pulling fs layer 17:48:54 04fac38145f0: Pulling fs layer 17:48:54 701f6daf10bf: Pulling fs layer 17:48:54 24f72da36158: Pulling fs layer 17:48:54 24f72da36158: Waiting 17:48:54 04fac38145f0: Verifying Checksum 17:48:54 04fac38145f0: Download complete 17:48:54 31603596830f: Verifying Checksum 17:48:54 31603596830f: Download complete 17:48:54 24f72da36158: Verifying Checksum 17:48:54 24f72da36158: Download complete 17:48:54 31603596830f: Pull complete 17:48:54 04fac38145f0: Pull complete 17:48:55 701f6daf10bf: Verifying Checksum 17:48:55 701f6daf10bf: Download complete 17:48:55 701f6daf10bf: Pull complete 17:48:56 24f72da36158: Pull complete 17:48:56 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 17:48:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:48:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:48:56 prd-centos7-docker-4c-2g-1664 does not seem to be running inside a container 17:48:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-956 -v /w/workspace/ndry_app-functions-sdk-go_PR-956:/w/workspace/ndry_app-functions-sdk-go_PR-956:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-956@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-956@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 17:48:56 $ docker top dae32832c40ab74ed25603f922618b4f38086563c0e7f4a07d3c5ad133435828 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:48:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:48:58 [ssh-agent] Looking for ssh-agent implementation... 17:48:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:48:58 $ docker exec dae32832c40ab74ed25603f922618b4f38086563c0e7f4a07d3c5ad133435828 ssh-agent 17:48:58 SSH_AUTH_SOCK=/tmp/ssh-gEcczMpEp5Xx/agent.15 17:48:58 SSH_AGENT_PID=21 17:48:58 Running ssh-add (command line suppressed) 17:48:58 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-956@tmp/private_key_4919735222619509773.key (/w/workspace/ndry_app-functions-sdk-go_PR-956@tmp/private_key_4919735222619509773.key) 17:48:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:48:59 + git tag --points-at HEAD [Pipeline] } 17:48:59 $ docker exec --env ******** --env ******** dae32832c40ab74ed25603f922618b4f38086563c0e7f4a07d3c5ad133435828 ssh-agent -k 17:48:59 unset SSH_AUTH_SOCK; 17:48:59 unset SSH_AGENT_PID; 17:48:59 echo Agent pid 21 killed; 17:48:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:48:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:48:59 [ssh-agent] Looking for ssh-agent implementation... 17:48:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:48:59 $ docker exec dae32832c40ab74ed25603f922618b4f38086563c0e7f4a07d3c5ad133435828 ssh-agent 17:48:59 SSH_AUTH_SOCK=/tmp/ssh-lLY52TT34Ra4/agent.54 17:48:59 SSH_AGENT_PID=60 17:48:59 Running ssh-add (command line suppressed) 17:48:59 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-956@tmp/private_key_256784946634834338.key (/w/workspace/ndry_app-functions-sdk-go_PR-956@tmp/private_key_256784946634834338.key) 17:48:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:49:00 + git semver init 17:49:00 # -> Open(): unable to determine branch for HEAD 17:49:00 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-956/.git 17:49:00 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-956 17:49:00 # $SEMVER_REMOTE_NAME = origin 17:49:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:49:00 # $SEMVER_USER_NAME = edgex-jenkins 17:49:00 # $SEMVER_BRANCH = PR-956 17:49:00 # $SEMVER_TEMP = /tmp/semver-236630873 17:49:00 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 17:49:04 # '/tmp/semver-236630873' -> '/w/workspace/ndry_app-functions-sdk-go_PR-956/.semver' 17:49:04 # -> Force: false 17:49:04 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-956/.semver [Pipeline] } 17:49:04 $ docker exec --env ******** --env ******** dae32832c40ab74ed25603f922618b4f38086563c0e7f4a07d3c5ad133435828 ssh-agent -k 17:49:04 unset SSH_AUTH_SOCK; 17:49:04 unset SSH_AGENT_PID; 17:49:04 echo Agent pid 60 killed; 17:49:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:49:04 + git semver [Pipeline] } 17:49:04 $ docker stop --time=1 dae32832c40ab74ed25603f922618b4f38086563c0e7f4a07d3c5ad133435828 17:49:06 $ docker rm -f dae32832c40ab74ed25603f922618b4f38086563c0e7f4a07d3c5ad133435828 [Pipeline] // withDockerContainer [Pipeline] sh 17:49:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:49:06 Stashed 1 file(s) [Pipeline] echo 17:49: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 17:49:24 Still waiting to schedule task 17:49:24 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:49:24 Still waiting to schedule task 17:49:24 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 17:52:14 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1665 in /w/workspace/ndry_app-functions-sdk-go_PR-956 [Pipeline] { [Pipeline] ws 17:52:14 Running in /w/workspace/app-functions-sdk-go/5 [Pipeline] { [Pipeline] checkout 17:52:14 The recommended git tool is: git 17:52:21 using credential edgex-jenkins-ssh 17:52:22 Cloning the remote Git repository 17:52:22 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:52:22 > git init /w/workspace/app-functions-sdk-go/5 # timeout=10 17:52:22 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:52:22 > git --version # timeout=10 17:52:22 > git --version # 'git version 2.17.1' 17:52:22 using GIT_SSH to set credentials SSH Credentials for GitHub 17:52:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:53:25 Merging remotes/origin/main commit 6e54455fea00f37496bf405a1cf96c92d232c807 into PR head commit 0a4695d9fbf35a1b4c2bc9732963be46ee20c206 17:53:25 Merge succeeded, producing 0a4695d9fbf35a1b4c2bc9732963be46ee20c206 17:53:25 Checking out Revision 0a4695d9fbf35a1b4c2bc9732963be46ee20c206 (PR-956) 17:53:24 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:53:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:53:24 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:53:24 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:53:24 using GIT_SSH to set credentials SSH Credentials for GitHub 17:53:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/956/head:refs/remotes/origin/PR-956 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:53:25 > git config core.sparsecheckout # timeout=10 17:53:25 > git checkout -f 0a4695d9fbf35a1b4c2bc9732963be46ee20c206 # timeout=10 17:53:25 > git remote # timeout=10 17:53:25 > git config --get remote.origin.url # timeout=10 17:53:25 using GIT_SSH to set credentials SSH Credentials for GitHub 17:53:25 > git merge 6e54455fea00f37496bf405a1cf96c92d232c807 # timeout=10 17:53:25 > git rev-parse HEAD^{commit} # timeout=10 17:53:25 > git config core.sparsecheckout # timeout=10 17:53:25 > git checkout -f 0a4695d9fbf35a1b4c2bc9732963be46ee20c206 # timeout=10 17:53:29 Commit message: "refactor(triggers): Formalize Service/Runtime Interface to Trigger" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:53:30 ========================================================= 17:53:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 17:53:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:53:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 17:53:33 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:53:33 595b0fe564bb: Pulling fs layer 17:53:33 24495759ef45: Pulling fs layer 17:53:33 d148012ef14d: Pulling fs layer 17:53:33 e90a11edd702: Pulling fs layer 17:53:33 d77568369979: Pulling fs layer 17:53:33 fc1c9f9a7f3b: Pulling fs layer 17:53:33 170f2ba95c9a: Pulling fs layer 17:53:33 97ac5df62f85: Pulling fs layer 17:53:33 170f2ba95c9a: Waiting 17:53:33 97ac5df62f85: Waiting 17:53:33 e90a11edd702: Waiting 17:53:33 d77568369979: Waiting 17:53:33 d148012ef14d: Verifying Checksum 17:53:33 d148012ef14d: Download complete 17:53:33 24495759ef45: Verifying Checksum 17:53:33 24495759ef45: Download complete 17:53:33 d77568369979: Download complete 17:53:33 fc1c9f9a7f3b: Verifying Checksum 17:53:33 fc1c9f9a7f3b: Download complete 17:53:33 595b0fe564bb: Verifying Checksum 17:53:33 595b0fe564bb: Download complete 17:53:33 170f2ba95c9a: Download complete 17:53:34 595b0fe564bb: Pull complete 17:53:34 24495759ef45: Pull complete 17:53:35 d148012ef14d: Pull complete 17:53:38 97ac5df62f85: Verifying Checksum 17:53:38 97ac5df62f85: Download complete 17:53:38 e90a11edd702: Verifying Checksum 17:53:38 e90a11edd702: Download complete 17:53:39 Running on prd-centos7-docker-4c-2g-1667 in /w/workspace/ndry_app-functions-sdk-go_PR-956 [Pipeline] { [Pipeline] ws 17:53:39 Running in /w/workspace/app-functions-sdk-go/5 [Pipeline] { [Pipeline] checkout 17:53:39 The recommended git tool is: git 17:53:43 using credential edgex-jenkins-ssh 17:53:43 Cloning the remote Git repository 17:53:43 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:53:43 > git init /w/workspace/app-functions-sdk-go/5 # timeout=10 17:53:44 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:53:44 > git --version # timeout=10 17:53:44 > git --version # 'git version 2.24.4' 17:53:44 using GIT_SSH to set credentials SSH Credentials for GitHub 17:53:44 [INFO] Currently running in a labeled security context 17:53:44 [INFO] Currently SELinux is 'enforcing' on the host 17:53:44 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/5@tmp/jenkins-gitclient-ssh2494219046129174022.key 17:53:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:53:47 e90a11edd702: Pull complete 17:53:47 d77568369979: Pull complete 17:53:48 fc1c9f9a7f3b: Pull complete 17:53:48 170f2ba95c9a: Pull complete 17:53:55 97ac5df62f85: Pull complete 17:53:55 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 17:53:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 17:53:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 17:53:55 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 17:53:56 + docker inspect -f . ci-base-image-arm64 17:53:56 . [Pipeline] withDockerContainer 17:53:56 prd-ubuntu18.04-docker-arm64-4c-16g-1665 does not seem to be running inside a container 17:53:56 $ 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 ******** ci-base-image-arm64 cat 17:54:02 $ docker top ffe6cf1e5916aac754b535fb19fc5221919ac8ed873c785779c55e659c4b7829 -eo pid,comm [Pipeline] { [Pipeline] sh 17:54:02 + go version 17:54:02 go version go1.16.6 linux/arm64 [Pipeline] } 17:54:03 $ docker stop --time=1 ffe6cf1e5916aac754b535fb19fc5221919ac8ed873c785779c55e659c4b7829 17:54:04 $ docker rm -f ffe6cf1e5916aac754b535fb19fc5221919ac8ed873c785779c55e659c4b7829 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:54:05 + docker inspect -f . ci-base-image-arm64 17:54:05 . [Pipeline] withDockerContainer 17:54:05 prd-ubuntu18.04-docker-arm64-4c-16g-1665 does not seem to be running inside a container 17:54: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 ******** ci-base-image-arm64 cat 17:54:07 $ docker top 624a01aa0236f62759556a683bac896ff7255e67eaf598a38b3f3206b09ef814 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:54:08 + make test 17:54:08 make -C ./app-service-template build 17:54:08 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 17:54:08 go mod tidy 17:54:09 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 17:54:09 go: downloading github.com/google/uuid v1.3.0 17:54:09 go: downloading github.com/stretchr/testify v1.7.0 17:54:09 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 17:54:09 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 17:54:09 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 17:54:09 go: downloading github.com/davecgh/go-spew v1.1.1 17:54:10 go: downloading github.com/pmezard/go-difflib v1.0.0 17:54:10 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 17:54:10 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 17:54:10 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 17:54:10 go: downloading github.com/stretchr/objx v0.1.0 17:54:10 go: downloading github.com/go-playground/validator/v10 v10.6.1 17:54:10 go: downloading github.com/go-kit/kit v0.9.0 17:54:10 go: downloading gopkg.in/yaml.v2 v2.4.0 17:54:10 go: downloading github.com/gorilla/mux v1.8.0 17:54:10 go: downloading github.com/hashicorp/go-multierror v1.1.1 17:54:10 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 17:54:10 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 17:54:10 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 17:54:10 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 17:54:10 go: downloading github.com/mitchellh/copystructure v1.0.0 17:54:10 go: downloading github.com/gorilla/websocket v1.4.2 17:54:10 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 17:54:10 go: downloading github.com/hashicorp/consul/api v1.8.1 17:54:10 go: downloading github.com/pelletier/go-toml v1.9.2 17:54:11 go: downloading github.com/go-playground/universal-translator v0.17.0 17:54:11 go: downloading github.com/leodido/go-urn v1.2.0 17:54:11 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 17:54:11 go: downloading golang.org/x/text v0.3.2 17:54:11 go: downloading github.com/go-playground/assert/v2 v2.0.1 17:54:11 go: downloading github.com/go-playground/locales v0.13.0 17:54:14 go: downloading github.com/hashicorp/errwrap v1.0.0 17:54:14 go: downloading github.com/kr/pretty v0.2.0 17:54:14 go: downloading github.com/x448/float16 v0.8.4 17:54:14 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:54:14 go: downloading github.com/go-logfmt/logfmt v0.4.0 17:54:14 go: downloading github.com/go-stack/stack v1.8.0 17:54:14 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:54:14 go: downloading github.com/hashicorp/go-hclog v0.12.0 17:54:14 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 17:54:14 go: downloading github.com/hashicorp/serf v0.9.5 17:54:14 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:54:14 go: downloading github.com/hashicorp/consul/sdk v0.7.0 17:54:14 go: downloading github.com/hashicorp/go-uuid v1.0.1 17:54:14 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 17:54:14 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 17:54:14 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:54:14 go: downloading github.com/kr/text v0.1.0 17:54:14 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 17:54:14 go: downloading github.com/mitchellh/go-homedir v1.1.0 17:54:14 go: downloading github.com/fatih/color v1.9.0 17:54:14 go: downloading github.com/mattn/go-colorable v0.1.6 17:54:14 go: downloading github.com/mattn/go-isatty v0.0.12 17:54:14 go: downloading github.com/pkg/errors v0.8.1 17:54:14 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 17:54:14 go: downloading github.com/go-redis/redis/v7 v7.3.0 17:54:14 go: downloading github.com/pebbe/zmq4 v1.2.7 17:54:14 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:54:14 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:54:14 go: downloading github.com/hashicorp/go-msgpack v0.5.3 17:54:14 go: downloading github.com/hashicorp/memberlist v0.2.2 17:54:14 Merging remotes/origin/main commit 6e54455fea00f37496bf405a1cf96c92d232c807 into PR head commit 0a4695d9fbf35a1b4c2bc9732963be46ee20c206 17:54:14 Merge succeeded, producing 0a4695d9fbf35a1b4c2bc9732963be46ee20c206 17:54:14 Checking out Revision 0a4695d9fbf35a1b4c2bc9732963be46ee20c206 (PR-956) 17:54:15 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 17:54:15 go: downloading github.com/onsi/ginkgo v1.10.1 17:54:15 go: downloading github.com/onsi/gomega v1.7.0 17:54:15 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:54:15 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:54:15 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:54:15 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 17:54:15 go: downloading github.com/miekg/dns v1.1.26 17:54:15 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:54:14 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:54:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:54:14 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:54:14 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:54:14 using GIT_SSH to set credentials SSH Credentials for GitHub 17:54:14 [INFO] Currently running in a labeled security context 17:54:14 [INFO] Currently SELinux is 'enforcing' on the host 17:54:14 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/5@tmp/jenkins-gitclient-ssh3776462921126697286.key 17:54:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/956/head:refs/remotes/origin/PR-956 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:54:14 > git config core.sparsecheckout # timeout=10 17:54:14 > git checkout -f 0a4695d9fbf35a1b4c2bc9732963be46ee20c206 # timeout=10 17:54:14 > git remote # timeout=10 17:54:14 > git config --get remote.origin.url # timeout=10 17:54:14 using GIT_SSH to set credentials SSH Credentials for GitHub 17:54:14 [INFO] Currently running in a labeled security context 17:54:14 [INFO] Currently SELinux is 'enforcing' on the host 17:54:14 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/5@tmp/jenkins-gitclient-ssh754880663664662770.key 17:54:14 > git merge 6e54455fea00f37496bf405a1cf96c92d232c807 # timeout=10 17:54:14 > git rev-parse HEAD^{commit} # timeout=10 17:54:14 > git config core.sparsecheckout # timeout=10 17:54:14 > git checkout -f 0a4695d9fbf35a1b4c2bc9732963be46ee20c206 # timeout=10 17:54:15 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:54:15 go: downloading github.com/hpcloud/tail v1.0.0 17:54:15 go: downloading github.com/golang/protobuf v1.3.2 17:54:15 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 17:54:15 go: downloading gopkg.in/fsnotify.v1 v1.4.7 17:54:15 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 17:54:15 go: downloading github.com/fsnotify/fsnotify v1.4.7 17:54:16 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 17:54:20 Commit message: "refactor(triggers): Formalize Service/Runtime Interface to Trigger" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:54:21 ========================================================= 17:54:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 17:54:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:54:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 17:54:21 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 17:54:21 540db60ca938: Pulling fs layer 17:54:21 adcc1eea9eea: Pulling fs layer 17:54:21 4c4ab2625f07: Pulling fs layer 17:54:21 db62176df00c: Pulling fs layer 17:54:21 3b30891b0d05: Pulling fs layer 17:54:21 06b49ca38bd5: Pulling fs layer 17:54:21 c788192a36de: Pulling fs layer 17:54:21 a77e37c0d609: Pulling fs layer 17:54:21 c3185cebc471: Pulling fs layer 17:54:21 db62176df00c: Waiting 17:54:21 3b30891b0d05: Waiting 17:54:21 06b49ca38bd5: Waiting 17:54:21 c788192a36de: Waiting 17:54:21 a77e37c0d609: Waiting 17:54:21 c3185cebc471: Waiting 17:54:21 4c4ab2625f07: Verifying Checksum 17:54:21 4c4ab2625f07: Download complete 17:54:21 adcc1eea9eea: Verifying Checksum 17:54:21 adcc1eea9eea: Download complete 17:54:21 3b30891b0d05: Verifying Checksum 17:54:21 3b30891b0d05: Download complete 17:54:21 06b49ca38bd5: Verifying Checksum 17:54:21 06b49ca38bd5: Download complete 17:54:21 c788192a36de: Verifying Checksum 17:54:21 c788192a36de: Download complete 17:54:21 540db60ca938: Verifying Checksum 17:54:21 540db60ca938: Download complete 17:54:21 540db60ca938: Pull complete 17:54:22 adcc1eea9eea: Pull complete 17:54:22 4c4ab2625f07: Pull complete 17:54:22 a77e37c0d609: Verifying Checksum 17:54:22 a77e37c0d609: Download complete 17:54:25 c3185cebc471: Verifying Checksum 17:54:25 c3185cebc471: Download complete 17:54:26 db62176df00c: Verifying Checksum 17:54:26 db62176df00c: Download complete 17:54:29 db62176df00c: Pull complete 17:54:29 3b30891b0d05: Pull complete 17:54:29 06b49ca38bd5: Pull complete 17:54:29 c788192a36de: Pull complete 17:54:29 a77e37c0d609: Pull complete 17:54:31 c3185cebc471: Pull complete 17:54:31 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 17:54:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 17:54:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 17:54:31 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 17:54:32 + docker inspect -f . ci-base-image-x86_64 17:54:32 . [Pipeline] withDockerContainer 17:54:32 prd-centos7-docker-4c-2g-1667 does not seem to be running inside a container 17:54:32 $ 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 ******** ci-base-image-x86_64 cat 17:54:34 $ docker top 476f763363885ea05cac5c3f5b80372559b4b4f249d74b1ea331a9f35fb7c8e7 -eo pid,comm [Pipeline] { [Pipeline] sh 17:54:34 + go version 17:54:34 go version go1.16.6 linux/amd64 [Pipeline] } 17:54:34 $ docker stop --time=1 476f763363885ea05cac5c3f5b80372559b4b4f249d74b1ea331a9f35fb7c8e7 17:54:35 $ docker rm -f 476f763363885ea05cac5c3f5b80372559b4b4f249d74b1ea331a9f35fb7c8e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:54:36 + docker inspect -f . ci-base-image-x86_64 17:54:36 . [Pipeline] withDockerContainer 17:54:36 prd-centos7-docker-4c-2g-1667 does not seem to be running inside a container 17:54:36 $ 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 ******** ci-base-image-x86_64 cat 17:54:37 $ docker top 13d63decf2dd0e22566c1478de20b8f5db6564077a4ca32486d461c879eac717 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:54:37 + make test 17:54:37 make -C ./app-service-template build 17:54:37 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 17:54:37 go mod tidy 17:54:37 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 17:54:38 go: downloading github.com/google/uuid v1.3.0 17:54:38 go: downloading github.com/stretchr/testify v1.7.0 17:54:38 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 17:54:38 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 17:54:38 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 17:54:38 go: downloading github.com/go-playground/validator/v10 v10.6.1 17:54:38 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 17:54:38 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 17:54:38 go: downloading github.com/go-kit/kit v0.9.0 17:54:38 go: downloading gopkg.in/yaml.v2 v2.4.0 17:54:38 go: downloading github.com/davecgh/go-spew v1.1.1 17:54:38 go: downloading github.com/pmezard/go-difflib v1.0.0 17:54:38 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 17:54:38 go: downloading github.com/stretchr/objx v0.1.0 17:54:38 go: downloading github.com/gorilla/mux v1.8.0 17:54:38 go: downloading github.com/hashicorp/go-multierror v1.1.1 17:54:38 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 17:54:38 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 17:54:38 go: downloading github.com/mitchellh/copystructure v1.0.0 17:54:38 go: downloading github.com/go-playground/universal-translator v0.17.0 17:54:38 go: downloading github.com/leodido/go-urn v1.2.0 17:54:38 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 17:54:38 go: downloading golang.org/x/text v0.3.2 17:54:38 go: downloading github.com/go-playground/assert/v2 v2.0.1 17:54:38 go: downloading github.com/go-playground/locales v0.13.0 17:54:39 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 17:54:39 go: downloading github.com/gorilla/websocket v1.4.2 17:54:39 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 17:54:39 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 17:54:39 go: downloading github.com/go-logfmt/logfmt v0.4.0 17:54:39 go: downloading github.com/go-stack/stack v1.8.0 17:54:39 go: downloading github.com/pelletier/go-toml v1.9.2 17:54:39 go: downloading github.com/hashicorp/consul/api v1.8.1 17:54:39 go: downloading github.com/hashicorp/errwrap v1.0.0 17:54:39 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:54:39 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 17:54:39 go: downloading github.com/x448/float16 v0.8.4 17:54:39 go: downloading github.com/kr/pretty v0.2.0 17:54:39 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 17:54:39 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:54:39 go: downloading github.com/hashicorp/go-hclog v0.12.0 17:54:40 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 17:54:40 go: downloading github.com/hashicorp/serf v0.9.5 17:54:40 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:54:40 go: downloading github.com/hashicorp/consul/sdk v0.7.0 17:54:40 go: downloading github.com/hashicorp/go-uuid v1.0.1 17:54:40 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 17:54:40 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:54:40 go: downloading github.com/kr/text v0.1.0 17:54:40 go: downloading github.com/fatih/color v1.9.0 17:54:40 go: downloading github.com/mattn/go-colorable v0.1.6 17:54:40 go: downloading github.com/mattn/go-isatty v0.0.12 17:54:40 go: downloading github.com/mitchellh/go-homedir v1.1.0 17:54:40 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:54:40 go: downloading github.com/pkg/errors v0.8.1 17:54:40 go: downloading github.com/hashicorp/go-msgpack v0.5.3 17:54:40 go: downloading github.com/hashicorp/memberlist v0.2.2 17:54:40 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 17:54:40 go: downloading github.com/go-redis/redis/v7 v7.3.0 17:54:40 go: downloading github.com/pebbe/zmq4 v1.2.7 17:54:40 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:54:40 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 17:54:40 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:54:40 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:54:40 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:54:40 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 17:54:40 go: downloading github.com/miekg/dns v1.1.26 17:54:40 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:54:40 go: downloading github.com/onsi/ginkgo v1.10.1 17:54:40 go: downloading github.com/onsi/gomega v1.7.0 17:54:40 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:54:40 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 17:54:40 go: downloading github.com/hpcloud/tail v1.0.0 17:54:40 go: downloading github.com/golang/protobuf v1.3.2 17:54:40 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 17:54:40 go: downloading gopkg.in/fsnotify.v1 v1.4.7 17:54:40 go: downloading github.com/fsnotify/fsnotify v1.4.7 17:54:40 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 17:54:50 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 17:54:50 make -C ./app-service-template test 17:54:50 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 17:54:50 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 17:54:50 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 17:54:50 make -C ./app-service-template test 17:54:50 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 17:54:50 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 17:54:59 ok new-app-service 0.017s coverage: 48.1% of statements 17:54:59 ? new-app-service/config [no test files] 17:54:59 ok new-app-service/functions 0.007s 17:54:59 CGO_ENABLED=1 go vet ./... 17:55:06 gofmt -l . 17:55:06 [ "`gofmt -l .`" = "" ] 17:55:06 ./bin/test-attribution-txt.sh 17:55:06 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 17:55:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:55:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 17:55:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.024s coverage: 67.5% of statements 17:55:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] 17:55:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.007s coverage: 93.7% of statements 17:55:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 17:55:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.017s coverage: 61.8% of statements 17:55:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 17:55:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.007s 17:55:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.069s coverage: 75.7% of statements 17:55:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 17:55:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 17:55:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 17:55:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 17:55:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 17:55:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 17:55:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.008s coverage: 97.3% of statements 17:55:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 17:55:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.008s coverage: 10.5% of statements 17:55:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.056s coverage: 77.0% of statements 17:55:13 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 17:55:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.015s coverage: 12.5% of statements 17:55:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.011s coverage: 27.3% of statements 17:55:13 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 17:55:13 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 17:55:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.006s coverage: 51.4% of statements 17:55:22 ok new-app-service 0.044s coverage: 48.1% of statements 17:55:22 ? new-app-service/config [no test files] 17:55:22 ok new-app-service/functions 0.041s 17:55:22 CGO_ENABLED=1 go vet ./... 17:55:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.027s coverage: 77.3% of statements 17:55:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.008s coverage: 94.4% of statements 17:55:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:55:40 gofmt -l . 17:55:40 [ "`gofmt -l .`" = "" ] [Pipeline] } 17:55:40 $ docker stop --time=1 13d63decf2dd0e22566c1478de20b8f5db6564077a4ca32486d461c879eac717 17:55:41 $ docker rm -f 13d63decf2dd0e22566c1478de20b8f5db6564077a4ca32486d461c879eac717 [Pipeline] // withDockerContainer [Pipeline] sh 17:55:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:55:44 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 17:55:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:55:45 17:55:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:55:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:55:45 latest: Pulling from edgex-lftools-log-publisher 17:55:45 b4d181a07f80: Pulling fs layer 17:55:45 a1111a8f2ec3: Pulling fs layer 17:55:45 ed53099fbce6: Pulling fs layer 17:55:45 dc539afda2c1: Pulling fs layer 17:55:45 77bc0d833cb6: Pulling fs layer 17:55:45 9065ff56babe: Pulling fs layer 17:55:45 d287ab97295c: Pulling fs layer 17:55:45 9065ff56babe: Waiting 17:55:45 d287ab97295c: Waiting 17:55:45 dc539afda2c1: Waiting 17:55:45 77bc0d833cb6: Waiting 17:55:46 a1111a8f2ec3: Verifying Checksum 17:55:46 a1111a8f2ec3: Download complete 17:55:46 dc539afda2c1: Verifying Checksum 17:55:46 dc539afda2c1: Download complete 17:55:46 77bc0d833cb6: Verifying Checksum 17:55:46 77bc0d833cb6: Download complete 17:55:46 9065ff56babe: Verifying Checksum 17:55:46 9065ff56babe: Download complete 17:55:46 ed53099fbce6: Verifying Checksum 17:55:46 ed53099fbce6: Download complete 17:55:47 b4d181a07f80: Verifying Checksum 17:55:47 b4d181a07f80: Download complete 17:55:48 b4d181a07f80: Pull complete 17:55:48 a1111a8f2ec3: Pull complete 17:55:48 ed53099fbce6: Pull complete 17:55:48 dc539afda2c1: Pull complete 17:55:49 77bc0d833cb6: Pull complete 17:55:49 9065ff56babe: Pull complete 17:55:49 gofmt -l . 17:55:49 [ "`gofmt -l .`" = "" ] 17:55:49 ./bin/test-attribution-txt.sh 17:55:50 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 17:55:50 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:55:50 d287ab97295c: Verifying Checksum 17:55:50 d287ab97295c: Download complete 17:55:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 17:55:54 d287ab97295c: Pull complete 17:55:54 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 17:55:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:55:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:55:54 prd-centos7-docker-4c-2g-1667 does not seem to be running inside a container 17:55:55 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:55:57 $ docker top 621f18331bba3859940f4816b6a921b65dc7f9d40e999ceb5ae26943dae16afe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:55:58 ---> job-cost.sh 17:55:58 lf-activate-venv: SKIPPING 17:55:58 INFO: No Stack... 17:55:59 INFO: Retrieving Pricing Info for: v3-standard-2 17:55:59 INFO: Archiving Costs [Pipeline] sh 17:55:59 + cut -d, -f6 17:55:59 + cat /w/workspace/app-functions-sdk-go/5/archives/cost.csv [Pipeline] lock 17:56:00 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-956-5-stack-cost] 17:56:00 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-956-5-stack-cost] did not exist. Created. 17:56:00 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-956-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:56:00 + echo total: 0.05999999865889549 [Pipeline] stash 17:56:00 Stashed 1 file(s) [Pipeline] } 17:56:00 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-956-5-stack-cost] [Pipeline] // lock [Pipeline] } 17:56:00 $ docker stop --time=1 621f18331bba3859940f4816b6a921b65dc7f9d40e999ceb5ae26943dae16afe 17:56:01 $ docker rm -f 621f18331bba3859940f4816b6a921b65dc7f9d40e999ceb5ae26943dae16afe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 17:56:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.100s coverage: 67.5% of statements 17:56:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] 17:56:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.048s coverage: 93.7% of statements 17:56:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 17:56:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.081s coverage: 61.8% of statements 17:56:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 17:56:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.034s 17:56:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.184s coverage: 75.7% of statements 17:56:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 17:56:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 17:56:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 17:56:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 17:56:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 17:56:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 17:56:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.013s coverage: 97.3% of statements 17:56:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 17:56:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.118s coverage: 10.5% of statements [Pipeline] // stage [Pipeline] } 17:56:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.142s coverage: 77.0% of statements 17:56:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 17:56:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.077s coverage: 12.5% of statements 17:56:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.041s coverage: 27.3% of statements 17:56:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 17:56:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 17:56:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.042s coverage: 51.4% of statements 17:56:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.116s coverage: 77.3% of statements 17:56:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.041s coverage: 94.4% of statements 17:56:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:56:37 gofmt -l . 17:56:37 [ "`gofmt -l .`" = "" ] [Pipeline] } 17:56:38 $ docker stop --time=1 624a01aa0236f62759556a683bac896ff7255e67eaf598a38b3f3206b09ef814 17:56:40 $ docker rm -f 624a01aa0236f62759556a683bac896ff7255e67eaf598a38b3f3206b09ef814 [Pipeline] // withDockerContainer [Pipeline] sh 17:56:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:56:42 Warning: overwriting stash ‘coverage-report’ 17:56:43 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 17:56:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:56:44 17:56:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:56:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:56:44 arm64: Pulling from edgex-lftools-log-publisher 17:56:44 448f6bf000e3: Pulling fs layer 17:56:44 f757da607395: Pulling fs layer 17:56:44 05883995daec: Pulling fs layer 17:56:44 8603b9c90790: Pulling fs layer 17:56:44 1560dd03e051: Pulling fs layer 17:56:44 27f5ce0e4adf: Pulling fs layer 17:56:44 c2d8d7efcc4b: Pulling fs layer 17:56:44 1560dd03e051: Waiting 17:56:44 27f5ce0e4adf: Waiting 17:56:44 c2d8d7efcc4b: Waiting 17:56:44 8603b9c90790: Waiting 17:56:45 f757da607395: Verifying Checksum 17:56:45 f757da607395: Download complete 17:56:45 8603b9c90790: Verifying Checksum 17:56:45 8603b9c90790: Download complete 17:56:45 1560dd03e051: Verifying Checksum 17:56:45 1560dd03e051: Download complete 17:56:45 27f5ce0e4adf: Verifying Checksum 17:56:45 27f5ce0e4adf: Download complete 17:56:45 05883995daec: Verifying Checksum 17:56:45 05883995daec: Download complete 17:56:46 448f6bf000e3: Verifying Checksum 17:56:46 448f6bf000e3: Download complete 17:56:49 c2d8d7efcc4b: Verifying Checksum 17:56:49 c2d8d7efcc4b: Download complete 17:56:49 448f6bf000e3: Pull complete 17:56:50 f757da607395: Pull complete 17:56:52 05883995daec: Pull complete 17:56:52 8603b9c90790: Pull complete 17:56:53 1560dd03e051: Pull complete 17:56:53 27f5ce0e4adf: Pull complete 17:57:08 c2d8d7efcc4b: Pull complete 17:57:08 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 17:57:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:57:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:57:09 prd-ubuntu18.04-docker-arm64-4c-16g-1665 does not seem to be running inside a container 17:57:09 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:57:13 $ docker top 6564ff71ad5dc374eb1dd6bcecffb1cfcef7ae9e8737c84e3b62ef5c11dba254 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:57:14 ---> job-cost.sh 17:57:14 lf-activate-venv: SKIPPING 17:57:14 INFO: No Stack... 17:57:15 INFO: Retrieving Pricing Info for: v3-standard-4 17:57:16 INFO: Archiving Costs [Pipeline] sh 17:57:17 + cut -d, -f6 17:57:17 + cat /w/workspace/app-functions-sdk-go/5/archives/cost.csv [Pipeline] lock 17:57:17 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-956-5-stack-cost] 17:57:17 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-956-5-stack-cost] did not exist. Created. 17:57:17 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-956-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:57:17 /w/workspace/app-functions-sdk-go/5@tmp/durable-c435889d/script.sh: 1: /w/workspace/app-functions-sdk-go/5@tmp/durable-c435889d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 17:57:18 + echo total: 0.10999999940395355 [Pipeline] stash 17:57:18 Warning: overwriting stash ‘stack-cost’ 17:57:18 Stashed 1 file(s) [Pipeline] } 17:57:18 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-956-5-stack-cost] [Pipeline] // lock [Pipeline] } 17:57:18 $ docker stop --time=1 6564ff71ad5dc374eb1dd6bcecffb1cfcef7ae9e8737c84e3b62ef5c11dba254 17:57:20 $ docker rm -f 6564ff71ad5dc374eb1dd6bcecffb1cfcef7ae9e8737c84e3b62ef5c11dba254 [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 17:57:23 provisioning config files... 17:57:23 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-956@tmp/config8249158179678441278tmp [Pipeline] { [Pipeline] sh 17:57:23 + set +x 17:57:23 + curl -s https://codecov.io/bash 17:57:23 + bash -s -- 17:57:23 17:57:23 _____ _ 17:57:23 / ____| | | 17:57:23 | | ___ __| | ___ ___ _____ __ 17:57:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:57:23 | |___| (_) | (_| | __/ (_| (_) \ V / 17:57:23 \_____\___/ \__,_|\___|\___\___/ \_/ 17:57:23 Bash-1.0.6 17:57:23 17:57:23 17:57:23 ==> git version 2.24.4 found 17:57:23 ==> 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 17:57:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 17:57:23 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 17:57:23 ==> Jenkins CI detected. 17:57:23 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-956 17:57:23 project root: . 17:57:23 --> token set from env 17:57:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:57:23 ==> Running gcov in . (disable via -X gcov) 17:57:23 ==> Python coveragepy not found 17:57:23 ==> Searching for coverage reports in: 17:57:23 + . 17:57:23 -> Found 2 reports 17:57:23 ==> Detecting git/mercurial file structure 17:57:23 ==> Reading reports 17:57:23 + ./app-service-template/coverage.out bytes=1219 17:57:23 + ./coverage.out bytes=101380 17:57:23 ==> Appending adjustments 17:57:23 https://docs.codecov.io/docs/fixing-reports 17:57:24 + Found adjustments 17:57:24 ==> Gzipping contents 17:57:24 20K /tmp/codecov.aaLJgU.gz 17:57:24 ==> Uploading reports 17:57:24 url: https://codecov.io 17:57:24 query: branch=PR-956&commit=0a4695d9fbf35a1b4c2bc9732963be46ee20c206&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-956%2F5%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=956&job=&cmd_args= 17:57:24 -> Pinging Codecov 17:57:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-956&commit=0a4695d9fbf35a1b4c2bc9732963be46ee20c206&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-956%2F5%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=956&job=&cmd_args= 17:57:24 -> Uploading to 17:57:24 https://storage.googleapis.com/codecov/v4/raw/2021-09-27/3D8B5DFFC46A037C893635FACE044666/0a4695d9fbf35a1b4c2bc9732963be46ee20c206/7428c265-5fd2-4205-a7cd-f49e94eb2817.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210927T175724Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3461502946087f0a3560bdb98f24eaafb32ccccf78a342dba225fe495563d74c 17:57:24 % Total % Received % Xferd Average Speed Time Time Time Current 17:57:24 Dload Upload Total Spent Left Speed 17:57:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17681 0 0 100 17681 0 12782 0:00:01 0:00:01 --:--:-- 12775 100 17681 0 0 100 17681 0 7414 0:00:02 0:00:02 --:--:-- 7413 100 17681 0 0 100 17681 0 5222 0:00:03 0:00:03 --:--:-- 5221 100 17681 0 0 100 17681 0 4030 0:00:04 0:00:04 --:--:-- 4030 100 17681 0 0 100 17681 0 3281 0:00:05 0:00:05 --:--:-- 3411 100 17681 0 0 100 17681 0 3005 0:00:05 0:00:05 --:--:-- 0 17:57:30 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/0a4695d9fbf35a1b4c2bc9732963be46ee20c206 [Pipeline] } 17:57:30 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 17:57:34 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-956/archives ']' [Pipeline] libraryResource [Pipeline] sh 17:57:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:57:35 ---> package-listing.sh 17:57:35 ++ facter osfamily 17:57:35 ++ tr '[:upper:]' '[:lower:]' 17:57:35 + OS_FAMILY=redhat 17:57:35 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-956 17:57:35 + START_PACKAGES=/tmp/packages_start.txt 17:57:35 + END_PACKAGES=/tmp/packages_end.txt 17:57:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:57:35 + PACKAGES=/tmp/packages_start.txt 17:57:35 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-956 ']' 17:57:35 + PACKAGES=/tmp/packages_end.txt 17:57:35 + case "${OS_FAMILY}" in 17:57:35 + sort 17:57:35 + rpm -qa 17:57:36 + '[' -f /tmp/packages_start.txt ']' 17:57:36 + '[' -f /tmp/packages_end.txt ']' 17:57:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:57:36 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-956 ']' 17:57:36 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-956/archives/ 17:57:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-956/archives/ [Pipeline] echo 17:57: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-956/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:57:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:57:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:57:37 17:57:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:57:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:57:37 latest: Pulling from edgex-lftools-log-publisher 17:57:37 b4d181a07f80: Pulling fs layer 17:57:37 a1111a8f2ec3: Pulling fs layer 17:57:37 ed53099fbce6: Pulling fs layer 17:57:37 dc539afda2c1: Pulling fs layer 17:57:37 77bc0d833cb6: Pulling fs layer 17:57:37 9065ff56babe: Pulling fs layer 17:57:37 d287ab97295c: Pulling fs layer 17:57:37 dc539afda2c1: Waiting 17:57:37 77bc0d833cb6: Waiting 17:57:37 9065ff56babe: Waiting 17:57:37 d287ab97295c: Waiting 17:57:37 a1111a8f2ec3: Verifying Checksum 17:57:37 a1111a8f2ec3: Download complete 17:57:37 dc539afda2c1: Verifying Checksum 17:57:37 dc539afda2c1: Download complete 17:57:37 77bc0d833cb6: Verifying Checksum 17:57:37 77bc0d833cb6: Download complete 17:57:38 9065ff56babe: Verifying Checksum 17:57:38 9065ff56babe: Download complete 17:57:38 ed53099fbce6: Verifying Checksum 17:57:38 ed53099fbce6: Download complete 17:57:39 b4d181a07f80: Verifying Checksum 17:57:39 b4d181a07f80: Download complete 17:57:40 b4d181a07f80: Pull complete 17:57:40 a1111a8f2ec3: Pull complete 17:57:40 ed53099fbce6: Pull complete 17:57:40 dc539afda2c1: Pull complete 17:57:41 77bc0d833cb6: Pull complete 17:57:41 9065ff56babe: Pull complete 17:57:42 d287ab97295c: Verifying Checksum 17:57:42 d287ab97295c: Download complete 17:57:46 d287ab97295c: Pull complete 17:57:46 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 17:57:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:57:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:57:46 prd-centos7-docker-4c-2g-1664 does not seem to be running inside a container 17:57:47 $ 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-956/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-956 -v /w/workspace/ndry_app-functions-sdk-go_PR-956:/w/workspace/ndry_app-functions-sdk-go_PR-956:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-956@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-956@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 17:57:49 $ docker top e615e0a0683a0520e2bb54e8e04c1b537e998e032b1a586148977bdacee95e6a -eo pid,comm [Pipeline] { [Pipeline] sh 17:57:49 + touch /tmp/pre-build-complete [Pipeline] sh 17:57:50 + mkdir -p /var/log/sysstat [Pipeline] sh 17:57:50 + ls /var/log/sa-host 17:57:50 + sadf -c /var/log/sa-host/sa05 17:57:50 file_magic: OK 17:57:50 HZ: Using current value: 100 17:57:50 file_header: OK 17:57:50 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 17:57:50 Statistics: 17:57:50 Hnuu...uuuununununu...Hnuu...uuuununununu... 17:57:50 File successfully converted to sysstat format version 12.0.3 17:57:50 + sadf -c /var/log/sa-host/sa27 17:57:50 file_magic: OK 17:57:50 HZ: Using current value: 100 17:57:50 file_header: OK 17:57:50 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 17:57:50 Statistics: 17:57:50 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:57:50 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:57:50 provisioning config files... 17:57:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-956@tmp/config194804356701952979tmp [Pipeline] { [Pipeline] echo 17:57:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:57:51 ---> create-netrc.sh [Pipeline] } 17:57:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:57:51 ---> python-tools-install.sh [Pipeline] echo 17:57:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:57:51 ---> sudo-logs.sh 17:57:51 Archiving 'sudo' log.. 17:57:51 sudo: unable to resolve host prd-centos7-docker-4c-2g-1664.vexxhost.local: Name or service not known 17:57:51 sudo: unable to resolve host prd-centos7-docker-4c-2g-1664.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 17:57:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:57:52 ---> job-cost.sh 17:57:52 lf-activate-venv: SKIPPING 17:57:52 DEBUG: total: 0.10999999940395355 17:57:52 INFO: Retrieving Stack Cost... 17:57:53 INFO: Retrieving Pricing Info for: v3-standard-2 17:57:53 INFO: Archiving Costs [Pipeline] echo 17:57:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:57:54 ---> logs-deploy.sh 17:57:54 lf-activate-venv: SKIPPING 17:57:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-956/5 17:57:54 INFO: archiving workspace using pattern(s): 17:57:55 Archives upload complete. 17:57:55 INFO: archiving logs to Nexus 17:57:55 ---> uname -a: 17:57:55 Linux prd-centos7-docker-4c-2g-1664.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 17:57:55 17:57:55 17:57:55 ---> lscpu: 17:57:55 Architecture: x86_64 17:57:55 CPU op-mode(s): 32-bit, 64-bit 17:57:55 Byte Order: Little Endian 17:57:55 Address sizes: 40 bits physical, 48 bits virtual 17:57:55 CPU(s): 2 17:57:55 On-line CPU(s) list: 0,1 17:57:55 Thread(s) per core: 1 17:57:55 Core(s) per socket: 1 17:57:55 Socket(s): 2 17:57:55 NUMA node(s): 1 17:57:55 Vendor ID: AuthenticAMD 17:57:55 CPU family: 23 17:57:55 Model: 49 17:57:55 Model name: AMD EPYC-Rome Processor 17:57:55 Stepping: 0 17:57:55 CPU MHz: 2799.998 17:57:55 BogoMIPS: 5599.99 17:57:55 Virtualization: AMD-V 17:57:55 Hypervisor vendor: KVM 17:57:55 Virtualization type: full 17:57:55 L1d cache: 32K 17:57:55 L1i cache: 32K 17:57:55 L2 cache: 512K 17:57:55 L3 cache: 16384K 17:57:55 NUMA node0 CPU(s): 0,1 17:57:55 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 17:57:55 17:57:55 17:57:55 ---> nproc: 17:57:55 2 17:57:55 17:57:55 17:57:55 ---> df -h: 17:57:55 Filesystem Size Used Avail Use% Mounted on 17:57:55 overlay 40G 7.7G 33G 20% / 17:57:55 tmpfs 64M 0 64M 0% /dev 17:57:55 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 17:57:55 shm 64M 0 64M 0% /dev/shm 17:57:55 /dev/vda1 40G 7.7G 33G 20% /facter-os 17:57:55 17:57:55 17:57:55 ---> sar -b -r -n DEV: 17:57:55 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/27/21 _x86_64_ (2 CPU) 17:57:55 17:57:55 17:48:01 LINUX RESTART (2 CPU) 17:57:55 17:57:55 17:49:01 tps rtps wtps bread/s bwrtn/s 17:57:55 17:50:01 6.00 0.15 5.85 22.11 1318.75 17:57:55 17:51:01 0.40 0.00 0.40 0.00 6.23 17:57:55 17:52:01 0.18 0.00 0.18 0.00 1.88 17:57:55 17:53:01 0.22 0.00 0.22 0.00 3.75 17:57:55 17:54:01 0.32 0.00 0.32 0.00 4.40 17:57:55 17:55:01 0.20 0.00 0.20 0.00 1.88 17:57:55 17:56:01 0.27 0.00 0.27 0.00 5.08 17:57:55 17:57:01 0.27 0.00 0.27 0.00 3.90 17:57:55 Average: 0.98 0.02 0.96 2.77 168.28 17:57:55 17:57:55 17:49:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:57:55 17:50:01 5435844 0 801140 10.00 2620 1769336 1243912 13.73 593256 1580180 20 17:57:55 17:51:01 5440716 0 796260 9.94 2620 1769344 1205864 13.31 590480 1578928 16 17:57:55 17:52:01 5440760 0 796212 9.94 2620 1769348 1205864 13.31 591216 1578196 8 17:57:55 17:53:01 5438672 0 798292 9.97 2620 1769356 1206168 13.32 593748 1578192 8 17:57:55 17:54:01 5438500 0 798460 9.97 2620 1769360 1206108 13.32 585400 1586312 8 17:57:55 17:55:01 5438784 0 798172 9.97 2620 1769364 1205928 13.31 585556 1586316 16 17:57:55 17:56:01 5436728 0 800224 9.99 2620 1769368 1205928 13.31 587436 1586312 8 17:57:55 17:57:01 5427656 0 809292 10.10 2620 1769372 1205928 13.31 596436 1586312 8 17:57:55 Average: 5437208 0 799756 9.99 2620 1769356 1210712 13.37 590441 1582594 12 17:57:55 17:57:55 17:49:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:57:55 17:50:01 eth0 121.52 111.39 226.96 12.41 0.00 0.00 0.00 0.00 17:57:55 17:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:57:55 17:50:01 docker0 102.75 103.80 7.10 213.67 0.00 0.00 0.00 0.00 17:57:55 17:51:01 eth0 0.73 0.08 0.06 0.01 0.00 0.00 0.00 0.00 17:57:55 17:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:57:55 17:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:57:55 17:52:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 17:57:55 17:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:57:55 17:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:57:55 17:53:01 eth0 1.02 0.35 0.32 0.20 0.00 0.00 0.00 0.00 17:57:55 17:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:57:55 17:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:57:55 17:54:01 eth0 0.73 0.47 0.41 0.27 0.00 0.00 0.00 0.00 17:57:55 17:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:57:55 17:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:57:55 17:55:01 eth0 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:57:55 17:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:57:55 17:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:57:55 17:56:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 17:57:55 17:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:57:55 17:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:57:55 17:57:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 17:57:55 17:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:57:55 17:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:57:55 Average: eth0 15.54 14.07 28.48 1.61 0.00 0.00 0.00 0.00 17:57:55 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:57:55 Average: docker0 12.85 12.98 0.89 26.72 0.00 0.00 0.00 0.00 17:57:55 17:57:55 17:57:55 ---> sar -P ALL: 17:57:55 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/27/21 _x86_64_ (2 CPU) 17:57:55 17:57:55 17:48:01 LINUX RESTART (2 CPU) 17:57:55 17:57:55 17:49:01 CPU %user %nice %system %iowait %steal %idle 17:57:55 17:50:01 all 1.75 0.00 0.54 0.10 0.04 97.57 17:57:55 17:50:01 0 1.85 0.00 0.62 0.05 0.05 97.43 17:57:55 17:50:01 1 1.66 0.00 0.45 0.15 0.03 97.70 17:57:55 17:51:01 all 0.13 0.00 0.04 0.00 0.03 99.80 17:57:55 17:51:01 0 0.20 0.00 0.03 0.00 0.02 99.75 17:57:55 17:51:01 1 0.05 0.00 0.05 0.00 0.05 99.85 17:57:55 17:52:01 all 0.10 0.00 0.03 0.00 0.03 99.85 17:57:55 17:52:01 0 0.18 0.00 0.02 0.00 0.03 99.77 17:57:55 17:52:01 1 0.02 0.00 0.03 0.00 0.02 99.93 17:57:55 17:53:01 all 0.08 0.00 0.03 0.00 0.04 99.85 17:57:55 17:53:01 0 0.12 0.00 0.03 0.00 0.05 99.80 17:57:55 17:53:01 1 0.05 0.00 0.02 0.00 0.03 99.90 17:57:55 17:54:01 all 0.13 0.00 0.03 0.00 0.03 99.82 17:57:55 17:54:01 0 0.20 0.00 0.05 0.00 0.03 99.72 17:57:55 17:54:01 1 0.05 0.00 0.02 0.00 0.02 99.92 17:57:55 17:55:01 all 0.08 0.00 0.04 0.00 0.03 99.84 17:57:55 17:55:01 0 0.02 0.00 0.03 0.00 0.02 99.93 17:57:55 17:55:01 1 0.15 0.00 0.05 0.00 0.05 99.75 17:57:55 17:56:01 all 0.18 0.00 0.03 0.00 0.02 99.78 17:57:55 17:56:01 0 0.07 0.00 0.02 0.00 0.03 99.88 17:57:55 17:56:01 1 0.28 0.00 0.03 0.00 0.00 99.68 17:57:55 17:57:01 all 0.13 0.00 0.04 0.00 0.03 99.80 17:57:55 17:57:01 0 0.03 0.00 0.05 0.00 0.03 99.88 17:57:55 17:57:01 1 0.23 0.00 0.03 0.00 0.02 99.72 17:57:55 Average: all 0.32 0.00 0.10 0.01 0.03 99.54 17:57:55 Average: 0 0.33 0.00 0.11 0.01 0.03 99.52 17:57:55 Average: 1 0.31 0.00 0.09 0.02 0.03 99.56 17:57:55 17:57:55 17:57:55