Pull request #482 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e0e7b15327c8ad4491d66e7d5c6235c3d8d67086+fb86f1495a853a9aa3a7d034429d9b83edfd7803 (53ed3fff12e14e29aa278e57b3c01cb5a802ac4b) 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > 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, 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-300 in /w/workspace/ndry_app-functions-sdk-go_PR-482 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout [Pipeline] } [Pipeline] // stage [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-17T19:23:10.299Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-17T19:23:10.642Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-17T19:23:10.825Z] ========================================================= [2020-09-17T19:23:10.825Z] EdgeX Global Pipelines Version Info [2020-09-17T19:23:10.825Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-17T19:23:13.126Z] ------------------- [2020-09-17T19:23:13.126Z] stable info: [2020-09-17T19:23:13.126Z] ------------------- [2020-09-17T19:23:13.126Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-17T19:23:13.126Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-17T19:23:13.126Z] Message: update stable to v1.0.122 [2020-09-17T19:23:14.077Z] ------------------- [2020-09-17T19:23:14.077Z] experimental info: [2020-09-17T19:23:14.077Z] ------------------- [2020-09-17T19:23:14.077Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-17T19:23:14.077Z] Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 [2020-09-17T19:23:14.077Z] Message: update experimental to v1.0.125 [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-17T19:23:16.615Z] Failed in branch amd64 [Pipeline] } [2020-09-17T19:23:16.616Z] 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-17T19:23:18.916Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T19:23:20.202Z] ---> package-listing.sh [2020-09-17T19:23:20.202Z] ++ facter osfamily [2020-09-17T19:23:20.202Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-17T19:23:20.202Z] + OS_FAMILY=redhat [2020-09-17T19:23:20.202Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-482 [2020-09-17T19:23:20.202Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-17T19:23:20.202Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-17T19:23:20.202Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-17T19:23:20.202Z] + PACKAGES=/tmp/packages_start.txt [2020-09-17T19:23:20.202Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-482 ']' [2020-09-17T19:23:20.202Z] + PACKAGES=/tmp/packages_end.txt [2020-09-17T19:23:20.202Z] + case "${OS_FAMILY}" in [2020-09-17T19:23:20.202Z] + rpm -qa [2020-09-17T19:23:20.202Z] + sort [2020-09-17T19:23:24.441Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-17T19:23:24.441Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-17T19:23:24.441Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-17T19:23:24.441Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-482 ']' [2020-09-17T19:23:24.441Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-482/archives/ [2020-09-17T19:23:24.441Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-482/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-17T19:23:26.081Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T19:23:26.344Z] [2020-09-17T19:23:26.344Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-17T19:23:26.692Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T19:23:26.692Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-17T19:23:26.692Z] df20fa9351a1: Pulling fs layer [2020-09-17T19:23:26.692Z] 36b3adc4ff6f: Pulling fs layer [2020-09-17T19:23:26.692Z] 8ad3a11d3b57: Pulling fs layer [2020-09-17T19:23:26.692Z] 46f8f816bc3b: Pulling fs layer [2020-09-17T19:23:26.692Z] 0dadc02b9964: Pulling fs layer [2020-09-17T19:23:26.692Z] ce6a7cf60c04: Pulling fs layer [2020-09-17T19:23:26.692Z] 7a184a31f384: Pulling fs layer [2020-09-17T19:23:26.692Z] 0879bd2ef858: Pulling fs layer [2020-09-17T19:23:26.692Z] 0dadc02b9964: Waiting [2020-09-17T19:23:26.692Z] ce6a7cf60c04: Waiting [2020-09-17T19:23:26.692Z] 7a184a31f384: Waiting [2020-09-17T19:23:26.692Z] 0879bd2ef858: Waiting [2020-09-17T19:23:26.692Z] 46f8f816bc3b: Waiting [2020-09-17T19:23:26.692Z] 36b3adc4ff6f: Verifying Checksum [2020-09-17T19:23:26.692Z] 36b3adc4ff6f: Download complete [2020-09-17T19:23:26.692Z] 46f8f816bc3b: Verifying Checksum [2020-09-17T19:23:26.692Z] 46f8f816bc3b: Download complete [2020-09-17T19:23:26.956Z] df20fa9351a1: Verifying Checksum [2020-09-17T19:23:26.956Z] df20fa9351a1: Download complete [2020-09-17T19:23:26.956Z] 0dadc02b9964: Verifying Checksum [2020-09-17T19:23:26.956Z] 0dadc02b9964: Download complete [2020-09-17T19:23:26.956Z] ce6a7cf60c04: Verifying Checksum [2020-09-17T19:23:26.956Z] ce6a7cf60c04: Download complete [2020-09-17T19:23:26.956Z] 7a184a31f384: Verifying Checksum [2020-09-17T19:23:26.956Z] 7a184a31f384: Download complete [2020-09-17T19:23:27.221Z] df20fa9351a1: Pull complete [2020-09-17T19:23:27.221Z] 8ad3a11d3b57: Verifying Checksum [2020-09-17T19:23:27.486Z] 36b3adc4ff6f: Pull complete [2020-09-17T19:23:27.750Z] 0879bd2ef858: Verifying Checksum [2020-09-17T19:23:27.750Z] 0879bd2ef858: Download complete [2020-09-17T19:23:28.014Z] 8ad3a11d3b57: Pull complete [2020-09-17T19:23:28.014Z] 46f8f816bc3b: Pull complete [2020-09-17T19:23:28.284Z] 0dadc02b9964: Pull complete [2020-09-17T19:23:28.561Z] ce6a7cf60c04: Pull complete [2020-09-17T19:23:28.561Z] 7a184a31f384: Pull complete [2020-09-17T19:23:31.137Z] 0879bd2ef858: Pull complete [2020-09-17T19:23:31.137Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-17T19:23:31.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T19:23:31.137Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-17T19:23:31.256Z] prd-centos7-docker-4c-2g-300 does not seem to be running inside a container [2020-09-17T19:23:31.308Z] $ 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-482 -v /w/workspace/ndry_app-functions-sdk-go_PR-482:/w/workspace/ndry_app-functions-sdk-go_PR-482:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-482@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-482@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-17T19:23:37.280Z] $ docker top 0270c660e60150ab8d68cbcaf1e38990e0015925661e881ffb96a1b01fc1eb1a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T19:23:37.822Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-17T19:23:38.117Z] + ls /var/log/sa-host [2020-09-17T19:23:38.117Z] + sadf -c /var/log/sa-host/sa05 [2020-09-17T19:23:38.117Z] file_magic: OK [2020-09-17T19:23:38.117Z] HZ: Using current value: 100 [2020-09-17T19:23:38.117Z] file_header: OK [2020-09-17T19:23:38.117Z] 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-17T19:23:38.117Z] Statistics: [2020-09-17T19:23:38.117Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-17T19:23:38.117Z] File successfully converted to sysstat format version 12.2.1 [2020-09-17T19:23:38.117Z] + sadf -c /var/log/sa-host/sa17 [2020-09-17T19:23:38.117Z] file_magic: OK [2020-09-17T19:23:38.117Z] HZ: Using current value: 100 [2020-09-17T19:23:38.117Z] file_header: OK [2020-09-17T19:23:38.117Z] 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-17T19:23:38.117Z] Statistics: [2020-09-17T19:23:38.117Z] HRHnuu...uuuununununu... [2020-09-17T19:23:38.117Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-17T19:23:38.174Z] provisioning config files... [2020-09-17T19:23:38.194Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-482@tmp/config6453887455694259157tmp [Pipeline] { [Pipeline] echo [2020-09-17T19:23:38.275Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T19:23:38.577Z] ---> create-netrc.sh [Pipeline] echo [2020-09-17T19:23:38.587Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T19:23:38.883Z] ---> logs-deploy.sh [2020-09-17T19:23:38.883Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-482/10 [2020-09-17T19:23:38.883Z] INFO: archiving workspace using pattern(s): [2020-09-17T19:23:40.270Z] Archives upload complete. [2020-09-17T19:23:40.271Z] INFO: archiving logs to Nexus