Pull request #816 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 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 rather than ee37646d93806932af97a1dbec2aa3ea91e5802d Obtained Jenkinsfile from 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-29625 in /w/workspace/dgexfoundry_device-sdk-go_PR-816 [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-816 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit ee37646d93806932af97a1dbec2aa3ea91e5802d > 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/816/head:refs/remotes/origin/PR-816 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ee37646d93806932af97a1dbec2aa3ea91e5802d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing ee37646d93806932af97a1dbec2aa3ea91e5802d Checking out Revision ee37646d93806932af97a1dbec2aa3ea91e5802d (PR-816) using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ee37646d93806932af97a1dbec2aa3ea91e5802d # timeout=10 Commit message: "feat: Upgrade core-contracts lib to use redesigned device profile" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-12T07:49:00.100Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-12T07:49:00.453Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-12T07:49:00.567Z] ========================================================= [2021-03-12T07:49:00.567Z] EdgeX Global Pipelines Version Info [2021-03-12T07:49:00.567Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk afe37b68d0e09581a5b87c19efbb6e049d7ddff9 # timeout=10 [2021-03-12T07:49:03.089Z] ------------------- [2021-03-12T07:49:03.089Z] stable info: [2021-03-12T07:49:03.089Z] ------------------- [2021-03-12T07:49:03.089Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-12T07:49:03.089Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-12T07:49:03.089Z] Message: update stable to v1.0.184 [2021-03-12T07:49:04.452Z] ------------------- [2021-03-12T07:49:04.452Z] experimental info: [2021-03-12T07:49:04.452Z] ------------------- [2021-03-12T07:49:04.452Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-12T07:49:04.452Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-12T07:49:04.452Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-12T07:49:04.823Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-12T07:49:04.944Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-12T07:49:05.043Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-12T07:49:05.158Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-12T07:49:05.262Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-12T07:49:05.361Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-12T07:49:05.462Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-12T07:49:05.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-12T07:49:05.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-12T07:49:05.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-12T07:49:06.009Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-12T07:49:06.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-12T07:49:06.230Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-12T07:49:06.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-12T07:49:06.424Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-12T07:49:06.535Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-12T07:49:06.635Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-12T07:49:06.818Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-12T07:49:06.923Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-12T07:49:07.026Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-12T07:49:07.128Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-12T07:49:07.227Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-12T07:49:07.325Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-12T07:49:07.425Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-12T07:49:07.564Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-12T07:49:07.665Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-12T07:49:07.798Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-816 [Pipeline] echo [2021-03-12T07:49:07.898Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-816 [Pipeline] echo [2021-03-12T07:49:07.997Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-816 [Pipeline] echo [2021-03-12T07:49:08.123Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ee37646d93806932af97a1dbec2aa3ea91e5802d [Pipeline] echo [2021-03-12T07:49:08.222Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ee37646 [Pipeline] echo [2021-03-12T07:49:08.322Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-12T07:49:08.517Z] provisioning config files... [2021-03-12T07:49:08.574Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/config2173752111831964753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-12T07:49:09.086Z] ---> docker-login.sh [2021-03-12T07:49:09.087Z] nexus3.edgexfoundry.org:10001 [2021-03-12T07:49:10.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:49:10.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:49:10.867Z] Configure a credential helper to remove this warning. See [2021-03-12T07:49:10.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:49:10.867Z] [2021-03-12T07:49:10.867Z] Login Succeeded [2021-03-12T07:49:10.867Z] nexus3.edgexfoundry.org:10002 [2021-03-12T07:49:11.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:49:11.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:49:11.488Z] Configure a credential helper to remove this warning. See [2021-03-12T07:49:11.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:49:11.488Z] [2021-03-12T07:49:11.488Z] Login Succeeded [2021-03-12T07:49:11.488Z] nexus3.edgexfoundry.org:10003 [2021-03-12T07:49:12.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:49:12.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:49:12.147Z] Configure a credential helper to remove this warning. See [2021-03-12T07:49:12.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:49:12.147Z] [2021-03-12T07:49:12.147Z] Login Succeeded [2021-03-12T07:49:12.424Z] nexus3.edgexfoundry.org:10004 [2021-03-12T07:49:12.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:49:12.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:49:12.699Z] Configure a credential helper to remove this warning. See [2021-03-12T07:49:12.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:49:12.699Z] [2021-03-12T07:49:12.699Z] Login Succeeded [2021-03-12T07:49:12.699Z] docker.io [2021-03-12T07:49:12.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:49:12.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:49:12.974Z] Configure a credential helper to remove this warning. See [2021-03-12T07:49:12.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:49:12.974Z] [2021-03-12T07:49:12.974Z] Login Succeeded [2021-03-12T07:49:13.245Z] ---> docker-login.sh ends [Pipeline] } [2021-03-12T07:49:13.264Z] 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-12T07:49:14.259Z] + git log --format=format:%s -1 ee37646d93806932af97a1dbec2aa3ea91e5802d [Pipeline] echo [2021-03-12T07:49:14.403Z] GIT_COMMIT: ee37646d93806932af97a1dbec2aa3ea91e5802d, Commit Message: feat: Upgrade core-contracts lib to use redesigned device profile [Pipeline] echo [2021-03-12T07:49:14.452Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-12T07:49:15.570Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-12T07:49:15.570Z] [2021-03-12T07:49:15.570Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-12T07:49:15.977Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-12T07:49:15.977Z] latest: Pulling from edgex-devops/git-semver [2021-03-12T07:49:15.977Z] 31603596830f: Pulling fs layer [2021-03-12T07:49:15.977Z] 2a8b12db71e7: Pulling fs layer [2021-03-12T07:49:15.977Z] 6ca5941a6612: Pulling fs layer [2021-03-12T07:49:15.977Z] ecc8261a40a4: Pulling fs layer [2021-03-12T07:49:15.977Z] ecc8261a40a4: Waiting [2021-03-12T07:49:15.977Z] 2a8b12db71e7: Verifying Checksum [2021-03-12T07:49:15.977Z] 2a8b12db71e7: Download complete [2021-03-12T07:49:16.264Z] 31603596830f: Verifying Checksum [2021-03-12T07:49:16.264Z] 31603596830f: Download complete [2021-03-12T07:49:16.927Z] ecc8261a40a4: Verifying Checksum [2021-03-12T07:49:16.927Z] ecc8261a40a4: Download complete [2021-03-12T07:49:16.927Z] 6ca5941a6612: Verifying Checksum [2021-03-12T07:49:16.927Z] 6ca5941a6612: Download complete [2021-03-12T07:49:17.197Z] 31603596830f: Pull complete [2021-03-12T07:49:17.464Z] 2a8b12db71e7: Pull complete [2021-03-12T07:49:18.965Z] 6ca5941a6612: Pull complete [2021-03-12T07:49:19.602Z] ecc8261a40a4: Pull complete [2021-03-12T07:49:19.602Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-12T07:49:19.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-12T07:49:19.882Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-12T07:49:20.112Z] prd-centos7-docker-4c-2g-29625 does not seem to be running inside a container [2021-03-12T07:49:20.216Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-816 -v /w/workspace/dgexfoundry_device-sdk-go_PR-816:/w/workspace/dgexfoundry_device-sdk-go_PR-816:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-816@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-12T07:49:25.105Z] $ docker top 87eaef5f5d1802785732ffa892c07cd714d29751ea2bba45540376e1b5696705 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-12T07:49:25.912Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-12T07:49:25.912Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-12T07:49:26.756Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-12T07:49:26.766Z] $ docker exec 87eaef5f5d1802785732ffa892c07cd714d29751ea2bba45540376e1b5696705 ssh-agent [2021-03-12T07:49:27.251Z] SSH_AUTH_SOCK=/tmp/ssh-mNycBTc8jjVR/agent.11 [2021-03-12T07:49:27.251Z] SSH_AGENT_PID=16 [2021-03-12T07:49:27.293Z] Running ssh-add (command line suppressed) [2021-03-12T07:49:27.838Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_4755214964151264656.key (/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_4755214964151264656.key) [2021-03-12T07:49:27.999Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-12T07:49:29.045Z] + git tag --points-at HEAD [Pipeline] } [2021-03-12T07:49:29.164Z] $ docker exec --env ******** --env ******** 87eaef5f5d1802785732ffa892c07cd714d29751ea2bba45540376e1b5696705 ssh-agent -k [2021-03-12T07:49:29.711Z] unset SSH_AUTH_SOCK; [2021-03-12T07:49:29.712Z] unset SSH_AGENT_PID; [2021-03-12T07:49:29.712Z] echo Agent pid 16 killed; [2021-03-12T07:49:29.970Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-12T07:49:30.156Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-12T07:49:30.156Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-12T07:49:30.916Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-12T07:49:30.931Z] $ docker exec 87eaef5f5d1802785732ffa892c07cd714d29751ea2bba45540376e1b5696705 ssh-agent [2021-03-12T07:49:31.754Z] SSH_AUTH_SOCK=/tmp/ssh-20jrdxl6XPhS/agent.45 [2021-03-12T07:49:31.754Z] SSH_AGENT_PID=50 [2021-03-12T07:49:31.766Z] Running ssh-add (command line suppressed) [2021-03-12T07:49:32.336Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_4352643019786032729.key (/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_4352643019786032729.key) [2021-03-12T07:49:32.423Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-12T07:49:33.583Z] + git semver init [2021-03-12T07:49:33.583Z] # -> Open(): unable to determine branch for HEAD [2021-03-12T07:49:33.583Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-816/.git [2021-03-12T07:49:33.583Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-816 [2021-03-12T07:49:33.583Z] # $SEMVER_REMOTE_NAME = origin [2021-03-12T07:49:33.583Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-12T07:49:33.583Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-12T07:49:33.583Z] # $SEMVER_BRANCH = PR-816 [2021-03-12T07:49:33.583Z] # $SEMVER_TEMP = /tmp/semver-805737277 [2021-03-12T07:49:33.583Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-12T07:49:34.207Z] # '/tmp/semver-805737277' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-816/.semver' [2021-03-12T07:49:34.207Z] # -> Force: false [2021-03-12T07:49:34.207Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-816/.semver [Pipeline] } [2021-03-12T07:49:34.237Z] $ docker exec --env ******** --env ******** 87eaef5f5d1802785732ffa892c07cd714d29751ea2bba45540376e1b5696705 ssh-agent -k [2021-03-12T07:49:34.487Z] unset SSH_AUTH_SOCK; [2021-03-12T07:49:34.489Z] unset SSH_AGENT_PID; [2021-03-12T07:49:34.489Z] echo Agent pid 50 killed; [2021-03-12T07:49:34.629Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-12T07:49:35.143Z] + git semver [Pipeline] } [2021-03-12T07:49:35.189Z] $ docker stop --time=1 87eaef5f5d1802785732ffa892c07cd714d29751ea2bba45540376e1b5696705 [2021-03-12T07:49:36.922Z] $ docker rm -f 87eaef5f5d1802785732ffa892c07cd714d29751ea2bba45540376e1b5696705 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-12T07:49:37.585Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-12T07:49:38.425Z] Stashed 1 file(s) [Pipeline] echo [2021-03-12T07:49:38.428Z] [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-12T07:49:53.990Z] Still waiting to schedule task [2021-03-12T07:49:53.990Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29625’ [2021-03-12T07:49:53.993Z] Still waiting to schedule task [2021-03-12T07:49:53.993Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-12T07:51:42.615Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29626 in /w/workspace/dgexfoundry_device-sdk-go_PR-816 [Pipeline] { [Pipeline] ws [2021-03-12T07:51:42.722Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-12T07:51:47.611Z] using credential edgex-jenkins-ssh [2021-03-12T07:51:47.678Z] Cloning the remote Git repository [2021-03-12T07:51:47.771Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-12T07:51:47.885Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-12T07:51:47.962Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-12T07:51:47.965Z] > git --version # timeout=10 [2021-03-12T07:51:47.989Z] > git --version # 'git version 2.17.1' [2021-03-12T07:51:47.991Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-12T07:51:48.070Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-12T07:51:49.128Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-12T07:51:49.146Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-12T07:51:49.176Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-12T07:51:49.216Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-12T07:51:49.217Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-12T07:51:49.229Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/816/head:refs/remotes/origin/PR-816 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-12T07:51:49.831Z] Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit ee37646d93806932af97a1dbec2aa3ea91e5802d [2021-03-12T07:51:50.061Z] Merge succeeded, producing ee37646d93806932af97a1dbec2aa3ea91e5802d [2021-03-12T07:51:50.062Z] Checking out Revision ee37646d93806932af97a1dbec2aa3ea91e5802d (PR-816) [2021-03-12T07:51:49.853Z] > git config core.sparsecheckout # timeout=10 [2021-03-12T07:51:49.873Z] > git checkout -f ee37646d93806932af97a1dbec2aa3ea91e5802d # timeout=10 [2021-03-12T07:51:49.982Z] > git remote # timeout=10 [2021-03-12T07:51:50.000Z] > git config --get remote.origin.url # timeout=10 [2021-03-12T07:51:50.016Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-12T07:51:50.027Z] > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 [2021-03-12T07:51:50.050Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-12T07:51:50.071Z] > git config core.sparsecheckout # timeout=10 [2021-03-12T07:51:50.082Z] > git checkout -f ee37646d93806932af97a1dbec2aa3ea91e5802d # timeout=10 [2021-03-12T07:51:54.477Z] Commit message: "feat: Upgrade core-contracts lib to use redesigned device profile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-12T07:51:56.372Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-12T07:51:56.834Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-12T07:51:57.186Z] + true [2021-03-12T07:51:57.186Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-12T07:51:59.904Z] provisioning config files... [2021-03-12T07:51:59.947Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8709777062363949382tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-12T07:52:00.369Z] ---> docker-login.sh [2021-03-12T07:52:00.369Z] nexus3.edgexfoundry.org:10001 [2021-03-12T07:52:01.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:52:01.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:52:01.629Z] Configure a credential helper to remove this warning. See [2021-03-12T07:52:01.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:52:01.629Z] [2021-03-12T07:52:01.629Z] Login Succeeded [2021-03-12T07:52:01.629Z] nexus3.edgexfoundry.org:10002 [2021-03-12T07:52:01.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:52:01.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:52:01.905Z] Configure a credential helper to remove this warning. See [2021-03-12T07:52:01.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:52:01.905Z] [2021-03-12T07:52:01.905Z] Login Succeeded [2021-03-12T07:52:02.180Z] nexus3.edgexfoundry.org:10003 [2021-03-12T07:52:02.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:52:02.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:52:02.453Z] Configure a credential helper to remove this warning. See [2021-03-12T07:52:02.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:52:02.453Z] [2021-03-12T07:52:02.453Z] Login Succeeded [2021-03-12T07:52:02.453Z] nexus3.edgexfoundry.org:10004 [2021-03-12T07:52:02.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:52:02.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:52:02.999Z] Configure a credential helper to remove this warning. See [2021-03-12T07:52:02.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:52:02.999Z] [2021-03-12T07:52:02.999Z] Login Succeeded [2021-03-12T07:52:02.999Z] docker.io [2021-03-12T07:52:03.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:52:03.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:52:03.548Z] Configure a credential helper to remove this warning. See [2021-03-12T07:52:03.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:52:03.548Z] [2021-03-12T07:52:03.548Z] Login Succeeded [2021-03-12T07:52:03.548Z] ---> docker-login.sh ends [Pipeline] } [2021-03-12T07:52:03.566Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-12T07:52:04.085Z] ========================================================= [2021-03-12T07:52:04.085Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-12T07:52:04.085Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-12T07:52:04.499Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-03-12T07:52:04.773Z] Sending build context to Docker daemon 2.327MB [2021-03-12T07:52:04.773Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-12T07:52:04.773Z] Step 2/8 : FROM ${BASE} [2021-03-12T07:52:05.043Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-12T07:52:05.043Z] 5f621e34cdf4: Pulling fs layer [2021-03-12T07:52:05.043Z] a4357932f1b6: Pulling fs layer [2021-03-12T07:52:05.043Z] 18c013af1878: Pulling fs layer [2021-03-12T07:52:05.043Z] 00ac8860ef70: Pulling fs layer [2021-03-12T07:52:05.043Z] 63d7cb157983: Pulling fs layer [2021-03-12T07:52:05.043Z] b116817d02f9: Pulling fs layer [2021-03-12T07:52:05.043Z] 745a02a5169b: Pulling fs layer [2021-03-12T07:52:05.043Z] 00ac8860ef70: Waiting [2021-03-12T07:52:05.043Z] 63d7cb157983: Waiting [2021-03-12T07:52:05.043Z] 745a02a5169b: Waiting [2021-03-12T07:52:05.043Z] b116817d02f9: Waiting [2021-03-12T07:52:05.043Z] 18c013af1878: Verifying Checksum [2021-03-12T07:52:05.043Z] 18c013af1878: Download complete [2021-03-12T07:52:05.043Z] a4357932f1b6: Download complete [2021-03-12T07:52:05.043Z] 63d7cb157983: Verifying Checksum [2021-03-12T07:52:05.043Z] 63d7cb157983: Download complete [2021-03-12T07:52:05.043Z] b116817d02f9: Verifying Checksum [2021-03-12T07:52:05.043Z] b116817d02f9: Download complete [2021-03-12T07:52:05.644Z] 5f621e34cdf4: Verifying Checksum [2021-03-12T07:52:05.644Z] 5f621e34cdf4: Download complete [2021-03-12T07:52:06.628Z] 5f621e34cdf4: Pull complete [2021-03-12T07:52:06.910Z] a4357932f1b6: Pull complete [2021-03-12T07:52:07.184Z] 18c013af1878: Pull complete [2021-03-12T07:52:07.776Z] 745a02a5169b: Verifying Checksum [2021-03-12T07:52:07.776Z] 745a02a5169b: Download complete [2021-03-12T07:52:09.203Z] 00ac8860ef70: Verifying Checksum [2021-03-12T07:52:09.203Z] 00ac8860ef70: Download complete [2021-03-12T07:52:19.090Z] Running on prd-centos7-docker-4c-2g-29627 in /w/workspace/dgexfoundry_device-sdk-go_PR-816 [Pipeline] { [Pipeline] ws [2021-03-12T07:52:19.154Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-12T07:52:19.361Z] 00ac8860ef70: Pull complete [2021-03-12T07:52:19.361Z] 63d7cb157983: Pull complete [2021-03-12T07:52:19.361Z] b116817d02f9: Pull complete [2021-03-12T07:52:21.591Z] using credential edgex-jenkins-ssh [2021-03-12T07:52:21.651Z] Cloning the remote Git repository [2021-03-12T07:52:21.681Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-12T07:52:21.749Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-12T07:52:21.818Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-12T07:52:21.818Z] > git --version # timeout=10 [2021-03-12T07:52:21.825Z] > git --version # 'git version 2.24.3' [2021-03-12T07:52:21.825Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-12T07:52:21.867Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-12T07:52:22.687Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-12T07:52:22.695Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-12T07:52:22.708Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-12T07:52:22.720Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-12T07:52:22.721Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-12T07:52:22.725Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/816/head:refs/remotes/origin/PR-816 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-12T07:52:22.757Z] 745a02a5169b: Pull complete [2021-03-12T07:52:22.757Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-12T07:52:22.757Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-12T07:52:22.757Z] ---> b7e6874047d6 [2021-03-12T07:52:22.757Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-12T07:52:23.265Z] Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit ee37646d93806932af97a1dbec2aa3ea91e5802d [2021-03-12T07:52:23.370Z] Merge succeeded, producing ee37646d93806932af97a1dbec2aa3ea91e5802d [2021-03-12T07:52:23.370Z] Checking out Revision ee37646d93806932af97a1dbec2aa3ea91e5802d (PR-816) [2021-03-12T07:52:23.275Z] > git config core.sparsecheckout # timeout=10 [2021-03-12T07:52:23.285Z] > git checkout -f ee37646d93806932af97a1dbec2aa3ea91e5802d # timeout=10 [2021-03-12T07:52:23.335Z] > git remote # timeout=10 [2021-03-12T07:52:23.342Z] > git config --get remote.origin.url # timeout=10 [2021-03-12T07:52:23.348Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-12T07:52:23.352Z] > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 [2021-03-12T07:52:23.364Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-12T07:52:23.376Z] > git config core.sparsecheckout # timeout=10 [2021-03-12T07:52:23.393Z] > git checkout -f ee37646d93806932af97a1dbec2aa3ea91e5802d # timeout=10 [2021-03-12T07:52:25.413Z] ---> Running in 09d7175364f9 [2021-03-12T07:52:26.013Z] Removing intermediate container 09d7175364f9 [2021-03-12T07:52:26.013Z] ---> 4c1b026788c9 [2021-03-12T07:52:26.013Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-12T07:52:26.013Z] ---> Running in 5d5f8bd23459 [2021-03-12T07:52:27.114Z] Commit message: "feat: Upgrade core-contracts lib to use redesigned device profile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-12T07:52:28.248Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-12T07:52:28.583Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-12T07:52:28.663Z] Removing intermediate container 5d5f8bd23459 [2021-03-12T07:52:28.663Z] ---> a5090c62c677 [2021-03-12T07:52:28.663Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-12T07:52:28.663Z] ---> Running in 657f124e99ed [2021-03-12T07:52:28.885Z] + sudo service docker restart [2021-03-12T07:52:28.885Z] + true [2021-03-12T07:52:28.885Z] Redirecting to /bin/systemctl restart docker.service [2021-03-12T07:52:29.649Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-12T07:52:30.244Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-12T07:52:30.382Z] provisioning config files... [2021-03-12T07:52:30.410Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6169177999021457366tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-12T07:52:30.851Z] OK: 142 MiB in 39 packages [2021-03-12T07:52:30.854Z] ---> docker-login.sh [2021-03-12T07:52:30.854Z] nexus3.edgexfoundry.org:10001 [2021-03-12T07:52:31.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:52:31.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:52:31.378Z] Configure a credential helper to remove this warning. See [2021-03-12T07:52:31.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:52:31.378Z] [2021-03-12T07:52:31.378Z] Login Succeeded [2021-03-12T07:52:31.378Z] nexus3.edgexfoundry.org:10002 [2021-03-12T07:52:31.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:52:31.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:52:31.378Z] Configure a credential helper to remove this warning. See [2021-03-12T07:52:31.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:52:31.378Z] [2021-03-12T07:52:31.378Z] Login Succeeded [2021-03-12T07:52:31.378Z] nexus3.edgexfoundry.org:10003 [2021-03-12T07:52:31.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:52:31.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:52:31.642Z] Configure a credential helper to remove this warning. See [2021-03-12T07:52:31.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:52:31.642Z] [2021-03-12T07:52:31.642Z] Login Succeeded [2021-03-12T07:52:31.642Z] nexus3.edgexfoundry.org:10004 [2021-03-12T07:52:31.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:52:31.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:52:31.907Z] Configure a credential helper to remove this warning. See [2021-03-12T07:52:31.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:52:31.907Z] [2021-03-12T07:52:31.907Z] Login Succeeded [2021-03-12T07:52:31.907Z] docker.io [2021-03-12T07:52:31.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:52:32.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:52:32.170Z] Configure a credential helper to remove this warning. See [2021-03-12T07:52:32.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:52:32.170Z] [2021-03-12T07:52:32.170Z] Login Succeeded [2021-03-12T07:52:32.170Z] ---> docker-login.sh ends [Pipeline] } [2021-03-12T07:52:32.179Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [2021-03-12T07:52:32.282Z] Removing intermediate container 657f124e99ed [2021-03-12T07:52:32.282Z] ---> ba3c2a6c663c [2021-03-12T07:52:32.282Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-12T07:52:32.282Z] ---> Running in 3da7fefeefe5 [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-12T07:52:32.526Z] ========================================================= [2021-03-12T07:52:32.526Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-12T07:52:32.526Z] ========================================================= [2021-03-12T07:52:32.558Z] Removing intermediate container 3da7fefeefe5 [2021-03-12T07:52:32.558Z] ---> 26604e5bb1b3 [2021-03-12T07:52:32.558Z] Step 7/8 : COPY . . [Pipeline] isUnix [Pipeline] sh [2021-03-12T07:52:32.874Z] + 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-12T07:52:32.874Z] Sending build context to Docker daemon 2.32MB [2021-03-12T07:52:32.874Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-12T07:52:32.874Z] Step 2/8 : FROM ${BASE} [2021-03-12T07:52:33.144Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-12T07:52:33.144Z] 188c0c94c7c5: Pulling fs layer [2021-03-12T07:52:33.144Z] 0ef7d3d256c8: Pulling fs layer [2021-03-12T07:52:33.144Z] de9db76c5a1d: Pulling fs layer [2021-03-12T07:52:33.145Z] bca2f99d35d6: Pulling fs layer [2021-03-12T07:52:33.145Z] 93359f2a8cfa: Pulling fs layer [2021-03-12T07:52:33.145Z] 7c6f9722023f: Pulling fs layer [2021-03-12T07:52:33.145Z] a35cf1a2eb13: Pulling fs layer [2021-03-12T07:52:33.145Z] 93359f2a8cfa: Waiting [2021-03-12T07:52:33.145Z] 7c6f9722023f: Waiting [2021-03-12T07:52:33.145Z] a35cf1a2eb13: Waiting [2021-03-12T07:52:33.145Z] bca2f99d35d6: Waiting [2021-03-12T07:52:33.145Z] de9db76c5a1d: Verifying Checksum [2021-03-12T07:52:33.145Z] de9db76c5a1d: Download complete [2021-03-12T07:52:33.145Z] 0ef7d3d256c8: Verifying Checksum [2021-03-12T07:52:33.145Z] 0ef7d3d256c8: Download complete [2021-03-12T07:52:33.145Z] 93359f2a8cfa: Verifying Checksum [2021-03-12T07:52:33.145Z] 93359f2a8cfa: Download complete [2021-03-12T07:52:33.145Z] 188c0c94c7c5: Verifying Checksum [2021-03-12T07:52:33.145Z] 7c6f9722023f: Verifying Checksum [2021-03-12T07:52:33.145Z] 7c6f9722023f: Download complete [2021-03-12T07:52:33.417Z] 188c0c94c7c5: Pull complete [2021-03-12T07:52:33.681Z] 0ef7d3d256c8: Pull complete [2021-03-12T07:52:33.943Z] de9db76c5a1d: Pull complete [2021-03-12T07:52:34.003Z] ---> 89f7ebe98f61 [2021-03-12T07:52:34.003Z] Step 8/8 : RUN go mod download [2021-03-12T07:52:34.003Z] ---> Running in 5844f710bdca [2021-03-12T07:52:35.342Z] a35cf1a2eb13: Verifying Checksum [2021-03-12T07:52:35.342Z] a35cf1a2eb13: Download complete [2021-03-12T07:52:35.611Z] bca2f99d35d6: Verifying Checksum [2021-03-12T07:52:35.611Z] bca2f99d35d6: Download complete [2021-03-12T07:52:40.936Z] bca2f99d35d6: Pull complete [2021-03-12T07:52:41.201Z] 93359f2a8cfa: Pull complete [2021-03-12T07:52:41.467Z] 7c6f9722023f: Pull complete [2021-03-12T07:52:46.808Z] a35cf1a2eb13: Pull complete [2021-03-12T07:52:46.808Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-12T07:52:46.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-12T07:52:46.808Z] ---> a62c8e92a672 [2021-03-12T07:52:46.808Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-12T07:52:46.808Z] ---> Running in 3bcc9bad95aa [2021-03-12T07:52:46.808Z] Removing intermediate container 3bcc9bad95aa [2021-03-12T07:52:46.808Z] ---> e853fabaf710 [2021-03-12T07:52:46.808Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-12T07:52:46.808Z] ---> Running in ad6bf343620a [2021-03-12T07:52:47.760Z] Removing intermediate container ad6bf343620a [2021-03-12T07:52:47.760Z] ---> fe11ca10c1b5 [2021-03-12T07:52:47.760Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-12T07:52:47.760Z] ---> Running in a67dc7c43463 [2021-03-12T07:52:48.713Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-12T07:52:49.291Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-12T07:52:50.249Z] OK: 166 MiB in 39 packages [2021-03-12T07:52:50.831Z] Removing intermediate container a67dc7c43463 [2021-03-12T07:52:50.831Z] ---> 8317c91024f1 [2021-03-12T07:52:50.831Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-12T07:52:50.831Z] ---> Running in 9ffb5725cb74 [2021-03-12T07:52:50.831Z] Removing intermediate container 9ffb5725cb74 [2021-03-12T07:52:50.831Z] ---> 9845322610a6 [2021-03-12T07:52:50.831Z] Step 7/8 : COPY . . [2021-03-12T07:52:52.227Z] ---> fad4030b6f1b [2021-03-12T07:52:52.227Z] Step 8/8 : RUN go mod download [2021-03-12T07:52:52.227Z] ---> Running in 449cbab11c89 [2021-03-12T07:53:00.793Z] Removing intermediate container 5844f710bdca [2021-03-12T07:53:00.793Z] ---> 5886b118cb87 [2021-03-12T07:53:00.793Z] Successfully built 5886b118cb87 [2021-03-12T07:53:00.793Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-12T07:53:01.135Z] + docker inspect -f . ci-base-image-arm64 [2021-03-12T07:53:01.135Z] . [Pipeline] withDockerContainer [2021-03-12T07:53:01.402Z] prd-ubuntu18.04-docker-arm64-4c-16g-29626 does not seem to be running inside a container [2021-03-12T07:53:01.493Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-12T07:53:02.999Z] $ docker top afcf0126b075a9b11c5ed03b8ad59dbcfdb2c4aa9ed615780f1ece7176eac0a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-12T07:53:04.042Z] + go version [2021-03-12T07:53:04.042Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-12T07:53:04.071Z] $ docker stop --time=1 afcf0126b075a9b11c5ed03b8ad59dbcfdb2c4aa9ed615780f1ece7176eac0a3 [2021-03-12T07:53:05.909Z] $ docker rm -f afcf0126b075a9b11c5ed03b8ad59dbcfdb2c4aa9ed615780f1ece7176eac0a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-12T07:53:06.922Z] + docker inspect -f . ci-base-image-arm64 [2021-03-12T07:53:06.922Z] . [Pipeline] withDockerContainer [2021-03-12T07:53:07.140Z] prd-ubuntu18.04-docker-arm64-4c-16g-29626 does not seem to be running inside a container [2021-03-12T07:53:07.218Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-12T07:53:08.600Z] $ docker top 9e744828df951ac6ffd8220ba5761b9aae860c4dfdd7fc8950908ea3f2aabdc4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-12T07:53:09.634Z] + make test [2021-03-12T07:53:09.634Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-12T07:53:14.286Z] Removing intermediate container 449cbab11c89 [2021-03-12T07:53:14.286Z] ---> df947b350d86 [2021-03-12T07:53:14.286Z] Successfully built df947b350d86 [2021-03-12T07:53:14.286Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-12T07:53:14.667Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-12T07:53:14.667Z] . [Pipeline] withDockerContainer [2021-03-12T07:53:14.794Z] prd-centos7-docker-4c-2g-29627 does not seem to be running inside a container [2021-03-12T07:53:14.850Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-12T07:53:15.679Z] $ docker top 268e084aa2f5880faae67212b0132c80f1c67cf5e24a570e7108875e7ea30a47 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-12T07:53:16.195Z] + go version [2021-03-12T07:53:16.195Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-12T07:53:16.211Z] $ docker stop --time=1 268e084aa2f5880faae67212b0132c80f1c67cf5e24a570e7108875e7ea30a47 [2021-03-12T07:53:17.579Z] $ docker rm -f 268e084aa2f5880faae67212b0132c80f1c67cf5e24a570e7108875e7ea30a47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-12T07:53:18.511Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-12T07:53:18.512Z] . [Pipeline] withDockerContainer [2021-03-12T07:53:18.607Z] prd-centos7-docker-4c-2g-29627 does not seem to be running inside a container [2021-03-12T07:53:18.655Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-12T07:53:19.351Z] $ docker top 5af3362ea113d61296ba2f8334ed3e92588f40675d5a707829c6d0e155930395 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-12T07:53:19.928Z] + make test [2021-03-12T07:53:19.928Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-12T07:53:28.134Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-12T07:53:31.810Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-12T07:53:43.172Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-12T07:53:43.172Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-12T07:53:43.172Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-12T07:53:45.756Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 25.5% of statements [2021-03-12T07:54:10.838Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-12T07:54:10.838Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-12T07:54:10.838Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-12T07:54:15.160Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.119s coverage: 25.5% of statements [2021-03-12T07:54:17.936Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.052s coverage: 10.5% of statements [2021-03-12T07:54:17.936Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.079s coverage: 12.5% of statements [2021-03-12T07:54:17.936Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-12T07:54:17.936Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.061s coverage: 84.8% of statements [2021-03-12T07:54:17.936Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-12T07:54:17.936Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-12T07:54:17.936Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-12T07:54:17.936Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.069s coverage: 47.6% of statements [2021-03-12T07:54:17.936Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-12T07:54:17.936Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.061s coverage: 81.2% of statements [2021-03-12T07:54:17.936Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.083s coverage: 24.8% of statements [2021-03-12T07:54:17.936Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.158s coverage: 6.4% of statements [2021-03-12T07:54:17.936Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.2% of statements [2021-03-12T07:54:17.936Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-12T07:54:17.936Z] GO111MODULE=on go vet ./... [2021-03-12T07:54:24.597Z] gofmt -l . [2021-03-12T07:54:24.860Z] [ "`gofmt -l .`" = "" ] [2021-03-12T07:54:24.860Z] ./bin/test-attribution-txt.sh [2021-03-12T07:54:25.815Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-12T07:54:25.835Z] $ docker stop --time=1 5af3362ea113d61296ba2f8334ed3e92588f40675d5a707829c6d0e155930395 [2021-03-12T07:54:27.771Z] $ docker rm -f 5af3362ea113d61296ba2f8334ed3e92588f40675d5a707829c6d0e155930395 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-12T07:54:28.497Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-12T07:54:28.938Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-12T07:54:32.117Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-12T07:54:32.422Z] + ls -al . [2021-03-12T07:54:32.422Z] total 184 [2021-03-12T07:54:32.422Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 12 07:54 . [2021-03-12T07:54:32.422Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 12 07:52 .. [2021-03-12T07:54:32.422Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 12 07:52 bin [2021-03-12T07:54:32.422Z] -rw-r--r--. 1 jenkins jenkins 102032 Mar 12 07:54 coverage.out [2021-03-12T07:54:32.422Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 12 07:52 Dockerfile.build [2021-03-12T07:54:32.422Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 12 07:52 .dockerignore [2021-03-12T07:54:32.422Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 12 07:52 example [2021-03-12T07:54:32.422Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 12 07:52 .git [2021-03-12T07:54:32.422Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 12 07:52 .github [2021-03-12T07:54:32.422Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 12 07:52 .gitignore [2021-03-12T07:54:32.422Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 12 07:54 go.mod [2021-03-12T07:54:32.422Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 12 07:54 go.sum [2021-03-12T07:54:32.422Z] drwxrwxr-x. 12 jenkins jenkins 171 Mar 12 07:52 internal [2021-03-12T07:54:32.422Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 12 07:52 Jenkinsfile [2021-03-12T07:54:32.422Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 12 07:52 LICENSE [2021-03-12T07:54:32.422Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 12 07:52 Makefile [2021-03-12T07:54:32.422Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 12 07:52 openapi [2021-03-12T07:54:32.422Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 12 07:52 pkg [2021-03-12T07:54:32.422Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 12 07:52 README.md [2021-03-12T07:54:32.422Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 12 07:52 RELEASE-NOTES.txt [2021-03-12T07:54:32.422Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 12 07:52 snap [2021-03-12T07:54:32.422Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 12 07:49 VERSION [2021-03-12T07:54:32.422Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 12 07:52 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-12T07:54:32.744Z] + 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=ee37646d93806932af97a1dbec2aa3ea91e5802d --label arch=amd64 --label version=0.0.0 . [2021-03-12T07:54:33.006Z] Sending build context to Docker daemon 2.423MB [2021-03-12T07:54:33.006Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-12T07:54:33.006Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-12T07:54:33.006Z] ---> df947b350d86 [2021-03-12T07:54:33.006Z] Step 3/24 : ARG MAKE='make build' [2021-03-12T07:54:33.580Z] ---> Running in 47b09b7c3833 [2021-03-12T07:54:33.580Z] Removing intermediate container 47b09b7c3833 [2021-03-12T07:54:33.580Z] ---> 98b08be0b99e [2021-03-12T07:54:33.580Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-12T07:54:33.843Z] ---> Running in 3851e9ed61f4 [2021-03-12T07:54:33.843Z] Removing intermediate container 3851e9ed61f4 [2021-03-12T07:54:33.843Z] ---> 49ad9aa51821 [2021-03-12T07:54:33.844Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-12T07:54:34.106Z] ---> Running in 3a09ddbcbb25 [2021-03-12T07:54:34.106Z] Removing intermediate container 3a09ddbcbb25 [2021-03-12T07:54:34.106Z] ---> ddec183979a9 [2021-03-12T07:54:34.106Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-12T07:54:34.369Z] ---> Running in db9390c93ba8 [2021-03-12T07:54:35.315Z] Removing intermediate container db9390c93ba8 [2021-03-12T07:54:35.315Z] ---> 06b18f21e21f [2021-03-12T07:54:35.315Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-12T07:54:35.315Z] ---> Running in c4bb95593eab [2021-03-12T07:54:35.579Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-12T07:54:36.528Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-12T07:54:37.111Z] OK: 166 MiB in 39 packages [2021-03-12T07:54:37.690Z] Removing intermediate container c4bb95593eab [2021-03-12T07:54:37.690Z] ---> fda1b25e8dee [2021-03-12T07:54:37.690Z] Step 8/24 : COPY . . [2021-03-12T07:54:38.643Z] ---> 1f79193986a2 [2021-03-12T07:54:38.643Z] Step 9/24 : RUN ${MAKE} [2021-03-12T07:54:38.643Z] ---> Running in 36787f2a0fb7 [2021-03-12T07:54:39.222Z] 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-12T07:54:47.499Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-12T07:54:47.522Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.148s coverage: 10.5% of statements [2021-03-12T07:54:47.522Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.097s coverage: 12.5% of statements [2021-03-12T07:54:47.522Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-12T07:54:47.522Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.130s coverage: 84.8% of statements [2021-03-12T07:54:47.522Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-12T07:54:47.522Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-12T07:54:47.522Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-12T07:54:47.522Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.189s coverage: 47.6% of statements [2021-03-12T07:54:47.522Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-12T07:54:47.522Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.228s coverage: 81.2% of statements [2021-03-12T07:54:47.522Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.166s coverage: 24.8% of statements [2021-03-12T07:54:47.522Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.806s coverage: 6.4% of statements [2021-03-12T07:54:47.522Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.133s coverage: 5.2% of statements [2021-03-12T07:54:47.522Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-12T07:54:47.522Z] GO111MODULE=on go vet ./... [2021-03-12T07:54:50.060Z] Removing intermediate container 36787f2a0fb7 [2021-03-12T07:54:50.060Z] ---> 4294f332bbbb [2021-03-12T07:54:50.060Z] Step 10/24 : FROM scratch [2021-03-12T07:54:50.060Z] ---> [2021-03-12T07:54:50.060Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-12T07:54:50.060Z] ---> Running in 68d6cdf3ff92 [2021-03-12T07:54:50.323Z] Removing intermediate container 68d6cdf3ff92 [2021-03-12T07:54:50.323Z] ---> c5f6ff2426c5 [2021-03-12T07:54:50.323Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-12T07:54:50.323Z] ---> Running in ecb82124936d [2021-03-12T07:54:50.588Z] Removing intermediate container ecb82124936d [2021-03-12T07:54:50.588Z] ---> a8d8bbb11db4 [2021-03-12T07:54:50.588Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-12T07:54:50.588Z] ---> Running in b3ef3005eafe [2021-03-12T07:54:50.588Z] Removing intermediate container b3ef3005eafe [2021-03-12T07:54:50.588Z] ---> 814118de6a2a [2021-03-12T07:54:50.588Z] Step 14/24 : WORKDIR / [2021-03-12T07:54:50.851Z] ---> Running in c8583c5476c4 [2021-03-12T07:54:50.851Z] Removing intermediate container c8583c5476c4 [2021-03-12T07:54:50.851Z] ---> 0137b5f70491 [2021-03-12T07:54:50.851Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-12T07:54:51.437Z] ---> 978a705467b1 [2021-03-12T07:54:51.437Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-12T07:54:51.699Z] ---> 83e8ca82dc30 [2021-03-12T07:54:51.699Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-12T07:54:51.963Z] ---> 443ca8c99a08 [2021-03-12T07:54:51.964Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-12T07:54:52.226Z] ---> 3de24fb50b19 [2021-03-12T07:54:52.226Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-12T07:54:52.226Z] ---> 8b6b6814de09 [2021-03-12T07:54:52.226Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-12T07:54:52.488Z] ---> Running in 1516709e4b54 [2021-03-12T07:54:52.488Z] Removing intermediate container 1516709e4b54 [2021-03-12T07:54:52.488Z] ---> 7d9af0868875 [2021-03-12T07:54:52.488Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-12T07:54:52.751Z] ---> Running in fba450a53b2d [2021-03-12T07:54:52.751Z] Removing intermediate container fba450a53b2d [2021-03-12T07:54:52.751Z] ---> 448cf744fe53 [2021-03-12T07:54:52.751Z] Step 22/24 : LABEL arch=amd64 [2021-03-12T07:54:52.751Z] ---> Running in 59e3db237cc6 [2021-03-12T07:54:53.015Z] Removing intermediate container 59e3db237cc6 [2021-03-12T07:54:53.015Z] ---> db1cb07d27f2 [2021-03-12T07:54:53.015Z] Step 23/24 : LABEL git_sha=ee37646d93806932af97a1dbec2aa3ea91e5802d [2021-03-12T07:54:53.015Z] ---> Running in 92347d65ac94 [2021-03-12T07:54:53.278Z] Removing intermediate container 92347d65ac94 [2021-03-12T07:54:53.278Z] ---> aedaf279a5c9 [2021-03-12T07:54:53.278Z] Step 24/24 : LABEL version=0.0.0 [2021-03-12T07:54:53.278Z] ---> Running in 66ceb546f5b4 [2021-03-12T07:54:53.539Z] Removing intermediate container 66ceb546f5b4 [2021-03-12T07:54:53.539Z] ---> 86571787eddf [2021-03-12T07:54:53.539Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-12T07:54:53.539Z] Successfully built 86571787eddf [2021-03-12T07:54:53.539Z] 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-12T07:54:54.776Z] ---> job-cost.sh [2021-03-12T07:54:54.776Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4Bqs [2021-03-12T07:55:09.726Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-12T07:55:20.451Z] gofmt -l . [2021-03-12T07:55:20.451Z] [ "`gofmt -l .`" = "" ] [2021-03-12T07:55:20.451Z] ./bin/test-attribution-txt.sh [2021-03-12T07:55:20.451Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-12T07:55:20.480Z] $ docker stop --time=1 9e744828df951ac6ffd8220ba5761b9aae860c4dfdd7fc8950908ea3f2aabdc4 [2021-03-12T07:55:22.757Z] $ docker rm -f 9e744828df951ac6ffd8220ba5761b9aae860c4dfdd7fc8950908ea3f2aabdc4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-12T07:55:23.836Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-12T07:55:23.920Z] Warning: overwriting stash ‘coverage-report’ [2021-03-12T07:55:24.728Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-12T07:55:25.496Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-12T07:55:25.827Z] + ls -al . [2021-03-12T07:55:25.827Z] total 220 [2021-03-12T07:55:25.827Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 07:55 . [2021-03-12T07:55:25.827Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:51 .. [2021-03-12T07:55:25.827Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 12 07:51 .dockerignore [2021-03-12T07:55:25.827Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 07:51 .git [2021-03-12T07:55:25.827Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 07:51 .github [2021-03-12T07:55:25.827Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 12 07:51 .gitignore [2021-03-12T07:55:25.828Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 12 07:51 Dockerfile.build [2021-03-12T07:55:25.828Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 12 07:51 Jenkinsfile [2021-03-12T07:55:25.828Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 12 07:51 LICENSE [2021-03-12T07:55:25.828Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 12 07:51 Makefile [2021-03-12T07:55:25.828Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 12 07:51 README.md [2021-03-12T07:55:25.828Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 12 07:51 RELEASE-NOTES.txt [2021-03-12T07:55:25.828Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 07:49 VERSION [2021-03-12T07:55:25.828Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 07:51 bin [2021-03-12T07:55:25.828Z] -rw-r--r-- 1 jenkins jenkins 102032 Mar 12 07:54 coverage.out [2021-03-12T07:55:25.828Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:51 example [2021-03-12T07:55:25.828Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 12 07:55 go.mod [2021-03-12T07:55:25.828Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 12 07:55 go.sum [2021-03-12T07:55:25.828Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 12 07:51 internal [2021-03-12T07:55:25.828Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:51 openapi [2021-03-12T07:55:25.828Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 12 07:51 pkg [2021-03-12T07:55:25.828Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:51 snap [2021-03-12T07:55:25.828Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 12 07:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-12T07:55:26.166Z] + 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=ee37646d93806932af97a1dbec2aa3ea91e5802d --label arch=arm64 --label version=0.0.0 . [2021-03-12T07:55:26.439Z] Sending build context to Docker daemon 2.429MB [2021-03-12T07:55:26.712Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-12T07:55:26.712Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-12T07:55:26.712Z] ---> 5886b118cb87 [2021-03-12T07:55:26.712Z] Step 3/24 : ARG MAKE='make build' [2021-03-12T07:55:26.985Z] ---> Running in cd081d79a468 [2021-03-12T07:55:27.255Z] Removing intermediate container cd081d79a468 [2021-03-12T07:55:27.255Z] ---> c8282ab276a8 [2021-03-12T07:55:27.255Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-12T07:55:27.526Z] ---> Running in 39f0d93a346b [2021-03-12T07:55:28.118Z] Removing intermediate container 39f0d93a346b [2021-03-12T07:55:28.118Z] ---> 5b6ecfedb331 [2021-03-12T07:55:28.118Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-12T07:55:28.118Z] ---> Running in d9b5340d0d0b [2021-03-12T07:55:28.709Z] Removing intermediate container d9b5340d0d0b [2021-03-12T07:55:28.709Z] ---> 68d7d97748f3 [2021-03-12T07:55:28.709Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-12T07:55:28.709Z] ---> Running in bd31873bea5d [2021-03-12T07:55:30.679Z] Removing intermediate container bd31873bea5d [2021-03-12T07:55:30.679Z] ---> f0af331f6ebd [2021-03-12T07:55:30.679Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-12T07:55:30.679Z] ---> Running in 1910cc48b3b0 [2021-03-12T07:55:31.653Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-12T07:55:32.625Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-12T07:55:33.213Z] OK: 142 MiB in 39 packages [2021-03-12T07:55:34.659Z] Removing intermediate container 1910cc48b3b0 [2021-03-12T07:55:34.659Z] ---> 36e0be1c0f10 [2021-03-12T07:55:34.659Z] Step 8/24 : COPY . . [2021-03-12T07:55:35.645Z] ---> 91c781392b22 [2021-03-12T07:55:35.645Z] Step 9/24 : RUN ${MAKE} [2021-03-12T07:55:35.645Z] ---> Running in df5169603e77 [2021-03-12T07:55:37.080Z] 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-12T07:55:41.890Z] lf-activate-venv(): INFO: Adding /tmp/venv-4Bqs/bin to PATH [2021-03-12T07:55:41.890Z] INFO: No Stack... [2021-03-12T07:55:41.890Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-12T07:55:41.890Z] INFO: Archiving Costs [Pipeline] sh [2021-03-12T07:55:42.211Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-03-12T07:55:42.211Z] + cut -d, -f6 [Pipeline] lock [2021-03-12T07:55:42.293Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-816-2-stack-cost] [2021-03-12T07:55:42.303Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-816-2-stack-cost] did not exist. Created. [2021-03-12T07:55:42.303Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-816-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-12T07:55:42.712Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-12T07:55:42.891Z] Stashed 1 file(s) [Pipeline] } [2021-03-12T07:55:42.908Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-816-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-12T07:56:03.917Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-12T07:56:04.189Z] Removing intermediate container df5169603e77 [2021-03-12T07:56:04.189Z] ---> cd0dfc41f813 [2021-03-12T07:56:04.189Z] Step 10/24 : FROM scratch [2021-03-12T07:56:04.189Z] ---> [2021-03-12T07:56:04.189Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-12T07:56:04.189Z] ---> Running in 548cd2c4b5b6 [2021-03-12T07:56:04.782Z] Removing intermediate container 548cd2c4b5b6 [2021-03-12T07:56:04.782Z] ---> 6afa54b8c9f8 [2021-03-12T07:56:04.782Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-12T07:56:04.782Z] ---> Running in 5862a481e3c3 [2021-03-12T07:56:05.374Z] Removing intermediate container 5862a481e3c3 [2021-03-12T07:56:05.374Z] ---> e7643a774e09 [2021-03-12T07:56:05.374Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-12T07:56:05.374Z] ---> Running in f98d90a66912 [2021-03-12T07:56:05.645Z] Removing intermediate container f98d90a66912 [2021-03-12T07:56:05.645Z] ---> 3bd90eda46a2 [2021-03-12T07:56:05.645Z] Step 14/24 : WORKDIR / [2021-03-12T07:56:05.918Z] ---> Running in 19ffd6d051b8 [2021-03-12T07:56:06.512Z] Removing intermediate container 19ffd6d051b8 [2021-03-12T07:56:06.512Z] ---> 1ff6f10597e5 [2021-03-12T07:56:06.512Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-12T07:56:07.492Z] ---> 999fbf9220be [2021-03-12T07:56:07.492Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-12T07:56:08.088Z] ---> 4a77791abd45 [2021-03-12T07:56:08.088Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-12T07:56:09.063Z] ---> 2dc2cc8a19ba [2021-03-12T07:56:09.063Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-12T07:56:09.657Z] ---> df852b0a9ec7 [2021-03-12T07:56:09.657Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-12T07:56:10.252Z] ---> 1b483a8a04fd [2021-03-12T07:56:10.252Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-12T07:56:10.526Z] ---> Running in 3db94ef0d98a [2021-03-12T07:56:11.132Z] Removing intermediate container 3db94ef0d98a [2021-03-12T07:56:11.132Z] ---> f35509049ade [2021-03-12T07:56:11.132Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-12T07:56:11.132Z] ---> Running in 716b8c83c58e [2021-03-12T07:56:11.408Z] Removing intermediate container 716b8c83c58e [2021-03-12T07:56:11.408Z] ---> 5cc27eb7c86d [2021-03-12T07:56:11.408Z] Step 22/24 : LABEL arch=arm64 [2021-03-12T07:56:11.680Z] ---> Running in c0883d57fce6 [2021-03-12T07:56:11.951Z] Removing intermediate container c0883d57fce6 [2021-03-12T07:56:11.951Z] ---> 83b9225ca918 [2021-03-12T07:56:11.951Z] Step 23/24 : LABEL git_sha=ee37646d93806932af97a1dbec2aa3ea91e5802d [2021-03-12T07:56:12.223Z] ---> Running in 590fc3c0a6e1 [2021-03-12T07:56:12.495Z] Removing intermediate container 590fc3c0a6e1 [2021-03-12T07:56:12.495Z] ---> cb9830c99623 [2021-03-12T07:56:12.495Z] Step 24/24 : LABEL version=0.0.0 [2021-03-12T07:56:12.767Z] ---> Running in 1ea74232269e [2021-03-12T07:56:13.362Z] Removing intermediate container 1ea74232269e [2021-03-12T07:56:13.362Z] ---> 63791c53e235 [2021-03-12T07:56:13.362Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-12T07:56:13.362Z] Successfully built 63791c53e235 [2021-03-12T07:56:13.362Z] 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-12T07:56:14.175Z] ---> job-cost.sh [2021-03-12T07:56:14.176Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-VLcA [2021-03-12T07:56:53.110Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-12T07:58:29.863Z] lf-activate-venv(): INFO: Adding /tmp/venv-VLcA/bin to PATH [2021-03-12T07:58:29.863Z] INFO: No Stack... [2021-03-12T07:58:29.863Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-12T07:58:29.863Z] INFO: Archiving Costs [Pipeline] sh [2021-03-12T07:58:30.225Z] + + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-03-12T07:58:30.225Z] cut -d, -f6 [Pipeline] lock [2021-03-12T07:58:30.349Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-816-2-stack-cost] [2021-03-12T07:58:30.357Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-816-2-stack-cost] did not exist. Created. [2021-03-12T07:58:30.357Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-816-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-12T07:58:30.848Z] /w/workspace/device-sdk-go/2@tmp/durable-cba1d180/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-cba1d180/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-12T07:58:31.205Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-12T07:58:31.283Z] Warning: overwriting stash ‘stack-cost’ [2021-03-12T07:58:31.456Z] Stashed 1 file(s) [Pipeline] } [2021-03-12T07:58:31.477Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-816-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-12T07:58:33.124Z] provisioning config files... [2021-03-12T07:58:33.142Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/config551781987804257011tmp [Pipeline] { [Pipeline] sh [2021-03-12T07:58:33.591Z] + set +x [2021-03-12T07:58:33.591Z] + curl -s https://codecov.io/bash [2021-03-12T07:58:33.591Z] + bash -s -- [2021-03-12T07:58:33.867Z] [2021-03-12T07:58:33.867Z] _____ _ [2021-03-12T07:58:33.867Z] / ____| | | [2021-03-12T07:58:33.867Z] | | ___ __| | ___ ___ _____ __ [2021-03-12T07:58:33.867Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-12T07:58:33.867Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-12T07:58:33.867Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-12T07:58:33.867Z] Bash-20210309-2b87ace [2021-03-12T07:58:33.867Z] [2021-03-12T07:58:33.867Z] [2021-03-12T07:58:33.867Z] ==> git version 2.24.3 found [2021-03-12T07:58:33.867Z] ==> 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-12T07:58:33.867Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-12T07:58:33.867Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-12T07:58:33.867Z] ==> Jenkins CI detected. [2021-03-12T07:58:33.867Z] project root: . [2021-03-12T07:58:33.867Z] --> token set from env [2021-03-12T07:58:33.867Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-12T07:58:34.148Z] ==> Running gcov in . (disable via -X gcov) [2021-03-12T07:58:34.148Z] ==> Python coveragepy not found [2021-03-12T07:58:34.148Z] ==> Searching for coverage reports in: [2021-03-12T07:58:34.148Z] + . [2021-03-12T07:58:34.148Z] -> Found 1 reports [2021-03-12T07:58:34.148Z] ==> Detecting git/mercurial file structure [2021-03-12T07:58:34.148Z] ==> Reading reports [2021-03-12T07:58:34.148Z] + ./coverage.out bytes=102032 [2021-03-12T07:58:34.148Z] ==> Appending adjustments [2021-03-12T07:58:34.148Z] https://docs.codecov.io/docs/fixing-reports [2021-03-12T07:58:35.137Z] + Found adjustments [2021-03-12T07:58:35.137Z] ==> Gzipping contents [2021-03-12T07:58:35.137Z] 16K /tmp/codecov.f28uXv.gz [2021-03-12T07:58:35.137Z] ==> Uploading reports [2021-03-12T07:58:35.137Z] url: https://codecov.io [2021-03-12T07:58:35.137Z] query: branch=PR-816&commit=ee37646d93806932af97a1dbec2aa3ea91e5802d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-816%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=816&job=&cmd_args= [2021-03-12T07:58:35.137Z] -> Pinging Codecov [2021-03-12T07:58:35.137Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-816&commit=ee37646d93806932af97a1dbec2aa3ea91e5802d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-816%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=816&job=&cmd_args= [2021-03-12T07:58:35.417Z] -> Uploading to [2021-03-12T07:58:35.417Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-12/7E55EF52A471D76F132DFD9A03CDDE97/ee37646d93806932af97a1dbec2aa3ea91e5802d/458356ac-82ea-4a3e-87f4-6e087afa03c8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210312%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210312T075835Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=84b168be4e143c951fa9289878503be09d020f16fe0dc7ca4a398fca79c54078 [2021-03-12T07:58:35.417Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-12T07:58:35.417Z] Dload Upload Total Spent Left Speed [2021-03-12T07:58:35.968Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15168 0 0 100 15168 0 28016 --:--:-- --:--:-- --:--:-- 27985 [2021-03-12T07:58:35.968Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ee37646d93806932af97a1dbec2aa3ea91e5802d [Pipeline] } [2021-03-12T07:58:35.987Z] 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-12T07:58:38.803Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-12T07:58:39.397Z] ---> package-listing.sh [2021-03-12T07:58:39.397Z] ++ facter osfamily [2021-03-12T07:58:39.397Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-12T07:58:39.667Z] + OS_FAMILY=redhat [2021-03-12T07:58:39.667Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-816 [2021-03-12T07:58:39.667Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-12T07:58:39.667Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-12T07:58:39.667Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-12T07:58:39.667Z] + PACKAGES=/tmp/packages_start.txt [2021-03-12T07:58:39.667Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-816 ']' [2021-03-12T07:58:39.667Z] + PACKAGES=/tmp/packages_end.txt [2021-03-12T07:58:39.667Z] + case "${OS_FAMILY}" in [2021-03-12T07:58:39.667Z] + rpm -qa [2021-03-12T07:58:39.667Z] + sort [2021-03-12T07:58:47.978Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-12T07:58:47.978Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-12T07:58:47.978Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-12T07:58:47.978Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-816 ']' [2021-03-12T07:58:47.978Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-816/archives/ [2021-03-12T07:58:47.978Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-816/archives/ [Pipeline] echo [2021-03-12T07:58:47.999Z] 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-816/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-12T07:58:48.313Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-12T07:58:48.925Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-12T07:58:48.925Z] [2021-03-12T07:58:48.925Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-12T07:58:49.334Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-12T07:58:49.334Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-12T07:58:49.334Z] df20fa9351a1: Pulling fs layer [2021-03-12T07:58:49.334Z] 36b3adc4ff6f: Pulling fs layer [2021-03-12T07:58:49.334Z] 8ad3a11d3b57: Pulling fs layer [2021-03-12T07:58:49.334Z] 46f8f816bc3b: Pulling fs layer [2021-03-12T07:58:49.334Z] 93b61091891f: Pulling fs layer [2021-03-12T07:58:49.334Z] 93b9cdb0e59b: Pulling fs layer [2021-03-12T07:58:49.334Z] 5e14af77c1be: Pulling fs layer [2021-03-12T07:58:49.334Z] 01666e4c0597: Pulling fs layer [2021-03-12T07:58:49.334Z] aa168da1d23b: Pulling fs layer [2021-03-12T07:58:49.334Z] 5e14af77c1be: Waiting [2021-03-12T07:58:49.334Z] 01666e4c0597: Waiting [2021-03-12T07:58:49.334Z] aa168da1d23b: Waiting [2021-03-12T07:58:49.334Z] 46f8f816bc3b: Waiting [2021-03-12T07:58:49.334Z] 93b61091891f: Waiting [2021-03-12T07:58:49.334Z] 93b9cdb0e59b: Waiting [2021-03-12T07:58:49.658Z] 36b3adc4ff6f: Verifying Checksum [2021-03-12T07:58:49.658Z] 36b3adc4ff6f: Download complete [2021-03-12T07:58:49.658Z] 46f8f816bc3b: Verifying Checksum [2021-03-12T07:58:49.658Z] 46f8f816bc3b: Download complete [2021-03-12T07:58:49.977Z] df20fa9351a1: Verifying Checksum [2021-03-12T07:58:49.977Z] df20fa9351a1: Download complete [2021-03-12T07:58:49.977Z] 93b9cdb0e59b: Verifying Checksum [2021-03-12T07:58:49.977Z] 93b9cdb0e59b: Download complete [2021-03-12T07:58:49.977Z] 5e14af77c1be: Verifying Checksum [2021-03-12T07:58:49.977Z] 5e14af77c1be: Download complete [2021-03-12T07:58:49.977Z] 93b61091891f: Verifying Checksum [2021-03-12T07:58:49.977Z] 93b61091891f: Download complete [2021-03-12T07:58:49.977Z] 01666e4c0597: Download complete [2021-03-12T07:58:50.600Z] df20fa9351a1: Pull complete [2021-03-12T07:58:50.881Z] 8ad3a11d3b57: Verifying Checksum [2021-03-12T07:58:50.881Z] 8ad3a11d3b57: Download complete [2021-03-12T07:58:50.881Z] 36b3adc4ff6f: Pull complete [2021-03-12T07:58:52.389Z] 8ad3a11d3b57: Pull complete [2021-03-12T07:58:52.668Z] 46f8f816bc3b: Pull complete [2021-03-12T07:58:53.785Z] 93b61091891f: Pull complete [2021-03-12T07:58:54.388Z] 93b9cdb0e59b: Pull complete [2021-03-12T07:58:54.723Z] 5e14af77c1be: Pull complete [2021-03-12T07:58:55.143Z] aa168da1d23b: Verifying Checksum [2021-03-12T07:58:55.143Z] aa168da1d23b: Download complete [2021-03-12T07:58:55.800Z] 01666e4c0597: Pull complete [2021-03-12T07:59:18.662Z] aa168da1d23b: Pull complete [2021-03-12T07:59:18.662Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-12T07:59:18.662Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-12T07:59:18.662Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-12T07:59:19.950Z] prd-centos7-docker-4c-2g-29625 does not seem to be running inside a container [2021-03-12T07:59:20.070Z] $ 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-816/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-816 -v /w/workspace/dgexfoundry_device-sdk-go_PR-816:/w/workspace/dgexfoundry_device-sdk-go_PR-816:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-816@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-12T07:59:22.933Z] $ docker top 9afb0b066df0d7aa414511120446569fb061e8ba2f982c07443936f567f8aef0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-12T07:59:23.753Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-12T07:59:24.427Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-12T07:59:24.765Z] + ls /var/log/sa-host [2021-03-12T07:59:24.765Z] + sadf -c /var/log/sa-host/sa12 [2021-03-12T07:59:24.765Z] file_magic: OK [2021-03-12T07:59:24.765Z] HZ: Using current value: 100 [2021-03-12T07:59:24.765Z] file_header: OK [2021-03-12T07:59:24.765Z] 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-12T07:59:24.765Z] Statistics: [2021-03-12T07:59:24.765Z] 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-12T07:59:24.765Z] File successfully converted to sysstat format version 12.2.1 [2021-03-12T07:59:24.765Z] + sadf -c /var/log/sa-host/sa23 [2021-03-12T07:59:24.765Z] file_magic: OK [2021-03-12T07:59:24.765Z] HZ: Using current value: 100 [2021-03-12T07:59:24.765Z] file_header: OK [2021-03-12T07:59:24.765Z] 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-12T07:59:24.765Z] Statistics: [2021-03-12T07:59:24.765Z] Hnuu...uuuununununu... [2021-03-12T07:59:24.765Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-12T07:59:25.580Z] provisioning config files... [2021-03-12T07:59:25.614Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/config6136542223838330055tmp [Pipeline] { [Pipeline] echo [2021-03-12T07:59:25.689Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-12T07:59:26.056Z] ---> create-netrc.sh [Pipeline] } [2021-03-12T07:59:26.111Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-12T07:59:26.224Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-12T07:59:26.550Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-12T07:59:26.564Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-12T07:59:26.895Z] ---> sudo-logs.sh [2021-03-12T07:59:26.895Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-12T07:59:26.963Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-12T07:59:27.324Z] ---> job-cost.sh [2021-03-12T07:59:27.324Z] lf-activate-venv: SKIPPING [2021-03-12T07:59:27.324Z] DEBUG: total: 0.20999999344348907 [2021-03-12T07:59:27.324Z] INFO: Retrieving Stack Cost... [2021-03-12T07:59:28.790Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-12T07:59:29.373Z] INFO: Archiving Costs [Pipeline] echo [2021-03-12T07:59:29.389Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-12T07:59:29.736Z] ---> logs-deploy.sh [2021-03-12T07:59:29.737Z] lf-activate-venv: SKIPPING [2021-03-12T07:59:29.737Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-816/2 [2021-03-12T07:59:29.737Z] INFO: archiving workspace using pattern(s): [2021-03-12T07:59:33.271Z] Archives upload complete. [2021-03-12T07:59:33.271Z] INFO: archiving logs to Nexus