Pull request #816 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 3f52f3a581500e7b2ce611731b922cb421169e9f rather than fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 Obtained Jenkinsfile from 3f52f3a581500e7b2ce611731b922cb421169e9f Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-29795 in /w/workspace/dgexfoundry_device-sdk-go_PR-816 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-816 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 3f52f3a581500e7b2ce611731b922cb421169e9f into PR head commit fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 Merge succeeded, producing fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 Checking out Revision fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 (PR-816) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/816/head:refs/remotes/origin/PR-816 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 # 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 3f52f3a581500e7b2ce611731b922cb421169e9f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 # timeout=10 Commit message: "refactor: Update example device config and api doc" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 2880e2238917e15b05fdefa4b92a9c92cf8f3af9 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-15T07:27:26.561Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-15T07:27:26.889Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-15T07:27:27.008Z] ========================================================= [2021-03-15T07:27:27.008Z] EdgeX Global Pipelines Version Info [2021-03-15T07:27:27.008Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:27:28.721Z] ------------------- [2021-03-15T07:27:28.722Z] stable info: [2021-03-15T07:27:28.722Z] ------------------- [2021-03-15T07:27:28.722Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-15T07:27:28.722Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-15T07:27:28.722Z] Message: update stable to v1.0.184 [2021-03-15T07:27:29.671Z] ------------------- [2021-03-15T07:27:29.671Z] experimental info: [2021-03-15T07:27:29.671Z] ------------------- [2021-03-15T07:27:29.671Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-15T07:27:29.671Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-15T07:27:29.671Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-15T07:27:29.998Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-15T07:27:30.163Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-15T07:27:30.289Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-15T07:27:30.393Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-15T07:27:30.511Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-15T07:27:30.650Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-15T07:27:30.777Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-15T07:27:30.887Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-15T07:27:31.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-15T07:27:31.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-15T07:27:31.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-15T07:27:31.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-15T07:27:31.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-15T07:27:31.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-15T07:27:31.782Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-15T07:27:31.886Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-15T07:27:32.009Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-15T07:27:32.153Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-15T07:27:32.271Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-15T07:27:32.387Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-15T07:27:32.494Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-15T07:27:32.595Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-15T07:27:32.689Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-15T07:27:32.854Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-15T07:27:32.950Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-15T07:27:33.113Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-15T07:27:33.214Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-816 [Pipeline] echo [2021-03-15T07:27:33.337Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-816 [Pipeline] echo [2021-03-15T07:27:33.454Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-816 [Pipeline] echo [2021-03-15T07:27:33.550Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 [Pipeline] echo [2021-03-15T07:27:33.667Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fc0c5ee [Pipeline] echo [2021-03-15T07:27:33.770Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-15T07:27:33.998Z] provisioning config files... [2021-03-15T07:27:34.029Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/config3749178114997311653tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:27:34.404Z] ---> docker-login.sh [2021-03-15T07:27:34.404Z] nexus3.edgexfoundry.org:10001 [2021-03-15T07:27:34.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:27:34.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:27:34.941Z] Configure a credential helper to remove this warning. See [2021-03-15T07:27:34.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:27:34.941Z] [2021-03-15T07:27:34.941Z] Login Succeeded [2021-03-15T07:27:34.941Z] nexus3.edgexfoundry.org:10002 [2021-03-15T07:27:35.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:27:35.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:27:35.208Z] Configure a credential helper to remove this warning. See [2021-03-15T07:27:35.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:27:35.208Z] [2021-03-15T07:27:35.208Z] Login Succeeded [2021-03-15T07:27:35.208Z] nexus3.edgexfoundry.org:10003 [2021-03-15T07:27:35.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:27:35.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:27:35.470Z] Configure a credential helper to remove this warning. See [2021-03-15T07:27:35.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:27:35.470Z] [2021-03-15T07:27:35.470Z] Login Succeeded [2021-03-15T07:27:35.470Z] nexus3.edgexfoundry.org:10004 [2021-03-15T07:27:35.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:27:35.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:27:35.735Z] Configure a credential helper to remove this warning. See [2021-03-15T07:27:35.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:27:35.735Z] [2021-03-15T07:27:35.735Z] Login Succeeded [2021-03-15T07:27:35.735Z] docker.io [2021-03-15T07:27:35.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:27:35.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:27:35.999Z] Configure a credential helper to remove this warning. See [2021-03-15T07:27:35.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:27:35.999Z] [2021-03-15T07:27:35.999Z] Login Succeeded [2021-03-15T07:27:35.999Z] ---> docker-login.sh ends [Pipeline] } [2021-03-15T07:27:36.010Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-15T07:27:36.883Z] + git log --format=format:%s -1 fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 [Pipeline] echo [2021-03-15T07:27:36.954Z] GIT_COMMIT: fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4, Commit Message: refactor: Update example device config and api doc [Pipeline] echo [2021-03-15T07:27:37.003Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:27:37.982Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-15T07:27:37.982Z] [2021-03-15T07:27:37.982Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:27:38.337Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-15T07:27:38.337Z] latest: Pulling from edgex-devops/git-semver [2021-03-15T07:27:38.337Z] 31603596830f: Pulling fs layer [2021-03-15T07:27:38.337Z] 2a8b12db71e7: Pulling fs layer [2021-03-15T07:27:38.337Z] 6ca5941a6612: Pulling fs layer [2021-03-15T07:27:38.337Z] ecc8261a40a4: Pulling fs layer [2021-03-15T07:27:38.337Z] ecc8261a40a4: Waiting [2021-03-15T07:27:38.337Z] 2a8b12db71e7: Download complete [2021-03-15T07:27:38.337Z] 31603596830f: Download complete [2021-03-15T07:27:38.610Z] 6ca5941a6612: Verifying Checksum [2021-03-15T07:27:38.610Z] 6ca5941a6612: Download complete [2021-03-15T07:27:38.610Z] ecc8261a40a4: Verifying Checksum [2021-03-15T07:27:38.610Z] ecc8261a40a4: Download complete [2021-03-15T07:27:38.879Z] 31603596830f: Pull complete [2021-03-15T07:27:39.148Z] 2a8b12db71e7: Pull complete [2021-03-15T07:27:40.097Z] 6ca5941a6612: Pull complete [2021-03-15T07:27:40.097Z] ecc8261a40a4: Pull complete [2021-03-15T07:27:40.359Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-15T07:27:40.359Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-15T07:27:40.359Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-15T07:27:40.470Z] prd-centos7-docker-4c-2g-29795 does not seem to be running inside a container [2021-03-15T07:27:40.526Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-816 -v /w/workspace/dgexfoundry_device-sdk-go_PR-816:/w/workspace/dgexfoundry_device-sdk-go_PR-816:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-15T07:27:42.264Z] $ docker top b899e977efed6a69368e84b851c86d37de1cc6491677b297ae13ce33ca556776 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-15T07:27:42.552Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-15T07:27:42.553Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-15T07:27:42.796Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-15T07:27:42.803Z] $ docker exec b899e977efed6a69368e84b851c86d37de1cc6491677b297ae13ce33ca556776 ssh-agent [2021-03-15T07:27:42.989Z] SSH_AUTH_SOCK=/tmp/ssh-KHhbQBSco2Wz/agent.12 [2021-03-15T07:27:42.989Z] SSH_AGENT_PID=17 [2021-03-15T07:27:42.999Z] Running ssh-add (command line suppressed) [2021-03-15T07:27:43.145Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_2944235066651291252.key (/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_2944235066651291252.key) [2021-03-15T07:27:43.196Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-15T07:27:43.535Z] + git tag --points-at HEAD [Pipeline] } [2021-03-15T07:27:43.561Z] $ docker exec --env ******** --env ******** b899e977efed6a69368e84b851c86d37de1cc6491677b297ae13ce33ca556776 ssh-agent -k [2021-03-15T07:27:43.691Z] unset SSH_AUTH_SOCK; [2021-03-15T07:27:43.691Z] unset SSH_AGENT_PID; [2021-03-15T07:27:43.691Z] echo Agent pid 17 killed; [2021-03-15T07:27:43.738Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-15T07:27:43.888Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-15T07:27:43.888Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-15T07:27:44.072Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-15T07:27:44.078Z] $ docker exec b899e977efed6a69368e84b851c86d37de1cc6491677b297ae13ce33ca556776 ssh-agent [2021-03-15T07:27:44.257Z] SSH_AUTH_SOCK=/tmp/ssh-w5l7i7dT65fU/agent.48 [2021-03-15T07:27:44.257Z] SSH_AGENT_PID=54 [2021-03-15T07:27:44.265Z] Running ssh-add (command line suppressed) [2021-03-15T07:27:44.396Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_5017870584288715769.key (/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_5017870584288715769.key) [2021-03-15T07:27:44.446Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-15T07:27:44.821Z] + git semver init [2021-03-15T07:27:44.821Z] # -> Open(): unable to determine branch for HEAD [2021-03-15T07:27:44.821Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-816/.git [2021-03-15T07:27:44.821Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-816 [2021-03-15T07:27:44.821Z] # $SEMVER_REMOTE_NAME = origin [2021-03-15T07:27:44.821Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-15T07:27:44.821Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-15T07:27:44.821Z] # $SEMVER_BRANCH = PR-816 [2021-03-15T07:27:44.821Z] # $SEMVER_TEMP = /tmp/semver-957110257 [2021-03-15T07:27:44.821Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-15T07:27:45.778Z] # '/tmp/semver-957110257' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-816/.semver' [2021-03-15T07:27:45.778Z] # -> Force: false [2021-03-15T07:27:45.778Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-816/.semver [Pipeline] } [2021-03-15T07:27:45.794Z] $ docker exec --env ******** --env ******** b899e977efed6a69368e84b851c86d37de1cc6491677b297ae13ce33ca556776 ssh-agent -k [2021-03-15T07:27:45.921Z] unset SSH_AUTH_SOCK; [2021-03-15T07:27:45.922Z] unset SSH_AGENT_PID; [2021-03-15T07:27:45.922Z] echo Agent pid 54 killed; [2021-03-15T07:27:45.975Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-15T07:27:46.446Z] + git semver [Pipeline] } [2021-03-15T07:27:46.467Z] $ docker stop --time=1 b899e977efed6a69368e84b851c86d37de1cc6491677b297ae13ce33ca556776 [2021-03-15T07:27:47.900Z] $ docker rm -f b899e977efed6a69368e84b851c86d37de1cc6491677b297ae13ce33ca556776 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-15T07:27:48.470Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-15T07:27:48.998Z] Stashed 1 file(s) [Pipeline] echo [2021-03-15T07:27:49.002Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-03-15T07:28:04.555Z] Still waiting to schedule task [2021-03-15T07:28:04.555Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29795’ [2021-03-15T07:28:04.557Z] Still waiting to schedule task [2021-03-15T07:28:04.557Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-15T07:29:55.113Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29796 in /w/workspace/dgexfoundry_device-sdk-go_PR-816 [Pipeline] { [Pipeline] ws [2021-03-15T07:29:55.221Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-03-15T07:30:00.805Z] using credential edgex-jenkins-ssh [2021-03-15T07:30:00.876Z] Cloning the remote Git repository [2021-03-15T07:30:00.946Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T07:30:01.054Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-03-15T07:30:01.142Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T07:30:01.143Z] > git --version # timeout=10 [2021-03-15T07:30:01.165Z] > git --version # 'git version 2.17.1' [2021-03-15T07:30:01.166Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T07:30:01.250Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-15T07:30:03.208Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-15T07:30:03.228Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-15T07:30:03.253Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-15T07:30:03.285Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T07:30:03.286Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T07:30:03.299Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/816/head:refs/remotes/origin/PR-816 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-15T07:30:05.383Z] Merging remotes/origin/master commit 3f52f3a581500e7b2ce611731b922cb421169e9f into PR head commit fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 [2021-03-15T07:30:05.650Z] Merge succeeded, producing fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 [2021-03-15T07:30:05.650Z] Checking out Revision fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 (PR-816) [2021-03-15T07:30:05.405Z] > git config core.sparsecheckout # timeout=10 [2021-03-15T07:30:05.419Z] > git checkout -f fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 # timeout=10 [2021-03-15T07:30:05.520Z] > git remote # timeout=10 [2021-03-15T07:30:05.539Z] > git config --get remote.origin.url # timeout=10 [2021-03-15T07:30:05.553Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T07:30:05.567Z] > git merge 3f52f3a581500e7b2ce611731b922cb421169e9f # timeout=10 [2021-03-15T07:30:05.592Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-15T07:30:05.671Z] > git config core.sparsecheckout # timeout=10 [2021-03-15T07:30:05.699Z] > git checkout -f fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 # timeout=10 [2021-03-15T07:30:10.069Z] Commit message: "refactor: Update example device config and api doc" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-15T07:30:11.676Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-15T07:30:12.091Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-15T07:30:12.435Z] + sudo service docker restart [2021-03-15T07:30:12.435Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-15T07:30:15.168Z] provisioning config files... [2021-03-15T07:30:15.205Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config9206707819177437841tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:30:15.619Z] ---> docker-login.sh [2021-03-15T07:30:15.619Z] nexus3.edgexfoundry.org:10001 [2021-03-15T07:30:16.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:30:16.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:30:16.879Z] Configure a credential helper to remove this warning. See [2021-03-15T07:30:16.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:30:16.879Z] [2021-03-15T07:30:16.879Z] Login Succeeded [2021-03-15T07:30:16.879Z] nexus3.edgexfoundry.org:10002 [2021-03-15T07:30:17.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:30:17.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:30:17.425Z] Configure a credential helper to remove this warning. See [2021-03-15T07:30:17.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:30:17.425Z] [2021-03-15T07:30:17.425Z] Login Succeeded [2021-03-15T07:30:17.425Z] nexus3.edgexfoundry.org:10003 [2021-03-15T07:30:17.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:30:17.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:30:17.976Z] Configure a credential helper to remove this warning. See [2021-03-15T07:30:17.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:30:17.976Z] [2021-03-15T07:30:17.976Z] Login Succeeded [2021-03-15T07:30:17.976Z] nexus3.edgexfoundry.org:10004 [2021-03-15T07:30:18.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:30:18.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:30:18.249Z] Configure a credential helper to remove this warning. See [2021-03-15T07:30:18.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:30:18.249Z] [2021-03-15T07:30:18.249Z] Login Succeeded [2021-03-15T07:30:18.249Z] docker.io [2021-03-15T07:30:18.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:30:19.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:30:19.121Z] Configure a credential helper to remove this warning. See [2021-03-15T07:30:19.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:30:19.121Z] [2021-03-15T07:30:19.121Z] Login Succeeded [2021-03-15T07:30:19.121Z] ---> docker-login.sh ends [Pipeline] } [2021-03-15T07:30:19.138Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-15T07:30:19.640Z] ========================================================= [2021-03-15T07:30:19.640Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-15T07:30:19.640Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:30:20.029Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-03-15T07:30:20.310Z] Sending build context to Docker daemon 2.327MB [2021-03-15T07:30:20.595Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-15T07:30:20.595Z] Step 2/8 : FROM ${BASE} [2021-03-15T07:30:20.595Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-15T07:30:20.595Z] 5f621e34cdf4: Pulling fs layer [2021-03-15T07:30:20.595Z] a4357932f1b6: Pulling fs layer [2021-03-15T07:30:20.595Z] 18c013af1878: Pulling fs layer [2021-03-15T07:30:20.595Z] 00ac8860ef70: Pulling fs layer [2021-03-15T07:30:20.595Z] 63d7cb157983: Pulling fs layer [2021-03-15T07:30:20.595Z] b116817d02f9: Pulling fs layer [2021-03-15T07:30:20.595Z] 745a02a5169b: Pulling fs layer [2021-03-15T07:30:20.595Z] 00ac8860ef70: Waiting [2021-03-15T07:30:20.595Z] 63d7cb157983: Waiting [2021-03-15T07:30:20.595Z] b116817d02f9: Waiting [2021-03-15T07:30:20.595Z] 745a02a5169b: Waiting [2021-03-15T07:30:20.595Z] 18c013af1878: Verifying Checksum [2021-03-15T07:30:20.595Z] 18c013af1878: Download complete [2021-03-15T07:30:20.595Z] a4357932f1b6: Verifying Checksum [2021-03-15T07:30:20.595Z] a4357932f1b6: Download complete [2021-03-15T07:30:20.595Z] 63d7cb157983: Verifying Checksum [2021-03-15T07:30:20.595Z] 63d7cb157983: Download complete [2021-03-15T07:30:20.595Z] b116817d02f9: Verifying Checksum [2021-03-15T07:30:20.595Z] b116817d02f9: Download complete [2021-03-15T07:30:20.595Z] 5f621e34cdf4: Verifying Checksum [2021-03-15T07:30:20.595Z] 5f621e34cdf4: Download complete [2021-03-15T07:30:21.590Z] 5f621e34cdf4: Pull complete [2021-03-15T07:30:22.191Z] a4357932f1b6: Pull complete [2021-03-15T07:30:22.463Z] 18c013af1878: Pull complete [2021-03-15T07:30:23.067Z] 745a02a5169b: Verifying Checksum [2021-03-15T07:30:23.068Z] 745a02a5169b: Download complete [2021-03-15T07:30:24.047Z] 00ac8860ef70: Verifying Checksum [2021-03-15T07:30:24.047Z] 00ac8860ef70: Download complete [2021-03-15T07:30:34.093Z] Running on prd-centos7-docker-4c-2g-29797 in /w/workspace/dgexfoundry_device-sdk-go_PR-816 [Pipeline] { [Pipeline] ws [2021-03-15T07:30:34.187Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [2021-03-15T07:30:34.218Z] 00ac8860ef70: Pull complete [2021-03-15T07:30:34.218Z] 63d7cb157983: Pull complete [Pipeline] checkout [2021-03-15T07:30:34.490Z] b116817d02f9: Pull complete [2021-03-15T07:30:36.664Z] using credential edgex-jenkins-ssh [2021-03-15T07:30:36.743Z] Cloning the remote Git repository [2021-03-15T07:30:36.556Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T07:30:36.626Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-03-15T07:30:36.697Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T07:30:36.697Z] > git --version # timeout=10 [2021-03-15T07:30:36.705Z] > git --version # 'git version 2.24.3' [2021-03-15T07:30:36.706Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T07:30:36.733Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-15T07:30:38.216Z] Merging remotes/origin/master commit 3f52f3a581500e7b2ce611731b922cb421169e9f into PR head commit fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 [2021-03-15T07:30:38.356Z] Merge succeeded, producing fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 [2021-03-15T07:30:38.357Z] Checking out Revision fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 (PR-816) [2021-03-15T07:30:37.557Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-15T07:30:37.564Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-15T07:30:37.577Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-15T07:30:37.594Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T07:30:37.594Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T07:30:37.599Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/816/head:refs/remotes/origin/PR-816 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-15T07:30:38.130Z] > git config core.sparsecheckout # timeout=10 [2021-03-15T07:30:38.135Z] > git checkout -f fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 # timeout=10 [2021-03-15T07:30:38.185Z] > git remote # timeout=10 [2021-03-15T07:30:38.194Z] > git config --get remote.origin.url # timeout=10 [2021-03-15T07:30:38.199Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T07:30:38.211Z] > git merge 3f52f3a581500e7b2ce611731b922cb421169e9f # timeout=10 [2021-03-15T07:30:38.259Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-15T07:30:38.277Z] > git config core.sparsecheckout # timeout=10 [2021-03-15T07:30:38.287Z] > git checkout -f fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 # timeout=10 [2021-03-15T07:30:38.809Z] 745a02a5169b: Pull complete [2021-03-15T07:30:38.809Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-15T07:30:38.809Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-15T07:30:38.809Z] ---> b7e6874047d6 [2021-03-15T07:30:38.809Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T07:30:41.431Z] ---> Running in 18594c0d5060 [2021-03-15T07:30:41.431Z] Removing intermediate container 18594c0d5060 [2021-03-15T07:30:41.431Z] ---> 1bb4e380504b [2021-03-15T07:30:41.431Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-15T07:30:41.705Z] ---> Running in 672ba36788eb [2021-03-15T07:30:41.918Z] Commit message: "refactor: Update example device config and api doc" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-15T07:30:43.147Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-15T07:30:43.477Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-15T07:30:43.779Z] + sudo service docker restart [2021-03-15T07:30:43.779Z] + true [2021-03-15T07:30:43.779Z] Redirecting to /bin/systemctl restart docker.service [2021-03-15T07:30:44.324Z] Removing intermediate container 672ba36788eb [2021-03-15T07:30:44.324Z] ---> 4e7e73a502f4 [2021-03-15T07:30:44.324Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-15T07:30:44.324Z] ---> Running in 2d304f5537d7 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-15T07:30:45.256Z] provisioning config files... [2021-03-15T07:30:45.287Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config6795022815452255824tmp [Pipeline] { [2021-03-15T07:30:45.306Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:30:45.666Z] ---> docker-login.sh [2021-03-15T07:30:45.666Z] nexus3.edgexfoundry.org:10001 [2021-03-15T07:30:45.907Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-15T07:30:45.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:30:45.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:30:45.932Z] Configure a credential helper to remove this warning. See [2021-03-15T07:30:45.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:30:45.932Z] [2021-03-15T07:30:45.932Z] Login Succeeded [2021-03-15T07:30:45.932Z] nexus3.edgexfoundry.org:10002 [2021-03-15T07:30:46.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:30:46.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:30:46.195Z] Configure a credential helper to remove this warning. See [2021-03-15T07:30:46.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:30:46.195Z] [2021-03-15T07:30:46.195Z] Login Succeeded [2021-03-15T07:30:46.195Z] nexus3.edgexfoundry.org:10003 [2021-03-15T07:30:46.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:30:46.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:30:46.458Z] Configure a credential helper to remove this warning. See [2021-03-15T07:30:46.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:30:46.458Z] [2021-03-15T07:30:46.458Z] Login Succeeded [2021-03-15T07:30:46.458Z] nexus3.edgexfoundry.org:10004 [2021-03-15T07:30:46.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:30:46.500Z] OK: 142 MiB in 39 packages [2021-03-15T07:30:46.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:30:46.723Z] Configure a credential helper to remove this warning. See [2021-03-15T07:30:46.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:30:46.723Z] [2021-03-15T07:30:46.723Z] Login Succeeded [2021-03-15T07:30:46.723Z] docker.io [2021-03-15T07:30:46.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:30:46.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:30:46.986Z] Configure a credential helper to remove this warning. See [2021-03-15T07:30:46.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:30:46.986Z] [2021-03-15T07:30:46.986Z] Login Succeeded [2021-03-15T07:30:46.986Z] ---> docker-login.sh ends [Pipeline] } [2021-03-15T07:30:46.996Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-15T07:30:47.320Z] ========================================================= [2021-03-15T07:30:47.320Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-15T07:30:47.320Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:30:47.477Z] Removing intermediate container 2d304f5537d7 [2021-03-15T07:30:47.477Z] ---> fae7f5d0c817 [2021-03-15T07:30:47.477Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-15T07:30:47.668Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-03-15T07:30:47.751Z] ---> Running in 9eb1bb382602 [2021-03-15T07:30:47.931Z] Sending build context to Docker daemon 2.32MB [2021-03-15T07:30:47.931Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-15T07:30:47.931Z] Step 2/8 : FROM ${BASE} [2021-03-15T07:30:47.931Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-15T07:30:47.931Z] 188c0c94c7c5: Pulling fs layer [2021-03-15T07:30:47.931Z] 0ef7d3d256c8: Pulling fs layer [2021-03-15T07:30:47.931Z] de9db76c5a1d: Pulling fs layer [2021-03-15T07:30:47.931Z] bca2f99d35d6: Pulling fs layer [2021-03-15T07:30:47.931Z] 93359f2a8cfa: Pulling fs layer [2021-03-15T07:30:47.931Z] 7c6f9722023f: Pulling fs layer [2021-03-15T07:30:47.931Z] a35cf1a2eb13: Pulling fs layer [2021-03-15T07:30:47.931Z] 93359f2a8cfa: Waiting [2021-03-15T07:30:47.931Z] 7c6f9722023f: Waiting [2021-03-15T07:30:47.931Z] a35cf1a2eb13: Waiting [2021-03-15T07:30:47.931Z] bca2f99d35d6: Waiting [2021-03-15T07:30:47.931Z] de9db76c5a1d: Verifying Checksum [2021-03-15T07:30:47.931Z] de9db76c5a1d: Download complete [2021-03-15T07:30:47.931Z] 0ef7d3d256c8: Download complete [2021-03-15T07:30:47.931Z] 93359f2a8cfa: Verifying Checksum [2021-03-15T07:30:47.931Z] 93359f2a8cfa: Download complete [2021-03-15T07:30:47.931Z] 7c6f9722023f: Verifying Checksum [2021-03-15T07:30:47.931Z] 7c6f9722023f: Download complete [2021-03-15T07:30:47.931Z] 188c0c94c7c5: Verifying Checksum [2021-03-15T07:30:47.931Z] 188c0c94c7c5: Download complete [2021-03-15T07:30:48.196Z] 188c0c94c7c5: Pull complete [2021-03-15T07:30:48.347Z] Removing intermediate container 9eb1bb382602 [2021-03-15T07:30:48.347Z] ---> ba4786c150e2 [2021-03-15T07:30:48.347Z] Step 7/8 : COPY . . [2021-03-15T07:30:48.464Z] 0ef7d3d256c8: Pull complete [2021-03-15T07:30:48.726Z] de9db76c5a1d: Pull complete [2021-03-15T07:30:49.330Z] ---> 331dcd3ec485 [2021-03-15T07:30:49.330Z] Step 8/8 : RUN go mod download [2021-03-15T07:30:49.606Z] ---> Running in e99e4b519f54 [2021-03-15T07:30:49.679Z] a35cf1a2eb13: Verifying Checksum [2021-03-15T07:30:49.679Z] a35cf1a2eb13: Download complete [2021-03-15T07:30:50.257Z] bca2f99d35d6: Verifying Checksum [2021-03-15T07:30:50.257Z] bca2f99d35d6: Download complete [2021-03-15T07:30:56.893Z] bca2f99d35d6: Pull complete [2021-03-15T07:30:56.893Z] 93359f2a8cfa: Pull complete [2021-03-15T07:30:56.893Z] 7c6f9722023f: Pull complete [2021-03-15T07:31:00.234Z] a35cf1a2eb13: Pull complete [2021-03-15T07:31:00.234Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-15T07:31:00.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-15T07:31:00.234Z] ---> a62c8e92a672 [2021-03-15T07:31:00.234Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T07:31:00.234Z] ---> Running in 88c7d31909c2 [2021-03-15T07:31:00.234Z] Removing intermediate container 88c7d31909c2 [2021-03-15T07:31:00.234Z] ---> 79204024a820 [2021-03-15T07:31:00.234Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-15T07:31:00.234Z] ---> Running in 4fb08944bb23 [2021-03-15T07:31:01.188Z] Removing intermediate container 4fb08944bb23 [2021-03-15T07:31:01.188Z] ---> ad85634d4424 [2021-03-15T07:31:01.188Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-15T07:31:01.188Z] ---> Running in c4c3b24b16a9 [2021-03-15T07:31:02.142Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-15T07:31:02.716Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-15T07:31:03.291Z] OK: 166 MiB in 39 packages [2021-03-15T07:31:03.553Z] Removing intermediate container c4c3b24b16a9 [2021-03-15T07:31:03.553Z] ---> d6ee107976fe [2021-03-15T07:31:03.553Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-15T07:31:03.553Z] ---> Running in 93d69969a27d [2021-03-15T07:31:03.818Z] Removing intermediate container 93d69969a27d [2021-03-15T07:31:03.818Z] ---> c8f9b98abb4d [2021-03-15T07:31:03.818Z] Step 7/8 : COPY . . [2021-03-15T07:31:05.207Z] ---> 2d0184b35592 [2021-03-15T07:31:05.207Z] Step 8/8 : RUN go mod download [2021-03-15T07:31:05.207Z] ---> Running in 19aca9dd2f2d [2021-03-15T07:31:16.403Z] Removing intermediate container e99e4b519f54 [2021-03-15T07:31:16.403Z] ---> d33a3e2811a9 [2021-03-15T07:31:16.403Z] Successfully built d33a3e2811a9 [2021-03-15T07:31:16.403Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:31:16.758Z] + docker inspect -f . ci-base-image-arm64 [2021-03-15T07:31:16.758Z] . [Pipeline] withDockerContainer [2021-03-15T07:31:17.006Z] prd-ubuntu18.04-docker-arm64-4c-16g-29796 does not seem to be running inside a container [2021-03-15T07:31:17.094Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-15T07:31:18.597Z] $ docker top d7b4b9240a81d7c2bf1af4afd6c02ecc10e0d97b7f404370f4cc3fe80f552df9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-15T07:31:19.591Z] + go version [2021-03-15T07:31:19.591Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-15T07:31:19.614Z] $ docker stop --time=1 d7b4b9240a81d7c2bf1af4afd6c02ecc10e0d97b7f404370f4cc3fe80f552df9 [2021-03-15T07:31:21.465Z] $ docker rm -f d7b4b9240a81d7c2bf1af4afd6c02ecc10e0d97b7f404370f4cc3fe80f552df9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:31:22.435Z] + docker inspect -f . ci-base-image-arm64 [2021-03-15T07:31:22.436Z] . [Pipeline] withDockerContainer [2021-03-15T07:31:22.663Z] prd-ubuntu18.04-docker-arm64-4c-16g-29796 does not seem to be running inside a container [2021-03-15T07:31:22.742Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-15T07:31:23.382Z] Removing intermediate container 19aca9dd2f2d [2021-03-15T07:31:23.382Z] ---> c44b9eee085e [2021-03-15T07:31:23.382Z] Successfully built c44b9eee085e [2021-03-15T07:31:23.382Z] Successfully tagged ci-base-image-x86_64:latest [2021-03-15T07:31:24.189Z] $ docker top d7822025cf11e953d9b9b8f8340f6725c4244d90484f56f89a63213400e846af -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:31:24.964Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-15T07:31:24.964Z] . [Pipeline] withDockerContainer [2021-03-15T07:31:25.076Z] prd-centos7-docker-4c-2g-29797 does not seem to be running inside a container [2021-03-15T07:31:25.130Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-15T07:31:25.200Z] + make test [2021-03-15T07:31:25.200Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-15T07:31:26.433Z] $ docker top 4050eed9f18c4e435059359941c9e56af85608f3afaf2f48287224ffafa3caf3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-15T07:31:26.927Z] + go version [2021-03-15T07:31:26.927Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-15T07:31:26.942Z] $ docker stop --time=1 4050eed9f18c4e435059359941c9e56af85608f3afaf2f48287224ffafa3caf3 [2021-03-15T07:31:28.287Z] $ docker rm -f 4050eed9f18c4e435059359941c9e56af85608f3afaf2f48287224ffafa3caf3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:31:29.210Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-15T07:31:29.210Z] . [Pipeline] withDockerContainer [2021-03-15T07:31:29.312Z] prd-centos7-docker-4c-2g-29797 does not seem to be running inside a container [2021-03-15T07:31:29.369Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-15T07:31:29.965Z] $ docker top 17890a617b5f32c9d745b2eb5c460cd360501fd306caf541313929be7c58b24d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-15T07:31:30.500Z] + make test [2021-03-15T07:31:30.501Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-15T07:31:37.399Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-15T07:31:47.432Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-15T07:31:52.443Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-15T07:31:52.443Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-15T07:31:52.443Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-15T07:31:55.019Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 25.5% of statements [2021-03-15T07:32:26.498Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-15T07:32:26.498Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-15T07:32:26.498Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-15T07:32:27.200Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.057s coverage: 10.5% of statements [2021-03-15T07:32:27.200Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.056s coverage: 12.5% of statements [2021-03-15T07:32:27.200Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-15T07:32:27.200Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.065s coverage: 84.8% of statements [2021-03-15T07:32:27.200Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-15T07:32:27.200Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-15T07:32:27.200Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-15T07:32:27.200Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.115s coverage: 57.3% of statements [2021-03-15T07:32:27.200Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-15T07:32:27.200Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.095s coverage: 81.2% of statements [2021-03-15T07:32:27.200Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.087s coverage: 24.8% of statements [2021-03-15T07:32:27.200Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.138s coverage: 6.4% of statements [2021-03-15T07:32:27.200Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 5.2% of statements [2021-03-15T07:32:27.200Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-15T07:32:27.200Z] GO111MODULE=on go vet ./... [2021-03-15T07:32:30.836Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.166s coverage: 25.5% of statements [2021-03-15T07:32:35.454Z] gofmt -l . [2021-03-15T07:32:35.455Z] [ "`gofmt -l .`" = "" ] [2021-03-15T07:32:35.455Z] ./bin/test-attribution-txt.sh [2021-03-15T07:32:35.719Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-15T07:32:36.006Z] $ docker stop --time=1 17890a617b5f32c9d745b2eb5c460cd360501fd306caf541313929be7c58b24d [2021-03-15T07:32:37.993Z] $ docker rm -f 17890a617b5f32c9d745b2eb5c460cd360501fd306caf541313929be7c58b24d [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-15T07:32:38.659Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-15T07:32:39.067Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-15T07:32:41.857Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-15T07:32:42.175Z] + ls -al . [2021-03-15T07:32:42.175Z] total 188 [2021-03-15T07:32:42.175Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 15 07:32 . [2021-03-15T07:32:42.175Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 15 07:30 .. [2021-03-15T07:32:42.175Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 15 07:30 bin [2021-03-15T07:32:42.175Z] -rw-r--r--. 1 jenkins jenkins 103403 Mar 15 07:32 coverage.out [2021-03-15T07:32:42.175Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 15 07:30 Dockerfile.build [2021-03-15T07:32:42.175Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 15 07:30 .dockerignore [2021-03-15T07:32:42.175Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 15 07:30 example [2021-03-15T07:32:42.175Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 15 07:30 .git [2021-03-15T07:32:42.175Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 15 07:30 .github [2021-03-15T07:32:42.175Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 15 07:30 .gitignore [2021-03-15T07:32:42.175Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 15 07:32 go.mod [2021-03-15T07:32:42.175Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 15 07:32 go.sum [2021-03-15T07:32:42.175Z] drwxrwxr-x. 12 jenkins jenkins 171 Mar 15 07:30 internal [2021-03-15T07:32:42.175Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 15 07:30 Jenkinsfile [2021-03-15T07:32:42.175Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 15 07:30 LICENSE [2021-03-15T07:32:42.175Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 15 07:30 Makefile [2021-03-15T07:32:42.175Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 15 07:30 openapi [2021-03-15T07:32:42.175Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 15 07:30 pkg [2021-03-15T07:32:42.175Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 15 07:30 README.md [2021-03-15T07:32:42.175Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 15 07:30 RELEASE-NOTES.txt [2021-03-15T07:32:42.175Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 15 07:30 snap [2021-03-15T07:32:42.175Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 15 07:27 VERSION [2021-03-15T07:32:42.175Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 15 07:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:32:42.508Z] + 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=fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 --label arch=amd64 --label version=0.0.0 . [2021-03-15T07:32:42.772Z] Sending build context to Docker daemon 2.424MB [2021-03-15T07:32:42.772Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-15T07:32:42.772Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-15T07:32:42.772Z] ---> c44b9eee085e [2021-03-15T07:32:42.772Z] Step 3/24 : ARG MAKE='make build' [2021-03-15T07:32:43.348Z] ---> Running in 81885167534c [2021-03-15T07:32:43.613Z] Removing intermediate container 81885167534c [2021-03-15T07:32:43.613Z] ---> a391b496d306 [2021-03-15T07:32:43.613Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-15T07:32:43.613Z] ---> Running in 4e41fc0aacd1 [2021-03-15T07:32:43.876Z] Removing intermediate container 4e41fc0aacd1 [2021-03-15T07:32:43.876Z] ---> 1f005191a59c [2021-03-15T07:32:43.876Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T07:32:43.876Z] ---> Running in 37e6e1dea255 [2021-03-15T07:32:43.876Z] Removing intermediate container 37e6e1dea255 [2021-03-15T07:32:43.876Z] ---> f95d1f240fb6 [2021-03-15T07:32:43.876Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-15T07:32:44.139Z] ---> Running in e50cd6d86193 [2021-03-15T07:32:45.087Z] Removing intermediate container e50cd6d86193 [2021-03-15T07:32:45.087Z] ---> d7bd2a90c313 [2021-03-15T07:32:45.087Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-15T07:32:45.087Z] ---> Running in bf2b3317acf5 [2021-03-15T07:32:45.350Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-15T07:32:45.923Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-15T07:32:46.498Z] OK: 166 MiB in 39 packages [2021-03-15T07:32:46.761Z] Removing intermediate container bf2b3317acf5 [2021-03-15T07:32:46.761Z] ---> 7fb44122d78d [2021-03-15T07:32:46.761Z] Step 8/24 : COPY . . [2021-03-15T07:32:47.710Z] ---> dfc5da7b420e [2021-03-15T07:32:47.710Z] Step 9/24 : RUN ${MAKE} [2021-03-15T07:32:47.710Z] ---> Running in d61f7edf9339 [2021-03-15T07:32:48.295Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-15T07:32:58.430Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-15T07:32:59.383Z] Removing intermediate container d61f7edf9339 [2021-03-15T07:32:59.383Z] ---> 842639951d3a [2021-03-15T07:32:59.383Z] Step 10/24 : FROM scratch [2021-03-15T07:32:59.383Z] ---> [2021-03-15T07:32:59.383Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T07:32:59.383Z] ---> Running in 925b4de3ee6a [2021-03-15T07:32:59.646Z] Removing intermediate container 925b4de3ee6a [2021-03-15T07:32:59.646Z] ---> 077b8bb4df9b [2021-03-15T07:32:59.646Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-15T07:32:59.646Z] ---> Running in df7b2c8f37f3 [2021-03-15T07:32:59.910Z] Removing intermediate container df7b2c8f37f3 [2021-03-15T07:32:59.910Z] ---> 27e08489b454 [2021-03-15T07:32:59.910Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-15T07:32:59.910Z] ---> Running in 60bf86168d09 [2021-03-15T07:32:59.910Z] Removing intermediate container 60bf86168d09 [2021-03-15T07:32:59.910Z] ---> 3a02916b3636 [2021-03-15T07:32:59.910Z] Step 14/24 : WORKDIR / [2021-03-15T07:33:00.173Z] ---> Running in 0ff958715bd3 [2021-03-15T07:33:00.173Z] Removing intermediate container 0ff958715bd3 [2021-03-15T07:33:00.173Z] ---> 00fc2998556a [2021-03-15T07:33:00.173Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-15T07:33:00.749Z] ---> 113c214a7f8f [2021-03-15T07:33:00.749Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-15T07:33:00.749Z] ---> 7979cf8fb3dd [2021-03-15T07:33:00.749Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-15T07:33:01.014Z] ---> d0262ad21fbb [2021-03-15T07:33:01.014Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-15T07:33:01.282Z] ---> bdd273cc7aa8 [2021-03-15T07:33:01.282Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-15T07:33:01.544Z] ---> 0148f69b0c83 [2021-03-15T07:33:01.544Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-15T07:33:01.544Z] ---> Running in e55c53a94a22 [2021-03-15T07:33:01.807Z] Removing intermediate container e55c53a94a22 [2021-03-15T07:33:01.807Z] ---> 85d0a5a2780b [2021-03-15T07:33:01.807Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-15T07:33:01.807Z] ---> Running in a081a4e20c16 [2021-03-15T07:33:02.069Z] Removing intermediate container a081a4e20c16 [2021-03-15T07:33:02.069Z] ---> 2f348c249a5a [2021-03-15T07:33:02.069Z] Step 22/24 : LABEL arch=amd64 [2021-03-15T07:33:02.337Z] ---> Running in f8e2279fa72f [2021-03-15T07:33:02.337Z] Removing intermediate container f8e2279fa72f [2021-03-15T07:33:02.337Z] ---> d5820d507e7d [2021-03-15T07:33:02.337Z] Step 23/24 : LABEL git_sha=fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 [2021-03-15T07:33:02.600Z] ---> Running in b55187e7bbf2 [2021-03-15T07:33:02.600Z] Removing intermediate container b55187e7bbf2 [2021-03-15T07:33:02.600Z] ---> dfd34973e222 [2021-03-15T07:33:02.600Z] Step 24/24 : LABEL version=0.0.0 [2021-03-15T07:33:02.862Z] ---> Running in 0d39d0f27147 [2021-03-15T07:33:02.862Z] Removing intermediate container 0d39d0f27147 [2021-03-15T07:33:02.862Z] ---> e43173e49861 [2021-03-15T07:33:02.862Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-15T07:33:02.862Z] Successfully built e43173e49861 [2021-03-15T07:33:02.862Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2021-03-15T07:33:03.211Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.142s coverage: 10.5% of statements [2021-03-15T07:33:03.211Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.113s coverage: 12.5% of statements [2021-03-15T07:33:03.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-15T07:33:03.211Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.141s coverage: 84.8% of statements [2021-03-15T07:33:03.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-15T07:33:03.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-15T07:33:03.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-15T07:33:03.211Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.261s coverage: 57.3% of statements [2021-03-15T07:33:03.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-15T07:33:03.211Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.207s coverage: 81.2% of statements [2021-03-15T07:33:03.211Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.170s coverage: 24.8% of statements [2021-03-15T07:33:03.211Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.854s coverage: 6.4% of statements [2021-03-15T07:33:03.211Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.136s coverage: 5.2% of statements [2021-03-15T07:33:03.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-15T07:33:03.211Z] GO111MODULE=on go vet ./... [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:33:04.139Z] ---> job-cost.sh [2021-03-15T07:33:04.139Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-0xDD [2021-03-15T07:33:19.087Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-15T07:33:35.614Z] gofmt -l . [2021-03-15T07:33:35.614Z] [ "`gofmt -l .`" = "" ] [2021-03-15T07:33:35.614Z] ./bin/test-attribution-txt.sh [2021-03-15T07:33:35.614Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-15T07:33:35.635Z] $ docker stop --time=1 d7822025cf11e953d9b9b8f8340f6725c4244d90484f56f89a63213400e846af [2021-03-15T07:33:37.866Z] $ docker rm -f d7822025cf11e953d9b9b8f8340f6725c4244d90484f56f89a63213400e846af [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-15T07:33:39.100Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-15T07:33:39.171Z] Warning: overwriting stash ‘coverage-report’ [2021-03-15T07:33:40.087Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-15T07:33:40.876Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-15T07:33:41.204Z] + ls -al . [2021-03-15T07:33:41.204Z] total 224 [2021-03-15T07:33:41.204Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 07:33 . [2021-03-15T07:33:41.204Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 07:30 .. [2021-03-15T07:33:41.204Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 07:30 .dockerignore [2021-03-15T07:33:41.204Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 07:30 .git [2021-03-15T07:33:41.204Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 07:30 .github [2021-03-15T07:33:41.204Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 15 07:30 .gitignore [2021-03-15T07:33:41.204Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 15 07:30 Dockerfile.build [2021-03-15T07:33:41.204Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 15 07:30 Jenkinsfile [2021-03-15T07:33:41.204Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 15 07:30 LICENSE [2021-03-15T07:33:41.204Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 15 07:30 Makefile [2021-03-15T07:33:41.204Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 15 07:30 README.md [2021-03-15T07:33:41.204Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 15 07:30 RELEASE-NOTES.txt [2021-03-15T07:33:41.204Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 07:27 VERSION [2021-03-15T07:33:41.204Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 07:30 bin [2021-03-15T07:33:41.204Z] -rw-r--r-- 1 jenkins jenkins 103403 Mar 15 07:32 coverage.out [2021-03-15T07:33:41.204Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 07:30 example [2021-03-15T07:33:41.204Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 15 07:33 go.mod [2021-03-15T07:33:41.204Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 15 07:33 go.sum [2021-03-15T07:33:41.204Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 07:30 internal [2021-03-15T07:33:41.204Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 07:30 openapi [2021-03-15T07:33:41.204Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 07:30 pkg [2021-03-15T07:33:41.204Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 07:30 snap [2021-03-15T07:33:41.204Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 15 07:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:33:41.548Z] + 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=fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 --label arch=arm64 --label version=0.0.0 . [2021-03-15T07:33:41.820Z] Sending build context to Docker daemon 2.43MB [2021-03-15T07:33:42.092Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-15T07:33:42.092Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-15T07:33:42.092Z] ---> d33a3e2811a9 [2021-03-15T07:33:42.092Z] Step 3/24 : ARG MAKE='make build' [2021-03-15T07:33:42.365Z] ---> Running in 602425d28c68 [2021-03-15T07:33:42.639Z] Removing intermediate container 602425d28c68 [2021-03-15T07:33:42.639Z] ---> bff924888d72 [2021-03-15T07:33:42.639Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-15T07:33:42.910Z] ---> Running in e553ecb047d6 [2021-03-15T07:33:43.506Z] Removing intermediate container e553ecb047d6 [2021-03-15T07:33:43.506Z] ---> 0ea376d4b16c [2021-03-15T07:33:43.506Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T07:33:43.506Z] ---> Running in be52eb5d1303 [2021-03-15T07:33:44.104Z] Removing intermediate container be52eb5d1303 [2021-03-15T07:33:44.104Z] ---> 5ff04ffa88e4 [2021-03-15T07:33:44.104Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-15T07:33:44.104Z] ---> Running in 4e6c9b948d4d [2021-03-15T07:33:46.078Z] Removing intermediate container 4e6c9b948d4d [2021-03-15T07:33:46.078Z] ---> 2455d16ae4f1 [2021-03-15T07:33:46.078Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-15T07:33:46.359Z] ---> Running in 97945eac4905 [2021-03-15T07:33:47.341Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-15T07:33:47.929Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-15T07:33:48.525Z] OK: 142 MiB in 39 packages [2021-03-15T07:33:49.973Z] Removing intermediate container 97945eac4905 [2021-03-15T07:33:49.973Z] ---> bf4d218d81e3 [2021-03-15T07:33:49.973Z] Step 8/24 : COPY . . [2021-03-15T07:33:51.356Z] lf-activate-venv(): INFO: Adding /tmp/venv-0xDD/bin to PATH [2021-03-15T07:33:51.356Z] INFO: No Stack... [2021-03-15T07:33:51.356Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-15T07:33:51.356Z] INFO: Archiving Costs [Pipeline] sh [2021-03-15T07:33:51.409Z] ---> 9cb064e085ba [2021-03-15T07:33:51.409Z] Step 9/24 : RUN ${MAKE} [2021-03-15T07:33:51.409Z] ---> Running in 6df4c28d827c [2021-03-15T07:33:51.658Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2021-03-15T07:33:51.659Z] + cut -d, -f6 [Pipeline] lock [2021-03-15T07:33:51.740Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-816-6-stack-cost] [2021-03-15T07:33:51.755Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-816-6-stack-cost] did not exist. Created. [2021-03-15T07:33:51.755Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-816-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-15T07:33:52.187Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-15T07:33:52.306Z] Stashed 1 file(s) [Pipeline] } [2021-03-15T07:33:52.320Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-816-6-stack-cost] [Pipeline] // lock [2021-03-15T07:33:52.387Z] 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-15T07:34:19.202Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-15T07:34:20.173Z] Removing intermediate container 6df4c28d827c [2021-03-15T07:34:20.173Z] ---> c9a7025e9f02 [2021-03-15T07:34:20.173Z] Step 10/24 : FROM scratch [2021-03-15T07:34:20.173Z] ---> [2021-03-15T07:34:20.173Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T07:34:20.173Z] ---> Running in 5cf83f37de48 [2021-03-15T07:34:20.444Z] Removing intermediate container 5cf83f37de48 [2021-03-15T07:34:20.444Z] ---> 47f22fddb8b0 [2021-03-15T07:34:20.444Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-15T07:34:20.715Z] ---> Running in 4ff02e98e13a [2021-03-15T07:34:20.985Z] Removing intermediate container 4ff02e98e13a [2021-03-15T07:34:20.985Z] ---> 88e780388a96 [2021-03-15T07:34:20.985Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-15T07:34:21.255Z] ---> Running in 4d2d38a3e531 [2021-03-15T07:34:21.527Z] Removing intermediate container 4d2d38a3e531 [2021-03-15T07:34:21.527Z] ---> fdb29941f83d [2021-03-15T07:34:21.527Z] Step 14/24 : WORKDIR / [2021-03-15T07:34:21.527Z] ---> Running in 8d920dc21c1f [2021-03-15T07:34:22.117Z] Removing intermediate container 8d920dc21c1f [2021-03-15T07:34:22.117Z] ---> aed84972db99 [2021-03-15T07:34:22.117Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-15T07:34:23.092Z] ---> dcb68b225f5e [2021-03-15T07:34:23.092Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-15T07:34:24.069Z] ---> 68dca2c8ee8d [2021-03-15T07:34:24.069Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-15T07:34:24.666Z] ---> ec5dc4787c86 [2021-03-15T07:34:24.666Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-15T07:34:25.262Z] ---> b0f082955ec8 [2021-03-15T07:34:25.262Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-15T07:34:26.239Z] ---> b2e052ed6ee3 [2021-03-15T07:34:26.239Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-15T07:34:26.239Z] ---> Running in 1d15373a74f0 [2021-03-15T07:34:26.511Z] Removing intermediate container 1d15373a74f0 [2021-03-15T07:34:26.511Z] ---> 4ba874389919 [2021-03-15T07:34:26.511Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-15T07:34:26.783Z] ---> Running in 8dfa7ab8875e [2021-03-15T07:34:27.377Z] Removing intermediate container 8dfa7ab8875e [2021-03-15T07:34:27.377Z] ---> 978115bc0b2b [2021-03-15T07:34:27.377Z] Step 22/24 : LABEL arch=arm64 [2021-03-15T07:34:27.377Z] ---> Running in 2b78da0f6646 [2021-03-15T07:34:27.971Z] Removing intermediate container 2b78da0f6646 [2021-03-15T07:34:27.971Z] ---> d4245a0784a4 [2021-03-15T07:34:27.971Z] Step 23/24 : LABEL git_sha=fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 [2021-03-15T07:34:27.971Z] ---> Running in d310c2146bb5 [2021-03-15T07:34:28.566Z] Removing intermediate container d310c2146bb5 [2021-03-15T07:34:28.566Z] ---> 9a57406b3f40 [2021-03-15T07:34:28.566Z] Step 24/24 : LABEL version=0.0.0 [2021-03-15T07:34:28.566Z] ---> Running in 50a4ef7863a3 [2021-03-15T07:34:29.159Z] Removing intermediate container 50a4ef7863a3 [2021-03-15T07:34:29.159Z] ---> 05b5b2e35773 [2021-03-15T07:34:29.159Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-15T07:34:29.159Z] Successfully built 05b5b2e35773 [2021-03-15T07:34:29.159Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:34:29.919Z] ---> job-cost.sh [2021-03-15T07:34:29.919Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jjQm [2021-03-15T07:35:08.867Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-15T07:36:45.601Z] lf-activate-venv(): INFO: Adding /tmp/venv-jjQm/bin to PATH [2021-03-15T07:36:45.601Z] INFO: No Stack... [2021-03-15T07:36:45.601Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-15T07:36:45.601Z] INFO: Archiving Costs [Pipeline] sh [2021-03-15T07:36:45.933Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2021-03-15T07:36:45.933Z] + cut -d, -f6 [Pipeline] lock [2021-03-15T07:36:46.042Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-816-6-stack-cost] [2021-03-15T07:36:46.052Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-816-6-stack-cost] did not exist. Created. [2021-03-15T07:36:46.052Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-816-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-15T07:36:46.487Z] /w/workspace/device-sdk-go/6@tmp/durable-519ee9ca/script.sh: 1: /w/workspace/device-sdk-go/6@tmp/durable-519ee9ca/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-15T07:36:46.825Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-15T07:36:46.888Z] Warning: overwriting stash ‘stack-cost’ [2021-03-15T07:36:47.042Z] Stashed 1 file(s) [Pipeline] } [2021-03-15T07:36:47.068Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-816-6-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-15T07:36:48.461Z] provisioning config files... [2021-03-15T07:36:48.480Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/config3131599895380761575tmp [Pipeline] { [Pipeline] sh [2021-03-15T07:36:48.884Z] + set +x [2021-03-15T07:36:48.884Z] + bash -s -- [2021-03-15T07:36:48.884Z] + curl -s https://codecov.io/bash [2021-03-15T07:36:49.152Z] [2021-03-15T07:36:49.152Z] _____ _ [2021-03-15T07:36:49.152Z] / ____| | | [2021-03-15T07:36:49.152Z] | | ___ __| | ___ ___ _____ __ [2021-03-15T07:36:49.152Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-15T07:36:49.152Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-15T07:36:49.152Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-15T07:36:49.152Z] Bash-20210309-2b87ace [2021-03-15T07:36:49.152Z] [2021-03-15T07:36:49.152Z] [2021-03-15T07:36:49.152Z] ==> git version 2.24.3 found [2021-03-15T07:36:49.152Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-03-15T07:36:49.152Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-15T07:36:49.152Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-15T07:36:49.152Z] ==> Jenkins CI detected. [2021-03-15T07:36:49.152Z] project root: . [2021-03-15T07:36:49.152Z] --> token set from env [2021-03-15T07:36:49.152Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-15T07:36:49.152Z] ==> Running gcov in . (disable via -X gcov) [2021-03-15T07:36:49.152Z] ==> Python coveragepy not found [2021-03-15T07:36:49.152Z] ==> Searching for coverage reports in: [2021-03-15T07:36:49.152Z] + . [2021-03-15T07:36:49.152Z] -> Found 1 reports [2021-03-15T07:36:49.152Z] ==> Detecting git/mercurial file structure [2021-03-15T07:36:49.152Z] ==> Reading reports [2021-03-15T07:36:49.152Z] + ./coverage.out bytes=103403 [2021-03-15T07:36:49.152Z] ==> Appending adjustments [2021-03-15T07:36:49.152Z] https://docs.codecov.io/docs/fixing-reports [2021-03-15T07:36:49.728Z] + Found adjustments [2021-03-15T07:36:49.728Z] ==> Gzipping contents [2021-03-15T07:36:49.728Z] 16K /tmp/codecov.c5odkP.gz [2021-03-15T07:36:49.728Z] ==> Uploading reports [2021-03-15T07:36:49.728Z] url: https://codecov.io [2021-03-15T07:36:49.728Z] query: branch=PR-816&commit=fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-816%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=816&job=&cmd_args= [2021-03-15T07:36:49.728Z] -> Pinging Codecov [2021-03-15T07:36:49.728Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-816&commit=fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-816%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=816&job=&cmd_args= [2021-03-15T07:36:49.992Z] -> Uploading to [2021-03-15T07:36:49.992Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-15/7E55EF52A471D76F132DFD9A03CDDE97/fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4/fca5eba2-b5f2-43b5-8c9e-f464280441c7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210315T073649Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=865333b393da682412c500180ebae9dec60556caa13cdc3853af231ffc46298c [2021-03-15T07:36:49.992Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-15T07:36:49.992Z] Dload Upload Total Spent Left Speed [2021-03-15T07:36:50.567Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13850 0 0 100 13850 0 28538 --:--:-- --:--:-- --:--:-- 28556 [2021-03-15T07:36:50.567Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fc0c5eef9d1e220aa8a833ef24d691ab3d2b60b4 [Pipeline] } [2021-03-15T07:36:50.578Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:36:52.948Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:36:53.529Z] ---> package-listing.sh [2021-03-15T07:36:53.529Z] ++ facter osfamily [2021-03-15T07:36:53.529Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-15T07:36:53.529Z] + OS_FAMILY=redhat [2021-03-15T07:36:53.529Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-816 [2021-03-15T07:36:53.529Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-15T07:36:53.529Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-15T07:36:53.529Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-15T07:36:53.529Z] + PACKAGES=/tmp/packages_start.txt [2021-03-15T07:36:53.529Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-816 ']' [2021-03-15T07:36:53.529Z] + PACKAGES=/tmp/packages_end.txt [2021-03-15T07:36:53.529Z] + case "${OS_FAMILY}" in [2021-03-15T07:36:53.529Z] + rpm -qa [2021-03-15T07:36:53.529Z] + sort [2021-03-15T07:36:58.847Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-15T07:36:58.847Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-15T07:36:58.847Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-15T07:36:58.847Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-816 ']' [2021-03-15T07:36:58.847Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-816/archives/ [2021-03-15T07:36:58.847Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-816/archives/ [Pipeline] echo [2021-03-15T07:36:58.861Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-816/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-15T07:36:59.204Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:36:59.517Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-15T07:36:59.517Z] [2021-03-15T07:36:59.517Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:36:59.894Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-15T07:36:59.894Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-15T07:36:59.894Z] df20fa9351a1: Pulling fs layer [2021-03-15T07:36:59.894Z] 36b3adc4ff6f: Pulling fs layer [2021-03-15T07:36:59.894Z] 8ad3a11d3b57: Pulling fs layer [2021-03-15T07:36:59.894Z] 46f8f816bc3b: Pulling fs layer [2021-03-15T07:36:59.894Z] 93b61091891f: Pulling fs layer [2021-03-15T07:36:59.894Z] 93b9cdb0e59b: Pulling fs layer [2021-03-15T07:36:59.894Z] 5e14af77c1be: Pulling fs layer [2021-03-15T07:36:59.894Z] 01666e4c0597: Pulling fs layer [2021-03-15T07:36:59.894Z] aa168da1d23b: Pulling fs layer [2021-03-15T07:36:59.894Z] 93b61091891f: Waiting [2021-03-15T07:36:59.894Z] 93b9cdb0e59b: Waiting [2021-03-15T07:36:59.894Z] 5e14af77c1be: Waiting [2021-03-15T07:36:59.894Z] 01666e4c0597: Waiting [2021-03-15T07:36:59.894Z] aa168da1d23b: Waiting [2021-03-15T07:36:59.894Z] 46f8f816bc3b: Waiting [2021-03-15T07:36:59.894Z] 36b3adc4ff6f: Verifying Checksum [2021-03-15T07:36:59.894Z] 36b3adc4ff6f: Download complete [2021-03-15T07:36:59.894Z] 46f8f816bc3b: Download complete [2021-03-15T07:37:00.162Z] df20fa9351a1: Verifying Checksum [2021-03-15T07:37:00.162Z] df20fa9351a1: Download complete [2021-03-15T07:37:00.162Z] 93b9cdb0e59b: Verifying Checksum [2021-03-15T07:37:00.162Z] 93b9cdb0e59b: Download complete [2021-03-15T07:37:00.162Z] 93b61091891f: Verifying Checksum [2021-03-15T07:37:00.162Z] 93b61091891f: Download complete [2021-03-15T07:37:00.162Z] 5e14af77c1be: Verifying Checksum [2021-03-15T07:37:00.162Z] 5e14af77c1be: Download complete [2021-03-15T07:37:00.162Z] 01666e4c0597: Verifying Checksum [2021-03-15T07:37:00.162Z] 01666e4c0597: Download complete [2021-03-15T07:37:00.162Z] 8ad3a11d3b57: Verifying Checksum [2021-03-15T07:37:00.162Z] 8ad3a11d3b57: Download complete [2021-03-15T07:37:00.740Z] df20fa9351a1: Pull complete [2021-03-15T07:37:00.740Z] 36b3adc4ff6f: Pull complete [2021-03-15T07:37:01.702Z] 8ad3a11d3b57: Pull complete [2021-03-15T07:37:01.702Z] 46f8f816bc3b: Pull complete [2021-03-15T07:37:03.118Z] aa168da1d23b: Verifying Checksum [2021-03-15T07:37:03.118Z] aa168da1d23b: Download complete [2021-03-15T07:37:03.382Z] 93b61091891f: Pull complete [2021-03-15T07:37:03.382Z] 93b9cdb0e59b: Pull complete [2021-03-15T07:37:03.645Z] 5e14af77c1be: Pull complete [2021-03-15T07:37:03.645Z] 01666e4c0597: Pull complete [2021-03-15T07:37:11.861Z] aa168da1d23b: Pull complete [2021-03-15T07:37:11.861Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-15T07:37:11.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-15T07:37:11.861Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-15T07:37:12.137Z] prd-centos7-docker-4c-2g-29795 does not seem to be running inside a container [2021-03-15T07:37:12.190Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-816/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-816 -v /w/workspace/dgexfoundry_device-sdk-go_PR-816:/w/workspace/dgexfoundry_device-sdk-go_PR-816:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-15T07:37:14.834Z] $ docker top ee3eca80572aafc2fe8258df0b86b91db8af06213bb3f166e35d59ce49e790dc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-15T07:37:15.374Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-15T07:37:15.682Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-15T07:37:15.986Z] + ls /var/log/sa-host [2021-03-15T07:37:15.987Z] + sadf -c /var/log/sa-host/sa15 [2021-03-15T07:37:15.987Z] file_magic: OK [2021-03-15T07:37:15.987Z] HZ: Using current value: 100 [2021-03-15T07:37:15.987Z] file_header: OK [2021-03-15T07:37:15.987Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-15T07:37:15.987Z] Statistics: [2021-03-15T07:37:15.987Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-15T07:37:15.987Z] File successfully converted to sysstat format version 12.2.1 [2021-03-15T07:37:15.987Z] + sadf -c /var/log/sa-host/sa23 [2021-03-15T07:37:15.987Z] file_magic: OK [2021-03-15T07:37:15.987Z] HZ: Using current value: 100 [2021-03-15T07:37:15.987Z] file_header: OK [2021-03-15T07:37:15.987Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-15T07:37:15.987Z] Statistics: [2021-03-15T07:37:15.987Z] Hnuu...uuuununununu... [2021-03-15T07:37:15.987Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-15T07:37:16.646Z] provisioning config files... [2021-03-15T07:37:16.668Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/config2719688912920318129tmp [Pipeline] { [Pipeline] echo [2021-03-15T07:37:16.753Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:37:17.054Z] ---> create-netrc.sh [Pipeline] } [2021-03-15T07:37:17.066Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-15T07:37:17.172Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:37:17.474Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-15T07:37:17.486Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:37:17.788Z] ---> sudo-logs.sh [2021-03-15T07:37:17.788Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-15T07:37:17.867Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:37:18.169Z] ---> job-cost.sh [2021-03-15T07:37:18.169Z] lf-activate-venv: SKIPPING [2021-03-15T07:37:18.169Z] DEBUG: total: 0.20999999344348907 [2021-03-15T07:37:18.169Z] INFO: Retrieving Stack Cost... [2021-03-15T07:37:19.129Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-15T07:37:19.391Z] INFO: Archiving Costs [Pipeline] echo [2021-03-15T07:37:19.404Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:37:19.735Z] ---> logs-deploy.sh [2021-03-15T07:37:19.735Z] lf-activate-venv: SKIPPING [2021-03-15T07:37:19.735Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-816/6 [2021-03-15T07:37:19.735Z] INFO: archiving workspace using pattern(s): [2021-03-15T07:37:21.658Z] Archives upload complete. [2021-03-15T07:37:21.658Z] INFO: archiving logs to Nexus [2021-03-15T07:37:22.612Z] ---> uname -a: [2021-03-15T07:37:22.612Z] Linux prd-centos7-docker-4c-2g-29795.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-03-15T07:37:22.612Z] [2021-03-15T07:37:22.612Z] [2021-03-15T07:37:22.612Z] ---> lscpu: [2021-03-15T07:37:22.612Z] Architecture: x86_64 [2021-03-15T07:37:22.612Z] CPU op-mode(s): 32-bit, 64-bit [2021-03-15T07:37:22.612Z] Byte Order: Little Endian [2021-03-15T07:37:22.612Z] Address sizes: 40 bits physical, 48 bits virtual [2021-03-15T07:37:22.612Z] CPU(s): 4 [2021-03-15T07:37:22.612Z] On-line CPU(s) list: 0-3 [2021-03-15T07:37:22.612Z] Thread(s) per core: 1 [2021-03-15T07:37:22.612Z] Core(s) per socket: 1 [2021-03-15T07:37:22.612Z] Socket(s): 4 [2021-03-15T07:37:22.612Z] NUMA node(s): 1 [2021-03-15T07:37:22.612Z] Vendor ID: GenuineIntel [2021-03-15T07:37:22.612Z] CPU family: 6 [2021-03-15T07:37:22.612Z] Model: 44 [2021-03-15T07:37:22.612Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-03-15T07:37:22.612Z] Stepping: 1 [2021-03-15T07:37:22.612Z] CPU MHz: 2933.436 [2021-03-15T07:37:22.612Z] BogoMIPS: 5866.87 [2021-03-15T07:37:22.612Z] Virtualization: VT-x [2021-03-15T07:37:22.612Z] Hypervisor vendor: KVM [2021-03-15T07:37:22.612Z] Virtualization type: full [2021-03-15T07:37:22.612Z] L1d cache: 128 KiB [2021-03-15T07:37:22.612Z] L1i cache: 128 KiB [2021-03-15T07:37:22.612Z] L2 cache: 16 MiB [2021-03-15T07:37:22.612Z] L3 cache: 64 MiB [2021-03-15T07:37:22.612Z] NUMA node0 CPU(s): 0-3 [2021-03-15T07:37:22.612Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-03-15T07:37:22.612Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-03-15T07:37:22.612Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-03-15T07:37:22.612Z] Vulnerability Meltdown: Mitigation; PTI [2021-03-15T07:37:22.612Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-03-15T07:37:22.612Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-03-15T07:37:22.612Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-03-15T07:37:22.612Z] Vulnerability Srbds: Not affected [2021-03-15T07:37:22.612Z] Vulnerability Tsx async abort: Not affected [2021-03-15T07:37:22.612Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-03-15T07:37:22.612Z] [2021-03-15T07:37:22.612Z] [2021-03-15T07:37:22.612Z] ---> nproc: [2021-03-15T07:37:22.612Z] 4 [2021-03-15T07:37:22.612Z] [2021-03-15T07:37:22.612Z] [2021-03-15T07:37:22.612Z] ---> df -h: [2021-03-15T07:37:22.612Z] Filesystem Size Used Available Use% Mounted on [2021-03-15T07:37:22.612Z] overlay 50.0G 7.3G 42.7G 15% / [2021-03-15T07:37:22.612Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-03-15T07:37:22.612Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-03-15T07:37:22.612Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-03-15T07:37:22.612Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-03-15T07:37:22.612Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-03-15T07:37:22.612Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-03-15T07:37:22.612Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-03-15T07:37:22.612Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-03-15T07:37:22.612Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-816 [2021-03-15T07:37:22.612Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp [2021-03-15T07:37:22.612Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-03-15T07:37:22.612Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-03-15T07:37:22.612Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-03-15T07:37:22.612Z] [2021-03-15T07:37:22.612Z] [2021-03-15T07:37:22.612Z] ---> free -m: [2021-03-15T07:37:22.612Z] total used free shared buff/cache available [2021-03-15T07:37:22.612Z] Mem: 1837 743 104 0 989 988 [2021-03-15T07:37:22.612Z] Swap: 1023 1 1022 [2021-03-15T07:37:22.612Z] [2021-03-15T07:37:22.612Z] [2021-03-15T07:37:22.612Z] ---> ip addr: [2021-03-15T07:37:22.612Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-03-15T07:37:22.612Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-03-15T07:37:22.612Z] inet 127.0.0.1/8 scope host lo [2021-03-15T07:37:22.612Z] valid_lft forever preferred_lft forever [2021-03-15T07:37:22.612Z] inet6 ::1/128 scope host [2021-03-15T07:37:22.612Z] valid_lft forever preferred_lft forever [2021-03-15T07:37:22.612Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-03-15T07:37:22.612Z] link/ether fa:16:3e:29:73:fa brd ff:ff:ff:ff:ff:ff [2021-03-15T07:37:22.612Z] inet 10.30.123.155/23 brd 10.30.123.255 scope global dynamic eth0 [2021-03-15T07:37:22.612Z] valid_lft 85770sec preferred_lft 85770sec [2021-03-15T07:37:22.612Z] inet6 fe80::f816:3eff:fe29:73fa/64 scope link [2021-03-15T07:37:22.612Z] valid_lft forever preferred_lft forever [2021-03-15T07:37:22.612Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-03-15T07:37:22.612Z] link/ether 02:42:75:5d:6c:34 brd ff:ff:ff:ff:ff:ff [2021-03-15T07:37:22.612Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-03-15T07:37:22.612Z] valid_lft forever preferred_lft forever [2021-03-15T07:37:22.612Z] inet6 fe80::42:75ff:fe5d:6c34/64 scope link [2021-03-15T07:37:22.612Z] valid_lft forever preferred_lft forever [2021-03-15T07:37:22.612Z] [2021-03-15T07:37:22.612Z]