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 [2021-08-25T08:23:23.948Z] 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 [2021-08-25T08:23:24.075Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-25T08:23:24.109Z] ========================================================= [2021-08-25T08:23:24.109Z] EdgeX Global Pipelines Version Info [2021-08-25T08:23:24.109Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:23:25.376Z] ------------------- [2021-08-25T08:23:25.376Z] stable info: [2021-08-25T08:23:25.376Z] ------------------- [2021-08-25T08:23:25.376Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-25T08:23:25.376Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-25T08:23:25.376Z] Message: update stable to v1.0.205 [2021-08-25T08:23:25.959Z] ------------------- [2021-08-25T08:23:25.959Z] experimental info: [2021-08-25T08:23:25.959Z] ------------------- [2021-08-25T08:23:25.959Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-25T08:23:25.959Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-25T08:23:25.959Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-25T08:23:26.132Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-08-25T08:23:26.162Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-08-25T08:23:26.190Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-25T08:23:26.217Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-25T08:23:26.247Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-25T08:23:26.275Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-25T08:23:26.304Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-25T08:23:26.331Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-25T08:23:26.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-08-25T08:23:26.385Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-25T08:23:26.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-25T08:23:26.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-25T08:23:26.468Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-08-25T08:23:26.494Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-25T08:23:26.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-25T08:23:26.545Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-25T08:23:26.572Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-25T08:23:26.597Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-25T08:23:26.625Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-25T08:23:26.651Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-25T08:23:26.676Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-25T08:23:26.704Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-08-25T08:23:26.729Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-08-25T08:23:26.754Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-25T08:23:26.778Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-25T08:23:26.803Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-08-25T08:23:26.829Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-25T08:23:26.855Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1014 [Pipeline] echo [2021-08-25T08:23:26.888Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1014 [Pipeline] echo [2021-08-25T08:23:26.913Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1014 [Pipeline] echo [2021-08-25T08:23:26.938Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf13810e1e59382d3745b709a3f2cecf0d1bf80c [Pipeline] echo [2021-08-25T08:23:26.963Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf13810 [Pipeline] echo [2021-08-25T08:23:26.988Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-25T08:23:27.065Z] provisioning config files... [2021-08-25T08:23:27.083Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1014@tmp/config2703205493113290518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:23:27.418Z] ---> docker-login.sh [2021-08-25T08:23:27.418Z] nexus3.edgexfoundry.org:10001 [2021-08-25T08:23:27.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-25T08:23:27.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-25T08:23:27.685Z] Configure a credential helper to remove this warning. See [2021-08-25T08:23:27.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-25T08:23:27.685Z] [2021-08-25T08:23:27.685Z] Login Succeeded [2021-08-25T08:23:27.685Z] nexus3.edgexfoundry.org:10002 [2021-08-25T08:23:27.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-25T08:23:27.685Z] Error response from daemon: Get https://nexus3.edgexfoundry.org:10002/v2/: unauthorized: authentication required [Pipeline] } [2021-08-25T08:23:27.702Z] 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] } [2021-08-25T08:23:28.880Z] Failed in branch arm64 [Pipeline] stage [Pipeline] { (Snap) Stage "amd64" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-25T08:23:29.083Z] 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 [2021-08-25T08:23:30.789Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1014/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:23:31.125Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:23:31.721Z] ---> package-listing.sh [2021-08-25T08:23:31.721Z] ++ facter osfamily [2021-08-25T08:23:31.721Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-25T08:23:31.987Z] + OS_FAMILY=redhat [2021-08-25T08:23:31.987Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1014 [2021-08-25T08:23:31.987Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-25T08:23:31.987Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-25T08:23:31.987Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-25T08:23:31.987Z] + PACKAGES=/tmp/packages_start.txt [2021-08-25T08:23:31.987Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1014 ']' [2021-08-25T08:23:31.987Z] + PACKAGES=/tmp/packages_end.txt [2021-08-25T08:23:31.987Z] + case "${OS_FAMILY}" in [2021-08-25T08:23:31.987Z] + sort [2021-08-25T08:23:31.987Z] + rpm -qa [2021-08-25T08:23:32.570Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-25T08:23:32.570Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-25T08:23:32.570Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-25T08:23:32.570Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1014 ']' [2021-08-25T08:23:32.570Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1014/archives/ [2021-08-25T08:23:32.570Z] + 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 [2021-08-25T08:23:32.589Z] 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 [2021-08-25T08:23:32.895Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-25T08:23:33.583Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-25T08:23:33.583Z] [2021-08-25T08:23:33.583Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-25T08:23:33.913Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-25T08:23:33.913Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-25T08:23:33.913Z] b4d181a07f80: Pulling fs layer [2021-08-25T08:23:33.913Z] a1111a8f2ec3: Pulling fs layer [2021-08-25T08:23:33.913Z] ed53099fbce6: Pulling fs layer [2021-08-25T08:23:33.913Z] dc539afda2c1: Pulling fs layer [2021-08-25T08:23:33.913Z] 77bc0d833cb6: Pulling fs layer [2021-08-25T08:23:33.913Z] 9065ff56babe: Pulling fs layer [2021-08-25T08:23:33.913Z] d287ab97295c: Pulling fs layer [2021-08-25T08:23:33.913Z] dc539afda2c1: Waiting [2021-08-25T08:23:33.913Z] 77bc0d833cb6: Waiting [2021-08-25T08:23:33.913Z] 9065ff56babe: Waiting [2021-08-25T08:23:33.913Z] d287ab97295c: Waiting [2021-08-25T08:23:34.178Z] a1111a8f2ec3: Verifying Checksum [2021-08-25T08:23:34.178Z] a1111a8f2ec3: Download complete [2021-08-25T08:23:34.178Z] dc539afda2c1: Verifying Checksum [2021-08-25T08:23:34.178Z] dc539afda2c1: Download complete [2021-08-25T08:23:34.442Z] 77bc0d833cb6: Verifying Checksum [2021-08-25T08:23:34.442Z] 77bc0d833cb6: Download complete [2021-08-25T08:23:34.442Z] 9065ff56babe: Verifying Checksum [2021-08-25T08:23:34.442Z] 9065ff56babe: Download complete [2021-08-25T08:23:34.442Z] ed53099fbce6: Verifying Checksum [2021-08-25T08:23:34.442Z] ed53099fbce6: Download complete [2021-08-25T08:23:35.851Z] b4d181a07f80: Verifying Checksum [2021-08-25T08:23:35.851Z] b4d181a07f80: Download complete [2021-08-25T08:23:36.817Z] b4d181a07f80: Pull complete [2021-08-25T08:23:36.817Z] a1111a8f2ec3: Pull complete [2021-08-25T08:23:37.413Z] ed53099fbce6: Pull complete [2021-08-25T08:23:37.413Z] dc539afda2c1: Pull complete [2021-08-25T08:23:37.693Z] 77bc0d833cb6: Pull complete [2021-08-25T08:23:37.693Z] 9065ff56babe: Pull complete [2021-08-25T08:23:39.108Z] d287ab97295c: Verifying Checksum [2021-08-25T08:23:39.108Z] d287ab97295c: Download complete [2021-08-25T08:23:43.404Z] d287ab97295c: Pull complete [2021-08-25T08:23:43.404Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-25T08:23:43.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-25T08:23:43.404Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-25T08:23:43.521Z] prd-centos7-docker-4c-2g-768 does not seem to be running inside a container [2021-08-25T08:23:43.582Z] $ 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 [2021-08-25T08:23:45.867Z] $ docker top 8dd08c2800a291b7821db656f3643de0295a49b64e4234845b7382b9ebb896a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-25T08:23:46.275Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-25T08:23:46.587Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-25T08:23:46.899Z] + ls /var/log/sa-host [2021-08-25T08:23:46.900Z] + sadf -c /var/log/sa-host/sa05 [2021-08-25T08:23:46.900Z] file_magic: OK [2021-08-25T08:23:46.900Z] HZ: Using current value: 100 [2021-08-25T08:23:46.900Z] file_header: OK [2021-08-25T08:23:46.900Z] 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-25T08:23:46.900Z] Statistics: [2021-08-25T08:23:46.900Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-25T08:23:46.900Z] File successfully converted to sysstat format version 12.0.3 [2021-08-25T08:23:46.900Z] + sadf -c /var/log/sa-host/sa25 [2021-08-25T08:23:46.900Z] file_magic: OK [2021-08-25T08:23:46.900Z] HZ: Using current value: 100 [2021-08-25T08:23:46.900Z] file_header: OK [2021-08-25T08:23:46.900Z] 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-25T08:23:46.900Z] Statistics: [2021-08-25T08:23:46.900Z] HRHnuu...uuuununununu... [2021-08-25T08:23:46.900Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-25T08:23:47.427Z] provisioning config files... [2021-08-25T08:23:47.442Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1014@tmp/config8288936451300435261tmp [Pipeline] { [Pipeline] echo [2021-08-25T08:23:47.465Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:23:47.799Z] ---> create-netrc.sh [Pipeline] } [2021-08-25T08:23:47.812Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:23:48.294Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-25T08:23:48.312Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:23:48.630Z] ---> sudo-logs.sh [2021-08-25T08:23:48.630Z] Archiving 'sudo' log.. [2021-08-25T08:23:48.630Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-768.vexxhost.local: Name or service not known [2021-08-25T08:23:48.630Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-768.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-25T08:23:48.666Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:23:48.982Z] ---> job-cost.sh [2021-08-25T08:23:48.982Z] lf-activate-venv: SKIPPING [2021-08-25T08:23:48.982Z] INFO: No Stack... [2021-08-25T08:23:49.942Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-25T08:23:50.209Z] INFO: Archiving Costs [Pipeline] echo [2021-08-25T08:23:50.230Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:23:50.553Z] ---> logs-deploy.sh [2021-08-25T08:23:50.553Z] lf-activate-venv: SKIPPING [2021-08-25T08:23:50.553Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1014/2 [2021-08-25T08:23:50.553Z] INFO: archiving workspace using pattern(s): [2021-08-25T08:23:51.136Z] Archives upload complete. [2021-08-25T08:23:51.404Z] INFO: archiving logs to Nexus [2021-08-25T08:23:51.988Z] ---> uname -a: [2021-08-25T08:23:51.988Z] 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 [2021-08-25T08:23:51.988Z] [2021-08-25T08:23:51.988Z] [2021-08-25T08:23:51.988Z] ---> lscpu: [2021-08-25T08:23:51.988Z] Architecture: x86_64 [2021-08-25T08:23:51.988Z] CPU op-mode(s): 32-bit, 64-bit [2021-08-25T08:23:51.988Z] Byte Order: Little Endian [2021-08-25T08:23:51.988Z] Address sizes: 40 bits physical, 48 bits virtual [2021-08-25T08:23:51.988Z] CPU(s): 2 [2021-08-25T08:23:51.988Z] On-line CPU(s) list: 0,1 [2021-08-25T08:23:51.988Z] Thread(s) per core: 1 [2021-08-25T08:23:51.988Z] Core(s) per socket: 1 [2021-08-25T08:23:51.988Z] Socket(s): 2 [2021-08-25T08:23:51.988Z] NUMA node(s): 1 [2021-08-25T08:23:51.988Z] Vendor ID: AuthenticAMD [2021-08-25T08:23:51.988Z] CPU family: 23 [2021-08-25T08:23:51.988Z] Model: 49 [2021-08-25T08:23:51.988Z] Model name: AMD EPYC-Rome Processor [2021-08-25T08:23:51.988Z] Stepping: 0 [2021-08-25T08:23:51.988Z] CPU MHz: 2799.996 [2021-08-25T08:23:51.988Z] BogoMIPS: 5599.99 [2021-08-25T08:23:51.988Z] Virtualization: AMD-V [2021-08-25T08:23:51.988Z] Hypervisor vendor: KVM [2021-08-25T08:23:51.988Z] Virtualization type: full [2021-08-25T08:23:51.988Z] L1d cache: 32K [2021-08-25T08:23:51.988Z] L1i cache: 32K [2021-08-25T08:23:51.988Z] L2 cache: 512K [2021-08-25T08:23:51.988Z] L3 cache: 16384K [2021-08-25T08:23:51.988Z] NUMA node0 CPU(s): 0,1 [2021-08-25T08:23:51.988Z] 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 [2021-08-25T08:23:51.988Z] [2021-08-25T08:23:51.988Z] [2021-08-25T08:23:51.988Z] ---> nproc: [2021-08-25T08:23:51.988Z] 2 [2021-08-25T08:23:51.988Z] [2021-08-25T08:23:51.988Z] [2021-08-25T08:23:51.988Z] ---> df -h: [2021-08-25T08:23:51.988Z] Filesystem Size Used Avail Use% Mounted on [2021-08-25T08:23:51.988Z] overlay 40G 7.7G 33G 20% / [2021-08-25T08:23:51.989Z] tmpfs 64M 0 64M 0% /dev [2021-08-25T08:23:51.989Z] tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup [2021-08-25T08:23:51.989Z] shm 64M 0 64M 0% /dev/shm [2021-08-25T08:23:51.989Z] /dev/vda1 40G 7.7G 33G 20% /facter-os [2021-08-25T08:23:51.989Z] [2021-08-25T08:23:51.989Z] [2021-08-25T08:23:51.989Z] ---> sar -b -r -n DEV: [2021-08-25T08:23:51.989Z] 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) [2021-08-25T08:23:51.989Z] [2021-08-25T08:23:51.989Z] 08:22:44 LINUX RESTART (2 CPU) [2021-08-25T08:23:51.989Z] [2021-08-25T08:23:51.989Z] [2021-08-25T08:23:51.989Z] ---> sar -P ALL: [2021-08-25T08:23:51.989Z] 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) [2021-08-25T08:23:51.989Z] [2021-08-25T08:23:51.989Z] 08:22:44 LINUX RESTART (2 CPU) [2021-08-25T08:23:51.989Z] [2021-08-25T08:23:51.989Z] [2021-08-25T08:23:51.989Z]