Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from df76cb4b79cd8b3ffa5d26b9526444afff4457e7+85ec21c5d3ad693b2638d710fad0e2a53cc19912 (fa055e39df6664879c45473755451532d63191fe) 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-ssh6376622746486486336.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-ssh8163935792883593305.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-921/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-921/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1586155001463601560.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-ssh4674058229609796135.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-921/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-921/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2347519395068642684.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-3210 in /w/workspace/ndry_app-functions-sdk-go_PR-921 [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-921 # 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-921@tmp/jenkins-gitclient-ssh4117525734752192730.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-921@tmp/jenkins-gitclient-ssh7496441549238752535.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/921/head:refs/remotes/origin/PR-921 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 85ec21c5d3ad693b2638d710fad0e2a53cc19912 into PR head commit df76cb4b79cd8b3ffa5d26b9526444afff4457e7 Merge succeeded, producing 365df5c0b0d050fe48653b43e7973ffc3e7a1b42 Checking out Revision 365df5c0b0d050fe48653b43e7973ffc3e7a1b42 (PR-921) > git config core.sparsecheckout # timeout=10 > git checkout -f df76cb4b79cd8b3ffa5d26b9526444afff4457e7 # 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-921@tmp/jenkins-gitclient-ssh6074539174407963768.key > git merge 85ec21c5d3ad693b2638d710fad0e2a53cc19912 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 365df5c0b0d050fe48653b43e7973ffc3e7a1b42 # 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:46:16.587Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-17T23:46:16.682Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-17T23:46:16.713Z] ========================================================= [2021-08-17T23:46:16.713Z] EdgeX Global Pipelines Version Info [2021-08-17T23:46:16.713Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk fa36b81859cf16732b90a930df8741d05828fc9f # timeout=10 [2021-08-17T23:46:17.969Z] ------------------- [2021-08-17T23:46:17.969Z] stable info: [2021-08-17T23:46:17.969Z] ------------------- [2021-08-17T23:46:17.969Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-17T23:46:17.969Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-17T23:46:17.969Z] Message: update stable to v1.0.205 [2021-08-17T23:46:18.237Z] ------------------- [2021-08-17T23:46:18.237Z] experimental info: [2021-08-17T23:46:18.237Z] ------------------- [2021-08-17T23:46:18.237Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-17T23:46:18.237Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-17T23:46:18.237Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-17T23:46:18.373Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-08-17T23:46:18.399Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-08-17T23:46:18.436Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-17T23:46:18.463Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-17T23:46:18.489Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-17T23:46:18.516Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-17T23:46:18.542Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-17T23:46:18.568Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-17T23:46:18.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-08-17T23:46:18.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-17T23:46:18.648Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-17T23:46:18.681Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-17T23:46:18.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-08-17T23:46:18.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-17T23:46:18.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-17T23:46:18.788Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T23:46:18.816Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T23:46:18.843Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T23:46:18.869Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T23:46:18.897Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-17T23:46:18.922Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-17T23:46:18.948Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-08-17T23:46:18.974Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-08-17T23:46:19.001Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-17T23:46:19.028Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-17T23:46:19.056Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-08-17T23:46:19.083Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-17T23:46:19.111Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-921 [Pipeline] echo [2021-08-17T23:46:19.139Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-921 [Pipeline] echo [2021-08-17T23:46:19.166Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-921 [Pipeline] echo [2021-08-17T23:46:19.193Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 365df5c0b0d050fe48653b43e7973ffc3e7a1b42 [Pipeline] echo [2021-08-17T23:46:19.222Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 365df5c [Pipeline] echo [2021-08-17T23:46:19.253Z] [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:46:19.693Z] + git log --format=format:%s -1 365df5c0b0d050fe48653b43e7973ffc3e7a1b42 [Pipeline] echo [2021-08-17T23:46:19.750Z] GIT_COMMIT: 365df5c0b0d050fe48653b43e7973ffc3e7a1b42, Commit Message: Merge commit '85ec21c5d3ad693b2638d710fad0e2a53cc19912' into HEAD [Pipeline] echo [2021-08-17T23:46:19.770Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-17T23:46:20.323Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T23:46:20.323Z] [2021-08-17T23:46:20.323Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T23:46:20.857Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T23:46:20.857Z] latest: Pulling from edgex-devops/git-semver [2021-08-17T23:46:20.857Z] 31603596830f: Pulling fs layer [2021-08-17T23:46:20.857Z] d4622e32a9a9: Pulling fs layer [2021-08-17T23:46:20.857Z] 1030fce36090: Pulling fs layer [2021-08-17T23:46:20.857Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-17T23:46:20.857Z] 6c6cb7e1b49b: Waiting [2021-08-17T23:46:20.857Z] d4622e32a9a9: Verifying Checksum [2021-08-17T23:46:20.857Z] d4622e32a9a9: Download complete [2021-08-17T23:46:21.128Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-17T23:46:21.128Z] 6c6cb7e1b49b: Download complete [2021-08-17T23:46:21.128Z] 31603596830f: Download complete [2021-08-17T23:46:21.128Z] 1030fce36090: Verifying Checksum [2021-08-17T23:46:21.128Z] 1030fce36090: Download complete [2021-08-17T23:46:21.406Z] 31603596830f: Pull complete [2021-08-17T23:46:21.406Z] d4622e32a9a9: Pull complete [2021-08-17T23:46:21.999Z] 1030fce36090: Pull complete [2021-08-17T23:46:21.999Z] 6c6cb7e1b49b: Pull complete [2021-08-17T23:46:21.999Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-17T23:46:21.999Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T23:46:21.999Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-17T23:46:22.097Z] prd-centos7-docker-4c-2g-3210 does not seem to be running inside a container [2021-08-17T23:46:22.153Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-921 -v /w/workspace/ndry_app-functions-sdk-go_PR-921:/w/workspace/ndry_app-functions-sdk-go_PR-921:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-921@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-921@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-17T23:46:23.112Z] $ docker top 9ff063729beec2e1589cb29ff5f4d167c092bff854075186535b37b05be28b5d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-17T23:46:23.262Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-17T23:46:23.262Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-17T23:46:23.383Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-17T23:46:23.385Z] $ docker exec 9ff063729beec2e1589cb29ff5f4d167c092bff854075186535b37b05be28b5d ssh-agent [2021-08-17T23:46:23.503Z] SSH_AUTH_SOCK=/tmp/ssh-0hdRHAC3wihn/agent.14 [2021-08-17T23:46:23.503Z] SSH_AGENT_PID=20 [2021-08-17T23:46:23.515Z] Running ssh-add (command line suppressed) [2021-08-17T23:46:23.611Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/private_key_998668025880242587.key (/w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/private_key_998668025880242587.key) [2021-08-17T23:46:23.633Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-17T23:46:23.951Z] + git tag --points-at HEAD [Pipeline] } [2021-08-17T23:46:23.972Z] $ docker exec --env ******** --env ******** 9ff063729beec2e1589cb29ff5f4d167c092bff854075186535b37b05be28b5d ssh-agent -k [2021-08-17T23:46:24.072Z] unset SSH_AUTH_SOCK; [2021-08-17T23:46:24.072Z] unset SSH_AGENT_PID; [2021-08-17T23:46:24.072Z] echo Agent pid 20 killed; [2021-08-17T23:46:24.088Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-17T23:46:24.140Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-17T23:46:24.140Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-17T23:46:24.257Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-17T23:46:24.259Z] $ docker exec 9ff063729beec2e1589cb29ff5f4d167c092bff854075186535b37b05be28b5d ssh-agent [2021-08-17T23:46:24.391Z] SSH_AUTH_SOCK=/tmp/ssh-cHfPpi5auxlr/agent.53 [2021-08-17T23:46:24.391Z] SSH_AGENT_PID=59 [2021-08-17T23:46:24.400Z] Running ssh-add (command line suppressed) [2021-08-17T23:46:24.507Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/private_key_1825623365698813470.key (/w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/private_key_1825623365698813470.key) [2021-08-17T23:46:24.735Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-17T23:46:25.061Z] + git semver init [2021-08-17T23:46:25.061Z] # -> Open(): unable to determine branch for HEAD [2021-08-17T23:46:25.061Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-921/.git [2021-08-17T23:46:25.061Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-921 [2021-08-17T23:46:25.061Z] # $SEMVER_REMOTE_NAME = origin [2021-08-17T23:46:25.061Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-17T23:46:25.061Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-17T23:46:25.061Z] # $SEMVER_BRANCH = PR-921 [2021-08-17T23:46:25.061Z] # $SEMVER_TEMP = /tmp/semver-764159665 [2021-08-17T23:46:25.061Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-08-17T23:46:27.655Z] # '/tmp/semver-764159665' -> '/w/workspace/ndry_app-functions-sdk-go_PR-921/.semver' [2021-08-17T23:46:27.655Z] # -> Force: false [2021-08-17T23:46:27.655Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-921/.semver [Pipeline] } [2021-08-17T23:46:27.670Z] $ docker exec --env ******** --env ******** 9ff063729beec2e1589cb29ff5f4d167c092bff854075186535b37b05be28b5d ssh-agent -k [2021-08-17T23:46:27.778Z] unset SSH_AUTH_SOCK; [2021-08-17T23:46:27.778Z] unset SSH_AGENT_PID; [2021-08-17T23:46:27.779Z] echo Agent pid 59 killed; [2021-08-17T23:46:27.796Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-17T23:46:28.156Z] + git semver [Pipeline] } [2021-08-17T23:46:28.178Z] $ docker stop --time=1 9ff063729beec2e1589cb29ff5f4d167c092bff854075186535b37b05be28b5d [2021-08-17T23:46:29.539Z] $ docker rm -f 9ff063729beec2e1589cb29ff5f4d167c092bff854075186535b37b05be28b5d [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-17T23:46:29.926Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-17T23:46:30.256Z] Stashed 1 file(s) [Pipeline] echo [2021-08-17T23:46:30.259Z] [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:46:45.430Z] Still waiting to schedule task [2021-08-17T23:46:45.431Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-08-17T23:46:45.433Z] Still waiting to schedule task [2021-08-17T23:46:45.433Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-08-17T23:47:54.761Z] Running on prd-centos7-docker-4c-2g-3213 in /w/workspace/ndry_app-functions-sdk-go_PR-921 [Pipeline] { [Pipeline] ws [2021-08-17T23:47:54.783Z] Running in /w/workspace/app-functions-sdk-go/12 [Pipeline] { [Pipeline] checkout [2021-08-17T23:47:54.906Z] The recommended git tool is: git [2021-08-17T23:47:57.731Z] using credential edgex-jenkins-ssh [2021-08-17T23:47:57.746Z] Cloning the remote Git repository [2021-08-17T23:47:57.277Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-17T23:47:57.348Z] > git init /w/workspace/app-functions-sdk-go/12 # timeout=10 [2021-08-17T23:47:57.379Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-17T23:47:57.380Z] > git --version # timeout=10 [2021-08-17T23:47:57.389Z] > git --version # 'git version 2.24.4' [2021-08-17T23:47:57.390Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T23:47:57.416Z] [INFO] Currently running in a labeled security context [2021-08-17T23:47:57.416Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-17T23:47:57.416Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/12@tmp/jenkins-gitclient-ssh3460575126352984070.key [2021-08-17T23:47:57.437Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T23:47:59.941Z] Merging remotes/origin/main commit 85ec21c5d3ad693b2638d710fad0e2a53cc19912 into PR head commit df76cb4b79cd8b3ffa5d26b9526444afff4457e7 [2021-08-17T23:48:00.063Z] Merge succeeded, producing 7efc0529a34b019d763ffc11bd965359865644bf [2021-08-17T23:48:00.063Z] Checking out Revision 7efc0529a34b019d763ffc11bd965359865644bf (PR-921) [2021-08-17T23:47:59.070Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-08-17T23:47:59.087Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T23:47:59.102Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-08-17T23:47:59.120Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-17T23:47:59.121Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T23:47:59.121Z] [INFO] Currently running in a labeled security context [2021-08-17T23:47:59.122Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-17T23:47:59.122Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/12@tmp/jenkins-gitclient-ssh7639044655098438565.key [2021-08-17T23:47:59.131Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/921/head:refs/remotes/origin/PR-921 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-17T23:47:59.610Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T23:47:59.623Z] > git checkout -f df76cb4b79cd8b3ffa5d26b9526444afff4457e7 # timeout=10 [2021-08-17T23:47:59.673Z] > git remote # timeout=10 [2021-08-17T23:47:59.679Z] > git config --get remote.origin.url # timeout=10 [2021-08-17T23:47:59.687Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T23:47:59.689Z] [INFO] Currently running in a labeled security context [2021-08-17T23:47:59.689Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-17T23:47:59.689Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/12@tmp/jenkins-gitclient-ssh5694409353551431483.key [2021-08-17T23:47:59.695Z] > git merge 85ec21c5d3ad693b2638d710fad0e2a53cc19912 # timeout=10 [2021-08-17T23:47:59.722Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-17T23:47:59.735Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T23:47:59.744Z] > git checkout -f 7efc0529a34b019d763ffc11bd965359865644bf # timeout=10 [2021-08-17T23:48:03.544Z] Commit message: "Merge commit '85ec21c5d3ad693b2638d710fad0e2a53cc19912' into HEAD" [2021-08-17T23:48:03.627Z] 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:04.260Z] ========================================================= [2021-08-17T23:48:04.260Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-17T23:48:04.260Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [2021-08-17T23:48:03.575Z] > git rev-list --no-walk fa36b81859cf16732b90a930df8741d05828fc9f # timeout=10 [Pipeline] sh [2021-08-17T23:48:04.700Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-17T23:48:04.969Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-17T23:48:04.969Z] 540db60ca938: Pulling fs layer [2021-08-17T23:48:04.969Z] adcc1eea9eea: Pulling fs layer [2021-08-17T23:48:04.969Z] 4c4ab2625f07: Pulling fs layer [2021-08-17T23:48:04.969Z] db62176df00c: Pulling fs layer [2021-08-17T23:48:04.969Z] 3b30891b0d05: Pulling fs layer [2021-08-17T23:48:04.969Z] 06b49ca38bd5: Pulling fs layer [2021-08-17T23:48:04.969Z] c788192a36de: Pulling fs layer [2021-08-17T23:48:04.969Z] a77e37c0d609: Pulling fs layer [2021-08-17T23:48:04.969Z] c3185cebc471: Pulling fs layer [2021-08-17T23:48:04.969Z] db62176df00c: Waiting [2021-08-17T23:48:04.969Z] 3b30891b0d05: Waiting [2021-08-17T23:48:04.969Z] 06b49ca38bd5: Waiting [2021-08-17T23:48:04.969Z] c788192a36de: Waiting [2021-08-17T23:48:04.969Z] a77e37c0d609: Waiting [2021-08-17T23:48:04.969Z] c3185cebc471: Waiting [2021-08-17T23:48:04.969Z] 4c4ab2625f07: Verifying Checksum [2021-08-17T23:48:04.969Z] 4c4ab2625f07: Download complete [2021-08-17T23:48:04.969Z] adcc1eea9eea: Download complete [2021-08-17T23:48:04.969Z] 3b30891b0d05: Verifying Checksum [2021-08-17T23:48:04.969Z] 3b30891b0d05: Download complete [2021-08-17T23:48:04.969Z] 06b49ca38bd5: Verifying Checksum [2021-08-17T23:48:04.969Z] 06b49ca38bd5: Download complete [2021-08-17T23:48:04.969Z] c788192a36de: Verifying Checksum [2021-08-17T23:48:04.969Z] c788192a36de: Download complete [2021-08-17T23:48:05.237Z] 540db60ca938: Verifying Checksum [2021-08-17T23:48:05.237Z] 540db60ca938: Pull complete [2021-08-17T23:48:05.508Z] adcc1eea9eea: Pull complete [2021-08-17T23:48:05.508Z] 4c4ab2625f07: Pull complete [2021-08-17T23:48:06.094Z] a77e37c0d609: Verifying Checksum [2021-08-17T23:48:06.094Z] a77e37c0d609: Download complete [2021-08-17T23:48:09.443Z] c3185cebc471: Verifying Checksum [2021-08-17T23:48:09.443Z] c3185cebc471: Download complete [2021-08-17T23:48:09.710Z] db62176df00c: Verifying Checksum [2021-08-17T23:48:09.710Z] db62176df00c: Download complete [2021-08-17T23:48:13.074Z] db62176df00c: Pull complete [2021-08-17T23:48:13.074Z] 3b30891b0d05: Pull complete [2021-08-17T23:48:13.340Z] 06b49ca38bd5: Pull complete [2021-08-17T23:48:13.340Z] c788192a36de: Pull complete [2021-08-17T23:48:13.340Z] a77e37c0d609: Pull complete [2021-08-17T23:48:15.946Z] c3185cebc471: Pull complete [2021-08-17T23:48:15.946Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-08-17T23:48:15.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-17T23:48:15.946Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-08-17T23:48:16.302Z] + 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:48:16.665Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-17T23:48:16.666Z] . [Pipeline] withDockerContainer [2021-08-17T23:48:16.770Z] prd-centos7-docker-4c-2g-3213 does not seem to be running inside a container [2021-08-17T23:48:16.828Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/12 -v /w/workspace/app-functions-sdk-go/12:/w/workspace/app-functions-sdk-go/12:rw,z -v /w/workspace/app-functions-sdk-go/12@tmp:/w/workspace/app-functions-sdk-go/12@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:48:18.967Z] $ docker top 13c1e33a9f59c6d6a8575528a31be8555f3f57949bd3ad69fa3fdf9cfbe7f4b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T23:48:19.373Z] + go version [2021-08-17T23:48:19.373Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-17T23:48:19.391Z] $ docker stop --time=1 13c1e33a9f59c6d6a8575528a31be8555f3f57949bd3ad69fa3fdf9cfbe7f4b2 [2021-08-17T23:48:20.648Z] $ docker rm -f 13c1e33a9f59c6d6a8575528a31be8555f3f57949bd3ad69fa3fdf9cfbe7f4b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T23:48:21.150Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-17T23:48:21.150Z] . [Pipeline] withDockerContainer [2021-08-17T23:48:21.251Z] prd-centos7-docker-4c-2g-3213 does not seem to be running inside a container [2021-08-17T23:48:21.308Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/12 -v /w/workspace/app-functions-sdk-go/12:/w/workspace/app-functions-sdk-go/12:rw,z -v /w/workspace/app-functions-sdk-go/12@tmp:/w/workspace/app-functions-sdk-go/12@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:48:21.745Z] $ docker top 85a4c13d1acf5c320aa6d2d9bdd1eccb39bfbb6bd8e50c10cba9654d10c2eda0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-17T23:48:22.151Z] + make test [2021-08-17T23:48:22.151Z] make -C ./app-service-template build [2021-08-17T23:48:22.151Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/12/app-service-template' [2021-08-17T23:48:22.151Z] 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:48:23.113Z] go: github.com/edgexfoundry/app-functions-sdk-go/v2@v2.0.1 requires [2021-08-17T23:48:23.113Z] github.com/google/uuid@v1.3.0: missing go.sum entry; to add it: [2021-08-17T23:48:23.113Z] go mod download github.com/google/uuid [2021-08-17T23:48:23.113Z] make[1]: *** [Makefile:40: build] Error 1 [2021-08-17T23:48:23.113Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/12/app-service-template' [2021-08-17T23:48:23.113Z] make: *** [Makefile:22: build] Error 2 [Pipeline] } [2021-08-17T23:48:23.136Z] $ docker stop --time=1 85a4c13d1acf5c320aa6d2d9bdd1eccb39bfbb6bd8e50c10cba9654d10c2eda0 [2021-08-17T23:48:24.400Z] $ docker rm -f 85a4c13d1acf5c320aa6d2d9bdd1eccb39bfbb6bd8e50c10cba9654d10c2eda0 [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:48:25.009Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T23:48:25.009Z] [2021-08-17T23:48:25.009Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T23:48:25.339Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T23:48:25.339Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-17T23:48:25.339Z] b4d181a07f80: Pulling fs layer [2021-08-17T23:48:25.339Z] a1111a8f2ec3: Pulling fs layer [2021-08-17T23:48:25.339Z] ed53099fbce6: Pulling fs layer [2021-08-17T23:48:25.339Z] dc539afda2c1: Pulling fs layer [2021-08-17T23:48:25.339Z] 77bc0d833cb6: Pulling fs layer [2021-08-17T23:48:25.339Z] 9065ff56babe: Pulling fs layer [2021-08-17T23:48:25.339Z] d287ab97295c: Pulling fs layer [2021-08-17T23:48:25.339Z] 77bc0d833cb6: Waiting [2021-08-17T23:48:25.339Z] 9065ff56babe: Waiting [2021-08-17T23:48:25.339Z] d287ab97295c: Waiting [2021-08-17T23:48:25.339Z] dc539afda2c1: Waiting [2021-08-17T23:48:25.606Z] a1111a8f2ec3: Verifying Checksum [2021-08-17T23:48:25.606Z] a1111a8f2ec3: Download complete [2021-08-17T23:48:25.606Z] dc539afda2c1: Verifying Checksum [2021-08-17T23:48:25.606Z] dc539afda2c1: Download complete [2021-08-17T23:48:25.606Z] 77bc0d833cb6: Verifying Checksum [2021-08-17T23:48:25.606Z] 77bc0d833cb6: Download complete [2021-08-17T23:48:25.606Z] 9065ff56babe: Verifying Checksum [2021-08-17T23:48:25.606Z] 9065ff56babe: Download complete [2021-08-17T23:48:26.187Z] ed53099fbce6: Verifying Checksum [2021-08-17T23:48:26.187Z] ed53099fbce6: Download complete [2021-08-17T23:48:26.786Z] b4d181a07f80: Verifying Checksum [2021-08-17T23:48:26.786Z] b4d181a07f80: Download complete [2021-08-17T23:48:27.762Z] b4d181a07f80: Pull complete [2021-08-17T23:48:28.028Z] a1111a8f2ec3: Pull complete [2021-08-17T23:48:28.627Z] ed53099fbce6: Pull complete [2021-08-17T23:48:28.627Z] dc539afda2c1: Pull complete [2021-08-17T23:48:28.899Z] 77bc0d833cb6: Pull complete [2021-08-17T23:48:29.167Z] 9065ff56babe: Pull complete [2021-08-17T23:48:30.141Z] d287ab97295c: Download complete [2021-08-17T23:48:35.537Z] d287ab97295c: Pull complete [2021-08-17T23:48:35.537Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-17T23:48:35.537Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T23:48:35.537Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-17T23:48:35.640Z] prd-centos7-docker-4c-2g-3213 does not seem to be running inside a container [2021-08-17T23:48:35.697Z] $ 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/12 -v /w/workspace/app-functions-sdk-go/12:/w/workspace/app-functions-sdk-go/12:rw,z -v /w/workspace/app-functions-sdk-go/12@tmp:/w/workspace/app-functions-sdk-go/12@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:48:38.191Z] $ docker top 7420c482d0654cd89fc800f65e45d8891226fc5ed20b30bca3505bd063d2025f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T23:48:38.692Z] ---> job-cost.sh [2021-08-17T23:48:38.692Z] lf-activate-venv: SKIPPING [2021-08-17T23:48:38.692Z] INFO: No Stack... [2021-08-17T23:48:40.141Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-17T23:48:40.408Z] INFO: Archiving Costs [Pipeline] sh [2021-08-17T23:48:40.726Z] + cut -d, -f6 [2021-08-17T23:48:40.726Z] + cat /w/workspace/app-functions-sdk-go/12/archives/cost.csv [Pipeline] lock [2021-08-17T23:48:40.767Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-12-stack-cost] [2021-08-17T23:48:40.781Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-12-stack-cost] did not exist. Created. [2021-08-17T23:48:40.781Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-17T23:48:41.132Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-17T23:48:41.395Z] Stashed 1 file(s) [Pipeline] } [2021-08-17T23:48:41.414Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-12-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-17T23:48:41.448Z] $ docker stop --time=1 7420c482d0654cd89fc800f65e45d8891226fc5ed20b30bca3505bd063d2025f [2021-08-17T23:48:42.616Z] $ docker rm -f 7420c482d0654cd89fc800f65e45d8891226fc5ed20b30bca3505bd063d2025f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-17T23:48:45.106Z] Failed in branch amd64 [2021-08-17T23:48:49.986Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3212 in /w/workspace/ndry_app-functions-sdk-go_PR-921 [Pipeline] { [Pipeline] ws [2021-08-17T23:48:50.007Z] Running in /w/workspace/app-functions-sdk-go/12 [Pipeline] { [Pipeline] checkout [2021-08-17T23:48:50.242Z] The recommended git tool is: git [2021-08-17T23:48:56.309Z] using credential edgex-jenkins-ssh [2021-08-17T23:48:56.346Z] Cloning the remote Git repository [2021-08-17T23:48:56.429Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-17T23:48:56.555Z] > git init /w/workspace/app-functions-sdk-go/12 # timeout=10 [2021-08-17T23:48:56.659Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-17T23:48:56.660Z] > git --version # timeout=10 [2021-08-17T23:48:56.683Z] > git --version # 'git version 2.17.1' [2021-08-17T23:48:56.684Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T23:48:56.774Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T23:49:01.678Z] Merging remotes/origin/main commit 85ec21c5d3ad693b2638d710fad0e2a53cc19912 into PR head commit df76cb4b79cd8b3ffa5d26b9526444afff4457e7 [2021-08-17T23:49:00.888Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-08-17T23:49:00.910Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T23:49:00.945Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-08-17T23:49:00.989Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-17T23:49:00.990Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T23:49:01.011Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/921/head:refs/remotes/origin/PR-921 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-17T23:49:01.706Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T23:49:01.721Z] > git checkout -f df76cb4b79cd8b3ffa5d26b9526444afff4457e7 # timeout=10 [2021-08-17T23:49:01.855Z] > git remote # timeout=10 [2021-08-17T23:49:01.875Z] > git config --get remote.origin.url # timeout=10 [2021-08-17T23:49:01.894Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T23:49:01.911Z] > git merge 85ec21c5d3ad693b2638d710fad0e2a53cc19912 # timeout=10 [2021-08-17T23:49:02.026Z] Merge succeeded, producing 98dcd45b9d63f1c9818831586b1da897cf991a45 [2021-08-17T23:49:02.027Z] Checking out Revision 98dcd45b9d63f1c9818831586b1da897cf991a45 (PR-921) [2021-08-17T23:49:02.010Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-17T23:49:02.039Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T23:49:02.067Z] > git checkout -f 98dcd45b9d63f1c9818831586b1da897cf991a45 # timeout=10 [2021-08-17T23:49:06.391Z] Commit message: "Merge commit '85ec21c5d3ad693b2638d710fad0e2a53cc19912' into HEAD" [2021-08-17T23:49:06.416Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-08-17T23:49:06.403Z] > git rev-list --no-walk fa36b81859cf16732b90a930df8741d05828fc9f # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-08-17T23:49:07.133Z] ========================================================= [2021-08-17T23:49:07.133Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-17T23:49:07.133Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-08-17T23:49:07.742Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-17T23:49:08.732Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-17T23:49:08.732Z] 595b0fe564bb: Pulling fs layer [2021-08-17T23:49:08.732Z] 24495759ef45: Pulling fs layer [2021-08-17T23:49:08.732Z] d148012ef14d: Pulling fs layer [2021-08-17T23:49:08.732Z] e90a11edd702: Pulling fs layer [2021-08-17T23:49:08.732Z] d77568369979: Pulling fs layer [2021-08-17T23:49:08.732Z] fc1c9f9a7f3b: Pulling fs layer [2021-08-17T23:49:08.732Z] e90a11edd702: Waiting [2021-08-17T23:49:08.732Z] 170f2ba95c9a: Pulling fs layer [2021-08-17T23:49:08.732Z] 97ac5df62f85: Pulling fs layer [2021-08-17T23:49:08.732Z] d77568369979: Waiting [2021-08-17T23:49:08.732Z] fc1c9f9a7f3b: Waiting [2021-08-17T23:49:08.732Z] 170f2ba95c9a: Waiting [2021-08-17T23:49:08.732Z] 97ac5df62f85: Waiting [2021-08-17T23:49:08.732Z] d148012ef14d: Download complete [2021-08-17T23:49:08.732Z] 24495759ef45: Verifying Checksum [2021-08-17T23:49:08.732Z] 24495759ef45: Download complete [2021-08-17T23:49:08.732Z] d77568369979: Verifying Checksum [2021-08-17T23:49:08.732Z] d77568369979: Download complete [2021-08-17T23:49:08.732Z] fc1c9f9a7f3b: Verifying Checksum [2021-08-17T23:49:08.732Z] fc1c9f9a7f3b: Download complete [2021-08-17T23:49:09.034Z] 595b0fe564bb: Verifying Checksum [2021-08-17T23:49:09.034Z] 595b0fe564bb: Download complete [2021-08-17T23:49:09.034Z] 170f2ba95c9a: Verifying Checksum [2021-08-17T23:49:09.034Z] 170f2ba95c9a: Download complete [2021-08-17T23:49:09.645Z] 595b0fe564bb: Pull complete [2021-08-17T23:49:10.253Z] 24495759ef45: Pull complete [2021-08-17T23:49:10.854Z] d148012ef14d: Pull complete [2021-08-17T23:49:12.325Z] 97ac5df62f85: Verifying Checksum [2021-08-17T23:49:12.325Z] 97ac5df62f85: Download complete [2021-08-17T23:49:12.600Z] e90a11edd702: Verifying Checksum [2021-08-17T23:49:12.601Z] e90a11edd702: Download complete [2021-08-17T23:49:25.071Z] e90a11edd702: Pull complete [2021-08-17T23:49:25.071Z] d77568369979: Pull complete [2021-08-17T23:49:25.071Z] fc1c9f9a7f3b: Pull complete [2021-08-17T23:49:25.071Z] 170f2ba95c9a: Pull complete [2021-08-17T23:49:30.492Z] 97ac5df62f85: Pull complete [2021-08-17T23:49:30.493Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-08-17T23:49:30.493Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-17T23:49:30.493Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-08-17T23:49:30.919Z] + 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:49:31.534Z] + docker inspect -f . ci-base-image-arm64 [2021-08-17T23:49:31.534Z] . [Pipeline] withDockerContainer [2021-08-17T23:49:31.798Z] prd-ubuntu18.04-docker-arm64-4c-16g-3212 does not seem to be running inside a container [2021-08-17T23:49:31.893Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/12 -v /w/workspace/app-functions-sdk-go/12:/w/workspace/app-functions-sdk-go/12:rw,z -v /w/workspace/app-functions-sdk-go/12@tmp:/w/workspace/app-functions-sdk-go/12@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:49:37.502Z] $ docker top c9bd4d59dca2244b9ddbc0a0434ee754a736bee9acafab2a1cd0e971a3859fa1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T23:49:38.453Z] + go version [2021-08-17T23:49:38.453Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-17T23:49:38.479Z] $ docker stop --time=1 c9bd4d59dca2244b9ddbc0a0434ee754a736bee9acafab2a1cd0e971a3859fa1 [2021-08-17T23:49:40.437Z] $ docker rm -f c9bd4d59dca2244b9ddbc0a0434ee754a736bee9acafab2a1cd0e971a3859fa1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T23:49:41.131Z] + docker inspect -f . ci-base-image-arm64 [2021-08-17T23:49:41.131Z] . [Pipeline] withDockerContainer [2021-08-17T23:49:41.364Z] prd-ubuntu18.04-docker-arm64-4c-16g-3212 does not seem to be running inside a container [2021-08-17T23:49:41.457Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/12 -v /w/workspace/app-functions-sdk-go/12:/w/workspace/app-functions-sdk-go/12:rw,z -v /w/workspace/app-functions-sdk-go/12@tmp:/w/workspace/app-functions-sdk-go/12@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:49:43.269Z] $ docker top 357b5eef83954484cf01b180817102cfa8cd0b5b20f8249d65d2015171f5150e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-17T23:49:44.438Z] + make test [2021-08-17T23:49:44.438Z] make -C ./app-service-template build [2021-08-17T23:49:44.438Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/12/app-service-template' [2021-08-17T23:49:44.438Z] 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:46.425Z] go: github.com/edgexfoundry/app-functions-sdk-go/v2@v2.0.1 requires [2021-08-17T23:49:46.425Z] github.com/google/uuid@v1.3.0: missing go.sum entry; to add it: [2021-08-17T23:49:46.425Z] go mod download github.com/google/uuid [2021-08-17T23:49:46.425Z] make[1]: *** [Makefile:40: build] Error 1 [2021-08-17T23:49:46.425Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/12/app-service-template' [2021-08-17T23:49:46.425Z] make: *** [Makefile:22: build] Error 2 [Pipeline] } [2021-08-17T23:49:46.453Z] $ docker stop --time=1 357b5eef83954484cf01b180817102cfa8cd0b5b20f8249d65d2015171f5150e [2021-08-17T23:49:48.466Z] $ docker rm -f 357b5eef83954484cf01b180817102cfa8cd0b5b20f8249d65d2015171f5150e [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:49:49.333Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T23:49:49.333Z] [2021-08-17T23:49:49.333Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-17T23:49:49.695Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T23:49:49.970Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-17T23:49:49.970Z] 448f6bf000e3: Pulling fs layer [2021-08-17T23:49:49.970Z] f757da607395: Pulling fs layer [2021-08-17T23:49:49.970Z] 05883995daec: Pulling fs layer [2021-08-17T23:49:49.970Z] 8603b9c90790: Pulling fs layer [2021-08-17T23:49:49.970Z] 1560dd03e051: Pulling fs layer [2021-08-17T23:49:49.970Z] 27f5ce0e4adf: Pulling fs layer [2021-08-17T23:49:49.970Z] c2d8d7efcc4b: Pulling fs layer [2021-08-17T23:49:49.970Z] 8603b9c90790: Waiting [2021-08-17T23:49:49.970Z] 27f5ce0e4adf: Waiting [2021-08-17T23:49:49.970Z] c2d8d7efcc4b: Waiting [2021-08-17T23:49:49.970Z] 1560dd03e051: Waiting [2021-08-17T23:49:50.245Z] f757da607395: Download complete [2021-08-17T23:49:50.245Z] 8603b9c90790: Download complete [2021-08-17T23:49:50.520Z] 1560dd03e051: Verifying Checksum [2021-08-17T23:49:50.520Z] 1560dd03e051: Download complete [2021-08-17T23:49:50.520Z] 27f5ce0e4adf: Verifying Checksum [2021-08-17T23:49:50.520Z] 27f5ce0e4adf: Download complete [2021-08-17T23:49:50.792Z] 05883995daec: Verifying Checksum [2021-08-17T23:49:50.792Z] 05883995daec: Download complete [2021-08-17T23:49:51.772Z] 448f6bf000e3: Verifying Checksum [2021-08-17T23:49:51.773Z] 448f6bf000e3: Download complete [2021-08-17T23:49:54.399Z] c2d8d7efcc4b: Verifying Checksum [2021-08-17T23:49:54.399Z] c2d8d7efcc4b: Download complete [2021-08-17T23:49:54.993Z] 448f6bf000e3: Pull complete [2021-08-17T23:49:55.591Z] f757da607395: Pull complete [2021-08-17T23:49:57.022Z] 05883995daec: Pull complete [2021-08-17T23:49:57.622Z] 8603b9c90790: Pull complete [2021-08-17T23:49:58.610Z] 1560dd03e051: Pull complete [2021-08-17T23:49:58.887Z] 27f5ce0e4adf: Pull complete [2021-08-17T23:50:11.298Z] c2d8d7efcc4b: Pull complete [2021-08-17T23:50:11.298Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-17T23:50:11.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T23:50:11.298Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-17T23:50:11.795Z] prd-ubuntu18.04-docker-arm64-4c-16g-3212 does not seem to be running inside a container [2021-08-17T23:50:11.877Z] $ 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/12 -v /w/workspace/app-functions-sdk-go/12:/w/workspace/app-functions-sdk-go/12:rw,z -v /w/workspace/app-functions-sdk-go/12@tmp:/w/workspace/app-functions-sdk-go/12@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:50:16.125Z] $ docker top fdc66678c1118bbb67b23b35d2b45422230b5894b313a06399b19f38fb2cc82a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T23:50:17.095Z] ---> job-cost.sh [2021-08-17T23:50:17.095Z] lf-activate-venv: SKIPPING [2021-08-17T23:50:17.095Z] INFO: No Stack... [2021-08-17T23:50:18.533Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-17T23:50:18.811Z] INFO: Archiving Costs [Pipeline] sh [2021-08-17T23:50:19.480Z] + cat /w/workspace/app-functions-sdk-go/12/archives/cost.csv [2021-08-17T23:50:19.480Z] + cut -d, -f6 [Pipeline] lock [2021-08-17T23:50:19.544Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-12-stack-cost] [2021-08-17T23:50:19.557Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-12-stack-cost] did not exist. Created. [2021-08-17T23:50:19.557Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-17T23:50:20.266Z] /w/workspace/app-functions-sdk-go/12@tmp/durable-03f5828f/script.sh: 1: /w/workspace/app-functions-sdk-go/12@tmp/durable-03f5828f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-17T23:50:20.932Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-17T23:50:20.968Z] Warning: overwriting stash ‘stack-cost’ [2021-08-17T23:50:21.463Z] Stashed 1 file(s) [Pipeline] } [2021-08-17T23:50:21.473Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-12-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-17T23:50:21.513Z] $ docker stop --time=1 fdc66678c1118bbb67b23b35d2b45422230b5894b313a06399b19f38fb2cc82a [2021-08-17T23:50:23.153Z] $ docker rm -f fdc66678c1118bbb67b23b35d2b45422230b5894b313a06399b19f38fb2cc82a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-17T23:50:23.583Z] 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:50:24.846Z] + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-921/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-17T23:50:25.172Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T23:50:25.768Z] ---> package-listing.sh [2021-08-17T23:50:25.768Z] ++ facter osfamily [2021-08-17T23:50:25.768Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-17T23:50:26.075Z] + OS_FAMILY=redhat [2021-08-17T23:50:26.075Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-921 [2021-08-17T23:50:26.075Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-17T23:50:26.075Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-17T23:50:26.075Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-17T23:50:26.075Z] + PACKAGES=/tmp/packages_start.txt [2021-08-17T23:50:26.075Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-921 ']' [2021-08-17T23:50:26.075Z] + PACKAGES=/tmp/packages_end.txt [2021-08-17T23:50:26.075Z] + case "${OS_FAMILY}" in [2021-08-17T23:50:26.075Z] + sort [2021-08-17T23:50:26.075Z] + rpm -qa [2021-08-17T23:50:26.667Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-17T23:50:26.667Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-17T23:50:26.667Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-17T23:50:26.667Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-921 ']' [2021-08-17T23:50:26.667Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-921/archives/ [2021-08-17T23:50:26.667Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-921/archives/ [Pipeline] echo [2021-08-17T23:50:26.685Z] 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-921/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:50:26.995Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-17T23:50:27.600Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T23:50:27.600Z] [2021-08-17T23:50:27.600Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T23:50:27.942Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T23:50:27.942Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-17T23:50:27.942Z] b4d181a07f80: Pulling fs layer [2021-08-17T23:50:27.942Z] a1111a8f2ec3: Pulling fs layer [2021-08-17T23:50:27.942Z] ed53099fbce6: Pulling fs layer [2021-08-17T23:50:27.942Z] dc539afda2c1: Pulling fs layer [2021-08-17T23:50:27.942Z] 77bc0d833cb6: Pulling fs layer [2021-08-17T23:50:27.942Z] 9065ff56babe: Pulling fs layer [2021-08-17T23:50:27.942Z] d287ab97295c: Pulling fs layer [2021-08-17T23:50:27.942Z] dc539afda2c1: Waiting [2021-08-17T23:50:27.942Z] 77bc0d833cb6: Waiting [2021-08-17T23:50:27.942Z] 9065ff56babe: Waiting [2021-08-17T23:50:27.942Z] d287ab97295c: Waiting [2021-08-17T23:50:28.209Z] a1111a8f2ec3: Verifying Checksum [2021-08-17T23:50:28.209Z] a1111a8f2ec3: Download complete [2021-08-17T23:50:28.209Z] dc539afda2c1: Verifying Checksum [2021-08-17T23:50:28.209Z] dc539afda2c1: Download complete [2021-08-17T23:50:28.478Z] 77bc0d833cb6: Verifying Checksum [2021-08-17T23:50:28.478Z] 77bc0d833cb6: Download complete [2021-08-17T23:50:28.478Z] 9065ff56babe: Download complete [2021-08-17T23:50:28.747Z] ed53099fbce6: Verifying Checksum [2021-08-17T23:50:28.747Z] ed53099fbce6: Download complete [2021-08-17T23:50:29.336Z] b4d181a07f80: Verifying Checksum [2021-08-17T23:50:29.336Z] b4d181a07f80: Download complete [2021-08-17T23:50:30.785Z] b4d181a07f80: Pull complete [2021-08-17T23:50:30.785Z] a1111a8f2ec3: Pull complete [2021-08-17T23:50:31.376Z] ed53099fbce6: Pull complete [2021-08-17T23:50:31.648Z] dc539afda2c1: Pull complete [2021-08-17T23:50:31.921Z] 77bc0d833cb6: Pull complete [2021-08-17T23:50:31.921Z] 9065ff56babe: Pull complete [2021-08-17T23:50:32.887Z] d287ab97295c: Verifying Checksum [2021-08-17T23:50:32.887Z] d287ab97295c: Download complete [2021-08-17T23:50:38.250Z] d287ab97295c: Pull complete [2021-08-17T23:50:38.250Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-17T23:50:38.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T23:50:38.250Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-17T23:50:38.355Z] prd-centos7-docker-4c-2g-3210 does not seem to be running inside a container [2021-08-17T23:50:38.417Z] $ 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-921/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-921 -v /w/workspace/ndry_app-functions-sdk-go_PR-921:/w/workspace/ndry_app-functions-sdk-go_PR-921:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-921@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-921@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:50:40.803Z] $ docker top 9bb6a9fc9cad1c5a8462b9129e3c94a568b6b1b582f099ec3e3d5536d77d1588 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T23:50:41.208Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-17T23:50:41.522Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-17T23:50:41.847Z] + ls /var/log/sa-host [2021-08-17T23:50:41.847Z] + sadf -c /var/log/sa-host/sa05 [2021-08-17T23:50:41.847Z] file_magic: OK [2021-08-17T23:50:41.847Z] HZ: Using current value: 100 [2021-08-17T23:50:41.847Z] file_header: OK [2021-08-17T23:50:41.847Z] 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:50:41.847Z] Statistics: [2021-08-17T23:50:41.847Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-17T23:50:41.847Z] File successfully converted to sysstat format version 12.0.3 [2021-08-17T23:50:41.847Z] + sadf -c /var/log/sa-host/sa17 [2021-08-17T23:50:41.847Z] file_magic: OK [2021-08-17T23:50:41.847Z] HZ: Using current value: 100 [2021-08-17T23:50:41.847Z] file_header: OK [2021-08-17T23:50:41.847Z] 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:50:41.847Z] Statistics: [2021-08-17T23:50:41.847Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-17T23:50:41.847Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-17T23:50:42.395Z] provisioning config files... [2021-08-17T23:50:42.418Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/config7697808971911470687tmp [Pipeline] { [Pipeline] echo [2021-08-17T23:50:42.446Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T23:50:42.758Z] ---> create-netrc.sh [Pipeline] } [2021-08-17T23:50:42.772Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-17T23:50:43.178Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-17T23:50:43.193Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T23:50:43.508Z] ---> sudo-logs.sh [2021-08-17T23:50:43.508Z] Archiving 'sudo' log.. [2021-08-17T23:50:43.508Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-3210.vexxhost.local: Name or service not known [2021-08-17T23:50:43.508Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-3210.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-17T23:50:43.579Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T23:50:43.893Z] ---> job-cost.sh [2021-08-17T23:50:43.893Z] lf-activate-venv: SKIPPING [2021-08-17T23:50:43.893Z] DEBUG: total: 0.18000000715255737 [2021-08-17T23:50:43.893Z] INFO: Retrieving Stack Cost... [2021-08-17T23:50:44.852Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-17T23:50:45.120Z] INFO: Archiving Costs [Pipeline] echo [2021-08-17T23:50:45.141Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T23:50:45.456Z] ---> logs-deploy.sh [2021-08-17T23:50:45.456Z] lf-activate-venv: SKIPPING [2021-08-17T23:50:45.456Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-921/12 [2021-08-17T23:50:45.456Z] INFO: archiving workspace using pattern(s): [2021-08-17T23:50:46.042Z] Archives upload complete. [2021-08-17T23:50:46.309Z] INFO: archiving logs to Nexus