Pull request #804 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at d38291b108151c678147caa989c3776b19aa5fc1 rather than 31a08261b41db6041274b3103071e8b7252d6267 Obtained Jenkinsfile from d38291b108151c678147caa989c3776b19aa5fc1 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-28371 in /w/workspace/dgexfoundry_device-sdk-go_PR-804 [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-804 # 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 d38291b108151c678147caa989c3776b19aa5fc1 into PR head commit 31a08261b41db6041274b3103071e8b7252d6267 Merge succeeded, producing 31a08261b41db6041274b3103071e8b7252d6267 Checking out Revision 31a08261b41db6041274b3103071e8b7252d6267 (PR-804) > 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/804/head:refs/remotes/origin/PR-804 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 31a08261b41db6041274b3103071e8b7252d6267 # 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 d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 31a08261b41db6041274b3103071e8b7252d6267 # timeout=10 Commit message: "build: Upgrade the go-mod-core-contracts lib" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-03T08:21:58.313Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 5cbefb55819c18007a34e5b99697e72d2dc34ccf # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-03T08:21:58.627Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-03T08:21:58.745Z] ========================================================= [2021-03-03T08:21:58.745Z] EdgeX Global Pipelines Version Info [2021-03-03T08:21:58.745Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-03T08:22:00.174Z] ------------------- [2021-03-03T08:22:00.174Z] stable info: [2021-03-03T08:22:00.174Z] ------------------- [2021-03-03T08:22:00.174Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-03T08:22:00.174Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-03T08:22:00.174Z] Message: update stable to v1.0.184 [2021-03-03T08:22:01.123Z] ------------------- [2021-03-03T08:22:01.124Z] experimental info: [2021-03-03T08:22:01.124Z] ------------------- [2021-03-03T08:22:01.124Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-03T08:22:01.124Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-03T08:22:01.124Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-03T08:22:01.430Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-03T08:22:01.536Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-03T08:22:01.647Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-03T08:22:01.748Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-03T08:22:01.845Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-03T08:22:01.973Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-03T08:22:02.072Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-03T08:22:02.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-03T08:22:02.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-03T08:22:02.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-03T08:22:02.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-03T08:22:02.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-03T08:22:02.687Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-03T08:22:02.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-03T08:22:02.883Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-03T08:22:02.987Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-03T08:22:03.083Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-03T08:22:03.179Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-03T08:22:03.275Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-03T08:22:03.386Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-03T08:22:03.487Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-03T08:22:03.583Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-03T08:22:03.728Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-03T08:22:03.864Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-03T08:22:03.964Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-03T08:22:04.059Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-03T08:22:04.155Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-804 [Pipeline] echo [2021-03-03T08:22:04.273Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-804 [Pipeline] echo [2021-03-03T08:22:04.377Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-804 [Pipeline] echo [2021-03-03T08:22:04.479Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 31a08261b41db6041274b3103071e8b7252d6267 [Pipeline] echo [2021-03-03T08:22:04.569Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 31a0826 [Pipeline] echo [2021-03-03T08:22:04.662Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-03T08:22:04.854Z] provisioning config files... [2021-03-03T08:22:04.880Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/config2707204476467918087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-03T08:22:05.256Z] ---> docker-login.sh [2021-03-03T08:22:05.256Z] nexus3.edgexfoundry.org:10001 [2021-03-03T08:22:05.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T08:22:05.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T08:22:05.782Z] Configure a credential helper to remove this warning. See [2021-03-03T08:22:05.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T08:22:05.782Z] [2021-03-03T08:22:05.782Z] Login Succeeded [2021-03-03T08:22:05.782Z] nexus3.edgexfoundry.org:10002 [2021-03-03T08:22:05.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T08:22:06.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T08:22:06.049Z] Configure a credential helper to remove this warning. See [2021-03-03T08:22:06.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T08:22:06.049Z] [2021-03-03T08:22:06.049Z] Login Succeeded [2021-03-03T08:22:06.049Z] nexus3.edgexfoundry.org:10003 [2021-03-03T08:22:06.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T08:22:06.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T08:22:06.049Z] Configure a credential helper to remove this warning. See [2021-03-03T08:22:06.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T08:22:06.049Z] [2021-03-03T08:22:06.049Z] Login Succeeded [2021-03-03T08:22:06.313Z] nexus3.edgexfoundry.org:10004 [2021-03-03T08:22:06.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T08:22:06.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T08:22:06.313Z] Configure a credential helper to remove this warning. See [2021-03-03T08:22:06.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T08:22:06.313Z] [2021-03-03T08:22:06.313Z] Login Succeeded [2021-03-03T08:22:06.313Z] docker.io [2021-03-03T08:22:06.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T08:22:06.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T08:22:06.838Z] Configure a credential helper to remove this warning. See [2021-03-03T08:22:06.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T08:22:06.838Z] [2021-03-03T08:22:06.838Z] Login Succeeded [2021-03-03T08:22:06.838Z] ---> docker-login.sh ends [Pipeline] } [2021-03-03T08:22:06.848Z] 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-03-03T08:22:07.702Z] + git log --format=format:%s -1 31a08261b41db6041274b3103071e8b7252d6267 [Pipeline] echo [2021-03-03T08:22:07.767Z] GIT_COMMIT: 31a08261b41db6041274b3103071e8b7252d6267, Commit Message: build: Upgrade the go-mod-core-contracts lib [Pipeline] echo [2021-03-03T08:22:07.815Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-03T08:22:08.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-03T08:22:08.770Z] [2021-03-03T08:22:08.770Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-03T08:22:09.127Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-03T08:22:09.127Z] latest: Pulling from edgex-devops/git-semver [2021-03-03T08:22:09.127Z] 31603596830f: Pulling fs layer [2021-03-03T08:22:09.127Z] 2a8b12db71e7: Pulling fs layer [2021-03-03T08:22:09.127Z] 6ca5941a6612: Pulling fs layer [2021-03-03T08:22:09.127Z] ecc8261a40a4: Pulling fs layer [2021-03-03T08:22:09.127Z] ecc8261a40a4: Waiting [2021-03-03T08:22:09.127Z] 2a8b12db71e7: Verifying Checksum [2021-03-03T08:22:09.127Z] 2a8b12db71e7: Download complete [2021-03-03T08:22:09.390Z] 31603596830f: Verifying Checksum [2021-03-03T08:22:09.390Z] 31603596830f: Download complete [2021-03-03T08:22:09.390Z] 6ca5941a6612: Verifying Checksum [2021-03-03T08:22:09.390Z] 6ca5941a6612: Download complete [2021-03-03T08:22:09.390Z] ecc8261a40a4: Verifying Checksum [2021-03-03T08:22:09.390Z] ecc8261a40a4: Download complete [2021-03-03T08:22:09.967Z] 31603596830f: Pull complete [2021-03-03T08:22:10.233Z] 2a8b12db71e7: Pull complete [2021-03-03T08:22:11.214Z] 6ca5941a6612: Pull complete [2021-03-03T08:22:11.479Z] ecc8261a40a4: Pull complete [2021-03-03T08:22:11.479Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-03T08:22:11.479Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-03T08:22:11.479Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-03T08:22:11.668Z] prd-centos7-docker-4c-2g-28371 does not seem to be running inside a container [2021-03-03T08:22:11.725Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-804 -v /w/workspace/dgexfoundry_device-sdk-go_PR-804:/w/workspace/dgexfoundry_device-sdk-go_PR-804:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-03T08:22:14.046Z] $ docker top 7b3d22821c79a2a96b09b05d7693b505a4978da80ad2f14a3090aa31312e5c2e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-03T08:22:14.422Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-03T08:22:14.423Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-03T08:22:14.682Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-03T08:22:14.686Z] $ docker exec 7b3d22821c79a2a96b09b05d7693b505a4978da80ad2f14a3090aa31312e5c2e ssh-agent [2021-03-03T08:22:14.870Z] SSH_AUTH_SOCK=/tmp/ssh-qN77ZHoXu3Se/agent.12 [2021-03-03T08:22:14.870Z] SSH_AGENT_PID=17 [2021-03-03T08:22:14.882Z] Running ssh-add (command line suppressed) [2021-03-03T08:22:15.001Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/private_key_7905527061547153870.key (/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/private_key_7905527061547153870.key) [2021-03-03T08:22:15.055Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-03T08:22:15.399Z] + git tag --points-at HEAD [Pipeline] } [2021-03-03T08:22:15.425Z] $ docker exec --env ******** --env ******** 7b3d22821c79a2a96b09b05d7693b505a4978da80ad2f14a3090aa31312e5c2e ssh-agent -k [2021-03-03T08:22:15.537Z] unset SSH_AUTH_SOCK; [2021-03-03T08:22:15.538Z] unset SSH_AGENT_PID; [2021-03-03T08:22:15.538Z] echo Agent pid 17 killed; [2021-03-03T08:22:15.583Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-03T08:22:15.759Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-03T08:22:15.760Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-03T08:22:15.921Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-03T08:22:15.925Z] $ docker exec 7b3d22821c79a2a96b09b05d7693b505a4978da80ad2f14a3090aa31312e5c2e ssh-agent [2021-03-03T08:22:17.886Z] SSH_AUTH_SOCK=/tmp/ssh-ITVotYvZHHqz/agent.46 [2021-03-03T08:22:17.886Z] SSH_AGENT_PID=51 [2021-03-03T08:22:17.893Z] Running ssh-add (command line suppressed) [2021-03-03T08:22:18.020Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/private_key_7123536470171666443.key (/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/private_key_7123536470171666443.key) [2021-03-03T08:22:18.124Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-03T08:22:18.501Z] + git semver init [2021-03-03T08:22:18.501Z] # -> Open(): unable to determine branch for HEAD [2021-03-03T08:22:18.501Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-804/.git [2021-03-03T08:22:18.501Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-804 [2021-03-03T08:22:18.501Z] # $SEMVER_REMOTE_NAME = origin [2021-03-03T08:22:18.501Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-03T08:22:18.501Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-03T08:22:18.501Z] # $SEMVER_BRANCH = PR-804 [2021-03-03T08:22:18.501Z] # $SEMVER_TEMP = /tmp/semver-332360162 [2021-03-03T08:22:18.501Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-03T08:22:19.076Z] # '/tmp/semver-332360162' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-804/.semver' [2021-03-03T08:22:19.076Z] # -> Force: false [2021-03-03T08:22:19.076Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-804/.semver [Pipeline] } [2021-03-03T08:22:19.089Z] $ docker exec --env ******** --env ******** 7b3d22821c79a2a96b09b05d7693b505a4978da80ad2f14a3090aa31312e5c2e ssh-agent -k [2021-03-03T08:22:19.205Z] unset SSH_AUTH_SOCK; [2021-03-03T08:22:19.206Z] unset SSH_AGENT_PID; [2021-03-03T08:22:19.206Z] echo Agent pid 51 killed; [2021-03-03T08:22:19.256Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-03T08:22:19.755Z] + git semver [Pipeline] } [2021-03-03T08:22:19.773Z] $ docker stop --time=1 7b3d22821c79a2a96b09b05d7693b505a4978da80ad2f14a3090aa31312e5c2e [2021-03-03T08:22:21.200Z] $ docker rm -f 7b3d22821c79a2a96b09b05d7693b505a4978da80ad2f14a3090aa31312e5c2e [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-03T08:22:21.710Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-03T08:22:22.256Z] Stashed 1 file(s) [Pipeline] echo [2021-03-03T08:22:22.259Z] [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-03-03T08:22:37.791Z] Still waiting to schedule task [2021-03-03T08:22:37.791Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-28371’ [2021-03-03T08:22:37.793Z] Still waiting to schedule task [2021-03-03T08:22:37.793Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-03T08:24:20.020Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28372 in /w/workspace/dgexfoundry_device-sdk-go_PR-804 [Pipeline] { [Pipeline] ws [2021-03-03T08:24:20.144Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-03-03T08:24:25.159Z] using credential edgex-jenkins-ssh [2021-03-03T08:24:25.226Z] Cloning the remote Git repository [2021-03-03T08:24:25.287Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-03T08:24:25.390Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-03-03T08:24:25.476Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-03T08:24:25.477Z] > git --version # timeout=10 [2021-03-03T08:24:25.499Z] > git --version # 'git version 2.17.1' [2021-03-03T08:24:25.500Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T08:24:25.584Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-03T08:24:27.304Z] Merging remotes/origin/master commit d38291b108151c678147caa989c3776b19aa5fc1 into PR head commit 31a08261b41db6041274b3103071e8b7252d6267 [2021-03-03T08:24:27.553Z] Merge succeeded, producing 31a08261b41db6041274b3103071e8b7252d6267 [2021-03-03T08:24:27.554Z] Checking out Revision 31a08261b41db6041274b3103071e8b7252d6267 (PR-804) [2021-03-03T08:24:26.596Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-03T08:24:26.614Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-03T08:24:26.639Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-03T08:24:26.671Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-03T08:24:26.672Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T08:24:26.683Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/804/head:refs/remotes/origin/PR-804 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-03T08:24:27.324Z] > git config core.sparsecheckout # timeout=10 [2021-03-03T08:24:27.343Z] > git checkout -f 31a08261b41db6041274b3103071e8b7252d6267 # timeout=10 [2021-03-03T08:24:27.463Z] > git remote # timeout=10 [2021-03-03T08:24:27.480Z] > git config --get remote.origin.url # timeout=10 [2021-03-03T08:24:27.499Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T08:24:27.509Z] > git merge d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 [2021-03-03T08:24:27.530Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-03T08:24:27.563Z] > git config core.sparsecheckout # timeout=10 [2021-03-03T08:24:27.626Z] > git checkout -f 31a08261b41db6041274b3103071e8b7252d6267 # timeout=10 [2021-03-03T08:24:32.021Z] Commit message: "build: Upgrade the go-mod-core-contracts lib" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-03T08:24:34.276Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-03T08:24:34.746Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-03T08:24:35.086Z] + true [2021-03-03T08:24:35.086Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-03T08:24:37.180Z] provisioning config files... [2021-03-03T08:24:37.221Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config3904791490466238284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-03T08:24:37.629Z] ---> docker-login.sh [2021-03-03T08:24:37.629Z] nexus3.edgexfoundry.org:10001 [2021-03-03T08:24:38.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T08:24:38.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T08:24:38.892Z] Configure a credential helper to remove this warning. See [2021-03-03T08:24:38.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T08:24:38.892Z] [2021-03-03T08:24:38.892Z] Login Succeeded [2021-03-03T08:24:38.892Z] nexus3.edgexfoundry.org:10002 [2021-03-03T08:24:39.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T08:24:39.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T08:24:39.443Z] Configure a credential helper to remove this warning. See [2021-03-03T08:24:39.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T08:24:39.443Z] [2021-03-03T08:24:39.443Z] Login Succeeded [2021-03-03T08:24:39.443Z] nexus3.edgexfoundry.org:10003 [2021-03-03T08:24:39.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T08:24:39.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T08:24:39.989Z] Configure a credential helper to remove this warning. See [2021-03-03T08:24:39.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T08:24:39.989Z] [2021-03-03T08:24:39.989Z] Login Succeeded [2021-03-03T08:24:39.989Z] nexus3.edgexfoundry.org:10004 [2021-03-03T08:24:40.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T08:24:40.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T08:24:40.261Z] Configure a credential helper to remove this warning. See [2021-03-03T08:24:40.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T08:24:40.261Z] [2021-03-03T08:24:40.261Z] Login Succeeded [2021-03-03T08:24:40.261Z] docker.io [2021-03-03T08:24:40.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T08:24:41.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T08:24:41.126Z] Configure a credential helper to remove this warning. See [2021-03-03T08:24:41.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T08:24:41.126Z] [2021-03-03T08:24:41.126Z] Login Succeeded [2021-03-03T08:24:41.126Z] ---> docker-login.sh ends [Pipeline] } [2021-03-03T08:24:41.144Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-03T08:24:41.668Z] ========================================================= [2021-03-03T08:24:41.668Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-03T08:24:41.668Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-03T08:24:42.057Z] + 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-03-03T08:24:42.332Z] Sending build context to Docker daemon 2.461MB [2021-03-03T08:24:42.604Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-03T08:24:42.604Z] Step 2/8 : FROM ${BASE} [2021-03-03T08:24:42.604Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-03T08:24:42.604Z] 5f621e34cdf4: Pulling fs layer [2021-03-03T08:24:42.604Z] a4357932f1b6: Pulling fs layer [2021-03-03T08:24:42.604Z] 18c013af1878: Pulling fs layer [2021-03-03T08:24:42.604Z] 00ac8860ef70: Pulling fs layer [2021-03-03T08:24:42.604Z] 63d7cb157983: Pulling fs layer [2021-03-03T08:24:42.604Z] b116817d02f9: Pulling fs layer [2021-03-03T08:24:42.604Z] 745a02a5169b: Pulling fs layer [2021-03-03T08:24:42.604Z] 63d7cb157983: Waiting [2021-03-03T08:24:42.604Z] b116817d02f9: Waiting [2021-03-03T08:24:42.604Z] 745a02a5169b: Waiting [2021-03-03T08:24:42.604Z] 00ac8860ef70: Waiting [2021-03-03T08:24:42.604Z] 18c013af1878: Download complete [2021-03-03T08:24:42.604Z] a4357932f1b6: Download complete [2021-03-03T08:24:42.604Z] 63d7cb157983: Verifying Checksum [2021-03-03T08:24:42.604Z] 63d7cb157983: Download complete [2021-03-03T08:24:43.204Z] b116817d02f9: Verifying Checksum [2021-03-03T08:24:43.204Z] b116817d02f9: Download complete [2021-03-03T08:24:43.204Z] 5f621e34cdf4: Verifying Checksum [2021-03-03T08:24:43.204Z] 5f621e34cdf4: Download complete [2021-03-03T08:24:44.198Z] 5f621e34cdf4: Pull complete [2021-03-03T08:24:44.482Z] a4357932f1b6: Pull complete [2021-03-03T08:24:45.088Z] 18c013af1878: Pull complete [2021-03-03T08:24:45.686Z] 745a02a5169b: Verifying Checksum [2021-03-03T08:24:45.687Z] 745a02a5169b: Download complete [2021-03-03T08:24:47.123Z] 00ac8860ef70: Verifying Checksum [2021-03-03T08:24:47.123Z] 00ac8860ef70: Download complete [2021-03-03T08:24:57.320Z] 00ac8860ef70: Pull complete [2021-03-03T08:24:57.320Z] 63d7cb157983: Pull complete [2021-03-03T08:24:57.593Z] b116817d02f9: Pull complete [2021-03-03T08:24:59.749Z] Running on prd-centos7-docker-4c-2g-28373 in /w/workspace/dgexfoundry_device-sdk-go_PR-804 [Pipeline] { [Pipeline] ws [2021-03-03T08:24:59.857Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-03-03T08:25:01.978Z] 745a02a5169b: Pull complete [2021-03-03T08:25:01.978Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-03T08:25:01.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-03T08:25:01.978Z] ---> b7e6874047d6 [2021-03-03T08:25:01.978Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-03T08:25:02.415Z] using credential edgex-jenkins-ssh [2021-03-03T08:25:02.487Z] Cloning the remote Git repository [2021-03-03T08:25:02.376Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-03T08:25:02.461Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-03-03T08:25:02.538Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-03T08:25:02.539Z] > git --version # timeout=10 [2021-03-03T08:25:02.548Z] > git --version # 'git version 2.24.3' [2021-03-03T08:25:02.549Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T08:25:02.591Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-03T08:25:04.606Z] ---> Running in dd7f7bd627f6 [2021-03-03T08:25:04.606Z] Removing intermediate container dd7f7bd627f6 [2021-03-03T08:25:04.606Z] ---> 9faedee6123a [2021-03-03T08:25:04.606Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-03T08:25:04.877Z] ---> Running in f75daea6a2c7 [2021-03-03T08:25:05.250Z] Merging remotes/origin/master commit d38291b108151c678147caa989c3776b19aa5fc1 into PR head commit 31a08261b41db6041274b3103071e8b7252d6267 [2021-03-03T08:25:05.354Z] Merge succeeded, producing 31a08261b41db6041274b3103071e8b7252d6267 [2021-03-03T08:25:05.355Z] Checking out Revision 31a08261b41db6041274b3103071e8b7252d6267 (PR-804) [2021-03-03T08:25:04.631Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-03T08:25:04.641Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-03T08:25:04.652Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-03T08:25:04.665Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-03T08:25:04.665Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T08:25:04.671Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/804/head:refs/remotes/origin/PR-804 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-03T08:25:05.261Z] > git config core.sparsecheckout # timeout=10 [2021-03-03T08:25:05.267Z] > git checkout -f 31a08261b41db6041274b3103071e8b7252d6267 # timeout=10 [2021-03-03T08:25:05.324Z] > git remote # timeout=10 [2021-03-03T08:25:05.329Z] > git config --get remote.origin.url # timeout=10 [2021-03-03T08:25:05.336Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T08:25:05.340Z] > git merge d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 [2021-03-03T08:25:05.350Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-03T08:25:05.360Z] > git config core.sparsecheckout # timeout=10 [2021-03-03T08:25:05.366Z] > git checkout -f 31a08261b41db6041274b3103071e8b7252d6267 # timeout=10 [2021-03-03T08:25:06.856Z] Removing intermediate container f75daea6a2c7 [2021-03-03T08:25:06.856Z] ---> 0010514fa283 [2021-03-03T08:25:06.856Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-03T08:25:07.130Z] ---> Running in ebecd2f176df [2021-03-03T08:25:08.106Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-03T08:25:09.064Z] Commit message: "build: Upgrade the go-mod-core-contracts lib" [2021-03-03T08:25:09.081Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-03T08:25:09.692Z] OK: 142 MiB in 39 packages [2021-03-03T08:25:10.279Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-03T08:25:10.619Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-03T08:25:10.671Z] Removing intermediate container ebecd2f176df [2021-03-03T08:25:10.671Z] ---> 26b278b083b3 [2021-03-03T08:25:10.671Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-03T08:25:10.926Z] + true [2021-03-03T08:25:10.926Z] + sudo service docker restart [2021-03-03T08:25:10.926Z] Redirecting to /bin/systemctl restart docker.service [2021-03-03T08:25:10.946Z] ---> Running in 814702755d66 [2021-03-03T08:25:11.541Z] Removing intermediate container 814702755d66 [2021-03-03T08:25:11.541Z] ---> 8343fc81c0d5 [2021-03-03T08:25:11.541Z] Step 7/8 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-03T08:25:11.952Z] provisioning config files... [2021-03-03T08:25:11.988Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config1954349598429262872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-03T08:25:12.366Z] ---> docker-login.sh [2021-03-03T08:25:12.366Z] nexus3.edgexfoundry.org:10001 [2021-03-03T08:25:12.526Z] ---> 906c0897f9a9 [2021-03-03T08:25:12.527Z] Step 8/8 : RUN go mod download [2021-03-03T08:25:12.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T08:25:12.801Z] ---> Running in be240e7eedb8 [2021-03-03T08:25:12.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T08:25:12.894Z] Configure a credential helper to remove this warning. See [2021-03-03T08:25:12.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T08:25:12.894Z] [2021-03-03T08:25:12.894Z] Login Succeeded [2021-03-03T08:25:12.894Z] nexus3.edgexfoundry.org:10002 [2021-03-03T08:25:12.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T08:25:12.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T08:25:12.894Z] Configure a credential helper to remove this warning. See [2021-03-03T08:25:12.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T08:25:12.894Z] [2021-03-03T08:25:12.894Z] Login Succeeded [2021-03-03T08:25:12.894Z] nexus3.edgexfoundry.org:10003 [2021-03-03T08:25:13.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T08:25:13.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T08:25:13.158Z] Configure a credential helper to remove this warning. See [2021-03-03T08:25:13.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T08:25:13.158Z] [2021-03-03T08:25:13.158Z] Login Succeeded [2021-03-03T08:25:13.158Z] nexus3.edgexfoundry.org:10004 [2021-03-03T08:25:13.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T08:25:13.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T08:25:13.424Z] Configure a credential helper to remove this warning. See [2021-03-03T08:25:13.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T08:25:13.424Z] [2021-03-03T08:25:13.424Z] Login Succeeded [2021-03-03T08:25:13.424Z] docker.io [2021-03-03T08:25:13.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T08:25:13.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T08:25:13.686Z] Configure a credential helper to remove this warning. See [2021-03-03T08:25:13.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T08:25:13.687Z] [2021-03-03T08:25:13.687Z] Login Succeeded [2021-03-03T08:25:13.687Z] ---> docker-login.sh ends [Pipeline] } [2021-03-03T08:25:13.696Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-03T08:25:14.068Z] ========================================================= [2021-03-03T08:25:14.068Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-03T08:25:14.068Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-03T08:25:14.439Z] + 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-03-03T08:25:14.440Z] Sending build context to Docker daemon 2.462MB [2021-03-03T08:25:14.704Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-03T08:25:14.704Z] Step 2/8 : FROM ${BASE} [2021-03-03T08:25:14.704Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-03T08:25:14.704Z] 188c0c94c7c5: Pulling fs layer [2021-03-03T08:25:14.704Z] 0ef7d3d256c8: Pulling fs layer [2021-03-03T08:25:14.704Z] de9db76c5a1d: Pulling fs layer [2021-03-03T08:25:14.704Z] bca2f99d35d6: Pulling fs layer [2021-03-03T08:25:14.704Z] 93359f2a8cfa: Pulling fs layer [2021-03-03T08:25:14.704Z] 7c6f9722023f: Pulling fs layer [2021-03-03T08:25:14.704Z] a35cf1a2eb13: Pulling fs layer [2021-03-03T08:25:14.704Z] 7c6f9722023f: Waiting [2021-03-03T08:25:14.704Z] 93359f2a8cfa: Waiting [2021-03-03T08:25:14.704Z] bca2f99d35d6: Waiting [2021-03-03T08:25:14.704Z] a35cf1a2eb13: Waiting [2021-03-03T08:25:14.704Z] de9db76c5a1d: Download complete [2021-03-03T08:25:14.704Z] 0ef7d3d256c8: Download complete [2021-03-03T08:25:14.704Z] 93359f2a8cfa: Verifying Checksum [2021-03-03T08:25:14.704Z] 93359f2a8cfa: Download complete [2021-03-03T08:25:14.704Z] 188c0c94c7c5: Verifying Checksum [2021-03-03T08:25:14.704Z] 188c0c94c7c5: Download complete [2021-03-03T08:25:14.704Z] 7c6f9722023f: Download complete [2021-03-03T08:25:14.966Z] 188c0c94c7c5: Pull complete [2021-03-03T08:25:15.229Z] 0ef7d3d256c8: Pull complete [2021-03-03T08:25:15.493Z] de9db76c5a1d: Pull complete [2021-03-03T08:25:16.893Z] a35cf1a2eb13: Verifying Checksum [2021-03-03T08:25:16.893Z] a35cf1a2eb13: Download complete [2021-03-03T08:25:17.471Z] bca2f99d35d6: Download complete [2021-03-03T08:25:22.837Z] bca2f99d35d6: Pull complete [2021-03-03T08:25:23.101Z] 93359f2a8cfa: Pull complete [2021-03-03T08:25:23.101Z] 7c6f9722023f: Pull complete [2021-03-03T08:25:27.341Z] a35cf1a2eb13: Pull complete [2021-03-03T08:25:27.341Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-03T08:25:27.341Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-03T08:25:27.341Z] ---> a62c8e92a672 [2021-03-03T08:25:27.341Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-03T08:25:27.606Z] ---> Running in eb939ea180b3 [2021-03-03T08:25:27.870Z] Removing intermediate container eb939ea180b3 [2021-03-03T08:25:27.870Z] ---> 49054c7003eb [2021-03-03T08:25:27.870Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-03T08:25:27.870Z] ---> Running in 355659ec3943 [2021-03-03T08:25:29.282Z] Removing intermediate container 355659ec3943 [2021-03-03T08:25:29.282Z] ---> 1569323b403b [2021-03-03T08:25:29.282Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-03T08:25:29.282Z] ---> Running in 0f1baaccb621 [2021-03-03T08:25:30.236Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-03T08:25:30.812Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-03T08:25:31.390Z] OK: 166 MiB in 39 packages [2021-03-03T08:25:31.654Z] Removing intermediate container 0f1baaccb621 [2021-03-03T08:25:31.654Z] ---> cdde25827b6b [2021-03-03T08:25:31.654Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-03T08:25:31.654Z] ---> Running in 350daa3be877 [2021-03-03T08:25:31.918Z] Removing intermediate container 350daa3be877 [2021-03-03T08:25:31.918Z] ---> 362efd1607ae [2021-03-03T08:25:31.918Z] Step 7/8 : COPY . . [2021-03-03T08:25:33.314Z] ---> 3c22049194da [2021-03-03T08:25:33.314Z] Step 8/8 : RUN go mod download [2021-03-03T08:25:33.314Z] ---> Running in e873661368ab [2021-03-03T08:25:39.588Z] Removing intermediate container be240e7eedb8 [2021-03-03T08:25:39.588Z] ---> 9975b95a680f [2021-03-03T08:25:39.588Z] Successfully built 9975b95a680f [2021-03-03T08:25:39.588Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-03T08:25:39.926Z] + docker inspect -f . ci-base-image-arm64 [2021-03-03T08:25:39.927Z] . [Pipeline] withDockerContainer [2021-03-03T08:25:40.165Z] prd-ubuntu18.04-docker-arm64-4c-16g-28372 does not seem to be running inside a container [2021-03-03T08:25:40.267Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-03T08:25:41.711Z] $ docker top 08091f99e9a700208d8fbf8653370c8e49327b3f097a21cf7d8fdc3084627827 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-03T08:25:42.780Z] + go version [2021-03-03T08:25:42.781Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-03T08:25:42.815Z] $ docker stop --time=1 08091f99e9a700208d8fbf8653370c8e49327b3f097a21cf7d8fdc3084627827 [2021-03-03T08:25:44.834Z] $ docker rm -f 08091f99e9a700208d8fbf8653370c8e49327b3f097a21cf7d8fdc3084627827 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-03T08:25:45.837Z] + docker inspect -f . ci-base-image-arm64 [2021-03-03T08:25:45.837Z] . [Pipeline] withDockerContainer [2021-03-03T08:25:46.107Z] prd-ubuntu18.04-docker-arm64-4c-16g-28372 does not seem to be running inside a container [2021-03-03T08:25:46.197Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-03T08:25:47.675Z] $ docker top 74349f1a7917c98cbb882c3e7de26a11eef7bc6e00c085d464e73079e7a66b77 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-03T08:25:48.677Z] + make test [2021-03-03T08:25:48.677Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-03T08:25:55.391Z] Removing intermediate container e873661368ab [2021-03-03T08:25:55.391Z] ---> 7bf98f0f8b17 [2021-03-03T08:25:55.391Z] Successfully built 7bf98f0f8b17 [2021-03-03T08:25:55.391Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-03T08:25:55.835Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-03T08:25:55.835Z] . [Pipeline] withDockerContainer [2021-03-03T08:25:56.096Z] prd-centos7-docker-4c-2g-28373 does not seem to be running inside a container [2021-03-03T08:25:56.153Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-03T08:25:56.980Z] $ docker top 5283045aa9ec42776844e3b68a7ebd3872fcce91f39e81f04adf6c4065ce9e0d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-03T08:25:57.480Z] + go version [2021-03-03T08:25:57.480Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-03T08:25:57.497Z] $ docker stop --time=1 5283045aa9ec42776844e3b68a7ebd3872fcce91f39e81f04adf6c4065ce9e0d [2021-03-03T08:25:58.870Z] $ docker rm -f 5283045aa9ec42776844e3b68a7ebd3872fcce91f39e81f04adf6c4065ce9e0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-03T08:25:59.707Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-03T08:25:59.708Z] . [Pipeline] withDockerContainer [2021-03-03T08:25:59.809Z] prd-centos7-docker-4c-2g-28373 does not seem to be running inside a container [2021-03-03T08:25:59.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-03T08:26:00.644Z] $ docker top d019e1f6e51b828a0758b036d1e1bbac098ae3fab30a25d17cac23684b720e4b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-03T08:26:01.196Z] + make test [2021-03-03T08:26:01.196Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-03T08:26:09.457Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-03T08:26:10.933Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-03T08:26:24.540Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-03T08:26:24.540Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-03T08:26:24.540Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-03T08:26:28.835Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 25.5% of statements [2021-03-03T08:26:50.002Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-03T08:26:50.002Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-03T08:26:50.002Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-03T08:26:55.443Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.123s coverage: 25.5% of statements [2021-03-03T08:26:55.505Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.069s coverage: 10.5% of statements [2021-03-03T08:26:55.505Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.053s coverage: 12.5% of statements [2021-03-03T08:26:55.505Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-03T08:26:55.505Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.069s coverage: 84.8% of statements [2021-03-03T08:26:55.505Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-03T08:26:55.505Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-03-03T08:26:55.505Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-03T08:26:55.505Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-03T08:26:55.505Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.077s coverage: 48.7% of statements [2021-03-03T08:26:55.505Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-03T08:26:55.505Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.075s coverage: 81.3% of statements [2021-03-03T08:26:55.505Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.093s coverage: 24.8% of statements [2021-03-03T08:26:55.505Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.769s coverage: 83.5% of statements [2021-03-03T08:26:55.505Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.067s coverage: 5.2% of statements [2021-03-03T08:26:55.505Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-03T08:26:55.505Z] GO111MODULE=on go vet ./... [2021-03-03T08:27:07.891Z] gofmt -l . [2021-03-03T08:27:07.891Z] [ "`gofmt -l .`" = "" ] [2021-03-03T08:27:07.891Z] ./bin/test-attribution-txt.sh [2021-03-03T08:27:07.891Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-03T08:27:08.177Z] $ docker stop --time=1 d019e1f6e51b828a0758b036d1e1bbac098ae3fab30a25d17cac23684b720e4b [2021-03-03T08:27:10.177Z] $ docker rm -f d019e1f6e51b828a0758b036d1e1bbac098ae3fab30a25d17cac23684b720e4b [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-03T08:27:10.928Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-03T08:27:11.396Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-03T08:27:14.574Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-03T08:27:14.880Z] + ls -al . [2021-03-03T08:27:14.880Z] total 188 [2021-03-03T08:27:14.880Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 3 08:27 . [2021-03-03T08:27:14.880Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 3 08:25 .. [2021-03-03T08:27:14.880Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 3 08:25 bin [2021-03-03T08:27:14.880Z] -rw-r--r--. 1 jenkins jenkins 102528 Mar 3 08:26 coverage.out [2021-03-03T08:27:14.880Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 3 08:25 Dockerfile.build [2021-03-03T08:27:14.880Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 3 08:25 .dockerignore [2021-03-03T08:27:14.880Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 3 08:25 example [2021-03-03T08:27:14.880Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 3 08:25 .git [2021-03-03T08:27:14.880Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 3 08:25 .github [2021-03-03T08:27:14.880Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 3 08:25 .gitignore [2021-03-03T08:27:14.880Z] -rw-r--r--. 1 jenkins jenkins 516 Mar 3 08:27 go.mod [2021-03-03T08:27:14.880Z] -rw-r--r--. 1 jenkins jenkins 17372 Mar 3 08:27 go.sum [2021-03-03T08:27:14.880Z] drwxrwxr-x. 13 jenkins jenkins 183 Mar 3 08:25 internal [2021-03-03T08:27:14.880Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 3 08:25 Jenkinsfile [2021-03-03T08:27:14.880Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 3 08:25 LICENSE [2021-03-03T08:27:14.880Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 3 08:25 Makefile [2021-03-03T08:27:14.880Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 3 08:25 openapi [2021-03-03T08:27:14.880Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 3 08:25 pkg [2021-03-03T08:27:14.880Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 3 08:25 README.md [2021-03-03T08:27:14.880Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 3 08:25 RELEASE-NOTES.txt [2021-03-03T08:27:14.880Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 3 08:25 snap [2021-03-03T08:27:14.880Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 3 08:22 VERSION [2021-03-03T08:27:14.880Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 3 08:25 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-03T08:27:15.193Z] + 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=31a08261b41db6041274b3103071e8b7252d6267 --label arch=amd64 --label version=0.0.0 . [2021-03-03T08:27:15.456Z] Sending build context to Docker daemon 2.565MB [2021-03-03T08:27:15.456Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-03T08:27:15.456Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-03T08:27:15.456Z] ---> 7bf98f0f8b17 [2021-03-03T08:27:15.456Z] Step 3/24 : ARG MAKE='make build' [2021-03-03T08:27:16.037Z] ---> Running in 7ddc6060b48e [2021-03-03T08:27:16.300Z] Removing intermediate container 7ddc6060b48e [2021-03-03T08:27:16.300Z] ---> 246b08c02719 [2021-03-03T08:27:16.300Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-03T08:27:16.300Z] ---> Running in 45c294ba46f1 [2021-03-03T08:27:16.564Z] Removing intermediate container 45c294ba46f1 [2021-03-03T08:27:16.564Z] ---> a01fc70da75c [2021-03-03T08:27:16.564Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-03T08:27:16.564Z] ---> Running in e88ba62d4d3a [2021-03-03T08:27:16.836Z] Removing intermediate container e88ba62d4d3a [2021-03-03T08:27:16.836Z] ---> e683ed3f1cbb [2021-03-03T08:27:16.836Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-03T08:27:16.836Z] ---> Running in fee74c15e30d [2021-03-03T08:27:18.240Z] Removing intermediate container fee74c15e30d [2021-03-03T08:27:18.240Z] ---> 4ea890168ddc [2021-03-03T08:27:18.240Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-03T08:27:18.240Z] ---> Running in e254709a715d [2021-03-03T08:27:18.504Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-03T08:27:19.087Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-03T08:27:19.666Z] OK: 166 MiB in 39 packages [2021-03-03T08:27:19.930Z] Removing intermediate container e254709a715d [2021-03-03T08:27:19.930Z] ---> ad510fd9878b [2021-03-03T08:27:19.930Z] Step 8/24 : COPY . . [2021-03-03T08:27:20.902Z] ---> 002bdcffb7e7 [2021-03-03T08:27:20.902Z] Step 9/24 : RUN ${MAKE} [2021-03-03T08:27:20.902Z] ---> Running in 5c4ce7c7d41a [2021-03-03T08:27:21.484Z] CGO_ENABLED=0 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-03-03T08:27:27.829Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.176s coverage: 10.5% of statements [2021-03-03T08:27:27.829Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.109s coverage: 12.5% of statements [2021-03-03T08:27:27.829Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-03T08:27:27.829Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.144s coverage: 84.8% of statements [2021-03-03T08:27:27.829Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-03T08:27:27.829Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-03-03T08:27:27.829Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-03T08:27:27.829Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-03T08:27:27.829Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.182s coverage: 48.7% of statements [2021-03-03T08:27:27.829Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-03T08:27:27.829Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.157s coverage: 81.3% of statements [2021-03-03T08:27:27.829Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.175s coverage: 24.8% of statements [2021-03-03T08:27:27.829Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.839s coverage: 83.5% of statements [2021-03-03T08:27:27.829Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.132s coverage: 5.2% of statements [2021-03-03T08:27:27.829Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-03T08:27:27.829Z] GO111MODULE=on go vet ./... [2021-03-03T08:27:31.634Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-03T08:27:33.032Z] Removing intermediate container 5c4ce7c7d41a [2021-03-03T08:27:33.032Z] ---> fe7dc6b3abe4 [2021-03-03T08:27:33.032Z] Step 10/24 : FROM scratch [2021-03-03T08:27:33.032Z] ---> [2021-03-03T08:27:33.032Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-03T08:27:33.032Z] ---> Running in 99f9624b21ae [2021-03-03T08:27:33.032Z] Removing intermediate container 99f9624b21ae [2021-03-03T08:27:33.032Z] ---> 307470a63d3d [2021-03-03T08:27:33.032Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-03T08:27:33.294Z] ---> Running in f8b166612420 [2021-03-03T08:27:33.295Z] Removing intermediate container f8b166612420 [2021-03-03T08:27:33.295Z] ---> 3d7895f667b7 [2021-03-03T08:27:33.295Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-03T08:27:33.295Z] ---> Running in 79e1d52a3ea4 [2021-03-03T08:27:33.558Z] Removing intermediate container 79e1d52a3ea4 [2021-03-03T08:27:33.558Z] ---> 4da38129675a [2021-03-03T08:27:33.558Z] Step 14/24 : WORKDIR / [2021-03-03T08:27:33.558Z] ---> Running in 4cbb298aa2d3 [2021-03-03T08:27:33.823Z] Removing intermediate container 4cbb298aa2d3 [2021-03-03T08:27:33.823Z] ---> 28acd5a28944 [2021-03-03T08:27:33.823Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-03T08:27:34.399Z] ---> b11ee07a790b [2021-03-03T08:27:34.399Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-03T08:27:34.399Z] ---> 3a2351fa9ebd [2021-03-03T08:27:34.399Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-03T08:27:34.665Z] ---> f66b743c93f5 [2021-03-03T08:27:34.665Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-03T08:27:34.937Z] ---> 0278f3d15b99 [2021-03-03T08:27:34.937Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-03T08:27:35.202Z] ---> 2d9b1908f373 [2021-03-03T08:27:35.202Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-03T08:27:35.202Z] ---> Running in 17e7220e60fe [2021-03-03T08:27:35.465Z] Removing intermediate container 17e7220e60fe [2021-03-03T08:27:35.465Z] ---> d6282af68f22 [2021-03-03T08:27:35.465Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-03T08:27:35.465Z] ---> Running in 0ccc9f6e16ca [2021-03-03T08:27:35.728Z] Removing intermediate container 0ccc9f6e16ca [2021-03-03T08:27:35.728Z] ---> 147bd670c8be [2021-03-03T08:27:35.728Z] Step 22/24 : LABEL arch=amd64 [2021-03-03T08:27:35.728Z] ---> Running in adc32a04d1e1 [2021-03-03T08:27:35.991Z] Removing intermediate container adc32a04d1e1 [2021-03-03T08:27:35.991Z] ---> ac7b6727892b [2021-03-03T08:27:35.991Z] Step 23/24 : LABEL git_sha=31a08261b41db6041274b3103071e8b7252d6267 [2021-03-03T08:27:35.991Z] ---> Running in 9e94e17211bb [2021-03-03T08:27:36.255Z] Removing intermediate container 9e94e17211bb [2021-03-03T08:27:36.255Z] ---> 86141dffee20 [2021-03-03T08:27:36.255Z] Step 24/24 : LABEL version=0.0.0 [2021-03-03T08:27:36.255Z] ---> Running in f400ee123718 [2021-03-03T08:27:36.255Z] Removing intermediate container f400ee123718 [2021-03-03T08:27:36.255Z] ---> 947d09911b7c [2021-03-03T08:27:36.255Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-03T08:27:36.520Z] Successfully built 947d09911b7c [2021-03-03T08:27:36.520Z] 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-03-03T08:27:37.563Z] ---> job-cost.sh [2021-03-03T08:27:37.563Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-AqDW [2021-03-03T08:27:52.516Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-03T08:28:00.363Z] gofmt -l . [2021-03-03T08:28:00.363Z] [ "`gofmt -l .`" = "" ] [2021-03-03T08:28:00.363Z] ./bin/test-attribution-txt.sh [2021-03-03T08:28:00.363Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-03T08:28:00.392Z] $ docker stop --time=1 74349f1a7917c98cbb882c3e7de26a11eef7bc6e00c085d464e73079e7a66b77 [2021-03-03T08:28:02.523Z] $ docker rm -f 74349f1a7917c98cbb882c3e7de26a11eef7bc6e00c085d464e73079e7a66b77 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-03T08:28:03.697Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-03T08:28:03.799Z] Warning: overwriting stash ‘coverage-report’ [2021-03-03T08:28:04.617Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-03T08:28:05.340Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-03T08:28:05.677Z] + ls -al . [2021-03-03T08:28:05.677Z] total 224 [2021-03-03T08:28:05.677Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 3 08:27 . [2021-03-03T08:28:05.677Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 08:24 .. [2021-03-03T08:28:05.677Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 3 08:24 .dockerignore [2021-03-03T08:28:05.677Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 3 08:24 .git [2021-03-03T08:28:05.677Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 08:24 .github [2021-03-03T08:28:05.677Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 3 08:24 .gitignore [2021-03-03T08:28:05.677Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 3 08:24 Dockerfile.build [2021-03-03T08:28:05.677Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 3 08:24 Jenkinsfile [2021-03-03T08:28:05.677Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 3 08:24 LICENSE [2021-03-03T08:28:05.677Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 3 08:24 Makefile [2021-03-03T08:28:05.677Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 3 08:24 README.md [2021-03-03T08:28:05.677Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 3 08:24 RELEASE-NOTES.txt [2021-03-03T08:28:05.677Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 3 08:22 VERSION [2021-03-03T08:28:05.677Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 08:24 bin [2021-03-03T08:28:05.677Z] -rw-r--r-- 1 jenkins jenkins 102528 Mar 3 08:27 coverage.out [2021-03-03T08:28:05.677Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 08:24 example [2021-03-03T08:28:05.677Z] -rw-r--r-- 1 jenkins jenkins 516 Mar 3 08:27 go.mod [2021-03-03T08:28:05.677Z] -rw-r--r-- 1 jenkins jenkins 17372 Mar 3 08:27 go.sum [2021-03-03T08:28:05.677Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 3 08:24 internal [2021-03-03T08:28:05.677Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 08:24 openapi [2021-03-03T08:28:05.677Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 3 08:24 pkg [2021-03-03T08:28:05.677Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 08:24 snap [2021-03-03T08:28:05.677Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 3 08:24 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-03T08:28:06.066Z] + 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=31a08261b41db6041274b3103071e8b7252d6267 --label arch=arm64 --label version=0.0.0 . [2021-03-03T08:28:06.661Z] Sending build context to Docker daemon 2.564MB [2021-03-03T08:28:06.661Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-03T08:28:06.661Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-03T08:28:06.661Z] ---> 9975b95a680f [2021-03-03T08:28:06.661Z] Step 3/24 : ARG MAKE='make build' [2021-03-03T08:28:06.936Z] ---> Running in 1aa48cfd229d [2021-03-03T08:28:07.207Z] Removing intermediate container 1aa48cfd229d [2021-03-03T08:28:07.207Z] ---> 14fe85e86ca9 [2021-03-03T08:28:07.207Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-03T08:28:07.481Z] ---> Running in bc8064c44523 [2021-03-03T08:28:08.080Z] Removing intermediate container bc8064c44523 [2021-03-03T08:28:08.080Z] ---> cfba4bf769be [2021-03-03T08:28:08.080Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-03T08:28:08.080Z] ---> Running in 495524cb9eca [2021-03-03T08:28:08.674Z] Removing intermediate container 495524cb9eca [2021-03-03T08:28:08.674Z] ---> 6b626fee47d4 [2021-03-03T08:28:08.674Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-03T08:28:08.674Z] ---> Running in e86a1cbf8671 [2021-03-03T08:28:11.299Z] Removing intermediate container e86a1cbf8671 [2021-03-03T08:28:11.299Z] ---> 18901b9d76e7 [2021-03-03T08:28:11.299Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-03T08:28:11.299Z] ---> Running in 0b770ce1fd2a [2021-03-03T08:28:12.277Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-03T08:28:12.870Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-03T08:28:14.308Z] OK: 142 MiB in 39 packages [2021-03-03T08:28:15.291Z] Removing intermediate container 0b770ce1fd2a [2021-03-03T08:28:15.291Z] ---> cc105dd48a93 [2021-03-03T08:28:15.291Z] Step 8/24 : COPY . . [2021-03-03T08:28:16.722Z] ---> edc8af728cf3 [2021-03-03T08:28:16.722Z] Step 9/24 : RUN ${MAKE} [2021-03-03T08:28:16.722Z] ---> Running in 529731c41ad4 [2021-03-03T08:28:17.707Z] CGO_ENABLED=0 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-03-03T08:28:24.718Z] lf-activate-venv(): INFO: Adding /tmp/venv-AqDW/bin to PATH [2021-03-03T08:28:24.718Z] INFO: No Stack... [2021-03-03T08:28:24.718Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-03T08:28:24.718Z] INFO: Archiving Costs [Pipeline] sh [2021-03-03T08:28:25.043Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-03-03T08:28:25.043Z] + cut -d, -f6 [Pipeline] lock [2021-03-03T08:28:25.133Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-804-4-stack-cost] [2021-03-03T08:28:25.146Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-804-4-stack-cost] did not exist. Created. [2021-03-03T08:28:25.146Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-804-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-03T08:28:25.555Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-03T08:28:25.693Z] Stashed 1 file(s) [Pipeline] } [2021-03-03T08:28:25.705Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-804-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-03T08:28:44.516Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-03T08:28:45.488Z] Removing intermediate container 529731c41ad4 [2021-03-03T08:28:45.488Z] ---> 54c7367b992f [2021-03-03T08:28:45.488Z] Step 10/24 : FROM scratch [2021-03-03T08:28:45.488Z] ---> [2021-03-03T08:28:45.488Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-03T08:28:45.488Z] ---> Running in c5dcb08059aa [2021-03-03T08:28:46.085Z] Removing intermediate container c5dcb08059aa [2021-03-03T08:28:46.085Z] ---> dcf527bfd13e [2021-03-03T08:28:46.085Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-03T08:28:46.085Z] ---> Running in ed6fd01d71b3 [2021-03-03T08:28:46.358Z] Removing intermediate container ed6fd01d71b3 [2021-03-03T08:28:46.358Z] ---> 1c3b13439972 [2021-03-03T08:28:46.358Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-03T08:28:46.358Z] ---> Running in 57ff7defad42 [2021-03-03T08:28:46.948Z] Removing intermediate container 57ff7defad42 [2021-03-03T08:28:46.948Z] ---> d876f27ee039 [2021-03-03T08:28:46.948Z] Step 14/24 : WORKDIR / [2021-03-03T08:28:46.948Z] ---> Running in 95308467c54c [2021-03-03T08:28:47.542Z] Removing intermediate container 95308467c54c [2021-03-03T08:28:47.542Z] ---> d3d338156223 [2021-03-03T08:28:47.542Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-03T08:28:48.609Z] ---> 96b71c0ea8c8 [2021-03-03T08:28:48.609Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-03T08:28:49.202Z] ---> 5a50bfa7dc51 [2021-03-03T08:28:49.202Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-03T08:28:49.795Z] ---> b381d22047df [2021-03-03T08:28:49.795Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-03T08:28:50.392Z] ---> f5bc2f4b7494 [2021-03-03T08:28:50.392Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-03T08:28:51.371Z] ---> 4ee26b2befd2 [2021-03-03T08:28:51.371Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-03T08:28:51.371Z] ---> Running in b6f5d6ead283 [2021-03-03T08:28:51.643Z] Removing intermediate container b6f5d6ead283 [2021-03-03T08:28:51.643Z] ---> c5a6e0bbb256 [2021-03-03T08:28:51.643Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-03T08:28:51.916Z] ---> Running in 34e2bacd240e [2021-03-03T08:28:52.188Z] Removing intermediate container 34e2bacd240e [2021-03-03T08:28:52.188Z] ---> 188a27f9eebf [2021-03-03T08:28:52.188Z] Step 22/24 : LABEL arch=arm64 [2021-03-03T08:28:52.460Z] ---> Running in 7b6d1a835a88 [2021-03-03T08:28:52.733Z] Removing intermediate container 7b6d1a835a88 [2021-03-03T08:28:52.734Z] ---> e3f7c7c7241c [2021-03-03T08:28:52.734Z] Step 23/24 : LABEL git_sha=31a08261b41db6041274b3103071e8b7252d6267 [2021-03-03T08:28:53.009Z] ---> Running in 21911af93c18 [2021-03-03T08:28:53.604Z] Removing intermediate container 21911af93c18 [2021-03-03T08:28:53.604Z] ---> b5cad1700b0a [2021-03-03T08:28:53.604Z] Step 24/24 : LABEL version=0.0.0 [2021-03-03T08:28:53.604Z] ---> Running in 5785f28c3be8 [2021-03-03T08:28:54.197Z] Removing intermediate container 5785f28c3be8 [2021-03-03T08:28:54.197Z] ---> 67a1110b0d81 [2021-03-03T08:28:54.197Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-03T08:28:54.197Z] Successfully built 67a1110b0d81 [2021-03-03T08:28:54.197Z] 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-03-03T08:28:55.052Z] ---> job-cost.sh [2021-03-03T08:28:55.052Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-m6Gg [2021-03-03T08:29:34.034Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-03T08:31:40.849Z] lf-activate-venv(): INFO: Adding /tmp/venv-m6Gg/bin to PATH [2021-03-03T08:31:40.849Z] INFO: No Stack... [2021-03-03T08:31:40.849Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-03T08:31:40.849Z] INFO: Archiving Costs [Pipeline] sh [2021-03-03T08:31:41.196Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-03-03T08:31:41.196Z] + cut -d, -f6 [Pipeline] lock [2021-03-03T08:31:41.311Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-804-4-stack-cost] [2021-03-03T08:31:41.320Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-804-4-stack-cost] did not exist. Created. [2021-03-03T08:31:41.320Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-804-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-03T08:31:41.790Z] /w/workspace/device-sdk-go/4@tmp/durable-65de2089/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-65de2089/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-03T08:31:42.142Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-03T08:31:42.163Z] Warning: overwriting stash ‘stack-cost’ [2021-03-03T08:31:42.329Z] Stashed 1 file(s) [Pipeline] } [2021-03-03T08:31:42.342Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-804-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-03T08:31:43.803Z] provisioning config files... [2021-03-03T08:31:43.815Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/config5211932518076526507tmp [Pipeline] { [Pipeline] sh [2021-03-03T08:31:44.278Z] + set +x [2021-03-03T08:31:44.278Z] + curl -s https://codecov.io/bash [2021-03-03T08:31:44.278Z] + bash -s -- [2021-03-03T08:31:44.542Z] [2021-03-03T08:31:44.542Z] _____ _ [2021-03-03T08:31:44.542Z] / ____| | | [2021-03-03T08:31:44.542Z] | | ___ __| | ___ ___ _____ __ [2021-03-03T08:31:44.542Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-03T08:31:44.542Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-03T08:31:44.542Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-03T08:31:44.542Z] Bash-20210226-7100762 [2021-03-03T08:31:44.542Z] [2021-03-03T08:31:44.542Z] [2021-03-03T08:31:44.542Z] ==> git version 2.24.3 found [2021-03-03T08:31:44.542Z] ==> 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-03-03T08:31:44.542Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-03T08:31:44.542Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-03T08:31:44.542Z] ==> Jenkins CI detected. [2021-03-03T08:31:44.542Z] project root: . [2021-03-03T08:31:44.542Z] --> token set from env [2021-03-03T08:31:44.542Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-03T08:31:44.542Z] ==> Running gcov in . (disable via -X gcov) [2021-03-03T08:31:44.542Z] ==> Python coveragepy not found [2021-03-03T08:31:44.542Z] ==> Searching for coverage reports in: [2021-03-03T08:31:44.542Z] + . [2021-03-03T08:31:44.542Z] -> Found 1 reports [2021-03-03T08:31:44.542Z] ==> Detecting git/mercurial file structure [2021-03-03T08:31:44.542Z] ==> Reading reports [2021-03-03T08:31:44.542Z] + ./coverage.out bytes=102528 [2021-03-03T08:31:44.542Z] ==> Appending adjustments [2021-03-03T08:31:44.542Z] https://docs.codecov.io/docs/fixing-reports [2021-03-03T08:31:45.124Z] + Found adjustments [2021-03-03T08:31:45.125Z] ==> Gzipping contents [2021-03-03T08:31:45.125Z] 20K /tmp/codecov.TT5GvM.gz [2021-03-03T08:31:45.125Z] ==> Uploading reports [2021-03-03T08:31:45.125Z] url: https://codecov.io [2021-03-03T08:31:45.125Z] query: branch=PR-804&commit=31a08261b41db6041274b3103071e8b7252d6267&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-804%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=804&job=&cmd_args= [2021-03-03T08:31:45.125Z] -> Pinging Codecov [2021-03-03T08:31:45.125Z] https://codecov.io/upload/v4?package=bash-20210226-7100762&token=secret&branch=PR-804&commit=31a08261b41db6041274b3103071e8b7252d6267&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-804%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=804&job=&cmd_args= [2021-03-03T08:31:45.388Z] -> Uploading to [2021-03-03T08:31:45.388Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-03/7E55EF52A471D76F132DFD9A03CDDE97/31a08261b41db6041274b3103071e8b7252d6267/e102b808-4dbd-4f93-8f9a-2a69c0e217ac.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210303%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210303T083145Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cf773c1ca6c3173082291f88c07ad1108b061959f81514887b2f4cc9f4fad3c9 [2021-03-03T08:31:45.388Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-03T08:31:45.388Z] Dload Upload Total Spent Left Speed [2021-03-03T08:31:45.917Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16582 0 0 100 16582 0 32286 --:--:-- --:--:-- --:--:-- 32260 [2021-03-03T08:31:45.917Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/31a08261b41db6041274b3103071e8b7252d6267 [Pipeline] } [2021-03-03T08:31:45.929Z] 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-03-03T08:31:48.471Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T08:31:48.782Z] ---> package-listing.sh [2021-03-03T08:31:48.782Z] ++ facter osfamily [2021-03-03T08:31:48.782Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-03T08:31:48.782Z] + OS_FAMILY=redhat [2021-03-03T08:31:48.782Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-804 [2021-03-03T08:31:48.782Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-03T08:31:48.782Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-03T08:31:48.782Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-03T08:31:48.782Z] + PACKAGES=/tmp/packages_start.txt [2021-03-03T08:31:48.782Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-804 ']' [2021-03-03T08:31:48.783Z] + PACKAGES=/tmp/packages_end.txt [2021-03-03T08:31:48.783Z] + case "${OS_FAMILY}" in [2021-03-03T08:31:48.783Z] + rpm -qa [2021-03-03T08:31:48.783Z] + sort [2021-03-03T08:31:54.106Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-03T08:31:54.106Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-03T08:31:54.106Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-03T08:31:54.106Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-804 ']' [2021-03-03T08:31:54.106Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-804/archives/ [2021-03-03T08:31:54.106Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-804/archives/ [Pipeline] echo [2021-03-03T08:31:54.121Z] 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-804/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-03T08:31:54.418Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-03T08:31:54.732Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-03T08:31:54.732Z] [2021-03-03T08:31:54.732Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-03T08:31:55.084Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-03T08:31:55.084Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-03T08:31:55.084Z] df20fa9351a1: Pulling fs layer [2021-03-03T08:31:55.084Z] 36b3adc4ff6f: Pulling fs layer [2021-03-03T08:31:55.084Z] 8ad3a11d3b57: Pulling fs layer [2021-03-03T08:31:55.084Z] 46f8f816bc3b: Pulling fs layer [2021-03-03T08:31:55.084Z] 93b61091891f: Pulling fs layer [2021-03-03T08:31:55.084Z] 93b9cdb0e59b: Pulling fs layer [2021-03-03T08:31:55.084Z] 5e14af77c1be: Pulling fs layer [2021-03-03T08:31:55.084Z] 01666e4c0597: Pulling fs layer [2021-03-03T08:31:55.084Z] aa168da1d23b: Pulling fs layer [2021-03-03T08:31:55.084Z] 93b61091891f: Waiting [2021-03-03T08:31:55.084Z] 93b9cdb0e59b: Waiting [2021-03-03T08:31:55.084Z] 5e14af77c1be: Waiting [2021-03-03T08:31:55.084Z] aa168da1d23b: Waiting [2021-03-03T08:31:55.084Z] 01666e4c0597: Waiting [2021-03-03T08:31:55.084Z] 36b3adc4ff6f: Verifying Checksum [2021-03-03T08:31:55.084Z] 36b3adc4ff6f: Download complete [2021-03-03T08:31:55.084Z] 46f8f816bc3b: Download complete [2021-03-03T08:31:55.348Z] df20fa9351a1: Download complete [2021-03-03T08:31:55.348Z] 93b9cdb0e59b: Verifying Checksum [2021-03-03T08:31:55.348Z] 93b9cdb0e59b: Download complete [2021-03-03T08:31:55.348Z] 93b61091891f: Download complete [2021-03-03T08:31:55.348Z] 5e14af77c1be: Download complete [2021-03-03T08:31:55.348Z] 01666e4c0597: Verifying Checksum [2021-03-03T08:31:55.348Z] 01666e4c0597: Download complete [2021-03-03T08:31:55.613Z] df20fa9351a1: Pull complete [2021-03-03T08:31:55.877Z] 36b3adc4ff6f: Pull complete [2021-03-03T08:31:55.877Z] 8ad3a11d3b57: Verifying Checksum [2021-03-03T08:31:55.877Z] 8ad3a11d3b57: Download complete [2021-03-03T08:31:56.840Z] 8ad3a11d3b57: Pull complete [2021-03-03T08:31:57.428Z] 46f8f816bc3b: Pull complete [2021-03-03T08:31:58.009Z] aa168da1d23b: Verifying Checksum [2021-03-03T08:31:58.009Z] aa168da1d23b: Download complete [2021-03-03T08:31:58.009Z] 93b61091891f: Pull complete [2021-03-03T08:31:58.009Z] 93b9cdb0e59b: Pull complete [2021-03-03T08:31:58.271Z] 5e14af77c1be: Pull complete [2021-03-03T08:31:58.271Z] 01666e4c0597: Pull complete [2021-03-03T08:32:06.476Z] aa168da1d23b: Pull complete [2021-03-03T08:32:06.476Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-03T08:32:06.476Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-03T08:32:06.476Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-03T08:32:06.713Z] prd-centos7-docker-4c-2g-28371 does not seem to be running inside a container [2021-03-03T08:32:06.762Z] $ 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-804/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-804 -v /w/workspace/dgexfoundry_device-sdk-go_PR-804:/w/workspace/dgexfoundry_device-sdk-go_PR-804:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-03T08:32:10.023Z] $ docker top 3911a05f3728517444f10f86c4340c371b034d866999ddf8a190f9aa2299d8f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-03T08:32:10.549Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-03T08:32:10.852Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-03T08:32:11.152Z] + ls /var/log/sa-host [2021-03-03T08:32:11.152Z] + sadf -c /var/log/sa-host/sa03 [2021-03-03T08:32:11.152Z] file_magic: OK [2021-03-03T08:32:11.152Z] HZ: Using current value: 100 [2021-03-03T08:32:11.152Z] file_header: OK [2021-03-03T08:32:11.152Z] 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-03-03T08:32:11.152Z] Statistics: [2021-03-03T08:32:11.152Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-03T08:32:11.152Z] File successfully converted to sysstat format version 12.2.1 [2021-03-03T08:32:11.152Z] + sadf -c /var/log/sa-host/sa23 [2021-03-03T08:32:11.152Z] file_magic: OK [2021-03-03T08:32:11.152Z] HZ: Using current value: 100 [2021-03-03T08:32:11.152Z] file_header: OK [2021-03-03T08:32:11.152Z] 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-03-03T08:32:11.152Z] Statistics: [2021-03-03T08:32:11.152Z] Hnuu...uuuununununu... [2021-03-03T08:32:11.152Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-03T08:32:11.802Z] provisioning config files... [2021-03-03T08:32:11.818Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/config3883849389798602889tmp [Pipeline] { [Pipeline] echo [2021-03-03T08:32:11.896Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T08:32:12.197Z] ---> create-netrc.sh [Pipeline] } [2021-03-03T08:32:12.208Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-03T08:32:12.304Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T08:32:12.606Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-03T08:32:12.618Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T08:32:12.918Z] ---> sudo-logs.sh [2021-03-03T08:32:12.918Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-03T08:32:12.987Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T08:32:13.290Z] ---> job-cost.sh [2021-03-03T08:32:13.290Z] lf-activate-venv: SKIPPING [2021-03-03T08:32:13.290Z] DEBUG: total: 0.20999999344348907 [2021-03-03T08:32:13.290Z] INFO: Retrieving Stack Cost... [2021-03-03T08:32:14.251Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-03T08:32:14.514Z] INFO: Archiving Costs [Pipeline] echo [2021-03-03T08:32:14.530Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T08:32:14.832Z] ---> logs-deploy.sh [2021-03-03T08:32:14.832Z] lf-activate-venv: SKIPPING [2021-03-03T08:32:14.832Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-804/4 [2021-03-03T08:32:14.832Z] INFO: archiving workspace using pattern(s): [2021-03-03T08:32:16.760Z] Archives upload complete. [2021-03-03T08:32:16.760Z] INFO: archiving logs to Nexus