Pull request #798 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from fd6d2d484dc046ea424b5eae25500a881197733d+859d05bb29d195830a2bef80ceacb337f49ed4c7 (8e9096deb5067409591d092c32a095bcec0d7ca6) 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5a4b2863d981ac6c14e44fa4f963a690d64f08cf # timeout=10 Commit message: "Merge pull request #318 from MightyNerdEric/parallelCostCapture" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-27631 in /w/workspace/dgexfoundry_device-sdk-go_PR-798 [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-798 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 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/798/head:refs/remotes/origin/PR-798 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 859d05bb29d195830a2bef80ceacb337f49ed4c7 into PR head commit fd6d2d484dc046ea424b5eae25500a881197733d Merge succeeded, producing fd6d2d484dc046ea424b5eae25500a881197733d Checking out Revision fd6d2d484dc046ea424b5eae25500a881197733d (PR-798) > git config core.sparsecheckout # timeout=10 > git checkout -f fd6d2d484dc046ea424b5eae25500a881197733d # 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 859d05bb29d195830a2bef80ceacb337f49ed4c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd6d2d484dc046ea424b5eae25500a881197733d # timeout=10 Commit message: "feat: handle no readings generated gracefully" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-25T09:52:04.391Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-25T09:52:04.633Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-25T09:52:04.719Z] ========================================================= [2021-02-25T09:52:04.719Z] EdgeX Global Pipelines Version Info [2021-02-25T09:52:04.719Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 113a0336d074b60289f69560fe6bc6059f58e425 # timeout=10 [2021-02-25T09:52:06.253Z] ------------------- [2021-02-25T09:52:06.253Z] stable info: [2021-02-25T09:52:06.253Z] ------------------- [2021-02-25T09:52:06.253Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-25T09:52:06.253Z] Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [2021-02-25T09:52:06.253Z] Message: update stable to v1.0.181 [2021-02-25T09:52:07.197Z] ------------------- [2021-02-25T09:52:07.197Z] experimental info: [2021-02-25T09:52:07.197Z] ------------------- [2021-02-25T09:52:07.197Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-02-25T09:52:07.197Z] Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [2021-02-25T09:52:07.197Z] Message: update experimental to v1.0.181 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-25T09:52:07.444Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-25T09:52:07.540Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-25T09:52:07.628Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-25T09:52:07.714Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-25T09:52:07.799Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-25T09:52:07.887Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-25T09:52:07.977Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-25T09:52:08.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-25T09:52:08.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-25T09:52:08.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-25T09:52:08.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-25T09:52:08.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-25T09:52:08.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-25T09:52:08.583Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-25T09:52:08.669Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-25T09:52:08.782Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-25T09:52:08.864Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-25T09:52:08.949Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-25T09:52:09.041Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-25T09:52:09.141Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-25T09:52:09.225Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-25T09:52:09.337Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-25T09:52:09.424Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-25T09:52:09.527Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-25T09:52:09.654Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-25T09:52:09.742Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-798 [Pipeline] echo [2021-02-25T09:52:09.852Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-798 [Pipeline] echo [2021-02-25T09:52:09.939Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-798 [Pipeline] echo [2021-02-25T09:52:10.027Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd6d2d484dc046ea424b5eae25500a881197733d [Pipeline] echo [2021-02-25T09:52:10.116Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd6d2d4 [Pipeline] echo [2021-02-25T09:52:10.254Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-25T09:52:10.439Z] provisioning config files... [2021-02-25T09:52:10.471Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-798@tmp/config4939737283537448436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-25T09:52:10.866Z] ---> docker-login.sh [2021-02-25T09:52:10.866Z] nexus3.edgexfoundry.org:10001 [2021-02-25T09:52:10.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T09:52:11.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T09:52:11.127Z] Configure a credential helper to remove this warning. See [2021-02-25T09:52:11.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T09:52:11.127Z] [2021-02-25T09:52:11.127Z] Login Succeeded [2021-02-25T09:52:11.127Z] nexus3.edgexfoundry.org:10002 [2021-02-25T09:52:11.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T09:52:11.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T09:52:11.389Z] Configure a credential helper to remove this warning. See [2021-02-25T09:52:11.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T09:52:11.389Z] [2021-02-25T09:52:11.389Z] Login Succeeded [2021-02-25T09:52:11.389Z] nexus3.edgexfoundry.org:10003 [2021-02-25T09:52:11.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T09:52:11.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T09:52:11.389Z] Configure a credential helper to remove this warning. See [2021-02-25T09:52:11.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T09:52:11.389Z] [2021-02-25T09:52:11.389Z] Login Succeeded [2021-02-25T09:52:11.389Z] nexus3.edgexfoundry.org:10004 [2021-02-25T09:52:11.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T09:52:11.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T09:52:11.650Z] Configure a credential helper to remove this warning. See [2021-02-25T09:52:11.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T09:52:11.650Z] [2021-02-25T09:52:11.650Z] Login Succeeded [2021-02-25T09:52:11.650Z] docker.io [2021-02-25T09:52:11.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T09:52:11.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T09:52:11.913Z] Configure a credential helper to remove this warning. See [2021-02-25T09:52:11.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T09:52:11.913Z] [2021-02-25T09:52:11.913Z] Login Succeeded [2021-02-25T09:52:11.913Z] ---> docker-login.sh ends [Pipeline] } [2021-02-25T09:52:11.934Z] 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-02-25T09:52:12.760Z] + git log --format=format:%s -1 fd6d2d484dc046ea424b5eae25500a881197733d [Pipeline] echo [2021-02-25T09:52:12.826Z] GIT_COMMIT: fd6d2d484dc046ea424b5eae25500a881197733d, Commit Message: feat: handle no readings generated gracefully [Pipeline] echo [2021-02-25T09:52:12.887Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-25T09:52:13.897Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-25T09:52:13.897Z] [2021-02-25T09:52:13.897Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-25T09:52:14.241Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-25T09:52:14.241Z] latest: Pulling from edgex-devops/git-semver [2021-02-25T09:52:14.241Z] 31603596830f: Pulling fs layer [2021-02-25T09:52:14.241Z] 2a8b12db71e7: Pulling fs layer [2021-02-25T09:52:14.241Z] 6ca5941a6612: Pulling fs layer [2021-02-25T09:52:14.241Z] ecc8261a40a4: Pulling fs layer [2021-02-25T09:52:14.241Z] 2a8b12db71e7: Verifying Checksum [2021-02-25T09:52:14.241Z] 2a8b12db71e7: Download complete [2021-02-25T09:52:14.509Z] 31603596830f: Verifying Checksum [2021-02-25T09:52:14.509Z] 31603596830f: Download complete [2021-02-25T09:52:14.509Z] ecc8261a40a4: Verifying Checksum [2021-02-25T09:52:14.509Z] 6ca5941a6612: Verifying Checksum [2021-02-25T09:52:14.509Z] 6ca5941a6612: Download complete [2021-02-25T09:52:14.774Z] 31603596830f: Pull complete [2021-02-25T09:52:14.774Z] 2a8b12db71e7: Pull complete [2021-02-25T09:52:15.724Z] 6ca5941a6612: Pull complete [2021-02-25T09:52:15.985Z] ecc8261a40a4: Pull complete [2021-02-25T09:52:15.985Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-25T09:52:15.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-25T09:52:15.985Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-25T09:52:16.083Z] prd-centos7-docker-4c-2g-27631 does not seem to be running inside a container [2021-02-25T09:52:16.136Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-798 -v /w/workspace/dgexfoundry_device-sdk-go_PR-798:/w/workspace/dgexfoundry_device-sdk-go_PR-798:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-798@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-798@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-25T09:52:18.116Z] $ docker top afae599986fc7c8e27b5261bc81cea289e705756ce4d9bb5671185efe2080461 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-25T09:52:18.391Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-25T09:52:18.391Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-25T09:52:18.570Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-25T09:52:18.576Z] $ docker exec afae599986fc7c8e27b5261bc81cea289e705756ce4d9bb5671185efe2080461 ssh-agent [2021-02-25T09:52:18.718Z] SSH_AUTH_SOCK=/tmp/ssh-Zks8yivJnn8f/agent.12 [2021-02-25T09:52:18.718Z] SSH_AGENT_PID=17 [2021-02-25T09:52:18.726Z] Running ssh-add (command line suppressed) [2021-02-25T09:52:18.841Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-798@tmp/private_key_8695962822364101748.key (/w/workspace/dgexfoundry_device-sdk-go_PR-798@tmp/private_key_8695962822364101748.key) [2021-02-25T09:52:18.884Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-25T09:52:19.222Z] + git tag --points-at HEAD [Pipeline] } [2021-02-25T09:52:19.244Z] $ docker exec --env ******** --env ******** afae599986fc7c8e27b5261bc81cea289e705756ce4d9bb5671185efe2080461 ssh-agent -k [2021-02-25T09:52:19.353Z] unset SSH_AUTH_SOCK; [2021-02-25T09:52:19.353Z] unset SSH_AGENT_PID; [2021-02-25T09:52:19.353Z] echo Agent pid 17 killed; [2021-02-25T09:52:19.394Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-25T09:52:19.529Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-25T09:52:19.530Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-25T09:52:19.681Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-25T09:52:19.687Z] $ docker exec afae599986fc7c8e27b5261bc81cea289e705756ce4d9bb5671185efe2080461 ssh-agent [2021-02-25T09:52:19.831Z] SSH_AUTH_SOCK=/tmp/ssh-wtnaHod6Q6QR/agent.47 [2021-02-25T09:52:19.831Z] SSH_AGENT_PID=52 [2021-02-25T09:52:19.838Z] Running ssh-add (command line suppressed) [2021-02-25T09:52:19.948Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-798@tmp/private_key_6188660269601528792.key (/w/workspace/dgexfoundry_device-sdk-go_PR-798@tmp/private_key_6188660269601528792.key) [2021-02-25T09:52:19.991Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-25T09:52:20.340Z] + git semver init [2021-02-25T09:52:20.340Z] # -> Open(): unable to determine branch for HEAD [2021-02-25T09:52:20.340Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-798/.git [2021-02-25T09:52:20.340Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-798 [2021-02-25T09:52:20.340Z] # $SEMVER_REMOTE_NAME = origin [2021-02-25T09:52:20.340Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-25T09:52:20.340Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-25T09:52:20.340Z] # $SEMVER_BRANCH = PR-798 [2021-02-25T09:52:20.340Z] # $SEMVER_TEMP = /tmp/semver-394840649 [2021-02-25T09:52:20.340Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-25T09:52:20.913Z] # '/tmp/semver-394840649' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-798/.semver' [2021-02-25T09:52:20.913Z] # -> Force: false [2021-02-25T09:52:20.913Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-798/.semver [Pipeline] } [2021-02-25T09:52:20.927Z] $ docker exec --env ******** --env ******** afae599986fc7c8e27b5261bc81cea289e705756ce4d9bb5671185efe2080461 ssh-agent -k [2021-02-25T09:52:21.049Z] unset SSH_AUTH_SOCK; [2021-02-25T09:52:21.049Z] unset SSH_AGENT_PID; [2021-02-25T09:52:21.049Z] echo Agent pid 52 killed; [2021-02-25T09:52:21.089Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-25T09:52:21.588Z] + git semver [Pipeline] } [2021-02-25T09:52:21.606Z] $ docker stop --time=1 afae599986fc7c8e27b5261bc81cea289e705756ce4d9bb5671185efe2080461 [2021-02-25T09:52:22.941Z] $ docker rm -f afae599986fc7c8e27b5261bc81cea289e705756ce4d9bb5671185efe2080461 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-25T09:52:23.386Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-25T09:52:23.889Z] Stashed 1 file(s) [Pipeline] echo [2021-02-25T09:52:23.892Z] [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-02-25T09:52:39.424Z] Still waiting to schedule task [2021-02-25T09:52:39.424Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-25T09:52:39.426Z] Still waiting to schedule task [2021-02-25T09:52:39.426Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-02-25T09:53:45.891Z] Running on prd-centos7-docker-4c-2g-27632 in /w/workspace/dgexfoundry_device-sdk-go_PR-798 [Pipeline] { [Pipeline] ws [2021-02-25T09:53:45.948Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-02-25T09:54:03.999Z] using credential edgex-jenkins-ssh [2021-02-25T09:54:04.114Z] Cloning the remote Git repository [2021-02-25T09:54:04.484Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-25T09:54:04.692Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-02-25T09:54:04.996Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-25T09:54:04.997Z] > git --version # timeout=10 [2021-02-25T09:54:05.007Z] > git --version # 'git version 2.24.3' [2021-02-25T09:54:05.008Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T09:54:05.192Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-25T09:54:07.749Z] Merging remotes/origin/master commit 859d05bb29d195830a2bef80ceacb337f49ed4c7 into PR head commit fd6d2d484dc046ea424b5eae25500a881197733d [2021-02-25T09:54:06.871Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-25T09:54:06.929Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-25T09:54:06.985Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-25T09:54:07.043Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-25T09:54:07.043Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T09:54:07.051Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/798/head:refs/remotes/origin/PR-798 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-25T09:54:07.774Z] > git config core.sparsecheckout # timeout=10 [2021-02-25T09:54:07.842Z] > git checkout -f fd6d2d484dc046ea424b5eae25500a881197733d # timeout=10 [2021-02-25T09:54:08.509Z] Merge succeeded, producing fd6d2d484dc046ea424b5eae25500a881197733d [2021-02-25T09:54:08.509Z] Checking out Revision fd6d2d484dc046ea424b5eae25500a881197733d (PR-798) [2021-02-25T09:54:08.142Z] > git remote # timeout=10 [2021-02-25T09:54:08.307Z] > git config --get remote.origin.url # timeout=10 [2021-02-25T09:54:08.412Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T09:54:08.422Z] > git merge 859d05bb29d195830a2bef80ceacb337f49ed4c7 # timeout=10 [2021-02-25T09:54:08.463Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-25T09:54:08.530Z] > git config core.sparsecheckout # timeout=10 [2021-02-25T09:54:08.586Z] > git checkout -f fd6d2d484dc046ea424b5eae25500a881197733d # timeout=10 [2021-02-25T09:54:15.057Z] Commit message: "feat: handle no readings generated gracefully" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-25T09:54:18.251Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-25T09:54:19.190Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-25T09:54:19.709Z] + true [2021-02-25T09:54:19.709Z] + sudo service docker restart [2021-02-25T09:54:19.709Z] Redirecting to /bin/systemctl restart docker.service [2021-02-25T09:54:21.267Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27633 in /w/workspace/dgexfoundry_device-sdk-go_PR-798 [Pipeline] { [Pipeline] ws [2021-02-25T09:54:21.330Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-25T09:54:22.776Z] provisioning config files... [2021-02-25T09:54:22.940Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2027643533926529566tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-25T09:54:24.311Z] ---> docker-login.sh [2021-02-25T09:54:24.311Z] nexus3.edgexfoundry.org:10001 [2021-02-25T09:54:25.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T09:54:25.963Z] using credential edgex-jenkins-ssh [2021-02-25T09:54:26.097Z] Cloning the remote Git repository [2021-02-25T09:54:26.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T09:54:26.197Z] Configure a credential helper to remove this warning. See [2021-02-25T09:54:26.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T09:54:26.197Z] [2021-02-25T09:54:26.197Z] Login Succeeded [2021-02-25T09:54:26.156Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-25T09:54:26.279Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-02-25T09:54:26.377Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-25T09:54:26.378Z] > git --version # timeout=10 [2021-02-25T09:54:26.407Z] > git --version # 'git version 2.17.1' [2021-02-25T09:54:26.409Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T09:54:26.490Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-25T09:54:26.872Z] nexus3.edgexfoundry.org:10002 [2021-02-25T09:54:27.564Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-25T09:54:27.584Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-25T09:54:27.612Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-25T09:54:27.643Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-25T09:54:27.644Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T09:54:27.655Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/798/head:refs/remotes/origin/PR-798 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-25T09:54:28.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T09:54:28.238Z] Merging remotes/origin/master commit 859d05bb29d195830a2bef80ceacb337f49ed4c7 into PR head commit fd6d2d484dc046ea424b5eae25500a881197733d [2021-02-25T09:54:28.468Z] Merge succeeded, producing fd6d2d484dc046ea424b5eae25500a881197733d [2021-02-25T09:54:28.469Z] Checking out Revision fd6d2d484dc046ea424b5eae25500a881197733d (PR-798) [2021-02-25T09:54:28.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T09:54:28.640Z] Configure a credential helper to remove this warning. See [2021-02-25T09:54:28.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T09:54:28.640Z] [2021-02-25T09:54:28.640Z] Login Succeeded [2021-02-25T09:54:28.640Z] nexus3.edgexfoundry.org:10003 [2021-02-25T09:54:28.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T09:54:28.257Z] > git config core.sparsecheckout # timeout=10 [2021-02-25T09:54:28.269Z] > git checkout -f fd6d2d484dc046ea424b5eae25500a881197733d # timeout=10 [2021-02-25T09:54:28.381Z] > git remote # timeout=10 [2021-02-25T09:54:28.404Z] > git config --get remote.origin.url # timeout=10 [2021-02-25T09:54:28.423Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T09:54:28.433Z] > git merge 859d05bb29d195830a2bef80ceacb337f49ed4c7 # timeout=10 [2021-02-25T09:54:28.456Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-25T09:54:28.478Z] > git config core.sparsecheckout # timeout=10 [2021-02-25T09:54:28.519Z] > git checkout -f fd6d2d484dc046ea424b5eae25500a881197733d # timeout=10 [2021-02-25T09:54:29.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T09:54:29.092Z] Configure a credential helper to remove this warning. See [2021-02-25T09:54:29.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T09:54:29.092Z] [2021-02-25T09:54:29.092Z] Login Succeeded [2021-02-25T09:54:29.092Z] nexus3.edgexfoundry.org:10004 [2021-02-25T09:54:29.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T09:54:29.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T09:54:29.939Z] Configure a credential helper to remove this warning. See [2021-02-25T09:54:29.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T09:54:29.939Z] [2021-02-25T09:54:29.939Z] Login Succeeded [2021-02-25T09:54:29.939Z] docker.io [2021-02-25T09:54:31.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T09:54:31.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T09:54:31.092Z] Configure a credential helper to remove this warning. See [2021-02-25T09:54:31.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T09:54:31.092Z] [2021-02-25T09:54:31.092Z] Login Succeeded [2021-02-25T09:54:31.092Z] ---> docker-login.sh ends [Pipeline] } [2021-02-25T09:54:31.132Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-25T09:54:31.868Z] ========================================================= [2021-02-25T09:54:31.868Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-25T09:54:31.868Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-25T09:54:32.411Z] + 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-02-25T09:54:32.803Z] Commit message: "feat: handle no readings generated gracefully" [2021-02-25T09:54:33.206Z] Sending build context to Docker daemon 2.435MB [2021-02-25T09:54:33.206Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-25T09:54:33.206Z] Step 2/8 : FROM ${BASE} [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-25T09:54:33.664Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-25T09:54:33.664Z] 188c0c94c7c5: Pulling fs layer [2021-02-25T09:54:33.664Z] 0ef7d3d256c8: Pulling fs layer [2021-02-25T09:54:33.664Z] de9db76c5a1d: Pulling fs layer [2021-02-25T09:54:33.664Z] bca2f99d35d6: Pulling fs layer [2021-02-25T09:54:33.664Z] 93359f2a8cfa: Pulling fs layer [2021-02-25T09:54:33.664Z] 7c6f9722023f: Pulling fs layer [2021-02-25T09:54:33.664Z] a35cf1a2eb13: Pulling fs layer [2021-02-25T09:54:33.664Z] bca2f99d35d6: Waiting [2021-02-25T09:54:33.664Z] 93359f2a8cfa: Waiting [2021-02-25T09:54:33.664Z] 7c6f9722023f: Waiting [2021-02-25T09:54:33.664Z] a35cf1a2eb13: Waiting [2021-02-25T09:54:33.664Z] de9db76c5a1d: Verifying Checksum [2021-02-25T09:54:33.664Z] de9db76c5a1d: Download complete [2021-02-25T09:54:33.664Z] 0ef7d3d256c8: Verifying Checksum [2021-02-25T09:54:33.664Z] 0ef7d3d256c8: Download complete [2021-02-25T09:54:33.664Z] 93359f2a8cfa: Verifying Checksum [2021-02-25T09:54:33.664Z] 93359f2a8cfa: Download complete [2021-02-25T09:54:34.043Z] 7c6f9722023f: Verifying Checksum [2021-02-25T09:54:34.043Z] 7c6f9722023f: Download complete [2021-02-25T09:54:34.364Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-25T09:54:34.667Z] 188c0c94c7c5: Verifying Checksum [2021-02-25T09:54:34.667Z] 188c0c94c7c5: Download complete [2021-02-25T09:54:34.812Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-25T09:54:35.154Z] + sudo service docker restart [2021-02-25T09:54:35.154Z] + true [2021-02-25T09:54:35.293Z] 188c0c94c7c5: Pull complete [2021-02-25T09:54:35.676Z] 0ef7d3d256c8: Pull complete [2021-02-25T09:54:36.018Z] de9db76c5a1d: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-25T09:54:37.199Z] provisioning config files... [2021-02-25T09:54:37.244Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7354430525334835478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-25T09:54:37.648Z] ---> docker-login.sh [2021-02-25T09:54:37.648Z] nexus3.edgexfoundry.org:10001 [2021-02-25T09:54:38.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T09:54:38.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T09:54:38.910Z] Configure a credential helper to remove this warning. See [2021-02-25T09:54:38.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T09:54:38.910Z] [2021-02-25T09:54:38.910Z] Login Succeeded [2021-02-25T09:54:38.910Z] nexus3.edgexfoundry.org:10002 [2021-02-25T09:54:39.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T09:54:39.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T09:54:39.458Z] Configure a credential helper to remove this warning. See [2021-02-25T09:54:39.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T09:54:39.458Z] [2021-02-25T09:54:39.458Z] Login Succeeded [2021-02-25T09:54:39.458Z] nexus3.edgexfoundry.org:10003 [2021-02-25T09:54:39.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T09:54:40.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T09:54:40.005Z] Configure a credential helper to remove this warning. See [2021-02-25T09:54:40.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T09:54:40.005Z] [2021-02-25T09:54:40.005Z] Login Succeeded [2021-02-25T09:54:40.005Z] nexus3.edgexfoundry.org:10004 [2021-02-25T09:54:40.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T09:54:40.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T09:54:40.553Z] Configure a credential helper to remove this warning. See [2021-02-25T09:54:40.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T09:54:40.553Z] [2021-02-25T09:54:40.553Z] Login Succeeded [2021-02-25T09:54:40.553Z] docker.io [2021-02-25T09:54:40.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T09:54:41.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T09:54:41.816Z] Configure a credential helper to remove this warning. See [2021-02-25T09:54:41.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T09:54:41.816Z] [2021-02-25T09:54:41.816Z] Login Succeeded [2021-02-25T09:54:41.816Z] ---> docker-login.sh ends [Pipeline] } [2021-02-25T09:54:41.832Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-25T09:54:42.255Z] ========================================================= [2021-02-25T09:54:42.255Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-25T09:54:42.255Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-25T09:54:42.635Z] + 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-02-25T09:54:42.909Z] Sending build context to Docker daemon 2.434MB [2021-02-25T09:54:43.187Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-25T09:54:43.187Z] Step 2/8 : FROM ${BASE} [2021-02-25T09:54:43.187Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-25T09:54:43.187Z] 5f621e34cdf4: Pulling fs layer [2021-02-25T09:54:43.187Z] a4357932f1b6: Pulling fs layer [2021-02-25T09:54:43.187Z] 18c013af1878: Pulling fs layer [2021-02-25T09:54:43.187Z] 00ac8860ef70: Pulling fs layer [2021-02-25T09:54:43.187Z] 63d7cb157983: Pulling fs layer [2021-02-25T09:54:43.187Z] b116817d02f9: Pulling fs layer [2021-02-25T09:54:43.187Z] 745a02a5169b: Pulling fs layer [2021-02-25T09:54:43.187Z] 63d7cb157983: Waiting [2021-02-25T09:54:43.187Z] b116817d02f9: Waiting [2021-02-25T09:54:43.187Z] 745a02a5169b: Waiting [2021-02-25T09:54:43.187Z] 00ac8860ef70: Waiting [2021-02-25T09:54:43.187Z] a4357932f1b6: Verifying Checksum [2021-02-25T09:54:43.187Z] a4357932f1b6: Download complete [2021-02-25T09:54:43.187Z] 18c013af1878: Verifying Checksum [2021-02-25T09:54:43.187Z] 18c013af1878: Download complete [2021-02-25T09:54:43.187Z] 63d7cb157983: Verifying Checksum [2021-02-25T09:54:43.187Z] 63d7cb157983: Download complete [2021-02-25T09:54:43.187Z] b116817d02f9: Verifying Checksum [2021-02-25T09:54:43.187Z] b116817d02f9: Download complete [2021-02-25T09:54:43.187Z] 5f621e34cdf4: Verifying Checksum [2021-02-25T09:54:43.187Z] 5f621e34cdf4: Download complete [2021-02-25T09:54:43.500Z] a35cf1a2eb13: Verifying Checksum [2021-02-25T09:54:43.500Z] a35cf1a2eb13: Download complete [2021-02-25T09:54:44.110Z] bca2f99d35d6: Verifying Checksum [2021-02-25T09:54:44.110Z] bca2f99d35d6: Download complete [2021-02-25T09:54:44.174Z] 5f621e34cdf4: Pull complete [2021-02-25T09:54:44.456Z] a4357932f1b6: Pull complete [2021-02-25T09:54:45.055Z] 18c013af1878: Pull complete [2021-02-25T09:54:45.652Z] 745a02a5169b: Verifying Checksum [2021-02-25T09:54:45.652Z] 745a02a5169b: Download complete [2021-02-25T09:54:47.085Z] 00ac8860ef70: Verifying Checksum [2021-02-25T09:54:47.085Z] 00ac8860ef70: Download complete [2021-02-25T09:54:57.261Z] 00ac8860ef70: Pull complete [2021-02-25T09:54:57.261Z] 63d7cb157983: Pull complete [2021-02-25T09:54:57.536Z] b116817d02f9: Pull complete [2021-02-25T09:55:01.868Z] 745a02a5169b: Pull complete [2021-02-25T09:55:01.868Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-25T09:55:01.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-25T09:55:01.868Z] ---> b7e6874047d6 [2021-02-25T09:55:01.868Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-25T09:55:03.150Z] bca2f99d35d6: Pull complete [2021-02-25T09:55:03.150Z] 93359f2a8cfa: Pull complete [2021-02-25T09:55:03.150Z] 7c6f9722023f: Pull complete [2021-02-25T09:55:04.498Z] ---> Running in 03f80c49888f [2021-02-25T09:55:04.771Z] Removing intermediate container 03f80c49888f [2021-02-25T09:55:04.771Z] ---> 2bf89a47264e [2021-02-25T09:55:04.771Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-25T09:55:05.045Z] ---> Running in 0d9a463cb08d [2021-02-25T09:55:07.679Z] Removing intermediate container 0d9a463cb08d [2021-02-25T09:55:07.679Z] ---> d7a5aea46bfe [2021-02-25T09:55:07.679Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-25T09:55:07.679Z] ---> Running in cd114ae3e8ff [2021-02-25T09:55:08.659Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-25T09:55:09.636Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-25T09:55:09.908Z] OK: 142 MiB in 39 packages [2021-02-25T09:55:11.342Z] Removing intermediate container cd114ae3e8ff [2021-02-25T09:55:11.342Z] ---> 56a9036c563c [2021-02-25T09:55:11.342Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-25T09:55:11.342Z] ---> Running in 40ba70631981 [2021-02-25T09:55:11.934Z] Removing intermediate container 40ba70631981 [2021-02-25T09:55:11.934Z] ---> 6bf3e751a608 [2021-02-25T09:55:11.934Z] Step 7/8 : COPY . . [2021-02-25T09:55:13.360Z] ---> 4efaf7757fa8 [2021-02-25T09:55:13.360Z] Step 8/8 : RUN go mod download [2021-02-25T09:55:13.360Z] ---> Running in 9457842e876e [2021-02-25T09:55:14.398Z] a35cf1a2eb13: Pull complete [2021-02-25T09:55:14.399Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-25T09:55:14.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-25T09:55:14.399Z] ---> a62c8e92a672 [2021-02-25T09:55:14.399Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-25T09:55:14.399Z] ---> Running in 7b6e6b344e33 [2021-02-25T09:55:14.399Z] Removing intermediate container 7b6e6b344e33 [2021-02-25T09:55:14.399Z] ---> 197b41e5d931 [2021-02-25T09:55:14.399Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-25T09:55:14.399Z] ---> Running in 83d4cb62c9eb [2021-02-25T09:55:17.358Z] Removing intermediate container 83d4cb62c9eb [2021-02-25T09:55:17.358Z] ---> 6a6acec85c67 [2021-02-25T09:55:17.358Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-25T09:55:17.358Z] ---> Running in 1ee6af0bc707 [2021-02-25T09:55:18.040Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-25T09:55:18.860Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-25T09:55:20.097Z] OK: 166 MiB in 39 packages [2021-02-25T09:55:21.280Z] Removing intermediate container 1ee6af0bc707 [2021-02-25T09:55:21.280Z] ---> 5f9e29f101e9 [2021-02-25T09:55:21.280Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-25T09:55:21.280Z] ---> Running in 3bf185de8e12 [2021-02-25T09:55:21.662Z] Removing intermediate container 3bf185de8e12 [2021-02-25T09:55:21.663Z] ---> 50065e54b729 [2021-02-25T09:55:21.663Z] Step 7/8 : COPY . . [2021-02-25T09:55:25.009Z] ---> e94c4f624f9b [2021-02-25T09:55:25.009Z] Step 8/8 : RUN go mod download [2021-02-25T09:55:25.009Z] ---> Running in e584afdfb9ff [2021-02-25T09:55:40.149Z] Removing intermediate container 9457842e876e [2021-02-25T09:55:40.150Z] ---> be4b001e4719 [2021-02-25T09:55:40.150Z] Successfully built be4b001e4719 [2021-02-25T09:55:40.150Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-25T09:55:40.496Z] + docker inspect -f . ci-base-image-arm64 [2021-02-25T09:55:40.496Z] . [Pipeline] withDockerContainer [2021-02-25T09:55:40.778Z] prd-ubuntu18.04-docker-arm64-4c-16g-27633 does not seem to be running inside a container [2021-02-25T09:55:40.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat [2021-02-25T09:55:42.499Z] $ docker top 6d6ddd312065549f853764f05329481633e60fb3914b10d00541ef4b1891fc12 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-25T09:55:43.549Z] + go version [2021-02-25T09:55:43.549Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-25T09:55:43.574Z] $ docker stop --time=1 6d6ddd312065549f853764f05329481633e60fb3914b10d00541ef4b1891fc12 [2021-02-25T09:55:45.609Z] $ docker rm -f 6d6ddd312065549f853764f05329481633e60fb3914b10d00541ef4b1891fc12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-25T09:55:46.679Z] + docker inspect -f . ci-base-image-arm64 [2021-02-25T09:55:46.680Z] . [Pipeline] withDockerContainer [2021-02-25T09:55:46.943Z] prd-ubuntu18.04-docker-arm64-4c-16g-27633 does not seem to be running inside a container [2021-02-25T09:55:47.026Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat [2021-02-25T09:55:48.613Z] $ docker top d9219cefe5fc82cce35fdf3cb65762a8fd6c0e1973ac9a972fad91b4075b0d56 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-25T09:55:49.636Z] + make test [2021-02-25T09:55:49.636Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-25T09:56:06.468Z] Removing intermediate container e584afdfb9ff [2021-02-25T09:56:06.468Z] ---> ceff52a65428 [2021-02-25T09:56:06.468Z] Successfully built ceff52a65428 [2021-02-25T09:56:06.468Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-25T09:56:06.937Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-25T09:56:07.239Z] . [Pipeline] withDockerContainer [2021-02-25T09:56:07.965Z] prd-centos7-docker-4c-2g-27632 does not seem to be running inside a container [2021-02-25T09:56:08.346Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-x86_64 cat [2021-02-25T09:56:10.960Z] $ docker top 38894d48c68601144af515dcdd6e95ac68b3c7485fb83e78ffd2494459c50ee5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-25T09:56:11.600Z] + go version [2021-02-25T09:56:11.814Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-25T09:56:11.978Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-25T09:56:12.049Z] $ docker stop --time=1 38894d48c68601144af515dcdd6e95ac68b3c7485fb83e78ffd2494459c50ee5 [2021-02-25T09:56:13.750Z] $ docker rm -f 38894d48c68601144af515dcdd6e95ac68b3c7485fb83e78ffd2494459c50ee5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-25T09:56:14.661Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-25T09:56:14.661Z] . [Pipeline] withDockerContainer [2021-02-25T09:56:15.103Z] prd-centos7-docker-4c-2g-27632 does not seem to be running inside a container [2021-02-25T09:56:15.401Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-x86_64 cat [2021-02-25T09:56:17.154Z] $ docker top cd72241538e41d0fe06ca26b9a232d526dcd1e850ada12eda1052195272f0af2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-25T09:56:18.805Z] + make test [2021-02-25T09:56:18.805Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-25T09:56:31.549Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-25T09:56:50.886Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-25T09:56:50.886Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-25T09:56:50.886Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-25T09:56:59.124Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-25T09:56:59.124Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-25T09:56:59.124Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-25T09:56:59.181Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.132s coverage: 25.5% of statements [2021-02-25T09:56:59.407Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.065s coverage: 25.5% of statements [2021-02-25T09:57:21.467Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.116s coverage: 10.1% of statements [2021-02-25T09:57:21.467Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.114s coverage: 12.5% of statements [2021-02-25T09:57:21.467Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-25T09:57:21.467Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.164s coverage: 84.8% of statements [2021-02-25T09:57:21.467Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-25T09:57:21.467Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-25T09:57:21.467Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-25T09:57:21.467Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-25T09:57:21.467Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.192s coverage: 48.7% of statements [2021-02-25T09:57:21.467Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-25T09:57:21.467Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.153s coverage: 81.3% of statements [2021-02-25T09:57:21.467Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.172s coverage: 24.8% of statements [2021-02-25T09:57:21.467Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.168s coverage: 83.5% of statements [2021-02-25T09:57:21.467Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.142s coverage: 5.3% of statements [2021-02-25T09:57:21.467Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-25T09:57:21.746Z] GO111MODULE=on go vet ./... [2021-02-25T09:57:32.746Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.077s coverage: 10.1% of statements [2021-02-25T09:57:32.746Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.104s coverage: 12.5% of statements [2021-02-25T09:57:32.746Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-25T09:57:32.746Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.171s coverage: 84.8% of statements [2021-02-25T09:57:32.746Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-25T09:57:32.746Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-25T09:57:32.746Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-25T09:57:32.746Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-25T09:57:32.746Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.161s coverage: 48.7% of statements [2021-02-25T09:57:32.746Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-25T09:57:32.746Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.107s coverage: 81.3% of statements [2021-02-25T09:57:32.746Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.130s coverage: 24.8% of statements [2021-02-25T09:57:32.746Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.820s coverage: 83.5% of statements [2021-02-25T09:57:32.746Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.069s coverage: 5.3% of statements [2021-02-25T09:57:32.746Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-25T09:57:32.746Z] GO111MODULE=on go vet ./... [2021-02-25T09:58:00.840Z] gofmt -l . [2021-02-25T09:58:00.840Z] [ "`gofmt -l .`" = "" ] [2021-02-25T09:58:00.840Z] ./bin/test-attribution-txt.sh [2021-02-25T09:58:00.840Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-25T09:58:00.863Z] $ docker stop --time=1 d9219cefe5fc82cce35fdf3cb65762a8fd6c0e1973ac9a972fad91b4075b0d56 [2021-02-25T09:58:01.466Z] gofmt -l . [2021-02-25T09:58:01.466Z] [ "`gofmt -l .`" = "" ] [2021-02-25T09:58:01.466Z] ./bin/test-attribution-txt.sh [2021-02-25T09:58:01.466Z] ./bin/test-go-mod-tidy.sh [2021-02-25T09:58:03.182Z] $ docker rm -f d9219cefe5fc82cce35fdf3cb65762a8fd6c0e1973ac9a972fad91b4075b0d56 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [2021-02-25T09:58:04.031Z] $ docker stop --time=1 cd72241538e41d0fe06ca26b9a232d526dcd1e850ada12eda1052195272f0af2 [2021-02-25T09:58:04.287Z] + sudo chown -R jenkins:jenkins . [2021-02-25T09:58:07.869Z] $ docker rm -f cd72241538e41d0fe06ca26b9a232d526dcd1e850ada12eda1052195272f0af2 [Pipeline] // withDockerContainer [Pipeline] stash [Pipeline] sh [2021-02-25T09:58:09.407Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-25T09:58:09.739Z] Warning: overwriting stash ‘coverage-report’ [2021-02-25T09:58:09.786Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-02-25T09:58:12.162Z] Stashed 1 file(s) [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-02-25T09:58:12.631Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] sh [2021-02-25T09:58:12.968Z] + ls -al . [2021-02-25T09:58:12.968Z] total 220 [2021-02-25T09:58:12.968Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 25 09:57 . [2021-02-25T09:58:12.968Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 09:54 .. [2021-02-25T09:58:12.968Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 25 09:54 .dockerignore [2021-02-25T09:58:12.968Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 09:54 .git [2021-02-25T09:58:12.968Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:54 .github [2021-02-25T09:58:12.968Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 25 09:54 .gitignore [2021-02-25T09:58:12.968Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 25 09:54 Dockerfile.build [2021-02-25T09:58:12.968Z] -rw-rw-r-- 1 jenkins jenkins 901 Feb 25 09:54 Jenkinsfile [2021-02-25T09:58:12.968Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 25 09:54 LICENSE [2021-02-25T09:58:12.968Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 25 09:54 Makefile [2021-02-25T09:58:12.968Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 25 09:54 README.md [2021-02-25T09:58:12.968Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 25 09:54 RELEASE-NOTES.txt [2021-02-25T09:58:12.968Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 25 09:52 VERSION [2021-02-25T09:58:12.968Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:54 bin [2021-02-25T09:58:12.968Z] -rw-r--r-- 1 jenkins jenkins 102310 Feb 25 09:57 coverage.out [2021-02-25T09:58:12.968Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 09:54 example [2021-02-25T09:58:12.968Z] -rw-r--r-- 1 jenkins jenkins 516 Feb 25 09:57 go.mod [2021-02-25T09:58:12.968Z] -rw-r--r-- 1 jenkins jenkins 17254 Feb 25 09:57 go.sum [2021-02-25T09:58:12.968Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 25 09:54 internal [2021-02-25T09:58:12.968Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 09:54 openapi [2021-02-25T09:58:12.968Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 25 09:54 pkg [2021-02-25T09:58:12.968Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 09:54 snap [2021-02-25T09:58:12.968Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 25 09:54 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-25T09:58:13.510Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-25T09:58:13.626Z] + 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=fd6d2d484dc046ea424b5eae25500a881197733d --label arch=arm64 --label version=0.0.0 . [2021-02-25T09:58:13.880Z] + ls -al . [2021-02-25T09:58:13.880Z] total 184 [2021-02-25T09:58:13.880Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 25 09:58 . [2021-02-25T09:58:13.880Z] drwxrwxr-x. 4 jenkins jenkins 28 Feb 25 09:54 .. [2021-02-25T09:58:13.880Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 25 09:54 bin [2021-02-25T09:58:13.880Z] -rw-r--r--. 1 jenkins jenkins 102310 Feb 25 09:57 coverage.out [2021-02-25T09:58:13.880Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 25 09:54 Dockerfile.build [2021-02-25T09:58:13.880Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 25 09:54 .dockerignore [2021-02-25T09:58:13.880Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 25 09:54 example [2021-02-25T09:58:13.880Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 25 09:54 .git [2021-02-25T09:58:13.880Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 25 09:54 .github [2021-02-25T09:58:13.880Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 25 09:54 .gitignore [2021-02-25T09:58:13.880Z] -rw-r--r--. 1 jenkins jenkins 516 Feb 25 09:58 go.mod [2021-02-25T09:58:13.880Z] -rw-r--r--. 1 jenkins jenkins 17254 Feb 25 09:58 go.sum [2021-02-25T09:58:13.880Z] drwxrwxr-x. 13 jenkins jenkins 183 Feb 25 09:54 internal [2021-02-25T09:58:13.880Z] -rw-rw-r--. 1 jenkins jenkins 901 Feb 25 09:54 Jenkinsfile [2021-02-25T09:58:13.880Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 25 09:54 LICENSE [2021-02-25T09:58:13.880Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 25 09:54 Makefile [2021-02-25T09:58:13.880Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 25 09:54 openapi [2021-02-25T09:58:13.880Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 25 09:54 pkg [2021-02-25T09:58:13.880Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 25 09:54 README.md [2021-02-25T09:58:13.880Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 25 09:54 RELEASE-NOTES.txt [2021-02-25T09:58:13.880Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 25 09:54 snap [2021-02-25T09:58:13.880Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 25 09:52 VERSION [2021-02-25T09:58:13.880Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 25 09:54 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-25T09:58:14.230Z] Sending build context to Docker daemon 2.536MB [2021-02-25T09:58:14.230Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-25T09:58:14.230Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-25T09:58:14.230Z] ---> be4b001e4719 [2021-02-25T09:58:14.230Z] Step 3/24 : ARG MAKE='make build' [2021-02-25T09:58:14.230Z] ---> Running in 1c135fe9362b [2021-02-25T09:58:14.408Z] + 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=fd6d2d484dc046ea424b5eae25500a881197733d --label arch=amd64 --label version=0.0.0 . [2021-02-25T09:58:14.835Z] Removing intermediate container 1c135fe9362b [2021-02-25T09:58:14.835Z] ---> 75a515daf29b [2021-02-25T09:58:14.835Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-25T09:58:14.836Z] ---> Running in 073632890eb5 [2021-02-25T09:58:15.433Z] Removing intermediate container 073632890eb5 [2021-02-25T09:58:15.433Z] ---> 470677df61f0 [2021-02-25T09:58:15.433Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-25T09:58:15.433Z] ---> Running in 144338cf4448 [2021-02-25T09:58:15.482Z] Sending build context to Docker daemon 2.537MB [2021-02-25T09:58:15.482Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-25T09:58:15.482Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-25T09:58:15.482Z] ---> ceff52a65428 [2021-02-25T09:58:15.482Z] Step 3/24 : ARG MAKE='make build' [2021-02-25T09:58:16.032Z] Removing intermediate container 144338cf4448 [2021-02-25T09:58:16.032Z] ---> 357b95b9eee5 [2021-02-25T09:58:16.032Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-25T09:58:16.032Z] ---> Running in 2514538ffec7 [2021-02-25T09:58:16.103Z] ---> Running in 5094f5a98685 [2021-02-25T09:58:16.401Z] Removing intermediate container 5094f5a98685 [2021-02-25T09:58:16.401Z] ---> 74aa7642909d [2021-02-25T09:58:16.401Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-25T09:58:16.401Z] ---> Running in ed608b93245b [2021-02-25T09:58:17.115Z] Removing intermediate container ed608b93245b [2021-02-25T09:58:17.115Z] ---> fd2b6406270b [2021-02-25T09:58:17.115Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-25T09:58:17.406Z] ---> Running in 9480e56a2c76 [2021-02-25T09:58:17.872Z] Removing intermediate container 9480e56a2c76 [2021-02-25T09:58:17.872Z] ---> 5ed76d450fff [2021-02-25T09:58:17.872Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-25T09:58:18.010Z] Removing intermediate container 2514538ffec7 [2021-02-25T09:58:18.010Z] ---> 9f25a781e838 [2021-02-25T09:58:18.010Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-25T09:58:18.249Z] ---> Running in 0c54461661d7 [2021-02-25T09:58:18.285Z] ---> Running in 49f082baad2f [2021-02-25T09:58:19.261Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-25T09:58:19.880Z] Removing intermediate container 0c54461661d7 [2021-02-25T09:58:19.881Z] ---> 4fa2f4de666f [2021-02-25T09:58:19.881Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-25T09:58:20.167Z] ---> Running in c5e0521738b5 [2021-02-25T09:58:20.253Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-25T09:58:20.859Z] OK: 142 MiB in 39 packages [2021-02-25T09:58:21.674Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-25T09:58:21.842Z] Removing intermediate container 49f082baad2f [2021-02-25T09:58:21.842Z] ---> 4177453e7243 [2021-02-25T09:58:21.842Z] Step 8/24 : COPY . . [2021-02-25T09:58:22.792Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-25T09:58:22.825Z] ---> d0b52dd0b554 [2021-02-25T09:58:22.825Z] Step 9/24 : RUN ${MAKE} [2021-02-25T09:58:23.100Z] ---> Running in 64101226b2db [2021-02-25T09:58:23.189Z] OK: 166 MiB in 39 packages [2021-02-25T09:58:24.075Z] 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-02-25T09:58:24.658Z] Removing intermediate container c5e0521738b5 [2021-02-25T09:58:24.658Z] ---> 2f17c0a306f2 [2021-02-25T09:58:24.658Z] Step 8/24 : COPY . . [2021-02-25T09:58:26.167Z] ---> 7bd0ea33f833 [2021-02-25T09:58:26.167Z] Step 9/24 : RUN ${MAKE} [2021-02-25T09:58:26.167Z] ---> Running in 3472756321d6 [2021-02-25T09:58:28.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-02-25T09:58:50.909Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-25T09:58:52.352Z] Removing intermediate container 64101226b2db [2021-02-25T09:58:52.352Z] ---> ec166dfd0786 [2021-02-25T09:58:52.352Z] Step 10/24 : FROM scratch [2021-02-25T09:58:52.352Z] ---> [2021-02-25T09:58:52.352Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-25T09:58:52.352Z] ---> Running in 09b86b4e39d2 [2021-02-25T09:58:52.622Z] Removing intermediate container 09b86b4e39d2 [2021-02-25T09:58:52.622Z] ---> bf1fb6f01261 [2021-02-25T09:58:52.622Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-25T09:58:52.895Z] ---> Running in c38c0d3309e8 [2021-02-25T09:58:53.179Z] Removing intermediate container c38c0d3309e8 [2021-02-25T09:58:53.179Z] ---> c1053e848f80 [2021-02-25T09:58:53.179Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-25T09:58:53.179Z] ---> Running in 7267341615ca [2021-02-25T09:58:53.741Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-25T09:58:53.775Z] Removing intermediate container 7267341615ca [2021-02-25T09:58:53.775Z] ---> 44902316ba05 [2021-02-25T09:58:53.775Z] Step 14/24 : WORKDIR / [2021-02-25T09:58:53.775Z] ---> Running in a96998f38d2d [2021-02-25T09:58:54.367Z] Removing intermediate container a96998f38d2d [2021-02-25T09:58:54.367Z] ---> 74c2eff72a7c [2021-02-25T09:58:54.367Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-25T09:58:55.337Z] ---> dc17831abe06 [2021-02-25T09:58:55.337Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-25T09:58:55.929Z] ---> 4fadd09cccea [2021-02-25T09:58:55.929Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-25T09:58:56.910Z] ---> a5039f072633 [2021-02-25T09:58:56.910Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-25T09:58:57.506Z] ---> 662bd8456860 [2021-02-25T09:58:57.506Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-25T09:58:58.100Z] ---> c93abd8a3d4a [2021-02-25T09:58:58.100Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-25T09:58:58.100Z] ---> Running in 5ce22d2a12e1 [2021-02-25T09:58:58.348Z] Removing intermediate container 3472756321d6 [2021-02-25T09:58:58.349Z] ---> b2719b66925b [2021-02-25T09:58:58.349Z] Step 10/24 : FROM scratch [2021-02-25T09:58:58.349Z] ---> [2021-02-25T09:58:58.349Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-25T09:58:58.349Z] ---> Running in 72acd4b1acad [2021-02-25T09:58:58.695Z] Removing intermediate container 5ce22d2a12e1 [2021-02-25T09:58:58.695Z] ---> 36b8726e46a9 [2021-02-25T09:58:58.695Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-25T09:58:58.695Z] ---> Running in 3cca83d9d014 [2021-02-25T09:58:59.027Z] Removing intermediate container 72acd4b1acad [2021-02-25T09:58:59.027Z] ---> 146bf3dcdf22 [2021-02-25T09:58:59.027Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-25T09:58:59.295Z] Removing intermediate container 3cca83d9d014 [2021-02-25T09:58:59.295Z] ---> 3224fda3c408 [2021-02-25T09:58:59.295Z] Step 22/24 : LABEL arch=arm64 [2021-02-25T09:58:59.295Z] ---> Running in e41aaf2233f7 [2021-02-25T09:58:59.355Z] ---> Running in 0248fbc8533f [2021-02-25T09:58:59.888Z] Removing intermediate container e41aaf2233f7 [2021-02-25T09:58:59.888Z] ---> 219f19ef4c77 [2021-02-25T09:58:59.888Z] Step 23/24 : LABEL git_sha=fd6d2d484dc046ea424b5eae25500a881197733d [2021-02-25T09:58:59.888Z] ---> Running in 45295172a96d [2021-02-25T09:59:00.113Z] Removing intermediate container 0248fbc8533f [2021-02-25T09:59:00.113Z] ---> 90a464f9706c [2021-02-25T09:59:00.113Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-25T09:59:00.485Z] Removing intermediate container 45295172a96d [2021-02-25T09:59:00.485Z] ---> 714bb1a51941 [2021-02-25T09:59:00.485Z] Step 24/24 : LABEL version=0.0.0 [2021-02-25T09:59:00.485Z] ---> Running in f907397fb227 [2021-02-25T09:59:00.561Z] ---> Running in 6b70b8e876bc [2021-02-25T09:59:01.079Z] Removing intermediate container f907397fb227 [2021-02-25T09:59:01.079Z] ---> a4bac69e325d [2021-02-25T09:59:01.079Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-25T09:59:01.079Z] Successfully built a4bac69e325d [2021-02-25T09:59:01.079Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [2021-02-25T09:59:01.196Z] Removing intermediate container 6b70b8e876bc [2021-02-25T09:59:01.196Z] ---> e465cacade7b [2021-02-25T09:59:01.196Z] Step 14/24 : WORKDIR / [2021-02-25T09:59:01.196Z] ---> Running in 5315f17c1fbf [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2021-02-25T09:59:01.481Z] Removing intermediate container 5315f17c1fbf [2021-02-25T09:59:01.481Z] ---> 43cba836a956 [2021-02-25T09:59:01.481Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-02-25T09:59:02.131Z] ---> 851c91272d5d [2021-02-25T09:59:02.131Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-25T09:59:02.180Z] ---> job-cost.sh [2021-02-25T09:59:02.180Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-dUBQ [2021-02-25T09:59:03.190Z] ---> 2093378d7d15 [2021-02-25T09:59:03.191Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-25T09:59:05.147Z] ---> f2428688e8a2 [2021-02-25T09:59:05.147Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-25T09:59:07.477Z] ---> 18636dfb6503 [2021-02-25T09:59:07.477Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-25T09:59:08.188Z] ---> 4e2863f94473 [2021-02-25T09:59:08.188Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-25T09:59:08.499Z] ---> Running in 04a2a09b7745 [2021-02-25T09:59:08.499Z] Removing intermediate container 04a2a09b7745 [2021-02-25T09:59:08.499Z] ---> cfb947325409 [2021-02-25T09:59:08.499Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-25T09:59:09.240Z] ---> Running in 61a531fdc788 [2021-02-25T09:59:10.035Z] Removing intermediate container 61a531fdc788 [2021-02-25T09:59:10.035Z] ---> d3279146e6da [2021-02-25T09:59:10.035Z] Step 22/24 : LABEL arch=amd64 [2021-02-25T09:59:10.035Z] ---> Running in 2aaee5175e6b [2021-02-25T09:59:10.035Z] Removing intermediate container 2aaee5175e6b [2021-02-25T09:59:10.035Z] ---> 8f3c0b6c3583 [2021-02-25T09:59:10.035Z] Step 23/24 : LABEL git_sha=fd6d2d484dc046ea424b5eae25500a881197733d [2021-02-25T09:59:10.035Z] ---> Running in 69984d4d07a9 [2021-02-25T09:59:10.362Z] Removing intermediate container 69984d4d07a9 [2021-02-25T09:59:10.362Z] ---> dccfc8bf50cd [2021-02-25T09:59:10.362Z] Step 24/24 : LABEL version=0.0.0 [2021-02-25T09:59:10.362Z] ---> Running in 96d8b15dcfc7 [2021-02-25T09:59:10.636Z] Removing intermediate container 96d8b15dcfc7 [2021-02-25T09:59:10.636Z] ---> 41339dd07019 [2021-02-25T09:59:10.636Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-25T09:59:10.636Z] Successfully built 41339dd07019 [2021-02-25T09:59:10.636Z] 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-02-25T09:59:12.143Z] ---> job-cost.sh [2021-02-25T09:59:12.144Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TTW9 [2021-02-25T09:59:41.126Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-02-25T09:59:45.357Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-02-25T10:00:42.920Z] lf-activate-venv(): INFO: Adding /tmp/venv-TTW9/bin to PATH [2021-02-25T10:00:42.920Z] INFO: No Stack... [2021-02-25T10:00:42.920Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-25T10:00:42.920Z] INFO: Archiving Costs [Pipeline] sh [2021-02-25T10:00:44.092Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-02-25T10:00:44.092Z] + cut -d, -f6 [Pipeline] lock [2021-02-25T10:00:45.801Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-798-2-stack-cost] [2021-02-25T10:00:45.813Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-798-2-stack-cost] did not exist. Created. [2021-02-25T10:00:45.813Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-798-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-02-25T10:00:46.287Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-02-25T10:00:46.643Z] Stashed 1 file(s) [Pipeline] } [2021-02-25T10:00:46.657Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-798-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-25T10:01:47.935Z] lf-activate-venv(): INFO: Adding /tmp/venv-dUBQ/bin to PATH [2021-02-25T10:01:47.935Z] INFO: No Stack... [2021-02-25T10:01:47.935Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-02-25T10:01:47.935Z] INFO: Archiving Costs [Pipeline] sh [2021-02-25T10:01:48.272Z] + + catcut /w/workspace/device-sdk-go/2/archives/cost.csv -d, [2021-02-25T10:01:48.272Z] -f6 [Pipeline] lock [2021-02-25T10:01:48.390Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-798-2-stack-cost] [2021-02-25T10:01:48.399Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-798-2-stack-cost] did not exist. Created. [2021-02-25T10:01:48.399Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-798-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-02-25T10:01:48.911Z] /w/workspace/device-sdk-go/2@tmp/durable-c47529aa/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-c47529aa/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-02-25T10:01:49.258Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-02-25T10:01:49.349Z] Warning: overwriting stash ‘stack-cost’ [2021-02-25T10:01:49.509Z] Stashed 1 file(s) [Pipeline] } [2021-02-25T10:01:49.529Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-798-2-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-02-25T10:01:50.987Z] provisioning config files... [2021-02-25T10:01:51.002Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-798@tmp/config8773696037552670952tmp [Pipeline] { [Pipeline] sh [2021-02-25T10:01:51.459Z] + set +x [2021-02-25T10:01:51.459Z] + curl -s https://codecov.io/bash [2021-02-25T10:01:51.459Z] + bash -s -- [2021-02-25T10:01:51.726Z] [2021-02-25T10:01:51.726Z] _____ _ [2021-02-25T10:01:51.726Z] / ____| | | [2021-02-25T10:01:51.726Z] | | ___ __| | ___ ___ _____ __ [2021-02-25T10:01:51.726Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-25T10:01:51.726Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-25T10:01:51.726Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-25T10:01:51.726Z] Bash-20210129-7c25fce [2021-02-25T10:01:51.726Z] [2021-02-25T10:01:51.726Z] [2021-02-25T10:01:51.726Z] ==> git version 2.24.3 found [2021-02-25T10:01:51.726Z] ==> 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-02-25T10:01:51.726Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-25T10:01:51.726Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-25T10:01:51.726Z] ==> Jenkins CI detected. [2021-02-25T10:01:51.726Z] project root: . [2021-02-25T10:01:51.726Z] --> token set from env [2021-02-25T10:01:51.726Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-25T10:01:51.726Z] ==> Running gcov in . (disable via -X gcov) [2021-02-25T10:01:51.726Z] ==> Python coveragepy not found [2021-02-25T10:01:51.726Z] ==> Searching for coverage reports in: [2021-02-25T10:01:51.726Z] + . [2021-02-25T10:01:51.726Z] -> Found 1 reports [2021-02-25T10:01:51.726Z] ==> Detecting git/mercurial file structure [2021-02-25T10:01:51.726Z] ==> Reading reports [2021-02-25T10:01:51.726Z] + ./coverage.out bytes=102310 [2021-02-25T10:01:51.726Z] ==> Appending adjustments [2021-02-25T10:01:51.726Z] https://docs.codecov.io/docs/fixing-reports [2021-02-25T10:01:51.988Z] + Found adjustments [2021-02-25T10:01:51.988Z] ==> Gzipping contents [2021-02-25T10:01:52.251Z] 20K /tmp/codecov.Atjm1w.gz [2021-02-25T10:01:52.251Z] ==> Uploading reports [2021-02-25T10:01:52.251Z] url: https://codecov.io [2021-02-25T10:01:52.251Z] query: branch=PR-798&commit=fd6d2d484dc046ea424b5eae25500a881197733d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-798%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=798&job=&cmd_args= [2021-02-25T10:01:52.251Z] -> Pinging Codecov [2021-02-25T10:01:52.251Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-798&commit=fd6d2d484dc046ea424b5eae25500a881197733d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-798%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=798&job=&cmd_args= [2021-02-25T10:01:52.514Z] -> Uploading to [2021-02-25T10:01:52.514Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-25/7E55EF52A471D76F132DFD9A03CDDE97/fd6d2d484dc046ea424b5eae25500a881197733d/964ed045-ff89-4a8d-baee-a5b404013d1a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210225%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210225T100152Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5fe09aee43b373794ad4b8aba48a44bb2878c58394926c1db28ea2bf67b37fdd [2021-02-25T10:01:52.514Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-25T10:01:52.514Z] Dload Upload Total Spent Left Speed [2021-02-25T10:01:53.060Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 16525 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16525 0 0 100 16525 0 35082 --:--:-- --:--:-- --:--:-- 35084 [2021-02-25T10:01:53.060Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fd6d2d484dc046ea424b5eae25500a881197733d [Pipeline] } [2021-02-25T10:01:53.077Z] 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-02-25T10:01:55.679Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T10:01:56.246Z] ---> package-listing.sh [2021-02-25T10:01:56.246Z] ++ facter osfamily [2021-02-25T10:01:56.246Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-25T10:01:56.246Z] + OS_FAMILY=redhat [2021-02-25T10:01:56.246Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-798 [2021-02-25T10:01:56.246Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-25T10:01:56.246Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-25T10:01:56.246Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-25T10:01:56.246Z] + PACKAGES=/tmp/packages_start.txt [2021-02-25T10:01:56.246Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-798 ']' [2021-02-25T10:01:56.246Z] + PACKAGES=/tmp/packages_end.txt [2021-02-25T10:01:56.246Z] + case "${OS_FAMILY}" in [2021-02-25T10:01:56.246Z] + rpm -qa [2021-02-25T10:01:56.246Z] + sort [2021-02-25T10:02:01.557Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-25T10:02:01.557Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-25T10:02:01.557Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-25T10:02:01.557Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-798 ']' [2021-02-25T10:02:01.557Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-798/archives/ [2021-02-25T10:02:01.557Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-798/archives/ [Pipeline] echo [2021-02-25T10:02:01.576Z] 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-798/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-25T10:02:01.874Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-25T10:02:02.199Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-25T10:02:02.199Z] [2021-02-25T10:02:02.199Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-25T10:02:02.571Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-25T10:02:02.571Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-25T10:02:02.571Z] df20fa9351a1: Pulling fs layer [2021-02-25T10:02:02.571Z] 36b3adc4ff6f: Pulling fs layer [2021-02-25T10:02:02.571Z] 8ad3a11d3b57: Pulling fs layer [2021-02-25T10:02:02.571Z] 46f8f816bc3b: Pulling fs layer [2021-02-25T10:02:02.571Z] 93b61091891f: Pulling fs layer [2021-02-25T10:02:02.571Z] 93b9cdb0e59b: Pulling fs layer [2021-02-25T10:02:02.571Z] 5e14af77c1be: Pulling fs layer [2021-02-25T10:02:02.571Z] 01666e4c0597: Pulling fs layer [2021-02-25T10:02:02.571Z] aa168da1d23b: Pulling fs layer [2021-02-25T10:02:02.571Z] 93b9cdb0e59b: Waiting [2021-02-25T10:02:02.571Z] 5e14af77c1be: Waiting [2021-02-25T10:02:02.571Z] 01666e4c0597: Waiting [2021-02-25T10:02:02.571Z] 93b61091891f: Waiting [2021-02-25T10:02:02.571Z] aa168da1d23b: Waiting [2021-02-25T10:02:02.571Z] 46f8f816bc3b: Waiting [2021-02-25T10:02:02.572Z] 36b3adc4ff6f: Verifying Checksum [2021-02-25T10:02:02.572Z] 36b3adc4ff6f: Download complete [2021-02-25T10:02:02.572Z] 46f8f816bc3b: Verifying Checksum [2021-02-25T10:02:02.572Z] 46f8f816bc3b: Download complete [2021-02-25T10:02:02.854Z] df20fa9351a1: Verifying Checksum [2021-02-25T10:02:02.854Z] df20fa9351a1: Download complete [2021-02-25T10:02:02.854Z] 93b9cdb0e59b: Verifying Checksum [2021-02-25T10:02:02.854Z] 93b9cdb0e59b: Download complete [2021-02-25T10:02:02.854Z] 93b61091891f: Verifying Checksum [2021-02-25T10:02:02.854Z] 93b61091891f: Download complete [2021-02-25T10:02:02.854Z] 01666e4c0597: Verifying Checksum [2021-02-25T10:02:02.854Z] 01666e4c0597: Download complete [2021-02-25T10:02:02.854Z] 8ad3a11d3b57: Verifying Checksum [2021-02-25T10:02:02.854Z] 8ad3a11d3b57: Download complete [2021-02-25T10:02:02.854Z] df20fa9351a1: Pull complete [2021-02-25T10:02:03.130Z] 36b3adc4ff6f: Pull complete [2021-02-25T10:02:03.722Z] 8ad3a11d3b57: Pull complete [2021-02-25T10:02:03.722Z] 5e14af77c1be: Verifying Checksum [2021-02-25T10:02:03.722Z] 5e14af77c1be: Download complete [2021-02-25T10:02:03.985Z] 46f8f816bc3b: Pull complete [2021-02-25T10:02:04.262Z] 93b61091891f: Pull complete [2021-02-25T10:02:04.262Z] 93b9cdb0e59b: Pull complete [2021-02-25T10:02:04.850Z] 5e14af77c1be: Pull complete [2021-02-25T10:02:04.850Z] 01666e4c0597: Pull complete [2021-02-25T10:02:05.112Z] aa168da1d23b: Verifying Checksum [2021-02-25T10:02:05.112Z] aa168da1d23b: Download complete [2021-02-25T10:02:11.768Z] aa168da1d23b: Pull complete [2021-02-25T10:02:11.768Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-25T10:02:11.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-25T10:02:11.768Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-25T10:02:11.927Z] prd-centos7-docker-4c-2g-27631 does not seem to be running inside a container [2021-02-25T10:02:11.975Z] $ 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-798/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-798 -v /w/workspace/dgexfoundry_device-sdk-go_PR-798:/w/workspace/dgexfoundry_device-sdk-go_PR-798:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-798@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-798@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-25T10:02:15.221Z] $ docker top 71c0e21cb295b790ec8351c17932340a36b3a9f89bf4d8ee11ae24d94c225999 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-25T10:02:15.717Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-25T10:02:16.016Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-25T10:02:16.313Z] + ls /var/log/sa-host [2021-02-25T10:02:16.313Z] + sadf -c /var/log/sa-host/sa23 [2021-02-25T10:02:16.313Z] file_magic: OK [2021-02-25T10:02:16.313Z] HZ: Using current value: 100 [2021-02-25T10:02:16.313Z] file_header: OK [2021-02-25T10:02:16.313Z] 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-02-25T10:02:16.313Z] Statistics: [2021-02-25T10:02:16.313Z] Hnuu...uuuununununu... [2021-02-25T10:02:16.313Z] File successfully converted to sysstat format version 12.2.1 [2021-02-25T10:02:16.313Z] + sadf -c /var/log/sa-host/sa25 [2021-02-25T10:02:16.313Z] file_magic: OK [2021-02-25T10:02:16.313Z] HZ: Using current value: 100 [2021-02-25T10:02:16.313Z] file_header: OK [2021-02-25T10:02:16.313Z] 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-02-25T10:02:16.313Z] Statistics: [2021-02-25T10:02:16.313Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-25T10:02:16.313Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-25T10:02:18.368Z] provisioning config files... [2021-02-25T10:02:18.386Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-798@tmp/config2655408858696199149tmp [Pipeline] { [Pipeline] echo [2021-02-25T10:02:18.454Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T10:02:18.748Z] ---> create-netrc.sh [Pipeline] } [2021-02-25T10:02:18.757Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-25T10:02:18.844Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T10:02:19.137Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-25T10:02:19.148Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T10:02:19.438Z] ---> sudo-logs.sh [2021-02-25T10:02:19.439Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-25T10:02:19.505Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T10:02:19.797Z] ---> job-cost.sh [2021-02-25T10:02:19.797Z] lf-activate-venv: SKIPPING [2021-02-25T10:02:19.797Z] DEBUG: total: 0.20999999344348907 [2021-02-25T10:02:19.797Z] INFO: Retrieving Stack Cost... [2021-02-25T10:02:20.738Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-25T10:02:21.310Z] INFO: Archiving Costs [Pipeline] echo [2021-02-25T10:02:21.322Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T10:02:21.616Z] ---> logs-deploy.sh [2021-02-25T10:02:21.616Z] lf-activate-venv: SKIPPING [2021-02-25T10:02:21.616Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-798/2 [2021-02-25T10:02:21.616Z] INFO: archiving workspace using pattern(s): [2021-02-25T10:02:23.533Z] Archives upload complete. [2021-02-25T10:02:23.533Z] INFO: archiving logs to Nexus