Pull request #899 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0cd42bd6c01ea36e00df0d0cee3882299a3c71ef+188b4cc14b9321dd8b2b5872b94485f2cb4f6961 (d6cbc35d7adba86e9c8e2a87ece64981bd460eb9) 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-899/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-899/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-1803’ Running on prd-centos7-docker-4c-2g-1807 in /w/workspace/dgexfoundry_device-sdk-go_PR-899 [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-899 # 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 > 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 Merging remotes/origin/master commit 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit 0cd42bd6c01ea36e00df0d0cee3882299a3c71ef Merge succeeded, producing 0cd42bd6c01ea36e00df0d0cee3882299a3c71ef Checking out Revision 0cd42bd6c01ea36e00df0d0cee3882299a3c71ef (PR-899) 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/899/head:refs/remotes/origin/PR-899 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0cd42bd6c01ea36e00df0d0cee3882299a3c71ef # 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 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0cd42bd6c01ea36e00df0d0cee3882299a3c71ef # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-26T10:04:52.565Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-26T10:04:52.830Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-26T10:04:52.970Z] ========================================================= [2021-04-26T10:04:52.970Z] EdgeX Global Pipelines Version Info [2021-04-26T10:04:52.970Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:04:55.080Z] ------------------- [2021-04-26T10:04:55.080Z] stable info: [2021-04-26T10:04:55.080Z] ------------------- [2021-04-26T10:04:55.080Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-26T10:04:55.080Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-26T10:04:55.080Z] Message: update stable to v1.0.186 [2021-04-26T10:04:55.667Z] ------------------- [2021-04-26T10:04:55.667Z] experimental info: [2021-04-26T10:04:55.667Z] ------------------- [2021-04-26T10:04:55.667Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-26T10:04:55.667Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-26T10:04:55.667Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-26T10:04:55.935Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-26T10:04:55.997Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-26T10:04:56.057Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-26T10:04:56.114Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-26T10:04:56.174Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-26T10:04:56.238Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-26T10:04:56.297Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-26T10:04:56.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-26T10:04:56.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-26T10:04:56.498Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-26T10:04:56.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-26T10:04:56.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-26T10:04:56.683Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-26T10:04:56.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-26T10:04:56.805Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-26T10:04:56.874Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T10:04:56.932Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T10:04:56.994Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T10:04:57.066Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-26T10:04:57.124Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-26T10:04:57.187Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-26T10:04:57.261Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-26T10:04:57.349Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-26T10:04:57.419Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-26T10:04:57.493Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-26T10:04:57.557Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-26T10:04:57.627Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-899 [Pipeline] echo [2021-04-26T10:04:57.689Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-899 [Pipeline] echo [2021-04-26T10:04:57.747Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-899 [Pipeline] echo [2021-04-26T10:04:57.800Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0cd42bd6c01ea36e00df0d0cee3882299a3c71ef [Pipeline] echo [2021-04-26T10:04:57.855Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0cd42bd [Pipeline] echo [2021-04-26T10:04:57.929Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-26T10:04:58.086Z] provisioning config files... [2021-04-26T10:04:58.128Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-899@tmp/config1021346254708561975tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:04:58.516Z] ---> docker-login.sh [2021-04-26T10:04:58.517Z] nexus3.edgexfoundry.org:10001 [2021-04-26T10:04:58.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:04:59.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:04:59.053Z] Configure a credential helper to remove this warning. See [2021-04-26T10:04:59.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:04:59.053Z] [2021-04-26T10:04:59.053Z] Login Succeeded [2021-04-26T10:04:59.053Z] nexus3.edgexfoundry.org:10002 [2021-04-26T10:04:59.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:04:59.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:04:59.322Z] Configure a credential helper to remove this warning. See [2021-04-26T10:04:59.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:04:59.322Z] [2021-04-26T10:04:59.322Z] Login Succeeded [2021-04-26T10:04:59.322Z] nexus3.edgexfoundry.org:10003 [2021-04-26T10:04:59.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:04:59.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:04:59.603Z] Configure a credential helper to remove this warning. See [2021-04-26T10:04:59.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:04:59.603Z] [2021-04-26T10:04:59.603Z] Login Succeeded [2021-04-26T10:04:59.603Z] nexus3.edgexfoundry.org:10004 [2021-04-26T10:04:59.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:04:59.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:04:59.603Z] Configure a credential helper to remove this warning. See [2021-04-26T10:04:59.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:04:59.603Z] [2021-04-26T10:04:59.603Z] Login Succeeded [2021-04-26T10:04:59.603Z] docker.io [2021-04-26T10:04:59.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:05:00.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:05:00.445Z] Configure a credential helper to remove this warning. See [2021-04-26T10:05:00.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:05:00.445Z] [2021-04-26T10:05:00.445Z] Login Succeeded [2021-04-26T10:05:00.445Z] ---> docker-login.sh ends [Pipeline] } [2021-04-26T10:05:00.473Z] 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-26T10:05:01.206Z] + git log --format=format:%s -1 0cd42bd6c01ea36e00df0d0cee3882299a3c71ef [Pipeline] echo [2021-04-26T10:05:01.364Z] GIT_COMMIT: 0cd42bd6c01ea36e00df0d0cee3882299a3c71ef, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-04-26T10:05:01.405Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:05:02.043Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T10:05:02.043Z] [2021-04-26T10:05:02.043Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:05:02.420Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T10:05:02.420Z] latest: Pulling from edgex-devops/git-semver [2021-04-26T10:05:02.420Z] 31603596830f: Pulling fs layer [2021-04-26T10:05:02.420Z] 2a8b12db71e7: Pulling fs layer [2021-04-26T10:05:02.420Z] 6ca5941a6612: Pulling fs layer [2021-04-26T10:05:02.420Z] ecc8261a40a4: Pulling fs layer [2021-04-26T10:05:02.420Z] ecc8261a40a4: Waiting [2021-04-26T10:05:02.420Z] 2a8b12db71e7: Verifying Checksum [2021-04-26T10:05:02.420Z] 2a8b12db71e7: Download complete [2021-04-26T10:05:02.694Z] 31603596830f: Verifying Checksum [2021-04-26T10:05:02.694Z] 31603596830f: Download complete [2021-04-26T10:05:02.961Z] 6ca5941a6612: Verifying Checksum [2021-04-26T10:05:02.961Z] 6ca5941a6612: Download complete [2021-04-26T10:05:03.244Z] ecc8261a40a4: Verifying Checksum [2021-04-26T10:05:03.244Z] ecc8261a40a4: Download complete [2021-04-26T10:05:03.244Z] 31603596830f: Pull complete [2021-04-26T10:05:03.507Z] 2a8b12db71e7: Pull complete [2021-04-26T10:05:04.461Z] 6ca5941a6612: Pull complete [2021-04-26T10:05:04.731Z] ecc8261a40a4: Pull complete [2021-04-26T10:05:04.731Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-26T10:05:04.731Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T10:05:04.731Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-26T10:05:04.902Z] prd-centos7-docker-4c-2g-1807 does not seem to be running inside a container [2021-04-26T10:05:04.965Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-899 -v /w/workspace/dgexfoundry_device-sdk-go_PR-899:/w/workspace/dgexfoundry_device-sdk-go_PR-899:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-899@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-899@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-26T10:05:07.168Z] $ docker top 81cf5b1555cbc6dca2f984f82606bab51b28b47f775669285227d00c5c275446 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-26T10:05:07.588Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-26T10:05:07.588Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-26T10:05:07.944Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-26T10:05:07.949Z] $ docker exec 81cf5b1555cbc6dca2f984f82606bab51b28b47f775669285227d00c5c275446 ssh-agent [2021-04-26T10:05:08.298Z] SSH_AUTH_SOCK=/tmp/ssh-wC2Oe2wqlQSX/agent.11 [2021-04-26T10:05:08.298Z] SSH_AGENT_PID=16 [2021-04-26T10:05:08.311Z] Running ssh-add (command line suppressed) [2021-04-26T10:05:08.608Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-899@tmp/private_key_1677517931100917661.key (/w/workspace/dgexfoundry_device-sdk-go_PR-899@tmp/private_key_1677517931100917661.key) [2021-04-26T10:05:08.694Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-26T10:05:09.949Z] + git tag --points-at HEAD [Pipeline] } [2021-04-26T10:05:10.003Z] $ docker exec --env ******** --env ******** 81cf5b1555cbc6dca2f984f82606bab51b28b47f775669285227d00c5c275446 ssh-agent -k [2021-04-26T10:05:10.229Z] unset SSH_AUTH_SOCK; [2021-04-26T10:05:10.230Z] unset SSH_AGENT_PID; [2021-04-26T10:05:10.230Z] echo Agent pid 16 killed; [2021-04-26T10:05:10.292Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-26T10:05:10.388Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-26T10:05:10.388Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-26T10:05:10.632Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-26T10:05:10.638Z] $ docker exec 81cf5b1555cbc6dca2f984f82606bab51b28b47f775669285227d00c5c275446 ssh-agent [2021-04-26T10:05:10.880Z] SSH_AUTH_SOCK=/tmp/ssh-4zYWKoZR7vKN/agent.46 [2021-04-26T10:05:10.880Z] SSH_AGENT_PID=51 [2021-04-26T10:05:10.887Z] Running ssh-add (command line suppressed) [2021-04-26T10:05:11.025Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-899@tmp/private_key_7088843954128464544.key (/w/workspace/dgexfoundry_device-sdk-go_PR-899@tmp/private_key_7088843954128464544.key) [2021-04-26T10:05:11.101Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-26T10:05:11.480Z] + git semver init [2021-04-26T10:05:11.480Z] # -> Open(): unable to determine branch for HEAD [2021-04-26T10:05:11.480Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-899/.git [2021-04-26T10:05:11.480Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-899 [2021-04-26T10:05:11.480Z] # $SEMVER_REMOTE_NAME = origin [2021-04-26T10:05:11.480Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-26T10:05:11.480Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-26T10:05:11.480Z] # $SEMVER_BRANCH = PR-899 [2021-04-26T10:05:11.480Z] # $SEMVER_TEMP = /tmp/semver-629195690 [2021-04-26T10:05:11.480Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-26T10:05:12.446Z] # '/tmp/semver-629195690' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-899/.semver' [2021-04-26T10:05:12.446Z] # -> Force: false [2021-04-26T10:05:12.446Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-899/.semver [Pipeline] } [2021-04-26T10:05:12.470Z] $ docker exec --env ******** --env ******** 81cf5b1555cbc6dca2f984f82606bab51b28b47f775669285227d00c5c275446 ssh-agent -k [2021-04-26T10:05:12.616Z] unset SSH_AUTH_SOCK; [2021-04-26T10:05:12.616Z] unset SSH_AGENT_PID; [2021-04-26T10:05:12.616Z] echo Agent pid 51 killed; [2021-04-26T10:05:12.680Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-26T10:05:13.121Z] + git semver [Pipeline] } [2021-04-26T10:05:13.163Z] $ docker stop --time=1 81cf5b1555cbc6dca2f984f82606bab51b28b47f775669285227d00c5c275446 [2021-04-26T10:05:14.915Z] $ docker rm -f 81cf5b1555cbc6dca2f984f82606bab51b28b47f775669285227d00c5c275446 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T10:05:15.404Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-26T10:05:15.866Z] Stashed 1 file(s) [Pipeline] echo [2021-04-26T10:05:15.893Z] [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-26T10:05:31.384Z] Still waiting to schedule task [2021-04-26T10:05:31.384Z] ‘prd-centos7-docker-4c-2g-1809’ is offline [2021-04-26T10:05:31.419Z] Still waiting to schedule task [2021-04-26T10:05:31.419Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1805’ [2021-04-26T10:05:39.378Z] Running on prd-centos7-docker-4c-2g-1809 in /w/workspace/dgexfoundry_device-sdk-go_PR-899 [Pipeline] { [Pipeline] ws [2021-04-26T10:05:39.445Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-26T10:05:42.095Z] using credential edgex-jenkins-ssh [2021-04-26T10:05:42.110Z] Cloning the remote Git repository [2021-04-26T10:05:41.678Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T10:05:41.749Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-26T10:05:41.846Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T10:05:41.847Z] > git --version # timeout=10 [2021-04-26T10:05:41.854Z] > git --version # 'git version 2.24.3' [2021-04-26T10:05:41.854Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T10:05:41.884Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T10:05:43.623Z] Merging remotes/origin/master commit 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit 0cd42bd6c01ea36e00df0d0cee3882299a3c71ef [2021-04-26T10:05:43.711Z] Merge succeeded, producing 0cd42bd6c01ea36e00df0d0cee3882299a3c71ef [2021-04-26T10:05:43.712Z] Checking out Revision 0cd42bd6c01ea36e00df0d0cee3882299a3c71ef (PR-899) [2021-04-26T10:05:42.749Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-26T10:05:42.758Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T10:05:42.772Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-26T10:05:42.784Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T10:05:42.784Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T10:05:42.789Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/899/head:refs/remotes/origin/PR-899 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-26T10:05:43.208Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T10:05:43.213Z] > git checkout -f 0cd42bd6c01ea36e00df0d0cee3882299a3c71ef # timeout=10 [2021-04-26T10:05:43.260Z] > git remote # timeout=10 [2021-04-26T10:05:43.268Z] > git config --get remote.origin.url # timeout=10 [2021-04-26T10:05:43.274Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T10:05:43.278Z] > git merge 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 [2021-04-26T10:05:43.288Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-26T10:05:43.298Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T10:05:43.302Z] > git checkout -f 0cd42bd6c01ea36e00df0d0cee3882299a3c71ef # timeout=10 [2021-04-26T10:05:47.126Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-04-26T10:05:47.023Z] > git --version # timeout=10 [2021-04-26T10:05:47.029Z] > git --version # 'git version 2.24.3' [2021-04-26T10:05:47.039Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-26T10:05:48.378Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-26T10:05:48.720Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-26T10:05:49.039Z] + sudo service docker restart [2021-04-26T10:05:49.040Z] + true [2021-04-26T10:05:49.040Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-26T10:05:50.542Z] provisioning config files... [2021-04-26T10:05:50.569Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2859340943987442313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:05:50.968Z] ---> docker-login.sh [2021-04-26T10:05:50.968Z] nexus3.edgexfoundry.org:10001 [2021-04-26T10:05:51.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:05:51.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:05:51.234Z] Configure a credential helper to remove this warning. See [2021-04-26T10:05:51.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:05:51.234Z] [2021-04-26T10:05:51.234Z] Login Succeeded [2021-04-26T10:05:51.234Z] nexus3.edgexfoundry.org:10002 [2021-04-26T10:05:51.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:05:51.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:05:51.497Z] Configure a credential helper to remove this warning. See [2021-04-26T10:05:51.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:05:51.497Z] [2021-04-26T10:05:51.497Z] Login Succeeded [2021-04-26T10:05:51.497Z] nexus3.edgexfoundry.org:10003 [2021-04-26T10:05:51.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:05:51.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:05:51.763Z] Configure a credential helper to remove this warning. See [2021-04-26T10:05:51.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:05:51.763Z] [2021-04-26T10:05:51.763Z] Login Succeeded [2021-04-26T10:05:51.763Z] nexus3.edgexfoundry.org:10004 [2021-04-26T10:05:51.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:05:51.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:05:51.763Z] Configure a credential helper to remove this warning. See [2021-04-26T10:05:51.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:05:51.763Z] [2021-04-26T10:05:51.763Z] Login Succeeded [2021-04-26T10:05:51.763Z] docker.io [2021-04-26T10:05:52.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:05:52.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:05:52.291Z] Configure a credential helper to remove this warning. See [2021-04-26T10:05:52.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:05:52.291Z] [2021-04-26T10:05:52.291Z] Login Succeeded [2021-04-26T10:05:52.291Z] ---> docker-login.sh ends [Pipeline] } [2021-04-26T10:05:52.324Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-26T10:05:52.604Z] ========================================================= [2021-04-26T10:05:52.604Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-26T10:05:52.604Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:05:52.954Z] + 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-26T10:05:52.954Z] Sending build context to Docker daemon 2.46MB [2021-04-26T10:05:52.954Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T10:05:52.954Z] Step 2/8 : FROM ${BASE} [2021-04-26T10:05:53.219Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-26T10:05:53.219Z] 188c0c94c7c5: Pulling fs layer [2021-04-26T10:05:53.219Z] 0ef7d3d256c8: Pulling fs layer [2021-04-26T10:05:53.219Z] de9db76c5a1d: Pulling fs layer [2021-04-26T10:05:53.219Z] bca2f99d35d6: Pulling fs layer [2021-04-26T10:05:53.219Z] 93359f2a8cfa: Pulling fs layer [2021-04-26T10:05:53.219Z] 7c6f9722023f: Pulling fs layer [2021-04-26T10:05:53.219Z] a35cf1a2eb13: Pulling fs layer [2021-04-26T10:05:53.219Z] bca2f99d35d6: Waiting [2021-04-26T10:05:53.219Z] 93359f2a8cfa: Waiting [2021-04-26T10:05:53.219Z] 7c6f9722023f: Waiting [2021-04-26T10:05:53.219Z] a35cf1a2eb13: Waiting [2021-04-26T10:05:53.219Z] de9db76c5a1d: Verifying Checksum [2021-04-26T10:05:53.219Z] de9db76c5a1d: Download complete [2021-04-26T10:05:53.219Z] 0ef7d3d256c8: Download complete [2021-04-26T10:05:53.219Z] 93359f2a8cfa: Verifying Checksum [2021-04-26T10:05:53.220Z] 93359f2a8cfa: Download complete [2021-04-26T10:05:53.220Z] 188c0c94c7c5: Verifying Checksum [2021-04-26T10:05:53.220Z] 188c0c94c7c5: Download complete [2021-04-26T10:05:53.220Z] 7c6f9722023f: Verifying Checksum [2021-04-26T10:05:53.220Z] 7c6f9722023f: Download complete [2021-04-26T10:05:53.486Z] 188c0c94c7c5: Pull complete [2021-04-26T10:05:53.750Z] 0ef7d3d256c8: Pull complete [2021-04-26T10:05:53.750Z] de9db76c5a1d: Pull complete [2021-04-26T10:05:54.700Z] a35cf1a2eb13: Verifying Checksum [2021-04-26T10:05:54.700Z] a35cf1a2eb13: Download complete [2021-04-26T10:05:55.650Z] bca2f99d35d6: Verifying Checksum [2021-04-26T10:05:55.650Z] bca2f99d35d6: Download complete [2021-04-26T10:06:00.965Z] bca2f99d35d6: Pull complete [2021-04-26T10:06:00.965Z] 93359f2a8cfa: Pull complete [2021-04-26T10:06:00.965Z] 7c6f9722023f: Pull complete [2021-04-26T10:06:07.605Z] a35cf1a2eb13: Pull complete [2021-04-26T10:06:07.605Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-26T10:06:07.605Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-26T10:06:07.605Z] ---> a62c8e92a672 [2021-04-26T10:06:07.605Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T10:06:07.605Z] ---> Running in d25bc9eb77ca [2021-04-26T10:06:07.605Z] Removing intermediate container d25bc9eb77ca [2021-04-26T10:06:07.605Z] ---> 4bc4f7ab6a11 [2021-04-26T10:06:07.605Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T10:06:07.605Z] ---> Running in 7284f6eb9502 [2021-04-26T10:06:08.556Z] Removing intermediate container 7284f6eb9502 [2021-04-26T10:06:08.556Z] ---> 8dbd9276e63a [2021-04-26T10:06:08.556Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-26T10:06:08.556Z] ---> Running in c52ba10d60a2 [2021-04-26T10:06:09.133Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-26T10:06:09.707Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-26T10:06:10.285Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-26T10:06:10.285Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-26T10:06:10.857Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-26T10:06:10.857Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-26T10:06:10.857Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-26T10:06:11.120Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-26T10:06:11.120Z] Executing busybox-1.31.1-r19.trigger [2021-04-26T10:06:11.120Z] OK: 167 MiB in 45 packages [2021-04-26T10:06:11.693Z] Removing intermediate container c52ba10d60a2 [2021-04-26T10:06:11.693Z] ---> 74f5724fb9d3 [2021-04-26T10:06:11.693Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-26T10:06:11.955Z] ---> Running in 82df8bae1f00 [2021-04-26T10:06:11.955Z] Removing intermediate container 82df8bae1f00 [2021-04-26T10:06:11.955Z] ---> fb8a75b7c0be [2021-04-26T10:06:11.955Z] Step 7/8 : COPY . . [2021-04-26T10:06:13.366Z] ---> 9eee2b389e58 [2021-04-26T10:06:13.366Z] Step 8/8 : RUN go mod download [2021-04-26T10:06:13.366Z] ---> Running in 603c1b1d0f63 [2021-04-26T10:06:35.405Z] Removing intermediate container 603c1b1d0f63 [2021-04-26T10:06:35.405Z] ---> 6bb0557b2e63 [2021-04-26T10:06:35.405Z] Successfully built 6bb0557b2e63 [2021-04-26T10:06:35.405Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:06:35.751Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-26T10:06:35.751Z] . [Pipeline] withDockerContainer [2021-04-26T10:06:35.901Z] prd-centos7-docker-4c-2g-1809 does not seem to be running inside a container [2021-04-26T10:06:35.959Z] $ 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-26T10:06:37.391Z] $ docker top 9dae7ab03427f5862eb1ad0b9865edb5ca4b42d07373a7280512b9dfca1d78ea -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T10:06:37.873Z] + go version [2021-04-26T10:06:37.874Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-26T10:06:37.910Z] $ docker stop --time=1 9dae7ab03427f5862eb1ad0b9865edb5ca4b42d07373a7280512b9dfca1d78ea [2021-04-26T10:06:39.274Z] $ docker rm -f 9dae7ab03427f5862eb1ad0b9865edb5ca4b42d07373a7280512b9dfca1d78ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:06:40.033Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-26T10:06:40.033Z] . [Pipeline] withDockerContainer [2021-04-26T10:06:40.166Z] prd-centos7-docker-4c-2g-1809 does not seem to be running inside a container [2021-04-26T10:06:40.215Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-26T10:06:40.801Z] $ docker top f4b68e93281837cbbaf287a9674364985fdeed45c6448699376d30e139a5748f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T10:06:41.282Z] + make test [2021-04-26T10:06:41.282Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-26T10:06:49.519Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-26T10:07:07.807Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-26T10:07:07.807Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-26T10:07:07.807Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-26T10:07:07.807Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-26T10:07:07.807Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-26T10:07:12.433Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.095s coverage: 28.1% of statements [2021-04-26T10:07:12.433Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.120s coverage: 78.9% of statements [2021-04-26T10:07:12.713Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.120s coverage: 7.8% of statements [2021-04-26T10:07:12.713Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-26T10:07:12.713Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-26T10:07:12.713Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-26T10:07:12.713Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.094s coverage: 32.0% of statements [2021-04-26T10:07:12.713Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-26T10:07:12.713Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-26T10:07:12.713Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-26T10:07:13.293Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.098s coverage: 57.2% of statements [2021-04-26T10:07:13.556Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.192s coverage: 6.6% of statements [2021-04-26T10:07:13.556Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-04-26T10:07:13.556Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-26T10:07:13.819Z] GO111MODULE=on go vet ./... [2021-04-26T10:07:32.109Z] gofmt -l . [2021-04-26T10:07:32.110Z] [ "`gofmt -l .`" = "" ] [2021-04-26T10:07:32.110Z] ./bin/test-attribution-txt.sh [2021-04-26T10:07:32.110Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-26T10:07:32.139Z] $ docker stop --time=1 f4b68e93281837cbbaf287a9674364985fdeed45c6448699376d30e139a5748f [2021-04-26T10:07:33.753Z] $ docker rm -f f4b68e93281837cbbaf287a9674364985fdeed45c6448699376d30e139a5748f [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T10:07:34.427Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-26T10:07:34.810Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-26T10:07:37.350Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-26T10:07:37.682Z] + ls -al . [2021-04-26T10:07:37.683Z] total 188 [2021-04-26T10:07:37.683Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 26 10:07 . [2021-04-26T10:07:37.683Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 26 10:05 .. [2021-04-26T10:07:37.683Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 26 10:05 bin [2021-04-26T10:07:37.683Z] -rw-r--r--. 1 jenkins jenkins 100024 Apr 26 10:07 coverage.out [2021-04-26T10:07:37.683Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 26 10:05 Dockerfile.build [2021-04-26T10:07:37.683Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 26 10:05 .dockerignore [2021-04-26T10:07:37.683Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 26 10:05 example [2021-04-26T10:07:37.683Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 26 10:05 .git [2021-04-26T10:07:37.683Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 26 10:05 .github [2021-04-26T10:07:37.683Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 26 10:05 .gitignore [2021-04-26T10:07:37.683Z] -rw-r--r--. 1 jenkins jenkins 575 Apr 26 10:07 go.mod [2021-04-26T10:07:37.683Z] -rw-r--r--. 1 jenkins jenkins 20957 Apr 26 10:07 go.sum [2021-04-26T10:07:37.683Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 26 10:05 internal [2021-04-26T10:07:37.683Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 26 10:05 Jenkinsfile [2021-04-26T10:07:37.683Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 26 10:05 LICENSE [2021-04-26T10:07:37.683Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 26 10:05 Makefile [2021-04-26T10:07:37.683Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 26 10:05 openapi [2021-04-26T10:07:37.683Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 26 10:05 pkg [2021-04-26T10:07:37.683Z] -rw-rw-r--. 1 jenkins jenkins 7652 Apr 26 10:05 README.md [2021-04-26T10:07:37.683Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 26 10:05 RELEASE-NOTES.txt [2021-04-26T10:07:37.683Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 26 10:05 snap [2021-04-26T10:07:37.683Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 26 10:05 VERSION [2021-04-26T10:07:37.683Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 26 10:05 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:07:38.027Z] + 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=0cd42bd6c01ea36e00df0d0cee3882299a3c71ef --label arch=amd64 --label version=0.0.0 . [2021-04-26T10:07:38.289Z] Sending build context to Docker daemon 2.561MB [2021-04-26T10:07:38.289Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T10:07:38.289Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-26T10:07:38.289Z] ---> 6bb0557b2e63 [2021-04-26T10:07:38.289Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-26T10:07:38.868Z] ---> Running in 3402f375c819 [2021-04-26T10:07:38.868Z] Removing intermediate container 3402f375c819 [2021-04-26T10:07:38.868Z] ---> 9a9ee92cced2 [2021-04-26T10:07:38.868Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T10:07:39.129Z] ---> Running in a262f584320d [2021-04-26T10:07:39.129Z] Removing intermediate container a262f584320d [2021-04-26T10:07:39.129Z] ---> d86fb44aee8b [2021-04-26T10:07:39.129Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T10:07:39.391Z] ---> Running in 662611684f65 [2021-04-26T10:07:39.965Z] Removing intermediate container 662611684f65 [2021-04-26T10:07:39.965Z] ---> a08a6daa888f [2021-04-26T10:07:39.965Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-26T10:07:40.229Z] ---> Running in bf657bd1ae84 [2021-04-26T10:07:40.493Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-26T10:07:41.438Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-26T10:07:41.701Z] OK: 167 MiB in 45 packages [2021-04-26T10:07:42.276Z] Removing intermediate container bf657bd1ae84 [2021-04-26T10:07:42.276Z] ---> dc7016cc7bae [2021-04-26T10:07:42.276Z] Step 7/23 : COPY . . [2021-04-26T10:07:43.221Z] ---> 9ce6c1964643 [2021-04-26T10:07:43.221Z] Step 8/23 : RUN go mod download [2021-04-26T10:07:43.221Z] ---> Running in b1d244c95aa0 [2021-04-26T10:07:44.176Z] Removing intermediate container b1d244c95aa0 [2021-04-26T10:07:44.176Z] ---> 644969423ef9 [2021-04-26T10:07:44.176Z] Step 9/23 : RUN make build [2021-04-26T10:07:44.176Z] ---> Running in e45c25c5a23b [2021-04-26T10:07:44.757Z] 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-26T10:07:51.081Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1810 in /w/workspace/dgexfoundry_device-sdk-go_PR-899 [Pipeline] { [Pipeline] ws [2021-04-26T10:07:51.133Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-26T10:07:56.760Z] using credential edgex-jenkins-ssh [2021-04-26T10:07:56.780Z] Cloning the remote Git repository [2021-04-26T10:07:57.101Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-26T10:07:57.101Z] Removing intermediate container e45c25c5a23b [2021-04-26T10:07:57.101Z] ---> 28bcc7c5eac2 [2021-04-26T10:07:57.101Z] Step 10/23 : FROM alpine:3.12 [2021-04-26T10:07:56.836Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T10:07:57.010Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-26T10:07:57.285Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T10:07:57.286Z] > git --version # timeout=10 [2021-04-26T10:07:57.308Z] > git --version # 'git version 2.17.1' [2021-04-26T10:07:57.310Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T10:07:57.402Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T10:07:57.682Z] 3.12: Pulling from library/alpine [2021-04-26T10:07:57.682Z] 339de151aab4: Pulling fs layer [2021-04-26T10:07:57.682Z] 339de151aab4: Verifying Checksum [2021-04-26T10:07:57.682Z] 339de151aab4: Download complete [2021-04-26T10:07:57.946Z] 339de151aab4: Pull complete [2021-04-26T10:07:57.946Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-26T10:07:58.207Z] Status: Downloaded newer image for alpine:3.12 [2021-04-26T10:07:58.207Z] ---> 13621d1b12d4 [2021-04-26T10:07:58.207Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T10:07:58.207Z] ---> Running in 76c117f51086 [2021-04-26T10:07:58.471Z] Removing intermediate container 76c117f51086 [2021-04-26T10:07:58.471Z] ---> ef2a94204796 [2021-04-26T10:07:58.471Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T10:07:58.471Z] ---> Running in d62962e8b193 [2021-04-26T10:07:58.574Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-26T10:07:58.592Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T10:07:58.629Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-26T10:07:58.666Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T10:07:58.667Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T10:07:58.680Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/899/head:refs/remotes/origin/PR-899 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-26T10:07:59.176Z] Merging remotes/origin/master commit 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit 0cd42bd6c01ea36e00df0d0cee3882299a3c71ef [2021-04-26T10:07:59.414Z] Removing intermediate container d62962e8b193 [2021-04-26T10:07:59.414Z] ---> 644caaf94534 [2021-04-26T10:07:59.414Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-26T10:07:59.414Z] ---> Running in 8f3ce5528dbe [2021-04-26T10:07:59.424Z] Merge succeeded, producing 0cd42bd6c01ea36e00df0d0cee3882299a3c71ef [2021-04-26T10:07:59.424Z] Checking out Revision 0cd42bd6c01ea36e00df0d0cee3882299a3c71ef (PR-899) [2021-04-26T10:07:59.682Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-26T10:07:59.200Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T10:07:59.227Z] > git checkout -f 0cd42bd6c01ea36e00df0d0cee3882299a3c71ef # timeout=10 [2021-04-26T10:07:59.325Z] > git remote # timeout=10 [2021-04-26T10:07:59.348Z] > git config --get remote.origin.url # timeout=10 [2021-04-26T10:07:59.368Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T10:07:59.378Z] > git merge 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 [2021-04-26T10:07:59.401Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-26T10:07:59.434Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T10:07:59.451Z] > git checkout -f 0cd42bd6c01ea36e00df0d0cee3882299a3c71ef # timeout=10 [2021-04-26T10:08:00.254Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-26T10:08:00.829Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-26T10:08:00.829Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-26T10:08:01.091Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-26T10:08:02.041Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-26T10:08:02.042Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-26T10:08:02.042Z] Executing busybox-1.31.1-r20.trigger [2021-04-26T10:08:02.042Z] OK: 8 MiB in 19 packages [2021-04-26T10:08:02.619Z] Removing intermediate container 8f3ce5528dbe [2021-04-26T10:08:02.619Z] ---> 3239b61c6501 [2021-04-26T10:08:02.619Z] Step 14/23 : WORKDIR / [2021-04-26T10:08:02.619Z] ---> Running in d9cc844f3b36 [2021-04-26T10:08:02.883Z] Removing intermediate container d9cc844f3b36 [2021-04-26T10:08:02.883Z] ---> e6641c6c8b64 [2021-04-26T10:08:02.883Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-26T10:08:03.146Z] ---> c39a1ffbf0d0 [2021-04-26T10:08:03.146Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-26T10:08:03.713Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-04-26T10:08:03.724Z] ---> 3d71540a5758 [2021-04-26T10:08:03.724Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-26T10:08:03.774Z] > git --version # timeout=10 [2021-04-26T10:08:03.785Z] > git --version # 'git version 2.17.1' [2021-04-26T10:08:03.807Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-26T10:08:03.992Z] ---> c1c3c49a3cd2 [2021-04-26T10:08:03.992Z] Step 18/23 : EXPOSE 49990 [2021-04-26T10:08:04.254Z] ---> Running in 30ffcece8902 [2021-04-26T10:08:04.254Z] Removing intermediate container 30ffcece8902 [2021-04-26T10:08:04.254Z] ---> ad538129975d [2021-04-26T10:08:04.254Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-26T10:08:04.254Z] ---> Running in 5975e6047c68 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-04-26T10:08:04.516Z] Removing intermediate container 5975e6047c68 [2021-04-26T10:08:04.516Z] ---> 857f724fad7d [2021-04-26T10:08:04.517Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-26T10:08:04.517Z] ---> Running in 84f7e564dbf1 [Pipeline] sh [2021-04-26T10:08:04.785Z] Removing intermediate container 84f7e564dbf1 [2021-04-26T10:08:04.785Z] ---> bf65db93b645 [2021-04-26T10:08:04.785Z] Step 21/23 : LABEL arch=amd64 [2021-04-26T10:08:04.785Z] ---> Running in 4146e2f44d73 [2021-04-26T10:08:05.360Z] Removing intermediate container 4146e2f44d73 [2021-04-26T10:08:05.360Z] ---> 063ccfb2b911 [2021-04-26T10:08:05.360Z] Step 22/23 : LABEL git_sha=0cd42bd6c01ea36e00df0d0cee3882299a3c71ef [2021-04-26T10:08:05.360Z] ---> Running in ff8290cc0136 [2021-04-26T10:08:05.583Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-04-26T10:08:05.624Z] Removing intermediate container ff8290cc0136 [2021-04-26T10:08:05.624Z] ---> e86514fb14d2 [2021-04-26T10:08:05.624Z] Step 23/23 : LABEL version=0.0.0 [2021-04-26T10:08:05.624Z] ---> Running in 395e6587e120 [2021-04-26T10:08:05.624Z] Removing intermediate container 395e6587e120 [2021-04-26T10:08:05.624Z] ---> 7fb0cf800964 [2021-04-26T10:08:05.624Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [Pipeline] sh [2021-04-26T10:08:05.890Z] Successfully built 7fb0cf800964 [2021-04-26T10:08:05.891Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [2021-04-26T10:08:05.995Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] sh 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 [2021-04-26T10:08:06.410Z] + + true [2021-04-26T10:08:06.410Z] sudo service docker restart Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:08:07.079Z] ---> job-cost.sh [2021-04-26T10:08:07.079Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-o88V [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-26T10:08:09.147Z] provisioning config files... [2021-04-26T10:08:09.192Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3805375241751603993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:08:09.614Z] ---> docker-login.sh [2021-04-26T10:08:09.614Z] nexus3.edgexfoundry.org:10001 [2021-04-26T10:08:10.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:08:10.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:08:10.871Z] Configure a credential helper to remove this warning. See [2021-04-26T10:08:10.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:08:10.871Z] [2021-04-26T10:08:10.871Z] Login Succeeded [2021-04-26T10:08:10.871Z] nexus3.edgexfoundry.org:10002 [2021-04-26T10:08:11.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:08:11.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:08:11.150Z] Configure a credential helper to remove this warning. See [2021-04-26T10:08:11.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:08:11.150Z] [2021-04-26T10:08:11.150Z] Login Succeeded [2021-04-26T10:08:11.423Z] nexus3.edgexfoundry.org:10003 [2021-04-26T10:08:11.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:08:11.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:08:11.705Z] Configure a credential helper to remove this warning. See [2021-04-26T10:08:11.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:08:11.705Z] [2021-04-26T10:08:11.705Z] Login Succeeded [2021-04-26T10:08:11.705Z] nexus3.edgexfoundry.org:10004 [2021-04-26T10:08:12.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:08:12.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:08:12.306Z] Configure a credential helper to remove this warning. See [2021-04-26T10:08:12.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:08:12.306Z] [2021-04-26T10:08:12.306Z] Login Succeeded [2021-04-26T10:08:12.306Z] docker.io [2021-04-26T10:08:12.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:08:13.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:08:13.186Z] Configure a credential helper to remove this warning. See [2021-04-26T10:08:13.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:08:13.186Z] [2021-04-26T10:08:13.186Z] Login Succeeded [2021-04-26T10:08:13.186Z] ---> docker-login.sh ends [Pipeline] } [2021-04-26T10:08:13.219Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-26T10:08:13.701Z] ========================================================= [2021-04-26T10:08:13.701Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-26T10:08:13.701Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:08:14.107Z] + 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-26T10:08:14.383Z] Sending build context to Docker daemon 2.468MB [2021-04-26T10:08:14.661Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T10:08:14.661Z] Step 2/8 : FROM ${BASE} [2021-04-26T10:08:14.661Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-26T10:08:14.661Z] 5f621e34cdf4: Pulling fs layer [2021-04-26T10:08:14.661Z] a4357932f1b6: Pulling fs layer [2021-04-26T10:08:14.661Z] 18c013af1878: Pulling fs layer [2021-04-26T10:08:14.661Z] 00ac8860ef70: Pulling fs layer [2021-04-26T10:08:14.661Z] 63d7cb157983: Pulling fs layer [2021-04-26T10:08:14.661Z] b116817d02f9: Pulling fs layer [2021-04-26T10:08:14.661Z] 745a02a5169b: Pulling fs layer [2021-04-26T10:08:14.661Z] 00ac8860ef70: Waiting [2021-04-26T10:08:14.661Z] 63d7cb157983: Waiting [2021-04-26T10:08:14.661Z] 745a02a5169b: Waiting [2021-04-26T10:08:14.661Z] b116817d02f9: Waiting [2021-04-26T10:08:14.661Z] 18c013af1878: Verifying Checksum [2021-04-26T10:08:14.661Z] 18c013af1878: Download complete [2021-04-26T10:08:14.661Z] a4357932f1b6: Download complete [2021-04-26T10:08:14.661Z] 63d7cb157983: Verifying Checksum [2021-04-26T10:08:14.661Z] 63d7cb157983: Download complete [2021-04-26T10:08:14.661Z] b116817d02f9: Verifying Checksum [2021-04-26T10:08:14.661Z] b116817d02f9: Download complete [2021-04-26T10:08:14.661Z] 5f621e34cdf4: Verifying Checksum [2021-04-26T10:08:14.661Z] 5f621e34cdf4: Download complete [2021-04-26T10:08:15.658Z] 5f621e34cdf4: Pull complete [2021-04-26T10:08:15.942Z] a4357932f1b6: Pull complete [2021-04-26T10:08:16.551Z] 18c013af1878: Pull complete [2021-04-26T10:08:17.549Z] 745a02a5169b: Verifying Checksum [2021-04-26T10:08:17.549Z] 745a02a5169b: Download complete [2021-04-26T10:08:18.548Z] 00ac8860ef70: Verifying Checksum [2021-04-26T10:08:18.548Z] 00ac8860ef70: Download complete [2021-04-26T10:08:25.256Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-26T10:08:28.735Z] 00ac8860ef70: Pull complete [2021-04-26T10:08:29.010Z] 63d7cb157983: Pull complete [2021-04-26T10:08:29.293Z] b116817d02f9: Pull complete [2021-04-26T10:08:33.620Z] 745a02a5169b: Pull complete [2021-04-26T10:08:33.620Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-26T10:08:33.620Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-26T10:08:33.620Z] ---> b7e6874047d6 [2021-04-26T10:08:33.620Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T10:08:36.243Z] ---> Running in 118c0275629b [2021-04-26T10:08:36.243Z] Removing intermediate container 118c0275629b [2021-04-26T10:08:36.243Z] ---> 2222453e3c64 [2021-04-26T10:08:36.243Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T10:08:36.243Z] ---> Running in 635a2f7b8af2 [2021-04-26T10:08:38.884Z] Removing intermediate container 635a2f7b8af2 [2021-04-26T10:08:38.884Z] ---> d074befb2d3e [2021-04-26T10:08:38.884Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-26T10:08:38.884Z] ---> Running in a7c0e15ba670 [2021-04-26T10:08:39.894Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-26T10:08:40.498Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-26T10:08:41.096Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-26T10:08:41.370Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-26T10:08:41.371Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-26T10:08:41.371Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-26T10:08:41.642Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-26T10:08:41.642Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-26T10:08:41.642Z] Executing busybox-1.31.1-r19.trigger [2021-04-26T10:08:41.916Z] OK: 144 MiB in 45 packages [2021-04-26T10:08:42.894Z] Removing intermediate container a7c0e15ba670 [2021-04-26T10:08:42.894Z] ---> 026734ac8b69 [2021-04-26T10:08:42.894Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-26T10:08:43.168Z] ---> Running in 787c5dd22851 [2021-04-26T10:08:43.442Z] Removing intermediate container 787c5dd22851 [2021-04-26T10:08:43.443Z] ---> c892aa4675e8 [2021-04-26T10:08:43.443Z] Step 7/8 : COPY . . [2021-04-26T10:08:44.877Z] ---> 2111c51538bb [2021-04-26T10:08:44.877Z] Step 8/8 : RUN go mod download [2021-04-26T10:08:44.877Z] ---> Running in d15044c019b4 [2021-04-26T10:08:51.874Z] lf-activate-venv(): INFO: Adding /tmp/venv-o88V/bin to PATH [2021-04-26T10:08:51.874Z] INFO: No Stack... [2021-04-26T10:08:51.874Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-26T10:08:51.874Z] INFO: Archiving Costs [Pipeline] sh [2021-04-26T10:08:52.209Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-26T10:08:52.209Z] + cut -d, -f6 [Pipeline] lock [2021-04-26T10:08:52.321Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-899-1-stack-cost] [2021-04-26T10:08:52.328Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-899-1-stack-cost] did not exist. Created. [2021-04-26T10:08:52.328Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-899-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-26T10:08:52.774Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-26T10:08:52.891Z] Stashed 1 file(s) [Pipeline] } [2021-04-26T10:08:52.915Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-899-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-26T10:09:11.738Z] Removing intermediate container d15044c019b4 [2021-04-26T10:09:11.738Z] ---> 7dea3cf9ba82 [2021-04-26T10:09:11.738Z] Successfully built 7dea3cf9ba82 [2021-04-26T10:09:11.738Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:09:12.134Z] + docker inspect -f . ci-base-image-arm64 [2021-04-26T10:09:12.135Z] . [Pipeline] withDockerContainer [2021-04-26T10:09:12.422Z] prd-ubuntu18.04-docker-arm64-4c-16g-1810 does not seem to be running inside a container [2021-04-26T10:09:12.503Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-26T10:09:13.976Z] $ docker top 479caa6cad65834d2cf0675602373e6acf825c89868d157758e4f31d6fca179d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T10:09:15.002Z] + go version [2021-04-26T10:09:15.002Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-26T10:09:15.034Z] $ docker stop --time=1 479caa6cad65834d2cf0675602373e6acf825c89868d157758e4f31d6fca179d [2021-04-26T10:09:16.984Z] $ docker rm -f 479caa6cad65834d2cf0675602373e6acf825c89868d157758e4f31d6fca179d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:09:18.086Z] + docker inspect -f . ci-base-image-arm64 [2021-04-26T10:09:18.086Z] . [Pipeline] withDockerContainer [2021-04-26T10:09:18.420Z] prd-ubuntu18.04-docker-arm64-4c-16g-1810 does not seem to be running inside a container [2021-04-26T10:09:18.538Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-26T10:09:20.020Z] $ docker top 6a0d71f7e3087adbdb81b693c2322cad5a5e106b45070f0b2c12b276ba5ff072 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T10:09:20.994Z] + make test [2021-04-26T10:09:20.994Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-26T10:09:43.183Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-26T10:10:39.796Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-26T10:10:39.796Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-26T10:10:39.796Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-26T10:10:39.796Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-26T10:10:39.796Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-26T10:10:43.207Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.126s coverage: 28.1% of statements [2021-04-26T10:10:43.207Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.187s coverage: 78.9% of statements [2021-04-26T10:10:43.207Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.151s coverage: 7.8% of statements [2021-04-26T10:10:43.207Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-26T10:10:43.207Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-26T10:10:43.207Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-26T10:10:45.837Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.245s coverage: 32.0% of statements [2021-04-26T10:10:45.837Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-26T10:10:45.837Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-26T10:10:45.837Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-26T10:10:49.263Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.327s coverage: 57.2% of statements [2021-04-26T10:10:49.264Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.162s coverage: 6.6% of statements [2021-04-26T10:10:49.264Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.149s coverage: 5.0% of statements [2021-04-26T10:10:49.264Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-26T10:10:49.537Z] GO111MODULE=on go vet ./... [2021-04-26T10:11:36.556Z] gofmt -l . [2021-04-26T10:11:36.556Z] [ "`gofmt -l .`" = "" ] [2021-04-26T10:11:36.556Z] ./bin/test-attribution-txt.sh [2021-04-26T10:11:36.556Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-26T10:11:36.589Z] $ docker stop --time=1 6a0d71f7e3087adbdb81b693c2322cad5a5e106b45070f0b2c12b276ba5ff072 [2021-04-26T10:11:38.788Z] $ docker rm -f 6a0d71f7e3087adbdb81b693c2322cad5a5e106b45070f0b2c12b276ba5ff072 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T10:11:39.983Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-26T10:11:40.025Z] Warning: overwriting stash ‘coverage-report’ [2021-04-26T10:11:40.624Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-26T10:11:41.299Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-26T10:11:41.656Z] + ls -al . [2021-04-26T10:11:41.656Z] total 224 [2021-04-26T10:11:41.656Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 10:11 . [2021-04-26T10:11:41.656Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 10:07 .. [2021-04-26T10:11:41.656Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 10:07 .dockerignore [2021-04-26T10:11:41.656Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 10:08 .git [2021-04-26T10:11:41.656Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 10:07 .github [2021-04-26T10:11:41.656Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 26 10:07 .gitignore [2021-04-26T10:11:41.656Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 26 10:07 Dockerfile.build [2021-04-26T10:11:41.656Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 26 10:07 Jenkinsfile [2021-04-26T10:11:41.656Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 26 10:07 LICENSE [2021-04-26T10:11:41.656Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 26 10:07 Makefile [2021-04-26T10:11:41.656Z] -rw-rw-r-- 1 jenkins jenkins 7652 Apr 26 10:07 README.md [2021-04-26T10:11:41.656Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 26 10:07 RELEASE-NOTES.txt [2021-04-26T10:11:41.656Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 10:05 VERSION [2021-04-26T10:11:41.656Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 10:07 bin [2021-04-26T10:11:41.656Z] -rw-r--r-- 1 jenkins jenkins 100024 Apr 26 10:10 coverage.out [2021-04-26T10:11:41.656Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 10:07 example [2021-04-26T10:11:41.656Z] -rw-r--r-- 1 jenkins jenkins 575 Apr 26 10:11 go.mod [2021-04-26T10:11:41.656Z] -rw-r--r-- 1 jenkins jenkins 20957 Apr 26 10:11 go.sum [2021-04-26T10:11:41.656Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 26 10:07 internal [2021-04-26T10:11:41.656Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 10:07 openapi [2021-04-26T10:11:41.656Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 10:07 pkg [2021-04-26T10:11:41.656Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 10:07 snap [2021-04-26T10:11:41.656Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 26 10:07 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:11:42.031Z] + 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=0cd42bd6c01ea36e00df0d0cee3882299a3c71ef --label arch=arm64 --label version=0.0.0 . [2021-04-26T10:11:42.629Z] Sending build context to Docker daemon 2.569MB [2021-04-26T10:11:42.629Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T10:11:42.629Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-26T10:11:42.629Z] ---> 7dea3cf9ba82 [2021-04-26T10:11:42.629Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-26T10:11:42.903Z] ---> Running in 51028853a9bc [2021-04-26T10:11:43.184Z] Removing intermediate container 51028853a9bc [2021-04-26T10:11:43.184Z] ---> 223375d4cd02 [2021-04-26T10:11:43.184Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T10:11:43.457Z] ---> Running in 8747d1981f23 [2021-04-26T10:11:43.733Z] Removing intermediate container 8747d1981f23 [2021-04-26T10:11:43.733Z] ---> a36c3a183a1a [2021-04-26T10:11:43.733Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T10:11:44.010Z] ---> Running in 067fbd57c660 [2021-04-26T10:11:45.990Z] Removing intermediate container 067fbd57c660 [2021-04-26T10:11:45.990Z] ---> 70ce6d5807d0 [2021-04-26T10:11:45.990Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-26T10:11:46.265Z] ---> Running in fc82999aa6c8 [2021-04-26T10:11:47.250Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-26T10:11:48.230Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-26T10:11:48.825Z] OK: 144 MiB in 45 packages [2021-04-26T10:11:49.822Z] Removing intermediate container fc82999aa6c8 [2021-04-26T10:11:49.822Z] ---> eadfe3b07565 [2021-04-26T10:11:49.822Z] Step 7/23 : COPY . . [2021-04-26T10:11:51.261Z] ---> 8d7c5653b625 [2021-04-26T10:11:51.262Z] Step 8/23 : RUN go mod download [2021-04-26T10:11:51.262Z] ---> Running in b050a9568e52 [2021-04-26T10:11:53.882Z] Removing intermediate container b050a9568e52 [2021-04-26T10:11:53.882Z] ---> 199e62cce3aa [2021-04-26T10:11:53.882Z] Step 9/23 : RUN make build [2021-04-26T10:11:53.882Z] ---> Running in 972c748b1df5 [2021-04-26T10:11:54.871Z] 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-26T10:12:33.914Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-26T10:12:33.914Z] Removing intermediate container 972c748b1df5 [2021-04-26T10:12:33.914Z] ---> 51653672c4e5 [2021-04-26T10:12:33.914Z] Step 10/23 : FROM alpine:3.12 [2021-04-26T10:12:33.914Z] 3.12: Pulling from library/alpine [2021-04-26T10:12:33.914Z] d2f70382dc9a: Pulling fs layer [2021-04-26T10:12:33.914Z] d2f70382dc9a: Verifying Checksum [2021-04-26T10:12:33.914Z] d2f70382dc9a: Download complete [2021-04-26T10:12:33.914Z] d2f70382dc9a: Pull complete [2021-04-26T10:12:33.914Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-26T10:12:33.914Z] Status: Downloaded newer image for alpine:3.12 [2021-04-26T10:12:33.914Z] ---> 9852663dfa18 [2021-04-26T10:12:33.914Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T10:12:33.914Z] ---> Running in 2951cedfc77c [2021-04-26T10:12:33.914Z] Removing intermediate container 2951cedfc77c [2021-04-26T10:12:33.914Z] ---> 7674dd2ce1a3 [2021-04-26T10:12:33.914Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T10:12:33.914Z] ---> Running in 20a60325eb56 [2021-04-26T10:12:34.898Z] Removing intermediate container 20a60325eb56 [2021-04-26T10:12:34.898Z] ---> 6e70c02078a2 [2021-04-26T10:12:34.898Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-26T10:12:34.898Z] ---> Running in b372184f1f28 [2021-04-26T10:12:35.889Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-26T10:12:36.864Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-26T10:12:37.455Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-26T10:12:37.455Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-26T10:12:38.046Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-26T10:12:38.046Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-26T10:12:38.316Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-26T10:12:38.316Z] Executing busybox-1.31.1-r20.trigger [2021-04-26T10:12:38.316Z] OK: 8 MiB in 19 packages [2021-04-26T10:12:39.756Z] Removing intermediate container b372184f1f28 [2021-04-26T10:12:39.756Z] ---> b7425994ce5e [2021-04-26T10:12:39.756Z] Step 14/23 : WORKDIR / [2021-04-26T10:12:39.756Z] ---> Running in 72f5255c4f89 [2021-04-26T10:12:40.352Z] Removing intermediate container 72f5255c4f89 [2021-04-26T10:12:40.352Z] ---> 6106e3927654 [2021-04-26T10:12:40.352Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-26T10:12:40.946Z] ---> e3b261f61f1d [2021-04-26T10:12:40.946Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-26T10:12:42.388Z] ---> 6b4b2e831083 [2021-04-26T10:12:42.388Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-26T10:12:42.983Z] ---> bfe6e380b439 [2021-04-26T10:12:42.983Z] Step 18/23 : EXPOSE 49990 [2021-04-26T10:12:42.983Z] ---> Running in 4cbd361b674c [2021-04-26T10:12:43.579Z] Removing intermediate container 4cbd361b674c [2021-04-26T10:12:43.579Z] ---> 36a73636c351 [2021-04-26T10:12:43.579Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-26T10:12:43.580Z] ---> Running in 36c300c431bf [2021-04-26T10:12:44.172Z] Removing intermediate container 36c300c431bf [2021-04-26T10:12:44.172Z] ---> 63ab5dddd761 [2021-04-26T10:12:44.172Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-26T10:12:44.172Z] ---> Running in fc353fa6135d [2021-04-26T10:12:44.765Z] Removing intermediate container fc353fa6135d [2021-04-26T10:12:44.765Z] ---> fc8d808b539d [2021-04-26T10:12:44.765Z] Step 21/23 : LABEL arch=arm64 [2021-04-26T10:12:44.765Z] ---> Running in 9e52211f9f54 [2021-04-26T10:12:45.036Z] Removing intermediate container 9e52211f9f54 [2021-04-26T10:12:45.036Z] ---> 373cdc969b69 [2021-04-26T10:12:45.036Z] Step 22/23 : LABEL git_sha=0cd42bd6c01ea36e00df0d0cee3882299a3c71ef [2021-04-26T10:12:45.311Z] ---> Running in edd0db5ab0ea [2021-04-26T10:12:45.582Z] Removing intermediate container edd0db5ab0ea [2021-04-26T10:12:45.582Z] ---> 8e39aab6c1c1 [2021-04-26T10:12:45.582Z] Step 23/23 : LABEL version=0.0.0 [2021-04-26T10:12:45.854Z] ---> Running in 2887fc8ff0cd [2021-04-26T10:12:46.126Z] Removing intermediate container 2887fc8ff0cd [2021-04-26T10:12:46.126Z] ---> e1d027184ec6 [2021-04-26T10:12:46.126Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-26T10:12:46.126Z] Successfully built e1d027184ec6 [2021-04-26T10:12:46.126Z] 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-26T10:12:47.083Z] ---> job-cost.sh [2021-04-26T10:12:47.083Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-40IF [2021-04-26T10:13:26.063Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-26T10:14:47.823Z] lf-activate-venv(): INFO: Adding /tmp/venv-40IF/bin to PATH [2021-04-26T10:14:47.823Z] INFO: No Stack... [2021-04-26T10:14:47.823Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-26T10:14:47.823Z] INFO: Archiving Costs [Pipeline] sh [2021-04-26T10:14:48.190Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-26T10:14:48.190Z] + cut -d, -f6 [Pipeline] lock [2021-04-26T10:14:48.334Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-899-1-stack-cost] [2021-04-26T10:14:48.341Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-899-1-stack-cost] did not exist. Created. [2021-04-26T10:14:48.342Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-899-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-26T10:14:48.803Z] /w/workspace/device-sdk-go/1@tmp/durable-a54767b2/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-a54767b2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-26T10:14:49.187Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-26T10:14:49.232Z] Warning: overwriting stash ‘stack-cost’ [2021-04-26T10:14:49.392Z] Stashed 1 file(s) [Pipeline] } [2021-04-26T10:14:49.415Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-899-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-26T10:14:50.356Z] provisioning config files... [2021-04-26T10:14:50.369Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-899@tmp/config4786802539914718386tmp [Pipeline] { [Pipeline] sh [2021-04-26T10:14:50.742Z] + set +x [2021-04-26T10:14:50.742Z] + curl -s https://codecov.io/bash [2021-04-26T10:14:50.742Z] + bash -s -- [2021-04-26T10:14:51.007Z] [2021-04-26T10:14:51.007Z] _____ _ [2021-04-26T10:14:51.007Z] / ____| | | [2021-04-26T10:14:51.007Z] | | ___ __| | ___ ___ _____ __ [2021-04-26T10:14:51.007Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-26T10:14:51.007Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-26T10:14:51.007Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-26T10:14:51.007Z] Bash-1.0.2 [2021-04-26T10:14:51.007Z] [2021-04-26T10:14:51.007Z] [2021-04-26T10:14:51.007Z] ==> git version 2.24.3 found [2021-04-26T10:14:51.007Z] ==> 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-26T10:14:51.007Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-26T10:14:51.007Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-26T10:14:51.007Z] ==> Jenkins CI detected. [2021-04-26T10:14:51.007Z] project root: . [2021-04-26T10:14:51.007Z] --> token set from env [2021-04-26T10:14:51.007Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-26T10:14:51.007Z] ==> Running gcov in . (disable via -X gcov) [2021-04-26T10:14:51.007Z] ==> Python coveragepy not found [2021-04-26T10:14:51.007Z] ==> Searching for coverage reports in: [2021-04-26T10:14:51.007Z] + . [2021-04-26T10:14:51.007Z] -> Found 1 reports [2021-04-26T10:14:51.007Z] ==> Detecting git/mercurial file structure [2021-04-26T10:14:51.007Z] ==> Reading reports [2021-04-26T10:14:51.007Z] + ./coverage.out bytes=100024 [2021-04-26T10:14:51.007Z] ==> Appending adjustments [2021-04-26T10:14:51.007Z] https://docs.codecov.io/docs/fixing-reports [2021-04-26T10:14:51.277Z] + Found adjustments [2021-04-26T10:14:51.277Z] ==> Gzipping contents [2021-04-26T10:14:51.277Z] 16K /tmp/codecov.IBqGc1.gz [2021-04-26T10:14:51.277Z] ==> Uploading reports [2021-04-26T10:14:51.277Z] url: https://codecov.io [2021-04-26T10:14:51.277Z] query: branch=PR-899&commit=0cd42bd6c01ea36e00df0d0cee3882299a3c71ef&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-899%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=899&job=&cmd_args= [2021-04-26T10:14:51.542Z] -> Pinging Codecov [2021-04-26T10:14:51.542Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-899&commit=0cd42bd6c01ea36e00df0d0cee3882299a3c71ef&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-899%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=899&job=&cmd_args= [2021-04-26T10:14:51.805Z] -> Uploading to [2021-04-26T10:14:51.805Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-26/7E55EF52A471D76F132DFD9A03CDDE97/0cd42bd6c01ea36e00df0d0cee3882299a3c71ef/1e64c08b-684f-42b1-ad9a-ee07267cd2a3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210426T101451Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=39bbd777268625f56eaa3d7b6c97cad715648f73e382b8472088cba33a3f1c34 [2021-04-26T10:14:51.805Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-26T10:14:51.805Z] Dload Upload Total Spent Left Speed [2021-04-26T10:14:52.385Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13514 0 0 100 13514 0 28272 --:--:-- --:--:-- --:--:-- 28331 [2021-04-26T10:14:52.385Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0cd42bd6c01ea36e00df0d0cee3882299a3c71ef [Pipeline] } [2021-04-26T10:14:52.450Z] 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-26T10:14:54.305Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:14:55.087Z] ---> package-listing.sh [2021-04-26T10:14:55.087Z] ++ facter osfamily [2021-04-26T10:14:55.087Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-26T10:14:55.087Z] + OS_FAMILY=redhat [2021-04-26T10:14:55.087Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-899 [2021-04-26T10:14:55.087Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-26T10:14:55.087Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-26T10:14:55.087Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-26T10:14:55.087Z] + PACKAGES=/tmp/packages_start.txt [2021-04-26T10:14:55.087Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-899 ']' [2021-04-26T10:14:55.087Z] + PACKAGES=/tmp/packages_end.txt [2021-04-26T10:14:55.087Z] + case "${OS_FAMILY}" in [2021-04-26T10:14:55.087Z] + rpm -qa [2021-04-26T10:14:55.087Z] + sort [2021-04-26T10:15:00.497Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-26T10:15:00.497Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-26T10:15:00.497Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-26T10:15:00.497Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-899 ']' [2021-04-26T10:15:00.497Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-899/archives/ [2021-04-26T10:15:00.497Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-899/archives/ [Pipeline] echo [2021-04-26T10:15:00.555Z] 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-899/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-26T10:15:00.883Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:15:01.534Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-26T10:15:01.534Z] [2021-04-26T10:15:01.534Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:15:01.939Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-26T10:15:01.939Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-26T10:15:01.939Z] df20fa9351a1: Pulling fs layer [2021-04-26T10:15:01.939Z] 36b3adc4ff6f: Pulling fs layer [2021-04-26T10:15:01.939Z] 8ad3a11d3b57: Pulling fs layer [2021-04-26T10:15:01.939Z] 46f8f816bc3b: Pulling fs layer [2021-04-26T10:15:01.939Z] 93b61091891f: Pulling fs layer [2021-04-26T10:15:01.939Z] 93b9cdb0e59b: Pulling fs layer [2021-04-26T10:15:01.939Z] 5e14af77c1be: Pulling fs layer [2021-04-26T10:15:01.939Z] 01666e4c0597: Pulling fs layer [2021-04-26T10:15:01.939Z] aa168da1d23b: Pulling fs layer [2021-04-26T10:15:01.939Z] 46f8f816bc3b: Waiting [2021-04-26T10:15:01.939Z] 93b9cdb0e59b: Waiting [2021-04-26T10:15:01.939Z] 5e14af77c1be: Waiting [2021-04-26T10:15:01.939Z] 01666e4c0597: Waiting [2021-04-26T10:15:01.939Z] aa168da1d23b: Waiting [2021-04-26T10:15:01.939Z] 93b61091891f: Waiting [2021-04-26T10:15:01.939Z] 36b3adc4ff6f: Download complete [2021-04-26T10:15:02.220Z] 46f8f816bc3b: Verifying Checksum [2021-04-26T10:15:02.220Z] 46f8f816bc3b: Download complete [2021-04-26T10:15:02.220Z] df20fa9351a1: Download complete [2021-04-26T10:15:02.220Z] 93b9cdb0e59b: Verifying Checksum [2021-04-26T10:15:02.220Z] 93b9cdb0e59b: Download complete [2021-04-26T10:15:02.220Z] 5e14af77c1be: Verifying Checksum [2021-04-26T10:15:02.220Z] 5e14af77c1be: Download complete [2021-04-26T10:15:02.220Z] 93b61091891f: Verifying Checksum [2021-04-26T10:15:02.220Z] 93b61091891f: Download complete [2021-04-26T10:15:02.483Z] 01666e4c0597: Verifying Checksum [2021-04-26T10:15:02.483Z] 01666e4c0597: Download complete [2021-04-26T10:15:02.770Z] 8ad3a11d3b57: Verifying Checksum [2021-04-26T10:15:02.770Z] 8ad3a11d3b57: Download complete [2021-04-26T10:15:02.770Z] df20fa9351a1: Pull complete [2021-04-26T10:15:03.040Z] 36b3adc4ff6f: Pull complete [2021-04-26T10:15:04.040Z] 8ad3a11d3b57: Pull complete [2021-04-26T10:15:04.040Z] 46f8f816bc3b: Pull complete [2021-04-26T10:15:05.029Z] 93b61091891f: Pull complete [2021-04-26T10:15:05.329Z] 93b9cdb0e59b: Pull complete [2021-04-26T10:15:05.630Z] 5e14af77c1be: Pull complete [2021-04-26T10:15:06.242Z] 01666e4c0597: Pull complete [2021-04-26T10:15:06.508Z] aa168da1d23b: Verifying Checksum [2021-04-26T10:15:06.508Z] aa168da1d23b: Download complete [2021-04-26T10:15:14.786Z] aa168da1d23b: Pull complete [2021-04-26T10:15:14.786Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-26T10:15:14.786Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-26T10:15:14.786Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-26T10:15:15.072Z] prd-centos7-docker-4c-2g-1807 does not seem to be running inside a container [2021-04-26T10:15:15.131Z] $ 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-899/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-899 -v /w/workspace/dgexfoundry_device-sdk-go_PR-899:/w/workspace/dgexfoundry_device-sdk-go_PR-899:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-899@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-899@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-26T10:15:19.604Z] $ docker top 342f160b5fdd043671a590577093d849d641cbfb9c587b2945678390eb605f38 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T10:15:20.114Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-26T10:15:20.454Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-26T10:15:20.780Z] + ls /var/log/sa-host [2021-04-26T10:15:20.780Z] + sadf -c /var/log/sa-host/sa23 [2021-04-26T10:15:20.780Z] file_magic: OK [2021-04-26T10:15:20.780Z] HZ: Using current value: 100 [2021-04-26T10:15:20.780Z] file_header: OK [2021-04-26T10:15:20.780Z] 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-26T10:15:20.780Z] Statistics: [2021-04-26T10:15:20.780Z] Hnuu...uuuununununu... [2021-04-26T10:15:20.780Z] File successfully converted to sysstat format version 12.2.1 [2021-04-26T10:15:20.780Z] + sadf -c /var/log/sa-host/sa26 [2021-04-26T10:15:20.780Z] file_magic: OK [2021-04-26T10:15:20.780Z] HZ: Using current value: 100 [2021-04-26T10:15:20.780Z] file_header: OK [2021-04-26T10:15:20.780Z] 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-26T10:15:20.780Z] Statistics: [2021-04-26T10:15:20.780Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-26T10:15:20.780Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-26T10:15:21.021Z] provisioning config files... [2021-04-26T10:15:21.046Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-899@tmp/config146910281384927333tmp [Pipeline] { [Pipeline] echo [2021-04-26T10:15:21.102Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:15:21.481Z] ---> create-netrc.sh [Pipeline] } [2021-04-26T10:15:21.516Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-26T10:15:21.600Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:15:21.939Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-26T10:15:21.976Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:15:22.328Z] ---> sudo-logs.sh [2021-04-26T10:15:22.328Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-26T10:15:22.417Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:15:22.759Z] ---> job-cost.sh [2021-04-26T10:15:22.759Z] lf-activate-venv: SKIPPING [2021-04-26T10:15:22.759Z] DEBUG: total: 0.20999999344348907 [2021-04-26T10:15:22.759Z] INFO: Retrieving Stack Cost... [2021-04-26T10:15:23.709Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-26T10:15:24.286Z] INFO: Archiving Costs [Pipeline] echo [2021-04-26T10:15:24.324Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:15:24.684Z] ---> logs-deploy.sh [2021-04-26T10:15:24.684Z] lf-activate-venv: SKIPPING [2021-04-26T10:15:24.684Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-899/1 [2021-04-26T10:15:24.684Z] INFO: archiving workspace using pattern(s): [2021-04-26T10:15:26.622Z] Archives upload complete. [2021-04-26T10:15:26.622Z] INFO: archiving logs to Nexus [2021-04-26T10:15:28.019Z] ---> uname -a: [2021-04-26T10:15:28.019Z] Linux prd-centos7-docker-4c-2g-1807.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-04-26T10:15:28.019Z] [2021-04-26T10:15:28.019Z]