Pull request #856 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 89f9764ace757f5c3cd44f311eff291a22b045f0+1894bc1e392d8688e2b497c25b4baea951eb17b4 (2b6807f09cf43ec1c33b95b9705368e6c1b2bb48) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-32873 in /w/workspace/dgexfoundry_device-sdk-go_PR-856 [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-856 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 1894bc1e392d8688e2b497c25b4baea951eb17b4 into PR head commit 89f9764ace757f5c3cd44f311eff291a22b045f0 Merge succeeded, producing 89f9764ace757f5c3cd44f311eff291a22b045f0 Checking out Revision 89f9764ace757f5c3cd44f311eff291a22b045f0 (PR-856) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/856/head:refs/remotes/origin/PR-856 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 89f9764ace757f5c3cd44f311eff291a22b045f0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1894bc1e392d8688e2b497c25b4baea951eb17b4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 89f9764ace757f5c3cd44f311eff291a22b045f0 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git rev-list --no-walk c05abfa9ff339559ddeb33c0824f238db72b7824 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-06T03:03:47.431Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-06T03:03:47.685Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-06T03:03:47.774Z] ========================================================= [2021-04-06T03:03:47.774Z] EdgeX Global Pipelines Version Info [2021-04-06T03:03:47.774Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-06T03:03:52.436Z] ------------------- [2021-04-06T03:03:52.436Z] stable info: [2021-04-06T03:03:52.436Z] ------------------- [2021-04-06T03:03:52.436Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-06T03:03:52.436Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-06T03:03:52.436Z] Message: update stable to v1.0.186 [2021-04-06T03:03:54.198Z] ------------------- [2021-04-06T03:03:54.198Z] experimental info: [2021-04-06T03:03:54.198Z] ------------------- [2021-04-06T03:03:54.198Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-06T03:03:54.198Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-06T03:03:54.198Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-06T03:03:54.591Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-06T03:03:54.677Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-06T03:03:54.762Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-06T03:03:54.850Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-06T03:03:54.948Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-06T03:03:55.039Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-06T03:03:55.136Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-06T03:03:55.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-06T03:03:55.307Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-06T03:03:55.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-06T03:03:55.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-06T03:03:55.572Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-06T03:03:55.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-06T03:03:55.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-06T03:03:55.841Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-06T03:03:55.927Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T03:03:56.010Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T03:03:56.115Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T03:03:56.225Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-06T03:03:56.320Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-06T03:03:56.403Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-06T03:03:56.506Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-06T03:03:56.610Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-06T03:03:56.695Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-06T03:03:56.783Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-06T03:03:56.870Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-06T03:03:56.959Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-856 [Pipeline] echo [2021-04-06T03:03:57.082Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-856 [Pipeline] echo [2021-04-06T03:03:57.170Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-856 [Pipeline] echo [2021-04-06T03:03:57.257Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 89f9764ace757f5c3cd44f311eff291a22b045f0 [Pipeline] echo [2021-04-06T03:03:57.349Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 89f9764 [Pipeline] echo [2021-04-06T03:03:57.449Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-06T03:03:57.622Z] provisioning config files... [2021-04-06T03:03:57.661Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp/config5085266382731425878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-06T03:03:58.249Z] ---> docker-login.sh [2021-04-06T03:03:58.250Z] nexus3.edgexfoundry.org:10001 [2021-04-06T03:03:59.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T03:03:59.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T03:03:59.882Z] Configure a credential helper to remove this warning. See [2021-04-06T03:03:59.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T03:03:59.882Z] [2021-04-06T03:03:59.882Z] Login Succeeded [2021-04-06T03:03:59.882Z] nexus3.edgexfoundry.org:10002 [2021-04-06T03:04:01.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T03:04:01.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T03:04:01.015Z] Configure a credential helper to remove this warning. See [2021-04-06T03:04:01.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T03:04:01.015Z] [2021-04-06T03:04:01.015Z] Login Succeeded [2021-04-06T03:04:01.015Z] nexus3.edgexfoundry.org:10003 [2021-04-06T03:04:01.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T03:04:02.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T03:04:02.333Z] Configure a credential helper to remove this warning. See [2021-04-06T03:04:02.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T03:04:02.333Z] [2021-04-06T03:04:02.333Z] Login Succeeded [2021-04-06T03:04:02.333Z] nexus3.edgexfoundry.org:10004 [2021-04-06T03:04:02.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T03:04:03.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T03:04:03.334Z] Configure a credential helper to remove this warning. See [2021-04-06T03:04:03.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T03:04:03.334Z] [2021-04-06T03:04:03.334Z] Login Succeeded [2021-04-06T03:04:03.334Z] docker.io [2021-04-06T03:04:03.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T03:04:03.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T03:04:03.972Z] Configure a credential helper to remove this warning. See [2021-04-06T03:04:03.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T03:04:03.972Z] [2021-04-06T03:04:03.972Z] Login Succeeded [2021-04-06T03:04:03.972Z] ---> docker-login.sh ends [Pipeline] } [2021-04-06T03:04:04.085Z] 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-06T03:04:05.077Z] + git log --format=format:%s -1 89f9764ace757f5c3cd44f311eff291a22b045f0 [Pipeline] echo [2021-04-06T03:04:05.277Z] GIT_COMMIT: 89f9764ace757f5c3cd44f311eff291a22b045f0, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-04-06T03:04:05.322Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-06T03:04:06.029Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T03:04:06.029Z] [2021-04-06T03:04:06.029Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T03:04:06.564Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T03:04:07.908Z] latest: Pulling from edgex-devops/git-semver [2021-04-06T03:04:07.908Z] 31603596830f: Pulling fs layer [2021-04-06T03:04:07.908Z] 2a8b12db71e7: Pulling fs layer [2021-04-06T03:04:07.908Z] 6ca5941a6612: Pulling fs layer [2021-04-06T03:04:07.908Z] ecc8261a40a4: Pulling fs layer [2021-04-06T03:04:07.908Z] ecc8261a40a4: Waiting [2021-04-06T03:04:07.908Z] 2a8b12db71e7: Verifying Checksum [2021-04-06T03:04:07.908Z] 2a8b12db71e7: Download complete [2021-04-06T03:04:08.575Z] 31603596830f: Verifying Checksum [2021-04-06T03:04:08.576Z] 31603596830f: Download complete [2021-04-06T03:04:08.887Z] ecc8261a40a4: Verifying Checksum [2021-04-06T03:04:08.887Z] ecc8261a40a4: Download complete [2021-04-06T03:04:08.887Z] 6ca5941a6612: Verifying Checksum [2021-04-06T03:04:08.887Z] 6ca5941a6612: Download complete [2021-04-06T03:04:09.586Z] 31603596830f: Pull complete [2021-04-06T03:04:10.033Z] 2a8b12db71e7: Pull complete [2021-04-06T03:04:13.178Z] 6ca5941a6612: Pull complete [2021-04-06T03:04:14.185Z] ecc8261a40a4: Pull complete [2021-04-06T03:04:14.185Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-06T03:04:14.185Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T03:04:14.185Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-06T03:04:14.907Z] prd-centos7-docker-4c-2g-32873 does not seem to be running inside a container [2021-04-06T03:04:15.479Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-856 -v /w/workspace/dgexfoundry_device-sdk-go_PR-856:/w/workspace/dgexfoundry_device-sdk-go_PR-856:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-06T03:04:19.163Z] $ docker top d91ab02539a98e02995a9ba4ce92a35f83ffcc422d3b08e1f034578a4861134e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-06T03:04:19.827Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-06T03:04:19.827Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-06T03:04:20.919Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-06T03:04:20.924Z] $ docker exec d91ab02539a98e02995a9ba4ce92a35f83ffcc422d3b08e1f034578a4861134e ssh-agent [2021-04-06T03:04:21.756Z] SSH_AUTH_SOCK=/tmp/ssh-gpj35fql8o5O/agent.11 [2021-04-06T03:04:21.756Z] SSH_AGENT_PID=16 [2021-04-06T03:04:21.919Z] Running ssh-add (command line suppressed) [2021-04-06T03:04:22.398Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp/private_key_1234134814149633028.key (/w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp/private_key_1234134814149633028.key) [2021-04-06T03:04:22.483Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-06T03:04:23.480Z] + git tag --points-at HEAD [Pipeline] } [2021-04-06T03:04:23.511Z] $ docker exec --env ******** --env ******** d91ab02539a98e02995a9ba4ce92a35f83ffcc422d3b08e1f034578a4861134e ssh-agent -k [2021-04-06T03:04:23.911Z] unset SSH_AUTH_SOCK; [2021-04-06T03:04:23.934Z] unset SSH_AGENT_PID; [2021-04-06T03:04:23.934Z] echo Agent pid 16 killed; [2021-04-06T03:04:24.082Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-06T03:04:24.252Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-06T03:04:24.252Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-06T03:04:24.734Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-06T03:04:24.737Z] $ docker exec d91ab02539a98e02995a9ba4ce92a35f83ffcc422d3b08e1f034578a4861134e ssh-agent [2021-04-06T03:04:25.601Z] SSH_AUTH_SOCK=/tmp/ssh-ag26LR7skv9V/agent.44 [2021-04-06T03:04:25.601Z] SSH_AGENT_PID=49 [2021-04-06T03:04:26.071Z] Running ssh-add (command line suppressed) [2021-04-06T03:04:26.479Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp/private_key_4773699677967845582.key (/w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp/private_key_4773699677967845582.key) [2021-04-06T03:04:26.675Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-06T03:04:27.203Z] + git semver init [2021-04-06T03:04:27.479Z] # -> Open(): unable to determine branch for HEAD [2021-04-06T03:04:27.479Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-856/.git [2021-04-06T03:04:27.479Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-856 [2021-04-06T03:04:27.479Z] # $SEMVER_REMOTE_NAME = origin [2021-04-06T03:04:27.479Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-06T03:04:27.479Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-06T03:04:27.479Z] # $SEMVER_BRANCH = PR-856 [2021-04-06T03:04:27.479Z] # $SEMVER_TEMP = /tmp/semver-861894501 [2021-04-06T03:04:27.479Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-06T03:04:28.504Z] # '/tmp/semver-861894501' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-856/.semver' [2021-04-06T03:04:28.504Z] # -> Force: false [2021-04-06T03:04:28.504Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-856/.semver [Pipeline] } [2021-04-06T03:04:28.534Z] $ docker exec --env ******** --env ******** d91ab02539a98e02995a9ba4ce92a35f83ffcc422d3b08e1f034578a4861134e ssh-agent -k [2021-04-06T03:04:29.075Z] unset SSH_AUTH_SOCK; [2021-04-06T03:04:29.075Z] unset SSH_AGENT_PID; [2021-04-06T03:04:29.075Z] echo Agent pid 49 killed; [2021-04-06T03:04:29.259Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-06T03:04:29.826Z] + git semver [Pipeline] } [2021-04-06T03:04:29.846Z] $ docker stop --time=1 d91ab02539a98e02995a9ba4ce92a35f83ffcc422d3b08e1f034578a4861134e [2021-04-06T03:04:31.879Z] $ docker rm -f d91ab02539a98e02995a9ba4ce92a35f83ffcc422d3b08e1f034578a4861134e [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T03:04:32.728Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-06T03:04:34.492Z] Stashed 1 file(s) [Pipeline] echo [2021-04-06T03:04:34.496Z] [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-06T03:04:35.065Z] Running on prd-centos7-docker-4c-2g-32877 in /w/workspace/dgexfoundry_device-sdk-go_PR-856 [Pipeline] { [Pipeline] ws [2021-04-06T03:04:35.118Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-04-06T03:04:37.381Z] using credential edgex-jenkins-ssh [2021-04-06T03:04:37.428Z] Cloning the remote Git repository [2021-04-06T03:04:37.449Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T03:04:37.522Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-04-06T03:04:37.608Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T03:04:37.608Z] > git --version # timeout=10 [2021-04-06T03:04:37.616Z] > git --version # 'git version 2.24.3' [2021-04-06T03:04:37.617Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T03:04:37.650Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T03:04:38.332Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T03:04:38.344Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T03:04:38.357Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T03:04:38.375Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T03:04:38.375Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T03:04:38.379Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/856/head:refs/remotes/origin/PR-856 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-06T03:04:38.732Z] Merging remotes/origin/master commit 1894bc1e392d8688e2b497c25b4baea951eb17b4 into PR head commit 89f9764ace757f5c3cd44f311eff291a22b045f0 [2021-04-06T03:04:38.825Z] Merge succeeded, producing 89f9764ace757f5c3cd44f311eff291a22b045f0 [2021-04-06T03:04:38.825Z] Checking out Revision 89f9764ace757f5c3cd44f311eff291a22b045f0 (PR-856) [2021-04-06T03:04:38.742Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T03:04:38.748Z] > git checkout -f 89f9764ace757f5c3cd44f311eff291a22b045f0 # timeout=10 [2021-04-06T03:04:38.793Z] > git remote # timeout=10 [2021-04-06T03:04:38.798Z] > git config --get remote.origin.url # timeout=10 [2021-04-06T03:04:38.802Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T03:04:38.806Z] > git merge 1894bc1e392d8688e2b497c25b4baea951eb17b4 # timeout=10 [2021-04-06T03:04:38.817Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-06T03:04:38.827Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T03:04:38.831Z] > git checkout -f 89f9764ace757f5c3cd44f311eff291a22b045f0 # timeout=10 [2021-04-06T03:04:42.518Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T03:04:43.599Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-06T03:04:43.932Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-06T03:04:44.266Z] + sudo service docker restart [2021-04-06T03:04:44.266Z] + true [2021-04-06T03:04:44.266Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-06T03:04:45.279Z] provisioning config files... [2021-04-06T03:04:45.307Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config4694618040105481394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-06T03:04:45.666Z] ---> docker-login.sh [2021-04-06T03:04:45.666Z] nexus3.edgexfoundry.org:10001 [2021-04-06T03:04:45.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T03:04:45.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T03:04:45.929Z] Configure a credential helper to remove this warning. See [2021-04-06T03:04:45.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T03:04:45.929Z] [2021-04-06T03:04:45.929Z] Login Succeeded [2021-04-06T03:04:45.929Z] nexus3.edgexfoundry.org:10002 [2021-04-06T03:04:46.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T03:04:46.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T03:04:46.191Z] Configure a credential helper to remove this warning. See [2021-04-06T03:04:46.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T03:04:46.191Z] [2021-04-06T03:04:46.191Z] Login Succeeded [2021-04-06T03:04:46.191Z] nexus3.edgexfoundry.org:10003 [2021-04-06T03:04:46.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T03:04:46.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T03:04:46.453Z] Configure a credential helper to remove this warning. See [2021-04-06T03:04:46.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T03:04:46.453Z] [2021-04-06T03:04:46.453Z] Login Succeeded [2021-04-06T03:04:46.453Z] nexus3.edgexfoundry.org:10004 [2021-04-06T03:04:46.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T03:04:46.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T03:04:46.453Z] Configure a credential helper to remove this warning. See [2021-04-06T03:04:46.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T03:04:46.453Z] [2021-04-06T03:04:46.453Z] Login Succeeded [2021-04-06T03:04:46.453Z] docker.io [2021-04-06T03:04:46.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T03:04:46.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T03:04:46.979Z] Configure a credential helper to remove this warning. See [2021-04-06T03:04:46.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T03:04:46.979Z] [2021-04-06T03:04:46.979Z] Login Succeeded [2021-04-06T03:04:46.979Z] ---> docker-login.sh ends [Pipeline] } [2021-04-06T03:04:46.990Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-06T03:04:47.308Z] ========================================================= [2021-04-06T03:04:47.309Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-06T03:04:47.309Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-06T03:04:47.693Z] + 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-06T03:04:47.693Z] Sending build context to Docker daemon 2.372MB [2021-04-06T03:04:47.959Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T03:04:47.959Z] Step 2/8 : FROM ${BASE} [2021-04-06T03:04:47.959Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-06T03:04:47.959Z] 188c0c94c7c5: Pulling fs layer [2021-04-06T03:04:47.959Z] 0ef7d3d256c8: Pulling fs layer [2021-04-06T03:04:47.959Z] de9db76c5a1d: Pulling fs layer [2021-04-06T03:04:47.959Z] bca2f99d35d6: Pulling fs layer [2021-04-06T03:04:47.959Z] 93359f2a8cfa: Pulling fs layer [2021-04-06T03:04:47.959Z] 7c6f9722023f: Pulling fs layer [2021-04-06T03:04:47.959Z] a35cf1a2eb13: Pulling fs layer [2021-04-06T03:04:47.959Z] 93359f2a8cfa: Waiting [2021-04-06T03:04:47.959Z] 7c6f9722023f: Waiting [2021-04-06T03:04:47.959Z] a35cf1a2eb13: Waiting [2021-04-06T03:04:47.959Z] bca2f99d35d6: Waiting [2021-04-06T03:04:47.959Z] 0ef7d3d256c8: Verifying Checksum [2021-04-06T03:04:47.959Z] 0ef7d3d256c8: Download complete [2021-04-06T03:04:47.959Z] de9db76c5a1d: Verifying Checksum [2021-04-06T03:04:47.959Z] de9db76c5a1d: Download complete [2021-04-06T03:04:47.959Z] 93359f2a8cfa: Verifying Checksum [2021-04-06T03:04:47.959Z] 93359f2a8cfa: Download complete [2021-04-06T03:04:48.232Z] 7c6f9722023f: Verifying Checksum [2021-04-06T03:04:48.232Z] 7c6f9722023f: Download complete [2021-04-06T03:04:48.232Z] 188c0c94c7c5: Verifying Checksum [2021-04-06T03:04:48.232Z] 188c0c94c7c5: Download complete [2021-04-06T03:04:48.815Z] 188c0c94c7c5: Pull complete [2021-04-06T03:04:48.815Z] 0ef7d3d256c8: Pull complete [2021-04-06T03:04:49.079Z] de9db76c5a1d: Pull complete [2021-04-06T03:04:49.967Z] Still waiting to schedule task [2021-04-06T03:04:49.967Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-32874’ [2021-04-06T03:04:50.483Z] a35cf1a2eb13: Verifying Checksum [2021-04-06T03:04:50.483Z] a35cf1a2eb13: Download complete [2021-04-06T03:04:50.483Z] bca2f99d35d6: Verifying Checksum [2021-04-06T03:04:50.483Z] bca2f99d35d6: Download complete [2021-04-06T03:04:57.152Z] bca2f99d35d6: Pull complete [2021-04-06T03:04:57.152Z] 93359f2a8cfa: Pull complete [2021-04-06T03:04:57.152Z] 7c6f9722023f: Pull complete [2021-04-06T03:05:03.962Z] a35cf1a2eb13: Pull complete [2021-04-06T03:05:03.962Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-06T03:05:03.962Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-06T03:05:03.962Z] ---> a62c8e92a672 [2021-04-06T03:05:03.962Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T03:05:03.962Z] ---> Running in e342649f4a55 [2021-04-06T03:05:03.962Z] Removing intermediate container e342649f4a55 [2021-04-06T03:05:03.962Z] ---> f89e25d9c403 [2021-04-06T03:05:03.962Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T03:05:03.962Z] ---> Running in 994156162f98 [2021-04-06T03:05:04.913Z] Removing intermediate container 994156162f98 [2021-04-06T03:05:04.913Z] ---> 42a542ea2130 [2021-04-06T03:05:04.913Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-06T03:05:04.913Z] ---> Running in 56f806fd6425 [2021-04-06T03:05:06.308Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-06T03:05:06.883Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-06T03:05:07.149Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-06T03:05:07.414Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-06T03:05:07.414Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-06T03:05:07.414Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-06T03:05:07.677Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-06T03:05:07.677Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-06T03:05:07.677Z] Executing busybox-1.31.1-r19.trigger [2021-04-06T03:05:07.677Z] OK: 167 MiB in 45 packages [2021-04-06T03:05:08.631Z] Removing intermediate container 56f806fd6425 [2021-04-06T03:05:08.631Z] ---> f8e12434f317 [2021-04-06T03:05:08.631Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-06T03:05:08.901Z] ---> Running in 89bc209ae4ab [2021-04-06T03:05:08.901Z] Removing intermediate container 89bc209ae4ab [2021-04-06T03:05:08.901Z] ---> d9156d5ee197 [2021-04-06T03:05:08.901Z] Step 7/8 : COPY . . [2021-04-06T03:05:10.318Z] ---> e184abf7599b [2021-04-06T03:05:10.318Z] Step 8/8 : RUN go mod download [2021-04-06T03:05:10.318Z] ---> Running in 44012057e617 [2021-04-06T03:05:32.363Z] Removing intermediate container 44012057e617 [2021-04-06T03:05:32.363Z] ---> b06708f01f1d [2021-04-06T03:05:32.363Z] Successfully built b06708f01f1d [2021-04-06T03:05:32.363Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T03:05:32.692Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-06T03:05:32.692Z] . [Pipeline] withDockerContainer [2021-04-06T03:05:32.924Z] prd-centos7-docker-4c-2g-32877 does not seem to be running inside a container [2021-04-06T03:05:33.035Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-06T03:05:33.797Z] $ docker top 3d75ab34ba4f7623f6896dc13ebc9e1df6a72e4939561f3a87c9848c0ad0caf4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T03:05:34.304Z] + go version [2021-04-06T03:05:34.304Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-06T03:05:34.316Z] $ docker stop --time=1 3d75ab34ba4f7623f6896dc13ebc9e1df6a72e4939561f3a87c9848c0ad0caf4 [2021-04-06T03:05:35.673Z] $ docker rm -f 3d75ab34ba4f7623f6896dc13ebc9e1df6a72e4939561f3a87c9848c0ad0caf4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-06T03:05:36.522Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-06T03:05:36.523Z] . [Pipeline] withDockerContainer [2021-04-06T03:05:36.635Z] prd-centos7-docker-4c-2g-32877 does not seem to be running inside a container [2021-04-06T03:05:36.681Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-06T03:05:37.918Z] $ docker top ba276659a96ea5e531b9e009c79f0c199f59edf75586a3f64837a506351b8079 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T03:05:38.426Z] + make test [2021-04-06T03:05:38.426Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-06T03:05:45.090Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-06T03:06:03.322Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-06T03:06:03.322Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-06T03:06:03.322Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-06T03:06:03.322Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-06T03:06:03.322Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-06T03:06:07.578Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 28.1% of statements [2021-04-06T03:06:07.579Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 81.2% of statements [2021-04-06T03:06:08.532Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.079s coverage: 7.8% of statements [2021-04-06T03:06:08.532Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-06T03:06:08.532Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-06T03:06:08.532Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-06T03:06:08.532Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.090s coverage: 32.5% of statements [2021-04-06T03:06:08.532Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-06T03:06:08.532Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-06T03:06:08.532Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-06T03:06:09.117Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.090s coverage: 57.3% of statements [2021-04-06T03:06:09.692Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.179s coverage: 6.6% of statements [2021-04-06T03:06:09.692Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-04-06T03:06:09.692Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-06T03:06:09.957Z] GO111MODULE=on go vet ./... [2021-04-06T03:06:25.012Z] gofmt -l . [2021-04-06T03:06:25.012Z] [ "`gofmt -l .`" = "" ] [2021-04-06T03:06:25.012Z] ./bin/test-attribution-txt.sh [2021-04-06T03:06:25.277Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-06T03:06:25.557Z] $ docker stop --time=1 ba276659a96ea5e531b9e009c79f0c199f59edf75586a3f64837a506351b8079 [2021-04-06T03:06:27.187Z] $ docker rm -f ba276659a96ea5e531b9e009c79f0c199f59edf75586a3f64837a506351b8079 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T03:06:27.902Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-06T03:06:28.315Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-06T03:06:29.555Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-06T03:06:29.847Z] + ls -al . [2021-04-06T03:06:29.847Z] total 188 [2021-04-06T03:06:29.847Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 6 03:06 . [2021-04-06T03:06:29.847Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 6 03:04 .. [2021-04-06T03:06:29.847Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 6 03:04 bin [2021-04-06T03:06:29.847Z] -rw-r--r--. 1 jenkins jenkins 101239 Apr 6 03:06 coverage.out [2021-04-06T03:06:29.847Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 6 03:04 Dockerfile.build [2021-04-06T03:06:29.847Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 6 03:04 .dockerignore [2021-04-06T03:06:29.847Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 6 03:04 example [2021-04-06T03:06:29.847Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 6 03:04 .git [2021-04-06T03:06:29.847Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 6 03:04 .github [2021-04-06T03:06:29.847Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 6 03:04 .gitignore [2021-04-06T03:06:29.847Z] -rw-r--r--. 1 jenkins jenkins 572 Apr 6 03:06 go.mod [2021-04-06T03:06:29.847Z] -rw-r--r--. 1 jenkins jenkins 21064 Apr 6 03:06 go.sum [2021-04-06T03:06:29.847Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 6 03:04 internal [2021-04-06T03:06:29.847Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 6 03:04 Jenkinsfile [2021-04-06T03:06:29.847Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 6 03:04 LICENSE [2021-04-06T03:06:29.847Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 6 03:04 Makefile [2021-04-06T03:06:29.847Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 6 03:04 openapi [2021-04-06T03:06:29.847Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 6 03:04 pkg [2021-04-06T03:06:29.847Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 6 03:04 README.md [2021-04-06T03:06:29.847Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 6 03:04 RELEASE-NOTES.txt [2021-04-06T03:06:29.847Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 6 03:04 snap [2021-04-06T03:06:29.847Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 6 03:04 VERSION [2021-04-06T03:06:29.847Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 6 03:04 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-06T03:06:30.159Z] + 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=89f9764ace757f5c3cd44f311eff291a22b045f0 --label arch=amd64 --label version=0.0.0 . [2021-04-06T03:06:30.425Z] Sending build context to Docker daemon 2.473MB [2021-04-06T03:06:30.425Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T03:06:30.425Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-06T03:06:30.425Z] ---> b06708f01f1d [2021-04-06T03:06:30.425Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-06T03:06:30.998Z] ---> Running in 5760bd17b56e [2021-04-06T03:06:30.998Z] Removing intermediate container 5760bd17b56e [2021-04-06T03:06:30.998Z] ---> 79af1aca9f6a [2021-04-06T03:06:30.998Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T03:06:31.260Z] ---> Running in a11074dc8178 [2021-04-06T03:06:31.522Z] Removing intermediate container a11074dc8178 [2021-04-06T03:06:31.522Z] ---> 7666f2e1cdbc [2021-04-06T03:06:31.522Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T03:06:31.802Z] ---> Running in abda792fce06 [2021-04-06T03:06:32.756Z] Removing intermediate container abda792fce06 [2021-04-06T03:06:32.756Z] ---> 6187fc4afe4b [2021-04-06T03:06:32.756Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-06T03:06:32.756Z] ---> Running in f36526465d7c [2021-04-06T03:06:33.339Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-06T03:06:33.912Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-06T03:06:34.174Z] OK: 167 MiB in 45 packages [2021-04-06T03:06:34.748Z] Removing intermediate container f36526465d7c [2021-04-06T03:06:34.748Z] ---> 0978bd4ad008 [2021-04-06T03:06:34.748Z] Step 7/23 : COPY . . [2021-04-06T03:06:35.702Z] ---> 71412fd91fac [2021-04-06T03:06:35.702Z] Step 8/23 : RUN go mod download [2021-04-06T03:06:35.702Z] ---> Running in 4fe4e19ba732 [2021-04-06T03:06:36.656Z] Removing intermediate container 4fe4e19ba732 [2021-04-06T03:06:36.656Z] ---> 17e299a35955 [2021-04-06T03:06:36.656Z] Step 9/23 : RUN make build [2021-04-06T03:06:36.927Z] ---> Running in 309b3f71bbcb [2021-04-06T03:06:37.516Z] 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-06T03:06:49.836Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-06T03:06:49.836Z] Removing intermediate container 309b3f71bbcb [2021-04-06T03:06:49.836Z] ---> 5444d6ca5591 [2021-04-06T03:06:49.836Z] Step 10/23 : FROM alpine:3.12 [2021-04-06T03:06:50.097Z] 3.12: Pulling from library/alpine [2021-04-06T03:06:50.097Z] 532819f3e44c: Pulling fs layer [2021-04-06T03:06:50.359Z] 532819f3e44c: Download complete [2021-04-06T03:06:50.622Z] 532819f3e44c: Pull complete [2021-04-06T03:06:50.622Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-06T03:06:50.622Z] Status: Downloaded newer image for alpine:3.12 [2021-04-06T03:06:50.622Z] ---> 7230e588e954 [2021-04-06T03:06:50.623Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T03:06:50.890Z] ---> Running in 2bf3e5fdd020 [2021-04-06T03:06:50.890Z] Removing intermediate container 2bf3e5fdd020 [2021-04-06T03:06:50.890Z] ---> 4d79a96f8c3a [2021-04-06T03:06:50.890Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T03:06:50.890Z] ---> Running in 916415d0b81e [2021-04-06T03:06:51.846Z] Removing intermediate container 916415d0b81e [2021-04-06T03:06:51.846Z] ---> 661ae1585351 [2021-04-06T03:06:51.846Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-06T03:06:51.846Z] ---> Running in 38bb23632bec [2021-04-06T03:06:52.431Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-06T03:06:53.004Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-06T03:06:53.578Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-06T03:06:53.578Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-06T03:06:53.841Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-06T03:06:53.841Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-06T03:06:54.103Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-06T03:06:54.103Z] Executing busybox-1.31.1-r20.trigger [2021-04-06T03:06:54.103Z] OK: 8 MiB in 19 packages [2021-04-06T03:06:54.724Z] Removing intermediate container 38bb23632bec [2021-04-06T03:06:54.724Z] ---> 11c2131ce833 [2021-04-06T03:06:54.724Z] Step 14/23 : WORKDIR / [2021-04-06T03:06:54.724Z] ---> Running in ac8e5c032e14 [2021-04-06T03:06:54.724Z] Removing intermediate container ac8e5c032e14 [2021-04-06T03:06:54.724Z] ---> 13faf5cb5e74 [2021-04-06T03:06:54.724Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-06T03:06:55.008Z] ---> 5f80463ca42e [2021-04-06T03:06:55.008Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-06T03:06:55.618Z] ---> d6885b5d822f [2021-04-06T03:06:55.618Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-06T03:06:55.886Z] ---> dadc94a858f5 [2021-04-06T03:06:55.886Z] Step 18/23 : EXPOSE 49990 [2021-04-06T03:06:55.886Z] ---> Running in 4fa3bcb49ada [2021-04-06T03:06:56.152Z] Removing intermediate container 4fa3bcb49ada [2021-04-06T03:06:56.152Z] ---> 84226065ce7b [2021-04-06T03:06:56.152Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-06T03:06:56.152Z] ---> Running in 09607f7f904a [2021-04-06T03:06:56.416Z] Removing intermediate container 09607f7f904a [2021-04-06T03:06:56.416Z] ---> a76364b95b46 [2021-04-06T03:06:56.416Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-06T03:06:56.416Z] ---> Running in 19a738f06ebf [2021-04-06T03:06:56.678Z] Removing intermediate container 19a738f06ebf [2021-04-06T03:06:56.678Z] ---> 6b27249be2fd [2021-04-06T03:06:56.678Z] Step 21/23 : LABEL arch=amd64 [2021-04-06T03:06:56.678Z] ---> Running in 5fbe190d5be8 [2021-04-06T03:06:56.941Z] Removing intermediate container 5fbe190d5be8 [2021-04-06T03:06:56.941Z] ---> 2dc4f24cae91 [2021-04-06T03:06:56.941Z] Step 22/23 : LABEL git_sha=89f9764ace757f5c3cd44f311eff291a22b045f0 [2021-04-06T03:06:56.941Z] ---> Running in 5861a8fd0bbb [2021-04-06T03:06:56.941Z] Removing intermediate container 5861a8fd0bbb [2021-04-06T03:06:56.941Z] ---> 62799dd32f41 [2021-04-06T03:06:56.941Z] Step 23/23 : LABEL version=0.0.0 [2021-04-06T03:06:57.203Z] ---> Running in e6163089ec5f [2021-04-06T03:06:57.203Z] Removing intermediate container e6163089ec5f [2021-04-06T03:06:57.203Z] ---> 50a26afba17d [2021-04-06T03:06:57.203Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-06T03:06:57.203Z] Successfully built 50a26afba17d [2021-04-06T03:06:57.466Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-06T03:06:58.336Z] ---> job-cost.sh [2021-04-06T03:06:58.337Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-hlZI [2021-04-06T03:07:13.273Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-06T03:07:39.888Z] lf-activate-venv(): INFO: Adding /tmp/venv-hlZI/bin to PATH [2021-04-06T03:07:39.888Z] INFO: No Stack... [2021-04-06T03:07:39.888Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-06T03:07:40.149Z] INFO: Archiving Costs [Pipeline] sh [2021-04-06T03:07:40.455Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2021-04-06T03:07:40.455Z] + cut -d, -f6 [Pipeline] lock [2021-04-06T03:07:40.531Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-856-5-stack-cost] [2021-04-06T03:07:40.539Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-856-5-stack-cost] did not exist. Created. [2021-04-06T03:07:40.540Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-856-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-06T03:07:40.970Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-06T03:07:41.151Z] Stashed 1 file(s) [Pipeline] } [2021-04-06T03:07:41.164Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-856-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-06T03:08:07.086Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32879 in /w/workspace/dgexfoundry_device-sdk-go_PR-856 [Pipeline] { [Pipeline] ws [2021-04-06T03:08:07.171Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-04-06T03:08:12.815Z] using credential edgex-jenkins-ssh [2021-04-06T03:08:13.076Z] Cloning the remote Git repository [2021-04-06T03:08:13.138Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T03:08:13.254Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-04-06T03:08:13.337Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T03:08:13.337Z] > git --version # timeout=10 [2021-04-06T03:08:13.355Z] > git --version # 'git version 2.17.1' [2021-04-06T03:08:13.357Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T03:08:13.432Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T03:08:14.662Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T03:08:14.679Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T03:08:14.707Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T03:08:14.750Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T03:08:14.750Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T03:08:14.763Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/856/head:refs/remotes/origin/PR-856 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-06T03:08:15.260Z] Merging remotes/origin/master commit 1894bc1e392d8688e2b497c25b4baea951eb17b4 into PR head commit 89f9764ace757f5c3cd44f311eff291a22b045f0 [2021-04-06T03:08:15.629Z] Merge succeeded, producing 89f9764ace757f5c3cd44f311eff291a22b045f0 [2021-04-06T03:08:15.630Z] Checking out Revision 89f9764ace757f5c3cd44f311eff291a22b045f0 (PR-856) [2021-04-06T03:08:15.280Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T03:08:15.336Z] > git checkout -f 89f9764ace757f5c3cd44f311eff291a22b045f0 # timeout=10 [2021-04-06T03:08:15.527Z] > git remote # timeout=10 [2021-04-06T03:08:15.557Z] > git config --get remote.origin.url # timeout=10 [2021-04-06T03:08:15.573Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T03:08:15.586Z] > git merge 1894bc1e392d8688e2b497c25b4baea951eb17b4 # timeout=10 [2021-04-06T03:08:15.613Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-06T03:08:15.639Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T03:08:15.651Z] > git checkout -f 89f9764ace757f5c3cd44f311eff291a22b045f0 # timeout=10 [2021-04-06T03:08:20.004Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T03:08:21.698Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-06T03:08:22.161Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-06T03:08:22.554Z] + sudo service docker restart [2021-04-06T03:08:22.554Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-06T03:08:24.611Z] provisioning config files... [2021-04-06T03:08:24.650Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config6801475023383450730tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-06T03:08:25.068Z] ---> docker-login.sh [2021-04-06T03:08:25.068Z] nexus3.edgexfoundry.org:10001 [2021-04-06T03:08:26.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T03:08:26.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T03:08:26.326Z] Configure a credential helper to remove this warning. See [2021-04-06T03:08:26.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T03:08:26.326Z] [2021-04-06T03:08:26.326Z] Login Succeeded [2021-04-06T03:08:26.326Z] nexus3.edgexfoundry.org:10002 [2021-04-06T03:08:26.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T03:08:26.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T03:08:26.875Z] Configure a credential helper to remove this warning. See [2021-04-06T03:08:26.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T03:08:26.875Z] [2021-04-06T03:08:26.875Z] Login Succeeded [2021-04-06T03:08:26.875Z] nexus3.edgexfoundry.org:10003 [2021-04-06T03:08:27.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T03:08:27.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T03:08:27.423Z] Configure a credential helper to remove this warning. See [2021-04-06T03:08:27.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T03:08:27.423Z] [2021-04-06T03:08:27.423Z] Login Succeeded [2021-04-06T03:08:27.423Z] nexus3.edgexfoundry.org:10004 [2021-04-06T03:08:27.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T03:08:27.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T03:08:27.972Z] Configure a credential helper to remove this warning. See [2021-04-06T03:08:27.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T03:08:27.972Z] [2021-04-06T03:08:27.972Z] Login Succeeded [2021-04-06T03:08:27.972Z] docker.io [2021-04-06T03:08:28.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T03:08:28.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T03:08:28.516Z] Configure a credential helper to remove this warning. See [2021-04-06T03:08:28.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T03:08:28.516Z] [2021-04-06T03:08:28.516Z] Login Succeeded [2021-04-06T03:08:28.516Z] ---> docker-login.sh ends [Pipeline] } [2021-04-06T03:08:28.535Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-06T03:08:29.031Z] ========================================================= [2021-04-06T03:08:29.031Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-06T03:08:29.031Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-06T03:08:29.413Z] + 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-06T03:08:30.016Z] Sending build context to Docker daemon 2.359MB [2021-04-06T03:08:30.016Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T03:08:30.016Z] Step 2/8 : FROM ${BASE} [2021-04-06T03:08:30.016Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-06T03:08:30.016Z] 5f621e34cdf4: Pulling fs layer [2021-04-06T03:08:30.016Z] a4357932f1b6: Pulling fs layer [2021-04-06T03:08:30.016Z] 18c013af1878: Pulling fs layer [2021-04-06T03:08:30.016Z] 00ac8860ef70: Pulling fs layer [2021-04-06T03:08:30.016Z] 63d7cb157983: Pulling fs layer [2021-04-06T03:08:30.016Z] b116817d02f9: Pulling fs layer [2021-04-06T03:08:30.016Z] 745a02a5169b: Pulling fs layer [2021-04-06T03:08:30.016Z] 63d7cb157983: Waiting [2021-04-06T03:08:30.016Z] 00ac8860ef70: Waiting [2021-04-06T03:08:30.016Z] 745a02a5169b: Waiting [2021-04-06T03:08:30.016Z] b116817d02f9: Waiting [2021-04-06T03:08:30.016Z] 18c013af1878: Verifying Checksum [2021-04-06T03:08:30.016Z] 18c013af1878: Download complete [2021-04-06T03:08:30.016Z] a4357932f1b6: Verifying Checksum [2021-04-06T03:08:30.016Z] a4357932f1b6: Download complete [2021-04-06T03:08:30.998Z] 63d7cb157983: Download complete [2021-04-06T03:08:30.998Z] b116817d02f9: Verifying Checksum [2021-04-06T03:08:30.998Z] b116817d02f9: Download complete [2021-04-06T03:08:30.998Z] 5f621e34cdf4: Verifying Checksum [2021-04-06T03:08:30.998Z] 5f621e34cdf4: Download complete [2021-04-06T03:08:31.606Z] 5f621e34cdf4: Pull complete [2021-04-06T03:08:32.218Z] a4357932f1b6: Pull complete [2021-04-06T03:08:32.497Z] 18c013af1878: Pull complete [2021-04-06T03:08:33.096Z] 745a02a5169b: Download complete [2021-04-06T03:08:34.538Z] 00ac8860ef70: Verifying Checksum [2021-04-06T03:08:34.538Z] 00ac8860ef70: Download complete [2021-04-06T03:08:44.742Z] 00ac8860ef70: Pull complete [2021-04-06T03:08:45.019Z] 63d7cb157983: Pull complete [2021-04-06T03:08:45.294Z] b116817d02f9: Pull complete [2021-04-06T03:08:49.623Z] 745a02a5169b: Pull complete [2021-04-06T03:08:49.623Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-06T03:08:49.623Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-06T03:08:49.623Z] ---> b7e6874047d6 [2021-04-06T03:08:49.623Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T03:08:52.234Z] ---> Running in fb5dc0c97fad [2021-04-06T03:08:52.509Z] Removing intermediate container fb5dc0c97fad [2021-04-06T03:08:52.509Z] ---> e92944801924 [2021-04-06T03:08:52.509Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T03:08:52.509Z] ---> Running in 6e2b5b82dcb0 [2021-04-06T03:08:55.151Z] Removing intermediate container 6e2b5b82dcb0 [2021-04-06T03:08:55.151Z] ---> 831c95bf6e72 [2021-04-06T03:08:55.151Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-06T03:08:55.151Z] ---> Running in ae8d1a3e86f9 [2021-04-06T03:08:56.136Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-06T03:08:56.729Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-06T03:08:57.325Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-06T03:08:57.597Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-06T03:08:57.598Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-06T03:08:57.598Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-06T03:08:57.872Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-06T03:08:57.872Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-06T03:08:57.872Z] Executing busybox-1.31.1-r19.trigger [2021-04-06T03:08:57.872Z] OK: 144 MiB in 45 packages [2021-04-06T03:08:59.309Z] Removing intermediate container ae8d1a3e86f9 [2021-04-06T03:08:59.309Z] ---> a649e3a67dd9 [2021-04-06T03:08:59.309Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-06T03:08:59.583Z] ---> Running in 44a24d8ac79c [2021-04-06T03:09:00.178Z] Removing intermediate container 44a24d8ac79c [2021-04-06T03:09:00.178Z] ---> 8c27b519ce66 [2021-04-06T03:09:00.178Z] Step 7/8 : COPY . . [2021-04-06T03:09:01.160Z] ---> 56e403d8567a [2021-04-06T03:09:01.160Z] Step 8/8 : RUN go mod download [2021-04-06T03:09:01.437Z] ---> Running in f2771a4f27bd [2021-04-06T03:09:28.273Z] Removing intermediate container f2771a4f27bd [2021-04-06T03:09:28.273Z] ---> e895a1d4310f [2021-04-06T03:09:28.273Z] Successfully built e895a1d4310f [2021-04-06T03:09:28.273Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T03:09:28.618Z] + docker inspect -f . ci-base-image-arm64 [2021-04-06T03:09:28.618Z] . [Pipeline] withDockerContainer [2021-04-06T03:09:28.906Z] prd-ubuntu18.04-docker-arm64-4c-16g-32879 does not seem to be running inside a container [2021-04-06T03:09:28.993Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-06T03:09:30.569Z] $ docker top 0fd1a59e59c1d52b9c7b7e4aa1be541a1e8f31bfe8e1f85484d3d5dbdea9ee1e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T03:09:31.622Z] + go version [2021-04-06T03:09:31.622Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-06T03:09:31.648Z] $ docker stop --time=1 0fd1a59e59c1d52b9c7b7e4aa1be541a1e8f31bfe8e1f85484d3d5dbdea9ee1e [2021-04-06T03:09:33.551Z] $ docker rm -f 0fd1a59e59c1d52b9c7b7e4aa1be541a1e8f31bfe8e1f85484d3d5dbdea9ee1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-06T03:09:34.544Z] + docker inspect -f . ci-base-image-arm64 [2021-04-06T03:09:34.544Z] . [Pipeline] withDockerContainer [2021-04-06T03:09:34.805Z] prd-ubuntu18.04-docker-arm64-4c-16g-32879 does not seem to be running inside a container [2021-04-06T03:09:34.888Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-06T03:09:36.320Z] $ docker top 2176e6d404ba58544d02d6988a8f0b27025e477e1766ae992a51d5cde2d477ce -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T03:09:37.290Z] + make test [2021-04-06T03:09:37.290Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-06T03:09:59.487Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-06T03:10:56.103Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-06T03:10:56.103Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-06T03:10:56.103Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-06T03:10:56.103Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-06T03:10:56.103Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-06T03:10:59.522Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.142s coverage: 28.1% of statements [2021-04-06T03:11:00.122Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.255s coverage: 81.2% of statements [2021-04-06T03:11:00.122Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.153s coverage: 7.8% of statements [2021-04-06T03:11:00.122Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-06T03:11:00.122Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-06T03:11:00.122Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-06T03:11:02.758Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.290s coverage: 32.5% of statements [2021-04-06T03:11:02.758Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-06T03:11:02.758Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-06T03:11:02.758Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-06T03:11:06.184Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.311s coverage: 57.3% of statements [2021-04-06T03:11:06.184Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.052s coverage: 6.6% of statements [2021-04-06T03:11:06.184Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.145s coverage: 5.0% of statements [2021-04-06T03:11:06.184Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-06T03:11:06.458Z] GO111MODULE=on go vet ./... [2021-04-06T03:11:53.473Z] gofmt -l . [2021-04-06T03:11:53.473Z] [ "`gofmt -l .`" = "" ] [2021-04-06T03:11:53.473Z] ./bin/test-attribution-txt.sh [2021-04-06T03:11:53.473Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-06T03:11:53.496Z] $ docker stop --time=1 2176e6d404ba58544d02d6988a8f0b27025e477e1766ae992a51d5cde2d477ce [2021-04-06T03:11:55.824Z] $ docker rm -f 2176e6d404ba58544d02d6988a8f0b27025e477e1766ae992a51d5cde2d477ce [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T03:11:57.018Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-06T03:11:57.038Z] Warning: overwriting stash ‘coverage-report’ [2021-04-06T03:11:57.929Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T03:11:58.640Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-06T03:11:59.037Z] + ls -al . [2021-04-06T03:11:59.037Z] total 224 [2021-04-06T03:11:59.037Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 03:11 . [2021-04-06T03:11:59.037Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 03:08 .. [2021-04-06T03:11:59.037Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 03:08 .dockerignore [2021-04-06T03:11:59.037Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 03:08 .git [2021-04-06T03:11:59.037Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 03:08 .github [2021-04-06T03:11:59.037Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 6 03:08 .gitignore [2021-04-06T03:11:59.037Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 6 03:08 Dockerfile.build [2021-04-06T03:11:59.037Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 6 03:08 Jenkinsfile [2021-04-06T03:11:59.037Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 6 03:08 LICENSE [2021-04-06T03:11:59.037Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 6 03:08 Makefile [2021-04-06T03:11:59.037Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 6 03:08 README.md [2021-04-06T03:11:59.037Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 6 03:08 RELEASE-NOTES.txt [2021-04-06T03:11:59.037Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 03:04 VERSION [2021-04-06T03:11:59.037Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 03:08 bin [2021-04-06T03:11:59.037Z] -rw-r--r-- 1 jenkins jenkins 101240 Apr 6 03:11 coverage.out [2021-04-06T03:11:59.037Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 03:08 example [2021-04-06T03:11:59.037Z] -rw-r--r-- 1 jenkins jenkins 572 Apr 6 03:11 go.mod [2021-04-06T03:11:59.037Z] -rw-r--r-- 1 jenkins jenkins 21064 Apr 6 03:11 go.sum [2021-04-06T03:11:59.037Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 6 03:08 internal [2021-04-06T03:11:59.037Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 03:08 openapi [2021-04-06T03:11:59.037Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 03:08 pkg [2021-04-06T03:11:59.037Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 03:08 snap [2021-04-06T03:11:59.037Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 6 03:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-06T03:11:59.436Z] + 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=89f9764ace757f5c3cd44f311eff291a22b045f0 --label arch=arm64 --label version=0.0.0 . [2021-04-06T03:12:00.178Z] Sending build context to Docker daemon 2.461MB [2021-04-06T03:12:00.178Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T03:12:00.178Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-06T03:12:00.178Z] ---> e895a1d4310f [2021-04-06T03:12:00.178Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-06T03:12:00.178Z] ---> Running in 8dc66e796a08 [2021-04-06T03:12:00.792Z] Removing intermediate container 8dc66e796a08 [2021-04-06T03:12:00.792Z] ---> 197f970e4510 [2021-04-06T03:12:00.792Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T03:12:00.792Z] ---> Running in 2049ae53ad1d [2021-04-06T03:12:01.394Z] Removing intermediate container 2049ae53ad1d [2021-04-06T03:12:01.394Z] ---> 9b41906920fb [2021-04-06T03:12:01.394Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T03:12:01.394Z] ---> Running in f44667316e1f [2021-04-06T03:12:04.019Z] Removing intermediate container f44667316e1f [2021-04-06T03:12:04.019Z] ---> 699d890fb025 [2021-04-06T03:12:04.019Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-06T03:12:04.019Z] ---> Running in ee4f56803e42 [2021-04-06T03:12:04.993Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-06T03:12:05.583Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-06T03:12:06.177Z] OK: 144 MiB in 45 packages [2021-04-06T03:12:07.618Z] Removing intermediate container ee4f56803e42 [2021-04-06T03:12:07.618Z] ---> 7c1a4e0654cc [2021-04-06T03:12:07.618Z] Step 7/23 : COPY . . [2021-04-06T03:12:08.594Z] ---> dc2525259ac9 [2021-04-06T03:12:08.594Z] Step 8/23 : RUN go mod download [2021-04-06T03:12:08.594Z] ---> Running in e967560ace74 [2021-04-06T03:12:11.213Z] Removing intermediate container e967560ace74 [2021-04-06T03:12:11.213Z] ---> f411dd6c4ef8 [2021-04-06T03:12:11.213Z] Step 9/23 : RUN make build [2021-04-06T03:12:11.213Z] ---> Running in 7e854c048753 [2021-04-06T03:12:12.195Z] 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-06T03:12:44.591Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-06T03:12:46.564Z] Removing intermediate container 7e854c048753 [2021-04-06T03:12:46.564Z] ---> 066666f9f860 [2021-04-06T03:12:46.564Z] Step 10/23 : FROM alpine:3.12 [2021-04-06T03:12:47.157Z] 3.12: Pulling from library/alpine [2021-04-06T03:12:47.157Z] 9a219e8acc52: Pulling fs layer [2021-04-06T03:12:47.430Z] 9a219e8acc52: Download complete [2021-04-06T03:12:48.025Z] 9a219e8acc52: Pull complete [2021-04-06T03:12:48.025Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-06T03:12:48.025Z] Status: Downloaded newer image for alpine:3.12 [2021-04-06T03:12:48.025Z] ---> d75e27dfc0a0 [2021-04-06T03:12:48.025Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T03:12:48.299Z] ---> Running in 2d404f322fcc [2021-04-06T03:12:48.571Z] Removing intermediate container 2d404f322fcc [2021-04-06T03:12:48.571Z] ---> 0e0c48f0242e [2021-04-06T03:12:48.571Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T03:12:48.844Z] ---> Running in 23213385a928 [2021-04-06T03:12:50.824Z] Removing intermediate container 23213385a928 [2021-04-06T03:12:50.824Z] ---> b23d56726010 [2021-04-06T03:12:50.824Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-06T03:12:50.824Z] ---> Running in caf2398adc7f [2021-04-06T03:12:52.264Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-06T03:12:52.856Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-06T03:12:53.449Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-06T03:12:53.449Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-06T03:12:53.449Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-06T03:12:53.720Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-06T03:12:53.720Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-06T03:12:53.992Z] Executing busybox-1.31.1-r20.trigger [2021-04-06T03:12:53.992Z] OK: 8 MiB in 19 packages [2021-04-06T03:12:55.426Z] Removing intermediate container caf2398adc7f [2021-04-06T03:12:55.426Z] ---> fcf8617e2a51 [2021-04-06T03:12:55.426Z] Step 14/23 : WORKDIR / [2021-04-06T03:12:55.426Z] ---> Running in baff571ad44b [2021-04-06T03:12:55.701Z] Removing intermediate container baff571ad44b [2021-04-06T03:12:55.701Z] ---> e3b88184abd0 [2021-04-06T03:12:55.701Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-06T03:12:56.682Z] ---> 07581eed586f [2021-04-06T03:12:56.682Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-06T03:12:57.660Z] ---> 3b714eec549e [2021-04-06T03:12:57.660Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-06T03:12:58.643Z] ---> f00f69b57f43 [2021-04-06T03:12:58.643Z] Step 18/23 : EXPOSE 49990 [2021-04-06T03:12:58.643Z] ---> Running in 643417c04049 [2021-04-06T03:12:59.236Z] Removing intermediate container 643417c04049 [2021-04-06T03:12:59.236Z] ---> 62dc020d4208 [2021-04-06T03:12:59.236Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-06T03:12:59.236Z] ---> Running in 7e68de9d29e4 [2021-04-06T03:12:59.832Z] Removing intermediate container 7e68de9d29e4 [2021-04-06T03:12:59.832Z] ---> 293fd581f46f [2021-04-06T03:12:59.832Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-06T03:12:59.832Z] ---> Running in eab4b9e37df2 [2021-04-06T03:13:00.425Z] Removing intermediate container eab4b9e37df2 [2021-04-06T03:13:00.425Z] ---> 7495146228ff [2021-04-06T03:13:00.425Z] Step 21/23 : LABEL arch=arm64 [2021-04-06T03:13:00.425Z] ---> Running in c92942dafc65 [2021-04-06T03:13:01.025Z] Removing intermediate container c92942dafc65 [2021-04-06T03:13:01.025Z] ---> 956f50dbbdcb [2021-04-06T03:13:01.025Z] Step 22/23 : LABEL git_sha=89f9764ace757f5c3cd44f311eff291a22b045f0 [2021-04-06T03:13:01.025Z] ---> Running in 5e636670de45 [2021-04-06T03:13:01.619Z] Removing intermediate container 5e636670de45 [2021-04-06T03:13:01.619Z] ---> cf1725c5f20a [2021-04-06T03:13:01.619Z] Step 23/23 : LABEL version=0.0.0 [2021-04-06T03:13:01.619Z] ---> Running in 544a72b3a9b7 [2021-04-06T03:13:02.212Z] Removing intermediate container 544a72b3a9b7 [2021-04-06T03:13:02.212Z] ---> 5b843d94b1c4 [2021-04-06T03:13:02.212Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-06T03:13:02.212Z] Successfully built 5b843d94b1c4 [2021-04-06T03:13:02.212Z] 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-06T03:13:02.951Z] ---> job-cost.sh [2021-04-06T03:13:02.951Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ugl0 [2021-04-06T03:13:41.905Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-06T03:15:18.653Z] lf-activate-venv(): INFO: Adding /tmp/venv-ugl0/bin to PATH [2021-04-06T03:15:18.653Z] INFO: No Stack... [2021-04-06T03:15:18.653Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-06T03:15:18.653Z] INFO: Archiving Costs [Pipeline] sh [2021-04-06T03:15:19.044Z] + cut -d, -f6 [2021-04-06T03:15:19.044Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [Pipeline] lock [2021-04-06T03:15:19.155Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-856-5-stack-cost] [2021-04-06T03:15:19.168Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-856-5-stack-cost] did not exist. Created. [2021-04-06T03:15:19.168Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-856-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-06T03:15:19.622Z] /w/workspace/device-sdk-go/5@tmp/durable-61a633c5/script.sh: 1: /w/workspace/device-sdk-go/5@tmp/durable-61a633c5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-06T03:15:19.970Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-06T03:15:20.044Z] Warning: overwriting stash ‘stack-cost’ [2021-04-06T03:15:20.212Z] Stashed 1 file(s) [Pipeline] } [2021-04-06T03:15:20.223Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-856-5-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-06T03:15:21.807Z] provisioning config files... [2021-04-06T03:15:21.854Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp/config201988511163347207tmp [Pipeline] { [Pipeline] sh [2021-04-06T03:15:22.322Z] + set +x [2021-04-06T03:15:22.323Z] + curl -s https://codecov.io/bash [2021-04-06T03:15:22.323Z] + bash -s -- [2021-04-06T03:15:22.603Z] [2021-04-06T03:15:22.603Z] _____ _ [2021-04-06T03:15:22.603Z] / ____| | | [2021-04-06T03:15:22.603Z] | | ___ __| | ___ ___ _____ __ [2021-04-06T03:15:22.603Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-06T03:15:22.603Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-06T03:15:22.603Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-06T03:15:22.603Z] Bash-20210309-2b87ace [2021-04-06T03:15:22.603Z] [2021-04-06T03:15:22.603Z] [2021-04-06T03:15:22.603Z] ==> git version 2.24.3 found [2021-04-06T03:15:22.603Z] ==> 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-06T03:15:22.603Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-06T03:15:22.603Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-06T03:15:22.603Z] ==> Jenkins CI detected. [2021-04-06T03:15:22.603Z] project root: . [2021-04-06T03:15:22.603Z] --> token set from env [2021-04-06T03:15:22.603Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-06T03:15:22.603Z] ==> Running gcov in . (disable via -X gcov) [2021-04-06T03:15:22.603Z] ==> Python coveragepy not found [2021-04-06T03:15:22.603Z] ==> Searching for coverage reports in: [2021-04-06T03:15:22.603Z] + . [2021-04-06T03:15:22.883Z] -> Found 1 reports [2021-04-06T03:15:22.883Z] ==> Detecting git/mercurial file structure [2021-04-06T03:15:22.883Z] ==> Reading reports [2021-04-06T03:15:22.883Z] + ./coverage.out bytes=101240 [2021-04-06T03:15:22.883Z] ==> Appending adjustments [2021-04-06T03:15:22.883Z] https://docs.codecov.io/docs/fixing-reports [2021-04-06T03:15:23.174Z] + Found adjustments [2021-04-06T03:15:23.174Z] ==> Gzipping contents [2021-04-06T03:15:23.174Z] 16K /tmp/codecov.x7NJFc.gz [2021-04-06T03:15:23.174Z] ==> Uploading reports [2021-04-06T03:15:23.174Z] url: https://codecov.io [2021-04-06T03:15:23.175Z] query: branch=PR-856&commit=89f9764ace757f5c3cd44f311eff291a22b045f0&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-856%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=856&job=&cmd_args= [2021-04-06T03:15:23.175Z] -> Pinging Codecov [2021-04-06T03:15:23.175Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-856&commit=89f9764ace757f5c3cd44f311eff291a22b045f0&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-856%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=856&job=&cmd_args= [2021-04-06T03:15:23.788Z] -> Uploading to [2021-04-06T03:15:23.788Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-06/7E55EF52A471D76F132DFD9A03CDDE97/89f9764ace757f5c3cd44f311eff291a22b045f0/ffc3ef1f-be48-4a35-bcce-fb2a2084cc93.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210406T031523Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f1bd70e681268f9d8c479709c700d7dbc7c0e186adcb2d59f7311af7d3d57f92 [2021-04-06T03:15:23.788Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-06T03:15:23.788Z] Dload Upload Total Spent Left Speed [2021-04-06T03:15:24.532Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13686 0 0 100 13686 0 27372 --:--:-- --:--:-- --:--:-- 27426 [2021-04-06T03:15:24.532Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/89f9764ace757f5c3cd44f311eff291a22b045f0 [Pipeline] } [2021-04-06T03:15:24.572Z] 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-06T03:15:27.070Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T03:15:28.046Z] ---> package-listing.sh [2021-04-06T03:15:28.046Z] ++ facter osfamily [2021-04-06T03:15:28.046Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-06T03:15:28.320Z] + OS_FAMILY=redhat [2021-04-06T03:15:28.320Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-856 [2021-04-06T03:15:28.320Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-06T03:15:28.320Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-06T03:15:28.320Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-06T03:15:28.320Z] + PACKAGES=/tmp/packages_start.txt [2021-04-06T03:15:28.320Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-856 ']' [2021-04-06T03:15:28.320Z] + PACKAGES=/tmp/packages_end.txt [2021-04-06T03:15:28.320Z] + case "${OS_FAMILY}" in [2021-04-06T03:15:28.320Z] + rpm -qa [2021-04-06T03:15:28.320Z] + sort [2021-04-06T03:15:38.838Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-06T03:15:38.838Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-06T03:15:38.838Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-06T03:15:38.838Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-856 ']' [2021-04-06T03:15:38.838Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-856/archives/ [2021-04-06T03:15:38.838Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-856/archives/ [Pipeline] echo [2021-04-06T03:15:38.858Z] 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-856/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-06T03:15:39.274Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-06T03:15:40.109Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T03:15:40.706Z] [2021-04-06T03:15:40.706Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-06T03:15:41.297Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T03:15:41.298Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-06T03:15:41.298Z] df20fa9351a1: Pulling fs layer [2021-04-06T03:15:41.298Z] 36b3adc4ff6f: Pulling fs layer [2021-04-06T03:15:41.298Z] 8ad3a11d3b57: Pulling fs layer [2021-04-06T03:15:41.298Z] 46f8f816bc3b: Pulling fs layer [2021-04-06T03:15:41.298Z] 93b61091891f: Pulling fs layer [2021-04-06T03:15:41.298Z] 93b9cdb0e59b: Pulling fs layer [2021-04-06T03:15:41.298Z] 5e14af77c1be: Pulling fs layer [2021-04-06T03:15:41.298Z] 01666e4c0597: Pulling fs layer [2021-04-06T03:15:41.298Z] aa168da1d23b: Pulling fs layer [2021-04-06T03:15:41.298Z] 93b9cdb0e59b: Waiting [2021-04-06T03:15:41.298Z] 5e14af77c1be: Waiting [2021-04-06T03:15:41.298Z] 01666e4c0597: Waiting [2021-04-06T03:15:41.298Z] 46f8f816bc3b: Waiting [2021-04-06T03:15:41.298Z] 36b3adc4ff6f: Verifying Checksum [2021-04-06T03:15:41.298Z] 36b3adc4ff6f: Download complete [2021-04-06T03:15:41.686Z] 46f8f816bc3b: Verifying Checksum [2021-04-06T03:15:41.686Z] 46f8f816bc3b: Download complete [2021-04-06T03:15:41.686Z] df20fa9351a1: Verifying Checksum [2021-04-06T03:15:41.686Z] df20fa9351a1: Download complete [2021-04-06T03:15:41.686Z] 93b9cdb0e59b: Verifying Checksum [2021-04-06T03:15:41.686Z] 93b9cdb0e59b: Download complete [2021-04-06T03:15:42.020Z] 5e14af77c1be: Verifying Checksum [2021-04-06T03:15:42.020Z] 5e14af77c1be: Download complete [2021-04-06T03:15:42.020Z] 93b61091891f: Verifying Checksum [2021-04-06T03:15:42.020Z] 93b61091891f: Download complete [2021-04-06T03:15:42.020Z] 01666e4c0597: Download complete [2021-04-06T03:15:42.396Z] df20fa9351a1: Pull complete [2021-04-06T03:15:43.269Z] 8ad3a11d3b57: Verifying Checksum [2021-04-06T03:15:43.269Z] 8ad3a11d3b57: Download complete [2021-04-06T03:15:43.269Z] 36b3adc4ff6f: Pull complete [2021-04-06T03:15:46.218Z] 8ad3a11d3b57: Pull complete [2021-04-06T03:15:46.218Z] 46f8f816bc3b: Pull complete [2021-04-06T03:15:47.377Z] 93b61091891f: Pull complete [2021-04-06T03:15:48.915Z] 93b9cdb0e59b: Pull complete [2021-04-06T03:15:49.291Z] 5e14af77c1be: Pull complete [2021-04-06T03:15:49.582Z] 01666e4c0597: Pull complete [2021-04-06T03:15:50.607Z] aa168da1d23b: Verifying Checksum [2021-04-06T03:15:50.607Z] aa168da1d23b: Download complete [2021-04-06T03:16:09.974Z] aa168da1d23b: Pull complete [2021-04-06T03:16:09.974Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-06T03:16:09.974Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T03:16:09.974Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-06T03:16:11.019Z] prd-centos7-docker-4c-2g-32873 does not seem to be running inside a container [2021-04-06T03:16:11.388Z] $ 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-856/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-856 -v /w/workspace/dgexfoundry_device-sdk-go_PR-856:/w/workspace/dgexfoundry_device-sdk-go_PR-856:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-06T03:16:16.271Z] $ docker top 6c5d5c1655ca41b8f4c53e369b0ba874d7d3822d1bc40c6f4f4f25f6a3362d44 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T03:16:19.370Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-06T03:16:21.117Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-06T03:16:22.157Z] + ls /var/log/sa-host [2021-04-06T03:16:22.158Z] + sadf -c /var/log/sa-host/sa06 [2021-04-06T03:16:22.158Z] file_magic: OK [2021-04-06T03:16:22.158Z] HZ: Using current value: 100 [2021-04-06T03:16:22.158Z] file_header: OK [2021-04-06T03:16:22.158Z] 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-06T03:16:22.158Z] Statistics: [2021-04-06T03:16:22.158Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-06T03:16:22.158Z] File successfully converted to sysstat format version 12.2.1 [2021-04-06T03:16:22.158Z] + sadf -c /var/log/sa-host/sa23 [2021-04-06T03:16:22.158Z] file_magic: OK [2021-04-06T03:16:22.158Z] HZ: Using current value: 100 [2021-04-06T03:16:22.158Z] file_header: OK [2021-04-06T03:16:22.158Z] 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-06T03:16:22.158Z] Statistics: [2021-04-06T03:16:22.158Z] Hnuu...uuuununununu... [2021-04-06T03:16:22.158Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-06T03:16:22.471Z] provisioning config files... [2021-04-06T03:16:22.498Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp/config2553814394630671956tmp [Pipeline] { [Pipeline] echo [2021-04-06T03:16:22.572Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T03:16:23.528Z] ---> create-netrc.sh [Pipeline] } [2021-04-06T03:16:23.889Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-06T03:16:23.993Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T03:16:25.296Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-06T03:16:25.361Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T03:16:26.647Z] ---> sudo-logs.sh [2021-04-06T03:16:26.647Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-06T03:16:26.794Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T03:16:27.980Z] ---> job-cost.sh [2021-04-06T03:16:27.980Z] lf-activate-venv: SKIPPING [2021-04-06T03:16:27.980Z] DEBUG: total: 0.20999999344348907 [2021-04-06T03:16:27.980Z] INFO: Retrieving Stack Cost... [2021-04-06T03:16:28.725Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-06T03:16:29.589Z] INFO: Archiving Costs [Pipeline] echo [2021-04-06T03:16:29.607Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T03:16:30.021Z] ---> logs-deploy.sh [2021-04-06T03:16:30.021Z] lf-activate-venv: SKIPPING [2021-04-06T03:16:30.021Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-856/5 [2021-04-06T03:16:30.021Z] INFO: archiving workspace using pattern(s): [2021-04-06T03:16:34.913Z] Archives upload complete. [2021-04-06T03:16:34.913Z] INFO: archiving logs to Nexus