Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f9862466792e7d0dcceb1905b0181161eb5fc782+d60328c32dfc0c7c0cb78d3227db5683dd1fac29 (c364140cbc8e962f460a0e29eebecbfa14d92c40) 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-ssh7099529241588258371.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-ssh9102121647386596157.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-875/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-875/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4653129392241384951.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-ssh7125210181658036901.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-875/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-875/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5408216814977863159.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-773 in /w/workspace/ndry_app-functions-sdk-go_PR-875 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-875 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/jenkins-gitclient-ssh5175820475082754554.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit d60328c32dfc0c7c0cb78d3227db5683dd1fac29 into PR head commit f9862466792e7d0dcceb1905b0181161eb5fc782 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/jenkins-gitclient-ssh2789985771327876641.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/875/head:refs/remotes/origin/PR-875 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f9862466792e7d0dcceb1905b0181161eb5fc782 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/jenkins-gitclient-ssh1794863464817521782.key > git merge d60328c32dfc0c7c0cb78d3227db5683dd1fac29 # timeout=10 Merge succeeded, producing cd3d4cb2bbbff2bba8374f6d74af13f8eab385fd Checking out Revision cd3d4cb2bbbff2bba8374f6d74af13f8eab385fd (PR-875) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd3d4cb2bbbff2bba8374f6d74af13f8eab385fd # timeout=10 Commit message: "Merge commit 'd60328c32dfc0c7c0cb78d3227db5683dd1fac29' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 9ec582d5e80ed6e922498106dc55bcb2f1d872bc # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:45:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:45:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:45:58 ========================================================= 23:45:58 EdgeX Global Pipelines Version Info 23:45:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:45:59 ------------------- 23:45:59 stable info: 23:45:59 ------------------- 23:45:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:45:59 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:45:59 Message: update stable to v1.0.205 23:45:59 ------------------- 23:45:59 experimental info: 23:45:59 ------------------- 23:45:59 Commited By: **** collab-it+edgex@linuxfoundation.org 23:45:59 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:45:59 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-875 [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-875 [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-875 [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cd3d4cb2bbbff2bba8374f6d74af13f8eab385fd [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cd3d4cb [Pipeline] echo 23:46:00 [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:01 + git log --format=format:%s -1 cd3d4cb2bbbff2bba8374f6d74af13f8eab385fd [Pipeline] echo 23:46:01 GIT_COMMIT: cd3d4cb2bbbff2bba8374f6d74af13f8eab385fd, Commit Message: Merge commit 'd60328c32dfc0c7c0cb78d3227db5683dd1fac29' into HEAD [Pipeline] echo 23:46:01 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:46:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:46:02 23:46:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:46:02 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:46:03 latest: Pulling from edgex-devops/git-semver 23:46:03 31603596830f: Pulling fs layer 23:46:03 d4622e32a9a9: Pulling fs layer 23:46:03 1030fce36090: Pulling fs layer 23:46:03 6c6cb7e1b49b: Pulling fs layer 23:46:03 6c6cb7e1b49b: Waiting 23:46:03 d4622e32a9a9: Download complete 23:46:03 31603596830f: Download complete 23:46:03 31603596830f: Pull complete 23:46:03 6c6cb7e1b49b: Verifying Checksum 23:46:03 6c6cb7e1b49b: Download complete 23:46:03 d4622e32a9a9: Pull complete 23:46:03 1030fce36090: Verifying Checksum 23:46:03 1030fce36090: Download complete 23:46:04 1030fce36090: Pull complete 23:46:04 6c6cb7e1b49b: Pull complete 23:46:04 Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab 23:46:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:46:04 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:46:04 prd-centos7-docker-4c-2g-773 does not seem to be running inside a container 23:46:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-875 -v /w/workspace/ndry_app-functions-sdk-go_PR-875:/w/workspace/ndry_app-functions-sdk-go_PR-875:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-875@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-875@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:46:05 $ docker top 60e18ae33e0737c7eef2b2401de84db16bb6a9c8c48e2f0c7e4b1f5bb25bf83d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:46:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:46:05 [ssh-agent] Looking for ssh-agent implementation... 23:46:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:46:05 $ docker exec 60e18ae33e0737c7eef2b2401de84db16bb6a9c8c48e2f0c7e4b1f5bb25bf83d ssh-agent 23:46:05 SSH_AUTH_SOCK=/tmp/ssh-j3YDWEsFSx1u/agent.13 23:46:05 SSH_AGENT_PID=19 23:46:05 Running ssh-add (command line suppressed) 23:46:05 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/private_key_7156149783000138996.key (/w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/private_key_7156149783000138996.key) 23:46:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:46:05 + git tag --points-at HEAD [Pipeline] } 23:46:05 $ docker exec --env ******** --env ******** 60e18ae33e0737c7eef2b2401de84db16bb6a9c8c48e2f0c7e4b1f5bb25bf83d ssh-agent -k 23:46:06 unset SSH_AUTH_SOCK; 23:46:06 unset SSH_AGENT_PID; 23:46:06 echo Agent pid 19 killed; 23:46:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:46:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:46:06 [ssh-agent] Looking for ssh-agent implementation... 23:46:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:46:06 $ docker exec 60e18ae33e0737c7eef2b2401de84db16bb6a9c8c48e2f0c7e4b1f5bb25bf83d ssh-agent 23:46:06 SSH_AUTH_SOCK=/tmp/ssh-g7jn6NdzIgja/agent.53 23:46:06 SSH_AGENT_PID=60 23:46:06 Running ssh-add (command line suppressed) 23:46:06 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/private_key_4565664266278220583.key (/w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/private_key_4565664266278220583.key) 23:46:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:46:06 + git semver init 23:46:06 # -> Open(): unable to determine branch for HEAD 23:46:06 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-875/.git 23:46:06 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-875 23:46:06 # $SEMVER_REMOTE_NAME = origin 23:46:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:46:06 # $SEMVER_USER_NAME = edgex-jenkins 23:46:06 # $SEMVER_BRANCH = PR-875 23:46:06 # $SEMVER_TEMP = /tmp/semver-768878952 23:46:06 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 23:46:09 # '/tmp/semver-768878952' -> '/w/workspace/ndry_app-functions-sdk-go_PR-875/.semver' 23:46:09 # -> Force: false 23:46:09 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-875/.semver [Pipeline] } 23:46:09 $ docker exec --env ******** --env ******** 60e18ae33e0737c7eef2b2401de84db16bb6a9c8c48e2f0c7e4b1f5bb25bf83d ssh-agent -k 23:46:09 unset SSH_AUTH_SOCK; 23:46:09 unset SSH_AGENT_PID; 23:46:09 echo Agent pid 60 killed; 23:46:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:46:09 + git semver [Pipeline] } 23:46:09 $ docker stop --time=1 60e18ae33e0737c7eef2b2401de84db16bb6a9c8c48e2f0c7e4b1f5bb25bf83d 23:46:10 $ docker rm -f 60e18ae33e0737c7eef2b2401de84db16bb6a9c8c48e2f0c7e4b1f5bb25bf83d [Pipeline] // withDockerContainer [Pipeline] sh 23:46:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:46:11 Stashed 1 file(s) [Pipeline] echo 23:46:11 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 23:46:26 Still waiting to schedule task 23:46:26 ‘prd-centos7-blackbox-4c-2g-2297’ doesn’t have label ‘centos7-docker-4c-2g’ 23:46:26 ‘prd-centos7-blackbox-4c-2g-2298’ doesn’t have label ‘centos7-docker-4c-2g’ 23:46:26 ‘prd-centos7-blackbox-4c-2g-2299’ doesn’t have label ‘centos7-docker-4c-2g’ 23:46:26 ‘prd-centos7-docker-4c-2g-774’ is offline 23:46:26 ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ doesn’t have label ‘centos7-docker-4c-2g’ 23:46:26 Still waiting to schedule task 23:46:26 ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ is offline 23:48:17 Running on prd-centos7-docker-4c-2g-776 in /w/workspace/ndry_app-functions-sdk-go_PR-875 [Pipeline] { [Pipeline] ws 23:48:17 Running in /w/workspace/app-functions-sdk-go/32 [Pipeline] { [Pipeline] checkout 23:48:17 The recommended git tool is: git 23:48:20 using credential edgex-jenkins-ssh 23:48:20 Cloning the remote Git repository 23:48:20 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:48:20 > git init /w/workspace/app-functions-sdk-go/32 # timeout=10 23:48:20 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:48:20 > git --version # timeout=10 23:48:20 > git --version # 'git version 2.24.4' 23:48:20 using GIT_SSH to set credentials SSH Credentials for GitHub 23:48:20 [INFO] Currently running in a labeled security context 23:48:20 [INFO] Currently SELinux is 'enforcing' on the host 23:48:20 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/32@tmp/jenkins-gitclient-ssh4602297430522962489.key 23:48:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:48:21 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:48:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:48:21 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:48:21 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:48:21 using GIT_SSH to set credentials SSH Credentials for GitHub 23:48:21 [INFO] Currently running in a labeled security context 23:48:21 [INFO] Currently SELinux is 'enforcing' on the host 23:48:21 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/32@tmp/jenkins-gitclient-ssh8162554328093131955.key 23:48:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/875/head:refs/remotes/origin/PR-875 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:48:22 Merging remotes/origin/main commit d60328c32dfc0c7c0cb78d3227db5683dd1fac29 into PR head commit f9862466792e7d0dcceb1905b0181161eb5fc782 23:48:22 Merge succeeded, producing 32be085ad077f3aa54506b19d6f3728a04bbbf2d 23:48:22 Checking out Revision 32be085ad077f3aa54506b19d6f3728a04bbbf2d (PR-875) 23:48:22 > git config core.sparsecheckout # timeout=10 23:48:22 > git checkout -f f9862466792e7d0dcceb1905b0181161eb5fc782 # timeout=10 23:48:22 > git remote # timeout=10 23:48:22 > git config --get remote.origin.url # timeout=10 23:48:22 using GIT_SSH to set credentials SSH Credentials for GitHub 23:48:22 [INFO] Currently running in a labeled security context 23:48:22 [INFO] Currently SELinux is 'enforcing' on the host 23:48:22 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/32@tmp/jenkins-gitclient-ssh7252218617162184620.key 23:48:22 > git merge d60328c32dfc0c7c0cb78d3227db5683dd1fac29 # timeout=10 23:48:22 > git rev-parse HEAD^{commit} # timeout=10 23:48:22 > git config core.sparsecheckout # timeout=10 23:48:22 > git checkout -f 32be085ad077f3aa54506b19d6f3728a04bbbf2d # timeout=10 23:48:26 Commit message: "Merge commit 'd60328c32dfc0c7c0cb78d3227db5683dd1fac29' into HEAD" 23:48:26 First time build. Skipping changelog. 23:48:26 > git rev-list --no-walk 9ec582d5e80ed6e922498106dc55bcb2f1d872bc # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:48:27 ========================================================= 23:48:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:48:27 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:48:27 + 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:48:27 Sending build context to Docker daemon 19.82MB 23:48:27 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 23:48:27 Step 2/8 : FROM ${BASE} 23:48:27 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:48:27 540db60ca938: Pulling fs layer 23:48:27 adcc1eea9eea: Pulling fs layer 23:48:27 4c4ab2625f07: Pulling fs layer 23:48:27 db62176df00c: Pulling fs layer 23:48:27 3b30891b0d05: Pulling fs layer 23:48:27 06b49ca38bd5: Pulling fs layer 23:48:27 c788192a36de: Pulling fs layer 23:48:27 a77e37c0d609: Pulling fs layer 23:48:27 c3185cebc471: Pulling fs layer 23:48:27 db62176df00c: Waiting 23:48:27 3b30891b0d05: Waiting 23:48:27 06b49ca38bd5: Waiting 23:48:27 c788192a36de: Waiting 23:48:27 a77e37c0d609: Waiting 23:48:27 c3185cebc471: Waiting 23:48:27 4c4ab2625f07: Verifying Checksum 23:48:27 4c4ab2625f07: Download complete 23:48:27 adcc1eea9eea: Download complete 23:48:27 3b30891b0d05: Verifying Checksum 23:48:27 3b30891b0d05: Download complete 23:48:28 06b49ca38bd5: Verifying Checksum 23:48:28 06b49ca38bd5: Download complete 23:48:28 540db60ca938: Verifying Checksum 23:48:28 540db60ca938: Download complete 23:48:28 c788192a36de: Verifying Checksum 23:48:28 c788192a36de: Download complete 23:48:28 540db60ca938: Pull complete 23:48:28 adcc1eea9eea: Pull complete 23:48:28 4c4ab2625f07: Pull complete 23:48:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-775 in /w/workspace/ndry_app-functions-sdk-go_PR-875 [Pipeline] { [Pipeline] ws 23:48:29 Running in /w/workspace/app-functions-sdk-go/32 [Pipeline] { [Pipeline] checkout 23:48:29 The recommended git tool is: git 23:48:29 a77e37c0d609: Verifying Checksum 23:48:29 a77e37c0d609: Download complete 23:48:33 c3185cebc471: Verifying Checksum 23:48:33 c3185cebc471: Download complete 23:48:33 db62176df00c: Verifying Checksum 23:48:33 db62176df00c: Download complete 23:48:35 using credential edgex-jenkins-ssh 23:48:35 Cloning the remote Git repository 23:48:35 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:48:35 > git init /w/workspace/app-functions-sdk-go/32 # timeout=10 23:48:35 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:48:35 > git --version # timeout=10 23:48:35 > git --version # 'git version 2.17.1' 23:48:35 using GIT_SSH to set credentials SSH Credentials for GitHub 23:48:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:48:36 db62176df00c: Pull complete 23:48:36 3b30891b0d05: Pull complete 23:48:36 06b49ca38bd5: Pull complete 23:48:36 c788192a36de: Pull complete 23:48:36 a77e37c0d609: Pull complete 23:48:39 Merging remotes/origin/main commit d60328c32dfc0c7c0cb78d3227db5683dd1fac29 into PR head commit f9862466792e7d0dcceb1905b0181161eb5fc782 23:48:39 c3185cebc471: Pull complete 23:48:39 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 23:48:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:48:39 ---> 031687cdd783 23:48:39 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 23:48:39 20.10.0: Pulling from library/docker 23:48:39 Merge succeeded, producing 44472ac5d03ab7452ea09a2b93679c25d827059d 23:48:39 Checking out Revision 44472ac5d03ab7452ea09a2b93679c25d827059d (PR-875) 23:48:39 05e7bc50f07f: Pulling fs layer 23:48:39 6db28d0fdbf6: Pulling fs layer 23:48:39 292df0bc6bf3: Pulling fs layer 23:48:39 2e060f4bd70b: Pulling fs layer 23:48:39 80e8d568a223: Pulling fs layer 23:48:39 8dc6ef1a942a: Pulling fs layer 23:48:39 2312dd95470a: Pulling fs layer 23:48:39 80e8d568a223: Waiting 23:48:39 8dc6ef1a942a: Waiting 23:48:39 2312dd95470a: Waiting 23:48:39 2e060f4bd70b: Waiting 23:48:39 292df0bc6bf3: Verifying Checksum 23:48:39 292df0bc6bf3: Download complete 23:48:38 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:48:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:48:38 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:48:38 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:48:38 using GIT_SSH to set credentials SSH Credentials for GitHub 23:48:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/875/head:refs/remotes/origin/PR-875 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:48:39 > git config core.sparsecheckout # timeout=10 23:48:39 > git checkout -f f9862466792e7d0dcceb1905b0181161eb5fc782 # timeout=10 23:48:39 > git remote # timeout=10 23:48:39 > git config --get remote.origin.url # timeout=10 23:48:39 using GIT_SSH to set credentials SSH Credentials for GitHub 23:48:39 > git merge d60328c32dfc0c7c0cb78d3227db5683dd1fac29 # timeout=10 23:48:39 > git rev-parse HEAD^{commit} # timeout=10 23:48:39 > git config core.sparsecheckout # timeout=10 23:48:39 > git checkout -f 44472ac5d03ab7452ea09a2b93679c25d827059d # timeout=10 23:48:39 6db28d0fdbf6: Verifying Checksum 23:48:39 6db28d0fdbf6: Download complete 23:48:39 05e7bc50f07f: Verifying Checksum 23:48:39 05e7bc50f07f: Download complete 23:48:39 80e8d568a223: Verifying Checksum 23:48:39 80e8d568a223: Download complete 23:48:39 8dc6ef1a942a: Verifying Checksum 23:48:39 8dc6ef1a942a: Download complete 23:48:39 2312dd95470a: Verifying Checksum 23:48:39 2312dd95470a: Download complete 23:48:39 05e7bc50f07f: Pull complete 23:48:40 6db28d0fdbf6: Pull complete 23:48:40 292df0bc6bf3: Pull complete 23:48:42 2e060f4bd70b: Verifying Checksum 23:48:42 2e060f4bd70b: Download complete 23:48:43 Commit message: "Merge commit 'd60328c32dfc0c7c0cb78d3227db5683dd1fac29' into HEAD" 23:48:43 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 23:48:43 > git rev-list --no-walk 9ec582d5e80ed6e922498106dc55bcb2f1d872bc # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:48:44 ========================================================= 23:48:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:48:44 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:48:44 2e060f4bd70b: Pull complete 23:48:44 80e8d568a223: Pull complete 23:48:44 8dc6ef1a942a: Pull complete 23:48:44 2312dd95470a: Pull complete 23:48:44 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 23:48:44 Status: Downloaded newer image for docker:20.10.0 23:48:45 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 23:48:46 ---> 508492f64c71 23:48:46 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:48:46 ---> Running in 8093545e09f1 23:48:46 Removing intermediate container 8093545e09f1 23:48:46 ---> 996170255964 23:48:46 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:48:46 ---> Running in 974c361b0057 23:48:46 Sending build context to Docker daemon 19.82MB 23:48:46 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 23:48:46 Step 2/8 : FROM ${BASE} 23:48:46 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 23:48:47 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:48:47 595b0fe564bb: Pulling fs layer 23:48:47 24495759ef45: Pulling fs layer 23:48:47 d148012ef14d: Pulling fs layer 23:48:47 e90a11edd702: Pulling fs layer 23:48:47 d77568369979: Pulling fs layer 23:48:47 fc1c9f9a7f3b: Pulling fs layer 23:48:47 170f2ba95c9a: Pulling fs layer 23:48:47 97ac5df62f85: Pulling fs layer 23:48:47 fc1c9f9a7f3b: Waiting 23:48:47 e90a11edd702: Waiting 23:48:47 170f2ba95c9a: Waiting 23:48:47 d77568369979: Waiting 23:48:47 97ac5df62f85: Waiting 23:48:47 d148012ef14d: Download complete 23:48:47 24495759ef45: Verifying Checksum 23:48:47 24495759ef45: Download complete 23:48:47 d77568369979: Verifying Checksum 23:48:47 d77568369979: Download complete 23:48:47 fc1c9f9a7f3b: Download complete 23:48:47 595b0fe564bb: Verifying Checksum 23:48:47 595b0fe564bb: Download complete 23:48:47 170f2ba95c9a: Download complete 23:48:47 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 23:48:48 595b0fe564bb: Pull complete 23:48:48 OK: 219 MiB in 52 packages 23:48:48 Removing intermediate container 974c361b0057 23:48:48 ---> 6096c7a565e7 23:48:48 Step 6/8 : WORKDIR /build 23:48:48 ---> Running in 49942d80ca84 23:48:48 Removing intermediate container 49942d80ca84 23:48:48 ---> 1640d309a7bb 23:48:48 Step 7/8 : COPY go.mod . 23:48:48 ---> d57e2aa31dc1 23:48:48 Step 8/8 : RUN go mod download 23:48:48 ---> Running in 39983214011d 23:48:48 24495759ef45: Pull complete 23:48:49 d148012ef14d: Pull complete 23:48:51 97ac5df62f85: Verifying Checksum 23:48:51 97ac5df62f85: Download complete 23:48:51 e90a11edd702: Verifying Checksum 23:48:51 e90a11edd702: Download complete 23:49:03 Removing intermediate container 39983214011d 23:49:03 ---> 9677a3895a7c 23:49:03 Successfully built 9677a3895a7c 23:49:03 Successfully tagged ci-base-image-x86_64:latest 23:49:03 e90a11edd702: Pull complete 23:49:03 d77568369979: Pull complete 23:49:03 fc1c9f9a7f3b: Pull complete 23:49:03 170f2ba95c9a: Pull complete [Pipeline] isUnix [Pipeline] sh 23:49:04 + docker inspect -f . ci-base-image-x86_64 23:49:04 . [Pipeline] withDockerContainer 23:49:04 prd-centos7-docker-4c-2g-776 does not seem to be running inside a container 23:49:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/32 -v /w/workspace/app-functions-sdk-go/32:/w/workspace/app-functions-sdk-go/32:rw,z -v /w/workspace/app-functions-sdk-go/32@tmp:/w/workspace/app-functions-sdk-go/32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:49:04 $ docker top 48b30463979bdc665167e858f0fb0aca4d354f3b515a60cedea104a06547c1b0 -eo pid,comm [Pipeline] { [Pipeline] sh 23:49:05 + go version 23:49:05 go version go1.16.6 linux/amd64 [Pipeline] } 23:49:05 $ docker stop --time=1 48b30463979bdc665167e858f0fb0aca4d354f3b515a60cedea104a06547c1b0 23:49:06 $ docker rm -f 48b30463979bdc665167e858f0fb0aca4d354f3b515a60cedea104a06547c1b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:49:06 + docker inspect -f . ci-base-image-x86_64 23:49:06 . [Pipeline] withDockerContainer 23:49:06 prd-centos7-docker-4c-2g-776 does not seem to be running inside a container 23:49:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/32 -v /w/workspace/app-functions-sdk-go/32:/w/workspace/app-functions-sdk-go/32:rw,z -v /w/workspace/app-functions-sdk-go/32@tmp:/w/workspace/app-functions-sdk-go/32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:49:07 $ docker top b0df0e1583b34c80f11d17339145a3e59c3352f80ef97ee9613259b2e89cb470 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:49:07 + make test 23:49:07 make -C ./app-service-template build 23:49:07 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/32/app-service-template' 23:49: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:49:07 go: github.com/edgexfoundry/app-functions-sdk-go/v2@v2.0.1 requires 23:49:07 github.com/fxamacker/cbor/v2@v2.3.0: missing go.sum entry; to add it: 23:49:07 go mod download github.com/fxamacker/cbor/v2 23:49:07 make[1]: *** [Makefile:40: build] Error 1 23:49:07 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/32/app-service-template' 23:49:07 make: *** [Makefile:22: build] Error 2 [Pipeline] } 23:49:07 $ docker stop --time=1 b0df0e1583b34c80f11d17339145a3e59c3352f80ef97ee9613259b2e89cb470 23:49:08 $ docker rm -f b0df0e1583b34c80f11d17339145a3e59c3352f80ef97ee9613259b2e89cb470 [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 23:49:09 97ac5df62f85: Pull complete 23:49:09 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 23:49:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:49:09 ---> 04bc70af865f 23:49:09 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 23:49:09 20.10.0: Pulling from library/docker 23:49:09 a3cc7d3b244e: Pulling fs layer 23:49:09 02a3295e0d61: Pulling fs layer 23:49:09 0f4f2e6d8100: Pulling fs layer 23:49:09 330b718f631f: Pulling fs layer 23:49:09 a93816041522: Pulling fs layer 23:49:09 bdb6da89ff94: Pulling fs layer 23:49:09 2a70c0c122f4: Pulling fs layer 23:49:09 a93816041522: Waiting 23:49:09 330b718f631f: Waiting 23:49:09 bdb6da89ff94: Waiting 23:49:09 2a70c0c122f4: Waiting 23:49:09 0f4f2e6d8100: Verifying Checksum 23:49:09 0f4f2e6d8100: Download complete [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:49:09 02a3295e0d61: Verifying Checksum 23:49:09 02a3295e0d61: Download complete 23:49:09 a3cc7d3b244e: Verifying Checksum 23:49:09 a3cc7d3b244e: Download complete 23:49:09 a93816041522: Verifying Checksum 23:49:09 a93816041522: Download complete 23:49:09 2a70c0c122f4: Verifying Checksum 23:49:09 2a70c0c122f4: Download complete 23:49:09 bdb6da89ff94: Verifying Checksum 23:49:09 bdb6da89ff94: Download complete 23:49:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:49:09 23:49:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:49:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:49:10 a3cc7d3b244e: Pull complete 23:49:10 latest: Pulling from edgex-lftools-log-publisher 23:49:10 b4d181a07f80: Pulling fs layer 23:49:10 a1111a8f2ec3: Pulling fs layer 23:49:10 ed53099fbce6: Pulling fs layer 23:49:10 dc539afda2c1: Pulling fs layer 23:49:10 77bc0d833cb6: Pulling fs layer 23:49:10 9065ff56babe: Pulling fs layer 23:49:10 d287ab97295c: Pulling fs layer 23:49:10 77bc0d833cb6: Waiting 23:49:10 9065ff56babe: Waiting 23:49:10 d287ab97295c: Waiting 23:49:10 dc539afda2c1: Waiting 23:49:11 02a3295e0d61: Pull complete 23:49:11 0f4f2e6d8100: Pull complete 23:49:11 a1111a8f2ec3: Download complete 23:49:11 dc539afda2c1: Verifying Checksum 23:49:11 dc539afda2c1: Download complete 23:49:11 330b718f631f: Verifying Checksum 23:49:11 330b718f631f: Download complete 23:49:11 77bc0d833cb6: Verifying Checksum 23:49:11 77bc0d833cb6: Download complete 23:49:11 9065ff56babe: Verifying Checksum 23:49:11 9065ff56babe: Download complete 23:49:11 ed53099fbce6: Verifying Checksum 23:49:11 ed53099fbce6: Download complete 23:49:12 b4d181a07f80: Verifying Checksum 23:49:12 b4d181a07f80: Download complete 23:49:13 b4d181a07f80: Pull complete 23:49:13 a1111a8f2ec3: Pull complete 23:49:14 ed53099fbce6: Pull complete 23:49:14 dc539afda2c1: Pull complete 23:49:14 77bc0d833cb6: Pull complete 23:49:14 9065ff56babe: Pull complete 23:49:15 330b718f631f: Pull complete 23:49:15 a93816041522: Pull complete 23:49:16 bdb6da89ff94: Pull complete 23:49:16 d287ab97295c: Verifying Checksum 23:49:16 d287ab97295c: Download complete 23:49:16 2a70c0c122f4: Pull complete 23:49:16 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 23:49:16 Status: Downloaded newer image for docker:20.10.0 23:49:20 d287ab97295c: Pull complete 23:49:20 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:49:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:49:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:49:20 prd-centos7-docker-4c-2g-776 does not seem to be running inside a container 23:49:20 $ 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/32 -v /w/workspace/app-functions-sdk-go/32:/w/workspace/app-functions-sdk-go/32:rw,z -v /w/workspace/app-functions-sdk-go/32@tmp:/w/workspace/app-functions-sdk-go/32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:49:23 $ docker top 9f364093aa00bb14b5777a9961121aab97efbf906d0ce34152d555c38d340c32 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:49:23 ---> job-cost.sh 23:49:23 lf-activate-venv: SKIPPING 23:49:23 INFO: No Stack... 23:49:24 INFO: Retrieving Pricing Info for: v3-standard-2 23:49:24 INFO: Archiving Costs [Pipeline] sh 23:49:25 + cat /w/workspace/app-functions-sdk-go/32/archives/cost.csv 23:49:25 + cut -d, -f6 [Pipeline] lock 23:49:25 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-32-stack-cost] 23:49:25 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-32-stack-cost] did not exist. Created. 23:49:25 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:49:25 + echo total: 0.05999999865889549 [Pipeline] stash 23:49:26 Stashed 1 file(s) [Pipeline] } 23:49:26 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-32-stack-cost] [Pipeline] // lock [Pipeline] } 23:49:26 $ docker stop --time=1 9f364093aa00bb14b5777a9961121aab97efbf906d0ce34152d555c38d340c32 23:49:26 ---> ee50ada23c37 23:49:26 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:49:26 ---> Running in dfd6f1267067 23:49:26 Removing intermediate container dfd6f1267067 23:49:26 ---> 9095b0b08a15 23:49:26 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:49:26 ---> Running in 75feed84ddf5 23:49:27 $ docker rm -f 9f364093aa00bb14b5777a9961121aab97efbf906d0ce34152d555c38d340c32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:49:27 Failed in branch amd64 23:49:28 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 23:49:29 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 23:49:30 OK: 218 MiB in 52 packages 23:49:31 Removing intermediate container 75feed84ddf5 23:49:31 ---> 1f0b874f0023 23:49:31 Step 6/8 : WORKDIR /build 23:49:32 ---> Running in cc0fa7a3975b 23:49:32 Removing intermediate container cc0fa7a3975b 23:49:32 ---> 1afa578b206a 23:49:32 Step 7/8 : COPY go.mod . 23:49:33 ---> 9666135d2d51 23:49:33 Step 8/8 : RUN go mod download 23:49:33 ---> Running in d6040f484afd 23:50:06 Removing intermediate container d6040f484afd 23:50:06 ---> 58bf167b8a67 23:50:06 Successfully built 58bf167b8a67 23:50:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:50:06 + docker inspect -f . ci-base-image-arm64 23:50:06 . [Pipeline] withDockerContainer 23:50:07 prd-ubuntu18.04-docker-arm64-4c-16g-775 does not seem to be running inside a container 23:50:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/32 -v /w/workspace/app-functions-sdk-go/32:/w/workspace/app-functions-sdk-go/32:rw,z -v /w/workspace/app-functions-sdk-go/32@tmp:/w/workspace/app-functions-sdk-go/32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:50:09 $ docker top e3899294de902d55476de22c6d763786d618a7598ae344fa72ef4c5ade75568c -eo pid,comm [Pipeline] { [Pipeline] sh 23:50:10 + go version 23:50:10 go version go1.16.6 linux/arm64 [Pipeline] } 23:50:10 $ docker stop --time=1 e3899294de902d55476de22c6d763786d618a7598ae344fa72ef4c5ade75568c 23:50:12 $ docker rm -f e3899294de902d55476de22c6d763786d618a7598ae344fa72ef4c5ade75568c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:50:12 + docker inspect -f . ci-base-image-arm64 23:50:12 . [Pipeline] withDockerContainer 23:50:13 prd-ubuntu18.04-docker-arm64-4c-16g-775 does not seem to be running inside a container 23:50:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/32 -v /w/workspace/app-functions-sdk-go/32:/w/workspace/app-functions-sdk-go/32:rw,z -v /w/workspace/app-functions-sdk-go/32@tmp:/w/workspace/app-functions-sdk-go/32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:50:14 $ docker top aad30980be11039907b9629f35ba7e61d3c479ef6ba50b4d4bc2b4440307565a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:50:15 + make test 23:50:15 make -C ./app-service-template build 23:50:15 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/32/app-service-template' 23:50:15 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:15 go: github.com/edgexfoundry/app-functions-sdk-go/v2@v2.0.1 requires 23:50:15 github.com/fxamacker/cbor/v2@v2.3.0: missing go.sum entry; to add it: 23:50:15 go mod download github.com/fxamacker/cbor/v2 23:50:15 make[1]: *** [Makefile:40: build] Error 1 23:50:15 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/32/app-service-template' 23:50:15 make: *** [Makefile:22: build] Error 2 [Pipeline] } 23:50:15 $ docker stop --time=1 aad30980be11039907b9629f35ba7e61d3c479ef6ba50b4d4bc2b4440307565a 23:50:17 $ docker rm -f aad30980be11039907b9629f35ba7e61d3c479ef6ba50b4d4bc2b4440307565a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:50:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:50:18 23:50:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:50:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:50:19 arm64: Pulling from edgex-lftools-log-publisher 23:50:19 448f6bf000e3: Pulling fs layer 23:50:19 f757da607395: Pulling fs layer 23:50:19 05883995daec: Pulling fs layer 23:50:19 8603b9c90790: Pulling fs layer 23:50:19 1560dd03e051: Pulling fs layer 23:50:19 8603b9c90790: Waiting 23:50:19 27f5ce0e4adf: Pulling fs layer 23:50:19 1560dd03e051: Waiting 23:50:19 c2d8d7efcc4b: Pulling fs layer 23:50:19 27f5ce0e4adf: Waiting 23:50:19 c2d8d7efcc4b: Waiting 23:50:19 f757da607395: Verifying Checksum 23:50:19 f757da607395: Download complete 23:50:19 8603b9c90790: Download complete 23:50:19 1560dd03e051: Verifying Checksum 23:50:19 1560dd03e051: Download complete 23:50:19 27f5ce0e4adf: Verifying Checksum 23:50:20 448f6bf000e3: Verifying Checksum 23:50:20 448f6bf000e3: Download complete 23:50:20 05883995daec: Verifying Checksum 23:50:20 05883995daec: Download complete 23:50:24 c2d8d7efcc4b: Verifying Checksum 23:50:24 c2d8d7efcc4b: Download complete 23:50:24 448f6bf000e3: Pull complete 23:50:24 f757da607395: Pull complete 23:50:26 05883995daec: Pull complete 23:50:26 8603b9c90790: Pull complete 23:50:27 1560dd03e051: Pull complete 23:50:27 27f5ce0e4adf: Pull complete 23:50:43 c2d8d7efcc4b: Pull complete 23:50:43 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:50:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:50:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:50:43 prd-ubuntu18.04-docker-arm64-4c-16g-775 does not seem to be running inside a container 23:50:43 $ 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/32 -v /w/workspace/app-functions-sdk-go/32:/w/workspace/app-functions-sdk-go/32:rw,z -v /w/workspace/app-functions-sdk-go/32@tmp:/w/workspace/app-functions-sdk-go/32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:50:47 $ docker top 9f8db653183131845d1b3050128633ae8d29bb5e3edb5c971a0e42ae2c5810c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:50:48 ---> job-cost.sh 23:50:48 lf-activate-venv: SKIPPING 23:50:48 INFO: No Stack... 23:50:49 INFO: Retrieving Pricing Info for: v2-standard-4 23:50:50 INFO: Archiving Costs [Pipeline] sh 23:50:50 + cat /w/workspace/app-functions-sdk-go/32/archives/cost.csv 23:50:50 + cut -d, -f6 [Pipeline] lock 23:50:50 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-32-stack-cost] 23:50:50 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-32-stack-cost] did not exist. Created. 23:50:50 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:50:51 /w/workspace/app-functions-sdk-go/32@tmp/durable-3de5c13d/script.sh: 1: /w/workspace/app-functions-sdk-go/32@tmp/durable-3de5c13d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:50:52 + echo total: 0.18000000715255737 [Pipeline] stash 23:50:52 Warning: overwriting stash ‘stack-cost’ 23:50:52 Stashed 1 file(s) [Pipeline] } 23:50:52 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-32-stack-cost] [Pipeline] // lock [Pipeline] } 23:50:52 $ docker stop --time=1 9f8db653183131845d1b3050128633ae8d29bb5e3edb5c971a0e42ae2c5810c0 23:50:54 $ docker rm -f 9f8db653183131845d1b3050128633ae8d29bb5e3edb5c971a0e42ae2c5810c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:50:55 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:50:56 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-875/archives ']' [Pipeline] libraryResource [Pipeline] sh 23:50:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:50:57 ---> package-listing.sh 23:50:57 ++ facter osfamily 23:50:57 ++ tr '[:upper:]' '[:lower:]' 23:50:57 + OS_FAMILY=redhat 23:50:57 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-875 23:50:57 + START_PACKAGES=/tmp/packages_start.txt 23:50:57 + END_PACKAGES=/tmp/packages_end.txt 23:50:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:50:57 + PACKAGES=/tmp/packages_start.txt 23:50:57 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-875 ']' 23:50:57 + PACKAGES=/tmp/packages_end.txt 23:50:57 + case "${OS_FAMILY}" in 23:50:57 + sort 23:50:57 + rpm -qa 23:50:57 + '[' -f /tmp/packages_start.txt ']' 23:50:57 + '[' -f /tmp/packages_end.txt ']' 23:50:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:50:57 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-875 ']' 23:50:57 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-875/archives/ 23:50:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-875/archives/ [Pipeline] echo 23:50:57 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-875/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:50:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:50:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:50:58 23:50:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:50:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:50:59 latest: Pulling from edgex-lftools-log-publisher 23:50:59 b4d181a07f80: Pulling fs layer 23:50:59 a1111a8f2ec3: Pulling fs layer 23:50:59 ed53099fbce6: Pulling fs layer 23:50:59 dc539afda2c1: Pulling fs layer 23:50:59 77bc0d833cb6: Pulling fs layer 23:50:59 9065ff56babe: Pulling fs layer 23:50:59 d287ab97295c: Pulling fs layer 23:50:59 dc539afda2c1: Waiting 23:50:59 77bc0d833cb6: Waiting 23:50:59 9065ff56babe: Waiting 23:50:59 d287ab97295c: Waiting 23:50:59 a1111a8f2ec3: Verifying Checksum 23:50:59 a1111a8f2ec3: Download complete 23:50:59 dc539afda2c1: Verifying Checksum 23:50:59 dc539afda2c1: Download complete 23:50:59 77bc0d833cb6: Verifying Checksum 23:50:59 77bc0d833cb6: Download complete 23:50:59 9065ff56babe: Verifying Checksum 23:50:59 9065ff56babe: Download complete 23:50:59 ed53099fbce6: Verifying Checksum 23:50:59 ed53099fbce6: Download complete 23:51:00 b4d181a07f80: Verifying Checksum 23:51:00 b4d181a07f80: Download complete 23:51:01 b4d181a07f80: Pull complete 23:51:01 a1111a8f2ec3: Pull complete 23:51:02 ed53099fbce6: Pull complete 23:51:02 dc539afda2c1: Pull complete 23:51:02 77bc0d833cb6: Pull complete 23:51:02 9065ff56babe: Pull complete 23:51:05 d287ab97295c: Verifying Checksum 23:51:05 d287ab97295c: Download complete 23:51:09 d287ab97295c: Pull complete 23:51:09 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:51:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:51:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:51:09 prd-centos7-docker-4c-2g-773 does not seem to be running inside a container 23:51:09 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-875/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-875 -v /w/workspace/ndry_app-functions-sdk-go_PR-875:/w/workspace/ndry_app-functions-sdk-go_PR-875:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-875@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-875@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:51:12 $ docker top 2333f67e1123d6376019baba37b94a8d26cb6c8e81a2886b94200fa6dfebab9c -eo pid,comm [Pipeline] { [Pipeline] sh 23:51:12 + touch /tmp/pre-build-complete [Pipeline] sh 23:51:12 + mkdir -p /var/log/sysstat [Pipeline] sh 23:51:13 + ls /var/log/sa-host 23:51:13 + sadf -c /var/log/sa-host/sa05 23:51:13 file_magic: OK 23:51:13 HZ: Using current value: 100 23:51:13 file_header: OK 23:51:13 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 23:51:13 Statistics: 23:51:13 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:51:13 File successfully converted to sysstat format version 12.0.3 23:51:13 + sadf -c /var/log/sa-host/sa12 23:51:13 file_magic: OK 23:51:13 HZ: Using current value: 100 23:51:13 file_header: OK 23:51:13 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 23:51:13 Statistics: 23:51:13 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:51:13 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:51:13 provisioning config files... 23:51:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/config5209577396607307495tmp [Pipeline] { [Pipeline] echo 23:51:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:51:14 ---> create-netrc.sh [Pipeline] } 23:51:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:51:14 ---> python-tools-install.sh [Pipeline] echo 23:51:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:51:14 ---> sudo-logs.sh 23:51:14 Archiving 'sudo' log.. 23:51:14 sudo: unable to resolve host prd-centos7-docker-4c-2g-773.vexxhost.local: Name or service not known 23:51:14 sudo: unable to resolve host prd-centos7-docker-4c-2g-773.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 23:51:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:51:15 ---> job-cost.sh 23:51:15 lf-activate-venv: SKIPPING 23:51:15 DEBUG: total: 0.18000000715255737 23:51:15 INFO: Retrieving Stack Cost... 23:51:16 INFO: Retrieving Pricing Info for: v3-standard-2 23:51:16 INFO: Archiving Costs [Pipeline] echo 23:51:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:51:16 ---> logs-deploy.sh 23:51:16 lf-activate-venv: SKIPPING 23:51:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-875/32 23:51:16 INFO: archiving workspace using pattern(s): 23:51:17 Archives upload complete. 23:51:17 INFO: archiving logs to Nexus 23:51:17 ---> uname -a: 23:51:17 Linux prd-centos7-docker-4c-2g-773.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 23:51:17 23:51:17 23:51:17 ---> lscpu: 23:51:17 Architecture: x86_64 23:51:17 CPU op-mode(s): 32-bit, 64-bit 23:51:17 Byte Order: Little Endian 23:51:17 Address sizes: 40 bits physical, 48 bits virtual 23:51:17 CPU(s): 2 23:51:17 On-line CPU(s) list: 0,1 23:51:17 Thread(s) per core: 1 23:51:17 Core(s) per socket: 1 23:51:17 Socket(s): 2 23:51:17 NUMA node(s): 1 23:51:17 Vendor ID: AuthenticAMD 23:51:17 CPU family: 23 23:51:17 Model: 49 23:51:17 Model name: AMD EPYC-Rome Processor 23:51:17 Stepping: 0 23:51:17 CPU MHz: 2799.998 23:51:17 BogoMIPS: 5599.99 23:51:17 Virtualization: AMD-V 23:51:17 Hypervisor vendor: KVM 23:51:17 Virtualization type: full 23:51:17 L1d cache: 32K 23:51:17 L1i cache: 32K 23:51:17 L2 cache: 512K 23:51:17 L3 cache: 16384K 23:51:17 NUMA node0 CPU(s): 0,1 23:51:17 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 23:51:17 23:51:17 23:51:17 ---> nproc: 23:51:17 2 23:51:17 23:51:17 23:51:17 ---> df -h: 23:51:17 Filesystem Size Used Avail Use% Mounted on 23:51:17 overlay 40G 7.7G 33G 20% / 23:51:17 tmpfs 64M 0 64M 0% /dev 23:51:17 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 23:51:17 shm 64M 0 64M 0% /dev/shm 23:51:17 /dev/vda1 40G 7.7G 33G 20% /facter-os 23:51:17 23:51:17 23:51:17 ---> sar -b -r -n DEV: 23:51:17 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/12/21 _x86_64_ (2 CPU) 23:51:17 23:51:17 23:45:15 LINUX RESTART (2 CPU) 23:51:17 23:51:17 23:46:01 tps rtps wtps bread/s bwrtn/s 23:51:17 23:47:01 21.97 3.15 18.82 2521.37 4068.98 23:51:17 23:48:02 0.42 0.00 0.42 0.00 7.20 23:51:17 23:49:01 0.25 0.00 0.25 0.00 3.46 23:51:17 23:50:01 0.23 0.00 0.23 0.00 3.20 23:51:17 23:51:01 0.82 0.10 0.72 10.00 7.33 23:51:17 Average: 4.75 0.65 4.10 508.08 820.94 23:51:17 23:51:17 23:46:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:51:17 23:47:01 5428316 0 809408 10.11 2620 1768596 1282040 14.15 599616 1581616 28 23:51:17 23:48:02 5434968 0 802752 10.02 2620 1768600 1204496 13.30 593848 1581688 20 23:51:17 23:49:01 5434348 0 803372 10.03 2620 1768600 1204748 13.30 595724 1581192 8 23:51:17 23:50:01 5433136 0 804576 10.05 2620 1768608 1204848 13.30 596504 1581832 12 23:51:17 23:51:01 5230428 0 890536 11.12 2620 1885356 1605132 17.72 815920 1555988 116308 23:51:17 Average: 5392239 0 822129 10.27 2620 1791952 1300253 14.36 640322 1576463 23275 23:51:17 23:51:17 23:46:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:51:17 23:47:01 eth0 178.65 163.08 646.56 23.12 0.00 0.00 0.00 0.00 23:51:17 23:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:17 23:47:01 docker0 113.39 95.97 9.68 313.79 0.00 0.00 0.00 0.00 23:51:17 23:48:02 eth0 0.98 0.07 0.10 0.01 0.00 0.00 0.00 0.00 23:51:17 23:48:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:17 23:48:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:17 23:49:01 eth0 2.19 0.56 0.66 0.40 0.00 0.00 0.00 0.00 23:51:17 23:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:17 23:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:17 23:50:01 eth0 1.00 0.62 0.54 0.37 0.00 0.00 0.00 0.00 23:51:17 23:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:17 23:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:17 23:51:01 eth0 178.89 117.66 1195.26 11.63 0.00 0.00 0.00 0.00 23:51:17 23:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:17 23:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:17 Average: eth0 72.58 56.59 369.86 7.13 0.00 0.00 0.00 0.00 23:51:17 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:17 Average: docker0 22.76 19.26 1.94 62.98 0.00 0.00 0.00 0.00 23:51:17 23:51:17 23:51:17 ---> sar -P ALL: 23:51:17 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/12/21 _x86_64_ (2 CPU) 23:51:17 23:51:17 23:45:15 LINUX RESTART (2 CPU) 23:51:17 23:51:17 23:46:01 CPU %user %nice %system %iowait %steal %idle 23:51:17 23:47:01 all 3.87 0.00 1.66 0.27 0.03 94.16 23:51:17 23:47:01 0 4.26 0.00 1.71 0.29 0.03 93.72 23:51:17 23:47:01 1 3.49 0.00 1.62 0.25 0.03 94.60 23:51:17 23:48:02 all 0.23 0.00 0.04 0.00 0.03 99.71 23:51:17 23:48:02 0 0.03 0.00 0.03 0.00 0.02 99.92 23:51:17 23:48:02 1 0.42 0.00 0.05 0.00 0.03 99.50 23:51:17 23:49:01 all 0.14 0.00 0.06 0.00 0.02 99.79 23:51:17 23:49:01 0 0.07 0.00 0.05 0.00 0.02 99.86 23:51:17 23:49:01 1 0.20 0.00 0.07 0.00 0.02 99.71 23:51:17 23:50:01 all 0.18 0.00 0.03 0.00 0.02 99.77 23:51:17 23:50:01 0 0.10 0.00 0.03 0.00 0.02 99.85 23:51:17 23:50:01 1 0.25 0.00 0.03 0.00 0.02 99.70 23:51:17 23:51:01 all 2.31 0.00 0.65 0.01 0.03 97.01 23:51:17 23:51:01 0 2.50 0.00 0.67 0.02 0.02 96.79 23:51:17 23:51:01 1 2.11 0.00 0.62 0.00 0.03 97.23 23:51:17 Average: all 1.34 0.00 0.49 0.06 0.02 98.09 23:51:17 Average: 0 1.39 0.00 0.50 0.06 0.02 98.03 23:51:17 Average: 1 1.29 0.00 0.48 0.05 0.03 98.15 23:51:17 23:51:17 23:51:17