Pull request #901 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e41940fa2229b6335f5468ef734d4759d296f2ef+92affc97e25621ac5a3617c0e5e42feb55191c77 (3ebe7a0ad9adced1116256d6669ba283aa49b1dc) Running in Durability level: MAX_SURVIVABILITY 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 --version # 'git version 2.16.6' > 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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/PR-901/workspace@libs/edgex-global-pipelines # timeout=10 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 > 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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 > git --version # 'git version 2.16.6' 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-901/workspace@libs/lf-pipelines # timeout=10 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 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:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-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 BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 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 Running on prd-centos7-docker-4c-2g-2149 in /w/workspace/dgexfoundry_device-sdk-go_PR-901 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-901 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit e41940fa2229b6335f5468ef734d4759d296f2ef Merge succeeded, producing e41940fa2229b6335f5468ef734d4759d296f2ef Checking out Revision e41940fa2229b6335f5468ef734d4759d296f2ef (PR-901) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/901/head:refs/remotes/origin/PR-901 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e41940fa2229b6335f5468ef734d4759d296f2ef # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e41940fa2229b6335f5468ef734d4759d296f2ef # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-28T05:56:14.352Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-28T05:56:14.572Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-28T05:56:14.686Z] ========================================================= [2021-04-28T05:56:14.686Z] EdgeX Global Pipelines Version Info [2021-04-28T05:56:14.686Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-28T05:56:16.661Z] ------------------- [2021-04-28T05:56:16.661Z] stable info: [2021-04-28T05:56:16.661Z] ------------------- [2021-04-28T05:56:16.661Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-28T05:56:16.661Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-28T05:56:16.661Z] Message: update stable to v1.0.186 [2021-04-28T05:56:17.237Z] ------------------- [2021-04-28T05:56:17.237Z] experimental info: [2021-04-28T05:56:17.237Z] ------------------- [2021-04-28T05:56:17.237Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-28T05:56:17.237Z] Commit SHA: cf598ef4eee878cf4fd68936879ff849bf9f782f [2021-04-28T05:56:17.237Z] Message: update experimental to v1.0.190 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-28T05:56:17.482Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-28T05:56:17.541Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-28T05:56:17.597Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-28T05:56:17.679Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-28T05:56:17.739Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-28T05:56:17.799Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-28T05:56:17.858Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-28T05:56:17.918Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-28T05:56:17.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-28T05:56:18.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-28T05:56:18.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-28T05:56:18.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-28T05:56:18.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-28T05:56:18.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-28T05:56:18.323Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-28T05:56:18.384Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-28T05:56:18.458Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-28T05:56:18.523Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-28T05:56:18.580Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-28T05:56:18.634Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-28T05:56:18.695Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-28T05:56:18.755Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-28T05:56:18.821Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-28T05:56:18.880Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-28T05:56:18.943Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-28T05:56:18.995Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-28T05:56:19.053Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-901 [Pipeline] echo [2021-04-28T05:56:19.116Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-901 [Pipeline] echo [2021-04-28T05:56:19.175Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-901 [Pipeline] echo [2021-04-28T05:56:19.267Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e41940fa2229b6335f5468ef734d4759d296f2ef [Pipeline] echo [2021-04-28T05:56:19.325Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e41940f [Pipeline] echo [2021-04-28T05:56:19.382Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-28T05:56:19.534Z] provisioning config files... [2021-04-28T05:56:19.567Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-901@tmp/config1809650156359806747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-28T05:56:19.937Z] ---> docker-login.sh [2021-04-28T05:56:19.937Z] nexus3.edgexfoundry.org:10001 [2021-04-28T05:56:20.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T05:56:20.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T05:56:20.465Z] Configure a credential helper to remove this warning. See [2021-04-28T05:56:20.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T05:56:20.465Z] [2021-04-28T05:56:20.465Z] Login Succeeded [2021-04-28T05:56:20.465Z] nexus3.edgexfoundry.org:10002 [2021-04-28T05:56:20.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T05:56:20.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T05:56:20.465Z] Configure a credential helper to remove this warning. See [2021-04-28T05:56:20.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T05:56:20.465Z] [2021-04-28T05:56:20.465Z] Login Succeeded [2021-04-28T05:56:20.465Z] nexus3.edgexfoundry.org:10003 [2021-04-28T05:56:20.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T05:56:20.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T05:56:20.728Z] Configure a credential helper to remove this warning. See [2021-04-28T05:56:20.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T05:56:20.728Z] [2021-04-28T05:56:20.728Z] Login Succeeded [2021-04-28T05:56:20.728Z] nexus3.edgexfoundry.org:10004 [2021-04-28T05:56:20.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T05:56:20.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T05:56:20.992Z] Configure a credential helper to remove this warning. See [2021-04-28T05:56:20.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T05:56:20.992Z] [2021-04-28T05:56:20.992Z] Login Succeeded [2021-04-28T05:56:20.992Z] docker.io [2021-04-28T05:56:20.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T05:56:21.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T05:56:21.254Z] Configure a credential helper to remove this warning. See [2021-04-28T05:56:21.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T05:56:21.254Z] [2021-04-28T05:56:21.254Z] Login Succeeded [2021-04-28T05:56:21.254Z] ---> docker-login.sh ends [Pipeline] } [2021-04-28T05:56:21.276Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-28T05:56:22.054Z] + git log --format=format:%s -1 e41940fa2229b6335f5468ef734d4759d296f2ef [Pipeline] echo [2021-04-28T05:56:22.150Z] GIT_COMMIT: e41940fa2229b6335f5468ef734d4759d296f2ef, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-04-28T05:56:22.190Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-28T05:56:23.164Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-28T05:56:23.164Z] [2021-04-28T05:56:23.164Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-28T05:56:23.516Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-28T05:56:23.516Z] latest: Pulling from edgex-devops/git-semver [2021-04-28T05:56:23.516Z] 31603596830f: Pulling fs layer [2021-04-28T05:56:23.516Z] 54011a49482f: Pulling fs layer [2021-04-28T05:56:23.516Z] a6820b24f6d8: Pulling fs layer [2021-04-28T05:56:23.516Z] f581987b2513: Pulling fs layer [2021-04-28T05:56:23.516Z] f581987b2513: Waiting [2021-04-28T05:56:23.516Z] 54011a49482f: Verifying Checksum [2021-04-28T05:56:23.516Z] 54011a49482f: Download complete [2021-04-28T05:56:23.516Z] 31603596830f: Download complete [2021-04-28T05:56:23.780Z] f581987b2513: Verifying Checksum [2021-04-28T05:56:23.780Z] f581987b2513: Download complete [2021-04-28T05:56:23.780Z] a6820b24f6d8: Verifying Checksum [2021-04-28T05:56:23.780Z] a6820b24f6d8: Download complete [2021-04-28T05:56:24.044Z] 31603596830f: Pull complete [2021-04-28T05:56:24.044Z] 54011a49482f: Pull complete [2021-04-28T05:56:24.997Z] a6820b24f6d8: Pull complete [2021-04-28T05:56:24.997Z] f581987b2513: Pull complete [2021-04-28T05:56:25.258Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-04-28T05:56:25.258Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-28T05:56:25.258Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-28T05:56:25.378Z] prd-centos7-docker-4c-2g-2149 does not seem to be running inside a container [2021-04-28T05:56:25.429Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-901 -v /w/workspace/dgexfoundry_device-sdk-go_PR-901:/w/workspace/dgexfoundry_device-sdk-go_PR-901:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-901@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-901@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-28T05:56:27.315Z] $ docker top b9176b11d54cb50e957dccb83f18572425668ee841f6343572342d07d9fadc81 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-28T05:56:27.561Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-28T05:56:27.561Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-28T05:56:27.785Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-28T05:56:27.794Z] $ docker exec b9176b11d54cb50e957dccb83f18572425668ee841f6343572342d07d9fadc81 ssh-agent [2021-04-28T05:56:27.953Z] SSH_AUTH_SOCK=/tmp/ssh-TuxOYDXWYdc6/agent.12 [2021-04-28T05:56:27.953Z] SSH_AGENT_PID=17 [2021-04-28T05:56:27.963Z] Running ssh-add (command line suppressed) [2021-04-28T05:56:28.095Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-901@tmp/private_key_5178393254558661411.key (/w/workspace/dgexfoundry_device-sdk-go_PR-901@tmp/private_key_5178393254558661411.key) [2021-04-28T05:56:28.143Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-28T05:56:28.486Z] + git tag --points-at HEAD [Pipeline] } [2021-04-28T05:56:28.526Z] $ docker exec --env ******** --env ******** b9176b11d54cb50e957dccb83f18572425668ee841f6343572342d07d9fadc81 ssh-agent -k [2021-04-28T05:56:28.644Z] unset SSH_AUTH_SOCK; [2021-04-28T05:56:28.645Z] unset SSH_AGENT_PID; [2021-04-28T05:56:28.645Z] echo Agent pid 17 killed; [2021-04-28T05:56:28.688Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-28T05:56:28.780Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-28T05:56:28.780Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-28T05:56:28.950Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-28T05:56:28.958Z] $ docker exec b9176b11d54cb50e957dccb83f18572425668ee841f6343572342d07d9fadc81 ssh-agent [2021-04-28T05:56:29.116Z] SSH_AUTH_SOCK=/tmp/ssh-4k9L49yrRwGz/agent.47 [2021-04-28T05:56:29.116Z] SSH_AGENT_PID=52 [2021-04-28T05:56:29.123Z] Running ssh-add (command line suppressed) [2021-04-28T05:56:29.248Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-901@tmp/private_key_3082715426932626891.key (/w/workspace/dgexfoundry_device-sdk-go_PR-901@tmp/private_key_3082715426932626891.key) [2021-04-28T05:56:29.297Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-28T05:56:29.643Z] + git semver init [2021-04-28T05:56:29.643Z] # -> Open(): unable to determine branch for HEAD [2021-04-28T05:56:29.643Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-901/.git [2021-04-28T05:56:29.643Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-901 [2021-04-28T05:56:29.643Z] # $SEMVER_REMOTE_NAME = origin [2021-04-28T05:56:29.643Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-28T05:56:29.643Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-28T05:56:29.643Z] # $SEMVER_BRANCH = PR-901 [2021-04-28T05:56:29.643Z] # $SEMVER_TEMP = /tmp/semver-013663097 [2021-04-28T05:56:29.643Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-28T05:56:30.589Z] # '/tmp/semver-013663097' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-901/.semver' [2021-04-28T05:56:30.589Z] # -> Force: false [2021-04-28T05:56:30.589Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-901/.semver [Pipeline] } [2021-04-28T05:56:30.613Z] $ docker exec --env ******** --env ******** b9176b11d54cb50e957dccb83f18572425668ee841f6343572342d07d9fadc81 ssh-agent -k [2021-04-28T05:56:30.730Z] unset SSH_AUTH_SOCK; [2021-04-28T05:56:30.731Z] unset SSH_AGENT_PID; [2021-04-28T05:56:30.732Z] echo Agent pid 52 killed; [2021-04-28T05:56:30.775Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-28T05:56:31.202Z] + git semver [Pipeline] } [2021-04-28T05:56:31.235Z] $ docker stop --time=1 b9176b11d54cb50e957dccb83f18572425668ee841f6343572342d07d9fadc81 [2021-04-28T05:56:32.587Z] $ docker rm -f b9176b11d54cb50e957dccb83f18572425668ee841f6343572342d07d9fadc81 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-28T05:56:33.040Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-28T05:56:33.403Z] Stashed 1 file(s) [Pipeline] echo [2021-04-28T05:56:33.421Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-04-28T05:56:48.883Z] Still waiting to schedule task [2021-04-28T05:56:48.883Z] ‘prd-centos7-docker-4c-2g-2150’ is offline [2021-04-28T05:56:48.911Z] Still waiting to schedule task [2021-04-28T05:56:48.911Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-28T05:58:46.744Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2151 in /w/workspace/dgexfoundry_device-sdk-go_PR-901 [Pipeline] { [Pipeline] ws [2021-04-28T05:58:46.826Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-28T05:58:53.351Z] using credential edgex-jenkins-ssh [2021-04-28T05:58:53.371Z] Cloning the remote Git repository [2021-04-28T05:58:53.451Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-28T05:58:53.639Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-28T05:58:53.728Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-28T05:58:53.729Z] > git --version # timeout=10 [2021-04-28T05:58:53.747Z] > git --version # 'git version 2.17.1' [2021-04-28T05:58:53.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T05:58:53.817Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-28T05:58:55.662Z] Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit e41940fa2229b6335f5468ef734d4759d296f2ef [2021-04-28T05:58:55.860Z] Merge succeeded, producing e41940fa2229b6335f5468ef734d4759d296f2ef [2021-04-28T05:58:55.861Z] Checking out Revision e41940fa2229b6335f5468ef734d4759d296f2ef (PR-901) [2021-04-28T05:58:55.013Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-28T05:58:55.041Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-28T05:58:55.070Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-28T05:58:55.118Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-28T05:58:55.119Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T05:58:55.135Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/901/head:refs/remotes/origin/PR-901 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-28T05:58:55.681Z] > git config core.sparsecheckout # timeout=10 [2021-04-28T05:58:55.697Z] > git checkout -f e41940fa2229b6335f5468ef734d4759d296f2ef # timeout=10 [2021-04-28T05:58:55.788Z] > git remote # timeout=10 [2021-04-28T05:58:55.803Z] > git config --get remote.origin.url # timeout=10 [2021-04-28T05:58:55.816Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T05:58:55.827Z] > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 [2021-04-28T05:58:55.847Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-28T05:58:55.869Z] > git config core.sparsecheckout # timeout=10 [2021-04-28T05:58:55.880Z] > git checkout -f e41940fa2229b6335f5468ef734d4759d296f2ef # timeout=10 [2021-04-28T05:59:00.053Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-04-28T05:59:00.108Z] > git --version # timeout=10 [2021-04-28T05:59:00.116Z] > git --version # 'git version 2.17.1' [2021-04-28T05:59:00.130Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-28T05:59:01.856Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-28T05:59:02.300Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-28T05:59:02.663Z] + sudo service docker restart [2021-04-28T05:59:02.664Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-28T05:59:05.391Z] provisioning config files... [2021-04-28T05:59:05.436Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config201167053150627189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-28T05:59:05.894Z] ---> docker-login.sh [2021-04-28T05:59:05.895Z] nexus3.edgexfoundry.org:10001 [2021-04-28T05:59:06.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T05:59:07.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T05:59:07.161Z] Configure a credential helper to remove this warning. See [2021-04-28T05:59:07.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T05:59:07.161Z] [2021-04-28T05:59:07.161Z] Login Succeeded [2021-04-28T05:59:07.161Z] nexus3.edgexfoundry.org:10002 [2021-04-28T05:59:07.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T05:59:07.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T05:59:07.761Z] Configure a credential helper to remove this warning. See [2021-04-28T05:59:07.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T05:59:07.761Z] [2021-04-28T05:59:07.761Z] Login Succeeded [2021-04-28T05:59:07.761Z] nexus3.edgexfoundry.org:10003 [2021-04-28T05:59:07.919Z] Running on prd-centos7-docker-4c-2g-2152 in /w/workspace/dgexfoundry_device-sdk-go_PR-901 [Pipeline] { [Pipeline] ws [2021-04-28T05:59:07.974Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [2021-04-28T05:59:08.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] checkout [2021-04-28T05:59:08.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T05:59:08.312Z] Configure a credential helper to remove this warning. See [2021-04-28T05:59:08.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T05:59:08.312Z] [2021-04-28T05:59:08.312Z] Login Succeeded [2021-04-28T05:59:08.312Z] nexus3.edgexfoundry.org:10004 [2021-04-28T05:59:08.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T05:59:08.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T05:59:08.867Z] Configure a credential helper to remove this warning. See [2021-04-28T05:59:08.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T05:59:08.867Z] [2021-04-28T05:59:08.867Z] Login Succeeded [2021-04-28T05:59:08.867Z] docker.io [2021-04-28T05:59:09.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T05:59:09.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T05:59:09.421Z] Configure a credential helper to remove this warning. See [2021-04-28T05:59:09.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T05:59:09.421Z] [2021-04-28T05:59:09.421Z] Login Succeeded [2021-04-28T05:59:09.421Z] ---> docker-login.sh ends [Pipeline] } [2021-04-28T05:59:09.455Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-28T05:59:09.865Z] ========================================================= [2021-04-28T05:59:09.865Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-28T05:59:09.865Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-28T05:59:10.247Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-28T05:59:10.520Z] Sending build context to Docker daemon 2.466MB [2021-04-28T05:59:10.618Z] using credential edgex-jenkins-ssh [2021-04-28T05:59:10.648Z] Cloning the remote Git repository [2021-04-28T05:59:10.794Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-28T05:59:10.794Z] Step 2/8 : FROM ${BASE} [2021-04-28T05:59:10.794Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-28T05:59:10.794Z] 5f621e34cdf4: Pulling fs layer [2021-04-28T05:59:10.794Z] a4357932f1b6: Pulling fs layer [2021-04-28T05:59:10.794Z] 18c013af1878: Pulling fs layer [2021-04-28T05:59:10.794Z] 00ac8860ef70: Pulling fs layer [2021-04-28T05:59:10.794Z] 63d7cb157983: Pulling fs layer [2021-04-28T05:59:10.794Z] b116817d02f9: Pulling fs layer [2021-04-28T05:59:10.794Z] 745a02a5169b: Pulling fs layer [2021-04-28T05:59:10.794Z] 00ac8860ef70: Waiting [2021-04-28T05:59:10.794Z] 63d7cb157983: Waiting [2021-04-28T05:59:10.794Z] 745a02a5169b: Waiting [2021-04-28T05:59:10.794Z] b116817d02f9: Waiting [2021-04-28T05:59:10.794Z] 18c013af1878: Download complete [2021-04-28T05:59:10.794Z] a4357932f1b6: Download complete [2021-04-28T05:59:10.794Z] 63d7cb157983: Verifying Checksum [2021-04-28T05:59:10.794Z] 63d7cb157983: Download complete [2021-04-28T05:59:10.794Z] 5f621e34cdf4: Download complete [2021-04-28T05:59:11.400Z] 5f621e34cdf4: Pull complete [2021-04-28T05:59:10.674Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-28T05:59:10.747Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-28T05:59:10.818Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-28T05:59:10.818Z] > git --version # timeout=10 [2021-04-28T05:59:10.827Z] > git --version # 'git version 2.24.3' [2021-04-28T05:59:10.828Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T05:59:10.859Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-28T05:59:12.011Z] a4357932f1b6: Pull complete [2021-04-28T05:59:12.093Z] Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit e41940fa2229b6335f5468ef734d4759d296f2ef [2021-04-28T05:59:12.182Z] Merge succeeded, producing e41940fa2229b6335f5468ef734d4759d296f2ef [2021-04-28T05:59:12.182Z] Checking out Revision e41940fa2229b6335f5468ef734d4759d296f2ef (PR-901) [2021-04-28T05:59:12.623Z] 18c013af1878: Pull complete [2021-04-28T05:59:11.654Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-28T05:59:11.661Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-28T05:59:11.673Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-28T05:59:11.692Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-28T05:59:11.693Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T05:59:11.700Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/901/head:refs/remotes/origin/PR-901 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-28T05:59:12.102Z] > git config core.sparsecheckout # timeout=10 [2021-04-28T05:59:12.109Z] > git checkout -f e41940fa2229b6335f5468ef734d4759d296f2ef # timeout=10 [2021-04-28T05:59:12.153Z] > git remote # timeout=10 [2021-04-28T05:59:12.159Z] > git config --get remote.origin.url # timeout=10 [2021-04-28T05:59:12.164Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T05:59:12.167Z] > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 [2021-04-28T05:59:12.177Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-28T05:59:12.186Z] > git config core.sparsecheckout # timeout=10 [2021-04-28T05:59:12.190Z] > git checkout -f e41940fa2229b6335f5468ef734d4759d296f2ef # timeout=10 [2021-04-28T05:59:14.060Z] 745a02a5169b: Verifying Checksum [2021-04-28T05:59:14.060Z] 745a02a5169b: Download complete [2021-04-28T05:59:15.049Z] 00ac8860ef70: Verifying Checksum [2021-04-28T05:59:15.049Z] 00ac8860ef70: Download complete [2021-04-28T05:59:15.897Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-04-28T05:59:15.924Z] > git --version # timeout=10 [2021-04-28T05:59:15.930Z] > git --version # 'git version 2.24.3' [2021-04-28T05:59:15.937Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-28T05:59:17.220Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-28T05:59:17.562Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-28T05:59:17.880Z] + sudo service docker restart [2021-04-28T05:59:17.880Z] + true [2021-04-28T05:59:17.880Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-28T05:59:18.938Z] provisioning config files... [2021-04-28T05:59:18.968Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1822967255253468571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-28T05:59:19.387Z] ---> docker-login.sh [2021-04-28T05:59:19.387Z] nexus3.edgexfoundry.org:10001 [2021-04-28T05:59:19.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T05:59:19.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T05:59:19.654Z] Configure a credential helper to remove this warning. See [2021-04-28T05:59:19.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T05:59:19.654Z] [2021-04-28T05:59:19.654Z] Login Succeeded [2021-04-28T05:59:19.654Z] nexus3.edgexfoundry.org:10002 [2021-04-28T05:59:19.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T05:59:19.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T05:59:19.918Z] Configure a credential helper to remove this warning. See [2021-04-28T05:59:19.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T05:59:19.918Z] [2021-04-28T05:59:19.918Z] Login Succeeded [2021-04-28T05:59:19.918Z] nexus3.edgexfoundry.org:10003 [2021-04-28T05:59:20.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T05:59:20.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T05:59:20.180Z] Configure a credential helper to remove this warning. See [2021-04-28T05:59:20.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T05:59:20.180Z] [2021-04-28T05:59:20.180Z] Login Succeeded [2021-04-28T05:59:20.180Z] nexus3.edgexfoundry.org:10004 [2021-04-28T05:59:20.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T05:59:20.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T05:59:20.442Z] Configure a credential helper to remove this warning. See [2021-04-28T05:59:20.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T05:59:20.442Z] [2021-04-28T05:59:20.442Z] Login Succeeded [2021-04-28T05:59:20.442Z] docker.io [2021-04-28T05:59:20.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T05:59:20.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T05:59:20.704Z] Configure a credential helper to remove this warning. See [2021-04-28T05:59:20.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T05:59:20.704Z] [2021-04-28T05:59:20.704Z] Login Succeeded [2021-04-28T05:59:20.704Z] ---> docker-login.sh ends [Pipeline] } [2021-04-28T05:59:20.737Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-28T05:59:21.076Z] ========================================================= [2021-04-28T05:59:21.076Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-28T05:59:21.076Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-28T05:59:21.433Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-28T05:59:21.433Z] Sending build context to Docker daemon 2.467MB [2021-04-28T05:59:21.433Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-28T05:59:21.433Z] Step 2/8 : FROM ${BASE} [2021-04-28T05:59:21.698Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-28T05:59:21.698Z] 188c0c94c7c5: Pulling fs layer [2021-04-28T05:59:21.698Z] 0ef7d3d256c8: Pulling fs layer [2021-04-28T05:59:21.698Z] de9db76c5a1d: Pulling fs layer [2021-04-28T05:59:21.698Z] bca2f99d35d6: Pulling fs layer [2021-04-28T05:59:21.698Z] 93359f2a8cfa: Pulling fs layer [2021-04-28T05:59:21.698Z] 7c6f9722023f: Pulling fs layer [2021-04-28T05:59:21.698Z] a35cf1a2eb13: Pulling fs layer [2021-04-28T05:59:21.698Z] 93359f2a8cfa: Waiting [2021-04-28T05:59:21.698Z] 7c6f9722023f: Waiting [2021-04-28T05:59:21.698Z] bca2f99d35d6: Waiting [2021-04-28T05:59:21.698Z] de9db76c5a1d: Verifying Checksum [2021-04-28T05:59:21.698Z] de9db76c5a1d: Download complete [2021-04-28T05:59:21.698Z] 0ef7d3d256c8: Download complete [2021-04-28T05:59:21.698Z] 93359f2a8cfa: Verifying Checksum [2021-04-28T05:59:21.698Z] 93359f2a8cfa: Download complete [2021-04-28T05:59:21.698Z] 7c6f9722023f: Download complete [2021-04-28T05:59:21.698Z] 188c0c94c7c5: Verifying Checksum [2021-04-28T05:59:21.698Z] 188c0c94c7c5: Download complete [2021-04-28T05:59:21.963Z] 188c0c94c7c5: Pull complete [2021-04-28T05:59:22.224Z] 0ef7d3d256c8: Pull complete [2021-04-28T05:59:22.224Z] de9db76c5a1d: Pull complete [2021-04-28T05:59:24.143Z] a35cf1a2eb13: Verifying Checksum [2021-04-28T05:59:24.143Z] a35cf1a2eb13: Download complete [2021-04-28T05:59:24.404Z] bca2f99d35d6: Verifying Checksum [2021-04-28T05:59:24.404Z] bca2f99d35d6: Download complete [2021-04-28T05:59:25.226Z] 00ac8860ef70: Pull complete [2021-04-28T05:59:25.501Z] 63d7cb157983: Pull complete [2021-04-28T05:59:26.093Z] b116817d02f9: Pull complete [2021-04-28T05:59:29.474Z] 745a02a5169b: Pull complete [2021-04-28T05:59:29.474Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-28T05:59:29.474Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-28T05:59:29.474Z] ---> b7e6874047d6 [2021-04-28T05:59:29.474Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-28T05:59:29.739Z] bca2f99d35d6: Pull complete [2021-04-28T05:59:30.003Z] 93359f2a8cfa: Pull complete [2021-04-28T05:59:30.003Z] 7c6f9722023f: Pull complete [2021-04-28T05:59:32.872Z] ---> Running in 1f60bc4cbee0 [2021-04-28T05:59:32.872Z] Removing intermediate container 1f60bc4cbee0 [2021-04-28T05:59:32.872Z] ---> b99e8f9afd4a [2021-04-28T05:59:32.872Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-28T05:59:33.146Z] ---> Running in 5058b8e16162 [2021-04-28T05:59:35.841Z] Removing intermediate container 5058b8e16162 [2021-04-28T05:59:35.841Z] ---> 6b353a622572 [2021-04-28T05:59:35.841Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-28T05:59:35.841Z] ---> Running in 33effdeda812 [2021-04-28T05:59:36.635Z] a35cf1a2eb13: Pull complete [2021-04-28T05:59:36.636Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-28T05:59:36.636Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-28T05:59:36.636Z] ---> a62c8e92a672 [2021-04-28T05:59:36.636Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-28T05:59:36.636Z] ---> Running in 8b36b47a2452 [2021-04-28T05:59:36.819Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-28T05:59:36.900Z] Removing intermediate container 8b36b47a2452 [2021-04-28T05:59:36.900Z] ---> b77cb2a57484 [2021-04-28T05:59:36.900Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-28T05:59:36.900Z] ---> Running in af050f35cf6e [2021-04-28T05:59:37.795Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-28T05:59:37.851Z] Removing intermediate container af050f35cf6e [2021-04-28T05:59:37.851Z] ---> 676eb4eb55cc [2021-04-28T05:59:37.851Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-28T05:59:38.113Z] ---> Running in 636d7b1df0f0 [2021-04-28T05:59:38.391Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-28T05:59:38.391Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-28T05:59:38.666Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-28T05:59:38.939Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-28T05:59:38.939Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-28T05:59:39.065Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-28T05:59:39.220Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-28T05:59:39.220Z] Executing busybox-1.31.1-r19.trigger [2021-04-28T05:59:39.220Z] OK: 144 MiB in 45 packages [2021-04-28T05:59:40.013Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-28T05:59:40.660Z] Removing intermediate container 33effdeda812 [2021-04-28T05:59:40.660Z] ---> ee7d649b649d [2021-04-28T05:59:40.660Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-28T05:59:40.660Z] ---> Running in 6bd57ace5bc2 [2021-04-28T05:59:41.256Z] Removing intermediate container 6bd57ace5bc2 [2021-04-28T05:59:41.256Z] ---> 693b8884b7c7 [2021-04-28T05:59:41.256Z] Step 7/8 : COPY . . [2021-04-28T05:59:41.402Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-28T05:59:41.402Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-28T05:59:41.402Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-28T05:59:41.665Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-28T05:59:41.665Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-28T05:59:41.928Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-28T05:59:41.928Z] Executing busybox-1.31.1-r19.trigger [2021-04-28T05:59:41.928Z] OK: 167 MiB in 45 packages [2021-04-28T05:59:42.504Z] Removing intermediate container 636d7b1df0f0 [2021-04-28T05:59:42.504Z] ---> 360fb4be5a9d [2021-04-28T05:59:42.504Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-28T05:59:42.698Z] ---> bcf54c8c055f [2021-04-28T05:59:42.698Z] Step 8/8 : RUN go mod download [2021-04-28T05:59:42.698Z] ---> Running in cec4d1b10f23 [2021-04-28T05:59:42.766Z] ---> Running in dd23081a4ac6 [2021-04-28T05:59:42.766Z] Removing intermediate container dd23081a4ac6 [2021-04-28T05:59:42.766Z] ---> 711bdac1870f [2021-04-28T05:59:42.766Z] Step 7/8 : COPY . . [2021-04-28T05:59:44.161Z] ---> 5416d62df661 [2021-04-28T05:59:44.161Z] Step 8/8 : RUN go mod download [2021-04-28T05:59:44.161Z] ---> Running in 0445d9e8f223 [2021-04-28T06:00:06.189Z] Removing intermediate container 0445d9e8f223 [2021-04-28T06:00:06.189Z] ---> 0dfdfa445683 [2021-04-28T06:00:06.189Z] Successfully built 0dfdfa445683 [2021-04-28T06:00:06.189Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-28T06:00:06.586Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-28T06:00:06.586Z] . [Pipeline] withDockerContainer [2021-04-28T06:00:06.736Z] prd-centos7-docker-4c-2g-2152 does not seem to be running inside a container [2021-04-28T06:00:06.789Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2021-04-28T06:00:07.596Z] $ docker top 8c388955adf8a7f2f0d2a3e4f771da20f46ec142a2f8225ceb9f8be30916c0f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-28T06:00:08.082Z] + go version [2021-04-28T06:00:08.082Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-28T06:00:08.117Z] $ docker stop --time=1 8c388955adf8a7f2f0d2a3e4f771da20f46ec142a2f8225ceb9f8be30916c0f9 [2021-04-28T06:00:09.489Z] $ docker rm -f 8c388955adf8a7f2f0d2a3e4f771da20f46ec142a2f8225ceb9f8be30916c0f9 [2021-04-28T06:00:09.495Z] Removing intermediate container cec4d1b10f23 [2021-04-28T06:00:09.495Z] ---> caa8e4c58e0b [2021-04-28T06:00:09.495Z] Successfully built caa8e4c58e0b [2021-04-28T06:00:09.495Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-28T06:00:10.165Z] + docker inspect -f . ci-base-image-arm64 [2021-04-28T06:00:10.165Z] . [Pipeline] withDockerContainer [2021-04-28T06:00:10.346Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-28T06:00:10.346Z] . [2021-04-28T06:00:10.427Z] prd-ubuntu18.04-docker-arm64-4c-16g-2151 does not seem to be running inside a container [2021-04-28T06:00:10.518Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-04-28T06:00:12.057Z] $ docker top cb644c58331469009aa5c7814ba01322630bc3628fa40393bc19c6bd683c0430 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-04-28T06:00:12.569Z] prd-centos7-docker-4c-2g-2152 does not seem to be running inside a container [2021-04-28T06:00:12.643Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2021-04-28T06:00:13.221Z] $ docker top 756be321944db41f745effc530c8f7ca7187a40998c471fe5ae41161d4cb4320 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-04-28T06:00:13.764Z] + make test [2021-04-28T06:00:13.764Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-28T06:00:14.026Z] + go version [2021-04-28T06:00:14.026Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-28T06:00:14.067Z] $ docker stop --time=1 cb644c58331469009aa5c7814ba01322630bc3628fa40393bc19c6bd683c0430 [2021-04-28T06:00:15.999Z] $ docker rm -f cb644c58331469009aa5c7814ba01322630bc3628fa40393bc19c6bd683c0430 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-28T06:00:16.998Z] + docker inspect -f . ci-base-image-arm64 [2021-04-28T06:00:16.998Z] . [Pipeline] withDockerContainer [2021-04-28T06:00:17.260Z] prd-ubuntu18.04-docker-arm64-4c-16g-2151 does not seem to be running inside a container [2021-04-28T06:00:17.344Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-04-28T06:00:18.761Z] $ docker top 160dbda363277bd0c40d0ce42c2f6ba32c7d824eb949f53e34b2130d536ef785 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-28T06:00:19.730Z] + make test [2021-04-28T06:00:19.730Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-28T06:00:22.027Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-28T06:00:40.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-28T06:00:40.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-28T06:00:40.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-28T06:00:40.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-28T06:00:40.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-28T06:00:41.931Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-28T06:00:43.665Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.077s coverage: 28.1% of statements [2021-04-28T06:00:43.665Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.075s coverage: 78.9% of statements [2021-04-28T06:00:45.095Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.068s coverage: 7.8% of statements [2021-04-28T06:00:45.095Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-28T06:00:45.095Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-28T06:00:45.095Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-28T06:00:45.095Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.085s coverage: 30.2% of statements [2021-04-28T06:00:45.095Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-28T06:00:45.095Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-28T06:00:45.095Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-28T06:00:45.095Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.104s coverage: 57.2% of statements [2021-04-28T06:00:45.683Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.208s coverage: 6.6% of statements [2021-04-28T06:00:45.683Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-04-28T06:00:45.683Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-28T06:00:45.950Z] GO111MODULE=on go vet ./... [2021-04-28T06:01:04.206Z] gofmt -l . [2021-04-28T06:01:04.206Z] [ "`gofmt -l .`" = "" ] [2021-04-28T06:01:04.206Z] ./bin/test-attribution-txt.sh [2021-04-28T06:01:04.206Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-28T06:01:04.244Z] $ docker stop --time=1 756be321944db41f745effc530c8f7ca7187a40998c471fe5ae41161d4cb4320 [2021-04-28T06:01:05.885Z] $ docker rm -f 756be321944db41f745effc530c8f7ca7187a40998c471fe5ae41161d4cb4320 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-28T06:01:06.577Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-28T06:01:07.009Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-28T06:01:09.963Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-28T06:01:10.293Z] + ls -al . [2021-04-28T06:01:10.293Z] total 188 [2021-04-28T06:01:10.293Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 28 06:01 . [2021-04-28T06:01:10.293Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 28 05:59 .. [2021-04-28T06:01:10.293Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 28 05:59 bin [2021-04-28T06:01:10.293Z] -rw-r--r--. 1 jenkins jenkins 100320 Apr 28 06:00 coverage.out [2021-04-28T06:01:10.294Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 28 05:59 Dockerfile.build [2021-04-28T06:01:10.294Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 28 05:59 .dockerignore [2021-04-28T06:01:10.294Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 28 05:59 example [2021-04-28T06:01:10.294Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 28 05:59 .git [2021-04-28T06:01:10.294Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 28 05:59 .github [2021-04-28T06:01:10.294Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 28 05:59 .gitignore [2021-04-28T06:01:10.294Z] -rw-r--r--. 1 jenkins jenkins 575 Apr 28 06:01 go.mod [2021-04-28T06:01:10.294Z] -rw-r--r--. 1 jenkins jenkins 20675 Apr 28 06:01 go.sum [2021-04-28T06:01:10.294Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 28 05:59 internal [2021-04-28T06:01:10.294Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 28 05:59 Jenkinsfile [2021-04-28T06:01:10.294Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 28 05:59 LICENSE [2021-04-28T06:01:10.294Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 28 05:59 Makefile [2021-04-28T06:01:10.294Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 28 05:59 openapi [2021-04-28T06:01:10.294Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 28 05:59 pkg [2021-04-28T06:01:10.294Z] -rw-rw-r--. 1 jenkins jenkins 7652 Apr 28 05:59 README.md [2021-04-28T06:01:10.294Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 28 05:59 RELEASE-NOTES.txt [2021-04-28T06:01:10.294Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 28 05:59 snap [2021-04-28T06:01:10.294Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 28 05:56 VERSION [2021-04-28T06:01:10.294Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 28 05:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-28T06:01:10.662Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=e41940fa2229b6335f5468ef734d4759d296f2ef --label arch=amd64 --label version=0.0.0 . [2021-04-28T06:01:10.925Z] Sending build context to Docker daemon 2.568MB [2021-04-28T06:01:10.925Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-28T06:01:10.925Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-28T06:01:10.925Z] ---> 0dfdfa445683 [2021-04-28T06:01:10.925Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-28T06:01:11.504Z] ---> Running in 8a4c3986b789 [2021-04-28T06:01:11.771Z] Removing intermediate container 8a4c3986b789 [2021-04-28T06:01:11.771Z] ---> a12f4597210a [2021-04-28T06:01:11.771Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-28T06:01:11.771Z] ---> Running in 3ca1434a15d1 [2021-04-28T06:01:12.043Z] Removing intermediate container 3ca1434a15d1 [2021-04-28T06:01:12.043Z] ---> b7d1bb4c1a0f [2021-04-28T06:01:12.043Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-28T06:01:12.043Z] ---> Running in 05f7e1e1ed37 [2021-04-28T06:01:13.004Z] Removing intermediate container 05f7e1e1ed37 [2021-04-28T06:01:13.004Z] ---> 45ffdd38d211 [2021-04-28T06:01:13.004Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-28T06:01:13.004Z] ---> Running in 562637bc2d1f [2021-04-28T06:01:13.272Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-28T06:01:17.494Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-28T06:01:20.049Z] OK: 167 MiB in 45 packages [2021-04-28T06:01:20.625Z] Removing intermediate container 562637bc2d1f [2021-04-28T06:01:20.625Z] ---> 420b6bdbaa4b [2021-04-28T06:01:20.625Z] Step 7/23 : COPY . . [2021-04-28T06:01:21.582Z] ---> 29f9c4b78a02 [2021-04-28T06:01:21.582Z] Step 8/23 : RUN go mod download [2021-04-28T06:01:21.582Z] ---> Running in 46821bb1cc83 [2021-04-28T06:01:22.532Z] Removing intermediate container 46821bb1cc83 [2021-04-28T06:01:22.532Z] ---> c30908db028b [2021-04-28T06:01:22.532Z] Step 9/23 : RUN make build [2021-04-28T06:01:22.532Z] ---> Running in ce0b8d211f72 [2021-04-28T06:01:23.110Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-04-28T06:01:33.268Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-28T06:01:35.196Z] Removing intermediate container ce0b8d211f72 [2021-04-28T06:01:35.196Z] ---> 385f0448c7fe [2021-04-28T06:01:35.196Z] Step 10/23 : FROM alpine:3.12 [2021-04-28T06:01:35.771Z] 3.12: Pulling from library/alpine [2021-04-28T06:01:35.771Z] 339de151aab4: Pulling fs layer [2021-04-28T06:01:35.771Z] 339de151aab4: Download complete [2021-04-28T06:01:36.034Z] 339de151aab4: Pull complete [2021-04-28T06:01:36.034Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-28T06:01:36.034Z] Status: Downloaded newer image for alpine:3.12 [2021-04-28T06:01:36.034Z] ---> 13621d1b12d4 [2021-04-28T06:01:36.034Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-28T06:01:36.296Z] ---> Running in de9d3f934c92 [2021-04-28T06:01:36.296Z] Removing intermediate container de9d3f934c92 [2021-04-28T06:01:36.296Z] ---> 78ca5cfb9eaf [2021-04-28T06:01:36.296Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-28T06:01:36.558Z] ---> Running in d4c35ccb3d55 [2021-04-28T06:01:37.134Z] Removing intermediate container d4c35ccb3d55 [2021-04-28T06:01:37.134Z] ---> 5f25156bb514 [2021-04-28T06:01:37.134Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-28T06:01:37.396Z] ---> Running in d68b8f39181d [2021-04-28T06:01:37.659Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-28T06:01:38.237Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-28T06:01:38.556Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-28T06:01:38.556Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-28T06:01:38.556Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-28T06:01:38.556Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-28T06:01:38.556Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-28T06:01:38.812Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-28T06:01:38.812Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-28T06:01:38.812Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-28T06:01:39.757Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-28T06:01:39.757Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-28T06:01:40.020Z] Executing busybox-1.31.1-r20.trigger [2021-04-28T06:01:40.020Z] OK: 8 MiB in 19 packages [2021-04-28T06:01:40.291Z] Removing intermediate container d68b8f39181d [2021-04-28T06:01:40.291Z] ---> 2c4ac71a666f [2021-04-28T06:01:40.291Z] Step 14/23 : WORKDIR / [2021-04-28T06:01:40.554Z] ---> Running in 0eb376d21244 [2021-04-28T06:01:40.554Z] Removing intermediate container 0eb376d21244 [2021-04-28T06:01:40.554Z] ---> 0124656bdb86 [2021-04-28T06:01:40.554Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-28T06:01:40.818Z] ---> b69ad3f63e4b [2021-04-28T06:01:40.818Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-28T06:01:41.394Z] ---> 4c78713f0bbe [2021-04-28T06:01:41.394Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-28T06:01:41.657Z] ---> 94b9bd21cc4b [2021-04-28T06:01:41.657Z] Step 18/23 : EXPOSE 49990 [2021-04-28T06:01:41.657Z] ---> Running in 6cb53585a71d [2021-04-28T06:01:41.919Z] Removing intermediate container 6cb53585a71d [2021-04-28T06:01:41.919Z] ---> 68830f59b534 [2021-04-28T06:01:41.920Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-28T06:01:41.920Z] ---> Running in 269273e4ccc2 [2021-04-28T06:01:42.182Z] Removing intermediate container 269273e4ccc2 [2021-04-28T06:01:42.182Z] ---> efe004fa2915 [2021-04-28T06:01:42.182Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-28T06:01:42.182Z] ---> Running in 07f151d741d8 [2021-04-28T06:01:42.444Z] Removing intermediate container 07f151d741d8 [2021-04-28T06:01:42.444Z] ---> eda7f8cc61c4 [2021-04-28T06:01:42.444Z] Step 21/23 : LABEL arch=amd64 [2021-04-28T06:01:42.444Z] ---> Running in d7b6508b59ba [2021-04-28T06:01:42.444Z] Removing intermediate container d7b6508b59ba [2021-04-28T06:01:42.444Z] ---> e99f470ecdbd [2021-04-28T06:01:42.444Z] Step 22/23 : LABEL git_sha=e41940fa2229b6335f5468ef734d4759d296f2ef [2021-04-28T06:01:42.707Z] ---> Running in 167ed4a03b72 [2021-04-28T06:01:42.707Z] Removing intermediate container 167ed4a03b72 [2021-04-28T06:01:42.707Z] ---> 045a1829b65f [2021-04-28T06:01:42.707Z] Step 23/23 : LABEL version=0.0.0 [2021-04-28T06:01:42.970Z] ---> Running in e7a90209f75c [2021-04-28T06:01:42.970Z] Removing intermediate container e7a90209f75c [2021-04-28T06:01:42.970Z] ---> 6b0799cb0840 [2021-04-28T06:01:42.970Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-28T06:01:42.970Z] Successfully built 6b0799cb0840 [2021-04-28T06:01:42.970Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-28T06:01:43.934Z] ---> job-cost.sh [2021-04-28T06:01:43.934Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-iQd9 [2021-04-28T06:01:45.302Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.191s coverage: 28.1% of statements [2021-04-28T06:01:45.904Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.194s coverage: 78.9% of statements [2021-04-28T06:01:45.904Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.142s coverage: 7.8% of statements [2021-04-28T06:01:45.904Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-28T06:01:45.904Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-28T06:01:45.904Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-28T06:01:47.891Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.248s coverage: 30.2% of statements [2021-04-28T06:01:47.891Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-28T06:01:47.891Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-28T06:01:47.891Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-28T06:01:51.286Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.325s coverage: 57.2% of statements [2021-04-28T06:01:51.286Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.192s coverage: 6.6% of statements [2021-04-28T06:01:52.264Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.156s coverage: 5.0% of statements [2021-04-28T06:01:52.264Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-28T06:01:52.884Z] GO111MODULE=on go vet ./... [2021-04-28T06:01:58.886Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-28T06:02:25.633Z] lf-activate-venv(): INFO: Adding /tmp/venv-iQd9/bin to PATH [2021-04-28T06:02:25.633Z] INFO: No Stack... [2021-04-28T06:02:25.895Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-28T06:02:26.841Z] INFO: Archiving Costs [Pipeline] sh [2021-04-28T06:02:27.173Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-28T06:02:27.173Z] + cut -d, -f6 [Pipeline] lock [2021-04-28T06:02:27.276Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-901-1-stack-cost] [2021-04-28T06:02:27.283Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-901-1-stack-cost] did not exist. Created. [2021-04-28T06:02:27.284Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-901-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-28T06:02:27.712Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-28T06:02:27.858Z] Stashed 1 file(s) [Pipeline] } [2021-04-28T06:02:27.880Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-901-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-28T06:02:39.919Z] gofmt -l . [2021-04-28T06:02:39.919Z] [ "`gofmt -l .`" = "" ] [2021-04-28T06:02:39.919Z] ./bin/test-attribution-txt.sh [2021-04-28T06:02:41.352Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-28T06:02:41.990Z] $ docker stop --time=1 160dbda363277bd0c40d0ce42c2f6ba32c7d824eb949f53e34b2130d536ef785 [2021-04-28T06:02:44.446Z] $ docker rm -f 160dbda363277bd0c40d0ce42c2f6ba32c7d824eb949f53e34b2130d536ef785 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-28T06:02:45.607Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-28T06:02:45.665Z] Warning: overwriting stash ‘coverage-report’ [2021-04-28T06:02:46.270Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-28T06:02:46.937Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-28T06:02:47.334Z] + ls -al . [2021-04-28T06:02:47.334Z] total 224 [2021-04-28T06:02:47.334Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 06:02 . [2021-04-28T06:02:47.334Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 05:58 .. [2021-04-28T06:02:47.334Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 28 05:58 .dockerignore [2021-04-28T06:02:47.334Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 05:58 .git [2021-04-28T06:02:47.334Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 05:58 .github [2021-04-28T06:02:47.334Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 28 05:58 .gitignore [2021-04-28T06:02:47.334Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 28 05:58 Dockerfile.build [2021-04-28T06:02:47.334Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 28 05:58 Jenkinsfile [2021-04-28T06:02:47.334Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 28 05:58 LICENSE [2021-04-28T06:02:47.334Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 28 05:58 Makefile [2021-04-28T06:02:47.334Z] -rw-rw-r-- 1 jenkins jenkins 7652 Apr 28 05:58 README.md [2021-04-28T06:02:47.334Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 28 05:58 RELEASE-NOTES.txt [2021-04-28T06:02:47.334Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 05:56 VERSION [2021-04-28T06:02:47.334Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 05:58 bin [2021-04-28T06:02:47.334Z] -rw-r--r-- 1 jenkins jenkins 100320 Apr 28 06:01 coverage.out [2021-04-28T06:02:47.334Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 05:58 example [2021-04-28T06:02:47.334Z] -rw-r--r-- 1 jenkins jenkins 575 Apr 28 06:02 go.mod [2021-04-28T06:02:47.334Z] -rw-r--r-- 1 jenkins jenkins 20675 Apr 28 06:02 go.sum [2021-04-28T06:02:47.334Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 28 05:58 internal [2021-04-28T06:02:47.334Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 05:58 openapi [2021-04-28T06:02:47.334Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 05:58 pkg [2021-04-28T06:02:47.334Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 05:58 snap [2021-04-28T06:02:47.334Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 28 05:58 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-28T06:02:47.773Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e41940fa2229b6335f5468ef734d4759d296f2ef --label arch=arm64 --label version=0.0.0 . [2021-04-28T06:02:48.522Z] Sending build context to Docker daemon 2.567MB [2021-04-28T06:02:48.522Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-28T06:02:48.522Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-28T06:02:48.522Z] ---> caa8e4c58e0b [2021-04-28T06:02:48.522Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-28T06:02:48.804Z] ---> Running in 2b207bc16986 [2021-04-28T06:02:49.409Z] Removing intermediate container 2b207bc16986 [2021-04-28T06:02:49.409Z] ---> 6c7ca9cb4be8 [2021-04-28T06:02:49.409Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-28T06:02:49.409Z] ---> Running in 7da6be69e50f [2021-04-28T06:02:50.015Z] Removing intermediate container 7da6be69e50f [2021-04-28T06:02:50.015Z] ---> 157d1fc9fcc7 [2021-04-28T06:02:50.015Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-28T06:02:50.015Z] ---> Running in ee96458ea73f [2021-04-28T06:02:52.640Z] Removing intermediate container ee96458ea73f [2021-04-28T06:02:52.640Z] ---> 26473710b214 [2021-04-28T06:02:52.640Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-28T06:02:52.640Z] ---> Running in 676f80c45cb1 [2021-04-28T06:02:53.616Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-28T06:02:54.592Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-28T06:02:55.580Z] OK: 144 MiB in 45 packages [2021-04-28T06:02:57.028Z] Removing intermediate container 676f80c45cb1 [2021-04-28T06:02:57.028Z] ---> ee6301ea6288 [2021-04-28T06:02:57.028Z] Step 7/23 : COPY . . [2021-04-28T06:02:58.006Z] ---> 996d008915b6 [2021-04-28T06:02:58.006Z] Step 8/23 : RUN go mod download [2021-04-28T06:02:58.277Z] ---> Running in e7ab3b14d846 [2021-04-28T06:03:00.912Z] Removing intermediate container e7ab3b14d846 [2021-04-28T06:03:00.912Z] ---> 420fa7b75305 [2021-04-28T06:03:00.912Z] Step 9/23 : RUN make build [2021-04-28T06:03:00.912Z] ---> Running in e0d6e127016a [2021-04-28T06:03:01.902Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-04-28T06:03:40.954Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-28T06:03:41.228Z] Removing intermediate container e0d6e127016a [2021-04-28T06:03:41.228Z] ---> 4c257268d16f [2021-04-28T06:03:41.228Z] Step 10/23 : FROM alpine:3.12 [2021-04-28T06:03:41.501Z] 3.12: Pulling from library/alpine [2021-04-28T06:03:41.773Z] d2f70382dc9a: Pulling fs layer [2021-04-28T06:03:41.773Z] d2f70382dc9a: Verifying Checksum [2021-04-28T06:03:41.773Z] d2f70382dc9a: Download complete [2021-04-28T06:03:42.751Z] d2f70382dc9a: Pull complete [2021-04-28T06:03:42.751Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-28T06:03:42.751Z] Status: Downloaded newer image for alpine:3.12 [2021-04-28T06:03:42.751Z] ---> 9852663dfa18 [2021-04-28T06:03:42.751Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-28T06:03:42.751Z] ---> Running in 33c4826f6a0a [2021-04-28T06:03:43.349Z] Removing intermediate container 33c4826f6a0a [2021-04-28T06:03:43.349Z] ---> de6f43ead40c [2021-04-28T06:03:43.349Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-28T06:03:43.349Z] ---> Running in 39d65e2429d1 [2021-04-28T06:03:45.981Z] Removing intermediate container 39d65e2429d1 [2021-04-28T06:03:45.981Z] ---> 7c2209204799 [2021-04-28T06:03:45.981Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-28T06:03:45.981Z] ---> Running in 10c9ec12e0a5 [2021-04-28T06:03:46.959Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-28T06:03:47.937Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-28T06:03:48.533Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-28T06:03:48.533Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-28T06:03:48.812Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-28T06:03:49.087Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-28T06:03:49.087Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-28T06:03:49.361Z] Executing busybox-1.31.1-r20.trigger [2021-04-28T06:03:49.361Z] OK: 8 MiB in 19 packages [2021-04-28T06:03:50.800Z] Removing intermediate container 10c9ec12e0a5 [2021-04-28T06:03:50.800Z] ---> b0c643d527fc [2021-04-28T06:03:50.800Z] Step 14/23 : WORKDIR / [2021-04-28T06:03:50.800Z] ---> Running in 7e047ad836ae [2021-04-28T06:03:51.398Z] Removing intermediate container 7e047ad836ae [2021-04-28T06:03:51.398Z] ---> 344036fb977d [2021-04-28T06:03:51.398Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-28T06:03:52.001Z] ---> d32387384436 [2021-04-28T06:03:52.001Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-28T06:03:53.443Z] ---> 3d42f1b28c02 [2021-04-28T06:03:53.443Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-28T06:03:54.037Z] ---> 1bf4f1ed4671 [2021-04-28T06:03:54.037Z] Step 18/23 : EXPOSE 49990 [2021-04-28T06:03:54.311Z] ---> Running in 1583255ee5fa [2021-04-28T06:03:54.588Z] Removing intermediate container 1583255ee5fa [2021-04-28T06:03:54.588Z] ---> 7841a09b983c [2021-04-28T06:03:54.588Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-28T06:03:54.863Z] ---> Running in 95587006d5a6 [2021-04-28T06:03:55.459Z] Removing intermediate container 95587006d5a6 [2021-04-28T06:03:55.459Z] ---> 76efa60c50fa [2021-04-28T06:03:55.459Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-28T06:03:55.459Z] ---> Running in 9691f29a3c76 [2021-04-28T06:03:56.059Z] Removing intermediate container 9691f29a3c76 [2021-04-28T06:03:56.059Z] ---> cf23809cc91a [2021-04-28T06:03:56.059Z] Step 21/23 : LABEL arch=arm64 [2021-04-28T06:03:56.059Z] ---> Running in 1ff49f37993d [2021-04-28T06:03:56.655Z] Removing intermediate container 1ff49f37993d [2021-04-28T06:03:56.655Z] ---> 088bde855ee7 [2021-04-28T06:03:56.655Z] Step 22/23 : LABEL git_sha=e41940fa2229b6335f5468ef734d4759d296f2ef [2021-04-28T06:03:56.655Z] ---> Running in dc0bd5cb3559 [2021-04-28T06:03:57.249Z] Removing intermediate container dc0bd5cb3559 [2021-04-28T06:03:57.249Z] ---> bb7d4768e932 [2021-04-28T06:03:57.249Z] Step 23/23 : LABEL version=0.0.0 [2021-04-28T06:03:57.249Z] ---> Running in 5be51db42b8c [2021-04-28T06:03:57.844Z] Removing intermediate container 5be51db42b8c [2021-04-28T06:03:57.844Z] ---> 067f4b578bb3 [2021-04-28T06:03:57.844Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-28T06:03:57.844Z] Successfully built 067f4b578bb3 [2021-04-28T06:03:57.844Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-28T06:03:58.542Z] ---> job-cost.sh [2021-04-28T06:03:58.543Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-OV0l [2021-04-28T06:04:45.490Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-28T06:06:37.329Z] lf-activate-venv(): INFO: Adding /tmp/venv-OV0l/bin to PATH [2021-04-28T06:06:37.329Z] INFO: No Stack... [2021-04-28T06:06:37.329Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-28T06:06:37.329Z] INFO: Archiving Costs [Pipeline] sh [2021-04-28T06:06:37.692Z] + cut -d, -f6 [2021-04-28T06:06:37.692Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-04-28T06:06:37.830Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-901-1-stack-cost] [2021-04-28T06:06:37.843Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-901-1-stack-cost] did not exist. Created. [2021-04-28T06:06:37.843Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-901-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-28T06:06:38.287Z] /w/workspace/device-sdk-go/1@tmp/durable-e5b4e34e/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-e5b4e34e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-28T06:06:38.691Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-28T06:06:38.736Z] Warning: overwriting stash ‘stack-cost’ [2021-04-28T06:06:38.948Z] Stashed 1 file(s) [Pipeline] } [2021-04-28T06:06:38.987Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-901-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-04-28T06:06:40.066Z] provisioning config files... [2021-04-28T06:06:40.078Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-901@tmp/config3059129811166766714tmp [Pipeline] { [Pipeline] sh [2021-04-28T06:06:40.464Z] + set +x [2021-04-28T06:06:40.464Z] + curl -s https://codecov.io/bash [2021-04-28T06:06:40.464Z] + bash -s -- [2021-04-28T06:06:40.728Z] [2021-04-28T06:06:40.728Z] _____ _ [2021-04-28T06:06:40.728Z] / ____| | | [2021-04-28T06:06:40.728Z] | | ___ __| | ___ ___ _____ __ [2021-04-28T06:06:40.728Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-28T06:06:40.728Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-28T06:06:40.728Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-28T06:06:40.728Z] Bash-1.0.2 [2021-04-28T06:06:40.728Z] [2021-04-28T06:06:40.728Z] [2021-04-28T06:06:40.728Z] ==> git version 2.24.3 found [2021-04-28T06:06:40.728Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-04-28T06:06:40.729Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-28T06:06:40.729Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-28T06:06:40.729Z] ==> Jenkins CI detected. [2021-04-28T06:06:40.729Z] project root: . [2021-04-28T06:06:40.729Z] --> token set from env [2021-04-28T06:06:40.729Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-28T06:06:40.729Z] ==> Running gcov in . (disable via -X gcov) [2021-04-28T06:06:40.729Z] ==> Python coveragepy not found [2021-04-28T06:06:40.729Z] ==> Searching for coverage reports in: [2021-04-28T06:06:40.729Z] + . [2021-04-28T06:06:40.729Z] -> Found 1 reports [2021-04-28T06:06:40.729Z] ==> Detecting git/mercurial file structure [2021-04-28T06:06:40.729Z] ==> Reading reports [2021-04-28T06:06:40.729Z] + ./coverage.out bytes=100320 [2021-04-28T06:06:40.729Z] ==> Appending adjustments [2021-04-28T06:06:40.729Z] https://docs.codecov.io/docs/fixing-reports [2021-04-28T06:06:41.306Z] + Found adjustments [2021-04-28T06:06:41.306Z] ==> Gzipping contents [2021-04-28T06:06:41.306Z] 16K /tmp/codecov.dNNMiL.gz [2021-04-28T06:06:41.306Z] ==> Uploading reports [2021-04-28T06:06:41.306Z] url: https://codecov.io [2021-04-28T06:06:41.306Z] query: branch=PR-901&commit=e41940fa2229b6335f5468ef734d4759d296f2ef&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-901%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=901&job=&cmd_args= [2021-04-28T06:06:41.306Z] -> Pinging Codecov [2021-04-28T06:06:41.306Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-901&commit=e41940fa2229b6335f5468ef734d4759d296f2ef&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-901%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=901&job=&cmd_args= [2021-04-28T06:06:41.886Z] -> Uploading to [2021-04-28T06:06:41.886Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-28/7E55EF52A471D76F132DFD9A03CDDE97/e41940fa2229b6335f5468ef734d4759d296f2ef/fde7fbc9-9048-48a3-90b2-720fc2a094ae.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210428T060641Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cbc39b3a05909d088e61a8f549f35c8d021c0c612ecf3bacd987503e45fff34f [2021-04-28T06:06:41.886Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-28T06:06:41.886Z] Dload Upload Total Spent Left Speed [2021-04-28T06:06:42.462Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13535 0 0 100 13535 0 33097 --:--:-- --:--:-- --:--:-- 33174 [2021-04-28T06:06:42.462Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e41940fa2229b6335f5468ef734d4759d296f2ef [Pipeline] } [2021-04-28T06:06:42.490Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-04-28T06:06:44.746Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T06:06:45.379Z] ---> package-listing.sh [2021-04-28T06:06:45.379Z] ++ facter osfamily [2021-04-28T06:06:45.379Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-28T06:06:45.379Z] + OS_FAMILY=redhat [2021-04-28T06:06:45.379Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-901 [2021-04-28T06:06:45.379Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-28T06:06:45.379Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-28T06:06:45.379Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-28T06:06:45.379Z] + PACKAGES=/tmp/packages_start.txt [2021-04-28T06:06:45.379Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-901 ']' [2021-04-28T06:06:45.379Z] + PACKAGES=/tmp/packages_end.txt [2021-04-28T06:06:45.379Z] + case "${OS_FAMILY}" in [2021-04-28T06:06:45.379Z] + rpm -qa [2021-04-28T06:06:45.379Z] + sort [2021-04-28T06:06:50.704Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-28T06:06:50.704Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-28T06:06:50.704Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-28T06:06:50.704Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-901 ']' [2021-04-28T06:06:50.704Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-901/archives/ [2021-04-28T06:06:50.704Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-901/archives/ [Pipeline] echo [2021-04-28T06:06:50.741Z] 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/dgexfoundry_device-sdk-go_PR-901/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-28T06:06:51.053Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-28T06:06:51.394Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-28T06:06:51.394Z] [2021-04-28T06:06:51.394Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-28T06:06:51.764Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-28T06:06:51.764Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-28T06:06:51.764Z] df20fa9351a1: Pulling fs layer [2021-04-28T06:06:51.764Z] 36b3adc4ff6f: Pulling fs layer [2021-04-28T06:06:51.764Z] 8ad3a11d3b57: Pulling fs layer [2021-04-28T06:06:51.764Z] 46f8f816bc3b: Pulling fs layer [2021-04-28T06:06:51.764Z] 93b61091891f: Pulling fs layer [2021-04-28T06:06:51.764Z] 93b9cdb0e59b: Pulling fs layer [2021-04-28T06:06:51.764Z] 5e14af77c1be: Pulling fs layer [2021-04-28T06:06:51.764Z] 01666e4c0597: Pulling fs layer [2021-04-28T06:06:51.764Z] aa168da1d23b: Pulling fs layer [2021-04-28T06:06:51.764Z] 46f8f816bc3b: Waiting [2021-04-28T06:06:51.764Z] 93b61091891f: Waiting [2021-04-28T06:06:51.764Z] 93b9cdb0e59b: Waiting [2021-04-28T06:06:51.764Z] 5e14af77c1be: Waiting [2021-04-28T06:06:51.764Z] 01666e4c0597: Waiting [2021-04-28T06:06:51.764Z] aa168da1d23b: Waiting [2021-04-28T06:06:51.764Z] 36b3adc4ff6f: Verifying Checksum [2021-04-28T06:06:51.764Z] 36b3adc4ff6f: Download complete [2021-04-28T06:06:51.764Z] 46f8f816bc3b: Verifying Checksum [2021-04-28T06:06:51.764Z] 46f8f816bc3b: Download complete [2021-04-28T06:06:51.764Z] df20fa9351a1: Download complete [2021-04-28T06:06:51.764Z] 93b9cdb0e59b: Verifying Checksum [2021-04-28T06:06:51.764Z] 93b9cdb0e59b: Download complete [2021-04-28T06:06:52.027Z] 5e14af77c1be: Verifying Checksum [2021-04-28T06:06:52.027Z] 5e14af77c1be: Download complete [2021-04-28T06:06:52.027Z] 93b61091891f: Verifying Checksum [2021-04-28T06:06:52.028Z] 93b61091891f: Download complete [2021-04-28T06:06:52.028Z] 01666e4c0597: Verifying Checksum [2021-04-28T06:06:52.028Z] 01666e4c0597: Download complete [2021-04-28T06:06:52.028Z] 8ad3a11d3b57: Verifying Checksum [2021-04-28T06:06:52.028Z] 8ad3a11d3b57: Download complete [2021-04-28T06:06:52.290Z] df20fa9351a1: Pull complete [2021-04-28T06:06:52.554Z] 36b3adc4ff6f: Pull complete [2021-04-28T06:06:53.961Z] 8ad3a11d3b57: Pull complete [2021-04-28T06:06:53.961Z] 46f8f816bc3b: Pull complete [2021-04-28T06:06:53.961Z] aa168da1d23b: Verifying Checksum [2021-04-28T06:06:53.961Z] aa168da1d23b: Download complete [2021-04-28T06:06:54.225Z] 93b61091891f: Pull complete [2021-04-28T06:06:54.487Z] 93b9cdb0e59b: Pull complete [2021-04-28T06:06:54.487Z] 5e14af77c1be: Pull complete [2021-04-28T06:06:54.487Z] 01666e4c0597: Pull complete [2021-04-28T06:07:02.678Z] aa168da1d23b: Pull complete [2021-04-28T06:07:02.678Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-28T06:07:02.678Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-28T06:07:02.678Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-28T06:07:02.907Z] prd-centos7-docker-4c-2g-2149 does not seem to be running inside a container [2021-04-28T06:07:02.961Z] $ 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/dgexfoundry_device-sdk-go_PR-901/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-901 -v /w/workspace/dgexfoundry_device-sdk-go_PR-901:/w/workspace/dgexfoundry_device-sdk-go_PR-901:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-901@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-901@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-28T06:07:06.429Z] $ docker top 898be50505459189f48b0b67eccbe8ef4a50650b142f27104d70e4d7a0ca1c87 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-28T06:07:06.956Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-28T06:07:07.279Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-28T06:07:07.611Z] + ls /var/log/sa-host [2021-04-28T06:07:07.611Z] + sadf -c /var/log/sa-host/sa23 [2021-04-28T06:07:07.611Z] file_magic: OK [2021-04-28T06:07:07.611Z] HZ: Using current value: 100 [2021-04-28T06:07:07.611Z] file_header: OK [2021-04-28T06:07:07.611Z] 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-04-28T06:07:07.611Z] Statistics: [2021-04-28T06:07:07.611Z] Hnuu...uuuununununu... [2021-04-28T06:07:07.611Z] File successfully converted to sysstat format version 12.2.1 [2021-04-28T06:07:07.611Z] + sadf -c /var/log/sa-host/sa28 [2021-04-28T06:07:07.611Z] file_magic: OK [2021-04-28T06:07:07.611Z] HZ: Using current value: 100 [2021-04-28T06:07:07.611Z] file_header: OK [2021-04-28T06:07:07.611Z] 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-04-28T06:07:07.611Z] Statistics: [2021-04-28T06:07:07.611Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-28T06:07:07.611Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-28T06:07:08.299Z] provisioning config files... [2021-04-28T06:07:08.317Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-901@tmp/config6540767772474280203tmp [Pipeline] { [Pipeline] echo [2021-04-28T06:07:08.377Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T06:07:08.716Z] ---> create-netrc.sh [Pipeline] } [2021-04-28T06:07:08.744Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-28T06:07:08.830Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T06:07:09.184Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-28T06:07:09.216Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T06:07:09.551Z] ---> sudo-logs.sh [2021-04-28T06:07:09.551Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-28T06:07:09.662Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T06:07:10.012Z] ---> job-cost.sh [2021-04-28T06:07:10.012Z] lf-activate-venv: SKIPPING [2021-04-28T06:07:10.012Z] DEBUG: total: 0.20999999344348907 [2021-04-28T06:07:10.012Z] INFO: Retrieving Stack Cost... [2021-04-28T06:07:10.963Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-28T06:07:11.539Z] INFO: Archiving Costs [Pipeline] echo [2021-04-28T06:07:11.576Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T06:07:11.921Z] ---> logs-deploy.sh [2021-04-28T06:07:11.921Z] lf-activate-venv: SKIPPING [2021-04-28T06:07:11.921Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-901/1 [2021-04-28T06:07:11.921Z] INFO: archiving workspace using pattern(s): [2021-04-28T06:07:13.855Z] Archives upload complete. [2021-04-28T06:07:13.855Z] INFO: archiving logs to Nexus