Pull request #906 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 20a52fbacaac4ced11138b26b759052057872cf8+92affc97e25621ac5a3617c0e5e42feb55191c77 (ed82a08213a85fd59dd334a247411d0b12b8d9aa) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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-906/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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-906/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-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-3172 in /w/workspace/dgexfoundry_device-sdk-go_PR-906 [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-906 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit 20a52fbacaac4ced11138b26b759052057872cf8 Merge succeeded, producing 20a52fbacaac4ced11138b26b759052057872cf8 Checking out Revision 20a52fbacaac4ced11138b26b759052057872cf8 (PR-906) > 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/906/head:refs/remotes/origin/PR-906 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 20a52fbacaac4ced11138b26b759052057872cf8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 20a52fbacaac4ced11138b26b759052057872cf8 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-06T05:47:52.184Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-06T05:47:52.412Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-06T05:47:52.523Z] ========================================================= [2021-05-06T05:47:52.523Z] EdgeX Global Pipelines Version Info [2021-05-06T05:47:52.523Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-06T05:47:54.591Z] ------------------- [2021-05-06T05:47:54.591Z] stable info: [2021-05-06T05:47:54.591Z] ------------------- [2021-05-06T05:47:54.591Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-06T05:47:54.591Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T05:47:54.591Z] Message: update stable to v1.0.191 [2021-05-06T05:47:55.558Z] ------------------- [2021-05-06T05:47:55.558Z] experimental info: [2021-05-06T05:47:55.558Z] ------------------- [2021-05-06T05:47:55.558Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-06T05:47:55.558Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T05:47:55.558Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-06T05:47:55.809Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-06T05:47:55.866Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-06T05:47:55.925Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-06T05:47:55.982Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-06T05:47:56.037Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-06T05:47:56.093Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-06T05:47:56.148Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-06T05:47:56.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-06T05:47:56.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-06T05:47:56.322Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-06T05:47:56.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-06T05:47:56.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-05-06T05:47:56.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-06T05:47:56.553Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-06T05:47:56.605Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-06T05:47:56.659Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T05:47:56.710Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T05:47:56.794Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T05:47:56.874Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-06T05:47:56.936Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-06T05:47:56.996Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-06T05:47:57.055Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-06T05:47:57.128Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-06T05:47:57.185Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-06T05:47:57.238Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-06T05:47:57.291Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-06T05:47:57.345Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-906 [Pipeline] echo [2021-05-06T05:47:57.398Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-906 [Pipeline] echo [2021-05-06T05:47:57.454Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-906 [Pipeline] echo [2021-05-06T05:47:57.508Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 20a52fbacaac4ced11138b26b759052057872cf8 [Pipeline] echo [2021-05-06T05:47:57.560Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 20a52fb [Pipeline] echo [2021-05-06T05:47:57.624Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T05:47:57.783Z] provisioning config files... [2021-05-06T05:47:57.839Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp/config7216145659018436833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T05:47:58.277Z] ---> docker-login.sh [2021-05-06T05:47:58.277Z] nexus3.edgexfoundry.org:10001 [2021-05-06T05:47:58.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T05:47:58.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T05:47:58.866Z] Configure a credential helper to remove this warning. See [2021-05-06T05:47:58.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T05:47:58.866Z] [2021-05-06T05:47:58.866Z] Login Succeeded [2021-05-06T05:47:58.866Z] nexus3.edgexfoundry.org:10002 [2021-05-06T05:47:59.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T05:47:59.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T05:47:59.427Z] Configure a credential helper to remove this warning. See [2021-05-06T05:47:59.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T05:47:59.428Z] [2021-05-06T05:47:59.428Z] Login Succeeded [2021-05-06T05:47:59.428Z] nexus3.edgexfoundry.org:10003 [2021-05-06T05:47:59.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T05:47:59.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T05:47:59.700Z] Configure a credential helper to remove this warning. See [2021-05-06T05:47:59.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T05:47:59.700Z] [2021-05-06T05:47:59.700Z] Login Succeeded [2021-05-06T05:47:59.700Z] nexus3.edgexfoundry.org:10004 [2021-05-06T05:47:59.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T05:47:59.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T05:47:59.978Z] Configure a credential helper to remove this warning. See [2021-05-06T05:47:59.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T05:47:59.978Z] [2021-05-06T05:47:59.978Z] Login Succeeded [2021-05-06T05:47:59.978Z] docker.io [2021-05-06T05:48:00.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T05:48:00.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T05:48:00.509Z] Configure a credential helper to remove this warning. See [2021-05-06T05:48:00.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T05:48:00.509Z] [2021-05-06T05:48:00.509Z] Login Succeeded [2021-05-06T05:48:00.509Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T05:48:00.537Z] 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-05-06T05:48:01.441Z] + git log --format=format:%s -1 20a52fbacaac4ced11138b26b759052057872cf8 [Pipeline] echo [2021-05-06T05:48:01.614Z] GIT_COMMIT: 20a52fbacaac4ced11138b26b759052057872cf8, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-05-06T05:48:01.656Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-06T05:48:02.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T05:48:03.019Z] [2021-05-06T05:48:03.019Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T05:48:03.424Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T05:48:03.424Z] latest: Pulling from edgex-devops/git-semver [2021-05-06T05:48:03.424Z] 31603596830f: Pulling fs layer [2021-05-06T05:48:03.424Z] 54011a49482f: Pulling fs layer [2021-05-06T05:48:03.424Z] a6820b24f6d8: Pulling fs layer [2021-05-06T05:48:03.424Z] f581987b2513: Pulling fs layer [2021-05-06T05:48:03.424Z] f581987b2513: Waiting [2021-05-06T05:48:03.725Z] 54011a49482f: Verifying Checksum [2021-05-06T05:48:03.725Z] 54011a49482f: Download complete [2021-05-06T05:48:04.020Z] 31603596830f: Verifying Checksum [2021-05-06T05:48:04.020Z] 31603596830f: Download complete [2021-05-06T05:48:04.322Z] f581987b2513: Verifying Checksum [2021-05-06T05:48:04.322Z] f581987b2513: Download complete [2021-05-06T05:48:04.322Z] a6820b24f6d8: Verifying Checksum [2021-05-06T05:48:04.322Z] a6820b24f6d8: Download complete [2021-05-06T05:48:04.928Z] 31603596830f: Pull complete [2021-05-06T05:48:05.200Z] 54011a49482f: Pull complete [2021-05-06T05:48:06.176Z] a6820b24f6d8: Pull complete [2021-05-06T05:48:06.441Z] f581987b2513: Pull complete [2021-05-06T05:48:06.441Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-06T05:48:06.706Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T05:48:06.706Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-06T05:48:06.895Z] prd-centos7-docker-4c-2g-3172 does not seem to be running inside a container [2021-05-06T05:48:06.954Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-906 -v /w/workspace/dgexfoundry_device-sdk-go_PR-906:/w/workspace/dgexfoundry_device-sdk-go_PR-906:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-906@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-05-06T05:48:09.086Z] $ docker top 194c66e05295db8b3882ba12d2579ff813bedf255f35739ee08fbf45844c747b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-06T05:48:09.350Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T05:48:09.350Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T05:48:09.690Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T05:48:09.694Z] $ docker exec 194c66e05295db8b3882ba12d2579ff813bedf255f35739ee08fbf45844c747b ssh-agent [2021-05-06T05:48:09.937Z] SSH_AUTH_SOCK=/tmp/ssh-2MxJFZzUeweF/agent.11 [2021-05-06T05:48:09.937Z] SSH_AGENT_PID=17 [2021-05-06T05:48:09.949Z] Running ssh-add (command line suppressed) [2021-05-06T05:48:10.079Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp/private_key_6918073951288550885.key (/w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp/private_key_6918073951288550885.key) [2021-05-06T05:48:10.143Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T05:48:10.511Z] + git tag --points-at HEAD [Pipeline] } [2021-05-06T05:48:10.564Z] $ docker exec --env ******** --env ******** 194c66e05295db8b3882ba12d2579ff813bedf255f35739ee08fbf45844c747b ssh-agent -k [2021-05-06T05:48:10.710Z] unset SSH_AUTH_SOCK; [2021-05-06T05:48:10.718Z] unset SSH_AGENT_PID; [2021-05-06T05:48:10.718Z] echo Agent pid 17 killed; [2021-05-06T05:48:10.770Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-06T05:48:10.863Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T05:48:10.863Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T05:48:11.122Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T05:48:11.126Z] $ docker exec 194c66e05295db8b3882ba12d2579ff813bedf255f35739ee08fbf45844c747b ssh-agent [2021-05-06T05:48:11.331Z] SSH_AUTH_SOCK=/tmp/ssh-CTicpaPjDqZs/agent.47 [2021-05-06T05:48:11.331Z] SSH_AGENT_PID=52 [2021-05-06T05:48:11.338Z] Running ssh-add (command line suppressed) [2021-05-06T05:48:11.471Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp/private_key_351038452374520925.key (/w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp/private_key_351038452374520925.key) [2021-05-06T05:48:11.541Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T05:48:11.938Z] + git semver init [2021-05-06T05:48:11.939Z] # -> Open(): unable to determine branch for HEAD [2021-05-06T05:48:11.939Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-906/.git [2021-05-06T05:48:11.939Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-906 [2021-05-06T05:48:11.939Z] # $SEMVER_REMOTE_NAME = origin [2021-05-06T05:48:11.939Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-06T05:48:11.939Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-06T05:48:11.939Z] # $SEMVER_BRANCH = PR-906 [2021-05-06T05:48:11.939Z] # $SEMVER_TEMP = /tmp/semver-406434914 [2021-05-06T05:48:11.939Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-06T05:48:12.904Z] # '/tmp/semver-406434914' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-906/.semver' [2021-05-06T05:48:12.904Z] # -> Force: false [2021-05-06T05:48:12.904Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-906/.semver [Pipeline] } [2021-05-06T05:48:12.950Z] $ docker exec --env ******** --env ******** 194c66e05295db8b3882ba12d2579ff813bedf255f35739ee08fbf45844c747b ssh-agent -k [2021-05-06T05:48:13.098Z] unset SSH_AUTH_SOCK; [2021-05-06T05:48:13.098Z] unset SSH_AGENT_PID; [2021-05-06T05:48:13.099Z] echo Agent pid 52 killed; [2021-05-06T05:48:13.193Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-06T05:48:13.684Z] + git semver [Pipeline] } [2021-05-06T05:48:13.718Z] $ docker stop --time=1 194c66e05295db8b3882ba12d2579ff813bedf255f35739ee08fbf45844c747b [2021-05-06T05:48:15.247Z] $ docker rm -f 194c66e05295db8b3882ba12d2579ff813bedf255f35739ee08fbf45844c747b [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T05:48:15.716Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-06T05:48:16.188Z] Stashed 1 file(s) [Pipeline] echo [2021-05-06T05:48:16.213Z] [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-05-06T05:48:31.763Z] Still waiting to schedule task [2021-05-06T05:48:31.764Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3172’ [2021-05-06T05:48:31.794Z] Still waiting to schedule task [2021-05-06T05:48:31.794Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ is offline [2021-05-06T05:50:21.017Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3173 in /w/workspace/dgexfoundry_device-sdk-go_PR-906 [Pipeline] { [Pipeline] ws [2021-05-06T05:50:21.085Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-06T05:50:26.926Z] using credential edgex-jenkins-ssh [2021-05-06T05:50:26.944Z] Cloning the remote Git repository [2021-05-06T05:50:26.972Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T05:50:27.077Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-06T05:50:27.155Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T05:50:27.156Z] > git --version # timeout=10 [2021-05-06T05:50:27.175Z] > git --version # 'git version 2.17.1' [2021-05-06T05:50:27.176Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T05:50:27.249Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T05:50:28.486Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-06T05:50:28.519Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T05:50:28.550Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-06T05:50:28.593Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T05:50:28.593Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T05:50:28.606Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/906/head:refs/remotes/origin/PR-906 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T05:50:29.112Z] Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit 20a52fbacaac4ced11138b26b759052057872cf8 [2021-05-06T05:50:29.330Z] Merge succeeded, producing 20a52fbacaac4ced11138b26b759052057872cf8 [2021-05-06T05:50:29.331Z] Checking out Revision 20a52fbacaac4ced11138b26b759052057872cf8 (PR-906) [2021-05-06T05:50:29.113Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T05:50:29.133Z] > git checkout -f 20a52fbacaac4ced11138b26b759052057872cf8 # timeout=10 [2021-05-06T05:50:29.231Z] > git remote # timeout=10 [2021-05-06T05:50:29.248Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T05:50:29.263Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T05:50:29.273Z] > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 [2021-05-06T05:50:29.295Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T05:50:29.318Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T05:50:29.333Z] > git checkout -f 20a52fbacaac4ced11138b26b759052057872cf8 # timeout=10 [2021-05-06T05:50:33.658Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-05-06T05:50:33.703Z] > git --version # timeout=10 [2021-05-06T05:50:33.722Z] > git --version # 'git version 2.17.1' [2021-05-06T05:50:33.739Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T05:50:35.357Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-06T05:50:35.794Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T05:50:36.160Z] + true [2021-05-06T05:50:36.160Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T05:50:38.238Z] provisioning config files... [2021-05-06T05:50:38.282Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6204315952984379945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T05:50:38.716Z] ---> docker-login.sh [2021-05-06T05:50:38.716Z] nexus3.edgexfoundry.org:10001 [2021-05-06T05:50:39.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T05:50:39.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T05:50:39.974Z] Configure a credential helper to remove this warning. See [2021-05-06T05:50:39.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T05:50:39.974Z] [2021-05-06T05:50:39.974Z] Login Succeeded [2021-05-06T05:50:39.974Z] nexus3.edgexfoundry.org:10002 [2021-05-06T05:50:40.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T05:50:40.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T05:50:40.580Z] Configure a credential helper to remove this warning. See [2021-05-06T05:50:40.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T05:50:40.580Z] [2021-05-06T05:50:40.580Z] Login Succeeded [2021-05-06T05:50:40.580Z] nexus3.edgexfoundry.org:10003 [2021-05-06T05:50:40.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T05:50:41.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T05:50:41.130Z] Configure a credential helper to remove this warning. See [2021-05-06T05:50:41.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T05:50:41.130Z] [2021-05-06T05:50:41.130Z] Login Succeeded [2021-05-06T05:50:41.130Z] nexus3.edgexfoundry.org:10004 [2021-05-06T05:50:41.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T05:50:41.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T05:50:41.678Z] Configure a credential helper to remove this warning. See [2021-05-06T05:50:41.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T05:50:41.678Z] [2021-05-06T05:50:41.678Z] Login Succeeded [2021-05-06T05:50:41.678Z] docker.io [2021-05-06T05:50:41.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T05:50:42.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T05:50:42.545Z] Configure a credential helper to remove this warning. See [2021-05-06T05:50:42.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T05:50:42.545Z] [2021-05-06T05:50:42.545Z] Login Succeeded [2021-05-06T05:50:42.545Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T05:50:42.587Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-06T05:50:43.066Z] ========================================================= [2021-05-06T05:50:43.066Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-06T05:50:43.066Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T05:50:43.475Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-06T05:50:44.080Z] Sending build context to Docker daemon 2.466MB [2021-05-06T05:50:44.080Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T05:50:44.080Z] Step 2/8 : FROM ${BASE} [2021-05-06T05:50:44.080Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-06T05:50:44.080Z] 595b0fe564bb: Pulling fs layer [2021-05-06T05:50:44.080Z] 7186ed65a4f7: Pulling fs layer [2021-05-06T05:50:44.080Z] 316046926c0a: Pulling fs layer [2021-05-06T05:50:44.080Z] 4ebd0625c992: Pulling fs layer [2021-05-06T05:50:44.080Z] 207e8628e3a3: Pulling fs layer [2021-05-06T05:50:44.080Z] c791037a9be2: Pulling fs layer [2021-05-06T05:50:44.080Z] ffd874e62e21: Pulling fs layer [2021-05-06T05:50:44.080Z] 4ebd0625c992: Waiting [2021-05-06T05:50:44.080Z] 207e8628e3a3: Waiting [2021-05-06T05:50:44.080Z] c791037a9be2: Waiting [2021-05-06T05:50:44.080Z] ffd874e62e21: Waiting [2021-05-06T05:50:44.080Z] 316046926c0a: Verifying Checksum [2021-05-06T05:50:44.080Z] 7186ed65a4f7: Verifying Checksum [2021-05-06T05:50:44.080Z] 7186ed65a4f7: Download complete [2021-05-06T05:50:44.080Z] 207e8628e3a3: Verifying Checksum [2021-05-06T05:50:44.080Z] 207e8628e3a3: Download complete [2021-05-06T05:50:44.080Z] c791037a9be2: Download complete [2021-05-06T05:50:44.080Z] 595b0fe564bb: Verifying Checksum [2021-05-06T05:50:44.080Z] 595b0fe564bb: Download complete [2021-05-06T05:50:45.070Z] 595b0fe564bb: Pull complete [2021-05-06T05:50:45.356Z] 7186ed65a4f7: Pull complete [2021-05-06T05:50:45.969Z] 316046926c0a: Pull complete [2021-05-06T05:50:46.567Z] ffd874e62e21: Verifying Checksum [2021-05-06T05:50:46.567Z] ffd874e62e21: Download complete [2021-05-06T05:50:48.546Z] 4ebd0625c992: Verifying Checksum [2021-05-06T05:50:48.546Z] 4ebd0625c992: Download complete [2021-05-06T05:50:58.708Z] 4ebd0625c992: Pull complete [2021-05-06T05:50:58.708Z] 207e8628e3a3: Pull complete [2021-05-06T05:50:58.981Z] c791037a9be2: Pull complete [2021-05-06T05:51:03.306Z] ffd874e62e21: Pull complete [2021-05-06T05:51:03.306Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-06T05:51:03.306Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-06T05:51:03.307Z] ---> cfc18b08335c [2021-05-06T05:51:03.307Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T05:51:05.727Z] Running on prd-centos7-docker-4c-2g-3174 in /w/workspace/dgexfoundry_device-sdk-go_PR-906 [Pipeline] { [Pipeline] ws [2021-05-06T05:51:05.780Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-06T05:51:05.966Z] ---> Running in e6888a1529cb [2021-05-06T05:51:05.966Z] Removing intermediate container e6888a1529cb [2021-05-06T05:51:05.966Z] ---> 1b629c874f36 [2021-05-06T05:51:05.966Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T05:51:05.966Z] ---> Running in 8692ebbafc7c [2021-05-06T05:51:08.581Z] using credential edgex-jenkins-ssh [2021-05-06T05:51:08.592Z] Cloning the remote Git repository [2021-05-06T05:51:08.603Z] Removing intermediate container 8692ebbafc7c [2021-05-06T05:51:08.603Z] ---> 9e9e504cff6c [2021-05-06T05:51:08.603Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-06T05:51:08.603Z] ---> Running in 8c220f326fad [2021-05-06T05:51:08.487Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T05:51:08.555Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-06T05:51:08.621Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T05:51:08.622Z] > git --version # timeout=10 [2021-05-06T05:51:08.628Z] > git --version # 'git version 2.24.3' [2021-05-06T05:51:08.629Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T05:51:08.655Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T05:51:09.589Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T05:51:10.038Z] Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit 20a52fbacaac4ced11138b26b759052057872cf8 [2021-05-06T05:51:10.131Z] Merge succeeded, producing 20a52fbacaac4ced11138b26b759052057872cf8 [2021-05-06T05:51:10.131Z] Checking out Revision 20a52fbacaac4ced11138b26b759052057872cf8 (PR-906) [2021-05-06T05:51:09.565Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-06T05:51:09.573Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T05:51:09.597Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-06T05:51:09.612Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T05:51:09.612Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T05:51:09.617Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/906/head:refs/remotes/origin/PR-906 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T05:51:10.037Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T05:51:10.042Z] > git checkout -f 20a52fbacaac4ced11138b26b759052057872cf8 # timeout=10 [2021-05-06T05:51:10.091Z] > git remote # timeout=10 [2021-05-06T05:51:10.098Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T05:51:10.104Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T05:51:10.109Z] > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 [2021-05-06T05:51:10.121Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T05:51:10.132Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T05:51:10.138Z] > git checkout -f 20a52fbacaac4ced11138b26b759052057872cf8 # timeout=10 [2021-05-06T05:51:11.020Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T05:51:11.996Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-06T05:51:12.268Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-06T05:51:12.268Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-06T05:51:12.540Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-06T05:51:12.540Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-06T05:51:12.815Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-06T05:51:12.815Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T05:51:12.815Z] OK: 139 MiB in 46 packages [2021-05-06T05:51:13.751Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-05-06T05:51:13.777Z] > git --version # timeout=10 [2021-05-06T05:51:13.783Z] > git --version # 'git version 2.24.3' [2021-05-06T05:51:13.789Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-05-06T05:51:14.251Z] Removing intermediate container 8c220f326fad [2021-05-06T05:51:14.251Z] ---> b0833e9361f9 [2021-05-06T05:51:14.251Z] Step 6/8 : WORKDIR /device-sdk-go [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T05:51:14.527Z] ---> Running in a0c233eca930 [2021-05-06T05:51:15.036Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-06T05:51:15.123Z] Removing intermediate container a0c233eca930 [2021-05-06T05:51:15.123Z] ---> a84ac48237c1 [2021-05-06T05:51:15.123Z] Step 7/8 : COPY . . [2021-05-06T05:51:15.384Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T05:51:15.715Z] + sudo service docker restart [2021-05-06T05:51:15.715Z] + true [2021-05-06T05:51:15.715Z] Redirecting to /bin/systemctl restart docker.service [2021-05-06T05:51:16.105Z] ---> 4c908ede9e25 [2021-05-06T05:51:16.105Z] Step 8/8 : RUN go mod download [2021-05-06T05:51:16.379Z] ---> Running in aea3e2f1ee00 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T05:51:16.765Z] provisioning config files... [2021-05-06T05:51:16.795Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4685253569523479259tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T05:51:17.161Z] ---> docker-login.sh [2021-05-06T05:51:17.161Z] nexus3.edgexfoundry.org:10001 [2021-05-06T05:51:17.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T05:51:17.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T05:51:17.430Z] Configure a credential helper to remove this warning. See [2021-05-06T05:51:17.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T05:51:17.430Z] [2021-05-06T05:51:17.430Z] Login Succeeded [2021-05-06T05:51:17.430Z] nexus3.edgexfoundry.org:10002 [2021-05-06T05:51:17.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T05:51:17.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T05:51:17.692Z] Configure a credential helper to remove this warning. See [2021-05-06T05:51:17.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T05:51:17.692Z] [2021-05-06T05:51:17.692Z] Login Succeeded [2021-05-06T05:51:17.692Z] nexus3.edgexfoundry.org:10003 [2021-05-06T05:51:17.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T05:51:17.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T05:51:17.955Z] Configure a credential helper to remove this warning. See [2021-05-06T05:51:17.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T05:51:17.955Z] [2021-05-06T05:51:17.955Z] Login Succeeded [2021-05-06T05:51:17.955Z] nexus3.edgexfoundry.org:10004 [2021-05-06T05:51:17.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T05:51:18.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T05:51:18.217Z] Configure a credential helper to remove this warning. See [2021-05-06T05:51:18.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T05:51:18.217Z] [2021-05-06T05:51:18.217Z] Login Succeeded [2021-05-06T05:51:18.217Z] docker.io [2021-05-06T05:51:18.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T05:51:18.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T05:51:18.481Z] Configure a credential helper to remove this warning. See [2021-05-06T05:51:18.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T05:51:18.481Z] [2021-05-06T05:51:18.481Z] Login Succeeded [2021-05-06T05:51:18.481Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T05:51:18.506Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-06T05:51:18.793Z] ========================================================= [2021-05-06T05:51:18.793Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-06T05:51:18.793Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T05:51:19.132Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-06T05:51:19.132Z] Sending build context to Docker daemon 2.464MB [2021-05-06T05:51:19.132Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T05:51:19.132Z] Step 2/8 : FROM ${BASE} [2021-05-06T05:51:19.396Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-06T05:51:19.396Z] 540db60ca938: Pulling fs layer [2021-05-06T05:51:19.396Z] adcc1eea9eea: Pulling fs layer [2021-05-06T05:51:19.396Z] 4c4ab2625f07: Pulling fs layer [2021-05-06T05:51:19.396Z] 0510c868ecb4: Pulling fs layer [2021-05-06T05:51:19.396Z] afea3b2eda06: Pulling fs layer [2021-05-06T05:51:19.396Z] 7809a108b3ef: Pulling fs layer [2021-05-06T05:51:19.396Z] f706445af74f: Pulling fs layer [2021-05-06T05:51:19.396Z] 0510c868ecb4: Waiting [2021-05-06T05:51:19.396Z] 7809a108b3ef: Waiting [2021-05-06T05:51:19.396Z] f706445af74f: Waiting [2021-05-06T05:51:19.396Z] afea3b2eda06: Waiting [2021-05-06T05:51:19.396Z] 4c4ab2625f07: Verifying Checksum [2021-05-06T05:51:19.396Z] 4c4ab2625f07: Download complete [2021-05-06T05:51:19.396Z] adcc1eea9eea: Download complete [2021-05-06T05:51:19.396Z] afea3b2eda06: Verifying Checksum [2021-05-06T05:51:19.396Z] afea3b2eda06: Download complete [2021-05-06T05:51:19.396Z] 540db60ca938: Verifying Checksum [2021-05-06T05:51:19.396Z] 540db60ca938: Download complete [2021-05-06T05:51:19.396Z] 7809a108b3ef: Verifying Checksum [2021-05-06T05:51:19.396Z] 7809a108b3ef: Download complete [2021-05-06T05:51:19.663Z] 540db60ca938: Pull complete [2021-05-06T05:51:19.926Z] adcc1eea9eea: Pull complete [2021-05-06T05:51:19.926Z] 4c4ab2625f07: Pull complete [2021-05-06T05:51:21.325Z] f706445af74f: Verifying Checksum [2021-05-06T05:51:21.325Z] f706445af74f: Download complete [2021-05-06T05:51:22.287Z] 0510c868ecb4: Verifying Checksum [2021-05-06T05:51:22.287Z] 0510c868ecb4: Download complete [2021-05-06T05:51:28.006Z] 0510c868ecb4: Pull complete [2021-05-06T05:51:28.006Z] afea3b2eda06: Pull complete [2021-05-06T05:51:28.006Z] 7809a108b3ef: Pull complete [2021-05-06T05:51:36.203Z] f706445af74f: Pull complete [2021-05-06T05:51:36.203Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-06T05:51:36.203Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-06T05:51:36.203Z] ---> b068be0155e3 [2021-05-06T05:51:36.203Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T05:51:36.203Z] ---> Running in 81926dc5cb95 [2021-05-06T05:51:36.203Z] Removing intermediate container 81926dc5cb95 [2021-05-06T05:51:36.203Z] ---> a8afff847769 [2021-05-06T05:51:36.203Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T05:51:36.203Z] ---> Running in 8535a046a026 [2021-05-06T05:51:37.182Z] Removing intermediate container 8535a046a026 [2021-05-06T05:51:37.182Z] ---> fcaceceb7400 [2021-05-06T05:51:37.182Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-06T05:51:37.182Z] ---> Running in 20944f7b1f64 [2021-05-06T05:51:38.134Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T05:51:39.525Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T05:51:40.473Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-06T05:51:40.473Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-06T05:51:40.735Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-06T05:51:40.735Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-06T05:51:40.999Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-06T05:51:41.260Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-06T05:51:41.260Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T05:51:41.260Z] OK: 150 MiB in 46 packages [2021-05-06T05:51:42.215Z] Removing intermediate container 20944f7b1f64 [2021-05-06T05:51:42.215Z] ---> 979e08739e39 [2021-05-06T05:51:42.215Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-06T05:51:42.215Z] ---> Running in f0146e1bae49 [2021-05-06T05:51:42.215Z] Removing intermediate container f0146e1bae49 [2021-05-06T05:51:42.215Z] ---> 24c66d93a04a [2021-05-06T05:51:42.215Z] Step 7/8 : COPY . . [2021-05-06T05:51:43.607Z] ---> 714e427805d8 [2021-05-06T05:51:43.607Z] Step 8/8 : RUN go mod download [2021-05-06T05:51:43.607Z] ---> Running in 961162ddd2d0 [2021-05-06T05:51:48.728Z] Removing intermediate container aea3e2f1ee00 [2021-05-06T05:51:48.728Z] ---> 9f5d9aec8602 [2021-05-06T05:51:48.728Z] Successfully built 9f5d9aec8602 [2021-05-06T05:51:48.728Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T05:51:49.121Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T05:51:49.121Z] . [Pipeline] withDockerContainer [2021-05-06T05:51:49.411Z] prd-ubuntu18.04-docker-arm64-4c-16g-3173 does not seem to be running inside a container [2021-05-06T05:51:49.494Z] $ 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-05-06T05:51:51.036Z] $ docker top 796e203a13ac13eefa23a1eedb2861a9b3646f44047ddc7ff1ebdefaa02de286 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T05:51:52.061Z] + go version [2021-05-06T05:51:52.061Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-06T05:51:52.096Z] $ docker stop --time=1 796e203a13ac13eefa23a1eedb2861a9b3646f44047ddc7ff1ebdefaa02de286 [2021-05-06T05:51:54.251Z] $ docker rm -f 796e203a13ac13eefa23a1eedb2861a9b3646f44047ddc7ff1ebdefaa02de286 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T05:51:55.195Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T05:51:55.195Z] . [Pipeline] withDockerContainer [2021-05-06T05:51:55.495Z] prd-ubuntu18.04-docker-arm64-4c-16g-3173 does not seem to be running inside a container [2021-05-06T05:51:55.581Z] $ 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-05-06T05:51:57.237Z] $ docker top 64c26985053e43094b0e73fa7cbd5fda008d31e8cc26bbf3b8983487fe7be476 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T05:51:58.233Z] + go mod tidy [Pipeline] sh [2021-05-06T05:51:59.512Z] + make test [2021-05-06T05:51:59.512Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-06T05:52:05.650Z] Removing intermediate container 961162ddd2d0 [2021-05-06T05:52:05.650Z] ---> 23d7b67751d8 [2021-05-06T05:52:05.650Z] Successfully built 23d7b67751d8 [2021-05-06T05:52:05.650Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T05:52:06.009Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T05:52:06.009Z] . [Pipeline] withDockerContainer [2021-05-06T05:52:06.165Z] prd-centos7-docker-4c-2g-3174 does not seem to be running inside a container [2021-05-06T05:52:06.215Z] $ 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-05-06T05:52:07.067Z] $ docker top 7490df9eb18bc483854bdb231d59ae7f9f65aba3bf2025aafc8fe9511a7d7edf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T05:52:07.552Z] + go version [2021-05-06T05:52:07.552Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-06T05:52:07.585Z] $ docker stop --time=1 7490df9eb18bc483854bdb231d59ae7f9f65aba3bf2025aafc8fe9511a7d7edf [2021-05-06T05:52:08.984Z] $ docker rm -f 7490df9eb18bc483854bdb231d59ae7f9f65aba3bf2025aafc8fe9511a7d7edf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T05:52:09.764Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T05:52:09.764Z] . [Pipeline] withDockerContainer [2021-05-06T05:52:09.881Z] prd-centos7-docker-4c-2g-3174 does not seem to be running inside a container [2021-05-06T05:52:09.930Z] $ 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-05-06T05:52:10.572Z] $ docker top a485dce849f82cce7bd3f39e47f8dfaf0e5087b0b2da540eae3376e4926ecc32 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T05:52:11.037Z] + go mod tidy [Pipeline] sh [2021-05-06T05:52:12.065Z] + make test [2021-05-06T05:52:12.065Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-06T05:52:20.375Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-06T05:52:21.772Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-06T05:52:47.098Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-06T05:52:47.098Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-06T05:52:47.098Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-06T05:52:47.098Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-06T05:52:47.098Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-06T05:52:47.098Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.078s coverage: 28.1% of statements [2021-05-06T05:52:47.098Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.072s coverage: 78.9% of statements [2021-05-06T05:52:47.098Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.083s coverage: 7.8% of statements [2021-05-06T05:52:47.098Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-06T05:52:47.098Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-06T05:52:47.098Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-06T05:52:47.098Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.085s coverage: 30.2% of statements [2021-05-06T05:52:47.098Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-06T05:52:47.098Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-06T05:52:47.098Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-06T05:52:48.504Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.110s coverage: 57.2% of statements [2021-05-06T05:52:48.504Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.233s coverage: 6.6% of statements [2021-05-06T05:52:48.504Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 5.0% of statements [2021-05-06T05:52:48.504Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-06T05:52:48.504Z] GO111MODULE=on go vet ./... [2021-05-06T05:53:10.619Z] gofmt -l . [2021-05-06T05:53:10.619Z] [ "`gofmt -l .`" = "" ] [2021-05-06T05:53:10.619Z] ./bin/test-attribution-txt.sh [2021-05-06T05:53:10.619Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-06T05:53:10.654Z] $ docker stop --time=1 a485dce849f82cce7bd3f39e47f8dfaf0e5087b0b2da540eae3376e4926ecc32 [2021-05-06T05:53:12.411Z] $ docker rm -f a485dce849f82cce7bd3f39e47f8dfaf0e5087b0b2da540eae3376e4926ecc32 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T05:53:13.140Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T05:53:13.552Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-06T05:53:16.234Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-06T05:53:16.559Z] + ls -al . [2021-05-06T05:53:16.559Z] total 188 [2021-05-06T05:53:16.559Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 6 05:53 . [2021-05-06T05:53:16.559Z] drwxrwxr-x. 4 jenkins jenkins 28 May 6 05:51 .. [2021-05-06T05:53:16.559Z] drwxrwxr-x. 2 jenkins jenkins 64 May 6 05:51 bin [2021-05-06T05:53:16.559Z] -rw-r--r--. 1 jenkins jenkins 100320 May 6 05:52 coverage.out [2021-05-06T05:53:16.559Z] -rw-rw-r--. 1 jenkins jenkins 987 May 6 05:51 Dockerfile.build [2021-05-06T05:53:16.559Z] -rw-rw-r--. 1 jenkins jenkins 140 May 6 05:51 .dockerignore [2021-05-06T05:53:16.559Z] drwxrwxr-x. 5 jenkins jenkins 62 May 6 05:51 example [2021-05-06T05:53:16.559Z] drwxrwxr-x. 8 jenkins jenkins 179 May 6 05:51 .git [2021-05-06T05:53:16.559Z] drwxrwxr-x. 2 jenkins jenkins 103 May 6 05:51 .github [2021-05-06T05:53:16.559Z] -rw-rw-r--. 1 jenkins jenkins 138 May 6 05:51 .gitignore [2021-05-06T05:53:16.559Z] -rw-r--r--. 1 jenkins jenkins 575 May 6 05:53 go.mod [2021-05-06T05:53:16.559Z] -rw-r--r--. 1 jenkins jenkins 20675 May 6 05:52 go.sum [2021-05-06T05:53:16.559Z] drwxrwxr-x. 14 jenkins jenkins 207 May 6 05:51 internal [2021-05-06T05:53:16.559Z] -rw-rw-r--. 1 jenkins jenkins 901 May 6 05:51 Jenkinsfile [2021-05-06T05:53:16.559Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 6 05:51 LICENSE [2021-05-06T05:53:16.559Z] -rw-rw-r--. 1 jenkins jenkins 1022 May 6 05:51 Makefile [2021-05-06T05:53:16.559Z] drwxrwxr-x. 4 jenkins jenkins 26 May 6 05:51 openapi [2021-05-06T05:53:16.559Z] drwxrwxr-x. 5 jenkins jenkins 50 May 6 05:51 pkg [2021-05-06T05:53:16.559Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 6 05:51 README.md [2021-05-06T05:53:16.559Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 6 05:51 RELEASE-NOTES.txt [2021-05-06T05:53:16.559Z] drwxrwxr-x. 4 jenkins jenkins 54 May 6 05:51 snap [2021-05-06T05:53:16.559Z] -rw-rw-r--. 1 jenkins jenkins 5 May 6 05:48 VERSION [2021-05-06T05:53:16.559Z] -rw-rw-r--. 1 jenkins jenkins 222 May 6 05:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-06T05:53:16.905Z] + 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=20a52fbacaac4ced11138b26b759052057872cf8 --label arch=amd64 --label version=0.0.0 . [2021-05-06T05:53:17.169Z] Sending build context to Docker daemon 2.565MB [2021-05-06T05:53:17.169Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T05:53:17.169Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-06T05:53:17.169Z] ---> 23d7b67751d8 [2021-05-06T05:53:17.169Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-06T05:53:17.744Z] ---> Running in d6289a22266b [2021-05-06T05:53:18.007Z] Removing intermediate container d6289a22266b [2021-05-06T05:53:18.007Z] ---> c2184e12ccb9 [2021-05-06T05:53:18.007Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T05:53:18.007Z] ---> Running in b5ba020b2eba [2021-05-06T05:53:18.271Z] Removing intermediate container b5ba020b2eba [2021-05-06T05:53:18.271Z] ---> 30cb764902a3 [2021-05-06T05:53:18.271Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T05:53:18.535Z] ---> Running in 07eed282c42b [2021-05-06T05:53:19.488Z] Removing intermediate container 07eed282c42b [2021-05-06T05:53:19.488Z] ---> a7e4b47c7a9b [2021-05-06T05:53:19.488Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-06T05:53:19.488Z] ---> Running in 44994ca6c15c [2021-05-06T05:53:20.081Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T05:53:21.039Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T05:53:21.627Z] OK: 150 MiB in 46 packages [2021-05-06T05:53:22.207Z] Removing intermediate container 44994ca6c15c [2021-05-06T05:53:22.207Z] ---> 3ecc89fafa46 [2021-05-06T05:53:22.207Z] Step 7/23 : COPY . . [2021-05-06T05:53:23.171Z] ---> 70c408f4458e [2021-05-06T05:53:23.171Z] Step 8/23 : RUN go mod download [2021-05-06T05:53:23.171Z] ---> Running in 9000eafa265e [2021-05-06T05:53:24.129Z] Removing intermediate container 9000eafa265e [2021-05-06T05:53:24.129Z] ---> 6f127dd7b1fc [2021-05-06T05:53:24.129Z] Step 9/23 : RUN make build [2021-05-06T05:53:24.391Z] ---> Running in abb917382865 [2021-05-06T05:53:24.672Z] 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-05-06T05:53:29.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-06T05:53:29.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-06T05:53:29.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-06T05:53:29.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-06T05:53:29.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-06T05:53:31.848Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.132s coverage: 28.1% of statements [2021-05-06T05:53:33.297Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.270s coverage: 78.9% of statements [2021-05-06T05:53:33.297Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.157s coverage: 7.8% of statements [2021-05-06T05:53:33.297Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-06T05:53:33.297Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-06T05:53:33.297Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-06T05:53:35.323Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.257s coverage: 30.2% of statements [2021-05-06T05:53:35.323Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-06T05:53:35.323Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-06T05:53:35.323Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-06T05:53:37.047Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-06T05:53:37.973Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.335s coverage: 57.2% of statements [2021-05-06T05:53:38.443Z] Removing intermediate container abb917382865 [2021-05-06T05:53:38.443Z] ---> 5bcdd9687e2e [2021-05-06T05:53:38.443Z] Step 10/23 : FROM alpine:3.12 [2021-05-06T05:53:38.567Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.321s coverage: 6.6% of statements [2021-05-06T05:53:38.567Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.162s coverage: 5.0% of statements [2021-05-06T05:53:38.568Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-06T05:53:38.706Z] 3.12: Pulling from library/alpine [2021-05-06T05:53:38.970Z] 339de151aab4: Pulling fs layer [2021-05-06T05:53:38.970Z] 339de151aab4: Verifying Checksum [2021-05-06T05:53:38.970Z] 339de151aab4: Download complete [2021-05-06T05:53:39.163Z] GO111MODULE=on go vet ./... [2021-05-06T05:53:39.235Z] 339de151aab4: Pull complete [2021-05-06T05:53:39.235Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-06T05:53:39.235Z] Status: Downloaded newer image for alpine:3.12 [2021-05-06T05:53:39.235Z] ---> 13621d1b12d4 [2021-05-06T05:53:39.235Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T05:53:39.498Z] ---> Running in 9f088607123e [2021-05-06T05:53:39.498Z] Removing intermediate container 9f088607123e [2021-05-06T05:53:39.498Z] ---> 29cd5c3e001a [2021-05-06T05:53:39.498Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T05:53:39.765Z] ---> Running in 3ae97e8205b2 [2021-05-06T05:53:40.727Z] Removing intermediate container 3ae97e8205b2 [2021-05-06T05:53:40.727Z] ---> 654de3ad0219 [2021-05-06T05:53:40.727Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-06T05:53:40.727Z] ---> Running in cbeb30271645 [2021-05-06T05:53:41.308Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-06T05:53:42.257Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-06T05:53:42.520Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-06T05:53:42.520Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-06T05:53:42.783Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-06T05:53:43.055Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-06T05:53:43.055Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-06T05:53:43.055Z] Executing busybox-1.31.1-r20.trigger [2021-05-06T05:53:43.055Z] OK: 8 MiB in 19 packages [2021-05-06T05:53:43.632Z] Removing intermediate container cbeb30271645 [2021-05-06T05:53:43.632Z] ---> 7aa36ae3d2f7 [2021-05-06T05:53:43.632Z] Step 14/23 : WORKDIR / [2021-05-06T05:53:43.895Z] ---> Running in 3bc05ce22dd5 [2021-05-06T05:53:44.164Z] Removing intermediate container 3bc05ce22dd5 [2021-05-06T05:53:44.165Z] ---> 2660c034f9c3 [2021-05-06T05:53:44.165Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-06T05:53:44.434Z] ---> c21218cb5e1a [2021-05-06T05:53:44.434Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-06T05:53:45.011Z] ---> 6ca1598dae7e [2021-05-06T05:53:45.011Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-06T05:53:45.274Z] ---> b47f08cabff1 [2021-05-06T05:53:45.274Z] Step 18/23 : EXPOSE 49990 [2021-05-06T05:53:45.274Z] ---> Running in 6fb692bd3278 [2021-05-06T05:53:45.539Z] Removing intermediate container 6fb692bd3278 [2021-05-06T05:53:45.539Z] ---> 23330ae370e9 [2021-05-06T05:53:45.539Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-06T05:53:45.539Z] ---> Running in b22bbe2d444a [2021-05-06T05:53:45.803Z] Removing intermediate container b22bbe2d444a [2021-05-06T05:53:45.803Z] ---> a77080e693e1 [2021-05-06T05:53:45.803Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-06T05:53:45.803Z] ---> Running in 976fbd6878a7 [2021-05-06T05:53:46.073Z] Removing intermediate container 976fbd6878a7 [2021-05-06T05:53:46.073Z] ---> ee9c5c17f6f8 [2021-05-06T05:53:46.073Z] Step 21/23 : LABEL arch=amd64 [2021-05-06T05:53:46.073Z] ---> Running in a1f93e7c3409 [2021-05-06T05:53:46.340Z] Removing intermediate container a1f93e7c3409 [2021-05-06T05:53:46.340Z] ---> 283b0183328e [2021-05-06T05:53:46.340Z] Step 22/23 : LABEL git_sha=20a52fbacaac4ced11138b26b759052057872cf8 [2021-05-06T05:53:46.340Z] ---> Running in 85ef7b7dda9e [2021-05-06T05:53:46.606Z] Removing intermediate container 85ef7b7dda9e [2021-05-06T05:53:46.606Z] ---> d63cde9eba78 [2021-05-06T05:53:46.606Z] Step 23/23 : LABEL version=0.0.0 [2021-05-06T05:53:46.606Z] ---> Running in 980e10dea01c [2021-05-06T05:53:46.869Z] Removing intermediate container 980e10dea01c [2021-05-06T05:53:46.869Z] ---> 0c12e3adec29 [2021-05-06T05:53:46.869Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-06T05:53:46.869Z] Successfully built 0c12e3adec29 [2021-05-06T05:53:46.869Z] 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-05-06T05:53:47.830Z] ---> job-cost.sh [2021-05-06T05:53:47.830Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-y8i6 [2021-05-06T05:54:02.806Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T05:54:29.455Z] lf-activate-venv(): INFO: Adding /tmp/venv-y8i6/bin to PATH [2021-05-06T05:54:29.455Z] INFO: No Stack... [2021-05-06T05:54:30.419Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T05:54:30.994Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T05:54:31.385Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-06T05:54:31.385Z] + cut -d, -f6 [Pipeline] lock [2021-05-06T05:54:31.545Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-906-1-stack-cost] [2021-05-06T05:54:31.552Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-906-1-stack-cost] did not exist. Created. [2021-05-06T05:54:31.552Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-906-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T05:54:31.980Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-06T05:54:32.132Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T05:54:32.153Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-906-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-06T05:54:35.774Z] gofmt -l . [2021-05-06T05:54:35.774Z] [ "`gofmt -l .`" = "" ] [2021-05-06T05:54:35.774Z] ./bin/test-attribution-txt.sh [2021-05-06T05:54:35.774Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-06T05:54:35.826Z] $ docker stop --time=1 64c26985053e43094b0e73fa7cbd5fda008d31e8cc26bbf3b8983487fe7be476 [2021-05-06T05:54:38.105Z] $ docker rm -f 64c26985053e43094b0e73fa7cbd5fda008d31e8cc26bbf3b8983487fe7be476 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T05:54:39.255Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T05:54:39.330Z] Warning: overwriting stash ‘coverage-report’ [2021-05-06T05:54:39.926Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T05:54:40.565Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-06T05:54:40.939Z] + ls -al . [2021-05-06T05:54:40.939Z] total 224 [2021-05-06T05:54:40.939Z] drwxrwxr-x 10 jenkins jenkins 4096 May 6 05:54 . [2021-05-06T05:54:40.939Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 05:50 .. [2021-05-06T05:54:40.939Z] -rw-rw-r-- 1 jenkins jenkins 140 May 6 05:50 .dockerignore [2021-05-06T05:54:40.939Z] drwxrwxr-x 8 jenkins jenkins 4096 May 6 05:50 .git [2021-05-06T05:54:40.939Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 05:50 .github [2021-05-06T05:54:40.939Z] -rw-rw-r-- 1 jenkins jenkins 138 May 6 05:50 .gitignore [2021-05-06T05:54:40.939Z] -rw-rw-r-- 1 jenkins jenkins 987 May 6 05:50 Dockerfile.build [2021-05-06T05:54:40.939Z] -rw-rw-r-- 1 jenkins jenkins 901 May 6 05:50 Jenkinsfile [2021-05-06T05:54:40.939Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 6 05:50 LICENSE [2021-05-06T05:54:40.939Z] -rw-rw-r-- 1 jenkins jenkins 1022 May 6 05:50 Makefile [2021-05-06T05:54:40.939Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 6 05:50 README.md [2021-05-06T05:54:40.939Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 6 05:50 RELEASE-NOTES.txt [2021-05-06T05:54:40.939Z] -rw-rw-r-- 1 jenkins jenkins 5 May 6 05:48 VERSION [2021-05-06T05:54:40.939Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 05:50 bin [2021-05-06T05:54:40.939Z] -rw-r--r-- 1 jenkins jenkins 100321 May 6 05:53 coverage.out [2021-05-06T05:54:40.939Z] drwxrwxr-x 5 jenkins jenkins 4096 May 6 05:50 example [2021-05-06T05:54:40.939Z] -rw-r--r-- 1 jenkins jenkins 575 May 6 05:54 go.mod [2021-05-06T05:54:40.939Z] -rw-r--r-- 1 jenkins jenkins 20675 May 6 05:51 go.sum [2021-05-06T05:54:40.939Z] drwxrwxr-x 14 jenkins jenkins 4096 May 6 05:50 internal [2021-05-06T05:54:40.939Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 05:50 openapi [2021-05-06T05:54:40.939Z] drwxrwxr-x 5 jenkins jenkins 4096 May 6 05:50 pkg [2021-05-06T05:54:40.939Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 05:50 snap [2021-05-06T05:54:40.939Z] -rw-rw-r-- 1 jenkins jenkins 222 May 6 05:50 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-06T05:54:41.315Z] + 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=20a52fbacaac4ced11138b26b759052057872cf8 --label arch=arm64 --label version=0.0.0 . [2021-05-06T05:54:41.921Z] Sending build context to Docker daemon 2.567MB [2021-05-06T05:54:41.921Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T05:54:41.921Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-06T05:54:41.921Z] ---> 9f5d9aec8602 [2021-05-06T05:54:41.921Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-06T05:54:42.194Z] ---> Running in 6672264a3b66 [2021-05-06T05:54:42.795Z] Removing intermediate container 6672264a3b66 [2021-05-06T05:54:42.795Z] ---> 7521a0bbe7f6 [2021-05-06T05:54:42.795Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T05:54:42.795Z] ---> Running in cc56170df148 [2021-05-06T05:54:43.395Z] Removing intermediate container cc56170df148 [2021-05-06T05:54:43.395Z] ---> b865930abbed [2021-05-06T05:54:43.395Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T05:54:43.395Z] ---> Running in 3be114949e42 [2021-05-06T05:54:46.016Z] Removing intermediate container 3be114949e42 [2021-05-06T05:54:46.016Z] ---> 8180f13b92e7 [2021-05-06T05:54:46.016Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-06T05:54:46.016Z] ---> Running in a6f7fcd82211 [2021-05-06T05:54:46.991Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T05:54:48.415Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T05:54:49.396Z] OK: 139 MiB in 46 packages [2021-05-06T05:54:50.376Z] Removing intermediate container a6f7fcd82211 [2021-05-06T05:54:50.376Z] ---> aa9d81203925 [2021-05-06T05:54:50.376Z] Step 7/23 : COPY . . [2021-05-06T05:54:51.817Z] ---> 534a64eb31c5 [2021-05-06T05:54:51.817Z] Step 8/23 : RUN go mod download [2021-05-06T05:54:51.817Z] ---> Running in da3327bf10c2 [2021-05-06T05:54:54.442Z] Removing intermediate container da3327bf10c2 [2021-05-06T05:54:54.442Z] ---> 035d306b91c4 [2021-05-06T05:54:54.442Z] Step 9/23 : RUN make build [2021-05-06T05:54:54.442Z] ---> Running in e0f346ae709d [2021-05-06T05:54:55.418Z] 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-05-06T05:55:27.818Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-06T05:55:30.437Z] Removing intermediate container e0f346ae709d [2021-05-06T05:55:30.437Z] ---> 591f99a1683a [2021-05-06T05:55:30.437Z] Step 10/23 : FROM alpine:3.12 [2021-05-06T05:55:31.027Z] 3.12: Pulling from library/alpine [2021-05-06T05:55:31.027Z] d2f70382dc9a: Pulling fs layer [2021-05-06T05:55:31.308Z] d2f70382dc9a: Verifying Checksum [2021-05-06T05:55:31.308Z] d2f70382dc9a: Download complete [2021-05-06T05:55:31.901Z] d2f70382dc9a: Pull complete [2021-05-06T05:55:31.901Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-06T05:55:31.901Z] Status: Downloaded newer image for alpine:3.12 [2021-05-06T05:55:31.901Z] ---> 9852663dfa18 [2021-05-06T05:55:31.901Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T05:55:32.173Z] ---> Running in ddd476959536 [2021-05-06T05:55:32.444Z] Removing intermediate container ddd476959536 [2021-05-06T05:55:32.444Z] ---> 0f7399bbc0c9 [2021-05-06T05:55:32.444Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T05:55:32.715Z] ---> Running in 8162d5eff030 [2021-05-06T05:55:34.700Z] Removing intermediate container 8162d5eff030 [2021-05-06T05:55:34.700Z] ---> 1607caf1b8fb [2021-05-06T05:55:34.700Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-06T05:55:34.700Z] ---> Running in 116931c4cf92 [2021-05-06T05:55:36.140Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-06T05:55:36.736Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-06T05:55:38.166Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-06T05:55:38.166Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-06T05:55:38.166Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-06T05:55:38.757Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-06T05:55:39.028Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-06T05:55:39.028Z] Executing busybox-1.31.1-r20.trigger [2021-05-06T05:55:39.028Z] OK: 8 MiB in 19 packages [2021-05-06T05:55:40.468Z] Removing intermediate container 116931c4cf92 [2021-05-06T05:55:40.468Z] ---> 4a6bbd9a597d [2021-05-06T05:55:40.468Z] Step 14/23 : WORKDIR / [2021-05-06T05:55:40.468Z] ---> Running in cbca003b0e11 [2021-05-06T05:55:40.740Z] Removing intermediate container cbca003b0e11 [2021-05-06T05:55:40.740Z] ---> 0163e3c4e44a [2021-05-06T05:55:40.740Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-06T05:55:41.748Z] ---> 9ecf26abdbd1 [2021-05-06T05:55:41.748Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-06T05:55:42.732Z] ---> 75f7a9cb5918 [2021-05-06T05:55:42.732Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-06T05:55:43.336Z] ---> d9d13468d6fd [2021-05-06T05:55:43.336Z] Step 18/23 : EXPOSE 49990 [2021-05-06T05:55:43.613Z] ---> Running in d1a2dedd75a3 [2021-05-06T05:55:44.212Z] Removing intermediate container d1a2dedd75a3 [2021-05-06T05:55:44.212Z] ---> d74bb8c1261f [2021-05-06T05:55:44.212Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-06T05:55:44.212Z] ---> Running in a0e7f8f1ef6b [2021-05-06T05:55:44.487Z] Removing intermediate container a0e7f8f1ef6b [2021-05-06T05:55:44.487Z] ---> 8a5a131561a6 [2021-05-06T05:55:44.487Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-06T05:55:44.761Z] ---> Running in 3a8a346b628a [2021-05-06T05:55:45.370Z] Removing intermediate container 3a8a346b628a [2021-05-06T05:55:45.370Z] ---> f4938a8ec2c3 [2021-05-06T05:55:45.370Z] Step 21/23 : LABEL arch=arm64 [2021-05-06T05:55:45.370Z] ---> Running in a91429d5f52e [2021-05-06T05:55:45.968Z] Removing intermediate container a91429d5f52e [2021-05-06T05:55:45.968Z] ---> df0ed78346ea [2021-05-06T05:55:45.968Z] Step 22/23 : LABEL git_sha=20a52fbacaac4ced11138b26b759052057872cf8 [2021-05-06T05:55:45.968Z] ---> Running in 42f292810f09 [2021-05-06T05:55:46.562Z] Removing intermediate container 42f292810f09 [2021-05-06T05:55:46.562Z] ---> dc9c608c19da [2021-05-06T05:55:46.562Z] Step 23/23 : LABEL version=0.0.0 [2021-05-06T05:55:46.562Z] ---> Running in 756d07e7aab8 [2021-05-06T05:55:47.154Z] Removing intermediate container 756d07e7aab8 [2021-05-06T05:55:47.154Z] ---> fa99ba747911 [2021-05-06T05:55:47.154Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-06T05:55:47.154Z] Successfully built fa99ba747911 [2021-05-06T05:55:47.154Z] 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-05-06T05:55:47.854Z] ---> job-cost.sh [2021-05-06T05:55:47.854Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-iRAO [2021-05-06T05:56:26.826Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T05:57:48.574Z] lf-activate-venv(): INFO: Adding /tmp/venv-iRAO/bin to PATH [2021-05-06T05:57:48.574Z] INFO: No Stack... [2021-05-06T05:57:49.550Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-06T05:57:50.143Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T05:57:50.507Z] + + catcut /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-06T05:57:50.507Z] -d, -f6 [Pipeline] lock [2021-05-06T05:57:50.647Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-906-1-stack-cost] [2021-05-06T05:57:50.654Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-906-1-stack-cost] did not exist. Created. [2021-05-06T05:57:50.654Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-906-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T05:57:51.095Z] /w/workspace/device-sdk-go/1@tmp/durable-3ee4c1be/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-3ee4c1be/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-06T05:57:51.466Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-06T05:57:51.504Z] Warning: overwriting stash ‘stack-cost’ [2021-05-06T05:57:51.662Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T05:57:51.680Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-906-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-05-06T05:57:52.695Z] provisioning config files... [2021-05-06T05:57:52.735Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp/config9149940583364324555tmp [Pipeline] { [Pipeline] sh [2021-05-06T05:57:53.128Z] + set +x [2021-05-06T05:57:53.128Z] + curl -s https://codecov.io/bash [2021-05-06T05:57:53.128Z] + bash -s -- [2021-05-06T05:57:53.398Z] [2021-05-06T05:57:53.399Z] _____ _ [2021-05-06T05:57:53.399Z] / ____| | | [2021-05-06T05:57:53.399Z] | | ___ __| | ___ ___ _____ __ [2021-05-06T05:57:53.399Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-06T05:57:53.399Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-06T05:57:53.399Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-06T05:57:53.399Z] Bash-1.0.2 [2021-05-06T05:57:53.399Z] [2021-05-06T05:57:53.399Z] [2021-05-06T05:57:53.399Z] ==> git version 2.24.3 found [2021-05-06T05:57:53.399Z] ==> 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-05-06T05:57:53.399Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-06T05:57:53.399Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-06T05:57:53.399Z] ==> Jenkins CI detected. [2021-05-06T05:57:53.399Z] project root: . [2021-05-06T05:57:53.399Z] --> token set from env [2021-05-06T05:57:53.399Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-06T05:57:53.399Z] ==> Running gcov in . (disable via -X gcov) [2021-05-06T05:57:53.399Z] ==> Python coveragepy not found [2021-05-06T05:57:53.399Z] ==> Searching for coverage reports in: [2021-05-06T05:57:53.399Z] + . [2021-05-06T05:57:53.399Z] -> Found 1 reports [2021-05-06T05:57:53.399Z] ==> Detecting git/mercurial file structure [2021-05-06T05:57:53.673Z] ==> Reading reports [2021-05-06T05:57:53.673Z] + ./coverage.out bytes=100321 [2021-05-06T05:57:53.673Z] ==> Appending adjustments [2021-05-06T05:57:53.673Z] https://docs.codecov.io/docs/fixing-reports [2021-05-06T05:57:53.993Z] + Found adjustments [2021-05-06T05:57:53.993Z] ==> Gzipping contents [2021-05-06T05:57:53.993Z] 16K /tmp/codecov.ABGWO0.gz [2021-05-06T05:57:53.993Z] ==> Uploading reports [2021-05-06T05:57:53.993Z] url: https://codecov.io [2021-05-06T05:57:53.993Z] query: branch=PR-906&commit=20a52fbacaac4ced11138b26b759052057872cf8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-906%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=906&job=&cmd_args= [2021-05-06T05:57:53.993Z] -> Pinging Codecov [2021-05-06T05:57:53.993Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-906&commit=20a52fbacaac4ced11138b26b759052057872cf8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-906%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=906&job=&cmd_args= [2021-05-06T05:57:54.706Z] -> Uploading to [2021-05-06T05:57:54.706Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-06/7E55EF52A471D76F132DFD9A03CDDE97/20a52fbacaac4ced11138b26b759052057872cf8/fe823af9-da15-450e-b507-713b23fa2e56.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210506T055754Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d1d232d4bf2fc33dd5baa8ee95ffb4cab0ba08ec5a0a7f8ae1f7f1c12c12481b [2021-05-06T05:57:54.706Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-06T05:57:54.706Z] Dload Upload Total Spent Left Speed [2021-05-06T05:57:55.383Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13520 0 0 100 13520 0 19379 --:--:-- --:--:-- --:--:-- 19397 [2021-05-06T05:57:55.383Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/20a52fbacaac4ced11138b26b759052057872cf8 [Pipeline] } [2021-05-06T05:57:55.452Z] 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-05-06T05:57:58.071Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T05:57:59.990Z] ---> package-listing.sh [2021-05-06T05:57:59.990Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-06T05:57:59.990Z] ++ facter osfamily [2021-05-06T05:58:00.315Z] + OS_FAMILY=redhat [2021-05-06T05:58:00.315Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-906 [2021-05-06T05:58:00.315Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-06T05:58:00.315Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-06T05:58:00.315Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-06T05:58:00.315Z] + PACKAGES=/tmp/packages_start.txt [2021-05-06T05:58:00.315Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-906 ']' [2021-05-06T05:58:00.315Z] + PACKAGES=/tmp/packages_end.txt [2021-05-06T05:58:00.315Z] + case "${OS_FAMILY}" in [2021-05-06T05:58:00.315Z] + sort [2021-05-06T05:58:00.315Z] + rpm -qa [2021-05-06T05:58:09.277Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-06T05:58:09.277Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-06T05:58:09.277Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-06T05:58:09.277Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-906 ']' [2021-05-06T05:58:09.277Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-906/archives/ [2021-05-06T05:58:09.277Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-906/archives/ [Pipeline] echo [2021-05-06T05:58:09.349Z] 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-906/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-06T05:58:09.725Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-06T05:58:10.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T05:58:10.386Z] [2021-05-06T05:58:10.386Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-06T05:58:11.197Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T05:58:11.532Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-06T05:58:11.532Z] df20fa9351a1: Pulling fs layer [2021-05-06T05:58:11.532Z] 36b3adc4ff6f: Pulling fs layer [2021-05-06T05:58:11.532Z] 8ad3a11d3b57: Pulling fs layer [2021-05-06T05:58:11.532Z] 46f8f816bc3b: Pulling fs layer [2021-05-06T05:58:11.532Z] 93b61091891f: Pulling fs layer [2021-05-06T05:58:11.532Z] 93b9cdb0e59b: Pulling fs layer [2021-05-06T05:58:11.532Z] 5e14af77c1be: Pulling fs layer [2021-05-06T05:58:11.532Z] 01666e4c0597: Pulling fs layer [2021-05-06T05:58:11.532Z] aa168da1d23b: Pulling fs layer [2021-05-06T05:58:11.532Z] 46f8f816bc3b: Waiting [2021-05-06T05:58:11.532Z] 93b61091891f: Waiting [2021-05-06T05:58:11.532Z] 93b9cdb0e59b: Waiting [2021-05-06T05:58:11.532Z] 5e14af77c1be: Waiting [2021-05-06T05:58:11.532Z] 01666e4c0597: Waiting [2021-05-06T05:58:11.532Z] aa168da1d23b: Waiting [2021-05-06T05:58:11.532Z] 36b3adc4ff6f: Verifying Checksum [2021-05-06T05:58:11.532Z] 36b3adc4ff6f: Download complete [2021-05-06T05:58:11.867Z] 46f8f816bc3b: Verifying Checksum [2021-05-06T05:58:11.867Z] 46f8f816bc3b: Download complete [2021-05-06T05:58:12.178Z] df20fa9351a1: Verifying Checksum [2021-05-06T05:58:12.178Z] df20fa9351a1: Download complete [2021-05-06T05:58:12.178Z] 93b61091891f: Verifying Checksum [2021-05-06T05:58:12.178Z] 93b61091891f: Download complete [2021-05-06T05:58:12.178Z] 93b9cdb0e59b: Download complete [2021-05-06T05:58:12.491Z] 5e14af77c1be: Verifying Checksum [2021-05-06T05:58:12.491Z] 5e14af77c1be: Download complete [2021-05-06T05:58:12.491Z] 01666e4c0597: Verifying Checksum [2021-05-06T05:58:12.491Z] 01666e4c0597: Download complete [2021-05-06T05:58:13.640Z] df20fa9351a1: Pull complete [2021-05-06T05:58:14.348Z] 8ad3a11d3b57: Verifying Checksum [2021-05-06T05:58:14.348Z] 8ad3a11d3b57: Download complete [2021-05-06T05:58:14.348Z] 36b3adc4ff6f: Pull complete [2021-05-06T05:58:16.528Z] 8ad3a11d3b57: Pull complete [2021-05-06T05:58:16.528Z] 46f8f816bc3b: Pull complete [2021-05-06T05:58:17.201Z] 93b61091891f: Pull complete [2021-05-06T05:58:17.500Z] 93b9cdb0e59b: Pull complete [2021-05-06T05:58:17.774Z] 5e14af77c1be: Pull complete [2021-05-06T05:58:18.075Z] 01666e4c0597: Pull complete [2021-05-06T05:58:20.136Z] aa168da1d23b: Verifying Checksum [2021-05-06T05:58:20.136Z] aa168da1d23b: Download complete [2021-05-06T05:58:35.557Z] aa168da1d23b: Pull complete [2021-05-06T05:58:35.557Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-06T05:58:35.557Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T05:58:35.557Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-06T05:58:35.998Z] prd-centos7-docker-4c-2g-3172 does not seem to be running inside a container [2021-05-06T05:58:36.115Z] $ 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-906/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-906 -v /w/workspace/dgexfoundry_device-sdk-go_PR-906:/w/workspace/dgexfoundry_device-sdk-go_PR-906:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-906@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-05-06T05:58:39.754Z] $ docker top 221ed6b7648f2e2455768525c846721e0db2eeb69afe37c91ce0c60d84a6211b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T05:58:40.540Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-06T05:58:41.225Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-06T05:58:42.010Z] + ls /var/log/sa-host [2021-05-06T05:58:42.010Z] + sadf -c /var/log/sa-host/sa06 [2021-05-06T05:58:42.010Z] file_magic: OK [2021-05-06T05:58:42.010Z] HZ: Using current value: 100 [2021-05-06T05:58:42.010Z] file_header: OK [2021-05-06T05:58:42.010Z] 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-05-06T05:58:42.010Z] Statistics: [2021-05-06T05:58:42.010Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-06T05:58:42.010Z] File successfully converted to sysstat format version 12.2.1 [2021-05-06T05:58:42.010Z] + sadf -c /var/log/sa-host/sa23 [2021-05-06T05:58:42.010Z] file_magic: OK [2021-05-06T05:58:42.010Z] HZ: Using current value: 100 [2021-05-06T05:58:42.010Z] file_header: OK [2021-05-06T05:58:42.010Z] 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-05-06T05:58:42.010Z] Statistics: [2021-05-06T05:58:42.010Z] Hnuu...uuuununununu... [2021-05-06T05:58:42.010Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-06T05:58:42.675Z] provisioning config files... [2021-05-06T05:58:42.719Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp/config4500067101385761554tmp [Pipeline] { [Pipeline] echo [2021-05-06T05:58:42.825Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T05:58:43.237Z] ---> create-netrc.sh [Pipeline] } [2021-05-06T05:58:43.545Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-06T05:58:43.636Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T05:58:44.574Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-06T05:58:44.611Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T05:58:45.103Z] ---> sudo-logs.sh [2021-05-06T05:58:45.103Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-06T05:58:45.224Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T05:58:45.692Z] ---> job-cost.sh [2021-05-06T05:58:45.965Z] lf-activate-venv: SKIPPING [2021-05-06T05:58:45.965Z] DEBUG: total: 0.20999999344348907 [2021-05-06T05:58:45.965Z] INFO: Retrieving Stack Cost... [2021-05-06T05:58:47.421Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T05:58:47.693Z] INFO: Archiving Costs [Pipeline] echo [2021-05-06T05:58:47.735Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T05:58:48.515Z] ---> logs-deploy.sh [2021-05-06T05:58:48.515Z] lf-activate-venv: SKIPPING [2021-05-06T05:58:48.515Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-906/1 [2021-05-06T05:58:48.515Z] INFO: archiving workspace using pattern(s): [2021-05-06T05:58:51.256Z] Archives upload complete. [2021-05-06T05:58:51.524Z] INFO: archiving logs to Nexus