Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from be6b6480a5cf195d2ab17dc07fd7efb8d0466899+2988ae778ed7d003906d61219b41a631e84b2f74 (3b330874af4c06ba9b38a9f234db530188c8730c) 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-ssh6545650255283480391.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-ssh4844130875950406009.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-948/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-948/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6612201985608861445.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-ssh4411657678788131991.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-948/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-948/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3316104157346704947.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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-269’ Running on prd-centos7-docker-4c-2g-273 in /w/workspace/ndry_app-functions-sdk-go_PR-948 [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-948 # 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-948@tmp/jenkins-gitclient-ssh2603011257889911801.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-948@tmp/jenkins-gitclient-ssh8350042664516052359.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/948/head:refs/remotes/origin/PR-948 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2988ae778ed7d003906d61219b41a631e84b2f74 into PR head commit be6b6480a5cf195d2ab17dc07fd7efb8d0466899 Merge succeeded, producing b889dc24c3d59e06c0ad29d7b3b1425f72f3e9e3 Checking out Revision b889dc24c3d59e06c0ad29d7b3b1425f72f3e9e3 (PR-948) > git config core.sparsecheckout # timeout=10 > git checkout -f be6b6480a5cf195d2ab17dc07fd7efb8d0466899 # 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-948@tmp/jenkins-gitclient-ssh5756955874022000501.key > git merge 2988ae778ed7d003906d61219b41a631e84b2f74 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b889dc24c3d59e06c0ad29d7b3b1425f72f3e9e3 # timeout=10 Commit message: "Merge commit '2988ae778ed7d003906d61219b41a631e84b2f74' into HEAD" > git rev-list --no-walk be6b6480a5cf195d2ab17dc07fd7efb8d0466899 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:46:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:46:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:46:26 ========================================================= 19:46:26 EdgeX Global Pipelines Version Info 19:46:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:46:27 ------------------- 19:46:27 stable info: 19:46:27 ------------------- 19:46:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:46:27 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 19:46:27 Message: update stable to v1.0.205 19:46:28 ------------------- 19:46:28 experimental info: 19:46:28 ------------------- 19:46:28 Commited By: **** collab-it+edgex@linuxfoundation.org 19:46:28 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 19:46:28 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:46:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 19:46:28 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 19:46:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:46:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:46:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:46:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 19:46:28 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 19:46:28 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 19:46:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:46:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:46:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:46:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:46:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 19:46:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:46:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:46:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 19:46:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 19:46:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:46:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:46:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:46:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:46:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:46:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 19:46:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:46:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:46:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 19:46:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:46:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-948 [Pipeline] echo 19:46:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-948 [Pipeline] echo 19:46:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-948 [Pipeline] echo 19:46:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b889dc24c3d59e06c0ad29d7b3b1425f72f3e9e3 [Pipeline] echo 19:46:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b889dc2 [Pipeline] echo 19:46:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:46:29 + git log --format=format:%s -1 b889dc24c3d59e06c0ad29d7b3b1425f72f3e9e3 [Pipeline] echo 19:46:29 GIT_COMMIT: b889dc24c3d59e06c0ad29d7b3b1425f72f3e9e3, Commit Message: Merge commit '2988ae778ed7d003906d61219b41a631e84b2f74' into HEAD [Pipeline] echo 19:46:29 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 19:46:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:46:30 19:46:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:46:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:46:30 latest: Pulling from edgex-devops/git-semver 19:46:30 31603596830f: Pulling fs layer 19:46:30 04fac38145f0: Pulling fs layer 19:46:30 701f6daf10bf: Pulling fs layer 19:46:30 24f72da36158: Pulling fs layer 19:46:30 24f72da36158: Waiting 19:46:30 04fac38145f0: Verifying Checksum 19:46:30 04fac38145f0: Download complete 19:46:31 24f72da36158: Verifying Checksum 19:46:31 24f72da36158: Download complete 19:46:31 31603596830f: Verifying Checksum 19:46:31 31603596830f: Download complete 19:46:31 701f6daf10bf: Verifying Checksum 19:46:31 701f6daf10bf: Download complete 19:46:31 31603596830f: Pull complete 19:46:31 04fac38145f0: Pull complete 19:46:31 701f6daf10bf: Pull complete 19:46:32 24f72da36158: Pull complete 19:46:32 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 19:46:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:46:32 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:46:32 prd-centos7-docker-4c-2g-273 does not seem to be running inside a container 19:46:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-948 -v /w/workspace/ndry_app-functions-sdk-go_PR-948:/w/workspace/ndry_app-functions-sdk-go_PR-948:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-948@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-948@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 19:46:33 $ docker top b9049ac344d74a4b64b0d1b88fda80977683529f7e54b3479d1492948a6536f1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:46:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:46:33 [ssh-agent] Looking for ssh-agent implementation... 19:46:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:46:33 $ docker exec b9049ac344d74a4b64b0d1b88fda80977683529f7e54b3479d1492948a6536f1 ssh-agent 19:46:33 SSH_AUTH_SOCK=/tmp/ssh-GFVea98rJHwm/agent.14 19:46:33 SSH_AGENT_PID=20 19:46:33 Running ssh-add (command line suppressed) 19:46:33 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-948@tmp/private_key_6421576577524493629.key (/w/workspace/ndry_app-functions-sdk-go_PR-948@tmp/private_key_6421576577524493629.key) 19:46:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:46:34 + git tag --points-at HEAD [Pipeline] } 19:46:34 $ docker exec --env ******** --env ******** b9049ac344d74a4b64b0d1b88fda80977683529f7e54b3479d1492948a6536f1 ssh-agent -k 19:46:34 unset SSH_AUTH_SOCK; 19:46:34 unset SSH_AGENT_PID; 19:46:34 echo Agent pid 20 killed; 19:46:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:46:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:46:34 [ssh-agent] Looking for ssh-agent implementation... 19:46:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:46:34 $ docker exec b9049ac344d74a4b64b0d1b88fda80977683529f7e54b3479d1492948a6536f1 ssh-agent 19:46:34 SSH_AUTH_SOCK=/tmp/ssh-0q4xgQp3dt95/agent.54 19:46:34 SSH_AGENT_PID=61 19:46:34 Running ssh-add (command line suppressed) 19:46:34 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-948@tmp/private_key_1518622518043101715.key (/w/workspace/ndry_app-functions-sdk-go_PR-948@tmp/private_key_1518622518043101715.key) 19:46:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:46:34 + git semver init 19:46:34 # -> Open(): unable to determine branch for HEAD 19:46:34 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-948/.git 19:46:34 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-948 19:46:34 # $SEMVER_REMOTE_NAME = origin 19:46:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:46:34 # $SEMVER_USER_NAME = edgex-jenkins 19:46:34 # $SEMVER_BRANCH = PR-948 19:46:34 # $SEMVER_TEMP = /tmp/semver-915963770 19:46:34 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 19:46:36 # '/tmp/semver-915963770' -> '/w/workspace/ndry_app-functions-sdk-go_PR-948/.semver' 19:46:37 # -> Force: false 19:46:37 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-948/.semver [Pipeline] } 19:46:37 $ docker exec --env ******** --env ******** b9049ac344d74a4b64b0d1b88fda80977683529f7e54b3479d1492948a6536f1 ssh-agent -k 19:46:37 unset SSH_AUTH_SOCK; 19:46:37 unset SSH_AGENT_PID; 19:46:37 echo Agent pid 61 killed; 19:46:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:46:37 + git semver [Pipeline] } 19:46:37 $ docker stop --time=1 b9049ac344d74a4b64b0d1b88fda80977683529f7e54b3479d1492948a6536f1 19:46:38 $ docker rm -f b9049ac344d74a4b64b0d1b88fda80977683529f7e54b3479d1492948a6536f1 [Pipeline] // withDockerContainer [Pipeline] sh 19:46:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:46:39 Stashed 1 file(s) [Pipeline] echo 19:46:39 [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 19:46:54 Still waiting to schedule task 19:46:54 Waiting for next available executor on ‘centos7-docker-4c-2g’ 19:46:54 Still waiting to schedule task 19:46:54 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-270’ 19:49:28 Running on prd-centos7-docker-4c-2g-274 in /w/workspace/ndry_app-functions-sdk-go_PR-948 [Pipeline] { [Pipeline] ws 19:49:28 Running in /w/workspace/app-functions-sdk-go/5 [Pipeline] { [Pipeline] checkout 19:49:28 The recommended git tool is: git 19:49:31 using credential edgex-jenkins-ssh 19:49:31 Cloning the remote Git repository 19:49:31 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 19:49:31 > git init /w/workspace/app-functions-sdk-go/5 # timeout=10 19:49:31 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 19:49:31 > git --version # timeout=10 19:49:31 > git --version # 'git version 2.24.4' 19:49:31 using GIT_SSH to set credentials SSH Credentials for GitHub 19:49:31 [INFO] Currently running in a labeled security context 19:49:31 [INFO] Currently SELinux is 'enforcing' on the host 19:49:31 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/5@tmp/jenkins-gitclient-ssh2730032318272336908.key 19:49:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:49:33 Merging remotes/origin/main commit 2988ae778ed7d003906d61219b41a631e84b2f74 into PR head commit be6b6480a5cf195d2ab17dc07fd7efb8d0466899 19:49:33 Merge succeeded, producing 97589a10b40b757c349939dd7216e2d3748d7cd8 19:49:33 Checking out Revision 97589a10b40b757c349939dd7216e2d3748d7cd8 (PR-948) 19:49:32 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 19:49:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:49:33 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 19:49:33 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 19:49:33 using GIT_SSH to set credentials SSH Credentials for GitHub 19:49:33 [INFO] Currently running in a labeled security context 19:49:33 [INFO] Currently SELinux is 'enforcing' on the host 19:49:33 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/5@tmp/jenkins-gitclient-ssh3188866999106468361.key 19:49:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/948/head:refs/remotes/origin/PR-948 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:49:33 > git config core.sparsecheckout # timeout=10 19:49:33 > git checkout -f be6b6480a5cf195d2ab17dc07fd7efb8d0466899 # timeout=10 19:49:33 > git remote # timeout=10 19:49:33 > git config --get remote.origin.url # timeout=10 19:49:33 using GIT_SSH to set credentials SSH Credentials for GitHub 19:49:33 [INFO] Currently running in a labeled security context 19:49:33 [INFO] Currently SELinux is 'enforcing' on the host 19:49:33 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/5@tmp/jenkins-gitclient-ssh156251499786612362.key 19:49:33 > git merge 2988ae778ed7d003906d61219b41a631e84b2f74 # timeout=10 19:49:33 > git rev-parse HEAD^{commit} # timeout=10 19:49:33 > git config core.sparsecheckout # timeout=10 19:49:33 > git checkout -f 97589a10b40b757c349939dd7216e2d3748d7cd8 # timeout=10 19:49:37 Commit message: "Merge commit '2988ae778ed7d003906d61219b41a631e84b2f74' into HEAD" 19:49:37 > git rev-list --no-walk be6b6480a5cf195d2ab17dc07fd7efb8d0466899 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 19:49:38 ========================================================= 19:49:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 19:49:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 19:49:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 19:49:38 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 19:49:38 540db60ca938: Pulling fs layer 19:49:38 adcc1eea9eea: Pulling fs layer 19:49:38 4c4ab2625f07: Pulling fs layer 19:49:38 db62176df00c: Pulling fs layer 19:49:38 3b30891b0d05: Pulling fs layer 19:49:38 06b49ca38bd5: Pulling fs layer 19:49:38 c788192a36de: Pulling fs layer 19:49:38 a77e37c0d609: Pulling fs layer 19:49:38 c3185cebc471: Pulling fs layer 19:49:38 db62176df00c: Waiting 19:49:38 3b30891b0d05: Waiting 19:49:38 06b49ca38bd5: Waiting 19:49:38 c788192a36de: Waiting 19:49:38 a77e37c0d609: Waiting 19:49:38 4c4ab2625f07: Verifying Checksum 19:49:38 4c4ab2625f07: Download complete 19:49:38 adcc1eea9eea: Verifying Checksum 19:49:38 adcc1eea9eea: Download complete 19:49:39 3b30891b0d05: Verifying Checksum 19:49:39 3b30891b0d05: Download complete 19:49:39 06b49ca38bd5: Verifying Checksum 19:49:39 06b49ca38bd5: Download complete 19:49:39 c788192a36de: Verifying Checksum 19:49:39 c788192a36de: Download complete 19:49:39 540db60ca938: Verifying Checksum 19:49:39 540db60ca938: Download complete 19:49:39 540db60ca938: Pull complete 19:49:39 adcc1eea9eea: Pull complete 19:49:39 4c4ab2625f07: Pull complete 19:49:39 a77e37c0d609: Verifying Checksum 19:49:39 a77e37c0d609: Download complete 19:49:42 c3185cebc471: Verifying Checksum 19:49:42 c3185cebc471: Download complete 19:49:42 db62176df00c: Verifying Checksum 19:49:42 db62176df00c: Download complete 19:49:46 db62176df00c: Pull complete 19:49:46 3b30891b0d05: Pull complete 19:49:46 06b49ca38bd5: Pull complete 19:49:46 c788192a36de: Pull complete 19:49:46 a77e37c0d609: Pull complete 19:49:48 c3185cebc471: Pull complete 19:49:48 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 19:49:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 19:49:48 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 19:49:48 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 19:49:49 + docker inspect -f . ci-base-image-x86_64 19:49:49 . [Pipeline] withDockerContainer 19:49:49 prd-centos7-docker-4c-2g-274 does not seem to be running inside a container 19:49:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:49:51 $ docker top bc4eeba6a31557cc43bb2025b5bf33cb2e4e78172d08fb961f3b708af7f9400f -eo pid,comm [Pipeline] { [Pipeline] sh 19:49:52 + go version 19:49:52 go version go1.16.6 linux/amd64 [Pipeline] } 19:49:52 $ docker stop --time=1 bc4eeba6a31557cc43bb2025b5bf33cb2e4e78172d08fb961f3b708af7f9400f 19:49:53 $ docker rm -f bc4eeba6a31557cc43bb2025b5bf33cb2e4e78172d08fb961f3b708af7f9400f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:49:53 + docker inspect -f . ci-base-image-x86_64 19:49:53 . [Pipeline] withDockerContainer 19:49:53 prd-centos7-docker-4c-2g-274 does not seem to be running inside a container 19:49:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:49:54 $ docker top 7da368260282088423bf8c8699c4ac5e99e1cb690fba2b0214c36ea6a5534c76 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:49:54 + make test 19:49:54 make -C ./app-service-template build 19:49:54 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 19:49:54 go mod tidy 19:49:55 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 19:49:55 go: downloading github.com/google/uuid v1.3.0 19:49:55 go: downloading github.com/stretchr/testify v1.7.0 19:49:56 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 19:49:56 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 19:49:56 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 19:49:56 go: downloading github.com/go-playground/validator/v10 v10.6.1 19:49:56 go: downloading github.com/go-kit/kit v0.9.0 19:49:56 go: downloading gopkg.in/yaml.v2 v2.4.0 19:49:56 go: downloading github.com/davecgh/go-spew v1.1.1 19:49:56 go: downloading github.com/pmezard/go-difflib v1.0.0 19:49:56 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 19:49:56 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 19:49:56 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 19:49:56 go: downloading github.com/stretchr/objx v0.1.0 19:49:57 go: downloading github.com/gorilla/mux v1.8.0 19:49:57 go: downloading github.com/hashicorp/go-multierror v1.1.1 19:49:57 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 19:49:57 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 19:49:57 go: downloading github.com/go-playground/universal-translator v0.17.0 19:49:57 go: downloading github.com/leodido/go-urn v1.2.0 19:49:57 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 19:49:58 go: downloading golang.org/x/text v0.3.2 19:49:58 go: downloading github.com/go-playground/assert/v2 v2.0.1 19:49:58 go: downloading github.com/go-playground/locales v0.13.0 19:49:59 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 19:49:59 go: downloading github.com/go-logfmt/logfmt v0.4.0 19:49:59 go: downloading github.com/go-stack/stack v1.8.0 19:49:59 go: downloading github.com/mitchellh/copystructure v1.0.0 19:49:59 go: downloading github.com/gorilla/websocket v1.4.2 19:49:59 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 19:49:59 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 19:49:59 go: downloading github.com/pelletier/go-toml v1.9.2 19:49:59 go: downloading github.com/hashicorp/consul/api v1.8.1 19:49:59 go: downloading github.com/hashicorp/errwrap v1.0.0 19:49:59 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 19:50:00 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 19:50:00 go: downloading github.com/mitchellh/reflectwalk v1.0.0 19:50:00 go: downloading github.com/kr/pretty v0.2.0 19:50:00 go: downloading github.com/x448/float16 v0.8.4 19:50:00 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 19:50:00 go: downloading github.com/hashicorp/go-hclog v0.12.0 19:50:00 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 19:50:00 go: downloading github.com/hashicorp/serf v0.9.5 19:50:00 go: downloading github.com/mitchellh/mapstructure v1.1.2 19:50:00 go: downloading github.com/hashicorp/consul/sdk v0.7.0 19:50:01 go: downloading github.com/hashicorp/go-uuid v1.0.1 19:50:01 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 19:50:01 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:50:01 go: downloading github.com/fatih/color v1.9.0 19:50:01 go: downloading github.com/mattn/go-colorable v0.1.6 19:50:01 go: downloading github.com/mattn/go-isatty v0.0.12 19:50:01 go: downloading github.com/mitchellh/go-homedir v1.1.0 19:50:01 go: downloading github.com/kr/text v0.1.0 19:50:01 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:50:01 go: downloading github.com/pkg/errors v0.8.1 19:50:01 go: downloading github.com/hashicorp/go-msgpack v0.5.3 19:50:02 go: downloading github.com/hashicorp/memberlist v0.2.2 19:50:02 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 19:50:02 go: downloading github.com/go-redis/redis/v7 v7.3.0 19:50:02 go: downloading github.com/pebbe/zmq4 v1.2.7 19:50:02 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 19:50:02 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 19:50:02 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:50:02 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 19:50:02 go: downloading github.com/onsi/ginkgo v1.10.1 19:50:03 go: downloading github.com/onsi/gomega v1.7.0 19:50:03 go: downloading github.com/hashicorp/golang-lru v0.5.0 19:50:03 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:50:03 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 19:50:04 go: downloading github.com/miekg/dns v1.1.26 19:50:04 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:50:04 go: downloading github.com/hpcloud/tail v1.0.0 19:50:04 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 19:50:05 go: downloading github.com/golang/protobuf v1.3.2 19:50:05 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 19:50:05 go: downloading gopkg.in/fsnotify.v1 v1.4.7 19:50:05 go: downloading github.com/fsnotify/fsnotify v1.4.7 19:50:06 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 19:50:18 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 19:50:18 make -C ./app-service-template test 19:50:18 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 19:50:18 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 19:50:25 ok new-app-service 0.009s coverage: 48.1% of statements 19:50:25 ? new-app-service/config [no test files] 19:50:25 ok new-app-service/functions 0.007s 19:50:25 CGO_ENABLED=1 go vet ./... 19:50:32 gofmt -l . 19:50:32 [ "`gofmt -l .`" = "" ] 19:50:32 ./bin/test-attribution-txt.sh 19:50:32 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 19:50:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:50:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 19:50:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.020s coverage: 63.9% of statements 19:50:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.012s coverage: 93.2% of statements 19:50:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 19:50:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.010s coverage: 61.8% of statements 19:50:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 19:50:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.008s 19:50:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.074s coverage: 75.6% of statements 19:50:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 19:50:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 19:50:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 19:50:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 19:50:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 19:50:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 19:50:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.003s coverage: 97.3% of statements 19:50:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 19:50:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.012s coverage: 10.5% of statements 19:50:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.052s coverage: 77.0% of statements 19:50:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 19:50:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.005s coverage: 12.5% of statements 19:50:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.013s coverage: 27.3% of statements 19:50:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 19:50:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 19:50:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.008s coverage: 51.4% of statements 19:50:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-275 in /w/workspace/ndry_app-functions-sdk-go_PR-948 [Pipeline] { [Pipeline] ws 19:50:47 Running in /w/workspace/app-functions-sdk-go/5 [Pipeline] { [Pipeline] checkout 19:50:48 The recommended git tool is: git 19:50:53 using credential edgex-jenkins-ssh 19:50:53 Cloning the remote Git repository 19:50:53 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 19:50:53 > git init /w/workspace/app-functions-sdk-go/5 # timeout=10 19:50:53 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 19:50:53 > git --version # timeout=10 19:50:53 > git --version # 'git version 2.17.1' 19:50:53 using GIT_SSH to set credentials SSH Credentials for GitHub 19:50:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:50:56 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 19:50:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:50:56 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 19:50:56 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 19:50:56 using GIT_SSH to set credentials SSH Credentials for GitHub 19:50:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/948/head:refs/remotes/origin/PR-948 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:50:57 Merging remotes/origin/main commit 2988ae778ed7d003906d61219b41a631e84b2f74 into PR head commit be6b6480a5cf195d2ab17dc07fd7efb8d0466899 19:50:57 Merge succeeded, producing d59e986bc539dfc5c49f3688890c84d0431c7921 19:50:57 Checking out Revision d59e986bc539dfc5c49f3688890c84d0431c7921 (PR-948) 19:50:57 > git config core.sparsecheckout # timeout=10 19:50:57 > git checkout -f be6b6480a5cf195d2ab17dc07fd7efb8d0466899 # timeout=10 19:50:57 > git remote # timeout=10 19:50:57 > git config --get remote.origin.url # timeout=10 19:50:57 using GIT_SSH to set credentials SSH Credentials for GitHub 19:50:57 > git merge 2988ae778ed7d003906d61219b41a631e84b2f74 # timeout=10 19:50:57 > git rev-parse HEAD^{commit} # timeout=10 19:50:57 > git config core.sparsecheckout # timeout=10 19:50:57 > git checkout -f d59e986bc539dfc5c49f3688890c84d0431c7921 # timeout=10 19:51:02 Commit message: "Merge commit '2988ae778ed7d003906d61219b41a631e84b2f74' into HEAD" 19:51:02 > git rev-list --no-walk be6b6480a5cf195d2ab17dc07fd7efb8d0466899 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 19:51:03 ========================================================= 19:51:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 19:51:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 19:51:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 19:51:05 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:51:05 595b0fe564bb: Pulling fs layer 19:51:05 24495759ef45: Pulling fs layer 19:51:05 d148012ef14d: Pulling fs layer 19:51:05 e90a11edd702: Pulling fs layer 19:51:05 d77568369979: Pulling fs layer 19:51:05 fc1c9f9a7f3b: Pulling fs layer 19:51:05 170f2ba95c9a: Pulling fs layer 19:51:05 97ac5df62f85: Pulling fs layer 19:51:05 e90a11edd702: Waiting 19:51:05 d77568369979: Waiting 19:51:05 fc1c9f9a7f3b: Waiting 19:51:05 170f2ba95c9a: Waiting 19:51:05 97ac5df62f85: Waiting 19:51:05 d148012ef14d: Verifying Checksum 19:51:05 d148012ef14d: Download complete 19:51:05 24495759ef45: Verifying Checksum 19:51:05 24495759ef45: Download complete 19:51:05 d77568369979: Verifying Checksum 19:51:05 d77568369979: Download complete 19:51:05 fc1c9f9a7f3b: Verifying Checksum 19:51:05 fc1c9f9a7f3b: Download complete 19:51:06 170f2ba95c9a: Verifying Checksum 19:51:06 170f2ba95c9a: Download complete 19:51:06 595b0fe564bb: Verifying Checksum 19:51:06 595b0fe564bb: Download complete 19:51:06 595b0fe564bb: Pull complete 19:51:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.043s coverage: 77.3% of statements 19:51:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.011s coverage: 94.4% of statements 19:51:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:51:06 gofmt -l . 19:51:06 [ "`gofmt -l .`" = "" ] [Pipeline] } 19:51:06 $ docker stop --time=1 7da368260282088423bf8c8699c4ac5e99e1cb690fba2b0214c36ea6a5534c76 19:51:07 24495759ef45: Pull complete 19:51:07 d148012ef14d: Pull complete 19:51:08 $ docker rm -f 7da368260282088423bf8c8699c4ac5e99e1cb690fba2b0214c36ea6a5534c76 [Pipeline] // withDockerContainer [Pipeline] sh 19:51:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:51:09 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 19:51:09 97ac5df62f85: Verifying Checksum 19:51:09 97ac5df62f85: Download complete 19:51:09 e90a11edd702: Verifying Checksum 19:51:09 e90a11edd702: Download complete 19:51:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:51:10 19:51:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:51:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:51:10 latest: Pulling from edgex-lftools-log-publisher 19:51:10 b4d181a07f80: Pulling fs layer 19:51:10 a1111a8f2ec3: Pulling fs layer 19:51:10 ed53099fbce6: Pulling fs layer 19:51:10 dc539afda2c1: Pulling fs layer 19:51:10 77bc0d833cb6: Pulling fs layer 19:51:10 9065ff56babe: Pulling fs layer 19:51:10 d287ab97295c: Pulling fs layer 19:51:10 77bc0d833cb6: Waiting 19:51:10 9065ff56babe: Waiting 19:51:10 dc539afda2c1: Waiting 19:51:10 d287ab97295c: Waiting 19:51:10 a1111a8f2ec3: Verifying Checksum 19:51:10 a1111a8f2ec3: Download complete 19:51:10 dc539afda2c1: Verifying Checksum 19:51:10 dc539afda2c1: Download complete 19:51:10 77bc0d833cb6: Verifying Checksum 19:51:10 77bc0d833cb6: Download complete 19:51:10 9065ff56babe: Verifying Checksum 19:51:10 9065ff56babe: Download complete 19:51:10 ed53099fbce6: Verifying Checksum 19:51:10 ed53099fbce6: Download complete 19:51:11 b4d181a07f80: Verifying Checksum 19:51:11 b4d181a07f80: Download complete 19:51:12 b4d181a07f80: Pull complete 19:51:12 a1111a8f2ec3: Pull complete 19:51:13 ed53099fbce6: Pull complete 19:51:13 dc539afda2c1: Pull complete 19:51:13 77bc0d833cb6: Pull complete 19:51:13 9065ff56babe: Pull complete 19:51:14 d287ab97295c: Verifying Checksum 19:51:14 d287ab97295c: Download complete 19:51:18 d287ab97295c: Pull complete 19:51:18 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 19:51:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:51:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:51:19 prd-centos7-docker-4c-2g-274 does not seem to be running inside a container 19:51:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:51:20 e90a11edd702: Pull complete 19:51:20 d77568369979: Pull complete 19:51:20 fc1c9f9a7f3b: Pull complete 19:51:20 170f2ba95c9a: Pull complete 19:51:21 $ docker top b237c3b62ce6b2bec9b97cfd8f0cc7c2988dd83cf6ec850907e52c4bdb5d01e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:51:21 ---> job-cost.sh 19:51:21 lf-activate-venv: SKIPPING 19:51:21 INFO: No Stack... 19:51:22 INFO: Retrieving Pricing Info for: v3-standard-2 19:51:22 INFO: Archiving Costs [Pipeline] sh 19:51:23 + cut -d, -f6 19:51:23 + cat /w/workspace/app-functions-sdk-go/5/archives/cost.csv [Pipeline] lock 19:51:23 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-948-5-stack-cost] 19:51:23 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-948-5-stack-cost] did not exist. Created. 19:51:23 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-948-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:51:23 + echo total: 0.05999999865889549 [Pipeline] stash 19:51:23 Stashed 1 file(s) [Pipeline] } 19:51:23 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-948-5-stack-cost] [Pipeline] // lock [Pipeline] } 19:51:23 $ docker stop --time=1 b237c3b62ce6b2bec9b97cfd8f0cc7c2988dd83cf6ec850907e52c4bdb5d01e8 19:51:24 $ docker rm -f b237c3b62ce6b2bec9b97cfd8f0cc7c2988dd83cf6ec850907e52c4bdb5d01e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:51:27 97ac5df62f85: Pull complete 19:51:27 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 19:51:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 19:51:27 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 19:51:28 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 19:51:28 + docker inspect -f . ci-base-image-arm64 19:51:28 . [Pipeline] withDockerContainer 19:51:28 prd-ubuntu18.04-docker-arm64-4c-16g-275 does not seem to be running inside a container 19:51:28 $ 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 19:51:34 $ docker top 01179ad4d8f33d755f94c517ca546aac97339f790664e7ef560f9e55777b8d0d -eo pid,comm [Pipeline] { [Pipeline] sh 19:51:35 + go version 19:51:35 go version go1.16.6 linux/arm64 [Pipeline] } 19:51:35 $ docker stop --time=1 01179ad4d8f33d755f94c517ca546aac97339f790664e7ef560f9e55777b8d0d 19:51:37 $ docker rm -f 01179ad4d8f33d755f94c517ca546aac97339f790664e7ef560f9e55777b8d0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:51:38 + docker inspect -f . ci-base-image-arm64 19:51:38 . [Pipeline] withDockerContainer 19:51:38 prd-ubuntu18.04-docker-arm64-4c-16g-275 does not seem to be running inside a container 19:51:38 $ 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 19:51:40 $ docker top e564679eca6d524e3215828912b727f4b744e71e66fde95ebbe7aca535f53206 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:51:41 + make test 19:51:41 make -C ./app-service-template build 19:51:41 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 19:51:41 go mod tidy 19:51:42 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 19:51:42 go: downloading github.com/google/uuid v1.3.0 19:51:42 go: downloading github.com/stretchr/testify v1.7.0 19:51:42 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 19:51:42 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 19:51:42 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 19:51:43 go: downloading github.com/davecgh/go-spew v1.1.1 19:51:43 go: downloading github.com/pmezard/go-difflib v1.0.0 19:51:43 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 19:51:43 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 19:51:43 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 19:51:43 go: downloading github.com/stretchr/objx v0.1.0 19:51:43 go: downloading github.com/go-playground/validator/v10 v10.6.1 19:51:43 go: downloading github.com/go-kit/kit v0.9.0 19:51:43 go: downloading gopkg.in/yaml.v2 v2.4.0 19:51:43 go: downloading github.com/gorilla/mux v1.8.0 19:51:43 go: downloading github.com/hashicorp/go-multierror v1.1.1 19:51:43 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 19:51:43 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 19:51:43 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 19:51:43 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 19:51:43 go: downloading github.com/mitchellh/copystructure v1.0.0 19:51:43 go: downloading github.com/gorilla/websocket v1.4.2 19:51:43 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 19:51:43 go: downloading github.com/hashicorp/consul/api v1.8.1 19:51:44 go: downloading github.com/pelletier/go-toml v1.9.2 19:51:44 go: downloading github.com/go-playground/universal-translator v0.17.0 19:51:44 go: downloading github.com/leodido/go-urn v1.2.0 19:51:44 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 19:51:44 go: downloading golang.org/x/text v0.3.2 19:51:44 go: downloading github.com/go-playground/assert/v2 v2.0.1 19:51:44 go: downloading github.com/go-playground/locales v0.13.0 19:51:47 go: downloading github.com/hashicorp/errwrap v1.0.0 19:51:47 go: downloading github.com/kr/pretty v0.2.0 19:51:47 go: downloading github.com/x448/float16 v0.8.4 19:51:47 go: downloading github.com/mitchellh/reflectwalk v1.0.0 19:51:47 go: downloading github.com/go-logfmt/logfmt v0.4.0 19:51:47 go: downloading github.com/go-stack/stack v1.8.0 19:51:47 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 19:51:47 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 19:51:47 go: downloading github.com/hashicorp/go-hclog v0.12.0 19:51:47 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 19:51:47 go: downloading github.com/hashicorp/serf v0.9.5 19:51:47 go: downloading github.com/mitchellh/mapstructure v1.1.2 19:51:47 go: downloading github.com/hashicorp/consul/sdk v0.7.0 19:51:47 go: downloading github.com/hashicorp/go-uuid v1.0.1 19:51:47 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 19:51:47 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:51:47 go: downloading github.com/kr/text v0.1.0 19:51:47 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 19:51:47 go: downloading github.com/go-redis/redis/v7 v7.3.0 19:51:47 go: downloading github.com/pebbe/zmq4 v1.2.7 19:51:47 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 19:51:47 go: downloading github.com/mitchellh/go-homedir v1.1.0 19:51:47 go: downloading github.com/fatih/color v1.9.0 19:51:48 go: downloading github.com/mattn/go-colorable v0.1.6 19:51:48 go: downloading github.com/mattn/go-isatty v0.0.12 19:51:48 go: downloading github.com/pkg/errors v0.8.1 19:51:48 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 19:51:48 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:51:48 go: downloading github.com/hashicorp/go-msgpack v0.5.3 19:51:48 go: downloading github.com/hashicorp/memberlist v0.2.2 19:51:48 go: downloading github.com/onsi/ginkgo v1.10.1 19:51:48 go: downloading github.com/onsi/gomega v1.7.0 19:51:48 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 19:51:48 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 19:51:48 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:51:48 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:51:48 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 19:51:48 go: downloading github.com/miekg/dns v1.1.26 19:51:48 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:51:48 go: downloading github.com/hashicorp/golang-lru v0.5.0 19:51:48 go: downloading github.com/hpcloud/tail v1.0.0 19:51:48 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 19:51:48 go: downloading github.com/golang/protobuf v1.3.2 19:51:48 go: downloading gopkg.in/fsnotify.v1 v1.4.7 19:51:48 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 19:51:48 go: downloading github.com/fsnotify/fsnotify v1.4.7 19:51:49 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 19:52:28 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 19:52:28 make -C ./app-service-template test 19:52:28 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 19:52:28 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 19:52:55 ok new-app-service 0.045s coverage: 48.1% of statements 19:52:55 ? new-app-service/config [no test files] 19:52:55 ok new-app-service/functions 0.045s 19:52:55 CGO_ENABLED=1 go vet ./... 19:53:21 gofmt -l . 19:53:21 [ "`gofmt -l .`" = "" ] 19:53:21 ./bin/test-attribution-txt.sh 19:53:22 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 19:53:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:53:23 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 19:53:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.101s coverage: 63.9% of statements 19:53:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.108s coverage: 93.2% of statements 19:53:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 19:53:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.130s coverage: 61.8% of statements 19:53:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 19:53:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.084s 19:53:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.172s coverage: 75.6% of statements 19:53:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 19:53:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 19:53:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 19:53:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 19:53:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 19:53:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 19:53:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.026s coverage: 97.3% of statements 19:53:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 19:53:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.052s coverage: 10.5% of statements 19:53:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.161s coverage: 77.0% of statements 19:53:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 19:53:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.047s coverage: 12.5% of statements 19:53:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.051s coverage: 27.3% of statements 19:53:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 19:53:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 19:53:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.077s coverage: 51.4% of statements 19:54:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.116s coverage: 77.3% of statements 19:54:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.032s coverage: 94.4% of statements 19:54:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:54:09 gofmt -l . 19:54:09 [ "`gofmt -l .`" = "" ] [Pipeline] } 19:54:09 $ docker stop --time=1 e564679eca6d524e3215828912b727f4b744e71e66fde95ebbe7aca535f53206 19:54:11 $ docker rm -f e564679eca6d524e3215828912b727f4b744e71e66fde95ebbe7aca535f53206 [Pipeline] // withDockerContainer [Pipeline] sh 19:54:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:54:14 Warning: overwriting stash ‘coverage-report’ 19:54:14 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 19:54:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:54:15 19:54:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 19:54:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:54:16 arm64: Pulling from edgex-lftools-log-publisher 19:54:16 448f6bf000e3: Pulling fs layer 19:54:16 f757da607395: Pulling fs layer 19:54:16 05883995daec: Pulling fs layer 19:54:16 8603b9c90790: Pulling fs layer 19:54:16 1560dd03e051: Pulling fs layer 19:54:16 27f5ce0e4adf: Pulling fs layer 19:54:16 c2d8d7efcc4b: Pulling fs layer 19:54:16 8603b9c90790: Waiting 19:54:16 1560dd03e051: Waiting 19:54:16 c2d8d7efcc4b: Waiting 19:54:16 f757da607395: Verifying Checksum 19:54:16 f757da607395: Download complete 19:54:16 8603b9c90790: Download complete 19:54:17 1560dd03e051: Verifying Checksum 19:54:17 1560dd03e051: Download complete 19:54:17 27f5ce0e4adf: Verifying Checksum 19:54:17 27f5ce0e4adf: Download complete 19:54:17 05883995daec: Verifying Checksum 19:54:17 448f6bf000e3: Verifying Checksum 19:54:17 448f6bf000e3: Download complete 19:54:21 c2d8d7efcc4b: Verifying Checksum 19:54:21 c2d8d7efcc4b: Download complete 19:54:21 448f6bf000e3: Pull complete 19:54:22 f757da607395: Pull complete 19:54:24 05883995daec: Pull complete 19:54:24 8603b9c90790: Pull complete 19:54:25 1560dd03e051: Pull complete 19:54:25 27f5ce0e4adf: Pull complete 19:54:40 c2d8d7efcc4b: Pull complete 19:54:40 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 19:54:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:54:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 19:54:41 prd-ubuntu18.04-docker-arm64-4c-16g-275 does not seem to be running inside a container 19:54:41 $ 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 19:54:45 $ docker top 58ca04833e37065017241269f6fb64e16a95045acc34f0c057de44582db18e64 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:54:46 ---> job-cost.sh 19:54:46 lf-activate-venv: SKIPPING 19:54:46 INFO: No Stack... 19:54:47 INFO: Retrieving Pricing Info for: v3-standard-4 19:54:48 INFO: Archiving Costs [Pipeline] sh 19:54:49 + + cut -d, -f6 19:54:49 cat /w/workspace/app-functions-sdk-go/5/archives/cost.csv [Pipeline] lock 19:54:49 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-948-5-stack-cost] 19:54:49 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-948-5-stack-cost] did not exist. Created. 19:54:49 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-948-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:54:49 /w/workspace/app-functions-sdk-go/5@tmp/durable-93019552/script.sh: 1: /w/workspace/app-functions-sdk-go/5@tmp/durable-93019552/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 19:54:50 + echo total: 0.10999999940395355 [Pipeline] stash 19:54:50 Warning: overwriting stash ‘stack-cost’ 19:54:50 Stashed 1 file(s) [Pipeline] } 19:54:50 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-948-5-stack-cost] [Pipeline] // lock [Pipeline] } 19:54:50 $ docker stop --time=1 58ca04833e37065017241269f6fb64e16a95045acc34f0c057de44582db18e64 19:54:52 $ docker rm -f 58ca04833e37065017241269f6fb64e16a95045acc34f0c057de44582db18e64 [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 19:54:53 provisioning config files... 19:54:53 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-948@tmp/config8669625668407893528tmp [Pipeline] { [Pipeline] sh 19:54:53 + set +x 19:54:53 + curl -s https://codecov.io/bash 19:54:53 + bash -s -- 19:54:53 19:54:53 _____ _ 19:54:53 / ____| | | 19:54:53 | | ___ __| | ___ ___ _____ __ 19:54:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:54:53 | |___| (_) | (_| | __/ (_| (_) \ V / 19:54:53 \_____\___/ \__,_|\___|\___\___/ \_/ 19:54:53 Bash-1.0.6 19:54:53 19:54:53 19:54:53 ==> git version 2.24.4 found 19:54:53 ==> 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 19:54:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 19:54:53 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 19:54:53 ==> Jenkins CI detected. 19:54:53 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-948 19:54:53 project root: . 19:54:53 --> token set from env 19:54:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:54:53 ==> Running gcov in . (disable via -X gcov) 19:54:53 ==> Python coveragepy not found 19:54:53 ==> Searching for coverage reports in: 19:54:53 + . 19:54:53 -> Found 2 reports 19:54:53 ==> Detecting git/mercurial file structure 19:54:53 ==> Reading reports 19:54:53 + ./app-service-template/coverage.out bytes=1219 19:54:53 + ./coverage.out bytes=101393 19:54:53 ==> Appending adjustments 19:54:53 https://docs.codecov.io/docs/fixing-reports 19:54:54 + Found adjustments 19:54:54 ==> Gzipping contents 19:54:54 20K /tmp/codecov.3jCZNl.gz 19:54:54 ==> Uploading reports 19:54:54 url: https://codecov.io 19:54:54 query: branch=PR-948&commit=b889dc24c3d59e06c0ad29d7b3b1425f72f3e9e3&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-948%2F5%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=948&job=&cmd_args= 19:54:54 -> Pinging Codecov 19:54:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-948&commit=b889dc24c3d59e06c0ad29d7b3b1425f72f3e9e3&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-948%2F5%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=948&job=&cmd_args= 19:54:54 -> Uploading to 19:54:54 https://storage.googleapis.com/codecov/v4/raw/2021-09-15/3D8B5DFFC46A037C893635FACE044666/b889dc24c3d59e06c0ad29d7b3b1425f72f3e9e3/e1eaf04c-cf2e-40b3-bd24-78841d377242.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210915%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210915T195454Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=74d66ba85d9192df979189d5ac802f8e4f5eaacc86120080aa19fd01fe7d9005 19:54:54 % Total % Received % Xferd Average Speed Time Time Time Current 19:54:54 Dload Upload Total Spent Left Speed 19:54:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17584 0 0 100 17584 0 47765 --:--:-- --:--:-- --:--:-- 47782 19:54:55 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/b889dc24c3d59e06c0ad29d7b3b1425f72f3e9e3 [Pipeline] } 19:54:55 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 19:54:56 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-948/archives ']' [Pipeline] libraryResource [Pipeline] sh 19:54:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:54:57 ---> package-listing.sh 19:54:57 ++ facter osfamily 19:54:57 ++ tr '[:upper:]' '[:lower:]' 19:54:57 + OS_FAMILY=redhat 19:54:57 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-948 19:54:57 + START_PACKAGES=/tmp/packages_start.txt 19:54:57 + END_PACKAGES=/tmp/packages_end.txt 19:54:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:54:57 + PACKAGES=/tmp/packages_start.txt 19:54:57 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-948 ']' 19:54:57 + PACKAGES=/tmp/packages_end.txt 19:54:57 + case "${OS_FAMILY}" in 19:54:57 + sort 19:54:57 + rpm -qa 19:54:58 + '[' -f /tmp/packages_start.txt ']' 19:54:58 + '[' -f /tmp/packages_end.txt ']' 19:54:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:54:58 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-948 ']' 19:54:58 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-948/archives/ 19:54:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-948/archives/ [Pipeline] echo 19:54:58 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-948/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:54:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:54:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:54:59 19:54:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:54:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:54:59 latest: Pulling from edgex-lftools-log-publisher 19:54:59 b4d181a07f80: Pulling fs layer 19:54:59 a1111a8f2ec3: Pulling fs layer 19:54:59 ed53099fbce6: Pulling fs layer 19:54:59 dc539afda2c1: Pulling fs layer 19:54:59 77bc0d833cb6: Pulling fs layer 19:54:59 9065ff56babe: Pulling fs layer 19:54:59 d287ab97295c: Pulling fs layer 19:54:59 dc539afda2c1: Waiting 19:54:59 77bc0d833cb6: Waiting 19:54:59 9065ff56babe: Waiting 19:54:59 d287ab97295c: Waiting 19:54:59 a1111a8f2ec3: Verifying Checksum 19:54:59 a1111a8f2ec3: Download complete 19:54:59 dc539afda2c1: Verifying Checksum 19:54:59 dc539afda2c1: Download complete 19:55:00 77bc0d833cb6: Verifying Checksum 19:55:00 77bc0d833cb6: Download complete 19:55:00 9065ff56babe: Verifying Checksum 19:55:00 9065ff56babe: Download complete 19:55:00 ed53099fbce6: Verifying Checksum 19:55:00 ed53099fbce6: Download complete 19:55:01 b4d181a07f80: Verifying Checksum 19:55:01 b4d181a07f80: Download complete 19:55:02 b4d181a07f80: Pull complete 19:55:02 a1111a8f2ec3: Pull complete 19:55:03 ed53099fbce6: Pull complete 19:55:03 dc539afda2c1: Pull complete 19:55:03 77bc0d833cb6: Pull complete 19:55:03 9065ff56babe: Pull complete 19:55:04 d287ab97295c: Verifying Checksum 19:55:04 d287ab97295c: Download complete 19:55:08 d287ab97295c: Pull complete 19:55:08 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 19:55:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:55:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:55:08 prd-centos7-docker-4c-2g-273 does not seem to be running inside a container 19:55:08 $ 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-948/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-948 -v /w/workspace/ndry_app-functions-sdk-go_PR-948:/w/workspace/ndry_app-functions-sdk-go_PR-948:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-948@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-948@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 19:55:11 $ docker top 0dfdd4f595e5251f4bfbcf9469b04ede2b49cd2bc25bd33ac991cb9670b3fd2e -eo pid,comm [Pipeline] { [Pipeline] sh 19:55:11 + touch /tmp/pre-build-complete [Pipeline] sh 19:55:11 + mkdir -p /var/log/sysstat [Pipeline] sh 19:55:12 + ls /var/log/sa-host 19:55:12 + sadf -c /var/log/sa-host/sa05 19:55:12 file_magic: OK 19:55:12 HZ: Using current value: 100 19:55:12 file_header: OK 19:55:12 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 19:55:12 Statistics: 19:55:12 Hnuu...uuuununununu...Hnuu...uuuununununu... 19:55:12 File successfully converted to sysstat format version 12.0.3 19:55:12 + sadf -c /var/log/sa-host/sa15 19:55:12 file_magic: OK 19:55:12 HZ: Using current value: 100 19:55:12 file_header: OK 19:55:12 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 19:55:12 Statistics: 19:55:12 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 19:55:12 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:55:12 provisioning config files... 19:55:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-948@tmp/config6947303322284382917tmp [Pipeline] { [Pipeline] echo 19:55:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:55:12 ---> create-netrc.sh [Pipeline] } 19:55:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:55:13 ---> python-tools-install.sh [Pipeline] echo 19:55:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:55:13 ---> sudo-logs.sh 19:55:13 Archiving 'sudo' log.. 19:55:13 sudo: unable to resolve host prd-centos7-docker-4c-2g-273.vexxhost.local: Name or service not known 19:55:13 sudo: unable to resolve host prd-centos7-docker-4c-2g-273.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 19:55:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:55:13 ---> job-cost.sh 19:55:13 lf-activate-venv: SKIPPING 19:55:13 DEBUG: total: 0.10999999940395355 19:55:13 INFO: Retrieving Stack Cost... 19:55:15 INFO: Retrieving Pricing Info for: v3-standard-2 19:55:15 INFO: Archiving Costs [Pipeline] echo 19:55:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:55:15 ---> logs-deploy.sh 19:55:15 lf-activate-venv: SKIPPING 19:55:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-948/5 19:55:15 INFO: archiving workspace using pattern(s): 19:55:16 Archives upload complete. 19:55:16 INFO: archiving logs to Nexus 19:55:17 ---> uname -a: 19:55:17 Linux prd-centos7-docker-4c-2g-273.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 19:55:17 19:55:17 19:55:17 ---> lscpu: 19:55:17 Architecture: x86_64 19:55:17 CPU op-mode(s): 32-bit, 64-bit 19:55:17 Byte Order: Little Endian 19:55:17 Address sizes: 40 bits physical, 48 bits virtual 19:55:17 CPU(s): 2 19:55:17 On-line CPU(s) list: 0,1 19:55:17 Thread(s) per core: 1 19:55:17 Core(s) per socket: 1 19:55:17 Socket(s): 2 19:55:17 NUMA node(s): 1 19:55:17 Vendor ID: AuthenticAMD 19:55:17 CPU family: 23 19:55:17 Model: 49 19:55:17 Model name: AMD EPYC-Rome Processor 19:55:17 Stepping: 0 19:55:17 CPU MHz: 2799.998 19:55:17 BogoMIPS: 5599.99 19:55:17 Virtualization: AMD-V 19:55:17 Hypervisor vendor: KVM 19:55:17 Virtualization type: full 19:55:17 L1d cache: 32K 19:55:17 L1i cache: 32K 19:55:17 L2 cache: 512K 19:55:17 L3 cache: 16384K 19:55:17 NUMA node0 CPU(s): 0,1 19:55:17 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 19:55:17 19:55:17 19:55:17 ---> nproc: 19:55:17 2 19:55:17 19:55:17 19:55:17 ---> df -h: 19:55:17 Filesystem Size Used Avail Use% Mounted on 19:55:17 overlay 40G 7.7G 33G 20% / 19:55:17 tmpfs 64M 0 64M 0% /dev 19:55:17 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 19:55:17 shm 64M 0 64M 0% /dev/shm 19:55:17 /dev/vda1 40G 7.7G 33G 20% /facter-os 19:55:17 19:55:17 19:55:17 ---> sar -b -r -n DEV: 19:55:17 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/15/21 _x86_64_ (2 CPU) 19:55:17 19:55:17 19:45:46 LINUX RESTART (2 CPU) 19:55:17 19:55:17 19:46:01 tps rtps wtps bread/s bwrtn/s 19:55:17 19:47:01 223.46 89.61 133.85 10392.94 41470.31 19:55:17 19:48:01 1.87 0.00 1.87 0.00 36.85 19:55:17 19:49:01 0.27 0.00 0.27 0.00 3.66 19:55:17 19:50:01 0.23 0.00 0.23 0.00 3.20 19:55:17 19:51:01 0.23 0.00 0.23 0.00 2.98 19:55:17 19:52:01 0.30 0.00 0.30 0.00 4.90 19:55:17 19:53:01 0.25 0.00 0.25 0.00 2.71 19:55:17 19:54:01 0.17 0.00 0.17 0.00 2.56 19:55:17 19:55:01 0.92 0.13 0.78 13.72 9.41 19:55:17 Average: 25.31 9.97 15.33 1156.66 4616.63 19:55:17 19:55:17 19:46:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:55:17 19:47:01 5433316 0 803808 10.04 2620 1769188 1278620 14.12 596272 1578452 140 19:55:17 19:48:01 5444168 0 792952 9.90 2620 1769192 1195492 13.20 587504 1578416 12 19:55:17 19:49:01 5444484 0 792632 9.90 2620 1769196 1195492 13.20 589896 1575948 8 19:55:17 19:50:01 5439904 0 797208 9.95 2620 1769200 1199108 13.24 593920 1575944 8 19:55:17 19:51:01 5442428 0 794680 9.92 2620 1769204 1195748 13.20 584100 1583920 20 19:55:17 19:52:01 5442740 0 794360 9.92 2620 1769212 1195712 13.20 583900 1583920 12 19:55:17 19:53:01 5442708 0 794388 9.92 2620 1769216 1195604 13.20 584288 1583976 8 19:55:17 19:54:01 5433392 0 803696 10.03 2620 1769224 1195556 13.20 593408 1583976 8 19:55:17 19:55:01 5210252 0 891476 11.13 2620 1904584 1596308 17.62 823468 1567912 134960 19:55:17 Average: 5414821 0 807244 10.08 2620 1784246 1249738 13.80 615195 1579163 15020 19:55:17 19:55:17 19:46:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:55:17 19:47:01 eth0 741.48 484.87 1623.01 93.62 0.00 0.00 0.00 0.00 19:55:17 19:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:55:17 19:47:01 docker0 110.59 93.01 10.05 315.42 0.00 0.00 0.00 0.00 19:55:17 19:48:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 19:55:17 19:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:55:17 19:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:55:17 19:49:01 eth0 0.43 0.08 0.04 0.01 0.00 0.00 0.00 0.00 19:55:17 19:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:55:17 19:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:55:17 19:50:01 eth0 1.40 0.47 0.35 0.21 0.00 0.00 0.00 0.00 19:55:17 19:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:55:17 19:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:55:17 19:51:01 eth0 0.52 0.30 0.27 0.20 0.00 0.00 0.00 0.00 19:55:17 19:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:55:17 19:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:55:17 19:52:01 eth0 0.27 0.22 0.09 0.07 0.00 0.00 0.00 0.00 19:55:17 19:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:55:17 19:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:55:17 19:53:01 eth0 0.20 0.17 0.07 0.01 0.00 0.00 0.00 0.00 19:55:17 19:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:55:17 19:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:55:17 19:54:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 19:55:17 19:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:55:17 19:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:55:17 19:55:01 eth0 204.25 132.35 1343.72 14.11 0.00 0.00 0.00 0.00 19:55:17 19:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:55:17 19:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:55:17 Average: eth0 105.45 68.76 329.83 12.03 0.00 0.00 0.00 0.00 19:55:17 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:55:17 Average: docker0 12.29 10.34 1.12 35.06 0.00 0.00 0.00 0.00 19:55:17 19:55:17 19:55:17 ---> sar -P ALL: 19:55:17 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/15/21 _x86_64_ (2 CPU) 19:55:17 19:55:17 19:45:46 LINUX RESTART (2 CPU) 19:55:17 19:55:17 19:46:01 CPU %user %nice %system %iowait %steal %idle 19:55:17 19:47:01 all 22.03 0.00 7.63 5.49 0.09 64.76 19:55:17 19:47:01 0 22.23 0.00 8.01 5.17 0.09 64.49 19:55:17 19:47:01 1 21.84 0.00 7.24 5.80 0.09 65.03 19:55:17 19:48:01 all 0.22 0.00 0.05 0.00 0.01 99.72 19:55:17 19:48:01 0 0.33 0.00 0.05 0.00 0.00 99.62 19:55:17 19:48:01 1 0.10 0.00 0.05 0.00 0.02 99.83 19:55:17 19:49:01 all 0.24 0.00 0.03 0.01 0.02 99.70 19:55:17 19:49:01 0 0.40 0.00 0.02 0.00 0.02 99.57 19:55:17 19:49:01 1 0.08 0.00 0.05 0.02 0.02 99.83 19:55:17 19:50:01 all 0.23 0.00 0.04 0.00 0.01 99.72 19:55:17 19:50:01 0 0.38 0.00 0.05 0.00 0.00 99.57 19:55:17 19:50:01 1 0.07 0.00 0.03 0.00 0.02 99.88 19:55:17 19:51:01 all 0.23 0.00 0.04 0.00 0.02 99.71 19:55:17 19:51:01 0 0.40 0.00 0.02 0.00 0.02 99.57 19:55:17 19:51:01 1 0.07 0.00 0.07 0.00 0.02 99.85 19:55:17 19:52:01 all 0.21 0.00 0.03 0.00 0.01 99.75 19:55:17 19:52:01 0 0.38 0.00 0.03 0.00 0.00 99.58 19:55:17 19:52:01 1 0.03 0.00 0.03 0.00 0.02 99.92 19:55:17 19:53:01 all 0.24 0.00 0.04 0.00 0.01 99.71 19:55:17 19:53:01 0 0.40 0.00 0.03 0.00 0.00 99.57 19:55:17 19:53:01 1 0.08 0.00 0.05 0.00 0.02 99.85 19:55:17 19:54:01 all 0.22 0.00 0.05 0.00 0.00 99.73 19:55:17 19:54:01 0 0.38 0.00 0.02 0.00 0.00 99.60 19:55:17 19:54:01 1 0.05 0.00 0.08 0.00 0.00 99.87 19:55:17 19:55:01 all 2.87 0.00 0.95 0.02 0.03 96.14 19:55:17 19:55:01 0 2.61 0.00 0.96 0.02 0.02 96.40 19:55:17 19:55:01 1 3.14 0.00 0.94 0.02 0.03 95.87 19:55:17 Average: all 2.85 0.00 0.95 0.59 0.02 95.58 19:55:17 Average: 0 2.97 0.00 0.99 0.56 0.01 95.47 19:55:17 Average: 1 2.74 0.00 0.92 0.62 0.02 95.69 19:55:17 19:55:17 19:55:17