Pull request #887 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a+4d2675d668c2f9064e370a810b18e5856622130c (37be749998f850d01e771b1a03e37bac306961f3) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-887/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-887/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1073’ Running on prd-centos7-docker-4c-2g-1080 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [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-887 # 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 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a Merge succeeded, producing 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a Checking out Revision 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a (PR-887) > 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/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a # 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 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-20T05:50:30.396Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-20T05:50:30.595Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-20T05:50:30.720Z] ========================================================= [2021-04-20T05:50:30.720Z] EdgeX Global Pipelines Version Info [2021-04-20T05:50:30.720Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-20T05:50:32.251Z] ------------------- [2021-04-20T05:50:32.251Z] stable info: [2021-04-20T05:50:32.251Z] ------------------- [2021-04-20T05:50:32.251Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-20T05:50:32.251Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-20T05:50:32.251Z] Message: update stable to v1.0.186 [2021-04-20T05:50:33.196Z] ------------------- [2021-04-20T05:50:33.196Z] experimental info: [2021-04-20T05:50:33.196Z] ------------------- [2021-04-20T05:50:33.196Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-20T05:50:33.196Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-20T05:50:33.196Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-20T05:50:33.423Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-20T05:50:33.489Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-20T05:50:33.546Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-20T05:50:33.603Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-20T05:50:33.668Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-20T05:50:33.725Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-20T05:50:33.780Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-20T05:50:33.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-20T05:50:33.890Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-20T05:50:33.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-20T05:50:34.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-20T05:50:34.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-20T05:50:34.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-20T05:50:34.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-20T05:50:34.233Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-20T05:50:34.292Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-20T05:50:34.342Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-20T05:50:34.393Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-20T05:50:34.448Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-20T05:50:34.502Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-20T05:50:34.556Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-20T05:50:34.614Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-20T05:50:34.667Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-20T05:50:34.721Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-20T05:50:34.778Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-20T05:50:34.831Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-20T05:50:34.886Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-887 [Pipeline] echo [2021-04-20T05:50:34.942Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-887 [Pipeline] echo [2021-04-20T05:50:35.005Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-887 [Pipeline] echo [2021-04-20T05:50:35.077Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a [Pipeline] echo [2021-04-20T05:50:35.132Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 575f9d0 [Pipeline] echo [2021-04-20T05:50:35.201Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-20T05:50:35.371Z] provisioning config files... [2021-04-20T05:50:35.431Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config69477073408999906tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-20T05:50:35.813Z] ---> docker-login.sh [2021-04-20T05:50:35.813Z] nexus3.edgexfoundry.org:10001 [2021-04-20T05:50:36.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:50:36.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:50:36.339Z] Configure a credential helper to remove this warning. See [2021-04-20T05:50:36.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:50:36.339Z] [2021-04-20T05:50:36.339Z] Login Succeeded [2021-04-20T05:50:36.339Z] nexus3.edgexfoundry.org:10002 [2021-04-20T05:50:36.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:50:36.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:50:36.603Z] Configure a credential helper to remove this warning. See [2021-04-20T05:50:36.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:50:36.603Z] [2021-04-20T05:50:36.603Z] Login Succeeded [2021-04-20T05:50:36.603Z] nexus3.edgexfoundry.org:10003 [2021-04-20T05:50:36.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:50:36.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:50:36.603Z] Configure a credential helper to remove this warning. See [2021-04-20T05:50:36.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:50:36.603Z] [2021-04-20T05:50:36.603Z] Login Succeeded [2021-04-20T05:50:36.603Z] nexus3.edgexfoundry.org:10004 [2021-04-20T05:50:36.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:50:36.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:50:36.866Z] Configure a credential helper to remove this warning. See [2021-04-20T05:50:36.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:50:36.866Z] [2021-04-20T05:50:36.866Z] Login Succeeded [2021-04-20T05:50:36.866Z] docker.io [2021-04-20T05:50:37.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:50:37.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:50:37.130Z] Configure a credential helper to remove this warning. See [2021-04-20T05:50:37.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:50:37.130Z] [2021-04-20T05:50:37.130Z] Login Succeeded [2021-04-20T05:50:37.139Z] ---> docker-login.sh ends [Pipeline] } [2021-04-20T05:50:37.154Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-20T05:50:37.900Z] + git log --format=format:%s -1 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a [Pipeline] echo [2021-04-20T05:50:37.998Z] GIT_COMMIT: 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 [Pipeline] echo [2021-04-20T05:50:38.037Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-20T05:50:39.020Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-20T05:50:39.020Z] [2021-04-20T05:50:39.020Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-20T05:50:39.374Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-20T05:50:39.374Z] latest: Pulling from edgex-devops/git-semver [2021-04-20T05:50:39.374Z] 31603596830f: Pulling fs layer [2021-04-20T05:50:39.374Z] 2a8b12db71e7: Pulling fs layer [2021-04-20T05:50:39.374Z] 6ca5941a6612: Pulling fs layer [2021-04-20T05:50:39.374Z] ecc8261a40a4: Pulling fs layer [2021-04-20T05:50:39.374Z] ecc8261a40a4: Waiting [2021-04-20T05:50:39.374Z] 2a8b12db71e7: Verifying Checksum [2021-04-20T05:50:39.374Z] 2a8b12db71e7: Download complete [2021-04-20T05:50:39.374Z] 31603596830f: Verifying Checksum [2021-04-20T05:50:39.374Z] 31603596830f: Download complete [2021-04-20T05:50:39.636Z] ecc8261a40a4: Verifying Checksum [2021-04-20T05:50:39.636Z] ecc8261a40a4: Download complete [2021-04-20T05:50:39.636Z] 6ca5941a6612: Verifying Checksum [2021-04-20T05:50:39.636Z] 6ca5941a6612: Download complete [2021-04-20T05:50:39.898Z] 31603596830f: Pull complete [2021-04-20T05:50:39.898Z] 2a8b12db71e7: Pull complete [2021-04-20T05:50:40.857Z] 6ca5941a6612: Pull complete [2021-04-20T05:50:41.120Z] ecc8261a40a4: Pull complete [2021-04-20T05:50:41.120Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-20T05:50:41.120Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-20T05:50:41.120Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-20T05:50:41.250Z] prd-centos7-docker-4c-2g-1080 does not seem to be running inside a container [2021-04-20T05:50:41.305Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-887 -v /w/workspace/dgexfoundry_device-sdk-go_PR-887:/w/workspace/dgexfoundry_device-sdk-go_PR-887:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-20T05:50:43.436Z] $ docker top b98a299285663148b1f244a0e1e094af7b0f8fc00015493a6eaaa4eca2af07c2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-20T05:50:43.684Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-20T05:50:43.684Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-20T05:50:44.035Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-20T05:50:44.040Z] $ docker exec b98a299285663148b1f244a0e1e094af7b0f8fc00015493a6eaaa4eca2af07c2 ssh-agent [2021-04-20T05:50:44.226Z] SSH_AUTH_SOCK=/tmp/ssh-DPZNAgbxXW3g/agent.11 [2021-04-20T05:50:44.226Z] SSH_AGENT_PID=16 [2021-04-20T05:50:44.238Z] Running ssh-add (command line suppressed) [2021-04-20T05:50:44.370Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_6625241354012585377.key (/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_6625241354012585377.key) [2021-04-20T05:50:44.429Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-20T05:50:44.776Z] + git tag --points-at HEAD [Pipeline] } [2021-04-20T05:50:44.804Z] $ docker exec --env ******** --env ******** b98a299285663148b1f244a0e1e094af7b0f8fc00015493a6eaaa4eca2af07c2 ssh-agent -k [2021-04-20T05:50:44.936Z] unset SSH_AUTH_SOCK; [2021-04-20T05:50:44.936Z] unset SSH_AGENT_PID; [2021-04-20T05:50:44.936Z] echo Agent pid 16 killed; [2021-04-20T05:50:44.991Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-20T05:50:45.089Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-20T05:50:45.089Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-20T05:50:45.266Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-20T05:50:45.271Z] $ docker exec b98a299285663148b1f244a0e1e094af7b0f8fc00015493a6eaaa4eca2af07c2 ssh-agent [2021-04-20T05:50:45.447Z] SSH_AUTH_SOCK=/tmp/ssh-1PXkPZSpp3xX/agent.46 [2021-04-20T05:50:45.447Z] SSH_AGENT_PID=51 [2021-04-20T05:50:45.454Z] Running ssh-add (command line suppressed) [2021-04-20T05:50:45.577Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_3617667251194068036.key (/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_3617667251194068036.key) [2021-04-20T05:50:45.637Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-20T05:50:45.983Z] + git semver init [2021-04-20T05:50:45.983Z] # -> Open(): unable to determine branch for HEAD [2021-04-20T05:50:45.983Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-887/.git [2021-04-20T05:50:45.983Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-887 [2021-04-20T05:50:45.983Z] # $SEMVER_REMOTE_NAME = origin [2021-04-20T05:50:45.983Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-20T05:50:45.983Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-20T05:50:45.983Z] # $SEMVER_BRANCH = PR-887 [2021-04-20T05:50:45.983Z] # $SEMVER_TEMP = /tmp/semver-255812879 [2021-04-20T05:50:45.983Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-20T05:50:46.930Z] # '/tmp/semver-255812879' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-887/.semver' [2021-04-20T05:50:46.930Z] # -> Force: false [2021-04-20T05:50:46.930Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-887/.semver [Pipeline] } [2021-04-20T05:50:46.951Z] $ docker exec --env ******** --env ******** b98a299285663148b1f244a0e1e094af7b0f8fc00015493a6eaaa4eca2af07c2 ssh-agent -k [2021-04-20T05:50:47.071Z] unset SSH_AUTH_SOCK; [2021-04-20T05:50:47.072Z] unset SSH_AGENT_PID; [2021-04-20T05:50:47.072Z] echo Agent pid 51 killed; [2021-04-20T05:50:47.131Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-20T05:50:47.625Z] + git semver [Pipeline] } [2021-04-20T05:50:47.657Z] $ docker stop --time=1 b98a299285663148b1f244a0e1e094af7b0f8fc00015493a6eaaa4eca2af07c2 [2021-04-20T05:50:49.248Z] $ docker rm -f b98a299285663148b1f244a0e1e094af7b0f8fc00015493a6eaaa4eca2af07c2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-20T05:50:49.760Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-20T05:50:50.264Z] Stashed 1 file(s) [Pipeline] echo [2021-04-20T05:50:50.283Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-04-20T05:51:05.742Z] Still waiting to schedule task [2021-04-20T05:51:05.742Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-20T05:51:05.768Z] Still waiting to schedule task [2021-04-20T05:51:05.768Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1078’ is offline [2021-04-20T05:52:35.712Z] Running on prd-centos7-docker-4c-2g-1085 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] ws [2021-04-20T05:52:35.771Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-20T05:52:38.433Z] using credential edgex-jenkins-ssh [2021-04-20T05:52:38.450Z] Cloning the remote Git repository [2021-04-20T05:52:38.474Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-20T05:52:38.541Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-20T05:52:38.605Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-20T05:52:38.605Z] > git --version # timeout=10 [2021-04-20T05:52:38.612Z] > git --version # 'git version 2.24.3' [2021-04-20T05:52:38.613Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T05:52:38.640Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-20T05:52:39.339Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-20T05:52:39.365Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-20T05:52:39.845Z] Merging remotes/origin/master commit 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a [2021-04-20T05:52:39.933Z] Merge succeeded, producing 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a [2021-04-20T05:52:39.934Z] Checking out Revision 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a (PR-887) [2021-04-20T05:52:39.409Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-20T05:52:39.423Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-20T05:52:39.423Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T05:52:39.428Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-20T05:52:39.852Z] > git config core.sparsecheckout # timeout=10 [2021-04-20T05:52:39.858Z] > git checkout -f 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a # timeout=10 [2021-04-20T05:52:39.901Z] > git remote # timeout=10 [2021-04-20T05:52:39.908Z] > git config --get remote.origin.url # timeout=10 [2021-04-20T05:52:39.913Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T05:52:39.917Z] > git merge 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 [2021-04-20T05:52:39.926Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-20T05:52:39.936Z] > git config core.sparsecheckout # timeout=10 [2021-04-20T05:52:39.941Z] > git checkout -f 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a # timeout=10 [2021-04-20T05:52:43.579Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [2021-04-20T05:52:43.606Z] > git --version # timeout=10 [2021-04-20T05:52:43.611Z] > git --version # 'git version 2.24.3' [2021-04-20T05:52:43.626Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-20T05:52:44.793Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-20T05:52:45.165Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-20T05:52:45.485Z] + sudo service docker restart [2021-04-20T05:52:45.485Z] + true [2021-04-20T05:52:45.485Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-20T05:52:46.531Z] provisioning config files... [2021-04-20T05:52:46.562Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6028709601558732609tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-20T05:52:46.946Z] ---> docker-login.sh [2021-04-20T05:52:46.946Z] nexus3.edgexfoundry.org:10001 [2021-04-20T05:52:47.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:52:47.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:52:47.472Z] Configure a credential helper to remove this warning. See [2021-04-20T05:52:47.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:52:47.472Z] [2021-04-20T05:52:47.472Z] Login Succeeded [2021-04-20T05:52:47.472Z] nexus3.edgexfoundry.org:10002 [2021-04-20T05:52:47.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:52:47.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:52:47.472Z] Configure a credential helper to remove this warning. See [2021-04-20T05:52:47.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:52:47.472Z] [2021-04-20T05:52:47.472Z] Login Succeeded [2021-04-20T05:52:47.472Z] nexus3.edgexfoundry.org:10003 [2021-04-20T05:52:47.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:52:47.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:52:47.735Z] Configure a credential helper to remove this warning. See [2021-04-20T05:52:47.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:52:47.735Z] [2021-04-20T05:52:47.735Z] Login Succeeded [2021-04-20T05:52:47.735Z] nexus3.edgexfoundry.org:10004 [2021-04-20T05:52:47.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:52:47.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:52:47.998Z] Configure a credential helper to remove this warning. See [2021-04-20T05:52:47.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:52:47.998Z] [2021-04-20T05:52:47.998Z] Login Succeeded [2021-04-20T05:52:47.998Z] docker.io [2021-04-20T05:52:47.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:52:48.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:52:48.261Z] Configure a credential helper to remove this warning. See [2021-04-20T05:52:48.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:52:48.261Z] [2021-04-20T05:52:48.261Z] Login Succeeded [2021-04-20T05:52:48.261Z] ---> docker-login.sh ends [Pipeline] } [2021-04-20T05:52:48.288Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-20T05:52:48.579Z] ========================================================= [2021-04-20T05:52:48.579Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-20T05:52:48.579Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-20T05:52:48.925Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-20T05:52:48.925Z] Sending build context to Docker daemon 2.451MB [2021-04-20T05:52:48.925Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-20T05:52:48.925Z] Step 2/8 : FROM ${BASE} [2021-04-20T05:52:49.196Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-20T05:52:49.196Z] 188c0c94c7c5: Pulling fs layer [2021-04-20T05:52:49.196Z] 0ef7d3d256c8: Pulling fs layer [2021-04-20T05:52:49.196Z] de9db76c5a1d: Pulling fs layer [2021-04-20T05:52:49.196Z] bca2f99d35d6: Pulling fs layer [2021-04-20T05:52:49.196Z] 93359f2a8cfa: Pulling fs layer [2021-04-20T05:52:49.196Z] 7c6f9722023f: Pulling fs layer [2021-04-20T05:52:49.196Z] a35cf1a2eb13: Pulling fs layer [2021-04-20T05:52:49.196Z] bca2f99d35d6: Waiting [2021-04-20T05:52:49.196Z] 7c6f9722023f: Waiting [2021-04-20T05:52:49.196Z] a35cf1a2eb13: Waiting [2021-04-20T05:52:49.196Z] 93359f2a8cfa: Waiting [2021-04-20T05:52:49.196Z] de9db76c5a1d: Verifying Checksum [2021-04-20T05:52:49.196Z] de9db76c5a1d: Download complete [2021-04-20T05:52:49.196Z] 0ef7d3d256c8: Verifying Checksum [2021-04-20T05:52:49.196Z] 0ef7d3d256c8: Download complete [2021-04-20T05:52:49.196Z] 93359f2a8cfa: Verifying Checksum [2021-04-20T05:52:49.196Z] 93359f2a8cfa: Download complete [2021-04-20T05:52:49.196Z] 7c6f9722023f: Verifying Checksum [2021-04-20T05:52:49.196Z] 7c6f9722023f: Download complete [2021-04-20T05:52:49.196Z] 188c0c94c7c5: Verifying Checksum [2021-04-20T05:52:49.196Z] 188c0c94c7c5: Download complete [2021-04-20T05:52:49.468Z] 188c0c94c7c5: Pull complete [2021-04-20T05:52:49.736Z] 0ef7d3d256c8: Pull complete [2021-04-20T05:52:49.998Z] de9db76c5a1d: Pull complete [2021-04-20T05:52:51.412Z] a35cf1a2eb13: Verifying Checksum [2021-04-20T05:52:51.412Z] a35cf1a2eb13: Download complete [2021-04-20T05:52:52.377Z] bca2f99d35d6: Verifying Checksum [2021-04-20T05:52:52.377Z] bca2f99d35d6: Download complete [2021-04-20T05:52:57.728Z] bca2f99d35d6: Pull complete [2021-04-20T05:52:57.728Z] 93359f2a8cfa: Pull complete [2021-04-20T05:52:57.728Z] 7c6f9722023f: Pull complete [2021-04-20T05:52:58.850Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1084 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] ws [2021-04-20T05:52:58.924Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-20T05:53:04.681Z] using credential edgex-jenkins-ssh [2021-04-20T05:53:04.711Z] Cloning the remote Git repository [2021-04-20T05:53:04.779Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-20T05:53:04.947Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-20T05:53:05.036Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-20T05:53:05.036Z] > git --version # timeout=10 [2021-04-20T05:53:05.052Z] > git --version # 'git version 2.17.1' [2021-04-20T05:53:05.054Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T05:53:05.100Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-20T05:53:06.370Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-20T05:53:06.391Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-20T05:53:06.420Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-20T05:53:06.455Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-20T05:53:06.456Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T05:53:06.468Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-20T05:53:06.999Z] Merging remotes/origin/master commit 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a [2021-04-20T05:53:07.242Z] Merge succeeded, producing 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a [2021-04-20T05:53:07.243Z] Checking out Revision 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a (PR-887) [2021-04-20T05:53:07.791Z] a35cf1a2eb13: Pull complete [2021-04-20T05:53:07.791Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-20T05:53:07.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-20T05:53:07.791Z] ---> a62c8e92a672 [2021-04-20T05:53:07.791Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-20T05:53:07.791Z] ---> Running in 1fc5db892162 [2021-04-20T05:53:07.791Z] Removing intermediate container 1fc5db892162 [2021-04-20T05:53:07.791Z] ---> 5cbb88da807a [2021-04-20T05:53:07.791Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-20T05:53:07.791Z] ---> Running in 6e4d2bdbe1a9 [2021-04-20T05:53:07.025Z] > git config core.sparsecheckout # timeout=10 [2021-04-20T05:53:07.037Z] > git checkout -f 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a # timeout=10 [2021-04-20T05:53:07.137Z] > git remote # timeout=10 [2021-04-20T05:53:07.157Z] > git config --get remote.origin.url # timeout=10 [2021-04-20T05:53:07.179Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T05:53:07.190Z] > git merge 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 [2021-04-20T05:53:07.219Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-20T05:53:07.252Z] > git config core.sparsecheckout # timeout=10 [2021-04-20T05:53:07.263Z] > git checkout -f 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a # timeout=10 [2021-04-20T05:53:08.387Z] Removing intermediate container 6e4d2bdbe1a9 [2021-04-20T05:53:08.387Z] ---> 523d3f8cbcb4 [2021-04-20T05:53:08.387Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-20T05:53:08.387Z] ---> Running in 873db8ae65b8 [2021-04-20T05:53:09.793Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-20T05:53:10.372Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-20T05:53:10.637Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-20T05:53:10.899Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-20T05:53:10.899Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-20T05:53:10.899Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-20T05:53:11.165Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-20T05:53:11.165Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-20T05:53:11.436Z] Executing busybox-1.31.1-r19.trigger [2021-04-20T05:53:11.436Z] OK: 167 MiB in 45 packages [2021-04-20T05:53:11.657Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [2021-04-20T05:53:11.719Z] > git --version # timeout=10 [2021-04-20T05:53:11.730Z] > git --version # 'git version 2.17.1' [2021-04-20T05:53:11.757Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-20T05:53:12.393Z] Removing intermediate container 873db8ae65b8 [2021-04-20T05:53:12.393Z] ---> b029b77e386d [2021-04-20T05:53:12.393Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-20T05:53:12.393Z] ---> Running in 975bccd221b6 [2021-04-20T05:53:12.393Z] Removing intermediate container 975bccd221b6 [2021-04-20T05:53:12.393Z] ---> 40e163b8cb7b [2021-04-20T05:53:12.393Z] Step 7/8 : COPY . . [2021-04-20T05:53:13.411Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-20T05:53:13.790Z] ---> 02029aac6715 [2021-04-20T05:53:13.790Z] Step 8/8 : RUN go mod download [2021-04-20T05:53:13.790Z] ---> Running in d927ea52a8b9 [2021-04-20T05:53:13.823Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-20T05:53:14.180Z] + sudo service docker restart [2021-04-20T05:53:14.180Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-20T05:53:16.911Z] provisioning config files... [2021-04-20T05:53:16.959Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8095515912226135103tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-20T05:53:17.444Z] ---> docker-login.sh [2021-04-20T05:53:17.444Z] nexus3.edgexfoundry.org:10001 [2021-04-20T05:53:18.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:53:18.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:53:18.644Z] Configure a credential helper to remove this warning. See [2021-04-20T05:53:18.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:53:18.644Z] [2021-04-20T05:53:18.644Z] Login Succeeded [2021-04-20T05:53:18.644Z] nexus3.edgexfoundry.org:10002 [2021-04-20T05:53:18.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:53:19.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:53:19.203Z] Configure a credential helper to remove this warning. See [2021-04-20T05:53:19.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:53:19.203Z] [2021-04-20T05:53:19.203Z] Login Succeeded [2021-04-20T05:53:19.203Z] nexus3.edgexfoundry.org:10003 [2021-04-20T05:53:19.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:53:19.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:53:19.758Z] Configure a credential helper to remove this warning. See [2021-04-20T05:53:19.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:53:19.758Z] [2021-04-20T05:53:19.758Z] Login Succeeded [2021-04-20T05:53:19.758Z] nexus3.edgexfoundry.org:10004 [2021-04-20T05:53:20.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:53:20.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:53:20.308Z] Configure a credential helper to remove this warning. See [2021-04-20T05:53:20.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:53:20.308Z] [2021-04-20T05:53:20.308Z] Login Succeeded [2021-04-20T05:53:20.308Z] docker.io [2021-04-20T05:53:20.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:53:27.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:53:27.273Z] Configure a credential helper to remove this warning. See [2021-04-20T05:53:27.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:53:27.273Z] [2021-04-20T05:53:27.273Z] Login Succeeded [2021-04-20T05:53:27.273Z] ---> docker-login.sh ends [Pipeline] } [2021-04-20T05:53:27.301Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-20T05:53:27.711Z] ========================================================= [2021-04-20T05:53:27.711Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-20T05:53:27.711Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-20T05:53:28.086Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-20T05:53:28.360Z] Sending build context to Docker daemon 2.461MB [2021-04-20T05:53:28.636Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-20T05:53:28.636Z] Step 2/8 : FROM ${BASE} [2021-04-20T05:53:28.636Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-20T05:53:28.636Z] 5f621e34cdf4: Pulling fs layer [2021-04-20T05:53:28.636Z] a4357932f1b6: Pulling fs layer [2021-04-20T05:53:28.636Z] 18c013af1878: Pulling fs layer [2021-04-20T05:53:28.636Z] 00ac8860ef70: Pulling fs layer [2021-04-20T05:53:28.636Z] 63d7cb157983: Pulling fs layer [2021-04-20T05:53:28.636Z] b116817d02f9: Pulling fs layer [2021-04-20T05:53:28.636Z] 745a02a5169b: Pulling fs layer [2021-04-20T05:53:28.636Z] 745a02a5169b: Waiting [2021-04-20T05:53:28.636Z] 63d7cb157983: Waiting [2021-04-20T05:53:28.636Z] b116817d02f9: Waiting [2021-04-20T05:53:28.636Z] 00ac8860ef70: Waiting [2021-04-20T05:53:28.636Z] 18c013af1878: Download complete [2021-04-20T05:53:28.636Z] a4357932f1b6: Verifying Checksum [2021-04-20T05:53:28.636Z] a4357932f1b6: Download complete [2021-04-20T05:53:28.636Z] 63d7cb157983: Verifying Checksum [2021-04-20T05:53:28.636Z] 63d7cb157983: Download complete [2021-04-20T05:53:28.636Z] b116817d02f9: Verifying Checksum [2021-04-20T05:53:28.636Z] b116817d02f9: Download complete [2021-04-20T05:53:28.636Z] 5f621e34cdf4: Verifying Checksum [2021-04-20T05:53:28.636Z] 5f621e34cdf4: Download complete [2021-04-20T05:53:29.650Z] 5f621e34cdf4: Pull complete [2021-04-20T05:53:29.927Z] a4357932f1b6: Pull complete [2021-04-20T05:53:30.533Z] 18c013af1878: Pull complete [2021-04-20T05:53:30.534Z] 745a02a5169b: Verifying Checksum [2021-04-20T05:53:30.534Z] 745a02a5169b: Download complete [2021-04-20T05:53:32.534Z] 00ac8860ef70: Verifying Checksum [2021-04-20T05:53:32.534Z] 00ac8860ef70: Download complete [2021-04-20T05:53:42.731Z] 00ac8860ef70: Pull complete [2021-04-20T05:53:42.731Z] 63d7cb157983: Pull complete [2021-04-20T05:53:42.731Z] b116817d02f9: Pull complete [2021-04-20T05:53:45.993Z] Removing intermediate container d927ea52a8b9 [2021-04-20T05:53:45.993Z] ---> 8e2e079e68f2 [2021-04-20T05:53:45.993Z] Successfully built 8e2e079e68f2 [2021-04-20T05:53:45.993Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-20T05:53:46.360Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-20T05:53:46.360Z] . [Pipeline] withDockerContainer [2021-04-20T05:53:46.504Z] prd-centos7-docker-4c-2g-1085 does not seem to be running inside a container [2021-04-20T05:53:46.554Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-20T05:53:47.060Z] 745a02a5169b: Pull complete [2021-04-20T05:53:47.061Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-20T05:53:47.061Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-20T05:53:47.061Z] ---> b7e6874047d6 [2021-04-20T05:53:47.061Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-20T05:53:47.434Z] $ docker top a376b4aae32c34b0817608b7802e2fcfebd42e3f196e65b9672e1c83af62f5d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-20T05:53:48.016Z] + go version [2021-04-20T05:53:48.016Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-20T05:53:48.049Z] $ docker stop --time=1 a376b4aae32c34b0817608b7802e2fcfebd42e3f196e65b9672e1c83af62f5d5 [2021-04-20T05:53:49.146Z] ---> Running in 98a2c86b07f4 [2021-04-20T05:53:49.398Z] $ docker rm -f a376b4aae32c34b0817608b7802e2fcfebd42e3f196e65b9672e1c83af62f5d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-04-20T05:53:49.759Z] Removing intermediate container 98a2c86b07f4 [2021-04-20T05:53:49.759Z] ---> 3a5d74f067bc [2021-04-20T05:53:49.759Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-20T05:53:49.759Z] ---> Running in e09125343e6d [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-20T05:53:50.227Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-20T05:53:50.227Z] . [Pipeline] withDockerContainer [2021-04-20T05:53:50.357Z] prd-centos7-docker-4c-2g-1085 does not seem to be running inside a container [2021-04-20T05:53:50.408Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-20T05:53:51.206Z] $ docker top d74fd8b70da98e8ac2eed43a6f8dc0328d582a735b673dbb92db445188725705 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-20T05:53:51.696Z] + make test [2021-04-20T05:53:51.696Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-20T05:53:52.391Z] Removing intermediate container e09125343e6d [2021-04-20T05:53:52.391Z] ---> dda007cd13a9 [2021-04-20T05:53:52.391Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-20T05:53:52.391Z] ---> Running in cc0105d88c20 [2021-04-20T05:53:53.368Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-20T05:53:53.962Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-20T05:53:55.390Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-20T05:53:55.662Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-20T05:53:55.662Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-20T05:53:55.933Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-20T05:53:55.933Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-20T05:53:56.205Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-20T05:53:56.205Z] Executing busybox-1.31.1-r19.trigger [2021-04-20T05:53:56.482Z] OK: 144 MiB in 45 packages [2021-04-20T05:53:57.475Z] Removing intermediate container cc0105d88c20 [2021-04-20T05:53:57.475Z] ---> c00474b2408b [2021-04-20T05:53:57.475Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-20T05:53:57.752Z] ---> Running in b8a73c1a1e07 [2021-04-20T05:53:58.350Z] Removing intermediate container b8a73c1a1e07 [2021-04-20T05:53:58.350Z] ---> 1ddc4d4eba4b [2021-04-20T05:53:58.350Z] Step 7/8 : COPY . . [2021-04-20T05:53:59.338Z] ---> 107b15ba8b96 [2021-04-20T05:53:59.338Z] Step 8/8 : RUN go mod download [2021-04-20T05:53:59.609Z] ---> Running in 326c38876780 [2021-04-20T05:53:59.893Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-20T05:54:22.760Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-20T05:54:22.760Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-20T05:54:22.760Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-20T05:54:22.760Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-20T05:54:22.760Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-20T05:54:24.175Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.094s coverage: 28.1% of statements [2021-04-20T05:54:24.445Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.076s coverage: 78.9% of statements [2021-04-20T05:54:25.402Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.080s coverage: 7.8% of statements [2021-04-20T05:54:25.402Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-20T05:54:25.402Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-20T05:54:25.402Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-20T05:54:25.402Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.089s coverage: 32.0% of statements [2021-04-20T05:54:25.402Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-20T05:54:25.402Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-20T05:54:25.402Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-20T05:54:25.989Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.125s coverage: 57.1% of statements [2021-04-20T05:54:26.433Z] Removing intermediate container 326c38876780 [2021-04-20T05:54:26.433Z] ---> f9debfa2b10f [2021-04-20T05:54:26.433Z] Successfully built f9debfa2b10f [2021-04-20T05:54:26.433Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-20T05:54:26.569Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.219s coverage: 6.6% of statements [2021-04-20T05:54:26.798Z] + docker inspect -f . ci-base-image-arm64 [2021-04-20T05:54:26.798Z] . [2021-04-20T05:54:26.833Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements [2021-04-20T05:54:26.833Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [Pipeline] withDockerContainer [2021-04-20T05:54:27.086Z] prd-ubuntu18.04-docker-arm64-4c-16g-1084 does not seem to be running inside a container [2021-04-20T05:54:27.107Z] GO111MODULE=on go vet ./... [2021-04-20T05:54:27.165Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-20T05:54:28.646Z] $ docker top aa2d5ecb7bd396dd240d1f2e8c7d4d420167fbdfceda4d3876221ce6ea4dce75 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-20T05:54:29.692Z] + go version [2021-04-20T05:54:29.692Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-20T05:54:29.728Z] $ docker stop --time=1 aa2d5ecb7bd396dd240d1f2e8c7d4d420167fbdfceda4d3876221ce6ea4dce75 [2021-04-20T05:54:31.602Z] $ docker rm -f aa2d5ecb7bd396dd240d1f2e8c7d4d420167fbdfceda4d3876221ce6ea4dce75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-20T05:54:32.523Z] + docker inspect -f . ci-base-image-arm64 [2021-04-20T05:54:32.523Z] . [Pipeline] withDockerContainer [2021-04-20T05:54:32.799Z] prd-ubuntu18.04-docker-arm64-4c-16g-1084 does not seem to be running inside a container [2021-04-20T05:54:32.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-20T05:54:34.451Z] $ docker top d7ef54c8bae716c90dcde131bb502fdc04a31f5c5d8719527e507b5558f1e884 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-20T05:54:35.455Z] + make test [2021-04-20T05:54:35.455Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-20T05:54:45.375Z] gofmt -l . [2021-04-20T05:54:45.375Z] [ "`gofmt -l .`" = "" ] [2021-04-20T05:54:45.375Z] ./bin/test-attribution-txt.sh [2021-04-20T05:54:45.375Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-20T05:54:45.675Z] $ docker stop --time=1 d74fd8b70da98e8ac2eed43a6f8dc0328d582a735b673dbb92db445188725705 [2021-04-20T05:54:47.474Z] $ docker rm -f d74fd8b70da98e8ac2eed43a6f8dc0328d582a735b673dbb92db445188725705 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-20T05:54:48.233Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-20T05:54:48.663Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-20T05:54:49.746Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-20T05:54:50.081Z] + ls -al . [2021-04-20T05:54:50.081Z] total 188 [2021-04-20T05:54:50.081Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 20 05:54 . [2021-04-20T05:54:50.081Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 20 05:52 .. [2021-04-20T05:54:50.081Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 20 05:52 bin [2021-04-20T05:54:50.081Z] -rw-r--r--. 1 jenkins jenkins 100116 Apr 20 05:54 coverage.out [2021-04-20T05:54:50.081Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 20 05:52 Dockerfile.build [2021-04-20T05:54:50.081Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 20 05:52 .dockerignore [2021-04-20T05:54:50.081Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 20 05:52 example [2021-04-20T05:54:50.081Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 20 05:52 .git [2021-04-20T05:54:50.081Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 20 05:52 .github [2021-04-20T05:54:50.081Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 20 05:52 .gitignore [2021-04-20T05:54:50.081Z] -rw-r--r--. 1 jenkins jenkins 574 Apr 20 05:54 go.mod [2021-04-20T05:54:50.081Z] -rw-r--r--. 1 jenkins jenkins 20846 Apr 20 05:54 go.sum [2021-04-20T05:54:50.081Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 20 05:52 internal [2021-04-20T05:54:50.081Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 20 05:52 Jenkinsfile [2021-04-20T05:54:50.081Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 20 05:52 LICENSE [2021-04-20T05:54:50.081Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 20 05:52 Makefile [2021-04-20T05:54:50.081Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 20 05:52 openapi [2021-04-20T05:54:50.081Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 20 05:52 pkg [2021-04-20T05:54:50.081Z] -rw-rw-r--. 1 jenkins jenkins 7652 Apr 20 05:52 README.md [2021-04-20T05:54:50.081Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 20 05:52 RELEASE-NOTES.txt [2021-04-20T05:54:50.081Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 20 05:52 snap [2021-04-20T05:54:50.081Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 20 05:50 VERSION [2021-04-20T05:54:50.081Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 20 05:52 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-20T05:54:50.478Z] + 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=575f9d08c1cd7040fdff40d3a04e9ff61be50f8a --label arch=amd64 --label version=0.0.0 . [2021-04-20T05:54:50.746Z] Sending build context to Docker daemon 2.552MB [2021-04-20T05:54:50.746Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-20T05:54:50.746Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-20T05:54:50.746Z] ---> 8e2e079e68f2 [2021-04-20T05:54:50.746Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-20T05:54:51.008Z] ---> Running in f93ac7300214 [2021-04-20T05:54:51.272Z] Removing intermediate container f93ac7300214 [2021-04-20T05:54:51.273Z] ---> 8feb13118bce [2021-04-20T05:54:51.273Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-20T05:54:51.273Z] ---> Running in a5514e2d48e6 [2021-04-20T05:54:51.540Z] Removing intermediate container a5514e2d48e6 [2021-04-20T05:54:51.540Z] ---> 020c26bef401 [2021-04-20T05:54:51.540Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-20T05:54:51.540Z] ---> Running in b52457f6c714 [2021-04-20T05:54:52.500Z] Removing intermediate container b52457f6c714 [2021-04-20T05:54:52.500Z] ---> 9a8223587b02 [2021-04-20T05:54:52.500Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-20T05:54:52.500Z] ---> Running in 42962ab412fb [2021-04-20T05:54:53.080Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-20T05:54:53.658Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-20T05:54:54.235Z] OK: 167 MiB in 45 packages [2021-04-20T05:54:54.818Z] Removing intermediate container 42962ab412fb [2021-04-20T05:54:54.818Z] ---> ecbf4c2438cd [2021-04-20T05:54:54.818Z] Step 7/23 : COPY . . [2021-04-20T05:54:55.768Z] ---> e235ecdbf8ea [2021-04-20T05:54:55.768Z] Step 8/23 : RUN go mod download [2021-04-20T05:54:55.768Z] ---> Running in 87465d29fcba [2021-04-20T05:54:57.185Z] Removing intermediate container 87465d29fcba [2021-04-20T05:54:57.185Z] ---> 9b5eddb05710 [2021-04-20T05:54:57.185Z] Step 9/23 : RUN make build [2021-04-20T05:54:57.185Z] ---> Running in f47ac8692ab8 [2021-04-20T05:54:57.642Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-20T05:54:57.765Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-04-20T05:55:10.179Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-20T05:55:11.574Z] Removing intermediate container f47ac8692ab8 [2021-04-20T05:55:11.574Z] ---> 7d8d74bdf609 [2021-04-20T05:55:11.574Z] Step 10/23 : FROM alpine:3.12 [2021-04-20T05:55:12.530Z] 3.12: Pulling from library/alpine [2021-04-20T05:55:12.530Z] 339de151aab4: Pulling fs layer [2021-04-20T05:55:12.530Z] 339de151aab4: Download complete [2021-04-20T05:55:12.793Z] 339de151aab4: Pull complete [2021-04-20T05:55:12.793Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-20T05:55:12.793Z] Status: Downloaded newer image for alpine:3.12 [2021-04-20T05:55:12.793Z] ---> 13621d1b12d4 [2021-04-20T05:55:12.793Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-20T05:55:13.062Z] ---> Running in bc20110e4bc2 [2021-04-20T05:55:13.332Z] Removing intermediate container bc20110e4bc2 [2021-04-20T05:55:13.332Z] ---> 8c010ec42f91 [2021-04-20T05:55:13.332Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-20T05:55:13.332Z] ---> Running in 57d3cffeceba [2021-04-20T05:55:14.294Z] Removing intermediate container 57d3cffeceba [2021-04-20T05:55:14.294Z] ---> 6be84415ab14 [2021-04-20T05:55:14.294Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-20T05:55:14.294Z] ---> Running in 48151494186a [2021-04-20T05:55:14.877Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-20T05:55:15.454Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-20T05:55:16.032Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-20T05:55:16.032Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-20T05:55:16.032Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-20T05:55:16.988Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-20T05:55:17.252Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-20T05:55:17.252Z] Executing busybox-1.31.1-r20.trigger [2021-04-20T05:55:17.252Z] OK: 8 MiB in 19 packages [2021-04-20T05:55:17.834Z] Removing intermediate container 48151494186a [2021-04-20T05:55:17.834Z] ---> c7cc0976b3d0 [2021-04-20T05:55:17.834Z] Step 14/23 : WORKDIR / [2021-04-20T05:55:18.101Z] ---> Running in 6b29056f7186 [2021-04-20T05:55:18.101Z] Removing intermediate container 6b29056f7186 [2021-04-20T05:55:18.101Z] ---> 7aad8f87bd72 [2021-04-20T05:55:18.101Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-20T05:55:18.366Z] ---> a09732fa8009 [2021-04-20T05:55:18.366Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-20T05:55:18.947Z] ---> aba4272a5baf [2021-04-20T05:55:18.947Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-20T05:55:19.214Z] ---> 9bc18928f14e [2021-04-20T05:55:19.214Z] Step 18/23 : EXPOSE 49990 [2021-04-20T05:55:19.478Z] ---> Running in 59ef44210289 [2021-04-20T05:55:19.478Z] Removing intermediate container 59ef44210289 [2021-04-20T05:55:19.478Z] ---> fb8c823668b5 [2021-04-20T05:55:19.478Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-20T05:55:19.478Z] ---> Running in 145d851a0763 [2021-04-20T05:55:19.741Z] Removing intermediate container 145d851a0763 [2021-04-20T05:55:19.741Z] ---> e14c8d83ac5c [2021-04-20T05:55:19.741Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-20T05:55:19.741Z] ---> Running in df7155b19dfd [2021-04-20T05:55:20.012Z] Removing intermediate container df7155b19dfd [2021-04-20T05:55:20.012Z] ---> 01a83bc84f26 [2021-04-20T05:55:20.012Z] Step 21/23 : LABEL arch=amd64 [2021-04-20T05:55:20.012Z] ---> Running in 72f1d1994126 [2021-04-20T05:55:20.276Z] Removing intermediate container 72f1d1994126 [2021-04-20T05:55:20.276Z] ---> 7f2b2818ac70 [2021-04-20T05:55:20.276Z] Step 22/23 : LABEL git_sha=575f9d08c1cd7040fdff40d3a04e9ff61be50f8a [2021-04-20T05:55:20.276Z] ---> Running in 8b84fa0d1285 [2021-04-20T05:55:20.276Z] Removing intermediate container 8b84fa0d1285 [2021-04-20T05:55:20.276Z] ---> 2cf809c0e843 [2021-04-20T05:55:20.276Z] Step 23/23 : LABEL version=0.0.0 [2021-04-20T05:55:20.540Z] ---> Running in 85f7c73b17db [2021-04-20T05:55:20.540Z] Removing intermediate container 85f7c73b17db [2021-04-20T05:55:20.540Z] ---> 2184c81c1abc [2021-04-20T05:55:20.540Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-20T05:55:20.540Z] Successfully built 2184c81c1abc [2021-04-20T05:55:20.803Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-20T05:55:21.695Z] ---> job-cost.sh [2021-04-20T05:55:21.695Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-RqpG [2021-04-20T05:55:36.643Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-20T05:55:54.307Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-20T05:55:54.307Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-20T05:55:54.307Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-20T05:55:54.307Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-20T05:55:54.307Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-20T05:55:56.968Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.171s coverage: 28.1% of statements [2021-04-20T05:55:56.968Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.151s coverage: 78.9% of statements [2021-04-20T05:55:57.244Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.130s coverage: 7.8% of statements [2021-04-20T05:55:57.244Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-20T05:55:57.244Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-20T05:55:57.244Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-20T05:55:59.903Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.331s coverage: 32.0% of statements [2021-04-20T05:55:59.903Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-20T05:55:59.903Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-20T05:55:59.903Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-20T05:56:02.557Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.316s coverage: 57.1% of statements [2021-04-20T05:56:02.557Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.079s coverage: 6.6% of statements [2021-04-20T05:56:03.153Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.148s coverage: 5.0% of statements [2021-04-20T05:56:03.153Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-20T05:56:03.760Z] GO111MODULE=on go vet ./... [2021-04-20T05:56:08.837Z] lf-activate-venv(): INFO: Adding /tmp/venv-RqpG/bin to PATH [2021-04-20T05:56:08.838Z] INFO: No Stack... [2021-04-20T05:56:08.838Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-20T05:56:08.838Z] INFO: Archiving Costs [Pipeline] sh [2021-04-20T05:56:09.171Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-20T05:56:09.171Z] + cut -d, -f6 [Pipeline] lock [2021-04-20T05:56:09.299Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-887-1-stack-cost] [2021-04-20T05:56:09.306Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-887-1-stack-cost] did not exist. Created. [2021-04-20T05:56:09.306Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-887-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-20T05:56:09.753Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-20T05:56:09.912Z] Stashed 1 file(s) [Pipeline] } [2021-04-20T05:56:09.936Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-887-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-20T05:56:50.819Z] gofmt -l . [2021-04-20T05:56:50.819Z] [ "`gofmt -l .`" = "" ] [2021-04-20T05:56:50.819Z] ./bin/test-attribution-txt.sh [2021-04-20T05:56:50.819Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-20T05:56:50.862Z] $ docker stop --time=1 d7ef54c8bae716c90dcde131bb502fdc04a31f5c5d8719527e507b5558f1e884 [2021-04-20T05:56:53.110Z] $ docker rm -f d7ef54c8bae716c90dcde131bb502fdc04a31f5c5d8719527e507b5558f1e884 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-20T05:56:54.248Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-20T05:56:54.343Z] Warning: overwriting stash ‘coverage-report’ [2021-04-20T05:56:55.047Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-20T05:56:55.690Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-20T05:56:56.049Z] + ls -al . [2021-04-20T05:56:56.049Z] total 224 [2021-04-20T05:56:56.049Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 20 05:56 . [2021-04-20T05:56:56.049Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 05:53 .. [2021-04-20T05:56:56.049Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 20 05:53 .dockerignore [2021-04-20T05:56:56.049Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 05:53 .git [2021-04-20T05:56:56.049Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 05:53 .github [2021-04-20T05:56:56.049Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 20 05:53 .gitignore [2021-04-20T05:56:56.049Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 20 05:53 Dockerfile.build [2021-04-20T05:56:56.049Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 20 05:53 Jenkinsfile [2021-04-20T05:56:56.049Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 20 05:53 LICENSE [2021-04-20T05:56:56.049Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 20 05:53 Makefile [2021-04-20T05:56:56.049Z] -rw-rw-r-- 1 jenkins jenkins 7652 Apr 20 05:53 README.md [2021-04-20T05:56:56.049Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 20 05:53 RELEASE-NOTES.txt [2021-04-20T05:56:56.049Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 05:50 VERSION [2021-04-20T05:56:56.049Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 05:53 bin [2021-04-20T05:56:56.049Z] -rw-r--r-- 1 jenkins jenkins 100116 Apr 20 05:56 coverage.out [2021-04-20T05:56:56.049Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 20 05:53 example [2021-04-20T05:56:56.049Z] -rw-r--r-- 1 jenkins jenkins 574 Apr 20 05:56 go.mod [2021-04-20T05:56:56.049Z] -rw-r--r-- 1 jenkins jenkins 20846 Apr 20 05:56 go.sum [2021-04-20T05:56:56.049Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 20 05:53 internal [2021-04-20T05:56:56.049Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 05:53 openapi [2021-04-20T05:56:56.049Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 20 05:53 pkg [2021-04-20T05:56:56.049Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 05:53 snap [2021-04-20T05:56:56.049Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 20 05:53 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-20T05:56:56.442Z] + 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=575f9d08c1cd7040fdff40d3a04e9ff61be50f8a --label arch=arm64 --label version=0.0.0 . [2021-04-20T05:56:57.037Z] Sending build context to Docker daemon 2.562MB [2021-04-20T05:56:57.037Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-20T05:56:57.037Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-20T05:56:57.037Z] ---> f9debfa2b10f [2021-04-20T05:56:57.037Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-20T05:56:57.037Z] ---> Running in 994a37452bac [2021-04-20T05:56:57.631Z] Removing intermediate container 994a37452bac [2021-04-20T05:56:57.631Z] ---> 7caf209c2ffc [2021-04-20T05:56:57.631Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-20T05:56:57.631Z] ---> Running in c781982fc2cf [2021-04-20T05:56:58.232Z] Removing intermediate container c781982fc2cf [2021-04-20T05:56:58.232Z] ---> c0337e566d95 [2021-04-20T05:56:58.232Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-20T05:56:58.232Z] ---> Running in 74e0260bec70 [2021-04-20T05:57:00.858Z] Removing intermediate container 74e0260bec70 [2021-04-20T05:57:00.858Z] ---> bdee80f6b9ac [2021-04-20T05:57:00.858Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-20T05:57:00.858Z] ---> Running in 418873677fd2 [2021-04-20T05:57:01.838Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-20T05:57:02.431Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-20T05:57:03.025Z] OK: 144 MiB in 45 packages [2021-04-20T05:57:04.459Z] Removing intermediate container 418873677fd2 [2021-04-20T05:57:04.459Z] ---> e57f944f4570 [2021-04-20T05:57:04.459Z] Step 7/23 : COPY . . [2021-04-20T05:57:05.448Z] ---> f785b3ac2723 [2021-04-20T05:57:05.449Z] Step 8/23 : RUN go mod download [2021-04-20T05:57:05.449Z] ---> Running in 5e3e4edb011d [2021-04-20T05:57:08.083Z] Removing intermediate container 5e3e4edb011d [2021-04-20T05:57:08.083Z] ---> 4910ffb136b1 [2021-04-20T05:57:08.083Z] Step 9/23 : RUN make build [2021-04-20T05:57:08.083Z] ---> Running in 2e11f8da8341 [2021-04-20T05:57:09.537Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-04-20T05:57:41.932Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-20T05:57:45.380Z] Removing intermediate container 2e11f8da8341 [2021-04-20T05:57:45.380Z] ---> cfcd18c0d555 [2021-04-20T05:57:45.380Z] Step 10/23 : FROM alpine:3.12 [2021-04-20T05:57:45.380Z] 3.12: Pulling from library/alpine [2021-04-20T05:57:45.380Z] d2f70382dc9a: Pulling fs layer [2021-04-20T05:57:45.657Z] d2f70382dc9a: Verifying Checksum [2021-04-20T05:57:45.657Z] d2f70382dc9a: Download complete [2021-04-20T05:57:46.259Z] d2f70382dc9a: Pull complete [2021-04-20T05:57:46.259Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-20T05:57:46.259Z] Status: Downloaded newer image for alpine:3.12 [2021-04-20T05:57:46.259Z] ---> 9852663dfa18 [2021-04-20T05:57:46.259Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-20T05:57:46.533Z] ---> Running in 8a923ddc128e [2021-04-20T05:57:46.811Z] Removing intermediate container 8a923ddc128e [2021-04-20T05:57:46.811Z] ---> 8dcf88482092 [2021-04-20T05:57:46.811Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-20T05:57:47.084Z] ---> Running in 7e72982a49e8 [2021-04-20T05:57:49.062Z] Removing intermediate container 7e72982a49e8 [2021-04-20T05:57:49.062Z] ---> 4bedf6b7a0c2 [2021-04-20T05:57:49.062Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-20T05:57:49.336Z] ---> Running in 7c4a8a0ef6a0 [2021-04-20T05:57:50.317Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-20T05:57:51.297Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-20T05:57:51.892Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-20T05:57:51.892Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-20T05:57:52.167Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-20T05:57:52.167Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-20T05:57:52.441Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-20T05:57:52.441Z] Executing busybox-1.31.1-r20.trigger [2021-04-20T05:57:52.441Z] OK: 8 MiB in 19 packages [2021-04-20T05:57:53.875Z] Removing intermediate container 7c4a8a0ef6a0 [2021-04-20T05:57:53.875Z] ---> d6923aec5199 [2021-04-20T05:57:53.875Z] Step 14/23 : WORKDIR / [2021-04-20T05:57:54.149Z] ---> Running in 991a1b6901d5 [2021-04-20T05:57:54.425Z] Removing intermediate container 991a1b6901d5 [2021-04-20T05:57:54.425Z] ---> e7f4068a38f5 [2021-04-20T05:57:54.425Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-20T05:57:55.408Z] ---> 12c90389ef74 [2021-04-20T05:57:55.408Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-20T05:57:56.392Z] ---> c15c107633b1 [2021-04-20T05:57:56.392Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-20T05:57:57.384Z] ---> 7fd4136cf0c9 [2021-04-20T05:57:57.384Z] Step 18/23 : EXPOSE 49990 [2021-04-20T05:57:57.384Z] ---> Running in 3c6fca972d6d [2021-04-20T05:57:57.988Z] Removing intermediate container 3c6fca972d6d [2021-04-20T05:57:57.988Z] ---> 6fc09f21dc22 [2021-04-20T05:57:57.988Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-20T05:57:57.988Z] ---> Running in 4b6e86bccdd0 [2021-04-20T05:57:58.600Z] Removing intermediate container 4b6e86bccdd0 [2021-04-20T05:57:58.600Z] ---> fdc710c43eeb [2021-04-20T05:57:58.600Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-20T05:57:58.600Z] ---> Running in 677e8165ff44 [2021-04-20T05:57:58.872Z] Removing intermediate container 677e8165ff44 [2021-04-20T05:57:58.872Z] ---> 8f947590e249 [2021-04-20T05:57:58.872Z] Step 21/23 : LABEL arch=arm64 [2021-04-20T05:57:59.144Z] ---> Running in c55ea6490f23 [2021-04-20T05:57:59.425Z] Removing intermediate container c55ea6490f23 [2021-04-20T05:57:59.425Z] ---> 3eb09e275b2d [2021-04-20T05:57:59.425Z] Step 22/23 : LABEL git_sha=575f9d08c1cd7040fdff40d3a04e9ff61be50f8a [2021-04-20T05:57:59.712Z] ---> Running in 49167a8832e8 [2021-04-20T05:58:00.312Z] Removing intermediate container 49167a8832e8 [2021-04-20T05:58:00.312Z] ---> 6ef0ac7f655b [2021-04-20T05:58:00.312Z] Step 23/23 : LABEL version=0.0.0 [2021-04-20T05:58:00.312Z] ---> Running in eaa43706c81f [2021-04-20T05:58:00.916Z] Removing intermediate container eaa43706c81f [2021-04-20T05:58:00.916Z] ---> df24d39bb121 [2021-04-20T05:58:00.916Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-20T05:58:00.916Z] Successfully built df24d39bb121 [2021-04-20T05:58:00.916Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-20T05:58:01.647Z] ---> job-cost.sh [2021-04-20T05:58:01.647Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TeIN [2021-04-20T05:58:48.612Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-20T06:00:40.458Z] lf-activate-venv(): INFO: Adding /tmp/venv-TeIN/bin to PATH [2021-04-20T06:00:40.458Z] INFO: No Stack... [2021-04-20T06:00:40.458Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-20T06:00:40.458Z] INFO: Archiving Costs [Pipeline] sh [2021-04-20T06:00:40.838Z] + cut -d, -f6 [2021-04-20T06:00:40.838Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-04-20T06:00:41.001Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-887-1-stack-cost] [2021-04-20T06:00:41.008Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-887-1-stack-cost] did not exist. Created. [2021-04-20T06:00:41.008Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-887-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-20T06:00:41.473Z] /w/workspace/device-sdk-go/1@tmp/durable-cb890825/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-cb890825/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-20T06:00:41.861Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-20T06:00:41.903Z] Warning: overwriting stash ‘stack-cost’ [2021-04-20T06:00:42.088Z] Stashed 1 file(s) [Pipeline] } [2021-04-20T06:00:42.132Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-887-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-04-20T06:00:43.173Z] provisioning config files... [2021-04-20T06:00:43.209Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config7101611549049030202tmp [Pipeline] { [Pipeline] sh [2021-04-20T06:00:43.699Z] + set +x [2021-04-20T06:00:43.699Z] + curl -s https://codecov.io/bash [2021-04-20T06:00:43.699Z] + bash -s -- [2021-04-20T06:00:43.986Z] [2021-04-20T06:00:43.986Z] _____ _ [2021-04-20T06:00:43.986Z] / ____| | | [2021-04-20T06:00:43.986Z] | | ___ __| | ___ ___ _____ __ [2021-04-20T06:00:43.986Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-20T06:00:43.986Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-20T06:00:43.986Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-20T06:00:43.986Z] Bash-1.0.1 [2021-04-20T06:00:43.986Z] [2021-04-20T06:00:43.986Z] [2021-04-20T06:00:43.986Z] ==> git version 2.24.3 found [2021-04-20T06:00:43.986Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-04-20T06:00:43.986Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-20T06:00:43.986Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-20T06:00:43.986Z] ==> Jenkins CI detected. [2021-04-20T06:00:43.986Z] project root: . [2021-04-20T06:00:43.986Z] --> token set from env [2021-04-20T06:00:43.986Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-20T06:00:43.986Z] ==> Running gcov in . (disable via -X gcov) [2021-04-20T06:00:43.986Z] ==> Python coveragepy not found [2021-04-20T06:00:43.986Z] ==> Searching for coverage reports in: [2021-04-20T06:00:43.986Z] + . [2021-04-20T06:00:43.986Z] -> Found 1 reports [2021-04-20T06:00:43.986Z] ==> Detecting git/mercurial file structure [2021-04-20T06:00:43.986Z] ==> Reading reports [2021-04-20T06:00:43.986Z] + ./coverage.out bytes=100116 [2021-04-20T06:00:43.986Z] ==> Appending adjustments [2021-04-20T06:00:43.986Z] https://docs.codecov.io/docs/fixing-reports [2021-04-20T06:00:44.260Z] + Found adjustments [2021-04-20T06:00:44.260Z] ==> Gzipping contents [2021-04-20T06:00:44.260Z] 16K /tmp/codecov.zsDj79.gz [2021-04-20T06:00:44.260Z] ==> Uploading reports [2021-04-20T06:00:44.260Z] url: https://codecov.io [2021-04-20T06:00:44.260Z] query: branch=PR-887&commit=575f9d08c1cd7040fdff40d3a04e9ff61be50f8a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-887%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=887&job=&cmd_args= [2021-04-20T06:00:44.260Z] -> Pinging Codecov [2021-04-20T06:00:44.260Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-887&commit=575f9d08c1cd7040fdff40d3a04e9ff61be50f8a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-887%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=887&job=&cmd_args= [2021-04-20T06:00:44.843Z] -> Uploading to [2021-04-20T06:00:44.843Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-20/7E55EF52A471D76F132DFD9A03CDDE97/575f9d08c1cd7040fdff40d3a04e9ff61be50f8a/f4e6385b-b391-42f9-8b2e-c60474c49b65.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210420%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210420T060044Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2398f97158453d2f6f542ee5cc866b65ccae00a4064aeefc764a3919c8636162 [2021-04-20T06:00:44.843Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-20T06:00:44.843Z] Dload Upload Total Spent Left Speed [2021-04-20T06:00:45.422Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13521 0 0 100 13521 0 33565 --:--:-- --:--:-- --:--:-- 33634 [2021-04-20T06:00:45.422Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/575f9d08c1cd7040fdff40d3a04e9ff61be50f8a [Pipeline] } [2021-04-20T06:00:45.445Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-04-20T06:00:47.470Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T06:00:48.092Z] ---> package-listing.sh [2021-04-20T06:00:48.092Z] ++ facter osfamily [2021-04-20T06:00:48.092Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-20T06:00:48.092Z] + OS_FAMILY=redhat [2021-04-20T06:00:48.092Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-887 [2021-04-20T06:00:48.092Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-20T06:00:48.092Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-20T06:00:48.092Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-20T06:00:48.092Z] + PACKAGES=/tmp/packages_start.txt [2021-04-20T06:00:48.092Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-887 ']' [2021-04-20T06:00:48.092Z] + PACKAGES=/tmp/packages_end.txt [2021-04-20T06:00:48.092Z] + case "${OS_FAMILY}" in [2021-04-20T06:00:48.092Z] + rpm -qa [2021-04-20T06:00:48.092Z] + sort [2021-04-20T06:00:53.422Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-20T06:00:53.422Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-20T06:00:53.422Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-20T06:00:53.422Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-887 ']' [2021-04-20T06:00:53.422Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-887/archives/ [2021-04-20T06:00:53.422Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-887/archives/ [Pipeline] echo [2021-04-20T06:00:53.453Z] 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-887/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-20T06:00:53.766Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-20T06:00:54.152Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-20T06:00:54.152Z] [2021-04-20T06:00:54.152Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-20T06:00:54.524Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-20T06:00:54.524Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-20T06:00:54.524Z] df20fa9351a1: Pulling fs layer [2021-04-20T06:00:54.524Z] 36b3adc4ff6f: Pulling fs layer [2021-04-20T06:00:54.524Z] 8ad3a11d3b57: Pulling fs layer [2021-04-20T06:00:54.524Z] 46f8f816bc3b: Pulling fs layer [2021-04-20T06:00:54.524Z] 93b61091891f: Pulling fs layer [2021-04-20T06:00:54.524Z] 93b9cdb0e59b: Pulling fs layer [2021-04-20T06:00:54.524Z] 5e14af77c1be: Pulling fs layer [2021-04-20T06:00:54.524Z] 01666e4c0597: Pulling fs layer [2021-04-20T06:00:54.524Z] aa168da1d23b: Pulling fs layer [2021-04-20T06:00:54.524Z] 93b9cdb0e59b: Waiting [2021-04-20T06:00:54.524Z] 5e14af77c1be: Waiting [2021-04-20T06:00:54.524Z] 01666e4c0597: Waiting [2021-04-20T06:00:54.524Z] aa168da1d23b: Waiting [2021-04-20T06:00:54.524Z] 46f8f816bc3b: Waiting [2021-04-20T06:00:54.524Z] 93b61091891f: Waiting [2021-04-20T06:00:54.524Z] 36b3adc4ff6f: Verifying Checksum [2021-04-20T06:00:54.524Z] 36b3adc4ff6f: Download complete [2021-04-20T06:00:54.524Z] 46f8f816bc3b: Download complete [2021-04-20T06:00:54.792Z] df20fa9351a1: Verifying Checksum [2021-04-20T06:00:54.792Z] df20fa9351a1: Download complete [2021-04-20T06:00:54.792Z] 93b9cdb0e59b: Download complete [2021-04-20T06:00:54.792Z] 5e14af77c1be: Download complete [2021-04-20T06:00:54.792Z] 01666e4c0597: Verifying Checksum [2021-04-20T06:00:54.792Z] 01666e4c0597: Download complete [2021-04-20T06:00:54.792Z] 93b61091891f: Verifying Checksum [2021-04-20T06:00:54.792Z] 93b61091891f: Download complete [2021-04-20T06:00:54.792Z] 8ad3a11d3b57: Verifying Checksum [2021-04-20T06:00:54.792Z] 8ad3a11d3b57: Download complete [2021-04-20T06:00:55.065Z] df20fa9351a1: Pull complete [2021-04-20T06:00:55.647Z] 36b3adc4ff6f: Pull complete [2021-04-20T06:00:56.635Z] 8ad3a11d3b57: Pull complete [2021-04-20T06:00:56.635Z] 46f8f816bc3b: Pull complete [2021-04-20T06:00:57.215Z] aa168da1d23b: Download complete [2021-04-20T06:00:57.215Z] 93b61091891f: Pull complete [2021-04-20T06:00:57.215Z] 93b9cdb0e59b: Pull complete [2021-04-20T06:00:57.487Z] 5e14af77c1be: Pull complete [2021-04-20T06:00:57.487Z] 01666e4c0597: Pull complete [2021-04-20T06:01:05.734Z] aa168da1d23b: Pull complete [2021-04-20T06:01:05.734Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-20T06:01:05.734Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-20T06:01:05.734Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-20T06:01:05.974Z] prd-centos7-docker-4c-2g-1080 does not seem to be running inside a container [2021-04-20T06:01:06.032Z] $ 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-887/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-887 -v /w/workspace/dgexfoundry_device-sdk-go_PR-887:/w/workspace/dgexfoundry_device-sdk-go_PR-887:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-20T06:01:09.196Z] $ docker top fca9fe51f613d4e827e1b6200068c702c7b2625b164be5f7642638418807b7a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-20T06:01:09.664Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-20T06:01:09.997Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-20T06:01:10.335Z] + ls /var/log/sa-host [2021-04-20T06:01:10.335Z] + sadf -c /var/log/sa-host/sa20 [2021-04-20T06:01:10.335Z] file_magic: OK [2021-04-20T06:01:10.335Z] HZ: Using current value: 100 [2021-04-20T06:01:10.335Z] file_header: OK [2021-04-20T06:01:10.335Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-20T06:01:10.335Z] Statistics: [2021-04-20T06:01:10.335Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-20T06:01:10.335Z] File successfully converted to sysstat format version 12.2.1 [2021-04-20T06:01:10.335Z] + sadf -c /var/log/sa-host/sa23 [2021-04-20T06:01:10.335Z] file_magic: OK [2021-04-20T06:01:10.335Z] HZ: Using current value: 100 [2021-04-20T06:01:10.336Z] file_header: OK [2021-04-20T06:01:10.336Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-20T06:01:10.336Z] Statistics: [2021-04-20T06:01:10.336Z] Hnuu...uuuununununu... [2021-04-20T06:01:10.336Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-20T06:01:10.984Z] provisioning config files... [2021-04-20T06:01:11.005Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config3725062339560270120tmp [Pipeline] { [Pipeline] echo [2021-04-20T06:01:11.061Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T06:01:11.401Z] ---> create-netrc.sh [Pipeline] } [2021-04-20T06:01:11.426Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-20T06:01:11.505Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T06:01:11.856Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-20T06:01:11.893Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T06:01:12.232Z] ---> sudo-logs.sh [2021-04-20T06:01:12.232Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-20T06:01:12.329Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T06:01:14.050Z] ---> job-cost.sh [2021-04-20T06:01:14.050Z] lf-activate-venv: SKIPPING [2021-04-20T06:01:14.050Z] DEBUG: total: 0.20999999344348907 [2021-04-20T06:01:14.050Z] INFO: Retrieving Stack Cost... [2021-04-20T06:01:14.050Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-20T06:01:14.050Z] INFO: Archiving Costs [Pipeline] echo [2021-04-20T06:01:14.119Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T06:01:14.499Z] ---> logs-deploy.sh [2021-04-20T06:01:14.499Z] lf-activate-venv: SKIPPING [2021-04-20T06:01:14.499Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-887/1 [2021-04-20T06:01:14.499Z] INFO: archiving workspace using pattern(s): [2021-04-20T06:01:17.077Z] Archives upload complete. [2021-04-20T06:01:17.077Z] INFO: archiving logs to Nexus