Pull request #804 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at d38291b108151c678147caa989c3776b19aa5fc1 rather than d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6 Obtained Jenkinsfile from d38291b108151c678147caa989c3776b19aa5fc1 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-28918’ Running on prd-centos7-docker-4c-2g-28921 in /w/workspace/dgexfoundry_device-sdk-go_PR-804 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-804 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/804/head:refs/remotes/origin/PR-804 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d38291b108151c678147caa989c3776b19aa5fc1 into PR head commit d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6 Merge succeeded, producing d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6 Checking out Revision d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6 (PR-804) > git config core.sparsecheckout # timeout=10 > git checkout -f d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6 # timeout=10 Commit message: "feat: Upgrade the dependency lib version" > git rev-list --no-walk 31a08261b41db6041274b3103071e8b7252d6267 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-08T02:30:26.160Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-08T02:30:26.435Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-08T02:30:26.544Z] ========================================================= [2021-03-08T02:30:26.544Z] EdgeX Global Pipelines Version Info [2021-03-08T02:30:26.544Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-08T02:30:28.350Z] ------------------- [2021-03-08T02:30:28.350Z] stable info: [2021-03-08T02:30:28.350Z] ------------------- [2021-03-08T02:30:28.350Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-08T02:30:28.350Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-08T02:30:28.350Z] Message: update stable to v1.0.184 [2021-03-08T02:30:29.352Z] ------------------- [2021-03-08T02:30:29.352Z] experimental info: [2021-03-08T02:30:29.352Z] ------------------- [2021-03-08T02:30:29.352Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-08T02:30:29.352Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-08T02:30:29.352Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-08T02:30:29.635Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-08T02:30:29.733Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-08T02:30:29.839Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-08T02:30:29.947Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-08T02:30:30.087Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-08T02:30:30.243Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-08T02:30:30.362Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-08T02:30:30.525Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-08T02:30:30.702Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-08T02:30:30.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-08T02:30:30.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-08T02:30:31.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-08T02:30:31.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-08T02:30:31.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-08T02:30:31.410Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-08T02:30:31.554Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-08T02:30:31.683Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-08T02:30:31.783Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-08T02:30:31.905Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-08T02:30:32.003Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-08T02:30:32.110Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-08T02:30:32.226Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-08T02:30:32.322Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-08T02:30:32.432Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-08T02:30:32.573Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-08T02:30:32.667Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-08T02:30:32.767Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-804 [Pipeline] echo [2021-03-08T02:30:32.868Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-804 [Pipeline] echo [2021-03-08T02:30:32.959Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-804 [Pipeline] echo [2021-03-08T02:30:33.054Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6 [Pipeline] echo [2021-03-08T02:30:33.153Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d952faf [Pipeline] echo [2021-03-08T02:30:33.248Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-08T02:30:33.476Z] provisioning config files... [2021-03-08T02:30:33.769Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/config2004549459073159572tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-08T02:30:34.479Z] ---> docker-login.sh [2021-03-08T02:30:34.479Z] nexus3.edgexfoundry.org:10001 [2021-03-08T02:30:34.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T02:30:40.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T02:30:40.436Z] Configure a credential helper to remove this warning. See [2021-03-08T02:30:40.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T02:30:40.436Z] [2021-03-08T02:30:40.436Z] Login Succeeded [2021-03-08T02:30:40.436Z] nexus3.edgexfoundry.org:10002 [2021-03-08T02:30:40.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T02:30:40.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T02:30:40.436Z] Configure a credential helper to remove this warning. See [2021-03-08T02:30:40.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T02:30:40.436Z] [2021-03-08T02:30:40.436Z] Login Succeeded [2021-03-08T02:30:40.436Z] nexus3.edgexfoundry.org:10003 [2021-03-08T02:30:40.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T02:30:40.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T02:30:40.436Z] Configure a credential helper to remove this warning. See [2021-03-08T02:30:40.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T02:30:40.436Z] [2021-03-08T02:30:40.436Z] Login Succeeded [2021-03-08T02:30:40.436Z] nexus3.edgexfoundry.org:10004 [2021-03-08T02:30:40.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T02:30:40.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T02:30:40.436Z] Configure a credential helper to remove this warning. See [2021-03-08T02:30:40.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T02:30:40.436Z] [2021-03-08T02:30:40.436Z] Login Succeeded [2021-03-08T02:30:40.436Z] docker.io [2021-03-08T02:30:40.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T02:30:40.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T02:30:40.734Z] Configure a credential helper to remove this warning. See [2021-03-08T02:30:40.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T02:30:40.734Z] [2021-03-08T02:30:40.734Z] Login Succeeded [2021-03-08T02:30:40.734Z] ---> docker-login.sh ends [Pipeline] } [2021-03-08T02:30:40.761Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-08T02:30:41.775Z] + git log --format=format:%s -1 d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6 [Pipeline] echo [2021-03-08T02:30:41.865Z] GIT_COMMIT: d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6, Commit Message: feat: Upgrade the dependency lib version [Pipeline] echo [2021-03-08T02:30:41.931Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-08T02:30:43.003Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-08T02:30:43.004Z] [2021-03-08T02:30:43.004Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-08T02:30:43.374Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-08T02:30:43.374Z] latest: Pulling from edgex-devops/git-semver [2021-03-08T02:30:43.374Z] 31603596830f: Pulling fs layer [2021-03-08T02:30:43.374Z] 2a8b12db71e7: Pulling fs layer [2021-03-08T02:30:43.374Z] 6ca5941a6612: Pulling fs layer [2021-03-08T02:30:43.374Z] ecc8261a40a4: Pulling fs layer [2021-03-08T02:30:43.374Z] ecc8261a40a4: Waiting [2021-03-08T02:30:43.374Z] 2a8b12db71e7: Verifying Checksum [2021-03-08T02:30:43.374Z] 2a8b12db71e7: Download complete [2021-03-08T02:30:43.646Z] 31603596830f: Verifying Checksum [2021-03-08T02:30:43.646Z] 31603596830f: Download complete [2021-03-08T02:30:43.646Z] ecc8261a40a4: Verifying Checksum [2021-03-08T02:30:43.646Z] ecc8261a40a4: Download complete [2021-03-08T02:30:43.646Z] 6ca5941a6612: Verifying Checksum [2021-03-08T02:30:43.646Z] 6ca5941a6612: Download complete [2021-03-08T02:30:43.916Z] 31603596830f: Pull complete [2021-03-08T02:30:43.916Z] 2a8b12db71e7: Pull complete [2021-03-08T02:30:44.927Z] 6ca5941a6612: Pull complete [2021-03-08T02:30:45.227Z] ecc8261a40a4: Pull complete [2021-03-08T02:30:45.227Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-08T02:30:45.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-08T02:30:45.227Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-08T02:30:45.335Z] prd-centos7-docker-4c-2g-28921 does not seem to be running inside a container [2021-03-08T02:30:45.407Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-804 -v /w/workspace/dgexfoundry_device-sdk-go_PR-804:/w/workspace/dgexfoundry_device-sdk-go_PR-804:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-08T02:30:47.627Z] $ docker top d6dc3e831e0038fce0604756945944d3d1f8f4d231ac44d5d61b61fa7e5115fd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-08T02:30:47.965Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-08T02:30:47.965Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-08T02:30:48.183Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-08T02:30:48.193Z] $ docker exec d6dc3e831e0038fce0604756945944d3d1f8f4d231ac44d5d61b61fa7e5115fd ssh-agent [2021-03-08T02:30:48.353Z] SSH_AUTH_SOCK=/tmp/ssh-fgrjbJSBNtqz/agent.12 [2021-03-08T02:30:48.353Z] SSH_AGENT_PID=17 [2021-03-08T02:30:48.375Z] Running ssh-add (command line suppressed) [2021-03-08T02:30:48.496Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/private_key_8811360769776202613.key (/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/private_key_8811360769776202613.key) [2021-03-08T02:30:48.549Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-08T02:30:48.897Z] + git tag --points-at HEAD [Pipeline] } [2021-03-08T02:30:48.999Z] $ docker exec --env ******** --env ******** d6dc3e831e0038fce0604756945944d3d1f8f4d231ac44d5d61b61fa7e5115fd ssh-agent -k [2021-03-08T02:30:49.108Z] unset SSH_AUTH_SOCK; [2021-03-08T02:30:49.108Z] unset SSH_AGENT_PID; [2021-03-08T02:30:49.108Z] echo Agent pid 17 killed; [2021-03-08T02:30:49.432Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-08T02:30:49.598Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-08T02:30:49.599Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-08T02:30:49.762Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-08T02:30:49.771Z] $ docker exec d6dc3e831e0038fce0604756945944d3d1f8f4d231ac44d5d61b61fa7e5115fd ssh-agent [2021-03-08T02:30:49.921Z] SSH_AUTH_SOCK=/tmp/ssh-thCb75OYd4XB/agent.48 [2021-03-08T02:30:49.921Z] SSH_AGENT_PID=54 [2021-03-08T02:30:49.933Z] Running ssh-add (command line suppressed) [2021-03-08T02:30:50.058Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/private_key_483594320010141034.key (/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/private_key_483594320010141034.key) [2021-03-08T02:30:50.109Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-08T02:30:50.472Z] + git semver init [2021-03-08T02:30:50.472Z] # -> Open(): unable to determine branch for HEAD [2021-03-08T02:30:50.472Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-804/.git [2021-03-08T02:30:50.472Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-804 [2021-03-08T02:30:50.472Z] # $SEMVER_REMOTE_NAME = origin [2021-03-08T02:30:50.472Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-08T02:30:50.472Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-08T02:30:50.472Z] # $SEMVER_BRANCH = PR-804 [2021-03-08T02:30:50.472Z] # $SEMVER_TEMP = /tmp/semver-278179202 [2021-03-08T02:30:50.472Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-08T02:30:51.055Z] # '/tmp/semver-278179202' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-804/.semver' [2021-03-08T02:30:51.055Z] # -> Force: false [2021-03-08T02:30:51.055Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-804/.semver [Pipeline] } [2021-03-08T02:30:51.078Z] $ docker exec --env ******** --env ******** d6dc3e831e0038fce0604756945944d3d1f8f4d231ac44d5d61b61fa7e5115fd ssh-agent -k [2021-03-08T02:30:51.192Z] unset SSH_AUTH_SOCK; [2021-03-08T02:30:51.192Z] unset SSH_AGENT_PID; [2021-03-08T02:30:51.192Z] echo Agent pid 54 killed; [2021-03-08T02:30:51.232Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-08T02:30:51.781Z] + git semver [Pipeline] } [2021-03-08T02:30:51.813Z] $ docker stop --time=1 d6dc3e831e0038fce0604756945944d3d1f8f4d231ac44d5d61b61fa7e5115fd [2021-03-08T02:30:53.282Z] $ docker rm -f d6dc3e831e0038fce0604756945944d3d1f8f4d231ac44d5d61b61fa7e5115fd [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-08T02:30:53.762Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-08T02:30:54.179Z] Stashed 1 file(s) [Pipeline] echo [2021-03-08T02:30:54.182Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-03-08T02:31:09.702Z] Still waiting to schedule task [2021-03-08T02:31:09.702Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-08T02:31:09.705Z] Still waiting to schedule task [2021-03-08T02:31:09.705Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-08T02:33:04.995Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28922 in /w/workspace/dgexfoundry_device-sdk-go_PR-804 [Pipeline] { [Pipeline] ws [2021-03-08T02:33:05.056Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-03-08T02:33:11.811Z] using credential edgex-jenkins-ssh [2021-03-08T02:33:11.907Z] Cloning the remote Git repository [2021-03-08T02:33:11.968Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T02:33:12.105Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-03-08T02:33:12.187Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T02:33:12.188Z] > git --version # timeout=10 [2021-03-08T02:33:12.210Z] > git --version # 'git version 2.17.1' [2021-03-08T02:33:12.212Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T02:33:12.259Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-08T02:33:13.314Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-08T02:33:13.339Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-08T02:33:13.422Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-08T02:33:13.473Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T02:33:13.474Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T02:33:13.505Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/804/head:refs/remotes/origin/PR-804 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-08T02:33:14.186Z] Merging remotes/origin/master commit d38291b108151c678147caa989c3776b19aa5fc1 into PR head commit d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6 [2021-03-08T02:33:14.474Z] Merge succeeded, producing d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6 [2021-03-08T02:33:14.475Z] Checking out Revision d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6 (PR-804) [2021-03-08T02:33:14.222Z] > git config core.sparsecheckout # timeout=10 [2021-03-08T02:33:14.251Z] > git checkout -f d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6 # timeout=10 [2021-03-08T02:33:14.376Z] > git remote # timeout=10 [2021-03-08T02:33:14.393Z] > git config --get remote.origin.url # timeout=10 [2021-03-08T02:33:14.411Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T02:33:14.422Z] > git merge d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 [2021-03-08T02:33:14.450Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-08T02:33:14.490Z] > git config core.sparsecheckout # timeout=10 [2021-03-08T02:33:14.501Z] > git checkout -f d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6 # timeout=10 [2021-03-08T02:33:19.868Z] Commit message: "feat: Upgrade the dependency lib version" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-08T02:33:21.672Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-08T02:33:22.437Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-08T02:33:22.810Z] + sudo service docker restart [2021-03-08T02:33:22.810Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-08T02:33:24.899Z] provisioning config files... [2021-03-08T02:33:24.943Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config5725453900688417481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-08T02:33:25.368Z] ---> docker-login.sh [2021-03-08T02:33:25.368Z] nexus3.edgexfoundry.org:10001 [2021-03-08T02:33:26.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T02:33:26.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T02:33:26.758Z] Configure a credential helper to remove this warning. See [2021-03-08T02:33:26.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T02:33:26.758Z] [2021-03-08T02:33:26.758Z] Login Succeeded [2021-03-08T02:33:26.758Z] nexus3.edgexfoundry.org:10002 [2021-03-08T02:33:27.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T02:33:27.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T02:33:27.297Z] Configure a credential helper to remove this warning. See [2021-03-08T02:33:27.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T02:33:27.297Z] [2021-03-08T02:33:27.297Z] Login Succeeded [2021-03-08T02:33:27.297Z] nexus3.edgexfoundry.org:10003 [2021-03-08T02:33:27.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T02:33:27.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T02:33:27.868Z] Configure a credential helper to remove this warning. See [2021-03-08T02:33:27.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T02:33:27.868Z] [2021-03-08T02:33:27.868Z] Login Succeeded [2021-03-08T02:33:27.868Z] nexus3.edgexfoundry.org:10004 [2021-03-08T02:33:28.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T02:33:28.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T02:33:28.179Z] Configure a credential helper to remove this warning. See [2021-03-08T02:33:28.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T02:33:28.179Z] [2021-03-08T02:33:28.179Z] Login Succeeded [2021-03-08T02:33:28.179Z] docker.io [2021-03-08T02:33:28.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T02:33:29.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T02:33:29.110Z] Configure a credential helper to remove this warning. See [2021-03-08T02:33:29.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T02:33:29.110Z] [2021-03-08T02:33:29.110Z] Login Succeeded [2021-03-08T02:33:29.110Z] ---> docker-login.sh ends [Pipeline] } [2021-03-08T02:33:29.134Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-08T02:33:29.686Z] ========================================================= [2021-03-08T02:33:29.686Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-08T02:33:29.686Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-08T02:33:30.234Z] Running on prd-centos7-docker-4c-2g-28923 in /w/workspace/dgexfoundry_device-sdk-go_PR-804 [Pipeline] { [Pipeline] ws [2021-03-08T02:33:30.287Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [2021-03-08T02:33:30.344Z] + 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 . [Pipeline] checkout [2021-03-08T02:33:30.654Z] Sending build context to Docker daemon 2.489MB [2021-03-08T02:33:30.654Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-08T02:33:30.654Z] Step 2/8 : FROM ${BASE} [2021-03-08T02:33:30.654Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-08T02:33:30.654Z] 5f621e34cdf4: Pulling fs layer [2021-03-08T02:33:30.654Z] a4357932f1b6: Pulling fs layer [2021-03-08T02:33:30.654Z] 18c013af1878: Pulling fs layer [2021-03-08T02:33:30.654Z] 00ac8860ef70: Pulling fs layer [2021-03-08T02:33:30.654Z] 63d7cb157983: Pulling fs layer [2021-03-08T02:33:30.654Z] b116817d02f9: Pulling fs layer [2021-03-08T02:33:30.654Z] 745a02a5169b: Pulling fs layer [2021-03-08T02:33:30.654Z] 63d7cb157983: Waiting [2021-03-08T02:33:30.654Z] b116817d02f9: Waiting [2021-03-08T02:33:30.654Z] 745a02a5169b: Waiting [2021-03-08T02:33:30.654Z] 00ac8860ef70: Waiting [2021-03-08T02:33:30.654Z] 18c013af1878: Verifying Checksum [2021-03-08T02:33:30.654Z] 18c013af1878: Download complete [2021-03-08T02:33:30.654Z] a4357932f1b6: Verifying Checksum [2021-03-08T02:33:30.654Z] a4357932f1b6: Download complete [2021-03-08T02:33:31.310Z] 63d7cb157983: Download complete [2021-03-08T02:33:31.880Z] b116817d02f9: Verifying Checksum [2021-03-08T02:33:31.880Z] b116817d02f9: Download complete [2021-03-08T02:33:31.880Z] 5f621e34cdf4: Verifying Checksum [2021-03-08T02:33:31.880Z] 5f621e34cdf4: Download complete [2021-03-08T02:33:32.175Z] 5f621e34cdf4: Pull complete [2021-03-08T02:33:33.037Z] a4357932f1b6: Pull complete [2021-03-08T02:33:33.331Z] 18c013af1878: Pull complete [2021-03-08T02:33:34.526Z] using credential edgex-jenkins-ssh [2021-03-08T02:33:34.584Z] Cloning the remote Git repository [2021-03-08T02:33:34.847Z] 745a02a5169b: Verifying Checksum [2021-03-08T02:33:34.847Z] 745a02a5169b: Download complete [2021-03-08T02:33:34.629Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T02:33:34.740Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-03-08T02:33:34.810Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T02:33:34.811Z] > git --version # timeout=10 [2021-03-08T02:33:34.818Z] > git --version # 'git version 2.24.3' [2021-03-08T02:33:34.820Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T02:33:34.855Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-08T02:33:35.596Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-08T02:33:35.603Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-08T02:33:35.631Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-08T02:33:35.649Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T02:33:35.650Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T02:33:35.655Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/804/head:refs/remotes/origin/PR-804 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-08T02:33:35.930Z] 00ac8860ef70: Download complete [2021-03-08T02:33:36.146Z] Merging remotes/origin/master commit d38291b108151c678147caa989c3776b19aa5fc1 into PR head commit d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6 [2021-03-08T02:33:36.278Z] Merge succeeded, producing d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6 [2021-03-08T02:33:36.278Z] Checking out Revision d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6 (PR-804) [2021-03-08T02:33:36.166Z] > git config core.sparsecheckout # timeout=10 [2021-03-08T02:33:36.171Z] > git checkout -f d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6 # timeout=10 [2021-03-08T02:33:36.239Z] > git remote # timeout=10 [2021-03-08T02:33:36.247Z] > git config --get remote.origin.url # timeout=10 [2021-03-08T02:33:36.252Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T02:33:36.257Z] > git merge d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 [2021-03-08T02:33:36.270Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-08T02:33:36.286Z] > git config core.sparsecheckout # timeout=10 [2021-03-08T02:33:36.292Z] > git checkout -f d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6 # timeout=10 [2021-03-08T02:33:40.213Z] Commit message: "feat: Upgrade the dependency lib version" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-08T02:33:41.588Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-08T02:33:41.967Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-08T02:33:42.302Z] + sudo service docker restart [2021-03-08T02:33:42.302Z] + true [2021-03-08T02:33:42.302Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-08T02:33:43.840Z] provisioning config files... [2021-03-08T02:33:43.874Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config5676363379114808538tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-08T02:33:44.267Z] ---> docker-login.sh [2021-03-08T02:33:44.267Z] nexus3.edgexfoundry.org:10001 [2021-03-08T02:33:44.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T02:33:46.335Z] 00ac8860ef70: Pull complete [2021-03-08T02:33:46.335Z] 63d7cb157983: Pull complete [2021-03-08T02:33:46.335Z] b116817d02f9: Pull complete [2021-03-08T02:33:50.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T02:33:50.199Z] Configure a credential helper to remove this warning. See [2021-03-08T02:33:50.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T02:33:50.199Z] [2021-03-08T02:33:50.199Z] Login Succeeded [2021-03-08T02:33:50.199Z] nexus3.edgexfoundry.org:10002 [2021-03-08T02:33:50.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T02:33:50.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T02:33:50.199Z] Configure a credential helper to remove this warning. See [2021-03-08T02:33:50.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T02:33:50.199Z] [2021-03-08T02:33:50.199Z] Login Succeeded [2021-03-08T02:33:50.199Z] nexus3.edgexfoundry.org:10003 [2021-03-08T02:33:50.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T02:33:50.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T02:33:50.199Z] Configure a credential helper to remove this warning. See [2021-03-08T02:33:50.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T02:33:50.199Z] [2021-03-08T02:33:50.199Z] Login Succeeded [2021-03-08T02:33:50.199Z] nexus3.edgexfoundry.org:10004 [2021-03-08T02:33:50.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T02:33:50.212Z] 745a02a5169b: Pull complete [2021-03-08T02:33:50.212Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-08T02:33:50.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-08T02:33:50.212Z] ---> b7e6874047d6 [2021-03-08T02:33:50.212Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T02:33:50.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T02:33:50.473Z] Configure a credential helper to remove this warning. See [2021-03-08T02:33:50.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T02:33:50.473Z] [2021-03-08T02:33:50.473Z] Login Succeeded [2021-03-08T02:33:50.473Z] docker.io [2021-03-08T02:33:50.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T02:33:50.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T02:33:50.743Z] Configure a credential helper to remove this warning. See [2021-03-08T02:33:50.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T02:33:50.743Z] [2021-03-08T02:33:50.743Z] Login Succeeded [2021-03-08T02:33:50.743Z] ---> docker-login.sh ends [Pipeline] } [2021-03-08T02:33:50.757Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-08T02:33:51.326Z] ========================================================= [2021-03-08T02:33:51.326Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-08T02:33:51.326Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-08T02:33:51.710Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-03-08T02:33:51.985Z] Sending build context to Docker daemon 2.49MB [2021-03-08T02:33:51.985Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-08T02:33:51.985Z] Step 2/8 : FROM ${BASE} [2021-03-08T02:33:51.985Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-08T02:33:51.985Z] 188c0c94c7c5: Pulling fs layer [2021-03-08T02:33:51.985Z] 0ef7d3d256c8: Pulling fs layer [2021-03-08T02:33:51.985Z] de9db76c5a1d: Pulling fs layer [2021-03-08T02:33:51.985Z] bca2f99d35d6: Pulling fs layer [2021-03-08T02:33:51.985Z] 93359f2a8cfa: Pulling fs layer [2021-03-08T02:33:51.985Z] 7c6f9722023f: Pulling fs layer [2021-03-08T02:33:51.985Z] a35cf1a2eb13: Pulling fs layer [2021-03-08T02:33:51.985Z] 93359f2a8cfa: Waiting [2021-03-08T02:33:51.985Z] 7c6f9722023f: Waiting [2021-03-08T02:33:51.985Z] bca2f99d35d6: Waiting [2021-03-08T02:33:51.985Z] a35cf1a2eb13: Waiting [2021-03-08T02:33:51.985Z] de9db76c5a1d: Verifying Checksum [2021-03-08T02:33:51.985Z] de9db76c5a1d: Download complete [2021-03-08T02:33:51.985Z] 0ef7d3d256c8: Download complete [2021-03-08T02:33:51.985Z] 93359f2a8cfa: Verifying Checksum [2021-03-08T02:33:51.985Z] 93359f2a8cfa: Download complete [2021-03-08T02:33:51.985Z] 188c0c94c7c5: Verifying Checksum [2021-03-08T02:33:51.985Z] 188c0c94c7c5: Download complete [2021-03-08T02:33:51.985Z] 7c6f9722023f: Verifying Checksum [2021-03-08T02:33:51.985Z] 7c6f9722023f: Download complete [2021-03-08T02:33:52.252Z] 188c0c94c7c5: Pull complete [2021-03-08T02:33:52.540Z] 0ef7d3d256c8: Pull complete [2021-03-08T02:33:52.831Z] de9db76c5a1d: Pull complete [2021-03-08T02:33:53.206Z] ---> Running in 6afb0c740ffb [2021-03-08T02:33:53.206Z] Removing intermediate container 6afb0c740ffb [2021-03-08T02:33:53.206Z] ---> 531d44dd1dff [2021-03-08T02:33:53.206Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-08T02:33:53.745Z] ---> Running in 9d022ae95aa9 [2021-03-08T02:33:54.851Z] a35cf1a2eb13: Verifying Checksum [2021-03-08T02:33:54.851Z] a35cf1a2eb13: Download complete [2021-03-08T02:33:55.130Z] bca2f99d35d6: Verifying Checksum [2021-03-08T02:33:55.130Z] bca2f99d35d6: Download complete [2021-03-08T02:33:55.835Z] Removing intermediate container 9d022ae95aa9 [2021-03-08T02:33:55.835Z] ---> ff9da54f4636 [2021-03-08T02:33:55.835Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-08T02:33:55.835Z] ---> Running in 92c180cf6c11 [2021-03-08T02:33:57.329Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-08T02:33:57.974Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-08T02:33:58.579Z] OK: 142 MiB in 39 packages [2021-03-08T02:33:59.598Z] Removing intermediate container 92c180cf6c11 [2021-03-08T02:33:59.598Z] ---> 00e1a7b39674 [2021-03-08T02:33:59.598Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-08T02:33:59.598Z] ---> Running in fd8bd55cfe5a [2021-03-08T02:34:00.204Z] Removing intermediate container fd8bd55cfe5a [2021-03-08T02:34:00.204Z] ---> fa44f73fbe85 [2021-03-08T02:34:00.204Z] Step 7/8 : COPY . . [2021-03-08T02:34:01.690Z] ---> f02c7f4d02d5 [2021-03-08T02:34:01.690Z] Step 8/8 : RUN go mod download [2021-03-08T02:34:01.690Z] ---> Running in 3d613b20050b [2021-03-08T02:34:01.845Z] bca2f99d35d6: Pull complete [2021-03-08T02:34:01.845Z] 93359f2a8cfa: Pull complete [2021-03-08T02:34:01.845Z] 7c6f9722023f: Pull complete [2021-03-08T02:34:08.522Z] a35cf1a2eb13: Pull complete [2021-03-08T02:34:08.522Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-08T02:34:08.522Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-08T02:34:08.522Z] ---> a62c8e92a672 [2021-03-08T02:34:08.522Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T02:34:08.522Z] ---> Running in c4434270ae2b [2021-03-08T02:34:08.522Z] Removing intermediate container c4434270ae2b [2021-03-08T02:34:08.522Z] ---> ac15f32c3835 [2021-03-08T02:34:08.522Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-08T02:34:08.522Z] ---> Running in 25bd7359b6bb [2021-03-08T02:34:09.525Z] Removing intermediate container 25bd7359b6bb [2021-03-08T02:34:09.525Z] ---> 97dec76acaff [2021-03-08T02:34:09.525Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-08T02:34:09.800Z] ---> Running in fb11f3ac47d3 [2021-03-08T02:34:11.244Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-08T02:34:11.523Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-08T02:34:12.129Z] OK: 166 MiB in 39 packages [2021-03-08T02:34:12.710Z] Removing intermediate container fb11f3ac47d3 [2021-03-08T02:34:12.710Z] ---> 295ebc36b0a0 [2021-03-08T02:34:12.710Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-08T02:34:12.711Z] ---> Running in 8d6a6344b073 [2021-03-08T02:34:12.711Z] Removing intermediate container 8d6a6344b073 [2021-03-08T02:34:12.711Z] ---> 6ca0f2b94b2f [2021-03-08T02:34:12.711Z] Step 7/8 : COPY . . [2021-03-08T02:34:14.135Z] ---> 059fde5dbadf [2021-03-08T02:34:14.135Z] Step 8/8 : RUN go mod download [2021-03-08T02:34:14.135Z] ---> Running in 682eb60cfd56 [2021-03-08T02:34:29.012Z] Removing intermediate container 3d613b20050b [2021-03-08T02:34:29.013Z] ---> 0ca3bfbfd4e8 [2021-03-08T02:34:29.013Z] Successfully built 0ca3bfbfd4e8 [2021-03-08T02:34:29.013Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-08T02:34:29.405Z] + docker inspect -f . ci-base-image-arm64 [2021-03-08T02:34:29.405Z] . [Pipeline] withDockerContainer [2021-03-08T02:34:29.689Z] prd-ubuntu18.04-docker-arm64-4c-16g-28922 does not seem to be running inside a container [2021-03-08T02:34:29.809Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-08T02:34:31.383Z] $ docker top 7e3858c415670379ed9549611a51139a639e1d03b93d142cd3c3e548b2fcf54c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-08T02:34:32.463Z] + go version [2021-03-08T02:34:32.463Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-08T02:34:32.555Z] $ docker stop --time=1 7e3858c415670379ed9549611a51139a639e1d03b93d142cd3c3e548b2fcf54c [2021-03-08T02:34:34.521Z] $ docker rm -f 7e3858c415670379ed9549611a51139a639e1d03b93d142cd3c3e548b2fcf54c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-08T02:34:35.588Z] + docker inspect -f . ci-base-image-arm64 [2021-03-08T02:34:35.588Z] . [Pipeline] withDockerContainer [2021-03-08T02:34:36.152Z] prd-ubuntu18.04-docker-arm64-4c-16g-28922 does not seem to be running inside a container [2021-03-08T02:34:36.450Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-08T02:34:37.148Z] Removing intermediate container 682eb60cfd56 [2021-03-08T02:34:37.148Z] ---> e199d70530fb [2021-03-08T02:34:37.148Z] Successfully built e199d70530fb [2021-03-08T02:34:37.148Z] Successfully tagged ci-base-image-x86_64:latest [2021-03-08T02:34:38.081Z] $ docker top 72d539b425510d9285c9c62cd68b1b3069e2c46a47bd1a9437c713d09a6771ee -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-03-08T02:34:39.018Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-08T02:34:39.018Z] . [Pipeline] withDockerContainer [2021-03-08T02:34:39.214Z] prd-centos7-docker-4c-2g-28923 does not seem to be running inside a container [2021-03-08T02:34:39.284Z] + make test [2021-03-08T02:34:39.284Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-08T02:34:39.489Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-08T02:34:40.480Z] $ docker top 38b8d5b280bd82387b631207f4cf40aa474841cb1e5d2eb4401f41bc0064ffd4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-08T02:34:41.042Z] + go version [2021-03-08T02:34:41.042Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-08T02:34:41.068Z] $ docker stop --time=1 38b8d5b280bd82387b631207f4cf40aa474841cb1e5d2eb4401f41bc0064ffd4 [2021-03-08T02:34:42.418Z] $ docker rm -f 38b8d5b280bd82387b631207f4cf40aa474841cb1e5d2eb4401f41bc0064ffd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-08T02:34:43.349Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-08T02:34:43.349Z] . [Pipeline] withDockerContainer [2021-03-08T02:34:43.468Z] prd-centos7-docker-4c-2g-28923 does not seem to be running inside a container [2021-03-08T02:34:43.541Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-08T02:34:44.228Z] $ docker top a334dc246c99e537a7118080fa70782c168b9140b03350b0fbe1c4a11993442d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-08T02:34:44.887Z] + make test [2021-03-08T02:34:44.887Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-08T02:34:53.779Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-08T02:35:01.937Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-08T02:35:09.148Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-08T02:35:09.148Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-08T02:35:09.148Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-08T02:35:12.687Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.062s coverage: 25.5% of statements [2021-03-08T02:35:39.986Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.065s coverage: 10.5% of statements [2021-03-08T02:35:39.986Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.048s coverage: 12.5% of statements [2021-03-08T02:35:39.986Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-08T02:35:39.986Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.063s coverage: 84.8% of statements [2021-03-08T02:35:39.986Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-08T02:35:39.986Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-03-08T02:35:39.986Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-08T02:35:39.986Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-08T02:35:39.986Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.066s coverage: 48.9% of statements [2021-03-08T02:35:39.986Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-08T02:35:39.986Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.067s coverage: 81.3% of statements [2021-03-08T02:35:39.986Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.095s coverage: 24.8% of statements [2021-03-08T02:35:39.986Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.551s coverage: 85.6% of statements [2021-03-08T02:35:39.986Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.067s coverage: 5.2% of statements [2021-03-08T02:35:39.986Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-08T02:35:39.986Z] GO111MODULE=on go vet ./... [2021-03-08T02:35:42.267Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-08T02:35:42.267Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-08T02:35:42.267Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-08T02:35:45.829Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.119s coverage: 25.5% of statements [2021-03-08T02:35:52.892Z] gofmt -l . [2021-03-08T02:35:52.892Z] [ "`gofmt -l .`" = "" ] [2021-03-08T02:35:52.892Z] ./bin/test-attribution-txt.sh [2021-03-08T02:35:53.525Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-08T02:35:53.821Z] $ docker stop --time=1 a334dc246c99e537a7118080fa70782c168b9140b03350b0fbe1c4a11993442d [2021-03-08T02:35:55.840Z] $ docker rm -f a334dc246c99e537a7118080fa70782c168b9140b03350b0fbe1c4a11993442d [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-08T02:35:56.638Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-08T02:35:57.188Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-08T02:36:00.134Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-08T02:36:00.733Z] + ls -al . [2021-03-08T02:36:00.733Z] total 184 [2021-03-08T02:36:00.733Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 8 02:35 . [2021-03-08T02:36:00.733Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 8 02:33 .. [2021-03-08T02:36:00.733Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 8 02:33 bin [2021-03-08T02:36:00.733Z] -rw-r--r--. 1 jenkins jenkins 101322 Mar 8 02:35 coverage.out [2021-03-08T02:36:00.733Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 8 02:33 Dockerfile.build [2021-03-08T02:36:00.733Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 8 02:33 .dockerignore [2021-03-08T02:36:00.733Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 8 02:33 example [2021-03-08T02:36:00.733Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 8 02:33 .git [2021-03-08T02:36:00.733Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 8 02:33 .github [2021-03-08T02:36:00.733Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 8 02:33 .gitignore [2021-03-08T02:36:00.733Z] -rw-r--r--. 1 jenkins jenkins 516 Mar 8 02:35 go.mod [2021-03-08T02:36:00.733Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 8 02:35 go.sum [2021-03-08T02:36:00.733Z] drwxrwxr-x. 13 jenkins jenkins 183 Mar 8 02:33 internal [2021-03-08T02:36:00.733Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 8 02:33 Jenkinsfile [2021-03-08T02:36:00.733Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 8 02:33 LICENSE [2021-03-08T02:36:00.733Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 8 02:33 Makefile [2021-03-08T02:36:00.733Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 8 02:33 openapi [2021-03-08T02:36:00.733Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 8 02:33 pkg [2021-03-08T02:36:00.733Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 8 02:33 README.md [2021-03-08T02:36:00.733Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 8 02:33 RELEASE-NOTES.txt [2021-03-08T02:36:00.733Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 8 02:33 snap [2021-03-08T02:36:00.733Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 8 02:30 VERSION [2021-03-08T02:36:00.733Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 8 02:33 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-08T02:36:01.063Z] + 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=d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6 --label arch=amd64 --label version=0.0.0 . [2021-03-08T02:36:01.327Z] Sending build context to Docker daemon 2.592MB [2021-03-08T02:36:01.327Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-08T02:36:01.327Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-08T02:36:01.327Z] ---> e199d70530fb [2021-03-08T02:36:01.327Z] Step 3/24 : ARG MAKE='make build' [2021-03-08T02:36:01.912Z] ---> Running in e51996acfdcd [2021-03-08T02:36:02.184Z] Removing intermediate container e51996acfdcd [2021-03-08T02:36:02.184Z] ---> a3d840d61b43 [2021-03-08T02:36:02.184Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-08T02:36:02.184Z] ---> Running in cec85017e899 [2021-03-08T02:36:02.451Z] Removing intermediate container cec85017e899 [2021-03-08T02:36:02.451Z] ---> 236cb103b2ca [2021-03-08T02:36:02.451Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T02:36:02.451Z] ---> Running in 582bec03e9ea [2021-03-08T02:36:02.729Z] Removing intermediate container 582bec03e9ea [2021-03-08T02:36:02.729Z] ---> ac9c03e42c77 [2021-03-08T02:36:02.729Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-08T02:36:02.729Z] ---> Running in 43396528fdd4 [2021-03-08T02:36:03.732Z] Removing intermediate container 43396528fdd4 [2021-03-08T02:36:03.732Z] ---> 8ed35235ab63 [2021-03-08T02:36:03.732Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-08T02:36:03.732Z] ---> Running in a299025f595f [2021-03-08T02:36:04.335Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-08T02:36:05.316Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-08T02:36:05.866Z] OK: 166 MiB in 39 packages [2021-03-08T02:36:06.226Z] Removing intermediate container a299025f595f [2021-03-08T02:36:06.226Z] ---> ecb51d8597b4 [2021-03-08T02:36:06.226Z] Step 8/24 : COPY . . [2021-03-08T02:36:07.432Z] ---> ce1b042689c3 [2021-03-08T02:36:07.432Z] Step 9/24 : RUN ${MAKE} [2021-03-08T02:36:07.432Z] ---> Running in 34a719e4cbea [2021-03-08T02:36:07.767Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-08T02:36:18.662Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-08T02:36:19.108Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.135s coverage: 10.5% of statements [2021-03-08T02:36:19.108Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.156s coverage: 12.5% of statements [2021-03-08T02:36:19.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-08T02:36:19.108Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.130s coverage: 84.8% of statements [2021-03-08T02:36:19.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-08T02:36:19.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-03-08T02:36:19.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-08T02:36:19.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-08T02:36:19.108Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.212s coverage: 48.9% of statements [2021-03-08T02:36:19.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-08T02:36:19.108Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.174s coverage: 81.3% of statements [2021-03-08T02:36:19.108Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.186s coverage: 24.8% of statements [2021-03-08T02:36:19.108Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.685s coverage: 85.6% of statements [2021-03-08T02:36:19.108Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.120s coverage: 5.2% of statements [2021-03-08T02:36:19.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-08T02:36:19.108Z] GO111MODULE=on go vet ./... [2021-03-08T02:36:19.772Z] Removing intermediate container 34a719e4cbea [2021-03-08T02:36:19.773Z] ---> 66b78b140a70 [2021-03-08T02:36:19.773Z] Step 10/24 : FROM scratch [2021-03-08T02:36:19.773Z] ---> [2021-03-08T02:36:19.773Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T02:36:19.773Z] ---> Running in 90fd65dd8aff [2021-03-08T02:36:20.065Z] Removing intermediate container 90fd65dd8aff [2021-03-08T02:36:20.065Z] ---> 96c95c3b59e4 [2021-03-08T02:36:20.065Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-08T02:36:20.065Z] ---> Running in d58436eab5bc [2021-03-08T02:36:20.065Z] Removing intermediate container d58436eab5bc [2021-03-08T02:36:20.065Z] ---> 2f4a57a0c16f [2021-03-08T02:36:20.065Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-08T02:36:20.574Z] ---> Running in f8b0d62cf731 [2021-03-08T02:36:20.574Z] Removing intermediate container f8b0d62cf731 [2021-03-08T02:36:20.574Z] ---> 8ce9c86cb1da [2021-03-08T02:36:20.574Z] Step 14/24 : WORKDIR / [2021-03-08T02:36:20.574Z] ---> Running in 7e6998624cae [2021-03-08T02:36:20.849Z] Removing intermediate container 7e6998624cae [2021-03-08T02:36:20.849Z] ---> adfb804a1b7f [2021-03-08T02:36:20.849Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-08T02:36:21.455Z] ---> 90ca3d2b7132 [2021-03-08T02:36:21.455Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-08T02:36:22.340Z] ---> 8dd3ba5ba4da [2021-03-08T02:36:22.340Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-08T02:36:22.340Z] ---> e2f96fbc8888 [2021-03-08T02:36:22.340Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-08T02:36:22.655Z] ---> a9f53440ce55 [2021-03-08T02:36:22.655Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-08T02:36:23.010Z] ---> 4dec127a6110 [2021-03-08T02:36:23.010Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-08T02:36:23.010Z] ---> Running in 781659993a43 [2021-03-08T02:36:23.010Z] Removing intermediate container 781659993a43 [2021-03-08T02:36:23.010Z] ---> 337ee024ac40 [2021-03-08T02:36:23.010Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-08T02:36:23.286Z] ---> Running in 24761cb0d293 [2021-03-08T02:36:23.286Z] Removing intermediate container 24761cb0d293 [2021-03-08T02:36:23.286Z] ---> 96cef4534fe1 [2021-03-08T02:36:23.286Z] Step 22/24 : LABEL arch=amd64 [2021-03-08T02:36:23.286Z] ---> Running in 8a6ee6b2fde3 [2021-03-08T02:36:23.573Z] Removing intermediate container 8a6ee6b2fde3 [2021-03-08T02:36:23.573Z] ---> c858044f8cc3 [2021-03-08T02:36:23.573Z] Step 23/24 : LABEL git_sha=d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6 [2021-03-08T02:36:23.573Z] ---> Running in f6373763a1d5 [2021-03-08T02:36:23.844Z] Removing intermediate container f6373763a1d5 [2021-03-08T02:36:23.844Z] ---> b5482c057bfe [2021-03-08T02:36:23.844Z] Step 24/24 : LABEL version=0.0.0 [2021-03-08T02:36:23.844Z] ---> Running in 23abf173b1b0 [2021-03-08T02:36:24.136Z] Removing intermediate container 23abf173b1b0 [2021-03-08T02:36:24.136Z] ---> 5a5a54869fe1 [2021-03-08T02:36:24.136Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-08T02:36:24.136Z] Successfully built 5a5a54869fe1 [2021-03-08T02:36:24.136Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-08T02:36:25.455Z] ---> job-cost.sh [2021-03-08T02:36:25.455Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oJQE [2021-03-08T02:36:41.322Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-08T02:36:52.851Z] gofmt -l . [2021-03-08T02:36:52.851Z] [ "`gofmt -l .`" = "" ] [2021-03-08T02:36:52.851Z] ./bin/test-attribution-txt.sh [2021-03-08T02:36:52.851Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-08T02:36:52.977Z] $ docker stop --time=1 72d539b425510d9285c9c62cd68b1b3069e2c46a47bd1a9437c713d09a6771ee [2021-03-08T02:36:55.371Z] $ docker rm -f 72d539b425510d9285c9c62cd68b1b3069e2c46a47bd1a9437c713d09a6771ee [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-08T02:36:56.506Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-08T02:36:56.570Z] Warning: overwriting stash ‘coverage-report’ [2021-03-08T02:36:57.947Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-08T02:36:58.777Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-08T02:36:59.283Z] + ls -al . [2021-03-08T02:36:59.283Z] total 220 [2021-03-08T02:36:59.283Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 02:36 . [2021-03-08T02:36:59.283Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 02:33 .. [2021-03-08T02:36:59.283Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 02:33 .dockerignore [2021-03-08T02:36:59.283Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 02:33 .git [2021-03-08T02:36:59.283Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 02:33 .github [2021-03-08T02:36:59.283Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 8 02:33 .gitignore [2021-03-08T02:36:59.283Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 8 02:33 Dockerfile.build [2021-03-08T02:36:59.283Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 8 02:33 Jenkinsfile [2021-03-08T02:36:59.283Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 8 02:33 LICENSE [2021-03-08T02:36:59.283Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 8 02:33 Makefile [2021-03-08T02:36:59.283Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 8 02:33 README.md [2021-03-08T02:36:59.283Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 8 02:33 RELEASE-NOTES.txt [2021-03-08T02:36:59.283Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 02:30 VERSION [2021-03-08T02:36:59.284Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 02:33 bin [2021-03-08T02:36:59.284Z] -rw-r--r-- 1 jenkins jenkins 101321 Mar 8 02:36 coverage.out [2021-03-08T02:36:59.284Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 02:33 example [2021-03-08T02:36:59.284Z] -rw-r--r-- 1 jenkins jenkins 516 Mar 8 02:36 go.mod [2021-03-08T02:36:59.284Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 8 02:36 go.sum [2021-03-08T02:36:59.284Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 8 02:33 internal [2021-03-08T02:36:59.284Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 02:33 openapi [2021-03-08T02:36:59.284Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 8 02:33 pkg [2021-03-08T02:36:59.284Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 02:33 snap [2021-03-08T02:36:59.284Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 8 02:33 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-08T02:36:59.638Z] + 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=d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6 --label arch=arm64 --label version=0.0.0 . [2021-03-08T02:37:00.266Z] Sending build context to Docker daemon 2.591MB [2021-03-08T02:37:00.266Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-08T02:37:00.266Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-08T02:37:00.266Z] ---> 0ca3bfbfd4e8 [2021-03-08T02:37:00.266Z] Step 3/24 : ARG MAKE='make build' [2021-03-08T02:37:00.266Z] ---> Running in 904e198e432c [2021-03-08T02:37:00.883Z] Removing intermediate container 904e198e432c [2021-03-08T02:37:00.883Z] ---> 996070081647 [2021-03-08T02:37:00.883Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-08T02:37:00.883Z] ---> Running in 29b67a88b21f [2021-03-08T02:37:01.483Z] Removing intermediate container 29b67a88b21f [2021-03-08T02:37:01.483Z] ---> a5008c98b649 [2021-03-08T02:37:01.483Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T02:37:01.483Z] ---> Running in cb179a1ca71c [2021-03-08T02:37:02.117Z] Removing intermediate container cb179a1ca71c [2021-03-08T02:37:02.117Z] ---> 072a69e75c70 [2021-03-08T02:37:02.117Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-08T02:37:02.117Z] ---> Running in 4fae9515bc93 [2021-03-08T02:37:04.185Z] Removing intermediate container 4fae9515bc93 [2021-03-08T02:37:04.186Z] ---> 2b3531b2df43 [2021-03-08T02:37:04.186Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-08T02:37:04.472Z] ---> Running in e400e8cc4063 [2021-03-08T02:37:05.479Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-08T02:37:06.078Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-08T02:37:07.061Z] OK: 142 MiB in 39 packages [2021-03-08T02:37:08.059Z] Removing intermediate container e400e8cc4063 [2021-03-08T02:37:08.059Z] ---> d29027bdeb38 [2021-03-08T02:37:08.059Z] Step 8/24 : COPY . . [2021-03-08T02:37:09.515Z] ---> 012454283e83 [2021-03-08T02:37:09.515Z] Step 9/24 : RUN ${MAKE} [2021-03-08T02:37:09.515Z] ---> Running in d982adf81822 [2021-03-08T02:37:10.514Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-08T02:37:20.371Z] lf-activate-venv(): INFO: Adding /tmp/venv-oJQE/bin to PATH [2021-03-08T02:37:20.371Z] INFO: No Stack... [2021-03-08T02:37:20.371Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-08T02:37:20.371Z] INFO: Archiving Costs [Pipeline] sh [2021-03-08T02:37:20.738Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2021-03-08T02:37:20.738Z] + cut -d, -f6 [Pipeline] lock [2021-03-08T02:37:20.836Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-804-5-stack-cost] [2021-03-08T02:37:20.847Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-804-5-stack-cost] did not exist. Created. [2021-03-08T02:37:20.847Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-804-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-08T02:37:21.291Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-08T02:37:21.528Z] Stashed 1 file(s) [Pipeline] } [2021-03-08T02:37:21.546Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-804-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-08T02:37:37.636Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-08T02:37:38.636Z] Removing intermediate container d982adf81822 [2021-03-08T02:37:38.636Z] ---> c75e3bb7351b [2021-03-08T02:37:38.636Z] Step 10/24 : FROM scratch [2021-03-08T02:37:38.636Z] ---> [2021-03-08T02:37:38.636Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T02:37:38.914Z] ---> Running in 161009b0d718 [2021-03-08T02:37:39.229Z] Removing intermediate container 161009b0d718 [2021-03-08T02:37:39.229Z] ---> 12a81ed65b81 [2021-03-08T02:37:39.229Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-08T02:37:39.229Z] ---> Running in a7fdb384c946 [2021-03-08T02:37:39.883Z] Removing intermediate container a7fdb384c946 [2021-03-08T02:37:39.883Z] ---> 01f0ff4006c2 [2021-03-08T02:37:39.883Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-08T02:37:39.883Z] ---> Running in 34412b183f82 [2021-03-08T02:37:40.168Z] Removing intermediate container 34412b183f82 [2021-03-08T02:37:40.168Z] ---> a4d697aae807 [2021-03-08T02:37:40.168Z] Step 14/24 : WORKDIR / [2021-03-08T02:37:40.467Z] ---> Running in 88d8711ce6e0 [2021-03-08T02:37:40.766Z] Removing intermediate container 88d8711ce6e0 [2021-03-08T02:37:40.766Z] ---> 709763716429 [2021-03-08T02:37:40.766Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-08T02:37:41.882Z] ---> 57ad20f5dd5c [2021-03-08T02:37:41.882Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-08T02:37:42.894Z] ---> f825ec7b2fc9 [2021-03-08T02:37:42.894Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-08T02:37:43.513Z] ---> 01654e311aff [2021-03-08T02:37:43.513Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-08T02:37:44.441Z] ---> 21e79b8c3839 [2021-03-08T02:37:44.441Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-08T02:37:44.771Z] ---> 017bcfbeaa0a [2021-03-08T02:37:44.771Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-08T02:37:45.118Z] ---> Running in dbcdad6b2985 [2021-03-08T02:37:45.657Z] Removing intermediate container dbcdad6b2985 [2021-03-08T02:37:45.657Z] ---> cee37c397191 [2021-03-08T02:37:45.657Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-08T02:37:45.657Z] ---> Running in edae401e3651 [2021-03-08T02:37:45.990Z] Removing intermediate container edae401e3651 [2021-03-08T02:37:45.990Z] ---> f7ab880d5e7e [2021-03-08T02:37:45.990Z] Step 22/24 : LABEL arch=arm64 [2021-03-08T02:37:45.990Z] ---> Running in bc2f1d04c44b [2021-03-08T02:37:46.606Z] Removing intermediate container bc2f1d04c44b [2021-03-08T02:37:46.606Z] ---> fa31915e0e17 [2021-03-08T02:37:46.606Z] Step 23/24 : LABEL git_sha=d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6 [2021-03-08T02:37:46.606Z] ---> Running in 72ede6bde86f [2021-03-08T02:37:47.215Z] Removing intermediate container 72ede6bde86f [2021-03-08T02:37:47.215Z] ---> 6012cce93b23 [2021-03-08T02:37:47.215Z] Step 24/24 : LABEL version=0.0.0 [2021-03-08T02:37:47.215Z] ---> Running in de3617f5bd37 [2021-03-08T02:37:47.820Z] Removing intermediate container de3617f5bd37 [2021-03-08T02:37:47.820Z] ---> e8c7174ed67f [2021-03-08T02:37:47.820Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-08T02:37:47.820Z] Successfully built e8c7174ed67f [2021-03-08T02:37:47.820Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-08T02:37:48.858Z] ---> job-cost.sh [2021-03-08T02:37:48.858Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cmoh [2021-03-08T02:38:28.582Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-08T02:40:36.003Z] lf-activate-venv(): INFO: Adding /tmp/venv-cmoh/bin to PATH [2021-03-08T02:40:36.003Z] INFO: No Stack... [2021-03-08T02:40:36.003Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-08T02:40:36.003Z] INFO: Archiving Costs [Pipeline] sh [2021-03-08T02:40:36.400Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2021-03-08T02:40:36.400Z] + cut -d, -f6 [Pipeline] lock [2021-03-08T02:40:36.536Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-804-5-stack-cost] [2021-03-08T02:40:36.546Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-804-5-stack-cost] did not exist. Created. [2021-03-08T02:40:36.546Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-804-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-08T02:40:37.019Z] /w/workspace/device-sdk-go/5@tmp/durable-0aeb8d44/script.sh: 1: /w/workspace/device-sdk-go/5@tmp/durable-0aeb8d44/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-08T02:40:37.397Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-08T02:40:37.483Z] Warning: overwriting stash ‘stack-cost’ [2021-03-08T02:40:37.659Z] Stashed 1 file(s) [Pipeline] } [2021-03-08T02:40:37.678Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-804-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-08T02:40:39.001Z] provisioning config files... [2021-03-08T02:40:39.515Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/config7878174271558128115tmp [Pipeline] { [Pipeline] sh [2021-03-08T02:40:40.330Z] + set +x [2021-03-08T02:40:40.330Z] + curl -s https://codecov.io/bash [2021-03-08T02:40:40.330Z] + bash -s -- [2021-03-08T02:40:40.595Z] [2021-03-08T02:40:40.596Z] _____ _ [2021-03-08T02:40:40.596Z] / ____| | | [2021-03-08T02:40:40.596Z] | | ___ __| | ___ ___ _____ __ [2021-03-08T02:40:40.596Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-08T02:40:40.596Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-08T02:40:40.596Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-08T02:40:40.596Z] Bash-20210226-7100762 [2021-03-08T02:40:40.596Z] [2021-03-08T02:40:40.596Z] [2021-03-08T02:40:40.596Z] ==> git version 2.24.3 found [2021-03-08T02:40:40.865Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-03-08T02:40:40.865Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-08T02:40:40.865Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-08T02:40:40.865Z] ==> Jenkins CI detected. [2021-03-08T02:40:40.865Z] project root: . [2021-03-08T02:40:40.865Z] --> token set from env [2021-03-08T02:40:40.865Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-08T02:40:40.865Z] ==> Running gcov in . (disable via -X gcov) [2021-03-08T02:40:40.865Z] ==> Python coveragepy not found [2021-03-08T02:40:40.865Z] ==> Searching for coverage reports in: [2021-03-08T02:40:40.865Z] + . [2021-03-08T02:40:40.865Z] -> Found 1 reports [2021-03-08T02:40:40.866Z] ==> Detecting git/mercurial file structure [2021-03-08T02:40:40.866Z] ==> Reading reports [2021-03-08T02:40:40.866Z] + ./coverage.out bytes=101321 [2021-03-08T02:40:40.866Z] ==> Appending adjustments [2021-03-08T02:40:40.866Z] https://docs.codecov.io/docs/fixing-reports [2021-03-08T02:40:41.132Z] + Found adjustments [2021-03-08T02:40:41.132Z] ==> Gzipping contents [2021-03-08T02:40:41.132Z] 20K /tmp/codecov.UNnFy2.gz [2021-03-08T02:40:41.132Z] ==> Uploading reports [2021-03-08T02:40:41.132Z] url: https://codecov.io [2021-03-08T02:40:41.132Z] query: branch=PR-804&commit=d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-804%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=804&job=&cmd_args= [2021-03-08T02:40:41.132Z] -> Pinging Codecov [2021-03-08T02:40:41.132Z] https://codecov.io/upload/v4?package=bash-20210226-7100762&token=secret&branch=PR-804&commit=d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-804%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=804&job=&cmd_args= [2021-03-08T02:40:41.753Z] -> Uploading to [2021-03-08T02:40:41.753Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-08/7E55EF52A471D76F132DFD9A03CDDE97/d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6/89c0c071-c16b-48a3-8574-9a15e2c57281.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210308T024041Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8bd75da4a872ec7b7b2e4d6f0e8d5ff9f481b70c447b141ff1119be71b827db3 [2021-03-08T02:40:41.753Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-08T02:40:41.753Z] Dload Upload Total Spent Left Speed [2021-03-08T02:40:42.029Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16495 0 0 100 16495 0 33545 --:--:-- --:--:-- --:--:-- 33526 [2021-03-08T02:40:42.029Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6 [Pipeline] } [2021-03-08T02:40:42.047Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-03-08T02:40:44.539Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T02:40:44.885Z] ---> package-listing.sh [2021-03-08T02:40:44.885Z] ++ facter osfamily [2021-03-08T02:40:44.885Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-08T02:40:44.885Z] + OS_FAMILY=redhat [2021-03-08T02:40:44.885Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-804 [2021-03-08T02:40:44.885Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-08T02:40:44.885Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-08T02:40:44.885Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-08T02:40:44.885Z] + PACKAGES=/tmp/packages_start.txt [2021-03-08T02:40:44.885Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-804 ']' [2021-03-08T02:40:44.885Z] + PACKAGES=/tmp/packages_end.txt [2021-03-08T02:40:44.885Z] + case "${OS_FAMILY}" in [2021-03-08T02:40:44.885Z] + rpm -qa [2021-03-08T02:40:44.885Z] + sort [2021-03-08T02:40:50.252Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-08T02:40:50.252Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-08T02:40:50.252Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-08T02:40:50.252Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-804 ']' [2021-03-08T02:40:50.252Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-804/archives/ [2021-03-08T02:40:50.252Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-804/archives/ [Pipeline] echo [2021-03-08T02:40:50.269Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-804/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-08T02:40:50.590Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-08T02:40:50.916Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-08T02:40:50.916Z] [2021-03-08T02:40:50.916Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-08T02:40:51.339Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-08T02:40:51.340Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-08T02:40:51.340Z] df20fa9351a1: Pulling fs layer [2021-03-08T02:40:51.340Z] 36b3adc4ff6f: Pulling fs layer [2021-03-08T02:40:51.340Z] 8ad3a11d3b57: Pulling fs layer [2021-03-08T02:40:51.340Z] 46f8f816bc3b: Pulling fs layer [2021-03-08T02:40:51.340Z] 93b61091891f: Pulling fs layer [2021-03-08T02:40:51.340Z] 93b9cdb0e59b: Pulling fs layer [2021-03-08T02:40:51.340Z] 5e14af77c1be: Pulling fs layer [2021-03-08T02:40:51.340Z] 01666e4c0597: Pulling fs layer [2021-03-08T02:40:51.340Z] aa168da1d23b: Pulling fs layer [2021-03-08T02:40:51.340Z] 93b9cdb0e59b: Waiting [2021-03-08T02:40:51.340Z] 01666e4c0597: Waiting [2021-03-08T02:40:51.340Z] 5e14af77c1be: Waiting [2021-03-08T02:40:51.340Z] aa168da1d23b: Waiting [2021-03-08T02:40:51.340Z] 46f8f816bc3b: Waiting [2021-03-08T02:40:51.340Z] 93b61091891f: Waiting [2021-03-08T02:40:51.340Z] 36b3adc4ff6f: Verifying Checksum [2021-03-08T02:40:51.340Z] 36b3adc4ff6f: Download complete [2021-03-08T02:40:51.340Z] 46f8f816bc3b: Download complete [2021-03-08T02:40:51.604Z] df20fa9351a1: Verifying Checksum [2021-03-08T02:40:51.604Z] df20fa9351a1: Download complete [2021-03-08T02:40:51.604Z] 93b9cdb0e59b: Verifying Checksum [2021-03-08T02:40:51.604Z] 93b9cdb0e59b: Download complete [2021-03-08T02:40:51.604Z] 5e14af77c1be: Verifying Checksum [2021-03-08T02:40:51.604Z] 5e14af77c1be: Download complete [2021-03-08T02:40:51.604Z] 93b61091891f: Download complete [2021-03-08T02:40:51.604Z] 01666e4c0597: Verifying Checksum [2021-03-08T02:40:51.604Z] 01666e4c0597: Download complete [2021-03-08T02:40:51.871Z] df20fa9351a1: Pull complete [2021-03-08T02:40:52.135Z] 36b3adc4ff6f: Pull complete [2021-03-08T02:40:52.425Z] 8ad3a11d3b57: Verifying Checksum [2021-03-08T02:40:52.425Z] 8ad3a11d3b57: Download complete [2021-03-08T02:40:53.240Z] 8ad3a11d3b57: Pull complete [2021-03-08T02:40:53.513Z] 46f8f816bc3b: Pull complete [2021-03-08T02:40:54.502Z] 93b61091891f: Pull complete [2021-03-08T02:40:54.502Z] 93b9cdb0e59b: Pull complete [2021-03-08T02:40:54.502Z] 5e14af77c1be: Pull complete [2021-03-08T02:40:54.785Z] 01666e4c0597: Pull complete [2021-03-08T02:40:54.785Z] aa168da1d23b: Verifying Checksum [2021-03-08T02:40:54.785Z] aa168da1d23b: Download complete [2021-03-08T02:41:02.385Z] aa168da1d23b: Pull complete [2021-03-08T02:41:02.385Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-08T02:41:02.385Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-08T02:41:02.385Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-08T02:41:02.627Z] prd-centos7-docker-4c-2g-28921 does not seem to be running inside a container [2021-03-08T02:41:02.841Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-804/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-804 -v /w/workspace/dgexfoundry_device-sdk-go_PR-804:/w/workspace/dgexfoundry_device-sdk-go_PR-804:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-08T02:41:06.718Z] $ docker top af5e7cfb695e31861aab4c8d44a11ac111e54ef7f734dc3f49b3b8bf6f2722c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-08T02:41:08.946Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-08T02:41:09.280Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-08T02:41:09.608Z] + ls /var/log/sa-host [2021-03-08T02:41:09.608Z] + sadf -c /var/log/sa-host/sa08 [2021-03-08T02:41:09.608Z] file_magic: OK [2021-03-08T02:41:09.608Z] HZ: Using current value: 100 [2021-03-08T02:41:09.608Z] file_header: OK [2021-03-08T02:41:09.608Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-08T02:41:09.608Z] Statistics: [2021-03-08T02:41:09.608Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-08T02:41:09.608Z] File successfully converted to sysstat format version 12.2.1 [2021-03-08T02:41:09.608Z] + sadf -c /var/log/sa-host/sa23 [2021-03-08T02:41:09.608Z] file_magic: OK [2021-03-08T02:41:09.608Z] HZ: Using current value: 100 [2021-03-08T02:41:09.608Z] file_header: OK [2021-03-08T02:41:09.608Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-08T02:41:09.608Z] Statistics: [2021-03-08T02:41:09.608Z] Hnuu...uuuununununu... [2021-03-08T02:41:09.608Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-08T02:41:09.861Z] provisioning config files... [2021-03-08T02:41:09.877Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/config647756953022651797tmp [Pipeline] { [Pipeline] echo [2021-03-08T02:41:09.958Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T02:41:10.273Z] ---> create-netrc.sh [Pipeline] } [2021-03-08T02:41:10.289Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-08T02:41:10.450Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T02:41:10.768Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-08T02:41:10.782Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T02:41:11.093Z] ---> sudo-logs.sh [2021-03-08T02:41:11.093Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-08T02:41:11.179Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T02:41:11.517Z] ---> job-cost.sh [2021-03-08T02:41:11.517Z] lf-activate-venv: SKIPPING [2021-03-08T02:41:11.517Z] DEBUG: total: 0.20999999344348907 [2021-03-08T02:41:11.517Z] INFO: Retrieving Stack Cost... [2021-03-08T02:41:12.968Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-08T02:41:13.561Z] INFO: Archiving Costs [Pipeline] echo [2021-03-08T02:41:13.578Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T02:41:13.892Z] ---> logs-deploy.sh [2021-03-08T02:41:13.892Z] lf-activate-venv: SKIPPING [2021-03-08T02:41:13.892Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-804/5 [2021-03-08T02:41:13.892Z] INFO: archiving workspace using pattern(s): [2021-03-08T02:41:15.332Z] Archives upload complete. [2021-03-08T02:41:15.596Z] INFO: archiving logs to Nexus