Pull request #937 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from ac143b9660179995d8d7d667086576dc55435836+73c7655a421d1b4782a44a8ee07953c50ab87982 (45cf729a4f1cd258f4a80b0f8719fe4c3df1b0d3) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1852351861317782938.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-ssh3046423878223100844.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-937/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-937/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh228432179699511061.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-937/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6888892533408478551.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8954263116383309120.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-937/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-937/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8235101248368164855.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-631 in /w/workspace/ndry_app-functions-sdk-go_PR-937 [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-937 # 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-937@tmp/jenkins-gitclient-ssh2281252935392882222.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-937@tmp/jenkins-gitclient-ssh1489523080501335102.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/937/head:refs/remotes/origin/PR-937 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 73c7655a421d1b4782a44a8ee07953c50ab87982 into PR head commit ac143b9660179995d8d7d667086576dc55435836 Merge succeeded, producing 18ff6cf325a2e60ac3dd04a090185cd7d429813d Checking out Revision 18ff6cf325a2e60ac3dd04a090185cd7d429813d (PR-937) > git config core.sparsecheckout # timeout=10 > git checkout -f ac143b9660179995d8d7d667086576dc55435836 # 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-937@tmp/jenkins-gitclient-ssh8544932167243953497.key > git merge 73c7655a421d1b4782a44a8ee07953c50ab87982 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 18ff6cf325a2e60ac3dd04a090185cd7d429813d # timeout=10 Commit message: "Merge commit '73c7655a421d1b4782a44a8ee07953c50ab87982' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:01:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:01:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:01:17 ========================================================= 22:01:17 EdgeX Global Pipelines Version Info 22:01:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:01:19 ------------------- 22:01:19 stable info: 22:01:19 ------------------- 22:01:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:01:19 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 22:01:19 Message: update stable to v1.0.205 22:01:19 ------------------- 22:01:19 experimental info: 22:01:19 ------------------- 22:01:19 Commited By: **** collab-it+edgex@linuxfoundation.org 22:01:19 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 22:01:19 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:01:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 22:01:20 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 22:01:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:01:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:01:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:01:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 22:01:20 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:01:20 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 22:01:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:01:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:01:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:01:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:01:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 22:01:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:01:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:01:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 22:01:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:01:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:01:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:01:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:01:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:01:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:01:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:01:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:01:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:01:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 22:01:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:01:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-937 [Pipeline] echo 22:01:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-937 [Pipeline] echo 22:01:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-937 [Pipeline] echo 22:01:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 18ff6cf325a2e60ac3dd04a090185cd7d429813d [Pipeline] echo 22:01:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 18ff6cf [Pipeline] echo 22:01:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:01:23 + git log --format=format:%s -1 18ff6cf325a2e60ac3dd04a090185cd7d429813d [Pipeline] echo 22:01:23 GIT_COMMIT: 18ff6cf325a2e60ac3dd04a090185cd7d429813d, Commit Message: Merge commit '73c7655a421d1b4782a44a8ee07953c50ab87982' into HEAD [Pipeline] echo 22:01:23 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:01:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:01:24 22:01:24 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:01:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:01:25 latest: Pulling from edgex-devops/git-semver 22:01:25 31603596830f: Pulling fs layer 22:01:25 04fac38145f0: Pulling fs layer 22:01:25 701f6daf10bf: Pulling fs layer 22:01:25 24f72da36158: Pulling fs layer 22:01:25 24f72da36158: Waiting 22:01:25 04fac38145f0: Verifying Checksum 22:01:25 04fac38145f0: Download complete 22:01:25 31603596830f: Verifying Checksum 22:01:25 31603596830f: Download complete 22:01:25 31603596830f: Pull complete 22:01:25 24f72da36158: Verifying Checksum 22:01:25 24f72da36158: Download complete 22:01:25 04fac38145f0: Pull complete 22:01:25 701f6daf10bf: Verifying Checksum 22:01:25 701f6daf10bf: Download complete 22:01:26 701f6daf10bf: Pull complete 22:01:26 24f72da36158: Pull complete 22:01:26 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 22:01:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:01:26 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:01:26 prd-centos7-docker-4c-2g-631 does not seem to be running inside a container 22:01:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-937 -v /w/workspace/ndry_app-functions-sdk-go_PR-937:/w/workspace/ndry_app-functions-sdk-go_PR-937:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-937@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-937@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:01:27 $ docker top f5855cb23c6a82f642975dc20258dfcb2dfbc97cc6c5fe230914d7968231ed09 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:01:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:01:27 [ssh-agent] Looking for ssh-agent implementation... 22:01:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:01:28 $ docker exec f5855cb23c6a82f642975dc20258dfcb2dfbc97cc6c5fe230914d7968231ed09 ssh-agent 22:01:28 SSH_AUTH_SOCK=/tmp/ssh-XyKBu5SMwSd9/agent.13 22:01:28 SSH_AGENT_PID=20 22:01:28 Running ssh-add (command line suppressed) 22:01:28 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-937@tmp/private_key_8702120743656497118.key (/w/workspace/ndry_app-functions-sdk-go_PR-937@tmp/private_key_8702120743656497118.key) 22:01:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:01:28 + git tag --points-at HEAD [Pipeline] } 22:01:28 $ docker exec --env ******** --env ******** f5855cb23c6a82f642975dc20258dfcb2dfbc97cc6c5fe230914d7968231ed09 ssh-agent -k 22:01:28 unset SSH_AUTH_SOCK; 22:01:28 unset SSH_AGENT_PID; 22:01:28 echo Agent pid 20 killed; 22:01:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:01:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:01:28 [ssh-agent] Looking for ssh-agent implementation... 22:01:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:01:29 $ docker exec f5855cb23c6a82f642975dc20258dfcb2dfbc97cc6c5fe230914d7968231ed09 ssh-agent 22:01:29 SSH_AUTH_SOCK=/tmp/ssh-ICtJbBUHYB21/agent.53 22:01:29 SSH_AGENT_PID=59 22:01:29 Running ssh-add (command line suppressed) 22:01:29 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-937@tmp/private_key_8013027616005972474.key (/w/workspace/ndry_app-functions-sdk-go_PR-937@tmp/private_key_8013027616005972474.key) 22:01:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:01:29 + git semver init 22:01:29 # -> Open(): unable to determine branch for HEAD 22:01:29 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-937/.git 22:01:29 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-937 22:01:29 # $SEMVER_REMOTE_NAME = origin 22:01:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:01:29 # $SEMVER_USER_NAME = edgex-jenkins 22:01:29 # $SEMVER_BRANCH = PR-937 22:01:29 # $SEMVER_TEMP = /tmp/semver-427931766 22:01:29 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 22:01:32 # '/tmp/semver-427931766' -> '/w/workspace/ndry_app-functions-sdk-go_PR-937/.semver' 22:01:32 # -> Force: false 22:01:32 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-937/.semver [Pipeline] } 22:01:32 $ docker exec --env ******** --env ******** f5855cb23c6a82f642975dc20258dfcb2dfbc97cc6c5fe230914d7968231ed09 ssh-agent -k 22:01:32 unset SSH_AUTH_SOCK; 22:01:32 unset SSH_AGENT_PID; 22:01:32 echo Agent pid 59 killed; 22:01:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:01:32 + git semver [Pipeline] } 22:01:33 $ docker stop --time=1 f5855cb23c6a82f642975dc20258dfcb2dfbc97cc6c5fe230914d7968231ed09 22:01:34 $ docker rm -f f5855cb23c6a82f642975dc20258dfcb2dfbc97cc6c5fe230914d7968231ed09 [Pipeline] // withDockerContainer [Pipeline] sh 22:01:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:01:35 Stashed 1 file(s) [Pipeline] echo 22:01:35 [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 22:01:50 Still waiting to schedule task 22:01:50 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-631’ 22:01:50 Still waiting to schedule task 22:01:50 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:03:59 Running on prd-ubuntu18.04-docker-arm64-4c-16g-633 in /w/workspace/ndry_app-functions-sdk-go_PR-937 [Pipeline] { [Pipeline] ws 22:03:59 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 22:04:00 The recommended git tool is: git 22:04:05 using credential edgex-jenkins-ssh 22:04:05 Cloning the remote Git repository 22:04:05 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 22:04:05 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 22:04:05 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:04:05 > git --version # timeout=10 22:04:05 > git --version # 'git version 2.17.1' 22:04:05 using GIT_SSH to set credentials SSH Credentials for GitHub 22:04:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:04:10 Merging remotes/origin/main commit 73c7655a421d1b4782a44a8ee07953c50ab87982 into PR head commit ac143b9660179995d8d7d667086576dc55435836 22:04:09 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:04:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:04:09 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:04:09 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:04:09 using GIT_SSH to set credentials SSH Credentials for GitHub 22:04:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/937/head:refs/remotes/origin/PR-937 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:04:10 > git config core.sparsecheckout # timeout=10 22:04:10 > git checkout -f ac143b9660179995d8d7d667086576dc55435836 # timeout=10 22:04:10 > git remote # timeout=10 22:04:10 > git config --get remote.origin.url # timeout=10 22:04:10 using GIT_SSH to set credentials SSH Credentials for GitHub 22:04:10 > git merge 73c7655a421d1b4782a44a8ee07953c50ab87982 # timeout=10 22:04:10 Merge succeeded, producing 3b343935752f2a35d94bd6408cbb838d11419230 22:04:10 Checking out Revision 3b343935752f2a35d94bd6408cbb838d11419230 (PR-937) 22:04:10 > git rev-parse HEAD^{commit} # timeout=10 22:04:10 > git config core.sparsecheckout # timeout=10 22:04:10 > git checkout -f 3b343935752f2a35d94bd6408cbb838d11419230 # timeout=10 22:04:14 Commit message: "Merge commit '73c7655a421d1b4782a44a8ee07953c50ab87982' into HEAD" 22:04:14 First time build. Skipping changelog. 22:04:14 > git --version # timeout=10 22:04:14 > git --version # 'git version 2.17.1' 22:04:14 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:04:15 ========================================================= 22:04:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 22:04:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 22:04:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 22:04:18 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:04:18 595b0fe564bb: Pulling fs layer 22:04:18 24495759ef45: Pulling fs layer 22:04:18 d148012ef14d: Pulling fs layer 22:04:18 e90a11edd702: Pulling fs layer 22:04:18 d77568369979: Pulling fs layer 22:04:18 fc1c9f9a7f3b: Pulling fs layer 22:04:18 170f2ba95c9a: Pulling fs layer 22:04:18 97ac5df62f85: Pulling fs layer 22:04:18 fc1c9f9a7f3b: Waiting 22:04:18 e90a11edd702: Waiting 22:04:18 170f2ba95c9a: Waiting 22:04:18 d77568369979: Waiting 22:04:18 97ac5df62f85: Waiting 22:04:18 d148012ef14d: Verifying Checksum 22:04:18 d148012ef14d: Download complete 22:04:18 24495759ef45: Download complete 22:04:18 d77568369979: Download complete 22:04:18 fc1c9f9a7f3b: Verifying Checksum 22:04:18 fc1c9f9a7f3b: Download complete 22:04:18 595b0fe564bb: Verifying Checksum 22:04:18 595b0fe564bb: Download complete 22:04:18 170f2ba95c9a: Verifying Checksum 22:04:18 170f2ba95c9a: Download complete 22:04:19 595b0fe564bb: Pull complete 22:04:19 24495759ef45: Pull complete 22:04:19 d148012ef14d: Pull complete 22:04:21 97ac5df62f85: Download complete 22:04:22 e90a11edd702: Download complete 22:04:34 e90a11edd702: Pull complete 22:04:34 d77568369979: Pull complete 22:04:34 fc1c9f9a7f3b: Pull complete 22:04:34 170f2ba95c9a: Pull complete 22:04:40 97ac5df62f85: Pull complete 22:04:40 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 22:04:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 22:04:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 22:04:40 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 22:04:41 + docker inspect -f . ci-base-image-arm64 22:04:41 . [Pipeline] withDockerContainer 22:04:41 prd-ubuntu18.04-docker-arm64-4c-16g-633 does not seem to be running inside a container 22:04:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:04:46 $ docker top e97f20ca23d4a5254b676363f21b942e7a8dfe485f5a8c86240080d34a7f5272 -eo pid,comm [Pipeline] { [Pipeline] sh 22:04:47 + go version 22:04:47 go version go1.16.6 linux/arm64 [Pipeline] } 22:04:47 $ docker stop --time=1 e97f20ca23d4a5254b676363f21b942e7a8dfe485f5a8c86240080d34a7f5272 22:04:49 $ docker rm -f e97f20ca23d4a5254b676363f21b942e7a8dfe485f5a8c86240080d34a7f5272 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:04:51 + docker inspect -f . ci-base-image-arm64 22:04:51 . [Pipeline] withDockerContainer 22:04:51 prd-ubuntu18.04-docker-arm64-4c-16g-633 does not seem to be running inside a container 22:04:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:04:53 $ docker top a8a3e30224c01d094e22ca85a452060bef608b3e3025ff144d508e5d2c7ee611 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:04:54 + make test 22:04:54 make -C ./app-service-template build 22:04:54 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 22:04:54 go mod tidy 22:05:02 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 22:05:02 go: downloading github.com/google/uuid v1.3.0 22:05:02 go: downloading github.com/stretchr/testify v1.7.0 22:05:02 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 22:05:02 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 22:05:02 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 22:05:03 go: downloading github.com/go-playground/validator/v10 v10.6.1 22:05:03 go: downloading github.com/go-kit/kit v0.9.0 22:05:03 go: downloading gopkg.in/yaml.v2 v2.4.0 22:05:03 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 22:05:03 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 22:05:03 go: downloading github.com/davecgh/go-spew v1.1.1 22:05:03 go: downloading github.com/pmezard/go-difflib v1.0.0 22:05:03 go: downloading github.com/stretchr/objx v0.1.0 22:05:03 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 22:05:04 go: downloading github.com/gorilla/mux v1.8.0 22:05:04 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 22:05:04 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 22:05:04 go: downloading github.com/go-playground/universal-translator v0.17.0 22:05:04 go: downloading github.com/leodido/go-urn v1.2.0 22:05:04 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 22:05:04 go: downloading golang.org/x/text v0.3.2 22:05:05 go: downloading github.com/go-playground/assert/v2 v2.0.1 22:05:05 go: downloading github.com/go-playground/locales v0.13.0 22:05:08 go: downloading github.com/go-logfmt/logfmt v0.4.0 22:05:08 go: downloading github.com/go-stack/stack v1.8.0 22:05:08 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 22:05:08 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 22:05:08 go: downloading github.com/mitchellh/copystructure v1.0.0 22:05:08 go: downloading github.com/gorilla/websocket v1.4.2 22:05:08 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 22:05:08 go: downloading github.com/pelletier/go-toml v1.9.2 22:05:09 go: downloading github.com/hashicorp/consul/api v1.8.1 22:05:09 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 22:05:09 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:05:09 go: downloading github.com/kr/pretty v0.2.0 22:05:09 go: downloading github.com/mitchellh/reflectwalk v1.0.0 22:05:09 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 22:05:09 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:05:09 go: downloading github.com/x448/float16 v0.8.4 22:05:10 go: downloading github.com/kr/text v0.1.0 22:05:10 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 22:05:10 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 22:05:10 go: downloading github.com/hashicorp/go-hclog v0.12.0 22:05:10 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 22:05:10 go: downloading github.com/hashicorp/serf v0.9.5 22:05:10 go: downloading github.com/mitchellh/mapstructure v1.1.2 22:05:10 go: downloading github.com/hashicorp/consul/sdk v0.7.0 22:05:10 go: downloading github.com/hashicorp/go-uuid v1.0.1 22:05:11 go: downloading github.com/go-redis/redis/v7 v7.3.0 22:05:11 go: downloading github.com/pebbe/zmq4 v1.2.7 22:05:11 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 22:05:11 go: downloading github.com/fatih/color v1.9.0 22:05:11 go: downloading github.com/mattn/go-colorable v0.1.6 22:05:11 go: downloading github.com/mattn/go-isatty v0.0.12 22:05:11 go: downloading github.com/mitchellh/go-homedir v1.1.0 22:05:11 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:05:11 go: downloading github.com/hashicorp/go-msgpack v0.5.3 22:05:11 go: downloading github.com/hashicorp/memberlist v0.2.2 22:05:11 go: downloading github.com/onsi/ginkgo v1.10.1 22:05:11 go: downloading github.com/onsi/gomega v1.7.0 22:05:11 go: downloading github.com/pkg/errors v0.8.1 22:05:11 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 22:05:11 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:05:12 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 22:05:12 go: downloading github.com/hashicorp/golang-lru v0.5.0 22:05:12 go: downloading github.com/hpcloud/tail v1.0.0 22:05:12 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:05:12 go: downloading github.com/hashicorp/go-multierror v1.1.0 22:05:12 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 22:05:12 go: downloading github.com/miekg/dns v1.1.26 22:05:12 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:05:12 Running on prd-centos7-docker-4c-2g-635 in /w/workspace/ndry_app-functions-sdk-go_PR-937 [Pipeline] { [Pipeline] ws 22:05:12 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 22:05:12 go: downloading github.com/golang/protobuf v1.3.2 22:05:12 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 22:05:12 go: downloading github.com/hashicorp/errwrap v1.0.0 22:05:12 The recommended git tool is: git 22:05:12 go: downloading gopkg.in/fsnotify.v1 v1.4.7 22:05:12 go: downloading github.com/fsnotify/fsnotify v1.4.7 22:05:12 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 22:05:13 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 22:05:15 using credential edgex-jenkins-ssh 22:05:15 Cloning the remote Git repository 22:05:15 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 22:05:15 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 22:05:15 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:05:15 > git --version # timeout=10 22:05:15 > git --version # 'git version 2.24.4' 22:05:15 using GIT_SSH to set credentials SSH Credentials for GitHub 22:05:15 [INFO] Currently running in a labeled security context 22:05:15 [INFO] Currently SELinux is 'enforcing' on the host 22:05:15 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh8474083342060089007.key 22:05:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:05:20 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:05:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:05:20 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:05:20 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:05:20 using GIT_SSH to set credentials SSH Credentials for GitHub 22:05:20 [INFO] Currently running in a labeled security context 22:05:20 [INFO] Currently SELinux is 'enforcing' on the host 22:05:20 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh5338541314213513210.key 22:05:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/937/head:refs/remotes/origin/PR-937 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:05:21 Merging remotes/origin/main commit 73c7655a421d1b4782a44a8ee07953c50ab87982 into PR head commit ac143b9660179995d8d7d667086576dc55435836 22:05:21 Merge succeeded, producing 076b94fb304a1837379c33accae1622e800f9517 22:05:21 Checking out Revision 076b94fb304a1837379c33accae1622e800f9517 (PR-937) 22:05:21 > git config core.sparsecheckout # timeout=10 22:05:21 > git checkout -f ac143b9660179995d8d7d667086576dc55435836 # timeout=10 22:05:21 > git remote # timeout=10 22:05:21 > git config --get remote.origin.url # timeout=10 22:05:21 using GIT_SSH to set credentials SSH Credentials for GitHub 22:05:21 [INFO] Currently running in a labeled security context 22:05:21 [INFO] Currently SELinux is 'enforcing' on the host 22:05:21 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh516309047924331017.key 22:05:21 > git merge 73c7655a421d1b4782a44a8ee07953c50ab87982 # timeout=10 22:05:21 > git rev-parse HEAD^{commit} # timeout=10 22:05:21 > git config core.sparsecheckout # timeout=10 22:05:21 > git checkout -f 076b94fb304a1837379c33accae1622e800f9517 # timeout=10 22:05:25 Commit message: "Merge commit '73c7655a421d1b4782a44a8ee07953c50ab87982' into HEAD" 22:05:25 First time build. Skipping changelog. 22:05:25 > git --version # timeout=10 22:05:25 > git --version # 'git version 2.24.4' 22:05:25 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:05:26 ========================================================= 22:05:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 22:05:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 22:05:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 22:05:26 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 22:05:26 540db60ca938: Pulling fs layer 22:05:26 adcc1eea9eea: Pulling fs layer 22:05:26 4c4ab2625f07: Pulling fs layer 22:05:26 db62176df00c: Pulling fs layer 22:05:26 3b30891b0d05: Pulling fs layer 22:05:26 06b49ca38bd5: Pulling fs layer 22:05:26 c788192a36de: Pulling fs layer 22:05:26 a77e37c0d609: Pulling fs layer 22:05:26 c3185cebc471: Pulling fs layer 22:05:26 db62176df00c: Waiting 22:05:26 3b30891b0d05: Waiting 22:05:26 06b49ca38bd5: Waiting 22:05:26 c788192a36de: Waiting 22:05:26 a77e37c0d609: Waiting 22:05:26 c3185cebc471: Waiting 22:05:26 4c4ab2625f07: Verifying Checksum 22:05:26 4c4ab2625f07: Download complete 22:05:27 adcc1eea9eea: Verifying Checksum 22:05:27 adcc1eea9eea: Download complete 22:05:27 3b30891b0d05: Verifying Checksum 22:05:27 3b30891b0d05: Download complete 22:05:27 06b49ca38bd5: Verifying Checksum 22:05:27 06b49ca38bd5: Download complete 22:05:27 c788192a36de: Verifying Checksum 22:05:27 c788192a36de: Download complete 22:05:27 540db60ca938: Verifying Checksum 22:05:27 540db60ca938: Download complete 22:05:27 540db60ca938: Pull complete 22:05:27 adcc1eea9eea: Pull complete 22:05:27 4c4ab2625f07: Pull complete 22:05:27 a77e37c0d609: Verifying Checksum 22:05:27 a77e37c0d609: Download complete 22:05:30 c3185cebc471: Verifying Checksum 22:05:30 c3185cebc471: Download complete 22:05:31 db62176df00c: Verifying Checksum 22:05:31 db62176df00c: Download complete 22:05:35 db62176df00c: Pull complete 22:05:35 3b30891b0d05: Pull complete 22:05:35 06b49ca38bd5: Pull complete 22:05:35 c788192a36de: Pull complete 22:05:35 a77e37c0d609: Pull complete 22:05:37 c3185cebc471: Pull complete 22:05:37 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 22:05:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 22:05:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 22:05:37 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 22:05:38 + docker inspect -f . ci-base-image-x86_64 22:05:38 . [Pipeline] withDockerContainer 22:05:38 prd-centos7-docker-4c-2g-635 does not seem to be running inside a container 22:05:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:05:40 $ docker top 94d114f47afc3e28a54d4a0f3bc6d1621e504f95206d8d9d320b7e6bd6f1c4c0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:05:40 + go version 22:05:40 go version go1.16.6 linux/amd64 [Pipeline] } 22:05:40 $ docker stop --time=1 94d114f47afc3e28a54d4a0f3bc6d1621e504f95206d8d9d320b7e6bd6f1c4c0 22:05:42 $ docker rm -f 94d114f47afc3e28a54d4a0f3bc6d1621e504f95206d8d9d320b7e6bd6f1c4c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:05:42 + docker inspect -f . ci-base-image-x86_64 22:05:42 . [Pipeline] withDockerContainer 22:05:42 prd-centos7-docker-4c-2g-635 does not seem to be running inside a container 22:05:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:05:43 $ docker top 68e9a2a1181cf6a05ddc9e4cf5fe6e176c9223cd09b96237d8fac17ba4eb29cb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:05:43 + make test 22:05:43 make -C ./app-service-template build 22:05:43 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 22:05:43 go mod tidy 22:05:44 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 22:05:44 go: downloading github.com/stretchr/testify v1.7.0 22:05:44 go: downloading github.com/google/uuid v1.3.0 22:05:44 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 22:05:44 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 22:05:44 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 22:05:44 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 22:05:44 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 22:05:44 go: downloading github.com/davecgh/go-spew v1.1.1 22:05:44 go: downloading github.com/pmezard/go-difflib v1.0.0 22:05:44 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 22:05:44 go: downloading github.com/stretchr/objx v0.1.0 22:05:44 go: downloading github.com/go-kit/kit v0.9.0 22:05:44 go: downloading github.com/go-playground/validator/v10 v10.6.1 22:05:44 go: downloading gopkg.in/yaml.v2 v2.4.0 22:05:44 go: downloading github.com/gorilla/mux v1.8.0 22:05:45 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 22:05:45 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 22:05:45 go: downloading github.com/mitchellh/copystructure v1.0.0 22:05:45 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 22:05:45 go: downloading github.com/gorilla/websocket v1.4.2 22:05:45 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 22:05:45 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 22:05:45 go: downloading github.com/go-playground/universal-translator v0.17.0 22:05:45 go: downloading github.com/leodido/go-urn v1.2.0 22:05:45 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 22:05:45 go: downloading golang.org/x/text v0.3.2 22:05:45 go: downloading github.com/go-playground/assert/v2 v2.0.1 22:05:45 go: downloading github.com/go-playground/locales v0.13.0 22:05:46 go: downloading github.com/pelletier/go-toml v1.9.2 22:05:46 go: downloading github.com/go-logfmt/logfmt v0.4.0 22:05:46 go: downloading github.com/go-stack/stack v1.8.0 22:05:46 go: downloading github.com/hashicorp/consul/api v1.8.1 22:05:46 go: downloading github.com/mitchellh/reflectwalk v1.0.0 22:05:46 go: downloading github.com/x448/float16 v0.8.4 22:05:46 go: downloading github.com/kr/pretty v0.2.0 22:05:46 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 22:05:46 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 22:05:46 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:05:46 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:05:46 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 22:05:46 go: downloading github.com/hashicorp/go-hclog v0.12.0 22:05:46 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 22:05:46 go: downloading github.com/hashicorp/serf v0.9.5 22:05:46 go: downloading github.com/mitchellh/mapstructure v1.1.2 22:05:46 go: downloading github.com/hashicorp/consul/sdk v0.7.0 22:05:46 go: downloading github.com/hashicorp/go-uuid v1.0.1 22:05:46 go: downloading github.com/kr/text v0.1.0 22:05:46 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 22:05:46 go: downloading github.com/go-redis/redis/v7 v7.3.0 22:05:46 go: downloading github.com/pebbe/zmq4 v1.2.7 22:05:46 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 22:05:46 go: downloading github.com/fatih/color v1.9.0 22:05:46 go: downloading github.com/mattn/go-colorable v0.1.6 22:05:46 go: downloading github.com/mattn/go-isatty v0.0.12 22:05:46 go: downloading github.com/mitchellh/go-homedir v1.1.0 22:05:46 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:05:46 go: downloading github.com/pkg/errors v0.8.1 22:05:46 go: downloading github.com/hashicorp/go-msgpack v0.5.3 22:05:46 go: downloading github.com/hashicorp/memberlist v0.2.2 22:05:47 go: downloading github.com/onsi/ginkgo v1.10.1 22:05:47 go: downloading github.com/onsi/gomega v1.7.0 22:05:47 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 22:05:47 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 22:05:47 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:05:47 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:05:47 go: downloading github.com/hashicorp/go-multierror v1.1.0 22:05:47 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 22:05:47 go: downloading github.com/miekg/dns v1.1.26 22:05:47 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:05:47 go: downloading github.com/hashicorp/golang-lru v0.5.0 22:05:47 go: downloading github.com/hashicorp/errwrap v1.0.0 22:05:47 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 22:05:47 go: downloading github.com/hpcloud/tail v1.0.0 22:05:47 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 22:05:47 go: downloading github.com/golang/protobuf v1.3.2 22:05:47 go: downloading gopkg.in/fsnotify.v1 v1.4.7 22:05:47 go: downloading github.com/fsnotify/fsnotify v1.4.7 22:05:47 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 22:05:52 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 22:05:52 make -C ./app-service-template test 22:05:52 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 22:05:52 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 22:05:57 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 22:05:57 make -C ./app-service-template test 22:05:57 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 22:05:57 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 22:06:06 ok new-app-service 0.007s coverage: 47.8% of statements 22:06:06 ? new-app-service/config [no test files] 22:06:06 ok new-app-service/functions 0.007s 22:06:06 CGO_ENABLED=1 go vet ./... 22:06:13 gofmt -l . 22:06:13 [ "`gofmt -l .`" = "" ] 22:06:13 ./bin/test-attribution-txt.sh 22:06:13 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 22:06:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:06:13 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 22:06:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.011s coverage: 63.6% of statements 22:06:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.009s coverage: 96.5% of statements 22:06:14 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 22:06:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.035s coverage: 61.8% of statements 22:06:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 22:06:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.005s 22:06:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.048s coverage: 74.5% of statements 22:06:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 22:06:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 22:06:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 22:06:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 22:06:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 22:06:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 22:06:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.009s coverage: 97.1% of statements 22:06:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 22:06:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.016s coverage: 10.5% of statements 22:06:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.739s coverage: 76.1% of statements 22:06:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 22:06:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.007s coverage: 12.5% of statements 22:06:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.010s coverage: 27.3% of statements 22:06:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 22:06:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 22:06:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.009s coverage: 51.4% of statements 22:06:24 ok new-app-service 0.041s coverage: 47.8% of statements 22:06:24 ? new-app-service/config [no test files] 22:06:24 ok new-app-service/functions 0.049s 22:06:24 CGO_ENABLED=1 go vet ./... 22:06:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.043s coverage: 78.1% of statements 22:06:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.007s coverage: 94.4% of statements 22:06:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:06:46 gofmt -l . 22:06:46 [ "`gofmt -l .`" = "" ] [Pipeline] } 22:06:46 $ docker stop --time=1 68e9a2a1181cf6a05ddc9e4cf5fe6e176c9223cd09b96237d8fac17ba4eb29cb 22:06:46 gofmt -l . 22:06:46 [ "`gofmt -l .`" = "" ] 22:06:46 ./bin/test-attribution-txt.sh 22:06:48 $ docker rm -f 68e9a2a1181cf6a05ddc9e4cf5fe6e176c9223cd09b96237d8fac17ba4eb29cb 22:06:48 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 22:06:48 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [Pipeline] // withDockerContainer [Pipeline] sh 22:06:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:06:49 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 22:06:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [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 22:06:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:06:50 22:06:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:06:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:06:50 latest: Pulling from edgex-lftools-log-publisher 22:06:50 b4d181a07f80: Pulling fs layer 22:06:50 a1111a8f2ec3: Pulling fs layer 22:06:50 ed53099fbce6: Pulling fs layer 22:06:50 dc539afda2c1: Pulling fs layer 22:06:50 77bc0d833cb6: Pulling fs layer 22:06:50 9065ff56babe: Pulling fs layer 22:06:50 d287ab97295c: Pulling fs layer 22:06:50 dc539afda2c1: Waiting 22:06:50 77bc0d833cb6: Waiting 22:06:50 9065ff56babe: Waiting 22:06:50 d287ab97295c: Waiting 22:06:51 a1111a8f2ec3: Verifying Checksum 22:06:51 a1111a8f2ec3: Download complete 22:06:51 dc539afda2c1: Verifying Checksum 22:06:51 dc539afda2c1: Download complete 22:06:51 77bc0d833cb6: Verifying Checksum 22:06:51 77bc0d833cb6: Download complete 22:06:51 9065ff56babe: Verifying Checksum 22:06:51 9065ff56babe: Download complete 22:06:51 ed53099fbce6: Verifying Checksum 22:06:51 ed53099fbce6: Download complete 22:06:52 b4d181a07f80: Verifying Checksum 22:06:52 b4d181a07f80: Download complete 22:06:53 b4d181a07f80: Pull complete 22:06:53 a1111a8f2ec3: Pull complete 22:06:53 ed53099fbce6: Pull complete 22:06:53 dc539afda2c1: Pull complete 22:06:54 77bc0d833cb6: Pull complete 22:06:54 9065ff56babe: Pull complete 22:06:55 d287ab97295c: Verifying Checksum 22:06:55 d287ab97295c: Download complete 22:06:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.133s coverage: 63.6% of statements 22:06:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.060s coverage: 96.5% of statements 22:06:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 22:06:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.100s coverage: 61.8% of statements 22:06:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 22:06:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.039s 22:06:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.131s coverage: 74.5% of statements 22:06:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 22:06:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 22:06:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 22:06:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 22:06:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 22:06:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 22:06:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.046s coverage: 97.1% of statements 22:06:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 22:06:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.091s coverage: 10.5% of statements 22:07:00 d287ab97295c: Pull complete 22:07:00 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 22:07:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:07:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:07:00 prd-centos7-docker-4c-2g-635 does not seem to be running inside a container 22:07:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:07:03 $ docker top 5ea064b0d55ea58758e1a98dd699e284ad740e40ba7b06d9285b66a0500227e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:07:03 ---> job-cost.sh 22:07:03 lf-activate-venv: SKIPPING 22:07:03 INFO: No Stack... 22:07:04 INFO: Retrieving Pricing Info for: v3-standard-2 22:07:05 INFO: Archiving Costs [Pipeline] sh 22:07:05 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv 22:07:05 + cut -d, -f6 [Pipeline] lock 22:07:05 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-937-1-stack-cost] 22:07:05 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-937-1-stack-cost] did not exist. Created. 22:07:05 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-937-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:07:05 + echo total: 0.05999999865889549 [Pipeline] stash 22:07:05 Stashed 1 file(s) [Pipeline] } 22:07:05 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-937-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:07:06 $ docker stop --time=1 5ea064b0d55ea58758e1a98dd699e284ad740e40ba7b06d9285b66a0500227e8 22:07:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.855s coverage: 76.1% of statements 22:07:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 22:07:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.059s coverage: 12.5% of statements 22:07:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.078s coverage: 27.3% of statements 22:07:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 22:07:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 22:07:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.058s coverage: 51.4% of statements 22:07:07 $ docker rm -f 5ea064b0d55ea58758e1a98dd699e284ad740e40ba7b06d9285b66a0500227e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:07:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.130s coverage: 78.1% of statements 22:07:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.032s coverage: 94.4% of statements 22:07:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:07:36 gofmt -l . 22:07:36 [ "`gofmt -l .`" = "" ] [Pipeline] } 22:07:37 $ docker stop --time=1 a8a3e30224c01d094e22ca85a452060bef608b3e3025ff144d508e5d2c7ee611 22:07:39 $ docker rm -f a8a3e30224c01d094e22ca85a452060bef608b3e3025ff144d508e5d2c7ee611 [Pipeline] // withDockerContainer [Pipeline] sh 22:07:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:07:41 Warning: overwriting stash ‘coverage-report’ 22:07:42 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 22:07:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:07:43 22:07:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:07:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:07:44 arm64: Pulling from edgex-lftools-log-publisher 22:07:44 448f6bf000e3: Pulling fs layer 22:07:44 f757da607395: Pulling fs layer 22:07:44 05883995daec: Pulling fs layer 22:07:44 8603b9c90790: Pulling fs layer 22:07:44 1560dd03e051: Pulling fs layer 22:07:44 27f5ce0e4adf: Pulling fs layer 22:07:44 c2d8d7efcc4b: Pulling fs layer 22:07:44 1560dd03e051: Waiting 22:07:44 27f5ce0e4adf: Waiting 22:07:44 c2d8d7efcc4b: Waiting 22:07:44 f757da607395: Verifying Checksum 22:07:44 f757da607395: Download complete 22:07:44 8603b9c90790: Verifying Checksum 22:07:44 8603b9c90790: Download complete 22:07:44 1560dd03e051: Verifying Checksum 22:07:44 1560dd03e051: Download complete 22:07:44 27f5ce0e4adf: Verifying Checksum 22:07:44 27f5ce0e4adf: Download complete 22:07:44 05883995daec: Verifying Checksum 22:07:44 05883995daec: Download complete 22:07:45 448f6bf000e3: Verifying Checksum 22:07:45 448f6bf000e3: Download complete 22:07:48 c2d8d7efcc4b: Verifying Checksum 22:07:48 c2d8d7efcc4b: Download complete 22:07:49 448f6bf000e3: Pull complete 22:07:49 f757da607395: Pull complete 22:07:51 05883995daec: Pull complete 22:07:51 8603b9c90790: Pull complete 22:07:52 1560dd03e051: Pull complete 22:07:53 27f5ce0e4adf: Pull complete 22:08:08 c2d8d7efcc4b: Pull complete 22:08:08 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 22:08:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:08:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:08:08 prd-ubuntu18.04-docker-arm64-4c-16g-633 does not seem to be running inside a container 22:08:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:08:11 $ docker top df2d6f7f2ba4c7b0423db85d90dfe178a8ee33c722525f7387089536c709a089 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:08:12 ---> job-cost.sh 22:08:12 lf-activate-venv: SKIPPING 22:08:12 INFO: No Stack... 22:08:12 INFO: Retrieving Pricing Info for: v3-standard-4 22:08:13 INFO: Archiving Costs [Pipeline] sh 22:08:14 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv 22:08:14 + cut -d, -f6 [Pipeline] lock 22:08:14 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-937-1-stack-cost] 22:08:14 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-937-1-stack-cost] did not exist. Created. 22:08:14 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-937-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:08:15 /w/workspace/app-functions-sdk-go/1@tmp/durable-2efef5ba/script.sh: 1: /w/workspace/app-functions-sdk-go/1@tmp/durable-2efef5ba/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 22:08:15 + echo total: 0.10999999940395355 [Pipeline] stash 22:08:15 Warning: overwriting stash ‘stack-cost’ 22:08:15 Stashed 1 file(s) [Pipeline] } 22:08:15 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-937-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:08:16 $ docker stop --time=1 df2d6f7f2ba4c7b0423db85d90dfe178a8ee33c722525f7387089536c709a089 22:08:17 $ docker rm -f df2d6f7f2ba4c7b0423db85d90dfe178a8ee33c722525f7387089536c709a089 [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 22:08:19 provisioning config files... 22:08:19 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-937@tmp/config867128658229987408tmp [Pipeline] { [Pipeline] sh 22:08:19 + set +x 22:08:19 + curl -s https://codecov.io/bash 22:08:19 + bash -s -- 22:08:19 22:08:19 _____ _ 22:08:19 / ____| | | 22:08:19 | | ___ __| | ___ ___ _____ __ 22:08:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:08:19 | |___| (_) | (_| | __/ (_| (_) \ V / 22:08:19 \_____\___/ \__,_|\___|\___\___/ \_/ 22:08:19 Bash-1.0.6 22:08:19 22:08:19 22:08:19 ==> git version 2.24.4 found 22:08:19 ==> 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 22:08:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 22:08:19 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 22:08:19 ==> Jenkins CI detected. 22:08:19 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-937 22:08:19 project root: . 22:08:19 --> token set from env 22:08:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:08:20 ==> Running gcov in . (disable via -X gcov) 22:08:20 ==> Python coveragepy not found 22:08:20 ==> Searching for coverage reports in: 22:08:20 + . 22:08:20 -> Found 2 reports 22:08:20 ==> Detecting git/mercurial file structure 22:08:20 ==> Reading reports 22:08:20 + ./app-service-template/coverage.out bytes=1055 22:08:20 + ./coverage.out bytes=95183 22:08:20 ==> Appending adjustments 22:08:20 https://docs.codecov.io/docs/fixing-reports 22:08:20 + Found adjustments 22:08:20 ==> Gzipping contents 22:08:20 20K /tmp/codecov.5Zkpcq.gz 22:08:20 ==> Uploading reports 22:08:20 url: https://codecov.io 22:08:20 query: branch=PR-937&commit=18ff6cf325a2e60ac3dd04a090185cd7d429813d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-937%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=937&job=&cmd_args= 22:08:20 -> Pinging Codecov 22:08:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-937&commit=18ff6cf325a2e60ac3dd04a090185cd7d429813d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-937%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=937&job=&cmd_args= 22:08:20 -> Uploading to 22:08:20 https://storage.googleapis.com/codecov/v4/raw/2021-08-23/3D8B5DFFC46A037C893635FACE044666/18ff6cf325a2e60ac3dd04a090185cd7d429813d/e688199d-6f03-4af4-ba8c-2ac71f706d5d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210823%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210823T220820Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e6d4416ae5b6e0aabc4da7c5b8f58a3894ba6978219be32160c3256bba013df1 22:08:20 % Total % Received % Xferd Average Speed Time Time Time Current 22:08:20 Dload Upload Total Spent Left Speed 22:08:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16485 0 0 100 16485 0 26901 --:--:-- --:--:-- --:--:-- 26936 22:08:21 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/18ff6cf325a2e60ac3dd04a090185cd7d429813d [Pipeline] } 22:08:21 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 22:08:24 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-937/archives ']' [Pipeline] libraryResource [Pipeline] sh 22:08:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:08:25 ---> package-listing.sh 22:08:25 ++ facter osfamily 22:08:25 ++ tr '[:upper:]' '[:lower:]' 22:08:25 + OS_FAMILY=redhat 22:08:25 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-937 22:08:25 + START_PACKAGES=/tmp/packages_start.txt 22:08:25 + END_PACKAGES=/tmp/packages_end.txt 22:08:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:08:25 + PACKAGES=/tmp/packages_start.txt 22:08:25 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-937 ']' 22:08:25 + PACKAGES=/tmp/packages_end.txt 22:08:25 + case "${OS_FAMILY}" in 22:08:25 + rpm -qa 22:08:25 + sort 22:08:26 + '[' -f /tmp/packages_start.txt ']' 22:08:26 + '[' -f /tmp/packages_end.txt ']' 22:08:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:08:26 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-937 ']' 22:08:26 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-937/archives/ 22:08:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-937/archives/ [Pipeline] echo 22:08:26 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-937/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:08:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:08:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:08:27 22:08:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:08:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:08:27 latest: Pulling from edgex-lftools-log-publisher 22:08:27 b4d181a07f80: Pulling fs layer 22:08:27 a1111a8f2ec3: Pulling fs layer 22:08:27 ed53099fbce6: Pulling fs layer 22:08:27 dc539afda2c1: Pulling fs layer 22:08:27 77bc0d833cb6: Pulling fs layer 22:08:27 9065ff56babe: Pulling fs layer 22:08:27 d287ab97295c: Pulling fs layer 22:08:27 dc539afda2c1: Waiting 22:08:27 77bc0d833cb6: Waiting 22:08:27 9065ff56babe: Waiting 22:08:27 d287ab97295c: Waiting 22:08:27 a1111a8f2ec3: Verifying Checksum 22:08:27 a1111a8f2ec3: Download complete 22:08:27 dc539afda2c1: Download complete 22:08:28 77bc0d833cb6: Verifying Checksum 22:08:28 77bc0d833cb6: Download complete 22:08:28 9065ff56babe: Verifying Checksum 22:08:28 9065ff56babe: Download complete 22:08:28 ed53099fbce6: Verifying Checksum 22:08:28 ed53099fbce6: Download complete 22:08:29 b4d181a07f80: Verifying Checksum 22:08:29 b4d181a07f80: Download complete 22:08:30 b4d181a07f80: Pull complete 22:08:30 a1111a8f2ec3: Pull complete 22:08:31 ed53099fbce6: Pull complete 22:08:31 dc539afda2c1: Pull complete 22:08:31 77bc0d833cb6: Pull complete 22:08:31 9065ff56babe: Pull complete 22:08:33 d287ab97295c: Verifying Checksum 22:08:33 d287ab97295c: Download complete 22:08:37 d287ab97295c: Pull complete 22:08:37 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 22:08:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:08:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:08:37 prd-centos7-docker-4c-2g-631 does not seem to be running inside a container 22:08:37 $ 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-937/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-937 -v /w/workspace/ndry_app-functions-sdk-go_PR-937:/w/workspace/ndry_app-functions-sdk-go_PR-937:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-937@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-937@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:08:39 $ docker top 36ded80dfc9d3bbabc72e55900b37898eb1208abed18b4d1555b99216e761a93 -eo pid,comm [Pipeline] { [Pipeline] sh 22:08:39 + touch /tmp/pre-build-complete [Pipeline] sh 22:08:40 + mkdir -p /var/log/sysstat [Pipeline] sh 22:08:40 + ls /var/log/sa-host 22:08:40 + sadf -c /var/log/sa-host/sa05 22:08:40 file_magic: OK 22:08:40 HZ: Using current value: 100 22:08:40 file_header: OK 22:08:40 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 22:08:40 Statistics: 22:08:40 Hnuu...uuuununununu...Hnuu...uuuununununu... 22:08:40 File successfully converted to sysstat format version 12.0.3 22:08:40 + sadf -c /var/log/sa-host/sa23 22:08:40 file_magic: OK 22:08:40 HZ: Using current value: 100 22:08:40 file_header: OK 22:08:40 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 22:08:40 Statistics: 22:08:40 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:08:40 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:08:41 provisioning config files... 22:08:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-937@tmp/config4224919196838878225tmp [Pipeline] { [Pipeline] echo 22:08:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:08:41 ---> create-netrc.sh [Pipeline] } 22:08:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:08:42 ---> python-tools-install.sh [Pipeline] echo 22:08:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:08:42 ---> sudo-logs.sh 22:08:42 Archiving 'sudo' log.. 22:08:42 sudo: unable to resolve host prd-centos7-docker-4c-2g-631.vexxhost.local: Name or service not known 22:08:42 sudo: unable to resolve host prd-centos7-docker-4c-2g-631.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 22:08:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:08:43 ---> job-cost.sh 22:08:43 lf-activate-venv: SKIPPING 22:08:43 DEBUG: total: 0.10999999940395355 22:08:43 INFO: Retrieving Stack Cost... 22:08:43 INFO: Retrieving Pricing Info for: v3-standard-2 22:08:44 INFO: Archiving Costs [Pipeline] echo 22:08:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:08:44 ---> logs-deploy.sh 22:08:44 lf-activate-venv: SKIPPING 22:08:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-937/1 22:08:44 INFO: archiving workspace using pattern(s): 22:08:45 Archives upload complete. 22:08:45 INFO: archiving logs to Nexus 22:08:46 ---> uname -a: 22:08:46 Linux prd-centos7-docker-4c-2g-631.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 22:08:46 22:08:46 22:08:46 ---> lscpu: 22:08:46 Architecture: x86_64 22:08:46 CPU op-mode(s): 32-bit, 64-bit 22:08:46 Byte Order: Little Endian 22:08:46 Address sizes: 40 bits physical, 48 bits virtual 22:08:46 CPU(s): 2 22:08:46 On-line CPU(s) list: 0,1 22:08:46 Thread(s) per core: 1 22:08:46 Core(s) per socket: 1 22:08:46 Socket(s): 2 22:08:46 NUMA node(s): 1 22:08:46 Vendor ID: AuthenticAMD 22:08:46 CPU family: 23 22:08:46 Model: 49 22:08:46 Model name: AMD EPYC-Rome Processor 22:08:46 Stepping: 0 22:08:46 CPU MHz: 2800.000 22:08:46 BogoMIPS: 5600.00 22:08:46 Virtualization: AMD-V 22:08:46 Hypervisor vendor: KVM 22:08:46 Virtualization type: full 22:08:46 L1d cache: 32K 22:08:46 L1i cache: 32K 22:08:46 L2 cache: 512K 22:08:46 L3 cache: 16384K 22:08:46 NUMA node0 CPU(s): 0,1 22:08:46 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 22:08:46 22:08:46 22:08:46 ---> nproc: 22:08:46 2 22:08:46 22:08:46 22:08:46 ---> df -h: 22:08:46 Filesystem Size Used Avail Use% Mounted on 22:08:46 overlay 40G 7.7G 33G 20% / 22:08:46 tmpfs 64M 0 64M 0% /dev 22:08:46 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 22:08:46 shm 64M 0 64M 0% /dev/shm 22:08:46 /dev/vda1 40G 7.7G 33G 20% /facter-os 22:08:46 22:08:46 22:08:46 ---> sar -b -r -n DEV: 22:08:46 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/23/21 _x86_64_ (2 CPU) 22:08:46 22:08:46 22:00:35 LINUX RESTART (2 CPU) 22:08:46 22:08:46 22:01:01 tps rtps wtps bread/s bwrtn/s 22:08:46 22:02:01 108.92 14.55 94.36 4724.95 6259.40 22:08:46 22:03:01 1.70 0.00 1.70 0.00 33.11 22:08:46 22:04:01 0.38 0.00 0.38 0.00 5.45 22:08:46 22:05:01 0.18 0.00 0.18 0.00 2.17 22:08:46 22:06:01 0.17 0.00 0.17 0.00 2.47 22:08:46 22:07:01 0.25 0.00 0.25 0.00 3.43 22:08:46 22:08:01 0.23 0.00 0.23 0.00 3.23 22:08:46 Average: 16.00 2.08 13.91 675.88 902.49 22:08:46 22:08:46 22:01:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:08:46 22:02:01 5437228 0 800136 9.99 2620 1768948 1286036 14.20 593060 1577964 132 22:08:46 22:03:01 5440376 0 796984 9.95 2620 1768952 1269728 14.02 590768 1577956 20 22:08:46 22:04:01 5447744 0 789612 9.86 2620 1768956 1205992 13.31 579860 1582644 8 22:08:46 22:05:01 5444676 0 792676 9.90 2620 1768960 1206356 13.32 582644 1582644 16 22:08:46 22:06:01 5444924 0 792420 9.89 2620 1768968 1206368 13.32 581092 1584328 8 22:08:46 22:07:01 5443508 0 793836 9.91 2620 1768968 1206164 13.32 582772 1584324 8 22:08:46 22:08:01 5443024 0 794316 9.92 2620 1768972 1206260 13.32 583292 1584324 8 22:08:46 Average: 5443069 0 794283 9.92 2620 1768961 1226701 13.54 584784 1582026 29 22:08:46 22:08:46 22:01:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:08:46 22:02:01 eth0 419.51 327.31 1595.55 83.06 0.00 0.00 0.00 0.00 22:08:46 22:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:08:46 22:02:01 docker0 91.45 86.74 8.77 312.89 0.00 0.00 0.00 0.00 22:08:46 22:03:01 eth0 1.10 0.25 0.32 0.19 0.00 0.00 0.00 0.00 22:08:46 22:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:08:46 22:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:08:46 22:04:01 eth0 0.87 0.08 0.08 0.01 0.00 0.00 0.00 0.00 22:08:46 22:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:08:46 22:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:08:46 22:05:01 eth0 1.42 0.62 0.59 0.39 0.00 0.00 0.00 0.00 22:08:46 22:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:08:46 22:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:08:46 22:06:01 eth0 1.10 0.32 0.31 0.20 0.00 0.00 0.00 0.00 22:08:46 22:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:08:46 22:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:08:46 22:07:01 eth0 0.52 0.23 0.17 0.07 0.00 0.00 0.00 0.00 22:08:46 22:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:08:46 22:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:08:46 22:08:01 eth0 0.62 0.42 0.29 0.21 0.00 0.00 0.00 0.00 22:08:46 22:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:08:46 22:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:08:46 Average: eth0 60.81 47.09 228.49 12.04 0.00 0.00 0.00 0.00 22:08:46 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:08:46 Average: docker0 13.08 12.41 1.25 44.76 0.00 0.00 0.00 0.00 22:08:46 22:08:46 22:08:46 ---> sar -P ALL: 22:08:46 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/23/21 _x86_64_ (2 CPU) 22:08:46 22:08:46 22:00:35 LINUX RESTART (2 CPU) 22:08:46 22:08:46 22:01:01 CPU %user %nice %system %iowait %steal %idle 22:08:46 22:02:01 all 14.65 0.00 3.23 2.36 0.05 79.71 22:08:46 22:02:01 0 15.19 0.00 3.25 1.61 0.05 79.90 22:08:46 22:02:01 1 14.11 0.00 3.21 3.11 0.05 79.53 22:08:46 22:03:01 all 0.18 0.00 0.07 0.00 0.02 99.74 22:08:46 22:03:01 0 0.17 0.00 0.08 0.00 0.02 99.73 22:08:46 22:03:01 1 0.18 0.00 0.05 0.00 0.02 99.75 22:08:46 22:04:01 all 0.15 0.00 0.05 0.00 0.01 99.79 22:08:46 22:04:01 0 0.07 0.00 0.05 0.00 0.02 99.87 22:08:46 22:04:01 1 0.23 0.00 0.05 0.00 0.00 99.72 22:08:46 22:05:01 all 0.18 0.00 0.05 0.00 0.02 99.75 22:08:46 22:05:01 0 0.07 0.00 0.07 0.00 0.02 99.85 22:08:46 22:05:01 1 0.30 0.00 0.03 0.00 0.02 99.65 22:08:46 22:06:01 all 0.21 0.00 0.04 0.00 0.02 99.73 22:08:46 22:06:01 0 0.08 0.00 0.05 0.00 0.03 99.83 22:08:46 22:06:01 1 0.33 0.00 0.03 0.00 0.00 99.63 22:08:46 22:07:01 all 0.18 0.00 0.04 0.00 0.02 99.76 22:08:46 22:07:01 0 0.05 0.00 0.05 0.00 0.02 99.88 22:08:46 22:07:01 1 0.32 0.00 0.03 0.00 0.02 99.63 22:08:46 22:08:01 all 0.24 0.00 0.03 0.00 0.02 99.71 22:08:46 22:08:01 0 0.08 0.00 0.05 0.00 0.03 99.83 22:08:46 22:08:01 1 0.40 0.00 0.02 0.00 0.00 99.58 22:08:46 Average: all 2.21 0.00 0.49 0.33 0.02 96.95 22:08:46 Average: 0 2.19 0.00 0.50 0.23 0.03 97.05 22:08:46 Average: 1 2.22 0.00 0.48 0.43 0.01 96.85 22:08:46 22:08:46 22:08:46