Pull request #890 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3676bc4525961bc49336a0017dbee63d0b8dd3cb+188b4cc14b9321dd8b2b5872b94485f2cb4f6961 (da74afbc9f10d5f52d1edf54b54ef5f3739c495f) 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 Running on prd-centos7-docker-4c-2g-1803 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 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit 3676bc4525961bc49336a0017dbee63d0b8dd3cb Merge succeeded, producing 3676bc4525961bc49336a0017dbee63d0b8dd3cb Checking out Revision 3676bc4525961bc49336a0017dbee63d0b8dd3cb (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 3676bc4525961bc49336a0017dbee63d0b8dd3cb # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3676bc4525961bc49336a0017dbee63d0b8dd3cb # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk 302da4d761c049a5c7b17f5d60bd2559549f30af # timeout=10 [Pipeline] timeout [2021-04-26T10:02:24.742Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-26T10:02:24.897Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-26T10:02:24.932Z] ========================================================= [2021-04-26T10:02:24.932Z] EdgeX Global Pipelines Version Info [2021-04-26T10:02:24.932Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:02:26.911Z] ------------------- [2021-04-26T10:02:26.911Z] stable info: [2021-04-26T10:02:26.911Z] ------------------- [2021-04-26T10:02:26.911Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-26T10:02:26.911Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-26T10:02:26.911Z] Message: update stable to v1.0.186 [2021-04-26T10:02:27.487Z] ------------------- [2021-04-26T10:02:27.487Z] experimental info: [2021-04-26T10:02:27.487Z] ------------------- [2021-04-26T10:02:27.487Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-26T10:02:27.487Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-26T10:02:27.487Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-26T10:02:27.619Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-26T10:02:27.642Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-26T10:02:27.664Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-26T10:02:27.692Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-26T10:02:27.713Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-26T10:02:27.745Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-26T10:02:27.782Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-26T10:02:27.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-26T10:02:27.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-26T10:02:27.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-26T10:02:27.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-26T10:02:27.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-26T10:02:27.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-26T10:02:28.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-26T10:02:28.086Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-26T10:02:28.109Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T10:02:28.131Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T10:02:28.156Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T10:02:28.181Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-26T10:02:28.205Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-26T10:02:28.229Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-26T10:02:28.253Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-26T10:02:28.277Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-26T10:02:28.301Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-26T10:02:28.325Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-26T10:02:28.349Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-26T10:02:28.373Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-890 [Pipeline] echo [2021-04-26T10:02:28.397Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-890 [Pipeline] echo [2021-04-26T10:02:28.425Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-890 [Pipeline] echo [2021-04-26T10:02:28.450Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3676bc4525961bc49336a0017dbee63d0b8dd3cb [Pipeline] echo [2021-04-26T10:02:28.478Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3676bc4 [Pipeline] echo [2021-04-26T10:02:28.502Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-26T10:02:28.600Z] provisioning config files... [2021-04-26T10:02:28.633Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/config5257188372995186303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:02:28.963Z] ---> docker-login.sh [2021-04-26T10:02:28.963Z] nexus3.edgexfoundry.org:10001 [2021-04-26T10:02:29.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:02:29.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:02:29.489Z] Configure a credential helper to remove this warning. See [2021-04-26T10:02:29.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:02:29.489Z] [2021-04-26T10:02:29.489Z] Login Succeeded [2021-04-26T10:02:29.489Z] nexus3.edgexfoundry.org:10002 [2021-04-26T10:02:29.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:02:29.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:02:29.753Z] Configure a credential helper to remove this warning. See [2021-04-26T10:02:29.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:02:29.753Z] [2021-04-26T10:02:29.753Z] Login Succeeded [2021-04-26T10:02:29.753Z] nexus3.edgexfoundry.org:10003 [2021-04-26T10:02:29.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:02:30.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:02:30.018Z] Configure a credential helper to remove this warning. See [2021-04-26T10:02:30.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:02:30.018Z] [2021-04-26T10:02:30.018Z] Login Succeeded [2021-04-26T10:02:30.018Z] nexus3.edgexfoundry.org:10004 [2021-04-26T10:02:30.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:02:30.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:02:30.018Z] Configure a credential helper to remove this warning. See [2021-04-26T10:02:30.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:02:30.018Z] [2021-04-26T10:02:30.018Z] Login Succeeded [2021-04-26T10:02:30.018Z] docker.io [2021-04-26T10:02:30.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:02:30.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:02:30.545Z] Configure a credential helper to remove this warning. See [2021-04-26T10:02:30.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:02:30.545Z] [2021-04-26T10:02:30.545Z] Login Succeeded [2021-04-26T10:02:30.545Z] ---> docker-login.sh ends [Pipeline] } [2021-04-26T10:02:30.556Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-26T10:02:31.028Z] + git log --format=format:%s -1 3676bc4525961bc49336a0017dbee63d0b8dd3cb [Pipeline] echo [2021-04-26T10:02:31.108Z] GIT_COMMIT: 3676bc4525961bc49336a0017dbee63d0b8dd3cb, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-04-26T10:02:31.121Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:02:32.078Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T10:02:32.078Z] [2021-04-26T10:02:32.078Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:02:32.401Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T10:02:32.401Z] latest: Pulling from edgex-devops/git-semver [2021-04-26T10:02:32.401Z] 31603596830f: Pulling fs layer [2021-04-26T10:02:32.401Z] 2a8b12db71e7: Pulling fs layer [2021-04-26T10:02:32.401Z] 6ca5941a6612: Pulling fs layer [2021-04-26T10:02:32.401Z] ecc8261a40a4: Pulling fs layer [2021-04-26T10:02:32.401Z] ecc8261a40a4: Waiting [2021-04-26T10:02:32.401Z] 2a8b12db71e7: Verifying Checksum [2021-04-26T10:02:32.401Z] 2a8b12db71e7: Download complete [2021-04-26T10:02:32.666Z] 31603596830f: Verifying Checksum [2021-04-26T10:02:32.666Z] 31603596830f: Download complete [2021-04-26T10:02:32.666Z] 6ca5941a6612: Verifying Checksum [2021-04-26T10:02:32.666Z] 6ca5941a6612: Download complete [2021-04-26T10:02:32.666Z] ecc8261a40a4: Verifying Checksum [2021-04-26T10:02:32.666Z] ecc8261a40a4: Download complete [2021-04-26T10:02:33.244Z] 31603596830f: Pull complete [2021-04-26T10:02:33.244Z] 2a8b12db71e7: Pull complete [2021-04-26T10:02:34.196Z] 6ca5941a6612: Pull complete [2021-04-26T10:02:34.460Z] ecc8261a40a4: Pull complete [2021-04-26T10:02:34.460Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-26T10:02:34.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T10:02:34.460Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-26T10:02:34.576Z] prd-centos7-docker-4c-2g-1803 does not seem to be running inside a container [2021-04-26T10:02:34.632Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-26T10:02:36.758Z] $ docker top 282aabb8916c1f81184c68f1c3446e27b231f0d3871310302d3a63ea4c0a4c09 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-26T10:02:36.930Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-26T10:02:36.930Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-26T10:02:37.157Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-26T10:02:37.161Z] $ docker exec 282aabb8916c1f81184c68f1c3446e27b231f0d3871310302d3a63ea4c0a4c09 ssh-agent [2021-04-26T10:02:37.337Z] SSH_AUTH_SOCK=/tmp/ssh-bGWxwlganxAK/agent.12 [2021-04-26T10:02:37.337Z] SSH_AGENT_PID=18 [2021-04-26T10:02:37.347Z] Running ssh-add (command line suppressed) [2021-04-26T10:02:37.471Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/private_key_1431222078659027798.key (/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/private_key_1431222078659027798.key) [2021-04-26T10:02:37.526Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-26T10:02:37.835Z] + git tag --points-at HEAD [Pipeline] } [2021-04-26T10:02:37.854Z] $ docker exec --env ******** --env ******** 282aabb8916c1f81184c68f1c3446e27b231f0d3871310302d3a63ea4c0a4c09 ssh-agent -k [2021-04-26T10:02:37.978Z] unset SSH_AUTH_SOCK; [2021-04-26T10:02:37.978Z] unset SSH_AGENT_PID; [2021-04-26T10:02:37.979Z] echo Agent pid 18 killed; [2021-04-26T10:02:38.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-26T10:02:38.079Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-26T10:02:38.079Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-26T10:02:38.259Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-26T10:02:38.262Z] $ docker exec 282aabb8916c1f81184c68f1c3446e27b231f0d3871310302d3a63ea4c0a4c09 ssh-agent [2021-04-26T10:02:38.431Z] SSH_AUTH_SOCK=/tmp/ssh-TVhUv3vH9F8i/agent.46 [2021-04-26T10:02:38.431Z] SSH_AGENT_PID=51 [2021-04-26T10:02:38.438Z] Running ssh-add (command line suppressed) [2021-04-26T10:02:38.564Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/private_key_9086382893348822792.key (/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/private_key_9086382893348822792.key) [2021-04-26T10:02:38.624Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-26T10:02:38.929Z] + git semver init [2021-04-26T10:02:38.929Z] # -> Open(): unable to determine branch for HEAD [2021-04-26T10:02:38.929Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-890/.git [2021-04-26T10:02:38.929Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-890 [2021-04-26T10:02:38.929Z] # $SEMVER_REMOTE_NAME = origin [2021-04-26T10:02:38.929Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-26T10:02:38.929Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-26T10:02:38.929Z] # $SEMVER_BRANCH = PR-890 [2021-04-26T10:02:38.929Z] # $SEMVER_TEMP = /tmp/semver-040328810 [2021-04-26T10:02:38.929Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-26T10:02:39.877Z] # '/tmp/semver-040328810' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-890/.semver' [2021-04-26T10:02:39.877Z] # -> Force: false [2021-04-26T10:02:39.877Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-890/.semver [Pipeline] } [2021-04-26T10:02:39.890Z] $ docker exec --env ******** --env ******** 282aabb8916c1f81184c68f1c3446e27b231f0d3871310302d3a63ea4c0a4c09 ssh-agent -k [2021-04-26T10:02:40.014Z] unset SSH_AUTH_SOCK; [2021-04-26T10:02:40.014Z] unset SSH_AGENT_PID; [2021-04-26T10:02:40.015Z] echo Agent pid 51 killed; [2021-04-26T10:02:40.064Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-26T10:02:40.404Z] + git semver [Pipeline] } [2021-04-26T10:02:40.422Z] $ docker stop --time=1 282aabb8916c1f81184c68f1c3446e27b231f0d3871310302d3a63ea4c0a4c09 [2021-04-26T10:02:41.940Z] $ docker rm -f 282aabb8916c1f81184c68f1c3446e27b231f0d3871310302d3a63ea4c0a4c09 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T10:02:42.412Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-26T10:02:42.745Z] Stashed 1 file(s) [Pipeline] echo [2021-04-26T10:02:42.749Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-04-26T10:02:57.933Z] Still waiting to schedule task [2021-04-26T10:02:57.934Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1803’ [2021-04-26T10:02:57.936Z] Still waiting to schedule task [2021-04-26T10:02:57.936Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-26T10:04:50.342Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1805 in /w/workspace/dgexfoundry_device-sdk-go_PR-890 [Pipeline] { [Pipeline] ws [2021-04-26T10:04:50.362Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-04-26T10:04:56.236Z] using credential edgex-jenkins-ssh [2021-04-26T10:04:56.275Z] Cloning the remote Git repository [2021-04-26T10:04:56.350Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T10:04:56.487Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-04-26T10:04:56.599Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T10:04:56.602Z] > git --version # timeout=10 [2021-04-26T10:04:56.633Z] > git --version # 'git version 2.17.1' [2021-04-26T10:04:56.635Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T10:04:56.720Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T10:04:57.854Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-26T10:04:57.870Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T10:04:57.894Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-26T10:04:57.922Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T10:04:57.923Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T10:04:57.940Z] > 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-26T10:04:58.424Z] Merging remotes/origin/master commit 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit 3676bc4525961bc49336a0017dbee63d0b8dd3cb [2021-04-26T10:04:58.632Z] Merge succeeded, producing 3676bc4525961bc49336a0017dbee63d0b8dd3cb [2021-04-26T10:04:58.633Z] Checking out Revision 3676bc4525961bc49336a0017dbee63d0b8dd3cb (PR-890) [2021-04-26T10:04:58.437Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T10:04:58.453Z] > git checkout -f 3676bc4525961bc49336a0017dbee63d0b8dd3cb # timeout=10 [2021-04-26T10:04:58.548Z] > git remote # timeout=10 [2021-04-26T10:04:58.568Z] > git config --get remote.origin.url # timeout=10 [2021-04-26T10:04:58.581Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T10:04:58.591Z] > git merge 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 [2021-04-26T10:04:58.613Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-26T10:04:58.638Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T10:04:58.652Z] > git checkout -f 3676bc4525961bc49336a0017dbee63d0b8dd3cb # timeout=10 [2021-04-26T10:05:02.865Z] 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-26T10:05:04.417Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-26T10:05:04.834Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-26T10:05:05.172Z] + true [2021-04-26T10:05:05.172Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-26T10:05:07.198Z] provisioning config files... [2021-04-26T10:05:07.237Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8132313143515528659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:05:07.605Z] ---> docker-login.sh [2021-04-26T10:05:07.605Z] nexus3.edgexfoundry.org:10001 [2021-04-26T10:05:08.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:05:08.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:05:08.872Z] Configure a credential helper to remove this warning. See [2021-04-26T10:05:08.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:05:08.872Z] [2021-04-26T10:05:08.872Z] Login Succeeded [2021-04-26T10:05:08.872Z] nexus3.edgexfoundry.org:10002 [2021-04-26T10:05:09.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:05:09.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:05:09.946Z] Configure a credential helper to remove this warning. See [2021-04-26T10:05:09.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:05:09.946Z] [2021-04-26T10:05:09.946Z] Login Succeeded [2021-04-26T10:05:09.946Z] nexus3.edgexfoundry.org:10003 [2021-04-26T10:05:09.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:05:09.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:05:09.946Z] Configure a credential helper to remove this warning. See [2021-04-26T10:05:09.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:05:09.946Z] [2021-04-26T10:05:09.946Z] Login Succeeded [2021-04-26T10:05:09.946Z] nexus3.edgexfoundry.org:10004 [2021-04-26T10:05:10.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:05:10.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:05:10.499Z] Configure a credential helper to remove this warning. See [2021-04-26T10:05:10.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:05:10.499Z] [2021-04-26T10:05:10.499Z] Login Succeeded [2021-04-26T10:05:10.499Z] docker.io [2021-04-26T10:05:10.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:05:11.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:05:11.052Z] Configure a credential helper to remove this warning. See [2021-04-26T10:05:11.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:05:11.052Z] [2021-04-26T10:05:11.052Z] Login Succeeded [2021-04-26T10:05:11.052Z] ---> docker-login.sh ends [Pipeline] } [2021-04-26T10:05:11.069Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-26T10:05:11.402Z] ========================================================= [2021-04-26T10:05:11.403Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-26T10:05:11.403Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:05:11.744Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-26T10:05:12.026Z] Sending build context to Docker daemon 2.459MB [2021-04-26T10:05:12.026Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T10:05:12.026Z] Step 2/8 : FROM ${BASE} [2021-04-26T10:05:12.308Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-26T10:05:12.308Z] 5f621e34cdf4: Pulling fs layer [2021-04-26T10:05:12.308Z] a4357932f1b6: Pulling fs layer [2021-04-26T10:05:12.308Z] 18c013af1878: Pulling fs layer [2021-04-26T10:05:12.308Z] 00ac8860ef70: Pulling fs layer [2021-04-26T10:05:12.308Z] 63d7cb157983: Pulling fs layer [2021-04-26T10:05:12.308Z] b116817d02f9: Pulling fs layer [2021-04-26T10:05:12.308Z] 745a02a5169b: Pulling fs layer [2021-04-26T10:05:12.308Z] 00ac8860ef70: Waiting [2021-04-26T10:05:12.308Z] 63d7cb157983: Waiting [2021-04-26T10:05:12.308Z] b116817d02f9: Waiting [2021-04-26T10:05:12.308Z] 745a02a5169b: Waiting [2021-04-26T10:05:12.308Z] 18c013af1878: Verifying Checksum [2021-04-26T10:05:12.308Z] 18c013af1878: Download complete [2021-04-26T10:05:12.308Z] a4357932f1b6: Verifying Checksum [2021-04-26T10:05:12.308Z] a4357932f1b6: Download complete [2021-04-26T10:05:12.308Z] 63d7cb157983: Verifying Checksum [2021-04-26T10:05:12.308Z] 63d7cb157983: Download complete [2021-04-26T10:05:12.308Z] b116817d02f9: Verifying Checksum [2021-04-26T10:05:12.308Z] b116817d02f9: Download complete [2021-04-26T10:05:12.308Z] 5f621e34cdf4: Verifying Checksum [2021-04-26T10:05:12.308Z] 5f621e34cdf4: Download complete [2021-04-26T10:05:12.928Z] 5f621e34cdf4: Pull complete [2021-04-26T10:05:13.532Z] a4357932f1b6: Pull complete [2021-04-26T10:05:13.808Z] 18c013af1878: Pull complete [2021-04-26T10:05:14.410Z] 745a02a5169b: Verifying Checksum [2021-04-26T10:05:14.410Z] 745a02a5169b: Download complete [2021-04-26T10:05:15.842Z] 00ac8860ef70: Download complete [2021-04-26T10:05:25.115Z] Running on prd-centos7-docker-4c-2g-1808 in /w/workspace/dgexfoundry_device-sdk-go_PR-890 [Pipeline] { [Pipeline] ws [2021-04-26T10:05:25.134Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-04-26T10:05:26.014Z] 00ac8860ef70: Pull complete [2021-04-26T10:05:26.014Z] 63d7cb157983: Pull complete [2021-04-26T10:05:26.289Z] b116817d02f9: Pull complete [2021-04-26T10:05:28.862Z] using credential edgex-jenkins-ssh [2021-04-26T10:05:28.877Z] Cloning the remote Git repository [2021-04-26T10:05:28.820Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T10:05:28.905Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-04-26T10:05:28.984Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T10:05:28.985Z] > git --version # timeout=10 [2021-04-26T10:05:28.993Z] > git --version # 'git version 2.24.3' [2021-04-26T10:05:28.993Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T10:05:29.038Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T10:05:30.432Z] Merging remotes/origin/master commit 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit 3676bc4525961bc49336a0017dbee63d0b8dd3cb [2021-04-26T10:05:30.541Z] Merge succeeded, producing 3676bc4525961bc49336a0017dbee63d0b8dd3cb [2021-04-26T10:05:30.542Z] Checking out Revision 3676bc4525961bc49336a0017dbee63d0b8dd3cb (PR-890) [2021-04-26T10:05:30.638Z] 745a02a5169b: Pull complete [2021-04-26T10:05:30.638Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-26T10:05:30.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-26T10:05:30.638Z] ---> b7e6874047d6 [2021-04-26T10:05:30.638Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T10:05:29.895Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-26T10:05:29.906Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T10:05:29.918Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-26T10:05:29.938Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T10:05:29.939Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T10:05:29.945Z] > 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-26T10:05:30.451Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T10:05:30.459Z] > git checkout -f 3676bc4525961bc49336a0017dbee63d0b8dd3cb # timeout=10 [2021-04-26T10:05:30.508Z] > git remote # timeout=10 [2021-04-26T10:05:30.514Z] > git config --get remote.origin.url # timeout=10 [2021-04-26T10:05:30.520Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T10:05:30.524Z] > git merge 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 [2021-04-26T10:05:30.535Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-26T10:05:30.547Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T10:05:30.552Z] > git checkout -f 3676bc4525961bc49336a0017dbee63d0b8dd3cb # timeout=10 [2021-04-26T10:05:33.259Z] ---> Running in 610bb6dd5cfa [2021-04-26T10:05:33.259Z] Removing intermediate container 610bb6dd5cfa [2021-04-26T10:05:33.259Z] ---> dfe8635e8e16 [2021-04-26T10:05:33.259Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T10:05:33.535Z] ---> Running in eb8413962ab1 [2021-04-26T10:05:34.403Z] 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-26T10:05:35.513Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-26T10:05:35.858Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-26T10:05:36.156Z] Removing intermediate container eb8413962ab1 [2021-04-26T10:05:36.156Z] ---> f05116606f95 [2021-04-26T10:05:36.156Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-26T10:05:36.156Z] ---> Running in f3101e66824d [2021-04-26T10:05:36.170Z] + sudo service docker restart [2021-04-26T10:05:36.170Z] + true [2021-04-26T10:05:36.170Z] Redirecting to /bin/systemctl restart docker.service [2021-04-26T10:05:37.154Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-26T10:05:37.614Z] provisioning config files... [2021-04-26T10:05:37.650Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8024864623252441160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:05:37.753Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-26T10:05:37.995Z] ---> docker-login.sh [2021-04-26T10:05:37.996Z] nexus3.edgexfoundry.org:10001 [2021-04-26T10:05:38.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:05:38.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:05:38.544Z] Configure a credential helper to remove this warning. See [2021-04-26T10:05:38.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:05:38.544Z] [2021-04-26T10:05:38.544Z] Login Succeeded [2021-04-26T10:05:38.544Z] nexus3.edgexfoundry.org:10002 [2021-04-26T10:05:38.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:05:38.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:05:38.544Z] Configure a credential helper to remove this warning. See [2021-04-26T10:05:38.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:05:38.544Z] [2021-04-26T10:05:38.544Z] Login Succeeded [2021-04-26T10:05:38.544Z] nexus3.edgexfoundry.org:10003 [2021-04-26T10:05:38.723Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-26T10:05:38.724Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-26T10:05:38.724Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-26T10:05:38.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:05:38.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:05:38.810Z] Configure a credential helper to remove this warning. See [2021-04-26T10:05:38.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:05:38.810Z] [2021-04-26T10:05:38.810Z] Login Succeeded [2021-04-26T10:05:38.810Z] nexus3.edgexfoundry.org:10004 [2021-04-26T10:05:38.996Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-26T10:05:38.996Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-26T10:05:38.996Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-26T10:05:39.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:05:39.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:05:39.075Z] Configure a credential helper to remove this warning. See [2021-04-26T10:05:39.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:05:39.075Z] [2021-04-26T10:05:39.075Z] Login Succeeded [2021-04-26T10:05:39.075Z] docker.io [2021-04-26T10:05:39.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:05:39.267Z] Executing busybox-1.31.1-r19.trigger [2021-04-26T10:05:39.267Z] OK: 144 MiB in 45 packages [2021-04-26T10:05:39.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:05:39.338Z] Configure a credential helper to remove this warning. See [2021-04-26T10:05:39.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:05:39.338Z] [2021-04-26T10:05:39.338Z] Login Succeeded [2021-04-26T10:05:39.338Z] ---> docker-login.sh ends [Pipeline] } [2021-04-26T10:05:39.349Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-26T10:05:39.567Z] ========================================================= [2021-04-26T10:05:39.567Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-26T10:05:39.567Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:05:39.924Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-26T10:05:40.206Z] Sending build context to Docker daemon 2.46MB [2021-04-26T10:05:40.206Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T10:05:40.206Z] Step 2/8 : FROM ${BASE} [2021-04-26T10:05:40.206Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-26T10:05:40.206Z] 188c0c94c7c5: Pulling fs layer [2021-04-26T10:05:40.206Z] 0ef7d3d256c8: Pulling fs layer [2021-04-26T10:05:40.206Z] de9db76c5a1d: Pulling fs layer [2021-04-26T10:05:40.206Z] bca2f99d35d6: Pulling fs layer [2021-04-26T10:05:40.206Z] 93359f2a8cfa: Pulling fs layer [2021-04-26T10:05:40.206Z] 7c6f9722023f: Pulling fs layer [2021-04-26T10:05:40.206Z] a35cf1a2eb13: Pulling fs layer [2021-04-26T10:05:40.206Z] bca2f99d35d6: Waiting [2021-04-26T10:05:40.206Z] 93359f2a8cfa: Waiting [2021-04-26T10:05:40.206Z] a35cf1a2eb13: Waiting [2021-04-26T10:05:40.206Z] 7c6f9722023f: Waiting [2021-04-26T10:05:40.206Z] de9db76c5a1d: Download complete [2021-04-26T10:05:40.206Z] 0ef7d3d256c8: Verifying Checksum [2021-04-26T10:05:40.206Z] 0ef7d3d256c8: Download complete [2021-04-26T10:05:40.206Z] 93359f2a8cfa: Verifying Checksum [2021-04-26T10:05:40.206Z] 93359f2a8cfa: Download complete [2021-04-26T10:05:40.206Z] 7c6f9722023f: Download complete [2021-04-26T10:05:40.505Z] 188c0c94c7c5: Verifying Checksum [2021-04-26T10:05:40.505Z] 188c0c94c7c5: Download complete [2021-04-26T10:05:40.710Z] Removing intermediate container f3101e66824d [2021-04-26T10:05:40.710Z] ---> 99b4254a14ae [2021-04-26T10:05:40.710Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-26T10:05:40.710Z] ---> Running in 3cac3db9685e [2021-04-26T10:05:40.808Z] 188c0c94c7c5: Pull complete [2021-04-26T10:05:41.080Z] 0ef7d3d256c8: Pull complete [2021-04-26T10:05:41.080Z] de9db76c5a1d: Pull complete [2021-04-26T10:05:41.308Z] Removing intermediate container 3cac3db9685e [2021-04-26T10:05:41.308Z] ---> 9d66c7e8dab8 [2021-04-26T10:05:41.308Z] Step 7/8 : COPY . . [2021-04-26T10:05:42.293Z] ---> c95123a191d3 [2021-04-26T10:05:42.293Z] Step 8/8 : RUN go mod download [2021-04-26T10:05:42.566Z] ---> Running in b3ed9b19a415 [2021-04-26T10:05:43.058Z] a35cf1a2eb13: Verifying Checksum [2021-04-26T10:05:43.058Z] a35cf1a2eb13: Download complete [2021-04-26T10:05:43.658Z] bca2f99d35d6: Download complete [2021-04-26T10:05:52.021Z] bca2f99d35d6: Pull complete [2021-04-26T10:05:52.286Z] 93359f2a8cfa: Pull complete [2021-04-26T10:05:52.286Z] 7c6f9722023f: Pull complete [2021-04-26T10:05:59.029Z] a35cf1a2eb13: Pull complete [2021-04-26T10:05:59.029Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-26T10:05:59.029Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-26T10:05:59.029Z] ---> a62c8e92a672 [2021-04-26T10:05:59.029Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T10:05:59.029Z] ---> Running in 14972a1ec378 [2021-04-26T10:05:59.299Z] Removing intermediate container 14972a1ec378 [2021-04-26T10:05:59.299Z] ---> b6964b4e2767 [2021-04-26T10:05:59.299Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T10:05:59.563Z] ---> Running in c6c02317a9c0 [2021-04-26T10:06:01.015Z] Removing intermediate container c6c02317a9c0 [2021-04-26T10:06:01.015Z] ---> c8f48c719149 [2021-04-26T10:06:01.015Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-26T10:06:01.015Z] ---> Running in b12e18f8fb08 [2021-04-26T10:06:01.996Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-26T10:06:02.588Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-26T10:06:03.167Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-26T10:06:03.432Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-26T10:06:03.432Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-26T10:06:03.432Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-26T10:06:03.697Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-26T10:06:03.697Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-26T10:06:03.962Z] Executing busybox-1.31.1-r19.trigger [2021-04-26T10:06:03.962Z] OK: 167 MiB in 45 packages [2021-04-26T10:06:04.922Z] Removing intermediate container b12e18f8fb08 [2021-04-26T10:06:04.922Z] ---> 06a6656592f1 [2021-04-26T10:06:04.922Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-26T10:06:04.922Z] ---> Running in 8e39e27c4852 [2021-04-26T10:06:05.187Z] Removing intermediate container 8e39e27c4852 [2021-04-26T10:06:05.187Z] ---> fc311a0614fb [2021-04-26T10:06:05.187Z] Step 7/8 : COPY . . [2021-04-26T10:06:06.139Z] ---> 856bb5ec6226 [2021-04-26T10:06:06.139Z] Step 8/8 : RUN go mod download [2021-04-26T10:06:06.409Z] ---> Running in 4e01ce0ee0a4 [2021-04-26T10:06:09.392Z] Removing intermediate container b3ed9b19a415 [2021-04-26T10:06:09.393Z] ---> 75c23badeb58 [2021-04-26T10:06:09.393Z] Successfully built 75c23badeb58 [2021-04-26T10:06:09.393Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:06:09.742Z] + docker inspect -f . ci-base-image-arm64 [2021-04-26T10:06:09.742Z] . [Pipeline] withDockerContainer [2021-04-26T10:06:09.989Z] prd-ubuntu18.04-docker-arm64-4c-16g-1805 does not seem to be running inside a container [2021-04-26T10:06:10.074Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-arm64 cat [2021-04-26T10:06:11.552Z] $ docker top 67786d1715dcb87b755fd15f35e1d0bf32b6e76d65909a963a8a8cec5638886f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T10:06:12.512Z] + go version [2021-04-26T10:06:12.512Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-26T10:06:12.563Z] $ docker stop --time=1 67786d1715dcb87b755fd15f35e1d0bf32b6e76d65909a963a8a8cec5638886f [2021-04-26T10:06:14.591Z] $ docker rm -f 67786d1715dcb87b755fd15f35e1d0bf32b6e76d65909a963a8a8cec5638886f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:06:15.271Z] + docker inspect -f . ci-base-image-arm64 [2021-04-26T10:06:15.271Z] . [Pipeline] withDockerContainer [2021-04-26T10:06:15.522Z] prd-ubuntu18.04-docker-arm64-4c-16g-1805 does not seem to be running inside a container [2021-04-26T10:06:15.604Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-arm64 cat [2021-04-26T10:06:17.065Z] $ docker top 0017c76d81dd0c6933f35ee556f6707a74061c8f27bbc5eddc3404c83f3f6070 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T10:06:17.984Z] + make test [2021-04-26T10:06:17.984Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-26T10:06:33.420Z] Removing intermediate container 4e01ce0ee0a4 [2021-04-26T10:06:33.420Z] ---> 4873d1371907 [2021-04-26T10:06:33.420Z] Successfully built 4873d1371907 [2021-04-26T10:06:33.420Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:06:33.772Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-26T10:06:33.772Z] . [Pipeline] withDockerContainer [2021-04-26T10:06:33.951Z] prd-centos7-docker-4c-2g-1808 does not seem to be running inside a container [2021-04-26T10:06:34.029Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-x86_64 cat [2021-04-26T10:06:35.375Z] $ docker top c241e6d7d4bfa82ad9df85b2ef933cb6959df2a38829cc67bebcaa4bf813a22e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T10:06:35.999Z] + go version [2021-04-26T10:06:35.999Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-26T10:06:36.031Z] $ docker stop --time=1 c241e6d7d4bfa82ad9df85b2ef933cb6959df2a38829cc67bebcaa4bf813a22e [2021-04-26T10:06:37.493Z] $ docker rm -f c241e6d7d4bfa82ad9df85b2ef933cb6959df2a38829cc67bebcaa4bf813a22e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:06:38.089Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-26T10:06:38.089Z] . [Pipeline] withDockerContainer [2021-04-26T10:06:38.208Z] prd-centos7-docker-4c-2g-1808 does not seem to be running inside a container [2021-04-26T10:06:38.275Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-x86_64 cat [2021-04-26T10:06:39.323Z] $ docker top 162a31710012afef9cb116777f518c71f9a465d4943973de456bac3adff8fbdd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T10:06:39.883Z] + make test [2021-04-26T10:06:39.883Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-26T10:06:40.167Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-26T10:06:50.171Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-26T10:07:17.063Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-26T10:07:17.063Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-26T10:07:17.063Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-26T10:07:17.063Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-26T10:07:17.063Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-26T10:07:17.063Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.068s coverage: 28.1% of statements [2021-04-26T10:07:17.063Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.077s coverage: 78.9% of statements [2021-04-26T10:07:17.063Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.073s coverage: 7.8% of statements [2021-04-26T10:07:17.063Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-26T10:07:17.063Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-26T10:07:17.063Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-26T10:07:17.663Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.148s coverage: 32.0% of statements [2021-04-26T10:07:17.663Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-26T10:07:17.663Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-26T10:07:17.663Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-26T10:07:17.942Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.165s coverage: 57.2% of statements [2021-04-26T10:07:18.905Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.295s coverage: 6.6% of statements [2021-04-26T10:07:18.905Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.073s coverage: 5.0% of statements [2021-04-26T10:07:18.905Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-26T10:07:19.176Z] GO111MODULE=on go vet ./... [2021-04-26T10:07:36.795Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-26T10:07:36.795Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-26T10:07:36.795Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-26T10:07:36.795Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-26T10:07:36.795Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-26T10:07:41.154Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.146s coverage: 28.1% of statements [2021-04-26T10:07:41.477Z] gofmt -l . [2021-04-26T10:07:41.477Z] [ "`gofmt -l .`" = "" ] [2021-04-26T10:07:41.477Z] ./bin/test-attribution-txt.sh [2021-04-26T10:07:41.477Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-26T10:07:41.500Z] $ docker stop --time=1 162a31710012afef9cb116777f518c71f9a465d4943973de456bac3adff8fbdd [2021-04-26T10:07:42.598Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.203s coverage: 78.9% of statements [2021-04-26T10:07:42.598Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.189s coverage: 7.8% of statements [2021-04-26T10:07:42.598Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-26T10:07:42.598Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-26T10:07:42.598Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-26T10:07:43.313Z] $ docker rm -f 162a31710012afef9cb116777f518c71f9a465d4943973de456bac3adff8fbdd [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T10:07:43.967Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-26T10:07:44.034Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.279s coverage: 32.0% of statements [2021-04-26T10:07:44.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-26T10:07:44.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-26T10:07:44.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-26T10:07:44.461Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-26T10:07:45.484Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-26T10:07:45.810Z] + ls -al . [2021-04-26T10:07:45.811Z] total 188 [2021-04-26T10:07:45.811Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 26 10:07 . [2021-04-26T10:07:45.811Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 26 10:05 .. [2021-04-26T10:07:45.811Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 26 10:05 bin [2021-04-26T10:07:45.811Z] -rw-r--r--. 1 jenkins jenkins 100024 Apr 26 10:07 coverage.out [2021-04-26T10:07:45.811Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 26 10:05 Dockerfile.build [2021-04-26T10:07:45.811Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 26 10:05 .dockerignore [2021-04-26T10:07:45.811Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 26 10:05 example [2021-04-26T10:07:45.811Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 26 10:05 .git [2021-04-26T10:07:45.811Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 26 10:05 .github [2021-04-26T10:07:45.811Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 26 10:05 .gitignore [2021-04-26T10:07:45.811Z] -rw-r--r--. 1 jenkins jenkins 575 Apr 26 10:07 go.mod [2021-04-26T10:07:45.811Z] -rw-r--r--. 1 jenkins jenkins 20895 Apr 26 10:07 go.sum [2021-04-26T10:07:45.811Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 26 10:05 internal [2021-04-26T10:07:45.811Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 26 10:05 Jenkinsfile [2021-04-26T10:07:45.811Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 26 10:05 LICENSE [2021-04-26T10:07:45.811Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 26 10:05 Makefile [2021-04-26T10:07:45.811Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 26 10:05 openapi [2021-04-26T10:07:45.811Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 26 10:05 pkg [2021-04-26T10:07:45.811Z] -rw-rw-r--. 1 jenkins jenkins 7652 Apr 26 10:05 README.md [2021-04-26T10:07:45.811Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 26 10:05 RELEASE-NOTES.txt [2021-04-26T10:07:45.811Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 26 10:05 snap [2021-04-26T10:07:45.811Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 26 10:02 VERSION [2021-04-26T10:07:45.811Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 26 10:05 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:07:46.175Z] + 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=3676bc4525961bc49336a0017dbee63d0b8dd3cb --label arch=amd64 --label version=0.0.0 . [2021-04-26T10:07:46.775Z] Sending build context to Docker daemon 2.561MB [2021-04-26T10:07:46.775Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T10:07:46.775Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-26T10:07:46.775Z] ---> 4873d1371907 [2021-04-26T10:07:46.775Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-26T10:07:47.040Z] ---> Running in 26044f72362d [2021-04-26T10:07:47.305Z] Removing intermediate container 26044f72362d [2021-04-26T10:07:47.305Z] ---> 9601b9a9a005 [2021-04-26T10:07:47.305Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T10:07:47.454Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.310s coverage: 57.2% of statements [2021-04-26T10:07:47.454Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.158s coverage: 6.6% of statements [2021-04-26T10:07:47.570Z] ---> Running in 1b7ec126cac9 [2021-04-26T10:07:47.570Z] Removing intermediate container 1b7ec126cac9 [2021-04-26T10:07:47.570Z] ---> 61ec28bf75a6 [2021-04-26T10:07:47.570Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T10:07:47.836Z] ---> Running in 9e0c1586331e [2021-04-26T10:07:48.050Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.136s coverage: 5.0% of statements [2021-04-26T10:07:48.051Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-26T10:07:48.656Z] GO111MODULE=on go vet ./... [2021-04-26T10:07:49.266Z] Removing intermediate container 9e0c1586331e [2021-04-26T10:07:49.266Z] ---> bd9a0312357d [2021-04-26T10:07:49.266Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-26T10:07:49.266Z] ---> Running in 2421fa799bf1 [2021-04-26T10:07:49.857Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-26T10:07:50.436Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-26T10:07:51.031Z] OK: 167 MiB in 45 packages [2021-04-26T10:07:51.640Z] Removing intermediate container 2421fa799bf1 [2021-04-26T10:07:51.640Z] ---> 1d9882d1e07f [2021-04-26T10:07:51.640Z] Step 7/23 : COPY . . [2021-04-26T10:07:52.218Z] ---> bdb3a43a1709 [2021-04-26T10:07:52.218Z] Step 8/23 : RUN go mod download [2021-04-26T10:07:52.500Z] ---> Running in 4ba95a5c239e [2021-04-26T10:07:53.931Z] Removing intermediate container 4ba95a5c239e [2021-04-26T10:07:53.931Z] ---> cc5c296f894d [2021-04-26T10:07:53.931Z] Step 9/23 : RUN make build [2021-04-26T10:07:53.931Z] ---> Running in 626e19945fcb [2021-04-26T10:07:54.531Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-04-26T10:08:09.840Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-26T10:08:11.803Z] Removing intermediate container 626e19945fcb [2021-04-26T10:08:11.803Z] ---> 7478939b4ce5 [2021-04-26T10:08:11.803Z] Step 10/23 : FROM alpine:3.12 [2021-04-26T10:08:12.069Z] 3.12: Pulling from library/alpine [2021-04-26T10:08:12.069Z] 339de151aab4: Pulling fs layer [2021-04-26T10:08:12.335Z] 339de151aab4: Verifying Checksum [2021-04-26T10:08:12.335Z] 339de151aab4: Download complete [2021-04-26T10:08:12.609Z] 339de151aab4: Pull complete [2021-04-26T10:08:12.610Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-26T10:08:12.610Z] Status: Downloaded newer image for alpine:3.12 [2021-04-26T10:08:12.610Z] ---> 13621d1b12d4 [2021-04-26T10:08:12.610Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T10:08:12.610Z] ---> Running in 583714b17540 [2021-04-26T10:08:12.873Z] Removing intermediate container 583714b17540 [2021-04-26T10:08:12.873Z] ---> 515fa5076043 [2021-04-26T10:08:12.873Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T10:08:12.873Z] ---> Running in bf4cdc5c2a89 [2021-04-26T10:08:13.830Z] Removing intermediate container bf4cdc5c2a89 [2021-04-26T10:08:13.830Z] ---> f06245f096b6 [2021-04-26T10:08:13.830Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-26T10:08:13.830Z] ---> Running in 0b404969b069 [2021-04-26T10:08:14.418Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-26T10:08:14.999Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-26T10:08:15.580Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-26T10:08:15.581Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-26T10:08:15.846Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-26T10:08:16.426Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-26T10:08:17.014Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-26T10:08:17.014Z] Executing busybox-1.31.1-r20.trigger [2021-04-26T10:08:17.014Z] OK: 8 MiB in 19 packages [2021-04-26T10:08:17.601Z] Removing intermediate container 0b404969b069 [2021-04-26T10:08:17.601Z] ---> efe39c254888 [2021-04-26T10:08:17.601Z] Step 14/23 : WORKDIR / [2021-04-26T10:08:17.601Z] ---> Running in adc0653e513c [2021-04-26T10:08:17.869Z] Removing intermediate container adc0653e513c [2021-04-26T10:08:17.869Z] ---> f27684b14141 [2021-04-26T10:08:17.869Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-26T10:08:18.139Z] ---> 66bba19c072c [2021-04-26T10:08:18.139Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-26T10:08:18.732Z] ---> 09aac62aaacb [2021-04-26T10:08:18.732Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-26T10:08:19.004Z] ---> 41c6f739a2e2 [2021-04-26T10:08:19.004Z] Step 18/23 : EXPOSE 49990 [2021-04-26T10:08:19.004Z] ---> Running in 7a23e011a0ad [2021-04-26T10:08:19.269Z] Removing intermediate container 7a23e011a0ad [2021-04-26T10:08:19.269Z] ---> f726b4101e76 [2021-04-26T10:08:19.269Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-26T10:08:19.269Z] ---> Running in 67efebf423b9 [2021-04-26T10:08:19.534Z] Removing intermediate container 67efebf423b9 [2021-04-26T10:08:19.534Z] ---> f65ed95a36bc [2021-04-26T10:08:19.534Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-26T10:08:19.534Z] ---> Running in a4337b14a6c2 [2021-04-26T10:08:19.534Z] Removing intermediate container a4337b14a6c2 [2021-04-26T10:08:19.534Z] ---> 0baa617c9d1a [2021-04-26T10:08:19.534Z] Step 21/23 : LABEL arch=amd64 [2021-04-26T10:08:19.798Z] ---> Running in 8bf08c14ca88 [2021-04-26T10:08:19.798Z] Removing intermediate container 8bf08c14ca88 [2021-04-26T10:08:19.798Z] ---> 7963739fbe11 [2021-04-26T10:08:19.798Z] Step 22/23 : LABEL git_sha=3676bc4525961bc49336a0017dbee63d0b8dd3cb [2021-04-26T10:08:20.063Z] ---> Running in d2875f9a8c26 [2021-04-26T10:08:20.063Z] Removing intermediate container d2875f9a8c26 [2021-04-26T10:08:20.063Z] ---> 63caf7a45a50 [2021-04-26T10:08:20.063Z] Step 23/23 : LABEL version=0.0.0 [2021-04-26T10:08:20.063Z] ---> Running in 596fb8b1f265 [2021-04-26T10:08:20.327Z] Removing intermediate container 596fb8b1f265 [2021-04-26T10:08:20.327Z] ---> 952cc0a3cd9e [2021-04-26T10:08:20.327Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-26T10:08:20.327Z] Successfully built 952cc0a3cd9e [2021-04-26T10:08:20.327Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:08:20.861Z] ---> job-cost.sh [2021-04-26T10:08:20.861Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-dpad [2021-04-26T10:08:35.719Z] gofmt -l . [2021-04-26T10:08:35.719Z] [ "`gofmt -l .`" = "" ] [2021-04-26T10:08:35.719Z] ./bin/test-attribution-txt.sh [2021-04-26T10:08:35.719Z] ./bin/test-go-mod-tidy.sh [2021-04-26T10:08:35.846Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] } [2021-04-26T10:08:36.022Z] $ docker stop --time=1 0017c76d81dd0c6933f35ee556f6707a74061c8f27bbc5eddc3404c83f3f6070 [2021-04-26T10:08:38.252Z] $ docker rm -f 0017c76d81dd0c6933f35ee556f6707a74061c8f27bbc5eddc3404c83f3f6070 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T10:08:39.277Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-26T10:08:39.312Z] Warning: overwriting stash ‘coverage-report’ [2021-04-26T10:08:40.412Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-26T10:08:40.872Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-26T10:08:41.220Z] + ls -al . [2021-04-26T10:08:41.220Z] total 224 [2021-04-26T10:08:41.220Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 10:08 . [2021-04-26T10:08:41.220Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 10:04 .. [2021-04-26T10:08:41.220Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 10:04 .dockerignore [2021-04-26T10:08:41.220Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 10:05 .git [2021-04-26T10:08:41.220Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 10:04 .github [2021-04-26T10:08:41.220Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 26 10:04 .gitignore [2021-04-26T10:08:41.220Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 26 10:04 Dockerfile.build [2021-04-26T10:08:41.220Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 26 10:04 Jenkinsfile [2021-04-26T10:08:41.220Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 26 10:04 LICENSE [2021-04-26T10:08:41.220Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 26 10:04 Makefile [2021-04-26T10:08:41.220Z] -rw-rw-r-- 1 jenkins jenkins 7652 Apr 26 10:04 README.md [2021-04-26T10:08:41.220Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 26 10:04 RELEASE-NOTES.txt [2021-04-26T10:08:41.220Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 10:02 VERSION [2021-04-26T10:08:41.220Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 10:04 bin [2021-04-26T10:08:41.220Z] -rw-r--r-- 1 jenkins jenkins 100024 Apr 26 10:07 coverage.out [2021-04-26T10:08:41.220Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 10:04 example [2021-04-26T10:08:41.220Z] -rw-r--r-- 1 jenkins jenkins 575 Apr 26 10:08 go.mod [2021-04-26T10:08:41.220Z] -rw-r--r-- 1 jenkins jenkins 20895 Apr 26 10:08 go.sum [2021-04-26T10:08:41.220Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 26 10:04 internal [2021-04-26T10:08:41.220Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 10:04 openapi [2021-04-26T10:08:41.220Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 10:04 pkg [2021-04-26T10:08:41.220Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 10:04 snap [2021-04-26T10:08:41.220Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 26 10:04 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:08:41.563Z] + 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=3676bc4525961bc49336a0017dbee63d0b8dd3cb --label arch=arm64 --label version=0.0.0 . [2021-04-26T10:08:42.162Z] Sending build context to Docker daemon 2.559MB [2021-04-26T10:08:42.162Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T10:08:42.162Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-26T10:08:42.162Z] ---> 75c23badeb58 [2021-04-26T10:08:42.162Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-26T10:08:42.439Z] ---> Running in 8d9763733eaa [2021-04-26T10:08:43.037Z] Removing intermediate container 8d9763733eaa [2021-04-26T10:08:43.037Z] ---> 6535f019ff2d [2021-04-26T10:08:43.037Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T10:08:43.037Z] ---> Running in 5fe0ffe8464a [2021-04-26T10:08:43.641Z] Removing intermediate container 5fe0ffe8464a [2021-04-26T10:08:43.641Z] ---> 61e26d053c95 [2021-04-26T10:08:43.641Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T10:08:43.641Z] ---> Running in d764e05b5e22 [2021-04-26T10:08:46.264Z] Removing intermediate container d764e05b5e22 [2021-04-26T10:08:46.265Z] ---> de3418d98d0e [2021-04-26T10:08:46.265Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-26T10:08:46.541Z] ---> Running in 93cbc51d878b [2021-04-26T10:08:47.529Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-26T10:08:48.125Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-26T10:08:49.105Z] OK: 144 MiB in 45 packages [2021-04-26T10:08:50.538Z] Removing intermediate container 93cbc51d878b [2021-04-26T10:08:50.538Z] ---> 22f57fa6d086 [2021-04-26T10:08:50.538Z] Step 7/23 : COPY . . [2021-04-26T10:08:51.973Z] ---> 20d22e7854a5 [2021-04-26T10:08:51.973Z] Step 8/23 : RUN go mod download [2021-04-26T10:08:51.973Z] ---> Running in 59556baa68e1 [2021-04-26T10:08:53.986Z] Removing intermediate container 59556baa68e1 [2021-04-26T10:08:53.986Z] ---> 31c7256c612c [2021-04-26T10:08:53.986Z] Step 9/23 : RUN make build [2021-04-26T10:08:54.267Z] ---> Running in 4d94260cf81f [2021-04-26T10:08:55.244Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-04-26T10:09:08.098Z] lf-activate-venv(): INFO: Adding /tmp/venv-dpad/bin to PATH [2021-04-26T10:09:08.098Z] INFO: No Stack... [2021-04-26T10:09:08.362Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-26T10:09:09.438Z] INFO: Archiving Costs [Pipeline] sh [2021-04-26T10:09:09.888Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-04-26T10:09:09.888Z] + cut -d, -f6 [Pipeline] lock [2021-04-26T10:09:10.167Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-890-3-stack-cost] [2021-04-26T10:09:10.179Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-890-3-stack-cost] did not exist. Created. [2021-04-26T10:09:10.180Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-890-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-26T10:09:10.526Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-26T10:09:10.714Z] Stashed 1 file(s) [Pipeline] } [2021-04-26T10:09:10.736Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-890-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-26T10:09:34.295Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-26T10:09:34.295Z] Removing intermediate container 4d94260cf81f [2021-04-26T10:09:34.295Z] ---> b16f4b3a64e5 [2021-04-26T10:09:34.295Z] Step 10/23 : FROM alpine:3.12 [2021-04-26T10:09:34.295Z] 3.12: Pulling from library/alpine [2021-04-26T10:09:34.295Z] d2f70382dc9a: Pulling fs layer [2021-04-26T10:09:34.295Z] d2f70382dc9a: Download complete [2021-04-26T10:09:34.295Z] d2f70382dc9a: Pull complete [2021-04-26T10:09:34.295Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-26T10:09:34.295Z] Status: Downloaded newer image for alpine:3.12 [2021-04-26T10:09:34.295Z] ---> 9852663dfa18 [2021-04-26T10:09:34.295Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T10:09:34.295Z] ---> Running in b64ea577b433 [2021-04-26T10:09:34.295Z] Removing intermediate container b64ea577b433 [2021-04-26T10:09:34.295Z] ---> 1e20cd1bacff [2021-04-26T10:09:34.295Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T10:09:34.295Z] ---> Running in 523972e54a46 [2021-04-26T10:09:36.265Z] Removing intermediate container 523972e54a46 [2021-04-26T10:09:36.265Z] ---> 4c42e97367dd [2021-04-26T10:09:36.265Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-26T10:09:36.265Z] ---> Running in d007a57ba40f [2021-04-26T10:09:37.245Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-26T10:09:37.840Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-26T10:09:38.431Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-26T10:09:38.431Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-26T10:09:38.704Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-26T10:09:38.704Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-26T10:09:38.980Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-26T10:09:38.980Z] Executing busybox-1.31.1-r20.trigger [2021-04-26T10:09:38.981Z] OK: 8 MiB in 19 packages [2021-04-26T10:09:40.420Z] Removing intermediate container d007a57ba40f [2021-04-26T10:09:40.420Z] ---> 2e1a5d33c13a [2021-04-26T10:09:40.420Z] Step 14/23 : WORKDIR / [2021-04-26T10:09:40.420Z] ---> Running in a8418a011fd7 [2021-04-26T10:09:41.013Z] Removing intermediate container a8418a011fd7 [2021-04-26T10:09:41.013Z] ---> 9b6873189cc4 [2021-04-26T10:09:41.013Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-26T10:09:41.615Z] ---> 6b6ffdc3c662 [2021-04-26T10:09:41.615Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-26T10:09:43.052Z] ---> a4a660e80fb0 [2021-04-26T10:09:43.053Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-26T10:09:43.645Z] ---> 5d72aaddda00 [2021-04-26T10:09:43.646Z] Step 18/23 : EXPOSE 49990 [2021-04-26T10:09:43.919Z] ---> Running in 6e29e2208af2 [2021-04-26T10:09:44.191Z] Removing intermediate container 6e29e2208af2 [2021-04-26T10:09:44.191Z] ---> fc1402fdecb7 [2021-04-26T10:09:44.191Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-26T10:09:44.465Z] ---> Running in 057fc11d7949 [2021-04-26T10:09:44.737Z] Removing intermediate container 057fc11d7949 [2021-04-26T10:09:44.737Z] ---> b7c023a8cc78 [2021-04-26T10:09:44.737Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-26T10:09:45.009Z] ---> Running in a4c5aa475c0c [2021-04-26T10:09:45.603Z] Removing intermediate container a4c5aa475c0c [2021-04-26T10:09:45.603Z] ---> 726aa8990dc4 [2021-04-26T10:09:45.603Z] Step 21/23 : LABEL arch=arm64 [2021-04-26T10:09:45.603Z] ---> Running in 8f4c421c3ef9 [2021-04-26T10:09:46.197Z] Removing intermediate container 8f4c421c3ef9 [2021-04-26T10:09:46.197Z] ---> 41ea183f34c4 [2021-04-26T10:09:46.197Z] Step 22/23 : LABEL git_sha=3676bc4525961bc49336a0017dbee63d0b8dd3cb [2021-04-26T10:09:46.197Z] ---> Running in 15e9017d3d89 [2021-04-26T10:09:46.800Z] Removing intermediate container 15e9017d3d89 [2021-04-26T10:09:46.800Z] ---> 634f952bc21a [2021-04-26T10:09:46.800Z] Step 23/23 : LABEL version=0.0.0 [2021-04-26T10:09:46.800Z] ---> Running in cc2cdef9b57b [2021-04-26T10:09:47.397Z] Removing intermediate container cc2cdef9b57b [2021-04-26T10:09:47.397Z] ---> a51b353074ea [2021-04-26T10:09:47.397Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-26T10:09:47.397Z] Successfully built a51b353074ea [2021-04-26T10:09:47.397Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:09:47.865Z] ---> job-cost.sh [2021-04-26T10:09:47.865Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-EJzX [2021-04-26T10:10:34.811Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-26T10:12:11.567Z] lf-activate-venv(): INFO: Adding /tmp/venv-EJzX/bin to PATH [2021-04-26T10:12:11.567Z] INFO: No Stack... [2021-04-26T10:12:12.160Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-26T10:12:12.755Z] INFO: Archiving Costs [Pipeline] sh [2021-04-26T10:12:13.096Z] + + cut -d, -f6 [2021-04-26T10:12:13.096Z] cat /w/workspace/device-sdk-go/3/archives/cost.csv [Pipeline] lock [2021-04-26T10:12:13.219Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-890-3-stack-cost] [2021-04-26T10:12:13.231Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-890-3-stack-cost] did not exist. Created. [2021-04-26T10:12:13.231Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-890-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-26T10:12:13.619Z] /w/workspace/device-sdk-go/3@tmp/durable-a1af17ed/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-a1af17ed/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-26T10:12:13.969Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-26T10:12:13.989Z] Warning: overwriting stash ‘stack-cost’ [2021-04-26T10:12:14.160Z] Stashed 1 file(s) [Pipeline] } [2021-04-26T10:12:14.170Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-890-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-04-26T10:12:14.788Z] provisioning config files... [2021-04-26T10:12:14.803Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/config4491001701343350019tmp [Pipeline] { [Pipeline] sh [2021-04-26T10:12:15.285Z] + set +x [2021-04-26T10:12:15.285Z] + curl -s https://codecov.io/bash [2021-04-26T10:12:15.285Z] + bash -s -- [2021-04-26T10:12:15.555Z] [2021-04-26T10:12:15.555Z] _____ _ [2021-04-26T10:12:15.555Z] / ____| | | [2021-04-26T10:12:15.555Z] | | ___ __| | ___ ___ _____ __ [2021-04-26T10:12:15.556Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-26T10:12:15.556Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-26T10:12:15.556Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-26T10:12:15.556Z] Bash-1.0.2 [2021-04-26T10:12:15.556Z] [2021-04-26T10:12:15.556Z] [2021-04-26T10:12:15.556Z] ==> git version 2.24.3 found [2021-04-26T10:12:15.556Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-04-26T10:12:15.556Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-26T10:12:15.556Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-26T10:12:15.556Z] ==> Jenkins CI detected. [2021-04-26T10:12:15.556Z] project root: . [2021-04-26T10:12:15.556Z] --> token set from env [2021-04-26T10:12:15.556Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-26T10:12:15.556Z] ==> Running gcov in . (disable via -X gcov) [2021-04-26T10:12:15.556Z] ==> Python coveragepy not found [2021-04-26T10:12:15.556Z] ==> Searching for coverage reports in: [2021-04-26T10:12:15.556Z] + . [2021-04-26T10:12:15.556Z] -> Found 1 reports [2021-04-26T10:12:15.556Z] ==> Detecting git/mercurial file structure [2021-04-26T10:12:15.556Z] ==> Reading reports [2021-04-26T10:12:15.556Z] + ./coverage.out bytes=100024 [2021-04-26T10:12:15.556Z] ==> Appending adjustments [2021-04-26T10:12:15.556Z] https://docs.codecov.io/docs/fixing-reports [2021-04-26T10:12:15.818Z] + Found adjustments [2021-04-26T10:12:15.818Z] ==> Gzipping contents [2021-04-26T10:12:15.818Z] 16K /tmp/codecov.9bNMXH.gz [2021-04-26T10:12:15.818Z] ==> Uploading reports [2021-04-26T10:12:15.818Z] url: https://codecov.io [2021-04-26T10:12:15.818Z] query: branch=PR-890&commit=3676bc4525961bc49336a0017dbee63d0b8dd3cb&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-890%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=890&job=&cmd_args= [2021-04-26T10:12:15.818Z] -> Pinging Codecov [2021-04-26T10:12:15.818Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-890&commit=3676bc4525961bc49336a0017dbee63d0b8dd3cb&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-890%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=890&job=&cmd_args= [2021-04-26T10:12:16.394Z] -> Uploading to [2021-04-26T10:12:16.394Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-26/7E55EF52A471D76F132DFD9A03CDDE97/3676bc4525961bc49336a0017dbee63d0b8dd3cb/9c6e6475-e912-40bb-a72f-f88573a337f1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210426T101216Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ed12100b91d27832e4c437f37425bde3bbd165bb57e7df9e639e741d1d3597fd [2021-04-26T10:12:16.394Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-26T10:12:16.394Z] Dload Upload Total Spent Left Speed [2021-04-26T10:12:16.971Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13530 0 0 100 13530 0 28306 --:--:-- --:--:-- --:--:-- 28364 [2021-04-26T10:12:16.971Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3676bc4525961bc49336a0017dbee63d0b8dd3cb [Pipeline] } [2021-04-26T10:12:16.981Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:12:18.038Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:12:18.613Z] ---> package-listing.sh [2021-04-26T10:12:18.613Z] ++ facter osfamily [2021-04-26T10:12:18.613Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-26T10:12:18.613Z] + OS_FAMILY=redhat [2021-04-26T10:12:18.613Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-890 [2021-04-26T10:12:18.613Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-26T10:12:18.613Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-26T10:12:18.613Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-26T10:12:18.613Z] + PACKAGES=/tmp/packages_start.txt [2021-04-26T10:12:18.613Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-890 ']' [2021-04-26T10:12:18.613Z] + PACKAGES=/tmp/packages_end.txt [2021-04-26T10:12:18.613Z] + case "${OS_FAMILY}" in [2021-04-26T10:12:18.613Z] + rpm -qa [2021-04-26T10:12:18.613Z] + sort [2021-04-26T10:12:25.249Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-26T10:12:25.249Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-26T10:12:25.249Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-26T10:12:25.249Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-890 ']' [2021-04-26T10:12:25.249Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-890/archives/ [2021-04-26T10:12:25.249Z] + 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-26T10:12:25.263Z] 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-26T10:12:25.561Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:12:25.878Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-26T10:12:25.878Z] [2021-04-26T10:12:25.878Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:12:26.201Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-26T10:12:26.201Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-26T10:12:26.201Z] df20fa9351a1: Pulling fs layer [2021-04-26T10:12:26.201Z] 36b3adc4ff6f: Pulling fs layer [2021-04-26T10:12:26.201Z] 8ad3a11d3b57: Pulling fs layer [2021-04-26T10:12:26.201Z] 46f8f816bc3b: Pulling fs layer [2021-04-26T10:12:26.201Z] 93b61091891f: Pulling fs layer [2021-04-26T10:12:26.201Z] 93b9cdb0e59b: Pulling fs layer [2021-04-26T10:12:26.201Z] 5e14af77c1be: Pulling fs layer [2021-04-26T10:12:26.201Z] 01666e4c0597: Pulling fs layer [2021-04-26T10:12:26.201Z] aa168da1d23b: Pulling fs layer [2021-04-26T10:12:26.201Z] 93b9cdb0e59b: Waiting [2021-04-26T10:12:26.201Z] 5e14af77c1be: Waiting [2021-04-26T10:12:26.201Z] 01666e4c0597: Waiting [2021-04-26T10:12:26.201Z] aa168da1d23b: Waiting [2021-04-26T10:12:26.201Z] 46f8f816bc3b: Waiting [2021-04-26T10:12:26.201Z] 93b61091891f: Waiting [2021-04-26T10:12:26.201Z] 36b3adc4ff6f: Download complete [2021-04-26T10:12:26.201Z] 46f8f816bc3b: Verifying Checksum [2021-04-26T10:12:26.201Z] 46f8f816bc3b: Download complete [2021-04-26T10:12:26.201Z] df20fa9351a1: Verifying Checksum [2021-04-26T10:12:26.201Z] df20fa9351a1: Download complete [2021-04-26T10:12:26.465Z] 93b9cdb0e59b: Verifying Checksum [2021-04-26T10:12:26.465Z] 93b9cdb0e59b: Download complete [2021-04-26T10:12:26.465Z] 93b61091891f: Verifying Checksum [2021-04-26T10:12:26.465Z] 93b61091891f: Download complete [2021-04-26T10:12:26.465Z] 5e14af77c1be: Verifying Checksum [2021-04-26T10:12:26.465Z] 5e14af77c1be: Download complete [2021-04-26T10:12:26.465Z] 01666e4c0597: Verifying Checksum [2021-04-26T10:12:26.465Z] 01666e4c0597: Download complete [2021-04-26T10:12:26.729Z] df20fa9351a1: Pull complete [2021-04-26T10:12:26.992Z] 36b3adc4ff6f: Pull complete [2021-04-26T10:12:27.257Z] 8ad3a11d3b57: Verifying Checksum [2021-04-26T10:12:27.257Z] 8ad3a11d3b57: Download complete [2021-04-26T10:12:27.845Z] 8ad3a11d3b57: Pull complete [2021-04-26T10:12:28.115Z] 46f8f816bc3b: Pull complete [2021-04-26T10:12:28.703Z] 93b61091891f: Pull complete [2021-04-26T10:12:28.968Z] aa168da1d23b: Verifying Checksum [2021-04-26T10:12:28.968Z] aa168da1d23b: Download complete [2021-04-26T10:12:28.968Z] 93b9cdb0e59b: Pull complete [2021-04-26T10:12:29.231Z] 5e14af77c1be: Pull complete [2021-04-26T10:12:29.499Z] 01666e4c0597: Pull complete [2021-04-26T10:12:36.164Z] aa168da1d23b: Pull complete [2021-04-26T10:12:36.427Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-26T10:12:36.427Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-26T10:12:36.427Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-26T10:12:36.629Z] prd-centos7-docker-4c-2g-1803 does not seem to be running inside a container [2021-04-26T10:12:36.680Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-26T10:12:39.787Z] $ docker top 10d3fa1d55c81b1311767c7b70e2320b784181a7d4ce22cd0efdeb327eca8e3c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T10:12:40.238Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-26T10:12:40.542Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-26T10:12:40.945Z] + ls /var/log/sa-host [2021-04-26T10:12:40.945Z] + sadf -c /var/log/sa-host/sa23 [2021-04-26T10:12:40.945Z] file_magic: OK [2021-04-26T10:12:40.945Z] HZ: Using current value: 100 [2021-04-26T10:12:40.945Z] file_header: OK [2021-04-26T10:12:40.945Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-26T10:12:40.945Z] Statistics: [2021-04-26T10:12:40.945Z] Hnuu...uuuununununu... [2021-04-26T10:12:40.945Z] File successfully converted to sysstat format version 12.2.1 [2021-04-26T10:12:40.945Z] + sadf -c /var/log/sa-host/sa26 [2021-04-26T10:12:40.945Z] file_magic: OK [2021-04-26T10:12:40.945Z] HZ: Using current value: 100 [2021-04-26T10:12:40.945Z] file_header: OK [2021-04-26T10:12:40.945Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-26T10:12:40.945Z] Statistics: [2021-04-26T10:12:40.945Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-26T10:12:40.945Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-26T10:12:41.523Z] provisioning config files... [2021-04-26T10:12:41.552Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/config2083724550192532862tmp [Pipeline] { [Pipeline] echo [2021-04-26T10:12:41.577Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:12:41.878Z] ---> create-netrc.sh [Pipeline] } [2021-04-26T10:12:41.889Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-26T10:12:41.915Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:12:42.229Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-26T10:12:42.240Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:12:42.539Z] ---> sudo-logs.sh [2021-04-26T10:12:42.539Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-26T10:12:42.575Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:12:42.878Z] ---> job-cost.sh [2021-04-26T10:12:42.878Z] lf-activate-venv: SKIPPING [2021-04-26T10:12:42.878Z] DEBUG: total: 0.20999999344348907 [2021-04-26T10:12:42.878Z] INFO: Retrieving Stack Cost... [2021-04-26T10:12:43.828Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-26T10:12:44.404Z] INFO: Archiving Costs [Pipeline] echo [2021-04-26T10:12:44.421Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:12:44.724Z] ---> logs-deploy.sh [2021-04-26T10:12:44.724Z] lf-activate-venv: SKIPPING [2021-04-26T10:12:44.724Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-890/3 [2021-04-26T10:12:44.724Z] INFO: archiving workspace using pattern(s): [2021-04-26T10:12:46.645Z] Archives upload complete. [2021-04-26T10:12:46.646Z] INFO: archiving logs to Nexus [2021-04-26T10:12:47.596Z] ---> uname -a: [2021-04-26T10:12:47.596Z] Linux prd-centos7-docker-4c-2g-1803.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-04-26T10:12:47.596Z] [2021-04-26T10:12:47.596Z] [2021-04-26T10:12:47.596Z] ---> lscpu: [2021-04-26T10:12:47.596Z] Architecture: x86_64 [2021-04-26T10:12:47.596Z] CPU op-mode(s): 32-bit, 64-bit [2021-04-26T10:12:47.596Z] Byte Order: Little Endian [2021-04-26T10:12:47.596Z] Address sizes: 40 bits physical, 48 bits virtual [2021-04-26T10:12:47.596Z] CPU(s): 4 [2021-04-26T10:12:47.596Z] On-line CPU(s) list: 0-3 [2021-04-26T10:12:47.596Z] Thread(s) per core: 1 [2021-04-26T10:12:47.596Z] Core(s) per socket: 1 [2021-04-26T10:12:47.596Z] Socket(s): 4 [2021-04-26T10:12:47.596Z] NUMA node(s): 1 [2021-04-26T10:12:47.596Z] Vendor ID: GenuineIntel [2021-04-26T10:12:47.596Z] CPU family: 6 [2021-04-26T10:12:47.596Z] Model: 44 [2021-04-26T10:12:47.596Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-04-26T10:12:47.596Z] Stepping: 1 [2021-04-26T10:12:47.596Z] CPU MHz: 2933.438 [2021-04-26T10:12:47.596Z] BogoMIPS: 5866.87 [2021-04-26T10:12:47.596Z] Virtualization: VT-x [2021-04-26T10:12:47.596Z] Hypervisor vendor: KVM [2021-04-26T10:12:47.596Z] Virtualization type: full [2021-04-26T10:12:47.596Z] L1d cache: 128 KiB [2021-04-26T10:12:47.596Z] L1i cache: 128 KiB [2021-04-26T10:12:47.596Z] L2 cache: 16 MiB [2021-04-26T10:12:47.596Z] L3 cache: 64 MiB [2021-04-26T10:12:47.596Z] NUMA node0 CPU(s): 0-3 [2021-04-26T10:12:47.596Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-04-26T10:12:47.596Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-04-26T10:12:47.596Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-04-26T10:12:47.596Z] Vulnerability Meltdown: Mitigation; PTI [2021-04-26T10:12:47.596Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-04-26T10:12:47.596Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-04-26T10:12:47.596Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-04-26T10:12:47.596Z] Vulnerability Srbds: Not affected [2021-04-26T10:12:47.596Z] Vulnerability Tsx async abort: Not affected [2021-04-26T10:12:47.596Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-04-26T10:12:47.596Z] [2021-04-26T10:12:47.596Z] [2021-04-26T10:12:47.596Z] ---> nproc: [2021-04-26T10:12:47.596Z] 4 [2021-04-26T10:12:47.596Z] [2021-04-26T10:12:47.596Z] [2021-04-26T10:12:47.596Z] ---> df -h: [2021-04-26T10:12:47.596Z] Filesystem Size Used Available Use% Mounted on [2021-04-26T10:12:47.596Z] overlay 50.0G 7.3G 42.7G 15% / [2021-04-26T10:12:47.596Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-04-26T10:12:47.596Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-04-26T10:12:47.596Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-04-26T10:12:47.596Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-04-26T10:12:47.596Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-04-26T10:12:47.596Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-04-26T10:12:47.596Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-04-26T10:12:47.596Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-04-26T10:12:47.596Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-04-26T10:12:47.596Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-04-26T10:12:47.596Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-04-26T10:12:47.596Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-890 [2021-04-26T10:12:47.596Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp [2021-04-26T10:12:47.596Z] [2021-04-26T10:12:47.596Z]