Pull request #2851 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 44cbd7c997dc2dbf73745f687d96e2b91d4e99eb+2a86d860cf369141c507c16492d2a148a24443a3 (ff9a6989ce64f6db9a702c7d9e89930a627bc92b) 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [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 ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-8824 in /w/workspace/edgexfoundry_edgex-go_PR-2851 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout [Pipeline] } [Pipeline] // stage [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:17:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:17:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:17:10 ========================================================= 08:17:10 EdgeX Global Pipelines Version Info 08:17:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:17:12 ------------------- 08:17:12 stable info: 08:17:12 ------------------- 08:17:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:17:12 Commit SHA: f3f382fce060f16c10d6f597981912fab355381a 08:17:12 Message: update stable to v1.0.148 08:17:13 ------------------- 08:17:13 experimental info: 08:17:13 ------------------- 08:17:13 Commited By: **** collab-it+edgex@linuxfoundation.org 08:17:13 Commit SHA: 2701555fd48d7f7017006eef04e32eb767bac8dc 08:17:13 Message: update experimental to v1.0.151 [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] { (Docker Build) [Pipeline] stage [Pipeline] { (Docker 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] } 08:17:16 Failed in branch arm64 [Pipeline] stage [Pipeline] { (Snap) Stage "amd64" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } 08:17:16 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 Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 08:17:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:17:20 ---> package-listing.sh 08:17:20 ++ facter osfamily 08:17:20 ++ tr '[:upper:]' '[:lower:]' 08:17:20 + OS_FAMILY=redhat 08:17:20 + workspace=/w/workspace/edgex-go/2 08:17:20 + START_PACKAGES=/tmp/packages_start.txt 08:17:20 + END_PACKAGES=/tmp/packages_end.txt 08:17:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:17:20 + PACKAGES=/tmp/packages_start.txt 08:17:20 + '[' /w/workspace/edgex-go/2 ']' 08:17:20 + PACKAGES=/tmp/packages_end.txt 08:17:20 + case "${OS_FAMILY}" in 08:17:20 + rpm -qa 08:17:20 + sort 08:17:24 + '[' -f /tmp/packages_start.txt ']' 08:17:24 + '[' -f /tmp/packages_end.txt ']' 08:17:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:17:24 + '[' /w/workspace/edgex-go/2 ']' 08:17:24 + mkdir -p /w/workspace/edgex-go/2/archives/ 08:17:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo 08:17:24 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/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:17:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:17:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:17:25 08:17:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:17:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:17:25 alpine: Pulling from edgex-lftools-log-publisher 08:17:25 df20fa9351a1: Pulling fs layer 08:17:25 36b3adc4ff6f: Pulling fs layer 08:17:25 8ad3a11d3b57: Pulling fs layer 08:17:25 46f8f816bc3b: Pulling fs layer 08:17:25 93b61091891f: Pulling fs layer 08:17:25 93b9cdb0e59b: Pulling fs layer 08:17:25 5e14af77c1be: Pulling fs layer 08:17:25 01666e4c0597: Pulling fs layer 08:17:25 aa168da1d23b: Pulling fs layer 08:17:25 93b61091891f: Waiting 08:17:25 93b9cdb0e59b: Waiting 08:17:25 5e14af77c1be: Waiting 08:17:25 01666e4c0597: Waiting 08:17:25 aa168da1d23b: Waiting 08:17:25 46f8f816bc3b: Waiting 08:17:25 36b3adc4ff6f: Verifying Checksum 08:17:25 36b3adc4ff6f: Download complete 08:17:25 46f8f816bc3b: Download complete 08:17:25 df20fa9351a1: Verifying Checksum 08:17:25 df20fa9351a1: Download complete 08:17:25 93b9cdb0e59b: Verifying Checksum 08:17:25 93b9cdb0e59b: Download complete 08:17:25 5e14af77c1be: Verifying Checksum 08:17:25 5e14af77c1be: Download complete 08:17:25 93b61091891f: Verifying Checksum 08:17:25 93b61091891f: Download complete 08:17:25 01666e4c0597: Verifying Checksum 08:17:25 01666e4c0597: Download complete 08:17:26 df20fa9351a1: Pull complete 08:17:26 36b3adc4ff6f: Pull complete 08:17:27 8ad3a11d3b57: Verifying Checksum 08:17:27 8ad3a11d3b57: Download complete 08:17:27 8ad3a11d3b57: Pull complete 08:17:27 46f8f816bc3b: Pull complete 08:17:28 93b61091891f: Pull complete 08:17:28 93b9cdb0e59b: Pull complete 08:17:28 aa168da1d23b: Verifying Checksum 08:17:28 aa168da1d23b: Download complete 08:17:28 5e14af77c1be: Pull complete 08:17:28 01666e4c0597: Pull complete 08:17:35 aa168da1d23b: Pull complete 08:17:35 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:17:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:17:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:17:35 prd-centos7-docker-4c-2g-8824 does not seem to be running inside a container 08:17:35 $ 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/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 08:17:41 $ docker top f6ea4245e6e8263e6c7920bf13dd7133674af5ecd954376b91ef5ca38e3f9377 -eo pid,comm [Pipeline] { [Pipeline] sh 08:17:42 + touch /tmp/pre-build-complete [Pipeline] sh 08:17:42 + mkdir -p /var/log/sa [Pipeline] sh 08:17:42 + ls /var/log/sa-host 08:17:42 + sadf -c /var/log/sa-host/sa05 08:17:42 file_magic: OK 08:17:42 HZ: Using current value: 100 08:17:42 file_header: OK 08:17:42 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 08:17:42 Statistics: 08:17:42 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:17:42 File successfully converted to sysstat format version 12.2.1 08:17:42 + sadf -c /var/log/sa-host/sa26 08:17:42 file_magic: OK 08:17:42 HZ: Using current value: 100 08:17:42 file_header: OK 08:17:42 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 08:17:42 Statistics: 08:17:42 HRHnuu...uuuununununu... 08:17:42 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:17:43 provisioning config files... 08:17:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config1396061011028417125tmp [Pipeline] { [Pipeline] echo 08:17:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:17:43 ---> create-netrc.sh [Pipeline] } 08:17:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:17:43 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:17:44 ---> python-tools-install.sh [Pipeline] echo 08:17:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:17:44 ---> sudo-logs.sh 08:17:44 Archiving 'sudo' log.. [Pipeline] echo 08:17:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:17:44 ---> job-cost.sh 08:17:44 lf-activate-venv: SKIPPING 08:17:44 INFO: No Stack... 08:17:46 INFO: Retrieving Pricing Info for: v1-standard-2 08:17:46 INFO: Archiving Costs [Pipeline] echo 08:17:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:17:46 ---> logs-deploy.sh 08:17:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2851/2 08:17:46 INFO: archiving workspace using pattern(s): 08:17:48 Archives upload complete. 08:17:48 INFO: archiving logs to Nexus