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 [2020-06-16T21:54:45.581Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-16T21:54:45.804Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-16T21:54:45.928Z] ========================================================= [2020-06-16T21:54:45.928Z] EdgeX Global Pipelines Version Info [2020-06-16T21:54:45.928Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-06-16T21:54:48.934Z] ------------------- [2020-06-16T21:54:48.934Z] stable info: [2020-06-16T21:54:48.934Z] ------------------- [2020-06-16T21:54:48.934Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-16T21:54:48.934Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-16T21:54:48.934Z] Message: update stable to v1.0.89 [2020-06-16T21:54:49.505Z] ------------------- [2020-06-16T21:54:49.505Z] experimental info: [2020-06-16T21:54:49.505Z] ------------------- [2020-06-16T21:54:49.505Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-16T21:54:49.505Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-16T21:54:49.505Z] 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] } [2020-06-16T21:54:52.280Z] Failed in branch amd64 [Pipeline] } [2020-06-16T21:54:52.294Z] 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 [2020-06-16T21:54:53.964Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-16T21:54:54.563Z] ---> package-listing.sh [2020-06-16T21:54:54.563Z] ++ facter osfamily [2020-06-16T21:54:54.563Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-16T21:54:54.563Z] + OS_FAMILY=redhat [2020-06-16T21:54:54.563Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_snap [2020-06-16T21:54:54.563Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-16T21:54:54.563Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-16T21:54:54.563Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-16T21:54:54.563Z] + PACKAGES=/tmp/packages_start.txt [2020-06-16T21:54:54.563Z] + '[' /w/workspace/edgexfoundry_device-rest-go_snap ']' [2020-06-16T21:54:54.563Z] + PACKAGES=/tmp/packages_end.txt [2020-06-16T21:54:54.563Z] + case "${OS_FAMILY}" in [2020-06-16T21:54:54.563Z] + rpm -qa [2020-06-16T21:54:54.563Z] + sort [2020-06-16T21:54:58.782Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-16T21:54:58.782Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-16T21:54:58.782Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-16T21:54:58.782Z] + '[' /w/workspace/edgexfoundry_device-rest-go_snap ']' [2020-06-16T21:54:58.782Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_snap/archives/ [2020-06-16T21:54:58.782Z] + 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 [2020-06-16T21:54:59.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-16T21:54:59.282Z] [2020-06-16T21:54:59.282Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-16T21:54:59.640Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-16T21:54:59.640Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-16T21:54:59.640Z] c9b1b535fdd9: Pulling fs layer [2020-06-16T21:54:59.640Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-16T21:54:59.640Z] 756a868c4378: Pulling fs layer [2020-06-16T21:54:59.640Z] 444b2fc9a129: Pulling fs layer [2020-06-16T21:54:59.640Z] ea15f1150254: Pulling fs layer [2020-06-16T21:54:59.640Z] 41b27a9f41bf: Pulling fs layer [2020-06-16T21:54:59.640Z] 28c525ee5125: Pulling fs layer [2020-06-16T21:54:59.640Z] 094b1ea09ed8: Pulling fs layer [2020-06-16T21:54:59.640Z] 138eaada9080: Pulling fs layer [2020-06-16T21:54:59.640Z] 0622d0fa9048: Pulling fs layer [2020-06-16T21:54:59.640Z] 41b27a9f41bf: Waiting [2020-06-16T21:54:59.640Z] 28c525ee5125: Waiting [2020-06-16T21:54:59.640Z] 094b1ea09ed8: Waiting [2020-06-16T21:54:59.640Z] 138eaada9080: Waiting [2020-06-16T21:54:59.640Z] 0622d0fa9048: Waiting [2020-06-16T21:54:59.640Z] 444b2fc9a129: Waiting [2020-06-16T21:54:59.640Z] ea15f1150254: Waiting [2020-06-16T21:54:59.640Z] 2cc5ad85d9ab: Verifying Checksum [2020-06-16T21:54:59.640Z] 2cc5ad85d9ab: Download complete [2020-06-16T21:54:59.640Z] 444b2fc9a129: Download complete [2020-06-16T21:54:59.640Z] c9b1b535fdd9: Verifying Checksum [2020-06-16T21:54:59.910Z] ea15f1150254: Verifying Checksum [2020-06-16T21:54:59.910Z] ea15f1150254: Download complete [2020-06-16T21:54:59.910Z] 28c525ee5125: Verifying Checksum [2020-06-16T21:54:59.910Z] 28c525ee5125: Download complete [2020-06-16T21:55:00.180Z] 756a868c4378: Verifying Checksum [2020-06-16T21:55:00.180Z] 756a868c4378: Download complete [2020-06-16T21:55:00.180Z] c9b1b535fdd9: Pull complete [2020-06-16T21:55:00.180Z] 094b1ea09ed8: Verifying Checksum [2020-06-16T21:55:00.180Z] 094b1ea09ed8: Download complete [2020-06-16T21:55:00.180Z] 138eaada9080: Verifying Checksum [2020-06-16T21:55:00.180Z] 138eaada9080: Download complete [2020-06-16T21:55:00.180Z] 0622d0fa9048: Verifying Checksum [2020-06-16T21:55:00.180Z] 0622d0fa9048: Download complete [2020-06-16T21:55:00.449Z] 2cc5ad85d9ab: Pull complete [2020-06-16T21:55:00.722Z] 41b27a9f41bf: Verifying Checksum [2020-06-16T21:55:00.722Z] 41b27a9f41bf: Download complete [2020-06-16T21:55:02.122Z] 756a868c4378: Pull complete [2020-06-16T21:55:02.122Z] 444b2fc9a129: Pull complete [2020-06-16T21:55:02.387Z] ea15f1150254: Pull complete [2020-06-16T21:55:06.660Z] 41b27a9f41bf: Pull complete [2020-06-16T21:55:06.660Z] 28c525ee5125: Pull complete [2020-06-16T21:55:08.587Z] 094b1ea09ed8: Pull complete [2020-06-16T21:55:08.587Z] 138eaada9080: Pull complete [2020-06-16T21:55:08.587Z] 0622d0fa9048: Pull complete [2020-06-16T21:55:08.587Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-16T21:55:08.587Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-16T21:55:08.587Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-16T21:55:08.716Z] prd-centos7-docker-4c-2g-3187 does not seem to be running inside a container [2020-06-16T21:55:08.767Z] $ 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 [2020-06-16T21:55:12.487Z] $ docker top 3f3e6e6e2bbeddd7cc8a13e88e3c769579b44df99459765f1f5c788ad641bcd5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-16T21:55:12.750Z] provisioning config files... [2020-06-16T21:55:12.775Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_snap@tmp/config7141413294662340945tmp [Pipeline] { [Pipeline] echo [2020-06-16T21:55:12.842Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-16T21:55:13.187Z] ---> create-netrc.sh [Pipeline] echo [2020-06-16T21:55:13.212Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-16T21:55:13.534Z] ---> logs-deploy.sh [2020-06-16T21:55:13.534Z] + ARCHIVE_ARTIFACTS= [2020-06-16T21:55:13.534Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-16T21:55:13.534Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-16T21:55:13.534Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-16T21:55:13.534Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/snap/1 [2020-06-16T21:55:13.534Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/snap/1/ [2020-06-16T21:55:13.534Z] + 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 [2020-06-16T21:55:14.480Z] Archives upload complete. [2020-06-16T21:55:14.742Z] + 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/