Pull request #861 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0d6337168db61fcb84a7ec387ee0722cf60d35ea+1894bc1e392d8688e2b497c25b4baea951eb17b4 (71b9a6144d0aab4fabdb156fc937e6c907909340) 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-861/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-861/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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-32897 in /w/workspace/dgexfoundry_device-sdk-go_PR-861 [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-861 # 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 1894bc1e392d8688e2b497c25b4baea951eb17b4 into PR head commit 0d6337168db61fcb84a7ec387ee0722cf60d35ea Merge succeeded, producing 0d6337168db61fcb84a7ec387ee0722cf60d35ea Checking out Revision 0d6337168db61fcb84a7ec387ee0722cf60d35ea (PR-861) > 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/861/head:refs/remotes/origin/PR-861 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d6337168db61fcb84a7ec387ee0722cf60d35ea # 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 1894bc1e392d8688e2b497c25b4baea951eb17b4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d6337168db61fcb84a7ec387ee0722cf60d35ea # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/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-06T05:57:12.768Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-06T05:57:13.206Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-06T05:57:13.427Z] ========================================================= [2021-04-06T05:57:13.428Z] EdgeX Global Pipelines Version Info [2021-04-06T05:57:13.428Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-06T05:57:16.906Z] ------------------- [2021-04-06T05:57:16.906Z] stable info: [2021-04-06T05:57:16.906Z] ------------------- [2021-04-06T05:57:16.906Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-06T05:57:16.906Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-06T05:57:16.906Z] Message: update stable to v1.0.186 [2021-04-06T05:57:17.934Z] ------------------- [2021-04-06T05:57:17.934Z] experimental info: [2021-04-06T05:57:17.934Z] ------------------- [2021-04-06T05:57:17.934Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-06T05:57:17.934Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-06T05:57:17.934Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-06T05:57:18.379Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-06T05:57:18.516Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-06T05:57:18.659Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-06T05:57:18.800Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-06T05:57:18.933Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-06T05:57:19.066Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-06T05:57:19.199Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-06T05:57:19.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-06T05:57:19.472Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-06T05:57:19.603Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-06T05:57:19.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-06T05:57:19.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-06T05:57:20.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-06T05:57:20.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-06T05:57:20.298Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-06T05:57:20.488Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T05:57:20.615Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T05:57:20.744Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T05:57:20.894Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-06T05:57:21.069Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-06T05:57:21.242Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-06T05:57:21.368Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-06T05:57:21.525Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-06T05:57:21.658Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-06T05:57:21.788Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-06T05:57:21.938Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-06T05:57:22.065Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-861 [Pipeline] echo [2021-04-06T05:57:22.209Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-861 [Pipeline] echo [2021-04-06T05:57:22.325Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-861 [Pipeline] echo [2021-04-06T05:57:22.450Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0d6337168db61fcb84a7ec387ee0722cf60d35ea [Pipeline] echo [2021-04-06T05:57:22.582Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0d63371 [Pipeline] echo [2021-04-06T05:57:22.714Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-06T05:57:22.986Z] provisioning config files... [2021-04-06T05:57:23.031Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-861@tmp/config1503870926021327959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-06T05:57:23.567Z] ---> docker-login.sh [2021-04-06T05:57:23.567Z] nexus3.edgexfoundry.org:10001 [2021-04-06T05:57:24.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T05:57:24.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T05:57:24.981Z] Configure a credential helper to remove this warning. See [2021-04-06T05:57:24.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T05:57:24.981Z] [2021-04-06T05:57:24.981Z] Login Succeeded [2021-04-06T05:57:24.981Z] nexus3.edgexfoundry.org:10002 [2021-04-06T05:57:25.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T05:57:25.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T05:57:25.710Z] Configure a credential helper to remove this warning. See [2021-04-06T05:57:25.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T05:57:25.710Z] [2021-04-06T05:57:25.710Z] Login Succeeded [2021-04-06T05:57:25.711Z] nexus3.edgexfoundry.org:10003 [2021-04-06T05:57:26.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T05:57:26.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T05:57:26.304Z] Configure a credential helper to remove this warning. See [2021-04-06T05:57:26.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T05:57:26.304Z] [2021-04-06T05:57:26.304Z] Login Succeeded [2021-04-06T05:57:26.304Z] nexus3.edgexfoundry.org:10004 [2021-04-06T05:57:27.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T05:57:27.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T05:57:27.023Z] Configure a credential helper to remove this warning. See [2021-04-06T05:57:27.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T05:57:27.023Z] [2021-04-06T05:57:27.023Z] Login Succeeded [2021-04-06T05:57:27.023Z] docker.io [2021-04-06T05:57:27.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T05:57:27.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T05:57:27.591Z] Configure a credential helper to remove this warning. See [2021-04-06T05:57:27.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T05:57:27.591Z] [2021-04-06T05:57:27.591Z] Login Succeeded [2021-04-06T05:57:27.591Z] ---> docker-login.sh ends [Pipeline] } [2021-04-06T05:57:27.625Z] 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-06T05:57:28.763Z] + git log --format=format:%s -1 0d6337168db61fcb84a7ec387ee0722cf60d35ea [Pipeline] echo [2021-04-06T05:57:29.014Z] GIT_COMMIT: 0d6337168db61fcb84a7ec387ee0722cf60d35ea, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2021-04-06T05:57:29.092Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-06T05:57:30.300Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T05:57:30.300Z] [2021-04-06T05:57:30.300Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T05:57:31.345Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T05:57:31.796Z] latest: Pulling from edgex-devops/git-semver [2021-04-06T05:57:31.796Z] 31603596830f: Pulling fs layer [2021-04-06T05:57:31.796Z] 2a8b12db71e7: Pulling fs layer [2021-04-06T05:57:31.796Z] 6ca5941a6612: Pulling fs layer [2021-04-06T05:57:31.796Z] ecc8261a40a4: Pulling fs layer [2021-04-06T05:57:31.796Z] ecc8261a40a4: Waiting [2021-04-06T05:57:31.796Z] 2a8b12db71e7: Verifying Checksum [2021-04-06T05:57:31.796Z] 2a8b12db71e7: Download complete [2021-04-06T05:57:32.424Z] 31603596830f: Verifying Checksum [2021-04-06T05:57:32.424Z] 31603596830f: Download complete [2021-04-06T05:57:33.293Z] ecc8261a40a4: Verifying Checksum [2021-04-06T05:57:33.293Z] ecc8261a40a4: Download complete [2021-04-06T05:57:33.670Z] 6ca5941a6612: Verifying Checksum [2021-04-06T05:57:33.670Z] 6ca5941a6612: Download complete [2021-04-06T05:57:33.945Z] 31603596830f: Pull complete [2021-04-06T05:57:34.593Z] 2a8b12db71e7: Pull complete [2021-04-06T05:57:37.500Z] 6ca5941a6612: Pull complete [2021-04-06T05:57:37.782Z] ecc8261a40a4: Pull complete [2021-04-06T05:57:37.782Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-06T05:57:37.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T05:57:37.782Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-06T05:57:38.282Z] prd-centos7-docker-4c-2g-32897 does not seem to be running inside a container [2021-04-06T05:57:38.948Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-861 -v /w/workspace/dgexfoundry_device-sdk-go_PR-861:/w/workspace/dgexfoundry_device-sdk-go_PR-861:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-861@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-861@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-06T05:57:42.979Z] $ docker top e9ef38ba36e836bc8e7c578550b5ce515f3afd7fb4838a7d40eccdf87e89f03c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-06T05:57:43.808Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-06T05:57:43.808Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-06T05:57:44.914Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-06T05:57:44.919Z] $ docker exec e9ef38ba36e836bc8e7c578550b5ce515f3afd7fb4838a7d40eccdf87e89f03c ssh-agent [2021-04-06T05:57:45.420Z] SSH_AUTH_SOCK=/tmp/ssh-bDL9W4LEIx2C/agent.11 [2021-04-06T05:57:45.420Z] SSH_AGENT_PID=16 [2021-04-06T05:57:45.436Z] Running ssh-add (command line suppressed) [2021-04-06T05:57:45.570Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-861@tmp/private_key_5466401086347461999.key (/w/workspace/dgexfoundry_device-sdk-go_PR-861@tmp/private_key_5466401086347461999.key) [2021-04-06T05:57:45.754Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-06T05:57:46.662Z] + git tag --points-at HEAD [Pipeline] } [2021-04-06T05:57:46.798Z] $ docker exec --env ******** --env ******** e9ef38ba36e836bc8e7c578550b5ce515f3afd7fb4838a7d40eccdf87e89f03c ssh-agent -k [2021-04-06T05:57:47.321Z] unset SSH_AUTH_SOCK; [2021-04-06T05:57:47.321Z] unset SSH_AGENT_PID; [2021-04-06T05:57:47.322Z] echo Agent pid 16 killed; [2021-04-06T05:57:47.742Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-06T05:57:47.938Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-06T05:57:47.938Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-06T05:57:49.436Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-06T05:57:49.442Z] $ docker exec e9ef38ba36e836bc8e7c578550b5ce515f3afd7fb4838a7d40eccdf87e89f03c ssh-agent [2021-04-06T05:57:50.660Z] SSH_AUTH_SOCK=/tmp/ssh-922Fu3hGEgEZ/agent.45 [2021-04-06T05:57:50.660Z] SSH_AGENT_PID=50 [2021-04-06T05:57:50.677Z] Running ssh-add (command line suppressed) [2021-04-06T05:57:51.417Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-861@tmp/private_key_6587596094864636931.key (/w/workspace/dgexfoundry_device-sdk-go_PR-861@tmp/private_key_6587596094864636931.key) [2021-04-06T05:57:51.665Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-06T05:57:52.533Z] + git semver init [2021-04-06T05:57:52.533Z] # -> Open(): unable to determine branch for HEAD [2021-04-06T05:57:52.533Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-861/.git [2021-04-06T05:57:52.533Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-861 [2021-04-06T05:57:52.533Z] # $SEMVER_REMOTE_NAME = origin [2021-04-06T05:57:52.533Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-06T05:57:52.533Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-06T05:57:52.533Z] # $SEMVER_BRANCH = PR-861 [2021-04-06T05:57:52.533Z] # $SEMVER_TEMP = /tmp/semver-007299854 [2021-04-06T05:57:52.533Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-06T05:57:54.178Z] # '/tmp/semver-007299854' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-861/.semver' [2021-04-06T05:57:54.179Z] # -> Force: false [2021-04-06T05:57:54.179Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-861/.semver [Pipeline] } [2021-04-06T05:57:54.215Z] $ docker exec --env ******** --env ******** e9ef38ba36e836bc8e7c578550b5ce515f3afd7fb4838a7d40eccdf87e89f03c ssh-agent -k [2021-04-06T05:57:54.517Z] unset SSH_AUTH_SOCK; [2021-04-06T05:57:54.517Z] unset SSH_AGENT_PID; [2021-04-06T05:57:54.517Z] echo Agent pid 50 killed; [2021-04-06T05:57:54.676Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-06T05:57:55.703Z] + git semver [Pipeline] } [2021-04-06T05:57:55.759Z] $ docker stop --time=1 e9ef38ba36e836bc8e7c578550b5ce515f3afd7fb4838a7d40eccdf87e89f03c [2021-04-06T05:57:57.872Z] $ docker rm -f e9ef38ba36e836bc8e7c578550b5ce515f3afd7fb4838a7d40eccdf87e89f03c [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T05:57:58.566Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-06T05:57:59.490Z] Stashed 1 file(s) [Pipeline] echo [2021-04-06T05:57:59.515Z] [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-06T05:58:15.412Z] Still waiting to schedule task [2021-04-06T05:58:15.412Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-06T05:58:15.438Z] Still waiting to schedule task [2021-04-06T05:58:15.438Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-06T06:00:06.560Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32898 in /w/workspace/dgexfoundry_device-sdk-go_PR-861 [Pipeline] { [Pipeline] ws [2021-04-06T06:00:06.667Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-06T06:00:11.575Z] using credential edgex-jenkins-ssh [2021-04-06T06:00:11.638Z] Cloning the remote Git repository [2021-04-06T06:00:11.690Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T06:00:11.794Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-06T06:00:11.886Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T06:00:11.886Z] > git --version # timeout=10 [2021-04-06T06:00:11.906Z] > git --version # 'git version 2.17.1' [2021-04-06T06:00:11.907Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T06:00:11.957Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T06:00:13.067Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T06:00:13.084Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T06:00:13.702Z] Merging remotes/origin/master commit 1894bc1e392d8688e2b497c25b4baea951eb17b4 into PR head commit 0d6337168db61fcb84a7ec387ee0722cf60d35ea [2021-04-06T06:00:13.916Z] Merge succeeded, producing 0d6337168db61fcb84a7ec387ee0722cf60d35ea [2021-04-06T06:00:13.917Z] Checking out Revision 0d6337168db61fcb84a7ec387ee0722cf60d35ea (PR-861) [2021-04-06T06:00:13.116Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T06:00:13.149Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T06:00:13.150Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T06:00:13.162Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/861/head:refs/remotes/origin/PR-861 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-06T06:00:13.717Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T06:00:13.729Z] > git checkout -f 0d6337168db61fcb84a7ec387ee0722cf60d35ea # timeout=10 [2021-04-06T06:00:13.827Z] > git remote # timeout=10 [2021-04-06T06:00:13.843Z] > git config --get remote.origin.url # timeout=10 [2021-04-06T06:00:13.857Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T06:00:13.868Z] > git merge 1894bc1e392d8688e2b497c25b4baea951eb17b4 # timeout=10 [2021-04-06T06:00:13.892Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-06T06:00:13.922Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T06:00:13.932Z] > git checkout -f 0d6337168db61fcb84a7ec387ee0722cf60d35ea # timeout=10 [2021-04-06T06:00:18.213Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2021-04-06T06:00:18.264Z] > git --version # timeout=10 [2021-04-06T06:00:18.273Z] > git --version # 'git version 2.17.1' [2021-04-06T06:00:18.282Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T06:00:20.107Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-06T06:00:20.530Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-06T06:00:20.890Z] + sudo service docker restart [2021-04-06T06:00:20.890Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-06T06:00:23.715Z] provisioning config files... [2021-04-06T06:00:23.770Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7205713970005612530tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-06T06:00:24.249Z] ---> docker-login.sh [2021-04-06T06:00:24.249Z] nexus3.edgexfoundry.org:10001 [2021-04-06T06:00:24.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T06:00:25.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T06:00:25.447Z] Configure a credential helper to remove this warning. See [2021-04-06T06:00:25.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T06:00:25.447Z] [2021-04-06T06:00:25.447Z] Login Succeeded [2021-04-06T06:00:25.447Z] nexus3.edgexfoundry.org:10002 [2021-04-06T06:00:25.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T06:00:25.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T06:00:25.994Z] Configure a credential helper to remove this warning. See [2021-04-06T06:00:25.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T06:00:25.994Z] [2021-04-06T06:00:25.994Z] Login Succeeded [2021-04-06T06:00:25.994Z] nexus3.edgexfoundry.org:10003 [2021-04-06T06:00:26.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T06:00:26.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T06:00:26.267Z] Configure a credential helper to remove this warning. See [2021-04-06T06:00:26.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T06:00:26.267Z] [2021-04-06T06:00:26.267Z] Login Succeeded [2021-04-06T06:00:26.267Z] nexus3.edgexfoundry.org:10004 [2021-04-06T06:00:26.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T06:00:26.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T06:00:26.869Z] Configure a credential helper to remove this warning. See [2021-04-06T06:00:26.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T06:00:26.869Z] [2021-04-06T06:00:26.869Z] Login Succeeded [2021-04-06T06:00:26.869Z] docker.io [2021-04-06T06:00:27.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T06:00:27.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T06:00:27.745Z] Configure a credential helper to remove this warning. See [2021-04-06T06:00:27.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T06:00:27.745Z] [2021-04-06T06:00:27.745Z] Login Succeeded [2021-04-06T06:00:27.745Z] ---> docker-login.sh ends [Pipeline] } [2021-04-06T06:00:27.775Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-06T06:00:28.415Z] ========================================================= [2021-04-06T06:00:28.415Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-06T06:00:28.415Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-06T06:00:28.843Z] + 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-06T06:00:29.131Z] Sending build context to Docker daemon 2.362MB [2021-04-06T06:00:29.409Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T06:00:29.409Z] Step 2/8 : FROM ${BASE} [2021-04-06T06:00:29.409Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-06T06:00:29.409Z] 5f621e34cdf4: Pulling fs layer [2021-04-06T06:00:29.409Z] a4357932f1b6: Pulling fs layer [2021-04-06T06:00:29.409Z] 18c013af1878: Pulling fs layer [2021-04-06T06:00:29.409Z] 00ac8860ef70: Pulling fs layer [2021-04-06T06:00:29.409Z] 63d7cb157983: Pulling fs layer [2021-04-06T06:00:29.409Z] b116817d02f9: Pulling fs layer [2021-04-06T06:00:29.409Z] 745a02a5169b: Pulling fs layer [2021-04-06T06:00:29.409Z] 00ac8860ef70: Waiting [2021-04-06T06:00:29.409Z] 63d7cb157983: Waiting [2021-04-06T06:00:29.409Z] b116817d02f9: Waiting [2021-04-06T06:00:29.409Z] 745a02a5169b: Waiting [2021-04-06T06:00:29.409Z] 18c013af1878: Download complete [2021-04-06T06:00:29.409Z] a4357932f1b6: Download complete [2021-04-06T06:00:29.409Z] 63d7cb157983: Verifying Checksum [2021-04-06T06:00:29.409Z] 63d7cb157983: Download complete [2021-04-06T06:00:29.409Z] b116817d02f9: Verifying Checksum [2021-04-06T06:00:29.409Z] b116817d02f9: Download complete [2021-04-06T06:00:29.688Z] 5f621e34cdf4: Verifying Checksum [2021-04-06T06:00:29.688Z] 5f621e34cdf4: Download complete [2021-04-06T06:00:30.289Z] 5f621e34cdf4: Pull complete [2021-04-06T06:00:30.899Z] a4357932f1b6: Pull complete [2021-04-06T06:00:31.184Z] 18c013af1878: Pull complete [2021-04-06T06:00:32.166Z] 745a02a5169b: Verifying Checksum [2021-04-06T06:00:32.166Z] 745a02a5169b: Download complete [2021-04-06T06:00:33.148Z] 00ac8860ef70: Verifying Checksum [2021-04-06T06:00:33.148Z] 00ac8860ef70: Download complete [2021-04-06T06:00:43.303Z] 00ac8860ef70: Pull complete [2021-04-06T06:00:43.586Z] 63d7cb157983: Pull complete [2021-04-06T06:00:43.859Z] b116817d02f9: Pull complete [2021-04-06T06:00:45.342Z] Running on prd-centos7-docker-4c-2g-32899 in /w/workspace/dgexfoundry_device-sdk-go_PR-861 [Pipeline] { [Pipeline] ws [2021-04-06T06:00:45.432Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-06T06:00:48.044Z] using credential edgex-jenkins-ssh [2021-04-06T06:00:48.098Z] Cloning the remote Git repository [2021-04-06T06:00:48.202Z] 745a02a5169b: Pull complete [2021-04-06T06:00:48.202Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-06T06:00:48.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-06T06:00:48.202Z] ---> b7e6874047d6 [2021-04-06T06:00:48.202Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T06:00:48.110Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T06:00:48.181Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-06T06:00:48.252Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T06:00:48.252Z] > git --version # timeout=10 [2021-04-06T06:00:48.259Z] > git --version # 'git version 2.24.3' [2021-04-06T06:00:48.259Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T06:00:48.288Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T06:00:49.519Z] Merging remotes/origin/master commit 1894bc1e392d8688e2b497c25b4baea951eb17b4 into PR head commit 0d6337168db61fcb84a7ec387ee0722cf60d35ea [2021-04-06T06:00:49.624Z] Merge succeeded, producing 0d6337168db61fcb84a7ec387ee0722cf60d35ea [2021-04-06T06:00:49.625Z] Checking out Revision 0d6337168db61fcb84a7ec387ee0722cf60d35ea (PR-861) [2021-04-06T06:00:49.090Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T06:00:49.100Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T06:00:49.113Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T06:00:49.125Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T06:00:49.126Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T06:00:49.132Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/861/head:refs/remotes/origin/PR-861 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-06T06:00:49.529Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T06:00:49.536Z] > git checkout -f 0d6337168db61fcb84a7ec387ee0722cf60d35ea # timeout=10 [2021-04-06T06:00:49.583Z] > git remote # timeout=10 [2021-04-06T06:00:49.592Z] > git config --get remote.origin.url # timeout=10 [2021-04-06T06:00:49.602Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T06:00:49.606Z] > git merge 1894bc1e392d8688e2b497c25b4baea951eb17b4 # timeout=10 [2021-04-06T06:00:49.617Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-06T06:00:49.626Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T06:00:49.632Z] > git checkout -f 0d6337168db61fcb84a7ec387ee0722cf60d35ea # timeout=10 [2021-04-06T06:00:50.205Z] ---> Running in f223882267e3 [2021-04-06T06:00:50.804Z] Removing intermediate container f223882267e3 [2021-04-06T06:00:50.804Z] ---> 3b67b8134ec3 [2021-04-06T06:00:50.804Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T06:00:50.804Z] ---> Running in 344e9a7c00ae [2021-04-06T06:00:53.220Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2021-04-06T06:00:53.245Z] > git --version # timeout=10 [2021-04-06T06:00:53.251Z] > git --version # 'git version 2.24.3' [2021-04-06T06:00:53.259Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-06T06:00:53.446Z] Removing intermediate container 344e9a7c00ae [2021-04-06T06:00:53.446Z] ---> db888011a93b [2021-04-06T06:00:53.446Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-06T06:00:53.446Z] ---> Running in 792698bef4e1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T06:00:54.430Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-06T06:00:54.654Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-06T06:00:55.015Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [2021-04-06T06:00:55.029Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] sh [2021-04-06T06:00:55.354Z] + true [2021-04-06T06:00:55.354Z] + sudo service docker restart [2021-04-06T06:00:55.354Z] Redirecting to /bin/systemctl restart docker.service [2021-04-06T06:00:56.007Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-06T06:00:56.007Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-06T06:00:56.278Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-06T06:00:56.278Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-06T06:00:56.278Z] (5/6) Installing libzmq (4.3.3-r0) [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-06T06:00:56.459Z] provisioning config files... [2021-04-06T06:00:56.516Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6196781999192343665tmp [2021-04-06T06:00:56.548Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-06T06:00:56.548Z] Executing busybox-1.31.1-r19.trigger [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-06T06:00:56.822Z] OK: 144 MiB in 45 packages [2021-04-06T06:00:56.983Z] ---> docker-login.sh [2021-04-06T06:00:56.983Z] nexus3.edgexfoundry.org:10001 [2021-04-06T06:00:57.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T06:00:57.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T06:00:57.246Z] Configure a credential helper to remove this warning. See [2021-04-06T06:00:57.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T06:00:57.246Z] [2021-04-06T06:00:57.246Z] Login Succeeded [2021-04-06T06:00:57.246Z] nexus3.edgexfoundry.org:10002 [2021-04-06T06:00:57.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T06:00:57.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T06:00:57.512Z] Configure a credential helper to remove this warning. See [2021-04-06T06:00:57.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T06:00:57.512Z] [2021-04-06T06:00:57.512Z] Login Succeeded [2021-04-06T06:00:57.512Z] nexus3.edgexfoundry.org:10003 [2021-04-06T06:00:57.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T06:00:57.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T06:00:57.780Z] Configure a credential helper to remove this warning. See [2021-04-06T06:00:57.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T06:00:57.780Z] [2021-04-06T06:00:57.780Z] Login Succeeded [2021-04-06T06:00:57.780Z] nexus3.edgexfoundry.org:10004 [2021-04-06T06:00:57.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T06:00:57.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T06:00:57.780Z] Configure a credential helper to remove this warning. See [2021-04-06T06:00:57.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T06:00:57.780Z] [2021-04-06T06:00:57.780Z] Login Succeeded [2021-04-06T06:00:57.780Z] docker.io [2021-04-06T06:00:57.808Z] Removing intermediate container 792698bef4e1 [2021-04-06T06:00:57.808Z] ---> 4dd971526ebe [2021-04-06T06:00:57.808Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-06T06:00:58.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T06:00:58.089Z] ---> Running in 608e243f0fbd [2021-04-06T06:00:58.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T06:00:58.306Z] Configure a credential helper to remove this warning. See [2021-04-06T06:00:58.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T06:00:58.306Z] [2021-04-06T06:00:58.306Z] Login Succeeded [2021-04-06T06:00:58.306Z] ---> docker-login.sh ends [Pipeline] } [2021-04-06T06:00:58.333Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-04-06T06:00:58.685Z] Removing intermediate container 608e243f0fbd [2021-04-06T06:00:58.685Z] ---> 23bb564040b8 [2021-04-06T06:00:58.685Z] Step 7/8 : COPY . . [Pipeline] echo [2021-04-06T06:00:58.905Z] ========================================================= [2021-04-06T06:00:58.905Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-06T06:00:58.905Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-06T06:00:59.339Z] + 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-06T06:00:59.339Z] Sending build context to Docker daemon 2.363MB [2021-04-06T06:00:59.339Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T06:00:59.339Z] Step 2/8 : FROM ${BASE} [2021-04-06T06:00:59.605Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-06T06:00:59.605Z] 188c0c94c7c5: Pulling fs layer [2021-04-06T06:00:59.605Z] 0ef7d3d256c8: Pulling fs layer [2021-04-06T06:00:59.605Z] de9db76c5a1d: Pulling fs layer [2021-04-06T06:00:59.605Z] bca2f99d35d6: Pulling fs layer [2021-04-06T06:00:59.605Z] 93359f2a8cfa: Pulling fs layer [2021-04-06T06:00:59.605Z] 7c6f9722023f: Pulling fs layer [2021-04-06T06:00:59.605Z] a35cf1a2eb13: Pulling fs layer [2021-04-06T06:00:59.605Z] 93359f2a8cfa: Waiting [2021-04-06T06:00:59.605Z] 7c6f9722023f: Waiting [2021-04-06T06:00:59.605Z] a35cf1a2eb13: Waiting [2021-04-06T06:00:59.605Z] bca2f99d35d6: Waiting [2021-04-06T06:00:59.605Z] de9db76c5a1d: Verifying Checksum [2021-04-06T06:00:59.605Z] de9db76c5a1d: Download complete [2021-04-06T06:00:59.605Z] 0ef7d3d256c8: Download complete [2021-04-06T06:00:59.605Z] 93359f2a8cfa: Verifying Checksum [2021-04-06T06:00:59.605Z] 93359f2a8cfa: Download complete [2021-04-06T06:00:59.605Z] 188c0c94c7c5: Verifying Checksum [2021-04-06T06:00:59.605Z] 188c0c94c7c5: Download complete [2021-04-06T06:00:59.605Z] 7c6f9722023f: Download complete [2021-04-06T06:00:59.664Z] ---> f6a9d85f578a [2021-04-06T06:00:59.664Z] Step 8/8 : RUN go mod download [2021-04-06T06:00:59.873Z] 188c0c94c7c5: Pull complete [2021-04-06T06:00:59.937Z] ---> Running in a544fccceede [2021-04-06T06:01:00.136Z] 0ef7d3d256c8: Pull complete [2021-04-06T06:01:00.136Z] de9db76c5a1d: Pull complete [2021-04-06T06:01:01.534Z] a35cf1a2eb13: Verifying Checksum [2021-04-06T06:01:01.534Z] a35cf1a2eb13: Download complete [2021-04-06T06:01:02.113Z] bca2f99d35d6: Verifying Checksum [2021-04-06T06:01:02.113Z] bca2f99d35d6: Download complete [2021-04-06T06:01:07.438Z] bca2f99d35d6: Pull complete [2021-04-06T06:01:07.438Z] 93359f2a8cfa: Pull complete [2021-04-06T06:01:07.438Z] 7c6f9722023f: Pull complete [2021-04-06T06:01:12.795Z] a35cf1a2eb13: Pull complete [2021-04-06T06:01:13.064Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-06T06:01:13.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-06T06:01:13.064Z] ---> a62c8e92a672 [2021-04-06T06:01:13.064Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T06:01:13.337Z] ---> Running in f5bbca98dc03 [2021-04-06T06:01:13.600Z] Removing intermediate container f5bbca98dc03 [2021-04-06T06:01:13.600Z] ---> fd90a52b5281 [2021-04-06T06:01:13.600Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T06:01:13.600Z] ---> Running in 442b815dd17b [2021-04-06T06:01:14.549Z] Removing intermediate container 442b815dd17b [2021-04-06T06:01:14.549Z] ---> 6f5fb0ea7473 [2021-04-06T06:01:14.549Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-06T06:01:14.813Z] ---> Running in 80098d7957b3 [2021-04-06T06:01:15.760Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-06T06:01:16.334Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-06T06:01:16.909Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-06T06:01:17.172Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-06T06:01:17.172Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-06T06:01:17.434Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-06T06:01:17.697Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-06T06:01:17.965Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-06T06:01:17.965Z] Executing busybox-1.31.1-r19.trigger [2021-04-06T06:01:17.965Z] OK: 167 MiB in 45 packages [2021-04-06T06:01:18.539Z] Removing intermediate container 80098d7957b3 [2021-04-06T06:01:18.539Z] ---> 8de8eb969144 [2021-04-06T06:01:18.539Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-06T06:01:18.539Z] ---> Running in 2f074c545966 [2021-04-06T06:01:18.803Z] Removing intermediate container 2f074c545966 [2021-04-06T06:01:18.804Z] ---> 2ca40cd1b0c8 [2021-04-06T06:01:18.804Z] Step 7/8 : COPY . . [2021-04-06T06:01:20.199Z] ---> 98e29a201d2f [2021-04-06T06:01:20.199Z] Step 8/8 : RUN go mod download [2021-04-06T06:01:20.199Z] ---> Running in 2b55f71925ec [2021-04-06T06:01:26.773Z] Removing intermediate container a544fccceede [2021-04-06T06:01:26.773Z] ---> 3e356c1fd395 [2021-04-06T06:01:26.773Z] Successfully built 3e356c1fd395 [2021-04-06T06:01:26.773Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T06:01:27.163Z] + docker inspect -f . ci-base-image-arm64 [2021-04-06T06:01:27.163Z] . [Pipeline] withDockerContainer [2021-04-06T06:01:27.466Z] prd-ubuntu18.04-docker-arm64-4c-16g-32898 does not seem to be running inside a container [2021-04-06T06:01:27.544Z] $ 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-arm64 cat [2021-04-06T06:01:29.023Z] $ docker top 2dac21993b0c8f465fe48bee08e05c3819d99682693598fcb898a67f4a434170 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T06:01:30.128Z] + go version [2021-04-06T06:01:30.128Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-06T06:01:30.168Z] $ docker stop --time=1 2dac21993b0c8f465fe48bee08e05c3819d99682693598fcb898a67f4a434170 [2021-04-06T06:01:32.030Z] $ docker rm -f 2dac21993b0c8f465fe48bee08e05c3819d99682693598fcb898a67f4a434170 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-06T06:01:33.298Z] + docker inspect -f . ci-base-image-arm64 [2021-04-06T06:01:33.298Z] . [Pipeline] withDockerContainer [2021-04-06T06:01:33.547Z] prd-ubuntu18.04-docker-arm64-4c-16g-32898 does not seem to be running inside a container [2021-04-06T06:01:33.624Z] $ 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-arm64 cat [2021-04-06T06:01:35.095Z] $ docker top 49ba683b971a1fde9146acc39af730c21e438e8d6f4caaf04c28afc99767a6fc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T06:01:36.205Z] + make test [2021-04-06T06:01:36.205Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-06T06:01:42.237Z] Removing intermediate container 2b55f71925ec [2021-04-06T06:01:42.237Z] ---> 5d1077540e5c [2021-04-06T06:01:42.237Z] Successfully built 5d1077540e5c [2021-04-06T06:01:42.237Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T06:01:42.880Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-06T06:01:42.880Z] . [Pipeline] withDockerContainer [2021-04-06T06:01:43.015Z] prd-centos7-docker-4c-2g-32899 does not seem to be running inside a container [2021-04-06T06:01:43.060Z] $ 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-06T06:01:43.873Z] $ docker top 3e603c77a9c2de32e967fc817b1d4571299b63acf4bcd1827c703b1a765a2d60 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T06:01:44.435Z] + go version [2021-04-06T06:01:44.435Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-06T06:01:44.467Z] $ docker stop --time=1 3e603c77a9c2de32e967fc817b1d4571299b63acf4bcd1827c703b1a765a2d60 [2021-04-06T06:01:45.794Z] $ docker rm -f 3e603c77a9c2de32e967fc817b1d4571299b63acf4bcd1827c703b1a765a2d60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-06T06:01:46.902Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-06T06:01:46.902Z] . [Pipeline] withDockerContainer [2021-04-06T06:01:47.021Z] prd-centos7-docker-4c-2g-32899 does not seem to be running inside a container [2021-04-06T06:01:47.068Z] $ 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-06T06:01:47.588Z] $ docker top c72ab28d3d54bb6de9d7fb32df26343e95f6bb4592a21448863bbcc31ffdec5f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T06:01:48.136Z] + make test [2021-04-06T06:01:48.136Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-06T06:01:56.336Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-06T06:01:58.418Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-06T06:02:14.617Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-06T06:02:14.617Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-06T06:02:14.618Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-06T06:02:14.618Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-06T06:02:14.618Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-06T06:02:17.980Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.070s coverage: 28.1% of statements [2021-04-06T06:02:17.980Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.077s coverage: 81.2% of statements [2021-04-06T06:02:18.256Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.074s coverage: 7.8% of statements [2021-04-06T06:02:18.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-06T06:02:18.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-06T06:02:18.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-06T06:02:18.256Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.088s coverage: 32.5% of statements [2021-04-06T06:02:18.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-06T06:02:18.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-06T06:02:18.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-06T06:02:18.836Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.096s coverage: 57.3% of statements [2021-04-06T06:02:19.413Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.183s coverage: 6.6% of statements [2021-04-06T06:02:19.677Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-04-06T06:02:19.677Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-06T06:02:19.951Z] GO111MODULE=on go vet ./... [2021-04-06T06:02:35.029Z] gofmt -l . [2021-04-06T06:02:35.029Z] [ "`gofmt -l .`" = "" ] [2021-04-06T06:02:35.029Z] ./bin/test-attribution-txt.sh [2021-04-06T06:02:35.029Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-06T06:02:35.058Z] $ docker stop --time=1 c72ab28d3d54bb6de9d7fb32df26343e95f6bb4592a21448863bbcc31ffdec5f [2021-04-06T06:02:37.465Z] $ docker rm -f c72ab28d3d54bb6de9d7fb32df26343e95f6bb4592a21448863bbcc31ffdec5f [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T06:02:38.277Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-06T06:02:38.652Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-06T06:02:41.654Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-06T06:02:41.974Z] + ls -al . [2021-04-06T06:02:41.974Z] total 188 [2021-04-06T06:02:41.974Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 6 06:02 . [2021-04-06T06:02:41.974Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 6 06:00 .. [2021-04-06T06:02:41.974Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 6 06:00 bin [2021-04-06T06:02:41.974Z] -rw-r--r--. 1 jenkins jenkins 101239 Apr 6 06:02 coverage.out [2021-04-06T06:02:41.974Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 6 06:00 Dockerfile.build [2021-04-06T06:02:41.974Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 6 06:00 .dockerignore [2021-04-06T06:02:41.974Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 6 06:00 example [2021-04-06T06:02:41.974Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 6 06:00 .git [2021-04-06T06:02:41.974Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 6 06:00 .github [2021-04-06T06:02:41.974Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 6 06:00 .gitignore [2021-04-06T06:02:41.974Z] -rw-r--r--. 1 jenkins jenkins 572 Apr 6 06:02 go.mod [2021-04-06T06:02:41.974Z] -rw-r--r--. 1 jenkins jenkins 20946 Apr 6 06:02 go.sum [2021-04-06T06:02:41.974Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 6 06:00 internal [2021-04-06T06:02:41.974Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 6 06:00 Jenkinsfile [2021-04-06T06:02:41.974Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 6 06:00 LICENSE [2021-04-06T06:02:41.974Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 6 06:00 Makefile [2021-04-06T06:02:41.974Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 6 06:00 openapi [2021-04-06T06:02:41.974Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 6 06:00 pkg [2021-04-06T06:02:41.974Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 6 06:00 README.md [2021-04-06T06:02:41.974Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 6 06:00 RELEASE-NOTES.txt [2021-04-06T06:02:41.974Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 6 06:00 snap [2021-04-06T06:02:41.974Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 6 05:57 VERSION [2021-04-06T06:02:41.974Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 6 06:00 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-06T06:02:42.331Z] + 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=0d6337168db61fcb84a7ec387ee0722cf60d35ea --label arch=amd64 --label version=0.0.0 . [2021-04-06T06:02:42.595Z] Sending build context to Docker daemon 2.465MB [2021-04-06T06:02:42.595Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T06:02:42.595Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-06T06:02:42.595Z] ---> 5d1077540e5c [2021-04-06T06:02:42.595Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-06T06:02:43.543Z] ---> Running in df88ae328e07 [2021-04-06T06:02:43.543Z] Removing intermediate container df88ae328e07 [2021-04-06T06:02:43.543Z] ---> e7855e37b8f2 [2021-04-06T06:02:43.543Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T06:02:43.543Z] ---> Running in 73b36b00deaf [2021-04-06T06:02:43.806Z] Removing intermediate container 73b36b00deaf [2021-04-06T06:02:43.806Z] ---> 5fd2ee25c172 [2021-04-06T06:02:43.806Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T06:02:43.806Z] ---> Running in d4a800d65dd3 [2021-04-06T06:02:44.754Z] Removing intermediate container d4a800d65dd3 [2021-04-06T06:02:44.754Z] ---> a44e02e47b14 [2021-04-06T06:02:44.754Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-06T06:02:44.754Z] ---> Running in ac6370244922 [2021-04-06T06:02:45.334Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-06T06:02:45.908Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-06T06:02:46.855Z] OK: 167 MiB in 45 packages [2021-04-06T06:02:47.118Z] Removing intermediate container ac6370244922 [2021-04-06T06:02:47.118Z] ---> 8639b8c12bb1 [2021-04-06T06:02:47.118Z] Step 7/23 : COPY . . [2021-04-06T06:02:48.065Z] ---> 04bf10ba1fe1 [2021-04-06T06:02:48.065Z] Step 8/23 : RUN go mod download [2021-04-06T06:02:48.327Z] ---> Running in bed740ea8f92 [2021-04-06T06:02:49.304Z] Removing intermediate container bed740ea8f92 [2021-04-06T06:02:49.304Z] ---> 5a843f3393ca [2021-04-06T06:02:49.304Z] Step 9/23 : RUN make build [2021-04-06T06:02:49.304Z] ---> Running in b44c935282cb [2021-04-06T06:02:49.884Z] 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-06T06:02:54.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-06T06:02:54.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-06T06:02:54.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-06T06:02:54.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-06T06:02:54.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-06T06:02:57.653Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.135s coverage: 28.1% of statements [2021-04-06T06:02:59.640Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.210s coverage: 81.2% of statements [2021-04-06T06:02:59.640Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.152s coverage: 7.8% of statements [2021-04-06T06:02:59.640Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-06T06:02:59.640Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-06T06:02:59.640Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-06T06:03:00.016Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-06T06:03:00.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.311s coverage: 32.5% of statements [2021-04-06T06:03:00.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-06T06:03:00.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-06T06:03:00.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-06T06:03:02.624Z] Removing intermediate container b44c935282cb [2021-04-06T06:03:02.624Z] ---> 0ce07e0fe0d6 [2021-04-06T06:03:02.624Z] Step 10/23 : FROM alpine:3.12 [2021-04-06T06:03:02.624Z] 3.12: Pulling from library/alpine [2021-04-06T06:03:02.624Z] 532819f3e44c: Pulling fs layer [2021-04-06T06:03:02.943Z] 532819f3e44c: Verifying Checksum [2021-04-06T06:03:02.943Z] 532819f3e44c: Download complete [2021-04-06T06:03:03.225Z] 532819f3e44c: Pull complete [2021-04-06T06:03:03.225Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-06T06:03:03.225Z] Status: Downloaded newer image for alpine:3.12 [2021-04-06T06:03:03.225Z] ---> 7230e588e954 [2021-04-06T06:03:03.225Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T06:03:03.225Z] ---> Running in 21d156bfee29 [2021-04-06T06:03:03.556Z] Removing intermediate container 21d156bfee29 [2021-04-06T06:03:03.556Z] ---> 9d215283fd20 [2021-04-06T06:03:03.556Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T06:03:03.556Z] ---> Running in 7388379e14c9 [2021-04-06T06:03:04.091Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.261s coverage: 57.3% of statements [2021-04-06T06:03:04.091Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.082s coverage: 6.6% of statements [2021-04-06T06:03:04.413Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.147s coverage: 5.0% of statements [2021-04-06T06:03:04.413Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-06T06:03:04.658Z] Removing intermediate container 7388379e14c9 [2021-04-06T06:03:04.658Z] ---> 072372946fe1 [2021-04-06T06:03:04.658Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-06T06:03:04.658Z] ---> Running in 47456b454c59 [2021-04-06T06:03:04.747Z] GO111MODULE=on go vet ./... [2021-04-06T06:03:04.933Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-06T06:03:05.881Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-06T06:03:06.828Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-06T06:03:06.829Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-06T06:03:06.829Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-06T06:03:07.092Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-06T06:03:07.093Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-06T06:03:07.358Z] Executing busybox-1.31.1-r20.trigger [2021-04-06T06:03:07.358Z] OK: 8 MiB in 19 packages [2021-04-06T06:03:07.933Z] Removing intermediate container 47456b454c59 [2021-04-06T06:03:07.934Z] ---> 8d12c8aef916 [2021-04-06T06:03:07.934Z] Step 14/23 : WORKDIR / [2021-04-06T06:03:07.934Z] ---> Running in 9e2f8dd49876 [2021-04-06T06:03:07.934Z] Removing intermediate container 9e2f8dd49876 [2021-04-06T06:03:07.934Z] ---> f73fd5ff6606 [2021-04-06T06:03:07.934Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-06T06:03:08.195Z] ---> 84887a9875f5 [2021-04-06T06:03:08.196Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-06T06:03:08.772Z] ---> 0c66788aa30a [2021-04-06T06:03:08.772Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-06T06:03:09.034Z] ---> 20b79baa610f [2021-04-06T06:03:09.034Z] Step 18/23 : EXPOSE 49990 [2021-04-06T06:03:09.296Z] ---> Running in 177dbbb3bffd [2021-04-06T06:03:09.296Z] Removing intermediate container 177dbbb3bffd [2021-04-06T06:03:09.296Z] ---> 55d0ca49c107 [2021-04-06T06:03:09.296Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-06T06:03:09.296Z] ---> Running in 0f9e9e664743 [2021-04-06T06:03:09.562Z] Removing intermediate container 0f9e9e664743 [2021-04-06T06:03:09.562Z] ---> a4c8cff0efa0 [2021-04-06T06:03:09.562Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-06T06:03:09.562Z] ---> Running in e46dd1b9b93c [2021-04-06T06:03:09.824Z] Removing intermediate container e46dd1b9b93c [2021-04-06T06:03:09.824Z] ---> e6a2175fc41c [2021-04-06T06:03:09.824Z] Step 21/23 : LABEL arch=amd64 [2021-04-06T06:03:09.824Z] ---> Running in 132252f18871 [2021-04-06T06:03:10.087Z] Removing intermediate container 132252f18871 [2021-04-06T06:03:10.087Z] ---> 197f737e9618 [2021-04-06T06:03:10.087Z] Step 22/23 : LABEL git_sha=0d6337168db61fcb84a7ec387ee0722cf60d35ea [2021-04-06T06:03:10.087Z] ---> Running in 981417d2a506 [2021-04-06T06:03:10.351Z] Removing intermediate container 981417d2a506 [2021-04-06T06:03:10.351Z] ---> 659c3c475181 [2021-04-06T06:03:10.351Z] Step 23/23 : LABEL version=0.0.0 [2021-04-06T06:03:10.615Z] ---> Running in 495476462c2e [2021-04-06T06:03:10.615Z] Removing intermediate container 495476462c2e [2021-04-06T06:03:10.615Z] ---> ece20a54c409 [2021-04-06T06:03:10.615Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-06T06:03:10.615Z] Successfully built ece20a54c409 [2021-04-06T06:03:10.615Z] 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-06T06:03:12.174Z] ---> job-cost.sh [2021-04-06T06:03:12.174Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-0jS9 [2021-04-06T06:03:27.105Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-06T06:03:51.881Z] gofmt -l . [2021-04-06T06:03:51.881Z] [ "`gofmt -l .`" = "" ] [2021-04-06T06:03:51.881Z] ./bin/test-attribution-txt.sh [2021-04-06T06:03:51.881Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-06T06:03:51.919Z] $ docker stop --time=1 49ba683b971a1fde9146acc39af730c21e438e8d6f4caaf04c28afc99767a6fc [2021-04-06T06:03:53.830Z] lf-activate-venv(): INFO: Adding /tmp/venv-0jS9/bin to PATH [2021-04-06T06:03:53.830Z] INFO: No Stack... [2021-04-06T06:03:53.830Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-06T06:03:53.830Z] INFO: Archiving Costs [2021-04-06T06:03:54.206Z] $ docker rm -f 49ba683b971a1fde9146acc39af730c21e438e8d6f4caaf04c28afc99767a6fc [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-04-06T06:03:55.317Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-06T06:03:55.317Z] + cut -d, -f6 [2021-04-06T06:03:55.399Z] + sudo chown -R jenkins:jenkins . [Pipeline] lock [2021-04-06T06:03:55.426Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-861-1-stack-cost] [2021-04-06T06:03:55.432Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-861-1-stack-cost] did not exist. Created. [2021-04-06T06:03:55.432Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-861-1-stack-cost] [Pipeline] { [Pipeline] stash [2021-04-06T06:03:55.550Z] Warning: overwriting stash ‘coverage-report’ [Pipeline] unstash [Pipeline] sh [2021-04-06T06:03:55.964Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-06T06:03:56.098Z] Stashed 1 file(s) [Pipeline] } [2021-04-06T06:03:56.113Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-861-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [2021-04-06T06:03:56.374Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] } [Pipeline] // ws [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T06:03:57.849Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-06T06:03:58.197Z] + ls -al . [2021-04-06T06:03:58.197Z] total 224 [2021-04-06T06:03:58.197Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 06:03 . [2021-04-06T06:03:58.197Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 06:00 .. [2021-04-06T06:03:58.197Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 06:00 .dockerignore [2021-04-06T06:03:58.197Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 06:00 .git [2021-04-06T06:03:58.197Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 06:00 .github [2021-04-06T06:03:58.197Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 6 06:00 .gitignore [2021-04-06T06:03:58.197Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 6 06:00 Dockerfile.build [2021-04-06T06:03:58.197Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 6 06:00 Jenkinsfile [2021-04-06T06:03:58.197Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 6 06:00 LICENSE [2021-04-06T06:03:58.197Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 6 06:00 Makefile [2021-04-06T06:03:58.197Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 6 06:00 README.md [2021-04-06T06:03:58.197Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 6 06:00 RELEASE-NOTES.txt [2021-04-06T06:03:58.197Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 05:57 VERSION [2021-04-06T06:03:58.197Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 06:00 bin [2021-04-06T06:03:58.197Z] -rw-r--r-- 1 jenkins jenkins 101239 Apr 6 06:03 coverage.out [2021-04-06T06:03:58.197Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 06:00 example [2021-04-06T06:03:58.197Z] -rw-r--r-- 1 jenkins jenkins 572 Apr 6 06:03 go.mod [2021-04-06T06:03:58.197Z] -rw-r--r-- 1 jenkins jenkins 20946 Apr 6 06:03 go.sum [2021-04-06T06:03:58.197Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 6 06:00 internal [2021-04-06T06:03:58.197Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 06:00 openapi [2021-04-06T06:03:58.197Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 06:00 pkg [2021-04-06T06:03:58.197Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 06:00 snap [2021-04-06T06:03:58.197Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 6 06:00 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-06T06:03:58.562Z] + 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=0d6337168db61fcb84a7ec387ee0722cf60d35ea --label arch=arm64 --label version=0.0.0 . [2021-04-06T06:03:59.156Z] Sending build context to Docker daemon 2.464MB [2021-04-06T06:03:59.157Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T06:03:59.157Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-06T06:03:59.157Z] ---> 3e356c1fd395 [2021-04-06T06:03:59.157Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-06T06:03:59.430Z] ---> Running in 0b74a65acc6c [2021-04-06T06:03:59.705Z] Removing intermediate container 0b74a65acc6c [2021-04-06T06:03:59.705Z] ---> daf92012fb24 [2021-04-06T06:03:59.705Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T06:03:59.982Z] ---> Running in 4cd8f9c4c978 [2021-04-06T06:04:00.257Z] Removing intermediate container 4cd8f9c4c978 [2021-04-06T06:04:00.257Z] ---> b8e2e5d4c49a [2021-04-06T06:04:00.257Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T06:04:00.530Z] ---> Running in ec7099c7e1a5 [2021-04-06T06:04:02.508Z] Removing intermediate container ec7099c7e1a5 [2021-04-06T06:04:02.508Z] ---> f6418892dde9 [2021-04-06T06:04:02.508Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-06T06:04:02.508Z] ---> Running in a6673efd95f4 [2021-04-06T06:04:03.950Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-06T06:04:04.547Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-06T06:04:05.972Z] OK: 144 MiB in 45 packages [2021-04-06T06:04:06.944Z] Removing intermediate container a6673efd95f4 [2021-04-06T06:04:06.944Z] ---> 88bcf6f81763 [2021-04-06T06:04:06.944Z] Step 7/23 : COPY . . [2021-04-06T06:04:08.375Z] ---> bed256efdca0 [2021-04-06T06:04:08.375Z] Step 8/23 : RUN go mod download [2021-04-06T06:04:08.375Z] ---> Running in 5c032a0a802e [2021-04-06T06:04:10.991Z] Removing intermediate container 5c032a0a802e [2021-04-06T06:04:10.991Z] ---> 48730d86b46e [2021-04-06T06:04:10.991Z] Step 9/23 : RUN make build [2021-04-06T06:04:10.991Z] ---> Running in c0dc0c9d1a67 [2021-04-06T06:04:11.586Z] 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-06T06:04:44.826Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-06T06:04:46.256Z] Removing intermediate container c0dc0c9d1a67 [2021-04-06T06:04:46.256Z] ---> 7eace322f0e2 [2021-04-06T06:04:46.256Z] Step 10/23 : FROM alpine:3.12 [2021-04-06T06:04:46.532Z] 3.12: Pulling from library/alpine [2021-04-06T06:04:46.806Z] 9a219e8acc52: Pulling fs layer [2021-04-06T06:04:46.806Z] 9a219e8acc52: Verifying Checksum [2021-04-06T06:04:46.806Z] 9a219e8acc52: Download complete [2021-04-06T06:04:47.402Z] 9a219e8acc52: Pull complete [2021-04-06T06:04:47.402Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-06T06:04:47.675Z] Status: Downloaded newer image for alpine:3.12 [2021-04-06T06:04:47.675Z] ---> d75e27dfc0a0 [2021-04-06T06:04:47.675Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T06:04:47.951Z] ---> Running in 6fb0fb64c631 [2021-04-06T06:04:48.223Z] Removing intermediate container 6fb0fb64c631 [2021-04-06T06:04:48.223Z] ---> 7de4974fd2b0 [2021-04-06T06:04:48.223Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T06:04:48.496Z] ---> Running in b017504b06c3 [2021-04-06T06:04:50.470Z] Removing intermediate container b017504b06c3 [2021-04-06T06:04:50.470Z] ---> 260bf649cf8b [2021-04-06T06:04:50.470Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-06T06:04:50.470Z] ---> Running in 60fabf6dc5e1 [2021-04-06T06:04:51.449Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-06T06:04:52.419Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-06T06:04:53.391Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-06T06:04:53.391Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-06T06:04:53.660Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-06T06:04:53.932Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-06T06:04:54.205Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-06T06:04:54.205Z] Executing busybox-1.31.1-r20.trigger [2021-04-06T06:04:54.205Z] OK: 8 MiB in 19 packages [2021-04-06T06:04:55.634Z] Removing intermediate container 60fabf6dc5e1 [2021-04-06T06:04:55.634Z] ---> 67f53fbd46e5 [2021-04-06T06:04:55.634Z] Step 14/23 : WORKDIR / [2021-04-06T06:04:55.634Z] ---> Running in 3607fe39c585 [2021-04-06T06:04:56.226Z] Removing intermediate container 3607fe39c585 [2021-04-06T06:04:56.226Z] ---> 1f60ba9b8509 [2021-04-06T06:04:56.226Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-06T06:04:56.821Z] ---> f2d2ba83db48 [2021-04-06T06:04:56.821Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-06T06:04:58.261Z] ---> e6e533a2e7d9 [2021-04-06T06:04:58.261Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-06T06:04:58.858Z] ---> 53ede68bd322 [2021-04-06T06:04:58.858Z] Step 18/23 : EXPOSE 49990 [2021-04-06T06:04:58.858Z] ---> Running in 48193a351e67 [2021-04-06T06:04:59.451Z] Removing intermediate container 48193a351e67 [2021-04-06T06:04:59.451Z] ---> 2a8891f4e77a [2021-04-06T06:04:59.451Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-06T06:04:59.451Z] ---> Running in c8196b81b032 [2021-04-06T06:04:59.721Z] Removing intermediate container c8196b81b032 [2021-04-06T06:04:59.721Z] ---> e568bcd0a7bc [2021-04-06T06:04:59.721Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-06T06:04:59.991Z] ---> Running in b39a8bbb770e [2021-04-06T06:05:00.295Z] Removing intermediate container b39a8bbb770e [2021-04-06T06:05:00.295Z] ---> 40132624cbfd [2021-04-06T06:05:00.295Z] Step 21/23 : LABEL arch=arm64 [2021-04-06T06:05:00.569Z] ---> Running in 22f957ea19b3 [2021-04-06T06:05:00.841Z] Removing intermediate container 22f957ea19b3 [2021-04-06T06:05:00.841Z] ---> 3b3ad1c0e6b2 [2021-04-06T06:05:00.841Z] Step 22/23 : LABEL git_sha=0d6337168db61fcb84a7ec387ee0722cf60d35ea [2021-04-06T06:05:01.119Z] ---> Running in 06f057552d4c [2021-04-06T06:05:01.396Z] Removing intermediate container 06f057552d4c [2021-04-06T06:05:01.396Z] ---> e140b7733908 [2021-04-06T06:05:01.396Z] Step 23/23 : LABEL version=0.0.0 [2021-04-06T06:05:01.678Z] ---> Running in 0657825b7584 [2021-04-06T06:05:01.948Z] Removing intermediate container 0657825b7584 [2021-04-06T06:05:01.948Z] ---> 7e961f689936 [2021-04-06T06:05:01.948Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-06T06:05:02.222Z] Successfully built 7e961f689936 [2021-04-06T06:05:02.222Z] 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-06T06:05:03.487Z] ---> job-cost.sh [2021-04-06T06:05:03.487Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TPqL [2021-04-06T06:05:42.438Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-06T06:07:19.191Z] lf-activate-venv(): INFO: Adding /tmp/venv-TPqL/bin to PATH [2021-04-06T06:07:19.191Z] INFO: No Stack... [2021-04-06T06:07:19.191Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-06T06:07:19.191Z] INFO: Archiving Costs [Pipeline] sh [2021-04-06T06:07:19.549Z] + cat+ /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-06T06:07:19.549Z] cut -d, -f6 [Pipeline] lock [2021-04-06T06:07:19.692Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-861-1-stack-cost] [2021-04-06T06:07:19.699Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-861-1-stack-cost] did not exist. Created. [2021-04-06T06:07:19.699Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-861-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-06T06:07:20.209Z] /w/workspace/device-sdk-go/1@tmp/durable-74bedeaf/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-74bedeaf/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-06T06:07:20.575Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-06T06:07:20.617Z] Warning: overwriting stash ‘stack-cost’ [2021-04-06T06:07:20.786Z] Stashed 1 file(s) [Pipeline] } [2021-04-06T06:07:20.808Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-861-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-06T06:07:22.984Z] provisioning config files... [2021-04-06T06:07:23.009Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-861@tmp/config2872669152046341193tmp [Pipeline] { [Pipeline] sh [2021-04-06T06:07:23.581Z] + set +x [2021-04-06T06:07:23.581Z] + curl -s https://codecov.io/bash [2021-04-06T06:07:23.581Z] + bash -s -- [2021-04-06T06:07:23.898Z] [2021-04-06T06:07:23.898Z] _____ _ [2021-04-06T06:07:23.898Z] / ____| | | [2021-04-06T06:07:23.898Z] | | ___ __| | ___ ___ _____ __ [2021-04-06T06:07:23.898Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-06T06:07:23.898Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-06T06:07:23.898Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-06T06:07:23.898Z] Bash-20210309-2b87ace [2021-04-06T06:07:23.898Z] [2021-04-06T06:07:23.898Z] [2021-04-06T06:07:23.898Z] ==> git version 2.24.3 found [2021-04-06T06:07:23.898Z] ==> 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-06T06:07:23.898Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-06T06:07:23.898Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-06T06:07:24.201Z] ==> Jenkins CI detected. [2021-04-06T06:07:24.201Z] project root: . [2021-04-06T06:07:24.201Z] --> token set from env [2021-04-06T06:07:24.201Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-06T06:07:24.201Z] ==> Running gcov in . (disable via -X gcov) [2021-04-06T06:07:24.201Z] ==> Python coveragepy not found [2021-04-06T06:07:24.201Z] ==> Searching for coverage reports in: [2021-04-06T06:07:24.201Z] + . [2021-04-06T06:07:24.201Z] -> Found 1 reports [2021-04-06T06:07:24.201Z] ==> Detecting git/mercurial file structure [2021-04-06T06:07:24.201Z] ==> Reading reports [2021-04-06T06:07:24.201Z] + ./coverage.out bytes=101239 [2021-04-06T06:07:24.513Z] ==> Appending adjustments [2021-04-06T06:07:24.513Z] https://docs.codecov.io/docs/fixing-reports [2021-04-06T06:07:25.144Z] + Found adjustments [2021-04-06T06:07:25.144Z] ==> Gzipping contents [2021-04-06T06:07:25.448Z] 16K /tmp/codecov.LPtIjH.gz [2021-04-06T06:07:25.448Z] ==> Uploading reports [2021-04-06T06:07:25.448Z] url: https://codecov.io [2021-04-06T06:07:25.448Z] query: branch=PR-861&commit=0d6337168db61fcb84a7ec387ee0722cf60d35ea&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-861%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=861&job=&cmd_args= [2021-04-06T06:07:25.448Z] -> Pinging Codecov [2021-04-06T06:07:25.448Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-861&commit=0d6337168db61fcb84a7ec387ee0722cf60d35ea&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-861%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=861&job=&cmd_args= [2021-04-06T06:07:26.092Z] -> Uploading to [2021-04-06T06:07:26.092Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-06/7E55EF52A471D76F132DFD9A03CDDE97/0d6337168db61fcb84a7ec387ee0722cf60d35ea/712eefd4-9287-43dc-b447-6827ab63f79e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210406T060725Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c7a18a5aad79e0bdd9105d970bf9ffaf55de392727a5cf9696d5913fb7380ee6 [2021-04-06T06:07:26.092Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-06T06:07:26.092Z] Dload Upload Total Spent Left Speed [2021-04-06T06:07:26.367Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13721 0 0 100 13721 0 29590 --:--:-- --:--:-- --:--:-- 29634 [2021-04-06T06:07:26.367Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0d6337168db61fcb84a7ec387ee0722cf60d35ea [Pipeline] } [2021-04-06T06:07:26.397Z] 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-06T06:07:29.979Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T06:07:31.056Z] ---> package-listing.sh [2021-04-06T06:07:31.056Z] ++ facter osfamily [2021-04-06T06:07:31.056Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-06T06:07:31.326Z] + OS_FAMILY=redhat [2021-04-06T06:07:31.326Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-861 [2021-04-06T06:07:31.326Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-06T06:07:31.326Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-06T06:07:31.326Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-06T06:07:31.326Z] + PACKAGES=/tmp/packages_start.txt [2021-04-06T06:07:31.326Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-861 ']' [2021-04-06T06:07:31.326Z] + PACKAGES=/tmp/packages_end.txt [2021-04-06T06:07:31.326Z] + case "${OS_FAMILY}" in [2021-04-06T06:07:31.326Z] + rpm -qa [2021-04-06T06:07:31.326Z] + sort [2021-04-06T06:07:38.120Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-06T06:07:38.121Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-06T06:07:38.121Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-06T06:07:38.121Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-861 ']' [2021-04-06T06:07:38.121Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-861/archives/ [2021-04-06T06:07:38.121Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-861/archives/ [Pipeline] echo [2021-04-06T06:07:38.190Z] 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-861/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-06T06:07:38.658Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-06T06:07:39.717Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T06:07:40.030Z] [2021-04-06T06:07:40.030Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-06T06:07:40.629Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T06:07:40.930Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-06T06:07:40.930Z] df20fa9351a1: Pulling fs layer [2021-04-06T06:07:40.930Z] 36b3adc4ff6f: Pulling fs layer [2021-04-06T06:07:40.930Z] 8ad3a11d3b57: Pulling fs layer [2021-04-06T06:07:40.930Z] 46f8f816bc3b: Pulling fs layer [2021-04-06T06:07:40.930Z] 93b61091891f: Pulling fs layer [2021-04-06T06:07:40.930Z] 93b9cdb0e59b: Pulling fs layer [2021-04-06T06:07:40.930Z] 5e14af77c1be: Pulling fs layer [2021-04-06T06:07:40.930Z] 01666e4c0597: Pulling fs layer [2021-04-06T06:07:40.930Z] aa168da1d23b: Pulling fs layer [2021-04-06T06:07:40.930Z] 93b9cdb0e59b: Waiting [2021-04-06T06:07:40.930Z] 5e14af77c1be: Waiting [2021-04-06T06:07:40.930Z] 01666e4c0597: Waiting [2021-04-06T06:07:40.930Z] aa168da1d23b: Waiting [2021-04-06T06:07:40.930Z] 46f8f816bc3b: Waiting [2021-04-06T06:07:40.930Z] 36b3adc4ff6f: Verifying Checksum [2021-04-06T06:07:40.930Z] 36b3adc4ff6f: Download complete [2021-04-06T06:07:40.930Z] 46f8f816bc3b: Verifying Checksum [2021-04-06T06:07:40.930Z] 46f8f816bc3b: Download complete [2021-04-06T06:07:41.213Z] 93b61091891f: Verifying Checksum [2021-04-06T06:07:41.213Z] 93b61091891f: Download complete [2021-04-06T06:07:41.213Z] 93b9cdb0e59b: Verifying Checksum [2021-04-06T06:07:41.213Z] 93b9cdb0e59b: Download complete [2021-04-06T06:07:41.213Z] 5e14af77c1be: Verifying Checksum [2021-04-06T06:07:41.213Z] 5e14af77c1be: Download complete [2021-04-06T06:07:41.213Z] 01666e4c0597: Verifying Checksum [2021-04-06T06:07:41.213Z] 01666e4c0597: Download complete [2021-04-06T06:07:41.508Z] df20fa9351a1: Verifying Checksum [2021-04-06T06:07:41.508Z] df20fa9351a1: Download complete [2021-04-06T06:07:41.817Z] 8ad3a11d3b57: Verifying Checksum [2021-04-06T06:07:41.817Z] 8ad3a11d3b57: Download complete [2021-04-06T06:07:42.142Z] df20fa9351a1: Pull complete [2021-04-06T06:07:42.969Z] 36b3adc4ff6f: Pull complete [2021-04-06T06:07:46.768Z] 8ad3a11d3b57: Pull complete [2021-04-06T06:07:46.768Z] 46f8f816bc3b: Pull complete [2021-04-06T06:07:47.849Z] 93b61091891f: Pull complete [2021-04-06T06:07:48.348Z] 93b9cdb0e59b: Pull complete [2021-04-06T06:07:48.757Z] aa168da1d23b: Verifying Checksum [2021-04-06T06:07:48.757Z] aa168da1d23b: Download complete [2021-04-06T06:07:49.064Z] 5e14af77c1be: Pull complete [2021-04-06T06:07:49.064Z] 01666e4c0597: Pull complete [2021-04-06T06:08:11.890Z] aa168da1d23b: Pull complete [2021-04-06T06:08:11.890Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-06T06:08:11.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T06:08:11.890Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-06T06:08:12.514Z] prd-centos7-docker-4c-2g-32897 does not seem to be running inside a container [2021-04-06T06:08:12.712Z] $ 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-861/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-861 -v /w/workspace/dgexfoundry_device-sdk-go_PR-861:/w/workspace/dgexfoundry_device-sdk-go_PR-861:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-861@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-861@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-06T06:08:19.271Z] $ docker top 0eb443ab4050b7f1ef09d3723c9924523e4bfa5f3f6f91d119735e780b719f1e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T06:08:20.910Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-06T06:08:21.353Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-06T06:08:22.067Z] + ls /var/log/sa-host [2021-04-06T06:08:22.067Z] + sadf -c /var/log/sa-host/sa06 [2021-04-06T06:08:22.067Z] file_magic: OK [2021-04-06T06:08:22.067Z] HZ: Using current value: 100 [2021-04-06T06:08:22.067Z] file_header: OK [2021-04-06T06:08:22.067Z] 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-06T06:08:22.067Z] Statistics: [2021-04-06T06:08:22.067Z] 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-06T06:08:22.067Z] File successfully converted to sysstat format version 12.2.1 [2021-04-06T06:08:22.067Z] + sadf -c /var/log/sa-host/sa23 [2021-04-06T06:08:22.067Z] file_magic: OK [2021-04-06T06:08:22.067Z] HZ: Using current value: 100 [2021-04-06T06:08:22.067Z] file_header: OK [2021-04-06T06:08:22.067Z] 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-06T06:08:22.067Z] Statistics: [2021-04-06T06:08:22.067Z] Hnuu...uuuununununu... [2021-04-06T06:08:22.067Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-06T06:08:22.802Z] provisioning config files... [2021-04-06T06:08:22.832Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-861@tmp/config7125834390299077471tmp [Pipeline] { [Pipeline] echo [2021-04-06T06:08:22.971Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T06:08:23.819Z] ---> create-netrc.sh [Pipeline] } [2021-04-06T06:08:23.860Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-06T06:08:24.003Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T06:08:24.773Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-06T06:08:24.828Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T06:08:25.528Z] ---> sudo-logs.sh [2021-04-06T06:08:25.528Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-06T06:08:25.938Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T06:08:26.545Z] ---> job-cost.sh [2021-04-06T06:08:27.096Z] lf-activate-venv: SKIPPING [2021-04-06T06:08:27.096Z] DEBUG: total: 0.20999999344348907 [2021-04-06T06:08:27.096Z] INFO: Retrieving Stack Cost... [2021-04-06T06:08:28.163Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-06T06:08:28.724Z] INFO: Archiving Costs [Pipeline] echo [2021-04-06T06:08:28.826Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T06:08:29.397Z] ---> logs-deploy.sh [2021-04-06T06:08:29.397Z] lf-activate-venv: SKIPPING [2021-04-06T06:08:29.397Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-861/1 [2021-04-06T06:08:29.397Z] INFO: archiving workspace using pattern(s): [2021-04-06T06:08:32.158Z] Archives upload complete. [2021-04-06T06:08:32.158Z] INFO: archiving logs to Nexus