Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 39b9db1dbcbfb947209119f0f3182f92b1e83e0f+a082b2dad36e6c0ca2a100859279ca83a0af4f9e (c38c8295617f7b875465270051cd2d69e24fce38) 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-ssh1339135301243411746.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-ssh7429985171674622017.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-942/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-942/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6179202398139693505.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-ssh14188816392090039.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-942/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-942/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2872605705588166978.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-1965 in /w/workspace/ndry_app-functions-sdk-go_PR-942 [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-942 # 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-942@tmp/jenkins-gitclient-ssh5870714864882691781.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-942@tmp/jenkins-gitclient-ssh440108829784340255.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/942/head:refs/remotes/origin/PR-942 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a082b2dad36e6c0ca2a100859279ca83a0af4f9e into PR head commit 39b9db1dbcbfb947209119f0f3182f92b1e83e0f Merge succeeded, producing 2815785a5bd39d8ef819676a2bf21095f5e529dd Checking out Revision 2815785a5bd39d8ef819676a2bf21095f5e529dd (PR-942) > git config core.sparsecheckout # timeout=10 > git checkout -f 39b9db1dbcbfb947209119f0f3182f92b1e83e0f # 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-942@tmp/jenkins-gitclient-ssh2632894867943615131.key > git merge a082b2dad36e6c0ca2a100859279ca83a0af4f9e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2815785a5bd39d8ef819676a2bf21095f5e529dd # timeout=10 Commit message: "Merge commit 'a082b2dad36e6c0ca2a100859279ca83a0af4f9e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:47:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:47:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:47:22 ========================================================= 15:47:22 EdgeX Global Pipelines Version Info 15:47:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 31e7c88fb00a5ef57ca9363ef1db331807e994f0 # timeout=10 15:47:23 ------------------- 15:47:23 stable info: 15:47:23 ------------------- 15:47:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:47:23 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 15:47:23 Message: update stable to v1.0.205 15:47:23 ------------------- 15:47:23 experimental info: 15:47:23 ------------------- 15:47:23 Commited By: **** collab-it+edgex@linuxfoundation.org 15:47:23 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 15:47:23 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:47:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 15:47:24 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 15:47:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:47:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:47:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:47:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 15:47:25 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:47:25 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 15:47:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:47:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:47:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:47:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:47:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 15:47:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:47:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:47:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 15:47:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:47:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:47:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:47:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:47:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:47:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:47:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 15:47:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:47:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:47:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 15:47:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:47:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-942 [Pipeline] echo 15:47:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-942 [Pipeline] echo 15:47:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-942 [Pipeline] echo 15:47:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2815785a5bd39d8ef819676a2bf21095f5e529dd [Pipeline] echo 15:47:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2815785 [Pipeline] echo 15:47:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:47:27 + git log --format=format:%s -1 2815785a5bd39d8ef819676a2bf21095f5e529dd [Pipeline] echo 15:47:27 GIT_COMMIT: 2815785a5bd39d8ef819676a2bf21095f5e529dd, Commit Message: Merge commit 'a082b2dad36e6c0ca2a100859279ca83a0af4f9e' into HEAD [Pipeline] echo 15:47:27 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:47:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:47:29 15:47:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:47:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:47:30 latest: Pulling from edgex-devops/git-semver 15:47:30 31603596830f: Pulling fs layer 15:47:30 04fac38145f0: Pulling fs layer 15:47:30 701f6daf10bf: Pulling fs layer 15:47:30 24f72da36158: Pulling fs layer 15:47:30 24f72da36158: Waiting 15:47:30 04fac38145f0: Verifying Checksum 15:47:30 04fac38145f0: Download complete 15:47:30 31603596830f: Verifying Checksum 15:47:30 31603596830f: Download complete 15:47:30 24f72da36158: Verifying Checksum 15:47:30 24f72da36158: Download complete 15:47:30 31603596830f: Pull complete 15:47:30 04fac38145f0: Pull complete 15:47:30 701f6daf10bf: Verifying Checksum 15:47:30 701f6daf10bf: Download complete 15:47:31 701f6daf10bf: Pull complete 15:47:31 24f72da36158: Pull complete 15:47:31 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 15:47:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:47:31 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:47:31 prd-centos7-docker-4c-2g-1965 does not seem to be running inside a container 15:47:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-942 -v /w/workspace/ndry_app-functions-sdk-go_PR-942:/w/workspace/ndry_app-functions-sdk-go_PR-942:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-942@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-942@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:47:32 $ docker top 275bc197476aff4ae515911d2fc569b4cd86d907211f89edd02396e5de659e66 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:47:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:47:32 [ssh-agent] Looking for ssh-agent implementation... 15:47:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:47:32 $ docker exec 275bc197476aff4ae515911d2fc569b4cd86d907211f89edd02396e5de659e66 ssh-agent 15:47:32 SSH_AUTH_SOCK=/tmp/ssh-4wIuSRaswGOi/agent.14 15:47:32 SSH_AGENT_PID=21 15:47:32 Running ssh-add (command line suppressed) 15:47:32 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-942@tmp/private_key_7436839868858833315.key (/w/workspace/ndry_app-functions-sdk-go_PR-942@tmp/private_key_7436839868858833315.key) 15:47:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:47:33 + git tag --points-at HEAD [Pipeline] } 15:47:33 $ docker exec --env ******** --env ******** 275bc197476aff4ae515911d2fc569b4cd86d907211f89edd02396e5de659e66 ssh-agent -k 15:47:33 unset SSH_AUTH_SOCK; 15:47:33 unset SSH_AGENT_PID; 15:47:33 echo Agent pid 21 killed; 15:47:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:47:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:47:33 [ssh-agent] Looking for ssh-agent implementation... 15:47:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:47:33 $ docker exec 275bc197476aff4ae515911d2fc569b4cd86d907211f89edd02396e5de659e66 ssh-agent 15:47:33 SSH_AUTH_SOCK=/tmp/ssh-1UTcNejpv1ot/agent.54 15:47:33 SSH_AGENT_PID=61 15:47:33 Running ssh-add (command line suppressed) 15:47:33 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-942@tmp/private_key_1063019106907457876.key (/w/workspace/ndry_app-functions-sdk-go_PR-942@tmp/private_key_1063019106907457876.key) 15:47:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:47:34 + git semver init 15:47:34 # -> Open(): unable to determine branch for HEAD 15:47:34 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-942/.git 15:47:34 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-942 15:47:34 # $SEMVER_REMOTE_NAME = origin 15:47:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:47:34 # $SEMVER_USER_NAME = edgex-jenkins 15:47:34 # $SEMVER_BRANCH = PR-942 15:47:34 # $SEMVER_TEMP = /tmp/semver-386397245 15:47:34 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 15:47:36 # '/tmp/semver-386397245' -> '/w/workspace/ndry_app-functions-sdk-go_PR-942/.semver' 15:47:36 # -> Force: false 15:47:36 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-942/.semver [Pipeline] } 15:47:36 $ docker exec --env ******** --env ******** 275bc197476aff4ae515911d2fc569b4cd86d907211f89edd02396e5de659e66 ssh-agent -k 15:47:36 unset SSH_AUTH_SOCK; 15:47:36 unset SSH_AGENT_PID; 15:47:36 echo Agent pid 61 killed; 15:47:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:47:36 + git semver [Pipeline] } 15:47:36 $ docker stop --time=1 275bc197476aff4ae515911d2fc569b4cd86d907211f89edd02396e5de659e66 15:47:37 $ docker rm -f 275bc197476aff4ae515911d2fc569b4cd86d907211f89edd02396e5de659e66 [Pipeline] // withDockerContainer [Pipeline] sh 15:47:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:47:40 Stashed 1 file(s) [Pipeline] echo 15:47:40 [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 15:47:55 Still waiting to schedule task 15:47:55 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1965’ 15:47:55 Still waiting to schedule task 15:47:55 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 15:49:21 Running on prd-centos7-docker-4c-2g-1968 in /w/workspace/ndry_app-functions-sdk-go_PR-942 [Pipeline] { [Pipeline] ws 15:49:21 Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout 15:49:21 The recommended git tool is: git 15:49:25 using credential edgex-jenkins-ssh 15:49:25 Cloning the remote Git repository 15:49:25 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 15:49:25 > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 15:49:26 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:49:26 > git --version # timeout=10 15:49:26 > git --version # 'git version 2.24.4' 15:49:26 using GIT_SSH to set credentials SSH Credentials for GitHub 15:49:26 [INFO] Currently running in a labeled security context 15:49:26 [INFO] Currently SELinux is 'enforcing' on the host 15:49:26 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/4@tmp/jenkins-gitclient-ssh622477630729696535.key 15:49:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:49:28 Merging remotes/origin/main commit a082b2dad36e6c0ca2a100859279ca83a0af4f9e into PR head commit 39b9db1dbcbfb947209119f0f3182f92b1e83e0f 15:49:28 Merge succeeded, producing 1f10e45a26e6450f49462fc58f52a6fb7150afba 15:49:28 Checking out Revision 1f10e45a26e6450f49462fc58f52a6fb7150afba (PR-942) 15:49:27 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:49:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:49:27 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:49:27 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:49:27 using GIT_SSH to set credentials SSH Credentials for GitHub 15:49:27 [INFO] Currently running in a labeled security context 15:49:27 [INFO] Currently SELinux is 'enforcing' on the host 15:49:27 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/4@tmp/jenkins-gitclient-ssh8398863173229127216.key 15:49:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/942/head:refs/remotes/origin/PR-942 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:49:28 > git config core.sparsecheckout # timeout=10 15:49:28 > git checkout -f 39b9db1dbcbfb947209119f0f3182f92b1e83e0f # timeout=10 15:49:28 > git remote # timeout=10 15:49:28 > git config --get remote.origin.url # timeout=10 15:49:28 using GIT_SSH to set credentials SSH Credentials for GitHub 15:49:28 [INFO] Currently running in a labeled security context 15:49:28 [INFO] Currently SELinux is 'enforcing' on the host 15:49:28 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/4@tmp/jenkins-gitclient-ssh6622945917881345897.key 15:49:28 > git merge a082b2dad36e6c0ca2a100859279ca83a0af4f9e # timeout=10 15:49:28 > git rev-parse HEAD^{commit} # timeout=10 15:49:28 > git config core.sparsecheckout # timeout=10 15:49:28 > git checkout -f 1f10e45a26e6450f49462fc58f52a6fb7150afba # timeout=10 15:49:31 Commit message: "Merge commit 'a082b2dad36e6c0ca2a100859279ca83a0af4f9e' into HEAD" 15:49:31 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:49:31 > git rev-list --no-walk 31e7c88fb00a5ef57ca9363ef1db331807e994f0 # timeout=10 15:49:34 ========================================================= 15:49:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 15:49:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 15:49:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 15:49:34 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 15:49:34 540db60ca938: Pulling fs layer 15:49:34 adcc1eea9eea: Pulling fs layer 15:49:34 4c4ab2625f07: Pulling fs layer 15:49:34 db62176df00c: Pulling fs layer 15:49:34 3b30891b0d05: Pulling fs layer 15:49:34 06b49ca38bd5: Pulling fs layer 15:49:34 c788192a36de: Pulling fs layer 15:49:34 a77e37c0d609: Pulling fs layer 15:49:34 c3185cebc471: Pulling fs layer 15:49:34 db62176df00c: Waiting 15:49:34 3b30891b0d05: Waiting 15:49:34 06b49ca38bd5: Waiting 15:49:34 c788192a36de: Waiting 15:49:34 a77e37c0d609: Waiting 15:49:34 c3185cebc471: Waiting 15:49:35 4c4ab2625f07: Verifying Checksum 15:49:35 4c4ab2625f07: Download complete 15:49:35 adcc1eea9eea: Verifying Checksum 15:49:35 adcc1eea9eea: Download complete 15:49:35 3b30891b0d05: Download complete 15:49:35 06b49ca38bd5: Verifying Checksum 15:49:35 06b49ca38bd5: Download complete 15:49:35 c788192a36de: Verifying Checksum 15:49:35 c788192a36de: Download complete 15:49:35 540db60ca938: Verifying Checksum 15:49:35 540db60ca938: Download complete 15:49:35 540db60ca938: Pull complete 15:49:35 adcc1eea9eea: Pull complete 15:49:35 4c4ab2625f07: Pull complete 15:49:36 a77e37c0d609: Verifying Checksum 15:49:36 a77e37c0d609: Download complete 15:49:39 c3185cebc471: Verifying Checksum 15:49:39 c3185cebc471: Download complete 15:49:39 db62176df00c: Verifying Checksum 15:49:39 db62176df00c: Download complete 15:49:43 db62176df00c: Pull complete 15:49:43 3b30891b0d05: Pull complete 15:49:43 06b49ca38bd5: Pull complete 15:49:43 c788192a36de: Pull complete 15:49:43 a77e37c0d609: Pull complete 15:49:45 c3185cebc471: Pull complete 15:49:45 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 15:49:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 15:49:45 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 15:49:46 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 15:49:46 + docker inspect -f . ci-base-image-x86_64 15:49:46 . [Pipeline] withDockerContainer 15:49:46 prd-centos7-docker-4c-2g-1968 does not seem to be running inside a container 15:49:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 15:49:48 $ docker top 37f24b76cfd7d9ddfd40a75fd90856509bfba8da25a0433c62cc26fdb4597b54 -eo pid,comm [Pipeline] { [Pipeline] sh 15:49:49 + go version 15:49:49 go version go1.16.6 linux/amd64 [Pipeline] } 15:49:49 $ docker stop --time=1 37f24b76cfd7d9ddfd40a75fd90856509bfba8da25a0433c62cc26fdb4597b54 15:49:50 $ docker rm -f 37f24b76cfd7d9ddfd40a75fd90856509bfba8da25a0433c62cc26fdb4597b54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:49:50 + docker inspect -f . ci-base-image-x86_64 15:49:50 . [Pipeline] withDockerContainer 15:49:51 prd-centos7-docker-4c-2g-1968 does not seem to be running inside a container 15:49:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 15:49:51 $ docker top 48570c127f32e0ed06672d9ce42dc02dffe39633e3c17f86609347600cdb662e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:49:51 + make test 15:49:51 make -C ./app-service-template build 15:49:51 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 15:49:51 go mod tidy 15:49:52 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 15:49:52 go: downloading github.com/google/uuid v1.3.0 15:49:52 go: downloading github.com/stretchr/testify v1.7.0 15:49:52 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 15:49:52 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 15:49:52 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 15:49:52 go: downloading github.com/go-playground/validator/v10 v10.6.1 15:49:52 go: downloading github.com/go-kit/kit v0.9.0 15:49:52 go: downloading gopkg.in/yaml.v2 v2.4.0 15:49:52 go: downloading github.com/davecgh/go-spew v1.1.1 15:49:52 go: downloading github.com/pmezard/go-difflib v1.0.0 15:49:52 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 15:49:52 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 15:49:52 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 15:49:52 go: downloading github.com/stretchr/objx v0.1.0 15:49:52 go: downloading github.com/gorilla/mux v1.8.0 15:49:52 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 15:49:52 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 15:49:52 go: downloading github.com/go-playground/universal-translator v0.17.0 15:49:52 go: downloading github.com/leodido/go-urn v1.2.0 15:49:52 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 15:49:53 go: downloading golang.org/x/text v0.3.2 15:49:53 go: downloading github.com/go-playground/assert/v2 v2.0.1 15:49:53 go: downloading github.com/go-playground/locales v0.13.0 15:49:54 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 15:49:54 go: downloading github.com/go-logfmt/logfmt v0.4.0 15:49:54 go: downloading github.com/go-stack/stack v1.8.0 15:49:54 go: downloading github.com/mitchellh/copystructure v1.0.0 15:49:54 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 15:49:54 go: downloading github.com/gorilla/websocket v1.4.2 15:49:54 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 15:49:54 go: downloading github.com/pelletier/go-toml v1.9.2 15:49:54 go: downloading github.com/hashicorp/consul/api v1.8.1 15:49:54 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 15:49:54 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:49:54 go: downloading github.com/kr/pretty v0.2.0 15:49:54 go: downloading github.com/mitchellh/reflectwalk v1.0.0 15:49:54 go: downloading github.com/x448/float16 v0.8.4 15:49:54 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 15:49:54 go: downloading github.com/hashicorp/go-hclog v0.12.0 15:49:54 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 15:49:54 go: downloading github.com/hashicorp/serf v0.9.5 15:49:54 go: downloading github.com/mitchellh/mapstructure v1.1.2 15:49:54 go: downloading github.com/hashicorp/consul/sdk v0.7.0 15:49:54 go: downloading github.com/hashicorp/go-uuid v1.0.1 15:49:54 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 15:49:54 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:49:54 go: downloading github.com/kr/text v0.1.0 15:49:54 go: downloading github.com/fatih/color v1.9.0 15:49:54 go: downloading github.com/mattn/go-colorable v0.1.6 15:49:54 go: downloading github.com/mattn/go-isatty v0.0.12 15:49:54 go: downloading github.com/mitchellh/go-homedir v1.1.0 15:49:54 go: downloading github.com/pkg/errors v0.8.1 15:49:54 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:49:54 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 15:49:54 go: downloading github.com/hashicorp/go-msgpack v0.5.3 15:49:54 go: downloading github.com/hashicorp/memberlist v0.2.2 15:49:54 go: downloading github.com/go-redis/redis/v7 v7.3.0 15:49:54 go: downloading github.com/pebbe/zmq4 v1.2.7 15:49:54 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 15:49:54 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 15:49:54 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 15:49:54 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:49:54 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:49:54 go: downloading github.com/hashicorp/go-multierror v1.1.0 15:49:54 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 15:49:54 go: downloading github.com/miekg/dns v1.1.26 15:49:54 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:49:54 go: downloading github.com/onsi/gomega v1.7.0 15:49:54 go: downloading github.com/onsi/ginkgo v1.10.1 15:49:55 go: downloading github.com/hashicorp/golang-lru v0.5.0 15:49:55 go: downloading github.com/hashicorp/errwrap v1.0.0 15:49:55 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 15:49:55 go: downloading github.com/hpcloud/tail v1.0.0 15:49:55 go: downloading github.com/golang/protobuf v1.3.2 15:49:55 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 15:49:55 go: downloading gopkg.in/fsnotify.v1 v1.4.7 15:49:55 go: downloading github.com/fsnotify/fsnotify v1.4.7 15:49:55 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 15:50:09 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 15:50:09 make -C ./app-service-template test 15:50:09 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 15:50:09 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 15:50:17 ok new-app-service 0.010s coverage: 48.1% of statements 15:50:17 ? new-app-service/config [no test files] 15:50:17 ok new-app-service/functions 0.009s 15:50:17 CGO_ENABLED=1 go vet ./... 15:50:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1967 in /w/workspace/ndry_app-functions-sdk-go_PR-942 [Pipeline] { [Pipeline] ws 15:50:17 Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout 15:50:19 The recommended git tool is: git 15:50:24 gofmt -l . 15:50:24 [ "`gofmt -l .`" = "" ] 15:50:24 ./bin/test-attribution-txt.sh 15:50:24 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 15:50:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:50:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 15:50:25 using credential edgex-jenkins-ssh 15:50:25 Cloning the remote Git repository 15:50:26 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.014s coverage: 65.4% of statements 15:50:26 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.009s coverage: 93.2% of statements 15:50:26 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 15:50:25 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 15:50:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.023s coverage: 61.8% of statements 15:50:27 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 15:50:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.010s 15:50:27 > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 15:50:27 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:50:27 > git --version # timeout=10 15:50:27 > git --version # 'git version 2.17.1' 15:50:27 using GIT_SSH to set credentials SSH Credentials for GitHub 15:50:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:50:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.042s coverage: 75.2% of statements 15:50:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 15:50:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 15:50:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 15:50:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 15:50:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 15:50:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 15:50:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.014s coverage: 97.3% of statements 15:50:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 15:50:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.006s coverage: 10.5% of statements 15:50:31 Merging remotes/origin/main commit a082b2dad36e6c0ca2a100859279ca83a0af4f9e into PR head commit 39b9db1dbcbfb947209119f0f3182f92b1e83e0f 15:50:31 Merge succeeded, producing a3fd4f335ea4d9538344a6417fcdfc24a4472095 15:50:31 Checking out Revision a3fd4f335ea4d9538344a6417fcdfc24a4472095 (PR-942) 15:50:30 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:50:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:50:30 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:50:30 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:50:30 using GIT_SSH to set credentials SSH Credentials for GitHub 15:50:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/942/head:refs/remotes/origin/PR-942 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:50:31 > git config core.sparsecheckout # timeout=10 15:50:31 > git checkout -f 39b9db1dbcbfb947209119f0f3182f92b1e83e0f # timeout=10 15:50:31 > git remote # timeout=10 15:50:31 > git config --get remote.origin.url # timeout=10 15:50:31 using GIT_SSH to set credentials SSH Credentials for GitHub 15:50:31 > git merge a082b2dad36e6c0ca2a100859279ca83a0af4f9e # timeout=10 15:50:31 > git rev-parse HEAD^{commit} # timeout=10 15:50:31 > git config core.sparsecheckout # timeout=10 15:50:31 > git checkout -f a3fd4f335ea4d9538344a6417fcdfc24a4472095 # timeout=10 15:50:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.069s coverage: 77.0% of statements 15:50:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 15:50:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.008s coverage: 12.5% of statements 15:50:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.013s coverage: 27.3% of statements 15:50:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 15:50:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:50:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.009s coverage: 51.4% of statements 15:50:35 Commit message: "Merge commit 'a082b2dad36e6c0ca2a100859279ca83a0af4f9e' into HEAD" 15:50:35 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 15:50:35 > git rev-list --no-walk 31e7c88fb00a5ef57ca9363ef1db331807e994f0 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:50:36 ========================================================= 15:50:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 15:50:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 15:50:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 15:50:38 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:50:38 595b0fe564bb: Pulling fs layer 15:50:38 24495759ef45: Pulling fs layer 15:50:38 d148012ef14d: Pulling fs layer 15:50:38 e90a11edd702: Pulling fs layer 15:50:38 d77568369979: Pulling fs layer 15:50:38 fc1c9f9a7f3b: Pulling fs layer 15:50:38 170f2ba95c9a: Pulling fs layer 15:50:38 97ac5df62f85: Pulling fs layer 15:50:38 170f2ba95c9a: Waiting 15:50:38 d77568369979: Waiting 15:50:38 97ac5df62f85: Waiting 15:50:38 fc1c9f9a7f3b: Waiting 15:50:38 e90a11edd702: Waiting 15:50:38 d148012ef14d: Verifying Checksum 15:50:38 d148012ef14d: Download complete 15:50:38 24495759ef45: Verifying Checksum 15:50:38 24495759ef45: Download complete 15:50:38 d77568369979: Verifying Checksum 15:50:38 d77568369979: Download complete 15:50:38 fc1c9f9a7f3b: Verifying Checksum 15:50:38 fc1c9f9a7f3b: Download complete 15:50:38 595b0fe564bb: Verifying Checksum 15:50:38 595b0fe564bb: Download complete 15:50:38 170f2ba95c9a: Verifying Checksum 15:50:38 170f2ba95c9a: Download complete 15:50:39 595b0fe564bb: Pull complete 15:50:40 24495759ef45: Pull complete 15:50:40 d148012ef14d: Pull complete 15:50:42 97ac5df62f85: Verifying Checksum 15:50:42 97ac5df62f85: Download complete 15:50:42 e90a11edd702: Verifying Checksum 15:50:42 e90a11edd702: Download complete 15:50:52 e90a11edd702: Pull complete 15:50:53 d77568369979: Pull complete 15:50:53 fc1c9f9a7f3b: Pull complete 15:50:53 170f2ba95c9a: Pull complete 15:50:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.043s coverage: 77.3% of statements 15:50:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.013s coverage: 94.4% of statements 15:50:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:50:59 gofmt -l . 15:50:59 [ "`gofmt -l .`" = "" ] [Pipeline] } 15:50:59 $ docker stop --time=1 48570c127f32e0ed06672d9ce42dc02dffe39633e3c17f86609347600cdb662e 15:51:00 97ac5df62f85: Pull complete 15:51:00 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 15:51:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 15:51:00 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 15:51:00 $ docker rm -f 48570c127f32e0ed06672d9ce42dc02dffe39633e3c17f86609347600cdb662e [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 15:51:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:51:01 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 15:51:03 + docker inspect -f . ci-base-image-arm64 15:51:03 . [Pipeline] withDockerContainer 15:51:03 Stashed 2 file(s) 15:51:03 prd-ubuntu18.04-docker-arm64-4c-16g-1967 does not seem to be running inside a container 15:51:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 15:51:09 $ docker top 3a191be7e8399763e7ab115ab0eab47acb2d66f98d29a66c98df4b6f3a36fc61 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [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 15:51:10 + go version 15:51:10 go version go1.16.6 linux/arm64 [Pipeline] } 15:51:10 $ docker stop --time=1 3a191be7e8399763e7ab115ab0eab47acb2d66f98d29a66c98df4b6f3a36fc61 15:51:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:51:11 15:51:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:51:12 $ docker rm -f 3a191be7e8399763e7ab115ab0eab47acb2d66f98d29a66c98df4b6f3a36fc61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] isUnix [Pipeline] stage [Pipeline] { (Test) [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:51:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:51:13 latest: Pulling from edgex-lftools-log-publisher 15:51:13 b4d181a07f80: Pulling fs layer 15:51:13 a1111a8f2ec3: Pulling fs layer 15:51:13 ed53099fbce6: Pulling fs layer 15:51:13 dc539afda2c1: Pulling fs layer 15:51:13 77bc0d833cb6: Pulling fs layer 15:51:13 9065ff56babe: Pulling fs layer 15:51:13 d287ab97295c: Pulling fs layer 15:51:13 dc539afda2c1: Waiting 15:51:13 77bc0d833cb6: Waiting 15:51:13 9065ff56babe: Waiting 15:51:13 d287ab97295c: Waiting 15:51:13 + docker inspect -f . ci-base-image-arm64 15:51:13 . [Pipeline] withDockerContainer 15:51:13 a1111a8f2ec3: Verifying Checksum 15:51:13 a1111a8f2ec3: Download complete 15:51:13 dc539afda2c1: Verifying Checksum 15:51:13 dc539afda2c1: Download complete 15:51:13 prd-ubuntu18.04-docker-arm64-4c-16g-1967 does not seem to be running inside a container 15:51:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 15:51:14 77bc0d833cb6: Verifying Checksum 15:51:14 77bc0d833cb6: Download complete 15:51:14 9065ff56babe: Verifying Checksum 15:51:14 9065ff56babe: Download complete 15:51:14 ed53099fbce6: Verifying Checksum 15:51:14 ed53099fbce6: Download complete 15:51:15 b4d181a07f80: Verifying Checksum 15:51:15 b4d181a07f80: Download complete 15:51:15 $ docker top 9ba0b59c1378ed261bec97981f174f41e90e1a5564cdd7289dc4367962b0d995 -eo pid,comm [Pipeline] { 15:51:16 b4d181a07f80: Pull complete [Pipeline] fileExists [Pipeline] sh 15:51:16 a1111a8f2ec3: Pull complete 15:51:16 + make test 15:51:16 make -C ./app-service-template build 15:51:16 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 15:51:16 go mod tidy 15:51:16 ed53099fbce6: Pull complete 15:51:16 dc539afda2c1: Pull complete 15:51:17 77bc0d833cb6: Pull complete 15:51:17 9065ff56babe: Pull complete 15:51:17 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 15:51:17 go: downloading github.com/google/uuid v1.3.0 15:51:17 go: downloading github.com/stretchr/testify v1.7.0 15:51:17 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 15:51:17 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 15:51:17 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 15:51:18 go: downloading github.com/pmezard/go-difflib v1.0.0 15:51:18 go: downloading github.com/davecgh/go-spew v1.1.1 15:51:18 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 15:51:18 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 15:51:18 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 15:51:18 go: downloading github.com/stretchr/objx v0.1.0 15:51:18 go: downloading github.com/go-playground/validator/v10 v10.6.1 15:51:18 go: downloading github.com/go-kit/kit v0.9.0 15:51:18 go: downloading gopkg.in/yaml.v2 v2.4.0 15:51:18 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 15:51:18 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 15:51:18 go: downloading github.com/gorilla/mux v1.8.0 15:51:18 d287ab97295c: Verifying Checksum 15:51:18 d287ab97295c: Download complete 15:51:18 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 15:51:18 go: downloading github.com/mitchellh/copystructure v1.0.0 15:51:18 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 15:51:18 go: downloading github.com/gorilla/websocket v1.4.2 15:51:18 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 15:51:18 go: downloading github.com/hashicorp/consul/api v1.8.1 15:51:18 go: downloading github.com/pelletier/go-toml v1.9.2 15:51:18 go: downloading github.com/go-playground/universal-translator v0.17.0 15:51:19 go: downloading github.com/leodido/go-urn v1.2.0 15:51:19 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 15:51:19 go: downloading golang.org/x/text v0.3.2 15:51:19 go: downloading github.com/go-playground/assert/v2 v2.0.1 15:51:19 go: downloading github.com/go-playground/locales v0.13.0 15:51:22 go: downloading github.com/mitchellh/reflectwalk v1.0.0 15:51:22 go: downloading github.com/kr/pretty v0.2.0 15:51:22 go: downloading github.com/x448/float16 v0.8.4 15:51:22 go: downloading github.com/go-logfmt/logfmt v0.4.0 15:51:22 go: downloading github.com/go-stack/stack v1.8.0 15:51:22 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 15:51:22 go: downloading github.com/hashicorp/go-hclog v0.12.0 15:51:22 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 15:51:22 go: downloading github.com/hashicorp/serf v0.9.5 15:51:22 go: downloading github.com/mitchellh/mapstructure v1.1.2 15:51:22 go: downloading github.com/hashicorp/consul/sdk v0.7.0 15:51:22 go: downloading github.com/hashicorp/go-uuid v1.0.1 15:51:22 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 15:51:22 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 15:51:22 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:51:22 go: downloading github.com/kr/text v0.1.0 15:51:22 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:51:22 go: downloading github.com/mitchellh/go-homedir v1.1.0 15:51:22 go: downloading github.com/fatih/color v1.9.0 15:51:22 go: downloading github.com/mattn/go-colorable v0.1.6 15:51:22 go: downloading github.com/mattn/go-isatty v0.0.12 15:51:22 go: downloading github.com/pkg/errors v0.8.1 15:51:22 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 15:51:22 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 15:51:22 go: downloading github.com/go-redis/redis/v7 v7.3.0 15:51:22 go: downloading github.com/pebbe/zmq4 v1.2.7 15:51:22 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:51:22 go: downloading github.com/hashicorp/go-msgpack v0.5.3 15:51:22 go: downloading github.com/hashicorp/memberlist v0.2.2 15:51:22 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 15:51:22 d287ab97295c: Pull complete 15:51:22 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:51:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:51:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:51:22 prd-centos7-docker-4c-2g-1968 does not seem to be running inside a container 15:51:22 $ 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/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 15:51:23 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 15:51:23 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:51:23 go: downloading github.com/onsi/ginkgo v1.10.1 15:51:23 go: downloading github.com/onsi/gomega v1.7.0 15:51:23 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:51:23 go: downloading github.com/hashicorp/go-multierror v1.1.0 15:51:23 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 15:51:23 go: downloading github.com/miekg/dns v1.1.26 15:51:23 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:51:23 go: downloading github.com/hashicorp/golang-lru v0.5.0 15:51:23 go: downloading github.com/hashicorp/errwrap v1.0.0 15:51:23 go: downloading github.com/hpcloud/tail v1.0.0 15:51:23 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 15:51:23 go: downloading github.com/golang/protobuf v1.3.2 15:51:23 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 15:51:23 go: downloading gopkg.in/fsnotify.v1 v1.4.7 15:51:23 go: downloading github.com/fsnotify/fsnotify v1.4.7 15:51:23 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 15:51:26 $ docker top cdcae835393def3514622864fa0acdae13551981ff81685b8203c3dddbd2be1a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:51:27 ---> job-cost.sh 15:51:27 lf-activate-venv: SKIPPING 15:51:27 INFO: No Stack... 15:51:28 INFO: Retrieving Pricing Info for: v3-standard-2 15:51:28 INFO: Archiving Costs [Pipeline] sh 15:51:28 + cat /w/workspace/app-functions-sdk-go/4/archives/cost.csv 15:51:28 + cut -d, -f6 [Pipeline] lock 15:51:28 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-942-4-stack-cost] 15:51:28 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-942-4-stack-cost] did not exist. Created. 15:51:28 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-942-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:51:29 + echo total: 0.05999999865889549 [Pipeline] stash 15:51:29 Stashed 1 file(s) [Pipeline] } 15:51:29 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-942-4-stack-cost] [Pipeline] // lock [Pipeline] } 15:51:29 $ docker stop --time=1 cdcae835393def3514622864fa0acdae13551981ff81685b8203c3dddbd2be1a 15:51:30 $ docker rm -f cdcae835393def3514622864fa0acdae13551981ff81685b8203c3dddbd2be1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:52:04 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 15:52:04 make -C ./app-service-template test 15:52:04 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 15:52:04 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 15:52:31 ok new-app-service 0.047s coverage: 48.1% of statements 15:52:31 ? new-app-service/config [no test files] 15:52:31 ok new-app-service/functions 0.038s 15:52:31 CGO_ENABLED=1 go vet ./... 15:52:58 gofmt -l . 15:52:58 [ "`gofmt -l .`" = "" ] 15:52:58 ./bin/test-attribution-txt.sh 15:52:58 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 15:52:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:53:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 15:53:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.123s coverage: 65.4% of statements 15:53:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.090s coverage: 93.2% of statements 15:53:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 15:53:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.095s coverage: 61.8% of statements 15:53:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 15:53:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.034s 15:53:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.132s coverage: 75.2% of statements 15:53:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 15:53:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 15:53:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 15:53:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 15:53:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 15:53:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 15:53:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.031s coverage: 97.3% of statements 15:53:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 15:53:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.034s coverage: 10.5% of statements 15:53:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.207s coverage: 77.0% of statements 15:53:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 15:53:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.072s coverage: 12.5% of statements 15:53:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.039s coverage: 27.3% of statements 15:53:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 15:53:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:53:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.043s coverage: 51.4% of statements 15:53:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.113s coverage: 77.3% of statements 15:53:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.035s coverage: 94.4% of statements 15:53:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:53:44 gofmt -l . 15:53:45 [ "`gofmt -l .`" = "" ] [Pipeline] } 15:53:45 $ docker stop --time=1 9ba0b59c1378ed261bec97981f174f41e90e1a5564cdd7289dc4367962b0d995 15:53:47 $ docker rm -f 9ba0b59c1378ed261bec97981f174f41e90e1a5564cdd7289dc4367962b0d995 [Pipeline] // withDockerContainer [Pipeline] sh 15:53:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:53:50 Warning: overwriting stash ‘coverage-report’ 15:53:51 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 15:53:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:53:53 15:53:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:53:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:53:54 arm64: Pulling from edgex-lftools-log-publisher 15:53:54 448f6bf000e3: Pulling fs layer 15:53:54 f757da607395: Pulling fs layer 15:53:54 05883995daec: Pulling fs layer 15:53:54 8603b9c90790: Pulling fs layer 15:53:54 1560dd03e051: Pulling fs layer 15:53:54 27f5ce0e4adf: Pulling fs layer 15:53:54 c2d8d7efcc4b: Pulling fs layer 15:53:54 1560dd03e051: Waiting 15:53:54 8603b9c90790: Waiting 15:53:54 f757da607395: Verifying Checksum 15:53:54 f757da607395: Download complete 15:53:54 8603b9c90790: Verifying Checksum 15:53:54 8603b9c90790: Download complete 15:53:54 1560dd03e051: Verifying Checksum 15:53:54 1560dd03e051: Download complete 15:53:54 27f5ce0e4adf: Verifying Checksum 15:53:54 27f5ce0e4adf: Download complete 15:53:55 05883995daec: Verifying Checksum 15:53:55 05883995daec: Download complete 15:53:56 448f6bf000e3: Verifying Checksum 15:53:56 448f6bf000e3: Download complete 15:53:58 c2d8d7efcc4b: Verifying Checksum 15:53:58 c2d8d7efcc4b: Download complete 15:53:59 448f6bf000e3: Pull complete 15:54:00 f757da607395: Pull complete 15:54:02 05883995daec: Pull complete 15:54:02 8603b9c90790: Pull complete 15:54:03 1560dd03e051: Pull complete 15:54:03 27f5ce0e4adf: Pull complete 15:54:18 c2d8d7efcc4b: Pull complete 15:54:18 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 15:54:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:54:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:54:19 prd-ubuntu18.04-docker-arm64-4c-16g-1967 does not seem to be running inside a container 15:54:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 15:54:24 $ docker top dca54582d66236407df7fc94e332adbf3b06c3617b06372e7f61f0f26bcc431e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:54:25 ---> job-cost.sh 15:54:25 lf-activate-venv: SKIPPING 15:54:25 INFO: No Stack... 15:54:25 INFO: Retrieving Pricing Info for: v3-standard-4 15:54:26 INFO: Archiving Costs [Pipeline] sh 15:54:27 + cut -d, -f6 15:54:27 + cat /w/workspace/app-functions-sdk-go/4/archives/cost.csv [Pipeline] lock 15:54:27 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-942-4-stack-cost] 15:54:27 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-942-4-stack-cost] did not exist. Created. 15:54:27 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-942-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:54:27 /w/workspace/app-functions-sdk-go/4@tmp/durable-884c2066/script.sh: 1: /w/workspace/app-functions-sdk-go/4@tmp/durable-884c2066/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 15:54:28 + echo total: 0.10999999940395355 [Pipeline] stash 15:54:28 Warning: overwriting stash ‘stack-cost’ 15:54:28 Stashed 1 file(s) [Pipeline] } 15:54:28 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-942-4-stack-cost] [Pipeline] // lock [Pipeline] } 15:54:28 $ docker stop --time=1 dca54582d66236407df7fc94e332adbf3b06c3617b06372e7f61f0f26bcc431e 15:54:32 $ docker rm -f dca54582d66236407df7fc94e332adbf3b06c3617b06372e7f61f0f26bcc431e [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 15:54:33 provisioning config files... 15:54:33 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-942@tmp/config1634260626940169841tmp [Pipeline] { [Pipeline] sh 15:54:35 + set +x 15:54:35 + bash -s -- 15:54:35 + curl -s https://codecov.io/bash 15:54:35 15:54:35 _____ _ 15:54:35 / ____| | | 15:54:35 | | ___ __| | ___ ___ _____ __ 15:54:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:54:35 | |___| (_) | (_| | __/ (_| (_) \ V / 15:54:35 \_____\___/ \__,_|\___|\___\___/ \_/ 15:54:35 Bash-1.0.6 15:54:35 15:54:35 15:54:35 ==> git version 2.24.4 found 15:54:35 ==> 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 15:54:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 15:54:35 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 15:54:35 ==> Jenkins CI detected. 15:54:35 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-942 15:54:35 project root: . 15:54:35 --> token set from env 15:54:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:54:35 ==> Running gcov in . (disable via -X gcov) 15:54:35 ==> Python coveragepy not found 15:54:35 ==> Searching for coverage reports in: 15:54:35 + . 15:54:35 -> Found 2 reports 15:54:35 ==> Detecting git/mercurial file structure 15:54:35 ==> Reading reports 15:54:35 + ./app-service-template/coverage.out bytes=1219 15:54:35 + ./coverage.out bytes=100525 15:54:35 ==> Appending adjustments 15:54:35 https://docs.codecov.io/docs/fixing-reports 15:54:35 + Found adjustments 15:54:35 ==> Gzipping contents 15:54:35 20K /tmp/codecov.Cad4Yl.gz 15:54:35 ==> Uploading reports 15:54:35 url: https://codecov.io 15:54:35 query: branch=PR-942&commit=2815785a5bd39d8ef819676a2bf21095f5e529dd&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-942%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=942&job=&cmd_args= 15:54:35 -> Pinging Codecov 15:54:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-942&commit=2815785a5bd39d8ef819676a2bf21095f5e529dd&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-942%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=942&job=&cmd_args= 15:54:35 -> Uploading to 15:54:35 https://storage.googleapis.com/codecov/v4/raw/2021-09-10/3D8B5DFFC46A037C893635FACE044666/2815785a5bd39d8ef819676a2bf21095f5e529dd/b0003968-2c52-4992-ad0c-66ae6e3b9bef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210910%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210910T155435Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2004974445270ee896ebe91d4ac8b9933ca24b1f19cb967cd5efba78a2d21a65 15:54:35 % Total % Received % Xferd Average Speed Time Time Time Current 15:54:35 Dload Upload Total Spent Left Speed 15:54:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17462 0 0 100 17462 0 48580 --:--:-- --:--:-- --:--:-- 48640 15:54:36 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/2815785a5bd39d8ef819676a2bf21095f5e529dd [Pipeline] } 15:54:36 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 15:54:38 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-942/archives ']' [Pipeline] libraryResource [Pipeline] sh 15:54:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:54:39 ---> package-listing.sh 15:54:39 ++ facter osfamily 15:54:39 ++ tr '[:upper:]' '[:lower:]' 15:54:39 + OS_FAMILY=redhat 15:54:39 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-942 15:54:39 + START_PACKAGES=/tmp/packages_start.txt 15:54:39 + END_PACKAGES=/tmp/packages_end.txt 15:54:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:54:39 + PACKAGES=/tmp/packages_start.txt 15:54:39 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-942 ']' 15:54:39 + PACKAGES=/tmp/packages_end.txt 15:54:39 + case "${OS_FAMILY}" in 15:54:39 + rpm -qa 15:54:39 + sort 15:54:39 + '[' -f /tmp/packages_start.txt ']' 15:54:39 + '[' -f /tmp/packages_end.txt ']' 15:54:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:54:39 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-942 ']' 15:54:39 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-942/archives/ 15:54:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-942/archives/ [Pipeline] echo 15:54:40 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-942/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:54:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:54:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:54:42 15:54:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:54:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:54:42 latest: Pulling from edgex-lftools-log-publisher 15:54:42 b4d181a07f80: Pulling fs layer 15:54:42 a1111a8f2ec3: Pulling fs layer 15:54:42 ed53099fbce6: Pulling fs layer 15:54:42 dc539afda2c1: Pulling fs layer 15:54:42 77bc0d833cb6: Pulling fs layer 15:54:42 9065ff56babe: Pulling fs layer 15:54:42 d287ab97295c: Pulling fs layer 15:54:42 dc539afda2c1: Waiting 15:54:42 77bc0d833cb6: Waiting 15:54:42 9065ff56babe: Waiting 15:54:42 d287ab97295c: Waiting 15:54:42 a1111a8f2ec3: Verifying Checksum 15:54:42 a1111a8f2ec3: Download complete 15:54:42 dc539afda2c1: Verifying Checksum 15:54:42 dc539afda2c1: Download complete 15:54:42 77bc0d833cb6: Verifying Checksum 15:54:42 77bc0d833cb6: Download complete 15:54:43 9065ff56babe: Verifying Checksum 15:54:43 9065ff56babe: Download complete 15:54:43 ed53099fbce6: Verifying Checksum 15:54:43 ed53099fbce6: Download complete 15:54:44 b4d181a07f80: Verifying Checksum 15:54:44 b4d181a07f80: Download complete 15:54:45 b4d181a07f80: Pull complete 15:54:45 a1111a8f2ec3: Pull complete 15:54:45 ed53099fbce6: Pull complete 15:54:45 dc539afda2c1: Pull complete 15:54:46 77bc0d833cb6: Pull complete 15:54:46 9065ff56babe: Pull complete 15:54:47 d287ab97295c: Verifying Checksum 15:54:47 d287ab97295c: Download complete 15:54:51 d287ab97295c: Pull complete 15:54:51 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:54:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:54:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:54:51 prd-centos7-docker-4c-2g-1965 does not seem to be running inside a container 15:54:53 $ 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-942/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-942 -v /w/workspace/ndry_app-functions-sdk-go_PR-942:/w/workspace/ndry_app-functions-sdk-go_PR-942:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-942@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-942@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 15:54:56 $ docker top b91a07876d21e275eac1938f5e24af2b9686671ed10a63259340f2f4f7c6f6c3 -eo pid,comm [Pipeline] { [Pipeline] sh 15:54:56 + touch /tmp/pre-build-complete [Pipeline] sh 15:54:57 + mkdir -p /var/log/sysstat [Pipeline] sh 15:54:57 + ls /var/log/sa-host 15:54:57 + sadf -c /var/log/sa-host/sa05 15:54:57 file_magic: OK 15:54:57 HZ: Using current value: 100 15:54:57 file_header: OK 15:54:57 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 15:54:57 Statistics: 15:54:57 Hnuu...uuuununununu...Hnuu...uuuununununu... 15:54:57 File successfully converted to sysstat format version 12.0.3 15:54:57 + sadf -c /var/log/sa-host/sa10 15:54:57 file_magic: OK 15:54:57 HZ: Using current value: 100 15:54:57 file_header: OK 15:54:57 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 15:54:57 Statistics: 15:54:57 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:54:57 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:54:59 provisioning config files... 15:54:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-942@tmp/config7105191263144568550tmp [Pipeline] { [Pipeline] echo 15:54:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:54:59 ---> create-netrc.sh [Pipeline] } 15:54:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:55:00 ---> python-tools-install.sh [Pipeline] echo 15:55:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:55:00 ---> sudo-logs.sh 15:55:00 Archiving 'sudo' log.. 15:55:00 sudo: unable to resolve host prd-centos7-docker-4c-2g-1965.vexxhost.local: Name or service not known 15:55:00 sudo: unable to resolve host prd-centos7-docker-4c-2g-1965.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 15:55:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:55:00 ---> job-cost.sh 15:55:00 lf-activate-venv: SKIPPING 15:55:00 DEBUG: total: 0.10999999940395355 15:55:00 INFO: Retrieving Stack Cost... 15:55:01 INFO: Retrieving Pricing Info for: v3-standard-2 15:55:02 INFO: Archiving Costs [Pipeline] echo 15:55:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:55:02 ---> logs-deploy.sh 15:55:02 lf-activate-venv: SKIPPING 15:55:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-942/4 15:55:02 INFO: archiving workspace using pattern(s): 15:55:03 Archives upload complete. 15:55:03 INFO: archiving logs to Nexus 15:55:03 ---> uname -a: 15:55:03 Linux prd-centos7-docker-4c-2g-1965.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 15:55:03 15:55:03 15:55:03 ---> lscpu: 15:55:03 Architecture: x86_64 15:55:03 CPU op-mode(s): 32-bit, 64-bit 15:55:03 Byte Order: Little Endian 15:55:03 Address sizes: 40 bits physical, 48 bits virtual 15:55:03 CPU(s): 2 15:55:03 On-line CPU(s) list: 0,1 15:55:03 Thread(s) per core: 1 15:55:03 Core(s) per socket: 1 15:55:03 Socket(s): 2 15:55:03 NUMA node(s): 1 15:55:03 Vendor ID: AuthenticAMD 15:55:03 CPU family: 23 15:55:03 Model: 49 15:55:03 Model name: AMD EPYC-Rome Processor 15:55:03 Stepping: 0 15:55:03 CPU MHz: 2799.998 15:55:03 BogoMIPS: 5599.99 15:55:03 Virtualization: AMD-V 15:55:03 Hypervisor vendor: KVM 15:55:03 Virtualization type: full 15:55:03 L1d cache: 32K 15:55:03 L1i cache: 32K 15:55:03 L2 cache: 512K 15:55:03 L3 cache: 16384K 15:55:03 NUMA node0 CPU(s): 0,1 15:55:03 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 15:55:03 15:55:03 15:55:03 ---> nproc: 15:55:03 2 15:55:03 15:55:03 15:55:03 ---> df -h: 15:55:03 Filesystem Size Used Avail Use% Mounted on 15:55:03 overlay 40G 7.7G 33G 20% / 15:55:03 tmpfs 64M 0 64M 0% /dev 15:55:03 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 15:55:03 shm 64M 0 64M 0% /dev/shm 15:55:03 /dev/vda1 40G 7.7G 33G 20% /facter-os 15:55:03 15:55:03 15:55:03 ---> sar -b -r -n DEV: 15:55:03 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/10/21 _x86_64_ (2 CPU) 15:55:03 15:55:03 15:46:37 LINUX RESTART (2 CPU) 15:55:03 15:55:03 15:47:01 tps rtps wtps bread/s bwrtn/s 15:55:03 15:48:02 110.29 16.22 94.07 5477.99 6286.38 15:55:03 15:49:01 1.85 0.00 1.85 0.00 39.65 15:55:03 15:50:01 0.40 0.00 0.40 0.00 6.08 15:55:03 15:51:01 0.25 0.00 0.25 0.00 3.22 15:55:03 15:52:01 0.27 0.00 0.27 0.00 3.27 15:55:03 15:53:01 0.30 0.00 0.30 0.00 4.90 15:55:03 15:54:01 0.25 0.00 0.25 0.00 2.72 15:55:03 Average: 16.27 2.32 13.95 784.75 909.03 15:55:03 15:55:03 15:47:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:55:03 15:48:02 5426664 0 810600 10.12 2620 1769056 1294452 14.29 602536 1579464 132 15:55:03 15:49:01 5432704 0 804552 10.05 2620 1769064 1250376 13.80 597288 1579500 20 15:55:03 15:50:01 5433812 0 803440 10.03 2620 1769068 1239068 13.68 603816 1571908 8 15:55:03 15:51:01 5432400 0 804844 10.05 2620 1769076 1239180 13.68 604612 1572488 16 15:55:03 15:52:01 5437124 0 800116 9.99 2620 1769080 1203152 13.28 594544 1578964 8 15:55:03 15:53:01 5433988 0 803196 10.03 2620 1769136 1203452 13.29 597292 1579024 24 15:55:03 15:54:01 5436892 0 800340 9.99 2620 1769088 1203152 13.28 595592 1579012 20 15:55:03 Average: 5433369 0 803870 10.04 2620 1769081 1233262 13.62 599383 1577194 33 15:55:03 15:55:03 15:47:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:55:03 15:48:02 eth0 638.49 384.40 1613.00 86.12 0.00 0.00 0.00 0.00 15:55:03 15:48:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:55:03 15:48:02 docker0 41.82 59.81 5.92 311.91 0.00 0.00 0.00 0.00 15:55:03 15:49:01 eth0 2.10 0.51 0.74 0.27 0.00 0.00 0.00 0.00 15:55:03 15:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:55:03 15:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:55:03 15:50:01 eth0 0.72 0.32 0.29 0.20 0.00 0.00 0.00 0.00 15:55:03 15:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:55:03 15:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:55:03 15:51:01 eth0 1.13 0.22 0.32 0.19 0.00 0.00 0.00 0.00 15:55:03 15:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:55:03 15:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:55:03 15:52:01 eth0 0.15 0.07 0.01 0.01 0.00 0.00 0.00 0.00 15:55:03 15:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:55:03 15:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:55:03 15:53:01 eth0 1.63 0.77 0.72 0.47 0.00 0.00 0.00 0.00 15:55:03 15:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:55:03 15:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:55:03 15:54:01 eth0 0.10 0.07 0.01 0.01 0.00 0.00 0.00 0.00 15:55:03 15:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:55:03 15:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:55:03 Average: eth0 92.30 55.34 231.37 12.50 0.00 0.00 0.00 0.00 15:55:03 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:55:03 Average: docker0 5.99 8.57 0.85 44.68 0.00 0.00 0.00 0.00 15:55:03 15:55:03 15:55:03 ---> sar -P ALL: 15:55:03 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/10/21 _x86_64_ (2 CPU) 15:55:03 15:55:03 15:46:37 LINUX RESTART (2 CPU) 15:55:03 15:55:03 15:47:01 CPU %user %nice %system %iowait %steal %idle 15:55:03 15:48:02 all 16.47 0.00 3.45 2.51 0.07 77.50 15:55:03 15:48:02 0 14.52 0.00 4.60 4.01 0.07 76.79 15:55:03 15:48:02 1 18.41 0.00 2.30 1.01 0.07 78.20 15:55:03 15:49:01 all 0.24 0.00 0.08 0.00 0.01 99.67 15:55:03 15:49:01 0 0.39 0.00 0.07 0.00 0.02 99.52 15:55:03 15:49:01 1 0.08 0.00 0.10 0.00 0.00 99.81 15:55:03 15:50:01 all 0.22 0.00 0.06 0.00 0.02 99.71 15:55:03 15:50:01 0 0.22 0.00 0.07 0.00 0.02 99.70 15:55:03 15:50:01 1 0.22 0.00 0.05 0.00 0.02 99.72 15:55:03 15:51:01 all 0.23 0.00 0.12 0.00 0.02 99.63 15:55:03 15:51:01 0 0.05 0.00 0.10 0.00 0.02 99.83 15:55:03 15:51:01 1 0.42 0.00 0.13 0.00 0.02 99.43 15:55:03 15:52:01 all 0.07 0.00 0.06 0.00 0.02 99.86 15:55:03 15:52:01 0 0.05 0.00 0.05 0.00 0.02 99.88 15:55:03 15:52:01 1 0.08 0.00 0.07 0.00 0.02 99.83 15:55:03 15:53:01 all 0.24 0.00 0.06 0.00 0.02 99.68 15:55:03 15:53:01 0 0.30 0.00 0.07 0.00 0.03 99.60 15:55:03 15:53:01 1 0.18 0.00 0.05 0.00 0.00 99.77 15:55:03 15:54:01 all 0.26 0.00 0.05 0.00 0.02 99.67 15:55:03 15:54:01 0 0.45 0.00 0.03 0.00 0.00 99.52 15:55:03 15:54:01 1 0.07 0.00 0.07 0.00 0.03 99.83 15:55:03 Average: all 2.48 0.00 0.54 0.35 0.02 96.61 15:55:03 Average: 0 2.23 0.00 0.70 0.56 0.02 96.49 15:55:03 Average: 1 2.72 0.00 0.39 0.14 0.02 96.72 15:55:03 15:55:03 15:55:03