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 [2021-08-17T23:47:10.069Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-17T23:47:10.159Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-17T23:47:10.192Z] ========================================================= [2021-08-17T23:47:10.192Z] EdgeX Global Pipelines Version Info [2021-08-17T23:47:10.193Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 44472ac5d03ab7452ea09a2b93679c25d827059d # timeout=10 [2021-08-17T23:47:11.434Z] ------------------- [2021-08-17T23:47:11.434Z] stable info: [2021-08-17T23:47:11.434Z] ------------------- [2021-08-17T23:47:11.434Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-17T23:47:11.434Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-17T23:47:11.434Z] Message: update stable to v1.0.205 [2021-08-17T23:47:12.021Z] ------------------- [2021-08-17T23:47:12.021Z] experimental info: [2021-08-17T23:47:12.021Z] ------------------- [2021-08-17T23:47:12.021Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-17T23:47:12.021Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-17T23:47:12.021Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-17T23:47:12.154Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-08-17T23:47:12.180Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-08-17T23:47:12.207Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-17T23:47:12.233Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-17T23:47:12.259Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-17T23:47:12.284Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-17T23:47:12.311Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-17T23:47:12.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-17T23:47:12.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-08-17T23:47:12.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-17T23:47:12.415Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-17T23:47:12.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-17T23:47:12.466Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-08-17T23:47:12.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-17T23:47:12.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-17T23:47:12.542Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T23:47:12.567Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T23:47:12.593Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T23:47:12.618Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T23:47:12.644Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-17T23:47:12.669Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-17T23:47:12.694Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-08-17T23:47:12.719Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-08-17T23:47:12.744Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-17T23:47:12.770Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-17T23:47:12.795Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-08-17T23:47:12.820Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-17T23:47:12.846Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-875 [Pipeline] echo [2021-08-17T23:47:12.872Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-875 [Pipeline] echo [2021-08-17T23:47:12.897Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-875 [Pipeline] echo [2021-08-17T23:47:12.923Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 635502b7f2ee25fb3e71d4d62f18a4ab118952c7 [Pipeline] echo [2021-08-17T23:47:12.948Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 635502b [Pipeline] echo [2021-08-17T23:47:12.973Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-17T23:47:13.436Z] + git log --format=format:%s -1 635502b7f2ee25fb3e71d4d62f18a4ab118952c7 [Pipeline] echo [2021-08-17T23:47:13.491Z] GIT_COMMIT: 635502b7f2ee25fb3e71d4d62f18a4ab118952c7, Commit Message: Merge commit '85ec21c5d3ad693b2638d710fad0e2a53cc19912' into HEAD [Pipeline] echo [2021-08-17T23:47:13.504Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-17T23:47:14.044Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T23:47:14.044Z] [2021-08-17T23:47:14.044Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T23:47:14.381Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T23:47:14.381Z] latest: Pulling from edgex-devops/git-semver [2021-08-17T23:47:14.381Z] 31603596830f: Pulling fs layer [2021-08-17T23:47:14.381Z] d4622e32a9a9: Pulling fs layer [2021-08-17T23:47:14.381Z] 1030fce36090: Pulling fs layer [2021-08-17T23:47:14.381Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-17T23:47:14.381Z] 6c6cb7e1b49b: Waiting [2021-08-17T23:47:14.381Z] d4622e32a9a9: Verifying Checksum [2021-08-17T23:47:14.381Z] d4622e32a9a9: Download complete [2021-08-17T23:47:14.650Z] 31603596830f: Verifying Checksum [2021-08-17T23:47:14.650Z] 31603596830f: Download complete [2021-08-17T23:47:14.922Z] 31603596830f: Pull complete [2021-08-17T23:47:14.922Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-17T23:47:14.922Z] 6c6cb7e1b49b: Download complete [2021-08-17T23:47:14.922Z] d4622e32a9a9: Pull complete [2021-08-17T23:47:14.922Z] 1030fce36090: Verifying Checksum [2021-08-17T23:47:14.922Z] 1030fce36090: Download complete [2021-08-17T23:47:15.508Z] 1030fce36090: Pull complete [2021-08-17T23:47:15.775Z] 6c6cb7e1b49b: Pull complete [2021-08-17T23:47:15.775Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-17T23:47:15.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T23:47:15.775Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-17T23:47:15.880Z] prd-centos7-docker-4c-2g-3211 does not seem to be running inside a container [2021-08-17T23:47:15.942Z] $ 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 [2021-08-17T23:47:16.731Z] $ docker top 350d09c70949ba7ae973c0b40d178abf670dfbc9f36a4647b9636f0dc82f4730 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-17T23:47:16.872Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-17T23:47:16.872Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-17T23:47:16.987Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-17T23:47:16.996Z] $ docker exec 350d09c70949ba7ae973c0b40d178abf670dfbc9f36a4647b9636f0dc82f4730 ssh-agent [2021-08-17T23:47:17.107Z] SSH_AUTH_SOCK=/tmp/ssh-McXWtHzKyCtN/agent.15 [2021-08-17T23:47:17.107Z] SSH_AGENT_PID=22 [2021-08-17T23:47:17.119Z] Running ssh-add (command line suppressed) [2021-08-17T23:47:17.222Z] 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) [2021-08-17T23:47:17.243Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-17T23:47:17.566Z] + git tag --points-at HEAD [Pipeline] } [2021-08-17T23:47:17.586Z] $ docker exec --env ******** --env ******** 350d09c70949ba7ae973c0b40d178abf670dfbc9f36a4647b9636f0dc82f4730 ssh-agent -k [2021-08-17T23:47:17.680Z] unset SSH_AUTH_SOCK; [2021-08-17T23:47:17.681Z] unset SSH_AGENT_PID; [2021-08-17T23:47:17.681Z] echo Agent pid 22 killed; [2021-08-17T23:47:17.696Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-17T23:47:17.750Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-17T23:47:17.750Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-17T23:47:17.872Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-17T23:47:17.874Z] $ docker exec 350d09c70949ba7ae973c0b40d178abf670dfbc9f36a4647b9636f0dc82f4730 ssh-agent [2021-08-17T23:47:17.987Z] SSH_AUTH_SOCK=/tmp/ssh-iI0StQqAKw6P/agent.55 [2021-08-17T23:47:17.987Z] SSH_AGENT_PID=62 [2021-08-17T23:47:17.996Z] Running ssh-add (command line suppressed) [2021-08-17T23:47:18.102Z] 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) [2021-08-17T23:47:18.125Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-17T23:47:18.440Z] + git semver init [2021-08-17T23:47:18.440Z] # -> Open(): unable to determine branch for HEAD [2021-08-17T23:47:18.440Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-875/.git [2021-08-17T23:47:18.440Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-875 [2021-08-17T23:47:18.440Z] # $SEMVER_REMOTE_NAME = origin [2021-08-17T23:47:18.440Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-17T23:47:18.440Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-17T23:47:18.440Z] # $SEMVER_BRANCH = PR-875 [2021-08-17T23:47:18.440Z] # $SEMVER_TEMP = /tmp/semver-367668847 [2021-08-17T23:47:18.440Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-08-17T23:47:20.396Z] # '/tmp/semver-367668847' -> '/w/workspace/ndry_app-functions-sdk-go_PR-875/.semver' [2021-08-17T23:47:20.397Z] # -> Force: false [2021-08-17T23:47:20.397Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-875/.semver [Pipeline] } [2021-08-17T23:47:20.414Z] $ docker exec --env ******** --env ******** 350d09c70949ba7ae973c0b40d178abf670dfbc9f36a4647b9636f0dc82f4730 ssh-agent -k [2021-08-17T23:47:20.516Z] unset SSH_AUTH_SOCK; [2021-08-17T23:47:20.517Z] unset SSH_AGENT_PID; [2021-08-17T23:47:20.517Z] echo Agent pid 62 killed; [2021-08-17T23:47:20.530Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-17T23:47:20.879Z] + git semver [Pipeline] } [2021-08-17T23:47:20.903Z] $ docker stop --time=1 350d09c70949ba7ae973c0b40d178abf670dfbc9f36a4647b9636f0dc82f4730 [2021-08-17T23:47:22.230Z] $ docker rm -f 350d09c70949ba7ae973c0b40d178abf670dfbc9f36a4647b9636f0dc82f4730 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-17T23:47:22.647Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-17T23:47:22.970Z] Stashed 1 file(s) [Pipeline] echo [2021-08-17T23:47:22.973Z] [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 [2021-08-17T23:47:38.134Z] Still waiting to schedule task [2021-08-17T23:47:38.134Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-08-17T23:47:38.136Z] Still waiting to schedule task [2021-08-17T23:47:38.136Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-08-17T23:48:40.309Z] Running on prd-centos7-docker-4c-2g-3214 in /w/workspace/ndry_app-functions-sdk-go_PR-875 [Pipeline] { [Pipeline] ws [2021-08-17T23:48:40.332Z] Running in /w/workspace/app-functions-sdk-go/33 [Pipeline] { [Pipeline] checkout [2021-08-17T23:48:40.451Z] The recommended git tool is: git [2021-08-17T23:48:45.622Z] using credential edgex-jenkins-ssh [2021-08-17T23:48:45.648Z] Cloning the remote Git repository [2021-08-17T23:48:45.544Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-17T23:48:45.619Z] > git init /w/workspace/app-functions-sdk-go/33 # timeout=10 [2021-08-17T23:48:45.655Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-17T23:48:45.656Z] > git --version # timeout=10 [2021-08-17T23:48:45.666Z] > git --version # 'git version 2.24.4' [2021-08-17T23:48:45.667Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T23:48:45.692Z] [INFO] Currently running in a labeled security context [2021-08-17T23:48:45.693Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-17T23:48:45.693Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/33@tmp/jenkins-gitclient-ssh1407921171910307277.key [2021-08-17T23:48:45.716Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T23:48:47.504Z] Merging remotes/origin/main commit 85ec21c5d3ad693b2638d710fad0e2a53cc19912 into PR head commit f9862466792e7d0dcceb1905b0181161eb5fc782 [2021-08-17T23:48:47.632Z] Merge succeeded, producing 59440e4e8890f039b5f677ed2908104d2cfce1af [2021-08-17T23:48:47.633Z] Checking out Revision 59440e4e8890f039b5f677ed2908104d2cfce1af (PR-875) [2021-08-17T23:48:47.034Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-08-17T23:48:47.046Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T23:48:47.060Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-08-17T23:48:47.073Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-17T23:48:47.073Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T23:48:47.074Z] [INFO] Currently running in a labeled security context [2021-08-17T23:48:47.074Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-17T23:48:47.074Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/33@tmp/jenkins-gitclient-ssh5627889904680950261.key [2021-08-17T23:48:47.080Z] > 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 [2021-08-17T23:48:47.512Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T23:48:47.519Z] > git checkout -f f9862466792e7d0dcceb1905b0181161eb5fc782 # timeout=10 [2021-08-17T23:48:47.561Z] > git remote # timeout=10 [2021-08-17T23:48:47.568Z] > git config --get remote.origin.url # timeout=10 [2021-08-17T23:48:47.571Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T23:48:47.572Z] [INFO] Currently running in a labeled security context [2021-08-17T23:48:47.572Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-17T23:48:47.572Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/33@tmp/jenkins-gitclient-ssh678722829226723132.key [2021-08-17T23:48:47.578Z] > git merge 85ec21c5d3ad693b2638d710fad0e2a53cc19912 # timeout=10 [2021-08-17T23:48:47.618Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-17T23:48:47.635Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T23:48:47.652Z] > git checkout -f 59440e4e8890f039b5f677ed2908104d2cfce1af # timeout=10 [2021-08-17T23:48:51.344Z] Commit message: "Merge commit '85ec21c5d3ad693b2638d710fad0e2a53cc19912' into HEAD" [2021-08-17T23:48:51.354Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-08-17T23:48:51.957Z] ========================================================= [2021-08-17T23:48:51.957Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-17T23:48:51.957Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-08-17T23:48:52.382Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-17T23:48:51.346Z] > git rev-list --no-walk 44472ac5d03ab7452ea09a2b93679c25d827059d # timeout=10 [2021-08-17T23:48:57.731Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-17T23:48:57.731Z] 540db60ca938: Pulling fs layer [2021-08-17T23:48:57.731Z] adcc1eea9eea: Pulling fs layer [2021-08-17T23:48:57.731Z] 4c4ab2625f07: Pulling fs layer [2021-08-17T23:48:57.731Z] db62176df00c: Pulling fs layer [2021-08-17T23:48:57.731Z] 3b30891b0d05: Pulling fs layer [2021-08-17T23:48:57.731Z] 06b49ca38bd5: Pulling fs layer [2021-08-17T23:48:57.731Z] c788192a36de: Pulling fs layer [2021-08-17T23:48:57.731Z] a77e37c0d609: Pulling fs layer [2021-08-17T23:48:57.731Z] c3185cebc471: Pulling fs layer [2021-08-17T23:48:57.731Z] 06b49ca38bd5: Waiting [2021-08-17T23:48:57.731Z] c788192a36de: Waiting [2021-08-17T23:48:57.731Z] a77e37c0d609: Waiting [2021-08-17T23:48:57.731Z] c3185cebc471: Waiting [2021-08-17T23:48:57.731Z] db62176df00c: Waiting [2021-08-17T23:48:57.731Z] 3b30891b0d05: Waiting [2021-08-17T23:48:57.731Z] 4c4ab2625f07: Verifying Checksum [2021-08-17T23:48:57.731Z] 4c4ab2625f07: Download complete [2021-08-17T23:48:57.731Z] adcc1eea9eea: Verifying Checksum [2021-08-17T23:48:57.731Z] adcc1eea9eea: Download complete [2021-08-17T23:48:57.731Z] 3b30891b0d05: Verifying Checksum [2021-08-17T23:48:57.731Z] 3b30891b0d05: Download complete [2021-08-17T23:48:57.731Z] 06b49ca38bd5: Verifying Checksum [2021-08-17T23:48:57.731Z] 06b49ca38bd5: Download complete [2021-08-17T23:48:57.731Z] c788192a36de: Verifying Checksum [2021-08-17T23:48:57.731Z] c788192a36de: Download complete [2021-08-17T23:48:57.731Z] 540db60ca938: Verifying Checksum [2021-08-17T23:48:57.731Z] 540db60ca938: Download complete [2021-08-17T23:48:57.999Z] 540db60ca938: Pull complete [2021-08-17T23:48:57.999Z] adcc1eea9eea: Pull complete [2021-08-17T23:48:57.999Z] 4c4ab2625f07: Pull complete [2021-08-17T23:48:58.264Z] a77e37c0d609: Verifying Checksum [2021-08-17T23:48:58.264Z] a77e37c0d609: Download complete [2021-08-17T23:49:01.609Z] c3185cebc471: Verifying Checksum [2021-08-17T23:49:01.609Z] c3185cebc471: Download complete [2021-08-17T23:49:02.200Z] db62176df00c: Verifying Checksum [2021-08-17T23:49:02.200Z] db62176df00c: Download complete [2021-08-17T23:49:05.585Z] db62176df00c: Pull complete [2021-08-17T23:49:05.585Z] 3b30891b0d05: Pull complete [2021-08-17T23:49:05.585Z] 06b49ca38bd5: Pull complete [2021-08-17T23:49:05.585Z] c788192a36de: Pull complete [2021-08-17T23:49:05.585Z] a77e37c0d609: Pull complete [2021-08-17T23:49:07.551Z] c3185cebc471: Pull complete [2021-08-17T23:49:07.551Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-08-17T23:49:07.551Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-17T23:49:07.551Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-08-17T23:49:07.900Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2021-08-17T23:49:08.226Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-17T23:49:08.226Z] . [Pipeline] withDockerContainer [2021-08-17T23:49:08.315Z] prd-centos7-docker-4c-2g-3214 does not seem to be running inside a container [2021-08-17T23:49:08.601Z] $ 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 [2021-08-17T23:49:11.564Z] $ docker top ea10201420de8156845b658f1e3397d9b7c8ca75d06e43adcceb0e451dd54ee2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T23:49:11.969Z] + go version [2021-08-17T23:49:11.970Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-17T23:49:11.987Z] $ docker stop --time=1 ea10201420de8156845b658f1e3397d9b7c8ca75d06e43adcceb0e451dd54ee2 [2021-08-17T23:49:13.190Z] $ docker rm -f ea10201420de8156845b658f1e3397d9b7c8ca75d06e43adcceb0e451dd54ee2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T23:49:13.691Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-17T23:49:13.691Z] . [Pipeline] withDockerContainer [2021-08-17T23:49:13.780Z] prd-centos7-docker-4c-2g-3214 does not seem to be running inside a container [2021-08-17T23:49:13.839Z] $ 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 [2021-08-17T23:49:14.182Z] $ docker top 09673ced31c844480ea39c9a72ca2435eae367557658dd745225b7ff2baeea08 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-17T23:49:14.597Z] + make test [2021-08-17T23:49:14.597Z] make -C ./app-service-template build [2021-08-17T23:49:14.597Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/33/app-service-template' [2021-08-17T23:49:14.597Z] 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 [2021-08-17T23:49:15.180Z] go: github.com/edgexfoundry/app-functions-sdk-go/v2@v2.0.1 requires [2021-08-17T23:49:15.180Z] github.com/fxamacker/cbor/v2@v2.3.0: missing go.sum entry; to add it: [2021-08-17T23:49:15.180Z] go mod download github.com/fxamacker/cbor/v2 [2021-08-17T23:49:15.180Z] make[1]: *** [Makefile:40: build] Error 1 [2021-08-17T23:49:15.180Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/33/app-service-template' [2021-08-17T23:49:15.180Z] make: *** [Makefile:22: build] Error 2 [Pipeline] } [2021-08-17T23:49:15.198Z] $ docker stop --time=1 09673ced31c844480ea39c9a72ca2435eae367557658dd745225b7ff2baeea08 [2021-08-17T23:49:16.403Z] $ 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 [2021-08-17T23:49:17.015Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T23:49:17.015Z] [2021-08-17T23:49:17.015Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T23:49:17.345Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T23:49:17.345Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-17T23:49:17.345Z] b4d181a07f80: Pulling fs layer [2021-08-17T23:49:17.345Z] a1111a8f2ec3: Pulling fs layer [2021-08-17T23:49:17.345Z] ed53099fbce6: Pulling fs layer [2021-08-17T23:49:17.345Z] dc539afda2c1: Pulling fs layer [2021-08-17T23:49:17.345Z] 77bc0d833cb6: Pulling fs layer [2021-08-17T23:49:17.345Z] 9065ff56babe: Pulling fs layer [2021-08-17T23:49:17.345Z] d287ab97295c: Pulling fs layer [2021-08-17T23:49:17.345Z] 77bc0d833cb6: Waiting [2021-08-17T23:49:17.345Z] 9065ff56babe: Waiting [2021-08-17T23:49:17.345Z] dc539afda2c1: Waiting [2021-08-17T23:49:17.345Z] d287ab97295c: Waiting [2021-08-17T23:49:17.609Z] a1111a8f2ec3: Verifying Checksum [2021-08-17T23:49:17.610Z] a1111a8f2ec3: Download complete [2021-08-17T23:49:17.610Z] dc539afda2c1: Verifying Checksum [2021-08-17T23:49:17.610Z] dc539afda2c1: Download complete [2021-08-17T23:49:17.874Z] 77bc0d833cb6: Verifying Checksum [2021-08-17T23:49:17.874Z] 77bc0d833cb6: Download complete [2021-08-17T23:49:17.874Z] 9065ff56babe: Verifying Checksum [2021-08-17T23:49:17.874Z] 9065ff56babe: Download complete [2021-08-17T23:49:17.874Z] ed53099fbce6: Verifying Checksum [2021-08-17T23:49:17.874Z] ed53099fbce6: Download complete [2021-08-17T23:49:18.834Z] b4d181a07f80: Verifying Checksum [2021-08-17T23:49:18.834Z] b4d181a07f80: Download complete [2021-08-17T23:49:19.817Z] b4d181a07f80: Pull complete [2021-08-17T23:49:20.085Z] a1111a8f2ec3: Pull complete [2021-08-17T23:49:20.352Z] ed53099fbce6: Pull complete [2021-08-17T23:49:20.621Z] dc539afda2c1: Pull complete [2021-08-17T23:49:20.887Z] 77bc0d833cb6: Pull complete [2021-08-17T23:49:20.887Z] 9065ff56babe: Pull complete [2021-08-17T23:49:22.835Z] d287ab97295c: Verifying Checksum [2021-08-17T23:49:22.835Z] d287ab97295c: Download complete [2021-08-17T23:49:27.120Z] d287ab97295c: Pull complete [2021-08-17T23:49:27.120Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-17T23:49:27.120Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T23:49:27.120Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-17T23:49:27.220Z] prd-centos7-docker-4c-2g-3214 does not seem to be running inside a container [2021-08-17T23:49:27.295Z] $ 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 [2021-08-17T23:49:30.245Z] $ docker top bc2f233062aef0b5a6f4c33f2121a55341781b7c8d388414d952e570dcbc229c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T23:49:30.965Z] ---> job-cost.sh [2021-08-17T23:49:30.965Z] lf-activate-venv: SKIPPING [2021-08-17T23:49:30.966Z] INFO: No Stack... [2021-08-17T23:49:31.547Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-17T23:49:32.135Z] INFO: Archiving Costs [Pipeline] sh [2021-08-17T23:49:32.461Z] + cat /w/workspace/app-functions-sdk-go/33/archives/cost.csv [2021-08-17T23:49:32.461Z] + cut -d, -f6 [Pipeline] lock [2021-08-17T23:49:32.501Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-33-stack-cost] [2021-08-17T23:49:32.511Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-33-stack-cost] did not exist. Created. [2021-08-17T23:49:32.511Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-17T23:49:33.092Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-17T23:49:33.551Z] Stashed 1 file(s) [Pipeline] } [2021-08-17T23:49:33.564Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-33-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-17T23:49:33.596Z] $ docker stop --time=1 bc2f233062aef0b5a6f4c33f2121a55341781b7c8d388414d952e570dcbc229c [2021-08-17T23:49:34.773Z] $ 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] } [2021-08-17T23:49:35.028Z] Failed in branch amd64 [2021-08-17T23:50:29.739Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3215 in /w/workspace/ndry_app-functions-sdk-go_PR-875 [Pipeline] { [Pipeline] ws [2021-08-17T23:50:29.758Z] Running in /w/workspace/app-functions-sdk-go/33 [Pipeline] { [Pipeline] checkout [2021-08-17T23:50:29.976Z] The recommended git tool is: git [2021-08-17T23:50:35.503Z] using credential edgex-jenkins-ssh [2021-08-17T23:50:35.525Z] Cloning the remote Git repository [2021-08-17T23:50:35.571Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-17T23:50:35.747Z] > git init /w/workspace/app-functions-sdk-go/33 # timeout=10 [2021-08-17T23:50:35.876Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-17T23:50:35.877Z] > git --version # timeout=10 [2021-08-17T23:50:35.915Z] > git --version # 'git version 2.17.1' [2021-08-17T23:50:35.916Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T23:50:36.005Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T23:50:39.807Z] Merging remotes/origin/main commit 85ec21c5d3ad693b2638d710fad0e2a53cc19912 into PR head commit f9862466792e7d0dcceb1905b0181161eb5fc782 [2021-08-17T23:50:40.107Z] Merge succeeded, producing 8d0cc1e9037353d6bcaf5bed96e0590a97aaa2e5 [2021-08-17T23:50:40.107Z] Checking out Revision 8d0cc1e9037353d6bcaf5bed96e0590a97aaa2e5 (PR-875) [2021-08-17T23:50:39.157Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-08-17T23:50:39.184Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T23:50:39.214Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-08-17T23:50:39.252Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-17T23:50:39.253Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T23:50:39.266Z] > 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 [2021-08-17T23:50:39.816Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T23:50:39.838Z] > git checkout -f f9862466792e7d0dcceb1905b0181161eb5fc782 # timeout=10 [2021-08-17T23:50:39.947Z] > git remote # timeout=10 [2021-08-17T23:50:39.964Z] > git config --get remote.origin.url # timeout=10 [2021-08-17T23:50:39.983Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T23:50:39.994Z] > git merge 85ec21c5d3ad693b2638d710fad0e2a53cc19912 # timeout=10 [2021-08-17T23:50:40.077Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-17T23:50:40.102Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T23:50:40.131Z] > git checkout -f 8d0cc1e9037353d6bcaf5bed96e0590a97aaa2e5 # timeout=10 [2021-08-17T23:50:44.280Z] Commit message: "Merge commit '85ec21c5d3ad693b2638d710fad0e2a53cc19912' into HEAD" [2021-08-17T23:50:44.304Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2021-08-17T23:50:44.278Z] > git rev-list --no-walk 44472ac5d03ab7452ea09a2b93679c25d827059d # timeout=10 [Pipeline] echo [2021-08-17T23:50:44.994Z] ========================================================= [2021-08-17T23:50:44.994Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-17T23:50:44.994Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-08-17T23:50:45.537Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-17T23:50:46.527Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-17T23:50:46.527Z] 595b0fe564bb: Pulling fs layer [2021-08-17T23:50:46.527Z] 24495759ef45: Pulling fs layer [2021-08-17T23:50:46.527Z] d148012ef14d: Pulling fs layer [2021-08-17T23:50:46.527Z] e90a11edd702: Pulling fs layer [2021-08-17T23:50:46.527Z] d77568369979: Pulling fs layer [2021-08-17T23:50:46.527Z] fc1c9f9a7f3b: Pulling fs layer [2021-08-17T23:50:46.527Z] 170f2ba95c9a: Pulling fs layer [2021-08-17T23:50:46.527Z] 97ac5df62f85: Pulling fs layer [2021-08-17T23:50:46.527Z] e90a11edd702: Waiting [2021-08-17T23:50:46.527Z] d77568369979: Waiting [2021-08-17T23:50:46.527Z] fc1c9f9a7f3b: Waiting [2021-08-17T23:50:46.527Z] 170f2ba95c9a: Waiting [2021-08-17T23:50:46.527Z] 97ac5df62f85: Waiting [2021-08-17T23:50:46.527Z] d148012ef14d: Verifying Checksum [2021-08-17T23:50:46.527Z] d148012ef14d: Download complete [2021-08-17T23:50:46.527Z] 24495759ef45: Download complete [2021-08-17T23:50:46.527Z] d77568369979: Verifying Checksum [2021-08-17T23:50:46.527Z] d77568369979: Download complete [2021-08-17T23:50:46.809Z] fc1c9f9a7f3b: Download complete [2021-08-17T23:50:46.809Z] 595b0fe564bb: Verifying Checksum [2021-08-17T23:50:46.809Z] 170f2ba95c9a: Verifying Checksum [2021-08-17T23:50:46.809Z] 170f2ba95c9a: Download complete [2021-08-17T23:50:47.408Z] 595b0fe564bb: Pull complete [2021-08-17T23:50:48.017Z] 24495759ef45: Pull complete [2021-08-17T23:50:48.292Z] d148012ef14d: Pull complete [2021-08-17T23:50:50.283Z] 97ac5df62f85: Verifying Checksum [2021-08-17T23:50:50.283Z] 97ac5df62f85: Download complete [2021-08-17T23:50:51.267Z] e90a11edd702: Verifying Checksum [2021-08-17T23:50:51.267Z] e90a11edd702: Download complete [2021-08-17T23:51:03.743Z] e90a11edd702: Pull complete [2021-08-17T23:51:03.743Z] d77568369979: Pull complete [2021-08-17T23:51:03.743Z] fc1c9f9a7f3b: Pull complete [2021-08-17T23:51:03.743Z] 170f2ba95c9a: Pull complete [2021-08-17T23:51:09.202Z] 97ac5df62f85: Pull complete [2021-08-17T23:51:09.202Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-08-17T23:51:09.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-17T23:51:09.202Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-08-17T23:51:09.605Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-17T23:51:09.949Z] + docker inspect -f . ci-base-image-arm64 [2021-08-17T23:51:09.949Z] . [Pipeline] withDockerContainer [2021-08-17T23:51:10.192Z] prd-ubuntu18.04-docker-arm64-4c-16g-3215 does not seem to be running inside a container [2021-08-17T23:51:10.273Z] $ 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 [2021-08-17T23:51:15.594Z] $ docker top ce1dac9d6b594cd4b5a3c51fd70c22efec4a127ff6aae4744a0339b9263ac4f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T23:51:16.598Z] + go version [2021-08-17T23:51:16.598Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-17T23:51:16.617Z] $ docker stop --time=1 ce1dac9d6b594cd4b5a3c51fd70c22efec4a127ff6aae4744a0339b9263ac4f3 [2021-08-17T23:51:18.699Z] $ docker rm -f ce1dac9d6b594cd4b5a3c51fd70c22efec4a127ff6aae4744a0339b9263ac4f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T23:51:19.462Z] + docker inspect -f . ci-base-image-arm64 [2021-08-17T23:51:19.462Z] . [Pipeline] withDockerContainer [2021-08-17T23:51:19.724Z] prd-ubuntu18.04-docker-arm64-4c-16g-3215 does not seem to be running inside a container [2021-08-17T23:51:19.798Z] $ 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 [2021-08-17T23:51:21.649Z] $ docker top 81b79cce9e662ad7b172d8c73c6b8fe584e2273dbda25c8a5594ef7bb6f51911 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-17T23:51:22.642Z] + make test [2021-08-17T23:51:22.642Z] make -C ./app-service-template build [2021-08-17T23:51:22.642Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/33/app-service-template' [2021-08-17T23:51:22.642Z] 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 [2021-08-17T23:51:24.613Z] go: github.com/edgexfoundry/app-functions-sdk-go/v2@v2.0.1 requires [2021-08-17T23:51:24.613Z] github.com/fxamacker/cbor/v2@v2.3.0: missing go.sum entry; to add it: [2021-08-17T23:51:24.613Z] go mod download github.com/fxamacker/cbor/v2 [2021-08-17T23:51:24.613Z] make[1]: *** [Makefile:40: build] Error 1 [2021-08-17T23:51:24.613Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/33/app-service-template' [2021-08-17T23:51:24.613Z] make: *** [Makefile:22: build] Error 2 [Pipeline] } [2021-08-17T23:51:24.634Z] $ docker stop --time=1 81b79cce9e662ad7b172d8c73c6b8fe584e2273dbda25c8a5594ef7bb6f51911 [2021-08-17T23:51:26.565Z] $ 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 [2021-08-17T23:51:27.454Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T23:51:27.454Z] [2021-08-17T23:51:27.454Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-17T23:51:28.318Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T23:51:28.606Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-17T23:51:28.606Z] 448f6bf000e3: Pulling fs layer [2021-08-17T23:51:28.606Z] f757da607395: Pulling fs layer [2021-08-17T23:51:28.606Z] 05883995daec: Pulling fs layer [2021-08-17T23:51:28.606Z] 8603b9c90790: Pulling fs layer [2021-08-17T23:51:28.606Z] 1560dd03e051: Pulling fs layer [2021-08-17T23:51:28.606Z] 27f5ce0e4adf: Pulling fs layer [2021-08-17T23:51:28.606Z] c2d8d7efcc4b: Pulling fs layer [2021-08-17T23:51:28.606Z] 8603b9c90790: Waiting [2021-08-17T23:51:28.606Z] 1560dd03e051: Waiting [2021-08-17T23:51:28.606Z] 27f5ce0e4adf: Waiting [2021-08-17T23:51:28.606Z] c2d8d7efcc4b: Waiting [2021-08-17T23:51:28.606Z] f757da607395: Verifying Checksum [2021-08-17T23:51:28.606Z] f757da607395: Download complete [2021-08-17T23:51:28.904Z] 8603b9c90790: Download complete [2021-08-17T23:51:28.904Z] 1560dd03e051: Verifying Checksum [2021-08-17T23:51:28.904Z] 1560dd03e051: Download complete [2021-08-17T23:51:28.904Z] 27f5ce0e4adf: Verifying Checksum [2021-08-17T23:51:28.904Z] 27f5ce0e4adf: Download complete [2021-08-17T23:51:29.176Z] 05883995daec: Verifying Checksum [2021-08-17T23:51:29.176Z] 05883995daec: Download complete [2021-08-17T23:51:30.157Z] 448f6bf000e3: Verifying Checksum [2021-08-17T23:51:30.157Z] 448f6bf000e3: Download complete [2021-08-17T23:51:32.787Z] c2d8d7efcc4b: Verifying Checksum [2021-08-17T23:51:32.787Z] c2d8d7efcc4b: Download complete [2021-08-17T23:51:33.385Z] 448f6bf000e3: Pull complete [2021-08-17T23:51:33.982Z] f757da607395: Pull complete [2021-08-17T23:51:35.425Z] 05883995daec: Pull complete [2021-08-17T23:51:36.019Z] 8603b9c90790: Pull complete [2021-08-17T23:51:36.996Z] 1560dd03e051: Pull complete [2021-08-17T23:51:37.283Z] 27f5ce0e4adf: Pull complete [2021-08-17T23:51:52.386Z] c2d8d7efcc4b: Pull complete [2021-08-17T23:51:52.387Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-17T23:51:52.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T23:51:52.387Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-17T23:51:52.648Z] prd-ubuntu18.04-docker-arm64-4c-16g-3215 does not seem to be running inside a container [2021-08-17T23:51:52.731Z] $ 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 [2021-08-17T23:51:57.085Z] $ docker top dc05470a165e74e45769ec2826975d9da4d1fd2e7c8cc2edd379dc7d371977da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T23:51:58.072Z] ---> job-cost.sh [2021-08-17T23:51:58.072Z] lf-activate-venv: SKIPPING [2021-08-17T23:51:58.072Z] INFO: No Stack... [2021-08-17T23:51:59.044Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-17T23:51:59.317Z] INFO: Archiving Costs [Pipeline] sh [2021-08-17T23:51:59.979Z] + cut -d, -f6 [2021-08-17T23:51:59.979Z] + cat /w/workspace/app-functions-sdk-go/33/archives/cost.csv [Pipeline] lock [2021-08-17T23:52:00.039Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-33-stack-cost] [2021-08-17T23:52:00.053Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-33-stack-cost] did not exist. Created. [2021-08-17T23:52:00.053Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-17T23:52:00.743Z] /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 [2021-08-17T23:52:01.407Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-17T23:52:01.441Z] Warning: overwriting stash ‘stack-cost’ [2021-08-17T23:52:01.951Z] Stashed 1 file(s) [Pipeline] } [2021-08-17T23:52:01.964Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-33-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-17T23:52:01.996Z] $ docker stop --time=1 dc05470a165e74e45769ec2826975d9da4d1fd2e7c8cc2edd379dc7d371977da [2021-08-17T23:52:03.703Z] $ 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] } [2021-08-17T23:52:04.186Z] 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 [2021-08-17T23:52:05.126Z] + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-875/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-17T23:52:05.467Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T23:52:06.060Z] ---> package-listing.sh [2021-08-17T23:52:06.060Z] ++ facter osfamily [2021-08-17T23:52:06.060Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-17T23:52:06.330Z] + OS_FAMILY=redhat [2021-08-17T23:52:06.330Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-875 [2021-08-17T23:52:06.330Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-17T23:52:06.330Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-17T23:52:06.330Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-17T23:52:06.330Z] + PACKAGES=/tmp/packages_start.txt [2021-08-17T23:52:06.330Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-875 ']' [2021-08-17T23:52:06.330Z] + PACKAGES=/tmp/packages_end.txt [2021-08-17T23:52:06.330Z] + case "${OS_FAMILY}" in [2021-08-17T23:52:06.330Z] + sort [2021-08-17T23:52:06.330Z] + rpm -qa [2021-08-17T23:52:06.914Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-17T23:52:06.914Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-17T23:52:06.914Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-17T23:52:06.914Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-875 ']' [2021-08-17T23:52:06.914Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-875/archives/ [2021-08-17T23:52:06.914Z] + 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 [2021-08-17T23:52:06.930Z] 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 [2021-08-17T23:52:07.228Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-17T23:52:07.813Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T23:52:07.813Z] [2021-08-17T23:52:07.813Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T23:52:08.146Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T23:52:08.146Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-17T23:52:08.146Z] b4d181a07f80: Pulling fs layer [2021-08-17T23:52:08.146Z] a1111a8f2ec3: Pulling fs layer [2021-08-17T23:52:08.146Z] ed53099fbce6: Pulling fs layer [2021-08-17T23:52:08.146Z] dc539afda2c1: Pulling fs layer [2021-08-17T23:52:08.146Z] 77bc0d833cb6: Pulling fs layer [2021-08-17T23:52:08.146Z] 9065ff56babe: Pulling fs layer [2021-08-17T23:52:08.146Z] d287ab97295c: Pulling fs layer [2021-08-17T23:52:08.146Z] 77bc0d833cb6: Waiting [2021-08-17T23:52:08.146Z] 9065ff56babe: Waiting [2021-08-17T23:52:08.146Z] d287ab97295c: Waiting [2021-08-17T23:52:08.146Z] dc539afda2c1: Waiting [2021-08-17T23:52:08.413Z] a1111a8f2ec3: Verifying Checksum [2021-08-17T23:52:08.413Z] a1111a8f2ec3: Download complete [2021-08-17T23:52:08.413Z] dc539afda2c1: Verifying Checksum [2021-08-17T23:52:08.413Z] dc539afda2c1: Download complete [2021-08-17T23:52:08.678Z] 77bc0d833cb6: Verifying Checksum [2021-08-17T23:52:08.678Z] 77bc0d833cb6: Download complete [2021-08-17T23:52:08.678Z] 9065ff56babe: Verifying Checksum [2021-08-17T23:52:08.678Z] 9065ff56babe: Download complete [2021-08-17T23:52:08.678Z] ed53099fbce6: Verifying Checksum [2021-08-17T23:52:08.678Z] ed53099fbce6: Download complete [2021-08-17T23:52:09.643Z] b4d181a07f80: Download complete [2021-08-17T23:52:10.613Z] b4d181a07f80: Pull complete [2021-08-17T23:52:10.881Z] a1111a8f2ec3: Pull complete [2021-08-17T23:52:11.476Z] ed53099fbce6: Pull complete [2021-08-17T23:52:11.476Z] dc539afda2c1: Pull complete [2021-08-17T23:52:11.742Z] 77bc0d833cb6: Pull complete [2021-08-17T23:52:11.742Z] 9065ff56babe: Pull complete [2021-08-17T23:52:13.165Z] d287ab97295c: Verifying Checksum [2021-08-17T23:52:13.165Z] d287ab97295c: Download complete [2021-08-17T23:52:17.466Z] d287ab97295c: Pull complete [2021-08-17T23:52:17.466Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-17T23:52:17.466Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T23:52:17.466Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-17T23:52:17.555Z] prd-centos7-docker-4c-2g-3211 does not seem to be running inside a container [2021-08-17T23:52:17.607Z] $ 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 [2021-08-17T23:52:19.927Z] $ docker top af55f0ac87f15e8e509d93816492066116044f392b40031aaad811de4a02eb2b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T23:52:20.322Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-17T23:52:20.645Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-17T23:52:20.957Z] + ls /var/log/sa-host [2021-08-17T23:52:20.957Z] + sadf -c /var/log/sa-host/sa05 [2021-08-17T23:52:20.957Z] file_magic: OK [2021-08-17T23:52:20.957Z] HZ: Using current value: 100 [2021-08-17T23:52:20.957Z] file_header: OK [2021-08-17T23:52:20.957Z] 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 [2021-08-17T23:52:20.957Z] Statistics: [2021-08-17T23:52:20.957Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-17T23:52:20.957Z] File successfully converted to sysstat format version 12.0.3 [2021-08-17T23:52:20.957Z] + sadf -c /var/log/sa-host/sa17 [2021-08-17T23:52:20.957Z] file_magic: OK [2021-08-17T23:52:20.957Z] HZ: Using current value: 100 [2021-08-17T23:52:20.957Z] file_header: OK [2021-08-17T23:52:20.957Z] 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 [2021-08-17T23:52:20.957Z] Statistics: [2021-08-17T23:52:20.957Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-17T23:52:20.957Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-17T23:52:21.153Z] provisioning config files... [2021-08-17T23:52:21.178Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/config7949629346044043491tmp [Pipeline] { [Pipeline] echo [2021-08-17T23:52:21.208Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T23:52:21.512Z] ---> create-netrc.sh [Pipeline] } [2021-08-17T23:52:21.526Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-17T23:52:21.911Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-17T23:52:21.927Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T23:52:22.240Z] ---> sudo-logs.sh [2021-08-17T23:52:22.240Z] Archiving 'sudo' log.. [2021-08-17T23:52:22.240Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-3211.vexxhost.local: Name or service not known [2021-08-17T23:52:22.240Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-3211.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-17T23:52:22.307Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T23:52:22.619Z] ---> job-cost.sh [2021-08-17T23:52:22.619Z] lf-activate-venv: SKIPPING [2021-08-17T23:52:22.619Z] DEBUG: total: 0.18000000715255737 [2021-08-17T23:52:22.619Z] INFO: Retrieving Stack Cost... [2021-08-17T23:52:23.202Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-17T23:52:23.468Z] INFO: Archiving Costs [Pipeline] echo [2021-08-17T23:52:23.487Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T23:52:23.816Z] ---> logs-deploy.sh [2021-08-17T23:52:23.816Z] lf-activate-venv: SKIPPING [2021-08-17T23:52:23.816Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-875/33 [2021-08-17T23:52:23.816Z] INFO: archiving workspace using pattern(s): [2021-08-17T23:52:24.403Z] Archives upload complete. [2021-08-17T23:52:24.671Z] INFO: archiving logs to Nexus