Pull request #941 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of AlexCuse for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 29bcd0b64e283e39b4457cc4ca5ad789a08507d1+a082b2dad36e6c0ca2a100859279ca83a0af4f9e (0a05bd6d3faad95eb8d209dec37c2125dc2165aa) 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-ssh6356816509432527225.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-ssh2391045405106847431.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-941/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-941/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5244931106946778297.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-ssh5920239097478621330.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-941/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-941/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5136244666799296651.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1976’ Running on prd-centos7-docker-4c-2g-1979 in /w/workspace/ndry_app-functions-sdk-go_PR-941 [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-941 # 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-941@tmp/jenkins-gitclient-ssh7612895196529220685.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a082b2dad36e6c0ca2a100859279ca83a0af4f9e into PR head commit 29bcd0b64e283e39b4457cc4ca5ad789a08507d1 Merge succeeded, producing ee34e2065ad995b94681cea489e5384c32398f1d Checking out Revision ee34e2065ad995b94681cea489e5384c32398f1d (PR-941) > 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-941@tmp/jenkins-gitclient-ssh1568431396585672974.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/941/head:refs/remotes/origin/PR-941 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 29bcd0b64e283e39b4457cc4ca5ad789a08507d1 # 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-941@tmp/jenkins-gitclient-ssh596710265186215247.key > git merge a082b2dad36e6c0ca2a100859279ca83a0af4f9e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ee34e2065ad995b94681cea489e5384c32398f1d # 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 17:10:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:10:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:10:52 ========================================================= 17:10:52 EdgeX Global Pipelines Version Info 17:10:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 38c5b8efdaab45501f26e844d9d8d0c1bc0329ec # timeout=10 17:10:53 ------------------- 17:10:53 stable info: 17:10:53 ------------------- 17:10:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:10:53 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 17:10:53 Message: update stable to v1.0.205 17:10:54 ------------------- 17:10:54 experimental info: 17:10:54 ------------------- 17:10:54 Commited By: **** collab-it+edgex@linuxfoundation.org 17:10:54 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 17:10:54 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:10:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 17:10:54 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-941 [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-941 [Pipeline] echo 17:10:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-941 [Pipeline] echo 17:10:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ee34e2065ad995b94681cea489e5384c32398f1d [Pipeline] echo 17:10:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ee34e20 [Pipeline] echo 17:10:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:10:59 + git log --format=format:%s -1 ee34e2065ad995b94681cea489e5384c32398f1d [Pipeline] echo 17:10:59 GIT_COMMIT: ee34e2065ad995b94681cea489e5384c32398f1d, Commit Message: Merge commit 'a082b2dad36e6c0ca2a100859279ca83a0af4f9e' into HEAD [Pipeline] echo 17:10:59 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:11:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:11:00 17:11:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:11:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:11:00 latest: Pulling from edgex-devops/git-semver 17:11:00 31603596830f: Pulling fs layer 17:11:00 04fac38145f0: Pulling fs layer 17:11:00 701f6daf10bf: Pulling fs layer 17:11:00 24f72da36158: Pulling fs layer 17:11:00 24f72da36158: Waiting 17:11:00 04fac38145f0: Verifying Checksum 17:11:00 04fac38145f0: Download complete 17:11:00 31603596830f: Verifying Checksum 17:11:00 31603596830f: Download complete 17:11:00 24f72da36158: Verifying Checksum 17:11:00 24f72da36158: Download complete 17:11:01 31603596830f: Pull complete 17:11:01 701f6daf10bf: Verifying Checksum 17:11:01 701f6daf10bf: Download complete 17:11:01 04fac38145f0: Pull complete 17:11:01 701f6daf10bf: Pull complete 17:11:01 24f72da36158: Pull complete 17:11:01 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 17:11:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:11:01 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:11:01 prd-centos7-docker-4c-2g-1979 does not seem to be running inside a container 17:11:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-941 -v /w/workspace/ndry_app-functions-sdk-go_PR-941:/w/workspace/ndry_app-functions-sdk-go_PR-941:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-941@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-941@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:11:03 $ docker top c6bf0034f1fcea943c99d610bc9324fc95692f2fd909d51c96f5379b1e642c9c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:11:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:11:03 [ssh-agent] Looking for ssh-agent implementation... 17:11:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:11:03 $ docker exec c6bf0034f1fcea943c99d610bc9324fc95692f2fd909d51c96f5379b1e642c9c ssh-agent 17:11:03 SSH_AUTH_SOCK=/tmp/ssh-wxX6oFfULmrA/agent.14 17:11:03 SSH_AGENT_PID=21 17:11:04 Running ssh-add (command line suppressed) 17:11:04 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-941@tmp/private_key_6405108112501186512.key (/w/workspace/ndry_app-functions-sdk-go_PR-941@tmp/private_key_6405108112501186512.key) 17:11:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:11:04 + git tag --points-at HEAD [Pipeline] } 17:11:04 $ docker exec --env ******** --env ******** c6bf0034f1fcea943c99d610bc9324fc95692f2fd909d51c96f5379b1e642c9c ssh-agent -k 17:11:04 unset SSH_AUTH_SOCK; 17:11:04 unset SSH_AGENT_PID; 17:11:04 echo Agent pid 21 killed; 17:11:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:11:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:11:04 [ssh-agent] Looking for ssh-agent implementation... 17:11:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:11:04 $ docker exec c6bf0034f1fcea943c99d610bc9324fc95692f2fd909d51c96f5379b1e642c9c ssh-agent 17:11:04 SSH_AUTH_SOCK=/tmp/ssh-fBxQtRM02WrZ/agent.55 17:11:04 SSH_AGENT_PID=61 17:11:04 Running ssh-add (command line suppressed) 17:11:04 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-941@tmp/private_key_2471510629719646599.key (/w/workspace/ndry_app-functions-sdk-go_PR-941@tmp/private_key_2471510629719646599.key) 17:11:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:11:05 + git semver init 17:11:05 # -> Open(): unable to determine branch for HEAD 17:11:05 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-941/.git 17:11:05 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-941 17:11:05 # $SEMVER_REMOTE_NAME = origin 17:11:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:11:05 # $SEMVER_USER_NAME = edgex-jenkins 17:11:05 # $SEMVER_BRANCH = PR-941 17:11:05 # $SEMVER_TEMP = /tmp/semver-109019517 17:11:05 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 17:11:07 # '/tmp/semver-109019517' -> '/w/workspace/ndry_app-functions-sdk-go_PR-941/.semver' 17:11:07 # -> Force: false 17:11:07 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-941/.semver [Pipeline] } 17:11:07 $ docker exec --env ******** --env ******** c6bf0034f1fcea943c99d610bc9324fc95692f2fd909d51c96f5379b1e642c9c ssh-agent -k 17:11:07 unset SSH_AUTH_SOCK; 17:11:07 unset SSH_AGENT_PID; 17:11:07 echo Agent pid 61 killed; 17:11:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:11:07 + git semver [Pipeline] } 17:11:07 $ docker stop --time=1 c6bf0034f1fcea943c99d610bc9324fc95692f2fd909d51c96f5379b1e642c9c 17:11:09 $ docker rm -f c6bf0034f1fcea943c99d610bc9324fc95692f2fd909d51c96f5379b1e642c9c [Pipeline] // withDockerContainer [Pipeline] sh 17:11:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:11:09 Stashed 1 file(s) [Pipeline] echo 17:11:09 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 17:11:25 Still waiting to schedule task 17:11:25 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:11:25 Still waiting to schedule task 17:11:25 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 17:13:50 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1980 in /w/workspace/ndry_app-functions-sdk-go_PR-941 [Pipeline] { [Pipeline] ws 17:13:50 Running in /w/workspace/app-functions-sdk-go/6 [Pipeline] { [Pipeline] checkout 17:13:50 The recommended git tool is: git 17:13:57 using credential edgex-jenkins-ssh 17:13:57 Cloning the remote Git repository 17:13:57 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:13:57 > git init /w/workspace/app-functions-sdk-go/6 # timeout=10 17:13:57 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:13:57 > git --version # timeout=10 17:13:57 > git --version # 'git version 2.17.1' 17:13:57 using GIT_SSH to set credentials SSH Credentials for GitHub 17:13:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:14:02 Merging remotes/origin/main commit a082b2dad36e6c0ca2a100859279ca83a0af4f9e into PR head commit 29bcd0b64e283e39b4457cc4ca5ad789a08507d1 17:14:01 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:14:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:14:01 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:14:01 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:14:01 using GIT_SSH to set credentials SSH Credentials for GitHub 17:14:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/941/head:refs/remotes/origin/PR-941 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:14:02 Merge succeeded, producing cb1e09c433aadb6c3d8b9095048df6edaca1ceff 17:14:02 Checking out Revision cb1e09c433aadb6c3d8b9095048df6edaca1ceff (PR-941) 17:14:02 > git config core.sparsecheckout # timeout=10 17:14:02 > git checkout -f 29bcd0b64e283e39b4457cc4ca5ad789a08507d1 # timeout=10 17:14:02 > git remote # timeout=10 17:14:02 > git config --get remote.origin.url # timeout=10 17:14:02 using GIT_SSH to set credentials SSH Credentials for GitHub 17:14:02 > git merge a082b2dad36e6c0ca2a100859279ca83a0af4f9e # timeout=10 17:14:02 > git rev-parse HEAD^{commit} # timeout=10 17:14:02 > git config core.sparsecheckout # timeout=10 17:14:02 > git checkout -f cb1e09c433aadb6c3d8b9095048df6edaca1ceff # timeout=10 17:14:06 Commit message: "Merge commit 'a082b2dad36e6c0ca2a100859279ca83a0af4f9e' into HEAD" 17:14:06 First time build. Skipping changelog. 17:14:06 > git rev-list --no-walk 38c5b8efdaab45501f26e844d9d8d0c1bc0329ec # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:14:07 ========================================================= 17:14:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 17:14:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:14:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 17:14:09 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:14:09 595b0fe564bb: Pulling fs layer 17:14:09 24495759ef45: Pulling fs layer 17:14:09 d148012ef14d: Pulling fs layer 17:14:09 e90a11edd702: Pulling fs layer 17:14:09 d77568369979: Pulling fs layer 17:14:09 fc1c9f9a7f3b: Pulling fs layer 17:14:09 170f2ba95c9a: Pulling fs layer 17:14:09 97ac5df62f85: Pulling fs layer 17:14:09 d77568369979: Waiting 17:14:09 170f2ba95c9a: Waiting 17:14:09 97ac5df62f85: Waiting 17:14:09 e90a11edd702: Waiting 17:14:09 fc1c9f9a7f3b: Waiting 17:14:09 d148012ef14d: Download complete 17:14:09 24495759ef45: Download complete 17:14:09 d77568369979: Verifying Checksum 17:14:09 d77568369979: Download complete 17:14:09 fc1c9f9a7f3b: Verifying Checksum 17:14:09 fc1c9f9a7f3b: Download complete 17:14:09 595b0fe564bb: Verifying Checksum 17:14:09 170f2ba95c9a: Verifying Checksum 17:14:09 170f2ba95c9a: Download complete 17:14:10 595b0fe564bb: Pull complete 17:14:10 24495759ef45: Pull complete 17:14:11 d148012ef14d: Pull complete 17:14:13 97ac5df62f85: Verifying Checksum 17:14:13 97ac5df62f85: Download complete 17:14:14 e90a11edd702: Verifying Checksum 17:14:14 e90a11edd702: Download complete 17:14:24 e90a11edd702: Pull complete 17:14:24 d77568369979: Pull complete 17:14:24 fc1c9f9a7f3b: Pull complete 17:14:24 170f2ba95c9a: Pull complete 17:14:29 Running on prd-centos7-docker-4c-2g-1981 in /w/workspace/ndry_app-functions-sdk-go_PR-941 [Pipeline] { [Pipeline] ws 17:14:29 Running in /w/workspace/app-functions-sdk-go/6 [Pipeline] { [Pipeline] checkout 17:14:30 The recommended git tool is: git 17:14:32 97ac5df62f85: Pull complete 17:14:32 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 17:14:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 17:14:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 17:14:32 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 17:14:33 + docker inspect -f . ci-base-image-arm64 17:14:33 . [Pipeline] withDockerContainer 17:14:33 prd-ubuntu18.04-docker-arm64-4c-16g-1980 does not seem to be running inside a container 17:14:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:14:36 using credential edgex-jenkins-ssh 17:14:36 Cloning the remote Git repository 17:14:36 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:14:36 > git init /w/workspace/app-functions-sdk-go/6 # timeout=10 17:14:36 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:14:36 > git --version # timeout=10 17:14:36 > git --version # 'git version 2.24.4' 17:14:36 using GIT_SSH to set credentials SSH Credentials for GitHub 17:14:36 [INFO] Currently running in a labeled security context 17:14:36 [INFO] Currently SELinux is 'enforcing' on the host 17:14:36 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/6@tmp/jenkins-gitclient-ssh1033986166986194136.key 17:14:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:14:37 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:14:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:14:37 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:14:37 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:14:37 using GIT_SSH to set credentials SSH Credentials for GitHub 17:14:37 [INFO] Currently running in a labeled security context 17:14:37 [INFO] Currently SELinux is 'enforcing' on the host 17:14:37 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/6@tmp/jenkins-gitclient-ssh5374902907139413811.key 17:14:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/941/head:refs/remotes/origin/PR-941 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:14:38 Merging remotes/origin/main commit a082b2dad36e6c0ca2a100859279ca83a0af4f9e into PR head commit 29bcd0b64e283e39b4457cc4ca5ad789a08507d1 17:14:38 Merge succeeded, producing 4d748a2ff9fb5cd8960ff85291298a1d545096a3 17:14:38 Checking out Revision 4d748a2ff9fb5cd8960ff85291298a1d545096a3 (PR-941) 17:14:38 > git config core.sparsecheckout # timeout=10 17:14:38 > git checkout -f 29bcd0b64e283e39b4457cc4ca5ad789a08507d1 # timeout=10 17:14:38 > git remote # timeout=10 17:14:38 > git config --get remote.origin.url # timeout=10 17:14:38 using GIT_SSH to set credentials SSH Credentials for GitHub 17:14:38 [INFO] Currently running in a labeled security context 17:14:38 [INFO] Currently SELinux is 'enforcing' on the host 17:14:38 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/6@tmp/jenkins-gitclient-ssh8399972546071656494.key 17:14:38 > git merge a082b2dad36e6c0ca2a100859279ca83a0af4f9e # timeout=10 17:14:38 > git rev-parse HEAD^{commit} # timeout=10 17:14:38 > git config core.sparsecheckout # timeout=10 17:14:38 > git checkout -f 4d748a2ff9fb5cd8960ff85291298a1d545096a3 # timeout=10 17:14:39 $ docker top 5d93806c3a97f1dc6a8aad09f245bc72989517e1df021fa6a10929bfb2969e6a -eo pid,comm [Pipeline] { [Pipeline] sh 17:14:40 + go version 17:14:40 go version go1.16.6 linux/arm64 [Pipeline] } 17:14:40 $ docker stop --time=1 5d93806c3a97f1dc6a8aad09f245bc72989517e1df021fa6a10929bfb2969e6a 17:14:42 Commit message: "Merge commit 'a082b2dad36e6c0ca2a100859279ca83a0af4f9e' into HEAD" 17:14:42 First time build. Skipping changelog. 17:14:42 $ docker rm -f 5d93806c3a97f1dc6a8aad09f245bc72989517e1df021fa6a10929bfb2969e6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:14:43 ========================================================= 17:14:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 17:14:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:14:43 + docker inspect -f . ci-base-image-arm64 17:14:43 . [Pipeline] withDockerContainer 17:14:43 prd-ubuntu18.04-docker-arm64-4c-16g-1980 does not seem to be running inside a container 17:14:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 17:14:43 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 17:14:43 540db60ca938: Pulling fs layer 17:14:43 adcc1eea9eea: Pulling fs layer 17:14:43 4c4ab2625f07: Pulling fs layer 17:14:43 db62176df00c: Pulling fs layer 17:14:43 3b30891b0d05: Pulling fs layer 17:14:43 06b49ca38bd5: Pulling fs layer 17:14:43 c788192a36de: Pulling fs layer 17:14:43 a77e37c0d609: Pulling fs layer 17:14:43 c3185cebc471: Pulling fs layer 17:14:43 db62176df00c: Waiting 17:14:43 3b30891b0d05: Waiting 17:14:43 06b49ca38bd5: Waiting 17:14:43 c788192a36de: Waiting 17:14:43 a77e37c0d609: Waiting 17:14:43 c3185cebc471: Waiting 17:14:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:14:42 > git rev-list --no-walk 38c5b8efdaab45501f26e844d9d8d0c1bc0329ec # timeout=10 17:14:43 4c4ab2625f07: Verifying Checksum 17:14:43 4c4ab2625f07: Download complete 17:14:43 adcc1eea9eea: Verifying Checksum 17:14:43 adcc1eea9eea: Download complete 17:14:43 3b30891b0d05: Verifying Checksum 17:14:43 3b30891b0d05: Download complete 17:14:43 06b49ca38bd5: Verifying Checksum 17:14:43 06b49ca38bd5: Download complete 17:14:43 c788192a36de: Verifying Checksum 17:14:43 c788192a36de: Download complete 17:14:43 540db60ca938: Verifying Checksum 17:14:43 540db60ca938: Download complete 17:14:44 540db60ca938: Pull complete 17:14:44 adcc1eea9eea: Pull complete 17:14:44 a77e37c0d609: Verifying Checksum 17:14:44 a77e37c0d609: Download complete 17:14:44 4c4ab2625f07: Pull complete 17:14:45 $ docker top 39abb791225d405807e6331dc891b4a56cbd3ddfc981da8017f60f2e59c62bb9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:14:46 + make test 17:14:46 make -C ./app-service-template build 17:14:46 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/6/app-service-template' 17:14:46 go mod tidy 17:14:47 c3185cebc471: Verifying Checksum 17:14:47 c3185cebc471: Download complete 17:14:47 db62176df00c: Verifying Checksum 17:14:47 db62176df00c: Download complete 17:14:47 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 17:14:47 go: downloading github.com/google/uuid v1.3.0 17:14:47 go: downloading github.com/stretchr/testify v1.7.0 17:14:47 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 17:14:47 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 17:14:47 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 17:14:47 go: downloading github.com/davecgh/go-spew v1.1.1 17:14:47 go: downloading github.com/pmezard/go-difflib v1.0.0 17:14:47 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 17:14:48 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 17:14:48 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 17:14:48 go: downloading github.com/stretchr/objx v0.1.0 17:14:48 go: downloading github.com/go-playground/validator/v10 v10.6.1 17:14:48 go: downloading github.com/go-kit/kit v0.9.0 17:14:48 go: downloading gopkg.in/yaml.v2 v2.4.0 17:14:48 go: downloading github.com/gorilla/mux v1.8.0 17:14:48 go: downloading github.com/hashicorp/go-multierror v1.1.0 17:14:48 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 17:14:48 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 17:14:48 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 17:14:48 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 17:14:48 go: downloading github.com/mitchellh/copystructure v1.0.0 17:14:48 go: downloading github.com/gorilla/websocket v1.4.2 17:14:48 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 17:14:48 go: downloading github.com/hashicorp/consul/api v1.8.1 17:14:48 go: downloading github.com/pelletier/go-toml v1.9.2 17:14:48 go: downloading github.com/go-playground/universal-translator v0.17.0 17:14:50 go: downloading github.com/leodido/go-urn v1.2.0 17:14:50 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 17:14:50 go: downloading golang.org/x/text v0.3.2 17:14:50 go: downloading github.com/go-playground/assert/v2 v2.0.1 17:14:50 go: downloading github.com/go-playground/locales v0.13.0 17:14:51 db62176df00c: Pull complete 17:14:51 3b30891b0d05: Pull complete 17:14:51 06b49ca38bd5: Pull complete 17:14:51 c788192a36de: Pull complete 17:14:51 a77e37c0d609: Pull complete 17:14:52 go: downloading github.com/hashicorp/errwrap v1.0.0 17:14:52 go: downloading github.com/kr/pretty v0.2.0 17:14:52 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:14:52 go: downloading github.com/x448/float16 v0.8.4 17:14:52 go: downloading github.com/go-logfmt/logfmt v0.4.0 17:14:52 go: downloading github.com/go-stack/stack v1.8.0 17:14:52 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:14:52 go: downloading github.com/hashicorp/go-hclog v0.12.0 17:14:52 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 17:14:52 go: downloading github.com/hashicorp/serf v0.9.5 17:14:52 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:14:52 go: downloading github.com/hashicorp/consul/sdk v0.7.0 17:14:52 go: downloading github.com/hashicorp/go-uuid v1.0.1 17:14:52 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 17:14:52 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 17:14:52 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:14:52 go: downloading github.com/kr/text v0.1.0 17:14:52 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 17:14:52 go: downloading github.com/mitchellh/go-homedir v1.1.0 17:14:52 go: downloading github.com/fatih/color v1.9.0 17:14:52 go: downloading github.com/mattn/go-colorable v0.1.6 17:14:52 go: downloading github.com/mattn/go-isatty v0.0.12 17:14:52 go: downloading github.com/pkg/errors v0.8.1 17:14:52 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 17:14:52 go: downloading github.com/go-redis/redis/v7 v7.3.0 17:14:52 go: downloading github.com/pebbe/zmq4 v1.2.7 17:14:52 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:14:52 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:14:53 go: downloading github.com/hashicorp/go-msgpack v0.5.3 17:14:53 go: downloading github.com/hashicorp/memberlist v0.2.2 17:14:53 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 17:14:53 go: downloading github.com/onsi/ginkgo v1.10.1 17:14:53 go: downloading github.com/onsi/gomega v1.7.0 17:14:53 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:14:53 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:14:53 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:14:53 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 17:14:53 go: downloading github.com/miekg/dns v1.1.26 17:14:53 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:14:53 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:14:53 go: downloading github.com/hpcloud/tail v1.0.0 17:14:53 c3185cebc471: Pull complete 17:14:53 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 17:14:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 17:14:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 17:14:53 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 17:14:53 go: downloading github.com/golang/protobuf v1.3.2 17:14:53 go: downloading gopkg.in/fsnotify.v1 v1.4.7 17:14:53 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 17:14:53 go: downloading github.com/fsnotify/fsnotify v1.4.7 17:14:53 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 17:14:53 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 17:14:54 + docker inspect -f . ci-base-image-x86_64 17:14:54 . [Pipeline] withDockerContainer 17:14:54 prd-centos7-docker-4c-2g-1981 does not seem to be running inside a container 17:14:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:14:56 $ docker top 93469b77e624710f5c8139078557655804fba5c9b3f681fdd332e71644358392 -eo pid,comm [Pipeline] { [Pipeline] sh 17:14:57 + go version 17:14:57 go version go1.16.6 linux/amd64 [Pipeline] } 17:14:57 $ docker stop --time=1 93469b77e624710f5c8139078557655804fba5c9b3f681fdd332e71644358392 17:14:58 $ docker rm -f 93469b77e624710f5c8139078557655804fba5c9b3f681fdd332e71644358392 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:14:58 + docker inspect -f . ci-base-image-x86_64 17:14:58 . [Pipeline] withDockerContainer 17:14:58 prd-centos7-docker-4c-2g-1981 does not seem to be running inside a container 17:14:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:14:59 $ docker top f5b368724e7ec6d11acfa23fffd7d152f395c1df284bc15749053a98278b739c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:14:59 + make test 17:14:59 make -C ./app-service-template build 17:14:59 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/6/app-service-template' 17:14:59 go mod tidy 17:15:00 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 17:15:00 go: downloading github.com/google/uuid v1.3.0 17:15:00 go: downloading github.com/stretchr/testify v1.7.0 17:15:00 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 17:15:00 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 17:15:00 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 17:15:00 go: downloading github.com/go-playground/validator/v10 v10.6.1 17:15:00 go: downloading github.com/go-kit/kit v0.9.0 17:15:00 go: downloading gopkg.in/yaml.v2 v2.4.0 17:15:00 go: downloading github.com/davecgh/go-spew v1.1.1 17:15:00 go: downloading github.com/pmezard/go-difflib v1.0.0 17:15:01 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 17:15:01 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 17:15:01 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 17:15:01 go: downloading github.com/stretchr/objx v0.1.0 17:15:01 go: downloading github.com/gorilla/mux v1.8.0 17:15:01 go: downloading github.com/hashicorp/go-multierror v1.1.0 17:15:01 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 17:15:01 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 17:15:01 go: downloading github.com/go-playground/universal-translator v0.17.0 17:15:01 go: downloading github.com/leodido/go-urn v1.2.0 17:15:01 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 17:15:01 go: downloading golang.org/x/text v0.3.2 17:15:01 go: downloading github.com/go-playground/assert/v2 v2.0.1 17:15:01 go: downloading github.com/go-playground/locales v0.13.0 17:15:02 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 17:15:02 go: downloading github.com/go-logfmt/logfmt v0.4.0 17:15:02 go: downloading github.com/go-stack/stack v1.8.0 17:15:02 go: downloading github.com/pelletier/go-toml v1.9.2 17:15:02 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 17:15:02 go: downloading github.com/hashicorp/consul/api v1.8.1 17:15:02 go: downloading github.com/mitchellh/copystructure v1.0.0 17:15:02 go: downloading github.com/gorilla/websocket v1.4.2 17:15:02 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 17:15:02 go: downloading github.com/hashicorp/errwrap v1.0.0 17:15:02 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 17:15:03 go: downloading github.com/kr/pretty v0.2.0 17:15:03 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 17:15:03 go: downloading github.com/x448/float16 v0.8.4 17:15:03 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:15:03 go: downloading github.com/hashicorp/go-hclog v0.12.0 17:15:03 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 17:15:03 go: downloading github.com/hashicorp/serf v0.9.5 17:15:03 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:15:03 go: downloading github.com/hashicorp/consul/sdk v0.7.0 17:15:03 go: downloading github.com/hashicorp/go-uuid v1.0.1 17:15:03 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:15:03 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 17:15:03 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:15:03 go: downloading github.com/kr/text v0.1.0 17:15:03 go: downloading github.com/fatih/color v1.9.0 17:15:03 go: downloading github.com/mattn/go-colorable v0.1.6 17:15:03 go: downloading github.com/mattn/go-isatty v0.0.12 17:15:03 go: downloading github.com/mitchellh/go-homedir v1.1.0 17:15:03 go: downloading github.com/pkg/errors v0.8.1 17:15:03 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:15:03 go: downloading github.com/hashicorp/go-msgpack v0.5.3 17:15:03 go: downloading github.com/hashicorp/memberlist v0.2.2 17:15:03 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 17:15:03 go: downloading github.com/go-redis/redis/v7 v7.3.0 17:15:03 go: downloading github.com/pebbe/zmq4 v1.2.7 17:15:03 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:15:03 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 17:15:03 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:15:03 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:15:03 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:15:03 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 17:15:03 go: downloading github.com/miekg/dns v1.1.26 17:15:03 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:15:03 go: downloading github.com/onsi/ginkgo v1.10.1 17:15:03 go: downloading github.com/onsi/gomega v1.7.0 17:15:03 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:15:03 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 17:15:03 go: downloading github.com/hpcloud/tail v1.0.0 17:15:03 go: downloading github.com/golang/protobuf v1.3.2 17:15:03 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 17:15:03 go: downloading gopkg.in/fsnotify.v1 v1.4.7 17:15:03 go: downloading github.com/fsnotify/fsnotify v1.4.7 17:15:04 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 17:15:16 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/6/app-service-template' 17:15:16 make -C ./app-service-template test 17:15:16 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/6/app-service-template' 17:15:16 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 17:15:24 ok new-app-service 0.011s coverage: 48.1% of statements 17:15:24 ? new-app-service/config [no test files] 17:15:24 ok new-app-service/functions 0.007s 17:15:24 CGO_ENABLED=1 go vet ./... 17:15:30 gofmt -l . 17:15:30 [ "`gofmt -l .`" = "" ] 17:15:30 ./bin/test-attribution-txt.sh 17:15:30 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/6/app-service-template' 17:15:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:15:31 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 17:15:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.010s coverage: 62.8% of statements 17:15:32 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/6/app-service-template' 17:15:32 make -C ./app-service-template test 17:15:32 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/6/app-service-template' 17:15:32 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 17:15:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.007s coverage: 93.2% of statements 17:15:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 17:15:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.020s coverage: 61.8% of statements 17:15:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 17:15:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.005s 17:15:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.060s coverage: 75.2% of statements 17:15:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 17:15:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 17:15:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 17:15:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 17:15:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 17:15:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 17:15:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.013s coverage: 97.3% of statements 17:15:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 17:15:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.006s coverage: 10.5% of statements 17:15:38 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.055s coverage: 77.0% of statements 17:15:38 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 17:15:38 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.007s coverage: 12.5% of statements 17:15:38 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.010s coverage: 27.3% of statements 17:15:38 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 17:15:38 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 17:15:38 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.006s coverage: 51.4% of statements 17:15:59 ok new-app-service 0.042s coverage: 48.1% of statements 17:15:59 ? new-app-service/config [no test files] 17:15:59 ok new-app-service/functions 0.042s 17:15:59 CGO_ENABLED=1 go vet ./... 17:16:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.031s coverage: 77.3% of statements 17:16:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements 17:16:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:16:04 gofmt -l . 17:16:04 [ "`gofmt -l .`" = "" ] [Pipeline] } 17:16:04 $ docker stop --time=1 f5b368724e7ec6d11acfa23fffd7d152f395c1df284bc15749053a98278b739c 17:16:06 $ docker rm -f f5b368724e7ec6d11acfa23fffd7d152f395c1df284bc15749053a98278b739c [Pipeline] // withDockerContainer [Pipeline] sh 17:16:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:16:08 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:16:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:16:12 17:16:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:16:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:16:14 latest: Pulling from edgex-lftools-log-publisher 17:16:14 b4d181a07f80: Pulling fs layer 17:16:14 a1111a8f2ec3: Pulling fs layer 17:16:14 ed53099fbce6: Pulling fs layer 17:16:14 dc539afda2c1: Pulling fs layer 17:16:14 77bc0d833cb6: Pulling fs layer 17:16:14 9065ff56babe: Pulling fs layer 17:16:14 d287ab97295c: Pulling fs layer 17:16:14 dc539afda2c1: Waiting 17:16:14 77bc0d833cb6: Waiting 17:16:14 9065ff56babe: Waiting 17:16:14 d287ab97295c: Waiting 17:16:14 a1111a8f2ec3: Verifying Checksum 17:16:14 a1111a8f2ec3: Download complete 17:16:14 dc539afda2c1: Verifying Checksum 17:16:14 dc539afda2c1: Download complete 17:16:14 ed53099fbce6: Verifying Checksum 17:16:14 ed53099fbce6: Download complete 17:16:14 9065ff56babe: Verifying Checksum 17:16:14 9065ff56babe: Download complete 17:16:14 77bc0d833cb6: Verifying Checksum 17:16:14 77bc0d833cb6: Download complete 17:16:14 b4d181a07f80: Verifying Checksum 17:16:14 b4d181a07f80: Download complete 17:16:17 b4d181a07f80: Pull complete 17:16:17 a1111a8f2ec3: Pull complete 17:16:17 ed53099fbce6: Pull complete 17:16:17 dc539afda2c1: Pull complete 17:16:17 77bc0d833cb6: Pull complete 17:16:17 9065ff56babe: Pull complete 17:16:18 d287ab97295c: Verifying Checksum 17:16:18 d287ab97295c: Download complete 17:16:22 d287ab97295c: Pull complete 17:16:22 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 17:16:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:16:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:16:22 prd-centos7-docker-4c-2g-1981 does not seem to be running inside a container 17:16: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/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:16:25 gofmt -l . 17:16:25 [ "`gofmt -l .`" = "" ] 17:16:25 ./bin/test-attribution-txt.sh 17:16:26 $ docker top 57c30aa923bc09a8015a52bdfb73637a45b12e3ee12d2a63b2a8c8130ec7ed5c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:16:26 ---> job-cost.sh 17:16:26 lf-activate-venv: SKIPPING 17:16:26 INFO: No Stack... 17:16:27 INFO: Retrieving Pricing Info for: v3-standard-2 17:16:27 INFO: Archiving Costs [Pipeline] sh 17:16:27 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/6/app-service-template' 17:16:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:16:28 + cut -d, -f6 17:16:28 + cat /w/workspace/app-functions-sdk-go/6/archives/cost.csv [Pipeline] lock 17:16:28 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-941-6-stack-cost] 17:16:28 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-941-6-stack-cost] did not exist. Created. 17:16:28 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-941-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:16:28 + echo total: 0.05999999865889549 [Pipeline] stash 17:16:28 Stashed 1 file(s) [Pipeline] } 17:16:28 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-941-6-stack-cost] [Pipeline] // lock [Pipeline] } 17:16:28 $ docker stop --time=1 57c30aa923bc09a8015a52bdfb73637a45b12e3ee12d2a63b2a8c8130ec7ed5c 17:16:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 17:16:29 $ docker rm -f 57c30aa923bc09a8015a52bdfb73637a45b12e3ee12d2a63b2a8c8130ec7ed5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:16:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.166s coverage: 62.8% of statements 17:16:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.050s coverage: 93.2% of statements 17:16:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 17:16:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.078s coverage: 61.8% of statements 17:16:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 17:16:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.040s 17:16:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.130s coverage: 75.2% of statements 17:16:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 17:16:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 17:16:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 17:16:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 17:16:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 17:16:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 17:16:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.041s coverage: 97.3% of statements 17:16:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 17:16:38 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.076s coverage: 10.5% of statements 17:16:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.170s coverage: 77.0% of statements 17:16:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 17:16:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.060s coverage: 12.5% of statements 17:16:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.080s coverage: 27.3% of statements 17:16:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 17:16:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 17:16:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.039s coverage: 51.4% of statements 17:17:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.116s coverage: 77.3% of statements 17:17:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.056s coverage: 94.4% of statements 17:17:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:17:14 gofmt -l . 17:17:14 [ "`gofmt -l .`" = "" ] [Pipeline] } 17:17:14 $ docker stop --time=1 39abb791225d405807e6331dc891b4a56cbd3ddfc981da8017f60f2e59c62bb9 17:17:16 $ docker rm -f 39abb791225d405807e6331dc891b4a56cbd3ddfc981da8017f60f2e59c62bb9 [Pipeline] // withDockerContainer [Pipeline] sh 17:17:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:17:19 Warning: overwriting stash ‘coverage-report’ 17:17:19 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:17:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:17:22 17:17:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:17:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:17:23 arm64: Pulling from edgex-lftools-log-publisher 17:17:23 448f6bf000e3: Pulling fs layer 17:17:23 f757da607395: Pulling fs layer 17:17:23 05883995daec: Pulling fs layer 17:17:23 8603b9c90790: Pulling fs layer 17:17:23 1560dd03e051: Pulling fs layer 17:17:23 27f5ce0e4adf: Pulling fs layer 17:17:23 c2d8d7efcc4b: Pulling fs layer 17:17:23 1560dd03e051: Waiting 17:17:23 27f5ce0e4adf: Waiting 17:17:23 c2d8d7efcc4b: Waiting 17:17:23 8603b9c90790: Waiting 17:17:23 f757da607395: Verifying Checksum 17:17:23 f757da607395: Download complete 17:17:23 8603b9c90790: Verifying Checksum 17:17:23 8603b9c90790: Download complete 17:17:23 1560dd03e051: Verifying Checksum 17:17:23 1560dd03e051: Download complete 17:17:23 27f5ce0e4adf: Verifying Checksum 17:17:23 27f5ce0e4adf: Download complete 17:17:24 448f6bf000e3: Verifying Checksum 17:17:24 448f6bf000e3: Download complete 17:17:24 05883995daec: Verifying Checksum 17:17:24 05883995daec: Download complete 17:17:27 c2d8d7efcc4b: Verifying Checksum 17:17:27 c2d8d7efcc4b: Download complete 17:17:27 448f6bf000e3: Pull complete 17:17:28 f757da607395: Pull complete 17:17:30 05883995daec: Pull complete 17:17:30 8603b9c90790: Pull complete 17:17:31 1560dd03e051: Pull complete 17:17:31 27f5ce0e4adf: Pull complete 17:17:46 c2d8d7efcc4b: Pull complete 17:17:46 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 17:17:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:17:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:17:46 prd-ubuntu18.04-docker-arm64-4c-16g-1980 does not seem to be running inside a container 17:17:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:17:51 $ docker top bb0bc384944d5d4ae22ff5e2930e916279845a796497f3ef315115ee2f05d6fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:17:52 ---> job-cost.sh 17:17:52 lf-activate-venv: SKIPPING 17:17:52 INFO: No Stack... 17:17:53 INFO: Retrieving Pricing Info for: v3-standard-4 17:17:53 INFO: Archiving Costs [Pipeline] sh 17:17:54 + cut -d, -f6 17:17:54 + cat /w/workspace/app-functions-sdk-go/6/archives/cost.csv [Pipeline] lock 17:17:54 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-941-6-stack-cost] 17:17:54 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-941-6-stack-cost] did not exist. Created. 17:17:54 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-941-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:17:55 /w/workspace/app-functions-sdk-go/6@tmp/durable-41177c43/script.sh: 1: /w/workspace/app-functions-sdk-go/6@tmp/durable-41177c43/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 17:17:55 + echo total: 0.10999999940395355 [Pipeline] stash 17:17:55 Warning: overwriting stash ‘stack-cost’ 17:17:56 Stashed 1 file(s) [Pipeline] } 17:17:56 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-941-6-stack-cost] [Pipeline] // lock [Pipeline] } 17:17:56 $ docker stop --time=1 bb0bc384944d5d4ae22ff5e2930e916279845a796497f3ef315115ee2f05d6fa 17:17:57 $ docker rm -f bb0bc384944d5d4ae22ff5e2930e916279845a796497f3ef315115ee2f05d6fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:17:58 provisioning config files... 17:17:58 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-941@tmp/config9152664902149304945tmp [Pipeline] { [Pipeline] sh 17:17:59 + set +x 17:17:59 + curl -s https://codecov.io/bash 17:17:59 + bash -s -- 17:17:59 17:17:59 _____ _ 17:17:59 / ____| | | 17:17:59 | | ___ __| | ___ ___ _____ __ 17:17:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:17:59 | |___| (_) | (_| | __/ (_| (_) \ V / 17:17:59 \_____\___/ \__,_|\___|\___\___/ \_/ 17:17:59 Bash-1.0.6 17:17:59 17:17:59 17:17:59 ==> git version 2.24.4 found 17:17:59 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 17:17:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 17:17:59 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 17:17:59 ==> Jenkins CI detected. 17:17:59 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-941 17:17:59 project root: . 17:17:59 --> token set from env 17:17:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:17:59 ==> Running gcov in . (disable via -X gcov) 17:17:59 ==> Python coveragepy not found 17:17:59 ==> Searching for coverage reports in: 17:17:59 + . 17:17:59 -> Found 2 reports 17:17:59 ==> Detecting git/mercurial file structure 17:17:59 ==> Reading reports 17:17:59 + ./app-service-template/coverage.out bytes=1219 17:17:59 + ./coverage.out bytes=101877 17:17:59 ==> Appending adjustments 17:17:59 https://docs.codecov.io/docs/fixing-reports 17:17:59 + Found adjustments 17:17:59 ==> Gzipping contents 17:17:59 20K /tmp/codecov.asojuM.gz 17:17:59 ==> Uploading reports 17:17:59 url: https://codecov.io 17:17:59 query: branch=PR-941&commit=ee34e2065ad995b94681cea489e5384c32398f1d&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-941%2F6%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=941&job=&cmd_args= 17:17:59 -> Pinging Codecov 17:17:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-941&commit=ee34e2065ad995b94681cea489e5384c32398f1d&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-941%2F6%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=941&job=&cmd_args= 17:18:00 -> Uploading to 17:18:00 https://storage.googleapis.com/codecov/v4/raw/2021-09-10/3D8B5DFFC46A037C893635FACE044666/ee34e2065ad995b94681cea489e5384c32398f1d/8c9137ba-0890-4aea-9909-7d811e4a5fb2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210910%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210910T171800Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5f26e5fd02437fcf3c5682304e84019e6470103f2ce1a4624bde9c1623ab99b9 17:18:00 % Total % Received % Xferd Average Speed Time Time Time Current 17:18:00 Dload Upload Total Spent Left Speed 17:18:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17606 0 0 100 17606 0 46365 --:--:-- --:--:-- --:--:-- 46453 17:18:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/ee34e2065ad995b94681cea489e5384c32398f1d [Pipeline] } 17:18:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:18:03 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-941/archives ']' [Pipeline] libraryResource [Pipeline] sh 17:18:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:18:04 ---> package-listing.sh 17:18:04 ++ facter osfamily 17:18:04 ++ tr '[:upper:]' '[:lower:]' 17:18:05 + OS_FAMILY=redhat 17:18:05 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-941 17:18:05 + START_PACKAGES=/tmp/packages_start.txt 17:18:05 + END_PACKAGES=/tmp/packages_end.txt 17:18:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:18:05 + PACKAGES=/tmp/packages_start.txt 17:18:05 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-941 ']' 17:18:05 + PACKAGES=/tmp/packages_end.txt 17:18:05 + case "${OS_FAMILY}" in 17:18:05 + sort 17:18:05 + rpm -qa 17:18:05 + '[' -f /tmp/packages_start.txt ']' 17:18:05 + '[' -f /tmp/packages_end.txt ']' 17:18:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:18:05 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-941 ']' 17:18:05 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-941/archives/ 17:18:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-941/archives/ [Pipeline] echo 17:18:05 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-941/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:18:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:18:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:18:06 17:18:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:18:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:18:06 latest: Pulling from edgex-lftools-log-publisher 17:18:06 b4d181a07f80: Pulling fs layer 17:18:06 a1111a8f2ec3: Pulling fs layer 17:18:06 ed53099fbce6: Pulling fs layer 17:18:06 dc539afda2c1: Pulling fs layer 17:18:06 77bc0d833cb6: Pulling fs layer 17:18:06 9065ff56babe: Pulling fs layer 17:18:06 d287ab97295c: Pulling fs layer 17:18:06 77bc0d833cb6: Waiting 17:18:06 9065ff56babe: Waiting 17:18:06 d287ab97295c: Waiting 17:18:06 dc539afda2c1: Waiting 17:18:07 a1111a8f2ec3: Verifying Checksum 17:18:07 a1111a8f2ec3: Download complete 17:18:07 dc539afda2c1: Verifying Checksum 17:18:07 dc539afda2c1: Download complete 17:18:07 77bc0d833cb6: Verifying Checksum 17:18:07 77bc0d833cb6: Download complete 17:18:07 ed53099fbce6: Verifying Checksum 17:18:07 ed53099fbce6: Download complete 17:18:07 9065ff56babe: Verifying Checksum 17:18:07 9065ff56babe: Download complete 17:18:08 b4d181a07f80: Verifying Checksum 17:18:08 b4d181a07f80: Download complete 17:18:10 b4d181a07f80: Pull complete 17:18:10 a1111a8f2ec3: Pull complete 17:18:10 ed53099fbce6: Pull complete 17:18:10 dc539afda2c1: Pull complete 17:18:10 77bc0d833cb6: Pull complete 17:18:10 9065ff56babe: Pull complete 17:18:12 d287ab97295c: Verifying Checksum 17:18:12 d287ab97295c: Download complete 17:18:16 d287ab97295c: Pull complete 17:18:16 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 17:18:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:18:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:18:16 prd-centos7-docker-4c-2g-1979 does not seem to be running inside a container 17:18:16 $ 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-941/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-941 -v /w/workspace/ndry_app-functions-sdk-go_PR-941:/w/workspace/ndry_app-functions-sdk-go_PR-941:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-941@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-941@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:10003/edgex-lftools-log-publisher:latest cat 17:18:19 $ docker top 5ffecd2921767dcae8a4e7eae706d19aeab0ad9d196f4da4180ec68c6413528e -eo pid,comm [Pipeline] { [Pipeline] sh 17:18:19 + touch /tmp/pre-build-complete [Pipeline] sh 17:18:19 + mkdir -p /var/log/sysstat [Pipeline] sh 17:18:20 + ls /var/log/sa-host 17:18:20 + sadf -c /var/log/sa-host/sa05 17:18:20 file_magic: OK 17:18:20 HZ: Using current value: 100 17:18:20 file_header: OK 17:18:20 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 17:18:20 Statistics: 17:18:20 Hnuu...uuuununununu...Hnuu...uuuununununu... 17:18:20 File successfully converted to sysstat format version 12.0.3 17:18:20 + sadf -c /var/log/sa-host/sa10 17:18:20 file_magic: OK 17:18:20 HZ: Using current value: 100 17:18:20 file_header: OK 17:18:20 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 17:18:20 Statistics: 17:18:20 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:18:20 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:18:20 provisioning config files... 17:18:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-941@tmp/config1218688958664980058tmp [Pipeline] { [Pipeline] echo 17:18:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:18:20 ---> create-netrc.sh [Pipeline] } 17:18:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:18:21 ---> python-tools-install.sh [Pipeline] echo 17:18:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:18:21 ---> sudo-logs.sh 17:18:21 Archiving 'sudo' log.. 17:18:21 sudo: unable to resolve host prd-centos7-docker-4c-2g-1979.vexxhost.local: Name or service not known 17:18:21 sudo: unable to resolve host prd-centos7-docker-4c-2g-1979.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 17:18:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:18:23 ---> job-cost.sh 17:18:23 lf-activate-venv: SKIPPING 17:18:23 DEBUG: total: 0.10999999940395355 17:18:23 INFO: Retrieving Stack Cost... 17:18:25 INFO: Retrieving Pricing Info for: v3-standard-2 17:18:25 INFO: Archiving Costs [Pipeline] echo 17:18:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:18:25 ---> logs-deploy.sh 17:18:25 lf-activate-venv: SKIPPING 17:18:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-941/6 17:18:25 INFO: archiving workspace using pattern(s): 17:18:26 Archives upload complete. 17:18:26 INFO: archiving logs to Nexus 17:18:27 ---> uname -a: 17:18:27 Linux prd-centos7-docker-4c-2g-1979.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 17:18:27 17:18:27 17:18:27 ---> lscpu: 17:18:27 Architecture: x86_64 17:18:27 CPU op-mode(s): 32-bit, 64-bit 17:18:27 Byte Order: Little Endian 17:18:27 Address sizes: 40 bits physical, 48 bits virtual 17:18:27 CPU(s): 2 17:18:27 On-line CPU(s) list: 0,1 17:18:27 Thread(s) per core: 1 17:18:27 Core(s) per socket: 1 17:18:27 Socket(s): 2 17:18:27 NUMA node(s): 1 17:18:27 Vendor ID: AuthenticAMD 17:18:27 CPU family: 23 17:18:27 Model: 49 17:18:27 Model name: AMD EPYC-Rome Processor 17:18:27 Stepping: 0 17:18:27 CPU MHz: 2799.998 17:18:27 BogoMIPS: 5599.99 17:18:27 Virtualization: AMD-V 17:18:27 Hypervisor vendor: KVM 17:18:27 Virtualization type: full 17:18:27 L1d cache: 32K 17:18:27 L1i cache: 32K 17:18:27 L2 cache: 512K 17:18:27 L3 cache: 16384K 17:18:27 NUMA node0 CPU(s): 0,1 17:18:27 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 17:18:27 17:18:27 17:18:27 ---> nproc: 17:18:27 2 17:18:27 17:18:27 17:18:27 ---> df -h: 17:18:27 Filesystem Size Used Avail Use% Mounted on 17:18:27 overlay 40G 7.7G 33G 20% / 17:18:27 tmpfs 64M 0 64M 0% /dev 17:18:27 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 17:18:27 shm 64M 0 64M 0% /dev/shm 17:18:27 /dev/vda1 40G 7.7G 33G 20% /facter-os 17:18:27 17:18:27 17:18:27 ---> sar -b -r -n DEV: 17:18:27 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) 17:18:27 17:18:27 17:10:00 LINUX RESTART (2 CPU) 17:18:27 17:18:27 17:11:02 tps rtps wtps bread/s bwrtn/s 17:18:27 17:12:01 7.28 0.19 7.09 23.57 1395.80 17:18:27 17:13:01 0.42 0.00 0.42 0.00 6.36 17:18:27 17:14:01 0.28 0.00 0.28 0.00 2.93 17:18:27 17:15:01 0.20 0.00 0.20 0.00 3.10 17:18:27 17:16:01 0.30 0.00 0.30 0.00 3.33 17:18:27 17:17:01 0.20 0.00 0.20 0.00 2.02 17:18:27 17:18:01 0.37 0.03 0.33 3.73 5.28 17:18:27 Average: 1.28 0.03 1.25 3.85 199.92 17:18:27 17:18:27 17:11:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:18:27 17:12:01 5434116 0 803100 10.03 2620 1769104 1263388 13.95 595316 1579436 20 17:18:27 17:13:01 5440128 0 797076 9.95 2620 1769116 1211760 13.38 593572 1576360 8 17:18:27 17:14:01 5435984 0 801220 10.00 2620 1769116 1211988 13.38 594772 1579840 20 17:18:27 17:15:01 5436248 0 800948 10.00 2620 1769124 1212036 13.38 594920 1579840 8 17:18:27 17:16:01 5435604 0 801588 10.01 2620 1769128 1212024 13.38 591032 1583696 8 17:18:27 17:17:01 5437336 0 799852 9.99 2620 1769132 1211760 13.38 589612 1583696 8 17:18:27 17:18:01 5428512 0 808436 10.09 2620 1769372 1213548 13.40 597528 1583740 144 17:18:27 Average: 5435418 0 801746 10.01 2620 1769156 1219501 13.46 593822 1580944 31 17:18:27 17:18:27 17:11:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:18:27 17:12:01 eth0 97.87 116.07 343.02 17.58 0.00 0.00 0.00 0.00 17:18:27 17:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:18:27 17:12:01 docker0 100.10 70.03 9.04 318.50 0.00 0.00 0.00 0.00 17:18:27 17:13:01 eth0 0.78 0.08 0.06 0.01 0.00 0.00 0.00 0.00 17:18:27 17:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:18:27 17:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:18:27 17:14:01 eth0 0.72 0.28 0.29 0.20 0.00 0.00 0.00 0.00 17:18:27 17:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:18:27 17:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:18:27 17:15:01 eth0 0.70 0.35 0.29 0.20 0.00 0.00 0.00 0.00 17:18:27 17:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:18:27 17:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:18:27 17:16:01 eth0 0.32 0.22 0.14 0.07 0.00 0.00 0.00 0.00 17:18:27 17:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:18:27 17:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:18:27 17:17:01 eth0 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:18:27 17:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:18:27 17:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:18:27 17:18:01 eth0 5.66 3.63 4.71 1.86 0.00 0.00 0.00 0.00 17:18:27 17:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:18:27 17:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:18:27 Average: eth0 14.96 17.00 49.11 2.81 0.00 0.00 0.00 0.00 17:18:27 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:18:27 Average: docker0 14.10 9.87 1.27 44.87 0.00 0.00 0.00 0.00 17:18:27 17:18:27 17:18:27 ---> sar -P ALL: 17:18:27 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) 17:18:27 17:18:27 17:10:00 LINUX RESTART (2 CPU) 17:18:27 17:18:27 17:11:02 CPU %user %nice %system %iowait %steal %idle 17:18:27 17:12:01 all 2.72 0.00 0.97 0.11 0.04 96.16 17:18:27 17:12:01 0 2.00 0.00 1.03 0.09 0.03 96.85 17:18:27 17:12:01 1 3.43 0.00 0.91 0.14 0.05 95.47 17:18:27 17:13:01 all 0.15 0.00 0.06 0.00 0.03 99.76 17:18:27 17:13:01 0 0.25 0.00 0.05 0.00 0.03 99.67 17:18:27 17:13:01 1 0.05 0.00 0.07 0.00 0.03 99.85 17:18:27 17:14:01 all 0.23 0.00 0.05 0.00 0.03 99.69 17:18:27 17:14:01 0 0.42 0.00 0.07 0.00 0.02 99.50 17:18:27 17:14:01 1 0.05 0.00 0.03 0.00 0.03 99.88 17:18:27 17:15:01 all 0.23 0.00 0.07 0.00 0.03 99.67 17:18:27 17:15:01 0 0.32 0.00 0.05 0.00 0.02 99.62 17:18:27 17:15:01 1 0.13 0.00 0.08 0.00 0.05 99.73 17:18:27 17:16:01 all 0.20 0.00 0.07 0.00 0.02 99.72 17:18:27 17:16:01 0 0.07 0.00 0.07 0.00 0.02 99.85 17:18:27 17:16:01 1 0.33 0.00 0.07 0.00 0.02 99.58 17:18:27 17:17:01 all 0.05 0.00 0.06 0.00 0.02 99.87 17:18:27 17:17:01 0 0.03 0.00 0.05 0.00 0.02 99.90 17:18:27 17:17:01 1 0.07 0.00 0.07 0.00 0.02 99.85 17:18:27 17:18:01 all 0.63 0.00 0.38 0.00 0.03 98.95 17:18:27 17:18:01 0 0.77 0.00 0.30 0.00 0.03 98.90 17:18:27 17:18:01 1 0.48 0.00 0.47 0.00 0.03 99.01 17:18:27 Average: all 0.59 0.00 0.23 0.02 0.03 99.13 17:18:27 Average: 0 0.55 0.00 0.23 0.01 0.02 99.19 17:18:27 Average: 1 0.64 0.00 0.24 0.02 0.03 99.07 17:18:27 17:18:27 17:18:27