Pull request #964 opened 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 ernestojeda for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 4a982b7041d82734441c6a96dd368ca09fb966da+aa508a3e66e4a281fa0c2e3029608a5edd05d007 (460539246280b5f6a5fde983b3bb6d3db4195953) Running in Durability level: MAX_SURVIVABILITY 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-ssh8843218749210130852.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 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-ssh3108490771065791616.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 c141c1271097dc03ad291c2451e310eaf98cdd06 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-964/workspace@libs/edgex-global-pipelines # timeout=10 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-964/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5206408307257900739.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-964/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1593323877489912490.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c141c1271097dc03ad291c2451e310eaf98cdd06 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c141c1271097dc03ad291c2451e310eaf98cdd06 # timeout=10 Commit message: "Merge pull request #355 from ernestojeda/error-check-post-build" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh6823553212991942064.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-964/workspace@libs/lf-pipelines # timeout=10 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-964/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5828071163766456730.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 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-171’ Running on prd-centos7-docker-4c-2g-174 in /w/workspace/ndry_app-functions-sdk-go_PR-964 [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-964 # 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-964@tmp/jenkins-gitclient-ssh5947134099035516541.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-964@tmp/jenkins-gitclient-ssh920509384037635873.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/964/head:refs/remotes/origin/PR-964 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit aa508a3e66e4a281fa0c2e3029608a5edd05d007 into PR head commit 4a982b7041d82734441c6a96dd368ca09fb966da Merge succeeded, producing 4a982b7041d82734441c6a96dd368ca09fb966da Checking out Revision 4a982b7041d82734441c6a96dd368ca09fb966da (PR-964) > git config core.sparsecheckout # timeout=10 > git checkout -f 4a982b7041d82734441c6a96dd368ca09fb966da # 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-964@tmp/jenkins-gitclient-ssh1849815568285174760.key > git merge aa508a3e66e4a281fa0c2e3029608a5edd05d007 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a982b7041d82734441c6a96dd368ca09fb966da # timeout=10 Commit message: "ci: update app-service-template for LTS" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:06:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:06:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:06:39 ========================================================= 17:06:39 EdgeX Global Pipelines Version Info 17:06:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:06:41 ------------------- 17:06:41 stable info: 17:06:41 ------------------- 17:06:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:06:41 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 17:06:41 Message: update stable to v1.0.206 17:06:41 ------------------- 17:06:41 experimental info: 17:06:41 ------------------- 17:06:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:06:41 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 17:06:41 Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:06:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 17:06:42 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 17:06:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:06:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:06:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:06:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 17:06:42 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:06:42 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 17:06:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:06:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:06:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:06:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:06:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 17:06:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:06:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:06:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 17:06:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:06:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:06:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:06:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:06:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:06:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:06:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 17:06:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:06:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:06:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 17:06:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:06:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-964 [Pipeline] echo 17:06:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-964 [Pipeline] echo 17:06:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-964 [Pipeline] echo 17:06:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a982b7041d82734441c6a96dd368ca09fb966da [Pipeline] echo 17:06:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a982b7 [Pipeline] echo 17:06:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:06:44 + git log --format=format:%s -1 4a982b7041d82734441c6a96dd368ca09fb966da [Pipeline] echo 17:06:44 GIT_COMMIT: 4a982b7041d82734441c6a96dd368ca09fb966da, Commit Message: ci: update app-service-template for LTS [Pipeline] echo 17:06:44 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:06:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:06:45 17:06:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:06:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:06:46 latest: Pulling from edgex-devops/git-semver 17:06:46 31603596830f: Pulling fs layer 17:06:46 04fac38145f0: Pulling fs layer 17:06:46 701f6daf10bf: Pulling fs layer 17:06:46 24f72da36158: Pulling fs layer 17:06:46 24f72da36158: Waiting 17:06:46 04fac38145f0: Verifying Checksum 17:06:46 04fac38145f0: Download complete 17:06:46 31603596830f: Verifying Checksum 17:06:46 31603596830f: Download complete 17:06:46 24f72da36158: Verifying Checksum 17:06:46 24f72da36158: Download complete 17:06:46 701f6daf10bf: Verifying Checksum 17:06:46 701f6daf10bf: Download complete 17:06:46 31603596830f: Pull complete 17:06:46 04fac38145f0: Pull complete 17:06:47 701f6daf10bf: Pull complete 17:06:47 24f72da36158: Pull complete 17:06:47 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 17:06:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:06:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:06:47 prd-centos7-docker-4c-2g-174 does not seem to be running inside a container 17:06:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-964 -v /w/workspace/ndry_app-functions-sdk-go_PR-964:/w/workspace/ndry_app-functions-sdk-go_PR-964:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-964@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-964@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:06:48 $ docker top d8f90a923697272a2dc35420c9432ca9a973d60baa24c939b9fce7070fff8063 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:06:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:06:48 [ssh-agent] Looking for ssh-agent implementation... 17:06:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:06:48 $ docker exec d8f90a923697272a2dc35420c9432ca9a973d60baa24c939b9fce7070fff8063 ssh-agent 17:06:48 SSH_AUTH_SOCK=/tmp/ssh-3T69XUGwqVeh/agent.14 17:06:48 SSH_AGENT_PID=20 17:06:48 Running ssh-add (command line suppressed) 17:06:48 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-964@tmp/private_key_540937495918247543.key (/w/workspace/ndry_app-functions-sdk-go_PR-964@tmp/private_key_540937495918247543.key) 17:06:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:06:49 + git tag --points-at HEAD [Pipeline] } 17:06:49 $ docker exec --env ******** --env ******** d8f90a923697272a2dc35420c9432ca9a973d60baa24c939b9fce7070fff8063 ssh-agent -k 17:06:49 unset SSH_AUTH_SOCK; 17:06:49 unset SSH_AGENT_PID; 17:06:49 echo Agent pid 20 killed; 17:06:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:06:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:06:49 [ssh-agent] Looking for ssh-agent implementation... 17:06:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:06:49 $ docker exec d8f90a923697272a2dc35420c9432ca9a973d60baa24c939b9fce7070fff8063 ssh-agent 17:06:49 SSH_AUTH_SOCK=/tmp/ssh-FargEUBu55Bm/agent.53 17:06:49 SSH_AGENT_PID=60 17:06:49 Running ssh-add (command line suppressed) 17:06:49 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-964@tmp/private_key_9042888237950668484.key (/w/workspace/ndry_app-functions-sdk-go_PR-964@tmp/private_key_9042888237950668484.key) 17:06:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:06:50 + git semver init 17:06:50 # -> Open(): unable to determine branch for HEAD 17:06:50 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-964/.git 17:06:50 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-964 17:06:50 # $SEMVER_REMOTE_NAME = origin 17:06:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:06:50 # $SEMVER_USER_NAME = edgex-jenkins 17:06:50 # $SEMVER_BRANCH = PR-964 17:06:50 # $SEMVER_TEMP = /tmp/semver-491568424 17:06:50 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 17:06:51 # '/tmp/semver-491568424' -> '/w/workspace/ndry_app-functions-sdk-go_PR-964/.semver' 17:06:52 # -> Force: false 17:06:52 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-964/.semver [Pipeline] } 17:06:52 $ docker exec --env ******** --env ******** d8f90a923697272a2dc35420c9432ca9a973d60baa24c939b9fce7070fff8063 ssh-agent -k 17:06:52 unset SSH_AUTH_SOCK; 17:06:52 unset SSH_AGENT_PID; 17:06:52 echo Agent pid 60 killed; 17:06:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:06:52 + git semver [Pipeline] } 17:06:52 $ docker stop --time=1 d8f90a923697272a2dc35420c9432ca9a973d60baa24c939b9fce7070fff8063 17:06:54 $ docker rm -f d8f90a923697272a2dc35420c9432ca9a973d60baa24c939b9fce7070fff8063 [Pipeline] // withDockerContainer [Pipeline] sh 17:06:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:06:54 Stashed 1 file(s) [Pipeline] echo 17:06:55 [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:07:10 Still waiting to schedule task 17:07:10 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-174’ 17:07:10 Still waiting to schedule task 17:07:10 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 17:09:50 Running on prd-centos7-docker-4c-2g-178 in /w/workspace/ndry_app-functions-sdk-go_PR-964 [Pipeline] { [Pipeline] ws 17:09:50 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 17:09:50 The recommended git tool is: git 17:09:54 using credential edgex-jenkins-ssh 17:09:54 Cloning the remote Git repository 17:09:54 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:09:54 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 17:09:54 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:09:54 > git --version # timeout=10 17:09:54 > git --version # 'git version 2.24.4' 17:09:54 using GIT_SSH to set credentials SSH Credentials for GitHub 17:09:54 [INFO] Currently running in a labeled security context 17:09:54 [INFO] Currently SELinux is 'enforcing' on the host 17:09:54 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh2369372455289090782.key 17:09:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:09:56 Merging remotes/origin/main commit aa508a3e66e4a281fa0c2e3029608a5edd05d007 into PR head commit 4a982b7041d82734441c6a96dd368ca09fb966da 17:09:56 Merge succeeded, producing 4a982b7041d82734441c6a96dd368ca09fb966da 17:09:56 Checking out Revision 4a982b7041d82734441c6a96dd368ca09fb966da (PR-964) 17:09:55 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:09:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:09:55 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:09:55 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:09:55 using GIT_SSH to set credentials SSH Credentials for GitHub 17:09:55 [INFO] Currently running in a labeled security context 17:09:55 [INFO] Currently SELinux is 'enforcing' on the host 17:09:55 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh2335255126403243052.key 17:09:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/964/head:refs/remotes/origin/PR-964 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:09:56 > git config core.sparsecheckout # timeout=10 17:09:56 > git checkout -f 4a982b7041d82734441c6a96dd368ca09fb966da # timeout=10 17:09:56 > git remote # timeout=10 17:09:56 > git config --get remote.origin.url # timeout=10 17:09:56 using GIT_SSH to set credentials SSH Credentials for GitHub 17:09:56 [INFO] Currently running in a labeled security context 17:09:56 [INFO] Currently SELinux is 'enforcing' on the host 17:09:56 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh3269754339701316791.key 17:09:56 > git merge aa508a3e66e4a281fa0c2e3029608a5edd05d007 # timeout=10 17:09:56 > git rev-parse HEAD^{commit} # timeout=10 17:09:56 > git config core.sparsecheckout # timeout=10 17:09:56 > git checkout -f 4a982b7041d82734441c6a96dd368ca09fb966da # timeout=10 17:10:00 Commit message: "ci: update app-service-template for LTS" 17:10:00 > git --version # timeout=10 17:10:00 > git --version # 'git version 2.24.4' 17:10:00 fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:10:01 ========================================================= 17:10:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 17:10:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:10:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 17:10:02 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 17:10:02 a0d0a0d46f8b: Pulling fs layer 17:10:02 31adcdaf11c8: Pulling fs layer 17:10:02 b8b176561691: Pulling fs layer 17:10:02 4527c011a84f: Pulling fs layer 17:10:02 5d74067f8e1e: Pulling fs layer 17:10:02 422cf6fa6bef: Pulling fs layer 17:10:02 76c23d3c928b: Pulling fs layer 17:10:02 b0ab8671f0de: Pulling fs layer 17:10:02 a7ba4ba32af5: Pulling fs layer 17:10:02 4527c011a84f: Waiting 17:10:02 5d74067f8e1e: Waiting 17:10:02 422cf6fa6bef: Waiting 17:10:02 76c23d3c928b: Waiting 17:10:02 b0ab8671f0de: Waiting 17:10:02 a7ba4ba32af5: Waiting 17:10:02 b8b176561691: Verifying Checksum 17:10:02 b8b176561691: Download complete 17:10:02 31adcdaf11c8: Verifying Checksum 17:10:02 31adcdaf11c8: Download complete 17:10:02 5d74067f8e1e: Verifying Checksum 17:10:02 5d74067f8e1e: Download complete 17:10:02 422cf6fa6bef: Verifying Checksum 17:10:02 422cf6fa6bef: Download complete 17:10:02 a0d0a0d46f8b: Verifying Checksum 17:10:02 a0d0a0d46f8b: Download complete 17:10:02 76c23d3c928b: Download complete 17:10:02 a0d0a0d46f8b: Pull complete 17:10:02 31adcdaf11c8: Pull complete 17:10:03 b8b176561691: Pull complete 17:10:03 b0ab8671f0de: Verifying Checksum 17:10:03 b0ab8671f0de: Download complete 17:10:04 a7ba4ba32af5: Verifying Checksum 17:10:04 a7ba4ba32af5: Download complete 17:10:04 4527c011a84f: Verifying Checksum 17:10:04 4527c011a84f: Download complete 17:10:08 4527c011a84f: Pull complete 17:10:08 5d74067f8e1e: Pull complete 17:10:08 422cf6fa6bef: Pull complete 17:10:08 76c23d3c928b: Pull complete 17:10:08 b0ab8671f0de: Pull complete 17:10:11 a7ba4ba32af5: Pull complete 17:10:11 Digest: sha256:9f522e5ba371b9c758fd7e90815c04fefb4b1d14a41cd28f68756861d8a97abf 17:10:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 17:10:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 17:10:11 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 17:10:12 + docker inspect -f . ci-base-image-x86_64 17:10:12 . [Pipeline] withDockerContainer 17:10:12 prd-centos7-docker-4c-2g-178 does not seem to be running inside a container 17:10:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** ci-base-image-x86_64 cat 17:10:14 $ docker top cc655d97c8f48b3c98975fbdab48cd10a0d06578f8632988c48a0231bbbf9b3e -eo pid,comm [Pipeline] { [Pipeline] sh 17:10:15 + go version 17:10:15 go version go1.16.8 linux/amd64 [Pipeline] } 17:10:15 $ docker stop --time=1 cc655d97c8f48b3c98975fbdab48cd10a0d06578f8632988c48a0231bbbf9b3e 17:10:16 $ docker rm -f cc655d97c8f48b3c98975fbdab48cd10a0d06578f8632988c48a0231bbbf9b3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:10:17 + docker inspect -f . ci-base-image-x86_64 17:10:17 . [Pipeline] withDockerContainer 17:10:17 prd-centos7-docker-4c-2g-178 does not seem to be running inside a container 17:10:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** ci-base-image-x86_64 cat 17:10:17 $ docker top 3c9972eea53f56a354bc0afa007d0b813fb2a3030d9335e8edefd8e305919458 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:10:18 + make test 17:10:18 make -C ./app-service-template build 17:10:18 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 17:10:18 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:10:36 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 17:10:36 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 17:10:36 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 17:10:36 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 17:10:36 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 17:10:36 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 17:10:36 go: downloading github.com/go-kit/kit v0.9.0 17:10:36 go: downloading github.com/google/uuid v1.3.0 17:10:36 go: downloading github.com/gorilla/mux v1.8.0 17:10:36 go: downloading github.com/hashicorp/go-multierror v1.1.1 17:10:36 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 17:10:36 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 17:10:36 go: downloading github.com/mitchellh/copystructure v1.0.0 17:10:36 go: downloading github.com/go-playground/validator/v10 v10.6.1 17:10:36 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 17:10:36 go: downloading github.com/gorilla/websocket v1.4.2 17:10:36 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 17:10:36 go: downloading github.com/pelletier/go-toml v1.9.2 17:10:36 go: downloading github.com/go-logfmt/logfmt v0.4.0 17:10:36 go: downloading github.com/hashicorp/consul/api v1.8.1 17:10:36 go: downloading github.com/hashicorp/errwrap v1.0.0 17:10:36 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:10:36 go: downloading github.com/go-playground/universal-translator v0.17.0 17:10:36 go: downloading github.com/leodido/go-urn v1.2.0 17:10:36 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 17:10:36 go: downloading golang.org/x/text v0.3.2 17:10:36 go: downloading github.com/x448/float16 v0.8.4 17:10:36 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:10:36 go: downloading github.com/hashicorp/go-hclog v0.12.0 17:10:36 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 17:10:36 go: downloading github.com/hashicorp/serf v0.9.5 17:10:36 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:10:36 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 17:10:36 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:10:36 go: downloading github.com/go-playground/locales v0.13.0 17:10:37 go: downloading github.com/fatih/color v1.9.0 17:10:37 go: downloading github.com/mattn/go-isatty v0.0.12 17:10:37 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:10:37 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 17:10:37 go: downloading github.com/go-redis/redis/v7 v7.3.0 17:10:37 go: downloading github.com/pebbe/zmq4 v1.2.7 17:10:37 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:10:37 go: downloading github.com/mattn/go-colorable v0.1.6 17:10:37 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 17:10:37 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:10:37 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:10:50 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 17:10:50 make -C ./app-service-template test 17:10:50 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 17:10:50 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 17:10:50 go: downloading github.com/stretchr/testify v1.7.0 17:10:51 go: downloading github.com/davecgh/go-spew v1.1.1 17:10:51 go: downloading github.com/pmezard/go-difflib v1.0.0 17:10:52 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 17:10:54 go: downloading github.com/stretchr/objx v0.1.0 17:11:04 ok new-app-service 0.023s coverage: 48.1% of statements 17:11:04 ? new-app-service/config [no test files] 17:11:04 ok new-app-service/functions 0.007s 17:11:04 CGO_ENABLED=1 go vet ./... 17:11:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:11:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:11:11 ./bin/test-attribution-txt.sh 17:11:11 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 17:11:11 go: downloading github.com/mitchellh/go-homedir v1.1.0 17:11:11 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 17:11:11 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:11:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 17:11:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.013s coverage: 67.5% of statements 17:11:13 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] 17:11:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.008s coverage: 93.7% of statements 17:11:13 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 17:11:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.019s coverage: 61.8% of statements 17:11:14 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 17:11:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.016s 17:11:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.084s coverage: 75.7% of statements 17:11:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 17:11:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 17:11:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 17:11:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 17:11:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 17:11:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 17:11:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.006s coverage: 97.3% of statements 17:11:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 17:11:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.005s coverage: 10.5% of statements 17:11:18 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.053s coverage: 77.0% of statements 17:11:18 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 17:11:18 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.013s coverage: 12.5% of statements 17:11:18 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.008s coverage: 27.3% of statements 17:11:18 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 17:11:18 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 17:11:18 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.008s coverage: 51.4% of statements 17:11:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-179 in /w/workspace/ndry_app-functions-sdk-go_PR-964 [Pipeline] { [Pipeline] ws 17:11:28 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 17:11:29 The recommended git tool is: git 17:11:35 using credential edgex-jenkins-ssh 17:11:35 Cloning the remote Git repository 17:11:36 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:11:36 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 17:11:36 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:11:36 > git --version # timeout=10 17:11:36 > git --version # 'git version 2.17.1' 17:11:36 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:11:40 Merging remotes/origin/main commit aa508a3e66e4a281fa0c2e3029608a5edd05d007 into PR head commit 4a982b7041d82734441c6a96dd368ca09fb966da 17:11:40 Merge succeeded, producing 4a982b7041d82734441c6a96dd368ca09fb966da 17:11:40 Checking out Revision 4a982b7041d82734441c6a96dd368ca09fb966da (PR-964) 17:11:39 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:11:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:11:39 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:11:39 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:11:39 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/964/head:refs/remotes/origin/PR-964 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:11:40 > git config core.sparsecheckout # timeout=10 17:11:40 > git checkout -f 4a982b7041d82734441c6a96dd368ca09fb966da # timeout=10 17:11:40 > git remote # timeout=10 17:11:40 > git config --get remote.origin.url # timeout=10 17:11:40 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:40 > git merge aa508a3e66e4a281fa0c2e3029608a5edd05d007 # timeout=10 17:11:40 > git rev-parse HEAD^{commit} # timeout=10 17:11:40 > git config core.sparsecheckout # timeout=10 17:11:40 > git checkout -f 4a982b7041d82734441c6a96dd368ca09fb966da # timeout=10 17:11:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.029s coverage: 77.3% of statements 17:11:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.010s coverage: 94.4% of statements 17:11:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:11:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:11:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } 17:11:45 $ docker stop --time=1 3c9972eea53f56a354bc0afa007d0b813fb2a3030d9335e8edefd8e305919458 17:11:45 Commit message: "ci: update app-service-template for LTS" 17:11:45 > git --version # timeout=10 17:11:45 > git --version # 'git version 2.17.1' 17:11:45 fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 17:11:46 $ docker rm -f 3c9972eea53f56a354bc0afa007d0b813fb2a3030d9335e8edefd8e305919458 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 17:11:47 + sudo chown -R jenkins:jenkins . [Pipeline] unstash [Pipeline] stash 17:11:47 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] echo 17:11:48 ========================================================= 17:11:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 17:11:48 ========================================================= [Pipeline] fileExists [Pipeline] stage [Pipeline] { (Build) [Pipeline] fileExists [Pipeline] sh 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 17:11:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:11:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:11:49 17:11:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:11:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:11:49 latest: Pulling from edgex-lftools-log-publisher 17:11:49 b4d181a07f80: Pulling fs layer 17:11:49 a1111a8f2ec3: Pulling fs layer 17:11:49 ed53099fbce6: Pulling fs layer 17:11:49 dc539afda2c1: Pulling fs layer 17:11:49 77bc0d833cb6: Pulling fs layer 17:11:49 9065ff56babe: Pulling fs layer 17:11:49 d287ab97295c: Pulling fs layer 17:11:49 dc539afda2c1: Waiting 17:11:49 77bc0d833cb6: Waiting 17:11:49 9065ff56babe: Waiting 17:11:49 d287ab97295c: Waiting 17:11:50 a1111a8f2ec3: Verifying Checksum 17:11:50 a1111a8f2ec3: Download complete 17:11:50 dc539afda2c1: Verifying Checksum 17:11:50 dc539afda2c1: Download complete 17:11:50 ed53099fbce6: Verifying Checksum 17:11:50 ed53099fbce6: Download complete 17:11:50 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:11:50 bbf911997326: Pulling fs layer 17:11:50 58ec367f63d7: Pulling fs layer 17:11:50 1b4a6ffa7d45: Pulling fs layer 17:11:50 fc5181fea5dc: Pulling fs layer 17:11:50 9c418107303f: Pulling fs layer 17:11:50 0cd29c4cc85c: Pulling fs layer 17:11:50 76d7273c05b8: Pulling fs layer 17:11:50 e9181ef05905: Pulling fs layer 17:11:50 9c418107303f: Waiting 17:11:50 0cd29c4cc85c: Waiting 17:11:50 76d7273c05b8: Waiting 17:11:50 e9181ef05905: Waiting 17:11:50 9065ff56babe: Verifying Checksum 17:11:50 9065ff56babe: Download complete 17:11:50 b4d181a07f80: Verifying Checksum 17:11:50 b4d181a07f80: Download complete 17:11:50 77bc0d833cb6: Verifying Checksum 17:11:50 77bc0d833cb6: Download complete 17:11:50 1b4a6ffa7d45: Verifying Checksum 17:11:50 1b4a6ffa7d45: Download complete 17:11:50 58ec367f63d7: Download complete 17:11:50 bbf911997326: Verifying Checksum 17:11:50 bbf911997326: Download complete 17:11:50 9c418107303f: Verifying Checksum 17:11:50 9c418107303f: Download complete 17:11:50 0cd29c4cc85c: Download complete 17:11:50 76d7273c05b8: Verifying Checksum 17:11:50 76d7273c05b8: Download complete 17:11:51 bbf911997326: Pull complete 17:11:51 b4d181a07f80: Pull complete 17:11:51 a1111a8f2ec3: Pull complete 17:11:52 58ec367f63d7: Pull complete 17:11:52 1b4a6ffa7d45: Pull complete 17:11:52 ed53099fbce6: Pull complete 17:11:52 dc539afda2c1: Pull complete 17:11:53 77bc0d833cb6: Pull complete 17:11:53 9065ff56babe: Pull complete 17:11:58 e9181ef05905: Verifying Checksum 17:11:58 e9181ef05905: Download complete 17:11:58 fc5181fea5dc: Verifying Checksum 17:11:58 fc5181fea5dc: Download complete 17:11:58 d287ab97295c: Verifying Checksum 17:11:58 d287ab97295c: Download complete 17:12:03 d287ab97295c: Pull complete 17:12:03 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 17:12:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:12:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:12:03 prd-centos7-docker-4c-2g-178 does not seem to be running inside a container 17:12:03 $ 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/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:12:05 $ docker top d980af12a9cd4c5dbef7bc334cc9321b6cf825160a7e63183075d9424b22be81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:12:06 ---> job-cost.sh 17:12:06 lf-activate-venv: SKIPPING 17:12:06 INFO: No Stack... 17:12:07 INFO: Retrieving Pricing Info for: v3-standard-2 17:12:07 INFO: Archiving Costs [Pipeline] sh 17:12:07 + cut -d, -f6 17:12:07 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [Pipeline] lock 17:12:07 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-964-1-stack-cost] 17:12:07 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-964-1-stack-cost] did not exist. Created. 17:12:07 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-964-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:12:08 + echo total: 0.05999999865889549 [Pipeline] stash 17:12:08 Stashed 1 file(s) [Pipeline] } 17:12:08 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-964-1-stack-cost] [Pipeline] // lock 17:12:08 fc5181fea5dc: Pull complete 17:12:08 9c418107303f: Pull complete [Pipeline] } 17:12:08 $ docker stop --time=1 d980af12a9cd4c5dbef7bc334cc9321b6cf825160a7e63183075d9424b22be81 17:12:08 0cd29c4cc85c: Pull complete 17:12:09 76d7273c05b8: Pull complete 17:12:09 $ docker rm -f d980af12a9cd4c5dbef7bc334cc9321b6cf825160a7e63183075d9424b22be81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:12:14 e9181ef05905: Pull complete 17:12:14 Digest: sha256:b68600a42bdad252800863e960bd1bff7f9295dc42515d77c75fe1690b9bba97 17:12:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 17:12:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 17:12:15 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 17:12:16 + docker inspect -f . ci-base-image-arm64 17:12:16 . [Pipeline] withDockerContainer 17:12:16 prd-ubuntu18.04-docker-arm64-4c-16g-179 does not seem to be running inside a container 17:12:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** ci-base-image-arm64 cat 17:12:24 $ docker top a25ed70b11d1259c9ddcd59c368b5e432a884870f511937916725878e3bf50cc -eo pid,comm [Pipeline] { [Pipeline] sh 17:12:25 + go version 17:12:25 go version go1.16.8 linux/arm64 [Pipeline] } 17:12:25 $ docker stop --time=1 a25ed70b11d1259c9ddcd59c368b5e432a884870f511937916725878e3bf50cc 17:12:27 $ docker rm -f a25ed70b11d1259c9ddcd59c368b5e432a884870f511937916725878e3bf50cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:12:28 + docker inspect -f . ci-base-image-arm64 17:12:28 . [Pipeline] withDockerContainer 17:12:28 prd-ubuntu18.04-docker-arm64-4c-16g-179 does not seem to be running inside a container 17:12:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** ci-base-image-arm64 cat 17:12:30 $ docker top 7e7b74ae5c81ee6713752bb37d187788d690f192492c958fc72e2fc70f86a649 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:12:31 + make test 17:12:31 make -C ./app-service-template build 17:12:31 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 17:12:31 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:12:33 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 17:12:33 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 17:12:33 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 17:12:33 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 17:12:33 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 17:12:33 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 17:12:33 go: downloading github.com/gorilla/mux v1.8.0 17:12:35 go: downloading github.com/hashicorp/go-multierror v1.1.1 17:12:35 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 17:12:35 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 17:12:35 go: downloading github.com/go-kit/kit v0.9.0 17:12:35 go: downloading github.com/google/uuid v1.3.0 17:12:35 go: downloading github.com/go-playground/validator/v10 v10.6.1 17:12:35 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 17:12:35 go: downloading github.com/pelletier/go-toml v1.9.2 17:12:35 go: downloading github.com/mitchellh/copystructure v1.0.0 17:12:35 go: downloading github.com/hashicorp/errwrap v1.0.0 17:12:35 go: downloading github.com/gorilla/websocket v1.4.2 17:12:35 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 17:12:35 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 17:12:35 go: downloading github.com/x448/float16 v0.8.4 17:12:35 go: downloading github.com/hashicorp/consul/api v1.8.1 17:12:35 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:12:35 go: downloading github.com/go-playground/universal-translator v0.17.0 17:12:35 go: downloading github.com/leodido/go-urn v1.2.0 17:12:35 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 17:12:36 go: downloading golang.org/x/text v0.3.2 17:12:36 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:12:36 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 17:12:36 go: downloading github.com/go-redis/redis/v7 v7.3.0 17:12:36 go: downloading github.com/pebbe/zmq4 v1.2.7 17:12:36 go: downloading github.com/go-logfmt/logfmt v0.4.0 17:12:36 go: downloading github.com/go-playground/locales v0.13.0 17:12:36 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:12:36 go: downloading github.com/hashicorp/go-hclog v0.12.0 17:12:37 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 17:12:37 go: downloading github.com/hashicorp/serf v0.9.5 17:12:37 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:12:37 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:12:37 go: downloading github.com/fatih/color v1.9.0 17:12:39 go: downloading github.com/mattn/go-isatty v0.0.12 17:12:39 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:12:45 go: downloading github.com/mattn/go-colorable v0.1.6 17:12:45 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 17:12:45 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:12:45 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:13:32 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 17:13:32 make -C ./app-service-template test 17:13:32 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 17:13:32 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 17:13:32 go: downloading github.com/stretchr/testify v1.7.0 17:13:32 go: downloading github.com/davecgh/go-spew v1.1.1 17:13:32 go: downloading github.com/pmezard/go-difflib v1.0.0 17:13:32 go: downloading github.com/stretchr/objx v0.1.0 17:13:32 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 17:14:05 ok new-app-service 0.046s coverage: 48.1% of statements 17:14:05 ? new-app-service/config [no test files] 17:14:05 ok new-app-service/functions 0.040s 17:14:05 CGO_ENABLED=1 go vet ./... 17:14:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:14:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:14:32 ./bin/test-attribution-txt.sh 17:14:32 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 17:14:32 go: downloading github.com/mitchellh/go-homedir v1.1.0 17:14:32 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 17:14:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:14:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 17:14:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.169s coverage: 67.5% of statements 17:14:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] 17:14:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.082s coverage: 93.7% of statements 17:14:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 17:14:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.122s coverage: 61.8% of statements 17:14:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 17:14:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.083s 17:14:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.203s coverage: 75.7% of statements 17:14:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 17:14:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 17:14:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 17:14:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 17:14:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 17:14:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 17:14:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.021s coverage: 97.3% of statements 17:14:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 17:14:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.108s coverage: 10.5% of statements 17:14:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.203s coverage: 77.0% of statements 17:14:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 17:14:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.119s coverage: 12.5% of statements 17:14:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.078s coverage: 27.3% of statements 17:14:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 17:14:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 17:14:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.074s coverage: 51.4% of statements 17:15:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.108s coverage: 77.3% of statements 17:15:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.033s coverage: 94.4% of statements 17:15:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:15:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:15:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } 17:15:22 $ docker stop --time=1 7e7b74ae5c81ee6713752bb37d187788d690f192492c958fc72e2fc70f86a649 17:15:24 $ docker rm -f 7e7b74ae5c81ee6713752bb37d187788d690f192492c958fc72e2fc70f86a649 [Pipeline] // withDockerContainer [Pipeline] sh 17:15:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:15:27 Warning: overwriting stash ‘coverage-report’ 17:15:27 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:15:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:15:29 17:15:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:15:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:15:30 arm64: Pulling from edgex-lftools-log-publisher 17:15:30 448f6bf000e3: Pulling fs layer 17:15:30 f757da607395: Pulling fs layer 17:15:30 05883995daec: Pulling fs layer 17:15:30 8603b9c90790: Pulling fs layer 17:15:30 1560dd03e051: Pulling fs layer 17:15:30 27f5ce0e4adf: Pulling fs layer 17:15:30 c2d8d7efcc4b: Pulling fs layer 17:15:30 8603b9c90790: Waiting 17:15:30 1560dd03e051: Waiting 17:15:30 27f5ce0e4adf: Waiting 17:15:30 c2d8d7efcc4b: Waiting 17:15:30 f757da607395: Verifying Checksum 17:15:30 f757da607395: Download complete 17:15:30 8603b9c90790: Verifying Checksum 17:15:30 8603b9c90790: Download complete 17:15:30 05883995daec: Verifying Checksum 17:15:30 05883995daec: Download complete 17:15:30 27f5ce0e4adf: Download complete 17:15:30 1560dd03e051: Verifying Checksum 17:15:30 1560dd03e051: Download complete 17:15:31 448f6bf000e3: Download complete 17:15:35 c2d8d7efcc4b: Verifying Checksum 17:15:35 c2d8d7efcc4b: Download complete 17:15:35 448f6bf000e3: Pull complete 17:15:36 f757da607395: Pull complete 17:15:37 05883995daec: Pull complete 17:15:38 8603b9c90790: Pull complete 17:15:39 1560dd03e051: Pull complete 17:15:39 27f5ce0e4adf: Pull complete 17:15:54 c2d8d7efcc4b: Pull complete 17:15:54 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 17:15:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:15:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:15:55 prd-ubuntu18.04-docker-arm64-4c-16g-179 does not seem to be running inside a container 17:15:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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:arm64 cat 17:15:59 $ docker top 732f23978a877e830c7b98d938566547af5531404362553644a5b25c7d8cbd41 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:16:01 ---> job-cost.sh 17:16:01 lf-activate-venv: SKIPPING 17:16:01 INFO: No Stack... 17:16:11 INFO: Retrieving Pricing Info for: v3-standard-4 17:16:11 INFO: Archiving Costs [Pipeline] sh 17:16:12 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv 17:16:12 + cut -d, -f6 [Pipeline] lock 17:16:12 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-964-1-stack-cost] 17:16:12 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-964-1-stack-cost] did not exist. Created. 17:16:12 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-964-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:16:13 /w/workspace/app-functions-sdk-go/1@tmp/durable-5a58c162/script.sh: 1: /w/workspace/app-functions-sdk-go/1@tmp/durable-5a58c162/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 17:16:14 + echo total: 0.10999999940395355 [Pipeline] stash 17:16:14 Warning: overwriting stash ‘stack-cost’ 17:16:14 Stashed 1 file(s) [Pipeline] } 17:16:14 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-964-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:16:14 $ docker stop --time=1 732f23978a877e830c7b98d938566547af5531404362553644a5b25c7d8cbd41 17:16:16 $ docker rm -f 732f23978a877e830c7b98d938566547af5531404362553644a5b25c7d8cbd41 [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:16:18 provisioning config files... 17:16:18 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-964@tmp/config4525847100976432303tmp [Pipeline] { [Pipeline] sh 17:16:18 + set +x 17:16:18 + curl -s https://codecov.io/bash 17:16:18 + bash -s -- 17:16:18 17:16:18 _____ _ 17:16:18 / ____| | | 17:16:18 | | ___ __| | ___ ___ _____ __ 17:16:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:16:18 | |___| (_) | (_| | __/ (_| (_) \ V / 17:16:18 \_____\___/ \__,_|\___|\___\___/ \_/ 17:16:18 Bash-1.0.6 17:16:18 17:16:18 17:16:18 ==> git version 2.24.4 found 17:16:18 ==> 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:16:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 17:16:18 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 17:16:18 ==> Jenkins CI detected. 17:16:18 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-964 17:16:18 project root: . 17:16:18 --> token set from env 17:16:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:16:18 ==> Running gcov in . (disable via -X gcov) 17:16:18 ==> Python coveragepy not found 17:16:18 ==> Searching for coverage reports in: 17:16:18 + . 17:16:18 -> Found 2 reports 17:16:18 ==> Detecting git/mercurial file structure 17:16:18 ==> Reading reports 17:16:18 + ./app-service-template/coverage.out bytes=1219 17:16:18 + ./coverage.out bytes=101380 17:16:18 ==> Appending adjustments 17:16:18 https://docs.codecov.io/docs/fixing-reports 17:16:19 + Found adjustments 17:16:19 ==> Gzipping contents 17:16:19 20K /tmp/codecov.UlogVS.gz 17:16:19 ==> Uploading reports 17:16:19 url: https://codecov.io 17:16:19 query: branch=PR-964&commit=4a982b7041d82734441c6a96dd368ca09fb966da&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-964%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=964&job=&cmd_args= 17:16:19 -> Pinging Codecov 17:16:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-964&commit=4a982b7041d82734441c6a96dd368ca09fb966da&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-964%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=964&job=&cmd_args= 17:16:19 -> Uploading to 17:16:19 https://storage.googleapis.com/codecov/v4/raw/2021-10-06/3D8B5DFFC46A037C893635FACE044666/4a982b7041d82734441c6a96dd368ca09fb966da/749e0639-f50b-4aa2-b483-d76a7757b823.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211006T171619Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=aa0b8c5808dc7494ce8f43faaaadc8877834787c7b8ca2509ca06e896007d41c 17:16:19 % Total % Received % Xferd Average Speed Time Time Time Current 17:16:19 Dload Upload Total Spent Left Speed 17:16:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17690 0 0 100 17690 0 59666 --:--:-- --:--:-- --:--:-- 59562 17:16:19 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/4a982b7041d82734441c6a96dd368ca09fb966da [Pipeline] } 17:16:19 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:16:22 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-964/archives ']' [Pipeline] libraryResource [Pipeline] sh 17:16:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:16:23 ---> package-listing.sh 17:16:23 ++ facter osfamily 17:16:23 ++ tr '[:upper:]' '[:lower:]' 17:16:23 + OS_FAMILY=redhat 17:16:23 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-964 17:16:23 + START_PACKAGES=/tmp/packages_start.txt 17:16:23 + END_PACKAGES=/tmp/packages_end.txt 17:16:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:16:23 + PACKAGES=/tmp/packages_start.txt 17:16:23 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-964 ']' 17:16:23 + PACKAGES=/tmp/packages_end.txt 17:16:23 + case "${OS_FAMILY}" in 17:16:23 + rpm -qa 17:16:23 + sort 17:16:24 + '[' -f /tmp/packages_start.txt ']' 17:16:24 + '[' -f /tmp/packages_end.txt ']' 17:16:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:16:24 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-964 ']' 17:16:24 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-964/archives/ 17:16:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-964/archives/ [Pipeline] echo 17:16:24 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-964/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:16:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:16:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:16:25 17:16:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:16:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:16:25 latest: Pulling from edgex-lftools-log-publisher 17:16:25 b4d181a07f80: Pulling fs layer 17:16:25 a1111a8f2ec3: Pulling fs layer 17:16:25 ed53099fbce6: Pulling fs layer 17:16:25 dc539afda2c1: Pulling fs layer 17:16:25 77bc0d833cb6: Pulling fs layer 17:16:25 9065ff56babe: Pulling fs layer 17:16:25 d287ab97295c: Pulling fs layer 17:16:25 dc539afda2c1: Waiting 17:16:25 9065ff56babe: Waiting 17:16:25 d287ab97295c: Waiting 17:16:25 77bc0d833cb6: Waiting 17:16:26 a1111a8f2ec3: Verifying Checksum 17:16:26 a1111a8f2ec3: Download complete 17:16:26 dc539afda2c1: Verifying Checksum 17:16:26 dc539afda2c1: Download complete 17:16:26 ed53099fbce6: Verifying Checksum 17:16:26 ed53099fbce6: Download complete 17:16:26 9065ff56babe: Verifying Checksum 17:16:26 9065ff56babe: Download complete 17:16:26 77bc0d833cb6: Verifying Checksum 17:16:26 77bc0d833cb6: Download complete 17:16:26 b4d181a07f80: Verifying Checksum 17:16:26 b4d181a07f80: Download complete 17:16:27 d287ab97295c: Verifying Checksum 17:16:27 d287ab97295c: Download complete 17:16:28 b4d181a07f80: Pull complete 17:16:28 a1111a8f2ec3: Pull complete 17:16:28 ed53099fbce6: Pull complete 17:16:28 dc539afda2c1: Pull complete 17:16:29 77bc0d833cb6: Pull complete 17:16:29 9065ff56babe: Pull complete 17:16:34 d287ab97295c: Pull complete 17:16:34 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 17:16:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:16:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:16:34 prd-centos7-docker-4c-2g-174 does not seem to be running inside a container 17:16:34 $ 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-964/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-964 -v /w/workspace/ndry_app-functions-sdk-go_PR-964:/w/workspace/ndry_app-functions-sdk-go_PR-964:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-964@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-964@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:16:37 $ docker top ccc20ba0f2dbd7937ffcfdb0aa7a6564d7fdfc6e61ef67054ee208950336ff6f -eo pid,comm [Pipeline] { [Pipeline] sh 17:16:37 + touch /tmp/pre-build-complete [Pipeline] sh 17:16:38 + mkdir -p /var/log/sysstat [Pipeline] sh 17:16:38 + ls /var/log/sa-host 17:16:38 + sadf -c /var/log/sa-host/sa06 17:16:38 file_magic: OK 17:16:38 HZ: Using current value: 100 17:16:38 file_header: OK 17:16:38 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:16:38 Statistics: 17:16:38 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:16:38 File successfully converted to sysstat format version 12.0.3 17:16:38 + sadf -c /var/log/sa-host/sa30 17:16:38 file_magic: OK 17:16:38 HZ: Using current value: 100 17:16:38 file_header: OK 17:16:38 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:16:38 Statistics: 17:16:38 Hnuu...uuuununununu...Hnuu...uuuununununu... 17:16:38 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:16:38 provisioning config files... 17:16:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-964@tmp/config6315440384932571273tmp [Pipeline] { [Pipeline] echo 17:16:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:16:39 ---> create-netrc.sh [Pipeline] } 17:16:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:16:40 ---> python-tools-install.sh [Pipeline] echo 17:16:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:16:40 ---> sudo-logs.sh 17:16:40 Archiving 'sudo' log.. 17:16:40 sudo: unable to resolve host prd-centos7-docker-4c-2g-174.novalocal: Name or service not known 17:16:40 sudo: unable to resolve host prd-centos7-docker-4c-2g-174.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 17:16:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:16:41 ---> job-cost.sh 17:16:41 lf-activate-venv: SKIPPING 17:16:41 DEBUG: total: 0.10999999940395355 17:16:41 INFO: Retrieving Stack Cost... 17:16:41 INFO: Retrieving Pricing Info for: v3-standard-2 17:16:42 INFO: Archiving Costs [Pipeline] echo 17:16:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:16:42 ---> logs-deploy.sh 17:16:42 lf-activate-venv: SKIPPING 17:16:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-964/1 17:16:42 INFO: archiving workspace using pattern(s): 17:16:43 Archives upload complete. 17:16:43 INFO: archiving logs to Nexus 17:16:44 ---> uname -a: 17:16:44 Linux prd-centos7-docker-4c-2g-174.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 17:16:44 17:16:44 17:16:44 ---> lscpu: 17:16:44 Architecture: x86_64 17:16:44 CPU op-mode(s): 32-bit, 64-bit 17:16:44 Byte Order: Little Endian 17:16:44 Address sizes: 40 bits physical, 48 bits virtual 17:16:44 CPU(s): 2 17:16:44 On-line CPU(s) list: 0,1 17:16:44 Thread(s) per core: 1 17:16:44 Core(s) per socket: 1 17:16:44 Socket(s): 2 17:16:44 NUMA node(s): 1 17:16:44 Vendor ID: AuthenticAMD 17:16:44 CPU family: 23 17:16:44 Model: 49 17:16:44 Model name: AMD EPYC-Rome Processor 17:16:44 Stepping: 0 17:16:44 CPU MHz: 2799.998 17:16:44 BogoMIPS: 5599.99 17:16:44 Virtualization: AMD-V 17:16:44 Hypervisor vendor: KVM 17:16:44 Virtualization type: full 17:16:44 L1d cache: 32K 17:16:44 L1i cache: 32K 17:16:44 L2 cache: 512K 17:16:44 L3 cache: 16384K 17:16:44 NUMA node0 CPU(s): 0,1 17:16:44 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:16:44 17:16:44 17:16:44 ---> nproc: 17:16:44 2 17:16:44 17:16:44 17:16:44 ---> df -h: 17:16:44 Filesystem Size Used Avail Use% Mounted on 17:16:44 overlay 40G 7.7G 33G 20% / 17:16:44 tmpfs 64M 0 64M 0% /dev 17:16:44 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 17:16:44 shm 64M 0 64M 0% /dev/shm 17:16:44 /dev/vda1 40G 7.7G 33G 20% /facter-os 17:16:44 17:16:44 17:16:44 ---> sar -b -r -n DEV: 17:16:44 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/06/21 _x86_64_ (2 CPU) 17:16:44 17:16:44 17:05:58 LINUX RESTART (2 CPU) 17:16:44 17:16:44 17:07:01 tps rtps wtps bread/s bwrtn/s 17:16:44 17:08:01 1.67 0.00 1.67 0.00 34.31 17:16:44 17:09:01 0.43 0.00 0.43 0.00 6.85 17:16:44 17:10:01 0.28 0.00 0.28 0.00 2.87 17:16:44 17:11:01 0.23 0.00 0.23 0.00 3.22 17:16:44 17:12:01 0.28 0.00 0.28 0.00 4.66 17:16:44 17:13:01 0.18 0.00 0.18 0.00 2.05 17:16:44 17:14:01 0.25 0.00 0.25 0.00 3.90 17:16:44 17:15:01 0.25 0.00 0.25 0.00 2.72 17:16:44 17:16:01 0.25 0.00 0.25 0.00 3.76 17:16:44 Average: 0.43 0.00 0.43 0.00 7.15 17:16:44 17:16:44 17:07:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:16:44 17:08:01 5654200 0 612400 7.65 2620 1739720 1163956 12.85 569536 1547324 20 17:16:44 17:09:01 5649952 0 616644 7.70 2620 1739724 1164456 12.86 573672 1547364 8 17:16:44 17:10:01 5652148 0 614448 7.67 2620 1739724 1164288 12.85 571152 1547364 16 17:16:44 17:11:01 5652904 0 613684 7.66 2620 1739732 1164252 12.85 570100 1548292 20 17:16:44 17:12:01 5650484 0 616100 7.69 2620 1739736 1167000 12.88 572568 1548292 8 17:16:44 17:13:01 5650416 0 616164 7.69 2620 1739740 1166976 12.88 572416 1548292 20 17:16:44 17:14:01 5649448 0 617128 7.71 2620 1739744 1167024 12.88 573264 1548292 8 17:16:44 17:15:01 5639184 0 627384 7.83 2620 1739752 1166748 12.88 583716 1548296 8 17:16:44 17:16:01 5638740 0 627824 7.84 2620 1739756 1166904 12.88 586364 1546316 8 17:16:44 Average: 5648608 0 617975 7.72 2620 1739736 1165734 12.87 574754 1547759 13 17:16:44 17:16:44 17:07:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:16:44 17:08:01 eth0 0.80 0.08 0.06 0.03 0.00 0.00 0.00 0.00 17:16:44 17:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:44 17:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:44 17:09:01 eth0 2.66 1.07 3.24 0.25 0.00 0.00 0.00 0.00 17:16:44 17:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:44 17:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:44 17:10:01 eth0 1.95 0.28 0.40 0.11 0.00 0.00 0.00 0.00 17:16:44 17:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:44 17:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:44 17:11:01 eth0 1.42 0.33 0.35 0.25 0.00 0.00 0.00 0.00 17:16:44 17:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:44 17:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:44 17:12:01 eth0 1.90 0.48 0.51 0.30 0.00 0.00 0.00 0.00 17:16:44 17:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:44 17:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:44 17:13:01 eth0 0.65 0.45 0.33 0.21 0.00 0.00 0.00 0.00 17:16:44 17:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:44 17:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:44 17:14:01 eth0 0.40 0.27 0.26 0.20 0.00 0.00 0.00 0.00 17:16:44 17:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:44 17:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:44 17:15:01 eth0 0.40 0.10 0.03 0.01 0.00 0.00 0.00 0.00 17:16:44 17:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:44 17:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:44 17:16:01 eth0 0.77 0.42 0.30 0.18 0.00 0.00 0.00 0.00 17:16:44 17:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:44 17:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:44 Average: eth0 1.22 0.39 0.61 0.17 0.00 0.00 0.00 0.00 17:16:44 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:44 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:44 17:16:44 17:16:44 ---> sar -P ALL: 17:16:44 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/06/21 _x86_64_ (2 CPU) 17:16:44 17:16:44 17:05:58 LINUX RESTART (2 CPU) 17:16:44 17:16:44 17:07:01 CPU %user %nice %system %iowait %steal %idle 17:16:44 17:08:01 all 0.11 0.00 0.05 0.00 0.03 99.82 17:16:44 17:08:01 0 0.15 0.00 0.03 0.00 0.02 99.80 17:16:44 17:08:01 1 0.07 0.00 0.07 0.00 0.03 99.83 17:16:44 17:09:01 all 0.19 0.00 0.04 0.00 0.03 99.74 17:16:44 17:09:01 0 0.28 0.00 0.05 0.00 0.02 99.65 17:16:44 17:09:01 1 0.10 0.00 0.03 0.00 0.03 99.83 17:16:44 17:10:01 all 0.17 0.00 0.04 0.00 0.04 99.75 17:16:44 17:10:01 0 0.27 0.00 0.03 0.00 0.05 99.65 17:16:44 17:10:01 1 0.07 0.00 0.05 0.00 0.03 99.85 17:16:44 17:11:01 all 0.22 0.00 0.03 0.00 0.02 99.74 17:16:44 17:11:01 0 0.38 0.00 0.03 0.00 0.02 99.57 17:16:44 17:11:01 1 0.05 0.00 0.02 0.00 0.02 99.92 17:16:44 17:12:01 all 0.16 0.00 0.04 0.00 0.03 99.77 17:16:44 17:12:01 0 0.07 0.00 0.05 0.00 0.03 99.85 17:16:44 17:12:01 1 0.25 0.00 0.03 0.00 0.02 99.70 17:16:44 17:13:01 all 0.20 0.00 0.03 0.00 0.03 99.73 17:16:44 17:13:01 0 0.08 0.00 0.05 0.00 0.05 99.82 17:16:44 17:13:01 1 0.32 0.00 0.02 0.00 0.02 99.65 17:16:44 17:14:01 all 0.19 0.00 0.04 0.00 0.02 99.75 17:16:44 17:14:01 0 0.07 0.00 0.05 0.00 0.02 99.87 17:16:44 17:14:01 1 0.32 0.00 0.03 0.00 0.02 99.63 17:16:44 17:15:01 all 0.18 0.00 0.06 0.00 0.03 99.74 17:16:44 17:15:01 0 0.05 0.00 0.07 0.00 0.03 99.85 17:16:44 17:15:01 1 0.30 0.00 0.05 0.00 0.02 99.63 17:16:44 17:16:01 all 0.17 0.00 0.03 0.00 0.03 99.78 17:16:44 17:16:01 0 0.12 0.00 0.03 0.00 0.03 99.82 17:16:44 17:16:01 1 0.22 0.00 0.02 0.00 0.02 99.75 17:16:44 Average: all 0.18 0.00 0.04 0.00 0.03 99.76 17:16:44 Average: 0 0.16 0.00 0.04 0.00 0.03 99.76 17:16:44 Average: 1 0.19 0.00 0.04 0.00 0.02 99.76 17:16:44 17:16:44 17:16:44