Pull request #890 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from becd03bf60ab98acffaf2aec0b42ab743071a62d+92affc97e25621ac5a3617c0e5e42feb55191c77 (415f6a28e67bab6d03e320b40790a816b16c2f15) 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 ‘prd-centos7-docker-4c-2g-1968’ Running on prd-centos7-docker-4c-2g-1971 in /w/workspace/dgexfoundry_device-sdk-go_PR-890 [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-890 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit becd03bf60ab98acffaf2aec0b42ab743071a62d Merge succeeded, producing becd03bf60ab98acffaf2aec0b42ab743071a62d Checking out Revision becd03bf60ab98acffaf2aec0b42ab743071a62d (PR-890) > 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/890/head:refs/remotes/origin/PR-890 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f becd03bf60ab98acffaf2aec0b42ab743071a62d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f becd03bf60ab98acffaf2aec0b42ab743071a62d # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git rev-list --no-walk 3676bc4525961bc49336a0017dbee63d0b8dd3cb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-27T03:58:36.372Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-27T03:58:36.467Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-27T03:58:36.496Z] ========================================================= [2021-04-27T03:58:36.496Z] EdgeX Global Pipelines Version Info [2021-04-27T03:58:36.496Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-27T03:58:38.018Z] ------------------- [2021-04-27T03:58:38.018Z] stable info: [2021-04-27T03:58:38.018Z] ------------------- [2021-04-27T03:58:38.018Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-27T03:58:38.018Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-27T03:58:38.018Z] Message: update stable to v1.0.186 [2021-04-27T03:58:38.978Z] ------------------- [2021-04-27T03:58:38.978Z] experimental info: [2021-04-27T03:58:38.978Z] ------------------- [2021-04-27T03:58:38.978Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-27T03:58:38.978Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-27T03:58:38.978Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-27T03:58:39.129Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-27T03:58:39.153Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-27T03:58:39.176Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-27T03:58:39.201Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-27T03:58:39.224Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-27T03:58:39.266Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-27T03:58:39.293Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-27T03:58:39.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-27T03:58:39.345Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-27T03:58:39.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-27T03:58:39.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-27T03:58:39.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-27T03:58:39.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-27T03:58:39.493Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-27T03:58:39.531Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-27T03:58:39.555Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-27T03:58:39.578Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-27T03:58:39.627Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-27T03:58:39.651Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-27T03:58:39.681Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-27T03:58:39.718Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-27T03:58:39.743Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-27T03:58:39.766Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-27T03:58:39.790Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-27T03:58:39.813Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-27T03:58:39.837Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-27T03:58:39.861Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-890 [Pipeline] echo [2021-04-27T03:58:39.886Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-890 [Pipeline] echo [2021-04-27T03:58:39.916Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-890 [Pipeline] echo [2021-04-27T03:58:39.941Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = becd03bf60ab98acffaf2aec0b42ab743071a62d [Pipeline] echo [2021-04-27T03:58:39.965Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = becd03b [Pipeline] echo [2021-04-27T03:58:39.989Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-27T03:58:40.063Z] provisioning config files... [2021-04-27T03:58:40.093Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/config4872524397034684065tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-27T03:58:40.420Z] ---> docker-login.sh [2021-04-27T03:58:40.420Z] nexus3.edgexfoundry.org:10001 [2021-04-27T03:58:40.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T03:58:40.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T03:58:40.946Z] Configure a credential helper to remove this warning. See [2021-04-27T03:58:40.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T03:58:40.946Z] [2021-04-27T03:58:40.946Z] Login Succeeded [2021-04-27T03:58:40.946Z] nexus3.edgexfoundry.org:10002 [2021-04-27T03:58:40.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T03:58:41.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T03:58:41.214Z] Configure a credential helper to remove this warning. See [2021-04-27T03:58:41.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T03:58:41.214Z] [2021-04-27T03:58:41.214Z] Login Succeeded [2021-04-27T03:58:41.214Z] nexus3.edgexfoundry.org:10003 [2021-04-27T03:58:41.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T03:58:41.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T03:58:41.214Z] Configure a credential helper to remove this warning. See [2021-04-27T03:58:41.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T03:58:41.214Z] [2021-04-27T03:58:41.214Z] Login Succeeded [2021-04-27T03:58:41.214Z] nexus3.edgexfoundry.org:10004 [2021-04-27T03:58:41.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T03:58:41.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T03:58:41.477Z] Configure a credential helper to remove this warning. See [2021-04-27T03:58:41.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T03:58:41.477Z] [2021-04-27T03:58:41.477Z] Login Succeeded [2021-04-27T03:58:41.477Z] docker.io [2021-04-27T03:58:41.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T03:58:42.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T03:58:42.001Z] Configure a credential helper to remove this warning. See [2021-04-27T03:58:42.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T03:58:42.001Z] [2021-04-27T03:58:42.001Z] Login Succeeded [2021-04-27T03:58:42.001Z] ---> docker-login.sh ends [Pipeline] } [2021-04-27T03:58:42.011Z] 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-27T03:58:42.472Z] + git log --format=format:%s -1 becd03bf60ab98acffaf2aec0b42ab743071a62d [Pipeline] echo [2021-04-27T03:58:42.554Z] GIT_COMMIT: becd03bf60ab98acffaf2aec0b42ab743071a62d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-04-27T03:58:42.568Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-27T03:58:43.174Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-27T03:58:43.174Z] [2021-04-27T03:58:43.174Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-27T03:58:43.510Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-27T03:58:43.510Z] latest: Pulling from edgex-devops/git-semver [2021-04-27T03:58:43.510Z] 31603596830f: Pulling fs layer [2021-04-27T03:58:43.510Z] 2a8b12db71e7: Pulling fs layer [2021-04-27T03:58:43.510Z] 6ca5941a6612: Pulling fs layer [2021-04-27T03:58:43.510Z] ecc8261a40a4: Pulling fs layer [2021-04-27T03:58:43.510Z] ecc8261a40a4: Waiting [2021-04-27T03:58:43.510Z] 2a8b12db71e7: Verifying Checksum [2021-04-27T03:58:43.510Z] 2a8b12db71e7: Download complete [2021-04-27T03:58:43.774Z] 31603596830f: Verifying Checksum [2021-04-27T03:58:43.774Z] 31603596830f: Download complete [2021-04-27T03:58:43.774Z] 6ca5941a6612: Verifying Checksum [2021-04-27T03:58:43.774Z] 6ca5941a6612: Download complete [2021-04-27T03:58:43.774Z] ecc8261a40a4: Verifying Checksum [2021-04-27T03:58:43.774Z] ecc8261a40a4: Download complete [2021-04-27T03:58:44.042Z] 31603596830f: Pull complete [2021-04-27T03:58:44.319Z] 2a8b12db71e7: Pull complete [2021-04-27T03:58:45.296Z] 6ca5941a6612: Pull complete [2021-04-27T03:58:45.561Z] ecc8261a40a4: Pull complete [2021-04-27T03:58:45.561Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-27T03:58:45.824Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-27T03:58:45.824Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-27T03:58:45.951Z] prd-centos7-docker-4c-2g-1971 does not seem to be running inside a container [2021-04-27T03:58:46.016Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-890 -v /w/workspace/dgexfoundry_device-sdk-go_PR-890:/w/workspace/dgexfoundry_device-sdk-go_PR-890:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-890@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-27T03:58:48.215Z] $ docker top abb19c4b2419ac67394525f0a4cadd333de36963f4aa82b169a22d0c2752e7cc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-27T03:58:48.527Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-27T03:58:48.527Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-27T03:58:48.821Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-27T03:58:48.826Z] $ docker exec abb19c4b2419ac67394525f0a4cadd333de36963f4aa82b169a22d0c2752e7cc ssh-agent [2021-04-27T03:58:49.069Z] SSH_AUTH_SOCK=/tmp/ssh-4rGELsNKRKEQ/agent.11 [2021-04-27T03:58:49.069Z] SSH_AGENT_PID=16 [2021-04-27T03:58:49.086Z] Running ssh-add (command line suppressed) [2021-04-27T03:58:49.248Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/private_key_4567726166333894594.key (/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/private_key_4567726166333894594.key) [2021-04-27T03:58:49.324Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-27T03:58:49.631Z] + git tag --points-at HEAD [Pipeline] } [2021-04-27T03:58:49.655Z] $ docker exec --env ******** --env ******** abb19c4b2419ac67394525f0a4cadd333de36963f4aa82b169a22d0c2752e7cc ssh-agent -k [2021-04-27T03:58:49.816Z] unset SSH_AUTH_SOCK; [2021-04-27T03:58:49.816Z] unset SSH_AGENT_PID; [2021-04-27T03:58:49.816Z] echo Agent pid 16 killed; [2021-04-27T03:58:49.884Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-27T03:58:49.920Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-27T03:58:49.920Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-27T03:58:50.119Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-27T03:58:50.124Z] $ docker exec abb19c4b2419ac67394525f0a4cadd333de36963f4aa82b169a22d0c2752e7cc ssh-agent [2021-04-27T03:58:50.313Z] SSH_AUTH_SOCK=/tmp/ssh-6zfJZWvjRti0/agent.45 [2021-04-27T03:58:50.313Z] SSH_AGENT_PID=50 [2021-04-27T03:58:50.323Z] Running ssh-add (command line suppressed) [2021-04-27T03:58:50.505Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/private_key_330939787857165444.key (/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/private_key_330939787857165444.key) [2021-04-27T03:58:50.595Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-27T03:58:50.910Z] + git semver init [2021-04-27T03:58:50.910Z] # -> Open(): unable to determine branch for HEAD [2021-04-27T03:58:50.910Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-890/.git [2021-04-27T03:58:50.910Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-890 [2021-04-27T03:58:50.910Z] # $SEMVER_REMOTE_NAME = origin [2021-04-27T03:58:50.910Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-27T03:58:50.910Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-27T03:58:50.910Z] # $SEMVER_BRANCH = PR-890 [2021-04-27T03:58:50.910Z] # $SEMVER_TEMP = /tmp/semver-113087724 [2021-04-27T03:58:50.910Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-27T03:58:51.863Z] # '/tmp/semver-113087724' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-890/.semver' [2021-04-27T03:58:51.863Z] # -> Force: false [2021-04-27T03:58:51.863Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-890/.semver [Pipeline] } [2021-04-27T03:58:51.880Z] $ docker exec --env ******** --env ******** abb19c4b2419ac67394525f0a4cadd333de36963f4aa82b169a22d0c2752e7cc ssh-agent -k [2021-04-27T03:58:52.033Z] unset SSH_AUTH_SOCK; [2021-04-27T03:58:52.034Z] unset SSH_AGENT_PID; [2021-04-27T03:58:52.034Z] echo Agent pid 50 killed; [2021-04-27T03:58:52.087Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-27T03:58:52.428Z] + git semver [Pipeline] } [2021-04-27T03:58:52.448Z] $ docker stop --time=1 abb19c4b2419ac67394525f0a4cadd333de36963f4aa82b169a22d0c2752e7cc [2021-04-27T03:58:54.276Z] $ docker rm -f abb19c4b2419ac67394525f0a4cadd333de36963f4aa82b169a22d0c2752e7cc [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-27T03:58:54.701Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-27T03:58:55.137Z] Stashed 1 file(s) [Pipeline] echo [2021-04-27T03:58:55.141Z] [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-27T03:59:10.353Z] Still waiting to schedule task [2021-04-27T03:59:10.353Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-27T03:59:10.357Z] Still waiting to schedule task [2021-04-27T03:59:10.357Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1972’ is offline [2021-04-27T04:00:24.991Z] Running on prd-centos7-docker-4c-2g-1975 in /w/workspace/dgexfoundry_device-sdk-go_PR-890 [Pipeline] { [Pipeline] ws [2021-04-27T04:00:25.013Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-04-27T04:00:27.879Z] using credential edgex-jenkins-ssh [2021-04-27T04:00:27.894Z] Cloning the remote Git repository [2021-04-27T04:00:27.918Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-27T04:00:27.985Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-04-27T04:00:28.049Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-27T04:00:28.049Z] > git --version # timeout=10 [2021-04-27T04:00:28.056Z] > git --version # 'git version 2.24.3' [2021-04-27T04:00:28.057Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-27T04:00:28.085Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-27T04:00:29.573Z] Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit becd03bf60ab98acffaf2aec0b42ab743071a62d [2021-04-27T04:00:29.153Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-27T04:00:29.161Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-27T04:00:29.171Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-27T04:00:29.188Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-27T04:00:29.189Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-27T04:00:29.197Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/890/head:refs/remotes/origin/PR-890 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-27T04:00:29.583Z] > git config core.sparsecheckout # timeout=10 [2021-04-27T04:00:29.589Z] > git checkout -f becd03bf60ab98acffaf2aec0b42ab743071a62d # timeout=10 [2021-04-27T04:00:29.647Z] > git remote # timeout=10 [2021-04-27T04:00:29.655Z] > git config --get remote.origin.url # timeout=10 [2021-04-27T04:00:29.683Z] Merge succeeded, producing becd03bf60ab98acffaf2aec0b42ab743071a62d [2021-04-27T04:00:29.683Z] Checking out Revision becd03bf60ab98acffaf2aec0b42ab743071a62d (PR-890) [2021-04-27T04:00:29.661Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-27T04:00:29.666Z] > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 [2021-04-27T04:00:29.677Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-27T04:00:29.688Z] > git config core.sparsecheckout # timeout=10 [2021-04-27T04:00:29.692Z] > git checkout -f becd03bf60ab98acffaf2aec0b42ab743071a62d # timeout=10 [2021-04-27T04:00:33.361Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-27T04:00:34.333Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-27T04:00:34.660Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-27T04:00:34.956Z] + sudo service docker restart [2021-04-27T04:00:34.956Z] + true [2021-04-27T04:00:34.956Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-27T04:00:35.936Z] provisioning config files... [2021-04-27T04:00:35.969Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8830613170022593654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-27T04:00:36.295Z] ---> docker-login.sh [2021-04-27T04:00:36.296Z] nexus3.edgexfoundry.org:10001 [2021-04-27T04:00:36.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T04:00:36.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T04:00:36.560Z] Configure a credential helper to remove this warning. See [2021-04-27T04:00:36.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T04:00:36.560Z] [2021-04-27T04:00:36.560Z] Login Succeeded [2021-04-27T04:00:36.560Z] nexus3.edgexfoundry.org:10002 [2021-04-27T04:00:36.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T04:00:36.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T04:00:36.823Z] Configure a credential helper to remove this warning. See [2021-04-27T04:00:36.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T04:00:36.823Z] [2021-04-27T04:00:36.823Z] Login Succeeded [2021-04-27T04:00:36.823Z] nexus3.edgexfoundry.org:10003 [2021-04-27T04:00:37.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T04:00:37.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T04:00:37.086Z] Configure a credential helper to remove this warning. See [2021-04-27T04:00:37.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T04:00:37.086Z] [2021-04-27T04:00:37.086Z] Login Succeeded [2021-04-27T04:00:37.086Z] nexus3.edgexfoundry.org:10004 [2021-04-27T04:00:37.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T04:00:37.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T04:00:37.349Z] Configure a credential helper to remove this warning. See [2021-04-27T04:00:37.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T04:00:37.349Z] [2021-04-27T04:00:37.349Z] Login Succeeded [2021-04-27T04:00:37.349Z] docker.io [2021-04-27T04:00:37.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T04:00:37.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T04:00:37.615Z] Configure a credential helper to remove this warning. See [2021-04-27T04:00:37.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T04:00:37.616Z] [2021-04-27T04:00:37.616Z] Login Succeeded [2021-04-27T04:00:37.616Z] ---> docker-login.sh ends [Pipeline] } [2021-04-27T04:00:37.626Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-27T04:00:37.815Z] ========================================================= [2021-04-27T04:00:37.816Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-27T04:00:37.816Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-27T04:00:38.130Z] + 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-27T04:00:38.404Z] Sending build context to Docker daemon 2.468MB [2021-04-27T04:00:38.404Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-27T04:00:38.404Z] Step 2/8 : FROM ${BASE} [2021-04-27T04:00:38.404Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-27T04:00:38.404Z] 188c0c94c7c5: Pulling fs layer [2021-04-27T04:00:38.404Z] 0ef7d3d256c8: Pulling fs layer [2021-04-27T04:00:38.404Z] de9db76c5a1d: Pulling fs layer [2021-04-27T04:00:38.404Z] bca2f99d35d6: Pulling fs layer [2021-04-27T04:00:38.404Z] 93359f2a8cfa: Pulling fs layer [2021-04-27T04:00:38.404Z] 7c6f9722023f: Pulling fs layer [2021-04-27T04:00:38.404Z] a35cf1a2eb13: Pulling fs layer [2021-04-27T04:00:38.404Z] 93359f2a8cfa: Waiting [2021-04-27T04:00:38.404Z] 7c6f9722023f: Waiting [2021-04-27T04:00:38.404Z] a35cf1a2eb13: Waiting [2021-04-27T04:00:38.404Z] bca2f99d35d6: Waiting [2021-04-27T04:00:38.404Z] de9db76c5a1d: Verifying Checksum [2021-04-27T04:00:38.404Z] de9db76c5a1d: Download complete [2021-04-27T04:00:38.404Z] 0ef7d3d256c8: Verifying Checksum [2021-04-27T04:00:38.404Z] 0ef7d3d256c8: Download complete [2021-04-27T04:00:38.404Z] 93359f2a8cfa: Verifying Checksum [2021-04-27T04:00:38.404Z] 93359f2a8cfa: Download complete [2021-04-27T04:00:38.404Z] 188c0c94c7c5: Verifying Checksum [2021-04-27T04:00:38.404Z] 188c0c94c7c5: Download complete [2021-04-27T04:00:38.404Z] 7c6f9722023f: Verifying Checksum [2021-04-27T04:00:38.404Z] 7c6f9722023f: Download complete [2021-04-27T04:00:38.669Z] 188c0c94c7c5: Pull complete [2021-04-27T04:00:38.934Z] 0ef7d3d256c8: Pull complete [2021-04-27T04:00:39.202Z] de9db76c5a1d: Pull complete [2021-04-27T04:00:40.152Z] a35cf1a2eb13: Verifying Checksum [2021-04-27T04:00:40.152Z] a35cf1a2eb13: Download complete [2021-04-27T04:00:40.738Z] bca2f99d35d6: Verifying Checksum [2021-04-27T04:00:40.738Z] bca2f99d35d6: Download complete [2021-04-27T04:00:46.088Z] bca2f99d35d6: Pull complete [2021-04-27T04:00:46.088Z] 93359f2a8cfa: Pull complete [2021-04-27T04:00:46.088Z] 7c6f9722023f: Pull complete [2021-04-27T04:00:56.142Z] a35cf1a2eb13: Pull complete [2021-04-27T04:00:56.142Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-27T04:00:56.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-27T04:00:56.142Z] ---> a62c8e92a672 [2021-04-27T04:00:56.142Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-27T04:00:56.142Z] ---> Running in 5f181ee9ccad [2021-04-27T04:00:56.142Z] Removing intermediate container 5f181ee9ccad [2021-04-27T04:00:56.142Z] ---> 75150d665d76 [2021-04-27T04:00:56.142Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-27T04:00:56.142Z] ---> Running in b1c3a082d0d6 [2021-04-27T04:00:56.407Z] Removing intermediate container b1c3a082d0d6 [2021-04-27T04:00:56.407Z] ---> c49df77a71f4 [2021-04-27T04:00:56.407Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-27T04:00:56.407Z] ---> Running in 076ecdda8166 [2021-04-27T04:00:57.362Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-27T04:00:57.947Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-27T04:00:58.523Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-27T04:00:58.523Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-27T04:00:58.523Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-27T04:00:58.786Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-27T04:00:58.786Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-27T04:00:58.786Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-27T04:00:59.049Z] Executing busybox-1.31.1-r19.trigger [2021-04-27T04:00:59.049Z] OK: 167 MiB in 45 packages [2021-04-27T04:00:59.634Z] Removing intermediate container 076ecdda8166 [2021-04-27T04:00:59.634Z] ---> f28ef92619ec [2021-04-27T04:00:59.634Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-27T04:00:59.900Z] ---> Running in 3418b3755de4 [2021-04-27T04:00:59.900Z] Removing intermediate container 3418b3755de4 [2021-04-27T04:00:59.900Z] ---> edb9639f91a1 [2021-04-27T04:00:59.900Z] Step 7/8 : COPY . . [2021-04-27T04:01:00.850Z] ---> 19fb12b59242 [2021-04-27T04:01:00.850Z] Step 8/8 : RUN go mod download [2021-04-27T04:01:01.117Z] ---> Running in e83afbde3048 [2021-04-27T04:01:23.311Z] Removing intermediate container e83afbde3048 [2021-04-27T04:01:23.311Z] ---> 393c8e7ed5f5 [2021-04-27T04:01:23.311Z] Successfully built 393c8e7ed5f5 [2021-04-27T04:01:23.311Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-27T04:01:23.641Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-27T04:01:23.641Z] . [Pipeline] withDockerContainer [2021-04-27T04:01:23.793Z] prd-centos7-docker-4c-2g-1975 does not seem to be running inside a container [2021-04-27T04:01:23.851Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-27T04:01:24.771Z] $ docker top 4deb871a2f03f63ae49cd1e56a89b4400f8c3eb59796a42106ff9c4e48d346f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-27T04:01:25.219Z] + go version [2021-04-27T04:01:25.219Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-27T04:01:25.235Z] $ docker stop --time=1 4deb871a2f03f63ae49cd1e56a89b4400f8c3eb59796a42106ff9c4e48d346f5 [2021-04-27T04:01:26.618Z] $ docker rm -f 4deb871a2f03f63ae49cd1e56a89b4400f8c3eb59796a42106ff9c4e48d346f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-27T04:01:27.132Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-27T04:01:27.132Z] . [Pipeline] withDockerContainer [2021-04-27T04:01:27.238Z] prd-centos7-docker-4c-2g-1975 does not seem to be running inside a container [2021-04-27T04:01:27.290Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-27T04:01:27.929Z] $ docker top 5b9bd6aed8bdf0ece8c7f5cc6d2cb1cd622359276e4ccd5cc2ba416da57c8201 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-27T04:01:28.351Z] + make test [2021-04-27T04:01:28.351Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-27T04:01:33.724Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1977 in /w/workspace/dgexfoundry_device-sdk-go_PR-890 [Pipeline] { [Pipeline] ws [2021-04-27T04:01:33.744Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-04-27T04:01:36.560Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-27T04:01:40.128Z] using credential edgex-jenkins-ssh [2021-04-27T04:01:40.186Z] Cloning the remote Git repository [2021-04-27T04:01:40.290Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-27T04:01:40.406Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-04-27T04:01:40.488Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-27T04:01:40.489Z] > git --version # timeout=10 [2021-04-27T04:01:40.511Z] > git --version # 'git version 2.17.1' [2021-04-27T04:01:40.513Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-27T04:01:40.588Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-27T04:01:42.470Z] Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit becd03bf60ab98acffaf2aec0b42ab743071a62d [2021-04-27T04:01:42.679Z] Merge succeeded, producing becd03bf60ab98acffaf2aec0b42ab743071a62d [2021-04-27T04:01:42.680Z] Checking out Revision becd03bf60ab98acffaf2aec0b42ab743071a62d (PR-890) [2021-04-27T04:01:41.790Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-27T04:01:41.813Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-27T04:01:41.834Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-27T04:01:41.867Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-27T04:01:41.868Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-27T04:01:41.879Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/890/head:refs/remotes/origin/PR-890 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-27T04:01:42.486Z] > git config core.sparsecheckout # timeout=10 [2021-04-27T04:01:42.501Z] > git checkout -f becd03bf60ab98acffaf2aec0b42ab743071a62d # timeout=10 [2021-04-27T04:01:42.596Z] > git remote # timeout=10 [2021-04-27T04:01:42.614Z] > git config --get remote.origin.url # timeout=10 [2021-04-27T04:01:42.625Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-27T04:01:42.634Z] > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 [2021-04-27T04:01:42.666Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-27T04:01:42.688Z] > git config core.sparsecheckout # timeout=10 [2021-04-27T04:01:42.698Z] > git checkout -f becd03bf60ab98acffaf2aec0b42ab743071a62d # timeout=10 [2021-04-27T04:01:47.005Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-27T04:01:48.385Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-27T04:01:48.821Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-27T04:01:49.165Z] + sudo+ service docker restarttrue [2021-04-27T04:01:49.165Z] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-27T04:01:51.828Z] provisioning config files... [2021-04-27T04:01:51.870Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config6968457851848410606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-27T04:01:52.267Z] ---> docker-login.sh [2021-04-27T04:01:52.267Z] nexus3.edgexfoundry.org:10001 [2021-04-27T04:01:53.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T04:01:53.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T04:01:53.535Z] Configure a credential helper to remove this warning. See [2021-04-27T04:01:53.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T04:01:53.535Z] [2021-04-27T04:01:53.535Z] Login Succeeded [2021-04-27T04:01:53.535Z] nexus3.edgexfoundry.org:10002 [2021-04-27T04:01:54.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T04:01:54.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T04:01:54.135Z] Configure a credential helper to remove this warning. See [2021-04-27T04:01:54.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T04:01:54.135Z] [2021-04-27T04:01:54.135Z] Login Succeeded [2021-04-27T04:01:54.135Z] nexus3.edgexfoundry.org:10003 [2021-04-27T04:01:54.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T04:01:54.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T04:01:54.733Z] Configure a credential helper to remove this warning. See [2021-04-27T04:01:54.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T04:01:54.733Z] [2021-04-27T04:01:54.733Z] Login Succeeded [2021-04-27T04:01:54.733Z] nexus3.edgexfoundry.org:10004 [2021-04-27T04:01:55.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T04:01:55.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T04:01:55.332Z] Configure a credential helper to remove this warning. See [2021-04-27T04:01:55.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T04:01:55.332Z] [2021-04-27T04:01:55.332Z] Login Succeeded [2021-04-27T04:01:55.332Z] docker.io [2021-04-27T04:01:55.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T04:01:56.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T04:01:56.201Z] Configure a credential helper to remove this warning. See [2021-04-27T04:01:56.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T04:01:56.201Z] [2021-04-27T04:01:56.201Z] Login Succeeded [2021-04-27T04:01:56.201Z] ---> docker-login.sh ends [Pipeline] } [2021-04-27T04:01:56.219Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-27T04:01:56.569Z] ========================================================= [2021-04-27T04:01:56.569Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-27T04:01:56.569Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-27T04:01:56.926Z] + 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-27T04:01:57.528Z] Sending build context to Docker daemon 2.46MB [2021-04-27T04:01:57.528Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-27T04:01:57.528Z] Step 2/8 : FROM ${BASE} [2021-04-27T04:01:57.528Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-27T04:01:57.528Z] 5f621e34cdf4: Pulling fs layer [2021-04-27T04:01:57.528Z] a4357932f1b6: Pulling fs layer [2021-04-27T04:01:57.528Z] 18c013af1878: Pulling fs layer [2021-04-27T04:01:57.528Z] 00ac8860ef70: Pulling fs layer [2021-04-27T04:01:57.528Z] 63d7cb157983: Pulling fs layer [2021-04-27T04:01:57.528Z] b116817d02f9: Pulling fs layer [2021-04-27T04:01:57.528Z] 745a02a5169b: Pulling fs layer [2021-04-27T04:01:57.528Z] 63d7cb157983: Waiting [2021-04-27T04:01:57.528Z] b116817d02f9: Waiting [2021-04-27T04:01:57.528Z] 745a02a5169b: Waiting [2021-04-27T04:01:57.528Z] 00ac8860ef70: Waiting [2021-04-27T04:01:57.528Z] 18c013af1878: Download complete [2021-04-27T04:01:57.528Z] a4357932f1b6: Verifying Checksum [2021-04-27T04:01:57.528Z] a4357932f1b6: Download complete [2021-04-27T04:01:57.528Z] 63d7cb157983: Verifying Checksum [2021-04-27T04:01:57.528Z] 63d7cb157983: Download complete [2021-04-27T04:01:57.528Z] b116817d02f9: Download complete [2021-04-27T04:01:57.803Z] 5f621e34cdf4: Verifying Checksum [2021-04-27T04:01:57.803Z] 5f621e34cdf4: Download complete [2021-04-27T04:01:58.441Z] 5f621e34cdf4: Pull complete [2021-04-27T04:01:58.736Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-27T04:01:58.736Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-27T04:01:58.736Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-27T04:01:58.736Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-27T04:01:58.736Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-27T04:01:59.057Z] a4357932f1b6: Pull complete [2021-04-27T04:01:59.661Z] 18c013af1878: Pull complete [2021-04-27T04:01:59.705Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.070s coverage: 28.1% of statements [2021-04-27T04:01:59.705Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.107s coverage: 78.9% of statements [2021-04-27T04:01:59.933Z] 745a02a5169b: Verifying Checksum [2021-04-27T04:01:59.933Z] 745a02a5169b: Download complete [2021-04-27T04:02:00.676Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.083s coverage: 7.8% of statements [2021-04-27T04:02:00.676Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-27T04:02:00.676Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-27T04:02:00.676Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-27T04:02:00.676Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.084s coverage: 30.2% of statements [2021-04-27T04:02:00.676Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-27T04:02:00.676Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-27T04:02:00.676Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-27T04:02:01.257Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.125s coverage: 57.2% of statements [2021-04-27T04:02:01.911Z] 00ac8860ef70: Verifying Checksum [2021-04-27T04:02:01.911Z] 00ac8860ef70: Download complete [2021-04-27T04:02:02.209Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.236s coverage: 6.6% of statements [2021-04-27T04:02:02.209Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 5.0% of statements [2021-04-27T04:02:02.209Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-27T04:02:02.480Z] GO111MODULE=on go vet ./... [2021-04-27T04:02:12.087Z] 00ac8860ef70: Pull complete [2021-04-27T04:02:12.087Z] 63d7cb157983: Pull complete [2021-04-27T04:02:12.361Z] b116817d02f9: Pull complete [2021-04-27T04:02:15.757Z] 745a02a5169b: Pull complete [2021-04-27T04:02:15.757Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-27T04:02:15.757Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-27T04:02:15.757Z] ---> b7e6874047d6 [2021-04-27T04:02:15.757Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-27T04:02:19.194Z] ---> Running in a27255f4f20f [2021-04-27T04:02:19.470Z] Removing intermediate container a27255f4f20f [2021-04-27T04:02:19.470Z] ---> 3afee27516e9 [2021-04-27T04:02:19.470Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-27T04:02:19.746Z] ---> Running in c2ec2c0cde94 [2021-04-27T04:02:21.560Z] gofmt -l . [2021-04-27T04:02:21.561Z] [ "`gofmt -l .`" = "" ] [2021-04-27T04:02:21.561Z] ./bin/test-attribution-txt.sh [2021-04-27T04:02:21.561Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-27T04:02:21.581Z] $ docker stop --time=1 5b9bd6aed8bdf0ece8c7f5cc6d2cb1cd622359276e4ccd5cc2ba416da57c8201 [2021-04-27T04:02:22.388Z] Removing intermediate container c2ec2c0cde94 [2021-04-27T04:02:22.388Z] ---> 935c87bde95e [2021-04-27T04:02:22.388Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-27T04:02:22.388Z] ---> Running in 38b827457543 [2021-04-27T04:02:23.370Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-27T04:02:24.085Z] $ docker rm -f 5b9bd6aed8bdf0ece8c7f5cc6d2cb1cd622359276e4ccd5cc2ba416da57c8201 [2021-04-27T04:02:24.348Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-27T04:02:24.761Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-27T04:02:24.941Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-27T04:02:24.941Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-27T04:02:25.162Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-04-27T04:02:25.213Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-27T04:02:25.213Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-27T04:02:25.213Z] (5/6) Installing libzmq (4.3.3-r0) [Pipeline] stage [Pipeline] { (Build) [2021-04-27T04:02:25.487Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-27T04:02:25.487Z] Executing busybox-1.31.1-r19.trigger [2021-04-27T04:02:25.487Z] OK: 144 MiB in 45 packages [Pipeline] sh [2021-04-27T04:02:26.150Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-27T04:02:26.453Z] + ls -al . [2021-04-27T04:02:26.453Z] total 188 [2021-04-27T04:02:26.453Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 27 04:02 . [2021-04-27T04:02:26.453Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 27 04:00 .. [2021-04-27T04:02:26.453Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 27 04:00 bin [2021-04-27T04:02:26.453Z] -rw-r--r--. 1 jenkins jenkins 100320 Apr 27 04:02 coverage.out [2021-04-27T04:02:26.453Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 27 04:00 Dockerfile.build [2021-04-27T04:02:26.453Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 27 04:00 .dockerignore [2021-04-27T04:02:26.453Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 27 04:00 example [2021-04-27T04:02:26.453Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 27 04:00 .git [2021-04-27T04:02:26.453Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 27 04:00 .github [2021-04-27T04:02:26.453Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 27 04:00 .gitignore [2021-04-27T04:02:26.453Z] -rw-r--r--. 1 jenkins jenkins 575 Apr 27 04:02 go.mod [2021-04-27T04:02:26.453Z] -rw-r--r--. 1 jenkins jenkins 20895 Apr 27 04:02 go.sum [2021-04-27T04:02:26.453Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 27 04:00 internal [2021-04-27T04:02:26.453Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 27 04:00 Jenkinsfile [2021-04-27T04:02:26.453Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 27 04:00 LICENSE [2021-04-27T04:02:26.453Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 27 04:00 Makefile [2021-04-27T04:02:26.453Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 27 04:00 openapi [2021-04-27T04:02:26.453Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 27 04:00 pkg [2021-04-27T04:02:26.453Z] -rw-rw-r--. 1 jenkins jenkins 7652 Apr 27 04:00 README.md [2021-04-27T04:02:26.453Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 27 04:00 RELEASE-NOTES.txt [2021-04-27T04:02:26.453Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 27 04:00 snap [2021-04-27T04:02:26.453Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 27 03:58 VERSION [2021-04-27T04:02:26.453Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 27 04:00 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-27T04:02:26.764Z] + 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=becd03bf60ab98acffaf2aec0b42ab743071a62d --label arch=amd64 --label version=0.0.0 . [2021-04-27T04:02:26.920Z] Removing intermediate container 38b827457543 [2021-04-27T04:02:26.921Z] ---> e08b9185b79a [2021-04-27T04:02:26.921Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-27T04:02:27.031Z] Sending build context to Docker daemon 2.569MB [2021-04-27T04:02:27.031Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-27T04:02:27.031Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-27T04:02:27.031Z] ---> 393c8e7ed5f5 [2021-04-27T04:02:27.031Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-27T04:02:27.196Z] ---> Running in 9f1954528a39 [2021-04-27T04:02:27.610Z] ---> Running in 8d86836944f4 [2021-04-27T04:02:27.610Z] Removing intermediate container 8d86836944f4 [2021-04-27T04:02:27.610Z] ---> df2abad196d9 [2021-04-27T04:02:27.610Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-27T04:02:27.610Z] ---> Running in 89645209f0a2 [2021-04-27T04:02:27.792Z] Removing intermediate container 9f1954528a39 [2021-04-27T04:02:27.792Z] ---> 5f77a17c6dfa [2021-04-27T04:02:27.792Z] Step 7/8 : COPY . . [2021-04-27T04:02:27.885Z] Removing intermediate container 89645209f0a2 [2021-04-27T04:02:27.885Z] ---> 5a4a0ed36d16 [2021-04-27T04:02:27.885Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-27T04:02:27.885Z] ---> Running in f26540dbd156 [2021-04-27T04:02:29.240Z] ---> b59e01c929b6 [2021-04-27T04:02:29.240Z] Step 8/8 : RUN go mod download [2021-04-27T04:02:29.240Z] ---> Running in 48d61ed5fda1 [2021-04-27T04:02:29.289Z] Removing intermediate container f26540dbd156 [2021-04-27T04:02:29.289Z] ---> 9515b06ad5e8 [2021-04-27T04:02:29.289Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-27T04:02:29.289Z] ---> Running in ce2e6eaa87e9 [2021-04-27T04:02:29.871Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-27T04:02:30.445Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-27T04:02:30.709Z] OK: 167 MiB in 45 packages [2021-04-27T04:02:31.287Z] Removing intermediate container ce2e6eaa87e9 [2021-04-27T04:02:31.287Z] ---> a363d5b801b4 [2021-04-27T04:02:31.287Z] Step 7/23 : COPY . . [2021-04-27T04:02:32.235Z] ---> 61e520397d3b [2021-04-27T04:02:32.235Z] Step 8/23 : RUN go mod download [2021-04-27T04:02:32.235Z] ---> Running in 89bc224a9b04 [2021-04-27T04:02:33.641Z] Removing intermediate container 89bc224a9b04 [2021-04-27T04:02:33.641Z] ---> 599d38d0db93 [2021-04-27T04:02:33.641Z] Step 9/23 : RUN make build [2021-04-27T04:02:33.641Z] ---> Running in 899aa7eb5a2c [2021-04-27T04:02:33.916Z] 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-27T04:02:46.313Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-27T04:02:47.711Z] Removing intermediate container 899aa7eb5a2c [2021-04-27T04:02:47.711Z] ---> 2cda8231a9d7 [2021-04-27T04:02:47.711Z] Step 10/23 : FROM alpine:3.12 [2021-04-27T04:02:47.975Z] 3.12: Pulling from library/alpine [2021-04-27T04:02:47.975Z] 339de151aab4: Pulling fs layer [2021-04-27T04:02:48.238Z] 339de151aab4: Verifying Checksum [2021-04-27T04:02:48.238Z] 339de151aab4: Download complete [2021-04-27T04:02:48.502Z] 339de151aab4: Pull complete [2021-04-27T04:02:48.502Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-27T04:02:48.502Z] Status: Downloaded newer image for alpine:3.12 [2021-04-27T04:02:48.502Z] ---> 13621d1b12d4 [2021-04-27T04:02:48.502Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-27T04:02:48.502Z] ---> Running in 836879d8a767 [2021-04-27T04:02:48.765Z] Removing intermediate container 836879d8a767 [2021-04-27T04:02:48.765Z] ---> f42bf98091b4 [2021-04-27T04:02:48.765Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-27T04:02:48.765Z] ---> Running in d13d1d5c7d40 [2021-04-27T04:02:49.716Z] Removing intermediate container d13d1d5c7d40 [2021-04-27T04:02:49.716Z] ---> f8de4d1556de [2021-04-27T04:02:49.716Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-27T04:02:49.987Z] ---> Running in b7fdba05065e [2021-04-27T04:02:50.567Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-27T04:02:51.142Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-27T04:02:51.407Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-27T04:02:51.678Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-27T04:02:51.678Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-27T04:02:53.073Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-27T04:02:53.336Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-27T04:02:53.336Z] Executing busybox-1.31.1-r20.trigger [2021-04-27T04:02:53.336Z] OK: 8 MiB in 19 packages [2021-04-27T04:02:54.307Z] Removing intermediate container b7fdba05065e [2021-04-27T04:02:54.307Z] ---> 58348fd66c52 [2021-04-27T04:02:54.307Z] Step 14/23 : WORKDIR / [2021-04-27T04:02:54.307Z] ---> Running in 98b16dc082c6 [2021-04-27T04:02:54.307Z] Removing intermediate container 98b16dc082c6 [2021-04-27T04:02:54.307Z] ---> 21141c808abe [2021-04-27T04:02:54.307Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-27T04:02:54.571Z] ---> be5f1d68c5b8 [2021-04-27T04:02:54.571Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-27T04:02:55.524Z] ---> f10101050c60 [2021-04-27T04:02:55.524Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-27T04:02:55.524Z] ---> f581ac78051c [2021-04-27T04:02:55.524Z] Step 18/23 : EXPOSE 49990 [2021-04-27T04:02:55.524Z] ---> Running in 4c5d769988fb [2021-04-27T04:02:55.787Z] Removing intermediate container 4c5d769988fb [2021-04-27T04:02:55.787Z] ---> a6370fc4aec9 [2021-04-27T04:02:55.787Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-27T04:02:55.787Z] ---> Running in 52d18908dce0 [2021-04-27T04:02:56.035Z] Removing intermediate container 48d61ed5fda1 [2021-04-27T04:02:56.035Z] ---> a4ce05710736 [2021-04-27T04:02:56.035Z] Successfully built a4ce05710736 [2021-04-27T04:02:56.035Z] Successfully tagged ci-base-image-arm64:latest [2021-04-27T04:02:56.054Z] Removing intermediate container 52d18908dce0 [2021-04-27T04:02:56.054Z] ---> 2b2026833c44 [2021-04-27T04:02:56.054Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-27T04:02:56.054Z] ---> Running in f428dfe7471a [Pipeline] isUnix [Pipeline] sh [2021-04-27T04:02:56.319Z] Removing intermediate container f428dfe7471a [2021-04-27T04:02:56.319Z] ---> cbc5f4aeab36 [2021-04-27T04:02:56.319Z] Step 21/23 : LABEL arch=amd64 [2021-04-27T04:02:56.319Z] ---> Running in b2d5b74d47cc [2021-04-27T04:02:56.384Z] + docker inspect -f . ci-base-image-arm64 [2021-04-27T04:02:56.384Z] . [Pipeline] withDockerContainer [2021-04-27T04:02:56.581Z] Removing intermediate container b2d5b74d47cc [2021-04-27T04:02:56.581Z] ---> a10330d3064e [2021-04-27T04:02:56.581Z] Step 22/23 : LABEL git_sha=becd03bf60ab98acffaf2aec0b42ab743071a62d [2021-04-27T04:02:56.581Z] ---> Running in e49efcafe354 [2021-04-27T04:02:56.643Z] prd-ubuntu18.04-docker-arm64-4c-16g-1977 does not seem to be running inside a container [2021-04-27T04:02:56.738Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-27T04:02:56.844Z] Removing intermediate container e49efcafe354 [2021-04-27T04:02:56.844Z] ---> 0c95c519925d [2021-04-27T04:02:56.844Z] Step 23/23 : LABEL version=0.0.0 [2021-04-27T04:02:56.844Z] ---> Running in 2eb7e7216ec3 [2021-04-27T04:02:56.844Z] Removing intermediate container 2eb7e7216ec3 [2021-04-27T04:02:56.844Z] ---> 87faa3364961 [2021-04-27T04:02:56.844Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-27T04:02:56.844Z] Successfully built 87faa3364961 [2021-04-27T04:02:57.107Z] Successfully tagged docker-device-sdk-simple:latest [2021-04-27T04:02:58.248Z] $ docker top 232b9a763f06ebe79bd000f8c44adde887b92ab8d597611f2b52c984b1f73f27 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [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-27T04:02:59.195Z] ---> job-cost.sh [2021-04-27T04:02:59.195Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Z9Yo [2021-04-27T04:02:59.256Z] + go version [2021-04-27T04:02:59.256Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-27T04:02:59.278Z] $ docker stop --time=1 232b9a763f06ebe79bd000f8c44adde887b92ab8d597611f2b52c984b1f73f27 [2021-04-27T04:03:01.203Z] $ docker rm -f 232b9a763f06ebe79bd000f8c44adde887b92ab8d597611f2b52c984b1f73f27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-27T04:03:01.913Z] + docker inspect -f . ci-base-image-arm64 [2021-04-27T04:03:01.913Z] . [Pipeline] withDockerContainer [2021-04-27T04:03:02.195Z] prd-ubuntu18.04-docker-arm64-4c-16g-1977 does not seem to be running inside a container [2021-04-27T04:03:02.278Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-27T04:03:03.690Z] $ docker top 935b1d323a007b9425dab0edef5eff47cb853634717085880144a5c8dd7414c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-27T04:03:04.601Z] + make test [2021-04-27T04:03:04.601Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-27T04:03:14.162Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-27T04:03:26.795Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-27T04:03:40.851Z] lf-activate-venv(): INFO: Adding /tmp/venv-Z9Yo/bin to PATH [2021-04-27T04:03:40.851Z] INFO: No Stack... [2021-04-27T04:03:40.851Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-27T04:03:41.797Z] INFO: Archiving Costs [Pipeline] sh [2021-04-27T04:03:42.109Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-04-27T04:03:42.109Z] + cut -d, -f6 [Pipeline] lock [2021-04-27T04:03:42.222Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-890-4-stack-cost] [2021-04-27T04:03:42.236Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-890-4-stack-cost] did not exist. Created. [2021-04-27T04:03:42.236Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-890-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-27T04:03:42.572Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-27T04:03:42.719Z] Stashed 1 file(s) [Pipeline] } [2021-04-27T04:03:42.728Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-890-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-27T04:04:23.460Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-27T04:04:23.460Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-27T04:04:23.460Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-27T04:04:23.460Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-27T04:04:23.460Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-27T04:04:33.634Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.134s coverage: 28.1% of statements [2021-04-27T04:04:35.634Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.186s coverage: 78.9% of statements [2021-04-27T04:04:35.634Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.120s coverage: 7.8% of statements [2021-04-27T04:04:35.634Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-27T04:04:35.634Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-27T04:04:35.634Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-27T04:04:36.618Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.277s coverage: 30.2% of statements [2021-04-27T04:04:36.618Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-27T04:04:36.618Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-27T04:04:36.619Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-27T04:04:40.067Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.286s coverage: 57.2% of statements [2021-04-27T04:04:40.067Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.150s coverage: 6.6% of statements [2021-04-27T04:04:40.067Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 5.0% of statements [2021-04-27T04:04:40.067Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-27T04:04:40.664Z] GO111MODULE=on go vet ./... [2021-04-27T04:05:27.667Z] gofmt -l . [2021-04-27T04:05:27.667Z] [ "`gofmt -l .`" = "" ] [2021-04-27T04:05:27.667Z] ./bin/test-attribution-txt.sh [2021-04-27T04:05:27.667Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-27T04:05:27.689Z] $ docker stop --time=1 935b1d323a007b9425dab0edef5eff47cb853634717085880144a5c8dd7414c5 [2021-04-27T04:05:29.871Z] $ docker rm -f 935b1d323a007b9425dab0edef5eff47cb853634717085880144a5c8dd7414c5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-27T04:05:30.966Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-27T04:05:30.985Z] Warning: overwriting stash ‘coverage-report’ [2021-04-27T04:05:31.833Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-27T04:05:32.260Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-27T04:05:32.614Z] + ls -al . [2021-04-27T04:05:32.615Z] total 224 [2021-04-27T04:05:32.615Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 04:05 . [2021-04-27T04:05:32.615Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:01 .. [2021-04-27T04:05:32.615Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 04:01 .dockerignore [2021-04-27T04:05:32.615Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 04:01 .git [2021-04-27T04:05:32.615Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:01 .github [2021-04-27T04:05:32.615Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 27 04:01 .gitignore [2021-04-27T04:05:32.615Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 27 04:01 Dockerfile.build [2021-04-27T04:05:32.615Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 27 04:01 Jenkinsfile [2021-04-27T04:05:32.615Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 27 04:01 LICENSE [2021-04-27T04:05:32.615Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 27 04:01 Makefile [2021-04-27T04:05:32.615Z] -rw-rw-r-- 1 jenkins jenkins 7652 Apr 27 04:01 README.md [2021-04-27T04:05:32.615Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 27 04:01 RELEASE-NOTES.txt [2021-04-27T04:05:32.615Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 03:58 VERSION [2021-04-27T04:05:32.615Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:01 bin [2021-04-27T04:05:32.615Z] -rw-r--r-- 1 jenkins jenkins 100320 Apr 27 04:04 coverage.out [2021-04-27T04:05:32.615Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:01 example [2021-04-27T04:05:32.615Z] -rw-r--r-- 1 jenkins jenkins 575 Apr 27 04:05 go.mod [2021-04-27T04:05:32.615Z] -rw-r--r-- 1 jenkins jenkins 20895 Apr 27 04:05 go.sum [2021-04-27T04:05:32.615Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 27 04:01 internal [2021-04-27T04:05:32.615Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:01 openapi [2021-04-27T04:05:32.615Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:01 pkg [2021-04-27T04:05:32.615Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:01 snap [2021-04-27T04:05:32.615Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 27 04:01 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-27T04:05:32.959Z] + 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=becd03bf60ab98acffaf2aec0b42ab743071a62d --label arch=arm64 --label version=0.0.0 . [2021-04-27T04:05:33.561Z] Sending build context to Docker daemon 2.561MB [2021-04-27T04:05:33.561Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-27T04:05:33.561Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-27T04:05:33.561Z] ---> a4ce05710736 [2021-04-27T04:05:33.561Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-27T04:05:33.561Z] ---> Running in 0126773ddd55 [2021-04-27T04:05:34.155Z] Removing intermediate container 0126773ddd55 [2021-04-27T04:05:34.155Z] ---> bd388ee93faa [2021-04-27T04:05:34.155Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-27T04:05:34.426Z] ---> Running in 18c24a134c76 [2021-04-27T04:05:34.697Z] Removing intermediate container 18c24a134c76 [2021-04-27T04:05:34.697Z] ---> 2536f51e6de3 [2021-04-27T04:05:34.697Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-27T04:05:34.978Z] ---> Running in 489066d21d86 [2021-04-27T04:05:36.965Z] Removing intermediate container 489066d21d86 [2021-04-27T04:05:36.965Z] ---> 3ff38eea03e1 [2021-04-27T04:05:36.965Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-27T04:05:36.965Z] ---> Running in af71267f908a [2021-04-27T04:05:37.936Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-27T04:05:38.905Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-27T04:05:39.497Z] OK: 144 MiB in 45 packages [2021-04-27T04:05:40.487Z] Removing intermediate container af71267f908a [2021-04-27T04:05:40.487Z] ---> 0a4bb7eb666a [2021-04-27T04:05:40.487Z] Step 7/23 : COPY . . [2021-04-27T04:05:41.919Z] ---> 16fb3e1d3c42 [2021-04-27T04:05:41.919Z] Step 8/23 : RUN go mod download [2021-04-27T04:05:41.919Z] ---> Running in 9e9a3d671f70 [2021-04-27T04:05:44.533Z] Removing intermediate container 9e9a3d671f70 [2021-04-27T04:05:44.533Z] ---> def8eb21e947 [2021-04-27T04:05:44.533Z] Step 9/23 : RUN make build [2021-04-27T04:05:44.533Z] ---> Running in 604d08b1b860 [2021-04-27T04:05:45.139Z] 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-27T04:06:17.513Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-27T04:06:20.879Z] Removing intermediate container 604d08b1b860 [2021-04-27T04:06:20.879Z] ---> 41580d4dd041 [2021-04-27T04:06:20.879Z] Step 10/23 : FROM alpine:3.12 [2021-04-27T04:06:20.879Z] 3.12: Pulling from library/alpine [2021-04-27T04:06:20.879Z] d2f70382dc9a: Pulling fs layer [2021-04-27T04:06:21.150Z] d2f70382dc9a: Download complete [2021-04-27T04:06:21.424Z] d2f70382dc9a: Pull complete [2021-04-27T04:06:21.698Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-27T04:06:21.698Z] Status: Downloaded newer image for alpine:3.12 [2021-04-27T04:06:21.698Z] ---> 9852663dfa18 [2021-04-27T04:06:21.698Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-27T04:06:21.698Z] ---> Running in 6a5f111c66bc [2021-04-27T04:06:22.294Z] Removing intermediate container 6a5f111c66bc [2021-04-27T04:06:22.294Z] ---> bcb87b21e8ba [2021-04-27T04:06:22.294Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-27T04:06:22.294Z] ---> Running in 01a3a18d2654 [2021-04-27T04:06:24.911Z] Removing intermediate container 01a3a18d2654 [2021-04-27T04:06:24.911Z] ---> 7815edb45980 [2021-04-27T04:06:24.911Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-27T04:06:24.911Z] ---> Running in ea19e75488b6 [2021-04-27T04:06:25.502Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-27T04:06:26.469Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-27T04:06:27.058Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-27T04:06:27.058Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-27T04:06:27.058Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-27T04:06:27.328Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-27T04:06:27.328Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-27T04:06:27.600Z] Executing busybox-1.31.1-r20.trigger [2021-04-27T04:06:27.600Z] OK: 8 MiB in 19 packages [2021-04-27T04:06:29.031Z] Removing intermediate container ea19e75488b6 [2021-04-27T04:06:29.031Z] ---> 788f10ca72b1 [2021-04-27T04:06:29.031Z] Step 14/23 : WORKDIR / [2021-04-27T04:06:29.031Z] ---> Running in 274b76c7d930 [2021-04-27T04:06:29.302Z] Removing intermediate container 274b76c7d930 [2021-04-27T04:06:29.302Z] ---> c9e2e23a6a51 [2021-04-27T04:06:29.302Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-27T04:06:30.281Z] ---> 2f418bc411d3 [2021-04-27T04:06:30.281Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-27T04:06:31.711Z] ---> ea619623bc0f [2021-04-27T04:06:31.711Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-27T04:06:32.311Z] ---> 77c2b83f6b9a [2021-04-27T04:06:32.311Z] Step 18/23 : EXPOSE 49990 [2021-04-27T04:06:32.580Z] ---> Running in 61c178136bce [2021-04-27T04:06:32.850Z] Removing intermediate container 61c178136bce [2021-04-27T04:06:32.850Z] ---> 42c39c689914 [2021-04-27T04:06:32.850Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-27T04:06:33.123Z] ---> Running in 251ad7e12ed9 [2021-04-27T04:06:33.715Z] Removing intermediate container 251ad7e12ed9 [2021-04-27T04:06:33.715Z] ---> e67f486ac81d [2021-04-27T04:06:33.715Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-27T04:06:33.715Z] ---> Running in cf2792a63d24 [2021-04-27T04:06:34.309Z] Removing intermediate container cf2792a63d24 [2021-04-27T04:06:34.309Z] ---> 256be0f6069e [2021-04-27T04:06:34.309Z] Step 21/23 : LABEL arch=arm64 [2021-04-27T04:06:34.309Z] ---> Running in f01d81210b66 [2021-04-27T04:06:34.905Z] Removing intermediate container f01d81210b66 [2021-04-27T04:06:34.905Z] ---> 724df2c8af9f [2021-04-27T04:06:34.905Z] Step 22/23 : LABEL git_sha=becd03bf60ab98acffaf2aec0b42ab743071a62d [2021-04-27T04:06:34.905Z] ---> Running in 96837004466e [2021-04-27T04:06:35.502Z] Removing intermediate container 96837004466e [2021-04-27T04:06:35.502Z] ---> 4d4cb951590a [2021-04-27T04:06:35.502Z] Step 23/23 : LABEL version=0.0.0 [2021-04-27T04:06:35.502Z] ---> Running in 70075a5100c8 [2021-04-27T04:06:36.098Z] Removing intermediate container 70075a5100c8 [2021-04-27T04:06:36.099Z] ---> b26baa17ec3f [2021-04-27T04:06:36.099Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-27T04:06:36.099Z] Successfully built b26baa17ec3f [2021-04-27T04:06:36.099Z] 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-27T04:06:36.559Z] ---> job-cost.sh [2021-04-27T04:06:36.559Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-S7Y8 [2021-04-27T04:07:15.505Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-27T04:08:37.275Z] lf-activate-venv(): INFO: Adding /tmp/venv-S7Y8/bin to PATH [2021-04-27T04:08:37.275Z] INFO: No Stack... [2021-04-27T04:08:37.876Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-27T04:08:38.469Z] INFO: Archiving Costs [Pipeline] sh [2021-04-27T04:08:38.806Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-04-27T04:08:38.806Z] + cut -d, -f6 [Pipeline] lock [2021-04-27T04:08:38.932Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-890-4-stack-cost] [2021-04-27T04:08:38.947Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-890-4-stack-cost] did not exist. Created. [2021-04-27T04:08:38.947Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-890-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-27T04:08:39.326Z] /w/workspace/device-sdk-go/4@tmp/durable-66676c3f/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-66676c3f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-27T04:08:39.666Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-27T04:08:39.691Z] Warning: overwriting stash ‘stack-cost’ [2021-04-27T04:08:39.843Z] Stashed 1 file(s) [Pipeline] } [2021-04-27T04:08:39.858Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-890-4-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-27T04:08:40.283Z] provisioning config files... [2021-04-27T04:08:40.296Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/config5519933962699051993tmp [Pipeline] { [Pipeline] sh [2021-04-27T04:08:40.651Z] + set +x [2021-04-27T04:08:40.651Z] + bash -s -- [2021-04-27T04:08:40.651Z] + curl -s https://codecov.io/bash [2021-04-27T04:08:40.916Z] [2021-04-27T04:08:40.916Z] _____ _ [2021-04-27T04:08:40.916Z] / ____| | | [2021-04-27T04:08:40.916Z] | | ___ __| | ___ ___ _____ __ [2021-04-27T04:08:40.916Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-27T04:08:40.916Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-27T04:08:40.916Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-27T04:08:40.916Z] Bash-1.0.2 [2021-04-27T04:08:40.916Z] [2021-04-27T04:08:40.916Z] [2021-04-27T04:08:40.916Z] ==> git version 2.24.3 found [2021-04-27T04:08:40.916Z] ==> 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-27T04:08:40.916Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-27T04:08:40.916Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-27T04:08:40.916Z] ==> Jenkins CI detected. [2021-04-27T04:08:40.916Z] project root: . [2021-04-27T04:08:40.916Z] --> token set from env [2021-04-27T04:08:40.916Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-27T04:08:40.916Z] ==> Running gcov in . (disable via -X gcov) [2021-04-27T04:08:40.916Z] ==> Python coveragepy not found [2021-04-27T04:08:40.916Z] ==> Searching for coverage reports in: [2021-04-27T04:08:40.916Z] + . [2021-04-27T04:08:40.916Z] -> Found 1 reports [2021-04-27T04:08:40.916Z] ==> Detecting git/mercurial file structure [2021-04-27T04:08:40.916Z] ==> Reading reports [2021-04-27T04:08:40.916Z] + ./coverage.out bytes=100320 [2021-04-27T04:08:40.916Z] ==> Appending adjustments [2021-04-27T04:08:40.916Z] https://docs.codecov.io/docs/fixing-reports [2021-04-27T04:08:41.180Z] + Found adjustments [2021-04-27T04:08:41.180Z] ==> Gzipping contents [2021-04-27T04:08:41.180Z] 16K /tmp/codecov.q5cjPc.gz [2021-04-27T04:08:41.444Z] ==> Uploading reports [2021-04-27T04:08:41.444Z] url: https://codecov.io [2021-04-27T04:08:41.444Z] query: branch=PR-890&commit=becd03bf60ab98acffaf2aec0b42ab743071a62d&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-890%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=890&job=&cmd_args= [2021-04-27T04:08:41.444Z] -> Pinging Codecov [2021-04-27T04:08:41.444Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-890&commit=becd03bf60ab98acffaf2aec0b42ab743071a62d&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-890%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=890&job=&cmd_args= [2021-04-27T04:08:42.025Z] -> Uploading to [2021-04-27T04:08:42.025Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-27/7E55EF52A471D76F132DFD9A03CDDE97/becd03bf60ab98acffaf2aec0b42ab743071a62d/2b61ce10-4f7a-400a-9fb9-a270485d9649.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210427T040841Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f75c17fee3471d7fd96b56c8b3557d405b4d36da3cab27a1e2fa81d1f937e347 [2021-04-27T04:08:42.025Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-27T04:08:42.025Z] Dload Upload Total Spent Left Speed [2021-04-27T04:08:42.289Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13543 0 0 100 13543 0 35469 --:--:-- --:--:-- --:--:-- 35545 [2021-04-27T04:08:42.553Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/becd03bf60ab98acffaf2aec0b42ab743071a62d [Pipeline] } [2021-04-27T04:08:42.564Z] 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-27T04:08:43.510Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T04:08:43.849Z] ---> package-listing.sh [2021-04-27T04:08:43.850Z] ++ facter osfamily [2021-04-27T04:08:43.850Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-27T04:08:43.850Z] + OS_FAMILY=redhat [2021-04-27T04:08:43.850Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-890 [2021-04-27T04:08:43.850Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-27T04:08:43.850Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-27T04:08:43.850Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-27T04:08:43.850Z] + PACKAGES=/tmp/packages_start.txt [2021-04-27T04:08:43.850Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-890 ']' [2021-04-27T04:08:43.850Z] + PACKAGES=/tmp/packages_end.txt [2021-04-27T04:08:43.850Z] + case "${OS_FAMILY}" in [2021-04-27T04:08:43.850Z] + rpm -qa [2021-04-27T04:08:43.850Z] + sort [2021-04-27T04:08:49.206Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-27T04:08:49.206Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-27T04:08:49.206Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-27T04:08:49.206Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-890 ']' [2021-04-27T04:08:49.206Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-890/archives/ [2021-04-27T04:08:49.206Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-890/archives/ [Pipeline] echo [2021-04-27T04:08:49.221Z] 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-890/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-27T04:08:49.519Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-27T04:08:49.862Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-27T04:08:49.862Z] [2021-04-27T04:08:49.862Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-27T04:08:50.188Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-27T04:08:50.188Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-27T04:08:50.188Z] df20fa9351a1: Pulling fs layer [2021-04-27T04:08:50.188Z] 36b3adc4ff6f: Pulling fs layer [2021-04-27T04:08:50.188Z] 8ad3a11d3b57: Pulling fs layer [2021-04-27T04:08:50.188Z] 46f8f816bc3b: Pulling fs layer [2021-04-27T04:08:50.188Z] 93b61091891f: Pulling fs layer [2021-04-27T04:08:50.188Z] 93b9cdb0e59b: Pulling fs layer [2021-04-27T04:08:50.188Z] 5e14af77c1be: Pulling fs layer [2021-04-27T04:08:50.188Z] 01666e4c0597: Pulling fs layer [2021-04-27T04:08:50.188Z] aa168da1d23b: Pulling fs layer [2021-04-27T04:08:50.188Z] 93b9cdb0e59b: Waiting [2021-04-27T04:08:50.188Z] 5e14af77c1be: Waiting [2021-04-27T04:08:50.188Z] 01666e4c0597: Waiting [2021-04-27T04:08:50.188Z] aa168da1d23b: Waiting [2021-04-27T04:08:50.188Z] 93b61091891f: Waiting [2021-04-27T04:08:50.188Z] 46f8f816bc3b: Waiting [2021-04-27T04:08:50.188Z] 36b3adc4ff6f: Verifying Checksum [2021-04-27T04:08:50.188Z] 36b3adc4ff6f: Download complete [2021-04-27T04:08:50.188Z] 46f8f816bc3b: Verifying Checksum [2021-04-27T04:08:50.188Z] 46f8f816bc3b: Download complete [2021-04-27T04:08:50.454Z] df20fa9351a1: Verifying Checksum [2021-04-27T04:08:50.454Z] df20fa9351a1: Download complete [2021-04-27T04:08:50.454Z] 93b9cdb0e59b: Verifying Checksum [2021-04-27T04:08:50.454Z] 93b9cdb0e59b: Download complete [2021-04-27T04:08:50.454Z] 5e14af77c1be: Verifying Checksum [2021-04-27T04:08:50.454Z] 5e14af77c1be: Download complete [2021-04-27T04:08:50.454Z] 01666e4c0597: Verifying Checksum [2021-04-27T04:08:50.454Z] 01666e4c0597: Download complete [2021-04-27T04:08:50.454Z] 93b61091891f: Verifying Checksum [2021-04-27T04:08:50.454Z] 93b61091891f: Download complete [2021-04-27T04:08:50.454Z] 8ad3a11d3b57: Verifying Checksum [2021-04-27T04:08:50.454Z] 8ad3a11d3b57: Download complete [2021-04-27T04:08:50.717Z] df20fa9351a1: Pull complete [2021-04-27T04:08:51.003Z] 36b3adc4ff6f: Pull complete [2021-04-27T04:08:52.429Z] 8ad3a11d3b57: Pull complete [2021-04-27T04:08:52.429Z] aa168da1d23b: Verifying Checksum [2021-04-27T04:08:52.429Z] aa168da1d23b: Download complete [2021-04-27T04:08:52.429Z] 46f8f816bc3b: Pull complete [2021-04-27T04:08:52.693Z] 93b61091891f: Pull complete [2021-04-27T04:08:52.957Z] 93b9cdb0e59b: Pull complete [2021-04-27T04:08:52.957Z] 5e14af77c1be: Pull complete [2021-04-27T04:08:53.227Z] 01666e4c0597: Pull complete [2021-04-27T04:09:01.445Z] aa168da1d23b: Pull complete [2021-04-27T04:09:01.445Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-27T04:09:01.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-27T04:09:01.445Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-27T04:09:01.694Z] prd-centos7-docker-4c-2g-1971 does not seem to be running inside a container [2021-04-27T04:09:01.748Z] $ 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-890/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-890 -v /w/workspace/dgexfoundry_device-sdk-go_PR-890:/w/workspace/dgexfoundry_device-sdk-go_PR-890:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-890@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-27T04:09:04.988Z] $ docker top 775eb608dee6786483c307f65aeb3b4f97d6aeee0eb033d0523998222a3f082c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-27T04:09:05.434Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-27T04:09:05.737Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-27T04:09:06.068Z] + ls /var/log/sa-host [2021-04-27T04:09:06.068Z] + sadf -c /var/log/sa-host/sa23 [2021-04-27T04:09:06.068Z] file_magic: OK [2021-04-27T04:09:06.068Z] HZ: Using current value: 100 [2021-04-27T04:09:06.068Z] file_header: OK [2021-04-27T04:09:06.068Z] 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-27T04:09:06.068Z] Statistics: [2021-04-27T04:09:06.068Z] Hnuu...uuuununununu... [2021-04-27T04:09:06.068Z] File successfully converted to sysstat format version 12.2.1 [2021-04-27T04:09:06.068Z] + sadf -c /var/log/sa-host/sa27 [2021-04-27T04:09:06.068Z] file_magic: OK [2021-04-27T04:09:06.068Z] HZ: Using current value: 100 [2021-04-27T04:09:06.068Z] file_header: OK [2021-04-27T04:09:06.068Z] 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-27T04:09:06.068Z] Statistics: [2021-04-27T04:09:06.068Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-27T04:09:06.068Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-27T04:09:06.259Z] provisioning config files... [2021-04-27T04:09:06.279Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/config1369374068943850198tmp [Pipeline] { [Pipeline] echo [2021-04-27T04:09:06.304Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T04:09:06.608Z] ---> create-netrc.sh [Pipeline] } [2021-04-27T04:09:06.619Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-27T04:09:06.647Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T04:09:06.950Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-27T04:09:06.963Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T04:09:07.262Z] ---> sudo-logs.sh [2021-04-27T04:09:07.262Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-27T04:09:07.290Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T04:09:07.608Z] ---> job-cost.sh [2021-04-27T04:09:07.608Z] lf-activate-venv: SKIPPING [2021-04-27T04:09:07.608Z] DEBUG: total: 0.20999999344348907 [2021-04-27T04:09:07.608Z] INFO: Retrieving Stack Cost... [2021-04-27T04:09:09.001Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-27T04:09:09.264Z] INFO: Archiving Costs [Pipeline] echo [2021-04-27T04:09:09.279Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T04:09:09.578Z] ---> logs-deploy.sh [2021-04-27T04:09:09.578Z] lf-activate-venv: SKIPPING [2021-04-27T04:09:09.578Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-890/4 [2021-04-27T04:09:09.578Z] INFO: archiving workspace using pattern(s): [2021-04-27T04:09:11.507Z] Archives upload complete. [2021-04-27T04:09:11.507Z] INFO: archiving logs to Nexus