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 3a954dbae30259bfc5325554c625ed2efa43968b+79c51434d0b6ff974f0a74c9d16ec224deffdcc1 (3c3e73a0c61365bc54cb802a4e530c99d47923ec) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-30121 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 3a954dbae30259bfc5325554c625ed2efa43968b > 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 3a954dbae30259bfc5325554c625ed2efa43968b # timeout=10 Merge succeeded, producing 3a954dbae30259bfc5325554c625ed2efa43968b Checking out Revision 3a954dbae30259bfc5325554c625ed2efa43968b (PR-820) > 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 3a954dbae30259bfc5325554c625ed2efa43968b # timeout=10 Commit message: "refactor: remove v1 code and unused constants" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-17T04:34:00.659Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-17T04:34:00.956Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-17T04:34:01.053Z] ========================================================= [2021-03-17T04:34:01.053Z] EdgeX Global Pipelines Version Info [2021-03-17T04:34:01.053Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk cd03f89f32e170180e11f7880e36063cf87ff138 # timeout=10 [2021-03-17T04:34:04.624Z] ------------------- [2021-03-17T04:34:04.624Z] stable info: [2021-03-17T04:34:04.624Z] ------------------- [2021-03-17T04:34:04.624Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-17T04:34:04.624Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-17T04:34:04.624Z] Message: update stable to v1.0.184 [2021-03-17T04:34:06.327Z] ------------------- [2021-03-17T04:34:06.327Z] experimental info: [2021-03-17T04:34:06.327Z] ------------------- [2021-03-17T04:34:06.327Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-17T04:34:06.327Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-17T04:34:06.327Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-17T04:34:06.617Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-17T04:34:06.738Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-17T04:34:06.869Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-17T04:34:06.952Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-17T04:34:07.036Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-17T04:34:07.129Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-17T04:34:07.222Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-17T04:34:07.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-17T04:34:07.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-17T04:34:07.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-17T04:34:07.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-17T04:34:07.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-17T04:34:07.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-17T04:34:07.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-17T04:34:07.931Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-17T04:34:08.017Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-17T04:34:08.123Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-17T04:34:08.218Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-17T04:34:08.301Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-17T04:34:08.399Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-17T04:34:08.485Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-17T04:34:08.571Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-17T04:34:08.657Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-17T04:34:08.795Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-17T04:34:08.888Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-17T04:34:08.975Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-17T04:34:09.058Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-820 [Pipeline] echo [2021-03-17T04:34:09.143Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-820 [Pipeline] echo [2021-03-17T04:34:09.231Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-820 [Pipeline] echo [2021-03-17T04:34:09.337Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3a954dbae30259bfc5325554c625ed2efa43968b [Pipeline] echo [2021-03-17T04:34:09.423Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3a954db [Pipeline] echo [2021-03-17T04:34:09.510Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-17T04:34:09.676Z] provisioning config files... [2021-03-17T04:34:09.708Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/config6553068685127632119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-17T04:34:10.118Z] ---> docker-login.sh [2021-03-17T04:34:10.119Z] nexus3.edgexfoundry.org:10001 [2021-03-17T04:34:12.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:34:12.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:34:12.955Z] Configure a credential helper to remove this warning. See [2021-03-17T04:34:12.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:34:12.955Z] [2021-03-17T04:34:12.955Z] Login Succeeded [2021-03-17T04:34:12.955Z] nexus3.edgexfoundry.org:10002 [2021-03-17T04:34:13.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:34:13.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:34:13.976Z] Configure a credential helper to remove this warning. See [2021-03-17T04:34:13.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:34:13.976Z] [2021-03-17T04:34:13.976Z] Login Succeeded [2021-03-17T04:34:13.976Z] nexus3.edgexfoundry.org:10003 [2021-03-17T04:34:14.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:34:14.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:34:14.873Z] Configure a credential helper to remove this warning. See [2021-03-17T04:34:14.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:34:14.873Z] [2021-03-17T04:34:14.873Z] Login Succeeded [2021-03-17T04:34:14.873Z] nexus3.edgexfoundry.org:10004 [2021-03-17T04:34:15.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:34:15.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:34:15.428Z] Configure a credential helper to remove this warning. See [2021-03-17T04:34:15.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:34:15.428Z] [2021-03-17T04:34:15.428Z] Login Succeeded [2021-03-17T04:34:15.428Z] docker.io [2021-03-17T04:34:15.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:34:15.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:34:15.980Z] Configure a credential helper to remove this warning. See [2021-03-17T04:34:15.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:34:15.980Z] [2021-03-17T04:34:15.980Z] Login Succeeded [2021-03-17T04:34:15.980Z] ---> docker-login.sh ends [Pipeline] } [2021-03-17T04:34:15.995Z] 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:34:16.882Z] + git log --format=format:%s -1 3a954dbae30259bfc5325554c625ed2efa43968b [Pipeline] echo [2021-03-17T04:34:17.044Z] GIT_COMMIT: 3a954dbae30259bfc5325554c625ed2efa43968b, Commit Message: refactor: remove v1 code and unused constants [Pipeline] echo [2021-03-17T04:34:17.089Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-17T04:34:17.757Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-17T04:34:17.757Z] [2021-03-17T04:34:17.757Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-17T04:34:18.168Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-17T04:34:18.168Z] latest: Pulling from edgex-devops/git-semver [2021-03-17T04:34:18.168Z] 31603596830f: Pulling fs layer [2021-03-17T04:34:18.168Z] 2a8b12db71e7: Pulling fs layer [2021-03-17T04:34:18.168Z] 6ca5941a6612: Pulling fs layer [2021-03-17T04:34:18.168Z] ecc8261a40a4: Pulling fs layer [2021-03-17T04:34:18.168Z] ecc8261a40a4: Waiting [2021-03-17T04:34:18.168Z] 2a8b12db71e7: Verifying Checksum [2021-03-17T04:34:18.168Z] 2a8b12db71e7: Download complete [2021-03-17T04:34:18.460Z] 31603596830f: Verifying Checksum [2021-03-17T04:34:18.460Z] 31603596830f: Download complete [2021-03-17T04:34:18.460Z] ecc8261a40a4: Verifying Checksum [2021-03-17T04:34:18.460Z] ecc8261a40a4: Download complete [2021-03-17T04:34:18.748Z] 6ca5941a6612: Verifying Checksum [2021-03-17T04:34:18.748Z] 6ca5941a6612: Download complete [2021-03-17T04:34:19.026Z] 31603596830f: Pull complete [2021-03-17T04:34:19.305Z] 2a8b12db71e7: Pull complete [2021-03-17T04:34:22.031Z] 6ca5941a6612: Pull complete [2021-03-17T04:34:22.634Z] ecc8261a40a4: Pull complete [2021-03-17T04:34:22.634Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-17T04:34:22.634Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-17T04:34:22.634Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-17T04:34:23.269Z] prd-centos7-docker-4c-2g-30121 does not seem to be running inside a container [2021-03-17T04:34:23.575Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-17T04:34:27.673Z] $ docker top 661c86d3a7251a16b85d4f96d72fd64dfc38fefee7cac0ccdfd14a33e0d099c7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-17T04:34:28.233Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-17T04:34:28.233Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-17T04:34:29.147Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-17T04:34:29.138Z] $ docker exec 661c86d3a7251a16b85d4f96d72fd64dfc38fefee7cac0ccdfd14a33e0d099c7 ssh-agent [2021-03-17T04:34:29.606Z] SSH_AUTH_SOCK=/tmp/ssh-A46RBltEsEIP/agent.11 [2021-03-17T04:34:29.606Z] SSH_AGENT_PID=16 [2021-03-17T04:34:29.623Z] Running ssh-add (command line suppressed) [2021-03-17T04:34:30.039Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/private_key_8050261871957917285.key (/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/private_key_8050261871957917285.key) [2021-03-17T04:34:30.918Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-17T04:34:31.429Z] + git tag --points-at HEAD [Pipeline] } [2021-03-17T04:34:31.461Z] $ docker exec --env ******** --env ******** 661c86d3a7251a16b85d4f96d72fd64dfc38fefee7cac0ccdfd14a33e0d099c7 ssh-agent -k [2021-03-17T04:34:31.629Z] unset SSH_AUTH_SOCK; [2021-03-17T04:34:31.630Z] unset SSH_AGENT_PID; [2021-03-17T04:34:31.630Z] echo Agent pid 16 killed; [2021-03-17T04:34:31.729Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-17T04:34:31.880Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-17T04:34:31.880Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-17T04:34:32.136Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-17T04:34:32.125Z] $ docker exec 661c86d3a7251a16b85d4f96d72fd64dfc38fefee7cac0ccdfd14a33e0d099c7 ssh-agent [2021-03-17T04:34:32.572Z] SSH_AUTH_SOCK=/tmp/ssh-8fxhC7UbkCQC/agent.45 [2021-03-17T04:34:32.572Z] SSH_AGENT_PID=50 [2021-03-17T04:34:32.584Z] Running ssh-add (command line suppressed) [2021-03-17T04:34:32.862Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/private_key_5801904324769906702.key (/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/private_key_5801904324769906702.key) [2021-03-17T04:34:32.986Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-17T04:34:33.457Z] + git semver init [2021-03-17T04:34:33.765Z] # -> Open(): unable to determine branch for HEAD [2021-03-17T04:34:33.765Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-820/.git [2021-03-17T04:34:33.765Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-820 [2021-03-17T04:34:33.765Z] # $SEMVER_REMOTE_NAME = origin [2021-03-17T04:34:33.765Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-17T04:34:33.765Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-17T04:34:33.765Z] # $SEMVER_BRANCH = PR-820 [2021-03-17T04:34:33.765Z] # $SEMVER_TEMP = /tmp/semver-262298151 [2021-03-17T04:34:33.765Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-17T04:34:35.271Z] # '/tmp/semver-262298151' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-820/.semver' [2021-03-17T04:34:35.271Z] # -> Force: false [2021-03-17T04:34:35.271Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-820/.semver [Pipeline] } [2021-03-17T04:34:35.318Z] $ docker exec --env ******** --env ******** 661c86d3a7251a16b85d4f96d72fd64dfc38fefee7cac0ccdfd14a33e0d099c7 ssh-agent -k [2021-03-17T04:34:35.758Z] unset SSH_AUTH_SOCK; [2021-03-17T04:34:35.758Z] unset SSH_AGENT_PID; [2021-03-17T04:34:35.758Z] echo Agent pid 50 killed; [2021-03-17T04:34:36.053Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-17T04:34:36.995Z] + git semver [Pipeline] } [2021-03-17T04:34:37.316Z] $ docker stop --time=1 661c86d3a7251a16b85d4f96d72fd64dfc38fefee7cac0ccdfd14a33e0d099c7 [2021-03-17T04:34:38.987Z] $ docker rm -f 661c86d3a7251a16b85d4f96d72fd64dfc38fefee7cac0ccdfd14a33e0d099c7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-17T04:34:39.636Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-17T04:34:41.287Z] Stashed 1 file(s) [Pipeline] echo [2021-03-17T04:34:41.290Z] [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:34:56.808Z] Still waiting to schedule task [2021-03-17T04:34:56.808Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-17T04:34:56.808Z] Still waiting to schedule task [2021-03-17T04:34:56.808Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-17T04:36:47.437Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30122 in /w/workspace/dgexfoundry_device-sdk-go_PR-820 [Pipeline] { [Pipeline] ws [2021-03-17T04:36:47.587Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-03-17T04:36:53.206Z] using credential edgex-jenkins-ssh [2021-03-17T04:36:53.266Z] Cloning the remote Git repository [2021-03-17T04:36:53.347Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-17T04:36:53.460Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-03-17T04:36:53.535Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-17T04:36:53.536Z] > git --version # timeout=10 [2021-03-17T04:36:53.562Z] > git --version # 'git version 2.17.1' [2021-03-17T04:36:53.564Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-17T04:36:53.634Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-17T04:36:54.773Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-17T04:36:54.802Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-17T04:36:54.834Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-17T04:36:54.876Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-17T04:36:54.876Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-17T04:36:54.895Z] > 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:36:55.494Z] Merging remotes/origin/master commit 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit 3a954dbae30259bfc5325554c625ed2efa43968b [2021-03-17T04:36:55.857Z] Merge succeeded, producing 3a954dbae30259bfc5325554c625ed2efa43968b [2021-03-17T04:36:55.858Z] Checking out Revision 3a954dbae30259bfc5325554c625ed2efa43968b (PR-820) [2021-03-17T04:36:55.525Z] > git config core.sparsecheckout # timeout=10 [2021-03-17T04:36:55.547Z] > git checkout -f 3a954dbae30259bfc5325554c625ed2efa43968b # timeout=10 [2021-03-17T04:36:55.653Z] > git remote # timeout=10 [2021-03-17T04:36:55.736Z] > git config --get remote.origin.url # timeout=10 [2021-03-17T04:36:55.780Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-17T04:36:55.799Z] > git merge 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 [2021-03-17T04:36:55.839Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-17T04:36:55.874Z] > git config core.sparsecheckout # timeout=10 [2021-03-17T04:36:55.938Z] > git checkout -f 3a954dbae30259bfc5325554c625ed2efa43968b # timeout=10 [2021-03-17T04:37:00.217Z] 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:37:01.908Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-17T04:37:02.404Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-17T04:37:02.749Z] + + true [2021-03-17T04:37:02.749Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-17T04:37:04.807Z] provisioning config files... [2021-03-17T04:37:04.857Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config1512274583703993286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-17T04:37:05.278Z] ---> docker-login.sh [2021-03-17T04:37:05.278Z] nexus3.edgexfoundry.org:10001 [2021-03-17T04:37:06.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:37:06.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:37:06.546Z] Configure a credential helper to remove this warning. See [2021-03-17T04:37:06.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:37:06.546Z] [2021-03-17T04:37:06.546Z] Login Succeeded [2021-03-17T04:37:06.546Z] nexus3.edgexfoundry.org:10002 [2021-03-17T04:37:06.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:37:07.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:37:07.100Z] Configure a credential helper to remove this warning. See [2021-03-17T04:37:07.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:37:07.100Z] [2021-03-17T04:37:07.100Z] Login Succeeded [2021-03-17T04:37:07.100Z] nexus3.edgexfoundry.org:10003 [2021-03-17T04:37:07.178Z] Running on prd-centos7-docker-4c-2g-30123 in /w/workspace/dgexfoundry_device-sdk-go_PR-820 [Pipeline] { [Pipeline] ws [2021-03-17T04:37:07.243Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-03-17T04:37:07.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:37:07.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:37:07.655Z] Configure a credential helper to remove this warning. See [2021-03-17T04:37:07.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:37:07.655Z] [2021-03-17T04:37:07.655Z] Login Succeeded [2021-03-17T04:37:07.655Z] nexus3.edgexfoundry.org:10004 [2021-03-17T04:37:07.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:37:08.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:37:08.211Z] Configure a credential helper to remove this warning. See [2021-03-17T04:37:08.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:37:08.211Z] [2021-03-17T04:37:08.211Z] Login Succeeded [2021-03-17T04:37:08.211Z] docker.io [2021-03-17T04:37:08.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:37:08.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:37:08.767Z] Configure a credential helper to remove this warning. See [2021-03-17T04:37:08.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:37:08.767Z] [2021-03-17T04:37:08.767Z] Login Succeeded [2021-03-17T04:37:08.767Z] ---> docker-login.sh ends [Pipeline] } [2021-03-17T04:37:08.788Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-17T04:37:09.368Z] ========================================================= [2021-03-17T04:37:09.368Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-17T04:37:09.368Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-17T04:37:09.549Z] using credential edgex-jenkins-ssh [2021-03-17T04:37:09.620Z] Cloning the remote Git repository [2021-03-17T04:37:09.653Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-17T04:37:09.720Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-03-17T04:37:09.757Z] + 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:37:10.040Z] Sending build context to Docker daemon 2.362MB [2021-03-17T04:37:10.314Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-17T04:37:10.314Z] Step 2/8 : FROM ${BASE} [2021-03-17T04:37:10.314Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-17T04:37:10.314Z] 5f621e34cdf4: Pulling fs layer [2021-03-17T04:37:10.314Z] a4357932f1b6: Pulling fs layer [2021-03-17T04:37:10.314Z] 18c013af1878: Pulling fs layer [2021-03-17T04:37:10.314Z] 00ac8860ef70: Pulling fs layer [2021-03-17T04:37:10.314Z] 63d7cb157983: Pulling fs layer [2021-03-17T04:37:10.314Z] b116817d02f9: Pulling fs layer [2021-03-17T04:37:10.314Z] 745a02a5169b: Pulling fs layer [2021-03-17T04:37:10.314Z] 00ac8860ef70: Waiting [2021-03-17T04:37:10.314Z] 63d7cb157983: Waiting [2021-03-17T04:37:10.314Z] b116817d02f9: Waiting [2021-03-17T04:37:10.314Z] 745a02a5169b: Waiting [2021-03-17T04:37:10.314Z] 18c013af1878: Verifying Checksum [2021-03-17T04:37:10.314Z] 18c013af1878: Download complete [2021-03-17T04:37:10.314Z] a4357932f1b6: Verifying Checksum [2021-03-17T04:37:10.314Z] a4357932f1b6: Download complete [2021-03-17T04:37:10.314Z] 63d7cb157983: Verifying Checksum [2021-03-17T04:37:10.314Z] 63d7cb157983: Download complete [2021-03-17T04:37:10.314Z] b116817d02f9: Download complete [2021-03-17T04:37:10.314Z] 5f621e34cdf4: Verifying Checksum [2021-03-17T04:37:10.314Z] 5f621e34cdf4: Download complete [2021-03-17T04:37:09.782Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-17T04:37:09.782Z] > git --version # timeout=10 [2021-03-17T04:37:09.789Z] > git --version # 'git version 2.24.3' [2021-03-17T04:37:09.790Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-17T04:37:09.821Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-17T04:37:10.738Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-17T04:37:10.746Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-17T04:37:10.758Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-17T04:37:10.772Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-17T04:37:10.773Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-17T04:37:10.778Z] > 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:37:10.913Z] 5f621e34cdf4: Pull complete [2021-03-17T04:37:11.284Z] Merging remotes/origin/master commit 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit 3a954dbae30259bfc5325554c625ed2efa43968b [2021-03-17T04:37:11.387Z] Merge succeeded, producing 3a954dbae30259bfc5325554c625ed2efa43968b [2021-03-17T04:37:11.388Z] Checking out Revision 3a954dbae30259bfc5325554c625ed2efa43968b (PR-820) [2021-03-17T04:37:11.514Z] a4357932f1b6: Pull complete [2021-03-17T04:37:11.791Z] 18c013af1878: Pull complete [2021-03-17T04:37:11.298Z] > git config core.sparsecheckout # timeout=10 [2021-03-17T04:37:11.304Z] > git checkout -f 3a954dbae30259bfc5325554c625ed2efa43968b # timeout=10 [2021-03-17T04:37:11.353Z] > git remote # timeout=10 [2021-03-17T04:37:11.358Z] > git config --get remote.origin.url # timeout=10 [2021-03-17T04:37:11.369Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-17T04:37:11.373Z] > git merge 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 [2021-03-17T04:37:11.383Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-17T04:37:11.394Z] > git config core.sparsecheckout # timeout=10 [2021-03-17T04:37:11.398Z] > git checkout -f 3a954dbae30259bfc5325554c625ed2efa43968b # timeout=10 [2021-03-17T04:37:13.775Z] 745a02a5169b: Download complete [2021-03-17T04:37:15.125Z] Commit message: "refactor: remove v1 code and unused constants" [2021-03-17T04:37:15.216Z] 00ac8860ef70: Verifying Checksum [2021-03-17T04:37:15.216Z] 00ac8860ef70: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-17T04:37:16.368Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-17T04:37:16.712Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-17T04:37:17.017Z] + sudo service docker restart [2021-03-17T04:37:17.017Z] + true [2021-03-17T04:37:17.017Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-17T04:37:19.011Z] provisioning config files... [2021-03-17T04:37:19.095Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config428470071868340227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-17T04:37:19.491Z] ---> docker-login.sh [2021-03-17T04:37:19.491Z] nexus3.edgexfoundry.org:10001 [2021-03-17T04:37:19.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:37:19.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:37:19.766Z] Configure a credential helper to remove this warning. See [2021-03-17T04:37:19.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:37:19.766Z] [2021-03-17T04:37:19.766Z] Login Succeeded [2021-03-17T04:37:19.766Z] nexus3.edgexfoundry.org:10002 [2021-03-17T04:37:20.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:37:20.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:37:20.031Z] Configure a credential helper to remove this warning. See [2021-03-17T04:37:20.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:37:20.031Z] [2021-03-17T04:37:20.031Z] Login Succeeded [2021-03-17T04:37:20.031Z] nexus3.edgexfoundry.org:10003 [2021-03-17T04:37:20.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:37:20.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:37:20.294Z] Configure a credential helper to remove this warning. See [2021-03-17T04:37:20.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:37:20.294Z] [2021-03-17T04:37:20.294Z] Login Succeeded [2021-03-17T04:37:20.294Z] nexus3.edgexfoundry.org:10004 [2021-03-17T04:37:20.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:37:20.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:37:20.294Z] Configure a credential helper to remove this warning. See [2021-03-17T04:37:20.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:37:20.294Z] [2021-03-17T04:37:20.294Z] Login Succeeded [2021-03-17T04:37:20.294Z] docker.io [2021-03-17T04:37:20.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T04:37:20.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T04:37:20.817Z] Configure a credential helper to remove this warning. See [2021-03-17T04:37:20.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T04:37:20.817Z] [2021-03-17T04:37:20.817Z] Login Succeeded [2021-03-17T04:37:20.817Z] ---> docker-login.sh ends [Pipeline] } [2021-03-17T04:37:20.827Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-17T04:37:21.215Z] ========================================================= [2021-03-17T04:37:21.216Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-17T04:37:21.216Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-17T04:37:21.577Z] + 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:37:21.577Z] Sending build context to Docker daemon 2.363MB [2021-03-17T04:37:21.577Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-17T04:37:21.577Z] Step 2/8 : FROM ${BASE} [2021-03-17T04:37:21.845Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-17T04:37:21.845Z] 188c0c94c7c5: Pulling fs layer [2021-03-17T04:37:21.845Z] 0ef7d3d256c8: Pulling fs layer [2021-03-17T04:37:21.845Z] de9db76c5a1d: Pulling fs layer [2021-03-17T04:37:21.845Z] bca2f99d35d6: Pulling fs layer [2021-03-17T04:37:21.845Z] 93359f2a8cfa: Pulling fs layer [2021-03-17T04:37:21.845Z] 7c6f9722023f: Pulling fs layer [2021-03-17T04:37:21.845Z] a35cf1a2eb13: Pulling fs layer [2021-03-17T04:37:21.845Z] 93359f2a8cfa: Waiting [2021-03-17T04:37:21.845Z] 7c6f9722023f: Waiting [2021-03-17T04:37:21.845Z] a35cf1a2eb13: Waiting [2021-03-17T04:37:21.845Z] bca2f99d35d6: Waiting [2021-03-17T04:37:21.845Z] de9db76c5a1d: Verifying Checksum [2021-03-17T04:37:21.845Z] de9db76c5a1d: Download complete [2021-03-17T04:37:21.845Z] 0ef7d3d256c8: Verifying Checksum [2021-03-17T04:37:21.845Z] 0ef7d3d256c8: Download complete [2021-03-17T04:37:21.845Z] 93359f2a8cfa: Verifying Checksum [2021-03-17T04:37:21.845Z] 93359f2a8cfa: Download complete [2021-03-17T04:37:21.845Z] 188c0c94c7c5: Verifying Checksum [2021-03-17T04:37:21.845Z] 188c0c94c7c5: Download complete [2021-03-17T04:37:21.845Z] 7c6f9722023f: Verifying Checksum [2021-03-17T04:37:21.845Z] 7c6f9722023f: Download complete [2021-03-17T04:37:22.111Z] 188c0c94c7c5: Pull complete [2021-03-17T04:37:22.377Z] 0ef7d3d256c8: Pull complete [2021-03-17T04:37:22.377Z] de9db76c5a1d: Pull complete [2021-03-17T04:37:24.955Z] a35cf1a2eb13: Verifying Checksum [2021-03-17T04:37:24.955Z] a35cf1a2eb13: Download complete [2021-03-17T04:37:24.955Z] bca2f99d35d6: Verifying Checksum [2021-03-17T04:37:24.955Z] bca2f99d35d6: Download complete [2021-03-17T04:37:25.388Z] 00ac8860ef70: Pull complete [2021-03-17T04:37:25.388Z] 63d7cb157983: Pull complete [2021-03-17T04:37:25.662Z] b116817d02f9: Pull complete [2021-03-17T04:37:29.997Z] 745a02a5169b: Pull complete [2021-03-17T04:37:29.997Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-17T04:37:29.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-17T04:37:29.997Z] ---> b7e6874047d6 [2021-03-17T04:37:29.997Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-17T04:37:30.291Z] bca2f99d35d6: Pull complete [2021-03-17T04:37:30.555Z] 93359f2a8cfa: Pull complete [2021-03-17T04:37:30.821Z] 7c6f9722023f: Pull complete [2021-03-17T04:37:32.653Z] ---> Running in 5ba61b58ef35 [2021-03-17T04:37:32.928Z] Removing intermediate container 5ba61b58ef35 [2021-03-17T04:37:32.928Z] ---> 18b25b1f4167 [2021-03-17T04:37:32.928Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-17T04:37:33.204Z] ---> Running in d05118995d22 [2021-03-17T04:37:35.062Z] a35cf1a2eb13: Pull complete [2021-03-17T04:37:35.062Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-17T04:37:35.062Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-17T04:37:35.062Z] ---> a62c8e92a672 [2021-03-17T04:37:35.062Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-17T04:37:35.324Z] ---> Running in 47e213ab9e78 [2021-03-17T04:37:35.591Z] Removing intermediate container 47e213ab9e78 [2021-03-17T04:37:35.591Z] ---> 0378dc8779af [2021-03-17T04:37:35.591Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-17T04:37:35.591Z] ---> Running in b9d72f1bc96e [2021-03-17T04:37:35.855Z] Removing intermediate container d05118995d22 [2021-03-17T04:37:35.855Z] ---> c8acd279a6ec [2021-03-17T04:37:35.855Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-17T04:37:35.855Z] ---> Running in 431920d15b17 [2021-03-17T04:37:36.836Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-17T04:37:36.989Z] Removing intermediate container b9d72f1bc96e [2021-03-17T04:37:36.989Z] ---> 83c2c2e8ed82 [2021-03-17T04:37:36.989Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-17T04:37:36.989Z] ---> Running in c6bf78fa05e7 [2021-03-17T04:37:37.265Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-17T04:37:39.471Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-17T04:37:40.591Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-17T04:37:42.859Z] OK: 142 MiB in 39 packages [2021-03-17T04:37:43.146Z] OK: 166 MiB in 39 packages [2021-03-17T04:37:43.721Z] Removing intermediate container c6bf78fa05e7 [2021-03-17T04:37:43.721Z] ---> e06b38c671f9 [2021-03-17T04:37:43.721Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-17T04:37:43.721Z] ---> Running in 7f6117a73b10 [2021-03-17T04:37:43.721Z] Removing intermediate container 7f6117a73b10 [2021-03-17T04:37:43.721Z] ---> 43245dcadc4c [2021-03-17T04:37:43.721Z] Step 7/8 : COPY . . [2021-03-17T04:37:43.838Z] Removing intermediate container 431920d15b17 [2021-03-17T04:37:43.838Z] ---> 3834b4a46eb1 [2021-03-17T04:37:43.838Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-17T04:37:43.838Z] ---> Running in 61e1586b80a6 [2021-03-17T04:37:44.439Z] Removing intermediate container 61e1586b80a6 [2021-03-17T04:37:44.439Z] ---> 733a8e7ffc9a [2021-03-17T04:37:44.439Z] Step 7/8 : COPY . . [2021-03-17T04:37:45.123Z] ---> f9cb0704777f [2021-03-17T04:37:45.123Z] Step 8/8 : RUN go mod download [2021-03-17T04:37:45.123Z] ---> Running in 77041f59fdd3 [2021-03-17T04:37:45.880Z] ---> f2294404b3d7 [2021-03-17T04:37:45.881Z] Step 8/8 : RUN go mod download [2021-03-17T04:37:45.881Z] ---> Running in c2b35d51d225 [2021-03-17T04:38:07.270Z] Removing intermediate container 77041f59fdd3 [2021-03-17T04:38:07.270Z] ---> 878f363b7d35 [2021-03-17T04:38:07.270Z] Successfully built 878f363b7d35 [2021-03-17T04:38:07.270Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-17T04:38:07.585Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-17T04:38:07.585Z] . [Pipeline] withDockerContainer [2021-03-17T04:38:07.782Z] prd-centos7-docker-4c-2g-30123 does not seem to be running inside a container [2021-03-17T04:38:07.844Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-17T04:38:08.630Z] $ docker top 788fe402cbe8b0a3a213cecb5f4fff79a261c013986a8c7afdeaeaa1a2390b97 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-17T04:38:09.147Z] + go version [2021-03-17T04:38:09.147Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-17T04:38:09.167Z] $ docker stop --time=1 788fe402cbe8b0a3a213cecb5f4fff79a261c013986a8c7afdeaeaa1a2390b97 [2021-03-17T04:38:10.503Z] $ docker rm -f 788fe402cbe8b0a3a213cecb5f4fff79a261c013986a8c7afdeaeaa1a2390b97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-17T04:38:11.457Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-17T04:38:11.457Z] . [Pipeline] withDockerContainer [2021-03-17T04:38:11.559Z] prd-centos7-docker-4c-2g-30123 does not seem to be running inside a container [2021-03-17T04:38:11.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-17T04:38:12.174Z] $ docker top 7a5630fe6bf73dd596ae9e839842f4818e2d97f6decae87a2cd3abb18cd1dc0a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-17T04:38:12.712Z] + make test [2021-03-17T04:38:12.712Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-17T04:38:12.751Z] Removing intermediate container c2b35d51d225 [2021-03-17T04:38:12.751Z] ---> f4ff96ed83b6 [2021-03-17T04:38:12.751Z] Successfully built f4ff96ed83b6 [2021-03-17T04:38:12.751Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-17T04:38:13.094Z] + docker inspect -f . ci-base-image-arm64 [2021-03-17T04:38:13.095Z] . [Pipeline] withDockerContainer [2021-03-17T04:38:13.376Z] prd-ubuntu18.04-docker-arm64-4c-16g-30122 does not seem to be running inside a container [2021-03-17T04:38:13.462Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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:38:14.980Z] $ docker top ee0e0651cd3370cb76a7b7206d9a4ff2f504c1f591c602f5f20ac06a7ea4e2a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-17T04:38:16.018Z] + go version [2021-03-17T04:38:16.018Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-17T04:38:16.043Z] $ docker stop --time=1 ee0e0651cd3370cb76a7b7206d9a4ff2f504c1f591c602f5f20ac06a7ea4e2a1 [2021-03-17T04:38:17.948Z] $ docker rm -f ee0e0651cd3370cb76a7b7206d9a4ff2f504c1f591c602f5f20ac06a7ea4e2a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-17T04:38:19.004Z] + docker inspect -f . ci-base-image-arm64 [2021-03-17T04:38:19.004Z] . [Pipeline] withDockerContainer [2021-03-17T04:38:19.274Z] prd-ubuntu18.04-docker-arm64-4c-16g-30122 does not seem to be running inside a container [2021-03-17T04:38:19.359Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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:38:19.365Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-17T04:38:20.925Z] $ docker top a34e6b0d01232d02b7909fb2529280b8f57e4f8580db3a98dc0cf9c1c893694b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-17T04:38:21.962Z] + make test [2021-03-17T04:38:21.962Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-17T04:38:34.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-17T04:38:34.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-17T04:38:34.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-17T04:38:34.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-17T04:38:36.334Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 25.5% of statements [2021-03-17T04:38:36.607Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.067s coverage: 81.2% of statements [2021-03-17T04:38:44.158Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-17T04:39:08.779Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.061s coverage: 10.5% of statements [2021-03-17T04:39:08.779Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-17T04:39:08.779Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-17T04:39:08.779Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.080s coverage: 32.5% of statements [2021-03-17T04:39:08.779Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-17T04:39:08.779Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-17T04:39:08.779Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-17T04:39:08.779Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.080s coverage: 57.3% of statements [2021-03-17T04:39:08.779Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.154s coverage: 6.6% of statements [2021-03-17T04:39:08.779Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 5.1% of statements [2021-03-17T04:39:08.779Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-17T04:39:08.779Z] GO111MODULE=on go vet ./... [2021-03-17T04:39:17.076Z] gofmt -l . [2021-03-17T04:39:17.076Z] [ "`gofmt -l .`" = "" ] [2021-03-17T04:39:17.076Z] ./bin/test-attribution-txt.sh [2021-03-17T04:39:17.651Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-17T04:39:17.672Z] $ docker stop --time=1 7a5630fe6bf73dd596ae9e839842f4818e2d97f6decae87a2cd3abb18cd1dc0a [2021-03-17T04:39:19.681Z] $ docker rm -f 7a5630fe6bf73dd596ae9e839842f4818e2d97f6decae87a2cd3abb18cd1dc0a [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-17T04:39:20.418Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-17T04:39:20.863Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-17T04:39:22.269Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-17T04:39:22.571Z] + ls -al . [2021-03-17T04:39:22.571Z] total 184 [2021-03-17T04:39:22.571Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 17 04:39 . [2021-03-17T04:39:22.571Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 17 04:37 .. [2021-03-17T04:39:22.571Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 17 04:37 bin [2021-03-17T04:39:22.571Z] -rw-r--r--. 1 jenkins jenkins 100014 Mar 17 04:39 coverage.out [2021-03-17T04:39:22.571Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 17 04:37 Dockerfile.build [2021-03-17T04:39:22.571Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 17 04:37 .dockerignore [2021-03-17T04:39:22.571Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 17 04:37 example [2021-03-17T04:39:22.571Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 17 04:37 .git [2021-03-17T04:39:22.571Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 17 04:37 .github [2021-03-17T04:39:22.571Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 17 04:37 .gitignore [2021-03-17T04:39:22.571Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 17 04:39 go.mod [2021-03-17T04:39:22.571Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 17 04:39 go.sum [2021-03-17T04:39:22.571Z] drwxrwxr-x. 13 jenkins jenkins 193 Mar 17 04:37 internal [2021-03-17T04:39:22.571Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 17 04:37 Jenkinsfile [2021-03-17T04:39:22.571Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 17 04:37 LICENSE [2021-03-17T04:39:22.571Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 17 04:37 Makefile [2021-03-17T04:39:22.571Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 17 04:37 openapi [2021-03-17T04:39:22.571Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 17 04:37 pkg [2021-03-17T04:39:22.571Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 17 04:37 README.md [2021-03-17T04:39:22.571Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 17 04:37 RELEASE-NOTES.txt [2021-03-17T04:39:22.571Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 17 04:37 snap [2021-03-17T04:39:22.571Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 17 04:34 VERSION [2021-03-17T04:39:22.571Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 17 04:37 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-17T04:39:22.880Z] + 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=3a954dbae30259bfc5325554c625ed2efa43968b --label arch=amd64 --label version=0.0.0 . [2021-03-17T04:39:23.142Z] Sending build context to Docker daemon 2.464MB [2021-03-17T04:39:23.142Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-17T04:39:23.142Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-17T04:39:23.142Z] ---> 878f363b7d35 [2021-03-17T04:39:23.142Z] Step 3/24 : ARG MAKE='make build' [2021-03-17T04:39:23.404Z] ---> Running in 4bbebfabf9bc [2021-03-17T04:39:23.672Z] Removing intermediate container 4bbebfabf9bc [2021-03-17T04:39:23.672Z] ---> ebcfcab5a571 [2021-03-17T04:39:23.672Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-17T04:39:23.672Z] ---> Running in 99347ca72390 [2021-03-17T04:39:23.937Z] Removing intermediate container 99347ca72390 [2021-03-17T04:39:23.937Z] ---> a17973370b5a [2021-03-17T04:39:23.937Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-17T04:39:23.937Z] ---> Running in 723168d43296 [2021-03-17T04:39:24.202Z] Removing intermediate container 723168d43296 [2021-03-17T04:39:24.202Z] ---> 32c9da6f4771 [2021-03-17T04:39:24.202Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-17T04:39:24.202Z] ---> Running in d4af3cbb66b7 [2021-03-17T04:39:25.169Z] Removing intermediate container d4af3cbb66b7 [2021-03-17T04:39:25.169Z] ---> 76306f4e56e7 [2021-03-17T04:39:25.169Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-17T04:39:25.169Z] ---> Running in 66a666470f59 [2021-03-17T04:39:25.748Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-17T04:39:27.673Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-17T04:39:29.070Z] OK: 166 MiB in 39 packages [2021-03-17T04:39:29.333Z] Removing intermediate container 66a666470f59 [2021-03-17T04:39:29.333Z] ---> 98709e1b6c69 [2021-03-17T04:39:29.333Z] Step 8/24 : COPY . . [2021-03-17T04:39:31.207Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-17T04:39:31.207Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-17T04:39:31.207Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-17T04:39:31.207Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-17T04:39:31.207Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.121s coverage: 25.5% of statements [2021-03-17T04:39:31.207Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.177s coverage: 81.2% of statements [2021-03-17T04:39:31.257Z] ---> a4ae51cfea31 [2021-03-17T04:39:31.257Z] Step 9/24 : RUN ${MAKE} [2021-03-17T04:39:31.257Z] ---> Running in 9a90c38e08e1 [2021-03-17T04:39:31.841Z] 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:39:40.131Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-17T04:39:42.688Z] Removing intermediate container 9a90c38e08e1 [2021-03-17T04:39:42.688Z] ---> 83c93f2afb7f [2021-03-17T04:39:42.688Z] Step 10/24 : FROM scratch [2021-03-17T04:39:42.688Z] ---> [2021-03-17T04:39:42.688Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-17T04:39:42.688Z] ---> Running in b79ecd68dfea [2021-03-17T04:39:42.688Z] Removing intermediate container b79ecd68dfea [2021-03-17T04:39:42.688Z] ---> 19826ec9843a [2021-03-17T04:39:42.688Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-17T04:39:42.688Z] ---> Running in eedf843e2090 [2021-03-17T04:39:42.951Z] Removing intermediate container eedf843e2090 [2021-03-17T04:39:42.951Z] ---> c0d8dbfb7fb9 [2021-03-17T04:39:42.952Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-17T04:39:42.952Z] ---> Running in e32049a008be [2021-03-17T04:39:42.952Z] Removing intermediate container e32049a008be [2021-03-17T04:39:42.952Z] ---> cab616c76c1a [2021-03-17T04:39:42.952Z] Step 14/24 : WORKDIR / [2021-03-17T04:39:43.218Z] ---> Running in a54a1f003fb9 [2021-03-17T04:39:43.218Z] Removing intermediate container a54a1f003fb9 [2021-03-17T04:39:43.218Z] ---> e70e0d3e50cc [2021-03-17T04:39:43.218Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-17T04:39:43.794Z] ---> 3f67aa21a60c [2021-03-17T04:39:43.794Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-17T04:39:44.058Z] ---> 5fe2bed6e63b [2021-03-17T04:39:44.058Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-17T04:39:44.320Z] ---> 352a47906db9 [2021-03-17T04:39:44.320Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-17T04:39:44.582Z] ---> 3a4f4a94d742 [2021-03-17T04:39:44.582Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-17T04:39:44.582Z] ---> 75ffe801a06d [2021-03-17T04:39:44.582Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-17T04:39:44.845Z] ---> Running in 1abd7fe539dd [2021-03-17T04:39:44.845Z] Removing intermediate container 1abd7fe539dd [2021-03-17T04:39:44.845Z] ---> 12bfd7a41ceb [2021-03-17T04:39:44.845Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-17T04:39:45.109Z] ---> Running in a839be004f04 [2021-03-17T04:39:45.109Z] Removing intermediate container a839be004f04 [2021-03-17T04:39:45.109Z] ---> f6029317b016 [2021-03-17T04:39:45.109Z] Step 22/24 : LABEL arch=amd64 [2021-03-17T04:39:45.109Z] ---> Running in 0283b17d6b07 [2021-03-17T04:39:45.376Z] Removing intermediate container 0283b17d6b07 [2021-03-17T04:39:45.376Z] ---> 0da5f60c2197 [2021-03-17T04:39:45.376Z] Step 23/24 : LABEL git_sha=3a954dbae30259bfc5325554c625ed2efa43968b [2021-03-17T04:39:45.376Z] ---> Running in 2cf72268344c [2021-03-17T04:39:45.639Z] Removing intermediate container 2cf72268344c [2021-03-17T04:39:45.639Z] ---> 827a863d144b [2021-03-17T04:39:45.639Z] Step 24/24 : LABEL version=0.0.0 [2021-03-17T04:39:45.639Z] ---> Running in e0f5dc4d75c7 [2021-03-17T04:39:45.902Z] Removing intermediate container e0f5dc4d75c7 [2021-03-17T04:39:45.902Z] ---> 4d20b059bafc [2021-03-17T04:39:45.902Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-17T04:39:45.902Z] Successfully built 4d20b059bafc [2021-03-17T04:39:45.902Z] 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:39:46.889Z] ---> job-cost.sh [2021-03-17T04:39:46.889Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-HqZc [2021-03-17T04:39:58.019Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.155s coverage: 10.5% of statements [2021-03-17T04:39:58.019Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-17T04:39:58.019Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-17T04:39:58.019Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.202s coverage: 32.5% of statements [2021-03-17T04:39:58.019Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-17T04:39:58.019Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-17T04:39:58.019Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-17T04:39:58.019Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.259s coverage: 57.3% of statements [2021-03-17T04:39:58.019Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.925s coverage: 6.6% of statements [2021-03-17T04:39:58.019Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 5.1% of statements [2021-03-17T04:39:58.019Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-17T04:39:58.019Z] GO111MODULE=on go vet ./... [2021-03-17T04:40:01.829Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-17T04:40:30.454Z] gofmt -l . [2021-03-17T04:40:30.727Z] [ "`gofmt -l .`" = "" ] [2021-03-17T04:40:30.999Z] ./bin/test-attribution-txt.sh [2021-03-17T04:40:32.428Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-17T04:40:32.719Z] $ docker stop --time=1 a34e6b0d01232d02b7909fb2529280b8f57e4f8580db3a98dc0cf9c1c893694b [2021-03-17T04:40:34.034Z] lf-activate-venv(): INFO: Adding /tmp/venv-HqZc/bin to PATH [2021-03-17T04:40:34.034Z] INFO: No Stack... [2021-03-17T04:40:34.034Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-17T04:40:34.034Z] INFO: Archiving Costs [2021-03-17T04:40:34.953Z] $ docker rm -f a34e6b0d01232d02b7909fb2529280b8f57e4f8580db3a98dc0cf9c1c893694b [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-03-17T04:40:36.002Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2021-03-17T04:40:36.002Z] + cut -d, -f6 [2021-03-17T04:40:36.067Z] + sudo chown -R jenkins:jenkins . [Pipeline] lock [2021-03-17T04:40:36.091Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-820-6-stack-cost] [2021-03-17T04:40:36.100Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-820-6-stack-cost] did not exist. Created. [2021-03-17T04:40:36.101Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-820-6-stack-cost] [Pipeline] { [Pipeline] stash [2021-03-17T04:40:36.190Z] Warning: overwriting stash ‘coverage-report’ [Pipeline] unstash [Pipeline] sh [2021-03-17T04:40:36.542Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-17T04:40:36.659Z] Stashed 1 file(s) [Pipeline] } [2021-03-17T04:40:36.671Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-820-6-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [2021-03-17T04:40:37.203Z] Stashed 1 file(s) [Pipeline] // node [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-17T04:40:38.186Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-17T04:40:38.581Z] + ls -al . [2021-03-17T04:40:38.581Z] total 220 [2021-03-17T04:40:38.581Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 04:40 . [2021-03-17T04:40:38.581Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:36 .. [2021-03-17T04:40:38.581Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 04:36 .dockerignore [2021-03-17T04:40:38.581Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 04:36 .git [2021-03-17T04:40:38.581Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 04:36 .github [2021-03-17T04:40:38.581Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 17 04:36 .gitignore [2021-03-17T04:40:38.581Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 17 04:36 Dockerfile.build [2021-03-17T04:40:38.581Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 17 04:36 Jenkinsfile [2021-03-17T04:40:38.581Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 04:36 LICENSE [2021-03-17T04:40:38.581Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 17 04:36 Makefile [2021-03-17T04:40:38.581Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 17 04:36 README.md [2021-03-17T04:40:38.581Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 17 04:36 RELEASE-NOTES.txt [2021-03-17T04:40:38.581Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 04:34 VERSION [2021-03-17T04:40:38.581Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 04:36 bin [2021-03-17T04:40:38.581Z] -rw-r--r-- 1 jenkins jenkins 100014 Mar 17 04:39 coverage.out [2021-03-17T04:40:38.581Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:36 example [2021-03-17T04:40:38.581Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 17 04:40 go.mod [2021-03-17T04:40:38.581Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 17 04:40 go.sum [2021-03-17T04:40:38.581Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 17 04:36 internal [2021-03-17T04:40:38.581Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:36 openapi [2021-03-17T04:40:38.581Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 04:36 pkg [2021-03-17T04:40:38.581Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:36 snap [2021-03-17T04:40:38.581Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 04:36 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-17T04:40:38.948Z] + 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=3a954dbae30259bfc5325554c625ed2efa43968b --label arch=arm64 --label version=0.0.0 . [2021-03-17T04:40:39.573Z] Sending build context to Docker daemon 2.463MB [2021-03-17T04:40:39.573Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-17T04:40:39.573Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-17T04:40:39.573Z] ---> f4ff96ed83b6 [2021-03-17T04:40:39.573Z] Step 3/24 : ARG MAKE='make build' [2021-03-17T04:40:40.190Z] ---> Running in b3f3995138c8 [2021-03-17T04:40:40.462Z] Removing intermediate container b3f3995138c8 [2021-03-17T04:40:40.462Z] ---> 49b54889e5fa [2021-03-17T04:40:40.462Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-17T04:40:40.737Z] ---> Running in 5c93b368f181 [2021-03-17T04:40:41.012Z] Removing intermediate container 5c93b368f181 [2021-03-17T04:40:41.012Z] ---> 70e991a5fa3f [2021-03-17T04:40:41.012Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-17T04:40:41.286Z] ---> Running in 4b8838c04649 [2021-03-17T04:40:41.885Z] Removing intermediate container 4b8838c04649 [2021-03-17T04:40:41.885Z] ---> 54617082a3a4 [2021-03-17T04:40:41.885Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-17T04:40:41.885Z] ---> Running in bcec13a67dc5 [2021-03-17T04:40:44.511Z] Removing intermediate container bcec13a67dc5 [2021-03-17T04:40:44.511Z] ---> 45fbf0b3e98f [2021-03-17T04:40:44.511Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-17T04:40:44.511Z] ---> Running in 5330ef10b516 [2021-03-17T04:40:45.498Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-17T04:40:46.476Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-17T04:40:47.455Z] OK: 142 MiB in 39 packages [2021-03-17T04:40:48.891Z] Removing intermediate container 5330ef10b516 [2021-03-17T04:40:48.891Z] ---> 7898c3a2e530 [2021-03-17T04:40:48.891Z] Step 8/24 : COPY . . [2021-03-17T04:40:50.337Z] ---> 61e958bc790d [2021-03-17T04:40:50.337Z] Step 9/24 : RUN ${MAKE} [2021-03-17T04:40:50.337Z] ---> Running in 1da071caf518 [2021-03-17T04:40:51.316Z] 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:41:18.195Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-17T04:41:19.640Z] Removing intermediate container 1da071caf518 [2021-03-17T04:41:19.640Z] ---> 14f23e6411b2 [2021-03-17T04:41:19.640Z] Step 10/24 : FROM scratch [2021-03-17T04:41:19.640Z] ---> [2021-03-17T04:41:19.640Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-17T04:41:19.640Z] ---> Running in 973dbcf7421c [2021-03-17T04:41:20.234Z] Removing intermediate container 973dbcf7421c [2021-03-17T04:41:20.235Z] ---> 67c701ab23f2 [2021-03-17T04:41:20.235Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-17T04:41:20.235Z] ---> Running in 8ff3c08c5f08 [2021-03-17T04:41:20.506Z] Removing intermediate container 8ff3c08c5f08 [2021-03-17T04:41:20.506Z] ---> dbfdedbcb522 [2021-03-17T04:41:20.506Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-17T04:41:20.779Z] ---> Running in a1c8792c453e [2021-03-17T04:41:21.052Z] Removing intermediate container a1c8792c453e [2021-03-17T04:41:21.052Z] ---> 87febcbd04dd [2021-03-17T04:41:21.052Z] Step 14/24 : WORKDIR / [2021-03-17T04:41:21.324Z] ---> Running in f7b26ed2a394 [2021-03-17T04:41:21.599Z] Removing intermediate container f7b26ed2a394 [2021-03-17T04:41:21.599Z] ---> feab53866b13 [2021-03-17T04:41:21.599Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-17T04:41:23.035Z] ---> 9abb773d0305 [2021-03-17T04:41:23.035Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-17T04:41:23.632Z] ---> 2176cb1d75d0 [2021-03-17T04:41:23.632Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-17T04:41:24.238Z] ---> 7a200c1d950a [2021-03-17T04:41:24.238Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-17T04:41:24.842Z] ---> 4985f87ea659 [2021-03-17T04:41:24.842Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-17T04:41:25.820Z] ---> 7e73a77b2430 [2021-03-17T04:41:25.820Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-17T04:41:25.820Z] ---> Running in 5baaff42607f [2021-03-17T04:41:26.092Z] Removing intermediate container 5baaff42607f [2021-03-17T04:41:26.092Z] ---> 3fe631b3e250 [2021-03-17T04:41:26.364Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-17T04:41:26.364Z] ---> Running in cb3cc376f6b5 [2021-03-17T04:41:26.961Z] Removing intermediate container cb3cc376f6b5 [2021-03-17T04:41:26.961Z] ---> e295c5eae510 [2021-03-17T04:41:26.961Z] Step 22/24 : LABEL arch=arm64 [2021-03-17T04:41:26.961Z] ---> Running in c8982494a172 [2021-03-17T04:41:27.556Z] Removing intermediate container c8982494a172 [2021-03-17T04:41:27.556Z] ---> d5f4d72332fb [2021-03-17T04:41:27.556Z] Step 23/24 : LABEL git_sha=3a954dbae30259bfc5325554c625ed2efa43968b [2021-03-17T04:41:27.556Z] ---> Running in 824f9fe05307 [2021-03-17T04:41:28.153Z] Removing intermediate container 824f9fe05307 [2021-03-17T04:41:28.153Z] ---> 2e933b4156d2 [2021-03-17T04:41:28.153Z] Step 24/24 : LABEL version=0.0.0 [2021-03-17T04:41:28.153Z] ---> Running in 75224241a615 [2021-03-17T04:41:28.750Z] Removing intermediate container 75224241a615 [2021-03-17T04:41:28.750Z] ---> 174426881fbf [2021-03-17T04:41:28.750Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-17T04:41:28.750Z] Successfully built 174426881fbf [2021-03-17T04:41:28.750Z] 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:41:29.575Z] ---> job-cost.sh [2021-03-17T04:41:29.575Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-UDVa [2021-03-17T04:42:08.543Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-17T04:43:30.271Z] lf-activate-venv(): INFO: Adding /tmp/venv-UDVa/bin to PATH [2021-03-17T04:43:30.271Z] INFO: No Stack... [2021-03-17T04:43:30.271Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-17T04:43:30.543Z] INFO: Archiving Costs [Pipeline] sh [2021-03-17T04:43:30.884Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2021-03-17T04:43:30.884Z] + cut -d, -f6 [Pipeline] lock [2021-03-17T04:43:30.968Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-820-6-stack-cost] [2021-03-17T04:43:30.980Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-820-6-stack-cost] did not exist. Created. [2021-03-17T04:43:30.980Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-820-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-17T04:43:31.436Z] /w/workspace/device-sdk-go/6@tmp/durable-19c77caf/script.sh: 1: /w/workspace/device-sdk-go/6@tmp/durable-19c77caf/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-17T04:43:31.783Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-17T04:43:31.850Z] Warning: overwriting stash ‘stack-cost’ [2021-03-17T04:43:32.008Z] Stashed 1 file(s) [Pipeline] } [2021-03-17T04:43:32.022Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-820-6-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:43:33.508Z] provisioning config files... [2021-03-17T04:43:33.531Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/config9076323258274707299tmp [Pipeline] { [Pipeline] sh [2021-03-17T04:43:33.986Z] + set +x [2021-03-17T04:43:33.986Z] + bash -s -- [2021-03-17T04:43:33.986Z] + curl -s https://codecov.io/bash [2021-03-17T04:43:34.261Z] [2021-03-17T04:43:34.261Z] _____ _ [2021-03-17T04:43:34.261Z] / ____| | | [2021-03-17T04:43:34.261Z] | | ___ __| | ___ ___ _____ __ [2021-03-17T04:43:34.261Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-17T04:43:34.261Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-17T04:43:34.261Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-17T04:43:34.261Z] Bash-20210309-2b87ace [2021-03-17T04:43:34.261Z] [2021-03-17T04:43:34.261Z] [2021-03-17T04:43:34.261Z] ==> git version 2.24.3 found [2021-03-17T04:43:34.261Z] ==> 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:43:34.261Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-17T04:43:34.261Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-17T04:43:34.261Z] curl: option -sm: expected a proper numerical parameter [2021-03-17T04:43:34.261Z] curl: try 'curl --help' or 'curl --manual' for more information [2021-03-17T04:43:34.261Z] ==> Jenkins CI detected. [2021-03-17T04:43:34.544Z] project root: . [2021-03-17T04:43:34.545Z] --> token set from env [2021-03-17T04:43:34.545Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-17T04:43:34.545Z] ==> Running gcov in . (disable via -X gcov) [2021-03-17T04:43:34.545Z] ==> Python coveragepy not found [2021-03-17T04:43:34.545Z] ==> Searching for coverage reports in: [2021-03-17T04:43:34.545Z] + . [2021-03-17T04:43:34.545Z] -> Found 1 reports [2021-03-17T04:43:34.545Z] ==> Detecting git/mercurial file structure [2021-03-17T04:43:34.545Z] ==> Reading reports [2021-03-17T04:43:34.843Z] + ./coverage.out bytes=100014 [2021-03-17T04:43:34.843Z] ==> Appending adjustments [2021-03-17T04:43:34.843Z] https://docs.codecov.io/docs/fixing-reports [2021-03-17T04:43:35.931Z] + Found adjustments [2021-03-17T04:43:35.931Z] ==> Gzipping contents [2021-03-17T04:43:35.931Z] 16K /tmp/codecov.WBApA3.gz [2021-03-17T04:43:35.931Z] ==> Uploading reports [2021-03-17T04:43:35.931Z] url: https://codecov.io [2021-03-17T04:43:35.931Z] query: branch=PR-820&commit=3a954dbae30259bfc5325554c625ed2efa43968b&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-820%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=820&job=&cmd_args= [2021-03-17T04:43:35.931Z] -> Pinging Codecov [2021-03-17T04:43:35.931Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-820&commit=3a954dbae30259bfc5325554c625ed2efa43968b&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-820%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=820&job=&cmd_args= [2021-03-17T04:43:36.524Z] -> Uploading to [2021-03-17T04:43:36.525Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-17/7E55EF52A471D76F132DFD9A03CDDE97/3a954dbae30259bfc5325554c625ed2efa43968b/044865de-cb9c-4058-9bff-e88e5cea90af.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210317T044336Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b300f2e4c82a68c02bc1ccbd808b6e2bdd5942a88f00c57a4d0e6a4d5df0d1d1 [2021-03-17T04:43:36.525Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-17T04:43:36.525Z] Dload Upload Total Spent Left Speed [2021-03-17T04:43:36.797Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13495 0 0 100 13495 0 29015 --:--:-- --:--:-- --:--:-- 29084 [2021-03-17T04:43:36.798Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3a954dbae30259bfc5325554c625ed2efa43968b [Pipeline] } [2021-03-17T04:43:36.811Z] 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:43:39.429Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T04:43:40.021Z] ---> package-listing.sh [2021-03-17T04:43:40.021Z] ++ facter osfamily [2021-03-17T04:43:40.021Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-17T04:43:40.021Z] + OS_FAMILY=redhat [2021-03-17T04:43:40.021Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-820 [2021-03-17T04:43:40.021Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-17T04:43:40.021Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-17T04:43:40.021Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-17T04:43:40.021Z] + PACKAGES=/tmp/packages_start.txt [2021-03-17T04:43:40.021Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-820 ']' [2021-03-17T04:43:40.021Z] + PACKAGES=/tmp/packages_end.txt [2021-03-17T04:43:40.021Z] + case "${OS_FAMILY}" in [2021-03-17T04:43:40.021Z] + rpm -qa [2021-03-17T04:43:40.021Z] + sort [2021-03-17T04:43:46.698Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-17T04:43:46.698Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-17T04:43:46.698Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-17T04:43:46.698Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-820 ']' [2021-03-17T04:43:46.698Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-820/archives/ [2021-03-17T04:43:46.698Z] + 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:43:46.726Z] 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:43:47.073Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-17T04:43:47.451Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-17T04:43:47.716Z] [2021-03-17T04:43:47.716Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-17T04:43:48.085Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-17T04:43:48.085Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-17T04:43:48.085Z] df20fa9351a1: Pulling fs layer [2021-03-17T04:43:48.085Z] 36b3adc4ff6f: Pulling fs layer [2021-03-17T04:43:48.085Z] 8ad3a11d3b57: Pulling fs layer [2021-03-17T04:43:48.085Z] 46f8f816bc3b: Pulling fs layer [2021-03-17T04:43:48.085Z] 93b61091891f: Pulling fs layer [2021-03-17T04:43:48.085Z] 93b9cdb0e59b: Pulling fs layer [2021-03-17T04:43:48.085Z] 5e14af77c1be: Pulling fs layer [2021-03-17T04:43:48.085Z] 01666e4c0597: Pulling fs layer [2021-03-17T04:43:48.085Z] aa168da1d23b: Pulling fs layer [2021-03-17T04:43:48.085Z] 46f8f816bc3b: Waiting [2021-03-17T04:43:48.085Z] 93b61091891f: Waiting [2021-03-17T04:43:48.085Z] 93b9cdb0e59b: Waiting [2021-03-17T04:43:48.085Z] 5e14af77c1be: Waiting [2021-03-17T04:43:48.085Z] 01666e4c0597: Waiting [2021-03-17T04:43:48.085Z] aa168da1d23b: Waiting [2021-03-17T04:43:48.369Z] 36b3adc4ff6f: Verifying Checksum [2021-03-17T04:43:48.370Z] 36b3adc4ff6f: Download complete [2021-03-17T04:43:48.370Z] 46f8f816bc3b: Verifying Checksum [2021-03-17T04:43:48.370Z] 46f8f816bc3b: Download complete [2021-03-17T04:43:48.370Z] df20fa9351a1: Verifying Checksum [2021-03-17T04:43:48.370Z] df20fa9351a1: Download complete [2021-03-17T04:43:48.370Z] 93b9cdb0e59b: Verifying Checksum [2021-03-17T04:43:48.370Z] 93b9cdb0e59b: Download complete [2021-03-17T04:43:48.370Z] 5e14af77c1be: Verifying Checksum [2021-03-17T04:43:48.370Z] 5e14af77c1be: Download complete [2021-03-17T04:43:48.370Z] 93b61091891f: Download complete [2021-03-17T04:43:48.370Z] 01666e4c0597: Verifying Checksum [2021-03-17T04:43:48.370Z] 01666e4c0597: Download complete [2021-03-17T04:43:49.377Z] df20fa9351a1: Pull complete [2021-03-17T04:43:49.658Z] 8ad3a11d3b57: Verifying Checksum [2021-03-17T04:43:49.658Z] 8ad3a11d3b57: Download complete [2021-03-17T04:43:49.658Z] 36b3adc4ff6f: Pull complete [2021-03-17T04:43:51.680Z] 8ad3a11d3b57: Pull complete [2021-03-17T04:43:51.680Z] 46f8f816bc3b: Pull complete [2021-03-17T04:43:53.228Z] 93b61091891f: Pull complete [2021-03-17T04:43:53.831Z] aa168da1d23b: Verifying Checksum [2021-03-17T04:43:53.831Z] aa168da1d23b: Download complete [2021-03-17T04:43:54.112Z] 93b9cdb0e59b: Pull complete [2021-03-17T04:43:54.387Z] 5e14af77c1be: Pull complete [2021-03-17T04:43:55.018Z] 01666e4c0597: Pull complete [2021-03-17T04:44:13.651Z] aa168da1d23b: Pull complete [2021-03-17T04:44:13.651Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-17T04:44:13.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-17T04:44:13.651Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-17T04:44:13.932Z] prd-centos7-docker-4c-2g-30121 does not seem to be running inside a container [2021-03-17T04:44:13.998Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-17T04:44:17.687Z] $ docker top 4f14b0b87d8969bb428cfaeb51288b752081f3e562906adbce4af161d4a1a6ed -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-17T04:44:18.474Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-17T04:44:18.985Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-17T04:44:19.506Z] + ls /var/log/sa-host [2021-03-17T04:44:19.506Z] + sadf -c /var/log/sa-host/sa17 [2021-03-17T04:44:19.506Z] file_magic: OK [2021-03-17T04:44:19.506Z] HZ: Using current value: 100 [2021-03-17T04:44:19.506Z] file_header: OK [2021-03-17T04:44:19.506Z] 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:44:19.506Z] Statistics: [2021-03-17T04:44:19.506Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-17T04:44:19.506Z] File successfully converted to sysstat format version 12.2.1 [2021-03-17T04:44:19.520Z] + sadf -c /var/log/sa-host/sa23 [2021-03-17T04:44:19.520Z] file_magic: OK [2021-03-17T04:44:19.520Z] HZ: Using current value: 100 [2021-03-17T04:44:19.520Z] file_header: OK [2021-03-17T04:44:19.520Z] 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:44:19.520Z] Statistics: [2021-03-17T04:44:19.520Z] Hnuu...uuuununununu... [2021-03-17T04:44:19.520Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-17T04:44:20.309Z] provisioning config files... [2021-03-17T04:44:20.332Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/config6726848051491385442tmp [Pipeline] { [Pipeline] echo [2021-03-17T04:44:20.398Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T04:44:20.792Z] ---> create-netrc.sh [Pipeline] } [2021-03-17T04:44:21.080Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-17T04:44:21.174Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T04:44:21.590Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-17T04:44:21.603Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T04:44:21.955Z] ---> sudo-logs.sh [2021-03-17T04:44:21.955Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-17T04:44:22.017Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T04:44:22.342Z] ---> job-cost.sh [2021-03-17T04:44:22.343Z] lf-activate-venv: SKIPPING [2021-03-17T04:44:22.343Z] DEBUG: total: 0.20999999344348907 [2021-03-17T04:44:22.343Z] INFO: Retrieving Stack Cost... [2021-03-17T04:44:23.301Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-17T04:44:24.330Z] INFO: Archiving Costs [Pipeline] echo [2021-03-17T04:44:24.387Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T04:44:25.125Z] ---> logs-deploy.sh [2021-03-17T04:44:25.126Z] lf-activate-venv: SKIPPING [2021-03-17T04:44:25.126Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-820/6 [2021-03-17T04:44:25.126Z] INFO: archiving workspace using pattern(s): [2021-03-17T04:44:28.611Z] Archives upload complete. [2021-03-17T04:44:28.611Z] INFO: archiving logs to Nexus [2021-03-17T04:44:30.061Z] ---> uname -a: [2021-03-17T04:44:30.061Z] Linux prd-centos7-docker-4c-2g-30121.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-03-17T04:44:30.061Z] [2021-03-17T04:44:30.061Z] [2021-03-17T04:44:30.061Z] ---> lscpu: [2021-03-17T04:44:30.061Z] Architecture: x86_64 [2021-03-17T04:44:30.061Z] CPU op-mode(s): 32-bit, 64-bit [2021-03-17T04:44:30.061Z] Byte Order: Little Endian [2021-03-17T04:44:30.061Z] Address sizes: 40 bits physical, 48 bits virtual [2021-03-17T04:44:30.061Z] CPU(s): 4 [2021-03-17T04:44:30.061Z] On-line CPU(s) list: 0-3 [2021-03-17T04:44:30.061Z] Thread(s) per core: 1 [2021-03-17T04:44:30.061Z] Core(s) per socket: 1 [2021-03-17T04:44:30.061Z] Socket(s): 4 [2021-03-17T04:44:30.061Z] NUMA node(s): 1 [2021-03-17T04:44:30.061Z] Vendor ID: GenuineIntel [2021-03-17T04:44:30.061Z] CPU family: 6 [2021-03-17T04:44:30.061Z] Model: 44 [2021-03-17T04:44:30.061Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-03-17T04:44:30.061Z] Stepping: 1 [2021-03-17T04:44:30.061Z] CPU MHz: 2933.438 [2021-03-17T04:44:30.061Z] BogoMIPS: 5866.87 [2021-03-17T04:44:30.061Z] Virtualization: VT-x [2021-03-17T04:44:30.061Z] Hypervisor vendor: KVM [2021-03-17T04:44:30.061Z] Virtualization type: full [2021-03-17T04:44:30.061Z] L1d cache: 128 KiB [2021-03-17T04:44:30.061Z] L1i cache: 128 KiB [2021-03-17T04:44:30.061Z] L2 cache: 16 MiB [2021-03-17T04:44:30.061Z] L3 cache: 64 MiB [2021-03-17T04:44:30.061Z] NUMA node0 CPU(s): 0-3 [2021-03-17T04:44:30.061Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-03-17T04:44:30.061Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-03-17T04:44:30.061Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-03-17T04:44:30.061Z] Vulnerability Meltdown: Mitigation; PTI [2021-03-17T04:44:30.061Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-03-17T04:44:30.061Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-03-17T04:44:30.061Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-03-17T04:44:30.061Z] Vulnerability Srbds: Not affected [2021-03-17T04:44:30.061Z] Vulnerability Tsx async abort: Not affected [2021-03-17T04:44:30.061Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-03-17T04:44:30.061Z] [2021-03-17T04:44:30.061Z] [2021-03-17T04:44:30.061Z] ---> nproc: [2021-03-17T04:44:30.061Z] 4 [2021-03-17T04:44:30.061Z] [2021-03-17T04:44:30.061Z] [2021-03-17T04:44:30.061Z] ---> df -h: [2021-03-17T04:44:30.061Z] Filesystem Size Used Available Use% Mounted on [2021-03-17T04:44:30.061Z] overlay 50.0G 7.3G 42.7G 15% / [2021-03-17T04:44:30.061Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-03-17T04:44:30.061Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-03-17T04:44:30.061Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-03-17T04:44:30.061Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-03-17T04:44:30.061Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-03-17T04:44:30.061Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-03-17T04:44:30.061Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-03-17T04:44:30.061Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-03-17T04:44:30.061Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-03-17T04:44:30.061Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-03-17T04:44:30.061Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-03-17T04:44:30.061Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-820 [2021-03-17T04:44:30.061Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp [2021-03-17T04:44:30.061Z] [2021-03-17T04:44:30.061Z]