Pull request #954 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 lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 00ef66b5e9e03b9b4bbc9f28cdea2b068ed67107+7f897940f8c59120c0cce4f60807b817186f7e19 (6ba53ad425113e3d31c93da2e35ce46936ec4140) 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-ssh5324298586269715949.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2504145756793239173.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh 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-954/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-954/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7150041831075225587.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-954/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1727991894740345765.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh1025130831031509097.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-954/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-954/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8853859653282697827.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-872 in /w/workspace/ndry_app-functions-sdk-go_PR-954 [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-954 # 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-954@tmp/jenkins-gitclient-ssh6751118618606584615.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-954@tmp/jenkins-gitclient-ssh7119671322187881766.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/954/head:refs/remotes/origin/PR-954 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7f897940f8c59120c0cce4f60807b817186f7e19 into PR head commit 00ef66b5e9e03b9b4bbc9f28cdea2b068ed67107 Merge succeeded, producing 00ef66b5e9e03b9b4bbc9f28cdea2b068ed67107 Checking out Revision 00ef66b5e9e03b9b4bbc9f28cdea2b068ed67107 (PR-954) > git config core.sparsecheckout # timeout=10 > git checkout -f 00ef66b5e9e03b9b4bbc9f28cdea2b068ed67107 # 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-954@tmp/jenkins-gitclient-ssh604633900686123162.key > git merge 7f897940f8c59120c0cce4f60807b817186f7e19 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 00ef66b5e9e03b9b4bbc9f28cdea2b068ed67107 # timeout=10 Commit message: "ci: Replace references to master with main or version in app-service-template" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:56:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:56:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:56:17 ========================================================= 17:56:17 EdgeX Global Pipelines Version Info 17:56:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:56:18 ------------------- 17:56:18 stable info: 17:56:18 ------------------- 17:56:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:56:18 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 17:56:18 Message: update stable to v1.0.205 17:56:19 ------------------- 17:56:19 experimental info: 17:56:19 ------------------- 17:56:19 Commited By: **** collab-it+edgex@linuxfoundation.org 17:56:19 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 17:56:19 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:56:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 17:56:19 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 17:56:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:56:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:56:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:56:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 17:56:20 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 17:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 17:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:56:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 17:56:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:56:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:56:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:56:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:56:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:56:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:56:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 17:56:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:56:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:56:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 17:56:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:56:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-954 [Pipeline] echo 17:56:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-954 [Pipeline] echo 17:56:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-954 [Pipeline] echo 17:56:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 00ef66b5e9e03b9b4bbc9f28cdea2b068ed67107 [Pipeline] echo 17:56:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 00ef66b [Pipeline] echo 17:56:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:56:22 + git log --format=format:%s -1 00ef66b5e9e03b9b4bbc9f28cdea2b068ed67107 [Pipeline] echo 17:56:22 GIT_COMMIT: 00ef66b5e9e03b9b4bbc9f28cdea2b068ed67107, Commit Message: ci: Replace references to master with main or version in app-service-template [Pipeline] echo 17:56:22 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:56:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:56:23 17:56:23 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:56:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:56:24 latest: Pulling from edgex-devops/git-semver 17:56:24 31603596830f: Pulling fs layer 17:56:24 04fac38145f0: Pulling fs layer 17:56:24 701f6daf10bf: Pulling fs layer 17:56:24 24f72da36158: Pulling fs layer 17:56:24 24f72da36158: Waiting 17:56:24 04fac38145f0: Verifying Checksum 17:56:24 04fac38145f0: Download complete 17:56:24 31603596830f: Verifying Checksum 17:56:24 31603596830f: Download complete 17:56:24 31603596830f: Pull complete 17:56:24 24f72da36158: Verifying Checksum 17:56:24 24f72da36158: Download complete 17:56:24 04fac38145f0: Pull complete 17:56:24 701f6daf10bf: Verifying Checksum 17:56:24 701f6daf10bf: Download complete 17:56:25 701f6daf10bf: Pull complete 17:56:25 24f72da36158: Pull complete 17:56:25 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 17:56:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:56:25 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:56:25 prd-centos7-docker-4c-2g-872 does not seem to be running inside a container 17:56:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-954 -v /w/workspace/ndry_app-functions-sdk-go_PR-954:/w/workspace/ndry_app-functions-sdk-go_PR-954:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-954@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-954@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:56:26 $ docker top 8050daa49e86cbbb16d0edcda6e899435daca3f7812f1982977ce9f4aaba0405 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:56:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:56:26 [ssh-agent] Looking for ssh-agent implementation... 17:56:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:56:26 $ docker exec 8050daa49e86cbbb16d0edcda6e899435daca3f7812f1982977ce9f4aaba0405 ssh-agent 17:56:26 SSH_AUTH_SOCK=/tmp/ssh-q9iLHdsrCnI2/agent.13 17:56:26 SSH_AGENT_PID=19 17:56:26 Running ssh-add (command line suppressed) 17:56:26 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-954@tmp/private_key_7837125601648914324.key (/w/workspace/ndry_app-functions-sdk-go_PR-954@tmp/private_key_7837125601648914324.key) 17:56:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:56:27 + git tag --points-at HEAD [Pipeline] } 17:56:27 $ docker exec --env ******** --env ******** 8050daa49e86cbbb16d0edcda6e899435daca3f7812f1982977ce9f4aaba0405 ssh-agent -k 17:56:27 unset SSH_AUTH_SOCK; 17:56:27 unset SSH_AGENT_PID; 17:56:27 echo Agent pid 19 killed; 17:56:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:56:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:56:27 [ssh-agent] Looking for ssh-agent implementation... 17:56:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:56:27 $ docker exec 8050daa49e86cbbb16d0edcda6e899435daca3f7812f1982977ce9f4aaba0405 ssh-agent 17:56:27 SSH_AUTH_SOCK=/tmp/ssh-8BDvhH9afoAS/agent.53 17:56:27 SSH_AGENT_PID=60 17:56:27 Running ssh-add (command line suppressed) 17:56:27 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-954@tmp/private_key_8763013127876167041.key (/w/workspace/ndry_app-functions-sdk-go_PR-954@tmp/private_key_8763013127876167041.key) 17:56:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:56:28 + git semver init 17:56:28 # -> Open(): unable to determine branch for HEAD 17:56:28 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-954/.git 17:56:28 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-954 17:56:28 # $SEMVER_REMOTE_NAME = origin 17:56:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:56:28 # $SEMVER_USER_NAME = edgex-jenkins 17:56:28 # $SEMVER_BRANCH = PR-954 17:56:28 # $SEMVER_TEMP = /tmp/semver-595605415 17:56:28 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 17:56:46 # '/tmp/semver-595605415' -> '/w/workspace/ndry_app-functions-sdk-go_PR-954/.semver' 17:56:46 # -> Force: false 17:56:46 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-954/.semver [Pipeline] } 17:56:46 $ docker exec --env ******** --env ******** 8050daa49e86cbbb16d0edcda6e899435daca3f7812f1982977ce9f4aaba0405 ssh-agent -k 17:56:46 unset SSH_AUTH_SOCK; 17:56:46 unset SSH_AGENT_PID; 17:56:46 echo Agent pid 60 killed; 17:56:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:56:47 + git semver [Pipeline] } 17:56:47 $ docker stop --time=1 8050daa49e86cbbb16d0edcda6e899435daca3f7812f1982977ce9f4aaba0405 17:56:48 $ docker rm -f 8050daa49e86cbbb16d0edcda6e899435daca3f7812f1982977ce9f4aaba0405 [Pipeline] // withDockerContainer [Pipeline] sh 17:56:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:56:49 Stashed 1 file(s) [Pipeline] echo 17:56:49 [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:57:05 Still waiting to schedule task 17:57:05 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:57:05 Still waiting to schedule task 17:57:05 ‘prd-ubuntu18.04-docker-arm64-4c-16g-869’ is offline 17:59:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-873 in /w/workspace/ndry_app-functions-sdk-go_PR-954 [Pipeline] { [Pipeline] ws 17:59:16 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 17:59:16 The recommended git tool is: git 17:59:22 using credential edgex-jenkins-ssh 17:59:22 Cloning the remote Git repository 17:59:22 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:59:22 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 17:59:22 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:59:22 > git --version # timeout=10 17:59:22 > git --version # 'git version 2.17.1' 17:59:22 using GIT_SSH to set credentials SSH Credentials for GitHub 17:59:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:59:26 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:59:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:59:26 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:59:26 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:59:26 using GIT_SSH to set credentials SSH Credentials for GitHub 17:59:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/954/head:refs/remotes/origin/PR-954 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:59:27 Merging remotes/origin/main commit 7f897940f8c59120c0cce4f60807b817186f7e19 into PR head commit 00ef66b5e9e03b9b4bbc9f28cdea2b068ed67107 17:59:27 Merge succeeded, producing 00ef66b5e9e03b9b4bbc9f28cdea2b068ed67107 17:59:27 Checking out Revision 00ef66b5e9e03b9b4bbc9f28cdea2b068ed67107 (PR-954) 17:59:27 > git config core.sparsecheckout # timeout=10 17:59:27 > git checkout -f 00ef66b5e9e03b9b4bbc9f28cdea2b068ed67107 # timeout=10 17:59:27 > git remote # timeout=10 17:59:27 > git config --get remote.origin.url # timeout=10 17:59:27 using GIT_SSH to set credentials SSH Credentials for GitHub 17:59:27 > git merge 7f897940f8c59120c0cce4f60807b817186f7e19 # timeout=10 17:59:27 > git rev-parse HEAD^{commit} # timeout=10 17:59:27 > git config core.sparsecheckout # timeout=10 17:59:27 > git checkout -f 00ef66b5e9e03b9b4bbc9f28cdea2b068ed67107 # timeout=10 17:59:31 Commit message: "ci: Replace references to master with main or version in app-service-template" 17:59:31 > git --version # timeout=10 17:59:31 > git --version # 'git version 2.17.1' 17:59:31 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:59:33 ========================================================= 17:59:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 17:59:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:59:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 17:59:35 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:59:35 595b0fe564bb: Pulling fs layer 17:59:35 24495759ef45: Pulling fs layer 17:59:35 d148012ef14d: Pulling fs layer 17:59:35 e90a11edd702: Pulling fs layer 17:59:35 d77568369979: Pulling fs layer 17:59:35 fc1c9f9a7f3b: Pulling fs layer 17:59:35 170f2ba95c9a: Pulling fs layer 17:59:35 97ac5df62f85: Pulling fs layer 17:59:35 e90a11edd702: Waiting 17:59:35 d77568369979: Waiting 17:59:35 fc1c9f9a7f3b: Waiting 17:59:35 170f2ba95c9a: Waiting 17:59:35 97ac5df62f85: Waiting 17:59:35 d148012ef14d: Verifying Checksum 17:59:35 24495759ef45: Verifying Checksum 17:59:35 24495759ef45: Download complete 17:59:35 d77568369979: Verifying Checksum 17:59:35 d77568369979: Download complete 17:59:35 fc1c9f9a7f3b: Verifying Checksum 17:59:35 fc1c9f9a7f3b: Download complete 17:59:35 170f2ba95c9a: Verifying Checksum 17:59:35 170f2ba95c9a: Download complete 17:59:35 595b0fe564bb: Verifying Checksum 17:59:35 595b0fe564bb: Download complete 17:59:36 595b0fe564bb: Pull complete 17:59:37 24495759ef45: Pull complete 17:59:37 d148012ef14d: Pull complete 17:59:39 97ac5df62f85: Verifying Checksum 17:59:39 97ac5df62f85: Download complete 17:59:39 e90a11edd702: Verifying Checksum 17:59:39 e90a11edd702: Download complete 17:59:50 Running on prd-centos7-docker-4c-2g-874 in /w/workspace/ndry_app-functions-sdk-go_PR-954 [Pipeline] { [Pipeline] ws 17:59:50 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 17:59:50 The recommended git tool is: git 17:59:52 e90a11edd702: Pull complete 17:59:52 d77568369979: Pull complete 17:59:52 fc1c9f9a7f3b: Pull complete 17:59:52 170f2ba95c9a: Pull complete 17:59:53 using credential edgex-jenkins-ssh 17:59:53 Cloning the remote Git repository 17:59:53 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:59:53 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 17:59:54 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:59:54 > git --version # timeout=10 17:59:54 > git --version # 'git version 2.24.4' 17:59:54 using GIT_SSH to set credentials SSH Credentials for GitHub 17:59:54 [INFO] Currently running in a labeled security context 17:59:54 [INFO] Currently SELinux is 'enforcing' on the host 17:59:54 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh7205610130991606803.key 17:59:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:59:57 97ac5df62f85: Pull complete 17:59:57 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 17:59:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 17:59:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 17:59:58 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 17:59:59 + docker inspect -f . ci-base-image-arm64 17:59:59 . [Pipeline] withDockerContainer 17:59:59 prd-ubuntu18.04-docker-arm64-4c-16g-873 does not seem to be running inside a container 17:59:59 $ 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:59:59 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:59:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:59:59 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:59:59 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:59:59 using GIT_SSH to set credentials SSH Credentials for GitHub 17:59:59 [INFO] Currently running in a labeled security context 17:59:59 [INFO] Currently SELinux is 'enforcing' on the host 17:59:59 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh276461094646871761.key 17:59:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/954/head:refs/remotes/origin/PR-954 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:00:05 $ docker top 1d77e30c3ba7f6da4997f4cccf3b8891de8efca30bf06fdadf578cb0e4b0f4d1 -eo pid,comm [Pipeline] { [Pipeline] sh 18:00:06 + go version 18:00:06 go version go1.16.6 linux/arm64 [Pipeline] } 18:00:06 $ docker stop --time=1 1d77e30c3ba7f6da4997f4cccf3b8891de8efca30bf06fdadf578cb0e4b0f4d1 18:00:08 $ docker rm -f 1d77e30c3ba7f6da4997f4cccf3b8891de8efca30bf06fdadf578cb0e4b0f4d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:00:09 + docker inspect -f . ci-base-image-arm64 18:00:09 . [Pipeline] withDockerContainer 18:00:09 prd-ubuntu18.04-docker-arm64-4c-16g-873 does not seem to be running inside a container 18:00:09 $ 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 18:00:11 $ docker top 77c1fe29c4f5119a3a0fba53d82b804466721f33cd7ecb359adc2fb2066f2a92 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:00:12 + make test 18:00:12 make -C ./app-service-template build 18:00:12 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 18:00:12 go mod tidy 18:00:14 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 18:00:14 go: downloading github.com/google/uuid v1.3.0 18:00:14 go: downloading github.com/stretchr/testify v1.7.0 18:00:14 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 18:00:14 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 18:00:14 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 18:00:14 Merging remotes/origin/main commit 7f897940f8c59120c0cce4f60807b817186f7e19 into PR head commit 00ef66b5e9e03b9b4bbc9f28cdea2b068ed67107 18:00:14 Merge succeeded, producing 00ef66b5e9e03b9b4bbc9f28cdea2b068ed67107 18:00:14 Checking out Revision 00ef66b5e9e03b9b4bbc9f28cdea2b068ed67107 (PR-954) 18:00:14 go: downloading github.com/pmezard/go-difflib v1.0.0 18:00:14 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 18:00:14 go: downloading github.com/davecgh/go-spew v1.1.1 18:00:14 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 18:00:14 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 18:00:14 go: downloading github.com/stretchr/objx v0.1.0 18:00:14 go: downloading github.com/go-playground/validator/v10 v10.6.1 18:00:14 go: downloading github.com/go-kit/kit v0.9.0 18:00:14 go: downloading gopkg.in/yaml.v2 v2.4.0 18:00:14 > git config core.sparsecheckout # timeout=10 18:00:14 > git checkout -f 00ef66b5e9e03b9b4bbc9f28cdea2b068ed67107 # timeout=10 18:00:14 > git remote # timeout=10 18:00:14 > git config --get remote.origin.url # timeout=10 18:00:14 using GIT_SSH to set credentials SSH Credentials for GitHub 18:00:14 [INFO] Currently running in a labeled security context 18:00:14 [INFO] Currently SELinux is 'enforcing' on the host 18:00:14 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh1203369887146631722.key 18:00:14 > git merge 7f897940f8c59120c0cce4f60807b817186f7e19 # timeout=10 18:00:14 > git rev-parse HEAD^{commit} # timeout=10 18:00:14 > git config core.sparsecheckout # timeout=10 18:00:14 > git checkout -f 00ef66b5e9e03b9b4bbc9f28cdea2b068ed67107 # timeout=10 18:00:14 go: downloading github.com/gorilla/mux v1.8.0 18:00:14 go: downloading github.com/hashicorp/go-multierror v1.1.1 18:00:14 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 18:00:15 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 18:00:15 go: downloading github.com/mitchellh/copystructure v1.0.0 18:00:15 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 18:00:15 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 18:00:15 go: downloading github.com/gorilla/websocket v1.4.2 18:00:15 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 18:00:15 go: downloading github.com/pelletier/go-toml v1.9.2 18:00:15 go: downloading github.com/go-playground/universal-translator v0.17.0 18:00:15 go: downloading github.com/leodido/go-urn v1.2.0 18:00:15 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 18:00:15 go: downloading golang.org/x/text v0.3.2 18:00:15 go: downloading github.com/go-playground/assert/v2 v2.0.1 18:00:16 go: downloading github.com/go-playground/locales v0.13.0 18:00:18 Commit message: "ci: Replace references to master with main or version in app-service-template" 18:00:18 > git --version # timeout=10 18:00:18 > git --version # 'git version 2.24.4' 18:00:18 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 18:00:18 go: downloading github.com/hashicorp/errwrap v1.0.0 18:00:18 go: downloading github.com/hashicorp/consul/api v1.8.1 18:00:18 go: downloading github.com/mitchellh/reflectwalk v1.0.0 18:00:18 go: downloading github.com/x448/float16 v0.8.4 18:00:18 go: downloading github.com/kr/pretty v0.2.0 18:00:18 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 18:00:18 go: downloading github.com/go-logfmt/logfmt v0.4.0 18:00:18 go: downloading github.com/go-stack/stack v1.8.0 18:00:18 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 18:00:18 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:00:18 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 18:00:18 go: downloading github.com/go-redis/redis/v7 v7.3.0 18:00:18 go: downloading github.com/pebbe/zmq4 v1.2.7 18:00:19 go: downloading github.com/kr/text v0.1.0 18:00:19 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:00:19 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 18:00:19 go: downloading github.com/hashicorp/go-hclog v0.12.0 18:00:19 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 18:00:19 go: downloading github.com/hashicorp/serf v0.9.5 18:00:19 go: downloading github.com/mitchellh/mapstructure v1.1.2 18:00:19 go: downloading github.com/hashicorp/consul/sdk v0.7.0 18:00:19 go: downloading github.com/hashicorp/go-uuid v1.0.1 18:00:19 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 18:00:19 go: downloading github.com/onsi/ginkgo v1.10.1 18:00:19 go: downloading github.com/onsi/gomega v1.7.0 18:00:19 go: downloading github.com/fatih/color v1.9.0 [Pipeline] withEnv [Pipeline] { 18:00:19 go: downloading github.com/mattn/go-colorable v0.1.6 18:00:19 go: downloading github.com/mattn/go-isatty v0.0.12 18:00:19 go: downloading github.com/mitchellh/go-homedir v1.1.0 18:00:19 go: downloading github.com/pkg/errors v0.8.1 18:00:19 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:00:19 go: downloading github.com/hashicorp/go-msgpack v0.5.3 18:00:19 go: downloading github.com/hashicorp/memberlist v0.2.2 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 18:00:20 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 18:00:20 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 18:00:20 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:00:20 go: downloading github.com/hpcloud/tail v1.0.0 18:00:20 go: downloading github.com/hashicorp/golang-lru v0.5.0 18:00:20 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:00:20 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 18:00:20 go: downloading github.com/miekg/dns v1.1.26 18:00:20 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:00:20 go: downloading github.com/golang/protobuf v1.3.2 [Pipeline] echo 18:00:20 ========================================================= 18:00:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 18:00:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 18:00:20 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 18:00:20 go: downloading gopkg.in/fsnotify.v1 v1.4.7 18:00:20 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 18:00:20 go: downloading github.com/fsnotify/fsnotify v1.4.7 18:00:20 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 18:00:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 18:00:20 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 18:00:20 540db60ca938: Pulling fs layer 18:00:20 adcc1eea9eea: Pulling fs layer 18:00:20 4c4ab2625f07: Pulling fs layer 18:00:20 db62176df00c: Pulling fs layer 18:00:20 3b30891b0d05: Pulling fs layer 18:00:20 06b49ca38bd5: Pulling fs layer 18:00:20 c788192a36de: Pulling fs layer 18:00:20 a77e37c0d609: Pulling fs layer 18:00:20 c3185cebc471: Pulling fs layer 18:00:20 3b30891b0d05: Waiting 18:00:20 06b49ca38bd5: Waiting 18:00:20 c788192a36de: Waiting 18:00:20 a77e37c0d609: Waiting 18:00:20 c3185cebc471: Waiting 18:00:20 db62176df00c: Waiting 18:00:20 4c4ab2625f07: Verifying Checksum 18:00:20 4c4ab2625f07: Download complete 18:00:20 adcc1eea9eea: Verifying Checksum 18:00:20 adcc1eea9eea: Download complete 18:00:20 3b30891b0d05: Verifying Checksum 18:00:20 3b30891b0d05: Download complete 18:00:20 06b49ca38bd5: Verifying Checksum 18:00:20 06b49ca38bd5: Download complete 18:00:20 c788192a36de: Verifying Checksum 18:00:20 c788192a36de: Download complete 18:00:20 540db60ca938: Download complete 18:00:21 540db60ca938: Pull complete 18:00:21 a77e37c0d609: Verifying Checksum 18:00:21 a77e37c0d609: Download complete 18:00:21 adcc1eea9eea: Pull complete 18:00:21 4c4ab2625f07: Pull complete 18:00:26 c3185cebc471: Verifying Checksum 18:00:26 c3185cebc471: Download complete 18:00:27 db62176df00c: Download complete 18:00:30 db62176df00c: Pull complete 18:00:30 3b30891b0d05: Pull complete 18:00:30 06b49ca38bd5: Pull complete 18:00:30 c788192a36de: Pull complete 18:00:30 a77e37c0d609: Pull complete 18:00:33 c3185cebc471: Pull complete 18:00:33 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 18:00:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 18:00:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 18:00:33 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 18:00:34 + docker inspect -f . ci-base-image-x86_64 18:00:34 . [Pipeline] withDockerContainer 18:00:34 prd-centos7-docker-4c-2g-874 does not seem to be running inside a container 18:00:34 $ 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-x86_64 cat 18:00:38 $ docker top d99c69070419ed86040fe0826f31e89a706fedd6b0f503afe7c52bde5e96fd7d -eo pid,comm [Pipeline] { [Pipeline] sh 18:00:38 + go version 18:00:38 go version go1.16.6 linux/amd64 [Pipeline] } 18:00:38 $ docker stop --time=1 d99c69070419ed86040fe0826f31e89a706fedd6b0f503afe7c52bde5e96fd7d 18:00:40 $ docker rm -f d99c69070419ed86040fe0826f31e89a706fedd6b0f503afe7c52bde5e96fd7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:00:41 + docker inspect -f . ci-base-image-x86_64 18:00:41 . [Pipeline] withDockerContainer 18:00:41 prd-centos7-docker-4c-2g-874 does not seem to be running inside a container 18:00:41 $ 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-x86_64 cat 18:00:41 $ docker top 65fa1a0f04f27ceb6da43d1f79b91b72925c019e3773823a1e744d113e0b6be2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:00:42 + make test 18:00:42 make -C ./app-service-template build 18:00:42 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 18:00:42 go mod tidy 18:00:42 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 18:00:42 go: downloading github.com/google/uuid v1.3.0 18:00:42 go: downloading github.com/stretchr/testify v1.7.0 18:00:42 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 18:00:42 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 18:00:42 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 18:00:42 go: downloading github.com/go-playground/validator/v10 v10.6.1 18:00:42 go: downloading github.com/go-kit/kit v0.9.0 18:00:43 go: downloading gopkg.in/yaml.v2 v2.4.0 18:00:43 go: downloading github.com/davecgh/go-spew v1.1.1 18:00:43 go: downloading github.com/pmezard/go-difflib v1.0.0 18:00:43 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 18:00:43 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 18:00:43 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 18:00:43 go: downloading github.com/stretchr/objx v0.1.0 18:00:43 go: downloading github.com/gorilla/mux v1.8.0 18:00:43 go: downloading github.com/hashicorp/go-multierror v1.1.1 18:00:43 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 18:00:43 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 18:00:43 go: downloading github.com/go-playground/universal-translator v0.17.0 18:00:43 go: downloading github.com/leodido/go-urn v1.2.0 18:00:43 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 18:00:43 go: downloading golang.org/x/text v0.3.2 18:00:43 go: downloading github.com/go-playground/assert/v2 v2.0.1 18:00:43 go: downloading github.com/go-playground/locales v0.13.0 18:00:44 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 18:00:44 go: downloading github.com/go-logfmt/logfmt v0.4.0 18:00:44 go: downloading github.com/go-stack/stack v1.8.0 18:00:44 go: downloading github.com/mitchellh/copystructure v1.0.0 18:00:44 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 18:00:44 go: downloading github.com/gorilla/websocket v1.4.2 18:00:44 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 18:00:44 go: downloading github.com/pelletier/go-toml v1.9.2 18:00:44 go: downloading github.com/hashicorp/consul/api v1.8.1 18:00:44 go: downloading github.com/hashicorp/errwrap v1.0.0 18:00:44 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 18:00:45 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:00:45 go: downloading github.com/kr/pretty v0.2.0 18:00:45 go: downloading github.com/mitchellh/reflectwalk v1.0.0 18:00:45 go: downloading github.com/x448/float16 v0.8.4 18:00:45 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 18:00:45 go: downloading github.com/hashicorp/go-hclog v0.12.0 18:00:45 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 18:00:45 go: downloading github.com/hashicorp/serf v0.9.5 18:00:45 go: downloading github.com/mitchellh/mapstructure v1.1.2 18:00:45 go: downloading github.com/hashicorp/consul/sdk v0.7.0 18:00:45 go: downloading github.com/hashicorp/go-uuid v1.0.1 18:00:45 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 18:00:45 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:00:45 go: downloading github.com/kr/text v0.1.0 18:00:45 go: downloading github.com/fatih/color v1.9.0 18:00:45 go: downloading github.com/mattn/go-colorable v0.1.6 18:00:45 go: downloading github.com/mattn/go-isatty v0.0.12 18:00:45 go: downloading github.com/mitchellh/go-homedir v1.1.0 18:00:45 go: downloading github.com/pkg/errors v0.8.1 18:00:45 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:00:45 go: downloading github.com/hashicorp/go-msgpack v0.5.3 18:00:45 go: downloading github.com/hashicorp/memberlist v0.2.2 18:00:45 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 18:00:45 go: downloading github.com/go-redis/redis/v7 v7.3.0 18:00:45 go: downloading github.com/pebbe/zmq4 v1.2.7 18:00:45 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 18:00:45 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 18:00:45 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 18:00:45 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:00:45 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:00:45 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 18:00:45 go: downloading github.com/miekg/dns v1.1.26 18:00:45 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:00:45 go: downloading github.com/onsi/ginkgo v1.10.1 18:00:45 go: downloading github.com/onsi/gomega v1.7.0 18:00:45 go: downloading github.com/hashicorp/golang-lru v0.5.0 18:00:45 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 18:00:45 go: downloading github.com/hpcloud/tail v1.0.0 18:00:45 go: downloading github.com/golang/protobuf v1.3.2 18:00:45 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 18:00:45 go: downloading gopkg.in/fsnotify.v1 v1.4.7 18:00:45 go: downloading github.com/fsnotify/fsnotify v1.4.7 18:00:45 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 18:00:56 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 18:00:56 make -C ./app-service-template test 18:00:56 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 18:00:56 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 18:00:59 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 18:00:59 make -C ./app-service-template test 18:00:59 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 18:00:59 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 18:01:06 ok new-app-service 0.014s coverage: 48.1% of statements 18:01:06 ? new-app-service/config [no test files] 18:01:06 ok new-app-service/functions 0.008s 18:01:06 CGO_ENABLED=1 go vet ./... 18:01:11 gofmt -l . 18:01:11 [ "`gofmt -l .`" = "" ] 18:01:11 ./bin/test-attribution-txt.sh 18:01:12 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 18:01:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:01:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 18:01:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.017s coverage: 63.9% of statements 18:01:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.008s coverage: 93.7% of statements 18:01:14 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 18:01:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.012s coverage: 61.8% of statements 18:01:14 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 18:01:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.006s 18:01:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.169s coverage: 75.7% of statements 18:01:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 18:01:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 18:01:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 18:01:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 18:01:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 18:01:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 18:01:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.008s coverage: 97.3% of statements 18:01:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 18:01:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.006s coverage: 10.5% of statements 18:01:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.061s coverage: 77.0% of statements 18:01:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 18:01:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.010s coverage: 12.5% of statements 18:01:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.014s coverage: 27.3% of statements 18:01:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 18:01:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 18:01:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.009s coverage: 51.4% of statements 18:01:32 ok new-app-service 0.046s coverage: 48.1% of statements 18:01:32 ? new-app-service/config [no test files] 18:01:32 ok new-app-service/functions 0.040s 18:01:32 CGO_ENABLED=1 go vet ./... 18:01:47 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.021s coverage: 77.3% of statements 18:01:47 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.006s coverage: 94.4% of statements 18:01:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:01:47 gofmt -l . 18:01:47 [ "`gofmt -l .`" = "" ] [Pipeline] } 18:01:47 $ docker stop --time=1 65fa1a0f04f27ceb6da43d1f79b91b72925c019e3773823a1e744d113e0b6be2 18:01:48 $ docker rm -f 65fa1a0f04f27ceb6da43d1f79b91b72925c019e3773823a1e744d113e0b6be2 [Pipeline] // withDockerContainer [Pipeline] sh 18:01:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:01:49 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:01:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:01:51 18:01:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:01:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:01:51 latest: Pulling from edgex-lftools-log-publisher 18:01:51 b4d181a07f80: Pulling fs layer 18:01:51 a1111a8f2ec3: Pulling fs layer 18:01:51 ed53099fbce6: Pulling fs layer 18:01:51 dc539afda2c1: Pulling fs layer 18:01:51 77bc0d833cb6: Pulling fs layer 18:01:51 9065ff56babe: Pulling fs layer 18:01:51 d287ab97295c: Pulling fs layer 18:01:51 77bc0d833cb6: Waiting 18:01:51 9065ff56babe: Waiting 18:01:51 d287ab97295c: Waiting 18:01:51 dc539afda2c1: Waiting 18:01:51 a1111a8f2ec3: Verifying Checksum 18:01:51 a1111a8f2ec3: Download complete 18:01:51 dc539afda2c1: Verifying Checksum 18:01:51 dc539afda2c1: Download complete 18:01:52 77bc0d833cb6: Verifying Checksum 18:01:52 77bc0d833cb6: Download complete 18:01:52 9065ff56babe: Download complete 18:01:52 ed53099fbce6: Verifying Checksum 18:01:52 ed53099fbce6: Download complete 18:01:53 b4d181a07f80: Verifying Checksum 18:01:53 b4d181a07f80: Download complete 18:01:54 gofmt -l . 18:01:54 [ "`gofmt -l .`" = "" ] 18:01:54 ./bin/test-attribution-txt.sh 18:01:54 b4d181a07f80: Pull complete 18:01:54 a1111a8f2ec3: Pull complete 18:01:55 ed53099fbce6: Pull complete 18:01:55 dc539afda2c1: Pull complete 18:01:55 77bc0d833cb6: Pull complete 18:01:55 9065ff56babe: Pull complete 18:01:55 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 18:01:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:01:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 18:01:58 d287ab97295c: Verifying Checksum 18:01:58 d287ab97295c: Download complete 18:02:02 d287ab97295c: Pull complete 18:02:02 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:02:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:02:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:02:03 prd-centos7-docker-4c-2g-874 does not seem to be running inside a container 18:02: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:02:05 $ docker top 8c94d2740381511459e32e99996f9a94d02da6c0710848f5854a235d747b05d7 -eo pid,comm 18:02:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.104s coverage: 63.9% of statements 18:02:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.045s coverage: 93.7% of statements 18:02:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 18:02:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.071s coverage: 61.8% of statements 18:02:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 18:02:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.081s 18:02:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.106s coverage: 75.7% of statements 18:02:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 18:02:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 18:02:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 18:02:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 18:02:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 18:02:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 18:02:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.012s coverage: 97.3% of statements 18:02:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:02:06 ---> job-cost.sh 18:02:06 lf-activate-venv: SKIPPING 18:02:06 INFO: No Stack... 18:02:06 INFO: Retrieving Pricing Info for: v3-standard-2 18:02:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.056s coverage: 10.5% of statements 18:02:07 INFO: Archiving Costs [Pipeline] sh 18:02:07 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv 18:02:07 + cut -d, -f6 [Pipeline] lock 18:02:07 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-954-1-stack-cost] 18:02:07 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-954-1-stack-cost] did not exist. Created. 18:02:07 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-954-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:02:08 + echo total: 0.05999999865889549 [Pipeline] stash 18:02:08 Stashed 1 file(s) [Pipeline] } 18:02:08 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-954-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:02:08 $ docker stop --time=1 8c94d2740381511459e32e99996f9a94d02da6c0710848f5854a235d747b05d7 18:02:09 $ docker rm -f 8c94d2740381511459e32e99996f9a94d02da6c0710848f5854a235d747b05d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:02:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.209s coverage: 77.0% of statements 18:02:13 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 18:02:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.064s coverage: 12.5% of statements 18:02:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.079s coverage: 27.3% of statements 18:02:13 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 18:02:13 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 18:02:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.047s coverage: 51.4% of statements 18:02:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.110s coverage: 77.3% of statements 18:02:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.030s coverage: 94.4% of statements 18:02:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:02:42 gofmt -l . 18:02:42 [ "`gofmt -l .`" = "" ] [Pipeline] } 18:02:43 $ docker stop --time=1 77c1fe29c4f5119a3a0fba53d82b804466721f33cd7ecb359adc2fb2066f2a92 18:02:45 $ docker rm -f 77c1fe29c4f5119a3a0fba53d82b804466721f33cd7ecb359adc2fb2066f2a92 [Pipeline] // withDockerContainer [Pipeline] sh 18:02:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:02:47 Warning: overwriting stash ‘coverage-report’ 18:02:48 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:02:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:02:49 18:02:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:02:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:02:50 arm64: Pulling from edgex-lftools-log-publisher 18:02:50 448f6bf000e3: Pulling fs layer 18:02:50 f757da607395: Pulling fs layer 18:02:50 05883995daec: Pulling fs layer 18:02:50 8603b9c90790: Pulling fs layer 18:02:50 1560dd03e051: Pulling fs layer 18:02:50 27f5ce0e4adf: Pulling fs layer 18:02:50 c2d8d7efcc4b: Pulling fs layer 18:02:50 27f5ce0e4adf: Waiting 18:02:50 8603b9c90790: Waiting 18:02:50 1560dd03e051: Waiting 18:02:50 f757da607395: Verifying Checksum 18:02:50 f757da607395: Download complete 18:02:50 05883995daec: Verifying Checksum 18:02:50 05883995daec: Download complete 18:02:50 8603b9c90790: Verifying Checksum 18:02:50 8603b9c90790: Download complete 18:02:50 27f5ce0e4adf: Verifying Checksum 18:02:50 27f5ce0e4adf: Download complete 18:02:50 1560dd03e051: Verifying Checksum 18:02:50 1560dd03e051: Download complete 18:02:51 448f6bf000e3: Verifying Checksum 18:02:51 448f6bf000e3: Download complete 18:02:55 c2d8d7efcc4b: Verifying Checksum 18:02:55 c2d8d7efcc4b: Download complete 18:02:55 448f6bf000e3: Pull complete 18:02:55 f757da607395: Pull complete 18:02:57 05883995daec: Pull complete 18:02:58 8603b9c90790: Pull complete 18:02:59 1560dd03e051: Pull complete 18:02:59 27f5ce0e4adf: Pull complete 18:03:14 c2d8d7efcc4b: Pull complete 18:03:14 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 18:03:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:03:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:03:14 prd-ubuntu18.04-docker-arm64-4c-16g-873 does not seem to be running inside a container 18:03:14 $ 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 18:03:18 $ docker top bb88125e0ce8a65d603f2bc51009b51e68c8803c3e14b299909b685afb6df1ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:03:19 ---> job-cost.sh 18:03:19 lf-activate-venv: SKIPPING 18:03:19 INFO: No Stack... 18:03:20 INFO: Retrieving Pricing Info for: v3-standard-4 18:03:21 INFO: Archiving Costs [Pipeline] sh 18:03:21 + cut -d, -f6 18:03:21 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [Pipeline] lock 18:03:21 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-954-1-stack-cost] 18:03:21 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-954-1-stack-cost] did not exist. Created. 18:03:21 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-954-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:03:22 /w/workspace/app-functions-sdk-go/1@tmp/durable-069ebdb3/script.sh: 1: /w/workspace/app-functions-sdk-go/1@tmp/durable-069ebdb3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:03:23 + echo total: 0.10999999940395355 [Pipeline] stash 18:03:23 Warning: overwriting stash ‘stack-cost’ 18:03:23 Stashed 1 file(s) [Pipeline] } 18:03:23 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-954-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:03:23 $ docker stop --time=1 bb88125e0ce8a65d603f2bc51009b51e68c8803c3e14b299909b685afb6df1ec 18:03:25 $ docker rm -f bb88125e0ce8a65d603f2bc51009b51e68c8803c3e14b299909b685afb6df1ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:03:26 provisioning config files... 18:03:26 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-954@tmp/config2136224573442517866tmp [Pipeline] { [Pipeline] sh 18:03:27 + set +x 18:03:27 + curl -s https://codecov.io/bash 18:03:27 + bash -s -- 18:03:27 18:03:27 _____ _ 18:03:27 / ____| | | 18:03:27 | | ___ __| | ___ ___ _____ __ 18:03:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:03:27 | |___| (_) | (_| | __/ (_| (_) \ V / 18:03:27 \_____\___/ \__,_|\___|\___\___/ \_/ 18:03:27 Bash-1.0.6 18:03:27 18:03:27 18:03:27 ==> git version 2.24.4 found 18:03:27 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 18:03:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:03:27 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:03:27 ==> Jenkins CI detected. 18:03:27 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-954 18:03:27 project root: . 18:03:27 --> token set from env 18:03:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:03:27 ==> Running gcov in . (disable via -X gcov) 18:03:27 ==> Python coveragepy not found 18:03:27 ==> Searching for coverage reports in: 18:03:27 + . 18:03:27 -> Found 2 reports 18:03:27 ==> Detecting git/mercurial file structure 18:03:27 ==> Reading reports 18:03:27 + ./app-service-template/coverage.out bytes=1219 18:03:27 + ./coverage.out bytes=101685 18:03:27 ==> Appending adjustments 18:03:27 https://docs.codecov.io/docs/fixing-reports 18:03:27 + Found adjustments 18:03:27 ==> Gzipping contents 18:03:27 20K /tmp/codecov.zyb4YO.gz 18:03:27 ==> Uploading reports 18:03:27 url: https://codecov.io 18:03:27 query: branch=PR-954&commit=00ef66b5e9e03b9b4bbc9f28cdea2b068ed67107&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-954%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=954&job=&cmd_args= 18:03:27 -> Pinging Codecov 18:03:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-954&commit=00ef66b5e9e03b9b4bbc9f28cdea2b068ed67107&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-954%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=954&job=&cmd_args= 18:03:28 -> Uploading to 18:03:28 https://storage.googleapis.com/codecov/v4/raw/2021-09-22/3D8B5DFFC46A037C893635FACE044666/00ef66b5e9e03b9b4bbc9f28cdea2b068ed67107/12d7b0f8-6178-4c7e-8b17-7d9d3f59990a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210922T180328Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=27f0872dac2e5cc64a6812ff6a057001eed7ad0f5d0902df1c2b27df769dd8cb 18:03:28 % Total % Received % Xferd Average Speed Time Time Time Current 18:03:28 Dload Upload Total Spent Left Speed 18:03:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17605 0 0 100 17605 0 12961 0:00:01 0:00:01 --:--:-- 12954 100 17605 0 0 100 17605 0 7461 0:00:02 0:00:02 --:--:-- 7459 100 17605 0 0 100 17605 0 7275 0:00:02 0:00:02 --:--:-- 7274 18:03:30 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/00ef66b5e9e03b9b4bbc9f28cdea2b068ed67107 [Pipeline] } 18:03:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:03:33 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-954/archives ']' [Pipeline] libraryResource [Pipeline] sh 18:03:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:03:34 ---> package-listing.sh 18:03:34 ++ tr '[:upper:]' '[:lower:]' 18:03:34 ++ facter osfamily 18:03:34 + OS_FAMILY=redhat 18:03:34 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-954 18:03:34 + START_PACKAGES=/tmp/packages_start.txt 18:03:34 + END_PACKAGES=/tmp/packages_end.txt 18:03:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:03:34 + PACKAGES=/tmp/packages_start.txt 18:03:34 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-954 ']' 18:03:34 + PACKAGES=/tmp/packages_end.txt 18:03:34 + case "${OS_FAMILY}" in 18:03:34 + sort 18:03:34 + rpm -qa 18:03:35 + '[' -f /tmp/packages_start.txt ']' 18:03:35 + '[' -f /tmp/packages_end.txt ']' 18:03:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:03:35 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-954 ']' 18:03:35 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-954/archives/ 18:03:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-954/archives/ [Pipeline] echo 18:03:35 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-954/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:03:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:03:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:03:36 18:03:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:03:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:03:36 latest: Pulling from edgex-lftools-log-publisher 18:03:36 b4d181a07f80: Pulling fs layer 18:03:36 a1111a8f2ec3: Pulling fs layer 18:03:36 ed53099fbce6: Pulling fs layer 18:03:36 dc539afda2c1: Pulling fs layer 18:03:36 77bc0d833cb6: Pulling fs layer 18:03:36 9065ff56babe: Pulling fs layer 18:03:36 d287ab97295c: Pulling fs layer 18:03:36 dc539afda2c1: Waiting 18:03:36 77bc0d833cb6: Waiting 18:03:36 9065ff56babe: Waiting 18:03:36 d287ab97295c: Waiting 18:03:37 a1111a8f2ec3: Verifying Checksum 18:03:37 a1111a8f2ec3: Download complete 18:03:37 dc539afda2c1: Verifying Checksum 18:03:37 dc539afda2c1: Download complete 18:03:37 77bc0d833cb6: Verifying Checksum 18:03:37 77bc0d833cb6: Download complete 18:03:37 9065ff56babe: Verifying Checksum 18:03:37 9065ff56babe: Download complete 18:03:37 ed53099fbce6: Verifying Checksum 18:03:37 ed53099fbce6: Download complete 18:03:38 b4d181a07f80: Verifying Checksum 18:03:38 b4d181a07f80: Download complete 18:03:39 b4d181a07f80: Pull complete 18:03:39 a1111a8f2ec3: Pull complete 18:03:39 ed53099fbce6: Pull complete 18:03:40 dc539afda2c1: Pull complete 18:03:40 77bc0d833cb6: Pull complete 18:03:40 9065ff56babe: Pull complete 18:03:41 d287ab97295c: Verifying Checksum 18:03:41 d287ab97295c: Download complete 18:03:46 d287ab97295c: Pull complete 18:03:46 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:03:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:03:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:03:46 prd-centos7-docker-4c-2g-872 does not seem to be running inside a container 18:03:46 $ 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-954/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-954 -v /w/workspace/ndry_app-functions-sdk-go_PR-954:/w/workspace/ndry_app-functions-sdk-go_PR-954:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-954@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-954@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:03:48 $ docker top 506d3a45eaa14163888f0b55bc5d152c3525a44580d5b8c7cf69d1b7b1db2df7 -eo pid,comm [Pipeline] { [Pipeline] sh 18:03:49 + touch /tmp/pre-build-complete [Pipeline] sh 18:03:49 + mkdir -p /var/log/sysstat [Pipeline] sh 18:03:49 + ls /var/log/sa-host 18:03:49 + sadf -c /var/log/sa-host/sa05 18:03:49 file_magic: OK 18:03:49 HZ: Using current value: 100 18:03:49 file_header: OK 18:03:49 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 18:03:49 Statistics: 18:03:49 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:03:49 File successfully converted to sysstat format version 12.0.3 18:03:49 + sadf -c /var/log/sa-host/sa22 18:03:49 file_magic: OK 18:03:49 HZ: Using current value: 100 18:03:49 file_header: OK 18:03:49 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 18:03:49 Statistics: 18:03:49 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:03:49 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:03:50 provisioning config files... 18:03:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-954@tmp/config1939315628149360470tmp [Pipeline] { [Pipeline] echo 18:03:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:03:50 ---> create-netrc.sh [Pipeline] } 18:03:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:03:50 ---> python-tools-install.sh [Pipeline] echo 18:03:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:03:51 ---> sudo-logs.sh 18:03:51 Archiving 'sudo' log.. 18:03:51 sudo: unable to resolve host prd-centos7-docker-4c-2g-872.vexxhost.local: Name or service not known 18:03:51 sudo: unable to resolve host prd-centos7-docker-4c-2g-872.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 18:03:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:03:51 ---> job-cost.sh 18:03:51 lf-activate-venv: SKIPPING 18:03:51 DEBUG: total: 0.10999999940395355 18:03:51 INFO: Retrieving Stack Cost... 18:03:52 INFO: Retrieving Pricing Info for: v3-standard-2 18:03:52 INFO: Archiving Costs [Pipeline] echo 18:03:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:03:53 ---> logs-deploy.sh 18:03:53 lf-activate-venv: SKIPPING 18:03:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-954/1 18:03:53 INFO: archiving workspace using pattern(s): 18:03:54 Archives upload complete. 18:03:54 INFO: archiving logs to Nexus 18:03:54 ---> uname -a: 18:03:54 Linux prd-centos7-docker-4c-2g-872.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 18:03:54 18:03:54 18:03:54 ---> lscpu: 18:03:54 Architecture: x86_64 18:03:54 CPU op-mode(s): 32-bit, 64-bit 18:03:54 Byte Order: Little Endian 18:03:54 Address sizes: 40 bits physical, 48 bits virtual 18:03:54 CPU(s): 2 18:03:54 On-line CPU(s) list: 0,1 18:03:54 Thread(s) per core: 1 18:03:54 Core(s) per socket: 1 18:03:54 Socket(s): 2 18:03:54 NUMA node(s): 1 18:03:54 Vendor ID: AuthenticAMD 18:03:54 CPU family: 23 18:03:54 Model: 49 18:03:54 Model name: AMD EPYC-Rome Processor 18:03:54 Stepping: 0 18:03:54 CPU MHz: 2799.996 18:03:54 BogoMIPS: 5599.99 18:03:54 Virtualization: AMD-V 18:03:54 Hypervisor vendor: KVM 18:03:54 Virtualization type: full 18:03:54 L1d cache: 32K 18:03:54 L1i cache: 32K 18:03:54 L2 cache: 512K 18:03:54 L3 cache: 16384K 18:03:54 NUMA node0 CPU(s): 0,1 18:03:54 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 18:03:54 18:03:54 18:03:54 ---> nproc: 18:03:54 2 18:03:54 18:03:54 18:03:54 ---> df -h: 18:03:54 Filesystem Size Used Avail Use% Mounted on 18:03:54 overlay 40G 7.7G 33G 20% / 18:03:54 tmpfs 64M 0 64M 0% /dev 18:03:54 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 18:03:54 shm 64M 0 64M 0% /dev/shm 18:03:54 /dev/vda1 40G 7.7G 33G 20% /facter-os 18:03:54 18:03:54 18:03:54 ---> sar -b -r -n DEV: 18:03:54 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/22/21 _x86_64_ (2 CPU) 18:03:54 18:03:54 17:55:07 LINUX RESTART (2 CPU) 18:03:54 18:03:54 17:56:01 tps rtps wtps bread/s bwrtn/s 18:03:54 17:57:01 87.06 3.43 83.63 2558.77 5255.23 18:03:54 17:58:01 2.28 0.00 2.28 0.00 51.30 18:03:54 17:59:01 0.48 0.00 0.48 0.00 8.20 18:03:54 18:00:01 0.20 0.00 0.20 0.00 2.56 18:03:54 18:01:01 0.32 0.03 0.28 0.27 3.40 18:03:54 18:02:01 0.45 0.08 0.37 1.60 5.96 18:03:54 18:03:01 0.20 0.00 0.20 0.00 2.83 18:03:54 Average: 13.00 0.51 12.50 365.93 761.60 18:03:54 18:03:54 17:56:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:03:54 17:57:01 5433600 0 803468 10.03 2620 1769244 1305120 14.41 588916 1585944 132 18:03:54 17:58:01 5447112 0 789952 9.86 2620 1769248 1202688 13.28 583880 1580248 8 18:03:54 17:59:01 5442444 0 794616 9.92 2620 1769252 1203072 13.28 586916 1581360 8 18:03:54 18:00:01 5441116 0 795940 9.94 2620 1769256 1203096 13.28 587236 1582088 8 18:03:54 18:01:01 5440944 0 796104 9.94 2620 1769264 1205736 13.31 583800 1585152 20 18:03:54 18:02:01 5443256 0 793668 9.91 2620 1769388 1203244 13.28 582428 1585212 12 18:03:54 18:03:01 5440168 0 796748 9.95 2620 1769396 1203196 13.28 585576 1585212 12 18:03:54 Average: 5441234 0 795785 9.94 2620 1769293 1218022 13.45 585536 1583602 29 18:03:54 18:03:54 17:56:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:03:54 17:57:01 eth0 315.50 220.65 997.86 37.69 0.00 0.00 0.00 0.00 18:03:54 17:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:03:54 17:57:01 docker0 73.88 92.36 8.11 314.91 0.00 0.00 0.00 0.00 18:03:54 17:58:01 eth0 0.72 0.08 0.06 0.02 0.00 0.00 0.00 0.00 18:03:54 17:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:03:54 17:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:03:54 17:59:01 eth0 1.10 0.63 2.86 0.04 0.00 0.00 0.00 0.00 18:03:54 17:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:03:54 17:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:03:54 18:00:01 eth0 1.43 0.55 0.58 0.39 0.00 0.00 0.00 0.00 18:03:54 18:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:03:54 18:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:03:54 18:01:01 eth0 0.20 0.12 0.08 0.07 0.00 0.00 0.00 0.00 18:03:54 18:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:03:54 18:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:03:54 18:02:01 eth0 0.18 0.15 0.07 0.01 0.00 0.00 0.00 0.00 18:03:54 18:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:03:54 18:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:03:54 18:03:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 18:03:54 18:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:03:54 18:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:03:54 Average: eth0 45.62 31.76 143.12 5.46 0.00 0.00 0.00 0.00 18:03:54 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:03:54 Average: docker0 10.56 13.20 1.16 45.00 0.00 0.00 0.00 0.00 18:03:54 18:03:54 18:03:54 ---> sar -P ALL: 18:03:54 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/22/21 _x86_64_ (2 CPU) 18:03:54 18:03:54 17:55:07 LINUX RESTART (2 CPU) 18:03:54 18:03:54 17:56:01 CPU %user %nice %system %iowait %steal %idle 18:03:54 17:57:01 all 7.02 0.00 2.56 1.69 0.05 88.69 18:03:54 17:57:01 0 7.01 0.00 2.71 1.06 0.05 89.17 18:03:54 17:57:01 1 7.03 0.00 2.40 2.31 0.05 88.20 18:03:54 17:58:01 all 0.19 0.00 0.07 0.00 0.03 99.71 18:03:54 17:58:01 0 0.17 0.00 0.05 0.00 0.03 99.75 18:03:54 17:58:01 1 0.22 0.00 0.08 0.00 0.03 99.67 18:03:54 17:59:01 all 0.14 0.00 0.08 0.00 0.03 99.75 18:03:54 17:59:01 0 0.18 0.00 0.12 0.00 0.03 99.67 18:03:54 17:59:01 1 0.10 0.00 0.05 0.00 0.02 99.83 18:03:54 18:00:01 all 0.23 0.00 0.05 0.00 0.02 99.70 18:03:54 18:00:01 0 0.40 0.00 0.07 0.00 0.02 99.52 18:03:54 18:00:01 1 0.07 0.00 0.03 0.00 0.02 99.88 18:03:54 18:01:01 all 0.18 0.00 0.06 0.00 0.03 99.74 18:03:54 18:01:01 0 0.30 0.00 0.07 0.00 0.03 99.60 18:03:54 18:01:01 1 0.05 0.00 0.05 0.00 0.02 99.88 18:03:54 18:02:01 all 0.18 0.00 0.07 0.00 0.03 99.72 18:03:54 18:02:01 0 0.30 0.00 0.05 0.00 0.03 99.62 18:03:54 18:02:01 1 0.05 0.00 0.08 0.00 0.03 99.83 18:03:54 18:03:01 all 0.14 0.00 0.05 0.00 0.02 99.79 18:03:54 18:03:01 0 0.20 0.00 0.03 0.00 0.02 99.75 18:03:54 18:03:01 1 0.08 0.00 0.07 0.00 0.02 99.83 18:03:54 Average: all 1.14 0.00 0.41 0.24 0.03 98.18 18:03:54 Average: 0 1.21 0.00 0.44 0.15 0.03 98.18 18:03:54 Average: 1 1.07 0.00 0.39 0.33 0.03 98.19 18:03:54 18:03:54 18:03:54