Pull request #1014 reopened 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-ssh1942799402007232573.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-ssh5014683718891469137.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-ssh4549657481747354615.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-ssh3885379577164512811.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-ssh1998574272286791180.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-771 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-ssh7499760863188727166.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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-ssh8856693612223130626.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 Merging remotes/origin/main commit 35fb886f332368eaee04ec4bf3cbfd710208dc4c into PR head commit cf13810e1e59382d3745b709a3f2cecf0d1bf80c Merge succeeded, producing cf13810e1e59382d3745b709a3f2cecf0d1bf80c Checking out Revision cf13810e1e59382d3745b709a3f2cecf0d1bf80c (PR-1014) > 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-ssh7440727620068305102.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" > git rev-list --no-walk cf13810e1e59382d3745b709a3f2cecf0d1bf80c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-25T08:23:35.373Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-25T08:23:35.467Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-25T08:23:35.497Z] ========================================================= [2021-08-25T08:23:35.497Z] EdgeX Global Pipelines Version Info [2021-08-25T08:23:35.497Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:23:36.730Z] ------------------- [2021-08-25T08:23:36.731Z] stable info: [2021-08-25T08:23:36.731Z] ------------------- [2021-08-25T08:23:36.731Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-25T08:23:36.731Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-25T08:23:36.731Z] Message: update stable to v1.0.205 [2021-08-25T08:23:37.315Z] ------------------- [2021-08-25T08:23:37.315Z] experimental info: [2021-08-25T08:23:37.315Z] ------------------- [2021-08-25T08:23:37.315Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-25T08:23:37.315Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-25T08:23:37.315Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-25T08:23:37.448Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-08-25T08:23:37.474Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-08-25T08:23:37.499Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-25T08:23:37.524Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-25T08:23:37.549Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-25T08:23:37.574Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-25T08:23:37.598Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-25T08:23:37.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-25T08:23:37.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-08-25T08:23:37.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-25T08:23:37.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-25T08:23:37.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-25T08:23:37.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-08-25T08:23:37.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-25T08:23:37.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-25T08:23:37.865Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-25T08:23:37.891Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-25T08:23:37.916Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-25T08:23:37.942Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-25T08:23:37.969Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-25T08:23:37.994Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-25T08:23:38.019Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-08-25T08:23:38.050Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-08-25T08:23:38.083Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-25T08:23:38.111Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-25T08:23:38.137Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-08-25T08:23:38.163Z] [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:38.188Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1014 [Pipeline] echo [2021-08-25T08:23:38.213Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1014 [Pipeline] echo [2021-08-25T08:23:38.240Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1014 [Pipeline] echo [2021-08-25T08:23:38.266Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf13810e1e59382d3745b709a3f2cecf0d1bf80c [Pipeline] echo [2021-08-25T08:23:38.297Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf13810 [Pipeline] echo [2021-08-25T08:23:38.324Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-25T08:23:38.403Z] provisioning config files... [2021-08-25T08:23:38.422Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1014@tmp/config3761294759806457918tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:23:38.764Z] ---> docker-login.sh [2021-08-25T08:23:38.764Z] nexus3.edgexfoundry.org:10001 [2021-08-25T08:23:38.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-25T08:23:39.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-25T08:23:39.032Z] Configure a credential helper to remove this warning. See [2021-08-25T08:23:39.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-25T08:23:39.032Z] [2021-08-25T08:23:39.032Z] Login Succeeded [2021-08-25T08:23:39.032Z] nexus3.edgexfoundry.org:10002 [2021-08-25T08:23:39.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-25T08:23:39.032Z] Error response from daemon: Get https://nexus3.edgexfoundry.org:10002/v2/: unauthorized: authentication required [Pipeline] } [2021-08-25T08:23:39.046Z] 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:40.312Z] 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:40.498Z] 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:42.090Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1014/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:23:42.414Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:23:43.003Z] ---> package-listing.sh [2021-08-25T08:23:43.003Z] ++ facter osfamily [2021-08-25T08:23:43.003Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-25T08:23:43.271Z] + OS_FAMILY=redhat [2021-08-25T08:23:43.271Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1014 [2021-08-25T08:23:43.271Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-25T08:23:43.271Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-25T08:23:43.271Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-25T08:23:43.271Z] + PACKAGES=/tmp/packages_start.txt [2021-08-25T08:23:43.271Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1014 ']' [2021-08-25T08:23:43.271Z] + PACKAGES=/tmp/packages_end.txt [2021-08-25T08:23:43.271Z] + case "${OS_FAMILY}" in [2021-08-25T08:23:43.271Z] + sort [2021-08-25T08:23:43.271Z] + rpm -qa [2021-08-25T08:23:43.861Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-25T08:23:43.861Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-25T08:23:43.861Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-25T08:23:43.861Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1014 ']' [2021-08-25T08:23:43.861Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1014/archives/ [2021-08-25T08:23:43.861Z] + 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:43.879Z] 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:44.182Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-25T08:23:44.873Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-25T08:23:44.873Z] [2021-08-25T08:23:44.873Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-25T08:23:45.203Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-25T08:23:45.203Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-25T08:23:45.203Z] b4d181a07f80: Pulling fs layer [2021-08-25T08:23:45.203Z] a1111a8f2ec3: Pulling fs layer [2021-08-25T08:23:45.203Z] ed53099fbce6: Pulling fs layer [2021-08-25T08:23:45.203Z] dc539afda2c1: Pulling fs layer [2021-08-25T08:23:45.203Z] 77bc0d833cb6: Pulling fs layer [2021-08-25T08:23:45.203Z] 9065ff56babe: Pulling fs layer [2021-08-25T08:23:45.203Z] d287ab97295c: Pulling fs layer [2021-08-25T08:23:45.203Z] dc539afda2c1: Waiting [2021-08-25T08:23:45.203Z] 77bc0d833cb6: Waiting [2021-08-25T08:23:45.203Z] 9065ff56babe: Waiting [2021-08-25T08:23:45.203Z] d287ab97295c: Waiting [2021-08-25T08:23:45.469Z] a1111a8f2ec3: Download complete [2021-08-25T08:23:45.469Z] dc539afda2c1: Verifying Checksum [2021-08-25T08:23:45.469Z] dc539afda2c1: Download complete [2021-08-25T08:23:46.051Z] ed53099fbce6: Verifying Checksum [2021-08-25T08:23:46.051Z] ed53099fbce6: Download complete [2021-08-25T08:23:46.051Z] 9065ff56babe: Verifying Checksum [2021-08-25T08:23:46.051Z] 9065ff56babe: Download complete [2021-08-25T08:23:47.011Z] 77bc0d833cb6: Verifying Checksum [2021-08-25T08:23:47.011Z] 77bc0d833cb6: Download complete [2021-08-25T08:23:47.594Z] b4d181a07f80: Verifying Checksum [2021-08-25T08:23:47.594Z] b4d181a07f80: Download complete [2021-08-25T08:23:49.027Z] b4d181a07f80: Pull complete [2021-08-25T08:23:49.027Z] a1111a8f2ec3: Pull complete [2021-08-25T08:23:49.297Z] ed53099fbce6: Pull complete [2021-08-25T08:23:49.567Z] dc539afda2c1: Pull complete [2021-08-25T08:23:49.840Z] 77bc0d833cb6: Pull complete [2021-08-25T08:23:49.840Z] 9065ff56babe: Pull complete [2021-08-25T08:23:51.793Z] d287ab97295c: Verifying Checksum [2021-08-25T08:23:51.793Z] d287ab97295c: Download complete [2021-08-25T08:23:56.078Z] d287ab97295c: Pull complete [2021-08-25T08:23:56.078Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-25T08:23:56.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-25T08:23:56.353Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-25T08:23:56.472Z] prd-centos7-docker-4c-2g-771 does not seem to be running inside a container [2021-08-25T08:23:56.530Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-25T08:23:58.702Z] $ docker top dba9725891b57fe6ed55f2c2292ce6781aa95582c1ead9eee73258b1c3d71f56 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-25T08:23:59.108Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-25T08:23:59.430Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-25T08:23:59.768Z] + ls /var/log/sa-host [2021-08-25T08:23:59.768Z] + sadf -c /var/log/sa-host/sa05 [2021-08-25T08:23:59.768Z] file_magic: OK [2021-08-25T08:23:59.768Z] HZ: Using current value: 100 [2021-08-25T08:23:59.768Z] file_header: OK [2021-08-25T08:23:59.768Z] 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:59.768Z] Statistics: [2021-08-25T08:23:59.768Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-25T08:23:59.768Z] File successfully converted to sysstat format version 12.0.3 [2021-08-25T08:23:59.768Z] + sadf -c /var/log/sa-host/sa25 [2021-08-25T08:23:59.768Z] file_magic: OK [2021-08-25T08:23:59.768Z] HZ: Using current value: 100 [2021-08-25T08:23:59.768Z] file_header: OK [2021-08-25T08:23:59.768Z] 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:59.768Z] Statistics: [2021-08-25T08:23:59.768Z] HR [2021-08-25T08:23:59.768Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-25T08:23:59.943Z] provisioning config files... [2021-08-25T08:23:59.958Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1014@tmp/config4215270413028257722tmp [Pipeline] { [Pipeline] echo [2021-08-25T08:23:59.982Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:24:00.297Z] ---> create-netrc.sh [Pipeline] } [2021-08-25T08:24:00.309Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:24:00.686Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-25T08:24:00.700Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:24:01.014Z] ---> sudo-logs.sh [2021-08-25T08:24:01.014Z] Archiving 'sudo' log.. [2021-08-25T08:24:01.014Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-771.vexxhost.local: Name or service not known [2021-08-25T08:24:01.014Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-771.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-25T08:24:01.049Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:24:01.364Z] ---> job-cost.sh [2021-08-25T08:24:01.364Z] lf-activate-venv: SKIPPING [2021-08-25T08:24:01.364Z] INFO: No Stack... [2021-08-25T08:24:02.334Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-25T08:24:02.599Z] INFO: Archiving Costs [Pipeline] echo [2021-08-25T08:24:02.619Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:24:02.937Z] ---> logs-deploy.sh [2021-08-25T08:24:02.937Z] lf-activate-venv: SKIPPING [2021-08-25T08:24:02.937Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1014/3 [2021-08-25T08:24:02.937Z] INFO: archiving workspace using pattern(s): [2021-08-25T08:24:03.524Z] Archives upload complete. [2021-08-25T08:24:03.793Z] INFO: archiving logs to Nexus