Pull request #948 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 389e8220de175f8395ed3932a5eb898900176abf+2988ae778ed7d003906d61219b41a631e84b2f74 (4210637f2a1d191dcf7a38f99ce1a495f86eac6f) 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-ssh5355434157093362847.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-ssh4565669040991502301.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-ssh877511397266932277.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-ssh5572121014556222966.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-ssh9078409634457624179.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-379’ Running on prd-centos7-docker-4c-2g-382 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-ssh1701295709406283486.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-ssh6690715325045065055.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 389e8220de175f8395ed3932a5eb898900176abf Merge succeeded, producing dd36c7cb02b9000cb89f77ac4c50efa660e5a5a6 Checking out Revision dd36c7cb02b9000cb89f77ac4c50efa660e5a5a6 (PR-948) > git config core.sparsecheckout # timeout=10 > git checkout -f 389e8220de175f8395ed3932a5eb898900176abf # 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-ssh7643896566880804570.key > git merge 2988ae778ed7d003906d61219b41a631e84b2f74 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd36c7cb02b9000cb89f77ac4c50efa660e5a5a6 # timeout=10 Commit message: "Merge commit '2988ae778ed7d003906d61219b41a631e84b2f74' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:56:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:56:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:56:10 ========================================================= 17:56:10 EdgeX Global Pipelines Version Info 17:56:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk d59e986bc539dfc5c49f3688890c84d0431c7921 # timeout=10 17:56:11 ------------------- 17:56:11 stable info: 17:56:11 ------------------- 17:56:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:56:11 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 17:56:11 Message: update stable to v1.0.205 17:56:12 ------------------- 17:56:12 experimental info: 17:56:12 ------------------- 17:56:12 Commited By: **** collab-it+edgex@linuxfoundation.org 17:56:12 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 17:56:12 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:56:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 17:56:12 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 17:56:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:56:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:56:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:56:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 17:56:12 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:56:12 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 17:56:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:56:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:56:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:56:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:56:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 17:56:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:56:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:56:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 17:56:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:56:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:56:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:56:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:56:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:56:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-948 [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-948 [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-948 [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd36c7cb02b9000cb89f77ac4c50efa660e5a5a6 [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd36c7c [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:56:13 + git log --format=format:%s -1 dd36c7cb02b9000cb89f77ac4c50efa660e5a5a6 [Pipeline] echo 17:56:13 GIT_COMMIT: dd36c7cb02b9000cb89f77ac4c50efa660e5a5a6, Commit Message: Merge commit '2988ae778ed7d003906d61219b41a631e84b2f74' into HEAD [Pipeline] echo 17:56:13 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:56:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:56:14 17:56:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:56:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:56:15 latest: Pulling from edgex-devops/git-semver 17:56:15 31603596830f: Pulling fs layer 17:56:15 04fac38145f0: Pulling fs layer 17:56:15 701f6daf10bf: Pulling fs layer 17:56:15 24f72da36158: Pulling fs layer 17:56:15 24f72da36158: Waiting 17:56:15 04fac38145f0: Verifying Checksum 17:56:15 04fac38145f0: Download complete 17:56:15 31603596830f: Verifying Checksum 17:56:15 31603596830f: Download complete 17:56:15 31603596830f: Pull complete 17:56:15 24f72da36158: Verifying Checksum 17:56:15 24f72da36158: Download complete 17:56:15 04fac38145f0: Pull complete 17:56:15 701f6daf10bf: Verifying Checksum 17:56:15 701f6daf10bf: Download complete 17:56:16 701f6daf10bf: Pull complete 17:56:16 24f72da36158: Pull complete 17:56:16 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 17:56:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:56:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:56:16 prd-centos7-docker-4c-2g-382 does not seem to be running inside a container 17:56:16 $ 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 17:56:17 $ docker top 231a2ceba57d729fc00ad7aaeba2b036c32a9d976d48420ca5cc6d890a60bafb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:56:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:56:17 [ssh-agent] Looking for ssh-agent implementation... 17:56:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:56:17 $ docker exec 231a2ceba57d729fc00ad7aaeba2b036c32a9d976d48420ca5cc6d890a60bafb ssh-agent 17:56:18 SSH_AUTH_SOCK=/tmp/ssh-37Dqn0cEpiY3/agent.14 17:56:18 SSH_AGENT_PID=20 17:56:18 Running ssh-add (command line suppressed) 17:56:18 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-948@tmp/private_key_7166028404696485670.key (/w/workspace/ndry_app-functions-sdk-go_PR-948@tmp/private_key_7166028404696485670.key) 17:56:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:56:18 + git tag --points-at HEAD [Pipeline] } 17:56:18 $ docker exec --env ******** --env ******** 231a2ceba57d729fc00ad7aaeba2b036c32a9d976d48420ca5cc6d890a60bafb ssh-agent -k 17:56:18 unset SSH_AUTH_SOCK; 17:56:18 unset SSH_AGENT_PID; 17:56:18 echo Agent pid 20 killed; 17:56:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:56:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:56:18 [ssh-agent] Looking for ssh-agent implementation... 17:56:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:56:18 $ docker exec 231a2ceba57d729fc00ad7aaeba2b036c32a9d976d48420ca5cc6d890a60bafb ssh-agent 17:56:19 SSH_AUTH_SOCK=/tmp/ssh-cZlti0JHLYdr/agent.52 17:56:19 SSH_AGENT_PID=59 17:56:19 Running ssh-add (command line suppressed) 17:56:19 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-948@tmp/private_key_7907451718925989856.key (/w/workspace/ndry_app-functions-sdk-go_PR-948@tmp/private_key_7907451718925989856.key) 17:56:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:56:19 + git semver init 17:56:19 # -> Open(): unable to determine branch for HEAD 17:56:19 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-948/.git 17:56:19 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-948 17:56:19 # $SEMVER_REMOTE_NAME = origin 17:56:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:56:19 # $SEMVER_USER_NAME = edgex-jenkins 17:56:19 # $SEMVER_BRANCH = PR-948 17:56:19 # $SEMVER_TEMP = /tmp/semver-802018729 17:56:19 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 17:56:22 # '/tmp/semver-802018729' -> '/w/workspace/ndry_app-functions-sdk-go_PR-948/.semver' 17:56:22 # -> Force: false 17:56:22 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-948/.semver [Pipeline] } 17:56:22 $ docker exec --env ******** --env ******** 231a2ceba57d729fc00ad7aaeba2b036c32a9d976d48420ca5cc6d890a60bafb ssh-agent -k 17:56:22 unset SSH_AUTH_SOCK; 17:56:22 unset SSH_AGENT_PID; 17:56:22 echo Agent pid 59 killed; 17:56:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:56:22 + git semver [Pipeline] } 17:56:22 $ docker stop --time=1 231a2ceba57d729fc00ad7aaeba2b036c32a9d976d48420ca5cc6d890a60bafb 17:56:24 $ docker rm -f 231a2ceba57d729fc00ad7aaeba2b036c32a9d976d48420ca5cc6d890a60bafb [Pipeline] // withDockerContainer [Pipeline] sh 17:56:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:56:24 Stashed 1 file(s) [Pipeline] echo 17:56:24 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 17:56:40 Still waiting to schedule task 17:56:40 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:56:40 Still waiting to schedule task 17:56:40 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-380’ 17:57:47 Running on prd-centos7-docker-4c-2g-384 in /w/workspace/ndry_app-functions-sdk-go_PR-948 [Pipeline] { [Pipeline] ws 17:57:47 Running in /w/workspace/app-functions-sdk-go/6 [Pipeline] { [Pipeline] checkout 17:57:47 The recommended git tool is: git 17:57:50 using credential edgex-jenkins-ssh 17:57:50 Cloning the remote Git repository 17:57:50 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:57:50 > git init /w/workspace/app-functions-sdk-go/6 # timeout=10 17:57:51 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:57:51 > git --version # timeout=10 17:57:51 > git --version # 'git version 2.24.4' 17:57:51 using GIT_SSH to set credentials SSH Credentials for GitHub 17:57:51 [INFO] Currently running in a labeled security context 17:57:51 [INFO] Currently SELinux is 'enforcing' on the host 17:57:51 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/6@tmp/jenkins-gitclient-ssh191390174629904968.key 17:57:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:57:52 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:57:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:57:52 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:57:52 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:57:52 using GIT_SSH to set credentials SSH Credentials for GitHub 17:57:52 [INFO] Currently running in a labeled security context 17:57:52 [INFO] Currently SELinux is 'enforcing' on the host 17:57:52 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/6@tmp/jenkins-gitclient-ssh6655938133573195982.key 17:57:52 > 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 17:57:52 Merging remotes/origin/main commit 2988ae778ed7d003906d61219b41a631e84b2f74 into PR head commit 389e8220de175f8395ed3932a5eb898900176abf 17:57:53 Merge succeeded, producing 71d6c75dc93fa22f810135a4194c50f1a95bf8f8 17:57:53 Checking out Revision 71d6c75dc93fa22f810135a4194c50f1a95bf8f8 (PR-948) 17:57:53 > git config core.sparsecheckout # timeout=10 17:57:53 > git checkout -f 389e8220de175f8395ed3932a5eb898900176abf # timeout=10 17:57:53 > git remote # timeout=10 17:57:53 > git config --get remote.origin.url # timeout=10 17:57:53 using GIT_SSH to set credentials SSH Credentials for GitHub 17:57:53 [INFO] Currently running in a labeled security context 17:57:53 [INFO] Currently SELinux is 'enforcing' on the host 17:57:53 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/6@tmp/jenkins-gitclient-ssh3262820191845160820.key 17:57:53 > git merge 2988ae778ed7d003906d61219b41a631e84b2f74 # timeout=10 17:57:53 > git rev-parse HEAD^{commit} # timeout=10 17:57:53 > git config core.sparsecheckout # timeout=10 17:57:53 > git checkout -f 71d6c75dc93fa22f810135a4194c50f1a95bf8f8 # timeout=10 17:57:56 Commit message: "Merge commit '2988ae778ed7d003906d61219b41a631e84b2f74' into HEAD" 17:57:56 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:57:57 ========================================================= 17:57:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 17:57:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:57:56 > git rev-list --no-walk d59e986bc539dfc5c49f3688890c84d0431c7921 # timeout=10 17:57:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 17:57:58 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 17:57:58 540db60ca938: Pulling fs layer 17:57:58 adcc1eea9eea: Pulling fs layer 17:57:58 4c4ab2625f07: Pulling fs layer 17:57:58 db62176df00c: Pulling fs layer 17:57:58 3b30891b0d05: Pulling fs layer 17:57:58 06b49ca38bd5: Pulling fs layer 17:57:58 c788192a36de: Pulling fs layer 17:57:58 a77e37c0d609: Pulling fs layer 17:57:58 c3185cebc471: Pulling fs layer 17:57:58 db62176df00c: Waiting 17:57:58 3b30891b0d05: Waiting 17:57:58 06b49ca38bd5: Waiting 17:57:58 c788192a36de: Waiting 17:57:58 a77e37c0d609: Waiting 17:57:58 c3185cebc471: Waiting 17:57:58 4c4ab2625f07: Verifying Checksum 17:57:58 4c4ab2625f07: Download complete 17:57:58 adcc1eea9eea: Verifying Checksum 17:57:58 adcc1eea9eea: Download complete 17:57:58 3b30891b0d05: Verifying Checksum 17:57:58 3b30891b0d05: Download complete 17:57:58 06b49ca38bd5: Verifying Checksum 17:57:58 06b49ca38bd5: Download complete 17:57:58 540db60ca938: Download complete 17:57:58 c788192a36de: Verifying Checksum 17:57:58 c788192a36de: Download complete 17:57:58 540db60ca938: Pull complete 17:57:58 adcc1eea9eea: Pull complete 17:57:58 4c4ab2625f07: Pull complete 17:57:59 a77e37c0d609: Verifying Checksum 17:57:59 a77e37c0d609: Download complete 17:58:02 c3185cebc471: Verifying Checksum 17:58:02 c3185cebc471: Download complete 17:58:02 db62176df00c: Verifying Checksum 17:58:02 db62176df00c: Download complete 17:58:07 db62176df00c: Pull complete 17:58:07 3b30891b0d05: Pull complete 17:58:07 06b49ca38bd5: Pull complete 17:58:07 c788192a36de: Pull complete 17:58:07 a77e37c0d609: Pull complete 17:58:09 c3185cebc471: Pull complete 17:58:09 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 17:58:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 17:58:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 17:58:09 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 17:58:09 + docker inspect -f . ci-base-image-x86_64 17:58:09 . [Pipeline] withDockerContainer 17:58:09 prd-centos7-docker-4c-2g-384 does not seem to be running inside a container 17:58:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:58:12 $ docker top a1540ca1ae2d5918fba602e64b31fa784d2f3f856ecd0070512c584231d333fb -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:13 + go version 17:58:13 go version go1.16.6 linux/amd64 [Pipeline] } 17:58:13 $ docker stop --time=1 a1540ca1ae2d5918fba602e64b31fa784d2f3f856ecd0070512c584231d333fb 17:58:14 $ docker rm -f a1540ca1ae2d5918fba602e64b31fa784d2f3f856ecd0070512c584231d333fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:58:14 + docker inspect -f . ci-base-image-x86_64 17:58:14 . [Pipeline] withDockerContainer 17:58:14 prd-centos7-docker-4c-2g-384 does not seem to be running inside a container 17:58:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:58:15 $ docker top 46ffdfb609a00b40c75bf0233078e5f178029f3551c1b083cfd5da9558bb8325 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:58:15 + make test 17:58:15 make -C ./app-service-template build 17:58:15 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/6/app-service-template' 17:58:15 go mod tidy 17:58:16 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 17:58:16 go: downloading github.com/google/uuid v1.3.0 17:58:16 go: downloading github.com/stretchr/testify v1.7.0 17:58:16 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 17:58:16 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 17:58:16 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 17:58:16 go: downloading github.com/go-playground/validator/v10 v10.6.1 17:58:16 go: downloading github.com/go-kit/kit v0.9.0 17:58:16 go: downloading gopkg.in/yaml.v2 v2.4.0 17:58:16 go: downloading github.com/davecgh/go-spew v1.1.1 17:58:16 go: downloading github.com/pmezard/go-difflib v1.0.0 17:58:16 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 17:58:16 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 17:58:16 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 17:58:16 go: downloading github.com/stretchr/objx v0.1.0 17:58:16 go: downloading github.com/gorilla/mux v1.8.0 17:58:16 go: downloading github.com/hashicorp/go-multierror v1.1.1 17:58:16 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 17:58:16 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 17:58:16 go: downloading github.com/go-playground/universal-translator v0.17.0 17:58:16 go: downloading github.com/leodido/go-urn v1.2.0 17:58:16 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 17:58:16 go: downloading golang.org/x/text v0.3.2 17:58:17 go: downloading github.com/go-playground/assert/v2 v2.0.1 17:58:17 go: downloading github.com/go-playground/locales v0.13.0 17:58:18 go: downloading github.com/go-logfmt/logfmt v0.4.0 17:58:18 go: downloading github.com/go-stack/stack v1.8.0 17:58:18 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 17:58:18 go: downloading github.com/mitchellh/copystructure v1.0.0 17:58:18 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 17:58:18 go: downloading github.com/pelletier/go-toml v1.9.2 17:58:18 go: downloading github.com/hashicorp/consul/api v1.8.1 17:58:18 go: downloading github.com/gorilla/websocket v1.4.2 17:58:18 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 17:58:18 go: downloading github.com/hashicorp/errwrap v1.0.0 17:58:18 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 17:58:18 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 17:58:18 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:58:18 go: downloading github.com/kr/pretty v0.2.0 17:58:18 go: downloading github.com/x448/float16 v0.8.4 17:58:18 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:58:18 go: downloading github.com/hashicorp/go-hclog v0.12.0 17:58:18 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 17:58:18 go: downloading github.com/hashicorp/serf v0.9.5 17:58:18 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:58:18 go: downloading github.com/hashicorp/consul/sdk v0.7.0 17:58:18 go: downloading github.com/hashicorp/go-uuid v1.0.1 17:58:18 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 17:58:18 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:58:18 go: downloading github.com/kr/text v0.1.0 17:58:18 go: downloading github.com/fatih/color v1.9.0 17:58:18 go: downloading github.com/mattn/go-colorable v0.1.6 17:58:18 go: downloading github.com/mattn/go-isatty v0.0.12 17:58:18 go: downloading github.com/mitchellh/go-homedir v1.1.0 17:58:18 go: downloading github.com/pkg/errors v0.8.1 17:58:18 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:58:18 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 17:58:18 go: downloading github.com/hashicorp/go-msgpack v0.5.3 17:58:19 go: downloading github.com/hashicorp/memberlist v0.2.2 17:58:19 go: downloading github.com/go-redis/redis/v7 v7.3.0 17:58:19 go: downloading github.com/pebbe/zmq4 v1.2.7 17:58:19 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:58:19 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 17:58:19 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:58:19 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:58:19 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:58:19 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 17:58:19 go: downloading github.com/miekg/dns v1.1.26 17:58:19 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:58:19 go: downloading github.com/onsi/ginkgo v1.10.1 17:58:19 go: downloading github.com/onsi/gomega v1.7.0 17:58:19 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:58:19 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 17:58:19 go: downloading github.com/hpcloud/tail v1.0.0 17:58:19 go: downloading github.com/golang/protobuf v1.3.2 17:58:19 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 17:58:19 go: downloading gopkg.in/fsnotify.v1 v1.4.7 17:58:19 go: downloading github.com/fsnotify/fsnotify v1.4.7 17:58:19 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 17:58:31 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/6/app-service-template' 17:58:31 make -C ./app-service-template test 17:58:31 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/6/app-service-template' 17:58:31 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 17:58:40 ok new-app-service 0.024s coverage: 48.1% of statements 17:58:40 ? new-app-service/config [no test files] 17:58:40 ok new-app-service/functions 0.014s 17:58:40 CGO_ENABLED=1 go vet ./... 17:58:48 gofmt -l . 17:58:48 [ "`gofmt -l .`" = "" ] 17:58:48 ./bin/test-attribution-txt.sh 17:58:48 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/6/app-service-template' 17:58:48 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:58:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 17:58:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.012s coverage: 63.9% of statements 17:58:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.011s coverage: 93.2% of statements 17:58:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 17:58:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.014s coverage: 61.8% of statements 17:58:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 17:58:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.015s 17:58:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.143s coverage: 75.6% of statements 17:58:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 17:58:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 17:58:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 17:58:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 17:58:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 17:58:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 17:58:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.002s coverage: 97.3% of statements 17:58:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 17:58:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.006s coverage: 10.5% of statements 17:58:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.047s coverage: 77.0% of statements 17:58:56 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 17:58:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.006s coverage: 12.5% of statements 17:58:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.011s coverage: 27.3% of statements 17:58:56 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 17:58:56 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 17:58:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.011s coverage: 51.4% of statements 17:59:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.032s coverage: 77.3% of statements 17:59:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.007s coverage: 94.4% of statements 17:59:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:59:23 gofmt -l . 17:59:23 [ "`gofmt -l .`" = "" ] [Pipeline] } 17:59:23 $ docker stop --time=1 46ffdfb609a00b40c75bf0233078e5f178029f3551c1b083cfd5da9558bb8325 17:59:24 $ docker rm -f 46ffdfb609a00b40c75bf0233078e5f178029f3551c1b083cfd5da9558bb8325 [Pipeline] // withDockerContainer [Pipeline] sh 17:59:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:59:25 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:59:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:59:26 17:59:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:59:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:59:26 latest: Pulling from edgex-lftools-log-publisher 17:59:26 b4d181a07f80: Pulling fs layer 17:59:26 a1111a8f2ec3: Pulling fs layer 17:59:26 ed53099fbce6: Pulling fs layer 17:59:26 dc539afda2c1: Pulling fs layer 17:59:26 77bc0d833cb6: Pulling fs layer 17:59:26 9065ff56babe: Pulling fs layer 17:59:26 d287ab97295c: Pulling fs layer 17:59:26 dc539afda2c1: Waiting 17:59:26 77bc0d833cb6: Waiting 17:59:26 9065ff56babe: Waiting 17:59:26 d287ab97295c: Waiting 17:59:27 a1111a8f2ec3: Verifying Checksum 17:59:27 a1111a8f2ec3: Download complete 17:59:27 dc539afda2c1: Verifying Checksum 17:59:27 dc539afda2c1: Download complete 17:59:27 77bc0d833cb6: Verifying Checksum 17:59:27 77bc0d833cb6: Download complete 17:59:27 9065ff56babe: Verifying Checksum 17:59:27 9065ff56babe: Download complete 17:59:27 ed53099fbce6: Verifying Checksum 17:59:27 ed53099fbce6: Download complete 17:59:28 b4d181a07f80: Verifying Checksum 17:59:28 b4d181a07f80: Download complete 17:59:29 b4d181a07f80: Pull complete 17:59:29 a1111a8f2ec3: Pull complete 17:59:30 ed53099fbce6: Pull complete 17:59:30 dc539afda2c1: Pull complete 17:59:30 77bc0d833cb6: Pull complete 17:59:30 9065ff56babe: Pull complete 17:59:31 d287ab97295c: Verifying Checksum 17:59:31 d287ab97295c: Download complete 17:59:37 d287ab97295c: Pull complete 17:59:37 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 17:59:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:59:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:59:37 prd-centos7-docker-4c-2g-384 does not seem to be running inside a container 17:59:37 $ 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/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:59:40 $ docker top 54d77dc8857c590bb1c043c5a0a3601255b7007a2b77da2a2d60d48603728cbb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:59:40 ---> job-cost.sh 17:59:40 lf-activate-venv: SKIPPING 17:59:40 INFO: No Stack... 17:59:41 INFO: Retrieving Pricing Info for: v3-standard-2 17:59:42 INFO: Archiving Costs [Pipeline] sh 17:59:42 + cat /w/workspace/app-functions-sdk-go/6/archives/cost.csv 17:59:42 + cut -d, -f6 [Pipeline] lock 17:59:42 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-948-6-stack-cost] 17:59:42 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-948-6-stack-cost] did not exist. Created. 17:59:42 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-948-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:59:42 + echo total: 0.05999999865889549 [Pipeline] stash 17:59:43 Stashed 1 file(s) [Pipeline] } 17:59:43 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-948-6-stack-cost] [Pipeline] // lock [Pipeline] } 17:59:43 $ docker stop --time=1 54d77dc8857c590bb1c043c5a0a3601255b7007a2b77da2a2d60d48603728cbb 17:59:44 $ docker rm -f 54d77dc8857c590bb1c043c5a0a3601255b7007a2b77da2a2d60d48603728cbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:00:09 Running on prd-ubuntu18.04-docker-arm64-4c-16g-385 in /w/workspace/ndry_app-functions-sdk-go_PR-948 [Pipeline] { [Pipeline] ws 18:00:09 Running in /w/workspace/app-functions-sdk-go/6 [Pipeline] { [Pipeline] checkout 18:00:10 The recommended git tool is: git 18:00:15 using credential edgex-jenkins-ssh 18:00:15 Cloning the remote Git repository 18:00:15 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 18:00:15 > git init /w/workspace/app-functions-sdk-go/6 # timeout=10 18:00:15 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:00:15 > git --version # timeout=10 18:00:15 > git --version # 'git version 2.17.1' 18:00:15 using GIT_SSH to set credentials SSH Credentials for GitHub 18:00:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:00:20 Merging remotes/origin/main commit 2988ae778ed7d003906d61219b41a631e84b2f74 into PR head commit 389e8220de175f8395ed3932a5eb898900176abf 18:00:19 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:00:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:00:19 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:00:19 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:00:19 using GIT_SSH to set credentials SSH Credentials for GitHub 18:00:19 > 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 18:00:20 > git config core.sparsecheckout # timeout=10 18:00:20 > git checkout -f 389e8220de175f8395ed3932a5eb898900176abf # timeout=10 18:00:20 > git remote # timeout=10 18:00:20 > git config --get remote.origin.url # timeout=10 18:00:20 Merge succeeded, producing abd4217fc4b44b6a6b56e92cb63a9105c77a18fe 18:00:20 Checking out Revision abd4217fc4b44b6a6b56e92cb63a9105c77a18fe (PR-948) 18:00:20 using GIT_SSH to set credentials SSH Credentials for GitHub 18:00:20 > git merge 2988ae778ed7d003906d61219b41a631e84b2f74 # timeout=10 18:00:20 > git rev-parse HEAD^{commit} # timeout=10 18:00:20 > git config core.sparsecheckout # timeout=10 18:00:20 > git checkout -f abd4217fc4b44b6a6b56e92cb63a9105c77a18fe # timeout=10 18:00:24 Commit message: "Merge commit '2988ae778ed7d003906d61219b41a631e84b2f74' into HEAD" 18:00:24 First time build. Skipping changelog. 18:00:24 > git rev-list --no-walk d59e986bc539dfc5c49f3688890c84d0431c7921 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:00:25 ========================================================= 18:00:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 18:00:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 18:00:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 18:00:28 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:00:28 595b0fe564bb: Pulling fs layer 18:00:28 24495759ef45: Pulling fs layer 18:00:28 d148012ef14d: Pulling fs layer 18:00:28 e90a11edd702: Pulling fs layer 18:00:28 d77568369979: Pulling fs layer 18:00:28 fc1c9f9a7f3b: Pulling fs layer 18:00:28 170f2ba95c9a: Pulling fs layer 18:00:28 97ac5df62f85: Pulling fs layer 18:00:28 fc1c9f9a7f3b: Waiting 18:00:28 e90a11edd702: Waiting 18:00:28 170f2ba95c9a: Waiting 18:00:28 97ac5df62f85: Waiting 18:00:28 d77568369979: Waiting 18:00:28 d148012ef14d: Verifying Checksum 18:00:28 d148012ef14d: Download complete 18:00:28 24495759ef45: Verifying Checksum 18:00:28 24495759ef45: Download complete 18:00:28 d77568369979: Verifying Checksum 18:00:28 d77568369979: Download complete 18:00:28 fc1c9f9a7f3b: Verifying Checksum 18:00:28 fc1c9f9a7f3b: Download complete 18:00:28 595b0fe564bb: Verifying Checksum 18:00:28 595b0fe564bb: Download complete 18:00:28 170f2ba95c9a: Download complete 18:00:29 595b0fe564bb: Pull complete 18:00:30 24495759ef45: Pull complete 18:00:30 d148012ef14d: Pull complete 18:00:31 97ac5df62f85: Verifying Checksum 18:00:31 97ac5df62f85: Download complete 18:00:33 e90a11edd702: Verifying Checksum 18:00:33 e90a11edd702: Download complete 18:00:43 e90a11edd702: Pull complete 18:00:43 d77568369979: Pull complete 18:00:44 fc1c9f9a7f3b: Pull complete 18:00:44 170f2ba95c9a: Pull complete 18:00:51 97ac5df62f85: Pull complete 18:00:51 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 18:00:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 18:00:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 18:00:51 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 18:00:51 + docker inspect -f . ci-base-image-arm64 18:00:51 . [Pipeline] withDockerContainer 18:00:52 prd-ubuntu18.04-docker-arm64-4c-16g-385 does not seem to be running inside a container 18:00:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:00:58 $ docker top 7b90a853ed54978d1dbb98fd3b8d2014e6f98779b9e99a7501194069dd2a5242 -eo pid,comm [Pipeline] { [Pipeline] sh 18:00:59 + go version 18:00:59 go version go1.16.6 linux/arm64 [Pipeline] } 18:00:59 $ docker stop --time=1 7b90a853ed54978d1dbb98fd3b8d2014e6f98779b9e99a7501194069dd2a5242 18:01:01 $ docker rm -f 7b90a853ed54978d1dbb98fd3b8d2014e6f98779b9e99a7501194069dd2a5242 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:01:01 + docker inspect -f . ci-base-image-arm64 18:01:01 . [Pipeline] withDockerContainer 18:01:02 prd-ubuntu18.04-docker-arm64-4c-16g-385 does not seem to be running inside a container 18:01:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:01:03 $ docker top d389d39b787ad2111c0c9e6fb987e332bd7d63f7377500a1fce796d985a750f0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:01:04 + make test 18:01:04 make -C ./app-service-template build 18:01:04 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/6/app-service-template' 18:01:04 go mod tidy 18:01:06 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 18:01:06 go: downloading github.com/google/uuid v1.3.0 18:01:06 go: downloading github.com/stretchr/testify v1.7.0 18:01:06 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 18:01:06 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 18:01:06 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 18:01:06 go: downloading github.com/davecgh/go-spew v1.1.1 18:01:06 go: downloading github.com/pmezard/go-difflib v1.0.0 18:01:06 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 18:01:06 go: downloading github.com/go-playground/validator/v10 v10.6.1 18:01:06 go: downloading github.com/go-kit/kit v0.9.0 18:01:06 go: downloading gopkg.in/yaml.v2 v2.4.0 18:01:06 go: downloading github.com/stretchr/objx v0.1.0 18:01:06 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 18:01:06 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 18:01:06 go: downloading github.com/gorilla/mux v1.8.0 18:01:06 go: downloading github.com/hashicorp/go-multierror v1.1.1 18:01:07 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 18:01:07 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 18:01:07 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 18:01:07 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 18:01:07 go: downloading github.com/pelletier/go-toml v1.9.2 18:01:07 go: downloading github.com/go-playground/universal-translator v0.17.0 18:01:07 go: downloading github.com/leodido/go-urn v1.2.0 18:01:07 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 18:01:07 go: downloading golang.org/x/text v0.3.2 18:01:07 go: downloading github.com/go-playground/assert/v2 v2.0.1 18:01:07 go: downloading github.com/go-playground/locales v0.13.0 18:01:11 go: downloading github.com/mitchellh/copystructure v1.0.0 18:01:11 go: downloading github.com/go-logfmt/logfmt v0.4.0 18:01:11 go: downloading github.com/go-stack/stack v1.8.0 18:01:11 go: downloading github.com/hashicorp/errwrap v1.0.0 18:01:11 go: downloading github.com/hashicorp/consul/api v1.8.1 18:01:11 go: downloading github.com/gorilla/websocket v1.4.2 18:01:11 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 18:01:11 go: downloading github.com/kr/pretty v0.2.0 18:01:11 go: downloading github.com/x448/float16 v0.8.4 18:01:11 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 18:01:11 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 18:01:11 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:01:11 go: downloading github.com/mitchellh/reflectwalk v1.0.0 18:01:11 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:01:11 go: downloading github.com/kr/text v0.1.0 18:01:11 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 18:01:11 go: downloading github.com/hashicorp/go-hclog v0.12.0 18:01:11 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 18:01:11 go: downloading github.com/hashicorp/serf v0.9.5 18:01:11 go: downloading github.com/mitchellh/mapstructure v1.1.2 18:01:12 go: downloading github.com/hashicorp/consul/sdk v0.7.0 18:01:12 go: downloading github.com/hashicorp/go-uuid v1.0.1 18:01:12 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 18:01:12 go: downloading github.com/go-redis/redis/v7 v7.3.0 18:01:12 go: downloading github.com/pebbe/zmq4 v1.2.7 18:01:12 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 18:01:12 go: downloading github.com/mitchellh/go-homedir v1.1.0 18:01:12 go: downloading github.com/fatih/color v1.9.0 18:01:12 go: downloading github.com/mattn/go-colorable v0.1.6 18:01:12 go: downloading github.com/mattn/go-isatty v0.0.12 18:01:12 go: downloading github.com/pkg/errors v0.8.1 18:01:12 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:01:12 go: downloading github.com/hashicorp/go-msgpack v0.5.3 18:01:12 go: downloading github.com/hashicorp/memberlist v0.2.2 18:01:12 go: downloading github.com/onsi/ginkgo v1.10.1 18:01:12 go: downloading github.com/onsi/gomega v1.7.0 18:01:12 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 18:01:12 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 18:01:12 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:01:13 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:01:13 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 18:01:13 go: downloading github.com/miekg/dns v1.1.26 18:01:13 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:01:13 go: downloading github.com/hashicorp/golang-lru v0.5.0 18:01:13 go: downloading github.com/hpcloud/tail v1.0.0 18:01:13 go: downloading github.com/golang/protobuf v1.3.2 18:01:13 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 18:01:13 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 18:01:13 go: downloading gopkg.in/fsnotify.v1 v1.4.7 18:01:13 go: downloading github.com/fsnotify/fsnotify v1.4.7 18:01:13 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 18:01:52 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/6/app-service-template' 18:01:52 make -C ./app-service-template test 18:01:52 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/6/app-service-template' 18:01:52 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 18:02:25 ok new-app-service 0.040s coverage: 48.1% of statements 18:02:25 ? new-app-service/config [no test files] 18:02:25 ok new-app-service/functions 0.042s 18:02:25 CGO_ENABLED=1 go vet ./... 18:02:51 gofmt -l . 18:02:51 [ "`gofmt -l .`" = "" ] 18:02:51 ./bin/test-attribution-txt.sh 18:02:51 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/6/app-service-template' 18:02:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:02:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 18:03:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.124s coverage: 63.9% of statements 18:03:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.048s coverage: 93.2% of statements 18:03:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 18:03:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.089s coverage: 61.8% of statements 18:03:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 18:03:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.039s 18:03:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.141s coverage: 75.6% of statements 18:03:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 18:03:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 18:03:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 18:03:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 18:03:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 18:03:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 18:03:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.016s coverage: 97.3% of statements 18:03:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 18:03:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.048s coverage: 10.5% of statements 18:03:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.159s coverage: 77.0% of statements 18:03:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 18:03:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.041s coverage: 12.5% of statements 18:03:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.046s coverage: 27.3% of statements 18:03:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 18:03:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 18:03:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.055s coverage: 51.4% of statements 18:03:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.115s coverage: 77.3% of statements 18:03:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.033s coverage: 94.4% of statements 18:03:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:03:37 gofmt -l . 18:03:38 [ "`gofmt -l .`" = "" ] [Pipeline] } 18:03:38 $ docker stop --time=1 d389d39b787ad2111c0c9e6fb987e332bd7d63f7377500a1fce796d985a750f0 18:03:40 $ docker rm -f d389d39b787ad2111c0c9e6fb987e332bd7d63f7377500a1fce796d985a750f0 [Pipeline] // withDockerContainer [Pipeline] sh 18:03:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:03:43 Warning: overwriting stash ‘coverage-report’ 18:03:43 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:03:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:03:44 18:03:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:03:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:03:45 arm64: Pulling from edgex-lftools-log-publisher 18:03:45 448f6bf000e3: Pulling fs layer 18:03:45 f757da607395: Pulling fs layer 18:03:45 05883995daec: Pulling fs layer 18:03:45 8603b9c90790: Pulling fs layer 18:03:45 1560dd03e051: Pulling fs layer 18:03:45 27f5ce0e4adf: Pulling fs layer 18:03:45 c2d8d7efcc4b: Pulling fs layer 18:03:45 8603b9c90790: Waiting 18:03:45 1560dd03e051: Waiting 18:03:45 27f5ce0e4adf: Waiting 18:03:45 c2d8d7efcc4b: Waiting 18:03:45 f757da607395: Verifying Checksum 18:03:45 f757da607395: Download complete 18:03:45 8603b9c90790: Verifying Checksum 18:03:45 8603b9c90790: Download complete 18:03:45 1560dd03e051: Verifying Checksum 18:03:45 1560dd03e051: Download complete 18:03:46 27f5ce0e4adf: Download complete 18:03:46 05883995daec: Verifying Checksum 18:03:46 05883995daec: Download complete 18:03:47 448f6bf000e3: Verifying Checksum 18:03:47 448f6bf000e3: Download complete 18:03:49 c2d8d7efcc4b: Verifying Checksum 18:03:49 c2d8d7efcc4b: Download complete 18:03:50 448f6bf000e3: Pull complete 18:03:51 f757da607395: Pull complete 18:03:52 05883995daec: Pull complete 18:03:53 8603b9c90790: Pull complete 18:03:54 1560dd03e051: Pull complete 18:03:54 27f5ce0e4adf: Pull complete 18:04:09 c2d8d7efcc4b: Pull complete 18:04:09 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 18:04:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:04:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:04:09 prd-ubuntu18.04-docker-arm64-4c-16g-385 does not seem to be running inside a container 18:04:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:04:14 $ docker top 58e4cab53f9aa3c92c3a811a24fbbb6b341404d21a2233edf258d6e02c5bdd52 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:04:15 ---> job-cost.sh 18:04:15 lf-activate-venv: SKIPPING 18:04:15 INFO: No Stack... 18:04:16 INFO: Retrieving Pricing Info for: v3-standard-4 18:04:16 INFO: Archiving Costs [Pipeline] sh 18:04:17 + cut -d, -f6 18:04:17 + cat /w/workspace/app-functions-sdk-go/6/archives/cost.csv [Pipeline] lock 18:04:17 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-948-6-stack-cost] 18:04:17 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-948-6-stack-cost] did not exist. Created. 18:04:17 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-948-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:04:18 /w/workspace/app-functions-sdk-go/6@tmp/durable-25fe6b24/script.sh: 1: /w/workspace/app-functions-sdk-go/6@tmp/durable-25fe6b24/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:04:19 + echo total: 0.10999999940395355 [Pipeline] stash 18:04:19 Warning: overwriting stash ‘stack-cost’ 18:04:19 Stashed 1 file(s) [Pipeline] } 18:04:19 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-948-6-stack-cost] [Pipeline] // lock [Pipeline] } 18:04:19 $ docker stop --time=1 58e4cab53f9aa3c92c3a811a24fbbb6b341404d21a2233edf258d6e02c5bdd52 18:04:21 $ docker rm -f 58e4cab53f9aa3c92c3a811a24fbbb6b341404d21a2233edf258d6e02c5bdd52 [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 18:04:22 provisioning config files... 18:04:22 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-948@tmp/config4900202789993233626tmp [Pipeline] { [Pipeline] sh 18:04:22 + set +x 18:04:22 + curl -s https://codecov.io/bash 18:04:22 + bash -s -- 18:04:22 18:04:22 _____ _ 18:04:22 / ____| | | 18:04:22 | | ___ __| | ___ ___ _____ __ 18:04:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:04:22 | |___| (_) | (_| | __/ (_| (_) \ V / 18:04:22 \_____\___/ \__,_|\___|\___\___/ \_/ 18:04:22 Bash-1.0.6 18:04:22 18:04:22 18:04:22 ==> git version 2.24.4 found 18:04:22 ==> 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 18:04:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:04:22 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:04:22 ==> Jenkins CI detected. 18:04:22 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-948 18:04:22 project root: . 18:04:22 --> token set from env 18:04:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:04:22 ==> Running gcov in . (disable via -X gcov) 18:04:22 ==> Python coveragepy not found 18:04:22 ==> Searching for coverage reports in: 18:04:22 + . 18:04:22 -> Found 2 reports 18:04:22 ==> Detecting git/mercurial file structure 18:04:22 ==> Reading reports 18:04:22 + ./app-service-template/coverage.out bytes=1219 18:04:22 + ./coverage.out bytes=101393 18:04:22 ==> Appending adjustments 18:04:22 https://docs.codecov.io/docs/fixing-reports 18:04:23 + Found adjustments 18:04:23 ==> Gzipping contents 18:04:23 20K /tmp/codecov.rSxVzm.gz 18:04:23 ==> Uploading reports 18:04:23 url: https://codecov.io 18:04:23 query: branch=PR-948&commit=dd36c7cb02b9000cb89f77ac4c50efa660e5a5a6&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-948%2F6%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=948&job=&cmd_args= 18:04:23 -> Pinging Codecov 18:04:23 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=dd36c7cb02b9000cb89f77ac4c50efa660e5a5a6&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-948%2F6%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=948&job=&cmd_args= 18:04:23 -> Uploading to 18:04:23 https://storage.googleapis.com/codecov/v4/raw/2021-09-16/3D8B5DFFC46A037C893635FACE044666/dd36c7cb02b9000cb89f77ac4c50efa660e5a5a6/2ca491d9-e64a-4fb0-b1a0-61912cf9b1d1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210916%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210916T180423Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f4baf1848607c1146c221de2ff3f260185aa51e8de9a055d596f088bf07cd48f 18:04:23 % Total % Received % Xferd Average Speed Time Time Time Current 18:04:23 Dload Upload Total Spent Left Speed 18:04:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17563 0 0 100 17563 0 41941 --:--:-- --:--:-- --:--:-- 42016 18:04:24 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/dd36c7cb02b9000cb89f77ac4c50efa660e5a5a6 [Pipeline] } 18:04:24 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 18:04:25 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-948/archives ']' [Pipeline] libraryResource [Pipeline] sh 18:04:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:04:26 ---> package-listing.sh 18:04:26 ++ tr '[:upper:]' '[:lower:]' 18:04:26 ++ facter osfamily 18:04:27 + OS_FAMILY=redhat 18:04:27 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-948 18:04:27 + START_PACKAGES=/tmp/packages_start.txt 18:04:27 + END_PACKAGES=/tmp/packages_end.txt 18:04:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:04:27 + PACKAGES=/tmp/packages_start.txt 18:04:27 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-948 ']' 18:04:27 + PACKAGES=/tmp/packages_end.txt 18:04:27 + case "${OS_FAMILY}" in 18:04:27 + rpm -qa 18:04:27 + sort 18:04:28 + '[' -f /tmp/packages_start.txt ']' 18:04:28 + '[' -f /tmp/packages_end.txt ']' 18:04:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:04:28 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-948 ']' 18:04:28 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-948/archives/ 18:04:28 + 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 18:04:28 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 18:04:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:04:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:28 18:04:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:04:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:29 latest: Pulling from edgex-lftools-log-publisher 18:04:29 b4d181a07f80: Pulling fs layer 18:04:29 a1111a8f2ec3: Pulling fs layer 18:04:29 ed53099fbce6: Pulling fs layer 18:04:29 dc539afda2c1: Pulling fs layer 18:04:29 77bc0d833cb6: Pulling fs layer 18:04:29 9065ff56babe: Pulling fs layer 18:04:29 d287ab97295c: Pulling fs layer 18:04:29 dc539afda2c1: Waiting 18:04:29 77bc0d833cb6: Waiting 18:04:29 9065ff56babe: Waiting 18:04:29 d287ab97295c: Waiting 18:04:29 a1111a8f2ec3: Verifying Checksum 18:04:29 a1111a8f2ec3: Download complete 18:04:29 dc539afda2c1: Verifying Checksum 18:04:29 dc539afda2c1: Download complete 18:04:29 77bc0d833cb6: Verifying Checksum 18:04:29 77bc0d833cb6: Download complete 18:04:30 9065ff56babe: Verifying Checksum 18:04:30 9065ff56babe: Download complete 18:04:30 ed53099fbce6: Verifying Checksum 18:04:30 ed53099fbce6: Download complete 18:04:31 b4d181a07f80: Download complete 18:04:32 b4d181a07f80: Pull complete 18:04:32 a1111a8f2ec3: Pull complete 18:04:33 ed53099fbce6: Pull complete 18:04:33 dc539afda2c1: Pull complete 18:04:33 77bc0d833cb6: Pull complete 18:04:33 9065ff56babe: Pull complete 18:04:36 d287ab97295c: Verifying Checksum 18:04:36 d287ab97295c: Download complete 18:04:40 d287ab97295c: Pull complete 18:04:40 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:04:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:04:40 prd-centos7-docker-4c-2g-382 does not seem to be running inside a container 18:04:40 $ 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 18:04:43 $ docker top 95218968967d3881bb2f6c09c0d496836d3a7d05786a1d4ca6bde69a31cbf458 -eo pid,comm [Pipeline] { [Pipeline] sh 18:04:44 + touch /tmp/pre-build-complete [Pipeline] sh 18:04:44 + mkdir -p /var/log/sysstat [Pipeline] sh 18:04:45 + ls /var/log/sa-host 18:04:45 + sadf -c /var/log/sa-host/sa05 18:04:45 file_magic: OK 18:04:45 HZ: Using current value: 100 18:04:45 file_header: OK 18:04:45 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 18:04:45 Statistics: 18:04:45 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:04:45 File successfully converted to sysstat format version 12.0.3 18:04:45 + sadf -c /var/log/sa-host/sa16 18:04:45 file_magic: OK 18:04:45 HZ: Using current value: 100 18:04:45 file_header: OK 18:04:45 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 18:04:45 Statistics: 18:04:45 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:04:45 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:04:45 provisioning config files... 18:04:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-948@tmp/config2878595531754116731tmp [Pipeline] { [Pipeline] echo 18:04:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:04:46 ---> create-netrc.sh [Pipeline] } 18:04:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:04:46 ---> python-tools-install.sh [Pipeline] echo 18:04:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:04:46 ---> sudo-logs.sh 18:04:46 Archiving 'sudo' log.. 18:04:46 sudo: unable to resolve host prd-centos7-docker-4c-2g-382.vexxhost.local: Name or service not known 18:04:46 sudo: unable to resolve host prd-centos7-docker-4c-2g-382.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 18:04:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:04:47 ---> job-cost.sh 18:04:47 lf-activate-venv: SKIPPING 18:04:47 DEBUG: total: 0.10999999940395355 18:04:47 INFO: Retrieving Stack Cost... 18:04:48 INFO: Retrieving Pricing Info for: v3-standard-2 18:04:48 INFO: Archiving Costs [Pipeline] echo 18:04:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:04:49 ---> logs-deploy.sh 18:04:49 lf-activate-venv: SKIPPING 18:04:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-948/6 18:04:49 INFO: archiving workspace using pattern(s): 18:04:50 Archives upload complete. 18:04:50 INFO: archiving logs to Nexus 18:04:50 ---> uname -a: 18:04:50 Linux prd-centos7-docker-4c-2g-382.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 18:04:50 18:04:50 18:04:50 ---> lscpu: 18:04:50 Architecture: x86_64 18:04:50 CPU op-mode(s): 32-bit, 64-bit 18:04:50 Byte Order: Little Endian 18:04:50 Address sizes: 40 bits physical, 48 bits virtual 18:04:50 CPU(s): 2 18:04:50 On-line CPU(s) list: 0,1 18:04:50 Thread(s) per core: 1 18:04:50 Core(s) per socket: 1 18:04:50 Socket(s): 2 18:04:50 NUMA node(s): 1 18:04:50 Vendor ID: AuthenticAMD 18:04:50 CPU family: 23 18:04:50 Model: 49 18:04:50 Model name: AMD EPYC-Rome Processor 18:04:50 Stepping: 0 18:04:50 CPU MHz: 2799.998 18:04:50 BogoMIPS: 5599.99 18:04:50 Virtualization: AMD-V 18:04:50 Hypervisor vendor: KVM 18:04:50 Virtualization type: full 18:04:50 L1d cache: 32K 18:04:50 L1i cache: 32K 18:04:50 L2 cache: 512K 18:04:50 L3 cache: 16384K 18:04:50 NUMA node0 CPU(s): 0,1 18:04:50 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 18:04:50 18:04:50 18:04:50 ---> nproc: 18:04:50 2 18:04:50 18:04:50 18:04:50 ---> df -h: 18:04:50 Filesystem Size Used Avail Use% Mounted on 18:04:50 overlay 40G 7.7G 33G 20% / 18:04:50 tmpfs 64M 0 64M 0% /dev 18:04:50 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 18:04:50 shm 64M 0 64M 0% /dev/shm 18:04:50 /dev/vda1 40G 7.7G 33G 20% /facter-os 18:04:50 18:04:50 18:04:50 ---> sar -b -r -n DEV: 18:04:50 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/16/21 _x86_64_ (2 CPU) 18:04:50 18:04:50 17:55:20 LINUX RESTART (2 CPU) 18:04:50 18:04:50 17:56:01 tps rtps wtps bread/s bwrtn/s 18:04:50 17:57:01 84.72 3.53 81.19 2585.65 5218.13 18:04:50 17:58:01 1.80 0.00 1.80 0.00 35.27 18:04:50 17:59:01 0.25 0.00 0.25 0.00 2.83 18:04:50 18:00:01 0.28 0.00 0.28 0.00 3.46 18:04:50 18:01:01 0.28 0.02 0.27 0.13 3.48 18:04:50 18:02:01 0.53 0.10 0.43 1.73 8.31 18:04:50 18:03:01 0.15 0.00 0.15 0.00 1.75 18:04:50 18:04:02 0.28 0.00 0.28 0.00 4.15 18:04:50 Average: 11.04 0.46 10.59 323.59 659.97 18:04:50 18:04:50 17:56:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:04:50 17:57:01 5435604 0 801496 10.01 2620 1769212 1315192 14.52 592436 1578844 20 18:04:50 17:58:01 5445888 0 791204 9.88 2620 1769220 1231540 13.60 584504 1578808 16 18:04:50 17:59:01 5449336 0 787756 9.84 2620 1769220 1205780 13.31 579760 1580696 8 18:04:50 18:00:01 5448248 0 788836 9.85 2620 1769228 1205780 13.31 580872 1580696 8 18:04:50 18:01:01 5445932 0 791148 9.88 2620 1769232 1208840 13.35 579184 1584392 8 18:04:50 18:02:01 5446172 0 790780 9.87 2620 1769360 1206616 13.32 579056 1584452 20 18:04:50 18:03:01 5446864 0 790084 9.87 2620 1769364 1206352 13.32 578676 1584452 20 18:04:50 18:04:02 5436560 0 800380 9.99 2620 1769372 1206352 13.32 588972 1584452 8 18:04:50 Average: 5444326 0 792710 9.90 2620 1769276 1223306 13.51 582932 1582099 14 18:04:50 18:04:50 17:56:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:04:50 17:57:01 eth0 287.91 219.31 1070.31 47.11 0.00 0.00 0.00 0.00 18:04:50 17:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:04:50 17:57:01 docker0 69.87 73.86 7.22 313.67 0.00 0.00 0.00 0.00 18:04:50 17:58:01 eth0 0.95 0.27 0.32 0.20 0.00 0.00 0.00 0.00 18:04:50 17:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:04:50 17:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:04:50 17:59:01 eth0 0.90 0.07 0.07 0.01 0.00 0.00 0.00 0.00 18:04:50 17:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:04:50 17:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:04:50 18:00:01 eth0 0.47 0.08 0.02 0.01 0.00 0.00 0.00 0.00 18:04:50 18:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:04:50 18:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:04:50 18:01:01 eth0 1.57 0.47 0.45 0.27 0.00 0.00 0.00 0.00 18:04:50 18:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:04:50 18:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:04:50 18:02:01 eth0 1.07 0.75 0.63 0.41 0.00 0.00 0.00 0.00 18:04:50 18:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:04:50 18:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:04:50 18:03:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 18:04:50 18:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:04:50 18:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:04:50 18:04:02 eth0 0.23 0.08 0.01 0.01 0.00 0.00 0.00 0.00 18:04:50 18:04:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:04:50 18:04:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:04:50 Average: eth0 36.67 27.65 134.04 6.00 0.00 0.00 0.00 0.00 18:04:50 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:04:50 Average: docker0 8.74 9.24 0.90 39.23 0.00 0.00 0.00 0.00 18:04:50 18:04:50 18:04:50 ---> sar -P ALL: 18:04:50 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/16/21 _x86_64_ (2 CPU) 18:04:50 18:04:50 17:55:20 LINUX RESTART (2 CPU) 18:04:50 18:04:50 17:56:01 CPU %user %nice %system %iowait %steal %idle 18:04:50 17:57:01 all 7.61 0.00 2.84 2.38 0.05 87.13 18:04:50 17:57:01 0 9.08 0.00 2.98 1.97 0.05 85.92 18:04:50 17:57:01 1 6.13 0.00 2.70 2.79 0.05 88.33 18:04:50 17:58:01 all 0.23 0.00 0.08 0.00 0.02 99.68 18:04:50 17:58:01 0 0.37 0.00 0.08 0.00 0.02 99.53 18:04:50 17:58:01 1 0.08 0.00 0.07 0.00 0.02 99.83 18:04:50 17:59:01 all 0.26 0.00 0.07 0.00 0.01 99.67 18:04:50 17:59:01 0 0.43 0.00 0.05 0.00 0.00 99.52 18:04:50 17:59:01 1 0.08 0.00 0.08 0.00 0.02 99.82 18:04:50 18:00:01 all 0.24 0.00 0.04 0.00 0.01 99.71 18:04:50 18:00:01 0 0.42 0.00 0.02 0.00 0.00 99.57 18:04:50 18:00:01 1 0.07 0.00 0.07 0.00 0.02 99.85 18:04:50 18:01:01 all 0.25 0.00 0.05 0.00 0.01 99.69 18:04:50 18:01:01 0 0.42 0.00 0.07 0.00 0.02 99.50 18:04:50 18:01:01 1 0.08 0.00 0.03 0.00 0.00 99.88 18:04:50 18:02:01 all 0.08 0.00 0.06 0.01 0.02 99.84 18:04:50 18:02:01 0 0.10 0.00 0.07 0.00 0.02 99.82 18:04:50 18:02:01 1 0.05 0.00 0.05 0.02 0.02 99.87 18:04:50 18:03:01 all 0.23 0.00 0.05 0.00 0.00 99.72 18:04:50 18:03:01 0 0.22 0.00 0.05 0.00 0.00 99.73 18:04:50 18:03:01 1 0.25 0.00 0.05 0.00 0.00 99.70 18:04:50 18:04:02 all 0.21 0.00 0.03 0.00 0.02 99.74 18:04:50 18:04:02 0 0.40 0.00 0.05 0.00 0.02 99.53 18:04:50 18:04:02 1 0.02 0.00 0.02 0.00 0.02 99.95 18:04:50 Average: all 1.12 0.00 0.40 0.29 0.02 98.17 18:04:50 Average: 0 1.41 0.00 0.41 0.24 0.01 97.92 18:04:50 Average: 1 0.83 0.00 0.38 0.34 0.02 98.43 18:04:50 18:04:50 18:04:50