Push event to branch issue-522 Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f6f378ce2de4db4358964e2231070cc37d677ccd 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 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 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 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 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-sdk-go/branches/issue-522/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 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 # timeout=10 Commit message: "Merge pull request #218 from ernestojeda/add-geneva-release-stream" > 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-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [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.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-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 SNAP_CHANNEL: latest/edge BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: api/openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-880 in /w/workspace/xfoundry_device-sdk-go_issue-522 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout [Pipeline] } [Pipeline] // stage [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-07-24T17:21:27.941Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-24T17:21:28.243Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-24T17:21:28.386Z] ========================================================= [2020-07-24T17:21:28.386Z] EdgeX Global Pipelines Version Info [2020-07-24T17:21:28.386Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-24T17:21:30.725Z] ------------------- [2020-07-24T17:21:30.725Z] stable info: [2020-07-24T17:21:30.725Z] ------------------- [2020-07-24T17:21:30.725Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-24T17:21:30.725Z] Commit SHA: 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 [2020-07-24T17:21:30.725Z] Message: update stable to v1.0.105 [2020-07-24T17:21:31.677Z] ------------------- [2020-07-24T17:21:31.677Z] experimental info: [2020-07-24T17:21:31.677Z] ------------------- [2020-07-24T17:21:31.677Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-07-24T17:21:31.677Z] Commit SHA: 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 [2020-07-24T17:21:31.677Z] Message: update experimental to v1.0.105 [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-07-24T17:21:36.033Z] Failed in branch amd64 [Pipeline] } [2020-07-24T17:21:36.050Z] 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] { (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] libraryResource [Pipeline] sh [2020-07-24T17:21:39.078Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-24T17:21:39.680Z] ---> package-listing.sh [2020-07-24T17:21:39.680Z] ++ facter osfamily [2020-07-24T17:21:39.680Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-24T17:21:39.680Z] + OS_FAMILY=redhat [2020-07-24T17:21:39.680Z] + workspace=/w/workspace/xfoundry_device-sdk-go_issue-522 [2020-07-24T17:21:39.680Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-24T17:21:39.680Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-24T17:21:39.680Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-24T17:21:39.680Z] + PACKAGES=/tmp/packages_start.txt [2020-07-24T17:21:39.680Z] + '[' /w/workspace/xfoundry_device-sdk-go_issue-522 ']' [2020-07-24T17:21:39.680Z] + PACKAGES=/tmp/packages_end.txt [2020-07-24T17:21:39.680Z] + case "${OS_FAMILY}" in [2020-07-24T17:21:39.680Z] + rpm -qa [2020-07-24T17:21:39.680Z] + sort [2020-07-24T17:21:43.916Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-24T17:21:43.916Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-24T17:21:43.916Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-24T17:21:43.916Z] + '[' /w/workspace/xfoundry_device-sdk-go_issue-522 ']' [2020-07-24T17:21:43.916Z] + mkdir -p /w/workspace/xfoundry_device-sdk-go_issue-522/archives/ [2020-07-24T17:21:43.916Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-sdk-go_issue-522/archives/ [Pipeline] isUnix [Pipeline] sh [2020-07-24T17:21:44.605Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-24T17:21:44.868Z] [2020-07-24T17:21:44.868Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-24T17:21:45.254Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-24T17:21:45.254Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-24T17:21:45.254Z] c9b1b535fdd9: Pulling fs layer [2020-07-24T17:21:45.254Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-24T17:21:45.254Z] 756a868c4378: Pulling fs layer [2020-07-24T17:21:45.254Z] 444b2fc9a129: Pulling fs layer [2020-07-24T17:21:45.254Z] ea15f1150254: Pulling fs layer [2020-07-24T17:21:45.254Z] 41b27a9f41bf: Pulling fs layer [2020-07-24T17:21:45.254Z] 28c525ee5125: Pulling fs layer [2020-07-24T17:21:45.254Z] 094b1ea09ed8: Pulling fs layer [2020-07-24T17:21:45.254Z] 138eaada9080: Pulling fs layer [2020-07-24T17:21:45.254Z] 0622d0fa9048: Pulling fs layer [2020-07-24T17:21:45.254Z] 444b2fc9a129: Waiting [2020-07-24T17:21:45.254Z] 41b27a9f41bf: Waiting [2020-07-24T17:21:45.254Z] ea15f1150254: Waiting [2020-07-24T17:21:45.254Z] 28c525ee5125: Waiting [2020-07-24T17:21:45.254Z] 138eaada9080: Waiting [2020-07-24T17:21:45.254Z] 094b1ea09ed8: Waiting [2020-07-24T17:21:45.254Z] 0622d0fa9048: Waiting [2020-07-24T17:21:45.254Z] 2cc5ad85d9ab: Download complete [2020-07-24T17:21:45.254Z] 444b2fc9a129: Verifying Checksum [2020-07-24T17:21:45.254Z] 444b2fc9a129: Download complete [2020-07-24T17:21:45.254Z] c9b1b535fdd9: Verifying Checksum [2020-07-24T17:21:45.254Z] c9b1b535fdd9: Download complete [2020-07-24T17:21:45.525Z] ea15f1150254: Verifying Checksum [2020-07-24T17:21:45.525Z] ea15f1150254: Download complete [2020-07-24T17:21:45.525Z] 28c525ee5125: Verifying Checksum [2020-07-24T17:21:45.525Z] 28c525ee5125: Download complete [2020-07-24T17:21:45.790Z] 756a868c4378: Verifying Checksum [2020-07-24T17:21:45.790Z] 756a868c4378: Download complete [2020-07-24T17:21:45.790Z] 138eaada9080: Verifying Checksum [2020-07-24T17:21:45.790Z] 138eaada9080: Download complete [2020-07-24T17:21:45.790Z] 0622d0fa9048: Verifying Checksum [2020-07-24T17:21:45.790Z] 0622d0fa9048: Download complete [2020-07-24T17:21:45.790Z] 094b1ea09ed8: Verifying Checksum [2020-07-24T17:21:45.790Z] 094b1ea09ed8: Download complete [2020-07-24T17:21:45.790Z] c9b1b535fdd9: Pull complete [2020-07-24T17:21:46.363Z] 2cc5ad85d9ab: Pull complete [2020-07-24T17:21:46.363Z] 41b27a9f41bf: Verifying Checksum [2020-07-24T17:21:46.363Z] 41b27a9f41bf: Download complete [2020-07-24T17:21:47.752Z] 756a868c4378: Pull complete [2020-07-24T17:21:47.752Z] 444b2fc9a129: Pull complete [2020-07-24T17:21:48.013Z] ea15f1150254: Pull complete [2020-07-24T17:21:52.230Z] 41b27a9f41bf: Pull complete [2020-07-24T17:21:52.230Z] 28c525ee5125: Pull complete [2020-07-24T17:21:54.161Z] 094b1ea09ed8: Pull complete [2020-07-24T17:21:56.074Z] 138eaada9080: Pull complete [2020-07-24T17:21:56.074Z] 0622d0fa9048: Pull complete [2020-07-24T17:21:56.074Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-24T17:21:56.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-24T17:21:56.074Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-24T17:21:56.200Z] prd-centos7-docker-4c-2g-880 does not seem to be running inside a container [2020-07-24T17:21:56.249Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/xfoundry_device-sdk-go_issue-522 -v /w/workspace/xfoundry_device-sdk-go_issue-522:/w/workspace/xfoundry_device-sdk-go_issue-522:rw,z -v /w/workspace/xfoundry_device-sdk-go_issue-522@tmp:/w/workspace/xfoundry_device-sdk-go_issue-522@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-07-24T17:21:59.295Z] $ docker top f9fdc9896d2bb09601b4cd125ceab87aeb559d34354d24db0a132814b4bd2194 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-24T17:21:59.676Z] provisioning config files... [2020-07-24T17:21:59.702Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-sdk-go_issue-522@tmp/config8850349742645398362tmp [Pipeline] { [Pipeline] echo [2020-07-24T17:21:59.803Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-24T17:22:00.144Z] ---> create-netrc.sh [Pipeline] echo [2020-07-24T17:22:00.175Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-24T17:22:00.520Z] ---> logs-deploy.sh [2020-07-24T17:22:00.520Z] + ARCHIVE_ARTIFACTS= [2020-07-24T17:22:00.520Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-24T17:22:00.520Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-24T17:22:00.520Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-24T17:22:00.520Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/issue-522/1 [2020-07-24T17:22:00.520Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/issue-522/1/ [2020-07-24T17:22:00.520Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/issue-522/1 /w/workspace/xfoundry_device-sdk-go_issue-522 [2020-07-24T17:22:01.914Z] Archives upload complete. [2020-07-24T17:22:01.914Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/issue-522/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/issue-522/1/