Pull request #794 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f+859d05bb29d195830a2bef80ceacb337f49ed4c7 (141fcb615ee9f3f326a65257f35a270b2e7e747f) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 5a4b2863d981ac6c14e44fa4f963a690d64f08cf Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 5a4b2863d981ac6c14e44fa4f963a690d64f08cf using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 5a4b2863d981ac6c14e44fa4f963a690d64f08cf (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5a4b2863d981ac6c14e44fa4f963a690d64f08cf # timeout=10 Commit message: "Merge pull request #318 from MightyNerdEric/parallelCostCapture" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-27021’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-27399’ is offline; ‘prd-centos7-docker-4c-2g-27410’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-27412 in /w/workspace/dgexfoundry_device-sdk-go_PR-794 [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-794 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/794/head:refs/remotes/origin/PR-794 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 859d05bb29d195830a2bef80ceacb337f49ed4c7 into PR head commit ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f Merge succeeded, producing ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f Checking out Revision ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f (PR-794) > git config core.sparsecheckout # timeout=10 > git checkout -f ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 859d05bb29d195830a2bef80ceacb337f49ed4c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-23T23:27:37.448Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-23T23:27:37.665Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk cf1e79a50c13038e4678ee9448babdfd976f7249 # timeout=10 [Pipeline] echo [2021-02-23T23:27:37.757Z] ========================================================= [2021-02-23T23:27:37.757Z] EdgeX Global Pipelines Version Info [2021-02-23T23:27:37.757Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:27:41.764Z] ------------------- [2021-02-23T23:27:41.764Z] stable info: [2021-02-23T23:27:41.764Z] ------------------- [2021-02-23T23:27:41.764Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-23T23:27:41.764Z] Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [2021-02-23T23:27:41.764Z] Message: update stable to v1.0.181 [2021-02-23T23:27:43.669Z] ------------------- [2021-02-23T23:27:43.669Z] experimental info: [2021-02-23T23:27:43.669Z] ------------------- [2021-02-23T23:27:43.669Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-02-23T23:27:43.669Z] Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [2021-02-23T23:27:43.669Z] Message: update experimental to v1.0.181 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-23T23:27:44.083Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-23T23:27:44.236Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-23T23:27:44.335Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-23T23:27:44.421Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-23T23:27:44.505Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-23T23:27:44.587Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-23T23:27:44.676Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-23T23:27:44.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-23T23:27:44.844Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-23T23:27:44.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-23T23:27:45.005Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-23T23:27:45.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-23T23:27:45.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-23T23:27:45.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-23T23:27:45.360Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-23T23:27:45.442Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-23T23:27:45.523Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-23T23:27:45.635Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-23T23:27:45.716Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-23T23:27:45.808Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-23T23:27:45.891Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-23T23:27:45.979Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-23T23:27:46.061Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-23T23:27:46.159Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-23T23:27:46.244Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-23T23:27:46.327Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-794 [Pipeline] echo [2021-02-23T23:27:46.423Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-794 [Pipeline] echo [2021-02-23T23:27:46.533Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-794 [Pipeline] echo [2021-02-23T23:27:46.616Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f [Pipeline] echo [2021-02-23T23:27:46.704Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ac19e11 [Pipeline] echo [2021-02-23T23:27:46.789Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-23T23:27:47.067Z] provisioning config files... [2021-02-23T23:27:47.111Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/config7057223420753745311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:27:47.964Z] ---> docker-login.sh [2021-02-23T23:27:47.964Z] nexus3.edgexfoundry.org:10001 [2021-02-23T23:27:49.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:27:50.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:27:50.217Z] Configure a credential helper to remove this warning. See [2021-02-23T23:27:50.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:27:50.217Z] [2021-02-23T23:27:50.217Z] Login Succeeded [2021-02-23T23:27:50.217Z] nexus3.edgexfoundry.org:10002 [2021-02-23T23:27:51.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:27:51.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:27:51.938Z] Configure a credential helper to remove this warning. See [2021-02-23T23:27:51.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:27:51.938Z] [2021-02-23T23:27:51.938Z] Login Succeeded [2021-02-23T23:27:51.938Z] nexus3.edgexfoundry.org:10003 [2021-02-23T23:27:52.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:27:52.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:27:52.663Z] Configure a credential helper to remove this warning. See [2021-02-23T23:27:52.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:27:52.663Z] [2021-02-23T23:27:52.663Z] Login Succeeded [2021-02-23T23:27:53.030Z] nexus3.edgexfoundry.org:10004 [2021-02-23T23:27:53.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:27:53.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:27:53.030Z] Configure a credential helper to remove this warning. See [2021-02-23T23:27:53.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:27:53.030Z] [2021-02-23T23:27:53.584Z] Login Succeeded [2021-02-23T23:27:53.584Z] docker.io [2021-02-23T23:27:53.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:27:54.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:27:54.629Z] Configure a credential helper to remove this warning. See [2021-02-23T23:27:54.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:27:54.629Z] [2021-02-23T23:27:54.629Z] Login Succeeded [2021-02-23T23:27:54.629Z] ---> docker-login.sh ends [Pipeline] } [2021-02-23T23:27:54.679Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-23T23:27:56.151Z] + git log --format=format:%s -1 ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f [Pipeline] echo [2021-02-23T23:27:56.649Z] GIT_COMMIT: ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-02-23T23:27:56.690Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:27:57.659Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T23:27:57.659Z] [2021-02-23T23:27:57.659Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:27:58.404Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T23:27:58.812Z] latest: Pulling from edgex-devops/git-semver [2021-02-23T23:27:58.812Z] 31603596830f: Pulling fs layer [2021-02-23T23:27:58.812Z] 2a8b12db71e7: Pulling fs layer [2021-02-23T23:27:58.812Z] 6ca5941a6612: Pulling fs layer [2021-02-23T23:27:58.812Z] ecc8261a40a4: Pulling fs layer [2021-02-23T23:27:58.812Z] ecc8261a40a4: Waiting [2021-02-23T23:27:59.113Z] 2a8b12db71e7: Verifying Checksum [2021-02-23T23:27:59.113Z] 2a8b12db71e7: Download complete [2021-02-23T23:27:59.469Z] 31603596830f: Verifying Checksum [2021-02-23T23:27:59.469Z] 31603596830f: Download complete [2021-02-23T23:28:00.557Z] ecc8261a40a4: Verifying Checksum [2021-02-23T23:28:00.557Z] ecc8261a40a4: Download complete [2021-02-23T23:28:00.557Z] 6ca5941a6612: Verifying Checksum [2021-02-23T23:28:00.557Z] 6ca5941a6612: Download complete [2021-02-23T23:28:00.921Z] 31603596830f: Pull complete [2021-02-23T23:28:01.546Z] 2a8b12db71e7: Pull complete [2021-02-23T23:28:03.226Z] 6ca5941a6612: Pull complete [2021-02-23T23:28:06.195Z] ecc8261a40a4: Pull complete [2021-02-23T23:28:06.195Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-23T23:28:06.195Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T23:28:06.195Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-23T23:28:06.762Z] prd-centos7-docker-4c-2g-27412 does not seem to be running inside a container [2021-02-23T23:28:07.409Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-794 -v /w/workspace/dgexfoundry_device-sdk-go_PR-794:/w/workspace/dgexfoundry_device-sdk-go_PR-794:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-794@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-23T23:28:10.016Z] $ docker top 42510b6917bb34a55d47affbaa71400662ccad4876034f2d97d41ffd06e0a186 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-23T23:28:10.465Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-23T23:28:10.465Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-23T23:28:10.856Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-23T23:28:10.868Z] $ docker exec 42510b6917bb34a55d47affbaa71400662ccad4876034f2d97d41ffd06e0a186 ssh-agent [2021-02-23T23:28:11.122Z] SSH_AUTH_SOCK=/tmp/ssh-j11FymQAFcHd/agent.12 [2021-02-23T23:28:11.122Z] SSH_AGENT_PID=17 [2021-02-23T23:28:11.136Z] Running ssh-add (command line suppressed) [2021-02-23T23:28:11.319Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/private_key_6157113042715024202.key (/w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/private_key_6157113042715024202.key) [2021-02-23T23:28:11.393Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-23T23:28:11.796Z] + git tag --points-at HEAD [Pipeline] } [2021-02-23T23:28:11.824Z] $ docker exec --env ******** --env ******** 42510b6917bb34a55d47affbaa71400662ccad4876034f2d97d41ffd06e0a186 ssh-agent -k [2021-02-23T23:28:12.139Z] unset SSH_AUTH_SOCK; [2021-02-23T23:28:12.139Z] unset SSH_AGENT_PID; [2021-02-23T23:28:12.140Z] echo Agent pid 17 killed; [2021-02-23T23:28:12.427Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-23T23:28:12.698Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-23T23:28:12.698Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-23T23:28:13.626Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-23T23:28:13.640Z] $ docker exec 42510b6917bb34a55d47affbaa71400662ccad4876034f2d97d41ffd06e0a186 ssh-agent [2021-02-23T23:28:14.663Z] SSH_AUTH_SOCK=/tmp/ssh-s06mQkxZJIUN/agent.47 [2021-02-23T23:28:14.663Z] SSH_AGENT_PID=52 [2021-02-23T23:28:14.671Z] Running ssh-add (command line suppressed) [2021-02-23T23:28:14.881Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/private_key_2083332828336389124.key (/w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/private_key_2083332828336389124.key) [2021-02-23T23:28:15.092Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-23T23:28:16.111Z] + git semver init [2021-02-23T23:28:16.111Z] # -> Open(): unable to determine branch for HEAD [2021-02-23T23:28:16.111Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-794/.git [2021-02-23T23:28:16.111Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-794 [2021-02-23T23:28:16.111Z] # $SEMVER_REMOTE_NAME = origin [2021-02-23T23:28:16.111Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-23T23:28:16.111Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-23T23:28:16.111Z] # $SEMVER_BRANCH = PR-794 [2021-02-23T23:28:16.111Z] # $SEMVER_TEMP = /tmp/semver-771691278 [2021-02-23T23:28:16.111Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-23T23:28:17.807Z] # '/tmp/semver-771691278' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-794/.semver' [2021-02-23T23:28:17.807Z] # -> Force: false [2021-02-23T23:28:17.807Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-794/.semver [Pipeline] } [2021-02-23T23:28:17.829Z] $ docker exec --env ******** --env ******** 42510b6917bb34a55d47affbaa71400662ccad4876034f2d97d41ffd06e0a186 ssh-agent -k [2021-02-23T23:28:18.309Z] unset SSH_AUTH_SOCK; [2021-02-23T23:28:18.309Z] unset SSH_AGENT_PID; [2021-02-23T23:28:18.309Z] echo Agent pid 52 killed; [2021-02-23T23:28:18.405Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-23T23:28:19.601Z] + git semver [Pipeline] } [2021-02-23T23:28:19.705Z] $ docker stop --time=1 42510b6917bb34a55d47affbaa71400662ccad4876034f2d97d41ffd06e0a186 [2021-02-23T23:28:21.502Z] $ docker rm -f 42510b6917bb34a55d47affbaa71400662ccad4876034f2d97d41ffd06e0a186 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-23T23:28:22.136Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-23T23:28:25.515Z] Stashed 1 file(s) [Pipeline] echo [2021-02-23T23:28:25.518Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-02-23T23:28:41.044Z] Still waiting to schedule task [2021-02-23T23:28:41.044Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-23T23:28:41.047Z] Still waiting to schedule task [2021-02-23T23:28:41.047Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-02-23T23:31:19.941Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27415 in /w/workspace/dgexfoundry_device-sdk-go_PR-794 [Pipeline] { [Pipeline] ws [2021-02-23T23:31:20.066Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-02-23T23:31:25.543Z] using credential edgex-jenkins-ssh [2021-02-23T23:31:25.647Z] Cloning the remote Git repository [2021-02-23T23:31:25.716Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T23:31:25.830Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-02-23T23:31:25.920Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T23:31:25.921Z] > git --version # timeout=10 [2021-02-23T23:31:25.947Z] > git --version # 'git version 2.17.1' [2021-02-23T23:31:25.949Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T23:31:26.025Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T23:31:27.179Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-23T23:31:27.221Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T23:31:27.318Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-23T23:31:27.372Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T23:31:27.373Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T23:31:27.386Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/794/head:refs/remotes/origin/PR-794 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-23T23:31:27.915Z] Merging remotes/origin/master commit 859d05bb29d195830a2bef80ceacb337f49ed4c7 into PR head commit ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f [2021-02-23T23:31:28.319Z] Merge succeeded, producing ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f [2021-02-23T23:31:28.319Z] Checking out Revision ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f (PR-794) [2021-02-23T23:31:27.937Z] > git config core.sparsecheckout # timeout=10 [2021-02-23T23:31:27.953Z] > git checkout -f ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f # timeout=10 [2021-02-23T23:31:28.074Z] > git remote # timeout=10 [2021-02-23T23:31:28.154Z] > git config --get remote.origin.url # timeout=10 [2021-02-23T23:31:28.206Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T23:31:28.227Z] > git merge 859d05bb29d195830a2bef80ceacb337f49ed4c7 # timeout=10 [2021-02-23T23:31:28.276Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-23T23:31:28.327Z] > git config core.sparsecheckout # timeout=10 [2021-02-23T23:31:28.354Z] > git checkout -f ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f # timeout=10 [2021-02-23T23:31:32.674Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-23T23:31:34.295Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-23T23:31:34.709Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-23T23:31:35.063Z] + true [2021-02-23T23:31:35.063Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-23T23:31:37.759Z] provisioning config files... [2021-02-23T23:31:37.803Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4270023205002172595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:31:38.221Z] ---> docker-login.sh [2021-02-23T23:31:38.221Z] nexus3.edgexfoundry.org:10001 [2021-02-23T23:31:39.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:31:39.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:31:39.512Z] Configure a credential helper to remove this warning. See [2021-02-23T23:31:39.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:31:39.512Z] [2021-02-23T23:31:39.512Z] Login Succeeded [2021-02-23T23:31:39.512Z] nexus3.edgexfoundry.org:10002 [2021-02-23T23:31:39.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:31:40.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:31:40.079Z] Configure a credential helper to remove this warning. See [2021-02-23T23:31:40.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:31:40.079Z] [2021-02-23T23:31:40.079Z] Login Succeeded [2021-02-23T23:31:40.079Z] nexus3.edgexfoundry.org:10003 [2021-02-23T23:31:40.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:31:40.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:31:40.626Z] Configure a credential helper to remove this warning. See [2021-02-23T23:31:40.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:31:40.626Z] [2021-02-23T23:31:40.626Z] Login Succeeded [2021-02-23T23:31:40.626Z] nexus3.edgexfoundry.org:10004 [2021-02-23T23:31:40.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:31:41.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:31:41.172Z] Configure a credential helper to remove this warning. See [2021-02-23T23:31:41.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:31:41.172Z] [2021-02-23T23:31:41.172Z] Login Succeeded [2021-02-23T23:31:41.172Z] docker.io [2021-02-23T23:31:41.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:31:41.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:31:41.715Z] Configure a credential helper to remove this warning. See [2021-02-23T23:31:41.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:31:41.715Z] [2021-02-23T23:31:41.715Z] Login Succeeded [2021-02-23T23:31:41.715Z] ---> docker-login.sh ends [Pipeline] } [2021-02-23T23:31:41.731Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-23T23:31:42.233Z] ========================================================= [2021-02-23T23:31:42.233Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-23T23:31:42.233Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:31:42.622Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-02-23T23:31:42.903Z] Sending build context to Docker daemon 2.397MB [2021-02-23T23:31:42.903Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-23T23:31:42.903Z] Step 2/8 : FROM ${BASE} [2021-02-23T23:31:43.182Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-23T23:31:43.182Z] 5f621e34cdf4: Pulling fs layer [2021-02-23T23:31:43.182Z] a4357932f1b6: Pulling fs layer [2021-02-23T23:31:43.182Z] 18c013af1878: Pulling fs layer [2021-02-23T23:31:43.182Z] 00ac8860ef70: Pulling fs layer [2021-02-23T23:31:43.182Z] 63d7cb157983: Pulling fs layer [2021-02-23T23:31:43.182Z] b116817d02f9: Pulling fs layer [2021-02-23T23:31:43.182Z] 745a02a5169b: Pulling fs layer [2021-02-23T23:31:43.182Z] 63d7cb157983: Waiting [2021-02-23T23:31:43.182Z] b116817d02f9: Waiting [2021-02-23T23:31:43.182Z] 745a02a5169b: Waiting [2021-02-23T23:31:43.182Z] 00ac8860ef70: Waiting [2021-02-23T23:31:43.182Z] 18c013af1878: Download complete [2021-02-23T23:31:43.182Z] a4357932f1b6: Verifying Checksum [2021-02-23T23:31:43.182Z] a4357932f1b6: Download complete [2021-02-23T23:31:43.182Z] 63d7cb157983: Verifying Checksum [2021-02-23T23:31:43.182Z] 63d7cb157983: Download complete [2021-02-23T23:31:43.182Z] b116817d02f9: Verifying Checksum [2021-02-23T23:31:43.182Z] b116817d02f9: Download complete [2021-02-23T23:31:43.784Z] 5f621e34cdf4: Verifying Checksum [2021-02-23T23:31:44.792Z] 5f621e34cdf4: Pull complete [2021-02-23T23:31:45.389Z] a4357932f1b6: Pull complete [2021-02-23T23:31:45.990Z] 18c013af1878: Pull complete [2021-02-23T23:31:46.261Z] 745a02a5169b: Download complete [2021-02-23T23:31:47.693Z] 00ac8860ef70: Verifying Checksum [2021-02-23T23:31:47.693Z] 00ac8860ef70: Download complete [2021-02-23T23:31:57.848Z] 00ac8860ef70: Pull complete [2021-02-23T23:31:57.848Z] 63d7cb157983: Pull complete [2021-02-23T23:31:57.848Z] b116817d02f9: Pull complete [2021-02-23T23:32:01.250Z] 745a02a5169b: Pull complete [2021-02-23T23:32:01.250Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-23T23:32:01.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-23T23:32:01.250Z] ---> b7e6874047d6 [2021-02-23T23:32:01.250Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T23:32:04.659Z] ---> Running in 478e432da516 [2021-02-23T23:32:04.659Z] Removing intermediate container 478e432da516 [2021-02-23T23:32:04.659Z] ---> a4d001192235 [2021-02-23T23:32:04.659Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-23T23:32:04.659Z] ---> Running in fe71b96e14cc [2021-02-23T23:32:07.283Z] Removing intermediate container fe71b96e14cc [2021-02-23T23:32:07.283Z] ---> b9eea327d9f9 [2021-02-23T23:32:07.283Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-23T23:32:07.559Z] ---> Running in 0025824dba5d [2021-02-23T23:32:09.021Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-23T23:32:09.619Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-23T23:32:11.055Z] OK: 142 MiB in 39 packages [2021-02-23T23:32:12.500Z] Removing intermediate container 0025824dba5d [2021-02-23T23:32:12.500Z] ---> 1aef8164c0f2 [2021-02-23T23:32:12.500Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-23T23:32:12.500Z] ---> Running in f3381438bd4f [2021-02-23T23:32:13.102Z] Removing intermediate container f3381438bd4f [2021-02-23T23:32:13.102Z] ---> f922436da826 [2021-02-23T23:32:13.102Z] Step 7/8 : COPY . . [2021-02-23T23:32:14.550Z] ---> a75823190990 [2021-02-23T23:32:14.550Z] Step 8/8 : RUN go mod download [2021-02-23T23:32:14.550Z] ---> Running in f72c81375e67 [2021-02-23T23:32:23.796Z] Running on prd-centos7-docker-4c-2g-27416 in /w/workspace/dgexfoundry_device-sdk-go_PR-794 [Pipeline] { [Pipeline] ws [2021-02-23T23:32:23.855Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-02-23T23:32:40.879Z] using credential edgex-jenkins-ssh [2021-02-23T23:32:41.028Z] Cloning the remote Git repository [2021-02-23T23:32:41.386Z] Removing intermediate container f72c81375e67 [2021-02-23T23:32:41.386Z] ---> 6e6282cb3622 [2021-02-23T23:32:41.386Z] Successfully built 6e6282cb3622 [2021-02-23T23:32:41.386Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:32:41.734Z] + docker inspect -f . ci-base-image-arm64 [2021-02-23T23:32:41.734Z] . [Pipeline] withDockerContainer [2021-02-23T23:32:41.105Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T23:32:41.247Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-02-23T23:32:42.039Z] prd-ubuntu18.04-docker-arm64-4c-16g-27415 does not seem to be running inside a container [2021-02-23T23:32:42.143Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-23T23:32:43.915Z] $ docker top 6d5a66669409ca46e40b9c128c4c19ba1958c79e8dc829d322318c5beee9c56f -eo pid,comm [2021-02-23T23:32:42.130Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T23:32:42.130Z] > git --version # timeout=10 [2021-02-23T23:32:42.191Z] > git --version # 'git version 2.24.3' [2021-02-23T23:32:42.192Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T23:32:42.321Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T23:32:43.685Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [Pipeline] { [Pipeline] sh [2021-02-23T23:32:44.974Z] + go version [2021-02-23T23:32:44.974Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-23T23:32:45.009Z] $ docker stop --time=1 6d5a66669409ca46e40b9c128c4c19ba1958c79e8dc829d322318c5beee9c56f [2021-02-23T23:32:45.238Z] Merging remotes/origin/master commit 859d05bb29d195830a2bef80ceacb337f49ed4c7 into PR head commit ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f [2021-02-23T23:32:44.313Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T23:32:44.491Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-23T23:32:44.609Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T23:32:44.610Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T23:32:44.687Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/794/head:refs/remotes/origin/PR-794 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-23T23:32:45.256Z] > git config core.sparsecheckout # timeout=10 [2021-02-23T23:32:45.293Z] > git checkout -f ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f # timeout=10 [2021-02-23T23:32:45.547Z] > git remote # timeout=10 [2021-02-23T23:32:45.619Z] > git config --get remote.origin.url # timeout=10 [2021-02-23T23:32:46.370Z] Merge succeeded, producing ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f [2021-02-23T23:32:46.370Z] Checking out Revision ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f (PR-794) [2021-02-23T23:32:47.107Z] $ docker rm -f 6d5a66669409ca46e40b9c128c4c19ba1958c79e8dc829d322318c5beee9c56f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2021-02-23T23:32:45.809Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T23:32:46.010Z] > git merge 859d05bb29d195830a2bef80ceacb337f49ed4c7 # timeout=10 [2021-02-23T23:32:46.317Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-23T23:32:46.388Z] > git config core.sparsecheckout # timeout=10 [2021-02-23T23:32:46.431Z] > git checkout -f ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:32:48.105Z] + docker inspect -f . ci-base-image-arm64 [2021-02-23T23:32:48.105Z] . [Pipeline] withDockerContainer [2021-02-23T23:32:48.395Z] prd-ubuntu18.04-docker-arm64-4c-16g-27415 does not seem to be running inside a container [2021-02-23T23:32:48.489Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-23T23:32:50.073Z] $ docker top 6e9f058d4909984643191f981f9bd891de6fa15e683ba0cdf2ac0b4129db00be -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T23:32:51.126Z] + make test [2021-02-23T23:32:51.126Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-23T23:32:52.524Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-23T23:32:55.448Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-23T23:32:56.676Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-23T23:32:57.161Z] + sudo service docker restart [2021-02-23T23:32:57.161Z] + true [2021-02-23T23:32:57.161Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-23T23:33:00.078Z] provisioning config files... [2021-02-23T23:33:00.116Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2042199221036287670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:33:00.906Z] ---> docker-login.sh [2021-02-23T23:33:00.906Z] nexus3.edgexfoundry.org:10001 [2021-02-23T23:33:01.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:33:01.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:33:01.945Z] Configure a credential helper to remove this warning. See [2021-02-23T23:33:01.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:33:01.945Z] [2021-02-23T23:33:01.945Z] Login Succeeded [2021-02-23T23:33:01.945Z] nexus3.edgexfoundry.org:10002 [2021-02-23T23:33:02.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:33:03.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:33:03.043Z] Configure a credential helper to remove this warning. See [2021-02-23T23:33:03.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:33:03.043Z] [2021-02-23T23:33:03.043Z] Login Succeeded [2021-02-23T23:33:03.043Z] nexus3.edgexfoundry.org:10003 [2021-02-23T23:33:03.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:33:04.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:33:04.246Z] Configure a credential helper to remove this warning. See [2021-02-23T23:33:04.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:33:04.246Z] [2021-02-23T23:33:04.246Z] Login Succeeded [2021-02-23T23:33:04.246Z] nexus3.edgexfoundry.org:10004 [2021-02-23T23:33:04.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:33:04.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:33:04.555Z] Configure a credential helper to remove this warning. See [2021-02-23T23:33:04.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:33:04.555Z] [2021-02-23T23:33:04.555Z] Login Succeeded [2021-02-23T23:33:04.555Z] docker.io [2021-02-23T23:33:05.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:33:05.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:33:05.666Z] Configure a credential helper to remove this warning. See [2021-02-23T23:33:05.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:33:05.666Z] [2021-02-23T23:33:05.666Z] Login Succeeded [2021-02-23T23:33:05.666Z] ---> docker-login.sh ends [Pipeline] } [2021-02-23T23:33:05.724Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-23T23:33:07.125Z] ========================================================= [2021-02-23T23:33:07.125Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-23T23:33:07.125Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:33:08.306Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-02-23T23:33:09.189Z] Sending build context to Docker daemon 2.407MB [2021-02-23T23:33:09.190Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-23T23:33:09.190Z] Step 2/8 : FROM ${BASE} [2021-02-23T23:33:09.467Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-23T23:33:09.467Z] 188c0c94c7c5: Pulling fs layer [2021-02-23T23:33:09.467Z] 0ef7d3d256c8: Pulling fs layer [2021-02-23T23:33:09.467Z] de9db76c5a1d: Pulling fs layer [2021-02-23T23:33:09.467Z] bca2f99d35d6: Pulling fs layer [2021-02-23T23:33:09.467Z] 93359f2a8cfa: Pulling fs layer [2021-02-23T23:33:09.467Z] 7c6f9722023f: Pulling fs layer [2021-02-23T23:33:09.467Z] a35cf1a2eb13: Pulling fs layer [2021-02-23T23:33:09.467Z] bca2f99d35d6: Waiting [2021-02-23T23:33:09.467Z] 93359f2a8cfa: Waiting [2021-02-23T23:33:09.467Z] 7c6f9722023f: Waiting [2021-02-23T23:33:09.467Z] a35cf1a2eb13: Waiting [2021-02-23T23:33:09.467Z] de9db76c5a1d: Verifying Checksum [2021-02-23T23:33:09.467Z] de9db76c5a1d: Download complete [2021-02-23T23:33:09.467Z] 0ef7d3d256c8: Verifying Checksum [2021-02-23T23:33:09.467Z] 0ef7d3d256c8: Download complete [2021-02-23T23:33:09.467Z] 93359f2a8cfa: Verifying Checksum [2021-02-23T23:33:09.467Z] 93359f2a8cfa: Download complete [2021-02-23T23:33:10.331Z] 7c6f9722023f: Verifying Checksum [2021-02-23T23:33:10.331Z] 7c6f9722023f: Download complete [2021-02-23T23:33:13.009Z] 188c0c94c7c5: Verifying Checksum [2021-02-23T23:33:13.009Z] 188c0c94c7c5: Download complete [2021-02-23T23:33:13.306Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-23T23:33:13.562Z] 188c0c94c7c5: Pull complete [2021-02-23T23:33:14.235Z] 0ef7d3d256c8: Pull complete [2021-02-23T23:33:15.881Z] de9db76c5a1d: Pull complete [2021-02-23T23:33:25.536Z] a35cf1a2eb13: Download complete [2021-02-23T23:33:30.388Z] bca2f99d35d6: Verifying Checksum [2021-02-23T23:33:30.388Z] bca2f99d35d6: Download complete [2021-02-23T23:33:50.456Z] bca2f99d35d6: Pull complete [2021-02-23T23:33:50.456Z] 93359f2a8cfa: Pull complete [2021-02-23T23:33:50.456Z] 7c6f9722023f: Pull complete [2021-02-23T23:33:58.413Z] a35cf1a2eb13: Pull complete [2021-02-23T23:33:58.413Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-23T23:33:58.413Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-23T23:33:58.413Z] ---> a62c8e92a672 [2021-02-23T23:33:58.413Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T23:33:58.413Z] ---> Running in 2901ec9a68e0 [2021-02-23T23:33:58.413Z] Removing intermediate container 2901ec9a68e0 [2021-02-23T23:33:58.413Z] ---> 1974edecfd96 [2021-02-23T23:33:58.413Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-23T23:33:58.413Z] ---> Running in 1388803ade25 [2021-02-23T23:34:00.301Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-23T23:34:00.301Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-23T23:34:00.301Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-23T23:34:00.301Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.135s coverage: 25.5% of statements [2021-02-23T23:34:02.256Z] Removing intermediate container 1388803ade25 [2021-02-23T23:34:02.256Z] ---> e7ea868d556e [2021-02-23T23:34:02.256Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-23T23:34:03.008Z] ---> Running in 16903b50001b [2021-02-23T23:34:05.257Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-23T23:34:05.740Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-23T23:34:06.843Z] OK: 166 MiB in 39 packages [2021-02-23T23:34:08.233Z] Removing intermediate container 16903b50001b [2021-02-23T23:34:08.233Z] ---> 21bd7268fdb3 [2021-02-23T23:34:08.233Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-23T23:34:08.233Z] ---> Running in 191bf7d43fa5 [2021-02-23T23:34:09.070Z] Removing intermediate container 191bf7d43fa5 [2021-02-23T23:34:09.070Z] ---> 3368f3b2f726 [2021-02-23T23:34:09.070Z] Step 7/8 : COPY . . [2021-02-23T23:34:11.320Z] ---> 6c7141675270 [2021-02-23T23:34:11.320Z] Step 8/8 : RUN go mod download [2021-02-23T23:34:11.631Z] ---> Running in 80c453dc2960 [2021-02-23T23:34:32.685Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.119s coverage: 10.1% of statements [2021-02-23T23:34:32.685Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.115s coverage: 12.5% of statements [2021-02-23T23:34:32.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-23T23:34:32.685Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.192s coverage: 84.8% of statements [2021-02-23T23:34:32.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-23T23:34:32.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-23T23:34:32.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-23T23:34:32.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-23T23:34:32.685Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.209s coverage: 49.2% of statements [2021-02-23T23:34:32.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-23T23:34:32.685Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.151s coverage: 81.3% of statements [2021-02-23T23:34:32.685Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.196s coverage: 24.8% of statements [2021-02-23T23:34:32.685Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.725s coverage: 83.5% of statements [2021-02-23T23:34:32.685Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.130s coverage: 5.3% of statements [2021-02-23T23:34:32.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-23T23:34:32.685Z] GO111MODULE=on go vet ./... [2021-02-23T23:35:02.651Z] Removing intermediate container 80c453dc2960 [2021-02-23T23:35:02.651Z] ---> 6d125f4c76cc [2021-02-23T23:35:02.651Z] Successfully built 6d125f4c76cc [2021-02-23T23:35:02.651Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:35:03.075Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-23T23:35:03.856Z] . [Pipeline] withDockerContainer [2021-02-23T23:35:04.834Z] prd-centos7-docker-4c-2g-27416 does not seem to be running inside a container [2021-02-23T23:35:05.061Z] gofmt -l . [2021-02-23T23:35:05.061Z] [ "`gofmt -l .`" = "" ] [2021-02-23T23:35:05.061Z] ./bin/test-attribution-txt.sh [2021-02-23T23:35:05.061Z] ./bin/test-go-mod-tidy.sh [2021-02-23T23:35:05.250Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-23T23:35:07.550Z] $ docker top 71d171805b3f19d5847f31b42dfe6291b25ca9c35a638c163278d8adf163e49e -eo pid,comm [Pipeline] { [Pipeline] } [2021-02-23T23:35:08.142Z] $ docker stop --time=1 6e9f058d4909984643191f981f9bd891de6fa15e683ba0cdf2ac0b4129db00be [2021-02-23T23:35:10.273Z] $ docker rm -f 6e9f058d4909984643191f981f9bd891de6fa15e683ba0cdf2ac0b4129db00be [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-02-23T23:35:11.331Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-23T23:35:12.033Z] + go version [2021-02-23T23:35:12.364Z] go version go1.15.5 linux/amd64 [2021-02-23T23:35:12.422Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] } [2021-02-23T23:35:12.588Z] $ docker stop --time=1 71d171805b3f19d5847f31b42dfe6291b25ca9c35a638c163278d8adf163e49e [2021-02-23T23:35:14.749Z] $ docker rm -f 71d171805b3f19d5847f31b42dfe6291b25ca9c35a638c163278d8adf163e49e [Pipeline] // stage [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:35:16.854Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-23T23:35:17.100Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-23T23:35:17.100Z] . [Pipeline] withDockerContainer [2021-02-23T23:35:17.236Z] + ls -al . [2021-02-23T23:35:17.237Z] total 220 [2021-02-23T23:35:17.237Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 23:35 . [2021-02-23T23:35:17.237Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 23:31 .. [2021-02-23T23:35:17.237Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 23 23:31 .dockerignore [2021-02-23T23:35:17.237Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 23:31 .git [2021-02-23T23:35:17.237Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 23:31 .github [2021-02-23T23:35:17.237Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 23 23:31 .gitignore [2021-02-23T23:35:17.237Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 23 23:31 Dockerfile.build [2021-02-23T23:35:17.237Z] -rw-rw-r-- 1 jenkins jenkins 901 Feb 23 23:31 Jenkinsfile [2021-02-23T23:35:17.237Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 23 23:31 LICENSE [2021-02-23T23:35:17.237Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 23 23:31 Makefile [2021-02-23T23:35:17.237Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 23 23:31 README.md [2021-02-23T23:35:17.237Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 23 23:31 RELEASE-NOTES.txt [2021-02-23T23:35:17.237Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 23 23:28 VERSION [2021-02-23T23:35:17.237Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 23:31 bin [2021-02-23T23:35:17.237Z] -rw-r--r-- 1 jenkins jenkins 101757 Feb 23 23:34 coverage.out [2021-02-23T23:35:17.237Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 23:31 example [2021-02-23T23:35:17.237Z] -rw-r--r-- 1 jenkins jenkins 516 Feb 23 23:35 go.mod [2021-02-23T23:35:17.237Z] -rw-r--r-- 1 jenkins jenkins 17372 Feb 23 23:35 go.sum [2021-02-23T23:35:17.237Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 23 23:31 internal [2021-02-23T23:35:17.237Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 23:31 openapi [2021-02-23T23:35:17.237Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 23 23:31 pkg [2021-02-23T23:35:17.237Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 23:31 snap [2021-02-23T23:35:17.237Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 23 23:31 version.go [2021-02-23T23:35:17.853Z] prd-centos7-docker-4c-2g-27416 does not seem to be running inside a container [2021-02-23T23:35:18.133Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-23T23:35:19.483Z] $ docker top a47df13131df7defa25fa4ef281c5e113907a9ecd94b37764faa2acd56679ea2 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:35:20.979Z] + 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=ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f --label arch=arm64 --label version=0.0.0 . [2021-02-23T23:35:21.268Z] Sending build context to Docker daemon 2.5MB [2021-02-23T23:35:21.281Z] + make test [2021-02-23T23:35:21.281Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-23T23:35:21.557Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-23T23:35:21.557Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-23T23:35:21.557Z] ---> 6e6282cb3622 [2021-02-23T23:35:21.557Z] Step 3/24 : ARG MAKE='make build' [2021-02-23T23:35:21.834Z] ---> Running in e3e2aeacd8c0 [2021-02-23T23:35:22.115Z] Removing intermediate container e3e2aeacd8c0 [2021-02-23T23:35:22.115Z] ---> 185f37c945b5 [2021-02-23T23:35:22.115Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-23T23:35:22.116Z] ---> Running in 0691ff04f836 [2021-02-23T23:35:22.709Z] Removing intermediate container 0691ff04f836 [2021-02-23T23:35:22.709Z] ---> ae5738a730d1 [2021-02-23T23:35:22.709Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T23:35:22.981Z] ---> Running in 8cbb3423b22e [2021-02-23T23:35:23.254Z] Removing intermediate container 8cbb3423b22e [2021-02-23T23:35:23.254Z] ---> 8dc354f6ebd2 [2021-02-23T23:35:23.254Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-23T23:35:23.525Z] ---> Running in 7c01b85cb7e3 [2021-02-23T23:35:25.498Z] Removing intermediate container 7c01b85cb7e3 [2021-02-23T23:35:25.498Z] ---> 7c22011cec93 [2021-02-23T23:35:25.498Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-23T23:35:25.770Z] ---> Running in 6ffd1dfcdd68 [2021-02-23T23:35:27.201Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-23T23:35:27.789Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-23T23:35:28.379Z] OK: 142 MiB in 39 packages [2021-02-23T23:35:29.810Z] Removing intermediate container 6ffd1dfcdd68 [2021-02-23T23:35:29.810Z] ---> a173da6b3f58 [2021-02-23T23:35:29.810Z] Step 8/24 : COPY . . [2021-02-23T23:35:30.790Z] ---> 70a371141266 [2021-02-23T23:35:30.790Z] Step 9/24 : RUN ${MAKE} [2021-02-23T23:35:31.063Z] ---> Running in 1498ed7f0662 [2021-02-23T23:35:32.043Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-02-23T23:35:41.968Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-23T23:35:58.857Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-23T23:35:59.849Z] Removing intermediate container 1498ed7f0662 [2021-02-23T23:35:59.849Z] ---> e2bd8a4ac2f6 [2021-02-23T23:35:59.849Z] Step 10/24 : FROM scratch [2021-02-23T23:35:59.849Z] ---> [2021-02-23T23:35:59.849Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T23:35:59.849Z] ---> Running in bd31c654e47b [2021-02-23T23:36:00.446Z] Removing intermediate container bd31c654e47b [2021-02-23T23:36:00.446Z] ---> 726019bd3f16 [2021-02-23T23:36:00.446Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-23T23:36:00.446Z] ---> Running in ca2246a1f520 [2021-02-23T23:36:01.045Z] Removing intermediate container ca2246a1f520 [2021-02-23T23:36:01.045Z] ---> 9ae593c2a288 [2021-02-23T23:36:01.046Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-23T23:36:01.046Z] ---> Running in 75e10bd61621 [2021-02-23T23:36:01.318Z] Removing intermediate container 75e10bd61621 [2021-02-23T23:36:01.318Z] ---> d39c2d39f5a5 [2021-02-23T23:36:01.318Z] Step 14/24 : WORKDIR / [2021-02-23T23:36:01.590Z] ---> Running in 31ef636b5c12 [2021-02-23T23:36:01.870Z] Removing intermediate container 31ef636b5c12 [2021-02-23T23:36:01.870Z] ---> dfea7315677a [2021-02-23T23:36:01.870Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-23T23:36:03.303Z] ---> 406a113a5dfc [2021-02-23T23:36:03.303Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-23T23:36:03.901Z] ---> 0ec9a491e874 [2021-02-23T23:36:03.901Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-23T23:36:04.499Z] ---> 49dccb6fe674 [2021-02-23T23:36:04.499Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-23T23:36:05.485Z] ---> 084df2c9c1e8 [2021-02-23T23:36:05.485Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-23T23:36:06.081Z] ---> 00870aa58e05 [2021-02-23T23:36:06.081Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-23T23:36:06.081Z] ---> Running in 7426bac300ec [2021-02-23T23:36:06.675Z] Removing intermediate container 7426bac300ec [2021-02-23T23:36:06.675Z] ---> 7075fc88f671 [2021-02-23T23:36:06.675Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-23T23:36:06.675Z] ---> Running in 143b16a9416a [2021-02-23T23:36:07.270Z] Removing intermediate container 143b16a9416a [2021-02-23T23:36:07.270Z] ---> ffcb0ae5945b [2021-02-23T23:36:07.270Z] Step 22/24 : LABEL arch=arm64 [2021-02-23T23:36:07.270Z] ---> Running in cc5a3dc97c79 [2021-02-23T23:36:07.865Z] Removing intermediate container cc5a3dc97c79 [2021-02-23T23:36:07.865Z] ---> 8989429b2c65 [2021-02-23T23:36:07.865Z] Step 23/24 : LABEL git_sha=ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f [2021-02-23T23:36:07.865Z] ---> Running in c06cd09f7754 [2021-02-23T23:36:08.458Z] Removing intermediate container c06cd09f7754 [2021-02-23T23:36:08.458Z] ---> 85c77da61c83 [2021-02-23T23:36:08.458Z] Step 24/24 : LABEL version=0.0.0 [2021-02-23T23:36:08.458Z] ---> Running in 7d496a5869f7 [2021-02-23T23:36:09.050Z] Removing intermediate container 7d496a5869f7 [2021-02-23T23:36:09.050Z] ---> 8c67bd66b719 [2021-02-23T23:36:09.050Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-23T23:36:09.050Z] Successfully built 8c67bd66b719 [2021-02-23T23:36:09.050Z] 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-02-23T23:36:09.974Z] ---> job-cost.sh [2021-02-23T23:36:09.974Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GNt8 [2021-02-23T23:36:22.773Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-23T23:36:22.773Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-23T23:36:22.773Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-23T23:36:27.328Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.148s coverage: 25.5% of statements [2021-02-23T23:36:48.928Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-02-23T23:36:54.698Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.133s coverage: 10.1% of statements [2021-02-23T23:36:54.699Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.204s coverage: 12.5% of statements [2021-02-23T23:36:54.699Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-23T23:36:54.699Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.130s coverage: 84.8% of statements [2021-02-23T23:36:54.699Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-23T23:36:54.699Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-23T23:36:54.699Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-23T23:36:54.699Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-23T23:36:54.699Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.165s coverage: 49.2% of statements [2021-02-23T23:36:54.699Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-23T23:36:54.699Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.102s coverage: 81.3% of statements [2021-02-23T23:36:54.699Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.249s coverage: 24.8% of statements [2021-02-23T23:36:54.699Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.167s coverage: 83.5% of statements [2021-02-23T23:36:54.699Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.130s coverage: 5.3% of statements [2021-02-23T23:36:54.699Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-23T23:36:54.699Z] GO111MODULE=on go vet ./... [2021-02-23T23:37:18.900Z] gofmt -l . [2021-02-23T23:37:18.900Z] [ "`gofmt -l .`" = "" ] [2021-02-23T23:37:18.900Z] ./bin/test-attribution-txt.sh [2021-02-23T23:37:20.431Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-23T23:37:22.226Z] $ docker stop --time=1 a47df13131df7defa25fa4ef281c5e113907a9ecd94b37764faa2acd56679ea2 [2021-02-23T23:37:25.413Z] $ docker rm -f a47df13131df7defa25fa4ef281c5e113907a9ecd94b37764faa2acd56679ea2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-23T23:37:26.465Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-23T23:37:26.530Z] Warning: overwriting stash ‘coverage-report’ [2021-02-23T23:37:28.489Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-23T23:37:29.201Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-23T23:37:30.762Z] + ls -al . [2021-02-23T23:37:30.763Z] total 184 [2021-02-23T23:37:30.763Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 23 23:37 . [2021-02-23T23:37:30.763Z] drwxrwxr-x. 4 jenkins jenkins 28 Feb 23 23:32 .. [2021-02-23T23:37:30.763Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 23 23:32 bin [2021-02-23T23:37:30.763Z] -rw-r--r--. 1 jenkins jenkins 101757 Feb 23 23:36 coverage.out [2021-02-23T23:37:30.763Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 23 23:32 Dockerfile.build [2021-02-23T23:37:30.763Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 23 23:32 .dockerignore [2021-02-23T23:37:30.763Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 23 23:32 example [2021-02-23T23:37:30.763Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 23 23:32 .git [2021-02-23T23:37:30.763Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 23 23:32 .github [2021-02-23T23:37:30.763Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 23 23:32 .gitignore [2021-02-23T23:37:30.763Z] -rw-r--r--. 1 jenkins jenkins 516 Feb 23 23:37 go.mod [2021-02-23T23:37:30.763Z] -rw-r--r--. 1 jenkins jenkins 17372 Feb 23 23:37 go.sum [2021-02-23T23:37:30.763Z] drwxrwxr-x. 13 jenkins jenkins 183 Feb 23 23:32 internal [2021-02-23T23:37:30.763Z] -rw-rw-r--. 1 jenkins jenkins 901 Feb 23 23:32 Jenkinsfile [2021-02-23T23:37:30.763Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 23 23:32 LICENSE [2021-02-23T23:37:30.763Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 23 23:32 Makefile [2021-02-23T23:37:30.763Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 23 23:32 openapi [2021-02-23T23:37:30.763Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 23 23:32 pkg [2021-02-23T23:37:30.763Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 23 23:32 README.md [2021-02-23T23:37:30.763Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 23 23:32 RELEASE-NOTES.txt [2021-02-23T23:37:30.763Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 23 23:32 snap [2021-02-23T23:37:30.763Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 23 23:28 VERSION [2021-02-23T23:37:30.763Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 23 23:32 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:37:31.747Z] + 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=ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f --label arch=amd64 --label version=0.0.0 . [2021-02-23T23:37:32.068Z] Sending build context to Docker daemon 2.509MB [2021-02-23T23:37:32.068Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-23T23:37:32.068Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-23T23:37:32.068Z] ---> 6d125f4c76cc [2021-02-23T23:37:32.068Z] Step 3/24 : ARG MAKE='make build' [2021-02-23T23:37:32.676Z] ---> Running in b30cf40af18d [2021-02-23T23:37:32.970Z] Removing intermediate container b30cf40af18d [2021-02-23T23:37:32.970Z] ---> 198da9021416 [2021-02-23T23:37:32.970Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-23T23:37:33.243Z] ---> Running in 095c54754a25 [2021-02-23T23:37:33.551Z] Removing intermediate container 095c54754a25 [2021-02-23T23:37:33.551Z] ---> 58aea37c94bd [2021-02-23T23:37:33.551Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T23:37:33.854Z] ---> Running in d0248320203d [2021-02-23T23:37:34.462Z] Removing intermediate container d0248320203d [2021-02-23T23:37:34.462Z] ---> 9c32b63720bb [2021-02-23T23:37:34.462Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-23T23:37:34.462Z] ---> Running in 486eff05ded9 [2021-02-23T23:37:38.181Z] Removing intermediate container 486eff05ded9 [2021-02-23T23:37:38.181Z] ---> 7525c1443b93 [2021-02-23T23:37:38.181Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-23T23:37:38.181Z] ---> Running in 010351a154ff [2021-02-23T23:37:39.939Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-23T23:37:41.147Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-23T23:37:42.366Z] OK: 166 MiB in 39 packages [2021-02-23T23:37:44.342Z] Removing intermediate container 010351a154ff [2021-02-23T23:37:44.342Z] ---> 97020267e83b [2021-02-23T23:37:44.342Z] Step 8/24 : COPY . . [2021-02-23T23:37:46.468Z] ---> 9a135cfcfbce [2021-02-23T23:37:46.468Z] Step 9/24 : RUN ${MAKE} [2021-02-23T23:37:46.468Z] ---> Running in dbd9ca458dd7 [2021-02-23T23:37:47.234Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-02-23T23:38:03.796Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-23T23:38:07.634Z] Removing intermediate container dbd9ca458dd7 [2021-02-23T23:38:07.634Z] ---> 857e025c5647 [2021-02-23T23:38:07.634Z] Step 10/24 : FROM scratch [2021-02-23T23:38:07.634Z] ---> [2021-02-23T23:38:07.634Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T23:38:07.634Z] ---> Running in a5cbcd513c9d [2021-02-23T23:38:07.634Z] Removing intermediate container a5cbcd513c9d [2021-02-23T23:38:07.634Z] ---> 126fea043e1c [2021-02-23T23:38:07.634Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-23T23:38:07.634Z] ---> Running in 3ed9268c3e58 [2021-02-23T23:38:07.909Z] Removing intermediate container 3ed9268c3e58 [2021-02-23T23:38:07.909Z] ---> 6456c9ccfe46 [2021-02-23T23:38:07.909Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-23T23:38:08.219Z] ---> Running in 1d69e3a0db69 [2021-02-23T23:38:08.511Z] Removing intermediate container 1d69e3a0db69 [2021-02-23T23:38:08.511Z] ---> d13062d0c923 [2021-02-23T23:38:08.511Z] Step 14/24 : WORKDIR / [2021-02-23T23:38:08.940Z] ---> Running in e50d2418963d [2021-02-23T23:38:09.296Z] Removing intermediate container e50d2418963d [2021-02-23T23:38:09.296Z] ---> 80ccd6f96e66 [2021-02-23T23:38:09.296Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-23T23:38:11.226Z] ---> c78e63714b28 [2021-02-23T23:38:11.226Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-23T23:38:11.594Z] ---> cfbe2f303196 [2021-02-23T23:38:11.594Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-23T23:38:12.724Z] ---> e510b060579d [2021-02-23T23:38:12.724Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-23T23:38:13.488Z] ---> b15d225979d8 [2021-02-23T23:38:13.488Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-23T23:38:14.749Z] ---> 0ac4696c8b54 [2021-02-23T23:38:14.749Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-23T23:38:14.749Z] ---> Running in 1e1a8f4c261a [2021-02-23T23:38:15.379Z] Removing intermediate container 1e1a8f4c261a [2021-02-23T23:38:15.379Z] ---> c6ab959fc8b6 [2021-02-23T23:38:15.379Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-23T23:38:15.379Z] ---> Running in 378e559345ac [2021-02-23T23:38:15.655Z] Removing intermediate container 378e559345ac [2021-02-23T23:38:15.655Z] ---> 8c8d1fe2b6ec [2021-02-23T23:38:15.655Z] Step 22/24 : LABEL arch=amd64 [2021-02-23T23:38:15.983Z] ---> Running in ffefea86f24f [2021-02-23T23:38:16.348Z] Removing intermediate container ffefea86f24f [2021-02-23T23:38:16.348Z] ---> 0074c02a346a [2021-02-23T23:38:16.348Z] Step 23/24 : LABEL git_sha=ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f [2021-02-23T23:38:16.348Z] ---> Running in dc27a844f99f [2021-02-23T23:38:16.675Z] Removing intermediate container dc27a844f99f [2021-02-23T23:38:16.675Z] ---> d92f6ec01d80 [2021-02-23T23:38:16.675Z] Step 24/24 : LABEL version=0.0.0 [2021-02-23T23:38:16.675Z] ---> Running in 7a1536403c81 [2021-02-23T23:38:17.315Z] Removing intermediate container 7a1536403c81 [2021-02-23T23:38:17.315Z] ---> 04f03d68bff3 [2021-02-23T23:38:17.315Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-23T23:38:17.315Z] Successfully built 04f03d68bff3 [2021-02-23T23:38:17.315Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:38:18.384Z] ---> job-cost.sh [2021-02-23T23:38:18.384Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ViMF [2021-02-23T23:38:52.607Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-02-23T23:39:10.752Z] lf-activate-venv(): INFO: Adding /tmp/venv-GNt8/bin to PATH [2021-02-23T23:39:10.752Z] INFO: No Stack... [2021-02-23T23:39:10.752Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-02-23T23:39:10.752Z] INFO: Archiving Costs [Pipeline] sh [2021-02-23T23:39:11.090Z] + + cut -d, -f6 [2021-02-23T23:39:11.090Z] cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2021-02-23T23:39:11.203Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-794-2-stack-cost] [2021-02-23T23:39:11.215Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-794-2-stack-cost] did not exist. Created. [2021-02-23T23:39:11.215Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-794-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-02-23T23:39:11.650Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-02-23T23:39:11.881Z] Stashed 1 file(s) [Pipeline] } [2021-02-23T23:39:11.894Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-794-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-23T23:39:41.361Z] lf-activate-venv(): INFO: Adding /tmp/venv-ViMF/bin to PATH [2021-02-23T23:39:41.362Z] INFO: No Stack... [2021-02-23T23:39:41.362Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-23T23:39:42.447Z] INFO: Archiving Costs [Pipeline] sh [2021-02-23T23:39:42.894Z] + cut -d, -f6 [2021-02-23T23:39:42.894Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2021-02-23T23:39:43.489Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-794-2-stack-cost] [2021-02-23T23:39:43.499Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-794-2-stack-cost] did not exist. Created. [2021-02-23T23:39:43.500Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-794-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-02-23T23:39:44.156Z] /w/workspace/device-sdk-go/2@tmp/durable-60f7abd6/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-02-23T23:39:45.470Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-02-23T23:39:45.594Z] Warning: overwriting stash ‘stack-cost’ [2021-02-23T23:39:45.894Z] Stashed 1 file(s) [Pipeline] } [2021-02-23T23:39:45.906Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-794-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-02-23T23:39:47.357Z] provisioning config files... [2021-02-23T23:39:47.413Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/config6269506010052966675tmp [Pipeline] { [Pipeline] sh [2021-02-23T23:39:48.049Z] + set +x [2021-02-23T23:39:48.049Z] + curl -s https://codecov.io/bash [2021-02-23T23:39:48.049Z] + bash -s -- [2021-02-23T23:39:48.736Z] [2021-02-23T23:39:48.736Z] _____ _ [2021-02-23T23:39:48.736Z] / ____| | | [2021-02-23T23:39:48.736Z] | | ___ __| | ___ ___ _____ __ [2021-02-23T23:39:48.736Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-23T23:39:48.736Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-23T23:39:48.736Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-23T23:39:48.736Z] Bash-20210129-7c25fce [2021-02-23T23:39:48.736Z] [2021-02-23T23:39:48.736Z] [2021-02-23T23:39:48.736Z] ==> git version 2.24.3 found [2021-02-23T23:39:48.736Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-02-23T23:39:48.736Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-23T23:39:48.736Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-23T23:39:48.736Z] ==> Jenkins CI detected. [2021-02-23T23:39:48.736Z] project root: . [2021-02-23T23:39:48.736Z] --> token set from env [2021-02-23T23:39:48.736Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-23T23:39:48.736Z] ==> Running gcov in . (disable via -X gcov) [2021-02-23T23:39:49.013Z] ==> Python coveragepy not found [2021-02-23T23:39:49.013Z] ==> Searching for coverage reports in: [2021-02-23T23:39:49.013Z] + . [2021-02-23T23:39:49.013Z] -> Found 1 reports [2021-02-23T23:39:49.013Z] ==> Detecting git/mercurial file structure [2021-02-23T23:39:49.013Z] ==> Reading reports [2021-02-23T23:39:49.013Z] + ./coverage.out bytes=101757 [2021-02-23T23:39:49.013Z] ==> Appending adjustments [2021-02-23T23:39:49.013Z] https://docs.codecov.io/docs/fixing-reports [2021-02-23T23:39:50.660Z] + Found adjustments [2021-02-23T23:39:50.660Z] ==> Gzipping contents [2021-02-23T23:39:50.660Z] 20K /tmp/codecov.RepW2T.gz [2021-02-23T23:39:50.660Z] ==> Uploading reports [2021-02-23T23:39:50.660Z] url: https://codecov.io [2021-02-23T23:39:50.660Z] query: branch=PR-794&commit=ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-794%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=794&job=&cmd_args= [2021-02-23T23:39:50.660Z] -> Pinging Codecov [2021-02-23T23:39:50.660Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-794&commit=ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-794%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=794&job=&cmd_args= [2021-02-23T23:39:51.295Z] -> Uploading to [2021-02-23T23:39:51.295Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-23/7E55EF52A471D76F132DFD9A03CDDE97/ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f/b07a977f-c1f3-493f-90a3-71a328111e43.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210223%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210223T233950Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a26722f18e967e6ea221c1d49ede40b73c2c03e35a6289398636dae7e79e89b9 [2021-02-23T23:39:51.295Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-23T23:39:51.295Z] Dload Upload Total Spent Left Speed [2021-02-23T23:39:52.290Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16495 0 0 100 16495 0 18472 --:--:-- --:--:-- --:--:-- 18471 100 16495 0 0 100 16495 0 18467 --:--:-- --:--:-- --:--:-- 18471 [2021-02-23T23:39:52.290Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ac19e11bf9df83c3058b5da6ce44dfd48a75fa9f [Pipeline] } [2021-02-23T23:39:52.304Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:39:55.458Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:39:56.219Z] ---> package-listing.sh [2021-02-23T23:39:56.219Z] ++ facter osfamily [2021-02-23T23:39:56.219Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-23T23:39:56.219Z] + OS_FAMILY=redhat [2021-02-23T23:39:56.219Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-794 [2021-02-23T23:39:56.219Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-23T23:39:56.219Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-23T23:39:56.219Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-23T23:39:56.219Z] + PACKAGES=/tmp/packages_start.txt [2021-02-23T23:39:56.219Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-794 ']' [2021-02-23T23:39:56.219Z] + PACKAGES=/tmp/packages_end.txt [2021-02-23T23:39:56.219Z] + case "${OS_FAMILY}" in [2021-02-23T23:39:56.219Z] + rpm -qa [2021-02-23T23:39:56.219Z] + sort [2021-02-23T23:40:10.094Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-23T23:40:10.094Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-23T23:40:10.094Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-23T23:40:10.094Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-794 ']' [2021-02-23T23:40:10.094Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-794/archives/ [2021-02-23T23:40:10.094Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-794/archives/ [Pipeline] echo [2021-02-23T23:40:10.156Z] 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-794/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-23T23:40:10.609Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:40:11.677Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-23T23:40:12.424Z] [2021-02-23T23:40:12.424Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:40:13.077Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-23T23:40:13.398Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-23T23:40:13.398Z] df20fa9351a1: Pulling fs layer [2021-02-23T23:40:13.398Z] 36b3adc4ff6f: Pulling fs layer [2021-02-23T23:40:13.398Z] 8ad3a11d3b57: Pulling fs layer [2021-02-23T23:40:13.398Z] 46f8f816bc3b: Pulling fs layer [2021-02-23T23:40:13.398Z] 93b61091891f: Pulling fs layer [2021-02-23T23:40:13.398Z] 93b9cdb0e59b: Pulling fs layer [2021-02-23T23:40:13.398Z] 5e14af77c1be: Pulling fs layer [2021-02-23T23:40:13.398Z] 01666e4c0597: Pulling fs layer [2021-02-23T23:40:13.398Z] aa168da1d23b: Pulling fs layer [2021-02-23T23:40:13.398Z] 46f8f816bc3b: Waiting [2021-02-23T23:40:13.398Z] 93b61091891f: Waiting [2021-02-23T23:40:13.398Z] 93b9cdb0e59b: Waiting [2021-02-23T23:40:13.398Z] 5e14af77c1be: Waiting [2021-02-23T23:40:13.398Z] 01666e4c0597: Waiting [2021-02-23T23:40:13.398Z] aa168da1d23b: Waiting [2021-02-23T23:40:13.398Z] 36b3adc4ff6f: Verifying Checksum [2021-02-23T23:40:13.398Z] 36b3adc4ff6f: Download complete [2021-02-23T23:40:13.809Z] 46f8f816bc3b: Verifying Checksum [2021-02-23T23:40:13.809Z] 46f8f816bc3b: Download complete [2021-02-23T23:40:13.809Z] 93b61091891f: Verifying Checksum [2021-02-23T23:40:13.809Z] 93b61091891f: Download complete [2021-02-23T23:40:13.809Z] df20fa9351a1: Verifying Checksum [2021-02-23T23:40:13.809Z] df20fa9351a1: Download complete [2021-02-23T23:40:13.809Z] 93b9cdb0e59b: Verifying Checksum [2021-02-23T23:40:13.809Z] 93b9cdb0e59b: Download complete [2021-02-23T23:40:13.809Z] 5e14af77c1be: Verifying Checksum [2021-02-23T23:40:13.809Z] 5e14af77c1be: Download complete [2021-02-23T23:40:13.809Z] 01666e4c0597: Verifying Checksum [2021-02-23T23:40:13.809Z] 01666e4c0597: Download complete [2021-02-23T23:40:15.187Z] df20fa9351a1: Pull complete [2021-02-23T23:40:15.187Z] 8ad3a11d3b57: Verifying Checksum [2021-02-23T23:40:15.187Z] 8ad3a11d3b57: Download complete [2021-02-23T23:40:15.590Z] 36b3adc4ff6f: Pull complete [2021-02-23T23:40:18.621Z] 8ad3a11d3b57: Pull complete [2021-02-23T23:40:18.621Z] 46f8f816bc3b: Pull complete [2021-02-23T23:40:20.460Z] 93b61091891f: Pull complete [2021-02-23T23:40:21.104Z] 93b9cdb0e59b: Pull complete [2021-02-23T23:40:21.563Z] 5e14af77c1be: Pull complete [2021-02-23T23:40:23.388Z] 01666e4c0597: Pull complete [2021-02-23T23:40:30.123Z] aa168da1d23b: Verifying Checksum [2021-02-23T23:40:30.123Z] aa168da1d23b: Download complete [2021-02-23T23:40:52.874Z] aa168da1d23b: Pull complete [2021-02-23T23:40:52.874Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-23T23:40:52.874Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-23T23:40:52.874Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-23T23:40:53.748Z] prd-centos7-docker-4c-2g-27412 does not seem to be running inside a container [2021-02-23T23:40:53.935Z] $ 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-794/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-794 -v /w/workspace/dgexfoundry_device-sdk-go_PR-794:/w/workspace/dgexfoundry_device-sdk-go_PR-794:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-794@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-23T23:41:00.544Z] $ docker top 3e5fc496a2859bcf2191be4baec56ca51e55dcdc46798282b689acfb40d818d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T23:41:01.749Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-23T23:41:02.551Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-23T23:41:03.436Z] + ls /var/log/sa-host [2021-02-23T23:41:03.436Z] + sadf -c /var/log/sa-host/sa23 [2021-02-23T23:41:03.436Z] file_magic: OK [2021-02-23T23:41:03.436Z] HZ: Using current value: 100 [2021-02-23T23:41:03.436Z] file_header: OK [2021-02-23T23:41:03.436Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-02-23T23:41:03.436Z] Statistics: [2021-02-23T23:41:03.436Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-23T23:41:03.436Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-23T23:41:04.162Z] provisioning config files... [2021-02-23T23:41:04.318Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/config1201769957029938237tmp [Pipeline] { [Pipeline] echo [2021-02-23T23:41:04.404Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:41:04.912Z] ---> create-netrc.sh [Pipeline] } [2021-02-23T23:41:05.381Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-23T23:41:05.506Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:41:06.904Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-23T23:41:07.087Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:41:07.895Z] ---> sudo-logs.sh [2021-02-23T23:41:07.895Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-23T23:41:08.097Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:41:08.975Z] ---> job-cost.sh [2021-02-23T23:41:08.975Z] lf-activate-venv: SKIPPING [2021-02-23T23:41:08.975Z] DEBUG: total: 0.029999999329447746 [2021-02-23T23:41:08.975Z] INFO: Retrieving Stack Cost... [2021-02-23T23:41:09.603Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-23T23:41:11.281Z] INFO: Archiving Costs [Pipeline] echo [2021-02-23T23:41:11.299Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:41:12.822Z] ---> logs-deploy.sh [2021-02-23T23:41:12.822Z] lf-activate-venv: SKIPPING [2021-02-23T23:41:12.822Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-794/2 [2021-02-23T23:41:12.822Z] INFO: archiving workspace using pattern(s): [2021-02-23T23:41:16.662Z] Archives upload complete. [2021-02-23T23:41:16.965Z] INFO: archiving logs to Nexus [2021-02-23T23:41:19.094Z] ---> uname -a: [2021-02-23T23:41:19.094Z] Linux prd-centos7-docker-4c-2g-27412.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-02-23T23:41:19.094Z] [2021-02-23T23:41:19.094Z] [2021-02-23T23:41:19.094Z] ---> lscpu: [2021-02-23T23:41:19.094Z] Architecture: x86_64 [2021-02-23T23:41:19.094Z] CPU op-mode(s): 32-bit, 64-bit [2021-02-23T23:41:19.094Z] Byte Order: Little Endian [2021-02-23T23:41:19.094Z] Address sizes: 40 bits physical, 48 bits virtual [2021-02-23T23:41:19.094Z] CPU(s): 4 [2021-02-23T23:41:19.094Z] On-line CPU(s) list: 0-3 [2021-02-23T23:41:19.094Z] Thread(s) per core: 1 [2021-02-23T23:41:19.094Z] Core(s) per socket: 1 [2021-02-23T23:41:19.094Z] Socket(s): 4 [2021-02-23T23:41:19.094Z] NUMA node(s): 1 [2021-02-23T23:41:19.094Z] Vendor ID: GenuineIntel [2021-02-23T23:41:19.094Z] CPU family: 6 [2021-02-23T23:41:19.094Z] Model: 44 [2021-02-23T23:41:19.094Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-02-23T23:41:19.094Z] Stepping: 1 [2021-02-23T23:41:19.094Z] CPU MHz: 2933.438 [2021-02-23T23:41:19.094Z] BogoMIPS: 5866.87 [2021-02-23T23:41:19.094Z] Virtualization: VT-x [2021-02-23T23:41:19.094Z] Hypervisor vendor: KVM [2021-02-23T23:41:19.094Z] Virtualization type: full [2021-02-23T23:41:19.094Z] L1d cache: 128 KiB [2021-02-23T23:41:19.094Z] L1i cache: 128 KiB [2021-02-23T23:41:19.094Z] L2 cache: 16 MiB [2021-02-23T23:41:19.094Z] L3 cache: 64 MiB [2021-02-23T23:41:19.094Z] NUMA node0 CPU(s): 0-3 [2021-02-23T23:41:19.094Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-02-23T23:41:19.094Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-02-23T23:41:19.094Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-02-23T23:41:19.094Z] Vulnerability Meltdown: Mitigation; PTI [2021-02-23T23:41:19.094Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-02-23T23:41:19.094Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-02-23T23:41:19.094Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-02-23T23:41:19.094Z] Vulnerability Srbds: Not affected [2021-02-23T23:41:19.094Z] Vulnerability Tsx async abort: Not affected [2021-02-23T23:41:19.094Z] 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-02-23T23:41:19.094Z] [2021-02-23T23:41:19.094Z] [2021-02-23T23:41:19.094Z] ---> nproc: [2021-02-23T23:41:19.094Z] 4 [2021-02-23T23:41:19.094Z] [2021-02-23T23:41:19.094Z] [2021-02-23T23:41:19.094Z] ---> df -h: [2021-02-23T23:41:19.094Z] Filesystem Size Used Available Use% Mounted on [2021-02-23T23:41:19.094Z] overlay 50.0G 6.9G 43.1G 14% / [2021-02-23T23:41:19.094Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-02-23T23:41:19.094Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-02-23T23:41:19.094Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-02-23T23:41:19.094Z] /dev/vda1 50.0G 6.9G 43.1G 14% /facter-os [2021-02-23T23:41:19.094Z] /dev/vda1 50.0G 6.9G 43.1G 14% /etc/resolv.conf [2021-02-23T23:41:19.094Z] /dev/vda1 50.0G 6.9G 43.1G 14% /etc/hostname [2021-02-23T23:41:19.094Z] /dev/vda1 50.0G 6.9G 43.1G 14% /etc/hosts [2021-02-23T23:41:19.094Z] /dev/vda1 50.0G 6.9G 43.1G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp [2021-02-23T23:41:19.094Z] /dev/vda1 50.0G 6.9G 43.1G 14% /var/log/sa-host [2021-02-23T23:41:19.094Z] /dev/vda1 50.0G 6.9G 43.1G 14% /var/log/secure [2021-02-23T23:41:19.094Z] /dev/vda1 50.0G 6.9G 43.1G 14% /var/log/auth.log [2021-02-23T23:41:19.094Z] /dev/vda1 50.0G 6.9G 43.1G 14% /run/cloud-init/result.json [2021-02-23T23:41:19.094Z] /dev/vda1 50.0G 6.9G 43.1G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-794 [2021-02-23T23:41:19.094Z] [2021-02-23T23:41:19.094Z] [2021-02-23T23:41:19.094Z] ---> free -m: [2021-02-23T23:41:19.094Z] total used free shared buff/cache available [2021-02-23T23:41:19.094Z] Mem: 1837 718 111 0 1008 1014 [2021-02-23T23:41:19.094Z] Swap: 1023 1 1022 [2021-02-23T23:41:19.094Z] [2021-02-23T23:41:19.094Z] [2021-02-23T23:41:19.094Z] ---> ip addr: [2021-02-23T23:41:19.094Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-02-23T23:41:19.094Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-02-23T23:41:19.094Z] inet 127.0.0.1/8 scope host lo [2021-02-23T23:41:19.094Z] valid_lft forever preferred_lft forever [2021-02-23T23:41:19.094Z] inet6 ::1/128 scope host [2021-02-23T23:41:19.094Z] valid_lft forever preferred_lft forever [2021-02-23T23:41:19.094Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-02-23T23:41:19.094Z] link/ether fa:16:3e:03:18:a8 brd ff:ff:ff:ff:ff:ff [2021-02-23T23:41:19.094Z] inet 10.30.123.252/23 brd 10.30.123.255 scope global dynamic eth0 [2021-02-23T23:41:19.094Z] valid_lft 85478sec preferred_lft 85478sec [2021-02-23T23:41:19.094Z] inet6 fe80::f816:3eff:fe03:18a8/64 scope link [2021-02-23T23:41:19.094Z] valid_lft forever preferred_lft forever [2021-02-23T23:41:19.094Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-02-23T23:41:19.094Z] link/ether 02:42:34:bb:fa:39 brd ff:ff:ff:ff:ff:ff [2021-02-23T23:41:19.094Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-02-23T23:41:19.094Z] valid_lft forever preferred_lft forever [2021-02-23T23:41:19.094Z] inet6 fe80::42:34ff:febb:fa39/64 scope link [2021-02-23T23:41:19.094Z] valid_lft forever preferred_lft forever [2021-02-23T23:41:19.094Z] [2021-02-23T23:41:19.094Z]