Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b5036ed5d2cfc7583fbc4dac27b16f3bc3b4f636 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-ssh315960687025679039.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 40653689060fff6bf1399e6de9b6d29a57191201 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-ssh1175434534953279423.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 40653689060fff6bf1399e6de9b6d29a57191201 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-compose/branches/main/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/edgex-compose/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8361690809550029894.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 40653689060fff6bf1399e6de9b6d29a57191201 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 40653689060fff6bf1399e6de9b6d29a57191201 # timeout=10 Commit message: "Merge pull request #348 from ernestojeda/upatate-dockerfile-build-fix" > 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-ssh7905301448791458855.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/edgex-compose/branches/main/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/edgex-compose/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2515879145686129057.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] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1722 in /w/workspace/edgexfoundry_edgex-compose_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-compose.git > git init /w/workspace/edgexfoundry_edgex-compose_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-compose.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/edgexfoundry_edgex-compose_main@tmp/jenkins-gitclient-ssh1202434109277029661.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-compose.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b5036ed5d2cfc7583fbc4dac27b16f3bc3b4f636 (main) > git config remote.origin.url git@github.com:edgexfoundry/edgex-compose.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b5036ed5d2cfc7583fbc4dac27b16f3bc3b4f636 # timeout=10 Commit message: "Merge pull request #165 from lenny-intel/taf-fix" > git rev-list --no-walk 903eef1935eaf0175a13d9ec0b477b252f7ff718 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-02T18:29:34.064Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Smoke Tests) Stage "Smoke Tests" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-08-02T18:29:35.843Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-02T18:29:36.216Z] ---> package-listing.sh [2021-08-02T18:29:36.216Z] ++ facter osfamily [2021-08-02T18:29:36.216Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-02T18:29:36.490Z] + OS_FAMILY=redhat [2021-08-02T18:29:36.490Z] + workspace=/w/workspace/edgexfoundry_edgex-compose_main [2021-08-02T18:29:36.490Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-02T18:29:36.490Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-02T18:29:36.490Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-02T18:29:36.490Z] + PACKAGES=/tmp/packages_start.txt [2021-08-02T18:29:36.490Z] + '[' /w/workspace/edgexfoundry_edgex-compose_main ']' [2021-08-02T18:29:36.490Z] + PACKAGES=/tmp/packages_end.txt [2021-08-02T18:29:36.490Z] + case "${OS_FAMILY}" in [2021-08-02T18:29:36.490Z] + rpm -qa [2021-08-02T18:29:36.490Z] + sort [2021-08-02T18:29:37.078Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-02T18:29:37.078Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-02T18:29:37.078Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-02T18:29:37.078Z] + '[' /w/workspace/edgexfoundry_edgex-compose_main ']' [2021-08-02T18:29:37.078Z] + mkdir -p /w/workspace/edgexfoundry_edgex-compose_main/archives/ [2021-08-02T18:29:37.078Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_edgex-compose_main/archives/ [Pipeline] echo [2021-08-02T18:29:37.096Z] 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/edgexfoundry_edgex-compose_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-08-02T18:29:37.397Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-02T18:29:38.403Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-02T18:29:38.403Z] [2021-08-02T18:29:38.403Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-02T18:29:38.730Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-02T18:29:38.730Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-02T18:29:38.730Z] b4d181a07f80: Pulling fs layer [2021-08-02T18:29:38.730Z] a1111a8f2ec3: Pulling fs layer [2021-08-02T18:29:38.730Z] ed53099fbce6: Pulling fs layer [2021-08-02T18:29:38.730Z] dc539afda2c1: Pulling fs layer [2021-08-02T18:29:38.730Z] 77bc0d833cb6: Pulling fs layer [2021-08-02T18:29:38.730Z] 9065ff56babe: Pulling fs layer [2021-08-02T18:29:38.730Z] d287ab97295c: Pulling fs layer [2021-08-02T18:29:38.730Z] 77bc0d833cb6: Waiting [2021-08-02T18:29:38.730Z] 9065ff56babe: Waiting [2021-08-02T18:29:38.730Z] d287ab97295c: Waiting [2021-08-02T18:29:38.730Z] dc539afda2c1: Waiting [2021-08-02T18:29:39.315Z] a1111a8f2ec3: Verifying Checksum [2021-08-02T18:29:39.315Z] a1111a8f2ec3: Download complete [2021-08-02T18:29:39.315Z] dc539afda2c1: Download complete [2021-08-02T18:29:39.582Z] ed53099fbce6: Verifying Checksum [2021-08-02T18:29:39.582Z] ed53099fbce6: Download complete [2021-08-02T18:29:39.582Z] 9065ff56babe: Verifying Checksum [2021-08-02T18:29:39.582Z] 9065ff56babe: Download complete [2021-08-02T18:29:39.582Z] 77bc0d833cb6: Verifying Checksum [2021-08-02T18:29:39.582Z] 77bc0d833cb6: Download complete [2021-08-02T18:29:40.170Z] b4d181a07f80: Verifying Checksum [2021-08-02T18:29:40.170Z] b4d181a07f80: Download complete [2021-08-02T18:29:41.607Z] b4d181a07f80: Pull complete [2021-08-02T18:29:41.607Z] a1111a8f2ec3: Pull complete [2021-08-02T18:29:41.887Z] ed53099fbce6: Pull complete [2021-08-02T18:29:42.158Z] dc539afda2c1: Pull complete [2021-08-02T18:29:42.425Z] 77bc0d833cb6: Pull complete [2021-08-02T18:29:42.425Z] 9065ff56babe: Pull complete [2021-08-02T18:29:44.369Z] d287ab97295c: Verifying Checksum [2021-08-02T18:29:44.369Z] d287ab97295c: Download complete [2021-08-02T18:29:48.640Z] d287ab97295c: Pull complete [2021-08-02T18:29:48.640Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-02T18:29:48.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-02T18:29:48.640Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-02T18:29:48.761Z] prd-centos7-docker-4c-2g-1722 does not seem to be running inside a container [2021-08-02T18:29:48.832Z] $ 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/edgexfoundry_edgex-compose_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_edgex-compose_main -v /w/workspace/edgexfoundry_edgex-compose_main:/w/workspace/edgexfoundry_edgex-compose_main:rw,z -v /w/workspace/edgexfoundry_edgex-compose_main@tmp:/w/workspace/edgexfoundry_edgex-compose_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-02T18:29:51.692Z] $ docker top 5c8583d3b1ca11686401fe4f5d693df5f9c551f38ff4d7e555ceeda056ae4aef -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-02T18:29:52.101Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-02T18:29:52.430Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-02T18:29:52.754Z] + ls /var/log/sa-host [2021-08-02T18:29:52.754Z] + sadf -c /var/log/sa-host/sa02 [2021-08-02T18:29:52.754Z] file_magic: OK [2021-08-02T18:29:52.754Z] HZ: Using current value: 100 [2021-08-02T18:29:52.754Z] file_header: OK [2021-08-02T18:29:52.754Z] 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 [2021-08-02T18:29:52.754Z] Statistics: [2021-08-02T18:29:52.754Z] HR [2021-08-02T18:29:52.754Z] File successfully converted to sysstat format version 12.0.3 [2021-08-02T18:29:52.754Z] + sadf -c /var/log/sa-host/sa05 [2021-08-02T18:29:52.754Z] file_magic: OK [2021-08-02T18:29:52.754Z] HZ: Using current value: 100 [2021-08-02T18:29:52.754Z] file_header: OK [2021-08-02T18:29:52.754Z] 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 [2021-08-02T18:29:52.754Z] Statistics: [2021-08-02T18:29:52.754Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-02T18:29:52.754Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-02T18:29:52.934Z] provisioning config files... [2021-08-02T18:29:52.952Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_edgex-compose_main@tmp/config1422376486470685321tmp [Pipeline] { [Pipeline] echo [2021-08-02T18:29:52.973Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-02T18:29:53.286Z] ---> create-netrc.sh [Pipeline] } [2021-08-02T18:29:53.301Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-02T18:29:53.691Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-02T18:29:53.706Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-02T18:29:54.026Z] ---> sudo-logs.sh [2021-08-02T18:29:54.026Z] Archiving 'sudo' log.. [2021-08-02T18:29:54.026Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1722.vexxhost.local: Name or service not known [2021-08-02T18:29:54.026Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1722.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-02T18:29:54.051Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-02T18:29:54.363Z] ---> job-cost.sh [2021-08-02T18:29:54.363Z] lf-activate-venv: SKIPPING [2021-08-02T18:29:54.364Z] INFO: No Stack... [2021-08-02T18:29:55.324Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-02T18:29:55.591Z] INFO: Archiving Costs [Pipeline] echo [2021-08-02T18:29:55.608Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-02T18:29:55.934Z] ---> logs-deploy.sh [2021-08-02T18:29:55.934Z] lf-activate-venv: SKIPPING [2021-08-02T18:29:55.934Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-compose/main/6 [2021-08-02T18:29:55.934Z] INFO: archiving workspace using pattern(s): [2021-08-02T18:29:56.519Z] Archives upload complete. [2021-08-02T18:29:56.787Z] INFO: archiving logs to Nexus