Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f9862466792e7d0dcceb1905b0181161eb5fc782+85ec21c5d3ad693b2638d710fad0e2a53cc19912 (f7e0aaf08cb2915de2241f82a1c57b14c1a3e76c) 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-ssh7353475405909003397.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-ssh6786321652650389691.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-ssh3288087642168742596.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-ssh6023008179715431477.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-ssh9111324691948399273.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3211 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-ssh6845664678741846609.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-ssh5248304506138194221.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 85ec21c5d3ad693b2638d710fad0e2a53cc19912 into PR head commit f9862466792e7d0dcceb1905b0181161eb5fc782 Merge succeeded, producing 635502b7f2ee25fb3e71d4d62f18a4ab118952c7 Checking out Revision 635502b7f2ee25fb3e71d4d62f18a4ab118952c7 (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-ssh822384230874628454.key > git merge 85ec21c5d3ad693b2638d710fad0e2a53cc19912 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 635502b7f2ee25fb3e71d4d62f18a4ab118952c7 # timeout=10 Commit message: "Merge commit '85ec21c5d3ad693b2638d710fad0e2a53cc19912' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:47:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:47:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:47:10 ========================================================= 23:47:10 EdgeX Global Pipelines Version Info 23:47:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 44472ac5d03ab7452ea09a2b93679c25d827059d # timeout=10 23:47:11 ------------------- 23:47:11 stable info: 23:47:11 ------------------- 23:47:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:47:11 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:47:11 Message: update stable to v1.0.205 23:47:12 ------------------- 23:47:12 experimental info: 23:47:12 ------------------- 23:47:12 Commited By: **** collab-it+edgex@linuxfoundation.org 23:47:12 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:47:12 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-875 [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-875 [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-875 [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 635502b7f2ee25fb3e71d4d62f18a4ab118952c7 [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 635502b [Pipeline] echo 23:47:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:47:13 + git log --format=format:%s -1 635502b7f2ee25fb3e71d4d62f18a4ab118952c7 [Pipeline] echo 23:47:13 GIT_COMMIT: 635502b7f2ee25fb3e71d4d62f18a4ab118952c7, Commit Message: Merge commit '85ec21c5d3ad693b2638d710fad0e2a53cc19912' into HEAD [Pipeline] echo 23:47:13 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:47:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:47:14 23:47:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:47:14 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:47:14 latest: Pulling from edgex-devops/git-semver 23:47:14 31603596830f: Pulling fs layer 23:47:14 d4622e32a9a9: Pulling fs layer 23:47:14 1030fce36090: Pulling fs layer 23:47:14 6c6cb7e1b49b: Pulling fs layer 23:47:14 6c6cb7e1b49b: Waiting 23:47:14 d4622e32a9a9: Verifying Checksum 23:47:14 d4622e32a9a9: Download complete 23:47:14 31603596830f: Verifying Checksum 23:47:14 31603596830f: Download complete 23:47:14 31603596830f: Pull complete 23:47:14 6c6cb7e1b49b: Verifying Checksum 23:47:14 6c6cb7e1b49b: Download complete 23:47:14 d4622e32a9a9: Pull complete 23:47:14 1030fce36090: Verifying Checksum 23:47:14 1030fce36090: Download complete 23:47:15 1030fce36090: Pull complete 23:47:15 6c6cb7e1b49b: Pull complete 23:47:15 Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab 23:47:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:47:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:47:15 prd-centos7-docker-4c-2g-3211 does not seem to be running inside a container 23:47:15 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:47:16 $ docker top 350d09c70949ba7ae973c0b40d178abf670dfbc9f36a4647b9636f0dc82f4730 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:47:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:47:16 [ssh-agent] Looking for ssh-agent implementation... 23:47:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:47:16 $ docker exec 350d09c70949ba7ae973c0b40d178abf670dfbc9f36a4647b9636f0dc82f4730 ssh-agent 23:47:17 SSH_AUTH_SOCK=/tmp/ssh-McXWtHzKyCtN/agent.15 23:47:17 SSH_AGENT_PID=22 23:47:17 Running ssh-add (command line suppressed) 23:47:17 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/private_key_2973277908738802455.key (/w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/private_key_2973277908738802455.key) 23:47:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:47:17 + git tag --points-at HEAD [Pipeline] } 23:47:17 $ docker exec --env ******** --env ******** 350d09c70949ba7ae973c0b40d178abf670dfbc9f36a4647b9636f0dc82f4730 ssh-agent -k 23:47:17 unset SSH_AUTH_SOCK; 23:47:17 unset SSH_AGENT_PID; 23:47:17 echo Agent pid 22 killed; 23:47:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:47:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:47:17 [ssh-agent] Looking for ssh-agent implementation... 23:47:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:47:17 $ docker exec 350d09c70949ba7ae973c0b40d178abf670dfbc9f36a4647b9636f0dc82f4730 ssh-agent 23:47:17 SSH_AUTH_SOCK=/tmp/ssh-iI0StQqAKw6P/agent.55 23:47:17 SSH_AGENT_PID=62 23:47:17 Running ssh-add (command line suppressed) 23:47:18 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/private_key_2590762523238541725.key (/w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/private_key_2590762523238541725.key) 23:47:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:47:18 + git semver init 23:47:18 # -> Open(): unable to determine branch for HEAD 23:47:18 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-875/.git 23:47:18 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-875 23:47:18 # $SEMVER_REMOTE_NAME = origin 23:47:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:47:18 # $SEMVER_USER_NAME = edgex-jenkins 23:47:18 # $SEMVER_BRANCH = PR-875 23:47:18 # $SEMVER_TEMP = /tmp/semver-367668847 23:47:18 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 23:47:20 # '/tmp/semver-367668847' -> '/w/workspace/ndry_app-functions-sdk-go_PR-875/.semver' 23:47:20 # -> Force: false 23:47:20 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-875/.semver [Pipeline] } 23:47:20 $ docker exec --env ******** --env ******** 350d09c70949ba7ae973c0b40d178abf670dfbc9f36a4647b9636f0dc82f4730 ssh-agent -k 23:47:20 unset SSH_AUTH_SOCK; 23:47:20 unset SSH_AGENT_PID; 23:47:20 echo Agent pid 62 killed; 23:47:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:47:20 + git semver [Pipeline] } 23:47:20 $ docker stop --time=1 350d09c70949ba7ae973c0b40d178abf670dfbc9f36a4647b9636f0dc82f4730 23:47:22 $ docker rm -f 350d09c70949ba7ae973c0b40d178abf670dfbc9f36a4647b9636f0dc82f4730 [Pipeline] // withDockerContainer [Pipeline] sh 23:47:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:47:22 Stashed 1 file(s) [Pipeline] echo 23:47:22 [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:47:38 Still waiting to schedule task 23:47:38 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:47:38 Still waiting to schedule task 23:47:38 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 23:48:40 Running on prd-centos7-docker-4c-2g-3214 in /w/workspace/ndry_app-functions-sdk-go_PR-875 [Pipeline] { [Pipeline] ws 23:48:40 Running in /w/workspace/app-functions-sdk-go/33 [Pipeline] { [Pipeline] checkout 23:48:40 The recommended git tool is: git 23:48:45 using credential edgex-jenkins-ssh 23:48:45 Cloning the remote Git repository 23:48:45 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:48:45 > git init /w/workspace/app-functions-sdk-go/33 # timeout=10 23:48:45 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:48:45 > git --version # timeout=10 23:48:45 > git --version # 'git version 2.24.4' 23:48:45 using GIT_SSH to set credentials SSH Credentials for GitHub 23:48:45 [INFO] Currently running in a labeled security context 23:48:45 [INFO] Currently SELinux is 'enforcing' on the host 23:48:45 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/33@tmp/jenkins-gitclient-ssh1407921171910307277.key 23:48:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:48:47 Merging remotes/origin/main commit 85ec21c5d3ad693b2638d710fad0e2a53cc19912 into PR head commit f9862466792e7d0dcceb1905b0181161eb5fc782 23:48:47 Merge succeeded, producing 59440e4e8890f039b5f677ed2908104d2cfce1af 23:48:47 Checking out Revision 59440e4e8890f039b5f677ed2908104d2cfce1af (PR-875) 23:48:47 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:48:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:48:47 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:48:47 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:48:47 using GIT_SSH to set credentials SSH Credentials for GitHub 23:48:47 [INFO] Currently running in a labeled security context 23:48:47 [INFO] Currently SELinux is 'enforcing' on the host 23:48:47 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/33@tmp/jenkins-gitclient-ssh5627889904680950261.key 23:48:47 > 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:47 > git config core.sparsecheckout # timeout=10 23:48:47 > git checkout -f f9862466792e7d0dcceb1905b0181161eb5fc782 # timeout=10 23:48:47 > git remote # timeout=10 23:48:47 > git config --get remote.origin.url # timeout=10 23:48:47 using GIT_SSH to set credentials SSH Credentials for GitHub 23:48:47 [INFO] Currently running in a labeled security context 23:48:47 [INFO] Currently SELinux is 'enforcing' on the host 23:48:47 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/33@tmp/jenkins-gitclient-ssh678722829226723132.key 23:48:47 > git merge 85ec21c5d3ad693b2638d710fad0e2a53cc19912 # timeout=10 23:48:47 > git rev-parse HEAD^{commit} # timeout=10 23:48:47 > git config core.sparsecheckout # timeout=10 23:48:47 > git checkout -f 59440e4e8890f039b5f677ed2908104d2cfce1af # timeout=10 23:48:51 Commit message: "Merge commit '85ec21c5d3ad693b2638d710fad0e2a53cc19912' into HEAD" 23:48:51 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:48:51 ========================================================= 23:48:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:48:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 23:48:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:48:51 > git rev-list --no-walk 44472ac5d03ab7452ea09a2b93679c25d827059d # timeout=10 23:48:57 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:48:57 540db60ca938: Pulling fs layer 23:48:57 adcc1eea9eea: Pulling fs layer 23:48:57 4c4ab2625f07: Pulling fs layer 23:48:57 db62176df00c: Pulling fs layer 23:48:57 3b30891b0d05: Pulling fs layer 23:48:57 06b49ca38bd5: Pulling fs layer 23:48:57 c788192a36de: Pulling fs layer 23:48:57 a77e37c0d609: Pulling fs layer 23:48:57 c3185cebc471: Pulling fs layer 23:48:57 06b49ca38bd5: Waiting 23:48:57 c788192a36de: Waiting 23:48:57 a77e37c0d609: Waiting 23:48:57 c3185cebc471: Waiting 23:48:57 db62176df00c: Waiting 23:48:57 3b30891b0d05: Waiting 23:48:57 4c4ab2625f07: Verifying Checksum 23:48:57 4c4ab2625f07: Download complete 23:48:57 adcc1eea9eea: Verifying Checksum 23:48:57 adcc1eea9eea: Download complete 23:48:57 3b30891b0d05: Verifying Checksum 23:48:57 3b30891b0d05: Download complete 23:48:57 06b49ca38bd5: Verifying Checksum 23:48:57 06b49ca38bd5: Download complete 23:48:57 c788192a36de: Verifying Checksum 23:48:57 c788192a36de: Download complete 23:48:57 540db60ca938: Verifying Checksum 23:48:57 540db60ca938: Download complete 23:48:57 540db60ca938: Pull complete 23:48:57 adcc1eea9eea: Pull complete 23:48:57 4c4ab2625f07: Pull complete 23:48:58 a77e37c0d609: Verifying Checksum 23:48:58 a77e37c0d609: Download complete 23:49:01 c3185cebc471: Verifying Checksum 23:49:01 c3185cebc471: Download complete 23:49:02 db62176df00c: Verifying Checksum 23:49:02 db62176df00c: Download complete 23:49:05 db62176df00c: Pull complete 23:49:05 3b30891b0d05: Pull complete 23:49:05 06b49ca38bd5: Pull complete 23:49:05 c788192a36de: Pull complete 23:49:05 a77e37c0d609: Pull complete 23:49:07 c3185cebc471: Pull complete 23:49:07 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 23:49:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:49:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 23:49:07 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 23:49:08 + docker inspect -f . ci-base-image-x86_64 23:49:08 . [Pipeline] withDockerContainer 23:49:08 prd-centos7-docker-4c-2g-3214 does not seem to be running inside a container 23:49:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/33 -v /w/workspace/app-functions-sdk-go/33:/w/workspace/app-functions-sdk-go/33:rw,z -v /w/workspace/app-functions-sdk-go/33@tmp:/w/workspace/app-functions-sdk-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:49:11 $ docker top ea10201420de8156845b658f1e3397d9b7c8ca75d06e43adcceb0e451dd54ee2 -eo pid,comm [Pipeline] { [Pipeline] sh 23:49:11 + go version 23:49:11 go version go1.16.6 linux/amd64 [Pipeline] } 23:49:11 $ docker stop --time=1 ea10201420de8156845b658f1e3397d9b7c8ca75d06e43adcceb0e451dd54ee2 23:49:13 $ docker rm -f ea10201420de8156845b658f1e3397d9b7c8ca75d06e43adcceb0e451dd54ee2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:49:13 + docker inspect -f . ci-base-image-x86_64 23:49:13 . [Pipeline] withDockerContainer 23:49:13 prd-centos7-docker-4c-2g-3214 does not seem to be running inside a container 23:49:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/33 -v /w/workspace/app-functions-sdk-go/33:/w/workspace/app-functions-sdk-go/33:rw,z -v /w/workspace/app-functions-sdk-go/33@tmp:/w/workspace/app-functions-sdk-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:49:14 $ docker top 09673ced31c844480ea39c9a72ca2435eae367557658dd745225b7ff2baeea08 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:49:14 + make test 23:49:14 make -C ./app-service-template build 23:49:14 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/33/app-service-template' 23:49:14 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:15 go: github.com/edgexfoundry/app-functions-sdk-go/v2@v2.0.1 requires 23:49:15 github.com/fxamacker/cbor/v2@v2.3.0: missing go.sum entry; to add it: 23:49:15 go mod download github.com/fxamacker/cbor/v2 23:49:15 make[1]: *** [Makefile:40: build] Error 1 23:49:15 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/33/app-service-template' 23:49:15 make: *** [Makefile:22: build] Error 2 [Pipeline] } 23:49:15 $ docker stop --time=1 09673ced31c844480ea39c9a72ca2435eae367557658dd745225b7ff2baeea08 23:49:16 $ docker rm -f 09673ced31c844480ea39c9a72ca2435eae367557658dd745225b7ff2baeea08 [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:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:49:17 23:49:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:49:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:49:17 latest: Pulling from edgex-lftools-log-publisher 23:49:17 b4d181a07f80: Pulling fs layer 23:49:17 a1111a8f2ec3: Pulling fs layer 23:49:17 ed53099fbce6: Pulling fs layer 23:49:17 dc539afda2c1: Pulling fs layer 23:49:17 77bc0d833cb6: Pulling fs layer 23:49:17 9065ff56babe: Pulling fs layer 23:49:17 d287ab97295c: Pulling fs layer 23:49:17 77bc0d833cb6: Waiting 23:49:17 9065ff56babe: Waiting 23:49:17 dc539afda2c1: Waiting 23:49:17 d287ab97295c: Waiting 23:49:17 a1111a8f2ec3: Verifying Checksum 23:49:17 a1111a8f2ec3: Download complete 23:49:17 dc539afda2c1: Verifying Checksum 23:49:17 dc539afda2c1: Download complete 23:49:17 77bc0d833cb6: Verifying Checksum 23:49:17 77bc0d833cb6: Download complete 23:49:17 9065ff56babe: Verifying Checksum 23:49:17 9065ff56babe: Download complete 23:49:17 ed53099fbce6: Verifying Checksum 23:49:17 ed53099fbce6: Download complete 23:49:18 b4d181a07f80: Verifying Checksum 23:49:18 b4d181a07f80: Download complete 23:49:19 b4d181a07f80: Pull complete 23:49:20 a1111a8f2ec3: Pull complete 23:49:20 ed53099fbce6: Pull complete 23:49:20 dc539afda2c1: Pull complete 23:49:20 77bc0d833cb6: Pull complete 23:49:20 9065ff56babe: Pull complete 23:49:22 d287ab97295c: Verifying Checksum 23:49:22 d287ab97295c: Download complete 23:49:27 d287ab97295c: Pull complete 23:49:27 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:49:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:49:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:49:27 prd-centos7-docker-4c-2g-3214 does not seem to be running inside a container 23:49:27 $ 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/33 -v /w/workspace/app-functions-sdk-go/33:/w/workspace/app-functions-sdk-go/33:rw,z -v /w/workspace/app-functions-sdk-go/33@tmp:/w/workspace/app-functions-sdk-go/33@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:49:30 $ docker top bc2f233062aef0b5a6f4c33f2121a55341781b7c8d388414d952e570dcbc229c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:49:30 ---> job-cost.sh 23:49:30 lf-activate-venv: SKIPPING 23:49:30 INFO: No Stack... 23:49:31 INFO: Retrieving Pricing Info for: v3-standard-2 23:49:32 INFO: Archiving Costs [Pipeline] sh 23:49:32 + cat /w/workspace/app-functions-sdk-go/33/archives/cost.csv 23:49:32 + cut -d, -f6 [Pipeline] lock 23:49:32 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-33-stack-cost] 23:49:32 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-33-stack-cost] did not exist. Created. 23:49:32 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:49:33 + echo total: 0.05999999865889549 [Pipeline] stash 23:49:33 Stashed 1 file(s) [Pipeline] } 23:49:33 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-33-stack-cost] [Pipeline] // lock [Pipeline] } 23:49:33 $ docker stop --time=1 bc2f233062aef0b5a6f4c33f2121a55341781b7c8d388414d952e570dcbc229c 23:49:34 $ docker rm -f bc2f233062aef0b5a6f4c33f2121a55341781b7c8d388414d952e570dcbc229c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:49:35 Failed in branch amd64 23:50:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3215 in /w/workspace/ndry_app-functions-sdk-go_PR-875 [Pipeline] { [Pipeline] ws 23:50:29 Running in /w/workspace/app-functions-sdk-go/33 [Pipeline] { [Pipeline] checkout 23:50:29 The recommended git tool is: git 23:50:35 using credential edgex-jenkins-ssh 23:50:35 Cloning the remote Git repository 23:50:35 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:50:35 > git init /w/workspace/app-functions-sdk-go/33 # timeout=10 23:50:35 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:50:35 > git --version # timeout=10 23:50:35 > git --version # 'git version 2.17.1' 23:50:35 using GIT_SSH to set credentials SSH Credentials for GitHub 23:50:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:50:39 Merging remotes/origin/main commit 85ec21c5d3ad693b2638d710fad0e2a53cc19912 into PR head commit f9862466792e7d0dcceb1905b0181161eb5fc782 23:50:40 Merge succeeded, producing 8d0cc1e9037353d6bcaf5bed96e0590a97aaa2e5 23:50:40 Checking out Revision 8d0cc1e9037353d6bcaf5bed96e0590a97aaa2e5 (PR-875) 23:50:39 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:50:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:50:39 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:50:39 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:50:39 using GIT_SSH to set credentials SSH Credentials for GitHub 23:50:39 > 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:50:39 > git config core.sparsecheckout # timeout=10 23:50:39 > git checkout -f f9862466792e7d0dcceb1905b0181161eb5fc782 # timeout=10 23:50:39 > git remote # timeout=10 23:50:39 > git config --get remote.origin.url # timeout=10 23:50:39 using GIT_SSH to set credentials SSH Credentials for GitHub 23:50:39 > git merge 85ec21c5d3ad693b2638d710fad0e2a53cc19912 # timeout=10 23:50:40 > git rev-parse HEAD^{commit} # timeout=10 23:50:40 > git config core.sparsecheckout # timeout=10 23:50:40 > git checkout -f 8d0cc1e9037353d6bcaf5bed96e0590a97aaa2e5 # timeout=10 23:50:44 Commit message: "Merge commit '85ec21c5d3ad693b2638d710fad0e2a53cc19912' into HEAD" 23:50:44 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 23:50:44 > git rev-list --no-walk 44472ac5d03ab7452ea09a2b93679c25d827059d # timeout=10 [Pipeline] echo 23:50:44 ========================================================= 23:50:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:50:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 23:50:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:50:46 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:50:46 595b0fe564bb: Pulling fs layer 23:50:46 24495759ef45: Pulling fs layer 23:50:46 d148012ef14d: Pulling fs layer 23:50:46 e90a11edd702: Pulling fs layer 23:50:46 d77568369979: Pulling fs layer 23:50:46 fc1c9f9a7f3b: Pulling fs layer 23:50:46 170f2ba95c9a: Pulling fs layer 23:50:46 97ac5df62f85: Pulling fs layer 23:50:46 e90a11edd702: Waiting 23:50:46 d77568369979: Waiting 23:50:46 fc1c9f9a7f3b: Waiting 23:50:46 170f2ba95c9a: Waiting 23:50:46 97ac5df62f85: Waiting 23:50:46 d148012ef14d: Verifying Checksum 23:50:46 d148012ef14d: Download complete 23:50:46 24495759ef45: Download complete 23:50:46 d77568369979: Verifying Checksum 23:50:46 d77568369979: Download complete 23:50:46 fc1c9f9a7f3b: Download complete 23:50:46 595b0fe564bb: Verifying Checksum 23:50:46 170f2ba95c9a: Verifying Checksum 23:50:46 170f2ba95c9a: Download complete 23:50:47 595b0fe564bb: Pull complete 23:50:48 24495759ef45: Pull complete 23:50:48 d148012ef14d: Pull complete 23:50:50 97ac5df62f85: Verifying Checksum 23:50:50 97ac5df62f85: Download complete 23:50:51 e90a11edd702: Verifying Checksum 23:50:51 e90a11edd702: Download complete 23:51:03 e90a11edd702: Pull complete 23:51:03 d77568369979: Pull complete 23:51:03 fc1c9f9a7f3b: Pull complete 23:51:03 170f2ba95c9a: Pull complete 23:51:09 97ac5df62f85: Pull complete 23:51:09 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 23:51:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:51:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 23:51:09 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 23:51:09 + docker inspect -f . ci-base-image-arm64 23:51:09 . [Pipeline] withDockerContainer 23:51:10 prd-ubuntu18.04-docker-arm64-4c-16g-3215 does not seem to be running inside a container 23:51:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/33 -v /w/workspace/app-functions-sdk-go/33:/w/workspace/app-functions-sdk-go/33:rw,z -v /w/workspace/app-functions-sdk-go/33@tmp:/w/workspace/app-functions-sdk-go/33@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:51:15 $ docker top ce1dac9d6b594cd4b5a3c51fd70c22efec4a127ff6aae4744a0339b9263ac4f3 -eo pid,comm [Pipeline] { [Pipeline] sh 23:51:16 + go version 23:51:16 go version go1.16.6 linux/arm64 [Pipeline] } 23:51:16 $ docker stop --time=1 ce1dac9d6b594cd4b5a3c51fd70c22efec4a127ff6aae4744a0339b9263ac4f3 23:51:18 $ docker rm -f ce1dac9d6b594cd4b5a3c51fd70c22efec4a127ff6aae4744a0339b9263ac4f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:51:19 + docker inspect -f . ci-base-image-arm64 23:51:19 . [Pipeline] withDockerContainer 23:51:19 prd-ubuntu18.04-docker-arm64-4c-16g-3215 does not seem to be running inside a container 23:51:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/33 -v /w/workspace/app-functions-sdk-go/33:/w/workspace/app-functions-sdk-go/33:rw,z -v /w/workspace/app-functions-sdk-go/33@tmp:/w/workspace/app-functions-sdk-go/33@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:51:21 $ docker top 81b79cce9e662ad7b172d8c73c6b8fe584e2273dbda25c8a5594ef7bb6f51911 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:51:22 + make test 23:51:22 make -C ./app-service-template build 23:51:22 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/33/app-service-template' 23:51:22 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:51:24 go: github.com/edgexfoundry/app-functions-sdk-go/v2@v2.0.1 requires 23:51:24 github.com/fxamacker/cbor/v2@v2.3.0: missing go.sum entry; to add it: 23:51:24 go mod download github.com/fxamacker/cbor/v2 23:51:24 make[1]: *** [Makefile:40: build] Error 1 23:51:24 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/33/app-service-template' 23:51:24 make: *** [Makefile:22: build] Error 2 [Pipeline] } 23:51:24 $ docker stop --time=1 81b79cce9e662ad7b172d8c73c6b8fe584e2273dbda25c8a5594ef7bb6f51911 23:51:26 $ docker rm -f 81b79cce9e662ad7b172d8c73c6b8fe584e2273dbda25c8a5594ef7bb6f51911 [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:51:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:51:27 23:51:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:51:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:51:28 arm64: Pulling from edgex-lftools-log-publisher 23:51:28 448f6bf000e3: Pulling fs layer 23:51:28 f757da607395: Pulling fs layer 23:51:28 05883995daec: Pulling fs layer 23:51:28 8603b9c90790: Pulling fs layer 23:51:28 1560dd03e051: Pulling fs layer 23:51:28 27f5ce0e4adf: Pulling fs layer 23:51:28 c2d8d7efcc4b: Pulling fs layer 23:51:28 8603b9c90790: Waiting 23:51:28 1560dd03e051: Waiting 23:51:28 27f5ce0e4adf: Waiting 23:51:28 c2d8d7efcc4b: Waiting 23:51:28 f757da607395: Verifying Checksum 23:51:28 f757da607395: Download complete 23:51:28 8603b9c90790: Download complete 23:51:28 1560dd03e051: Verifying Checksum 23:51:28 1560dd03e051: Download complete 23:51:28 27f5ce0e4adf: Verifying Checksum 23:51:28 27f5ce0e4adf: Download complete 23:51:29 05883995daec: Verifying Checksum 23:51:29 05883995daec: Download complete 23:51:30 448f6bf000e3: Verifying Checksum 23:51:30 448f6bf000e3: Download complete 23:51:32 c2d8d7efcc4b: Verifying Checksum 23:51:32 c2d8d7efcc4b: Download complete 23:51:33 448f6bf000e3: Pull complete 23:51:33 f757da607395: Pull complete 23:51:35 05883995daec: Pull complete 23:51:36 8603b9c90790: Pull complete 23:51:36 1560dd03e051: Pull complete 23:51:37 27f5ce0e4adf: Pull complete 23:51:52 c2d8d7efcc4b: Pull complete 23:51:52 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:51:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:51:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:51:52 prd-ubuntu18.04-docker-arm64-4c-16g-3215 does not seem to be running inside a container 23:51:52 $ 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/33 -v /w/workspace/app-functions-sdk-go/33:/w/workspace/app-functions-sdk-go/33:rw,z -v /w/workspace/app-functions-sdk-go/33@tmp:/w/workspace/app-functions-sdk-go/33@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:51:57 $ docker top dc05470a165e74e45769ec2826975d9da4d1fd2e7c8cc2edd379dc7d371977da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:51:58 ---> job-cost.sh 23:51:58 lf-activate-venv: SKIPPING 23:51:58 INFO: No Stack... 23:51:59 INFO: Retrieving Pricing Info for: v2-standard-4 23:51:59 INFO: Archiving Costs [Pipeline] sh 23:51:59 + cut -d, -f6 23:51:59 + cat /w/workspace/app-functions-sdk-go/33/archives/cost.csv [Pipeline] lock 23:52:00 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-33-stack-cost] 23:52:00 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-33-stack-cost] did not exist. Created. 23:52:00 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:52:00 /w/workspace/app-functions-sdk-go/33@tmp/durable-fbf03e93/script.sh: 1: /w/workspace/app-functions-sdk-go/33@tmp/durable-fbf03e93/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:52:01 + echo total: 0.18000000715255737 [Pipeline] stash 23:52:01 Warning: overwriting stash ‘stack-cost’ 23:52:01 Stashed 1 file(s) [Pipeline] } 23:52:01 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-33-stack-cost] [Pipeline] // lock [Pipeline] } 23:52:01 $ docker stop --time=1 dc05470a165e74e45769ec2826975d9da4d1fd2e7c8cc2edd379dc7d371977da 23:52:03 $ docker rm -f dc05470a165e74e45769ec2826975d9da4d1fd2e7c8cc2edd379dc7d371977da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:52:04 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:52:05 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-875/archives ']' [Pipeline] libraryResource [Pipeline] sh 23:52:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:52:06 ---> package-listing.sh 23:52:06 ++ facter osfamily 23:52:06 ++ tr '[:upper:]' '[:lower:]' 23:52:06 + OS_FAMILY=redhat 23:52:06 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-875 23:52:06 + START_PACKAGES=/tmp/packages_start.txt 23:52:06 + END_PACKAGES=/tmp/packages_end.txt 23:52:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:52:06 + PACKAGES=/tmp/packages_start.txt 23:52:06 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-875 ']' 23:52:06 + PACKAGES=/tmp/packages_end.txt 23:52:06 + case "${OS_FAMILY}" in 23:52:06 + sort 23:52:06 + rpm -qa 23:52:06 + '[' -f /tmp/packages_start.txt ']' 23:52:06 + '[' -f /tmp/packages_end.txt ']' 23:52:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:52:06 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-875 ']' 23:52:06 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-875/archives/ 23:52:06 + 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:52:06 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:52:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:52:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:52:07 23:52:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:52:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:52:08 latest: Pulling from edgex-lftools-log-publisher 23:52:08 b4d181a07f80: Pulling fs layer 23:52:08 a1111a8f2ec3: Pulling fs layer 23:52:08 ed53099fbce6: Pulling fs layer 23:52:08 dc539afda2c1: Pulling fs layer 23:52:08 77bc0d833cb6: Pulling fs layer 23:52:08 9065ff56babe: Pulling fs layer 23:52:08 d287ab97295c: Pulling fs layer 23:52:08 77bc0d833cb6: Waiting 23:52:08 9065ff56babe: Waiting 23:52:08 d287ab97295c: Waiting 23:52:08 dc539afda2c1: Waiting 23:52:08 a1111a8f2ec3: Verifying Checksum 23:52:08 a1111a8f2ec3: Download complete 23:52:08 dc539afda2c1: Verifying Checksum 23:52:08 dc539afda2c1: Download complete 23:52:08 77bc0d833cb6: Verifying Checksum 23:52:08 77bc0d833cb6: Download complete 23:52:08 9065ff56babe: Verifying Checksum 23:52:08 9065ff56babe: Download complete 23:52:08 ed53099fbce6: Verifying Checksum 23:52:08 ed53099fbce6: Download complete 23:52:09 b4d181a07f80: Download complete 23:52:10 b4d181a07f80: Pull complete 23:52:10 a1111a8f2ec3: Pull complete 23:52:11 ed53099fbce6: Pull complete 23:52:11 dc539afda2c1: Pull complete 23:52:11 77bc0d833cb6: Pull complete 23:52:11 9065ff56babe: Pull complete 23:52:13 d287ab97295c: Verifying Checksum 23:52:13 d287ab97295c: Download complete 23:52:17 d287ab97295c: Pull complete 23:52:17 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:52:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:52:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:52:17 prd-centos7-docker-4c-2g-3211 does not seem to be running inside a container 23:52:17 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:52:19 $ docker top af55f0ac87f15e8e509d93816492066116044f392b40031aaad811de4a02eb2b -eo pid,comm [Pipeline] { [Pipeline] sh 23:52:20 + touch /tmp/pre-build-complete [Pipeline] sh 23:52:20 + mkdir -p /var/log/sysstat [Pipeline] sh 23:52:20 + ls /var/log/sa-host 23:52:20 + sadf -c /var/log/sa-host/sa05 23:52:20 file_magic: OK 23:52:20 HZ: Using current value: 100 23:52:20 file_header: OK 23:52:20 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:52:20 Statistics: 23:52:20 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:52:20 File successfully converted to sysstat format version 12.0.3 23:52:20 + sadf -c /var/log/sa-host/sa17 23:52:20 file_magic: OK 23:52:20 HZ: Using current value: 100 23:52:20 file_header: OK 23:52:20 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:52:20 Statistics: 23:52:20 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:52:20 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:52:21 provisioning config files... 23:52:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/config7949629346044043491tmp [Pipeline] { [Pipeline] echo 23:52:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:52:21 ---> create-netrc.sh [Pipeline] } 23:52:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:52:21 ---> python-tools-install.sh [Pipeline] echo 23:52:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:52:22 ---> sudo-logs.sh 23:52:22 Archiving 'sudo' log.. 23:52:22 sudo: unable to resolve host prd-centos7-docker-4c-2g-3211.vexxhost.local: Name or service not known 23:52:22 sudo: unable to resolve host prd-centos7-docker-4c-2g-3211.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 23:52:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:52:22 ---> job-cost.sh 23:52:22 lf-activate-venv: SKIPPING 23:52:22 DEBUG: total: 0.18000000715255737 23:52:22 INFO: Retrieving Stack Cost... 23:52:23 INFO: Retrieving Pricing Info for: v3-standard-2 23:52:23 INFO: Archiving Costs [Pipeline] echo 23:52:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:52:23 ---> logs-deploy.sh 23:52:23 lf-activate-venv: SKIPPING 23:52:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-875/33 23:52:23 INFO: archiving workspace using pattern(s): 23:52:24 Archives upload complete. 23:52:24 INFO: archiving logs to Nexus 23:52:25 ---> uname -a: 23:52:25 Linux prd-centos7-docker-4c-2g-3211.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:52:25 23:52:25 23:52:25 ---> lscpu: 23:52:25 Architecture: x86_64 23:52:25 CPU op-mode(s): 32-bit, 64-bit 23:52:25 Byte Order: Little Endian 23:52:25 Address sizes: 40 bits physical, 48 bits virtual 23:52:25 CPU(s): 2 23:52:25 On-line CPU(s) list: 0,1 23:52:25 Thread(s) per core: 1 23:52:25 Core(s) per socket: 1 23:52:25 Socket(s): 2 23:52:25 NUMA node(s): 1 23:52:25 Vendor ID: AuthenticAMD 23:52:25 CPU family: 23 23:52:25 Model: 49 23:52:25 Model name: AMD EPYC-Rome Processor 23:52:25 Stepping: 0 23:52:25 CPU MHz: 2799.998 23:52:25 BogoMIPS: 5599.99 23:52:25 Virtualization: AMD-V 23:52:25 Hypervisor vendor: KVM 23:52:25 Virtualization type: full 23:52:25 L1d cache: 32K 23:52:25 L1i cache: 32K 23:52:25 L2 cache: 512K 23:52:25 L3 cache: 16384K 23:52:25 NUMA node0 CPU(s): 0,1 23:52:25 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:52:25 23:52:25 23:52:25 ---> nproc: 23:52:25 2 23:52:25 23:52:25 23:52:25 ---> df -h: 23:52:25 Filesystem Size Used Avail Use% Mounted on 23:52:25 overlay 40G 7.7G 33G 20% / 23:52:25 tmpfs 64M 0 64M 0% /dev 23:52:25 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 23:52:25 shm 64M 0 64M 0% /dev/shm 23:52:25 /dev/vda1 40G 7.7G 33G 20% /facter-os 23:52:25 23:52:25 23:52:25 ---> sar -b -r -n DEV: 23:52:25 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/17/21 _x86_64_ (2 CPU) 23:52:25 23:52:25 23:46:30 LINUX RESTART (2 CPU) 23:52:25 23:52:25 23:47:01 tps rtps wtps bread/s bwrtn/s 23:52:25 23:48:01 80.85 3.76 77.09 2603.16 5166.54 23:52:25 23:49:01 0.35 0.00 0.35 0.00 5.83 23:52:25 23:50:01 0.32 0.00 0.32 0.00 3.75 23:52:25 23:51:01 0.18 0.00 0.18 0.00 3.13 23:52:25 23:52:01 0.25 0.00 0.25 0.00 3.66 23:52:25 Average: 16.39 0.75 15.64 520.75 1036.82 23:52:25 23:52:25 23:47:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:52:25 23:48:01 5424540 0 812976 10.15 2620 1768804 1299332 14.35 605436 1578248 20 23:52:25 23:49:01 5434404 0 803104 10.03 2620 1768812 1240304 13.69 596540 1578212 16 23:52:25 23:50:01 5437060 0 800444 9.99 2620 1768816 1206368 13.32 596092 1577220 20 23:52:25 23:51:01 5434484 0 803012 10.03 2620 1768824 1206608 13.32 598564 1577220 8 23:52:25 23:52:01 5433044 0 804448 10.04 2620 1768828 1206464 13.32 592500 1585180 24 23:52:25 Average: 5432706 0 804797 10.05 2620 1768817 1231815 13.60 597826 1579216 18 23:52:25 23:52:25 23:47:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:52:25 23:48:01 eth0 371.76 302.88 1120.97 59.15 0.00 0.00 0.00 0.00 23:52:25 23:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:25 23:48:01 docker0 104.88 80.27 9.29 313.04 0.00 0.00 0.00 0.00 23:52:25 23:49:01 eth0 5.88 2.07 3.78 0.43 0.00 0.00 0.00 0.00 23:52:25 23:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:25 23:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:25 23:50:01 eth0 0.53 0.08 0.06 0.07 0.00 0.00 0.00 0.00 23:52:25 23:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:25 23:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:25 23:51:01 eth0 0.60 0.38 0.28 0.20 0.00 0.00 0.00 0.00 23:52:25 23:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:25 23:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:25 23:52:01 eth0 0.25 0.22 0.08 0.05 0.00 0.00 0.00 0.00 23:52:25 23:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:25 23:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:25 Average: eth0 75.82 61.14 225.09 11.98 0.00 0.00 0.00 0.00 23:52:25 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:25 Average: docker0 20.98 16.06 1.86 62.62 0.00 0.00 0.00 0.00 23:52:25 23:52:25 23:52:25 ---> sar -P ALL: 23:52:25 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/17/21 _x86_64_ (2 CPU) 23:52:25 23:52:25 23:46:30 LINUX RESTART (2 CPU) 23:52:25 23:52:25 23:47:01 CPU %user %nice %system %iowait %steal %idle 23:52:25 23:48:01 all 8.40 0.00 2.76 2.31 0.06 86.46 23:52:25 23:48:01 0 7.71 0.00 3.11 3.11 0.05 86.02 23:52:25 23:48:01 1 9.10 0.00 2.41 1.51 0.07 86.91 23:52:25 23:49:01 all 0.13 0.00 0.04 0.00 0.04 99.78 23:52:25 23:49:01 0 0.08 0.00 0.03 0.00 0.03 99.85 23:52:25 23:49:01 1 0.18 0.00 0.05 0.00 0.05 99.72 23:52:25 23:50:01 all 0.13 0.00 0.05 0.00 0.03 99.80 23:52:25 23:50:01 0 0.07 0.00 0.05 0.00 0.02 99.87 23:52:25 23:50:01 1 0.18 0.00 0.05 0.00 0.03 99.73 23:52:25 23:51:01 all 0.12 0.00 0.03 0.00 0.03 99.82 23:52:25 23:51:01 0 0.03 0.00 0.03 0.00 0.05 99.88 23:52:25 23:51:01 1 0.20 0.00 0.03 0.00 0.02 99.75 23:52:25 23:52:01 all 0.11 0.00 0.04 0.00 0.03 99.82 23:52:25 23:52:01 0 0.03 0.00 0.05 0.00 0.03 99.88 23:52:25 23:52:01 1 0.18 0.00 0.03 0.00 0.03 99.75 23:52:25 Average: all 1.76 0.00 0.58 0.46 0.04 97.17 23:52:25 Average: 0 1.56 0.00 0.65 0.61 0.04 97.14 23:52:25 Average: 1 1.95 0.00 0.51 0.30 0.04 97.20 23:52:25 23:52:25 23:52:25