Push event to branch snap Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0f5c1252b90ce4e29f6b92d6ead7cd8feb8a02bd Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/snap/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > 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 > git --version # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go, goVersion:1.13] ========================================================= [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-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3187 in /w/workspace/edgexfoundry_device-rest-go_snap [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout [Pipeline] } [Pipeline] // stage [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:54:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:54:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:54:45 ========================================================= 21:54:45 EdgeX Global Pipelines Version Info 21:54:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:54:48 ------------------- 21:54:48 stable info: 21:54:48 ------------------- 21:54:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:54:48 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 21:54:48 Message: update stable to v1.0.89 21:54:49 ------------------- 21:54:49 experimental info: 21:54:49 ------------------- 21:54:49 Commited By: **** collab-it+edgex@linuxfoundation.org 21:54:49 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 21:54:49 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Semver Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to earlier failure(s) Stage "arm64" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Prep) Stage "amd64" skipped due to earlier failure(s) [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) Stage "amd64" skipped due to earlier failure(s) [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Build) Stage "amd64" skipped due to earlier failure(s) [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Docker Push) Stage "amd64" skipped due to earlier failure(s) [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] stage [Pipeline] { (Snap) Stage "amd64" skipped due to earlier failure(s) [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } 21:54:52 Failed in branch amd64 [Pipeline] } 21:54:52 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 21:54:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:54:54 ---> package-listing.sh 21:54:54 ++ facter osfamily 21:54:54 ++ tr '[:upper:]' '[:lower:]' 21:54:54 + OS_FAMILY=redhat 21:54:54 + workspace=/w/workspace/edgexfoundry_device-rest-go_snap 21:54:54 + START_PACKAGES=/tmp/packages_start.txt 21:54:54 + END_PACKAGES=/tmp/packages_end.txt 21:54:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:54:54 + PACKAGES=/tmp/packages_start.txt 21:54:54 + '[' /w/workspace/edgexfoundry_device-rest-go_snap ']' 21:54:54 + PACKAGES=/tmp/packages_end.txt 21:54:54 + case "${OS_FAMILY}" in 21:54:54 + rpm -qa 21:54:54 + sort 21:54:58 + '[' -f /tmp/packages_start.txt ']' 21:54:58 + '[' -f /tmp/packages_end.txt ']' 21:54:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:54:58 + '[' /w/workspace/edgexfoundry_device-rest-go_snap ']' 21:54:58 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_snap/archives/ 21:54:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_snap/archives/ [Pipeline] isUnix [Pipeline] sh 21:54:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:54:59 21:54:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:54:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:54:59 alpine: Pulling from edgex-lftools-log-publisher 21:54:59 c9b1b535fdd9: Pulling fs layer 21:54:59 2cc5ad85d9ab: Pulling fs layer 21:54:59 756a868c4378: Pulling fs layer 21:54:59 444b2fc9a129: Pulling fs layer 21:54:59 ea15f1150254: Pulling fs layer 21:54:59 41b27a9f41bf: Pulling fs layer 21:54:59 28c525ee5125: Pulling fs layer 21:54:59 094b1ea09ed8: Pulling fs layer 21:54:59 138eaada9080: Pulling fs layer 21:54:59 0622d0fa9048: Pulling fs layer 21:54:59 41b27a9f41bf: Waiting 21:54:59 28c525ee5125: Waiting 21:54:59 094b1ea09ed8: Waiting 21:54:59 138eaada9080: Waiting 21:54:59 0622d0fa9048: Waiting 21:54:59 444b2fc9a129: Waiting 21:54:59 ea15f1150254: Waiting 21:54:59 2cc5ad85d9ab: Verifying Checksum 21:54:59 2cc5ad85d9ab: Download complete 21:54:59 444b2fc9a129: Download complete 21:54:59 c9b1b535fdd9: Verifying Checksum 21:54:59 ea15f1150254: Verifying Checksum 21:54:59 ea15f1150254: Download complete 21:54:59 28c525ee5125: Verifying Checksum 21:54:59 28c525ee5125: Download complete 21:55:00 756a868c4378: Verifying Checksum 21:55:00 756a868c4378: Download complete 21:55:00 c9b1b535fdd9: Pull complete 21:55:00 094b1ea09ed8: Verifying Checksum 21:55:00 094b1ea09ed8: Download complete 21:55:00 138eaada9080: Verifying Checksum 21:55:00 138eaada9080: Download complete 21:55:00 0622d0fa9048: Verifying Checksum 21:55:00 0622d0fa9048: Download complete 21:55:00 2cc5ad85d9ab: Pull complete 21:55:00 41b27a9f41bf: Verifying Checksum 21:55:00 41b27a9f41bf: Download complete 21:55:02 756a868c4378: Pull complete 21:55:02 444b2fc9a129: Pull complete 21:55:02 ea15f1150254: Pull complete 21:55:06 41b27a9f41bf: Pull complete 21:55:06 28c525ee5125: Pull complete 21:55:08 094b1ea09ed8: Pull complete 21:55:08 138eaada9080: Pull complete 21:55:08 0622d0fa9048: Pull complete 21:55:08 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 21:55:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:55:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:55:08 prd-centos7-docker-4c-2g-3187 does not seem to be running inside a container 21:55:08 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/edgexfoundry_device-rest-go_snap -v /w/workspace/edgexfoundry_device-rest-go_snap:/w/workspace/edgexfoundry_device-rest-go_snap:rw,z -v /w/workspace/edgexfoundry_device-rest-go_snap@tmp:/w/workspace/edgexfoundry_device-rest-go_snap@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 21:55:12 $ docker top 3f3e6e6e2bbeddd7cc8a13e88e3c769579b44df99459765f1f5c788ad641bcd5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:55:12 provisioning config files... 21:55:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_snap@tmp/config7141413294662340945tmp [Pipeline] { [Pipeline] echo 21:55:12 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:55:13 ---> create-netrc.sh [Pipeline] echo 21:55:13 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:55:13 ---> logs-deploy.sh 21:55:13 + ARCHIVE_ARTIFACTS= 21:55:13 + LOGS_SERVER=https://logs.edgexfoundry.org 21:55:13 + '[' https://logs.edgexfoundry.org == None ']' 21:55:13 + NEXUS_URL=https://nexus.edgexfoundry.org 21:55:13 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/snap/1 21:55:13 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/snap/1/ 21:55:13 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/snap/1 /w/workspace/edgexfoundry_device-rest-go_snap 21:55:14 Archives upload complete. 21:55:14 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/snap/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/snap/1/