Pull request #820 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from cd03f89f32e170180e11f7880e36063cf87ff138+79c51434d0b6ff974f0a74c9d16ec224deffdcc1 (5a313c353aa80b2d2efa3e514a40a6581366b054) 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-30118 in /w/workspace/dgexfoundry_device-sdk-go_PR-820 [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-820 # 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 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit cd03f89f32e170180e11f7880e36063cf87ff138 Merge succeeded, producing cd03f89f32e170180e11f7880e36063cf87ff138 Checking out Revision cd03f89f32e170180e11f7880e36063cf87ff138 (PR-820) > 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/820/head:refs/remotes/origin/PR-820 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd03f89f32e170180e11f7880e36063cf87ff138 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd03f89f32e170180e11f7880e36063cf87ff138 # timeout=10 Commit message: "refactor: remove v1 code and unused constants" First time build. Skipping changelog. > git rev-list --no-walk 99c149a3d5c447c9853bfd79d7c7c8e702b450e8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-17T04:23:43.110Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-17T04:23:43.381Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-17T04:23:43.488Z] ========================================================= [2021-03-17T04:23:43.488Z] EdgeX Global Pipelines Version Info [2021-03-17T04:23:43.488Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-17T04:23:45.452Z] ------------------- [2021-03-17T04:23:45.452Z] stable info: [2021-03-17T04:23:45.452Z] ------------------- [2021-03-17T04:23:45.452Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-17T04:23:45.452Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-17T04:23:45.452Z] Message: update stable to v1.0.184 [2021-03-17T04:23:46.031Z] ------------------- [2021-03-17T04:23:46.031Z] experimental info: [2021-03-17T04:23:46.031Z] ------------------- [2021-03-17T04:23:46.031Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-17T04:23:46.031Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-17T04:23:46.031Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-17T04:23:46.325Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-17T04:23:46.424Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-17T04:23:46.534Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-17T04:23:46.627Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-17T04:23:46.724Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-17T04:23:46.843Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-17T04:23:46.934Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-17T04:23:47.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-17T04:23:47.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-17T04:23:47.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-17T04:23:47.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-17T04:23:47.400Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-17T04:23:47.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-17T04:23:47.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-17T04:23:47.692Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-17T04:23:47.803Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-17T04:23:47.897Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-17T04:23:48.044Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-17T04:23:48.143Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-17T04:23:48.252Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-17T04:23:48.343Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-17T04:23:48.438Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-17T04:23:48.528Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-17T04:23:48.618Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-17T04:23:48.721Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-17T04:23:48.847Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-17T04:23:48.940Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-820 [Pipeline] echo [2021-03-17T04:23:49.032Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-820 [Pipeline] echo [2021-03-17T04:23:49.136Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-820 [Pipeline] echo [2021-03-17T04:23:49.221Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cd03f89f32e170180e11f7880e36063cf87ff138 [Pipeline] echo [2021-03-17T04:23:49.306Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cd03f89 [Pipeline] echo [2021-03-17T04:23:49.395Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-17T04:23:49.577Z] provisioning config files... [2021-03-17T04:23:49.605Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/config8609484031322973309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-17T04:23:49.958Z] ---> docker-login.sh [2021-03-17T04:23:49.958Z] nexus3.edgexfoundry.org:10001 [2021-03-17T04:23:50.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:23:50.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:23:50.484Z] Configure a credential helper to remove this warning. See [2021-03-17T04:23:50.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:23:50.484Z] [2021-03-17T04:23:50.484Z] Login Succeeded [2021-03-17T04:23:50.484Z] nexus3.edgexfoundry.org:10002 [2021-03-17T04:23:50.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:23:50.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:23:50.748Z] Configure a credential helper to remove this warning. See [2021-03-17T04:23:50.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:23:50.748Z] [2021-03-17T04:23:50.748Z] Login Succeeded [2021-03-17T04:23:50.748Z] nexus3.edgexfoundry.org:10003 [2021-03-17T04:23:50.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:23:50.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:23:50.748Z] Configure a credential helper to remove this warning. See [2021-03-17T04:23:50.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:23:50.748Z] [2021-03-17T04:23:50.748Z] Login Succeeded [2021-03-17T04:23:50.748Z] nexus3.edgexfoundry.org:10004 [2021-03-17T04:23:51.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:23:51.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:23:51.010Z] Configure a credential helper to remove this warning. See [2021-03-17T04:23:51.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:23:51.010Z] [2021-03-17T04:23:51.010Z] Login Succeeded [2021-03-17T04:23:51.010Z] docker.io [2021-03-17T04:23:51.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:23:51.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:23:51.273Z] Configure a credential helper to remove this warning. See [2021-03-17T04:23:51.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:23:51.273Z] [2021-03-17T04:23:51.273Z] Login Succeeded [2021-03-17T04:23:51.273Z] ---> docker-login.sh ends [Pipeline] } [2021-03-17T04:23:51.283Z] 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-17T04:23:52.136Z] + git log --format=format:%s -1 cd03f89f32e170180e11f7880e36063cf87ff138 [Pipeline] echo [2021-03-17T04:23:52.196Z] GIT_COMMIT: cd03f89f32e170180e11f7880e36063cf87ff138, Commit Message: refactor: remove v1 code and unused constants [Pipeline] echo [2021-03-17T04:23:52.244Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-17T04:23:53.198Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-17T04:23:53.199Z] [2021-03-17T04:23:53.199Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-17T04:23:53.540Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-17T04:23:53.540Z] latest: Pulling from edgex-devops/git-semver [2021-03-17T04:23:53.540Z] 31603596830f: Pulling fs layer [2021-03-17T04:23:53.540Z] 2a8b12db71e7: Pulling fs layer [2021-03-17T04:23:53.540Z] 6ca5941a6612: Pulling fs layer [2021-03-17T04:23:53.540Z] ecc8261a40a4: Pulling fs layer [2021-03-17T04:23:53.540Z] ecc8261a40a4: Waiting [2021-03-17T04:23:53.540Z] 2a8b12db71e7: Verifying Checksum [2021-03-17T04:23:53.540Z] 2a8b12db71e7: Download complete [2021-03-17T04:23:53.540Z] 31603596830f: Verifying Checksum [2021-03-17T04:23:53.540Z] 31603596830f: Download complete [2021-03-17T04:23:53.804Z] 6ca5941a6612: Verifying Checksum [2021-03-17T04:23:53.804Z] 6ca5941a6612: Download complete [2021-03-17T04:23:53.804Z] ecc8261a40a4: Verifying Checksum [2021-03-17T04:23:53.804Z] ecc8261a40a4: Download complete [2021-03-17T04:23:54.068Z] 31603596830f: Pull complete [2021-03-17T04:23:54.068Z] 2a8b12db71e7: Pull complete [2021-03-17T04:23:55.019Z] 6ca5941a6612: Pull complete [2021-03-17T04:23:55.019Z] ecc8261a40a4: Pull complete [2021-03-17T04:23:55.019Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-17T04:23:55.019Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-17T04:23:55.019Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-17T04:23:55.120Z] prd-centos7-docker-4c-2g-30118 does not seem to be running inside a container [2021-03-17T04:23:55.166Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-820 -v /w/workspace/dgexfoundry_device-sdk-go_PR-820:/w/workspace/dgexfoundry_device-sdk-go_PR-820:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-17T04:23:57.049Z] $ docker top 36723d7060e9583ba087d125c38eaba9fbf6901f86155f357616f71c1a091c5d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-17T04:23:57.335Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-17T04:23:57.335Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-17T04:23:57.526Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-17T04:23:57.529Z] $ docker exec 36723d7060e9583ba087d125c38eaba9fbf6901f86155f357616f71c1a091c5d ssh-agent [2021-03-17T04:23:57.693Z] SSH_AUTH_SOCK=/tmp/ssh-fOy8maKh69zm/agent.11 [2021-03-17T04:23:57.693Z] SSH_AGENT_PID=16 [2021-03-17T04:23:57.701Z] Running ssh-add (command line suppressed) [2021-03-17T04:23:57.816Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/private_key_3277227377552819573.key (/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/private_key_3277227377552819573.key) [2021-03-17T04:23:57.864Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-17T04:23:58.196Z] + git tag --points-at HEAD [Pipeline] } [2021-03-17T04:23:58.217Z] $ docker exec --env ******** --env ******** 36723d7060e9583ba087d125c38eaba9fbf6901f86155f357616f71c1a091c5d ssh-agent -k [2021-03-17T04:23:58.320Z] unset SSH_AUTH_SOCK; [2021-03-17T04:23:58.320Z] unset SSH_AGENT_PID; [2021-03-17T04:23:58.320Z] echo Agent pid 16 killed; [2021-03-17T04:23:58.364Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-17T04:23:58.514Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-17T04:23:58.515Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-17T04:23:58.666Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-17T04:23:58.668Z] $ docker exec 36723d7060e9583ba087d125c38eaba9fbf6901f86155f357616f71c1a091c5d ssh-agent [2021-03-17T04:23:58.825Z] SSH_AUTH_SOCK=/tmp/ssh-TbP5pemaQfVz/agent.47 [2021-03-17T04:23:58.825Z] SSH_AGENT_PID=52 [2021-03-17T04:23:58.831Z] Running ssh-add (command line suppressed) [2021-03-17T04:23:58.938Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/private_key_1136400035414413307.key (/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/private_key_1136400035414413307.key) [2021-03-17T04:23:58.985Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-17T04:23:59.314Z] + git semver init [2021-03-17T04:23:59.315Z] # -> Open(): unable to determine branch for HEAD [2021-03-17T04:23:59.315Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-820/.git [2021-03-17T04:23:59.315Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-820 [2021-03-17T04:23:59.315Z] # $SEMVER_REMOTE_NAME = origin [2021-03-17T04:23:59.315Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-17T04:23:59.315Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-17T04:23:59.315Z] # $SEMVER_BRANCH = PR-820 [2021-03-17T04:23:59.315Z] # $SEMVER_TEMP = /tmp/semver-857936440 [2021-03-17T04:23:59.315Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-17T04:24:00.262Z] # '/tmp/semver-857936440' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-820/.semver' [2021-03-17T04:24:00.262Z] # -> Force: false [2021-03-17T04:24:00.262Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-820/.semver [Pipeline] } [2021-03-17T04:24:00.272Z] $ docker exec --env ******** --env ******** 36723d7060e9583ba087d125c38eaba9fbf6901f86155f357616f71c1a091c5d ssh-agent -k [2021-03-17T04:24:00.382Z] unset SSH_AUTH_SOCK; [2021-03-17T04:24:00.382Z] unset SSH_AGENT_PID; [2021-03-17T04:24:00.382Z] echo Agent pid 52 killed; [2021-03-17T04:24:00.427Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-17T04:24:00.895Z] + git semver [Pipeline] } [2021-03-17T04:24:00.915Z] $ docker stop --time=1 36723d7060e9583ba087d125c38eaba9fbf6901f86155f357616f71c1a091c5d [2021-03-17T04:24:02.291Z] $ docker rm -f 36723d7060e9583ba087d125c38eaba9fbf6901f86155f357616f71c1a091c5d [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-17T04:24:02.791Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-17T04:24:03.342Z] Stashed 1 file(s) [Pipeline] echo [2021-03-17T04:24:03.345Z] [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-17T04:24:18.975Z] Still waiting to schedule task [2021-03-17T04:24:18.976Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30118’ [2021-03-17T04:24:18.978Z] Still waiting to schedule task [2021-03-17T04:24:18.978Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-17T04:26:07.591Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30119 in /w/workspace/dgexfoundry_device-sdk-go_PR-820 [Pipeline] { [Pipeline] ws [2021-03-17T04:26:07.663Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-03-17T04:26:12.962Z] using credential edgex-jenkins-ssh [2021-03-17T04:26:13.038Z] Cloning the remote Git repository [2021-03-17T04:26:13.100Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-17T04:26:13.215Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-03-17T04:26:13.300Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-17T04:26:13.301Z] > git --version # timeout=10 [2021-03-17T04:26:13.322Z] > git --version # 'git version 2.17.1' [2021-03-17T04:26:13.324Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-17T04:26:13.398Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-17T04:26:14.614Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-17T04:26:14.638Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-17T04:26:14.672Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-17T04:26:14.718Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-17T04:26:14.718Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-17T04:26:14.731Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/820/head:refs/remotes/origin/PR-820 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-17T04:26:15.353Z] Merging remotes/origin/master commit 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit cd03f89f32e170180e11f7880e36063cf87ff138 [2021-03-17T04:26:15.602Z] Merge succeeded, producing cd03f89f32e170180e11f7880e36063cf87ff138 [2021-03-17T04:26:15.602Z] Checking out Revision cd03f89f32e170180e11f7880e36063cf87ff138 (PR-820) [2021-03-17T04:26:15.372Z] > git config core.sparsecheckout # timeout=10 [2021-03-17T04:26:15.401Z] > git checkout -f cd03f89f32e170180e11f7880e36063cf87ff138 # timeout=10 [2021-03-17T04:26:15.502Z] > git remote # timeout=10 [2021-03-17T04:26:15.525Z] > git config --get remote.origin.url # timeout=10 [2021-03-17T04:26:15.547Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-17T04:26:15.559Z] > git merge 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 [2021-03-17T04:26:15.586Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-17T04:26:15.606Z] > git config core.sparsecheckout # timeout=10 [2021-03-17T04:26:15.634Z] > git checkout -f cd03f89f32e170180e11f7880e36063cf87ff138 # timeout=10 [2021-03-17T04:26:20.062Z] Commit message: "refactor: remove v1 code and unused constants" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-17T04:26:21.779Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-17T04:26:22.230Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-17T04:26:22.577Z] + sudo+ service docker restart [2021-03-17T04:26:22.577Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-17T04:26:25.308Z] provisioning config files... [2021-03-17T04:26:25.394Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config2864590533016386141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-17T04:26:25.840Z] ---> docker-login.sh [2021-03-17T04:26:25.840Z] nexus3.edgexfoundry.org:10001 [2021-03-17T04:26:26.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:26:27.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:26:27.111Z] Configure a credential helper to remove this warning. See [2021-03-17T04:26:27.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:26:27.112Z] [2021-03-17T04:26:27.112Z] Login Succeeded [2021-03-17T04:26:27.112Z] nexus3.edgexfoundry.org:10002 [2021-03-17T04:26:27.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:26:27.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:26:27.386Z] Configure a credential helper to remove this warning. See [2021-03-17T04:26:27.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:26:27.386Z] [2021-03-17T04:26:27.386Z] Login Succeeded [2021-03-17T04:26:27.386Z] nexus3.edgexfoundry.org:10003 [2021-03-17T04:26:27.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:26:27.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:26:27.982Z] Configure a credential helper to remove this warning. See [2021-03-17T04:26:27.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:26:27.982Z] [2021-03-17T04:26:27.982Z] Login Succeeded [2021-03-17T04:26:27.982Z] nexus3.edgexfoundry.org:10004 [2021-03-17T04:26:28.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:26:28.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:26:28.540Z] Configure a credential helper to remove this warning. See [2021-03-17T04:26:28.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:26:28.540Z] [2021-03-17T04:26:28.540Z] Login Succeeded [2021-03-17T04:26:28.540Z] docker.io [2021-03-17T04:26:28.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:26:29.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:26:29.084Z] Configure a credential helper to remove this warning. See [2021-03-17T04:26:29.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:26:29.084Z] [2021-03-17T04:26:29.084Z] Login Succeeded [2021-03-17T04:26:29.084Z] ---> docker-login.sh ends [Pipeline] } [2021-03-17T04:26:29.102Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-17T04:26:29.567Z] ========================================================= [2021-03-17T04:26:29.567Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-17T04:26:29.567Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-17T04:26:30.042Z] + 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-17T04:26:30.664Z] Sending build context to Docker daemon 2.362MB [2021-03-17T04:26:30.664Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-17T04:26:30.664Z] Step 2/8 : FROM ${BASE} [2021-03-17T04:26:30.664Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-17T04:26:30.664Z] 5f621e34cdf4: Pulling fs layer [2021-03-17T04:26:30.664Z] a4357932f1b6: Pulling fs layer [2021-03-17T04:26:30.664Z] 18c013af1878: Pulling fs layer [2021-03-17T04:26:30.664Z] 00ac8860ef70: Pulling fs layer [2021-03-17T04:26:30.664Z] 63d7cb157983: Pulling fs layer [2021-03-17T04:26:30.664Z] b116817d02f9: Pulling fs layer [2021-03-17T04:26:30.664Z] 745a02a5169b: Pulling fs layer [2021-03-17T04:26:30.664Z] 63d7cb157983: Waiting [2021-03-17T04:26:30.664Z] 745a02a5169b: Waiting [2021-03-17T04:26:30.664Z] 00ac8860ef70: Waiting [2021-03-17T04:26:30.664Z] 18c013af1878: Verifying Checksum [2021-03-17T04:26:30.664Z] 18c013af1878: Download complete [2021-03-17T04:26:30.664Z] a4357932f1b6: Verifying Checksum [2021-03-17T04:26:30.664Z] a4357932f1b6: Download complete [2021-03-17T04:26:30.664Z] 63d7cb157983: Verifying Checksum [2021-03-17T04:26:30.664Z] 63d7cb157983: Download complete [2021-03-17T04:26:30.664Z] b116817d02f9: Download complete [2021-03-17T04:26:30.664Z] 5f621e34cdf4: Download complete [2021-03-17T04:26:31.651Z] 5f621e34cdf4: Pull complete [2021-03-17T04:26:31.932Z] a4357932f1b6: Pull complete [2021-03-17T04:26:32.546Z] 18c013af1878: Pull complete [2021-03-17T04:26:33.534Z] 745a02a5169b: Download complete [2021-03-17T04:26:34.510Z] 00ac8860ef70: Download complete [2021-03-17T04:26:44.663Z] 00ac8860ef70: Pull complete [2021-03-17T04:26:44.663Z] 63d7cb157983: Pull complete [2021-03-17T04:26:44.663Z] b116817d02f9: Pull complete [2021-03-17T04:26:49.005Z] 745a02a5169b: Pull complete [2021-03-17T04:26:49.005Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-17T04:26:49.005Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-17T04:26:49.005Z] ---> b7e6874047d6 [2021-03-17T04:26:49.005Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-17T04:26:51.634Z] ---> Running in 048ca172d7da [2021-03-17T04:26:51.912Z] Removing intermediate container 048ca172d7da [2021-03-17T04:26:51.912Z] ---> fbbfa068b488 [2021-03-17T04:26:51.912Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-17T04:26:51.912Z] ---> Running in 442933ba531c [2021-03-17T04:26:54.557Z] Removing intermediate container 442933ba531c [2021-03-17T04:26:54.557Z] ---> 261359edc199 [2021-03-17T04:26:54.557Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-17T04:26:54.557Z] ---> Running in b17742de3c42 [2021-03-17T04:26:55.537Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-17T04:26:56.140Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-17T04:26:56.371Z] Running on prd-centos7-docker-4c-2g-30120 in /w/workspace/dgexfoundry_device-sdk-go_PR-820 [Pipeline] { [Pipeline] ws [2021-03-17T04:26:56.435Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-03-17T04:26:56.747Z] OK: 142 MiB in 39 packages [2021-03-17T04:26:58.183Z] Removing intermediate container b17742de3c42 [2021-03-17T04:26:58.183Z] ---> 3e2b6f9ccc41 [2021-03-17T04:26:58.183Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-17T04:26:58.183Z] ---> Running in 29646cb208d6 [2021-03-17T04:26:58.786Z] Removing intermediate container 29646cb208d6 [2021-03-17T04:26:58.786Z] ---> be17d03e23a7 [2021-03-17T04:26:58.786Z] Step 7/8 : COPY . . [2021-03-17T04:26:58.869Z] using credential edgex-jenkins-ssh [2021-03-17T04:26:58.926Z] Cloning the remote Git repository [2021-03-17T04:26:58.953Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-17T04:26:59.784Z] ---> b90c7ef1db59 [2021-03-17T04:26:59.784Z] Step 8/8 : RUN go mod download [2021-03-17T04:27:00.057Z] ---> Running in cecd489f13aa [2021-03-17T04:26:59.021Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-03-17T04:26:59.084Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-17T04:26:59.084Z] > git --version # timeout=10 [2021-03-17T04:26:59.096Z] > git --version # 'git version 2.24.3' [2021-03-17T04:26:59.096Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-17T04:26:59.124Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-17T04:26:59.835Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-17T04:26:59.842Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-17T04:26:59.853Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-17T04:26:59.867Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-17T04:26:59.867Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-17T04:26:59.872Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/820/head:refs/remotes/origin/PR-820 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-17T04:27:00.304Z] Merging remotes/origin/master commit 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit cd03f89f32e170180e11f7880e36063cf87ff138 [2021-03-17T04:27:00.397Z] Merge succeeded, producing cd03f89f32e170180e11f7880e36063cf87ff138 [2021-03-17T04:27:00.398Z] Checking out Revision cd03f89f32e170180e11f7880e36063cf87ff138 (PR-820) [2021-03-17T04:27:00.311Z] > git config core.sparsecheckout # timeout=10 [2021-03-17T04:27:00.318Z] > git checkout -f cd03f89f32e170180e11f7880e36063cf87ff138 # timeout=10 [2021-03-17T04:27:00.362Z] > git remote # timeout=10 [2021-03-17T04:27:00.368Z] > git config --get remote.origin.url # timeout=10 [2021-03-17T04:27:00.373Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-17T04:27:00.377Z] > git merge 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 [2021-03-17T04:27:00.389Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-17T04:27:00.400Z] > git config core.sparsecheckout # timeout=10 [2021-03-17T04:27:00.405Z] > git checkout -f cd03f89f32e170180e11f7880e36063cf87ff138 # timeout=10 [2021-03-17T04:27:04.054Z] Commit message: "refactor: remove v1 code and unused constants" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-17T04:27:05.333Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-17T04:27:05.663Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-17T04:27:05.964Z] + sudo service docker restart [2021-03-17T04:27:05.964Z] + true [2021-03-17T04:27:05.964Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-17T04:27:07.429Z] provisioning config files... [2021-03-17T04:27:07.456Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config4697993944901836320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-17T04:27:07.823Z] ---> docker-login.sh [2021-03-17T04:27:07.823Z] nexus3.edgexfoundry.org:10001 [2021-03-17T04:27:08.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:27:08.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:27:08.353Z] Configure a credential helper to remove this warning. See [2021-03-17T04:27:08.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:27:08.353Z] [2021-03-17T04:27:08.353Z] Login Succeeded [2021-03-17T04:27:08.353Z] nexus3.edgexfoundry.org:10002 [2021-03-17T04:27:08.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:27:08.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:27:08.353Z] Configure a credential helper to remove this warning. See [2021-03-17T04:27:08.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:27:08.353Z] [2021-03-17T04:27:08.353Z] Login Succeeded [2021-03-17T04:27:08.353Z] nexus3.edgexfoundry.org:10003 [2021-03-17T04:27:08.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:27:08.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:27:08.617Z] Configure a credential helper to remove this warning. See [2021-03-17T04:27:08.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:27:08.617Z] [2021-03-17T04:27:08.617Z] Login Succeeded [2021-03-17T04:27:08.617Z] nexus3.edgexfoundry.org:10004 [2021-03-17T04:27:08.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:27:08.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:27:08.879Z] Configure a credential helper to remove this warning. See [2021-03-17T04:27:08.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:27:08.879Z] [2021-03-17T04:27:08.879Z] Login Succeeded [2021-03-17T04:27:08.879Z] docker.io [2021-03-17T04:27:08.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:27:09.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:27:09.143Z] Configure a credential helper to remove this warning. See [2021-03-17T04:27:09.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:27:09.143Z] [2021-03-17T04:27:09.143Z] Login Succeeded [2021-03-17T04:27:09.143Z] ---> docker-login.sh ends [Pipeline] } [2021-03-17T04:27:09.154Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-17T04:27:09.538Z] ========================================================= [2021-03-17T04:27:09.538Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-17T04:27:09.538Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-17T04:27:09.892Z] + 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-17T04:27:10.182Z] Sending build context to Docker daemon 2.363MB [2021-03-17T04:27:10.182Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-17T04:27:10.182Z] Step 2/8 : FROM ${BASE} [2021-03-17T04:27:10.182Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-17T04:27:10.182Z] 188c0c94c7c5: Pulling fs layer [2021-03-17T04:27:10.182Z] 0ef7d3d256c8: Pulling fs layer [2021-03-17T04:27:10.182Z] de9db76c5a1d: Pulling fs layer [2021-03-17T04:27:10.182Z] bca2f99d35d6: Pulling fs layer [2021-03-17T04:27:10.182Z] 93359f2a8cfa: Pulling fs layer [2021-03-17T04:27:10.182Z] 7c6f9722023f: Pulling fs layer [2021-03-17T04:27:10.182Z] a35cf1a2eb13: Pulling fs layer [2021-03-17T04:27:10.182Z] 93359f2a8cfa: Waiting [2021-03-17T04:27:10.182Z] 7c6f9722023f: Waiting [2021-03-17T04:27:10.182Z] a35cf1a2eb13: Waiting [2021-03-17T04:27:10.182Z] bca2f99d35d6: Waiting [2021-03-17T04:27:10.182Z] de9db76c5a1d: Verifying Checksum [2021-03-17T04:27:10.182Z] de9db76c5a1d: Download complete [2021-03-17T04:27:10.182Z] 0ef7d3d256c8: Verifying Checksum [2021-03-17T04:27:10.182Z] 0ef7d3d256c8: Download complete [2021-03-17T04:27:10.182Z] 93359f2a8cfa: Verifying Checksum [2021-03-17T04:27:10.182Z] 93359f2a8cfa: Download complete [2021-03-17T04:27:10.182Z] 188c0c94c7c5: Verifying Checksum [2021-03-17T04:27:10.182Z] 7c6f9722023f: Verifying Checksum [2021-03-17T04:27:10.182Z] 7c6f9722023f: Download complete [2021-03-17T04:27:10.467Z] 188c0c94c7c5: Pull complete [2021-03-17T04:27:10.731Z] 0ef7d3d256c8: Pull complete [2021-03-17T04:27:10.731Z] de9db76c5a1d: Pull complete [2021-03-17T04:27:12.678Z] a35cf1a2eb13: Verifying Checksum [2021-03-17T04:27:12.678Z] a35cf1a2eb13: Download complete [2021-03-17T04:27:12.678Z] bca2f99d35d6: Verifying Checksum [2021-03-17T04:27:12.678Z] bca2f99d35d6: Download complete [2021-03-17T04:27:18.013Z] bca2f99d35d6: Pull complete [2021-03-17T04:27:18.013Z] 93359f2a8cfa: Pull complete [2021-03-17T04:27:18.307Z] 7c6f9722023f: Pull complete [2021-03-17T04:27:26.498Z] a35cf1a2eb13: Pull complete [2021-03-17T04:27:26.498Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-17T04:27:26.498Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-17T04:27:26.498Z] ---> a62c8e92a672 [2021-03-17T04:27:26.498Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-17T04:27:26.498Z] ---> Running in a12cbfef61ef [2021-03-17T04:27:26.498Z] Removing intermediate container a12cbfef61ef [2021-03-17T04:27:26.498Z] ---> f794266b1036 [2021-03-17T04:27:26.498Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-17T04:27:26.498Z] ---> Running in 338143afa749 [2021-03-17T04:27:26.861Z] Removing intermediate container cecd489f13aa [2021-03-17T04:27:26.861Z] ---> 6d40f679cbf8 [2021-03-17T04:27:26.861Z] Successfully built 6d40f679cbf8 [2021-03-17T04:27:26.861Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-17T04:27:27.081Z] Removing intermediate container 338143afa749 [2021-03-17T04:27:27.082Z] ---> 534eb4aba095 [2021-03-17T04:27:27.082Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-17T04:27:27.082Z] ---> Running in 4482ba2d8a16 [2021-03-17T04:27:27.204Z] + docker inspect -f . ci-base-image-arm64 [2021-03-17T04:27:27.204Z] . [Pipeline] withDockerContainer [2021-03-17T04:27:27.435Z] prd-ubuntu18.04-docker-arm64-4c-16g-30119 does not seem to be running inside a container [2021-03-17T04:27:27.531Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-17T04:27:28.042Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-17T04:27:28.621Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-17T04:27:29.202Z] OK: 166 MiB in 39 packages [2021-03-17T04:27:29.227Z] $ docker top dcbc3afc0496c9fc98d4fd4af413d4a3c8bdbd75decb1d7015791fee6642933e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-17T04:27:29.779Z] Removing intermediate container 4482ba2d8a16 [2021-03-17T04:27:29.779Z] ---> cd43c246b74f [2021-03-17T04:27:29.779Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-17T04:27:29.779Z] ---> Running in e5d8e59deac5 [2021-03-17T04:27:29.779Z] Removing intermediate container e5d8e59deac5 [2021-03-17T04:27:29.779Z] ---> faf3bd5a070c [2021-03-17T04:27:29.779Z] Step 7/8 : COPY . . [2021-03-17T04:27:30.206Z] + go version [2021-03-17T04:27:30.206Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-17T04:27:30.238Z] $ docker stop --time=1 dcbc3afc0496c9fc98d4fd4af413d4a3c8bdbd75decb1d7015791fee6642933e [2021-03-17T04:27:31.175Z] ---> 339b72615dd3 [2021-03-17T04:27:31.175Z] Step 8/8 : RUN go mod download [2021-03-17T04:27:31.175Z] ---> Running in 3c6557e2c323 [2021-03-17T04:27:32.260Z] $ docker rm -f dcbc3afc0496c9fc98d4fd4af413d4a3c8bdbd75decb1d7015791fee6642933e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-17T04:27:33.271Z] + docker inspect -f . ci-base-image-arm64 [2021-03-17T04:27:33.271Z] . [Pipeline] withDockerContainer [2021-03-17T04:27:33.533Z] prd-ubuntu18.04-docker-arm64-4c-16g-30119 does not seem to be running inside a container [2021-03-17T04:27:33.623Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-17T04:27:35.189Z] $ docker top e074efdafe82e531a0ee6736838e96da567ff016bbff302fa0c02e0b183a7fe5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-17T04:27:36.217Z] + make test [2021-03-17T04:27:36.217Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-17T04:27:53.225Z] Removing intermediate container 3c6557e2c323 [2021-03-17T04:27:53.225Z] ---> d323f45d3b68 [2021-03-17T04:27:53.225Z] Successfully built d323f45d3b68 [2021-03-17T04:27:53.225Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-17T04:27:53.549Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-17T04:27:53.549Z] . [Pipeline] withDockerContainer [2021-03-17T04:27:53.816Z] prd-centos7-docker-4c-2g-30120 does not seem to be running inside a container [2021-03-17T04:27:53.902Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-17T04:27:54.716Z] $ docker top 667f6e2bbea93775d6c88974432aea74d6c27c978c1e124749c89cbb10b8cefe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-17T04:27:55.680Z] + go version [2021-03-17T04:27:55.680Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-17T04:27:55.698Z] $ docker stop --time=1 667f6e2bbea93775d6c88974432aea74d6c27c978c1e124749c89cbb10b8cefe [2021-03-17T04:27:57.245Z] $ docker rm -f 667f6e2bbea93775d6c88974432aea74d6c27c978c1e124749c89cbb10b8cefe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-17T04:27:58.094Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-17T04:27:58.094Z] . [Pipeline] withDockerContainer [2021-03-17T04:27:58.198Z] prd-centos7-docker-4c-2g-30120 does not seem to be running inside a container [2021-03-17T04:27:58.246Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-17T04:27:58.417Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-17T04:27:58.945Z] $ docker top d130a897d822cc81282cbfd81655b2aa720e0b67d9d2a81abbed95d663e679d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-17T04:27:59.449Z] + make test [2021-03-17T04:27:59.449Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-17T04:28:07.687Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-17T04:28:22.781Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-17T04:28:22.781Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-17T04:28:22.781Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-17T04:28:22.781Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-17T04:28:24.210Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 25.5% of statements [2021-03-17T04:28:24.210Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.079s coverage: 81.2% of statements [2021-03-17T04:28:37.536Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-17T04:28:37.536Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-17T04:28:37.536Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-17T04:28:37.536Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-17T04:28:43.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.120s coverage: 25.5% of statements [2021-03-17T04:28:43.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.146s coverage: 81.2% of statements [2021-03-17T04:28:56.444Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.048s coverage: 10.5% of statements [2021-03-17T04:28:56.444Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-17T04:28:56.444Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-17T04:28:56.444Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.114s coverage: 32.5% of statements [2021-03-17T04:28:56.444Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-17T04:28:56.444Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-17T04:28:56.444Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-17T04:28:56.444Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.090s coverage: 57.3% of statements [2021-03-17T04:28:56.444Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.208s coverage: 6.6% of statements [2021-03-17T04:28:56.444Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 5.1% of statements [2021-03-17T04:28:56.444Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-17T04:28:56.444Z] GO111MODULE=on go vet ./... [2021-03-17T04:29:03.111Z] gofmt -l . [2021-03-17T04:29:03.111Z] [ "`gofmt -l .`" = "" ] [2021-03-17T04:29:03.111Z] ./bin/test-attribution-txt.sh [2021-03-17T04:29:03.373Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-17T04:29:03.657Z] $ docker stop --time=1 d130a897d822cc81282cbfd81655b2aa720e0b67d9d2a81abbed95d663e679d6 [2021-03-17T04:29:05.534Z] $ docker rm -f d130a897d822cc81282cbfd81655b2aa720e0b67d9d2a81abbed95d663e679d6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-17T04:29:06.340Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-17T04:29:06.753Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-17T04:29:11.238Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-17T04:29:11.538Z] + ls -al . [2021-03-17T04:29:11.539Z] total 184 [2021-03-17T04:29:11.539Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 17 04:29 . [2021-03-17T04:29:11.539Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 17 04:26 .. [2021-03-17T04:29:11.539Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 17 04:27 bin [2021-03-17T04:29:11.539Z] -rw-r--r--. 1 jenkins jenkins 100014 Mar 17 04:28 coverage.out [2021-03-17T04:29:11.539Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 17 04:27 Dockerfile.build [2021-03-17T04:29:11.539Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 17 04:27 .dockerignore [2021-03-17T04:29:11.539Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 17 04:27 example [2021-03-17T04:29:11.539Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 17 04:27 .git [2021-03-17T04:29:11.539Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 17 04:27 .github [2021-03-17T04:29:11.539Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 17 04:27 .gitignore [2021-03-17T04:29:11.539Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 17 04:29 go.mod [2021-03-17T04:29:11.539Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 17 04:29 go.sum [2021-03-17T04:29:11.539Z] drwxrwxr-x. 13 jenkins jenkins 193 Mar 17 04:27 internal [2021-03-17T04:29:11.539Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 17 04:27 Jenkinsfile [2021-03-17T04:29:11.539Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 17 04:27 LICENSE [2021-03-17T04:29:11.539Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 17 04:27 Makefile [2021-03-17T04:29:11.539Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 17 04:27 openapi [2021-03-17T04:29:11.539Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 17 04:27 pkg [2021-03-17T04:29:11.539Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 17 04:27 README.md [2021-03-17T04:29:11.539Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 17 04:27 RELEASE-NOTES.txt [2021-03-17T04:29:11.539Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 17 04:27 snap [2021-03-17T04:29:11.539Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 17 04:24 VERSION [2021-03-17T04:29:11.539Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 17 04:27 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-17T04:29:11.855Z] + 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=cd03f89f32e170180e11f7880e36063cf87ff138 --label arch=amd64 --label version=0.0.0 . [2021-03-17T04:29:12.121Z] Sending build context to Docker daemon 2.464MB [2021-03-17T04:29:12.121Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-17T04:29:12.121Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-17T04:29:12.121Z] ---> d323f45d3b68 [2021-03-17T04:29:12.121Z] Step 3/24 : ARG MAKE='make build' [2021-03-17T04:29:12.699Z] ---> Running in 7ef80347e337 [2021-03-17T04:29:12.699Z] Removing intermediate container 7ef80347e337 [2021-03-17T04:29:12.699Z] ---> 8601abc84b1c [2021-03-17T04:29:12.699Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-17T04:29:12.961Z] ---> Running in 371c41cb3ca8 [2021-03-17T04:29:12.961Z] Removing intermediate container 371c41cb3ca8 [2021-03-17T04:29:12.961Z] ---> 666f3128333e [2021-03-17T04:29:12.961Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-17T04:29:13.223Z] ---> Running in 837a6a171338 [2021-03-17T04:29:13.223Z] Removing intermediate container 837a6a171338 [2021-03-17T04:29:13.223Z] ---> f513748dd0bd [2021-03-17T04:29:13.223Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-17T04:29:13.486Z] ---> Running in f8fd18a3d9ea [2021-03-17T04:29:14.061Z] Removing intermediate container f8fd18a3d9ea [2021-03-17T04:29:14.061Z] ---> 9ce860a393f5 [2021-03-17T04:29:14.061Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-17T04:29:14.324Z] ---> Running in 24185c2a7081 [2021-03-17T04:29:14.587Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-17T04:29:15.158Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-17T04:29:15.384Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.152s coverage: 10.5% of statements [2021-03-17T04:29:15.384Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-17T04:29:15.384Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-17T04:29:15.384Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.204s coverage: 32.5% of statements [2021-03-17T04:29:15.384Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-17T04:29:15.384Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-17T04:29:15.384Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-17T04:29:15.384Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.256s coverage: 57.3% of statements [2021-03-17T04:29:15.384Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.878s coverage: 6.6% of statements [2021-03-17T04:29:15.384Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 5.1% of statements [2021-03-17T04:29:15.384Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-17T04:29:15.384Z] GO111MODULE=on go vet ./... [2021-03-17T04:29:15.743Z] OK: 166 MiB in 39 packages [2021-03-17T04:29:16.004Z] Removing intermediate container 24185c2a7081 [2021-03-17T04:29:16.004Z] ---> 9cbd18805616 [2021-03-17T04:29:16.004Z] Step 8/24 : COPY . . [2021-03-17T04:29:17.430Z] ---> 14db783ae0b7 [2021-03-17T04:29:17.430Z] Step 9/24 : RUN ${MAKE} [2021-03-17T04:29:17.430Z] ---> Running in 522ea63c3c80 [2021-03-17T04:29:17.710Z] 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-17T04:29:26.048Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-17T04:29:28.623Z] Removing intermediate container 522ea63c3c80 [2021-03-17T04:29:28.623Z] ---> ab3b6aaee7fd [2021-03-17T04:29:28.623Z] Step 10/24 : FROM scratch [2021-03-17T04:29:28.623Z] ---> [2021-03-17T04:29:28.623Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-17T04:29:28.623Z] ---> Running in a04c7ea9a75f [2021-03-17T04:29:28.885Z] Removing intermediate container a04c7ea9a75f [2021-03-17T04:29:28.885Z] ---> d6093f342875 [2021-03-17T04:29:28.885Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-17T04:29:28.885Z] ---> Running in 2e88bf150947 [2021-03-17T04:29:29.147Z] Removing intermediate container 2e88bf150947 [2021-03-17T04:29:29.147Z] ---> 1ee1bcc9b7ee [2021-03-17T04:29:29.147Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-17T04:29:29.147Z] ---> Running in 48c94b9ec030 [2021-03-17T04:29:29.410Z] Removing intermediate container 48c94b9ec030 [2021-03-17T04:29:29.410Z] ---> 95a2230b1b5e [2021-03-17T04:29:29.410Z] Step 14/24 : WORKDIR / [2021-03-17T04:29:29.410Z] ---> Running in ca40ecb9b1cd [2021-03-17T04:29:29.410Z] Removing intermediate container ca40ecb9b1cd [2021-03-17T04:29:29.410Z] ---> e48e0aad748d [2021-03-17T04:29:29.410Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-17T04:29:29.992Z] ---> 672934b9671c [2021-03-17T04:29:29.992Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-17T04:29:30.256Z] ---> fadf2ca5ad98 [2021-03-17T04:29:30.256Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-17T04:29:30.519Z] ---> 0bc1c5146cf0 [2021-03-17T04:29:30.519Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-17T04:29:30.519Z] ---> 771b2cb30096 [2021-03-17T04:29:30.519Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-17T04:29:31.095Z] ---> e61522ff8a6e [2021-03-17T04:29:31.095Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-17T04:29:31.095Z] ---> Running in 6357336b1712 [2021-03-17T04:29:31.095Z] Removing intermediate container 6357336b1712 [2021-03-17T04:29:31.095Z] ---> 0374f001f767 [2021-03-17T04:29:31.095Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-17T04:29:31.359Z] ---> Running in c43e68288448 [2021-03-17T04:29:31.623Z] Removing intermediate container c43e68288448 [2021-03-17T04:29:31.623Z] ---> e8e6ef7c398c [2021-03-17T04:29:31.623Z] Step 22/24 : LABEL arch=amd64 [2021-03-17T04:29:32.199Z] ---> Running in 166434323cc7 [2021-03-17T04:29:32.199Z] Removing intermediate container 166434323cc7 [2021-03-17T04:29:32.199Z] ---> 007dea068da7 [2021-03-17T04:29:32.199Z] Step 23/24 : LABEL git_sha=cd03f89f32e170180e11f7880e36063cf87ff138 [2021-03-17T04:29:32.199Z] ---> Running in f9e5a003d340 [2021-03-17T04:29:32.461Z] Removing intermediate container f9e5a003d340 [2021-03-17T04:29:32.461Z] ---> 31ada09d6d78 [2021-03-17T04:29:32.461Z] Step 24/24 : LABEL version=0.0.0 [2021-03-17T04:29:32.724Z] ---> Running in 6624e2178b10 [2021-03-17T04:29:32.987Z] Removing intermediate container 6624e2178b10 [2021-03-17T04:29:32.987Z] ---> 8a4b3fb9301e [2021-03-17T04:29:32.987Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-17T04:29:32.987Z] Successfully built 8a4b3fb9301e [2021-03-17T04:29:32.987Z] 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-17T04:29:34.239Z] ---> job-cost.sh [2021-03-17T04:29:34.239Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-NwHt [2021-03-17T04:29:47.823Z] gofmt -l . [2021-03-17T04:29:47.823Z] [ "`gofmt -l .`" = "" ] [2021-03-17T04:29:47.823Z] ./bin/test-attribution-txt.sh [2021-03-17T04:29:47.823Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-17T04:29:47.877Z] $ docker stop --time=1 e074efdafe82e531a0ee6736838e96da567ff016bbff302fa0c02e0b183a7fe5 [2021-03-17T04:29:49.229Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-17T04:29:50.228Z] $ docker rm -f e074efdafe82e531a0ee6736838e96da567ff016bbff302fa0c02e0b183a7fe5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-17T04:29:51.377Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-17T04:29:51.446Z] Warning: overwriting stash ‘coverage-report’ [2021-03-17T04:29:52.523Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-17T04:29:53.441Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-17T04:29:53.806Z] + ls -al . [2021-03-17T04:29:53.806Z] total 220 [2021-03-17T04:29:53.806Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 04:29 . [2021-03-17T04:29:53.806Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:26 .. [2021-03-17T04:29:53.806Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 04:26 .dockerignore [2021-03-17T04:29:53.806Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 04:26 .git [2021-03-17T04:29:53.806Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 04:26 .github [2021-03-17T04:29:53.806Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 17 04:26 .gitignore [2021-03-17T04:29:53.806Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 17 04:26 Dockerfile.build [2021-03-17T04:29:53.806Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 17 04:26 Jenkinsfile [2021-03-17T04:29:53.806Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 04:26 LICENSE [2021-03-17T04:29:53.806Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 17 04:26 Makefile [2021-03-17T04:29:53.806Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 17 04:26 README.md [2021-03-17T04:29:53.806Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 17 04:26 RELEASE-NOTES.txt [2021-03-17T04:29:53.806Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 04:24 VERSION [2021-03-17T04:29:53.806Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 04:26 bin [2021-03-17T04:29:53.806Z] -rw-r--r-- 1 jenkins jenkins 100014 Mar 17 04:29 coverage.out [2021-03-17T04:29:53.806Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:26 example [2021-03-17T04:29:53.806Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 17 04:29 go.mod [2021-03-17T04:29:53.806Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 17 04:29 go.sum [2021-03-17T04:29:53.806Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 17 04:26 internal [2021-03-17T04:29:53.806Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:26 openapi [2021-03-17T04:29:53.806Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 04:26 pkg [2021-03-17T04:29:53.806Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:26 snap [2021-03-17T04:29:53.806Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 04:26 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-17T04:29:54.186Z] + 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=cd03f89f32e170180e11f7880e36063cf87ff138 --label arch=arm64 --label version=0.0.0 . [2021-03-17T04:29:54.856Z] Sending build context to Docker daemon 2.463MB [2021-03-17T04:29:54.856Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-17T04:29:54.856Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-17T04:29:54.856Z] ---> 6d40f679cbf8 [2021-03-17T04:29:54.856Z] Step 3/24 : ARG MAKE='make build' [2021-03-17T04:29:55.128Z] ---> Running in 0d97d922012e [2021-03-17T04:29:55.401Z] Removing intermediate container 0d97d922012e [2021-03-17T04:29:55.401Z] ---> 1ec4a4edfe13 [2021-03-17T04:29:55.401Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-17T04:29:55.675Z] ---> Running in 4c0a5a7b9693 [2021-03-17T04:29:56.274Z] Removing intermediate container 4c0a5a7b9693 [2021-03-17T04:29:56.274Z] ---> b8127606dc94 [2021-03-17T04:29:56.274Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-17T04:29:56.274Z] ---> Running in 576e2322b7ae [2021-03-17T04:29:56.550Z] Removing intermediate container 576e2322b7ae [2021-03-17T04:29:56.550Z] ---> 449e8fc466aa [2021-03-17T04:29:56.550Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-17T04:29:56.824Z] ---> Running in f1a26b15a2fb [2021-03-17T04:29:58.805Z] Removing intermediate container f1a26b15a2fb [2021-03-17T04:29:58.805Z] ---> 8b1a34fad49b [2021-03-17T04:29:58.805Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-17T04:29:58.805Z] ---> Running in 7964cbbcd921 [2021-03-17T04:29:59.780Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-17T04:30:00.754Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-17T04:30:01.359Z] OK: 142 MiB in 39 packages [2021-03-17T04:30:02.371Z] Removing intermediate container 7964cbbcd921 [2021-03-17T04:30:02.371Z] ---> c9a7d8479ea5 [2021-03-17T04:30:02.371Z] Step 8/24 : COPY . . [2021-03-17T04:30:03.809Z] ---> eb4286668ef9 [2021-03-17T04:30:03.809Z] Step 9/24 : RUN ${MAKE} [2021-03-17T04:30:03.809Z] ---> Running in 2fbae2a72e75 [2021-03-17T04:30:04.791Z] 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-17T04:30:15.922Z] lf-activate-venv(): INFO: Adding /tmp/venv-NwHt/bin to PATH [2021-03-17T04:30:15.922Z] INFO: No Stack... [2021-03-17T04:30:16.496Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-17T04:30:17.445Z] INFO: Archiving Costs [Pipeline] sh [2021-03-17T04:30:17.749Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2021-03-17T04:30:17.749Z] + cut -d, -f6 [Pipeline] lock [2021-03-17T04:30:17.833Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-820-5-stack-cost] [2021-03-17T04:30:17.850Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-820-5-stack-cost] did not exist. Created. [2021-03-17T04:30:17.850Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-820-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-17T04:30:18.254Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-17T04:30:18.402Z] Stashed 1 file(s) [Pipeline] } [2021-03-17T04:30:18.415Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-820-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-17T04:30:31.622Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-17T04:30:32.606Z] Removing intermediate container 2fbae2a72e75 [2021-03-17T04:30:32.606Z] ---> 5f6d645c303a [2021-03-17T04:30:32.606Z] Step 10/24 : FROM scratch [2021-03-17T04:30:32.606Z] ---> [2021-03-17T04:30:32.606Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-17T04:30:32.606Z] ---> Running in e735dd37f2fc [2021-03-17T04:30:33.202Z] Removing intermediate container e735dd37f2fc [2021-03-17T04:30:33.202Z] ---> 414be626cbff [2021-03-17T04:30:33.202Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-17T04:30:33.202Z] ---> Running in 96b5d0888c77 [2021-03-17T04:30:33.475Z] Removing intermediate container 96b5d0888c77 [2021-03-17T04:30:33.475Z] ---> 3ed4dc4de038 [2021-03-17T04:30:33.476Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-17T04:30:33.749Z] ---> Running in 583c2df2f611 [2021-03-17T04:30:34.024Z] Removing intermediate container 583c2df2f611 [2021-03-17T04:30:34.024Z] ---> c06aae0366a6 [2021-03-17T04:30:34.024Z] Step 14/24 : WORKDIR / [2021-03-17T04:30:34.296Z] ---> Running in fac22245c54d [2021-03-17T04:30:34.895Z] Removing intermediate container fac22245c54d [2021-03-17T04:30:34.895Z] ---> aa21bd3ca607 [2021-03-17T04:30:34.895Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-17T04:30:35.875Z] ---> 82ca585190c8 [2021-03-17T04:30:35.875Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-17T04:30:36.854Z] ---> 94e1bd98f186 [2021-03-17T04:30:36.854Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-17T04:30:37.449Z] ---> 651969dd232c [2021-03-17T04:30:37.449Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-17T04:30:38.046Z] ---> bdab6759182e [2021-03-17T04:30:38.046Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-17T04:30:39.033Z] ---> ecc233c04a0b [2021-03-17T04:30:39.033Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-17T04:30:39.033Z] ---> Running in feff38cc2b03 [2021-03-17T04:30:39.312Z] Removing intermediate container feff38cc2b03 [2021-03-17T04:30:39.312Z] ---> 7e99ed176c8f [2021-03-17T04:30:39.312Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-17T04:30:39.585Z] ---> Running in c3486484f080 [2021-03-17T04:30:40.180Z] Removing intermediate container c3486484f080 [2021-03-17T04:30:40.180Z] ---> abd27e6f83c7 [2021-03-17T04:30:40.180Z] Step 22/24 : LABEL arch=arm64 [2021-03-17T04:30:40.180Z] ---> Running in d7012f516f24 [2021-03-17T04:30:40.776Z] Removing intermediate container d7012f516f24 [2021-03-17T04:30:40.776Z] ---> 43f4b2b9c727 [2021-03-17T04:30:40.776Z] Step 23/24 : LABEL git_sha=cd03f89f32e170180e11f7880e36063cf87ff138 [2021-03-17T04:30:40.776Z] ---> Running in 5362936615b4 [2021-03-17T04:30:41.371Z] Removing intermediate container 5362936615b4 [2021-03-17T04:30:41.371Z] ---> 906e1201198f [2021-03-17T04:30:41.371Z] Step 24/24 : LABEL version=0.0.0 [2021-03-17T04:30:41.371Z] ---> Running in e86c652f42d5 [2021-03-17T04:30:41.965Z] Removing intermediate container e86c652f42d5 [2021-03-17T04:30:41.965Z] ---> f50e75b314fd [2021-03-17T04:30:41.965Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-17T04:30:41.965Z] Successfully built f50e75b314fd [2021-03-17T04:30:41.965Z] 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-17T04:30:44.297Z] ---> job-cost.sh [2021-03-17T04:30:44.297Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zlHd [2021-03-17T04:31:23.276Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-17T04:33:00.051Z] lf-activate-venv(): INFO: Adding /tmp/venv-zlHd/bin to PATH [2021-03-17T04:33:00.051Z] INFO: No Stack... [2021-03-17T04:33:00.051Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-17T04:33:00.051Z] INFO: Archiving Costs [Pipeline] sh [2021-03-17T04:33:00.420Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2021-03-17T04:33:00.420Z] + cut -d, -f6 [Pipeline] lock [2021-03-17T04:33:00.539Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-820-5-stack-cost] [2021-03-17T04:33:00.547Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-820-5-stack-cost] did not exist. Created. [2021-03-17T04:33:00.548Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-820-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-17T04:33:01.005Z] /w/workspace/device-sdk-go/5@tmp/durable-816d4915/script.sh: 1: /w/workspace/device-sdk-go/5@tmp/durable-816d4915/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-17T04:33:01.358Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-17T04:33:01.385Z] Warning: overwriting stash ‘stack-cost’ [2021-03-17T04:33:01.542Z] Stashed 1 file(s) [Pipeline] } [2021-03-17T04:33:01.554Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-820-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-17T04:33:03.158Z] provisioning config files... [2021-03-17T04:33:03.167Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/config6259589876393779685tmp [Pipeline] { [Pipeline] sh [2021-03-17T04:33:03.560Z] + set +x [2021-03-17T04:33:03.560Z] + curl -s https://codecov.io/bash [2021-03-17T04:33:03.560Z] + bash -s -- [2021-03-17T04:33:03.823Z] [2021-03-17T04:33:03.823Z] _____ _ [2021-03-17T04:33:03.823Z] / ____| | | [2021-03-17T04:33:03.823Z] | | ___ __| | ___ ___ _____ __ [2021-03-17T04:33:03.823Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-17T04:33:03.823Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-17T04:33:03.823Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-17T04:33:03.823Z] Bash-20210309-2b87ace [2021-03-17T04:33:03.823Z] [2021-03-17T04:33:03.823Z] [2021-03-17T04:33:03.823Z] ==> git version 2.24.3 found [2021-03-17T04:33:03.823Z] ==> 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-17T04:33:03.823Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-17T04:33:03.823Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-17T04:33:03.823Z] curl: option -sm: expected a proper numerical parameter [2021-03-17T04:33:03.823Z] curl: try 'curl --help' or 'curl --manual' for more information [2021-03-17T04:33:03.823Z] ==> Jenkins CI detected. [2021-03-17T04:33:03.823Z] project root: . [2021-03-17T04:33:03.823Z] --> token set from env [2021-03-17T04:33:03.823Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-17T04:33:03.823Z] ==> Running gcov in . (disable via -X gcov) [2021-03-17T04:33:03.823Z] ==> Python coveragepy not found [2021-03-17T04:33:03.823Z] ==> Searching for coverage reports in: [2021-03-17T04:33:03.823Z] + . [2021-03-17T04:33:03.823Z] -> Found 1 reports [2021-03-17T04:33:03.823Z] ==> Detecting git/mercurial file structure [2021-03-17T04:33:03.823Z] ==> Reading reports [2021-03-17T04:33:03.823Z] + ./coverage.out bytes=100014 [2021-03-17T04:33:03.823Z] ==> Appending adjustments [2021-03-17T04:33:03.823Z] https://docs.codecov.io/docs/fixing-reports [2021-03-17T04:33:04.088Z] + Found adjustments [2021-03-17T04:33:04.088Z] ==> Gzipping contents [2021-03-17T04:33:04.088Z] 16K /tmp/codecov.Mf0tgZ.gz [2021-03-17T04:33:04.088Z] ==> Uploading reports [2021-03-17T04:33:04.088Z] url: https://codecov.io [2021-03-17T04:33:04.088Z] query: branch=PR-820&commit=cd03f89f32e170180e11f7880e36063cf87ff138&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-820%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=820&job=&cmd_args= [2021-03-17T04:33:04.088Z] -> Pinging Codecov [2021-03-17T04:33:04.088Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-820&commit=cd03f89f32e170180e11f7880e36063cf87ff138&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-820%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=820&job=&cmd_args= [2021-03-17T04:33:04.661Z] -> Uploading to [2021-03-17T04:33:04.661Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-17/7E55EF52A471D76F132DFD9A03CDDE97/cd03f89f32e170180e11f7880e36063cf87ff138/a6709537-8125-4646-b600-05dabc45642e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210317T043304Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f6eff10fa643ccd1ab2bab06629cc530d46fcfd1ad61f091c8d84c86d1dad433 [2021-03-17T04:33:04.661Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-17T04:33:04.661Z] Dload Upload Total Spent Left Speed [2021-03-17T04:33:04.922Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13471 0 0 100 13471 0 32667 --:--:-- --:--:-- --:--:-- 32617 100 13471 0 0 100 13471 0 32656 --:--:-- --:--:-- --:--:-- 32617 [2021-03-17T04:33:04.922Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cd03f89f32e170180e11f7880e36063cf87ff138 [Pipeline] } [2021-03-17T04:33:04.934Z] 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-17T04:33:07.218Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T04:33:07.524Z] ---> package-listing.sh [2021-03-17T04:33:07.524Z] ++ facter osfamily [2021-03-17T04:33:07.524Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-17T04:33:07.524Z] + OS_FAMILY=redhat [2021-03-17T04:33:07.524Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-820 [2021-03-17T04:33:07.524Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-17T04:33:07.524Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-17T04:33:07.524Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-17T04:33:07.524Z] + PACKAGES=/tmp/packages_start.txt [2021-03-17T04:33:07.524Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-820 ']' [2021-03-17T04:33:07.524Z] + PACKAGES=/tmp/packages_end.txt [2021-03-17T04:33:07.524Z] + case "${OS_FAMILY}" in [2021-03-17T04:33:07.524Z] + rpm -qa [2021-03-17T04:33:07.524Z] + sort [2021-03-17T04:33:12.829Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-17T04:33:12.829Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-17T04:33:12.829Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-17T04:33:12.829Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-820 ']' [2021-03-17T04:33:12.829Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-820/archives/ [2021-03-17T04:33:12.829Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-820/archives/ [Pipeline] echo [2021-03-17T04:33:12.842Z] 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-820/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-17T04:33:13.132Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-17T04:33:13.434Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-17T04:33:13.434Z] [2021-03-17T04:33:13.434Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-17T04:33:13.785Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-17T04:33:13.785Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-17T04:33:13.785Z] df20fa9351a1: Pulling fs layer [2021-03-17T04:33:13.785Z] 36b3adc4ff6f: Pulling fs layer [2021-03-17T04:33:13.785Z] 8ad3a11d3b57: Pulling fs layer [2021-03-17T04:33:13.785Z] 46f8f816bc3b: Pulling fs layer [2021-03-17T04:33:13.785Z] 93b61091891f: Pulling fs layer [2021-03-17T04:33:13.785Z] 93b9cdb0e59b: Pulling fs layer [2021-03-17T04:33:13.785Z] 5e14af77c1be: Pulling fs layer [2021-03-17T04:33:13.785Z] 01666e4c0597: Pulling fs layer [2021-03-17T04:33:13.785Z] aa168da1d23b: Pulling fs layer [2021-03-17T04:33:13.785Z] 93b9cdb0e59b: Waiting [2021-03-17T04:33:13.785Z] 5e14af77c1be: Waiting [2021-03-17T04:33:13.785Z] 01666e4c0597: Waiting [2021-03-17T04:33:13.785Z] aa168da1d23b: Waiting [2021-03-17T04:33:13.785Z] 46f8f816bc3b: Waiting [2021-03-17T04:33:13.785Z] 93b61091891f: Waiting [2021-03-17T04:33:13.785Z] 36b3adc4ff6f: Verifying Checksum [2021-03-17T04:33:13.785Z] 36b3adc4ff6f: Download complete [2021-03-17T04:33:14.047Z] 46f8f816bc3b: Verifying Checksum [2021-03-17T04:33:14.047Z] 46f8f816bc3b: Download complete [2021-03-17T04:33:14.047Z] df20fa9351a1: Verifying Checksum [2021-03-17T04:33:14.047Z] df20fa9351a1: Download complete [2021-03-17T04:33:14.047Z] 93b9cdb0e59b: Verifying Checksum [2021-03-17T04:33:14.047Z] 93b9cdb0e59b: Download complete [2021-03-17T04:33:14.047Z] 93b61091891f: Verifying Checksum [2021-03-17T04:33:14.047Z] 93b61091891f: Download complete [2021-03-17T04:33:14.047Z] 5e14af77c1be: Verifying Checksum [2021-03-17T04:33:14.047Z] 5e14af77c1be: Download complete [2021-03-17T04:33:14.047Z] 01666e4c0597: Verifying Checksum [2021-03-17T04:33:14.047Z] 01666e4c0597: Download complete [2021-03-17T04:33:14.308Z] df20fa9351a1: Pull complete [2021-03-17T04:33:14.572Z] 36b3adc4ff6f: Pull complete [2021-03-17T04:33:14.840Z] 8ad3a11d3b57: Verifying Checksum [2021-03-17T04:33:14.840Z] 8ad3a11d3b57: Download complete [2021-03-17T04:33:15.801Z] 8ad3a11d3b57: Pull complete [2021-03-17T04:33:15.801Z] 46f8f816bc3b: Pull complete [2021-03-17T04:33:16.376Z] 93b61091891f: Pull complete [2021-03-17T04:33:16.641Z] aa168da1d23b: Verifying Checksum [2021-03-17T04:33:16.641Z] aa168da1d23b: Download complete [2021-03-17T04:33:16.641Z] 93b9cdb0e59b: Pull complete [2021-03-17T04:33:16.641Z] 5e14af77c1be: Pull complete [2021-03-17T04:33:16.903Z] 01666e4c0597: Pull complete [2021-03-17T04:33:23.538Z] aa168da1d23b: Pull complete [2021-03-17T04:33:23.538Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-17T04:33:23.538Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-17T04:33:23.538Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-17T04:33:23.668Z] prd-centos7-docker-4c-2g-30118 does not seem to be running inside a container [2021-03-17T04:33:23.718Z] $ 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-820/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-820 -v /w/workspace/dgexfoundry_device-sdk-go_PR-820:/w/workspace/dgexfoundry_device-sdk-go_PR-820:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-17T04:33:27.334Z] $ docker top e56caf22a13cfa2eb6ac5537948055f0a1da8f030a3a9463c01c9cf21438280c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-17T04:33:27.849Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-17T04:33:28.148Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-17T04:33:28.443Z] + ls /var/log/sa-host [2021-03-17T04:33:28.443Z] + sadf -c /var/log/sa-host/sa17 [2021-03-17T04:33:28.443Z] file_magic: OK [2021-03-17T04:33:28.443Z] HZ: Using current value: 100 [2021-03-17T04:33:28.443Z] file_header: OK [2021-03-17T04:33:28.443Z] 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-17T04:33:28.443Z] Statistics: [2021-03-17T04:33:28.443Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-17T04:33:28.443Z] File successfully converted to sysstat format version 12.2.1 [2021-03-17T04:33:28.443Z] + sadf -c /var/log/sa-host/sa23 [2021-03-17T04:33:28.443Z] file_magic: OK [2021-03-17T04:33:28.443Z] HZ: Using current value: 100 [2021-03-17T04:33:28.443Z] file_header: OK [2021-03-17T04:33:28.443Z] 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-17T04:33:28.443Z] Statistics: [2021-03-17T04:33:28.443Z] Hnuu...uuuununununu... [2021-03-17T04:33:28.443Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-17T04:33:28.659Z] provisioning config files... [2021-03-17T04:33:28.720Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/config29126806484448695tmp [Pipeline] { [Pipeline] echo [2021-03-17T04:33:28.816Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T04:33:29.113Z] ---> create-netrc.sh [Pipeline] } [2021-03-17T04:33:29.123Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-17T04:33:29.217Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T04:33:29.509Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-17T04:33:29.520Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T04:33:29.815Z] ---> sudo-logs.sh [2021-03-17T04:33:29.815Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-17T04:33:29.885Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T04:33:30.184Z] ---> job-cost.sh [2021-03-17T04:33:30.184Z] lf-activate-venv: SKIPPING [2021-03-17T04:33:30.184Z] DEBUG: total: 0.20999999344348907 [2021-03-17T04:33:30.184Z] INFO: Retrieving Stack Cost... [2021-03-17T04:33:31.128Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-17T04:33:31.702Z] INFO: Archiving Costs [Pipeline] echo [2021-03-17T04:33:31.715Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T04:33:32.011Z] ---> logs-deploy.sh [2021-03-17T04:33:32.011Z] lf-activate-venv: SKIPPING [2021-03-17T04:33:32.011Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-820/5 [2021-03-17T04:33:32.011Z] INFO: archiving workspace using pattern(s): [2021-03-17T04:33:33.925Z] Archives upload complete. [2021-03-17T04:33:33.925Z] INFO: archiving logs to Nexus