Pull request #1014 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of wangshihui for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 35fb886f332368eaee04ec4bf3cbfd710208dc4c rather than cf13810e1e59382d3745b709a3f2cecf0d1bf80c Obtained Jenkinsfile from 35fb886f332368eaee04ec4bf3cbfd710208dc4c 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-ssh3247158419128596950.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh4704881546472658755.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1014/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/device-sdk-go/branches/PR-1014/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7474320906855480180.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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-ssh3918323332164110115.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/device-sdk-go/branches/PR-1014/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/device-sdk-go/branches/PR-1014/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3401743656256253258.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] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage: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: device-sdk-go-settings PROJECT: device-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: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true 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: true 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 ‘prd-centos7-docker-4c-2g-767’ Running on prd-centos7-docker-4c-2g-768 in /w/workspace/gexfoundry_device-sdk-go_PR-1014 [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/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1014 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.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/gexfoundry_device-sdk-go_PR-1014@tmp/jenkins-gitclient-ssh4755806186695233254.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 35fb886f332368eaee04ec4bf3cbfd710208dc4c into PR head commit cf13810e1e59382d3745b709a3f2cecf0d1bf80c Merge succeeded, producing cf13810e1e59382d3745b709a3f2cecf0d1bf80c Checking out Revision cf13810e1e59382d3745b709a3f2cecf0d1bf80c (PR-1014) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 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/gexfoundry_device-sdk-go_PR-1014@tmp/jenkins-gitclient-ssh619236858387569603.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1014/head:refs/remotes/origin/PR-1014 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf13810e1e59382d3745b709a3f2cecf0d1bf80c # timeout=10 > git remote # timeout=10 > 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 /w/workspace/gexfoundry_device-sdk-go_PR-1014@tmp/jenkins-gitclient-ssh4186885811366579325.key > git merge 35fb886f332368eaee04ec4bf3cbfd710208dc4c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf13810e1e59382d3745b709a3f2cecf0d1bf80c # timeout=10 Commit message: "fix: device yaml to Json error" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:23:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk a7090310eaf52424b3990f133374e611b8608332 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:23:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:23:24 ========================================================= 08:23:24 EdgeX Global Pipelines Version Info 08:23:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:23:25 ------------------- 08:23:25 stable info: 08:23:25 ------------------- 08:23:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:23:25 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 08:23:25 Message: update stable to v1.0.205 08:23:25 ------------------- 08:23:25 experimental info: 08:23:25 ------------------- 08:23:25 Commited By: **** collab-it+edgex@linuxfoundation.org 08:23:25 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 08:23:25 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1014 [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1014 [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1014 [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf13810e1e59382d3745b709a3f2cecf0d1bf80c [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf13810 [Pipeline] echo 08:23:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:23:27 provisioning config files... 08:23:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1014@tmp/config2703205493113290518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:23:27 ---> docker-login.sh 08:23:27 nexus3.edgexfoundry.org:10001 08:23:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:23:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:23:27 Configure a credential helper to remove this warning. See 08:23:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:23:27 08:23:27 Login Succeeded 08:23:27 nexus3.edgexfoundry.org:10002 08:23:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:23:27 Error response from daemon: Get https://nexus3.edgexfoundry.org:10002/v2/: unauthorized: authentication required [Pipeline] } 08:23:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [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] } 08:23:28 Failed in branch arm64 [Pipeline] stage [Pipeline] { (Snap) Stage "amd64" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } 08:23:29 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] sh 08:23:30 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1014/archives ']' [Pipeline] libraryResource [Pipeline] sh 08:23:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:23:31 ---> package-listing.sh 08:23:31 ++ facter osfamily 08:23:31 ++ tr '[:upper:]' '[:lower:]' 08:23:31 + OS_FAMILY=redhat 08:23:31 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1014 08:23:31 + START_PACKAGES=/tmp/packages_start.txt 08:23:31 + END_PACKAGES=/tmp/packages_end.txt 08:23:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:23:31 + PACKAGES=/tmp/packages_start.txt 08:23:31 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1014 ']' 08:23:31 + PACKAGES=/tmp/packages_end.txt 08:23:31 + case "${OS_FAMILY}" in 08:23:31 + sort 08:23:31 + rpm -qa 08:23:32 + '[' -f /tmp/packages_start.txt ']' 08:23:32 + '[' -f /tmp/packages_end.txt ']' 08:23:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:23:32 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1014 ']' 08:23:32 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1014/archives/ 08:23:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1014/archives/ [Pipeline] echo 08:23:32 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/gexfoundry_device-sdk-go_PR-1014/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:23:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:23:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:23:33 08:23:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:23:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:23:33 latest: Pulling from edgex-lftools-log-publisher 08:23:33 b4d181a07f80: Pulling fs layer 08:23:33 a1111a8f2ec3: Pulling fs layer 08:23:33 ed53099fbce6: Pulling fs layer 08:23:33 dc539afda2c1: Pulling fs layer 08:23:33 77bc0d833cb6: Pulling fs layer 08:23:33 9065ff56babe: Pulling fs layer 08:23:33 d287ab97295c: Pulling fs layer 08:23:33 dc539afda2c1: Waiting 08:23:33 77bc0d833cb6: Waiting 08:23:33 9065ff56babe: Waiting 08:23:33 d287ab97295c: Waiting 08:23:34 a1111a8f2ec3: Verifying Checksum 08:23:34 a1111a8f2ec3: Download complete 08:23:34 dc539afda2c1: Verifying Checksum 08:23:34 dc539afda2c1: Download complete 08:23:34 77bc0d833cb6: Verifying Checksum 08:23:34 77bc0d833cb6: Download complete 08:23:34 9065ff56babe: Verifying Checksum 08:23:34 9065ff56babe: Download complete 08:23:34 ed53099fbce6: Verifying Checksum 08:23:34 ed53099fbce6: Download complete 08:23:35 b4d181a07f80: Verifying Checksum 08:23:35 b4d181a07f80: Download complete 08:23:36 b4d181a07f80: Pull complete 08:23:36 a1111a8f2ec3: Pull complete 08:23:37 ed53099fbce6: Pull complete 08:23:37 dc539afda2c1: Pull complete 08:23:37 77bc0d833cb6: Pull complete 08:23:37 9065ff56babe: Pull complete 08:23:39 d287ab97295c: Verifying Checksum 08:23:39 d287ab97295c: Download complete 08:23:43 d287ab97295c: Pull complete 08:23:43 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 08:23:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:23:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:23:43 prd-centos7-docker-4c-2g-768 does not seem to be running inside a container 08:23:43 $ 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/gexfoundry_device-sdk-go_PR-1014/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1014 -v /w/workspace/gexfoundry_device-sdk-go_PR-1014:/w/workspace/gexfoundry_device-sdk-go_PR-1014:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1014@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1014@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 ******** -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 08:23:45 $ docker top 8dd08c2800a291b7821db656f3643de0295a49b64e4234845b7382b9ebb896a3 -eo pid,comm [Pipeline] { [Pipeline] sh 08:23:46 + touch /tmp/pre-build-complete [Pipeline] sh 08:23:46 + mkdir -p /var/log/sysstat [Pipeline] sh 08:23:46 + ls /var/log/sa-host 08:23:46 + sadf -c /var/log/sa-host/sa05 08:23:46 file_magic: OK 08:23:46 HZ: Using current value: 100 08:23:46 file_header: OK 08:23:46 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:23:46 Statistics: 08:23:46 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:23:46 File successfully converted to sysstat format version 12.0.3 08:23:46 + sadf -c /var/log/sa-host/sa25 08:23:46 file_magic: OK 08:23:46 HZ: Using current value: 100 08:23:46 file_header: OK 08:23:46 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:23:46 Statistics: 08:23:46 HRHnuu...uuuununununu... 08:23:46 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:23:47 provisioning config files... 08:23:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1014@tmp/config8288936451300435261tmp [Pipeline] { [Pipeline] echo 08:23:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:23:47 ---> create-netrc.sh [Pipeline] } 08:23:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:23:48 ---> python-tools-install.sh [Pipeline] echo 08:23:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:23:48 ---> sudo-logs.sh 08:23:48 Archiving 'sudo' log.. 08:23:48 sudo: unable to resolve host prd-centos7-docker-4c-2g-768.vexxhost.local: Name or service not known 08:23:48 sudo: unable to resolve host prd-centos7-docker-4c-2g-768.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 08:23:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:23:48 ---> job-cost.sh 08:23:48 lf-activate-venv: SKIPPING 08:23:48 INFO: No Stack... 08:23:49 INFO: Retrieving Pricing Info for: v3-standard-2 08:23:50 INFO: Archiving Costs [Pipeline] echo 08:23:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:23:50 ---> logs-deploy.sh 08:23:50 lf-activate-venv: SKIPPING 08:23:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1014/2 08:23:50 INFO: archiving workspace using pattern(s): 08:23:51 Archives upload complete. 08:23:51 INFO: archiving logs to Nexus 08:23:51 ---> uname -a: 08:23:51 Linux prd-centos7-docker-4c-2g-768.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 08:23:51 08:23:51 08:23:51 ---> lscpu: 08:23:51 Architecture: x86_64 08:23:51 CPU op-mode(s): 32-bit, 64-bit 08:23:51 Byte Order: Little Endian 08:23:51 Address sizes: 40 bits physical, 48 bits virtual 08:23:51 CPU(s): 2 08:23:51 On-line CPU(s) list: 0,1 08:23:51 Thread(s) per core: 1 08:23:51 Core(s) per socket: 1 08:23:51 Socket(s): 2 08:23:51 NUMA node(s): 1 08:23:51 Vendor ID: AuthenticAMD 08:23:51 CPU family: 23 08:23:51 Model: 49 08:23:51 Model name: AMD EPYC-Rome Processor 08:23:51 Stepping: 0 08:23:51 CPU MHz: 2799.996 08:23:51 BogoMIPS: 5599.99 08:23:51 Virtualization: AMD-V 08:23:51 Hypervisor vendor: KVM 08:23:51 Virtualization type: full 08:23:51 L1d cache: 32K 08:23:51 L1i cache: 32K 08:23:51 L2 cache: 512K 08:23:51 L3 cache: 16384K 08:23:51 NUMA node0 CPU(s): 0,1 08:23:51 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 08:23:51 08:23:51 08:23:51 ---> nproc: 08:23:51 2 08:23:51 08:23:51 08:23:51 ---> df -h: 08:23:51 Filesystem Size Used Avail Use% Mounted on 08:23:51 overlay 40G 7.7G 33G 20% / 08:23:51 tmpfs 64M 0 64M 0% /dev 08:23:51 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 08:23:51 shm 64M 0 64M 0% /dev/shm 08:23:51 /dev/vda1 40G 7.7G 33G 20% /facter-os 08:23:51 08:23:51 08:23:51 ---> sar -b -r -n DEV: 08:23:51 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/25/21 _x86_64_ (2 CPU) 08:23:51 08:23:51 08:22:44 LINUX RESTART (2 CPU) 08:23:51 08:23:51 08:23:51 ---> sar -P ALL: 08:23:51 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/25/21 _x86_64_ (2 CPU) 08:23:51 08:23:51 08:22:44 LINUX RESTART (2 CPU) 08:23:51 08:23:51 08:23:51