Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f9862466792e7d0dcceb1905b0181161eb5fc782+042dfbc200e9a033131772982770329148424ff7 (8708127e963138c47e4552a2c1cda47d4cad71d8) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7362189209337313261.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-ssh8061706916517766616.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-875/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-875/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4371993950603440119.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9048352645830267436.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-875/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-875/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7822880588731725368.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-615 in /w/workspace/ndry_app-functions-sdk-go_PR-875 [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-875 # 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-875@tmp/jenkins-gitclient-ssh3466063352411624119.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-875@tmp/jenkins-gitclient-ssh343586605692652912.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/875/head:refs/remotes/origin/PR-875 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 042dfbc200e9a033131772982770329148424ff7 into PR head commit f9862466792e7d0dcceb1905b0181161eb5fc782 Merge succeeded, producing faeae95d4382763a2132a2ac0b943a87cd8dd30a Checking out Revision faeae95d4382763a2132a2ac0b943a87cd8dd30a (PR-875) > git config core.sparsecheckout # timeout=10 > git checkout -f f9862466792e7d0dcceb1905b0181161eb5fc782 # 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-875@tmp/jenkins-gitclient-ssh1455766161387129150.key > git merge 042dfbc200e9a033131772982770329148424ff7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f faeae95d4382763a2132a2ac0b943a87cd8dd30a # timeout=10 Commit message: "Merge commit '042dfbc200e9a033131772982770329148424ff7' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:45:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:45:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:45:59 ========================================================= 23:45:59 EdgeX Global Pipelines Version Info 23:45:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 409d4a4bd7409d58061a9464ede2a09d7b993ea3 # timeout=10 23:46:01 ------------------- 23:46:01 stable info: 23:46:01 ------------------- 23:46:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:46:01 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:46:01 Message: update stable to v1.0.205 23:46:01 ------------------- 23:46:01 experimental info: 23:46:01 ------------------- 23:46:01 Commited By: **** collab-it+edgex@linuxfoundation.org 23:46:01 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:46:01 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:46:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-875 [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-875 [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-875 [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = faeae95d4382763a2132a2ac0b943a87cd8dd30a [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = faeae95 [Pipeline] echo 23:46:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:46:03 + git log --format=format:%s -1 faeae95d4382763a2132a2ac0b943a87cd8dd30a [Pipeline] echo 23:46:03 GIT_COMMIT: faeae95d4382763a2132a2ac0b943a87cd8dd30a, Commit Message: Merge commit '042dfbc200e9a033131772982770329148424ff7' into HEAD [Pipeline] echo 23:46:03 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:46:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:46:04 23:46:04 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:46:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:46:05 latest: Pulling from edgex-devops/git-semver 23:46:05 31603596830f: Pulling fs layer 23:46:05 d4622e32a9a9: Pulling fs layer 23:46:05 1030fce36090: Pulling fs layer 23:46:05 6c6cb7e1b49b: Pulling fs layer 23:46:05 6c6cb7e1b49b: Waiting 23:46:05 d4622e32a9a9: Verifying Checksum 23:46:05 d4622e32a9a9: Download complete 23:46:05 31603596830f: Verifying Checksum 23:46:05 31603596830f: Download complete 23:46:05 6c6cb7e1b49b: Verifying Checksum 23:46:05 6c6cb7e1b49b: Download complete 23:46:05 31603596830f: Pull complete 23:46:05 d4622e32a9a9: Pull complete 23:46:05 1030fce36090: Verifying Checksum 23:46:05 1030fce36090: Download complete 23:46:06 1030fce36090: Pull complete 23:46:06 6c6cb7e1b49b: Pull complete 23:46:06 Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab 23:46:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:46:06 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:46:06 prd-centos7-docker-4c-2g-615 does not seem to be running inside a container 23:46:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-875 -v /w/workspace/ndry_app-functions-sdk-go_PR-875:/w/workspace/ndry_app-functions-sdk-go_PR-875:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-875@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-875@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:46:07 $ docker top a40f0f324ccce84e38e3e5e24332e8499491ca77cf9d975145c305393af4d5ae -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:46:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:46:07 [ssh-agent] Looking for ssh-agent implementation... 23:46:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:46:07 $ docker exec a40f0f324ccce84e38e3e5e24332e8499491ca77cf9d975145c305393af4d5ae ssh-agent 23:46:07 SSH_AUTH_SOCK=/tmp/ssh-6V5QmppsLTxd/agent.14 23:46:07 SSH_AGENT_PID=21 23:46:07 Running ssh-add (command line suppressed) 23:46:07 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/private_key_4366556273038927416.key (/w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/private_key_4366556273038927416.key) 23:46:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:46:08 + git tag --points-at HEAD [Pipeline] } 23:46:08 $ docker exec --env ******** --env ******** a40f0f324ccce84e38e3e5e24332e8499491ca77cf9d975145c305393af4d5ae ssh-agent -k 23:46:08 unset SSH_AUTH_SOCK; 23:46:08 unset SSH_AGENT_PID; 23:46:08 echo Agent pid 21 killed; 23:46:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:46:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:46:08 [ssh-agent] Looking for ssh-agent implementation... 23:46:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:46:08 $ docker exec a40f0f324ccce84e38e3e5e24332e8499491ca77cf9d975145c305393af4d5ae ssh-agent 23:46:08 SSH_AUTH_SOCK=/tmp/ssh-msQfVBf4JDyE/agent.54 23:46:08 SSH_AGENT_PID=61 23:46:08 Running ssh-add (command line suppressed) 23:46:08 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/private_key_3748893691461923676.key (/w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/private_key_3748893691461923676.key) 23:46:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:46:09 + git semver init 23:46:09 # -> Open(): unable to determine branch for HEAD 23:46:09 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-875/.git 23:46:09 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-875 23:46:09 # $SEMVER_REMOTE_NAME = origin 23:46:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:46:09 # $SEMVER_USER_NAME = edgex-jenkins 23:46:09 # $SEMVER_BRANCH = PR-875 23:46:09 # $SEMVER_TEMP = /tmp/semver-900350649 23:46:09 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 23:46:11 # '/tmp/semver-900350649' -> '/w/workspace/ndry_app-functions-sdk-go_PR-875/.semver' 23:46:11 # -> Force: false 23:46:11 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-875/.semver [Pipeline] } 23:46:11 $ docker exec --env ******** --env ******** a40f0f324ccce84e38e3e5e24332e8499491ca77cf9d975145c305393af4d5ae ssh-agent -k 23:46:11 unset SSH_AUTH_SOCK; 23:46:11 unset SSH_AGENT_PID; 23:46:11 echo Agent pid 61 killed; 23:46:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:46:11 + git semver [Pipeline] } 23:46:11 $ docker stop --time=1 a40f0f324ccce84e38e3e5e24332e8499491ca77cf9d975145c305393af4d5ae 23:46:13 $ docker rm -f a40f0f324ccce84e38e3e5e24332e8499491ca77cf9d975145c305393af4d5ae [Pipeline] // withDockerContainer [Pipeline] sh 23:46:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:46:13 Stashed 1 file(s) [Pipeline] echo 23:46:13 [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 23:46:29 Still waiting to schedule task 23:46:29 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-615’ 23:46:29 Still waiting to schedule task 23:46:29 ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ is offline 23:48:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-616 in /w/workspace/ndry_app-functions-sdk-go_PR-875 [Pipeline] { [Pipeline] ws 23:48:28 Running in /w/workspace/app-functions-sdk-go/31 [Pipeline] { [Pipeline] checkout 23:48:28 The recommended git tool is: git 23:48:34 using credential edgex-jenkins-ssh 23:48:34 Cloning the remote Git repository 23:48:34 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:48:34 > git init /w/workspace/app-functions-sdk-go/31 # timeout=10 23:48:34 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:48:34 > git --version # timeout=10 23:48:34 > git --version # 'git version 2.17.1' 23:48:34 using GIT_SSH to set credentials SSH Credentials for GitHub 23:48:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:48:37 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:48:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:48:38 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:48:38 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:48:38 using GIT_SSH to set credentials SSH Credentials for GitHub 23:48:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/875/head:refs/remotes/origin/PR-875 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:48:38 Merging remotes/origin/main commit 042dfbc200e9a033131772982770329148424ff7 into PR head commit f9862466792e7d0dcceb1905b0181161eb5fc782 23:48:38 Merge succeeded, producing 05d4b2c5cf5d3c2ca51c431db2c1a0e33020403d 23:48:38 Checking out Revision 05d4b2c5cf5d3c2ca51c431db2c1a0e33020403d (PR-875) 23:48:38 > git config core.sparsecheckout # timeout=10 23:48:38 > git checkout -f f9862466792e7d0dcceb1905b0181161eb5fc782 # timeout=10 23:48:38 > git remote # timeout=10 23:48:38 > git config --get remote.origin.url # timeout=10 23:48:38 using GIT_SSH to set credentials SSH Credentials for GitHub 23:48:38 > git merge 042dfbc200e9a033131772982770329148424ff7 # timeout=10 23:48:38 > git rev-parse HEAD^{commit} # timeout=10 23:48:38 > git config core.sparsecheckout # timeout=10 23:48:38 > git checkout -f 05d4b2c5cf5d3c2ca51c431db2c1a0e33020403d # timeout=10 23:48:43 Commit message: "Merge commit '042dfbc200e9a033131772982770329148424ff7' into HEAD" 23:48:43 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:48:44 ========================================================= 23:48:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:48:44 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:48:44 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 23:48:43 > git rev-list --no-walk 409d4a4bd7409d58061a9464ede2a09d7b993ea3 # timeout=10 23:48:45 Sending build context to Docker daemon 19.83MB 23:48:45 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 23:48:45 Step 2/8 : FROM ${BASE} 23:48:46 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:48:46 595b0fe564bb: Pulling fs layer 23:48:46 24495759ef45: Pulling fs layer 23:48:46 d148012ef14d: Pulling fs layer 23:48:46 e90a11edd702: Pulling fs layer 23:48:46 d77568369979: Pulling fs layer 23:48:46 fc1c9f9a7f3b: Pulling fs layer 23:48:46 170f2ba95c9a: Pulling fs layer 23:48:46 97ac5df62f85: Pulling fs layer 23:48:46 d77568369979: Waiting 23:48:46 fc1c9f9a7f3b: Waiting 23:48:46 170f2ba95c9a: Waiting 23:48:46 97ac5df62f85: Waiting 23:48:46 e90a11edd702: Waiting 23:48:46 d148012ef14d: Verifying Checksum 23:48:46 d148012ef14d: Download complete 23:48:46 24495759ef45: Verifying Checksum 23:48:46 24495759ef45: Download complete 23:48:46 d77568369979: Download complete 23:48:46 fc1c9f9a7f3b: Verifying Checksum 23:48:46 fc1c9f9a7f3b: Download complete 23:48:46 595b0fe564bb: Verifying Checksum 23:48:46 595b0fe564bb: Download complete 23:48:46 170f2ba95c9a: Download complete 23:48:47 595b0fe564bb: Pull complete 23:48:48 24495759ef45: Pull complete 23:48:48 d148012ef14d: Pull complete 23:48:50 97ac5df62f85: Verifying Checksum 23:48:50 97ac5df62f85: Download complete 23:48:51 e90a11edd702: Verifying Checksum 23:48:51 e90a11edd702: Download complete 23:48:51 Running on prd-centos7-docker-4c-2g-617 in /w/workspace/ndry_app-functions-sdk-go_PR-875 [Pipeline] { [Pipeline] ws 23:48:51 Running in /w/workspace/app-functions-sdk-go/31 [Pipeline] { [Pipeline] checkout 23:48:51 The recommended git tool is: git 23:48:54 using credential edgex-jenkins-ssh 23:48:54 Cloning the remote Git repository 23:48:53 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:48:53 > git init /w/workspace/app-functions-sdk-go/31 # timeout=10 23:48:53 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:48:53 > git --version # timeout=10 23:48:53 > git --version # 'git version 2.24.4' 23:48:53 using GIT_SSH to set credentials SSH Credentials for GitHub 23:48:53 [INFO] Currently running in a labeled security context 23:48:53 [INFO] Currently SELinux is 'enforcing' on the host 23:48:53 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/31@tmp/jenkins-gitclient-ssh3918528600297842908.key 23:48:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:48:56 Merging remotes/origin/main commit 042dfbc200e9a033131772982770329148424ff7 into PR head commit f9862466792e7d0dcceb1905b0181161eb5fc782 23:48:56 Merge succeeded, producing 9ec582d5e80ed6e922498106dc55bcb2f1d872bc 23:48:56 Checking out Revision 9ec582d5e80ed6e922498106dc55bcb2f1d872bc (PR-875) 23:48:55 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:48:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:48:55 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:48:55 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:48:55 using GIT_SSH to set credentials SSH Credentials for GitHub 23:48:55 [INFO] Currently running in a labeled security context 23:48:55 [INFO] Currently SELinux is 'enforcing' on the host 23:48:55 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/31@tmp/jenkins-gitclient-ssh3328561444183902882.key 23:48:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/875/head:refs/remotes/origin/PR-875 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:48:56 > git config core.sparsecheckout # timeout=10 23:48:56 > git checkout -f f9862466792e7d0dcceb1905b0181161eb5fc782 # timeout=10 23:48:56 > git remote # timeout=10 23:48:56 > git config --get remote.origin.url # timeout=10 23:48:56 using GIT_SSH to set credentials SSH Credentials for GitHub 23:48:56 [INFO] Currently running in a labeled security context 23:48:56 [INFO] Currently SELinux is 'enforcing' on the host 23:48:56 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/31@tmp/jenkins-gitclient-ssh6887389042765931808.key 23:48:56 > git merge 042dfbc200e9a033131772982770329148424ff7 # timeout=10 23:48:56 > git rev-parse HEAD^{commit} # timeout=10 23:48:56 > git config core.sparsecheckout # timeout=10 23:48:56 > git checkout -f 9ec582d5e80ed6e922498106dc55bcb2f1d872bc # timeout=10 23:49:00 Commit message: "Merge commit '042dfbc200e9a033131772982770329148424ff7' into HEAD" 23:49:00 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 23:49:00 > git rev-list --no-walk 409d4a4bd7409d58061a9464ede2a09d7b993ea3 # timeout=10 [Pipeline] echo 23:49:00 ========================================================= 23:49:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:49:00 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:49:01 e90a11edd702: Pull complete 23:49:01 d77568369979: Pull complete 23:49:01 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 23:49:01 Sending build context to Docker daemon 19.83MB 23:49:01 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 23:49:01 Step 2/8 : FROM ${BASE} 23:49:01 fc1c9f9a7f3b: Pull complete 23:49:01 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:49:01 540db60ca938: Pulling fs layer 23:49:01 adcc1eea9eea: Pulling fs layer 23:49:01 4c4ab2625f07: Pulling fs layer 23:49:01 db62176df00c: Pulling fs layer 23:49:01 3b30891b0d05: Pulling fs layer 23:49:01 06b49ca38bd5: Pulling fs layer 23:49:01 c788192a36de: Pulling fs layer 23:49:01 a77e37c0d609: Pulling fs layer 23:49:01 c3185cebc471: Pulling fs layer 23:49:01 db62176df00c: Waiting 23:49:01 3b30891b0d05: Waiting 23:49:01 06b49ca38bd5: Waiting 23:49:01 c788192a36de: Waiting 23:49:01 a77e37c0d609: Waiting 23:49:01 c3185cebc471: Waiting 23:49:01 4c4ab2625f07: Download complete 23:49:01 adcc1eea9eea: Verifying Checksum 23:49:01 adcc1eea9eea: Download complete 23:49:01 3b30891b0d05: Verifying Checksum 23:49:01 3b30891b0d05: Download complete 23:49:01 06b49ca38bd5: Verifying Checksum 23:49:01 06b49ca38bd5: Download complete 23:49:01 c788192a36de: Verifying Checksum 23:49:01 c788192a36de: Download complete 23:49:01 540db60ca938: Verifying Checksum 23:49:02 540db60ca938: Pull complete 23:49:02 170f2ba95c9a: Pull complete 23:49:02 adcc1eea9eea: Pull complete 23:49:02 4c4ab2625f07: Pull complete 23:49:02 a77e37c0d609: Verifying Checksum 23:49:02 a77e37c0d609: Download complete 23:49:07 c3185cebc471: Verifying Checksum 23:49:07 c3185cebc471: Download complete 23:49:07 db62176df00c: Verifying Checksum 23:49:07 db62176df00c: Download complete 23:49:08 97ac5df62f85: Pull complete 23:49:08 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 23:49:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:49:08 ---> 04bc70af865f 23:49:08 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 23:49:08 20.10.0: Pulling from library/docker 23:49:08 a3cc7d3b244e: Pulling fs layer 23:49:08 02a3295e0d61: Pulling fs layer 23:49:08 0f4f2e6d8100: Pulling fs layer 23:49:08 330b718f631f: Pulling fs layer 23:49:08 a93816041522: Pulling fs layer 23:49:08 bdb6da89ff94: Pulling fs layer 23:49:08 2a70c0c122f4: Pulling fs layer 23:49:08 a93816041522: Waiting 23:49:08 bdb6da89ff94: Waiting 23:49:08 2a70c0c122f4: Waiting 23:49:08 330b718f631f: Waiting 23:49:08 0f4f2e6d8100: Verifying Checksum 23:49:08 0f4f2e6d8100: Download complete 23:49:08 02a3295e0d61: Verifying Checksum 23:49:08 02a3295e0d61: Download complete 23:49:08 a93816041522: Verifying Checksum 23:49:08 a93816041522: Download complete 23:49:08 a3cc7d3b244e: Verifying Checksum 23:49:08 a3cc7d3b244e: Download complete 23:49:08 bdb6da89ff94: Verifying Checksum 23:49:08 bdb6da89ff94: Download complete 23:49:08 2a70c0c122f4: Verifying Checksum 23:49:08 2a70c0c122f4: Download complete 23:49:09 a3cc7d3b244e: Pull complete 23:49:10 02a3295e0d61: Pull complete 23:49:10 330b718f631f: Verifying Checksum 23:49:10 0f4f2e6d8100: Pull complete 23:49:11 db62176df00c: Pull complete 23:49:11 3b30891b0d05: Pull complete 23:49:11 06b49ca38bd5: Pull complete 23:49:11 c788192a36de: Pull complete 23:49:11 a77e37c0d609: Pull complete 23:49:13 c3185cebc471: Pull complete 23:49:13 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 23:49:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:49:13 ---> 031687cdd783 23:49:13 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 23:49:13 20.10.0: Pulling from library/docker 23:49:13 05e7bc50f07f: Pulling fs layer 23:49:13 6db28d0fdbf6: Pulling fs layer 23:49:13 292df0bc6bf3: Pulling fs layer 23:49:13 2e060f4bd70b: Pulling fs layer 23:49:13 80e8d568a223: Pulling fs layer 23:49:13 8dc6ef1a942a: Pulling fs layer 23:49:13 2312dd95470a: Pulling fs layer 23:49:13 80e8d568a223: Waiting 23:49:13 8dc6ef1a942a: Waiting 23:49:13 2312dd95470a: Waiting 23:49:13 2e060f4bd70b: Waiting 23:49:13 292df0bc6bf3: Verifying Checksum 23:49:13 292df0bc6bf3: Download complete 23:49:13 6db28d0fdbf6: Verifying Checksum 23:49:13 6db28d0fdbf6: Download complete 23:49:13 80e8d568a223: Verifying Checksum 23:49:13 80e8d568a223: Download complete 23:49:13 05e7bc50f07f: Verifying Checksum 23:49:13 05e7bc50f07f: Download complete 23:49:13 8dc6ef1a942a: Verifying Checksum 23:49:13 8dc6ef1a942a: Download complete 23:49:13 2312dd95470a: Verifying Checksum 23:49:13 2312dd95470a: Download complete 23:49:13 05e7bc50f07f: Pull complete 23:49:13 6db28d0fdbf6: Pull complete 23:49:14 292df0bc6bf3: Pull complete 23:49:14 330b718f631f: Pull complete 23:49:14 a93816041522: Pull complete 23:49:15 bdb6da89ff94: Pull complete 23:49:15 2a70c0c122f4: Pull complete 23:49:15 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 23:49:15 Status: Downloaded newer image for docker:20.10.0 23:49:16 2e060f4bd70b: Verifying Checksum 23:49:16 2e060f4bd70b: Download complete 23:49:17 2e060f4bd70b: Pull complete 23:49:17 80e8d568a223: Pull complete 23:49:17 8dc6ef1a942a: Pull complete 23:49:17 2312dd95470a: Pull complete 23:49:17 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 23:49:17 Status: Downloaded newer image for docker:20.10.0 23:49:19 ---> ddc2c104cbeb 23:49:19 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:49:19 ---> Running in abee97cd81f6 23:49:20 Removing intermediate container abee97cd81f6 23:49:20 ---> 8ce89f5b5d5f 23:49:20 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:49:20 ---> Running in c92e09133432 23:49:20 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 23:49:21 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 23:49:21 OK: 219 MiB in 52 packages 23:49:21 Removing intermediate container c92e09133432 23:49:21 ---> 9a5bd0acf3ed 23:49:21 Step 6/8 : WORKDIR /build 23:49:21 ---> Running in a6d58e1dccb7 23:49:22 Removing intermediate container a6d58e1dccb7 23:49:22 ---> c836c0639565 23:49:22 Step 7/8 : COPY go.mod . 23:49:22 ---> 7b03b1563851 23:49:22 Step 8/8 : RUN go mod download 23:49:22 ---> Running in a1052a0c89df 23:49:22 ---> 436bb3bb6150 23:49:22 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:49:22 ---> Running in 3173ebf97306 23:49:23 Removing intermediate container 3173ebf97306 23:49:23 ---> b1683fdf5f63 23:49:23 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:49:23 ---> Running in f617ba6e4eff 23:49:25 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 23:49:25 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 23:49:26 OK: 218 MiB in 52 packages 23:49:28 Removing intermediate container f617ba6e4eff 23:49:28 ---> 41e591921e03 23:49:28 Step 6/8 : WORKDIR /build 23:49:28 ---> Running in 77aaa568fa66 23:49:28 Removing intermediate container 77aaa568fa66 23:49:28 ---> 681f5d11618c 23:49:28 Step 7/8 : COPY go.mod . 23:49:29 ---> a4c39b188a0d 23:49:29 Step 8/8 : RUN go mod download 23:49:29 ---> Running in 8049aefc7e85 23:49:37 Removing intermediate container a1052a0c89df 23:49:37 ---> 8b987136cc78 23:49:37 Successfully built 8b987136cc78 23:49:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:49:37 + docker inspect -f . ci-base-image-x86_64 23:49:37 . [Pipeline] withDockerContainer 23:49:37 prd-centos7-docker-4c-2g-617 does not seem to be running inside a container 23:49:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/31 -v /w/workspace/app-functions-sdk-go/31:/w/workspace/app-functions-sdk-go/31:rw,z -v /w/workspace/app-functions-sdk-go/31@tmp:/w/workspace/app-functions-sdk-go/31@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 23:49:38 $ docker top 8e819c7fc2abba658a1e47dd4353bfb2d4db2f61bb9a3c948b7cf180e5553e3a -eo pid,comm [Pipeline] { [Pipeline] sh 23:49:38 + go version 23:49:38 go version go1.16.6 linux/amd64 [Pipeline] } 23:49:38 $ docker stop --time=1 8e819c7fc2abba658a1e47dd4353bfb2d4db2f61bb9a3c948b7cf180e5553e3a 23:49:39 $ docker rm -f 8e819c7fc2abba658a1e47dd4353bfb2d4db2f61bb9a3c948b7cf180e5553e3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:49:40 + docker inspect -f . ci-base-image-x86_64 23:49:40 . [Pipeline] withDockerContainer 23:49:40 prd-centos7-docker-4c-2g-617 does not seem to be running inside a container 23:49:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/31 -v /w/workspace/app-functions-sdk-go/31:/w/workspace/app-functions-sdk-go/31:rw,z -v /w/workspace/app-functions-sdk-go/31@tmp:/w/workspace/app-functions-sdk-go/31@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 23:49:40 $ docker top af08cd5793ad426ae8e5c93fcfbc8df22e9b03546c10c0967c900005dc9f128f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:49:41 + make test 23:49:41 make -C ./app-service-template build 23:49:41 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/31/app-service-template' 23:49:41 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 23:49:41 go: github.com/edgexfoundry/app-functions-sdk-go/v2@v2.0.1 requires 23:49:41 github.com/fxamacker/cbor/v2@v2.3.0: missing go.sum entry; to add it: 23:49:41 go mod download github.com/fxamacker/cbor/v2 23:49:41 make[1]: *** [Makefile:40: build] Error 1 23:49:41 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/31/app-service-template' 23:49:41 make: *** [Makefile:22: build] Error 2 [Pipeline] } 23:49:41 $ docker stop --time=1 af08cd5793ad426ae8e5c93fcfbc8df22e9b03546c10c0967c900005dc9f128f 23:49:42 $ docker rm -f af08cd5793ad426ae8e5c93fcfbc8df22e9b03546c10c0967c900005dc9f128f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:49:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:49:43 23:49:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:49:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:49:43 latest: Pulling from edgex-lftools-log-publisher 23:49:43 b4d181a07f80: Pulling fs layer 23:49:43 a1111a8f2ec3: Pulling fs layer 23:49:43 ed53099fbce6: Pulling fs layer 23:49:43 dc539afda2c1: Pulling fs layer 23:49:43 77bc0d833cb6: Pulling fs layer 23:49:43 9065ff56babe: Pulling fs layer 23:49:43 d287ab97295c: Pulling fs layer 23:49:43 77bc0d833cb6: Waiting 23:49:43 9065ff56babe: Waiting 23:49:43 d287ab97295c: Waiting 23:49:43 dc539afda2c1: Waiting 23:49:43 a1111a8f2ec3: Verifying Checksum 23:49:43 a1111a8f2ec3: Download complete 23:49:43 dc539afda2c1: Verifying Checksum 23:49:43 dc539afda2c1: Download complete 23:49:43 77bc0d833cb6: Verifying Checksum 23:49:43 77bc0d833cb6: Download complete 23:49:43 9065ff56babe: Verifying Checksum 23:49:43 9065ff56babe: Download complete 23:49:43 ed53099fbce6: Verifying Checksum 23:49:43 ed53099fbce6: Download complete 23:49:45 b4d181a07f80: Verifying Checksum 23:49:45 b4d181a07f80: Download complete 23:49:46 b4d181a07f80: Pull complete 23:49:46 a1111a8f2ec3: Pull complete 23:49:47 ed53099fbce6: Pull complete 23:49:47 dc539afda2c1: Pull complete 23:49:47 77bc0d833cb6: Pull complete 23:49:47 9065ff56babe: Pull complete 23:49:48 d287ab97295c: Verifying Checksum 23:49:48 d287ab97295c: Download complete 23:49:53 d287ab97295c: Pull complete 23:49:53 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:49:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:49:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:49:53 prd-centos7-docker-4c-2g-617 does not seem to be running inside a container 23:49:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/31 -v /w/workspace/app-functions-sdk-go/31:/w/workspace/app-functions-sdk-go/31:rw,z -v /w/workspace/app-functions-sdk-go/31@tmp:/w/workspace/app-functions-sdk-go/31@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 23:49:56 $ docker top 716f1eaf380901a574e6de0b86812aba433da1c40f08b85d70c9d07cbabd1195 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:49:56 Removing intermediate container 8049aefc7e85 23:49:56 ---> f85f4611d6d4 23:49:56 Successfully built f85f4611d6d4 23:49:56 Successfully tagged ci-base-image-arm64:latest 23:49:56 ---> job-cost.sh 23:49:56 lf-activate-venv: SKIPPING 23:49:56 INFO: No Stack... [Pipeline] isUnix [Pipeline] sh 23:49:57 + docker inspect -f . ci-base-image-arm64 23:49:57 . [Pipeline] withDockerContainer 23:49:57 prd-ubuntu18.04-docker-arm64-4c-16g-616 does not seem to be running inside a container 23:49:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/31 -v /w/workspace/app-functions-sdk-go/31:/w/workspace/app-functions-sdk-go/31:rw,z -v /w/workspace/app-functions-sdk-go/31@tmp:/w/workspace/app-functions-sdk-go/31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:49:57 INFO: Retrieving Pricing Info for: v3-standard-2 23:49:57 INFO: Archiving Costs 23:49:59 $ docker top 59c688a513f7db7015fb49d7ec2161ff87736ba4a0f34846b3e1af957929c99c -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 23:49:59 + cat /w/workspace/app-functions-sdk-go/31/archives/cost.csv 23:49:59 + cut -d, -f6 [Pipeline] lock 23:49:59 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-31-stack-cost] 23:49:59 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-31-stack-cost] did not exist. Created. 23:49:59 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:50:00 + go version 23:50:00 go version go1.16.6 linux/arm64 23:50:00 + echo total: 0.05999999865889549 [Pipeline] stash [Pipeline] } 23:50:00 $ docker stop --time=1 59c688a513f7db7015fb49d7ec2161ff87736ba4a0f34846b3e1af957929c99c 23:50:00 Stashed 1 file(s) 23:50:02 $ docker rm -f 59c688a513f7db7015fb49d7ec2161ff87736ba4a0f34846b3e1af957929c99c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 23:50:02 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-31-stack-cost] [Pipeline] // script [Pipeline] // lock [Pipeline] } [Pipeline] } 23:50:02 $ docker stop --time=1 716f1eaf380901a574e6de0b86812aba433da1c40f08b85d70c9d07cbabd1195 23:50:03 $ docker rm -f 716f1eaf380901a574e6de0b86812aba433da1c40f08b85d70c9d07cbabd1195 [Pipeline] // stage [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] stage [Pipeline] { (Test) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:50:03 Failed in branch amd64 [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:50:04 + docker inspect -f . ci-base-image-arm64 23:50:04 . [Pipeline] withDockerContainer 23:50:04 prd-ubuntu18.04-docker-arm64-4c-16g-616 does not seem to be running inside a container 23:50:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/31 -v /w/workspace/app-functions-sdk-go/31:/w/workspace/app-functions-sdk-go/31:rw,z -v /w/workspace/app-functions-sdk-go/31@tmp:/w/workspace/app-functions-sdk-go/31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:50:06 $ docker top 17969c91dd5c71808319669ac1deb1b95c67c90c1c797844ae6764b1fec7381b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:50:07 + make test 23:50:07 make -C ./app-service-template build 23:50:07 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/31/app-service-template' 23:50:07 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 23:50:07 go: github.com/edgexfoundry/app-functions-sdk-go/v2@v2.0.1 requires 23:50:07 github.com/fxamacker/cbor/v2@v2.3.0: missing go.sum entry; to add it: 23:50:07 go mod download github.com/fxamacker/cbor/v2 23:50:07 make[1]: *** [Makefile:40: build] Error 1 23:50:07 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/31/app-service-template' 23:50:07 make: *** [Makefile:22: build] Error 2 [Pipeline] } 23:50:07 $ docker stop --time=1 17969c91dd5c71808319669ac1deb1b95c67c90c1c797844ae6764b1fec7381b 23:50:09 $ docker rm -f 17969c91dd5c71808319669ac1deb1b95c67c90c1c797844ae6764b1fec7381b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:50:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:50:10 23:50:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:50:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:50:10 arm64: Pulling from edgex-lftools-log-publisher 23:50:10 448f6bf000e3: Pulling fs layer 23:50:10 f757da607395: Pulling fs layer 23:50:10 05883995daec: Pulling fs layer 23:50:10 8603b9c90790: Pulling fs layer 23:50:10 1560dd03e051: Pulling fs layer 23:50:10 27f5ce0e4adf: Pulling fs layer 23:50:10 c2d8d7efcc4b: Pulling fs layer 23:50:10 1560dd03e051: Waiting 23:50:10 27f5ce0e4adf: Waiting 23:50:10 c2d8d7efcc4b: Waiting 23:50:10 8603b9c90790: Waiting 23:50:11 f757da607395: Verifying Checksum 23:50:11 f757da607395: Download complete 23:50:11 8603b9c90790: Download complete 23:50:11 1560dd03e051: Verifying Checksum 23:50:11 1560dd03e051: Download complete 23:50:11 27f5ce0e4adf: Verifying Checksum 23:50:11 27f5ce0e4adf: Download complete 23:50:11 05883995daec: Verifying Checksum 23:50:11 05883995daec: Download complete 23:50:12 448f6bf000e3: Download complete 23:50:15 c2d8d7efcc4b: Verifying Checksum 23:50:15 c2d8d7efcc4b: Download complete 23:50:15 448f6bf000e3: Pull complete 23:50:16 f757da607395: Pull complete 23:50:17 05883995daec: Pull complete 23:50:18 8603b9c90790: Pull complete 23:50:19 1560dd03e051: Pull complete 23:50:19 27f5ce0e4adf: Pull complete 23:50:34 c2d8d7efcc4b: Pull complete 23:50:34 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:50:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:50:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:50:35 prd-ubuntu18.04-docker-arm64-4c-16g-616 does not seem to be running inside a container 23:50:35 $ 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/31 -v /w/workspace/app-functions-sdk-go/31:/w/workspace/app-functions-sdk-go/31:rw,z -v /w/workspace/app-functions-sdk-go/31@tmp:/w/workspace/app-functions-sdk-go/31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:50:39 $ docker top 2fe5bebd76656c774313eed8d81b479a1d9e01d3c89f4b987730042310260382 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:50:40 ---> job-cost.sh 23:50:40 lf-activate-venv: SKIPPING 23:50:40 INFO: No Stack... 23:50:41 INFO: Retrieving Pricing Info for: v2-standard-4 23:50:41 INFO: Archiving Costs [Pipeline] sh 23:50:42 + cat /w/workspace/app-functions-sdk-go/31/archives/cost.csv 23:50:42 + cut -d, -f6 [Pipeline] lock 23:50:42 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-31-stack-cost] 23:50:42 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-31-stack-cost] did not exist. Created. 23:50:42 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:50:43 /w/workspace/app-functions-sdk-go/31@tmp/durable-f2083a89/script.sh: 1: /w/workspace/app-functions-sdk-go/31@tmp/durable-f2083a89/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:50:43 + echo total: 0.18000000715255737 [Pipeline] stash 23:50:44 Warning: overwriting stash ‘stack-cost’ 23:50:44 Stashed 1 file(s) [Pipeline] } 23:50:44 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-31-stack-cost] [Pipeline] // lock [Pipeline] } 23:50:44 $ docker stop --time=1 2fe5bebd76656c774313eed8d81b479a1d9e01d3c89f4b987730042310260382 23:50:46 $ docker rm -f 2fe5bebd76656c774313eed8d81b479a1d9e01d3c89f4b987730042310260382 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:50:46 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:50:47 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-875/archives ']' [Pipeline] libraryResource [Pipeline] sh 23:50:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:50:48 ---> package-listing.sh 23:50:48 ++ tr '[:upper:]' '[:lower:]' 23:50:48 ++ facter osfamily 23:50:48 + OS_FAMILY=redhat 23:50:48 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-875 23:50:48 + START_PACKAGES=/tmp/packages_start.txt 23:50:48 + END_PACKAGES=/tmp/packages_end.txt 23:50:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:50:48 + PACKAGES=/tmp/packages_start.txt 23:50:48 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-875 ']' 23:50:48 + PACKAGES=/tmp/packages_end.txt 23:50:48 + case "${OS_FAMILY}" in 23:50:48 + rpm -qa 23:50:48 + sort 23:50:49 + '[' -f /tmp/packages_start.txt ']' 23:50:49 + '[' -f /tmp/packages_end.txt ']' 23:50:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:50:49 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-875 ']' 23:50:49 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-875/archives/ 23:50:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-875/archives/ [Pipeline] echo 23:50:49 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-875/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:50:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:50:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:50:50 23:50:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:50:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:50:50 latest: Pulling from edgex-lftools-log-publisher 23:50:50 b4d181a07f80: Pulling fs layer 23:50:50 a1111a8f2ec3: Pulling fs layer 23:50:50 ed53099fbce6: Pulling fs layer 23:50:50 dc539afda2c1: Pulling fs layer 23:50:50 77bc0d833cb6: Pulling fs layer 23:50:50 9065ff56babe: Pulling fs layer 23:50:50 d287ab97295c: Pulling fs layer 23:50:50 dc539afda2c1: Waiting 23:50:50 77bc0d833cb6: Waiting 23:50:50 9065ff56babe: Waiting 23:50:50 d287ab97295c: Waiting 23:50:51 a1111a8f2ec3: Verifying Checksum 23:50:51 a1111a8f2ec3: Download complete 23:50:51 dc539afda2c1: Verifying Checksum 23:50:51 dc539afda2c1: Download complete 23:50:51 77bc0d833cb6: Verifying Checksum 23:50:51 77bc0d833cb6: Download complete 23:50:51 9065ff56babe: Verifying Checksum 23:50:51 9065ff56babe: Download complete 23:50:51 ed53099fbce6: Verifying Checksum 23:50:51 ed53099fbce6: Download complete 23:50:52 b4d181a07f80: Verifying Checksum 23:50:52 b4d181a07f80: Download complete 23:50:53 b4d181a07f80: Pull complete 23:50:53 a1111a8f2ec3: Pull complete 23:50:53 ed53099fbce6: Pull complete 23:50:53 dc539afda2c1: Pull complete 23:50:54 77bc0d833cb6: Pull complete 23:50:54 9065ff56babe: Pull complete 23:50:55 d287ab97295c: Verifying Checksum 23:50:55 d287ab97295c: Download complete 23:50:59 d287ab97295c: Pull complete 23:50:59 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:50:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:50:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:50:59 prd-centos7-docker-4c-2g-615 does not seem to be running inside a container 23:51:00 $ 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-875/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-875 -v /w/workspace/ndry_app-functions-sdk-go_PR-875:/w/workspace/ndry_app-functions-sdk-go_PR-875:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-875@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-875@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:51:02 $ docker top 9e6b2fb00e6f799f52a6f8487fbde3b54c619ce10a0e5192fcbecf9132b18012 -eo pid,comm [Pipeline] { [Pipeline] sh 23:51:02 + touch /tmp/pre-build-complete [Pipeline] sh 23:51:02 + mkdir -p /var/log/sysstat [Pipeline] sh 23:51:03 + ls /var/log/sa-host 23:51:03 + sadf -c /var/log/sa-host/sa05 23:51:03 file_magic: OK 23:51:03 HZ: Using current value: 100 23:51:03 file_header: OK 23:51:03 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 23:51:03 Statistics: 23:51:03 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:51:03 File successfully converted to sysstat format version 12.0.3 23:51:03 + sadf -c /var/log/sa-host/sa11 23:51:03 file_magic: OK 23:51:03 HZ: Using current value: 100 23:51:03 file_header: OK 23:51:03 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 23:51:03 Statistics: 23:51:03 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:51:03 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:51:03 provisioning config files... 23:51:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/config2379200132363753008tmp [Pipeline] { [Pipeline] echo 23:51:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:51:04 ---> create-netrc.sh [Pipeline] } 23:51:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:51:04 ---> python-tools-install.sh [Pipeline] echo 23:51:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:51:04 ---> sudo-logs.sh 23:51:04 Archiving 'sudo' log.. 23:51:04 sudo: unable to resolve host prd-centos7-docker-4c-2g-615.vexxhost.local: Name or service not known 23:51:04 sudo: unable to resolve host prd-centos7-docker-4c-2g-615.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 23:51:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:51:05 ---> job-cost.sh 23:51:05 lf-activate-venv: SKIPPING 23:51:05 DEBUG: total: 0.18000000715255737 23:51:05 INFO: Retrieving Stack Cost... 23:51:06 INFO: Retrieving Pricing Info for: v3-standard-2 23:51:06 INFO: Archiving Costs [Pipeline] echo 23:51:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:51:06 ---> logs-deploy.sh 23:51:06 lf-activate-venv: SKIPPING 23:51:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-875/31 23:51:06 INFO: archiving workspace using pattern(s): 23:51:07 Archives upload complete. 23:51:07 INFO: archiving logs to Nexus 23:51:08 ---> uname -a: 23:51:08 Linux prd-centos7-docker-4c-2g-615.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 23:51:08 23:51:08 23:51:08 ---> lscpu: 23:51:08 Architecture: x86_64 23:51:08 CPU op-mode(s): 32-bit, 64-bit 23:51:08 Byte Order: Little Endian 23:51:08 Address sizes: 40 bits physical, 48 bits virtual 23:51:08 CPU(s): 2 23:51:08 On-line CPU(s) list: 0,1 23:51:08 Thread(s) per core: 1 23:51:08 Core(s) per socket: 1 23:51:08 Socket(s): 2 23:51:08 NUMA node(s): 1 23:51:08 Vendor ID: AuthenticAMD 23:51:08 CPU family: 23 23:51:08 Model: 49 23:51:08 Model name: AMD EPYC-Rome Processor 23:51:08 Stepping: 0 23:51:08 CPU MHz: 2799.998 23:51:08 BogoMIPS: 5599.99 23:51:08 Virtualization: AMD-V 23:51:08 Hypervisor vendor: KVM 23:51:08 Virtualization type: full 23:51:08 L1d cache: 32K 23:51:08 L1i cache: 32K 23:51:08 L2 cache: 512K 23:51:08 L3 cache: 16384K 23:51:08 NUMA node0 CPU(s): 0,1 23:51:08 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 23:51:08 23:51:08 23:51:08 ---> nproc: 23:51:08 2 23:51:08 23:51:08 23:51:08 ---> df -h: 23:51:08 Filesystem Size Used Avail Use% Mounted on 23:51:08 overlay 40G 7.7G 33G 20% / 23:51:08 tmpfs 64M 0 64M 0% /dev 23:51:08 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 23:51:08 shm 64M 0 64M 0% /dev/shm 23:51:08 /dev/vda1 40G 7.7G 33G 20% /facter-os 23:51:08 23:51:08 23:51:08 ---> sar -b -r -n DEV: 23:51:08 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/11/21 _x86_64_ (2 CPU) 23:51:08 23:51:08 23:45:14 LINUX RESTART (2 CPU) 23:51:08 23:51:08 23:46:02 tps rtps wtps bread/s bwrtn/s 23:51:08 23:47:01 22.10 3.25 18.85 2564.44 4147.56 23:51:08 23:48:01 0.55 0.00 0.55 0.00 10.03 23:51:08 23:49:01 0.27 0.00 0.27 0.00 3.15 23:51:08 23:50:01 0.25 0.00 0.25 0.00 3.71 23:51:08 23:51:01 38.91 0.10 38.81 9.99 12304.45 23:51:08 Average: 12.38 0.66 11.72 508.21 3291.20 23:51:08 23:51:08 23:46:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:51:08 23:47:01 5431516 0 806044 10.06 2620 1768760 1247900 13.78 595800 1582004 20 23:51:08 23:48:01 5435320 0 802236 10.02 2620 1768764 1203684 13.29 593152 1581964 12 23:51:08 23:49:01 5434264 0 803292 10.03 2620 1768764 1203972 13.29 592664 1584164 12 23:51:08 23:50:01 5433764 0 803784 10.04 2620 1768772 1203684 13.29 592668 1584164 16 23:51:08 23:51:01 4799120 0 948176 11.84 2620 2259024 1390864 15.36 773280 1928208 111660 23:51:08 Average: 5306797 0 832706 10.40 2620 1866817 1250021 13.80 629513 1652101 22344 23:51:08 23:51:08 23:46:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:51:08 23:47:01 eth0 161.46 133.88 653.32 21.87 0.00 0.00 0.00 0.00 23:51:08 23:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:08 23:47:01 docker0 83.63 81.49 8.28 317.51 0.00 0.00 0.00 0.00 23:51:08 23:48:01 eth0 0.60 0.07 0.06 0.01 0.00 0.00 0.00 0.00 23:51:08 23:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:08 23:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:08 23:49:01 eth0 5.86 3.30 3.71 0.54 0.00 0.00 0.00 0.00 23:51:08 23:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:08 23:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:08 23:50:01 eth0 0.12 0.08 0.01 0.04 0.00 0.00 0.00 0.00 23:51:08 23:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:08 23:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:08 23:51:01 eth0 366.66 235.13 2614.70 22.18 0.00 0.00 0.00 0.00 23:51:08 23:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:08 23:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:08 Average: eth0 106.77 74.30 654.41 8.89 0.00 0.00 0.00 0.00 23:51:08 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:08 Average: docker0 16.51 16.09 1.64 62.67 0.00 0.00 0.00 0.00 23:51:08 23:51:08 23:51:08 ---> sar -P ALL: 23:51:08 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/11/21 _x86_64_ (2 CPU) 23:51:08 23:51:08 23:45:14 LINUX RESTART (2 CPU) 23:51:08 23:51:08 23:46:02 CPU %user %nice %system %iowait %steal %idle 23:51:08 23:47:01 all 4.21 0.00 2.01 0.48 0.04 93.25 23:51:08 23:47:01 0 4.56 0.00 1.99 0.50 0.05 92.90 23:51:08 23:47:01 1 3.86 0.00 2.03 0.46 0.03 93.61 23:51:08 23:48:01 all 0.23 0.00 0.04 0.00 0.03 99.71 23:51:08 23:48:01 0 0.42 0.00 0.03 0.00 0.02 99.53 23:51:08 23:48:01 1 0.03 0.00 0.05 0.00 0.03 99.88 23:51:08 23:49:01 all 0.19 0.00 0.08 0.00 0.03 99.71 23:51:08 23:49:01 0 0.30 0.00 0.07 0.00 0.03 99.60 23:51:08 23:49:01 1 0.08 0.00 0.08 0.00 0.02 99.82 23:51:08 23:50:01 all 0.15 0.00 0.03 0.00 0.03 99.79 23:51:08 23:50:01 0 0.08 0.00 0.02 0.00 0.02 99.88 23:51:08 23:50:01 1 0.22 0.00 0.05 0.00 0.03 99.70 23:51:08 23:51:01 all 7.35 0.00 2.89 0.48 0.03 89.24 23:51:08 23:51:01 0 6.97 0.00 3.12 0.65 0.03 89.23 23:51:08 23:51:01 1 7.73 0.00 2.67 0.32 0.03 89.25 23:51:08 Average: all 2.40 0.00 1.00 0.19 0.03 96.38 23:51:08 Average: 0 2.44 0.00 1.03 0.23 0.03 96.27 23:51:08 Average: 1 2.36 0.00 0.97 0.15 0.03 96.49 23:51:08 23:51:08 23:51:08