Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from df76cb4b79cd8b3ffa5d26b9526444afff4457e7+d60328c32dfc0c7c0cb78d3227db5683dd1fac29 (273505b1b7d2299820a6b66eaf123e5365571439) 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-ssh2919093028367954848.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-ssh8826626017828633157.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-ssh4819389357785678955.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-ssh1253489126188882420.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-ssh6160495388483596786.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-774 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-ssh1198758369241186154.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-ssh4407600685251853355.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 d60328c32dfc0c7c0cb78d3227db5683dd1fac29 into PR head commit df76cb4b79cd8b3ffa5d26b9526444afff4457e7 Merge succeeded, producing 445606ca4f382c87da7ee8aa38bde69e89ee08df Checking out Revision 445606ca4f382c87da7ee8aa38bde69e89ee08df (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-ssh4508317870081126911.key > git merge d60328c32dfc0c7c0cb78d3227db5683dd1fac29 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 445606ca4f382c87da7ee8aa38bde69e89ee08df # timeout=10 Commit message: "Merge commit 'd60328c32dfc0c7c0cb78d3227db5683dd1fac29' into HEAD" > git rev-list --no-walk df76cb4b79cd8b3ffa5d26b9526444afff4457e7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:46:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:46:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:46:41 ========================================================= 23:46:41 EdgeX Global Pipelines Version Info 23:46:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:46:43 ------------------- 23:46:43 stable info: 23:46:43 ------------------- 23:46:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:46:43 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:46:43 Message: update stable to v1.0.205 23:46:43 ------------------- 23:46:43 experimental info: 23:46:43 ------------------- 23:46:43 Commited By: **** collab-it+edgex@linuxfoundation.org 23:46:43 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:46:43 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:46:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 23:46:43 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 23:46:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:46:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:46:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-921 [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-921 [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-921 [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 445606ca4f382c87da7ee8aa38bde69e89ee08df [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 445606c [Pipeline] echo 23:46:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:46:45 + git log --format=format:%s -1 445606ca4f382c87da7ee8aa38bde69e89ee08df [Pipeline] echo 23:46:45 GIT_COMMIT: 445606ca4f382c87da7ee8aa38bde69e89ee08df, Commit Message: Merge commit 'd60328c32dfc0c7c0cb78d3227db5683dd1fac29' into HEAD [Pipeline] echo 23:46:45 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:46:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:46:45 23:46:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:46:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:46:46 latest: Pulling from edgex-devops/git-semver 23:46:46 31603596830f: Pulling fs layer 23:46:46 d4622e32a9a9: Pulling fs layer 23:46:46 1030fce36090: Pulling fs layer 23:46:46 6c6cb7e1b49b: Pulling fs layer 23:46:46 6c6cb7e1b49b: Waiting 23:46:46 d4622e32a9a9: Verifying Checksum 23:46:46 d4622e32a9a9: Download complete 23:46:46 31603596830f: Verifying Checksum 23:46:46 31603596830f: Download complete 23:46:46 31603596830f: Pull complete 23:46:46 d4622e32a9a9: Pull complete 23:46:46 6c6cb7e1b49b: Verifying Checksum 23:46:46 6c6cb7e1b49b: Download complete 23:46:46 1030fce36090: Download complete 23:46:47 1030fce36090: Pull complete 23:46:47 6c6cb7e1b49b: Pull complete 23:46:47 Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab 23:46:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:46:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:46:48 prd-centos7-docker-4c-2g-774 does not seem to be running inside a container 23:46:48 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:46:48 $ docker top c2893a95c3833159f028337dccd340af0c4cdeb1ff30094b9d60ec60532ed234 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:46:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:46:49 [ssh-agent] Looking for ssh-agent implementation... 23:46:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:46:49 $ docker exec c2893a95c3833159f028337dccd340af0c4cdeb1ff30094b9d60ec60532ed234 ssh-agent 23:46:49 SSH_AUTH_SOCK=/tmp/ssh-aXyjccPTAnvf/agent.14 23:46:49 SSH_AGENT_PID=21 23:46:49 Running ssh-add (command line suppressed) 23:46:49 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/private_key_91421927856421051.key (/w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/private_key_91421927856421051.key) 23:46:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:46:49 + git tag --points-at HEAD [Pipeline] } 23:46:49 $ docker exec --env ******** --env ******** c2893a95c3833159f028337dccd340af0c4cdeb1ff30094b9d60ec60532ed234 ssh-agent -k 23:46:49 unset SSH_AUTH_SOCK; 23:46:49 unset SSH_AGENT_PID; 23:46:49 echo Agent pid 21 killed; 23:46:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:46:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:46:49 [ssh-agent] Looking for ssh-agent implementation... 23:46:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:46:49 $ docker exec c2893a95c3833159f028337dccd340af0c4cdeb1ff30094b9d60ec60532ed234 ssh-agent 23:46:50 SSH_AUTH_SOCK=/tmp/ssh-zaDyhiZijmCJ/agent.53 23:46:50 SSH_AGENT_PID=59 23:46:50 Running ssh-add (command line suppressed) 23:46:50 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/private_key_3909802259333371412.key (/w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/private_key_3909802259333371412.key) 23:46:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:46:50 + git semver init 23:46:50 # -> Open(): unable to determine branch for HEAD 23:46:50 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-921/.git 23:46:50 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-921 23:46:50 # $SEMVER_REMOTE_NAME = origin 23:46:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:46:50 # $SEMVER_USER_NAME = edgex-jenkins 23:46:50 # $SEMVER_BRANCH = PR-921 23:46:50 # $SEMVER_TEMP = /tmp/semver-861946005 23:46:50 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 23:46:52 # '/tmp/semver-861946005' -> '/w/workspace/ndry_app-functions-sdk-go_PR-921/.semver' 23:46:52 # -> Force: false 23:46:52 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-921/.semver [Pipeline] } 23:46:52 $ docker exec --env ******** --env ******** c2893a95c3833159f028337dccd340af0c4cdeb1ff30094b9d60ec60532ed234 ssh-agent -k 23:46:52 unset SSH_AUTH_SOCK; 23:46:52 unset SSH_AGENT_PID; 23:46:52 echo Agent pid 59 killed; 23:46:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:46:52 + git semver [Pipeline] } 23:46:53 $ docker stop --time=1 c2893a95c3833159f028337dccd340af0c4cdeb1ff30094b9d60ec60532ed234 23:46:54 $ docker rm -f c2893a95c3833159f028337dccd340af0c4cdeb1ff30094b9d60ec60532ed234 [Pipeline] // withDockerContainer [Pipeline] sh 23:46:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:46:55 Stashed 1 file(s) [Pipeline] echo 23:46:55 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 23:47:10 Still waiting to schedule task 23:47:10 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:47:10 Still waiting to schedule task 23:47:10 ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ is offline 23:49:14 Running on prd-centos7-docker-4c-2g-778 in /w/workspace/ndry_app-functions-sdk-go_PR-921 [Pipeline] { [Pipeline] ws 23:49:14 Running in /w/workspace/app-functions-sdk-go/11 [Pipeline] { [Pipeline] checkout 23:49:14 The recommended git tool is: git 23:49:17 using credential edgex-jenkins-ssh 23:49:17 Cloning the remote Git repository 23:49:17 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:49:17 > git init /w/workspace/app-functions-sdk-go/11 # timeout=10 23:49:17 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:49:17 > git --version # timeout=10 23:49:17 > git --version # 'git version 2.24.4' 23:49:17 using GIT_SSH to set credentials SSH Credentials for GitHub 23:49:17 [INFO] Currently running in a labeled security context 23:49:17 [INFO] Currently SELinux is 'enforcing' on the host 23:49:17 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/11@tmp/jenkins-gitclient-ssh2720847667211682703.key 23:49:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:49:24 Merging remotes/origin/main commit d60328c32dfc0c7c0cb78d3227db5683dd1fac29 into PR head commit df76cb4b79cd8b3ffa5d26b9526444afff4457e7 23:49:24 Merge succeeded, producing 51306d02eef1975e47b271c97ed36f1895856e6a 23:49:24 Checking out Revision 51306d02eef1975e47b271c97ed36f1895856e6a (PR-921) 23:49:23 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:49:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:49:23 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:49:23 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:49:23 using GIT_SSH to set credentials SSH Credentials for GitHub 23:49:23 [INFO] Currently running in a labeled security context 23:49:23 [INFO] Currently SELinux is 'enforcing' on the host 23:49:23 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/11@tmp/jenkins-gitclient-ssh6954600224011516436.key 23:49:23 > 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 23:49:24 > git config core.sparsecheckout # timeout=10 23:49:24 > git checkout -f df76cb4b79cd8b3ffa5d26b9526444afff4457e7 # timeout=10 23:49:24 > git remote # timeout=10 23:49:24 > git config --get remote.origin.url # timeout=10 23:49:24 using GIT_SSH to set credentials SSH Credentials for GitHub 23:49:24 [INFO] Currently running in a labeled security context 23:49:24 [INFO] Currently SELinux is 'enforcing' on the host 23:49:24 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/11@tmp/jenkins-gitclient-ssh7665350376720391864.key 23:49:24 > git merge d60328c32dfc0c7c0cb78d3227db5683dd1fac29 # timeout=10 23:49:24 > git rev-parse HEAD^{commit} # timeout=10 23:49:24 > git config core.sparsecheckout # timeout=10 23:49:24 > git checkout -f 51306d02eef1975e47b271c97ed36f1895856e6a # timeout=10 23:49:28 Commit message: "Merge commit 'd60328c32dfc0c7c0cb78d3227db5683dd1fac29' into HEAD" 23:49:28 > git rev-list --no-walk df76cb4b79cd8b3ffa5d26b9526444afff4457e7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:49:29 ========================================================= 23:49:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:49:29 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:49:30 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 23:49:30 Sending build context to Docker daemon 19.82MB 23:49:30 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 23:49:30 Step 2/8 : FROM ${BASE} 23:49:30 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:49:30 540db60ca938: Pulling fs layer 23:49:30 adcc1eea9eea: Pulling fs layer 23:49:30 4c4ab2625f07: Pulling fs layer 23:49:30 db62176df00c: Pulling fs layer 23:49:30 3b30891b0d05: Pulling fs layer 23:49:30 06b49ca38bd5: Pulling fs layer 23:49:30 c788192a36de: Pulling fs layer 23:49:30 a77e37c0d609: Pulling fs layer 23:49:30 c3185cebc471: Pulling fs layer 23:49:30 3b30891b0d05: Waiting 23:49:30 06b49ca38bd5: Waiting 23:49:30 c788192a36de: Waiting 23:49:30 a77e37c0d609: Waiting 23:49:30 c3185cebc471: Waiting 23:49:30 db62176df00c: Waiting 23:49:30 4c4ab2625f07: Verifying Checksum 23:49:30 4c4ab2625f07: Download complete 23:49:30 adcc1eea9eea: Download complete 23:49:30 3b30891b0d05: Verifying Checksum 23:49:30 3b30891b0d05: Download complete 23:49:30 06b49ca38bd5: Verifying Checksum 23:49:30 06b49ca38bd5: Download complete 23:49:30 c788192a36de: Verifying Checksum 23:49:30 c788192a36de: Download complete 23:49:30 540db60ca938: Verifying Checksum 23:49:30 540db60ca938: Download complete 23:49:30 540db60ca938: Pull complete 23:49:30 adcc1eea9eea: Pull complete 23:49:30 4c4ab2625f07: Pull complete 23:49:31 a77e37c0d609: Verifying Checksum 23:49:31 a77e37c0d609: Download complete 23:49:35 c3185cebc471: Verifying Checksum 23:49:35 c3185cebc471: Download complete 23:49:35 db62176df00c: Verifying Checksum 23:49:35 db62176df00c: Download complete 23:49:40 db62176df00c: Pull complete 23:49:40 3b30891b0d05: Pull complete 23:49:40 06b49ca38bd5: Pull complete 23:49:40 c788192a36de: Pull complete 23:49:40 a77e37c0d609: Pull complete 23:49:42 c3185cebc471: Pull complete 23:49:42 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 23:49:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:49:42 ---> 031687cdd783 23:49:42 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 23:49:42 20.10.0: Pulling from library/docker 23:49:42 05e7bc50f07f: Pulling fs layer 23:49:42 6db28d0fdbf6: Pulling fs layer 23:49:42 292df0bc6bf3: Pulling fs layer 23:49:42 2e060f4bd70b: Pulling fs layer 23:49:42 80e8d568a223: Pulling fs layer 23:49:42 8dc6ef1a942a: Pulling fs layer 23:49:42 2312dd95470a: Pulling fs layer 23:49:42 80e8d568a223: Waiting 23:49:42 8dc6ef1a942a: Waiting 23:49:42 2312dd95470a: Waiting 23:49:42 2e060f4bd70b: Waiting 23:49:42 292df0bc6bf3: Verifying Checksum 23:49:42 292df0bc6bf3: Download complete 23:49:42 6db28d0fdbf6: Verifying Checksum 23:49:42 6db28d0fdbf6: Download complete 23:49:42 80e8d568a223: Verifying Checksum 23:49:42 80e8d568a223: Download complete 23:49:42 05e7bc50f07f: Verifying Checksum 23:49:42 05e7bc50f07f: Download complete 23:49:42 8dc6ef1a942a: Verifying Checksum 23:49:42 8dc6ef1a942a: Download complete 23:49:42 2312dd95470a: Verifying Checksum 23:49:42 2312dd95470a: Download complete 23:49:42 05e7bc50f07f: Pull complete 23:49:42 6db28d0fdbf6: Pull complete 23:49:42 292df0bc6bf3: Pull complete 23:49:44 2e060f4bd70b: Verifying Checksum 23:49:44 2e060f4bd70b: Download complete 23:49:46 2e060f4bd70b: Pull complete 23:49:46 80e8d568a223: Pull complete 23:49:46 8dc6ef1a942a: Pull complete 23:49:46 2312dd95470a: Pull complete 23:49:46 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 23:49:46 Status: Downloaded newer image for docker:20.10.0 23:49:51 ---> f82f91390285 23:49:51 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:49:51 ---> Running in 33b2ec185f37 23:49:51 Removing intermediate container 33b2ec185f37 23:49:51 ---> 21c2a3e21d09 23:49:51 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:49:51 ---> Running in 6b007613af57 23:49:51 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 23:49:52 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 23:49:52 OK: 219 MiB in 52 packages 23:49:52 Removing intermediate container 6b007613af57 23:49:52 ---> d776dc9777fb 23:49:52 Step 6/8 : WORKDIR /build 23:49:52 ---> Running in 4ef21486f07f 23:49:52 Removing intermediate container 4ef21486f07f 23:49:52 ---> ddaaed10acea 23:49:52 Step 7/8 : COPY go.mod . 23:49:52 ---> 7829fce996bb 23:49:52 Step 8/8 : RUN go mod download 23:49:52 ---> Running in f37d7284cbd7 23:49:54 Running on prd-ubuntu18.04-docker-arm64-4c-16g-777 in /w/workspace/ndry_app-functions-sdk-go_PR-921 [Pipeline] { [Pipeline] ws 23:49:54 Running in /w/workspace/app-functions-sdk-go/11 [Pipeline] { [Pipeline] checkout 23:49:55 The recommended git tool is: git 23:50:00 using credential edgex-jenkins-ssh 23:50:00 Cloning the remote Git repository 23:50:00 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:50:00 > git init /w/workspace/app-functions-sdk-go/11 # timeout=10 23:50:00 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:50:00 > git --version # timeout=10 23:50:00 > git --version # 'git version 2.17.1' 23:50:00 using GIT_SSH to set credentials SSH Credentials for GitHub 23:50:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:50:03 Removing intermediate container f37d7284cbd7 23:50:03 ---> 531a0f2dba0d 23:50:03 Successfully built 531a0f2dba0d 23:50:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:50:03 + docker inspect -f . ci-base-image-x86_64 23:50:03 . [Pipeline] withDockerContainer 23:50:04 prd-centos7-docker-4c-2g-778 does not seem to be running inside a container 23:50:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/11 -v /w/workspace/app-functions-sdk-go/11:/w/workspace/app-functions-sdk-go/11:rw,z -v /w/workspace/app-functions-sdk-go/11@tmp:/w/workspace/app-functions-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:50:04 $ docker top 935555f05646f46631d6a3b1af9ba2e2a35531295e6a49c43f3f402b95021697 -eo pid,comm [Pipeline] { [Pipeline] sh 23:50:05 + go version 23:50:05 go version go1.16.6 linux/amd64 [Pipeline] } 23:50:05 $ docker stop --time=1 935555f05646f46631d6a3b1af9ba2e2a35531295e6a49c43f3f402b95021697 23:50:04 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:50:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:50:04 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:50:04 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:50:04 using GIT_SSH to set credentials SSH Credentials for GitHub 23:50:04 > 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 23:50:05 Merging remotes/origin/main commit d60328c32dfc0c7c0cb78d3227db5683dd1fac29 into PR head commit df76cb4b79cd8b3ffa5d26b9526444afff4457e7 23:50:06 Merge succeeded, producing fa36b81859cf16732b90a930df8741d05828fc9f 23:50:06 Checking out Revision fa36b81859cf16732b90a930df8741d05828fc9f (PR-921) 23:50:06 $ docker rm -f 935555f05646f46631d6a3b1af9ba2e2a35531295e6a49c43f3f402b95021697 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:50:06 + docker inspect -f . ci-base-image-x86_64 23:50:06 . [Pipeline] withDockerContainer 23:50:05 > git config core.sparsecheckout # timeout=10 23:50:05 > git checkout -f df76cb4b79cd8b3ffa5d26b9526444afff4457e7 # timeout=10 23:50:05 > git remote # timeout=10 23:50:05 > git config --get remote.origin.url # timeout=10 23:50:05 using GIT_SSH to set credentials SSH Credentials for GitHub 23:50:05 > git merge d60328c32dfc0c7c0cb78d3227db5683dd1fac29 # timeout=10 23:50:06 > git rev-parse HEAD^{commit} # timeout=10 23:50:06 > git config core.sparsecheckout # timeout=10 23:50:06 > git checkout -f fa36b81859cf16732b90a930df8741d05828fc9f # timeout=10 23:50:06 prd-centos7-docker-4c-2g-778 does not seem to be running inside a container 23:50:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/11 -v /w/workspace/app-functions-sdk-go/11:/w/workspace/app-functions-sdk-go/11:rw,z -v /w/workspace/app-functions-sdk-go/11@tmp:/w/workspace/app-functions-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:50:07 $ docker top 372fe77b83b36702a87a90328cb5bd2e2d619e7ae9d146261417fbea7129b3a8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:50:07 + make test 23:50:07 make -C ./app-service-template build 23:50:07 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/11/app-service-template' 23:50:07 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 23:50:07 go: github.com/edgexfoundry/app-functions-sdk-go/v2@v2.0.1 requires 23:50:07 github.com/google/uuid@v1.3.0: missing go.sum entry; to add it: 23:50:07 go mod download github.com/google/uuid 23:50:07 make[1]: *** [Makefile:40: build] Error 1 23:50:07 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/11/app-service-template' 23:50:07 make: *** [Makefile:22: build] Error 2 [Pipeline] } 23:50:07 $ docker stop --time=1 372fe77b83b36702a87a90328cb5bd2e2d619e7ae9d146261417fbea7129b3a8 23:50:09 $ docker rm -f 372fe77b83b36702a87a90328cb5bd2e2d619e7ae9d146261417fbea7129b3a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:50:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:50:09 23:50:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:50:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:50:09 latest: Pulling from edgex-lftools-log-publisher 23:50:09 b4d181a07f80: Pulling fs layer 23:50:09 a1111a8f2ec3: Pulling fs layer 23:50:09 ed53099fbce6: Pulling fs layer 23:50:09 dc539afda2c1: Pulling fs layer 23:50:09 77bc0d833cb6: Pulling fs layer 23:50:09 9065ff56babe: Pulling fs layer 23:50:09 d287ab97295c: Pulling fs layer 23:50:09 dc539afda2c1: Waiting 23:50:09 77bc0d833cb6: Waiting 23:50:09 9065ff56babe: Waiting 23:50:09 d287ab97295c: Waiting 23:50:10 a1111a8f2ec3: Verifying Checksum 23:50:10 a1111a8f2ec3: Download complete 23:50:10 dc539afda2c1: Verifying Checksum 23:50:10 dc539afda2c1: Download complete 23:50:10 77bc0d833cb6: Verifying Checksum 23:50:10 77bc0d833cb6: Download complete 23:50:10 9065ff56babe: Verifying Checksum 23:50:10 9065ff56babe: Download complete 23:50:10 Commit message: "Merge commit 'd60328c32dfc0c7c0cb78d3227db5683dd1fac29' into HEAD" 23:50:10 > git rev-list --no-walk df76cb4b79cd8b3ffa5d26b9526444afff4457e7 # timeout=10 23:50:10 ed53099fbce6: Verifying Checksum 23:50:10 ed53099fbce6: Download complete 23:50:11 23:50:11 GitHub has been notified of this commit’s build result 23:50:11 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:50:11 ========================================================= 23:50:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:50:11 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:50:11 b4d181a07f80: Verifying Checksum 23:50:11 b4d181a07f80: Download complete 23:50:11 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 23:50:12 b4d181a07f80: Pull complete 23:50:12 a1111a8f2ec3: Pull complete 23:50:12 Sending build context to Docker daemon 19.83MB 23:50:12 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 23:50:12 Step 2/8 : FROM ${BASE} 23:50:13 ed53099fbce6: Pull complete 23:50:13 dc539afda2c1: Pull complete 23:50:13 77bc0d833cb6: Pull complete 23:50:13 9065ff56babe: Pull complete 23:50:13 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:50:13 595b0fe564bb: Pulling fs layer 23:50:13 24495759ef45: Pulling fs layer 23:50:13 d148012ef14d: Pulling fs layer 23:50:13 e90a11edd702: Pulling fs layer 23:50:13 d77568369979: Pulling fs layer 23:50:13 fc1c9f9a7f3b: Pulling fs layer 23:50:13 170f2ba95c9a: Pulling fs layer 23:50:13 97ac5df62f85: Pulling fs layer 23:50:13 d77568369979: Waiting 23:50:13 fc1c9f9a7f3b: Waiting 23:50:13 170f2ba95c9a: Waiting 23:50:13 97ac5df62f85: Waiting 23:50:13 e90a11edd702: Waiting 23:50:13 d148012ef14d: Verifying Checksum 23:50:13 d148012ef14d: Download complete 23:50:13 24495759ef45: Verifying Checksum 23:50:13 24495759ef45: Download complete 23:50:13 d77568369979: Verifying Checksum 23:50:13 d77568369979: Download complete 23:50:13 fc1c9f9a7f3b: Verifying Checksum 23:50:13 fc1c9f9a7f3b: Download complete 23:50:13 170f2ba95c9a: Verifying Checksum 23:50:13 170f2ba95c9a: Download complete 23:50:13 595b0fe564bb: Verifying Checksum 23:50:13 595b0fe564bb: Download complete 23:50:14 595b0fe564bb: Pull complete 23:50:15 24495759ef45: Pull complete 23:50:16 d148012ef14d: Pull complete 23:50:18 97ac5df62f85: Verifying Checksum 23:50:18 97ac5df62f85: Download complete 23:50:19 e90a11edd702: Verifying Checksum 23:50:19 e90a11edd702: Download complete 23:50:20 d287ab97295c: Verifying Checksum 23:50:20 d287ab97295c: Download complete 23:50:23 d287ab97295c: Pull complete 23:50:23 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:50:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:50:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:50:23 prd-centos7-docker-4c-2g-778 does not seem to be running inside a container 23:50:23 $ 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/11 -v /w/workspace/app-functions-sdk-go/11:/w/workspace/app-functions-sdk-go/11:rw,z -v /w/workspace/app-functions-sdk-go/11@tmp:/w/workspace/app-functions-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:50:26 $ docker top c679a3b806c89b07d448a087831ccba173c003e824cf06edf91c353391f86d80 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:50:27 ---> job-cost.sh 23:50:27 lf-activate-venv: SKIPPING 23:50:27 INFO: No Stack... 23:50:28 INFO: Retrieving Pricing Info for: v3-standard-2 23:50:28 INFO: Archiving Costs [Pipeline] sh 23:50:28 + cut -d, -f6 23:50:28 + cat /w/workspace/app-functions-sdk-go/11/archives/cost.csv [Pipeline] lock 23:50:28 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-11-stack-cost] 23:50:28 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-11-stack-cost] did not exist. Created. 23:50:28 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:50:29 + echo total: 0.05999999865889549 [Pipeline] stash 23:50:29 Stashed 1 file(s) [Pipeline] } 23:50:29 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-11-stack-cost] [Pipeline] // lock [Pipeline] } 23:50:29 $ docker stop --time=1 c679a3b806c89b07d448a087831ccba173c003e824cf06edf91c353391f86d80 23:50:29 e90a11edd702: Pull complete 23:50:29 d77568369979: Pull complete 23:50:29 fc1c9f9a7f3b: Pull complete 23:50:29 170f2ba95c9a: Pull complete 23:50:30 $ docker rm -f c679a3b806c89b07d448a087831ccba173c003e824cf06edf91c353391f86d80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:50:30 Failed in branch amd64 23:50:35 97ac5df62f85: Pull complete 23:50:35 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 23:50:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:50:35 ---> 04bc70af865f 23:50:35 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 23:50:35 20.10.0: Pulling from library/docker 23:50:35 a3cc7d3b244e: Pulling fs layer 23:50:35 02a3295e0d61: Pulling fs layer 23:50:35 0f4f2e6d8100: Pulling fs layer 23:50:35 330b718f631f: Pulling fs layer 23:50:35 a93816041522: Pulling fs layer 23:50:35 bdb6da89ff94: Pulling fs layer 23:50:35 2a70c0c122f4: Pulling fs layer 23:50:35 330b718f631f: Waiting 23:50:35 a93816041522: Waiting 23:50:35 bdb6da89ff94: Waiting 23:50:35 2a70c0c122f4: Waiting 23:50:35 0f4f2e6d8100: Verifying Checksum 23:50:35 0f4f2e6d8100: Download complete 23:50:35 02a3295e0d61: Download complete 23:50:35 a3cc7d3b244e: Download complete 23:50:35 a93816041522: Verifying Checksum 23:50:35 a93816041522: Download complete 23:50:35 bdb6da89ff94: Verifying Checksum 23:50:35 bdb6da89ff94: Download complete 23:50:35 2a70c0c122f4: Verifying Checksum 23:50:35 2a70c0c122f4: Download complete 23:50:36 a3cc7d3b244e: Pull complete 23:50:37 02a3295e0d61: Pull complete 23:50:37 0f4f2e6d8100: Pull complete 23:50:37 330b718f631f: Verifying Checksum 23:50:37 330b718f631f: Download complete 23:50:41 330b718f631f: Pull complete 23:50:41 a93816041522: Pull complete 23:50:42 bdb6da89ff94: Pull complete 23:50:42 2a70c0c122f4: Pull complete 23:50:42 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 23:50:42 Status: Downloaded newer image for docker:20.10.0 23:50:50 ---> eade88f9d893 23:50:50 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:50:50 ---> Running in 5e1151a051f8 23:50:50 Removing intermediate container 5e1151a051f8 23:50:50 ---> 38fc720867f7 23:50:50 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:50:50 ---> Running in a02e866f4de8 23:50:52 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 23:50:53 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 23:50:54 OK: 218 MiB in 52 packages 23:50:55 Removing intermediate container a02e866f4de8 23:50:55 ---> 9c640bf3e3c7 23:50:55 Step 6/8 : WORKDIR /build 23:50:56 ---> Running in ca3e8cebdf0f 23:50:56 Removing intermediate container ca3e8cebdf0f 23:50:56 ---> 1a49bd228529 23:50:56 Step 7/8 : COPY go.mod . 23:50:57 ---> fab541ca377a 23:50:57 Step 8/8 : RUN go mod download 23:50:57 ---> Running in a1416cc22742 23:51:24 Removing intermediate container a1416cc22742 23:51:24 ---> d2f1fa1c021f 23:51:24 Successfully built d2f1fa1c021f 23:51:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:51:24 + docker inspect -f . ci-base-image-arm64 23:51:24 . [Pipeline] withDockerContainer 23:51:24 prd-ubuntu18.04-docker-arm64-4c-16g-777 does not seem to be running inside a container 23:51:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/11 -v /w/workspace/app-functions-sdk-go/11:/w/workspace/app-functions-sdk-go/11:rw,z -v /w/workspace/app-functions-sdk-go/11@tmp:/w/workspace/app-functions-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:51:26 $ docker top 841e15523c4bbcae3bb8f6ae03a36770e4d2fe3f3ee34b724852697b692a463e -eo pid,comm [Pipeline] { [Pipeline] sh 23:51:27 + go version 23:51:27 go version go1.16.6 linux/arm64 [Pipeline] } 23:51:27 $ docker stop --time=1 841e15523c4bbcae3bb8f6ae03a36770e4d2fe3f3ee34b724852697b692a463e 23:51:29 $ docker rm -f 841e15523c4bbcae3bb8f6ae03a36770e4d2fe3f3ee34b724852697b692a463e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:51:30 + docker inspect -f . ci-base-image-arm64 23:51:30 . [Pipeline] withDockerContainer 23:51:30 prd-ubuntu18.04-docker-arm64-4c-16g-777 does not seem to be running inside a container 23:51:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/11 -v /w/workspace/app-functions-sdk-go/11:/w/workspace/app-functions-sdk-go/11:rw,z -v /w/workspace/app-functions-sdk-go/11@tmp:/w/workspace/app-functions-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:51:32 $ docker top ab8d2ab49bfbb182ea6ee7893a21cc61b184e4613bb25d8968d963dff9c2f279 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:51:33 + make test 23:51:33 make -C ./app-service-template build 23:51:33 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/11/app-service-template' 23:51:33 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 23:51:33 go: github.com/edgexfoundry/app-functions-sdk-go/v2@v2.0.1 requires 23:51:33 github.com/google/uuid@v1.3.0: missing go.sum entry; to add it: 23:51:33 go mod download github.com/google/uuid 23:51:33 make[1]: *** [Makefile:40: build] Error 1 23:51:33 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/11/app-service-template' 23:51:33 make: *** [Makefile:22: build] Error 2 [Pipeline] } 23:51:33 $ docker stop --time=1 ab8d2ab49bfbb182ea6ee7893a21cc61b184e4613bb25d8968d963dff9c2f279 23:51:35 $ docker rm -f ab8d2ab49bfbb182ea6ee7893a21cc61b184e4613bb25d8968d963dff9c2f279 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:51:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:51:36 23:51:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:51:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:51:37 arm64: Pulling from edgex-lftools-log-publisher 23:51:37 448f6bf000e3: Pulling fs layer 23:51:37 f757da607395: Pulling fs layer 23:51:37 05883995daec: Pulling fs layer 23:51:37 8603b9c90790: Pulling fs layer 23:51:37 1560dd03e051: Pulling fs layer 23:51:37 27f5ce0e4adf: Pulling fs layer 23:51:37 c2d8d7efcc4b: Pulling fs layer 23:51:37 1560dd03e051: Waiting 23:51:37 27f5ce0e4adf: Waiting 23:51:37 c2d8d7efcc4b: Waiting 23:51:37 8603b9c90790: Waiting 23:51:37 f757da607395: Verifying Checksum 23:51:37 f757da607395: Download complete 23:51:37 8603b9c90790: Verifying Checksum 23:51:37 8603b9c90790: Download complete 23:51:37 1560dd03e051: Verifying Checksum 23:51:37 1560dd03e051: Download complete 23:51:37 27f5ce0e4adf: Verifying Checksum 23:51:37 27f5ce0e4adf: Download complete 23:51:38 05883995daec: Download complete 23:51:38 448f6bf000e3: Verifying Checksum 23:51:38 448f6bf000e3: Download complete 23:51:42 c2d8d7efcc4b: Verifying Checksum 23:51:42 c2d8d7efcc4b: Download complete 23:51:42 448f6bf000e3: Pull complete 23:51:42 f757da607395: Pull complete 23:51:44 05883995daec: Pull complete 23:51:45 8603b9c90790: Pull complete 23:51:45 1560dd03e051: Pull complete 23:51:46 27f5ce0e4adf: Pull complete 23:52:01 c2d8d7efcc4b: Pull complete 23:52:01 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:52:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:52:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:52:01 prd-ubuntu18.04-docker-arm64-4c-16g-777 does not seem to be running inside a container 23:52:01 $ 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/11 -v /w/workspace/app-functions-sdk-go/11:/w/workspace/app-functions-sdk-go/11:rw,z -v /w/workspace/app-functions-sdk-go/11@tmp:/w/workspace/app-functions-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:52:05 $ docker top dbc3f40bed82189d40dcb336f237069740fba265dc97e8c777123218b7aee71b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:52:06 ---> job-cost.sh 23:52:06 lf-activate-venv: SKIPPING 23:52:06 INFO: No Stack... 23:52:08 INFO: Retrieving Pricing Info for: v2-standard-4 23:52:08 INFO: Archiving Costs [Pipeline] sh 23:52:09 + cat /w/workspace/app-functions-sdk-go/11/archives/cost.csv 23:52:09 + cut -d, -f6 [Pipeline] lock 23:52:09 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-11-stack-cost] 23:52:09 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-11-stack-cost] did not exist. Created. 23:52:09 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:52:09 /w/workspace/app-functions-sdk-go/11@tmp/durable-7e3d3a90/script.sh: 1: /w/workspace/app-functions-sdk-go/11@tmp/durable-7e3d3a90/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:52:10 + echo total: 0.18000000715255737 [Pipeline] stash 23:52:10 Warning: overwriting stash ‘stack-cost’ 23:52:11 Stashed 1 file(s) [Pipeline] } 23:52:11 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-11-stack-cost] [Pipeline] // lock [Pipeline] } 23:52:11 $ docker stop --time=1 dbc3f40bed82189d40dcb336f237069740fba265dc97e8c777123218b7aee71b 23:52:12 $ docker rm -f dbc3f40bed82189d40dcb336f237069740fba265dc97e8c777123218b7aee71b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:52:13 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:52:14 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-921/archives ']' [Pipeline] libraryResource [Pipeline] sh 23:52:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:52:15 ---> package-listing.sh 23:52:15 ++ tr '[:upper:]' '[:lower:]' 23:52:15 ++ facter osfamily 23:52:15 + OS_FAMILY=redhat 23:52:15 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-921 23:52:15 + START_PACKAGES=/tmp/packages_start.txt 23:52:15 + END_PACKAGES=/tmp/packages_end.txt 23:52:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:52:15 + PACKAGES=/tmp/packages_start.txt 23:52:15 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-921 ']' 23:52:15 + PACKAGES=/tmp/packages_end.txt 23:52:15 + case "${OS_FAMILY}" in 23:52:15 + sort 23:52:15 + rpm -qa 23:52:15 + '[' -f /tmp/packages_start.txt ']' 23:52:15 + '[' -f /tmp/packages_end.txt ']' 23:52:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:52:15 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-921 ']' 23:52:15 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-921/archives/ 23:52:15 + 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 23:52:15 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 23:52:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:52:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:52:16 23:52:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:52:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:52:17 latest: Pulling from edgex-lftools-log-publisher 23:52:17 b4d181a07f80: Pulling fs layer 23:52:17 a1111a8f2ec3: Pulling fs layer 23:52:17 ed53099fbce6: Pulling fs layer 23:52:17 dc539afda2c1: Pulling fs layer 23:52:17 77bc0d833cb6: Pulling fs layer 23:52:17 9065ff56babe: Pulling fs layer 23:52:17 d287ab97295c: Pulling fs layer 23:52:17 dc539afda2c1: Waiting 23:52:17 77bc0d833cb6: Waiting 23:52:17 9065ff56babe: Waiting 23:52:17 d287ab97295c: Waiting 23:52:23 a1111a8f2ec3: Verifying Checksum 23:52:23 a1111a8f2ec3: Download complete 23:52:23 dc539afda2c1: Verifying Checksum 23:52:23 dc539afda2c1: Download complete 23:52:23 ed53099fbce6: Verifying Checksum 23:52:23 ed53099fbce6: Download complete 23:52:23 77bc0d833cb6: Verifying Checksum 23:52:23 77bc0d833cb6: Download complete 23:52:23 9065ff56babe: Verifying Checksum 23:52:23 9065ff56babe: Download complete 23:52:24 b4d181a07f80: Verifying Checksum 23:52:24 b4d181a07f80: Download complete 23:52:25 b4d181a07f80: Pull complete 23:52:25 a1111a8f2ec3: Pull complete 23:52:26 ed53099fbce6: Pull complete 23:52:26 dc539afda2c1: Pull complete 23:52:26 77bc0d833cb6: Pull complete 23:52:26 9065ff56babe: Pull complete 23:52:29 d287ab97295c: Verifying Checksum 23:52:29 d287ab97295c: Download complete 23:52:33 d287ab97295c: Pull complete 23:52:33 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:52:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:52:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:52:33 prd-centos7-docker-4c-2g-774 does not seem to be running inside a container 23:52:33 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:52:35 $ docker top 09a6009f0e6e5628ebb21dc64225296753e625bfab9d1dd5cfc1c0b4980eff2d -eo pid,comm [Pipeline] { [Pipeline] sh 23:52:35 + touch /tmp/pre-build-complete [Pipeline] sh 23:52:36 + mkdir -p /var/log/sysstat [Pipeline] sh 23:52:36 + ls /var/log/sa-host 23:52:36 + sadf -c /var/log/sa-host/sa05 23:52:36 file_magic: OK 23:52:36 HZ: Using current value: 100 23:52:36 file_header: OK 23:52:36 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 23:52:36 Statistics: 23:52:36 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:52:36 File successfully converted to sysstat format version 12.0.3 23:52:36 + sadf -c /var/log/sa-host/sa12 23:52:36 file_magic: OK 23:52:36 HZ: Using current value: 100 23:52:36 file_header: OK 23:52:36 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 23:52:36 Statistics: 23:52:36 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:52:36 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:52:36 provisioning config files... 23:52:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/config5881147807809126603tmp [Pipeline] { [Pipeline] echo 23:52:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:52:36 ---> create-netrc.sh [Pipeline] } 23:52:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:52:37 ---> python-tools-install.sh [Pipeline] echo 23:52:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:52:37 ---> sudo-logs.sh 23:52:37 Archiving 'sudo' log.. 23:52:37 sudo: unable to resolve host prd-centos7-docker-4c-2g-774.vexxhost.local: Name or service not known 23:52:37 sudo: unable to resolve host prd-centos7-docker-4c-2g-774.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 23:52:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:52:37 ---> job-cost.sh 23:52:37 lf-activate-venv: SKIPPING 23:52:37 DEBUG: total: 0.18000000715255737 23:52:37 INFO: Retrieving Stack Cost... 23:52:38 INFO: Retrieving Pricing Info for: v3-standard-2 23:52:39 INFO: Archiving Costs [Pipeline] echo 23:52:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:52:39 ---> logs-deploy.sh 23:52:39 lf-activate-venv: SKIPPING 23:52:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-921/11 23:52:39 INFO: archiving workspace using pattern(s): 23:52:40 Archives upload complete. 23:52:40 INFO: archiving logs to Nexus