lenny-intel commented: recheck 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 5d2b8d180bc336423ea62ddc5df9fea664a3d492+6a6a1c5973c1070a14136fb6a022961729ef896e (5f849134ac858f9d56844c52b42554abf1433bcc) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1416996301122933253.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-ssh7961431600589899135.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-957/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-957/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh869009468435190249.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2701749679941856497.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-957/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-957/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2444081127093220459.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-563’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-1350’ is offline ‘prd-centos7-docker-4c-2g-1351’ is offline ‘prd-centos7-docker-4c-2g-1358’ is offline ‘prd-centos7-docker-4c-2g-1359’ is offline ‘prd-centos7-docker-4c-2g-1360’ is offline ‘prd-centos7-docker-4c-2g-1365’ is offline ‘prd-centos7-docker-4c-2g-1370’ is offline ‘prd-centos7-docker-4c-2g-1374’ is offline ‘prd-centos7-docker-4c-2g-1375’ is offline ‘prd-centos7-docker-4c-2g-1376’ is offline ‘prd-centos7-docker-4c-2g-1377’ is offline ‘prd-centos7-docker-4c-2g-1380’ is offline ‘prd-centos7-docker-4c-2g-1381’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-1367’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-1369’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-1372’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-1373’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1384 in /w/workspace/ndry_app-functions-sdk-go_PR-957 [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-957 # 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-957@tmp/jenkins-gitclient-ssh7495383626105075471.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-957@tmp/jenkins-gitclient-ssh8157894963399504814.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/957/head:refs/remotes/origin/PR-957 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6a6a1c5973c1070a14136fb6a022961729ef896e into PR head commit 5d2b8d180bc336423ea62ddc5df9fea664a3d492 Merge succeeded, producing 5d2b8d180bc336423ea62ddc5df9fea664a3d492 Checking out Revision 5d2b8d180bc336423ea62ddc5df9fea664a3d492 (PR-957) > git config core.sparsecheckout # timeout=10 > git checkout -f 5d2b8d180bc336423ea62ddc5df9fea664a3d492 # 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-957@tmp/jenkins-gitclient-ssh5388530627271554817.key > git merge 6a6a1c5973c1070a14136fb6a022961729ef896e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d2b8d180bc336423ea62ddc5df9fea664a3d492 # timeout=10 Commit message: "ci: Fix issue with PR template" > git rev-list --no-walk 5d2b8d180bc336423ea62ddc5df9fea664a3d492 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:00:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:00:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:00:22 ========================================================= 00:00:22 EdgeX Global Pipelines Version Info 00:00:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:00:23 ------------------- 00:00:23 stable info: 00:00:23 ------------------- 00:00:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:00:23 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 00:00:23 Message: update stable to v1.0.205 00:00:24 ------------------- 00:00:24 experimental info: 00:00:24 ------------------- 00:00:24 Commited By: **** collab-it+edgex@linuxfoundation.org 00:00:24 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 00:00:24 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:00:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:00:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-957 [Pipeline] echo 00:00:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-957 [Pipeline] echo 00:00:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-957 [Pipeline] echo 00:00:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d2b8d180bc336423ea62ddc5df9fea664a3d492 [Pipeline] echo 00:00:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d2b8d1 [Pipeline] echo 00:00:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:00:25 + git log --format=format:%s -1 5d2b8d180bc336423ea62ddc5df9fea664a3d492 [Pipeline] echo 00:00:25 GIT_COMMIT: 5d2b8d180bc336423ea62ddc5df9fea664a3d492, Commit Message: ci: Fix issue with PR template [Pipeline] echo 00:00:25 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:00:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:00:26 00:00:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:00:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:00:26 latest: Pulling from edgex-devops/git-semver 00:00:26 31603596830f: Pulling fs layer 00:00:26 04fac38145f0: Pulling fs layer 00:00:26 701f6daf10bf: Pulling fs layer 00:00:26 24f72da36158: Pulling fs layer 00:00:26 24f72da36158: Waiting 00:00:26 04fac38145f0: Verifying Checksum 00:00:26 04fac38145f0: Download complete 00:00:26 31603596830f: Verifying Checksum 00:00:26 31603596830f: Download complete 00:00:26 31603596830f: Pull complete 00:00:27 04fac38145f0: Pull complete 00:00:27 24f72da36158: Verifying Checksum 00:00:27 24f72da36158: Download complete 00:00:27 701f6daf10bf: Verifying Checksum 00:00:27 701f6daf10bf: Download complete 00:00:27 701f6daf10bf: Pull complete 00:00:27 24f72da36158: Pull complete 00:00:27 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 00:00:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:00:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:00:27 prd-centos7-docker-4c-2g-1384 does not seem to be running inside a container 00:00:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-957 -v /w/workspace/ndry_app-functions-sdk-go_PR-957:/w/workspace/ndry_app-functions-sdk-go_PR-957:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-957@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-957@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:00:29 $ docker top afb860558e2a71956a6ac6425b3344e0554d2b9f3790dbf4c94abe113c5a0b7f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:00:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:00:29 [ssh-agent] Looking for ssh-agent implementation... 00:00:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:00:29 $ docker exec afb860558e2a71956a6ac6425b3344e0554d2b9f3790dbf4c94abe113c5a0b7f ssh-agent 00:00:29 SSH_AUTH_SOCK=/tmp/ssh-o2N57fACpQ1b/agent.13 00:00:29 SSH_AGENT_PID=19 00:00:29 Running ssh-add (command line suppressed) 00:00:29 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-957@tmp/private_key_8932776089038756698.key (/w/workspace/ndry_app-functions-sdk-go_PR-957@tmp/private_key_8932776089038756698.key) 00:00:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:00:30 + git tag --points-at HEAD [Pipeline] } 00:00:30 $ docker exec --env ******** --env ******** afb860558e2a71956a6ac6425b3344e0554d2b9f3790dbf4c94abe113c5a0b7f ssh-agent -k 00:00:30 unset SSH_AUTH_SOCK; 00:00:30 unset SSH_AGENT_PID; 00:00:30 echo Agent pid 19 killed; 00:00:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:00:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:00:30 [ssh-agent] Looking for ssh-agent implementation... 00:00:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:00:30 $ docker exec afb860558e2a71956a6ac6425b3344e0554d2b9f3790dbf4c94abe113c5a0b7f ssh-agent 00:00:30 SSH_AUTH_SOCK=/tmp/ssh-2wsVb52Xgb2o/agent.53 00:00:30 SSH_AGENT_PID=59 00:00:30 Running ssh-add (command line suppressed) 00:00:30 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-957@tmp/private_key_1958606797978959904.key (/w/workspace/ndry_app-functions-sdk-go_PR-957@tmp/private_key_1958606797978959904.key) 00:00:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:00:30 + git semver init 00:00:30 # -> Open(): unable to determine branch for HEAD 00:00:30 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-957/.git 00:00:30 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-957 00:00:30 # $SEMVER_REMOTE_NAME = origin 00:00:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:00:30 # $SEMVER_USER_NAME = edgex-jenkins 00:00:30 # $SEMVER_BRANCH = PR-957 00:00:30 # $SEMVER_TEMP = /tmp/semver-028035476 00:00:30 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 00:00:54 # '/tmp/semver-028035476' -> '/w/workspace/ndry_app-functions-sdk-go_PR-957/.semver' 00:00:54 # -> Force: false 00:00:54 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-957/.semver [Pipeline] } 00:00:54 $ docker exec --env ******** --env ******** afb860558e2a71956a6ac6425b3344e0554d2b9f3790dbf4c94abe113c5a0b7f ssh-agent -k 00:00:54 unset SSH_AUTH_SOCK; 00:00:54 unset SSH_AGENT_PID; 00:00:54 echo Agent pid 59 killed; 00:00:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:00:54 + git semver [Pipeline] } 00:00:54 $ docker stop --time=1 afb860558e2a71956a6ac6425b3344e0554d2b9f3790dbf4c94abe113c5a0b7f 00:00:55 $ docker rm -f afb860558e2a71956a6ac6425b3344e0554d2b9f3790dbf4c94abe113c5a0b7f [Pipeline] // withDockerContainer [Pipeline] sh 00:00:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:00:56 Stashed 1 file(s) [Pipeline] echo 00:00:56 [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 00:01:12 Still waiting to schedule task 00:01:12 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:01:12 Still waiting to schedule task 00:01:12 ‘prd-centos7-blackbox-4c-2g-563’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 00:01:12 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1383’ is offline 00:02:59 Running on prd-centos7-docker-4c-2g-1390 in /w/workspace/ndry_app-functions-sdk-go_PR-957 [Pipeline] { [Pipeline] ws 00:02:59 Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout 00:02:59 The recommended git tool is: git 00:03:02 using credential edgex-jenkins-ssh 00:03:02 Cloning the remote Git repository 00:03:02 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:03:02 > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 00:03:02 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:03:02 > git --version # timeout=10 00:03:02 > git --version # 'git version 2.24.4' 00:03:02 using GIT_SSH to set credentials SSH Credentials for GitHub 00:03:02 [INFO] Currently running in a labeled security context 00:03:02 [INFO] Currently SELinux is 'enforcing' on the host 00:03:02 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/4@tmp/jenkins-gitclient-ssh7860136076532268933.key 00:03:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:03:13 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:03:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:03:13 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:03:14 Merging remotes/origin/main commit 6a6a1c5973c1070a14136fb6a022961729ef896e into PR head commit 5d2b8d180bc336423ea62ddc5df9fea664a3d492 00:03:14 Merge succeeded, producing 5d2b8d180bc336423ea62ddc5df9fea664a3d492 00:03:14 Checking out Revision 5d2b8d180bc336423ea62ddc5df9fea664a3d492 (PR-957) 00:03:13 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:03:13 using GIT_SSH to set credentials SSH Credentials for GitHub 00:03:13 [INFO] Currently running in a labeled security context 00:03:13 [INFO] Currently SELinux is 'enforcing' on the host 00:03:13 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/4@tmp/jenkins-gitclient-ssh7104704641728027141.key 00:03:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/957/head:refs/remotes/origin/PR-957 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:03:14 > git config core.sparsecheckout # timeout=10 00:03:14 > git checkout -f 5d2b8d180bc336423ea62ddc5df9fea664a3d492 # timeout=10 00:03:14 > git remote # timeout=10 00:03:14 > git config --get remote.origin.url # timeout=10 00:03:14 using GIT_SSH to set credentials SSH Credentials for GitHub 00:03:14 [INFO] Currently running in a labeled security context 00:03:14 [INFO] Currently SELinux is 'enforcing' on the host 00:03:14 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/4@tmp/jenkins-gitclient-ssh1275447975068297237.key 00:03:14 > git merge 6a6a1c5973c1070a14136fb6a022961729ef896e # timeout=10 00:03:14 > git rev-parse HEAD^{commit} # timeout=10 00:03:14 > git config core.sparsecheckout # timeout=10 00:03:14 > git checkout -f 5d2b8d180bc336423ea62ddc5df9fea664a3d492 # timeout=10 00:03:18 Commit message: "ci: Fix issue with PR template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 00:03:19 ========================================================= 00:03:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 00:03:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 00:03:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 00:03:19 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 00:03:19 540db60ca938: Pulling fs layer 00:03:19 adcc1eea9eea: Pulling fs layer 00:03:19 4c4ab2625f07: Pulling fs layer 00:03:19 db62176df00c: Pulling fs layer 00:03:19 3b30891b0d05: Pulling fs layer 00:03:19 06b49ca38bd5: Pulling fs layer 00:03:19 c788192a36de: Pulling fs layer 00:03:19 a77e37c0d609: Pulling fs layer 00:03:19 c3185cebc471: Pulling fs layer 00:03:19 db62176df00c: Waiting 00:03:19 3b30891b0d05: Waiting 00:03:19 06b49ca38bd5: Waiting 00:03:19 c788192a36de: Waiting 00:03:19 a77e37c0d609: Waiting 00:03:19 c3185cebc471: Waiting 00:03:19 4c4ab2625f07: Verifying Checksum 00:03:19 4c4ab2625f07: Download complete 00:03:19 adcc1eea9eea: Verifying Checksum 00:03:19 adcc1eea9eea: Download complete 00:03:19 3b30891b0d05: Verifying Checksum 00:03:19 3b30891b0d05: Download complete 00:03:19 06b49ca38bd5: Verifying Checksum 00:03:19 06b49ca38bd5: Download complete 00:03:19 c788192a36de: Verifying Checksum 00:03:19 c788192a36de: Download complete 00:03:19 540db60ca938: Verifying Checksum 00:03:19 540db60ca938: Download complete 00:03:20 540db60ca938: Pull complete 00:03:20 adcc1eea9eea: Pull complete 00:03:20 4c4ab2625f07: Pull complete 00:03:20 a77e37c0d609: Verifying Checksum 00:03:20 a77e37c0d609: Download complete 00:03:23 c3185cebc471: Verifying Checksum 00:03:23 c3185cebc471: Download complete 00:03:24 db62176df00c: Verifying Checksum 00:03:24 db62176df00c: Download complete 00:03:27 db62176df00c: Pull complete 00:03:27 3b30891b0d05: Pull complete 00:03:27 06b49ca38bd5: Pull complete 00:03:27 c788192a36de: Pull complete 00:03:27 a77e37c0d609: Pull complete 00:03:29 c3185cebc471: Pull complete 00:03:29 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 00:03:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 00:03:29 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 00:03:29 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 00:03:30 + docker inspect -f . ci-base-image-x86_64 00:03:30 . [Pipeline] withDockerContainer 00:03:30 prd-centos7-docker-4c-2g-1390 does not seem to be running inside a container 00:03:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:03:32 $ docker top 7ce0831b8b5397683672eb933338d13f765bb0e6d6db0cc5cf3d79c8b86597c8 -eo pid,comm [Pipeline] { [Pipeline] sh 00:03:32 + go version 00:03:32 go version go1.16.6 linux/amd64 [Pipeline] } 00:03:32 $ docker stop --time=1 7ce0831b8b5397683672eb933338d13f765bb0e6d6db0cc5cf3d79c8b86597c8 00:03:34 $ docker rm -f 7ce0831b8b5397683672eb933338d13f765bb0e6d6db0cc5cf3d79c8b86597c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:03:34 + docker inspect -f . ci-base-image-x86_64 00:03:34 . [Pipeline] withDockerContainer 00:03:34 prd-centos7-docker-4c-2g-1390 does not seem to be running inside a container 00:03:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:03:35 $ docker top 6a5e2437df759f29e92be88b5fed91e6be131da13d6d691c713d518402d2f0f1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:03:35 + make test 00:03:35 make -C ./app-service-template build 00:03:35 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 00:03:35 go mod tidy 00:03:35 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 00:03:36 go: downloading github.com/google/uuid v1.3.0 00:03:36 go: downloading github.com/stretchr/testify v1.7.0 00:03:36 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 00:03:36 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 00:03:36 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 00:03:36 go: downloading github.com/go-playground/validator/v10 v10.6.1 00:03:36 go: downloading github.com/go-kit/kit v0.9.0 00:03:36 go: downloading gopkg.in/yaml.v2 v2.4.0 00:03:36 go: downloading github.com/davecgh/go-spew v1.1.1 00:03:36 go: downloading github.com/pmezard/go-difflib v1.0.0 00:03:36 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 00:03:36 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 00:03:36 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 00:03:36 go: downloading github.com/stretchr/objx v0.1.0 00:03:36 go: downloading github.com/gorilla/mux v1.8.0 00:03:36 go: downloading github.com/hashicorp/go-multierror v1.1.1 00:03:36 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 00:03:36 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 00:03:36 go: downloading github.com/go-playground/universal-translator v0.17.0 00:03:36 go: downloading github.com/leodido/go-urn v1.2.0 00:03:36 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 00:03:36 go: downloading golang.org/x/text v0.3.2 00:03:36 go: downloading github.com/go-playground/assert/v2 v2.0.1 00:03:36 go: downloading github.com/go-playground/locales v0.13.0 00:03:37 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 00:03:37 go: downloading github.com/go-logfmt/logfmt v0.4.0 00:03:37 go: downloading github.com/go-stack/stack v1.8.0 00:03:37 go: downloading github.com/mitchellh/copystructure v1.0.0 00:03:37 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 00:03:37 go: downloading github.com/gorilla/websocket v1.4.2 00:03:37 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 00:03:37 go: downloading github.com/pelletier/go-toml v1.9.2 00:03:37 go: downloading github.com/hashicorp/consul/api v1.8.1 00:03:37 go: downloading github.com/hashicorp/errwrap v1.0.0 00:03:37 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 00:03:37 go: downloading github.com/kr/pretty v0.2.0 00:03:37 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 00:03:37 go: downloading github.com/mitchellh/reflectwalk v1.0.0 00:03:37 go: downloading github.com/x448/float16 v0.8.4 00:03:37 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 00:03:37 go: downloading github.com/hashicorp/go-hclog v0.12.0 00:03:37 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:03:37 go: downloading github.com/hashicorp/serf v0.9.5 00:03:38 go: downloading github.com/mitchellh/mapstructure v1.1.2 00:03:38 go: downloading github.com/hashicorp/consul/sdk v0.7.0 00:03:38 go: downloading github.com/hashicorp/go-uuid v1.0.1 00:03:38 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 00:03:38 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:03:38 go: downloading github.com/kr/text v0.1.0 00:03:38 go: downloading github.com/fatih/color v1.9.0 00:03:38 go: downloading github.com/mattn/go-colorable v0.1.6 00:03:38 go: downloading github.com/mattn/go-isatty v0.0.12 00:03:38 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:03:38 go: downloading github.com/pkg/errors v0.8.1 00:03:38 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:03:38 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 00:03:38 go: downloading github.com/hashicorp/go-msgpack v0.5.3 00:03:38 go: downloading github.com/hashicorp/memberlist v0.2.2 00:03:38 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:03:38 go: downloading github.com/pebbe/zmq4 v1.2.7 00:03:38 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:03:38 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 00:03:38 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 00:03:38 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:03:38 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:03:38 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 00:03:38 go: downloading github.com/miekg/dns v1.1.26 00:03:38 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:03:38 go: downloading github.com/onsi/ginkgo v1.10.1 00:03:38 go: downloading github.com/onsi/gomega v1.7.0 00:03:38 go: downloading github.com/hashicorp/golang-lru v0.5.0 00:03:38 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 00:03:38 go: downloading github.com/hpcloud/tail v1.0.0 00:03:38 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:03:38 go: downloading gopkg.in/fsnotify.v1 v1.4.7 00:03:38 go: downloading github.com/golang/protobuf v1.3.2 00:03:38 go: downloading github.com/fsnotify/fsnotify v1.4.7 00:03:39 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 00:03:50 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 00:03:50 make -C ./app-service-template test 00:03:50 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 00:03:50 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 00:03:58 ok new-app-service 0.008s coverage: 48.1% of statements 00:03:58 ? new-app-service/config [no test files] 00:03:58 ok new-app-service/functions 0.007s 00:03:58 CGO_ENABLED=1 go vet ./... 00:04:05 gofmt -l . 00:04:05 [ "`gofmt -l .`" = "" ] 00:04:05 ./bin/test-attribution-txt.sh 00:04:05 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 00:04:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:04:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:04:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.013s coverage: 63.9% of statements 00:04:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.007s coverage: 93.7% of statements 00:04:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:04:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.022s coverage: 61.8% of statements 00:04:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:04:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.007s 00:04:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.081s coverage: 75.7% of statements 00:04:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 00:04:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 00:04:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:04:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 00:04:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 00:04:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:04:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.015s coverage: 97.3% of statements 00:04:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:04:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.005s coverage: 10.5% of statements 00:04:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.060s coverage: 77.0% of statements 00:04:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 00:04:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.006s coverage: 12.5% of statements 00:04:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.009s coverage: 27.3% of statements 00:04:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 00:04:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 00:04:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.009s coverage: 51.4% of statements 00:04:36 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1391 in /w/workspace/ndry_app-functions-sdk-go_PR-957 [Pipeline] { [Pipeline] ws 00:04:36 Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout 00:04:37 The recommended git tool is: git 00:04:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.019s coverage: 77.3% of statements 00:04:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.007s coverage: 94.4% of statements 00:04:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:04:39 gofmt -l . 00:04:39 [ "`gofmt -l .`" = "" ] [Pipeline] } 00:04:39 $ docker stop --time=1 6a5e2437df759f29e92be88b5fed91e6be131da13d6d691c713d518402d2f0f1 00:04:40 $ docker rm -f 6a5e2437df759f29e92be88b5fed91e6be131da13d6d691c713d518402d2f0f1 [Pipeline] // withDockerContainer [Pipeline] sh 00:04:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:04:41 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 00:04:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:04:42 00:04:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:04:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:04:43 latest: Pulling from edgex-lftools-log-publisher 00:04:43 b4d181a07f80: Pulling fs layer 00:04:43 a1111a8f2ec3: Pulling fs layer 00:04:43 ed53099fbce6: Pulling fs layer 00:04:43 dc539afda2c1: Pulling fs layer 00:04:43 77bc0d833cb6: Pulling fs layer 00:04:43 9065ff56babe: Pulling fs layer 00:04:43 d287ab97295c: Pulling fs layer 00:04:43 dc539afda2c1: Waiting 00:04:43 77bc0d833cb6: Waiting 00:04:43 9065ff56babe: Waiting 00:04:43 d287ab97295c: Waiting 00:04:43 a1111a8f2ec3: Verifying Checksum 00:04:43 a1111a8f2ec3: Download complete 00:04:43 dc539afda2c1: Verifying Checksum 00:04:43 dc539afda2c1: Download complete 00:04:43 77bc0d833cb6: Verifying Checksum 00:04:43 77bc0d833cb6: Download complete 00:04:43 9065ff56babe: Verifying Checksum 00:04:43 9065ff56babe: Download complete 00:04:43 ed53099fbce6: Verifying Checksum 00:04:43 ed53099fbce6: Download complete 00:04:44 using credential edgex-jenkins-ssh 00:04:44 Cloning the remote Git repository 00:04:44 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:04:44 > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 00:04:44 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:04:44 > git --version # timeout=10 00:04:44 > git --version # 'git version 2.17.1' 00:04:44 using GIT_SSH to set credentials SSH Credentials for GitHub 00:04:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:04:44 b4d181a07f80: Download complete 00:04:45 b4d181a07f80: Pull complete 00:04:46 a1111a8f2ec3: Pull complete 00:04:46 ed53099fbce6: Pull complete 00:04:46 dc539afda2c1: Pull complete 00:04:46 77bc0d833cb6: Pull complete 00:04:46 9065ff56babe: Pull complete 00:04:49 d287ab97295c: Verifying Checksum 00:04:49 d287ab97295c: Download complete 00:04:53 d287ab97295c: Pull complete 00:04:53 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 00:04:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:04:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:04:53 prd-centos7-docker-4c-2g-1390 does not seem to be running inside a container 00:04:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:04:56 $ docker top 27e173a08950b9b4c8d69839aa2794775ce9a34573ffb5fb8998125bc09c76a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:04:56 ---> job-cost.sh 00:04:56 lf-activate-venv: SKIPPING 00:04:56 INFO: No Stack... 00:04:58 INFO: Retrieving Pricing Info for: v3-standard-2 00:04:58 INFO: Archiving Costs [Pipeline] sh 00:04:59 + cat /w/workspace/app-functions-sdk-go/4/archives/cost.csv 00:04:59 + cut -d, -f6 [Pipeline] lock 00:04:59 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-957-4-stack-cost] 00:04:59 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-957-4-stack-cost] did not exist. Created. 00:04:59 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-957-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:04:59 + echo total: 0.05999999865889549 [Pipeline] stash 00:04:59 Stashed 1 file(s) [Pipeline] } 00:04:59 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-957-4-stack-cost] [Pipeline] // lock [Pipeline] } 00:04:59 $ docker stop --time=1 27e173a08950b9b4c8d69839aa2794775ce9a34573ffb5fb8998125bc09c76a8 00:04:59 Merging remotes/origin/main commit 6a6a1c5973c1070a14136fb6a022961729ef896e into PR head commit 5d2b8d180bc336423ea62ddc5df9fea664a3d492 00:04:58 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:04:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:04:58 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:04:58 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:04:58 using GIT_SSH to set credentials SSH Credentials for GitHub 00:04:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/957/head:refs/remotes/origin/PR-957 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:04:59 > git config core.sparsecheckout # timeout=10 00:04:59 > git checkout -f 5d2b8d180bc336423ea62ddc5df9fea664a3d492 # timeout=10 00:04:59 Merge succeeded, producing 5d2b8d180bc336423ea62ddc5df9fea664a3d492 00:04:59 Checking out Revision 5d2b8d180bc336423ea62ddc5df9fea664a3d492 (PR-957) 00:05:00 $ docker rm -f 27e173a08950b9b4c8d69839aa2794775ce9a34573ffb5fb8998125bc09c76a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:04:59 > git remote # timeout=10 00:04:59 > git config --get remote.origin.url # timeout=10 00:04:59 using GIT_SSH to set credentials SSH Credentials for GitHub 00:04:59 > git merge 6a6a1c5973c1070a14136fb6a022961729ef896e # timeout=10 00:04:59 > git rev-parse HEAD^{commit} # timeout=10 00:04:59 > git config core.sparsecheckout # timeout=10 00:04:59 > git checkout -f 5d2b8d180bc336423ea62ddc5df9fea664a3d492 # timeout=10 00:05:04 Commit message: "ci: Fix issue with PR template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 00:05:05 ========================================================= 00:05:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 00:05:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 00:05:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 00:05:08 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:05:08 595b0fe564bb: Pulling fs layer 00:05:08 24495759ef45: Pulling fs layer 00:05:08 d148012ef14d: Pulling fs layer 00:05:08 e90a11edd702: Pulling fs layer 00:05:08 d77568369979: Pulling fs layer 00:05:08 fc1c9f9a7f3b: Pulling fs layer 00:05:08 170f2ba95c9a: Pulling fs layer 00:05:08 97ac5df62f85: Pulling fs layer 00:05:08 d77568369979: Waiting 00:05:08 fc1c9f9a7f3b: Waiting 00:05:08 170f2ba95c9a: Waiting 00:05:08 e90a11edd702: Waiting 00:05:08 97ac5df62f85: Waiting 00:05:08 d148012ef14d: Verifying Checksum 00:05:08 d148012ef14d: Download complete 00:05:08 24495759ef45: Verifying Checksum 00:05:08 24495759ef45: Download complete 00:05:08 d77568369979: Verifying Checksum 00:05:08 d77568369979: Download complete 00:05:08 fc1c9f9a7f3b: Verifying Checksum 00:05:08 fc1c9f9a7f3b: Download complete 00:05:08 170f2ba95c9a: Verifying Checksum 00:05:08 170f2ba95c9a: Download complete 00:05:08 595b0fe564bb: Verifying Checksum 00:05:08 595b0fe564bb: Download complete 00:05:09 595b0fe564bb: Pull complete 00:05:09 24495759ef45: Pull complete 00:05:10 d148012ef14d: Pull complete 00:05:12 97ac5df62f85: Verifying Checksum 00:05:12 97ac5df62f85: Download complete 00:05:12 e90a11edd702: Verifying Checksum 00:05:12 e90a11edd702: Download complete 00:05:25 e90a11edd702: Pull complete 00:05:25 d77568369979: Pull complete 00:05:25 fc1c9f9a7f3b: Pull complete 00:05:25 170f2ba95c9a: Pull complete 00:05:30 97ac5df62f85: Pull complete 00:05:30 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 00:05:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 00:05:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 00:05:31 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 00:05:31 + docker inspect -f . ci-base-image-arm64 00:05:31 . [Pipeline] withDockerContainer 00:05:31 prd-ubuntu18.04-docker-arm64-4c-16g-1391 does not seem to be running inside a container 00:05:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:05:40 $ docker top 9bf4ca006632e701fa8a32db315e3a5efc7c3b3b411f651273a67a0f1df9d231 -eo pid,comm [Pipeline] { [Pipeline] sh 00:05:41 + go version 00:05:41 go version go1.16.6 linux/arm64 [Pipeline] } 00:05:41 $ docker stop --time=1 9bf4ca006632e701fa8a32db315e3a5efc7c3b3b411f651273a67a0f1df9d231 00:05:45 $ docker rm -f 9bf4ca006632e701fa8a32db315e3a5efc7c3b3b411f651273a67a0f1df9d231 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:05:46 + docker inspect -f . ci-base-image-arm64 00:05:46 . [Pipeline] withDockerContainer 00:05:47 prd-ubuntu18.04-docker-arm64-4c-16g-1391 does not seem to be running inside a container 00:05:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:05:49 $ docker top 9b21f9fb24198c1e4252602d478d15e55cfff5cb9810910e5271520c8e697d77 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:05:50 + make test 00:05:50 make -C ./app-service-template build 00:05:50 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 00:05:50 go mod tidy 00:05:51 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 00:05:51 go: downloading github.com/google/uuid v1.3.0 00:05:51 go: downloading github.com/stretchr/testify v1.7.0 00:05:51 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 00:05:51 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 00:05:51 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 00:05:51 go: downloading github.com/davecgh/go-spew v1.1.1 00:05:51 go: downloading github.com/pmezard/go-difflib v1.0.0 00:05:51 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 00:05:52 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 00:05:52 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 00:05:52 go: downloading github.com/go-playground/validator/v10 v10.6.1 00:05:52 go: downloading github.com/go-kit/kit v0.9.0 00:05:52 go: downloading github.com/stretchr/objx v0.1.0 00:05:52 go: downloading gopkg.in/yaml.v2 v2.4.0 00:05:52 go: downloading github.com/gorilla/mux v1.8.0 00:05:52 go: downloading github.com/hashicorp/go-multierror v1.1.1 00:05:52 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 00:05:52 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 00:05:52 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 00:05:52 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 00:05:52 go: downloading github.com/mitchellh/copystructure v1.0.0 00:05:52 go: downloading github.com/gorilla/websocket v1.4.2 00:05:52 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 00:05:52 go: downloading github.com/hashicorp/consul/api v1.8.1 00:05:52 go: downloading github.com/go-playground/universal-translator v0.17.0 00:05:52 go: downloading github.com/leodido/go-urn v1.2.0 00:05:52 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 00:05:52 go: downloading golang.org/x/text v0.3.2 00:05:53 go: downloading github.com/go-playground/assert/v2 v2.0.1 00:05:53 go: downloading github.com/go-playground/locales v0.13.0 00:05:56 go: downloading github.com/pelletier/go-toml v1.9.2 00:05:56 go: downloading github.com/hashicorp/errwrap v1.0.0 00:05:56 go: downloading github.com/mitchellh/reflectwalk v1.0.0 00:05:56 go: downloading github.com/kr/pretty v0.2.0 00:05:56 go: downloading github.com/x448/float16 v0.8.4 00:05:56 go: downloading github.com/go-logfmt/logfmt v0.4.0 00:05:56 go: downloading github.com/go-stack/stack v1.8.0 00:05:56 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 00:05:56 go: downloading github.com/hashicorp/go-hclog v0.12.0 00:05:56 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:05:56 go: downloading github.com/hashicorp/serf v0.9.5 00:05:56 go: downloading github.com/mitchellh/mapstructure v1.1.2 00:05:56 go: downloading github.com/hashicorp/consul/sdk v0.7.0 00:05:56 go: downloading github.com/hashicorp/go-uuid v1.0.1 00:05:56 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 00:05:56 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 00:05:57 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:05:57 go: downloading github.com/kr/text v0.1.0 00:05:57 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 00:05:57 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:05:57 go: downloading github.com/fatih/color v1.9.0 00:05:57 go: downloading github.com/mattn/go-colorable v0.1.6 00:05:57 go: downloading github.com/mattn/go-isatty v0.0.12 00:05:57 go: downloading github.com/pkg/errors v0.8.1 00:05:57 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 00:05:57 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:05:57 go: downloading github.com/pebbe/zmq4 v1.2.7 00:05:57 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:05:57 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:05:57 go: downloading github.com/hashicorp/go-msgpack v0.5.3 00:05:57 go: downloading github.com/hashicorp/memberlist v0.2.2 00:05:57 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 00:05:57 go: downloading github.com/onsi/ginkgo v1.10.1 00:05:57 go: downloading github.com/onsi/gomega v1.7.0 00:05:57 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 00:05:57 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:05:57 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:05:57 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 00:05:57 go: downloading github.com/miekg/dns v1.1.26 00:05:57 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:05:57 go: downloading github.com/hashicorp/golang-lru v0.5.0 00:05:57 go: downloading github.com/hpcloud/tail v1.0.0 00:05:57 go: downloading github.com/golang/protobuf v1.3.2 00:05:58 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:05:58 go: downloading gopkg.in/fsnotify.v1 v1.4.7 00:05:58 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 00:05:58 go: downloading github.com/fsnotify/fsnotify v1.4.7 00:05:58 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 00:06:37 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 00:06:37 make -C ./app-service-template test 00:06:37 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 00:06:37 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 00:07:16 ok new-app-service 0.045s coverage: 48.1% of statements 00:07:16 ? new-app-service/config [no test files] 00:07:16 ok new-app-service/functions 0.040s 00:07:16 CGO_ENABLED=1 go vet ./... 00:07:39 gofmt -l . 00:07:39 [ "`gofmt -l .`" = "" ] 00:07:39 ./bin/test-attribution-txt.sh 00:07:39 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 00:07:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:07:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:07:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.085s coverage: 63.9% of statements 00:07:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.051s coverage: 93.7% of statements 00:07:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:07:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.109s coverage: 61.8% of statements 00:07:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:07:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.082s 00:07:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.170s coverage: 75.7% of statements 00:07:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 00:07:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 00:07:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:07:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 00:07:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 00:07:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:07:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.032s coverage: 97.3% of statements 00:07:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:07:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.065s coverage: 10.5% of statements 00:07:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.217s coverage: 77.0% of statements 00:07:56 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 00:07:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.047s coverage: 12.5% of statements 00:07:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.044s coverage: 27.3% of statements 00:07:56 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 00:07:56 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 00:07:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.076s coverage: 51.4% of statements 00:08:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.113s coverage: 77.3% of statements 00:08:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.046s coverage: 94.4% of statements 00:08:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:08:26 gofmt -l . 00:08:26 [ "`gofmt -l .`" = "" ] [Pipeline] } 00:08:26 $ docker stop --time=1 9b21f9fb24198c1e4252602d478d15e55cfff5cb9810910e5271520c8e697d77 00:08:28 $ docker rm -f 9b21f9fb24198c1e4252602d478d15e55cfff5cb9810910e5271520c8e697d77 [Pipeline] // withDockerContainer [Pipeline] sh 00:08:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:08:31 Warning: overwriting stash ‘coverage-report’ 00:08:31 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 00:08:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:08:32 00:08:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:08:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:08:33 arm64: Pulling from edgex-lftools-log-publisher 00:08:33 448f6bf000e3: Pulling fs layer 00:08:33 f757da607395: Pulling fs layer 00:08:33 05883995daec: Pulling fs layer 00:08:33 8603b9c90790: Pulling fs layer 00:08:33 1560dd03e051: Pulling fs layer 00:08:33 27f5ce0e4adf: Pulling fs layer 00:08:33 c2d8d7efcc4b: Pulling fs layer 00:08:33 8603b9c90790: Waiting 00:08:33 c2d8d7efcc4b: Waiting 00:08:33 27f5ce0e4adf: Waiting 00:08:33 1560dd03e051: Waiting 00:08:33 f757da607395: Verifying Checksum 00:08:33 f757da607395: Download complete 00:08:33 8603b9c90790: Download complete 00:08:33 1560dd03e051: Verifying Checksum 00:08:33 1560dd03e051: Download complete 00:08:33 27f5ce0e4adf: Verifying Checksum 00:08:33 27f5ce0e4adf: Download complete 00:08:34 05883995daec: Verifying Checksum 00:08:34 05883995daec: Download complete 00:08:34 448f6bf000e3: Verifying Checksum 00:08:34 448f6bf000e3: Download complete 00:08:37 c2d8d7efcc4b: Verifying Checksum 00:08:37 c2d8d7efcc4b: Download complete 00:08:38 448f6bf000e3: Pull complete 00:08:38 f757da607395: Pull complete 00:08:40 05883995daec: Pull complete 00:08:40 8603b9c90790: Pull complete 00:08:41 1560dd03e051: Pull complete 00:08:42 27f5ce0e4adf: Pull complete 00:08:57 c2d8d7efcc4b: Pull complete 00:08:57 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 00:08:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:08:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:08:57 prd-ubuntu18.04-docker-arm64-4c-16g-1391 does not seem to be running inside a container 00:08:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:09:02 $ docker top d2b7eb5da4c5d69cbeba5da13e44b459de26c46b17b6e7e6cb46ee21c5213ac2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:09:03 ---> job-cost.sh 00:09:03 lf-activate-venv: SKIPPING 00:09:03 INFO: No Stack... 00:09:04 INFO: Retrieving Pricing Info for: v3-standard-4 00:09:05 INFO: Archiving Costs [Pipeline] sh 00:09:05 + cat /w/workspace/app-functions-sdk-go/4/archives/cost.csv 00:09:05 + cut -d, -f6 [Pipeline] lock 00:09:05 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-957-4-stack-cost] 00:09:05 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-957-4-stack-cost] did not exist. Created. 00:09:05 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-957-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:09:06 /w/workspace/app-functions-sdk-go/4@tmp/durable-c01f1ef3/script.sh: 1: /w/workspace/app-functions-sdk-go/4@tmp/durable-c01f1ef3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 00:09:07 + echo total: 0.10999999940395355 [Pipeline] stash 00:09:07 Warning: overwriting stash ‘stack-cost’ 00:09:07 Stashed 1 file(s) [Pipeline] } 00:09:07 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-957-4-stack-cost] [Pipeline] // lock [Pipeline] } 00:09:07 $ docker stop --time=1 d2b7eb5da4c5d69cbeba5da13e44b459de26c46b17b6e7e6cb46ee21c5213ac2 00:09:09 $ docker rm -f d2b7eb5da4c5d69cbeba5da13e44b459de26c46b17b6e7e6cb46ee21c5213ac2 [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 00:09:09 provisioning config files... 00:09:09 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-957@tmp/config7035458102179059689tmp [Pipeline] { [Pipeline] sh 00:09:10 + set +x 00:09:10 + curl -s https://codecov.io/bash 00:09:10 + bash -s -- 00:09:10 00:09:10 _____ _ 00:09:10 / ____| | | 00:09:10 | | ___ __| | ___ ___ _____ __ 00:09:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:09:10 | |___| (_) | (_| | __/ (_| (_) \ V / 00:09:10 \_____\___/ \__,_|\___|\___\___/ \_/ 00:09:10 Bash-1.0.6 00:09:10 00:09:10 00:09:10 ==> git version 2.24.4 found 00:09:10 ==> 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 00:09:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:09:10 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:09:10 ==> Jenkins CI detected. 00:09:10 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-957 00:09:10 project root: . 00:09:10 --> token set from env 00:09:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:09:10 ==> Running gcov in . (disable via -X gcov) 00:09:10 ==> Python coveragepy not found 00:09:10 ==> Searching for coverage reports in: 00:09:10 + . 00:09:10 -> Found 2 reports 00:09:10 ==> Detecting git/mercurial file structure 00:09:10 ==> Reading reports 00:09:10 + ./app-service-template/coverage.out bytes=1219 00:09:10 + ./coverage.out bytes=101685 00:09:10 ==> Appending adjustments 00:09:10 https://docs.codecov.io/docs/fixing-reports 00:09:11 + Found adjustments 00:09:11 ==> Gzipping contents 00:09:11 20K /tmp/codecov.BoLTJK.gz 00:09:11 ==> Uploading reports 00:09:11 url: https://codecov.io 00:09:11 query: branch=PR-957&commit=5d2b8d180bc336423ea62ddc5df9fea664a3d492&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-957%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=957&job=&cmd_args= 00:09:11 -> Pinging Codecov 00:09:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-957&commit=5d2b8d180bc336423ea62ddc5df9fea664a3d492&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-957%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=957&job=&cmd_args= 00:09:11 -> Uploading to 00:09:11 https://storage.googleapis.com/codecov/v4/raw/2021-09-25/3D8B5DFFC46A037C893635FACE044666/5d2b8d180bc336423ea62ddc5df9fea664a3d492/961cb893-8e3d-4bff-923f-af4970a4597b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210925%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210925T000911Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=550048dc275584f81c4c5197431c9abb7f2584e7d7fbf6d91b40ed8a7df92df5 00:09:11 % Total % Received % Xferd Average Speed Time Time Time Current 00:09:11 Dload Upload Total Spent Left Speed 00:09:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17632 0 0 100 17632 0 12457 0:00:01 0:00:01 --:--:-- 12451 100 17632 0 0 100 17632 0 12455 0:00:01 0:00:01 --:--:-- 12451 00:09:12 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/5d2b8d180bc336423ea62ddc5df9fea664a3d492 [Pipeline] } 00:09:12 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 00:09:15 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-957/archives ']' [Pipeline] libraryResource [Pipeline] sh 00:09:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:09:16 ---> package-listing.sh 00:09:16 ++ facter osfamily 00:09:16 ++ tr '[:upper:]' '[:lower:]' 00:09:16 + OS_FAMILY=redhat 00:09:16 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-957 00:09:16 + START_PACKAGES=/tmp/packages_start.txt 00:09:16 + END_PACKAGES=/tmp/packages_end.txt 00:09:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:09:16 + PACKAGES=/tmp/packages_start.txt 00:09:16 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-957 ']' 00:09:16 + PACKAGES=/tmp/packages_end.txt 00:09:16 + case "${OS_FAMILY}" in 00:09:16 + sort 00:09:16 + rpm -qa 00:09:17 + '[' -f /tmp/packages_start.txt ']' 00:09:17 + '[' -f /tmp/packages_end.txt ']' 00:09:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:09:17 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-957 ']' 00:09:17 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-957/archives/ 00:09:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-957/archives/ [Pipeline] echo 00:09:17 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-957/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:09:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:09:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:09:18 00:09:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:09:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:09:19 latest: Pulling from edgex-lftools-log-publisher 00:09:19 b4d181a07f80: Pulling fs layer 00:09:19 a1111a8f2ec3: Pulling fs layer 00:09:19 ed53099fbce6: Pulling fs layer 00:09:19 dc539afda2c1: Pulling fs layer 00:09:19 77bc0d833cb6: Pulling fs layer 00:09:19 9065ff56babe: Pulling fs layer 00:09:19 d287ab97295c: Pulling fs layer 00:09:19 77bc0d833cb6: Waiting 00:09:19 9065ff56babe: Waiting 00:09:19 d287ab97295c: Waiting 00:09:19 dc539afda2c1: Waiting 00:09:19 a1111a8f2ec3: Download complete 00:09:19 dc539afda2c1: Verifying Checksum 00:09:19 dc539afda2c1: Download complete 00:09:19 77bc0d833cb6: Verifying Checksum 00:09:19 77bc0d833cb6: Download complete 00:09:19 9065ff56babe: Verifying Checksum 00:09:19 9065ff56babe: Download complete 00:09:19 ed53099fbce6: Verifying Checksum 00:09:19 ed53099fbce6: Download complete 00:09:19 b4d181a07f80: Verifying Checksum 00:09:19 b4d181a07f80: Download complete 00:09:21 b4d181a07f80: Pull complete 00:09:21 a1111a8f2ec3: Pull complete 00:09:23 ed53099fbce6: Pull complete 00:09:23 dc539afda2c1: Pull complete 00:09:23 77bc0d833cb6: Pull complete 00:09:23 9065ff56babe: Pull complete 00:09:23 d287ab97295c: Verifying Checksum 00:09:23 d287ab97295c: Download complete 00:09:28 d287ab97295c: Pull complete 00:09:28 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 00:09:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:09:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:09:28 prd-centos7-docker-4c-2g-1384 does not seem to be running inside a container 00:09:28 $ 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-957/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-957 -v /w/workspace/ndry_app-functions-sdk-go_PR-957:/w/workspace/ndry_app-functions-sdk-go_PR-957:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-957@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-957@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:09:31 $ docker top df08f009b2d7780b67af29444edcdbf6f13620dbae555c0821843c2253f9000d -eo pid,comm [Pipeline] { [Pipeline] sh 00:09:31 + touch /tmp/pre-build-complete [Pipeline] sh 00:09:31 + mkdir -p /var/log/sysstat [Pipeline] sh 00:09:32 + ls /var/log/sa-host 00:09:32 + sadf -c /var/log/sa-host/sa05 00:09:32 file_magic: OK 00:09:32 HZ: Using current value: 100 00:09:32 file_header: OK 00:09:32 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 00:09:32 Statistics: 00:09:32 Hnuu...uuuununununu...Hnuu...uuuununununu... 00:09:32 File successfully converted to sysstat format version 12.0.3 00:09:32 + sadf -c /var/log/sa-host/sa24 00:09:32 file_magic: OK 00:09:32 HZ: Using current value: 100 00:09:32 file_header: OK 00:09:32 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 00:09:32 Statistics: 00:09:32 HR 00:09:32 File successfully converted to sysstat format version 12.0.3 00:09:32 + sadf -c /var/log/sa-host/sa25 00:09:32 file_magic: OK 00:09:32 HZ: Using current value: 100 00:09:32 file_header: OK 00:09:32 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 00:09:32 Statistics: 00:09:32 Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:09:32 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:09:32 provisioning config files... 00:09:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-957@tmp/config1457209310153274683tmp [Pipeline] { [Pipeline] echo 00:09:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:09:32 ---> create-netrc.sh [Pipeline] } 00:09:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:09:33 ---> python-tools-install.sh [Pipeline] echo 00:09:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:09:33 ---> sudo-logs.sh 00:09:33 Archiving 'sudo' log.. 00:09:33 sudo: unable to resolve host prd-centos7-docker-4c-2g-1384.vexxhost.local: Name or service not known 00:09:33 sudo: unable to resolve host prd-centos7-docker-4c-2g-1384.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 00:09:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:09:33 ---> job-cost.sh 00:09:33 lf-activate-venv: SKIPPING 00:09:33 DEBUG: total: 0.10999999940395355 00:09:33 INFO: Retrieving Stack Cost... 00:09:34 INFO: Retrieving Pricing Info for: v3-standard-2 00:09:34 INFO: Archiving Costs [Pipeline] echo 00:09:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:09:35 ---> logs-deploy.sh 00:09:35 lf-activate-venv: SKIPPING 00:09:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-957/4 00:09:35 INFO: archiving workspace using pattern(s): 00:09:35 Archives upload complete. 00:09:36 INFO: archiving logs to Nexus 00:09:36 ---> uname -a: 00:09:36 Linux prd-centos7-docker-4c-2g-1384.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 00:09:36 00:09:36 00:09:36 ---> lscpu: 00:09:36 Architecture: x86_64 00:09:36 CPU op-mode(s): 32-bit, 64-bit 00:09:36 Byte Order: Little Endian 00:09:36 Address sizes: 40 bits physical, 48 bits virtual 00:09:36 CPU(s): 2 00:09:36 On-line CPU(s) list: 0,1 00:09:36 Thread(s) per core: 1 00:09:36 Core(s) per socket: 1 00:09:36 Socket(s): 2 00:09:36 NUMA node(s): 1 00:09:36 Vendor ID: AuthenticAMD 00:09:36 CPU family: 23 00:09:36 Model: 49 00:09:36 Model name: AMD EPYC-Rome Processor 00:09:36 Stepping: 0 00:09:36 CPU MHz: 2799.998 00:09:36 BogoMIPS: 5599.99 00:09:36 Virtualization: AMD-V 00:09:36 Hypervisor vendor: KVM 00:09:36 Virtualization type: full 00:09:36 L1d cache: 32K 00:09:36 L1i cache: 32K 00:09:36 L2 cache: 512K 00:09:36 L3 cache: 16384K 00:09:36 NUMA node0 CPU(s): 0,1 00:09:36 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 00:09:36 00:09:36 00:09:36 ---> nproc: 00:09:36 2 00:09:36 00:09:36 00:09:36 ---> df -h: 00:09:36 Filesystem Size Used Avail Use% Mounted on 00:09:36 overlay 40G 7.7G 33G 20% / 00:09:36 tmpfs 64M 0 64M 0% /dev 00:09:36 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 00:09:36 shm 64M 0 64M 0% /dev/shm 00:09:36 /dev/vda1 40G 7.7G 33G 20% /facter-os 00:09:36 00:09:36 00:09:36 ---> sar -b -r -n DEV: 00:09:36 Linux 3.10.0-1160.21.1.el7.x86_64 (prd-centos7-docker-4c-2g-1384.vexxhost.local) 09/25/21 _x86_64_ (2 CPU) 00:09:36 00:09:36 00:00:01 tps rtps wtps bread/s bwrtn/s 00:09:36 00:01:01 110.65 16.41 94.24 5485.73 6275.20 00:09:36 00:02:01 2.32 0.10 2.22 1.73 48.80 00:09:36 00:03:01 0.52 0.00 0.52 0.00 9.01 00:09:36 00:04:01 0.22 0.00 0.22 0.00 4.01 00:09:36 00:05:01 0.25 0.00 0.25 0.00 4.00 00:09:36 00:06:01 0.28 0.00 0.28 0.00 4.61 00:09:36 00:07:01 0.30 0.00 0.30 0.00 5.00 00:09:36 00:08:02 0.27 0.00 0.27 0.00 4.85 00:09:36 00:09:01 0.25 0.00 0.25 0.00 4.00 00:09:36 Average: 12.81 1.84 10.97 611.18 708.29 00:09:36 00:09:36 00:00:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:09:36 00:01:01 5430520 0 806560 10.07 2620 1769240 1288392 14.22 599732 1577028 128 00:09:36 00:02:01 5432012 0 804940 10.05 2620 1769368 1285412 14.19 598784 1577052 12 00:09:36 00:03:01 5444984 0 791960 9.89 2620 1769376 1203600 13.29 580700 1584332 8 00:09:36 00:04:01 5442112 0 794828 9.92 2620 1769380 1203852 13.29 583200 1584332 8 00:09:36 00:05:01 5441860 0 795072 9.93 2620 1769388 1203992 13.29 582924 1585136 8 00:09:36 00:06:01 5438712 0 798220 9.97 2620 1769388 1203848 13.29 586032 1585132 8 00:09:36 00:07:01 5439924 0 797004 9.95 2620 1769392 1203668 13.29 585080 1585132 20 00:09:36 00:08:02 5436628 0 800292 9.99 2620 1769400 1203824 13.29 588688 1585132 8 00:09:36 00:09:01 5427024 0 809896 10.11 2620 1769400 1203668 13.29 597668 1585132 8 00:09:36 Average: 5437086 0 799864 9.99 2620 1769370 1222251 13.49 589201 1583156 23 00:09:36 00:09:36 00:00:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:09:36 00:01:01 eth0 680.42 446.38 1620.29 90.97 0.00 0.00 0.00 0.00 00:09:36 00:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:09:36 00:01:01 docker0 120.88 126.34 10.65 317.59 0.00 0.00 0.00 0.00 00:09:36 00:02:01 eth0 3.38 0.98 1.61 0.44 0.00 0.00 0.00 0.00 00:09:36 00:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:09:36 00:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:09:36 00:03:01 eth0 1.27 0.08 0.11 0.01 0.00 0.00 0.00 0.00 00:09:36 00:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:09:36 00:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:09:36 00:04:01 eth0 1.90 0.67 0.64 0.40 0.00 0.00 0.00 0.00 00:09:36 00:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:09:36 00:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:09:36 00:05:01 eth0 2.70 1.08 1.19 0.76 0.00 0.00 0.00 0.00 00:09:36 00:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:09:36 00:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:09:36 00:06:01 eth0 0.40 0.25 0.15 0.11 0.00 0.00 0.00 0.00 00:09:36 00:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:09:36 00:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:09:36 00:07:01 eth0 0.60 0.08 0.06 0.01 0.00 0.00 0.00 0.00 00:09:36 00:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:09:36 00:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:09:36 00:08:02 eth0 0.58 0.38 0.27 0.20 0.00 0.00 0.00 0.00 00:09:36 00:08:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:09:36 00:08:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:09:36 00:09:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 00:09:36 00:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:09:36 00:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:09:36 Average: eth0 77.00 50.12 180.91 10.35 0.00 0.00 0.00 0.00 00:09:36 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:09:36 Average: docker0 13.46 14.07 1.19 35.37 0.00 0.00 0.00 0.00 00:09:36 00:09:36 00:09:36 ---> sar -P ALL: 00:09:36 Linux 3.10.0-1160.21.1.el7.x86_64 (prd-centos7-docker-4c-2g-1384.vexxhost.local) 09/25/21 _x86_64_ (2 CPU) 00:09:36 00:09:36 00:00:01 CPU %user %nice %system %iowait %steal %idle 00:09:36 00:01:01 all 15.44 0.00 3.90 3.02 0.07 77.58 00:09:36 00:01:01 0 15.06 0.00 4.65 4.66 0.07 75.56 00:09:36 00:01:01 1 15.81 0.00 3.15 1.38 0.07 79.59 00:09:36 00:02:01 all 0.22 0.00 0.06 0.01 0.03 99.68 00:09:36 00:02:01 0 0.07 0.00 0.07 0.02 0.03 99.82 00:09:36 00:02:01 1 0.37 0.00 0.05 0.00 0.03 99.55 00:09:36 00:03:01 all 0.09 0.00 0.05 0.00 0.03 99.82 00:09:36 00:03:01 0 0.07 0.00 0.05 0.00 0.03 99.85 00:09:36 00:03:01 1 0.12 0.00 0.05 0.00 0.03 99.80 00:09:36 00:04:01 all 0.16 0.00 0.04 0.00 0.01 99.79 00:09:36 00:04:01 0 0.12 0.00 0.05 0.00 0.02 99.82 00:09:36 00:04:01 1 0.20 0.00 0.03 0.00 0.00 99.77 00:09:36 00:05:01 all 0.13 0.00 0.03 0.00 0.04 99.79 00:09:36 00:05:01 0 0.05 0.00 0.03 0.00 0.05 99.87 00:09:36 00:05:01 1 0.22 0.00 0.03 0.00 0.03 99.72 00:09:36 00:06:01 all 0.14 0.00 0.03 0.00 0.03 99.80 00:09:36 00:06:01 0 0.05 0.00 0.03 0.00 0.02 99.90 00:09:36 00:06:01 1 0.23 0.00 0.03 0.00 0.03 99.70 00:09:36 00:07:01 all 0.18 0.00 0.03 0.00 0.03 99.77 00:09:36 00:07:01 0 0.05 0.00 0.03 0.00 0.03 99.88 00:09:36 00:07:01 1 0.32 0.00 0.02 0.00 0.02 99.65 00:09:36 00:08:02 all 0.07 0.00 0.06 0.00 0.03 99.85 00:09:36 00:08:02 0 0.03 0.00 0.08 0.00 0.02 99.87 00:09:36 00:08:02 1 0.10 0.00 0.03 0.00 0.03 99.83 00:09:36 00:09:01 all 0.12 0.00 0.04 0.00 0.03 99.81 00:09:36 00:09:01 0 0.05 0.00 0.03 0.00 0.03 99.88 00:09:36 00:09:01 1 0.19 0.00 0.05 0.00 0.02 99.74 00:09:36 Average: all 1.79 0.00 0.46 0.33 0.03 97.39 00:09:36 Average: 0 1.68 0.00 0.54 0.51 0.03 97.24 00:09:36 Average: 1 1.91 0.00 0.38 0.15 0.03 97.54 00:09:36 00:09:36 00:09:36