Pull request #468 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b451e9f4a0983322fb709322832160452f8ddc2e+c89ea64ed19499ab5ba28d42d39506f385498632 (e0fb0ea01034ec3a787f26eecd3e323bad159c7a) 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > 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. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, goVersion:1.13, 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.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1840 in /w/workspace/ndry_app-functions-sdk-go_PR-468 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout [Pipeline] } [Pipeline] // stage [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-08T21:43:07.953Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-08T21:43:08.192Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-08T21:43:08.275Z] ========================================================= [2020-09-08T21:43:08.275Z] EdgeX Global Pipelines Version Info [2020-09-08T21:43:08.276Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-08T21:43:10.431Z] ------------------- [2020-09-08T21:43:10.431Z] stable info: [2020-09-08T21:43:10.431Z] ------------------- [2020-09-08T21:43:10.431Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-08T21:43:10.431Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-08T21:43:10.431Z] Message: update stable to v1.0.119 [2020-09-08T21:43:11.005Z] ------------------- [2020-09-08T21:43:11.005Z] experimental info: [2020-09-08T21:43:11.005Z] ------------------- [2020-09-08T21:43:11.005Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-08T21:43:11.005Z] Commit SHA: fce6018850fd827eed96b6ce04e8822d251c695d [2020-09-08T21:43:11.005Z] Message: update experimental to v1.0.120 [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] stage [Pipeline] { (Snap) [Pipeline] stage [Pipeline] { (Snap) Stage "amd64" skipped due to earlier failure(s) [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [2020-09-08T21:43:13.291Z] Failed in branch amd64 [Pipeline] } [2020-09-08T21:43:13.293Z] 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 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] 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 [2020-09-08T21:43:15.517Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-08T21:43:15.820Z] ---> package-listing.sh [2020-09-08T21:43:15.820Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-08T21:43:15.820Z] ++ facter osfamily [2020-09-08T21:43:15.820Z] + OS_FAMILY=redhat [2020-09-08T21:43:15.820Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-468 [2020-09-08T21:43:15.820Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-08T21:43:15.820Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-08T21:43:15.820Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-08T21:43:15.820Z] + PACKAGES=/tmp/packages_start.txt [2020-09-08T21:43:15.820Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-468 ']' [2020-09-08T21:43:15.820Z] + PACKAGES=/tmp/packages_end.txt [2020-09-08T21:43:15.820Z] + case "${OS_FAMILY}" in [2020-09-08T21:43:15.820Z] + rpm -qa [2020-09-08T21:43:15.820Z] + sort [2020-09-08T21:43:21.114Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-08T21:43:21.114Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-08T21:43:21.114Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-08T21:43:21.114Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-468 ']' [2020-09-08T21:43:21.114Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-468/archives/ [2020-09-08T21:43:21.115Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-468/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-08T21:43:22.108Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-08T21:43:22.108Z] [2020-09-08T21:43:22.108Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-08T21:43:22.443Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-08T21:43:22.443Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-08T21:43:22.443Z] df20fa9351a1: Pulling fs layer [2020-09-08T21:43:22.443Z] 36b3adc4ff6f: Pulling fs layer [2020-09-08T21:43:22.443Z] 8ad3a11d3b57: Pulling fs layer [2020-09-08T21:43:22.443Z] 46f8f816bc3b: Pulling fs layer [2020-09-08T21:43:22.443Z] 0dadc02b9964: Pulling fs layer [2020-09-08T21:43:22.443Z] ce6a7cf60c04: Pulling fs layer [2020-09-08T21:43:22.443Z] 7a184a31f384: Pulling fs layer [2020-09-08T21:43:22.443Z] 0879bd2ef858: Pulling fs layer [2020-09-08T21:43:22.443Z] 46f8f816bc3b: Waiting [2020-09-08T21:43:22.443Z] 0dadc02b9964: Waiting [2020-09-08T21:43:22.443Z] ce6a7cf60c04: Waiting [2020-09-08T21:43:22.443Z] 7a184a31f384: Waiting [2020-09-08T21:43:22.443Z] 0879bd2ef858: Waiting [2020-09-08T21:43:22.443Z] 36b3adc4ff6f: Download complete [2020-09-08T21:43:22.443Z] 46f8f816bc3b: Verifying Checksum [2020-09-08T21:43:22.443Z] 46f8f816bc3b: Download complete [2020-09-08T21:43:22.443Z] df20fa9351a1: Verifying Checksum [2020-09-08T21:43:22.443Z] ce6a7cf60c04: Verifying Checksum [2020-09-08T21:43:22.443Z] ce6a7cf60c04: Download complete [2020-09-08T21:43:22.716Z] 0dadc02b9964: Verifying Checksum [2020-09-08T21:43:22.716Z] 0dadc02b9964: Download complete [2020-09-08T21:43:22.716Z] 7a184a31f384: Verifying Checksum [2020-09-08T21:43:22.716Z] 7a184a31f384: Download complete [2020-09-08T21:43:22.716Z] 8ad3a11d3b57: Verifying Checksum [2020-09-08T21:43:22.716Z] 8ad3a11d3b57: Download complete [2020-09-08T21:43:22.980Z] df20fa9351a1: Pull complete [2020-09-08T21:43:22.980Z] 36b3adc4ff6f: Pull complete [2020-09-08T21:43:23.250Z] 0879bd2ef858: Verifying Checksum [2020-09-08T21:43:23.250Z] 0879bd2ef858: Download complete [2020-09-08T21:43:23.829Z] 8ad3a11d3b57: Pull complete [2020-09-08T21:43:23.829Z] 46f8f816bc3b: Pull complete [2020-09-08T21:43:24.091Z] 0dadc02b9964: Pull complete [2020-09-08T21:43:24.353Z] ce6a7cf60c04: Pull complete [2020-09-08T21:43:24.353Z] 7a184a31f384: Pull complete [2020-09-08T21:43:26.272Z] 0879bd2ef858: Pull complete [2020-09-08T21:43:26.272Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-08T21:43:26.272Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-08T21:43:26.272Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-08T21:43:26.406Z] prd-centos7-docker-4c-2g-1840 does not seem to be running inside a container [2020-09-08T21:43:26.463Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/ndry_app-functions-sdk-go_PR-468 -v /w/workspace/ndry_app-functions-sdk-go_PR-468:/w/workspace/ndry_app-functions-sdk-go_PR-468:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-468@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-468@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-08T21:43:31.820Z] $ docker top 172954ed6ae70cf3baf71bda9aee0dac2f0626fae1413648046afa274a67debe -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-08T21:43:32.279Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-08T21:43:32.571Z] + ls /var/log/sa-host [2020-09-08T21:43:32.571Z] + sadf -c /var/log/sa-host/sa05 [2020-09-08T21:43:32.571Z] file_magic: OK [2020-09-08T21:43:32.571Z] HZ: Using current value: 100 [2020-09-08T21:43:32.571Z] file_header: OK [2020-09-08T21:43:32.571Z] 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 [2020-09-08T21:43:32.571Z] Statistics: [2020-09-08T21:43:32.571Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-08T21:43:32.571Z] File successfully converted to sysstat format version 12.2.1 [2020-09-08T21:43:32.571Z] + sadf -c /var/log/sa-host/sa08 [2020-09-08T21:43:32.571Z] file_magic: OK [2020-09-08T21:43:32.571Z] HZ: Using current value: 100 [2020-09-08T21:43:32.571Z] file_header: OK [2020-09-08T21:43:32.571Z] 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 [2020-09-08T21:43:32.571Z] Statistics: [2020-09-08T21:43:32.571Z] HRHnuu...uuuununununu... [2020-09-08T21:43:32.571Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-08T21:43:32.622Z] provisioning config files... [2020-09-08T21:43:32.653Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-468@tmp/config5452562338362824741tmp [Pipeline] { [Pipeline] echo [2020-09-08T21:43:32.717Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-08T21:43:33.011Z] ---> create-netrc.sh [Pipeline] echo [2020-09-08T21:43:33.021Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-08T21:43:33.312Z] ---> logs-deploy.sh [2020-09-08T21:43:33.312Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-468/2 [2020-09-08T21:43:33.312Z] INFO: archiving workspace using pattern(s): [2020-09-08T21:43:34.706Z] Archives upload complete. [2020-09-08T21:43:34.706Z] INFO: archiving logs to Nexus