Pull request #817 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 819fd0603bf74d63ca9507c9287fd8f7738d0bf7+a5ad5abbb998935bb195657aabe249c4682f0fa3 (718aa76a4c9f1d3b9df2a57b489a284133108a06) 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-29803 in /w/workspace/dgexfoundry_device-sdk-go_PR-817 [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-817 # 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 a5ad5abbb998935bb195657aabe249c4682f0fa3 into PR head commit 819fd0603bf74d63ca9507c9287fd8f7738d0bf7 Merge succeeded, producing 819fd0603bf74d63ca9507c9287fd8f7738d0bf7 Checking out Revision 819fd0603bf74d63ca9507c9287fd8f7738d0bf7 (PR-817) > 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/817/head:refs/remotes/origin/PR-817 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 819fd0603bf74d63ca9507c9287fd8f7738d0bf7 # 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 a5ad5abbb998935bb195657aabe249c4682f0fa3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 819fd0603bf74d63ca9507c9287fd8f7738d0bf7 # timeout=10 Commit message: "refactor: rename problematic terminology in SDK" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-15T08:27:43.714Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-15T08:27:43.998Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-15T08:27:44.119Z] ========================================================= [2021-03-15T08:27:44.119Z] EdgeX Global Pipelines Version Info [2021-03-15T08:27:44.119Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-15T08:27:46.577Z] ------------------- [2021-03-15T08:27:46.577Z] stable info: [2021-03-15T08:27:46.577Z] ------------------- [2021-03-15T08:27:46.577Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-15T08:27:46.577Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-15T08:27:46.577Z] Message: update stable to v1.0.184 [2021-03-15T08:27:48.076Z] ------------------- [2021-03-15T08:27:48.076Z] experimental info: [2021-03-15T08:27:48.076Z] ------------------- [2021-03-15T08:27:48.076Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-15T08:27:48.076Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-15T08:27:48.076Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-15T08:27:48.565Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-15T08:27:48.681Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-15T08:27:48.788Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-15T08:27:48.899Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-15T08:27:49.013Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-15T08:27:49.120Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-15T08:27:49.224Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-15T08:27:49.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-15T08:27:49.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-15T08:27:49.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-15T08:27:49.648Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-15T08:27:49.771Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-15T08:27:49.908Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-15T08:27:50.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-15T08:27:50.128Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-15T08:27:50.272Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-15T08:27:50.377Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-15T08:27:50.508Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-15T08:27:50.624Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-15T08:27:50.728Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-15T08:27:50.837Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-15T08:27:50.945Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-15T08:27:51.043Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-15T08:27:51.268Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-15T08:27:51.390Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-15T08:27:51.491Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-15T08:27:51.590Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-817 [Pipeline] echo [2021-03-15T08:27:51.707Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-817 [Pipeline] echo [2021-03-15T08:27:51.826Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-817 [Pipeline] echo [2021-03-15T08:27:51.938Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 819fd0603bf74d63ca9507c9287fd8f7738d0bf7 [Pipeline] echo [2021-03-15T08:27:52.088Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 819fd06 [Pipeline] echo [2021-03-15T08:27:52.219Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-15T08:27:52.410Z] provisioning config files... [2021-03-15T08:27:52.519Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-817@tmp/config1890516430553847697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-15T08:27:53.147Z] ---> docker-login.sh [2021-03-15T08:27:53.147Z] nexus3.edgexfoundry.org:10001 [2021-03-15T08:27:54.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T08:27:54.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T08:27:54.562Z] Configure a credential helper to remove this warning. See [2021-03-15T08:27:54.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T08:27:54.562Z] [2021-03-15T08:27:54.562Z] Login Succeeded [2021-03-15T08:27:54.872Z] nexus3.edgexfoundry.org:10002 [2021-03-15T08:27:55.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T08:27:55.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T08:27:55.552Z] Configure a credential helper to remove this warning. See [2021-03-15T08:27:55.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T08:27:55.552Z] [2021-03-15T08:27:55.552Z] Login Succeeded [2021-03-15T08:27:55.552Z] nexus3.edgexfoundry.org:10003 [2021-03-15T08:27:56.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T08:27:56.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T08:27:56.257Z] Configure a credential helper to remove this warning. See [2021-03-15T08:27:56.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T08:27:56.257Z] [2021-03-15T08:27:56.257Z] Login Succeeded [2021-03-15T08:27:56.257Z] nexus3.edgexfoundry.org:10004 [2021-03-15T08:27:56.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T08:27:56.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T08:27:56.580Z] Configure a credential helper to remove this warning. See [2021-03-15T08:27:56.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T08:27:56.580Z] [2021-03-15T08:27:56.580Z] Login Succeeded [2021-03-15T08:27:56.580Z] docker.io [2021-03-15T08:27:57.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T08:27:57.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T08:27:57.804Z] Configure a credential helper to remove this warning. See [2021-03-15T08:27:57.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T08:27:57.804Z] [2021-03-15T08:27:57.804Z] Login Succeeded [2021-03-15T08:27:57.804Z] ---> docker-login.sh ends [Pipeline] } [2021-03-15T08:27:57.820Z] 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-15T08:27:58.731Z] + git log --format=format:%s -1 819fd0603bf74d63ca9507c9287fd8f7738d0bf7 [Pipeline] echo [2021-03-15T08:27:58.921Z] GIT_COMMIT: 819fd0603bf74d63ca9507c9287fd8f7738d0bf7, Commit Message: refactor: rename problematic terminology in SDK [Pipeline] echo [2021-03-15T08:27:58.970Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:28:00.016Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-15T08:28:00.016Z] [2021-03-15T08:28:00.016Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:28:00.453Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-15T08:28:00.453Z] latest: Pulling from edgex-devops/git-semver [2021-03-15T08:28:00.453Z] 31603596830f: Pulling fs layer [2021-03-15T08:28:00.453Z] 2a8b12db71e7: Pulling fs layer [2021-03-15T08:28:00.453Z] 6ca5941a6612: Pulling fs layer [2021-03-15T08:28:00.453Z] ecc8261a40a4: Pulling fs layer [2021-03-15T08:28:00.453Z] ecc8261a40a4: Waiting [2021-03-15T08:28:00.453Z] 2a8b12db71e7: Download complete [2021-03-15T08:28:00.751Z] 31603596830f: Verifying Checksum [2021-03-15T08:28:00.751Z] 31603596830f: Download complete [2021-03-15T08:28:01.033Z] ecc8261a40a4: Verifying Checksum [2021-03-15T08:28:01.033Z] ecc8261a40a4: Download complete [2021-03-15T08:28:01.033Z] 6ca5941a6612: Verifying Checksum [2021-03-15T08:28:01.033Z] 6ca5941a6612: Download complete [2021-03-15T08:28:01.310Z] 31603596830f: Pull complete [2021-03-15T08:28:01.619Z] 2a8b12db71e7: Pull complete [2021-03-15T08:28:05.369Z] 6ca5941a6612: Pull complete [2021-03-15T08:28:05.718Z] ecc8261a40a4: Pull complete [2021-03-15T08:28:05.718Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-15T08:28:05.718Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-15T08:28:05.718Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-15T08:28:06.047Z] prd-centos7-docker-4c-2g-29803 does not seem to be running inside a container [2021-03-15T08:28:06.166Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-817 -v /w/workspace/dgexfoundry_device-sdk-go_PR-817:/w/workspace/dgexfoundry_device-sdk-go_PR-817:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-817@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-817@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-15T08:28:09.246Z] $ docker top 5eae0b89d31ccfac30190f5367f4bab52a76e88e65e5162c5608dade095ad6bb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-15T08:28:10.259Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-15T08:28:10.259Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-15T08:28:11.481Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-15T08:28:11.520Z] $ docker exec 5eae0b89d31ccfac30190f5367f4bab52a76e88e65e5162c5608dade095ad6bb ssh-agent [2021-03-15T08:28:11.895Z] SSH_AUTH_SOCK=/tmp/ssh-VLkFKGbB18UB/agent.11 [2021-03-15T08:28:11.895Z] SSH_AGENT_PID=16 [2021-03-15T08:28:11.918Z] Running ssh-add (command line suppressed) [2021-03-15T08:28:12.158Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-817@tmp/private_key_5926130108451531101.key (/w/workspace/dgexfoundry_device-sdk-go_PR-817@tmp/private_key_5926130108451531101.key) [2021-03-15T08:28:12.281Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-15T08:28:12.718Z] + git tag --points-at HEAD [Pipeline] } [2021-03-15T08:28:12.788Z] $ docker exec --env ******** --env ******** 5eae0b89d31ccfac30190f5367f4bab52a76e88e65e5162c5608dade095ad6bb ssh-agent -k [2021-03-15T08:28:13.111Z] unset SSH_AUTH_SOCK; [2021-03-15T08:28:13.111Z] unset SSH_AGENT_PID; [2021-03-15T08:28:13.112Z] echo Agent pid 16 killed; [2021-03-15T08:28:13.204Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-15T08:28:13.444Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-15T08:28:13.444Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-15T08:28:14.064Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-15T08:28:14.074Z] $ docker exec 5eae0b89d31ccfac30190f5367f4bab52a76e88e65e5162c5608dade095ad6bb ssh-agent [2021-03-15T08:28:14.727Z] SSH_AUTH_SOCK=/tmp/ssh-IFpSlhiswqf8/agent.45 [2021-03-15T08:28:14.727Z] SSH_AGENT_PID=50 [2021-03-15T08:28:14.740Z] Running ssh-add (command line suppressed) [2021-03-15T08:28:14.996Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-817@tmp/private_key_2443693750125918859.key (/w/workspace/dgexfoundry_device-sdk-go_PR-817@tmp/private_key_2443693750125918859.key) [2021-03-15T08:28:15.138Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-15T08:28:16.074Z] + git semver init [2021-03-15T08:28:16.074Z] # -> Open(): unable to determine branch for HEAD [2021-03-15T08:28:16.074Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-817/.git [2021-03-15T08:28:16.074Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-817 [2021-03-15T08:28:16.074Z] # $SEMVER_REMOTE_NAME = origin [2021-03-15T08:28:16.074Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-15T08:28:16.074Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-15T08:28:16.074Z] # $SEMVER_BRANCH = PR-817 [2021-03-15T08:28:16.074Z] # $SEMVER_TEMP = /tmp/semver-735045566 [2021-03-15T08:28:16.074Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-15T08:28:17.659Z] # '/tmp/semver-735045566' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-817/.semver' [2021-03-15T08:28:17.659Z] # -> Force: false [2021-03-15T08:28:17.659Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-817/.semver [Pipeline] } [2021-03-15T08:28:17.682Z] $ docker exec --env ******** --env ******** 5eae0b89d31ccfac30190f5367f4bab52a76e88e65e5162c5608dade095ad6bb ssh-agent -k [2021-03-15T08:28:17.968Z] unset SSH_AUTH_SOCK; [2021-03-15T08:28:17.969Z] unset SSH_AGENT_PID; [2021-03-15T08:28:17.969Z] echo Agent pid 50 killed; [2021-03-15T08:28:18.070Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-15T08:28:18.922Z] + git semver [Pipeline] } [2021-03-15T08:28:18.980Z] $ docker stop --time=1 5eae0b89d31ccfac30190f5367f4bab52a76e88e65e5162c5608dade095ad6bb [2021-03-15T08:28:20.969Z] $ docker rm -f 5eae0b89d31ccfac30190f5367f4bab52a76e88e65e5162c5608dade095ad6bb [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-15T08:28:22.180Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-15T08:28:22.870Z] Stashed 1 file(s) [Pipeline] echo [2021-03-15T08:28:22.873Z] [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-15T08:28:38.652Z] Still waiting to schedule task [2021-03-15T08:28:38.652Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-15T08:28:38.656Z] Still waiting to schedule task [2021-03-15T08:28:38.656Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-15T08:30:29.544Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29804 in /w/workspace/dgexfoundry_device-sdk-go_PR-817 [Pipeline] { [Pipeline] ws [2021-03-15T08:30:29.606Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-15T08:30:34.644Z] using credential edgex-jenkins-ssh [2021-03-15T08:30:34.714Z] Cloning the remote Git repository [2021-03-15T08:30:34.787Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T08:30:34.890Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-15T08:30:34.959Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T08:30:34.960Z] > git --version # timeout=10 [2021-03-15T08:30:34.985Z] > git --version # 'git version 2.17.1' [2021-03-15T08:30:34.987Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T08:30:35.073Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-15T08:30:36.841Z] Merging remotes/origin/master commit a5ad5abbb998935bb195657aabe249c4682f0fa3 into PR head commit 819fd0603bf74d63ca9507c9287fd8f7738d0bf7 [2021-03-15T08:30:37.119Z] Merge succeeded, producing 819fd0603bf74d63ca9507c9287fd8f7738d0bf7 [2021-03-15T08:30:37.120Z] Checking out Revision 819fd0603bf74d63ca9507c9287fd8f7738d0bf7 (PR-817) [2021-03-15T08:30:36.184Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-15T08:30:36.205Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-15T08:30:36.233Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-15T08:30:36.274Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T08:30:36.275Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T08:30:36.288Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/817/head:refs/remotes/origin/PR-817 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-15T08:30:36.880Z] > git config core.sparsecheckout # timeout=10 [2021-03-15T08:30:36.902Z] > git checkout -f 819fd0603bf74d63ca9507c9287fd8f7738d0bf7 # timeout=10 [2021-03-15T08:30:36.999Z] > git remote # timeout=10 [2021-03-15T08:30:37.015Z] > git config --get remote.origin.url # timeout=10 [2021-03-15T08:30:37.030Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T08:30:37.042Z] > git merge a5ad5abbb998935bb195657aabe249c4682f0fa3 # timeout=10 [2021-03-15T08:30:37.109Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-15T08:30:37.143Z] > git config core.sparsecheckout # timeout=10 [2021-03-15T08:30:37.177Z] > git checkout -f 819fd0603bf74d63ca9507c9287fd8f7738d0bf7 # timeout=10 [2021-03-15T08:30:41.434Z] Commit message: "refactor: rename problematic terminology in SDK" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-15T08:30:43.225Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-15T08:30:43.628Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-15T08:30:43.973Z] + sudo service docker restart [2021-03-15T08:30:43.973Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-15T08:30:46.694Z] provisioning config files... [2021-03-15T08:30:46.736Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5291673699378727165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-15T08:30:47.154Z] ---> docker-login.sh [2021-03-15T08:30:47.154Z] nexus3.edgexfoundry.org:10001 [2021-03-15T08:30:47.923Z] Running on prd-centos7-docker-4c-2g-29805 in /w/workspace/dgexfoundry_device-sdk-go_PR-817 [Pipeline] { [Pipeline] ws [2021-03-15T08:30:47.981Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-15T08:30:48.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T08:30:48.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T08:30:48.428Z] Configure a credential helper to remove this warning. See [2021-03-15T08:30:48.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T08:30:48.428Z] [2021-03-15T08:30:48.428Z] Login Succeeded [2021-03-15T08:30:48.428Z] nexus3.edgexfoundry.org:10002 [2021-03-15T08:30:49.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T08:30:49.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T08:30:49.050Z] Configure a credential helper to remove this warning. See [2021-03-15T08:30:49.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T08:30:49.050Z] [2021-03-15T08:30:49.050Z] Login Succeeded [2021-03-15T08:30:49.050Z] nexus3.edgexfoundry.org:10003 [2021-03-15T08:30:49.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T08:30:49.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T08:30:49.600Z] Configure a credential helper to remove this warning. See [2021-03-15T08:30:49.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T08:30:49.600Z] [2021-03-15T08:30:49.600Z] Login Succeeded [2021-03-15T08:30:49.600Z] nexus3.edgexfoundry.org:10004 [2021-03-15T08:30:49.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T08:30:50.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T08:30:50.152Z] Configure a credential helper to remove this warning. See [2021-03-15T08:30:50.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T08:30:50.152Z] [2021-03-15T08:30:50.152Z] Login Succeeded [2021-03-15T08:30:50.152Z] docker.io [2021-03-15T08:30:50.408Z] using credential edgex-jenkins-ssh [2021-03-15T08:30:50.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T08:30:50.511Z] Cloning the remote Git repository [2021-03-15T08:30:50.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T08:30:50.700Z] Configure a credential helper to remove this warning. See [2021-03-15T08:30:50.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T08:30:50.700Z] [2021-03-15T08:30:50.700Z] Login Succeeded [2021-03-15T08:30:50.974Z] ---> docker-login.sh ends [Pipeline] } [2021-03-15T08:30:50.992Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-15T08:30:51.427Z] ========================================================= [2021-03-15T08:30:51.427Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-15T08:30:51.427Z] ========================================================= [2021-03-15T08:30:50.538Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T08:30:50.608Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-15T08:30:50.668Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T08:30:50.668Z] > git --version # timeout=10 [2021-03-15T08:30:50.676Z] > git --version # 'git version 2.24.3' [2021-03-15T08:30:50.676Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T08:30:50.710Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-15T08:30:51.414Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-15T08:30:51.421Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-15T08:30:51.433Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-15T08:30:51.449Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T08:30:51.449Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T08:30:51.454Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/817/head:refs/remotes/origin/PR-817 +refs/heads/master:refs/remotes/origin/master # timeout=10 [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:30:51.813Z] + 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-15T08:30:51.910Z] Merging remotes/origin/master commit a5ad5abbb998935bb195657aabe249c4682f0fa3 into PR head commit 819fd0603bf74d63ca9507c9287fd8f7738d0bf7 [2021-03-15T08:30:52.032Z] Merge succeeded, producing 819fd0603bf74d63ca9507c9287fd8f7738d0bf7 [2021-03-15T08:30:52.033Z] Checking out Revision 819fd0603bf74d63ca9507c9287fd8f7738d0bf7 (PR-817) [2021-03-15T08:30:52.420Z] Sending build context to Docker daemon 2.269MB [2021-03-15T08:30:52.420Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-15T08:30:52.420Z] Step 2/8 : FROM ${BASE} [2021-03-15T08:30:52.420Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-15T08:30:52.420Z] 5f621e34cdf4: Pulling fs layer [2021-03-15T08:30:52.420Z] a4357932f1b6: Pulling fs layer [2021-03-15T08:30:52.420Z] 18c013af1878: Pulling fs layer [2021-03-15T08:30:52.420Z] 00ac8860ef70: Pulling fs layer [2021-03-15T08:30:52.420Z] 63d7cb157983: Pulling fs layer [2021-03-15T08:30:52.420Z] b116817d02f9: Pulling fs layer [2021-03-15T08:30:52.420Z] 745a02a5169b: Pulling fs layer [2021-03-15T08:30:52.420Z] 63d7cb157983: Waiting [2021-03-15T08:30:52.420Z] 745a02a5169b: Waiting [2021-03-15T08:30:52.420Z] b116817d02f9: Waiting [2021-03-15T08:30:52.420Z] 00ac8860ef70: Waiting [2021-03-15T08:30:52.420Z] 18c013af1878: Verifying Checksum [2021-03-15T08:30:52.420Z] 18c013af1878: Download complete [2021-03-15T08:30:52.420Z] a4357932f1b6: Verifying Checksum [2021-03-15T08:30:52.420Z] a4357932f1b6: Download complete [2021-03-15T08:30:52.420Z] 63d7cb157983: Verifying Checksum [2021-03-15T08:30:52.420Z] 63d7cb157983: Download complete [2021-03-15T08:30:51.918Z] > git config core.sparsecheckout # timeout=10 [2021-03-15T08:30:51.923Z] > git checkout -f 819fd0603bf74d63ca9507c9287fd8f7738d0bf7 # timeout=10 [2021-03-15T08:30:51.978Z] > git remote # timeout=10 [2021-03-15T08:30:51.987Z] > git config --get remote.origin.url # timeout=10 [2021-03-15T08:30:52.000Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T08:30:52.005Z] > git merge a5ad5abbb998935bb195657aabe249c4682f0fa3 # timeout=10 [2021-03-15T08:30:52.024Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-15T08:30:52.036Z] > git config core.sparsecheckout # timeout=10 [2021-03-15T08:30:52.041Z] > git checkout -f 819fd0603bf74d63ca9507c9287fd8f7738d0bf7 # timeout=10 [2021-03-15T08:30:52.700Z] b116817d02f9: Download complete [2021-03-15T08:30:52.700Z] 5f621e34cdf4: Verifying Checksum [2021-03-15T08:30:52.700Z] 5f621e34cdf4: Download complete [2021-03-15T08:30:53.312Z] 5f621e34cdf4: Pull complete [2021-03-15T08:30:53.927Z] a4357932f1b6: Pull complete [2021-03-15T08:30:54.536Z] 18c013af1878: Pull complete [2021-03-15T08:30:55.528Z] 745a02a5169b: Verifying Checksum [2021-03-15T08:30:55.528Z] 745a02a5169b: Download complete [2021-03-15T08:30:55.663Z] Commit message: "refactor: rename problematic terminology in SDK" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-15T08:30:56.526Z] 00ac8860ef70: Verifying Checksum [2021-03-15T08:30:56.526Z] 00ac8860ef70: Download complete [2021-03-15T08:30:56.851Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-15T08:30:57.179Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-15T08:30:57.479Z] + sudo service docker restart [2021-03-15T08:30:57.479Z] + true [2021-03-15T08:30:57.479Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-15T08:30:58.933Z] provisioning config files... [2021-03-15T08:30:58.960Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4723235516691384401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-15T08:30:59.328Z] ---> docker-login.sh [2021-03-15T08:30:59.328Z] nexus3.edgexfoundry.org:10001 [2021-03-15T08:30:59.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T08:30:59.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T08:30:59.590Z] Configure a credential helper to remove this warning. See [2021-03-15T08:30:59.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T08:30:59.590Z] [2021-03-15T08:30:59.590Z] Login Succeeded [2021-03-15T08:30:59.590Z] nexus3.edgexfoundry.org:10002 [2021-03-15T08:30:59.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T08:30:59.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T08:30:59.851Z] Configure a credential helper to remove this warning. See [2021-03-15T08:30:59.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T08:30:59.852Z] [2021-03-15T08:30:59.852Z] Login Succeeded [2021-03-15T08:30:59.852Z] nexus3.edgexfoundry.org:10003 [2021-03-15T08:31:00.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T08:31:00.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T08:31:00.114Z] Configure a credential helper to remove this warning. See [2021-03-15T08:31:00.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T08:31:00.114Z] [2021-03-15T08:31:00.114Z] Login Succeeded [2021-03-15T08:31:00.114Z] nexus3.edgexfoundry.org:10004 [2021-03-15T08:31:00.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T08:31:00.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T08:31:00.379Z] Configure a credential helper to remove this warning. See [2021-03-15T08:31:00.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T08:31:00.379Z] [2021-03-15T08:31:00.379Z] Login Succeeded [2021-03-15T08:31:00.379Z] docker.io [2021-03-15T08:31:00.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T08:31:00.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T08:31:00.641Z] Configure a credential helper to remove this warning. See [2021-03-15T08:31:00.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T08:31:00.641Z] [2021-03-15T08:31:00.641Z] Login Succeeded [2021-03-15T08:31:00.641Z] ---> docker-login.sh ends [Pipeline] } [2021-03-15T08:31:00.651Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-15T08:31:00.958Z] ========================================================= [2021-03-15T08:31:00.958Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-15T08:31:00.958Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:31:01.302Z] + 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-15T08:31:01.302Z] Sending build context to Docker daemon 2.27MB [2021-03-15T08:31:01.302Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-15T08:31:01.302Z] Step 2/8 : FROM ${BASE} [2021-03-15T08:31:01.578Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-15T08:31:01.578Z] 188c0c94c7c5: Pulling fs layer [2021-03-15T08:31:01.578Z] 0ef7d3d256c8: Pulling fs layer [2021-03-15T08:31:01.578Z] de9db76c5a1d: Pulling fs layer [2021-03-15T08:31:01.578Z] bca2f99d35d6: Pulling fs layer [2021-03-15T08:31:01.578Z] 93359f2a8cfa: Pulling fs layer [2021-03-15T08:31:01.578Z] 7c6f9722023f: Pulling fs layer [2021-03-15T08:31:01.578Z] a35cf1a2eb13: Pulling fs layer [2021-03-15T08:31:01.578Z] bca2f99d35d6: Waiting [2021-03-15T08:31:01.578Z] 93359f2a8cfa: Waiting [2021-03-15T08:31:01.578Z] 7c6f9722023f: Waiting [2021-03-15T08:31:01.578Z] a35cf1a2eb13: Waiting [2021-03-15T08:31:01.578Z] de9db76c5a1d: Verifying Checksum [2021-03-15T08:31:01.578Z] de9db76c5a1d: Download complete [2021-03-15T08:31:01.578Z] 0ef7d3d256c8: Verifying Checksum [2021-03-15T08:31:01.578Z] 0ef7d3d256c8: Download complete [2021-03-15T08:31:01.578Z] 93359f2a8cfa: Verifying Checksum [2021-03-15T08:31:01.578Z] 93359f2a8cfa: Download complete [2021-03-15T08:31:01.578Z] 7c6f9722023f: Verifying Checksum [2021-03-15T08:31:01.578Z] 7c6f9722023f: Download complete [2021-03-15T08:31:01.578Z] 188c0c94c7c5: Verifying Checksum [2021-03-15T08:31:01.844Z] 188c0c94c7c5: Pull complete [2021-03-15T08:31:02.108Z] 0ef7d3d256c8: Pull complete [2021-03-15T08:31:02.108Z] de9db76c5a1d: Pull complete [2021-03-15T08:31:03.498Z] a35cf1a2eb13: Verifying Checksum [2021-03-15T08:31:03.498Z] a35cf1a2eb13: Download complete [2021-03-15T08:31:04.452Z] bca2f99d35d6: Verifying Checksum [2021-03-15T08:31:04.452Z] bca2f99d35d6: Download complete [2021-03-15T08:31:06.715Z] 00ac8860ef70: Pull complete [2021-03-15T08:31:06.715Z] 63d7cb157983: Pull complete [2021-03-15T08:31:06.996Z] b116817d02f9: Pull complete [2021-03-15T08:31:09.789Z] bca2f99d35d6: Pull complete [2021-03-15T08:31:09.789Z] 93359f2a8cfa: Pull complete [2021-03-15T08:31:10.055Z] 7c6f9722023f: Pull complete [2021-03-15T08:31:11.316Z] 745a02a5169b: Pull complete [2021-03-15T08:31:11.316Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-15T08:31:11.316Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-15T08:31:11.316Z] ---> b7e6874047d6 [2021-03-15T08:31:11.316Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T08:31:13.942Z] ---> Running in e9711bbde3b7 [2021-03-15T08:31:13.942Z] Removing intermediate container e9711bbde3b7 [2021-03-15T08:31:13.942Z] ---> be1ced392426 [2021-03-15T08:31:13.942Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-15T08:31:13.942Z] ---> Running in 680d0dc1cc95 [2021-03-15T08:31:15.919Z] Removing intermediate container 680d0dc1cc95 [2021-03-15T08:31:15.919Z] ---> 2e574dc45e40 [2021-03-15T08:31:15.919Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-15T08:31:16.195Z] ---> Running in 32048307c6ec [2021-03-15T08:31:17.173Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-15T08:31:18.145Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-15T08:31:18.737Z] OK: 142 MiB in 39 packages [2021-03-15T08:31:19.714Z] Removing intermediate container 32048307c6ec [2021-03-15T08:31:19.714Z] ---> 5d54b70069f4 [2021-03-15T08:31:19.714Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-15T08:31:19.714Z] ---> Running in e6e2d59fbd09 [2021-03-15T08:31:20.102Z] a35cf1a2eb13: Pull complete [2021-03-15T08:31:20.102Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-15T08:31:20.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-15T08:31:20.102Z] ---> a62c8e92a672 [2021-03-15T08:31:20.102Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T08:31:20.102Z] ---> Running in 7a33e09f3ceb [2021-03-15T08:31:20.102Z] Removing intermediate container 7a33e09f3ceb [2021-03-15T08:31:20.102Z] ---> 4e3cc90c096d [2021-03-15T08:31:20.102Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-15T08:31:20.102Z] ---> Running in 611dd1cedbd4 [2021-03-15T08:31:20.308Z] Removing intermediate container e6e2d59fbd09 [2021-03-15T08:31:20.308Z] ---> b004d886ba89 [2021-03-15T08:31:20.308Z] Step 7/8 : COPY . . [2021-03-15T08:31:21.282Z] ---> 55ce5db7757e [2021-03-15T08:31:21.282Z] Step 8/8 : RUN go mod download [2021-03-15T08:31:21.532Z] Removing intermediate container 611dd1cedbd4 [2021-03-15T08:31:21.532Z] ---> d1741eb3ff4e [2021-03-15T08:31:21.532Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-15T08:31:21.532Z] ---> Running in f1f263f1b908 [2021-03-15T08:31:21.553Z] ---> Running in 35c330cd1058 [2021-03-15T08:31:22.482Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-15T08:31:23.057Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-15T08:31:23.632Z] OK: 166 MiB in 39 packages [2021-03-15T08:31:23.896Z] Removing intermediate container f1f263f1b908 [2021-03-15T08:31:23.896Z] ---> 17cb38d7da65 [2021-03-15T08:31:23.896Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-15T08:31:23.896Z] ---> Running in fe0487c621ed [2021-03-15T08:31:24.162Z] Removing intermediate container fe0487c621ed [2021-03-15T08:31:24.162Z] ---> 41be09abf093 [2021-03-15T08:31:24.162Z] Step 7/8 : COPY . . [2021-03-15T08:31:25.560Z] ---> fe49c4b10206 [2021-03-15T08:31:25.560Z] Step 8/8 : RUN go mod download [2021-03-15T08:31:25.560Z] ---> Running in 9db8b76c5c50 [2021-03-15T08:31:47.598Z] Removing intermediate container 9db8b76c5c50 [2021-03-15T08:31:47.598Z] ---> 837697efaf40 [2021-03-15T08:31:47.598Z] Successfully built 837697efaf40 [2021-03-15T08:31:47.598Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:31:48.079Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-15T08:31:48.079Z] . [Pipeline] withDockerContainer [2021-03-15T08:31:48.300Z] prd-centos7-docker-4c-2g-29805 does not seem to be running inside a container [2021-03-15T08:31:48.338Z] Removing intermediate container 35c330cd1058 [2021-03-15T08:31:48.338Z] ---> 63394cb0df1e [2021-03-15T08:31:48.338Z] Successfully built 63394cb0df1e [2021-03-15T08:31:48.338Z] Successfully tagged ci-base-image-arm64:latest [2021-03-15T08:31:48.348Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-15T08:31:49.275Z] $ docker top b7cceca1e4efbce4f33cd1a8ef4e16e76f676b4d3d5f62878f9932e17969e93f -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:31:49.805Z] + go version [2021-03-15T08:31:49.805Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-15T08:31:49.821Z] $ docker stop --time=1 b7cceca1e4efbce4f33cd1a8ef4e16e76f676b4d3d5f62878f9932e17969e93f [2021-03-15T08:31:49.915Z] + docker inspect -f . ci-base-image-arm64 [2021-03-15T08:31:49.915Z] . [2021-03-15T08:31:51.195Z] $ docker rm -f b7cceca1e4efbce4f33cd1a8ef4e16e76f676b4d3d5f62878f9932e17969e93f [Pipeline] // withDockerContainer [Pipeline] withDockerContainer [2021-03-15T08:31:51.575Z] prd-ubuntu18.04-docker-arm64-4c-16g-29804 does not seem to be running inside a container [2021-03-15T08:31:51.664Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-15T08:31:53.119Z] $ docker top bbf9082360afbdb47754f39ac76278b13869e8e6f0f455039cf49fee338b80ba -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:31:54.158Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-15T08:31:54.158Z] . [Pipeline] withDockerContainer [2021-03-15T08:31:54.181Z] + go version [2021-03-15T08:31:54.181Z] go version go1.15.5 linux/arm64 [2021-03-15T08:31:54.255Z] prd-centos7-docker-4c-2g-29805 does not seem to be running inside a container [2021-03-15T08:31:54.301Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-15T08:31:54.876Z] $ docker top 1df717ae0a4eec8b49791bb1acf9f49626a0c500f2947e9e19910a32a8b1fcae -eo pid,comm [Pipeline] { [Pipeline] } [2021-03-15T08:31:55.149Z] $ docker stop --time=1 bbf9082360afbdb47754f39ac76278b13869e8e6f0f455039cf49fee338b80ba [2021-03-15T08:31:57.098Z] $ docker rm -f bbf9082360afbdb47754f39ac76278b13869e8e6f0f455039cf49fee338b80ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2021-03-15T08:31:57.703Z] + make test [2021-03-15T08:31:57.703Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:31:58.149Z] + docker inspect -f . ci-base-image-arm64 [2021-03-15T08:31:58.149Z] . [Pipeline] withDockerContainer [2021-03-15T08:31:58.415Z] prd-ubuntu18.04-docker-arm64-4c-16g-29804 does not seem to be running inside a container [2021-03-15T08:31:58.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-15T08:31:59.980Z] $ docker top 2ad14f7e7aeb597cc7cb705ba01abe03d42427208c4d3ab1d89f79423bea2030 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-15T08:32:01.032Z] + make test [2021-03-15T08:32:01.032Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-15T08:32:05.949Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-15T08:32:23.225Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-15T08:32:24.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-15T08:32:24.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-15T08:32:24.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-15T08:32:24.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.067s coverage: 25.5% of statements [2021-03-15T08:32:56.420Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.071s coverage: 10.5% of statements [2021-03-15T08:32:56.420Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.067s coverage: 12.5% of statements [2021-03-15T08:32:56.420Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-15T08:32:56.421Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.064s coverage: 84.8% of statements [2021-03-15T08:32:56.421Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-15T08:32:56.421Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-15T08:32:56.421Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-15T08:32:56.421Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.126s coverage: 57.3% of statements [2021-03-15T08:32:56.421Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-15T08:32:56.421Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.076s coverage: 81.2% of statements [2021-03-15T08:32:56.421Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.065s coverage: 24.8% of statements [2021-03-15T08:32:56.421Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.148s coverage: 6.4% of statements [2021-03-15T08:32:56.421Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 5.2% of statements [2021-03-15T08:32:56.421Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-15T08:32:56.421Z] GO111MODULE=on go vet ./... [2021-03-15T08:33:02.292Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-15T08:33:02.292Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-15T08:33:02.292Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-15T08:33:06.564Z] gofmt -l . [2021-03-15T08:33:06.564Z] [ "`gofmt -l .`" = "" ] [2021-03-15T08:33:06.564Z] ./bin/test-attribution-txt.sh [2021-03-15T08:33:06.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.146s coverage: 25.5% of statements [2021-03-15T08:33:06.839Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-15T08:33:07.125Z] $ docker stop --time=1 1df717ae0a4eec8b49791bb1acf9f49626a0c500f2947e9e19910a32a8b1fcae [2021-03-15T08:33:09.238Z] $ docker rm -f 1df717ae0a4eec8b49791bb1acf9f49626a0c500f2947e9e19910a32a8b1fcae [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-15T08:33:09.993Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-15T08:33:10.436Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-15T08:33:13.527Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-15T08:33:13.826Z] + ls -al . [2021-03-15T08:33:13.826Z] total 188 [2021-03-15T08:33:13.826Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 15 08:33 . [2021-03-15T08:33:13.826Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 15 08:30 .. [2021-03-15T08:33:13.826Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 15 08:30 bin [2021-03-15T08:33:13.826Z] -rw-r--r--. 1 jenkins jenkins 103401 Mar 15 08:32 coverage.out [2021-03-15T08:33:13.826Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 15 08:30 Dockerfile.build [2021-03-15T08:33:13.826Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 15 08:30 .dockerignore [2021-03-15T08:33:13.826Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 15 08:30 example [2021-03-15T08:33:13.826Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 15 08:30 .git [2021-03-15T08:33:13.826Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 15 08:30 .github [2021-03-15T08:33:13.826Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 15 08:30 .gitignore [2021-03-15T08:33:13.826Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 15 08:33 go.mod [2021-03-15T08:33:13.826Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 15 08:33 go.sum [2021-03-15T08:33:13.826Z] drwxrwxr-x. 12 jenkins jenkins 171 Mar 15 08:30 internal [2021-03-15T08:33:13.826Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 15 08:30 Jenkinsfile [2021-03-15T08:33:13.826Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 15 08:30 LICENSE [2021-03-15T08:33:13.826Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 15 08:30 Makefile [2021-03-15T08:33:13.826Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 15 08:30 openapi [2021-03-15T08:33:13.826Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 15 08:30 pkg [2021-03-15T08:33:13.826Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 15 08:30 README.md [2021-03-15T08:33:13.826Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 15 08:30 RELEASE-NOTES.txt [2021-03-15T08:33:13.826Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 15 08:30 snap [2021-03-15T08:33:13.826Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 15 08:28 VERSION [2021-03-15T08:33:13.826Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 15 08:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:33:14.146Z] + 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=819fd0603bf74d63ca9507c9287fd8f7738d0bf7 --label arch=amd64 --label version=0.0.0 . [2021-03-15T08:33:14.407Z] Sending build context to Docker daemon 2.374MB [2021-03-15T08:33:14.407Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-15T08:33:14.407Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-15T08:33:14.407Z] ---> 837697efaf40 [2021-03-15T08:33:14.407Z] Step 3/24 : ARG MAKE='make build' [2021-03-15T08:33:14.983Z] ---> Running in ab1f4d8bd4b9 [2021-03-15T08:33:15.246Z] Removing intermediate container ab1f4d8bd4b9 [2021-03-15T08:33:15.246Z] ---> cde606535688 [2021-03-15T08:33:15.246Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-15T08:33:15.246Z] ---> Running in d7950cc42495 [2021-03-15T08:33:15.246Z] Removing intermediate container d7950cc42495 [2021-03-15T08:33:15.246Z] ---> f5c8c6e9f4bc [2021-03-15T08:33:15.246Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T08:33:15.516Z] ---> Running in 46b6b7711d5b [2021-03-15T08:33:15.516Z] Removing intermediate container 46b6b7711d5b [2021-03-15T08:33:15.516Z] ---> c52c0b146f9d [2021-03-15T08:33:15.516Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-15T08:33:15.516Z] ---> Running in 7ae210aac3c9 [2021-03-15T08:33:16.468Z] Removing intermediate container 7ae210aac3c9 [2021-03-15T08:33:16.468Z] ---> 86b3c848d0de [2021-03-15T08:33:16.468Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-15T08:33:16.468Z] ---> Running in 29a019118e5b [2021-03-15T08:33:17.045Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-15T08:33:17.618Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-15T08:33:18.193Z] OK: 166 MiB in 39 packages [2021-03-15T08:33:18.457Z] Removing intermediate container 29a019118e5b [2021-03-15T08:33:18.457Z] ---> 49e11ef9b346 [2021-03-15T08:33:18.457Z] Step 8/24 : COPY . . [2021-03-15T08:33:19.409Z] ---> b36b2e678447 [2021-03-15T08:33:19.409Z] Step 9/24 : RUN ${MAKE} [2021-03-15T08:33:19.673Z] ---> Running in 056eb80a1ffa [2021-03-15T08:33:19.940Z] 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-15T08:33:30.103Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-15T08:33:31.494Z] Removing intermediate container 056eb80a1ffa [2021-03-15T08:33:31.494Z] ---> 4ba4267b173b [2021-03-15T08:33:31.494Z] Step 10/24 : FROM scratch [2021-03-15T08:33:31.494Z] ---> [2021-03-15T08:33:31.494Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T08:33:31.494Z] ---> Running in 17e426bf61c9 [2021-03-15T08:33:31.494Z] Removing intermediate container 17e426bf61c9 [2021-03-15T08:33:31.494Z] ---> 92a51b4bfd97 [2021-03-15T08:33:31.494Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-15T08:33:31.494Z] ---> Running in 0cd3bc4a2030 [2021-03-15T08:33:31.756Z] Removing intermediate container 0cd3bc4a2030 [2021-03-15T08:33:31.756Z] ---> 56df4b0f9664 [2021-03-15T08:33:31.756Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-15T08:33:31.756Z] ---> Running in eb1451ece36f [2021-03-15T08:33:32.021Z] Removing intermediate container eb1451ece36f [2021-03-15T08:33:32.021Z] ---> d5b8e0f4f288 [2021-03-15T08:33:32.021Z] Step 14/24 : WORKDIR / [2021-03-15T08:33:32.021Z] ---> Running in d9d5a04cf10c [2021-03-15T08:33:32.284Z] Removing intermediate container d9d5a04cf10c [2021-03-15T08:33:32.284Z] ---> 52fbe2ac019e [2021-03-15T08:33:32.284Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-15T08:33:32.860Z] ---> 24d0b4860d63 [2021-03-15T08:33:32.860Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-15T08:33:32.860Z] ---> 7c1b98a84344 [2021-03-15T08:33:32.860Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-15T08:33:33.122Z] ---> 994b4fcaf374 [2021-03-15T08:33:33.122Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-15T08:33:33.388Z] ---> 003d2a0c9129 [2021-03-15T08:33:33.388Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-15T08:33:33.653Z] ---> 551e4caac1b7 [2021-03-15T08:33:33.653Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-15T08:33:33.653Z] ---> Running in d1ddad9169b9 [2021-03-15T08:33:33.923Z] Removing intermediate container d1ddad9169b9 [2021-03-15T08:33:33.923Z] ---> 1b91bdc07399 [2021-03-15T08:33:33.923Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-15T08:33:33.923Z] ---> Running in f414de16cd62 [2021-03-15T08:33:34.186Z] Removing intermediate container f414de16cd62 [2021-03-15T08:33:34.186Z] ---> fab1015ae727 [2021-03-15T08:33:34.186Z] Step 22/24 : LABEL arch=amd64 [2021-03-15T08:33:34.186Z] ---> Running in b0bd64b21197 [2021-03-15T08:33:34.449Z] Removing intermediate container b0bd64b21197 [2021-03-15T08:33:34.449Z] ---> a07eb0bcda5b [2021-03-15T08:33:34.449Z] Step 23/24 : LABEL git_sha=819fd0603bf74d63ca9507c9287fd8f7738d0bf7 [2021-03-15T08:33:34.449Z] ---> Running in 5d8643202c2d [2021-03-15T08:33:34.711Z] Removing intermediate container 5d8643202c2d [2021-03-15T08:33:34.711Z] ---> 56edeb5128dd [2021-03-15T08:33:34.711Z] Step 24/24 : LABEL version=0.0.0 [2021-03-15T08:33:34.711Z] ---> Running in 440025e4b599 [2021-03-15T08:33:34.973Z] Removing intermediate container 440025e4b599 [2021-03-15T08:33:34.974Z] ---> 8168d9035bbf [2021-03-15T08:33:34.974Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-15T08:33:34.974Z] Successfully built 8168d9035bbf [2021-03-15T08:33:34.974Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-15T08:33:36.069Z] ---> job-cost.sh [2021-03-15T08:33:36.069Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-D80d [2021-03-15T08:33:39.041Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.173s coverage: 10.5% of statements [2021-03-15T08:33:39.041Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.110s coverage: 12.5% of statements [2021-03-15T08:33:39.041Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-15T08:33:39.041Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.152s coverage: 84.8% of statements [2021-03-15T08:33:39.041Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-15T08:33:39.041Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-15T08:33:39.041Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-15T08:33:39.041Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.250s coverage: 57.3% of statements [2021-03-15T08:33:39.041Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-15T08:33:39.041Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.187s coverage: 81.2% of statements [2021-03-15T08:33:39.041Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.189s coverage: 24.8% of statements [2021-03-15T08:33:39.041Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.811s coverage: 6.4% of statements [2021-03-15T08:33:39.041Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.143s coverage: 5.2% of statements [2021-03-15T08:33:39.041Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-15T08:33:39.041Z] GO111MODULE=on go vet ./... [2021-03-15T08:33:51.016Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-15T08:34:11.445Z] gofmt -l . [2021-03-15T08:34:11.445Z] [ "`gofmt -l .`" = "" ] [2021-03-15T08:34:11.445Z] ./bin/test-attribution-txt.sh [2021-03-15T08:34:11.445Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-15T08:34:11.477Z] $ docker stop --time=1 2ad14f7e7aeb597cc7cb705ba01abe03d42427208c4d3ab1d89f79423bea2030 [2021-03-15T08:34:13.805Z] $ docker rm -f 2ad14f7e7aeb597cc7cb705ba01abe03d42427208c4d3ab1d89f79423bea2030 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-15T08:34:14.960Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-15T08:34:15.030Z] Warning: overwriting stash ‘coverage-report’ [2021-03-15T08:34:16.001Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-15T08:34:16.783Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-15T08:34:17.161Z] + ls -al . [2021-03-15T08:34:17.162Z] total 224 [2021-03-15T08:34:17.162Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 08:34 . [2021-03-15T08:34:17.162Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 08:30 .. [2021-03-15T08:34:17.162Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 08:30 .dockerignore [2021-03-15T08:34:17.162Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 08:30 .git [2021-03-15T08:34:17.162Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 08:30 .github [2021-03-15T08:34:17.162Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 15 08:30 .gitignore [2021-03-15T08:34:17.162Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 15 08:30 Dockerfile.build [2021-03-15T08:34:17.162Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 15 08:30 Jenkinsfile [2021-03-15T08:34:17.162Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 15 08:30 LICENSE [2021-03-15T08:34:17.162Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 15 08:30 Makefile [2021-03-15T08:34:17.162Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 15 08:30 README.md [2021-03-15T08:34:17.162Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 15 08:30 RELEASE-NOTES.txt [2021-03-15T08:34:17.162Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 08:28 VERSION [2021-03-15T08:34:17.162Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 08:30 bin [2021-03-15T08:34:17.162Z] -rw-r--r-- 1 jenkins jenkins 103401 Mar 15 08:33 coverage.out [2021-03-15T08:34:17.162Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 08:30 example [2021-03-15T08:34:17.162Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 15 08:34 go.mod [2021-03-15T08:34:17.162Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 15 08:34 go.sum [2021-03-15T08:34:17.162Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 08:30 internal [2021-03-15T08:34:17.162Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 08:30 openapi [2021-03-15T08:34:17.162Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 08:30 pkg [2021-03-15T08:34:17.162Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 08:30 snap [2021-03-15T08:34:17.162Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 15 08:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:34:17.543Z] + 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=819fd0603bf74d63ca9507c9287fd8f7738d0bf7 --label arch=arm64 --label version=0.0.0 . [2021-03-15T08:34:18.197Z] Sending build context to Docker daemon 2.373MB [2021-03-15T08:34:18.197Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-15T08:34:18.197Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-15T08:34:18.197Z] ---> 63394cb0df1e [2021-03-15T08:34:18.197Z] Step 3/24 : ARG MAKE='make build' [2021-03-15T08:34:18.482Z] ---> Running in f191e3ffe424 [2021-03-15T08:34:18.757Z] Removing intermediate container f191e3ffe424 [2021-03-15T08:34:18.757Z] ---> a1f5b8e1eb7b [2021-03-15T08:34:18.757Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-15T08:34:19.028Z] ---> Running in a6d7ec09f792 [2021-03-15T08:34:19.298Z] Removing intermediate container a6d7ec09f792 [2021-03-15T08:34:19.298Z] ---> e5459278ae3d [2021-03-15T08:34:19.298Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T08:34:19.572Z] ---> Running in f8caaa09ff91 [2021-03-15T08:34:19.844Z] Removing intermediate container f8caaa09ff91 [2021-03-15T08:34:19.844Z] ---> 425bcc7b03cc [2021-03-15T08:34:19.844Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-15T08:34:20.116Z] ---> Running in c47835fd7b86 [2021-03-15T08:34:22.093Z] Removing intermediate container c47835fd7b86 [2021-03-15T08:34:22.093Z] ---> abfdb48b8700 [2021-03-15T08:34:22.093Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-15T08:34:22.093Z] ---> Running in 1343664463d2 [2021-03-15T08:34:23.224Z] lf-activate-venv(): INFO: Adding /tmp/venv-D80d/bin to PATH [2021-03-15T08:34:23.224Z] INFO: No Stack... [2021-03-15T08:34:23.224Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-15T08:34:23.224Z] INFO: Archiving Costs [Pipeline] sh [2021-03-15T08:34:23.537Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-03-15T08:34:23.537Z] + cut -d, -f6 [2021-03-15T08:34:23.543Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] lock [2021-03-15T08:34:23.619Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-817-2-stack-cost] [2021-03-15T08:34:23.630Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-817-2-stack-cost] did not exist. Created. [2021-03-15T08:34:23.630Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-817-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-15T08:34:24.040Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-15T08:34:24.135Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-15T08:34:24.157Z] Stashed 1 file(s) [Pipeline] } [2021-03-15T08:34:24.170Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-817-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-03-15T08:34:24.731Z] OK: 142 MiB in 39 packages [Pipeline] // stage [Pipeline] } [2021-03-15T08:34:25.718Z] Removing intermediate container 1343664463d2 [2021-03-15T08:34:25.718Z] ---> caf273533f35 [2021-03-15T08:34:25.718Z] Step 8/24 : COPY . . [2021-03-15T08:34:27.180Z] ---> b24ecee94075 [2021-03-15T08:34:27.180Z] Step 9/24 : RUN ${MAKE} [2021-03-15T08:34:27.180Z] ---> Running in 123c3f8690b3 [2021-03-15T08:34:28.616Z] 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-15T08:34:55.430Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-15T08:34:55.712Z] Removing intermediate container 123c3f8690b3 [2021-03-15T08:34:55.712Z] ---> 9165e4a3cb16 [2021-03-15T08:34:55.712Z] Step 10/24 : FROM scratch [2021-03-15T08:34:55.712Z] ---> [2021-03-15T08:34:55.712Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T08:34:55.712Z] ---> Running in a84fa0cd686c [2021-03-15T08:34:56.313Z] Removing intermediate container a84fa0cd686c [2021-03-15T08:34:56.313Z] ---> f6f091c1a1a4 [2021-03-15T08:34:56.313Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-15T08:34:56.313Z] ---> Running in 09cbaefeb0a4 [2021-03-15T08:34:56.916Z] Removing intermediate container 09cbaefeb0a4 [2021-03-15T08:34:56.916Z] ---> 11230aabc3b2 [2021-03-15T08:34:56.916Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-15T08:34:56.916Z] ---> Running in 18c4d793197a [2021-03-15T08:34:57.189Z] Removing intermediate container 18c4d793197a [2021-03-15T08:34:57.189Z] ---> 12751643fc3c [2021-03-15T08:34:57.189Z] Step 14/24 : WORKDIR / [2021-03-15T08:34:57.461Z] ---> Running in 025f55800d2d [2021-03-15T08:34:57.737Z] Removing intermediate container 025f55800d2d [2021-03-15T08:34:57.737Z] ---> 1e8ac38ce6a9 [2021-03-15T08:34:57.737Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-15T08:34:58.713Z] ---> 9f40c4ad59d8 [2021-03-15T08:34:58.713Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-15T08:34:59.695Z] ---> e0bbec0347be [2021-03-15T08:34:59.695Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-15T08:35:00.290Z] ---> 3b2fde4673f3 [2021-03-15T08:35:00.290Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-15T08:35:00.887Z] ---> cb5414acc0d8 [2021-03-15T08:35:00.887Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-15T08:35:01.865Z] ---> 906981d366ff [2021-03-15T08:35:01.865Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-15T08:35:01.865Z] ---> Running in 03338e29f5af [2021-03-15T08:35:02.138Z] Removing intermediate container 03338e29f5af [2021-03-15T08:35:02.138Z] ---> 9432e2566482 [2021-03-15T08:35:02.138Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-15T08:35:02.411Z] ---> Running in c497a27cf75a [2021-03-15T08:35:02.684Z] Removing intermediate container c497a27cf75a [2021-03-15T08:35:02.684Z] ---> 34a9318fe159 [2021-03-15T08:35:02.684Z] Step 22/24 : LABEL arch=arm64 [2021-03-15T08:35:02.956Z] ---> Running in ebcb0e676b77 [2021-03-15T08:35:03.227Z] Removing intermediate container ebcb0e676b77 [2021-03-15T08:35:03.227Z] ---> 5429489806a2 [2021-03-15T08:35:03.227Z] Step 23/24 : LABEL git_sha=819fd0603bf74d63ca9507c9287fd8f7738d0bf7 [2021-03-15T08:35:03.501Z] ---> Running in 7ac4f534341e [2021-03-15T08:35:03.774Z] Removing intermediate container 7ac4f534341e [2021-03-15T08:35:03.774Z] ---> bef1c1faab67 [2021-03-15T08:35:03.774Z] Step 24/24 : LABEL version=0.0.0 [2021-03-15T08:35:04.047Z] ---> Running in 2a6f6435b879 [2021-03-15T08:35:04.641Z] Removing intermediate container 2a6f6435b879 [2021-03-15T08:35:04.641Z] ---> cda4da956b37 [2021-03-15T08:35:04.641Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-15T08:35:04.641Z] Successfully built cda4da956b37 [2021-03-15T08:35:04.641Z] 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-15T08:35:05.567Z] ---> job-cost.sh [2021-03-15T08:35:05.567Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BjBx [2021-03-15T08:35:44.523Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-15T08:37:21.281Z] lf-activate-venv(): INFO: Adding /tmp/venv-BjBx/bin to PATH [2021-03-15T08:37:21.281Z] INFO: No Stack... [2021-03-15T08:37:21.281Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-15T08:37:21.281Z] INFO: Archiving Costs [Pipeline] sh [2021-03-15T08:37:21.628Z] + cat+ /w/workspace/device-sdk-go/2/archives/cost.csv [2021-03-15T08:37:21.628Z] cut -d, -f6 [Pipeline] lock [2021-03-15T08:37:21.749Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-817-2-stack-cost] [2021-03-15T08:37:21.759Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-817-2-stack-cost] did not exist. Created. [2021-03-15T08:37:21.759Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-817-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-15T08:37:22.224Z] /w/workspace/device-sdk-go/2@tmp/durable-998ea547/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-998ea547/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-15T08:37:22.580Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-15T08:37:22.660Z] Warning: overwriting stash ‘stack-cost’ [2021-03-15T08:37:22.818Z] Stashed 1 file(s) [Pipeline] } [2021-03-15T08:37:22.832Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-817-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-15T08:37:24.392Z] provisioning config files... [2021-03-15T08:37:24.408Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-817@tmp/config516563880881424024tmp [Pipeline] { [Pipeline] sh [2021-03-15T08:37:25.079Z] + set +x [2021-03-15T08:37:25.079Z] + bash -s -- [2021-03-15T08:37:25.079Z] + curl -s https://codecov.io/bash [2021-03-15T08:37:25.359Z] [2021-03-15T08:37:25.359Z] _____ _ [2021-03-15T08:37:25.359Z] / ____| | | [2021-03-15T08:37:25.359Z] | | ___ __| | ___ ___ _____ __ [2021-03-15T08:37:25.359Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-15T08:37:25.359Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-15T08:37:25.359Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-15T08:37:25.359Z] Bash-20210309-2b87ace [2021-03-15T08:37:25.359Z] [2021-03-15T08:37:25.359Z] [2021-03-15T08:37:25.359Z] ==> git version 2.24.3 found [2021-03-15T08:37:25.359Z] ==> 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-15T08:37:25.359Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-15T08:37:25.359Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-15T08:37:25.359Z] ==> Jenkins CI detected. [2021-03-15T08:37:25.359Z] project root: . [2021-03-15T08:37:25.359Z] --> token set from env [2021-03-15T08:37:25.664Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-15T08:37:25.664Z] ==> Running gcov in . (disable via -X gcov) [2021-03-15T08:37:25.664Z] ==> Python coveragepy not found [2021-03-15T08:37:25.664Z] ==> Searching for coverage reports in: [2021-03-15T08:37:25.664Z] + . [2021-03-15T08:37:25.664Z] -> Found 1 reports [2021-03-15T08:37:25.664Z] ==> Detecting git/mercurial file structure [2021-03-15T08:37:25.664Z] ==> Reading reports [2021-03-15T08:37:25.974Z] + ./coverage.out bytes=103401 [2021-03-15T08:37:25.974Z] ==> Appending adjustments [2021-03-15T08:37:25.974Z] https://docs.codecov.io/docs/fixing-reports [2021-03-15T08:37:28.059Z] + Found adjustments [2021-03-15T08:37:28.059Z] ==> Gzipping contents [2021-03-15T08:37:28.059Z] 16K /tmp/codecov.7KorW7.gz [2021-03-15T08:37:28.059Z] ==> Uploading reports [2021-03-15T08:37:28.059Z] url: https://codecov.io [2021-03-15T08:37:28.059Z] query: branch=PR-817&commit=819fd0603bf74d63ca9507c9287fd8f7738d0bf7&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-817%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=817&job=&cmd_args= [2021-03-15T08:37:28.059Z] -> Pinging Codecov [2021-03-15T08:37:28.059Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-817&commit=819fd0603bf74d63ca9507c9287fd8f7738d0bf7&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-817%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=817&job=&cmd_args= [2021-03-15T08:37:29.032Z] -> Uploading to [2021-03-15T08:37:29.032Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-15/7E55EF52A471D76F132DFD9A03CDDE97/819fd0603bf74d63ca9507c9287fd8f7738d0bf7/9d9fcd70-7ded-4b7f-95b9-5d7433ff1d77.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210315T083728Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=62a514f141d1c1e30e43c97d791b528128bab0b8a814487ab6159ce04809184a [2021-03-15T08:37:29.032Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-15T08:37:29.032Z] Dload Upload Total Spent Left Speed [2021-03-15T08:37:29.301Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13861 0 0 100 13861 0 30410 --:--:-- --:--:-- --:--:-- 30463 [2021-03-15T08:37:29.301Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/819fd0603bf74d63ca9507c9287fd8f7738d0bf7 [Pipeline] } [2021-03-15T08:37:29.313Z] 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-15T08:37:32.009Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T08:37:32.968Z] ---> package-listing.sh [2021-03-15T08:37:32.969Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-15T08:37:32.969Z] ++ facter osfamily [2021-03-15T08:37:33.243Z] + OS_FAMILY=redhat [2021-03-15T08:37:33.243Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-817 [2021-03-15T08:37:33.243Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-15T08:37:33.243Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-15T08:37:33.243Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-15T08:37:33.243Z] + PACKAGES=/tmp/packages_start.txt [2021-03-15T08:37:33.243Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-817 ']' [2021-03-15T08:37:33.243Z] + PACKAGES=/tmp/packages_end.txt [2021-03-15T08:37:33.243Z] + case "${OS_FAMILY}" in [2021-03-15T08:37:33.243Z] + rpm -qa [2021-03-15T08:37:33.243Z] + sort [2021-03-15T08:37:41.729Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-15T08:37:41.729Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-15T08:37:41.729Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-15T08:37:41.729Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-817 ']' [2021-03-15T08:37:41.729Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-817/archives/ [2021-03-15T08:37:41.729Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-817/archives/ [Pipeline] echo [2021-03-15T08:37:41.748Z] 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-817/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-15T08:37:42.064Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:37:42.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-15T08:37:42.401Z] [2021-03-15T08:37:42.401Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:37:42.774Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-15T08:37:43.070Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-15T08:37:43.070Z] df20fa9351a1: Pulling fs layer [2021-03-15T08:37:43.070Z] 36b3adc4ff6f: Pulling fs layer [2021-03-15T08:37:43.070Z] 8ad3a11d3b57: Pulling fs layer [2021-03-15T08:37:43.070Z] 46f8f816bc3b: Pulling fs layer [2021-03-15T08:37:43.070Z] 93b61091891f: Pulling fs layer [2021-03-15T08:37:43.070Z] 93b9cdb0e59b: Pulling fs layer [2021-03-15T08:37:43.070Z] 5e14af77c1be: Pulling fs layer [2021-03-15T08:37:43.070Z] 01666e4c0597: Pulling fs layer [2021-03-15T08:37:43.070Z] aa168da1d23b: Pulling fs layer [2021-03-15T08:37:43.070Z] 46f8f816bc3b: Waiting [2021-03-15T08:37:43.070Z] 93b61091891f: Waiting [2021-03-15T08:37:43.070Z] 93b9cdb0e59b: Waiting [2021-03-15T08:37:43.070Z] 5e14af77c1be: Waiting [2021-03-15T08:37:43.070Z] 01666e4c0597: Waiting [2021-03-15T08:37:43.070Z] aa168da1d23b: Waiting [2021-03-15T08:37:43.070Z] 36b3adc4ff6f: Verifying Checksum [2021-03-15T08:37:43.070Z] 36b3adc4ff6f: Download complete [2021-03-15T08:37:43.070Z] 46f8f816bc3b: Verifying Checksum [2021-03-15T08:37:43.070Z] 46f8f816bc3b: Download complete [2021-03-15T08:37:43.401Z] df20fa9351a1: Verifying Checksum [2021-03-15T08:37:43.401Z] df20fa9351a1: Download complete [2021-03-15T08:37:43.401Z] 93b9cdb0e59b: Verifying Checksum [2021-03-15T08:37:43.401Z] 93b9cdb0e59b: Download complete [2021-03-15T08:37:43.675Z] 93b61091891f: Verifying Checksum [2021-03-15T08:37:43.675Z] 93b61091891f: Download complete [2021-03-15T08:37:43.675Z] 5e14af77c1be: Download complete [2021-03-15T08:37:43.675Z] 01666e4c0597: Verifying Checksum [2021-03-15T08:37:43.675Z] 01666e4c0597: Download complete [2021-03-15T08:37:44.286Z] df20fa9351a1: Pull complete [2021-03-15T08:37:46.157Z] 8ad3a11d3b57: Download complete [2021-03-15T08:37:46.157Z] 36b3adc4ff6f: Pull complete [2021-03-15T08:37:47.687Z] 8ad3a11d3b57: Pull complete [2021-03-15T08:37:48.332Z] 46f8f816bc3b: Pull complete [2021-03-15T08:37:49.408Z] 93b61091891f: Pull complete [2021-03-15T08:37:49.746Z] 93b9cdb0e59b: Pull complete [2021-03-15T08:37:50.041Z] 5e14af77c1be: Pull complete [2021-03-15T08:37:50.735Z] 01666e4c0597: Pull complete [2021-03-15T08:37:51.030Z] aa168da1d23b: Verifying Checksum [2021-03-15T08:37:51.030Z] aa168da1d23b: Download complete [2021-03-15T08:38:09.535Z] aa168da1d23b: Pull complete [2021-03-15T08:38:09.535Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-15T08:38:09.535Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-15T08:38:09.535Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-15T08:38:10.326Z] prd-centos7-docker-4c-2g-29803 does not seem to be running inside a container [2021-03-15T08:38:10.605Z] $ 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-817/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-817 -v /w/workspace/dgexfoundry_device-sdk-go_PR-817:/w/workspace/dgexfoundry_device-sdk-go_PR-817:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-817@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-817@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-15T08:38:14.574Z] $ docker top b9ef1306011fdbbd14d19d3210b7f93b0b802ada780d4ad1d584740d2e9249a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-15T08:38:15.610Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-15T08:38:15.960Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-15T08:38:16.346Z] + ls /var/log/sa-host [2021-03-15T08:38:16.346Z] + sadf -c /var/log/sa-host/sa15 [2021-03-15T08:38:16.346Z] file_magic: OK [2021-03-15T08:38:16.346Z] HZ: Using current value: 100 [2021-03-15T08:38:16.346Z] file_header: OK [2021-03-15T08:38:16.346Z] 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-15T08:38:16.346Z] Statistics: [2021-03-15T08:38:16.346Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-15T08:38:16.346Z] File successfully converted to sysstat format version 12.2.1 [2021-03-15T08:38:16.346Z] + sadf -c /var/log/sa-host/sa23 [2021-03-15T08:38:16.346Z] file_magic: OK [2021-03-15T08:38:16.346Z] HZ: Using current value: 100 [2021-03-15T08:38:16.346Z] file_header: OK [2021-03-15T08:38:16.346Z] 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-15T08:38:16.346Z] Statistics: [2021-03-15T08:38:16.346Z] Hnuu...uuuununununu... [2021-03-15T08:38:16.346Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-15T08:38:16.970Z] provisioning config files... [2021-03-15T08:38:16.994Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-817@tmp/config5810688054024366686tmp [Pipeline] { [Pipeline] echo [2021-03-15T08:38:17.071Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T08:38:17.710Z] ---> create-netrc.sh [Pipeline] } [2021-03-15T08:38:17.723Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-15T08:38:17.827Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T08:38:18.156Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-15T08:38:18.171Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T08:38:18.560Z] ---> sudo-logs.sh [2021-03-15T08:38:18.560Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-15T08:38:18.919Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T08:38:19.593Z] ---> job-cost.sh [2021-03-15T08:38:19.593Z] lf-activate-venv: SKIPPING [2021-03-15T08:38:19.593Z] DEBUG: total: 0.20999999344348907 [2021-03-15T08:38:19.593Z] INFO: Retrieving Stack Cost... [2021-03-15T08:38:20.561Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-15T08:38:21.157Z] INFO: Archiving Costs [Pipeline] echo [2021-03-15T08:38:21.183Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T08:38:21.546Z] ---> logs-deploy.sh [2021-03-15T08:38:21.546Z] lf-activate-venv: SKIPPING [2021-03-15T08:38:21.546Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-817/2 [2021-03-15T08:38:21.546Z] INFO: archiving workspace using pattern(s): [2021-03-15T08:38:24.326Z] Archives upload complete. [2021-03-15T08:38:24.620Z] INFO: archiving logs to Nexus