Pull request #904 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cefba91cd2d774311e977f8787cb353ade1003ea+92affc97e25621ac5a3617c0e5e42feb55191c77 (df056d7946b72ab80eed53b43038f35e26d16b0d) 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-904/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-904/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-3002 in /w/workspace/dgexfoundry_device-sdk-go_PR-904 [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-904 # 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 cefba91cd2d774311e977f8787cb353ade1003ea Merge succeeded, producing cefba91cd2d774311e977f8787cb353ade1003ea Checking out Revision cefba91cd2d774311e977f8787cb353ade1003ea (PR-904) > 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/904/head:refs/remotes/origin/PR-904 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cefba91cd2d774311e977f8787cb353ade1003ea # 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 cefba91cd2d774311e977f8787cb353ade1003ea # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/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-05T05:45:14.351Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-05T05:45:14.592Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-05T05:45:14.733Z] ========================================================= [2021-05-05T05:45:14.733Z] EdgeX Global Pipelines Version Info [2021-05-05T05:45:14.733Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-05T05:45:16.305Z] ------------------- [2021-05-05T05:45:16.305Z] stable info: [2021-05-05T05:45:16.305Z] ------------------- [2021-05-05T05:45:16.305Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-05T05:45:16.305Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-05T05:45:16.305Z] Message: update stable to v1.0.191 [2021-05-05T05:45:17.249Z] ------------------- [2021-05-05T05:45:17.249Z] experimental info: [2021-05-05T05:45:17.249Z] ------------------- [2021-05-05T05:45:17.249Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-05T05:45:17.249Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-05T05:45:17.249Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-05T05:45:17.477Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-05T05:45:17.532Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-05T05:45:17.590Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-05T05:45:17.644Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-05T05:45:17.701Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-05T05:45:17.759Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-05T05:45:17.817Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-05T05:45:17.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-05T05:45:17.935Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-05T05:45:17.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-05T05:45:18.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-05T05:45:18.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-05-05T05:45:18.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-05T05:45:18.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-05T05:45:18.285Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-05T05:45:18.349Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-05T05:45:18.406Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-05T05:45:18.463Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-05T05:45:18.520Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-05T05:45:18.579Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-05T05:45:18.637Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-05T05:45:18.692Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-05T05:45:18.750Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-05T05:45:18.805Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-05T05:45:18.864Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-05T05:45:18.922Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-05T05:45:18.996Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-904 [Pipeline] echo [2021-05-05T05:45:19.058Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-904 [Pipeline] echo [2021-05-05T05:45:19.112Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-904 [Pipeline] echo [2021-05-05T05:45:19.171Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cefba91cd2d774311e977f8787cb353ade1003ea [Pipeline] echo [2021-05-05T05:45:19.229Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cefba91 [Pipeline] echo [2021-05-05T05:45:19.340Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-05T05:45:19.504Z] provisioning config files... [2021-05-05T05:45:19.534Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp/config461103045016045014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-05T05:45:19.913Z] ---> docker-login.sh [2021-05-05T05:45:19.913Z] nexus3.edgexfoundry.org:10001 [2021-05-05T05:45:20.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T05:45:20.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T05:45:20.440Z] Configure a credential helper to remove this warning. See [2021-05-05T05:45:20.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T05:45:20.440Z] [2021-05-05T05:45:20.440Z] Login Succeeded [2021-05-05T05:45:20.440Z] nexus3.edgexfoundry.org:10002 [2021-05-05T05:45:20.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T05:45:20.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T05:45:20.702Z] Configure a credential helper to remove this warning. See [2021-05-05T05:45:20.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T05:45:20.702Z] [2021-05-05T05:45:20.702Z] Login Succeeded [2021-05-05T05:45:20.702Z] nexus3.edgexfoundry.org:10003 [2021-05-05T05:45:20.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T05:45:20.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T05:45:20.967Z] Configure a credential helper to remove this warning. See [2021-05-05T05:45:20.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T05:45:20.967Z] [2021-05-05T05:45:20.967Z] Login Succeeded [2021-05-05T05:45:20.967Z] nexus3.edgexfoundry.org:10004 [2021-05-05T05:45:20.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T05:45:20.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T05:45:20.967Z] Configure a credential helper to remove this warning. See [2021-05-05T05:45:20.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T05:45:20.967Z] [2021-05-05T05:45:20.967Z] Login Succeeded [2021-05-05T05:45:20.967Z] docker.io [2021-05-05T05:45:21.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T05:45:21.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T05:45:21.492Z] Configure a credential helper to remove this warning. See [2021-05-05T05:45:21.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T05:45:21.492Z] [2021-05-05T05:45:21.492Z] Login Succeeded [2021-05-05T05:45:21.492Z] ---> docker-login.sh ends [Pipeline] } [2021-05-05T05:45:21.516Z] 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-05T05:45:22.230Z] + git log --format=format:%s -1 cefba91cd2d774311e977f8787cb353ade1003ea [Pipeline] echo [2021-05-05T05:45:22.331Z] GIT_COMMIT: cefba91cd2d774311e977f8787cb353ade1003ea, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-05-05T05:45:22.373Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-05T05:45:23.541Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-05T05:45:23.541Z] [2021-05-05T05:45:23.541Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-05T05:45:23.910Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-05T05:45:23.910Z] latest: Pulling from edgex-devops/git-semver [2021-05-05T05:45:23.910Z] 31603596830f: Pulling fs layer [2021-05-05T05:45:23.910Z] 54011a49482f: Pulling fs layer [2021-05-05T05:45:23.910Z] a6820b24f6d8: Pulling fs layer [2021-05-05T05:45:23.910Z] f581987b2513: Pulling fs layer [2021-05-05T05:45:23.910Z] f581987b2513: Waiting [2021-05-05T05:45:23.910Z] 54011a49482f: Verifying Checksum [2021-05-05T05:45:23.910Z] 54011a49482f: Download complete [2021-05-05T05:45:24.174Z] 31603596830f: Download complete [2021-05-05T05:45:24.174Z] a6820b24f6d8: Verifying Checksum [2021-05-05T05:45:24.174Z] a6820b24f6d8: Download complete [2021-05-05T05:45:24.174Z] f581987b2513: Verifying Checksum [2021-05-05T05:45:24.174Z] f581987b2513: Download complete [2021-05-05T05:45:24.436Z] 31603596830f: Pull complete [2021-05-05T05:45:24.699Z] 54011a49482f: Pull complete [2021-05-05T05:45:25.278Z] a6820b24f6d8: Pull complete [2021-05-05T05:45:25.542Z] f581987b2513: Pull complete [2021-05-05T05:45:25.542Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-05T05:45:25.804Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-05T05:45:25.804Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-05T05:45:25.923Z] prd-centos7-docker-4c-2g-3002 does not seem to be running inside a container [2021-05-05T05:45:25.970Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-904 -v /w/workspace/dgexfoundry_device-sdk-go_PR-904:/w/workspace/dgexfoundry_device-sdk-go_PR-904:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-904@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-05T05:45:28.522Z] $ docker top 17837373a493f6ddf657ce76f9ed8a5cc8556be503d6d4e43ca3b496d9ae4f4f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-05T05:45:28.751Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-05T05:45:28.751Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-05T05:45:28.957Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-05T05:45:28.961Z] $ docker exec 17837373a493f6ddf657ce76f9ed8a5cc8556be503d6d4e43ca3b496d9ae4f4f ssh-agent [2021-05-05T05:45:29.122Z] SSH_AUTH_SOCK=/tmp/ssh-7F0IG2Ddlm3O/agent.12 [2021-05-05T05:45:29.122Z] SSH_AGENT_PID=17 [2021-05-05T05:45:29.131Z] Running ssh-add (command line suppressed) [2021-05-05T05:45:29.243Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp/private_key_3675985645381959280.key (/w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp/private_key_3675985645381959280.key) [2021-05-05T05:45:29.296Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-05T05:45:29.640Z] + git tag --points-at HEAD [Pipeline] } [2021-05-05T05:45:29.665Z] $ docker exec --env ******** --env ******** 17837373a493f6ddf657ce76f9ed8a5cc8556be503d6d4e43ca3b496d9ae4f4f ssh-agent -k [2021-05-05T05:45:29.770Z] unset SSH_AUTH_SOCK; [2021-05-05T05:45:29.771Z] unset SSH_AGENT_PID; [2021-05-05T05:45:29.771Z] echo Agent pid 17 killed; [2021-05-05T05:45:29.816Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-05T05:45:29.909Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-05T05:45:29.909Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-05T05:45:30.070Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-05T05:45:30.074Z] $ docker exec 17837373a493f6ddf657ce76f9ed8a5cc8556be503d6d4e43ca3b496d9ae4f4f ssh-agent [2021-05-05T05:45:30.244Z] SSH_AUTH_SOCK=/tmp/ssh-LFWwhIDnb8at/agent.46 [2021-05-05T05:45:30.245Z] SSH_AGENT_PID=51 [2021-05-05T05:45:30.251Z] Running ssh-add (command line suppressed) [2021-05-05T05:45:30.367Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp/private_key_3401574760337197194.key (/w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp/private_key_3401574760337197194.key) [2021-05-05T05:45:30.420Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-05T05:45:30.762Z] + git semver init [2021-05-05T05:45:30.763Z] # -> Open(): unable to determine branch for HEAD [2021-05-05T05:45:30.763Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-904/.git [2021-05-05T05:45:30.763Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-904 [2021-05-05T05:45:30.763Z] # $SEMVER_REMOTE_NAME = origin [2021-05-05T05:45:30.763Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-05T05:45:30.763Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-05T05:45:30.763Z] # $SEMVER_BRANCH = PR-904 [2021-05-05T05:45:30.763Z] # $SEMVER_TEMP = /tmp/semver-253198772 [2021-05-05T05:45:30.763Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-05T05:45:31.729Z] # '/tmp/semver-253198772' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-904/.semver' [2021-05-05T05:45:31.729Z] # -> Force: false [2021-05-05T05:45:31.729Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-904/.semver [Pipeline] } [2021-05-05T05:45:31.749Z] $ docker exec --env ******** --env ******** 17837373a493f6ddf657ce76f9ed8a5cc8556be503d6d4e43ca3b496d9ae4f4f ssh-agent -k [2021-05-05T05:45:31.859Z] unset SSH_AUTH_SOCK; [2021-05-05T05:45:31.860Z] unset SSH_AGENT_PID; [2021-05-05T05:45:31.860Z] echo Agent pid 51 killed; [2021-05-05T05:45:31.907Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-05T05:45:32.353Z] + git semver [Pipeline] } [2021-05-05T05:45:32.387Z] $ docker stop --time=1 17837373a493f6ddf657ce76f9ed8a5cc8556be503d6d4e43ca3b496d9ae4f4f [2021-05-05T05:45:33.744Z] $ docker rm -f 17837373a493f6ddf657ce76f9ed8a5cc8556be503d6d4e43ca3b496d9ae4f4f [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-05T05:45:34.199Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-05T05:45:34.558Z] Stashed 1 file(s) [Pipeline] echo [2021-05-05T05:45:34.591Z] [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-05T05:45:50.113Z] Still waiting to schedule task [2021-05-05T05:45:50.113Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3002’ [2021-05-05T05:45:50.144Z] Still waiting to schedule task [2021-05-05T05:45:50.145Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ is offline [2021-05-05T05:47:26.838Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3003 in /w/workspace/dgexfoundry_device-sdk-go_PR-904 [Pipeline] { [Pipeline] ws [2021-05-05T05:47:26.899Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-05T05:47:32.686Z] using credential edgex-jenkins-ssh [2021-05-05T05:47:32.706Z] Cloning the remote Git repository [2021-05-05T05:47:32.783Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-05T05:47:32.890Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-05T05:47:32.989Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-05T05:47:32.991Z] > git --version # timeout=10 [2021-05-05T05:47:33.016Z] > git --version # 'git version 2.17.1' [2021-05-05T05:47:33.017Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-05T05:47:33.111Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-05T05:47:34.337Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-05T05:47:34.353Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-05T05:47:34.387Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-05T05:47:34.421Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-05T05:47:34.422Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-05T05:47:34.435Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/904/head:refs/remotes/origin/PR-904 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-05T05:47:34.954Z] Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit cefba91cd2d774311e977f8787cb353ade1003ea [2021-05-05T05:47:35.164Z] Merge succeeded, producing cefba91cd2d774311e977f8787cb353ade1003ea [2021-05-05T05:47:35.165Z] Checking out Revision cefba91cd2d774311e977f8787cb353ade1003ea (PR-904) [2021-05-05T05:47:34.990Z] > git config core.sparsecheckout # timeout=10 [2021-05-05T05:47:35.006Z] > git checkout -f cefba91cd2d774311e977f8787cb353ade1003ea # timeout=10 [2021-05-05T05:47:35.100Z] > git remote # timeout=10 [2021-05-05T05:47:35.118Z] > git config --get remote.origin.url # timeout=10 [2021-05-05T05:47:35.130Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-05T05:47:35.141Z] > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 [2021-05-05T05:47:35.162Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-05T05:47:35.188Z] > git config core.sparsecheckout # timeout=10 [2021-05-05T05:47:35.197Z] > git checkout -f cefba91cd2d774311e977f8787cb353ade1003ea # timeout=10 [2021-05-05T05:47:39.393Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-05T05:47:39.464Z] > git --version # timeout=10 [2021-05-05T05:47:39.478Z] > git --version # 'git version 2.17.1' [2021-05-05T05:47:39.489Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-05T05:47:41.287Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-05T05:47:41.695Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-05T05:47:42.050Z] + sudo service docker restart [2021-05-05T05:47:42.050Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-05T05:47:44.132Z] provisioning config files... [2021-05-05T05:47:44.174Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8542876181872862983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-05T05:47:44.598Z] ---> docker-login.sh [2021-05-05T05:47:44.598Z] nexus3.edgexfoundry.org:10001 [2021-05-05T05:47:45.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T05:47:45.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T05:47:45.860Z] Configure a credential helper to remove this warning. See [2021-05-05T05:47:45.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T05:47:45.860Z] [2021-05-05T05:47:45.860Z] Login Succeeded [2021-05-05T05:47:45.860Z] nexus3.edgexfoundry.org:10002 [2021-05-05T05:47:46.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T05:47:46.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T05:47:46.134Z] Configure a credential helper to remove this warning. See [2021-05-05T05:47:46.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T05:47:46.134Z] [2021-05-05T05:47:46.134Z] Login Succeeded [2021-05-05T05:47:46.134Z] nexus3.edgexfoundry.org:10003 [2021-05-05T05:47:46.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T05:47:46.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T05:47:46.738Z] Configure a credential helper to remove this warning. See [2021-05-05T05:47:46.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T05:47:46.738Z] [2021-05-05T05:47:46.738Z] Login Succeeded [2021-05-05T05:47:46.738Z] nexus3.edgexfoundry.org:10004 [2021-05-05T05:47:47.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T05:47:47.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T05:47:47.293Z] Configure a credential helper to remove this warning. See [2021-05-05T05:47:47.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T05:47:47.293Z] [2021-05-05T05:47:47.293Z] Login Succeeded [2021-05-05T05:47:47.293Z] docker.io [2021-05-05T05:47:47.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T05:47:47.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T05:47:47.839Z] Configure a credential helper to remove this warning. See [2021-05-05T05:47:47.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T05:47:47.839Z] [2021-05-05T05:47:47.839Z] Login Succeeded [2021-05-05T05:47:48.111Z] ---> docker-login.sh ends [Pipeline] } [2021-05-05T05:47:48.144Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-05T05:47:48.561Z] ========================================================= [2021-05-05T05:47:48.562Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-05T05:47:48.562Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-05T05:47:48.948Z] + 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-05T05:47:49.221Z] Sending build context to Docker daemon 2.466MB [2021-05-05T05:47:49.222Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-05T05:47:49.222Z] Step 2/8 : FROM ${BASE} [2021-05-05T05:47:49.495Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-05T05:47:49.495Z] 595b0fe564bb: Pulling fs layer [2021-05-05T05:47:49.495Z] 7186ed65a4f7: Pulling fs layer [2021-05-05T05:47:49.495Z] 316046926c0a: Pulling fs layer [2021-05-05T05:47:49.495Z] 4ebd0625c992: Pulling fs layer [2021-05-05T05:47:49.495Z] 207e8628e3a3: Pulling fs layer [2021-05-05T05:47:49.495Z] c791037a9be2: Pulling fs layer [2021-05-05T05:47:49.495Z] ffd874e62e21: Pulling fs layer [2021-05-05T05:47:49.495Z] 4ebd0625c992: Waiting [2021-05-05T05:47:49.495Z] 207e8628e3a3: Waiting [2021-05-05T05:47:49.495Z] c791037a9be2: Waiting [2021-05-05T05:47:49.495Z] ffd874e62e21: Waiting [2021-05-05T05:47:49.495Z] 316046926c0a: Verifying Checksum [2021-05-05T05:47:49.495Z] 316046926c0a: Download complete [2021-05-05T05:47:49.495Z] 7186ed65a4f7: Verifying Checksum [2021-05-05T05:47:49.495Z] 7186ed65a4f7: Download complete [2021-05-05T05:47:49.495Z] 207e8628e3a3: Download complete [2021-05-05T05:47:49.495Z] c791037a9be2: Verifying Checksum [2021-05-05T05:47:49.495Z] c791037a9be2: Download complete [2021-05-05T05:47:49.768Z] 595b0fe564bb: Download complete [2021-05-05T05:47:50.366Z] 595b0fe564bb: Pull complete [2021-05-05T05:47:50.969Z] 7186ed65a4f7: Pull complete [2021-05-05T05:47:51.245Z] 316046926c0a: Pull complete [2021-05-05T05:47:52.240Z] ffd874e62e21: Verifying Checksum [2021-05-05T05:47:52.240Z] ffd874e62e21: Download complete [2021-05-05T05:47:53.677Z] 4ebd0625c992: Verifying Checksum [2021-05-05T05:47:53.677Z] 4ebd0625c992: Download complete [2021-05-05T05:48:03.848Z] 4ebd0625c992: Pull complete [2021-05-05T05:48:03.848Z] 207e8628e3a3: Pull complete [2021-05-05T05:48:04.122Z] c791037a9be2: Pull complete [2021-05-05T05:48:08.472Z] ffd874e62e21: Pull complete [2021-05-05T05:48:08.472Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-05T05:48:08.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-05T05:48:08.472Z] ---> cfc18b08335c [2021-05-05T05:48:08.472Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-05T05:48:10.463Z] ---> Running in 2fab0c4ff014 [2021-05-05T05:48:11.060Z] Removing intermediate container 2fab0c4ff014 [2021-05-05T05:48:11.060Z] ---> ddebb2559554 [2021-05-05T05:48:11.060Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-05T05:48:11.060Z] ---> Running in e1226e469c86 [2021-05-05T05:48:13.283Z] Removing intermediate container e1226e469c86 [2021-05-05T05:48:13.283Z] ---> b48ef34b9c97 [2021-05-05T05:48:13.283Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-05T05:48:13.560Z] ---> Running in 31194090d83c [2021-05-05T05:48:14.564Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-05T05:48:15.536Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-05T05:48:16.513Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-05T05:48:16.514Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-05T05:48:16.514Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-05T05:48:16.788Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-05T05:48:16.788Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-05T05:48:17.062Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-05T05:48:17.062Z] Executing busybox-1.32.1-r6.trigger [2021-05-05T05:48:17.062Z] OK: 139 MiB in 46 packages [2021-05-05T05:48:18.515Z] Removing intermediate container 31194090d83c [2021-05-05T05:48:18.515Z] ---> 80e8678bfc28 [2021-05-05T05:48:18.515Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-05T05:48:18.515Z] ---> Running in 15d44588d441 [2021-05-05T05:48:19.114Z] Removing intermediate container 15d44588d441 [2021-05-05T05:48:19.114Z] ---> a4b613f3185a [2021-05-05T05:48:19.114Z] Step 7/8 : COPY . . [2021-05-05T05:48:19.292Z] Running on prd-centos7-docker-4c-2g-3004 in /w/workspace/dgexfoundry_device-sdk-go_PR-904 [Pipeline] { [Pipeline] ws [2021-05-05T05:48:19.362Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-05T05:48:20.558Z] ---> 7d6192299587 [2021-05-05T05:48:20.558Z] Step 8/8 : RUN go mod download [2021-05-05T05:48:20.558Z] ---> Running in 9fee8aa88e9c [2021-05-05T05:48:22.291Z] using credential edgex-jenkins-ssh [2021-05-05T05:48:22.309Z] Cloning the remote Git repository [2021-05-05T05:48:22.333Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-05T05:48:22.402Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-05T05:48:22.500Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-05T05:48:22.500Z] > git --version # timeout=10 [2021-05-05T05:48:22.508Z] > git --version # 'git version 2.24.3' [2021-05-05T05:48:22.509Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-05T05:48:22.537Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-05T05:48:23.744Z] Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit cefba91cd2d774311e977f8787cb353ade1003ea [2021-05-05T05:48:23.835Z] Merge succeeded, producing cefba91cd2d774311e977f8787cb353ade1003ea [2021-05-05T05:48:23.835Z] Checking out Revision cefba91cd2d774311e977f8787cb353ade1003ea (PR-904) [2021-05-05T05:48:23.294Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-05T05:48:23.308Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-05T05:48:23.328Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-05T05:48:23.350Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-05T05:48:23.351Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-05T05:48:23.358Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/904/head:refs/remotes/origin/PR-904 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-05T05:48:23.752Z] > git config core.sparsecheckout # timeout=10 [2021-05-05T05:48:23.757Z] > git checkout -f cefba91cd2d774311e977f8787cb353ade1003ea # timeout=10 [2021-05-05T05:48:23.801Z] > git remote # timeout=10 [2021-05-05T05:48:23.807Z] > git config --get remote.origin.url # timeout=10 [2021-05-05T05:48:23.815Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-05T05:48:23.819Z] > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 [2021-05-05T05:48:23.829Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-05T05:48:23.838Z] > git config core.sparsecheckout # timeout=10 [2021-05-05T05:48:23.842Z] > git checkout -f cefba91cd2d774311e977f8787cb353ade1003ea # timeout=10 [2021-05-05T05:48:27.534Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-05T05:48:27.566Z] > git --version # timeout=10 [2021-05-05T05:48:27.572Z] > git --version # 'git version 2.24.3' [2021-05-05T05:48:27.581Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-05T05:48:29.033Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-05T05:48:29.435Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-05T05:48:29.768Z] + sudo service docker restart [2021-05-05T05:48:29.768Z] + true [2021-05-05T05:48:29.768Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-05T05:48:31.273Z] provisioning config files... [2021-05-05T05:48:31.319Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7984747891150435631tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-05T05:48:31.704Z] ---> docker-login.sh [2021-05-05T05:48:31.704Z] nexus3.edgexfoundry.org:10001 [2021-05-05T05:48:31.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T05:48:32.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T05:48:32.233Z] Configure a credential helper to remove this warning. See [2021-05-05T05:48:32.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T05:48:32.233Z] [2021-05-05T05:48:32.233Z] Login Succeeded [2021-05-05T05:48:32.233Z] nexus3.edgexfoundry.org:10002 [2021-05-05T05:48:32.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T05:48:32.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T05:48:32.233Z] Configure a credential helper to remove this warning. See [2021-05-05T05:48:32.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T05:48:32.233Z] [2021-05-05T05:48:32.233Z] Login Succeeded [2021-05-05T05:48:32.233Z] nexus3.edgexfoundry.org:10003 [2021-05-05T05:48:32.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T05:48:32.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T05:48:32.498Z] Configure a credential helper to remove this warning. See [2021-05-05T05:48:32.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T05:48:32.498Z] [2021-05-05T05:48:32.498Z] Login Succeeded [2021-05-05T05:48:32.498Z] nexus3.edgexfoundry.org:10004 [2021-05-05T05:48:32.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T05:48:32.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T05:48:32.769Z] Configure a credential helper to remove this warning. See [2021-05-05T05:48:32.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T05:48:32.769Z] [2021-05-05T05:48:32.769Z] Login Succeeded [2021-05-05T05:48:32.769Z] docker.io [2021-05-05T05:48:32.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T05:48:33.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T05:48:33.032Z] Configure a credential helper to remove this warning. See [2021-05-05T05:48:33.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T05:48:33.032Z] [2021-05-05T05:48:33.032Z] Login Succeeded [2021-05-05T05:48:33.032Z] ---> docker-login.sh ends [Pipeline] } [2021-05-05T05:48:33.060Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-05T05:48:33.395Z] ========================================================= [2021-05-05T05:48:33.395Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-05T05:48:33.395Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-05T05:48:33.749Z] + 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-05T05:48:33.749Z] Sending build context to Docker daemon 2.467MB [2021-05-05T05:48:34.014Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-05T05:48:34.014Z] Step 2/8 : FROM ${BASE} [2021-05-05T05:48:34.014Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-05T05:48:34.014Z] 540db60ca938: Pulling fs layer [2021-05-05T05:48:34.014Z] adcc1eea9eea: Pulling fs layer [2021-05-05T05:48:34.014Z] 4c4ab2625f07: Pulling fs layer [2021-05-05T05:48:34.014Z] 0510c868ecb4: Pulling fs layer [2021-05-05T05:48:34.014Z] afea3b2eda06: Pulling fs layer [2021-05-05T05:48:34.014Z] 7809a108b3ef: Pulling fs layer [2021-05-05T05:48:34.014Z] f706445af74f: Pulling fs layer [2021-05-05T05:48:34.014Z] afea3b2eda06: Waiting [2021-05-05T05:48:34.014Z] 7809a108b3ef: Waiting [2021-05-05T05:48:34.014Z] 0510c868ecb4: Waiting [2021-05-05T05:48:34.014Z] f706445af74f: Waiting [2021-05-05T05:48:34.014Z] 4c4ab2625f07: Verifying Checksum [2021-05-05T05:48:34.014Z] adcc1eea9eea: Verifying Checksum [2021-05-05T05:48:34.014Z] adcc1eea9eea: Download complete [2021-05-05T05:48:34.014Z] afea3b2eda06: Verifying Checksum [2021-05-05T05:48:34.014Z] afea3b2eda06: Download complete [2021-05-05T05:48:34.014Z] 540db60ca938: Verifying Checksum [2021-05-05T05:48:34.014Z] 540db60ca938: Download complete [2021-05-05T05:48:34.014Z] 7809a108b3ef: Verifying Checksum [2021-05-05T05:48:34.014Z] 7809a108b3ef: Download complete [2021-05-05T05:48:34.280Z] 540db60ca938: Pull complete [2021-05-05T05:48:34.544Z] adcc1eea9eea: Pull complete [2021-05-05T05:48:34.544Z] 4c4ab2625f07: Pull complete [2021-05-05T05:48:35.949Z] f706445af74f: Verifying Checksum [2021-05-05T05:48:35.949Z] f706445af74f: Download complete [2021-05-05T05:48:36.525Z] 0510c868ecb4: Verifying Checksum [2021-05-05T05:48:36.525Z] 0510c868ecb4: Download complete [2021-05-05T05:48:43.173Z] 0510c868ecb4: Pull complete [2021-05-05T05:48:43.174Z] afea3b2eda06: Pull complete [2021-05-05T05:48:43.174Z] 7809a108b3ef: Pull complete [2021-05-05T05:48:47.354Z] Removing intermediate container 9fee8aa88e9c [2021-05-05T05:48:47.355Z] ---> 0406e45951b2 [2021-05-05T05:48:47.355Z] Successfully built 0406e45951b2 [2021-05-05T05:48:47.355Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-05T05:48:47.732Z] + docker inspect -f . ci-base-image-arm64 [2021-05-05T05:48:47.732Z] . [Pipeline] withDockerContainer [2021-05-05T05:48:48.017Z] prd-ubuntu18.04-docker-arm64-4c-16g-3003 does not seem to be running inside a container [2021-05-05T05:48:48.127Z] $ 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-05T05:48:48.534Z] f706445af74f: Pull complete [2021-05-05T05:48:48.534Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-05T05:48:48.534Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-05T05:48:48.534Z] ---> b068be0155e3 [2021-05-05T05:48:48.534Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-05T05:48:48.799Z] ---> Running in 7a22aab100e2 [2021-05-05T05:48:48.799Z] Removing intermediate container 7a22aab100e2 [2021-05-05T05:48:48.799Z] ---> 713b053df0b2 [2021-05-05T05:48:48.799Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-05T05:48:49.075Z] ---> Running in 87d236fc58e2 [2021-05-05T05:48:49.653Z] $ docker top 34c81bb495646e467439548dc4fc965a1c2199cbbd8cc8c2547ece4e5163bdda -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-05T05:48:50.490Z] Removing intermediate container 87d236fc58e2 [2021-05-05T05:48:50.490Z] ---> 7b4f8c4bcc33 [2021-05-05T05:48:50.490Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-05T05:48:50.490Z] ---> Running in dfb5420ff34c [2021-05-05T05:48:50.676Z] + go version [2021-05-05T05:48:50.676Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-05T05:48:50.741Z] $ docker stop --time=1 34c81bb495646e467439548dc4fc965a1c2199cbbd8cc8c2547ece4e5163bdda [2021-05-05T05:48:51.449Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-05T05:48:52.408Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-05T05:48:52.631Z] $ docker rm -f 34c81bb495646e467439548dc4fc965a1c2199cbbd8cc8c2547ece4e5163bdda [2021-05-05T05:48:52.691Z] (1/6) Installing libc-dev (0.7.2-r3) [Pipeline] // withDockerContainer [Pipeline] } [2021-05-05T05:48:52.964Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-05T05:48:52.964Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-05T05:48:52.964Z] (4/6) Installing libsodium-dev (1.0.18-r0) [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2021-05-05T05:48:53.235Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-05T05:48:53.235Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-05T05:48:53.235Z] Executing busybox-1.32.1-r6.trigger [Pipeline] isUnix [Pipeline] sh [2021-05-05T05:48:53.528Z] OK: 150 MiB in 46 packages [2021-05-05T05:48:53.629Z] + docker inspect -f . ci-base-image-arm64 [2021-05-05T05:48:53.630Z] . [Pipeline] withDockerContainer [2021-05-05T05:48:53.908Z] prd-ubuntu18.04-docker-arm64-4c-16g-3003 does not seem to be running inside a container [2021-05-05T05:48:54.020Z] $ 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-05T05:48:54.120Z] Removing intermediate container dfb5420ff34c [2021-05-05T05:48:54.120Z] ---> 2498cad8fdc2 [2021-05-05T05:48:54.120Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-05T05:48:54.399Z] ---> Running in a33ec90e3b6f [2021-05-05T05:48:54.399Z] Removing intermediate container a33ec90e3b6f [2021-05-05T05:48:54.399Z] ---> 33d9e6cd62d5 [2021-05-05T05:48:54.399Z] Step 7/8 : COPY . . [2021-05-05T05:48:55.514Z] $ docker top 749947bb0db81af4ce3414890df6d5c1f144d2c280fb11e1f6f75c1fd963b31f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-05T05:48:56.375Z] ---> 23126eca2b20 [2021-05-05T05:48:56.375Z] Step 8/8 : RUN go mod download [2021-05-05T05:48:56.375Z] ---> Running in 7c90007ff19e [2021-05-05T05:48:56.525Z] + go mod tidy [Pipeline] sh [2021-05-05T05:48:57.809Z] + make test [2021-05-05T05:48:57.809Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-05T05:49:23.177Z] Removing intermediate container 7c90007ff19e [2021-05-05T05:49:23.177Z] ---> 85d5245a34bb [2021-05-05T05:49:23.177Z] Successfully built 85d5245a34bb [2021-05-05T05:49:23.177Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-05T05:49:23.550Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-05T05:49:23.550Z] . [Pipeline] withDockerContainer [2021-05-05T05:49:23.719Z] prd-centos7-docker-4c-2g-3004 does not seem to be running inside a container [2021-05-05T05:49:23.794Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-05T05:49:24.636Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-05T05:49:24.798Z] $ docker top 34ef1e2ca39e6c5bb731001a57fe2aba7ff381e0852e15261dca14507eb4d21f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-05T05:49:25.333Z] + go version [2021-05-05T05:49:25.333Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-05T05:49:25.367Z] $ docker stop --time=1 34ef1e2ca39e6c5bb731001a57fe2aba7ff381e0852e15261dca14507eb4d21f [2021-05-05T05:49:26.745Z] $ docker rm -f 34ef1e2ca39e6c5bb731001a57fe2aba7ff381e0852e15261dca14507eb4d21f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-05T05:49:27.559Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-05T05:49:27.559Z] . [Pipeline] withDockerContainer [2021-05-05T05:49:27.702Z] prd-centos7-docker-4c-2g-3004 does not seem to be running inside a container [2021-05-05T05:49:27.763Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-05T05:49:28.410Z] $ docker top a43e24bd56609ab73c044177b9fcdf0f25fefa46d1d55eb72eb9231d3389b0c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-05T05:49:29.004Z] + go mod tidy [Pipeline] sh [2021-05-05T05:49:29.940Z] + make test [2021-05-05T05:49:29.940Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-05T05:49:40.261Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-05T05:50:07.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-05T05:50:07.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-05T05:50:07.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-05T05:50:07.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-05T05:50:07.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-05T05:50:12.640Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.076s coverage: 28.1% of statements [2021-05-05T05:50:12.640Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.064s coverage: 78.9% of statements [2021-05-05T05:50:13.244Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.086s coverage: 7.8% of statements [2021-05-05T05:50:13.244Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-05T05:50:13.244Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-05T05:50:13.244Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-05T05:50:13.244Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.095s coverage: 30.2% of statements [2021-05-05T05:50:13.244Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-05T05:50:13.244Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-05T05:50:13.244Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-05T05:50:15.297Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.165s coverage: 57.2% of statements [2021-05-05T05:50:15.297Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.765s coverage: 6.6% of statements [2021-05-05T05:50:15.297Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.069s coverage: 5.0% of statements [2021-05-05T05:50:15.297Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-05T05:50:15.297Z] GO111MODULE=on go vet ./... [2021-05-05T05:50:21.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-05T05:50:21.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-05T05:50:21.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-05T05:50:21.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-05T05:50:21.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-05T05:50:31.438Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.141s coverage: 28.1% of statements [2021-05-05T05:50:31.438Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.184s coverage: 78.9% of statements [2021-05-05T05:50:31.438Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.197s coverage: 7.8% of statements [2021-05-05T05:50:31.438Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-05T05:50:31.438Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-05T05:50:31.438Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-05T05:50:33.465Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.251s coverage: 30.2% of statements [2021-05-05T05:50:33.465Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-05T05:50:33.465Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-05T05:50:33.465Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-05T05:50:36.115Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.320s coverage: 57.2% of statements [2021-05-05T05:50:36.708Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.122s coverage: 6.6% of statements [2021-05-05T05:50:36.708Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.156s coverage: 5.0% of statements [2021-05-05T05:50:36.708Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-05T05:50:37.301Z] GO111MODULE=on go vet ./... [2021-05-05T05:50:42.431Z] gofmt -l . [2021-05-05T05:50:42.431Z] [ "`gofmt -l .`" = "" ] [2021-05-05T05:50:42.431Z] ./bin/test-attribution-txt.sh [2021-05-05T05:50:42.431Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-05T05:50:42.488Z] $ docker stop --time=1 a43e24bd56609ab73c044177b9fcdf0f25fefa46d1d55eb72eb9231d3389b0c5 [2021-05-05T05:50:44.379Z] $ docker rm -f a43e24bd56609ab73c044177b9fcdf0f25fefa46d1d55eb72eb9231d3389b0c5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-05T05:50:45.267Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-05T05:50:46.028Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-05T05:50:48.898Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-05T05:50:49.241Z] + ls -al . [2021-05-05T05:50:49.241Z] total 188 [2021-05-05T05:50:49.241Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 5 05:50 . [2021-05-05T05:50:49.241Z] drwxrwxr-x. 4 jenkins jenkins 28 May 5 05:48 .. [2021-05-05T05:50:49.241Z] drwxrwxr-x. 2 jenkins jenkins 64 May 5 05:48 bin [2021-05-05T05:50:49.241Z] -rw-r--r--. 1 jenkins jenkins 100320 May 5 05:50 coverage.out [2021-05-05T05:50:49.241Z] -rw-rw-r--. 1 jenkins jenkins 987 May 5 05:48 Dockerfile.build [2021-05-05T05:50:49.241Z] -rw-rw-r--. 1 jenkins jenkins 140 May 5 05:48 .dockerignore [2021-05-05T05:50:49.241Z] drwxrwxr-x. 5 jenkins jenkins 62 May 5 05:48 example [2021-05-05T05:50:49.241Z] drwxrwxr-x. 8 jenkins jenkins 179 May 5 05:48 .git [2021-05-05T05:50:49.241Z] drwxrwxr-x. 2 jenkins jenkins 103 May 5 05:48 .github [2021-05-05T05:50:49.241Z] -rw-rw-r--. 1 jenkins jenkins 138 May 5 05:48 .gitignore [2021-05-05T05:50:49.241Z] -rw-r--r--. 1 jenkins jenkins 575 May 5 05:50 go.mod [2021-05-05T05:50:49.241Z] -rw-r--r--. 1 jenkins jenkins 20957 May 5 05:49 go.sum [2021-05-05T05:50:49.241Z] drwxrwxr-x. 14 jenkins jenkins 207 May 5 05:48 internal [2021-05-05T05:50:49.241Z] -rw-rw-r--. 1 jenkins jenkins 901 May 5 05:48 Jenkinsfile [2021-05-05T05:50:49.241Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 5 05:48 LICENSE [2021-05-05T05:50:49.241Z] -rw-rw-r--. 1 jenkins jenkins 1022 May 5 05:48 Makefile [2021-05-05T05:50:49.241Z] drwxrwxr-x. 4 jenkins jenkins 26 May 5 05:48 openapi [2021-05-05T05:50:49.241Z] drwxrwxr-x. 5 jenkins jenkins 50 May 5 05:48 pkg [2021-05-05T05:50:49.241Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 5 05:48 README.md [2021-05-05T05:50:49.241Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 5 05:48 RELEASE-NOTES.txt [2021-05-05T05:50:49.241Z] drwxrwxr-x. 4 jenkins jenkins 54 May 5 05:48 snap [2021-05-05T05:50:49.241Z] -rw-rw-r--. 1 jenkins jenkins 5 May 5 05:45 VERSION [2021-05-05T05:50:49.241Z] -rw-rw-r--. 1 jenkins jenkins 222 May 5 05:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-05T05:50:49.625Z] + 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=cefba91cd2d774311e977f8787cb353ade1003ea --label arch=amd64 --label version=0.0.0 . [2021-05-05T05:50:50.256Z] Sending build context to Docker daemon 2.568MB [2021-05-05T05:50:50.256Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-05T05:50:50.256Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-05T05:50:50.256Z] ---> 85d5245a34bb [2021-05-05T05:50:50.256Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-05T05:50:50.909Z] ---> Running in 4fdb6ac2e573 [2021-05-05T05:50:51.183Z] Removing intermediate container 4fdb6ac2e573 [2021-05-05T05:50:51.183Z] ---> b9f834472d35 [2021-05-05T05:50:51.183Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-05T05:50:51.183Z] ---> Running in 1d5f04481146 [2021-05-05T05:50:51.897Z] Removing intermediate container 1d5f04481146 [2021-05-05T05:50:51.897Z] ---> f786933635bf [2021-05-05T05:50:51.897Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-05T05:50:51.897Z] ---> Running in 48eecc4a0070 [2021-05-05T05:50:53.994Z] Removing intermediate container 48eecc4a0070 [2021-05-05T05:50:53.994Z] ---> 283e8d3447c7 [2021-05-05T05:50:53.994Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-05T05:50:53.994Z] ---> Running in 94c040eb5de0 [2021-05-05T05:50:55.559Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-05T05:50:56.192Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-05T05:50:56.823Z] OK: 150 MiB in 46 packages [2021-05-05T05:50:57.436Z] Removing intermediate container 94c040eb5de0 [2021-05-05T05:50:57.436Z] ---> 84a3115e039d [2021-05-05T05:50:57.436Z] Step 7/23 : COPY . . [2021-05-05T05:50:58.471Z] ---> 6331118c146a [2021-05-05T05:50:58.471Z] Step 8/23 : RUN go mod download [2021-05-05T05:50:58.471Z] ---> Running in 7b59885c9f7e [2021-05-05T05:51:02.173Z] Removing intermediate container 7b59885c9f7e [2021-05-05T05:51:02.173Z] ---> a4e7812876aa [2021-05-05T05:51:02.173Z] Step 9/23 : RUN make build [2021-05-05T05:51:02.173Z] ---> Running in 88d075951b3a [2021-05-05T05:51:02.476Z] 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-05T05:51:25.413Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-05T05:51:25.413Z] Removing intermediate container 88d075951b3a [2021-05-05T05:51:25.413Z] ---> 7514c36f0a74 [2021-05-05T05:51:25.413Z] Step 10/23 : FROM alpine:3.12 [2021-05-05T05:51:25.413Z] 3.12: Pulling from library/alpine [2021-05-05T05:51:25.413Z] 339de151aab4: Pulling fs layer [2021-05-05T05:51:25.681Z] 339de151aab4: Verifying Checksum [2021-05-05T05:51:25.681Z] 339de151aab4: Download complete [2021-05-05T05:51:26.275Z] 339de151aab4: Pull complete [2021-05-05T05:51:26.275Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-05T05:51:26.275Z] Status: Downloaded newer image for alpine:3.12 [2021-05-05T05:51:26.275Z] ---> 13621d1b12d4 [2021-05-05T05:51:26.275Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-05T05:51:26.561Z] ---> Running in e6aede7f8f3e [2021-05-05T05:51:26.561Z] Removing intermediate container e6aede7f8f3e [2021-05-05T05:51:26.561Z] ---> ab4fc14bee15 [2021-05-05T05:51:26.561Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-05T05:51:26.843Z] ---> Running in 3a1acba30c2e [2021-05-05T05:51:28.373Z] Removing intermediate container 3a1acba30c2e [2021-05-05T05:51:28.373Z] ---> d1c033a3c037 [2021-05-05T05:51:28.373Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-05T05:51:28.373Z] ---> Running in f659746f4a33 [2021-05-05T05:51:28.650Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-05T05:51:29.268Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-05T05:51:29.866Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-05T05:51:29.866Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-05T05:51:30.151Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-05T05:51:30.742Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-05T05:51:30.742Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-05T05:51:31.071Z] Executing busybox-1.31.1-r20.trigger [2021-05-05T05:51:31.071Z] OK: 8 MiB in 19 packages [2021-05-05T05:51:31.657Z] Removing intermediate container f659746f4a33 [2021-05-05T05:51:31.657Z] ---> f898ffdf3ef5 [2021-05-05T05:51:31.657Z] Step 14/23 : WORKDIR / [2021-05-05T05:51:31.942Z] ---> Running in 3700dd1afbd2 [2021-05-05T05:51:31.942Z] Removing intermediate container 3700dd1afbd2 [2021-05-05T05:51:31.942Z] ---> 0585bc1e9b8a [2021-05-05T05:51:31.942Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-05T05:51:32.588Z] ---> 53d0790243b9 [2021-05-05T05:51:32.588Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-05T05:51:33.628Z] ---> e09ad7e6f115 [2021-05-05T05:51:33.628Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-05T05:51:33.902Z] gofmt -l . [2021-05-05T05:51:33.902Z] [ "`gofmt -l .`" = "" ] [2021-05-05T05:51:33.902Z] ./bin/test-attribution-txt.sh [2021-05-05T05:51:33.902Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-05T05:51:33.929Z] ---> 4fa352c13ae2 [2021-05-05T05:51:33.929Z] Step 18/23 : EXPOSE 49990 [2021-05-05T05:51:33.929Z] ---> Running in b9272d480dcc [2021-05-05T05:51:33.999Z] $ docker stop --time=1 749947bb0db81af4ce3414890df6d5c1f144d2c280fb11e1f6f75c1fd963b31f [2021-05-05T05:51:34.198Z] Removing intermediate container b9272d480dcc [2021-05-05T05:51:34.198Z] ---> a46e487c02cb [2021-05-05T05:51:34.198Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-05T05:51:34.198Z] ---> Running in 7ef3fe031106 [2021-05-05T05:51:34.463Z] Removing intermediate container 7ef3fe031106 [2021-05-05T05:51:34.463Z] ---> 8df6314f195c [2021-05-05T05:51:34.463Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-05T05:51:34.463Z] ---> Running in afc6f6a2a82c [2021-05-05T05:51:34.749Z] Removing intermediate container afc6f6a2a82c [2021-05-05T05:51:34.749Z] ---> 69170ae18edc [2021-05-05T05:51:34.749Z] Step 21/23 : LABEL arch=amd64 [2021-05-05T05:51:34.749Z] ---> Running in 43b8fe846cbb [2021-05-05T05:51:35.023Z] Removing intermediate container 43b8fe846cbb [2021-05-05T05:51:35.023Z] ---> d84ab4d7960c [2021-05-05T05:51:35.023Z] Step 22/23 : LABEL git_sha=cefba91cd2d774311e977f8787cb353ade1003ea [2021-05-05T05:51:35.295Z] ---> Running in 576d0b94cab8 [2021-05-05T05:51:35.295Z] Removing intermediate container 576d0b94cab8 [2021-05-05T05:51:35.295Z] ---> 5c51a0236b41 [2021-05-05T05:51:35.295Z] Step 23/23 : LABEL version=0.0.0 [2021-05-05T05:51:35.583Z] ---> Running in b4e629226c06 [2021-05-05T05:51:35.858Z] Removing intermediate container b4e629226c06 [2021-05-05T05:51:35.858Z] ---> b47a3e91f82a [2021-05-05T05:51:35.858Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-05T05:51:35.858Z] Successfully built b47a3e91f82a [2021-05-05T05:51:35.858Z] Successfully tagged docker-device-sdk-simple:latest [2021-05-05T05:51:36.165Z] $ docker rm -f 749947bb0db81af4ce3414890df6d5c1f144d2c280fb11e1f6f75c1fd963b31f [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [2021-05-05T05:51:37.245Z] + sudo chown -R jenkins:jenkins . [Pipeline] stage [Pipeline] { (Snap) [Pipeline] stash [2021-05-05T05:51:37.364Z] Warning: overwriting stash ‘coverage-report’ Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-05T05:51:37.954Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-05-05T05:51:38.077Z] ---> job-cost.sh [2021-05-05T05:51:38.077Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-s6vI [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-05T05:51:38.606Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-05T05:51:38.959Z] + ls -al . [2021-05-05T05:51:38.959Z] total 224 [2021-05-05T05:51:38.959Z] drwxrwxr-x 10 jenkins jenkins 4096 May 5 05:51 . [2021-05-05T05:51:38.959Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 05:47 .. [2021-05-05T05:51:38.959Z] -rw-rw-r-- 1 jenkins jenkins 140 May 5 05:47 .dockerignore [2021-05-05T05:51:38.959Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 05:47 .git [2021-05-05T05:51:38.959Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 05:47 .github [2021-05-05T05:51:38.959Z] -rw-rw-r-- 1 jenkins jenkins 138 May 5 05:47 .gitignore [2021-05-05T05:51:38.959Z] -rw-rw-r-- 1 jenkins jenkins 987 May 5 05:47 Dockerfile.build [2021-05-05T05:51:38.959Z] -rw-rw-r-- 1 jenkins jenkins 901 May 5 05:47 Jenkinsfile [2021-05-05T05:51:38.959Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 5 05:47 LICENSE [2021-05-05T05:51:38.959Z] -rw-rw-r-- 1 jenkins jenkins 1022 May 5 05:47 Makefile [2021-05-05T05:51:38.959Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 5 05:47 README.md [2021-05-05T05:51:38.959Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 5 05:47 RELEASE-NOTES.txt [2021-05-05T05:51:38.959Z] -rw-rw-r-- 1 jenkins jenkins 5 May 5 05:45 VERSION [2021-05-05T05:51:38.959Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 05:47 bin [2021-05-05T05:51:38.959Z] -rw-r--r-- 1 jenkins jenkins 100320 May 5 05:50 coverage.out [2021-05-05T05:51:38.959Z] drwxrwxr-x 5 jenkins jenkins 4096 May 5 05:47 example [2021-05-05T05:51:38.959Z] -rw-r--r-- 1 jenkins jenkins 575 May 5 05:51 go.mod [2021-05-05T05:51:38.959Z] -rw-r--r-- 1 jenkins jenkins 20957 May 5 05:48 go.sum [2021-05-05T05:51:38.959Z] drwxrwxr-x 14 jenkins jenkins 4096 May 5 05:47 internal [2021-05-05T05:51:38.959Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 05:47 openapi [2021-05-05T05:51:38.959Z] drwxrwxr-x 5 jenkins jenkins 4096 May 5 05:47 pkg [2021-05-05T05:51:38.959Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 05:47 snap [2021-05-05T05:51:38.959Z] -rw-rw-r-- 1 jenkins jenkins 222 May 5 05:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-05T05:51:39.340Z] + 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=cefba91cd2d774311e977f8787cb353ade1003ea --label arch=arm64 --label version=0.0.0 . [2021-05-05T05:51:39.942Z] Sending build context to Docker daemon 2.567MB [2021-05-05T05:51:39.942Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-05T05:51:39.942Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-05T05:51:39.942Z] ---> 0406e45951b2 [2021-05-05T05:51:39.942Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-05T05:51:40.224Z] ---> Running in 95431db0af14 [2021-05-05T05:51:40.825Z] Removing intermediate container 95431db0af14 [2021-05-05T05:51:40.825Z] ---> d0a5443fb0b4 [2021-05-05T05:51:40.825Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-05T05:51:40.825Z] ---> Running in f458dcb74c42 [2021-05-05T05:51:41.105Z] Removing intermediate container f458dcb74c42 [2021-05-05T05:51:41.105Z] ---> 941cd4e7f635 [2021-05-05T05:51:41.105Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-05T05:51:41.393Z] ---> Running in 14414be146f8 [2021-05-05T05:51:44.008Z] Removing intermediate container 14414be146f8 [2021-05-05T05:51:44.008Z] ---> 5421863678f0 [2021-05-05T05:51:44.008Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-05T05:51:44.008Z] ---> Running in bc9f0bbc52e2 [2021-05-05T05:51:44.985Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-05T05:51:45.577Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-05T05:51:46.555Z] OK: 139 MiB in 46 packages [2021-05-05T05:51:47.546Z] Removing intermediate container bc9f0bbc52e2 [2021-05-05T05:51:47.546Z] ---> 856c30255dbe [2021-05-05T05:51:47.546Z] Step 7/23 : COPY . . [2021-05-05T05:51:48.982Z] ---> 7f8fd7d1cec9 [2021-05-05T05:51:48.982Z] Step 8/23 : RUN go mod download [2021-05-05T05:51:49.261Z] ---> Running in bc15179bfc78 [2021-05-05T05:51:51.242Z] Removing intermediate container bc15179bfc78 [2021-05-05T05:51:51.242Z] ---> bf5865bef014 [2021-05-05T05:51:51.242Z] Step 9/23 : RUN make build [2021-05-05T05:51:51.515Z] ---> Running in 7f4f4c5c6b7f [2021-05-05T05:51:52.495Z] 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-05T05:52:00.167Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-05T05:52:24.894Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-05T05:52:26.876Z] lf-activate-venv(): INFO: Adding /tmp/venv-s6vI/bin to PATH [2021-05-05T05:52:26.876Z] INFO: No Stack... [2021-05-05T05:52:27.455Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-05T05:52:27.512Z] Removing intermediate container 7f4f4c5c6b7f [2021-05-05T05:52:27.512Z] ---> 056b948bbd57 [2021-05-05T05:52:27.512Z] Step 10/23 : FROM alpine:3.12 [2021-05-05T05:52:27.512Z] 3.12: Pulling from library/alpine [2021-05-05T05:52:27.512Z] d2f70382dc9a: Pulling fs layer [2021-05-05T05:52:27.783Z] d2f70382dc9a: Verifying Checksum [2021-05-05T05:52:27.783Z] d2f70382dc9a: Download complete [2021-05-05T05:52:28.397Z] d2f70382dc9a: Pull complete [2021-05-05T05:52:28.397Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-05T05:52:28.397Z] Status: Downloaded newer image for alpine:3.12 [2021-05-05T05:52:28.397Z] ---> 9852663dfa18 [2021-05-05T05:52:28.397Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-05T05:52:28.417Z] INFO: Archiving Costs [Pipeline] sh [2021-05-05T05:52:28.681Z] ---> Running in 7479e8f85949 [2021-05-05T05:52:28.770Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-05T05:52:28.770Z] + cut -d, -f6 [Pipeline] lock [2021-05-05T05:52:28.886Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-904-1-stack-cost] [2021-05-05T05:52:28.892Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-904-1-stack-cost] did not exist. Created. [2021-05-05T05:52:28.892Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-904-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-05T05:52:29.276Z] Removing intermediate container 7479e8f85949 [2021-05-05T05:52:29.276Z] ---> ee2798cf6259 [2021-05-05T05:52:29.276Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-05T05:52:29.276Z] ---> Running in b9b97139af2a [2021-05-05T05:52:29.359Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-05T05:52:29.525Z] Stashed 1 file(s) [Pipeline] } [2021-05-05T05:52:29.553Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-904-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-05T05:52:31.265Z] Removing intermediate container b9b97139af2a [2021-05-05T05:52:31.265Z] ---> dff21c72a615 [2021-05-05T05:52:31.265Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-05T05:52:31.265Z] ---> Running in 55ec4979ca44 [2021-05-05T05:52:32.245Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-05T05:52:33.220Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-05T05:52:33.813Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-05T05:52:33.813Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-05T05:52:33.813Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-05T05:52:34.084Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-05T05:52:34.084Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-05T05:52:34.356Z] Executing busybox-1.31.1-r20.trigger [2021-05-05T05:52:34.356Z] OK: 8 MiB in 19 packages [2021-05-05T05:52:35.330Z] Removing intermediate container 55ec4979ca44 [2021-05-05T05:52:35.330Z] ---> c4eb2b62d636 [2021-05-05T05:52:35.330Z] Step 14/23 : WORKDIR / [2021-05-05T05:52:35.602Z] ---> Running in ab2d33210ad9 [2021-05-05T05:52:35.875Z] Removing intermediate container ab2d33210ad9 [2021-05-05T05:52:35.875Z] ---> 07709f0f59d2 [2021-05-05T05:52:35.875Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-05T05:52:36.859Z] ---> 56abfa8d0192 [2021-05-05T05:52:36.859Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-05T05:52:37.845Z] ---> 8bff0b53a9ee [2021-05-05T05:52:37.845Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-05T05:52:38.446Z] ---> 9083af8bc072 [2021-05-05T05:52:38.446Z] Step 18/23 : EXPOSE 49990 [2021-05-05T05:52:38.720Z] ---> Running in ae3701fbfe20 [2021-05-05T05:52:39.314Z] Removing intermediate container ae3701fbfe20 [2021-05-05T05:52:39.314Z] ---> 5b1d75c4c9fd [2021-05-05T05:52:39.314Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-05T05:52:39.314Z] ---> Running in 8c0636ada4b8 [2021-05-05T05:52:39.911Z] Removing intermediate container 8c0636ada4b8 [2021-05-05T05:52:39.911Z] ---> 6e97dad75f85 [2021-05-05T05:52:39.911Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-05T05:52:39.911Z] ---> Running in 7e2ec5ce490e [2021-05-05T05:52:40.506Z] Removing intermediate container 7e2ec5ce490e [2021-05-05T05:52:40.506Z] ---> 37e3f6b172d0 [2021-05-05T05:52:40.506Z] Step 21/23 : LABEL arch=arm64 [2021-05-05T05:52:40.506Z] ---> Running in fc7796978907 [2021-05-05T05:52:41.104Z] Removing intermediate container fc7796978907 [2021-05-05T05:52:41.104Z] ---> fb1a1091c2e1 [2021-05-05T05:52:41.104Z] Step 22/23 : LABEL git_sha=cefba91cd2d774311e977f8787cb353ade1003ea [2021-05-05T05:52:41.104Z] ---> Running in d976b11d2cec [2021-05-05T05:52:41.703Z] Removing intermediate container d976b11d2cec [2021-05-05T05:52:41.704Z] ---> 26c8cd15f14a [2021-05-05T05:52:41.704Z] Step 23/23 : LABEL version=0.0.0 [2021-05-05T05:52:41.704Z] ---> Running in 10cfd6f66ca8 [2021-05-05T05:52:42.299Z] Removing intermediate container 10cfd6f66ca8 [2021-05-05T05:52:42.299Z] ---> e344a46547d6 [2021-05-05T05:52:42.299Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-05T05:52:42.299Z] Successfully built e344a46547d6 [2021-05-05T05:52:42.299Z] 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-05T05:52:43.045Z] ---> job-cost.sh [2021-05-05T05:52:43.045Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-B0DL [2021-05-05T05:53:22.016Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-05T05:54:43.755Z] lf-activate-venv(): INFO: Adding /tmp/venv-B0DL/bin to PATH [2021-05-05T05:54:43.755Z] INFO: No Stack... [2021-05-05T05:54:43.755Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-05T05:54:43.755Z] INFO: Archiving Costs [Pipeline] sh [2021-05-05T05:54:44.159Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-05T05:54:44.159Z] + cut -d, -f6 [Pipeline] lock [2021-05-05T05:54:44.337Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-904-1-stack-cost] [2021-05-05T05:54:44.353Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-904-1-stack-cost] did not exist. Created. [2021-05-05T05:54:44.353Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-904-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-05T05:54:44.794Z] /w/workspace/device-sdk-go/1@tmp/durable-4a293264/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-4a293264/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-05T05:54:45.176Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-05T05:54:45.221Z] Warning: overwriting stash ‘stack-cost’ [2021-05-05T05:54:45.379Z] Stashed 1 file(s) [Pipeline] } [2021-05-05T05:54:45.421Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-904-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-05T05:54:46.432Z] provisioning config files... [2021-05-05T05:54:46.445Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp/config4339041991860883920tmp [Pipeline] { [Pipeline] sh [2021-05-05T05:54:46.816Z] + set +x [2021-05-05T05:54:46.816Z] + curl -s https://codecov.io/bash [2021-05-05T05:54:46.816Z] + bash -s -- [2021-05-05T05:54:47.081Z] [2021-05-05T05:54:47.081Z] _____ _ [2021-05-05T05:54:47.081Z] / ____| | | [2021-05-05T05:54:47.081Z] | | ___ __| | ___ ___ _____ __ [2021-05-05T05:54:47.081Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-05T05:54:47.081Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-05T05:54:47.081Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-05T05:54:47.081Z] Bash-1.0.2 [2021-05-05T05:54:47.081Z] [2021-05-05T05:54:47.081Z] [2021-05-05T05:54:47.081Z] ==> git version 2.24.3 found [2021-05-05T05:54:47.081Z] ==> 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-05T05:54:47.081Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-05T05:54:47.081Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-05T05:54:47.081Z] ==> Jenkins CI detected. [2021-05-05T05:54:47.081Z] project root: . [2021-05-05T05:54:47.081Z] --> token set from env [2021-05-05T05:54:47.081Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-05T05:54:47.081Z] ==> Running gcov in . (disable via -X gcov) [2021-05-05T05:54:47.081Z] ==> Python coveragepy not found [2021-05-05T05:54:47.081Z] ==> Searching for coverage reports in: [2021-05-05T05:54:47.081Z] + . [2021-05-05T05:54:47.081Z] -> Found 1 reports [2021-05-05T05:54:47.081Z] ==> Detecting git/mercurial file structure [2021-05-05T05:54:47.081Z] ==> Reading reports [2021-05-05T05:54:47.081Z] + ./coverage.out bytes=100320 [2021-05-05T05:54:47.081Z] ==> Appending adjustments [2021-05-05T05:54:47.081Z] https://docs.codecov.io/docs/fixing-reports [2021-05-05T05:54:47.345Z] + Found adjustments [2021-05-05T05:54:47.345Z] ==> Gzipping contents [2021-05-05T05:54:47.345Z] 16K /tmp/codecov.ogzWsI.gz [2021-05-05T05:54:47.345Z] ==> Uploading reports [2021-05-05T05:54:47.345Z] url: https://codecov.io [2021-05-05T05:54:47.345Z] query: branch=PR-904&commit=cefba91cd2d774311e977f8787cb353ade1003ea&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-904%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=904&job=&cmd_args= [2021-05-05T05:54:47.345Z] -> Pinging Codecov [2021-05-05T05:54:47.345Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-904&commit=cefba91cd2d774311e977f8787cb353ade1003ea&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-904%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=904&job=&cmd_args= [2021-05-05T05:54:47.922Z] -> Uploading to [2021-05-05T05:54:47.922Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-05/7E55EF52A471D76F132DFD9A03CDDE97/cefba91cd2d774311e977f8787cb353ade1003ea/f51b04be-1706-4fd7-bc14-3619acb8bbd2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210505T055447Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0071443cdf429c2ba4330ccf542de85a59ee6cb468c849e4f3e28381c007c23f [2021-05-05T05:54:47.922Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-05T05:54:47.922Z] Dload Upload Total Spent Left Speed [2021-05-05T05:54:48.496Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13505 0 0 100 13505 0 26617 --:--:-- --:--:-- --:--:-- 26637 [2021-05-05T05:54:48.496Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cefba91cd2d774311e977f8787cb353ade1003ea [Pipeline] } [2021-05-05T05:54:48.544Z] 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-05T05:54:50.746Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-05T05:54:51.100Z] ---> package-listing.sh [2021-05-05T05:54:51.100Z] ++ facter osfamily [2021-05-05T05:54:51.100Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-05T05:54:51.100Z] + OS_FAMILY=redhat [2021-05-05T05:54:51.100Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-904 [2021-05-05T05:54:51.100Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-05T05:54:51.100Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-05T05:54:51.100Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-05T05:54:51.100Z] + PACKAGES=/tmp/packages_start.txt [2021-05-05T05:54:51.100Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-904 ']' [2021-05-05T05:54:51.100Z] + PACKAGES=/tmp/packages_end.txt [2021-05-05T05:54:51.100Z] + case "${OS_FAMILY}" in [2021-05-05T05:54:51.100Z] + rpm -qa [2021-05-05T05:54:51.100Z] + sort [2021-05-05T05:54:56.418Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-05T05:54:56.418Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-05T05:54:56.418Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-05T05:54:56.418Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-904 ']' [2021-05-05T05:54:56.418Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-904/archives/ [2021-05-05T05:54:56.418Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-904/archives/ [Pipeline] echo [2021-05-05T05:54:56.456Z] 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-904/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-05T05:54:56.770Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-05T05:54:57.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-05T05:54:57.124Z] [2021-05-05T05:54:57.124Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-05T05:54:57.497Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-05T05:54:58.078Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-05T05:54:58.078Z] df20fa9351a1: Pulling fs layer [2021-05-05T05:54:58.078Z] 36b3adc4ff6f: Pulling fs layer [2021-05-05T05:54:58.078Z] 8ad3a11d3b57: Pulling fs layer [2021-05-05T05:54:58.078Z] 46f8f816bc3b: Pulling fs layer [2021-05-05T05:54:58.078Z] 93b61091891f: Pulling fs layer [2021-05-05T05:54:58.078Z] 93b9cdb0e59b: Pulling fs layer [2021-05-05T05:54:58.078Z] 5e14af77c1be: Pulling fs layer [2021-05-05T05:54:58.078Z] 01666e4c0597: Pulling fs layer [2021-05-05T05:54:58.078Z] aa168da1d23b: Pulling fs layer [2021-05-05T05:54:58.078Z] 46f8f816bc3b: Waiting [2021-05-05T05:54:58.078Z] 93b61091891f: Waiting [2021-05-05T05:54:58.078Z] aa168da1d23b: Waiting [2021-05-05T05:54:58.078Z] 5e14af77c1be: Waiting [2021-05-05T05:54:58.078Z] 93b9cdb0e59b: Waiting [2021-05-05T05:54:58.078Z] 01666e4c0597: Waiting [2021-05-05T05:54:58.078Z] 36b3adc4ff6f: Download complete [2021-05-05T05:54:58.078Z] 46f8f816bc3b: Verifying Checksum [2021-05-05T05:54:58.078Z] 46f8f816bc3b: Download complete [2021-05-05T05:54:58.350Z] df20fa9351a1: Download complete [2021-05-05T05:54:58.350Z] 93b9cdb0e59b: Verifying Checksum [2021-05-05T05:54:58.350Z] 93b9cdb0e59b: Download complete [2021-05-05T05:54:58.350Z] 5e14af77c1be: Verifying Checksum [2021-05-05T05:54:58.350Z] 5e14af77c1be: Download complete [2021-05-05T05:54:58.350Z] 01666e4c0597: Verifying Checksum [2021-05-05T05:54:58.350Z] 01666e4c0597: Download complete [2021-05-05T05:54:58.350Z] 93b61091891f: Verifying Checksum [2021-05-05T05:54:58.350Z] 93b61091891f: Download complete [2021-05-05T05:54:58.615Z] df20fa9351a1: Pull complete [2021-05-05T05:54:58.878Z] 8ad3a11d3b57: Verifying Checksum [2021-05-05T05:54:58.878Z] 8ad3a11d3b57: Download complete [2021-05-05T05:54:58.878Z] 36b3adc4ff6f: Pull complete [2021-05-05T05:54:59.836Z] 8ad3a11d3b57: Pull complete [2021-05-05T05:54:59.836Z] 46f8f816bc3b: Pull complete [2021-05-05T05:55:00.101Z] 93b61091891f: Pull complete [2021-05-05T05:55:00.363Z] 93b9cdb0e59b: Pull complete [2021-05-05T05:55:00.629Z] 5e14af77c1be: Pull complete [2021-05-05T05:55:01.578Z] 01666e4c0597: Pull complete [2021-05-05T05:55:02.156Z] aa168da1d23b: Verifying Checksum [2021-05-05T05:55:02.156Z] aa168da1d23b: Download complete [2021-05-05T05:55:08.794Z] aa168da1d23b: Pull complete [2021-05-05T05:55:08.794Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-05T05:55:08.794Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-05T05:55:08.794Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-05T05:55:08.987Z] prd-centos7-docker-4c-2g-3002 does not seem to be running inside a container [2021-05-05T05:55:09.034Z] $ 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-904/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-904 -v /w/workspace/dgexfoundry_device-sdk-go_PR-904:/w/workspace/dgexfoundry_device-sdk-go_PR-904:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-904@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-05T05:55:12.337Z] $ docker top 15a7de5e715f9f1ee49ed972650eb5558cd86746a189776129e5fd48b3128863 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-05T05:55:12.846Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-05T05:55:13.177Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-05T05:55:13.523Z] + ls /var/log/sa-host [2021-05-05T05:55:13.523Z] + sadf -c /var/log/sa-host/sa05 [2021-05-05T05:55:13.523Z] file_magic: OK [2021-05-05T05:55:13.523Z] HZ: Using current value: 100 [2021-05-05T05:55:13.523Z] file_header: OK [2021-05-05T05:55:13.523Z] 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-05T05:55:13.523Z] Statistics: [2021-05-05T05:55:13.523Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-05T05:55:13.523Z] File successfully converted to sysstat format version 12.2.1 [2021-05-05T05:55:13.523Z] + sadf -c /var/log/sa-host/sa23 [2021-05-05T05:55:13.523Z] file_magic: OK [2021-05-05T05:55:13.523Z] HZ: Using current value: 100 [2021-05-05T05:55:13.523Z] file_header: OK [2021-05-05T05:55:13.523Z] 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-05T05:55:13.523Z] Statistics: [2021-05-05T05:55:13.523Z] Hnuu...uuuununununu... [2021-05-05T05:55:13.523Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-05T05:55:14.234Z] provisioning config files... [2021-05-05T05:55:14.253Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp/config8345152123525839410tmp [Pipeline] { [Pipeline] echo [2021-05-05T05:55:14.313Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-05T05:55:14.668Z] ---> create-netrc.sh [Pipeline] } [2021-05-05T05:55:14.712Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-05T05:55:14.805Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-05T05:55:15.155Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-05T05:55:15.185Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-05T05:55:15.519Z] ---> sudo-logs.sh [2021-05-05T05:55:15.519Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-05T05:55:15.604Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-05T05:55:15.938Z] ---> job-cost.sh [2021-05-05T05:55:15.938Z] lf-activate-venv: SKIPPING [2021-05-05T05:55:15.938Z] DEBUG: total: 0.20999999344348907 [2021-05-05T05:55:15.938Z] INFO: Retrieving Stack Cost... [2021-05-05T05:55:17.327Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-05T05:55:17.590Z] INFO: Archiving Costs [Pipeline] echo [2021-05-05T05:55:17.630Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-05T05:55:17.974Z] ---> logs-deploy.sh [2021-05-05T05:55:17.974Z] lf-activate-venv: SKIPPING [2021-05-05T05:55:17.974Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-904/1 [2021-05-05T05:55:17.974Z] INFO: archiving workspace using pattern(s): [2021-05-05T05:55:19.898Z] Archives upload complete. [2021-05-05T05:55:19.898Z] INFO: archiving logs to Nexus