Pull request #820 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from fd5f03cddf5c576887a9b0187a03660e2d0b11f4+7ab1d82b7e244905f9818398051c1e157ceda5e1 (2fbf6752dd2f2fdfd6d136b919378e3507b139df) 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3602 in /w/workspace/ndry_app-functions-sdk-go_PR-820 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout [Pipeline] } [Pipeline] // stage [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:28:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:28:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:28:05 ========================================================= 18:28:05 EdgeX Global Pipelines Version Info 18:28:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:28:08 ------------------- 18:28:08 stable info: 18:28:08 ------------------- 18:28:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:28:08 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 18:28:08 Message: update stable to v1.0.191 18:28:09 ------------------- 18:28:09 experimental info: 18:28:09 ------------------- 18:28:09 Commited By: **** collab-it+edgex@linuxfoundation.org 18:28:09 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 18:28:09 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Semver Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to earlier failure(s) Stage "arm64" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Prep) Stage "amd64" skipped due to earlier failure(s) [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) Stage "amd64" skipped due to earlier failure(s) [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Build) Stage "amd64" skipped due to earlier failure(s) [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Docker Push) Stage "amd64" skipped due to earlier failure(s) [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } 18:28:09 Failed in branch arm64 [Pipeline] stage [Pipeline] { (Snap) Stage "amd64" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } 18:28:09 Failed in branch amd64 [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] libraryResource [Pipeline] sh 18:28:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:28:11 ---> package-listing.sh 18:28:11 ++ facter osfamily 18:28:11 ++ tr '[:upper:]' '[:lower:]' 18:28:11 + OS_FAMILY=redhat 18:28:11 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-820 18:28:11 + START_PACKAGES=/tmp/packages_start.txt 18:28:11 + END_PACKAGES=/tmp/packages_end.txt 18:28:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:28:11 + PACKAGES=/tmp/packages_start.txt 18:28:11 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-820 ']' 18:28:11 + PACKAGES=/tmp/packages_end.txt 18:28:11 + case "${OS_FAMILY}" in 18:28:11 + rpm -qa 18:28:11 + sort 18:28:15 + '[' -f /tmp/packages_start.txt ']' 18:28:15 + '[' -f /tmp/packages_end.txt ']' 18:28:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:28:15 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-820 ']' 18:28:15 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-820/archives/ 18:28:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-820/archives/ [Pipeline] echo 18:28: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-820/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:28:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:28:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:28:16 18:28:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:28:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:28:17 alpine: Pulling from edgex-lftools-log-publisher 18:28:17 df20fa9351a1: Pulling fs layer 18:28:17 36b3adc4ff6f: Pulling fs layer 18:28:17 8ad3a11d3b57: Pulling fs layer 18:28:17 46f8f816bc3b: Pulling fs layer 18:28:17 93b61091891f: Pulling fs layer 18:28:17 93b9cdb0e59b: Pulling fs layer 18:28:17 5e14af77c1be: Pulling fs layer 18:28:17 01666e4c0597: Pulling fs layer 18:28:17 aa168da1d23b: Pulling fs layer 18:28:17 46f8f816bc3b: Waiting 18:28:17 93b61091891f: Waiting 18:28:17 93b9cdb0e59b: Waiting 18:28:17 5e14af77c1be: Waiting 18:28:17 01666e4c0597: Waiting 18:28:17 aa168da1d23b: Waiting 18:28:17 36b3adc4ff6f: Download complete 18:28:17 46f8f816bc3b: Download complete 18:28:17 df20fa9351a1: Verifying Checksum 18:28:17 df20fa9351a1: Download complete 18:28:17 93b9cdb0e59b: Verifying Checksum 18:28:17 93b9cdb0e59b: Download complete 18:28:17 5e14af77c1be: Verifying Checksum 18:28:17 5e14af77c1be: Download complete 18:28:17 93b61091891f: Verifying Checksum 18:28:17 93b61091891f: Download complete 18:28:17 01666e4c0597: Verifying Checksum 18:28:17 01666e4c0597: Download complete 18:28:17 8ad3a11d3b57: Verifying Checksum 18:28:17 8ad3a11d3b57: Download complete 18:28:17 df20fa9351a1: Pull complete 18:28:17 36b3adc4ff6f: Pull complete 18:28:19 8ad3a11d3b57: Pull complete 18:28:19 46f8f816bc3b: Pull complete 18:28:19 aa168da1d23b: Verifying Checksum 18:28:19 aa168da1d23b: Download complete 18:28:20 93b61091891f: Pull complete 18:28:20 93b9cdb0e59b: Pull complete 18:28:20 5e14af77c1be: Pull complete 18:28:20 01666e4c0597: Pull complete 18:28:29 aa168da1d23b: Pull complete 18:28:29 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 18:28:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:28:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:28:29 prd-centos7-docker-4c-2g-3602 does not seem to be running inside a container 18:28:29 $ 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-820/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-820 -v /w/workspace/ndry_app-functions-sdk-go_PR-820:/w/workspace/ndry_app-functions-sdk-go_PR-820:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-820@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-820@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:28:32 $ docker top a7f6980295c41351bca47f69a83fe842d08a6069089905804971492d85dbd0cb -eo pid,comm [Pipeline] { [Pipeline] sh 18:28:32 + touch /tmp/pre-build-complete [Pipeline] sh 18:28:33 + mkdir -p /var/log/sa [Pipeline] sh 18:28:33 + ls /var/log/sa-host 18:28:33 + sadf -c /var/log/sa-host/sa07 18:28:33 file_magic: OK 18:28:33 HZ: Using current value: 100 18:28:33 file_header: OK 18:28:33 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 18:28:33 Statistics: 18:28:33 HRHnuu...uuuununununu... 18:28:33 File successfully converted to sysstat format version 12.2.1 18:28:33 + sadf -c /var/log/sa-host/sa23 18:28:33 file_magic: OK 18:28:33 HZ: Using current value: 100 18:28:33 file_header: OK 18:28:33 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 18:28:33 Statistics: 18:28:33 Hnuu...uuuununununu... 18:28:33 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:28:33 provisioning config files... 18:28:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-820@tmp/config1184648954784299624tmp [Pipeline] { [Pipeline] echo 18:28:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:28:33 ---> create-netrc.sh [Pipeline] } 18:28:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 18:28:33 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 18:28:34 ---> python-tools-install.sh [Pipeline] echo 18:28:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:28:34 ---> sudo-logs.sh 18:28:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:28:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:28:34 ---> job-cost.sh 18:28:34 lf-activate-venv: SKIPPING 18:28:34 INFO: No Stack... 18:28:36 INFO: Retrieving Pricing Info for: v1-standard-2 18:28:36 INFO: Archiving Costs [Pipeline] echo 18:28:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:28:36 ---> logs-deploy.sh 18:28:36 lf-activate-venv: SKIPPING 18:28:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-820/2 18:28:36 INFO: archiving workspace using pattern(s): 18:28:38 Archives upload complete. 18:28:38 INFO: archiving logs to Nexus