Pull request #819 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 696c1cf94f323bf75312d482435df43fc8495bb4+79c51434d0b6ff974f0a74c9d16ec224deffdcc1 (141b98d822a771cbb42e6134db626cb56b889cf8) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-819/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-819/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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-29940 in /w/workspace/dgexfoundry_device-sdk-go_PR-819 [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-819 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/819/head:refs/remotes/origin/PR-819 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit 696c1cf94f323bf75312d482435df43fc8495bb4 Merge succeeded, producing 696c1cf94f323bf75312d482435df43fc8495bb4 Checking out Revision 696c1cf94f323bf75312d482435df43fc8495bb4 (PR-819) > git config core.sparsecheckout # timeout=10 > git checkout -f 696c1cf94f323bf75312d482435df43fc8495bb4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 696c1cf94f323bf75312d482435df43fc8495bb4 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-16T05:55:05.726Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-16T05:55:06.111Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-16T05:55:06.349Z] ========================================================= [2021-03-16T05:55:06.350Z] EdgeX Global Pipelines Version Info [2021-03-16T05:55:06.350Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-16T05:55:07.872Z] ------------------- [2021-03-16T05:55:07.872Z] stable info: [2021-03-16T05:55:07.872Z] ------------------- [2021-03-16T05:55:07.872Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-16T05:55:07.872Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-16T05:55:07.872Z] Message: update stable to v1.0.184 [2021-03-16T05:55:08.818Z] ------------------- [2021-03-16T05:55:08.818Z] experimental info: [2021-03-16T05:55:08.818Z] ------------------- [2021-03-16T05:55:08.818Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-16T05:55:08.818Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-16T05:55:08.818Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-16T05:55:09.223Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-16T05:55:09.357Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-16T05:55:09.511Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-16T05:55:09.662Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-16T05:55:09.831Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-16T05:55:09.983Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-16T05:55:10.156Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-16T05:55:10.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-16T05:55:10.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-16T05:55:10.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-16T05:55:10.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-16T05:55:10.953Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-16T05:55:11.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-16T05:55:11.322Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-16T05:55:11.470Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-16T05:55:11.602Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-16T05:55:11.733Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-16T05:55:11.884Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-16T05:55:12.008Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-16T05:55:12.133Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-16T05:55:12.268Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-16T05:55:12.402Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-16T05:55:12.557Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-16T05:55:12.698Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-16T05:55:12.824Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-16T05:55:12.952Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-16T05:55:13.104Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-819 [Pipeline] echo [2021-03-16T05:55:13.257Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-819 [Pipeline] echo [2021-03-16T05:55:13.414Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-819 [Pipeline] echo [2021-03-16T05:55:13.550Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 696c1cf94f323bf75312d482435df43fc8495bb4 [Pipeline] echo [2021-03-16T05:55:13.677Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 696c1cf [Pipeline] echo [2021-03-16T05:55:13.800Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-16T05:55:14.082Z] provisioning config files... [2021-03-16T05:55:14.118Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-819@tmp/config1898436668337813987tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-16T05:55:14.543Z] ---> docker-login.sh [2021-03-16T05:55:14.544Z] nexus3.edgexfoundry.org:10001 [2021-03-16T05:55:14.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T05:55:15.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T05:55:15.068Z] Configure a credential helper to remove this warning. See [2021-03-16T05:55:15.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T05:55:15.068Z] [2021-03-16T05:55:15.068Z] Login Succeeded [2021-03-16T05:55:15.068Z] nexus3.edgexfoundry.org:10002 [2021-03-16T05:55:15.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T05:55:15.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T05:55:15.330Z] Configure a credential helper to remove this warning. See [2021-03-16T05:55:15.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T05:55:15.330Z] [2021-03-16T05:55:15.330Z] Login Succeeded [2021-03-16T05:55:15.330Z] nexus3.edgexfoundry.org:10003 [2021-03-16T05:55:15.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T05:55:15.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T05:55:15.330Z] Configure a credential helper to remove this warning. See [2021-03-16T05:55:15.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T05:55:15.330Z] [2021-03-16T05:55:15.330Z] Login Succeeded [2021-03-16T05:55:15.330Z] nexus3.edgexfoundry.org:10004 [2021-03-16T05:55:15.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T05:55:15.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T05:55:15.592Z] Configure a credential helper to remove this warning. See [2021-03-16T05:55:15.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T05:55:15.592Z] [2021-03-16T05:55:15.592Z] Login Succeeded [2021-03-16T05:55:15.592Z] docker.io [2021-03-16T05:55:15.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T05:55:15.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T05:55:15.854Z] Configure a credential helper to remove this warning. See [2021-03-16T05:55:15.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T05:55:15.854Z] [2021-03-16T05:55:15.854Z] Login Succeeded [2021-03-16T05:55:15.854Z] ---> docker-login.sh ends [Pipeline] } [2021-03-16T05:55:15.875Z] 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-16T05:55:16.954Z] + git log --format=format:%s -1 696c1cf94f323bf75312d482435df43fc8495bb4 [Pipeline] echo [2021-03-16T05:55:17.042Z] GIT_COMMIT: 696c1cf94f323bf75312d482435df43fc8495bb4, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-03-16T05:55:17.116Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-16T05:55:18.177Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T05:55:18.177Z] [2021-03-16T05:55:18.177Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-16T05:55:18.576Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T05:55:18.576Z] latest: Pulling from edgex-devops/git-semver [2021-03-16T05:55:18.576Z] 31603596830f: Pulling fs layer [2021-03-16T05:55:18.576Z] 2a8b12db71e7: Pulling fs layer [2021-03-16T05:55:18.576Z] 6ca5941a6612: Pulling fs layer [2021-03-16T05:55:18.576Z] ecc8261a40a4: Pulling fs layer [2021-03-16T05:55:18.576Z] ecc8261a40a4: Waiting [2021-03-16T05:55:18.576Z] 2a8b12db71e7: Verifying Checksum [2021-03-16T05:55:18.576Z] 2a8b12db71e7: Download complete [2021-03-16T05:55:18.844Z] 31603596830f: Verifying Checksum [2021-03-16T05:55:18.844Z] 31603596830f: Download complete [2021-03-16T05:55:18.844Z] 6ca5941a6612: Verifying Checksum [2021-03-16T05:55:18.844Z] 6ca5941a6612: Download complete [2021-03-16T05:55:18.844Z] ecc8261a40a4: Download complete [2021-03-16T05:55:19.107Z] 31603596830f: Pull complete [2021-03-16T05:55:19.374Z] 2a8b12db71e7: Pull complete [2021-03-16T05:55:20.324Z] 6ca5941a6612: Pull complete [2021-03-16T05:55:20.324Z] ecc8261a40a4: Pull complete [2021-03-16T05:55:20.324Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-16T05:55:20.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T05:55:20.588Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-16T05:55:20.717Z] prd-centos7-docker-4c-2g-29940 does not seem to be running inside a container [2021-03-16T05:55:20.766Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-819 -v /w/workspace/dgexfoundry_device-sdk-go_PR-819:/w/workspace/dgexfoundry_device-sdk-go_PR-819:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-819@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-819@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-16T05:55:22.657Z] $ docker top dfc7d3aa0e378475deeef6d820acd9870cecd1ad225ad2d949e7d58e85f2beef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-16T05:55:23.032Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-16T05:55:23.032Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-16T05:55:23.237Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-16T05:55:23.243Z] $ docker exec dfc7d3aa0e378475deeef6d820acd9870cecd1ad225ad2d949e7d58e85f2beef ssh-agent [2021-03-16T05:55:23.409Z] SSH_AUTH_SOCK=/tmp/ssh-9wSnFceWJGlA/agent.13 [2021-03-16T05:55:23.409Z] SSH_AGENT_PID=18 [2021-03-16T05:55:23.420Z] Running ssh-add (command line suppressed) [2021-03-16T05:55:23.544Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-819@tmp/private_key_5925448083139738964.key (/w/workspace/dgexfoundry_device-sdk-go_PR-819@tmp/private_key_5925448083139738964.key) [2021-03-16T05:55:23.591Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-16T05:55:23.966Z] + git tag --points-at HEAD [Pipeline] } [2021-03-16T05:55:23.998Z] $ docker exec --env ******** --env ******** dfc7d3aa0e378475deeef6d820acd9870cecd1ad225ad2d949e7d58e85f2beef ssh-agent -k [2021-03-16T05:55:24.104Z] unset SSH_AUTH_SOCK; [2021-03-16T05:55:24.104Z] unset SSH_AGENT_PID; [2021-03-16T05:55:24.104Z] echo Agent pid 18 killed; [2021-03-16T05:55:24.146Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-16T05:55:24.399Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-16T05:55:24.400Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-16T05:55:24.561Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-16T05:55:24.567Z] $ docker exec dfc7d3aa0e378475deeef6d820acd9870cecd1ad225ad2d949e7d58e85f2beef ssh-agent [2021-03-16T05:55:24.718Z] SSH_AUTH_SOCK=/tmp/ssh-RsJZ8csSyVDa/agent.47 [2021-03-16T05:55:24.718Z] SSH_AGENT_PID=52 [2021-03-16T05:55:24.724Z] Running ssh-add (command line suppressed) [2021-03-16T05:55:24.843Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-819@tmp/private_key_8601734108176747239.key (/w/workspace/dgexfoundry_device-sdk-go_PR-819@tmp/private_key_8601734108176747239.key) [2021-03-16T05:55:24.890Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-16T05:55:25.272Z] + git semver init [2021-03-16T05:55:25.272Z] # -> Open(): unable to determine branch for HEAD [2021-03-16T05:55:25.272Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-819/.git [2021-03-16T05:55:25.272Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-819 [2021-03-16T05:55:25.272Z] # $SEMVER_REMOTE_NAME = origin [2021-03-16T05:55:25.272Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-16T05:55:25.272Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-16T05:55:25.272Z] # $SEMVER_BRANCH = PR-819 [2021-03-16T05:55:25.272Z] # $SEMVER_TEMP = /tmp/semver-864206191 [2021-03-16T05:55:25.272Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-16T05:55:25.847Z] # '/tmp/semver-864206191' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-819/.semver' [2021-03-16T05:55:25.847Z] # -> Force: false [2021-03-16T05:55:25.847Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-819/.semver [Pipeline] } [2021-03-16T05:55:25.869Z] $ docker exec --env ******** --env ******** dfc7d3aa0e378475deeef6d820acd9870cecd1ad225ad2d949e7d58e85f2beef ssh-agent -k [2021-03-16T05:55:25.991Z] unset SSH_AUTH_SOCK; [2021-03-16T05:55:25.992Z] unset SSH_AGENT_PID; [2021-03-16T05:55:25.992Z] echo Agent pid 52 killed; [2021-03-16T05:55:26.033Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-16T05:55:26.625Z] + git semver [Pipeline] } [2021-03-16T05:55:26.657Z] $ docker stop --time=1 dfc7d3aa0e378475deeef6d820acd9870cecd1ad225ad2d949e7d58e85f2beef [2021-03-16T05:55:28.072Z] $ docker rm -f dfc7d3aa0e378475deeef6d820acd9870cecd1ad225ad2d949e7d58e85f2beef [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-16T05:55:28.575Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-16T05:55:28.997Z] Stashed 1 file(s) [Pipeline] echo [2021-03-16T05:55:29.020Z] [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-16T05:55:44.828Z] Still waiting to schedule task [2021-03-16T05:55:44.828Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29940’ [2021-03-16T05:55:44.851Z] Still waiting to schedule task [2021-03-16T05:55:44.851Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-16T05:57:30.678Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29941 in /w/workspace/dgexfoundry_device-sdk-go_PR-819 [Pipeline] { [Pipeline] ws [2021-03-16T05:57:30.781Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-16T05:57:35.599Z] using credential edgex-jenkins-ssh [2021-03-16T05:57:35.654Z] Cloning the remote Git repository [2021-03-16T05:57:35.714Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T05:57:35.823Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-16T05:57:35.887Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T05:57:35.888Z] > git --version # timeout=10 [2021-03-16T05:57:35.903Z] > git --version # 'git version 2.17.1' [2021-03-16T05:57:35.905Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T05:57:35.995Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T05:57:38.013Z] Merging remotes/origin/master commit 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit 696c1cf94f323bf75312d482435df43fc8495bb4 [2021-03-16T05:57:38.225Z] Merge succeeded, producing 696c1cf94f323bf75312d482435df43fc8495bb4 [2021-03-16T05:57:38.226Z] Checking out Revision 696c1cf94f323bf75312d482435df43fc8495bb4 (PR-819) [2021-03-16T05:57:37.200Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-16T05:57:37.223Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T05:57:37.246Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-16T05:57:37.275Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T05:57:37.276Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T05:57:37.287Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/819/head:refs/remotes/origin/PR-819 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-16T05:57:38.038Z] > git config core.sparsecheckout # timeout=10 [2021-03-16T05:57:38.053Z] > git checkout -f 696c1cf94f323bf75312d482435df43fc8495bb4 # timeout=10 [2021-03-16T05:57:38.153Z] > git remote # timeout=10 [2021-03-16T05:57:38.170Z] > git config --get remote.origin.url # timeout=10 [2021-03-16T05:57:38.182Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T05:57:38.192Z] > git merge 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 [2021-03-16T05:57:38.216Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-16T05:57:38.235Z] > git config core.sparsecheckout # timeout=10 [2021-03-16T05:57:38.244Z] > git checkout -f 696c1cf94f323bf75312d482435df43fc8495bb4 # timeout=10 [2021-03-16T05:57:42.527Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-03-16T05:57:42.589Z] > git --version # timeout=10 [2021-03-16T05:57:42.599Z] > git --version # 'git version 2.17.1' [2021-03-16T05:57:42.611Z] fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-16T05:57:44.681Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-16T05:57:45.233Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-16T05:57:45.593Z] + true [2021-03-16T05:57:45.593Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-16T05:57:48.397Z] provisioning config files... [2021-03-16T05:57:48.441Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3216158274852826648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-16T05:57:48.908Z] ---> docker-login.sh [2021-03-16T05:57:48.908Z] nexus3.edgexfoundry.org:10001 [2021-03-16T05:57:49.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T05:57:50.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T05:57:50.169Z] Configure a credential helper to remove this warning. See [2021-03-16T05:57:50.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T05:57:50.169Z] [2021-03-16T05:57:50.169Z] Login Succeeded [2021-03-16T05:57:50.169Z] nexus3.edgexfoundry.org:10002 [2021-03-16T05:57:50.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T05:57:50.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T05:57:50.717Z] Configure a credential helper to remove this warning. See [2021-03-16T05:57:50.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T05:57:50.717Z] [2021-03-16T05:57:50.717Z] Login Succeeded [2021-03-16T05:57:50.717Z] nexus3.edgexfoundry.org:10003 [2021-03-16T05:57:50.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T05:57:51.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T05:57:51.266Z] Configure a credential helper to remove this warning. See [2021-03-16T05:57:51.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T05:57:51.266Z] [2021-03-16T05:57:51.266Z] Login Succeeded [2021-03-16T05:57:51.266Z] nexus3.edgexfoundry.org:10004 [2021-03-16T05:57:51.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T05:57:51.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T05:57:51.827Z] Configure a credential helper to remove this warning. See [2021-03-16T05:57:51.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T05:57:51.827Z] [2021-03-16T05:57:51.827Z] Login Succeeded [2021-03-16T05:57:51.827Z] docker.io [2021-03-16T05:57:52.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T05:57:52.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T05:57:52.393Z] Configure a credential helper to remove this warning. See [2021-03-16T05:57:52.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T05:57:52.393Z] [2021-03-16T05:57:52.393Z] Login Succeeded [2021-03-16T05:57:52.393Z] ---> docker-login.sh ends [Pipeline] } [2021-03-16T05:57:52.433Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-16T05:57:53.001Z] ========================================================= [2021-03-16T05:57:53.001Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-16T05:57:53.001Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-16T05:57:53.434Z] + 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-16T05:57:53.712Z] Sending build context to Docker daemon 2.269MB [2021-03-16T05:57:53.994Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T05:57:53.994Z] Step 2/8 : FROM ${BASE} [2021-03-16T05:57:53.994Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-16T05:57:53.994Z] 5f621e34cdf4: Pulling fs layer [2021-03-16T05:57:53.994Z] a4357932f1b6: Pulling fs layer [2021-03-16T05:57:53.994Z] 18c013af1878: Pulling fs layer [2021-03-16T05:57:53.994Z] 00ac8860ef70: Pulling fs layer [2021-03-16T05:57:53.994Z] 63d7cb157983: Pulling fs layer [2021-03-16T05:57:53.994Z] b116817d02f9: Pulling fs layer [2021-03-16T05:57:53.994Z] 745a02a5169b: Pulling fs layer [2021-03-16T05:57:53.994Z] 00ac8860ef70: Waiting [2021-03-16T05:57:53.994Z] 63d7cb157983: Waiting [2021-03-16T05:57:53.994Z] b116817d02f9: Waiting [2021-03-16T05:57:53.994Z] 745a02a5169b: Waiting [2021-03-16T05:57:53.994Z] 18c013af1878: Verifying Checksum [2021-03-16T05:57:53.994Z] 18c013af1878: Download complete [2021-03-16T05:57:53.994Z] a4357932f1b6: Verifying Checksum [2021-03-16T05:57:53.994Z] a4357932f1b6: Download complete [2021-03-16T05:57:53.994Z] 63d7cb157983: Verifying Checksum [2021-03-16T05:57:53.994Z] 63d7cb157983: Download complete [2021-03-16T05:57:53.994Z] b116817d02f9: Verifying Checksum [2021-03-16T05:57:53.994Z] b116817d02f9: Download complete [2021-03-16T05:57:53.994Z] 5f621e34cdf4: Verifying Checksum [2021-03-16T05:57:53.994Z] 5f621e34cdf4: Download complete [2021-03-16T05:57:54.600Z] 5f621e34cdf4: Pull complete [2021-03-16T05:57:55.215Z] a4357932f1b6: Pull complete [2021-03-16T05:57:55.823Z] 18c013af1878: Pull complete [2021-03-16T05:57:56.805Z] 745a02a5169b: Verifying Checksum [2021-03-16T05:57:56.805Z] 745a02a5169b: Download complete [2021-03-16T05:57:57.787Z] 00ac8860ef70: Verifying Checksum [2021-03-16T05:57:57.787Z] 00ac8860ef70: Download complete [2021-03-16T05:58:07.640Z] Running on prd-centos7-docker-4c-2g-29942 in /w/workspace/dgexfoundry_device-sdk-go_PR-819 [Pipeline] { [Pipeline] ws [2021-03-16T05:58:07.743Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-16T05:58:07.977Z] 00ac8860ef70: Pull complete [2021-03-16T05:58:07.977Z] 63d7cb157983: Pull complete [2021-03-16T05:58:08.261Z] b116817d02f9: Pull complete [2021-03-16T05:58:10.947Z] using credential edgex-jenkins-ssh [2021-03-16T05:58:10.997Z] Cloning the remote Git repository [2021-03-16T05:58:11.022Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T05:58:11.087Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-16T05:58:11.149Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T05:58:11.149Z] > git --version # timeout=10 [2021-03-16T05:58:11.157Z] > git --version # 'git version 2.24.3' [2021-03-16T05:58:11.157Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T05:58:11.181Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T05:58:11.733Z] 745a02a5169b: Pull complete [2021-03-16T05:58:12.005Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-16T05:58:12.005Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-16T05:58:12.005Z] ---> b7e6874047d6 [2021-03-16T05:58:12.005Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T05:58:12.315Z] Merging remotes/origin/master commit 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit 696c1cf94f323bf75312d482435df43fc8495bb4 [2021-03-16T05:58:12.413Z] Merge succeeded, producing 696c1cf94f323bf75312d482435df43fc8495bb4 [2021-03-16T05:58:12.413Z] Checking out Revision 696c1cf94f323bf75312d482435df43fc8495bb4 (PR-819) [2021-03-16T05:58:11.862Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-16T05:58:11.869Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T05:58:11.881Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-16T05:58:11.893Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T05:58:11.893Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T05:58:11.899Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/819/head:refs/remotes/origin/PR-819 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-16T05:58:12.324Z] > git config core.sparsecheckout # timeout=10 [2021-03-16T05:58:12.330Z] > git checkout -f 696c1cf94f323bf75312d482435df43fc8495bb4 # timeout=10 [2021-03-16T05:58:12.376Z] > git remote # timeout=10 [2021-03-16T05:58:12.381Z] > git config --get remote.origin.url # timeout=10 [2021-03-16T05:58:12.388Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T05:58:12.392Z] > git merge 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 [2021-03-16T05:58:12.403Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-16T05:58:12.416Z] > git config core.sparsecheckout # timeout=10 [2021-03-16T05:58:12.420Z] > git checkout -f 696c1cf94f323bf75312d482435df43fc8495bb4 # timeout=10 [2021-03-16T05:58:15.387Z] ---> Running in 4e82a8d429ed [2021-03-16T05:58:15.387Z] Removing intermediate container 4e82a8d429ed [2021-03-16T05:58:15.387Z] ---> 295337990d94 [2021-03-16T05:58:15.387Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T05:58:15.387Z] ---> Running in 3365cf7dedea [2021-03-16T05:58:16.026Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-03-16T05:58:16.054Z] > git --version # timeout=10 [2021-03-16T05:58:16.060Z] > git --version # 'git version 2.24.3' [2021-03-16T05:58:16.066Z] fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-16T05:58:17.371Z] Removing intermediate container 3365cf7dedea [2021-03-16T05:58:17.580Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-16T05:58:17.665Z] ---> 4c04a920db80 [2021-03-16T05:58:17.665Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-16T05:58:17.665Z] ---> Running in 5818fc7627fa [2021-03-16T05:58:17.937Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-16T05:58:18.267Z] + sudo service docker restart [2021-03-16T05:58:18.267Z] + true [2021-03-16T05:58:18.267Z] Redirecting to /bin/systemctl restart docker.service [2021-03-16T05:58:18.663Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-16T05:58:19.346Z] provisioning config files... [2021-03-16T05:58:19.372Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config445808244325510988tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-16T05:58:19.639Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-16T05:58:19.810Z] ---> docker-login.sh [2021-03-16T05:58:19.810Z] nexus3.edgexfoundry.org:10001 [2021-03-16T05:58:20.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T05:58:20.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T05:58:20.085Z] Configure a credential helper to remove this warning. See [2021-03-16T05:58:20.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T05:58:20.085Z] [2021-03-16T05:58:20.085Z] Login Succeeded [2021-03-16T05:58:20.085Z] nexus3.edgexfoundry.org:10002 [2021-03-16T05:58:20.234Z] OK: 142 MiB in 39 packages [2021-03-16T05:58:20.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T05:58:20.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T05:58:20.351Z] Configure a credential helper to remove this warning. See [2021-03-16T05:58:20.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T05:58:20.351Z] [2021-03-16T05:58:20.351Z] Login Succeeded [2021-03-16T05:58:20.351Z] nexus3.edgexfoundry.org:10003 [2021-03-16T05:58:20.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T05:58:20.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T05:58:20.621Z] Configure a credential helper to remove this warning. See [2021-03-16T05:58:20.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T05:58:20.621Z] [2021-03-16T05:58:20.621Z] Login Succeeded [2021-03-16T05:58:20.621Z] nexus3.edgexfoundry.org:10004 [2021-03-16T05:58:20.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T05:58:20.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T05:58:20.888Z] Configure a credential helper to remove this warning. See [2021-03-16T05:58:20.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T05:58:20.888Z] [2021-03-16T05:58:20.888Z] Login Succeeded [2021-03-16T05:58:20.888Z] docker.io [2021-03-16T05:58:20.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T05:58:21.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T05:58:21.153Z] Configure a credential helper to remove this warning. See [2021-03-16T05:58:21.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T05:58:21.153Z] [2021-03-16T05:58:21.153Z] Login Succeeded [2021-03-16T05:58:21.153Z] ---> docker-login.sh ends [Pipeline] } [2021-03-16T05:58:21.179Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-03-16T05:58:21.672Z] Removing intermediate container 5818fc7627fa [2021-03-16T05:58:21.672Z] ---> 84c1a26e241c [2021-03-16T05:58:21.672Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-16T05:58:21.672Z] ---> Running in 98d8eb42f351 [Pipeline] echo [2021-03-16T05:58:21.839Z] ========================================================= [2021-03-16T05:58:21.839Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-16T05:58:21.839Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-16T05:58:22.266Z] + 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-16T05:58:22.279Z] Removing intermediate container 98d8eb42f351 [2021-03-16T05:58:22.279Z] ---> 8b9c9066f35f [2021-03-16T05:58:22.279Z] Step 7/8 : COPY . . [2021-03-16T05:58:22.536Z] Sending build context to Docker daemon 2.271MB [2021-03-16T05:58:22.536Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T05:58:22.536Z] Step 2/8 : FROM ${BASE} [2021-03-16T05:58:22.536Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-16T05:58:22.536Z] 188c0c94c7c5: Pulling fs layer [2021-03-16T05:58:22.536Z] 0ef7d3d256c8: Pulling fs layer [2021-03-16T05:58:22.536Z] de9db76c5a1d: Pulling fs layer [2021-03-16T05:58:22.536Z] bca2f99d35d6: Pulling fs layer [2021-03-16T05:58:22.536Z] 93359f2a8cfa: Pulling fs layer [2021-03-16T05:58:22.536Z] 7c6f9722023f: Pulling fs layer [2021-03-16T05:58:22.536Z] a35cf1a2eb13: Pulling fs layer [2021-03-16T05:58:22.536Z] 93359f2a8cfa: Waiting [2021-03-16T05:58:22.536Z] 7c6f9722023f: Waiting [2021-03-16T05:58:22.537Z] a35cf1a2eb13: Waiting [2021-03-16T05:58:22.537Z] bca2f99d35d6: Waiting [2021-03-16T05:58:22.537Z] de9db76c5a1d: Download complete [2021-03-16T05:58:22.537Z] 0ef7d3d256c8: Download complete [2021-03-16T05:58:22.537Z] 93359f2a8cfa: Download complete [2021-03-16T05:58:22.537Z] 7c6f9722023f: Verifying Checksum [2021-03-16T05:58:22.537Z] 7c6f9722023f: Download complete [2021-03-16T05:58:22.537Z] 188c0c94c7c5: Verifying Checksum [2021-03-16T05:58:22.537Z] 188c0c94c7c5: Download complete [2021-03-16T05:58:23.123Z] 188c0c94c7c5: Pull complete [2021-03-16T05:58:23.123Z] 0ef7d3d256c8: Pull complete [2021-03-16T05:58:23.261Z] ---> 233a9c1170b8 [2021-03-16T05:58:23.261Z] Step 8/8 : RUN go mod download [2021-03-16T05:58:23.386Z] de9db76c5a1d: Pull complete [2021-03-16T05:58:23.536Z] ---> Running in 3c0f203f2b0c [2021-03-16T05:58:24.361Z] a35cf1a2eb13: Verifying Checksum [2021-03-16T05:58:24.361Z] a35cf1a2eb13: Download complete [2021-03-16T05:58:24.947Z] bca2f99d35d6: Verifying Checksum [2021-03-16T05:58:24.947Z] bca2f99d35d6: Download complete [2021-03-16T05:58:30.304Z] bca2f99d35d6: Pull complete [2021-03-16T05:58:30.304Z] 93359f2a8cfa: Pull complete [2021-03-16T05:58:30.575Z] 7c6f9722023f: Pull complete [2021-03-16T05:58:34.822Z] a35cf1a2eb13: Pull complete [2021-03-16T05:58:34.822Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-16T05:58:34.822Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-16T05:58:34.822Z] ---> a62c8e92a672 [2021-03-16T05:58:34.822Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T05:58:35.091Z] ---> Running in dc7f9cf036ac [2021-03-16T05:58:35.357Z] Removing intermediate container dc7f9cf036ac [2021-03-16T05:58:35.357Z] ---> 37660757e6b2 [2021-03-16T05:58:35.357Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T05:58:35.357Z] ---> Running in 4f47dce81386 [2021-03-16T05:58:36.752Z] Removing intermediate container 4f47dce81386 [2021-03-16T05:58:36.753Z] ---> 67c883c4fcd7 [2021-03-16T05:58:36.753Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-16T05:58:36.753Z] ---> Running in 6cda6f3a5cb9 [2021-03-16T05:58:37.021Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-16T05:58:37.608Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-16T05:58:38.186Z] OK: 166 MiB in 39 packages [2021-03-16T05:58:38.450Z] Removing intermediate container 6cda6f3a5cb9 [2021-03-16T05:58:38.450Z] ---> c476a4c8aad5 [2021-03-16T05:58:38.450Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-16T05:58:38.450Z] ---> Running in 7a9bbf53c2e7 [2021-03-16T05:58:38.715Z] Removing intermediate container 7a9bbf53c2e7 [2021-03-16T05:58:38.715Z] ---> 14d6c70d54ea [2021-03-16T05:58:38.715Z] Step 7/8 : COPY . . [2021-03-16T05:58:40.106Z] ---> f8cd9eb17b76 [2021-03-16T05:58:40.106Z] Step 8/8 : RUN go mod download [2021-03-16T05:58:40.106Z] ---> Running in 4409887ff763 [2021-03-16T05:58:50.352Z] Removing intermediate container 3c0f203f2b0c [2021-03-16T05:58:50.352Z] ---> 30f9115797ed [2021-03-16T05:58:50.352Z] Successfully built 30f9115797ed [2021-03-16T05:58:50.352Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-16T05:58:50.742Z] + docker inspect -f . ci-base-image-arm64 [2021-03-16T05:58:50.742Z] . [Pipeline] withDockerContainer [2021-03-16T05:58:51.028Z] prd-ubuntu18.04-docker-arm64-4c-16g-29941 does not seem to be running inside a container [2021-03-16T05:58:51.114Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-03-16T05:58:52.630Z] $ docker top 31ec13213c1dec8444ce2062dc9285d7e7fb45b8fb15a8b33e3af6409a7f387a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T05:58:53.744Z] + go version [2021-03-16T05:58:53.744Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-16T05:58:53.784Z] $ docker stop --time=1 31ec13213c1dec8444ce2062dc9285d7e7fb45b8fb15a8b33e3af6409a7f387a [2021-03-16T05:58:55.699Z] $ docker rm -f 31ec13213c1dec8444ce2062dc9285d7e7fb45b8fb15a8b33e3af6409a7f387a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-16T05:58:57.011Z] + docker inspect -f . ci-base-image-arm64 [2021-03-16T05:58:57.011Z] . [Pipeline] withDockerContainer [2021-03-16T05:58:57.291Z] prd-ubuntu18.04-docker-arm64-4c-16g-29941 does not seem to be running inside a container [2021-03-16T05:58:57.375Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-03-16T05:58:58.868Z] $ docker top 63b18aedc9a77590f7772588c34abe75cf6b8564a59de9d8c07e970ab4dc5308 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T05:58:59.949Z] + make test [2021-03-16T05:58:59.949Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-16T05:59:02.137Z] Removing intermediate container 4409887ff763 [2021-03-16T05:59:02.138Z] ---> 7c00d6ad2b74 [2021-03-16T05:59:02.138Z] Successfully built 7c00d6ad2b74 [2021-03-16T05:59:02.138Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-16T05:59:02.490Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-16T05:59:02.490Z] . [Pipeline] withDockerContainer [2021-03-16T05:59:02.639Z] prd-centos7-docker-4c-2g-29942 does not seem to be running inside a container [2021-03-16T05:59:02.697Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2021-03-16T05:59:03.558Z] $ docker top 29383ea1bd514b524aee89fc3fb39a447338ca3aec9ec27e9f8e52da146a9ae4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T05:59:04.123Z] + go version [2021-03-16T05:59:04.123Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-16T05:59:04.163Z] $ docker stop --time=1 29383ea1bd514b524aee89fc3fb39a447338ca3aec9ec27e9f8e52da146a9ae4 [2021-03-16T05:59:05.519Z] $ docker rm -f 29383ea1bd514b524aee89fc3fb39a447338ca3aec9ec27e9f8e52da146a9ae4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-16T05:59:06.634Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-16T05:59:06.634Z] . [Pipeline] withDockerContainer [2021-03-16T05:59:06.761Z] prd-centos7-docker-4c-2g-29942 does not seem to be running inside a container [2021-03-16T05:59:06.833Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2021-03-16T05:59:07.500Z] $ docker top 86b4e2a3666baa232d4eed01c1ef3b6cafcd12b9f655b4bd8e34fc8195894a94 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T05:59:08.068Z] + make test [2021-03-16T05:59:08.069Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-16T05:59:16.328Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-16T05:59:22.134Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-16T05:59:31.394Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-16T05:59:31.394Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-16T05:59:31.394Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-16T05:59:34.763Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.054s coverage: 25.5% of statements [2021-03-16T06:00:01.164Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-16T06:00:01.165Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-16T06:00:01.165Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-16T06:00:05.488Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.132s coverage: 25.5% of statements [2021-03-16T06:00:06.949Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.060s coverage: 10.5% of statements [2021-03-16T06:00:06.949Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.054s coverage: 12.5% of statements [2021-03-16T06:00:06.949Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-16T06:00:06.949Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.076s coverage: 84.8% of statements [2021-03-16T06:00:06.949Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-16T06:00:06.949Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-16T06:00:06.949Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-16T06:00:06.949Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 57.3% of statements [2021-03-16T06:00:06.949Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-16T06:00:06.949Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.066s coverage: 81.2% of statements [2021-03-16T06:00:06.949Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.079s coverage: 24.8% of statements [2021-03-16T06:00:06.949Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.175s coverage: 6.4% of statements [2021-03-16T06:00:06.949Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.1% of statements [2021-03-16T06:00:06.949Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-16T06:00:06.949Z] GO111MODULE=on go vet ./... [2021-03-16T06:00:15.187Z] gofmt -l . [2021-03-16T06:00:15.187Z] [ "`gofmt -l .`" = "" ] [2021-03-16T06:00:15.187Z] ./bin/test-attribution-txt.sh [2021-03-16T06:00:15.187Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-16T06:00:15.485Z] $ docker stop --time=1 86b4e2a3666baa232d4eed01c1ef3b6cafcd12b9f655b4bd8e34fc8195894a94 [2021-03-16T06:00:17.538Z] $ docker rm -f 86b4e2a3666baa232d4eed01c1ef3b6cafcd12b9f655b4bd8e34fc8195894a94 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-16T06:00:18.372Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-16T06:00:18.737Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-16T06:00:21.727Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-16T06:00:22.063Z] + ls -al . [2021-03-16T06:00:22.063Z] total 188 [2021-03-16T06:00:22.063Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 16 06:00 . [2021-03-16T06:00:22.063Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 16 05:58 .. [2021-03-16T06:00:22.063Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 16 05:58 bin [2021-03-16T06:00:22.063Z] -rw-r--r--. 1 jenkins jenkins 103667 Mar 16 06:00 coverage.out [2021-03-16T06:00:22.063Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 16 05:58 Dockerfile.build [2021-03-16T06:00:22.063Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 16 05:58 .dockerignore [2021-03-16T06:00:22.063Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 16 05:58 example [2021-03-16T06:00:22.063Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 16 05:58 .git [2021-03-16T06:00:22.063Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 16 05:58 .github [2021-03-16T06:00:22.063Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 16 05:58 .gitignore [2021-03-16T06:00:22.063Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 16 06:00 go.mod [2021-03-16T06:00:22.063Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 16 06:00 go.sum [2021-03-16T06:00:22.063Z] drwxrwxr-x. 12 jenkins jenkins 171 Mar 16 05:58 internal [2021-03-16T06:00:22.063Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 16 05:58 Jenkinsfile [2021-03-16T06:00:22.063Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 16 05:58 LICENSE [2021-03-16T06:00:22.063Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 16 05:58 Makefile [2021-03-16T06:00:22.063Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 16 05:58 openapi [2021-03-16T06:00:22.063Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 16 05:58 pkg [2021-03-16T06:00:22.063Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 16 05:58 README.md [2021-03-16T06:00:22.063Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 16 05:58 RELEASE-NOTES.txt [2021-03-16T06:00:22.063Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 16 05:58 snap [2021-03-16T06:00:22.063Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 16 05:55 VERSION [2021-03-16T06:00:22.063Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 16 05:58 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-16T06:00:22.420Z] + 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=696c1cf94f323bf75312d482435df43fc8495bb4 --label arch=amd64 --label version=0.0.0 . [2021-03-16T06:00:22.684Z] Sending build context to Docker daemon 2.376MB [2021-03-16T06:00:22.684Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T06:00:22.684Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-16T06:00:22.684Z] ---> 7c00d6ad2b74 [2021-03-16T06:00:22.684Z] Step 3/24 : ARG MAKE='make build' [2021-03-16T06:00:23.259Z] ---> Running in 1f71a70021b8 [2021-03-16T06:00:23.522Z] Removing intermediate container 1f71a70021b8 [2021-03-16T06:00:23.522Z] ---> 00cfc9998f91 [2021-03-16T06:00:23.522Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-16T06:00:23.522Z] ---> Running in 10aa713692a1 [2021-03-16T06:00:23.787Z] Removing intermediate container 10aa713692a1 [2021-03-16T06:00:23.787Z] ---> 185f3ac7661f [2021-03-16T06:00:23.787Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T06:00:23.787Z] ---> Running in 54f512b40d18 [2021-03-16T06:00:23.787Z] Removing intermediate container 54f512b40d18 [2021-03-16T06:00:23.787Z] ---> 2f57aac93106 [2021-03-16T06:00:23.787Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T06:00:24.055Z] ---> Running in 0cdac064bf86 [2021-03-16T06:00:25.008Z] Removing intermediate container 0cdac064bf86 [2021-03-16T06:00:25.008Z] ---> cbef6c4665c9 [2021-03-16T06:00:25.008Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-16T06:00:25.008Z] ---> Running in c34f61d6e3a7 [2021-03-16T06:00:25.593Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-16T06:00:26.166Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-16T06:00:26.744Z] OK: 166 MiB in 39 packages [2021-03-16T06:00:27.007Z] Removing intermediate container c34f61d6e3a7 [2021-03-16T06:00:27.007Z] ---> 21947320b835 [2021-03-16T06:00:27.007Z] Step 8/24 : COPY . . [2021-03-16T06:00:27.960Z] ---> c35e6d9d1067 [2021-03-16T06:00:27.960Z] Step 9/24 : RUN ${MAKE} [2021-03-16T06:00:28.224Z] ---> Running in 131e5ae7e830 [2021-03-16T06:00:28.491Z] 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-16T06:00:37.859Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.141s coverage: 10.5% of statements [2021-03-16T06:00:37.859Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.108s coverage: 12.5% of statements [2021-03-16T06:00:37.859Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-16T06:00:37.859Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.174s coverage: 84.8% of statements [2021-03-16T06:00:37.859Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-16T06:00:37.859Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-16T06:00:37.859Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-16T06:00:37.859Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.267s coverage: 57.3% of statements [2021-03-16T06:00:37.859Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-16T06:00:37.859Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.159s coverage: 81.2% of statements [2021-03-16T06:00:37.859Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.199s coverage: 24.8% of statements [2021-03-16T06:00:37.859Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.812s coverage: 6.4% of statements [2021-03-16T06:00:37.859Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 5.1% of statements [2021-03-16T06:00:37.859Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-16T06:00:37.859Z] GO111MODULE=on go vet ./... [2021-03-16T06:00:38.623Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-16T06:00:40.560Z] Removing intermediate container 131e5ae7e830 [2021-03-16T06:00:40.560Z] ---> fe89fd4e348a [2021-03-16T06:00:40.560Z] Step 10/24 : FROM scratch [2021-03-16T06:00:40.560Z] ---> [2021-03-16T06:00:40.560Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T06:00:40.560Z] ---> Running in 6558d32aa57e [2021-03-16T06:00:40.560Z] Removing intermediate container 6558d32aa57e [2021-03-16T06:00:40.560Z] ---> 109e5ad35322 [2021-03-16T06:00:40.560Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-16T06:00:40.560Z] ---> Running in 083bdcba5540 [2021-03-16T06:00:40.560Z] Removing intermediate container 083bdcba5540 [2021-03-16T06:00:40.560Z] ---> ebcf24579bf4 [2021-03-16T06:00:40.560Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-16T06:00:40.832Z] ---> Running in 15092d7fd799 [2021-03-16T06:00:40.832Z] Removing intermediate container 15092d7fd799 [2021-03-16T06:00:40.832Z] ---> 268c60045b67 [2021-03-16T06:00:40.832Z] Step 14/24 : WORKDIR / [2021-03-16T06:00:40.832Z] ---> Running in 22982506ac20 [2021-03-16T06:00:41.097Z] Removing intermediate container 22982506ac20 [2021-03-16T06:00:41.097Z] ---> 2f1d72e541aa [2021-03-16T06:00:41.097Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-16T06:00:41.674Z] ---> d173529fe4a7 [2021-03-16T06:00:41.674Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-16T06:00:41.939Z] ---> 2b538682abbc [2021-03-16T06:00:41.939Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-16T06:00:42.204Z] ---> 72fbb65a9a4d [2021-03-16T06:00:42.204Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-16T06:00:42.204Z] ---> 89837e2d3d8e [2021-03-16T06:00:42.204Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-16T06:00:42.469Z] ---> c066636d87a3 [2021-03-16T06:00:42.469Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-16T06:00:42.733Z] ---> Running in be15fee0389a [2021-03-16T06:00:42.733Z] Removing intermediate container be15fee0389a [2021-03-16T06:00:42.733Z] ---> 3a57f413c160 [2021-03-16T06:00:42.733Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-16T06:00:42.733Z] ---> Running in 46da99571521 [2021-03-16T06:00:43.002Z] Removing intermediate container 46da99571521 [2021-03-16T06:00:43.002Z] ---> ea358895adb4 [2021-03-16T06:00:43.002Z] Step 22/24 : LABEL arch=amd64 [2021-03-16T06:00:43.002Z] ---> Running in e3aa0c5c34e1 [2021-03-16T06:00:43.273Z] Removing intermediate container e3aa0c5c34e1 [2021-03-16T06:00:43.273Z] ---> 20cfb7daa688 [2021-03-16T06:00:43.273Z] Step 23/24 : LABEL git_sha=696c1cf94f323bf75312d482435df43fc8495bb4 [2021-03-16T06:00:43.273Z] ---> Running in 18cc0a0e1426 [2021-03-16T06:00:43.637Z] Removing intermediate container 18cc0a0e1426 [2021-03-16T06:00:43.637Z] ---> 90f4da91bfcc [2021-03-16T06:00:43.637Z] Step 24/24 : LABEL version=0.0.0 [2021-03-16T06:00:43.637Z] ---> Running in 3f455638a6a2 [2021-03-16T06:00:44.045Z] Removing intermediate container 3f455638a6a2 [2021-03-16T06:00:44.045Z] ---> 0adf438bc7ac [2021-03-16T06:00:44.045Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-16T06:00:44.045Z] Successfully built 0adf438bc7ac [2021-03-16T06:00:44.045Z] 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-16T06:00:45.605Z] ---> job-cost.sh [2021-03-16T06:00:45.605Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-biTf [2021-03-16T06:01:00.640Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-16T06:01:10.483Z] gofmt -l . [2021-03-16T06:01:10.483Z] [ "`gofmt -l .`" = "" ] [2021-03-16T06:01:10.483Z] ./bin/test-attribution-txt.sh [2021-03-16T06:01:10.483Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-16T06:01:10.860Z] $ docker stop --time=1 63b18aedc9a77590f7772588c34abe75cf6b8564a59de9d8c07e970ab4dc5308 [2021-03-16T06:01:13.214Z] $ docker rm -f 63b18aedc9a77590f7772588c34abe75cf6b8564a59de9d8c07e970ab4dc5308 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-16T06:01:14.347Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-16T06:01:14.394Z] Warning: overwriting stash ‘coverage-report’ [2021-03-16T06:01:15.106Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-16T06:01:16.060Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-16T06:01:16.431Z] + ls -al . [2021-03-16T06:01:16.432Z] total 224 [2021-03-16T06:01:16.432Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 06:01 . [2021-03-16T06:01:16.432Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 05:57 .. [2021-03-16T06:01:16.432Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 16 05:57 .dockerignore [2021-03-16T06:01:16.432Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 05:57 .git [2021-03-16T06:01:16.432Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 05:57 .github [2021-03-16T06:01:16.432Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 16 05:57 .gitignore [2021-03-16T06:01:16.432Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 16 05:57 Dockerfile.build [2021-03-16T06:01:16.432Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 16 05:57 Jenkinsfile [2021-03-16T06:01:16.432Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 16 05:57 LICENSE [2021-03-16T06:01:16.432Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 16 05:57 Makefile [2021-03-16T06:01:16.432Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 16 05:57 README.md [2021-03-16T06:01:16.432Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 16 05:57 RELEASE-NOTES.txt [2021-03-16T06:01:16.432Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 05:55 VERSION [2021-03-16T06:01:16.432Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 05:57 bin [2021-03-16T06:01:16.432Z] -rw-r--r-- 1 jenkins jenkins 103667 Mar 16 06:00 coverage.out [2021-03-16T06:01:16.432Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 05:57 example [2021-03-16T06:01:16.432Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 16 06:01 go.mod [2021-03-16T06:01:16.432Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 16 06:01 go.sum [2021-03-16T06:01:16.432Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 16 05:57 internal [2021-03-16T06:01:16.432Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 05:57 openapi [2021-03-16T06:01:16.432Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 16 05:57 pkg [2021-03-16T06:01:16.432Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 05:57 snap [2021-03-16T06:01:16.432Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 16 05:57 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-16T06:01:16.815Z] + 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=696c1cf94f323bf75312d482435df43fc8495bb4 --label arch=arm64 --label version=0.0.0 . [2021-03-16T06:01:17.091Z] Sending build context to Docker daemon 2.374MB [2021-03-16T06:01:17.365Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T06:01:17.365Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-16T06:01:17.365Z] ---> 30f9115797ed [2021-03-16T06:01:17.365Z] Step 3/24 : ARG MAKE='make build' [2021-03-16T06:01:17.640Z] ---> Running in 0de8ab85d55f [2021-03-16T06:01:17.913Z] Removing intermediate container 0de8ab85d55f [2021-03-16T06:01:17.913Z] ---> 6148fb4ab74b [2021-03-16T06:01:17.913Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-16T06:01:18.185Z] ---> Running in 45589b7cd40e [2021-03-16T06:01:18.795Z] Removing intermediate container 45589b7cd40e [2021-03-16T06:01:18.795Z] ---> 7eac89f1bc4d [2021-03-16T06:01:18.795Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T06:01:18.795Z] ---> Running in 391200561b22 [2021-03-16T06:01:19.394Z] Removing intermediate container 391200561b22 [2021-03-16T06:01:19.394Z] ---> 7daa6e8c0e18 [2021-03-16T06:01:19.394Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T06:01:19.394Z] ---> Running in 0dfa96a0c1a6 [2021-03-16T06:01:21.390Z] Removing intermediate container 0dfa96a0c1a6 [2021-03-16T06:01:21.390Z] ---> d12084803fc6 [2021-03-16T06:01:21.390Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-16T06:01:21.390Z] ---> Running in 0a311d4357db [2021-03-16T06:01:22.829Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-16T06:01:23.427Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-16T06:01:24.020Z] OK: 142 MiB in 39 packages [2021-03-16T06:01:25.019Z] Removing intermediate container 0a311d4357db [2021-03-16T06:01:25.019Z] ---> f2af66087156 [2021-03-16T06:01:25.019Z] Step 8/24 : COPY . . [2021-03-16T06:01:26.470Z] ---> d56b088332ea [2021-03-16T06:01:26.470Z] Step 9/24 : RUN ${MAKE} [2021-03-16T06:01:26.470Z] ---> Running in c61c96ec0d30 [2021-03-16T06:01:27.302Z] lf-activate-venv(): INFO: Adding /tmp/venv-biTf/bin to PATH [2021-03-16T06:01:27.302Z] INFO: No Stack... [2021-03-16T06:01:27.302Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-16T06:01:27.460Z] 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-16T06:01:28.253Z] INFO: Archiving Costs [Pipeline] sh [2021-03-16T06:01:28.610Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-03-16T06:01:28.610Z] + cut -d, -f6 [Pipeline] lock [2021-03-16T06:01:28.799Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-819-1-stack-cost] [2021-03-16T06:01:28.807Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-819-1-stack-cost] did not exist. Created. [2021-03-16T06:01:28.808Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-819-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-16T06:01:29.324Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-16T06:01:29.485Z] Stashed 1 file(s) [Pipeline] } [2021-03-16T06:01:29.505Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-819-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-16T06:01:54.290Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-16T06:01:54.886Z] Removing intermediate container c61c96ec0d30 [2021-03-16T06:01:54.886Z] ---> ff7b23db1aa0 [2021-03-16T06:01:54.886Z] Step 10/24 : FROM scratch [2021-03-16T06:01:54.886Z] ---> [2021-03-16T06:01:54.886Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T06:01:54.886Z] ---> Running in 3d225d9b69f3 [2021-03-16T06:01:55.480Z] Removing intermediate container 3d225d9b69f3 [2021-03-16T06:01:55.480Z] ---> fedf99bbbe68 [2021-03-16T06:01:55.480Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-16T06:01:55.480Z] ---> Running in e3ae8aeee4ab [2021-03-16T06:01:55.752Z] Removing intermediate container e3ae8aeee4ab [2021-03-16T06:01:55.752Z] ---> b8d944d85db0 [2021-03-16T06:01:55.752Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-16T06:01:56.031Z] ---> Running in 83ad6dd86159 [2021-03-16T06:01:56.302Z] Removing intermediate container 83ad6dd86159 [2021-03-16T06:01:56.302Z] ---> 6fbfc49d84d6 [2021-03-16T06:01:56.302Z] Step 14/24 : WORKDIR / [2021-03-16T06:01:56.302Z] ---> Running in 4b093ce169a4 [2021-03-16T06:01:56.902Z] Removing intermediate container 4b093ce169a4 [2021-03-16T06:01:56.902Z] ---> 9e69f3d3b562 [2021-03-16T06:01:56.902Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-16T06:01:57.884Z] ---> 1cfd48cc4574 [2021-03-16T06:01:57.884Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-16T06:01:58.481Z] ---> f976def319fb [2021-03-16T06:01:58.481Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-16T06:01:59.462Z] ---> 45f9a2a7fc47 [2021-03-16T06:01:59.462Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-16T06:02:00.056Z] ---> f5884c864e52 [2021-03-16T06:02:00.056Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-16T06:02:00.653Z] ---> 8d8d9eb0dd62 [2021-03-16T06:02:00.653Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-16T06:02:00.927Z] ---> Running in 76d2a828a4db [2021-03-16T06:02:01.523Z] Removing intermediate container 76d2a828a4db [2021-03-16T06:02:01.523Z] ---> 506d2e44a038 [2021-03-16T06:02:01.523Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-16T06:02:01.523Z] ---> Running in 37b86a08384b [2021-03-16T06:02:02.118Z] Removing intermediate container 37b86a08384b [2021-03-16T06:02:02.118Z] ---> 15266072ad7c [2021-03-16T06:02:02.118Z] Step 22/24 : LABEL arch=arm64 [2021-03-16T06:02:02.118Z] ---> Running in 0087237dc361 [2021-03-16T06:02:02.714Z] Removing intermediate container 0087237dc361 [2021-03-16T06:02:02.714Z] ---> 44928d8d26e4 [2021-03-16T06:02:02.714Z] Step 23/24 : LABEL git_sha=696c1cf94f323bf75312d482435df43fc8495bb4 [2021-03-16T06:02:02.714Z] ---> Running in 954a77d647fc [2021-03-16T06:02:03.317Z] Removing intermediate container 954a77d647fc [2021-03-16T06:02:03.317Z] ---> a767e40fd090 [2021-03-16T06:02:03.317Z] Step 24/24 : LABEL version=0.0.0 [2021-03-16T06:02:03.317Z] ---> Running in 232b24bde568 [2021-03-16T06:02:03.913Z] Removing intermediate container 232b24bde568 [2021-03-16T06:02:03.913Z] ---> a0dae66f6a61 [2021-03-16T06:02:03.913Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-16T06:02:03.913Z] Successfully built a0dae66f6a61 [2021-03-16T06:02:03.913Z] 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-16T06:02:05.035Z] ---> job-cost.sh [2021-03-16T06:02:05.035Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-fjMA [2021-03-16T06:02:43.990Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-16T06:04:20.741Z] lf-activate-venv(): INFO: Adding /tmp/venv-fjMA/bin to PATH [2021-03-16T06:04:20.741Z] INFO: No Stack... [2021-03-16T06:04:20.741Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-16T06:04:20.741Z] INFO: Archiving Costs [Pipeline] sh [2021-03-16T06:04:21.093Z] + + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-03-16T06:04:21.093Z] cut -d, -f6 [Pipeline] lock [2021-03-16T06:04:21.234Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-819-1-stack-cost] [2021-03-16T06:04:21.240Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-819-1-stack-cost] did not exist. Created. [2021-03-16T06:04:21.240Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-819-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-16T06:04:21.791Z] /w/workspace/device-sdk-go/1@tmp/durable-b9b9deeb/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-b9b9deeb/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-16T06:04:22.177Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-16T06:04:22.220Z] Warning: overwriting stash ‘stack-cost’ [2021-03-16T06:04:22.375Z] Stashed 1 file(s) [Pipeline] } [2021-03-16T06:04:22.397Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-819-1-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-16T06:04:24.279Z] provisioning config files... [2021-03-16T06:04:24.292Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-819@tmp/config7308418113320587389tmp [Pipeline] { [Pipeline] sh [2021-03-16T06:04:24.726Z] + set +x [2021-03-16T06:04:24.726Z] + curl -s https://codecov.io/bash [2021-03-16T06:04:24.726Z] + bash -s -- [2021-03-16T06:04:24.989Z] [2021-03-16T06:04:24.989Z] _____ _ [2021-03-16T06:04:24.989Z] / ____| | | [2021-03-16T06:04:24.989Z] | | ___ __| | ___ ___ _____ __ [2021-03-16T06:04:24.989Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-16T06:04:24.989Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-16T06:04:24.989Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-16T06:04:24.989Z] Bash-20210309-2b87ace [2021-03-16T06:04:24.989Z] [2021-03-16T06:04:24.989Z] [2021-03-16T06:04:24.989Z] ==> git version 2.24.3 found [2021-03-16T06:04:24.989Z] ==> 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-16T06:04:24.989Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-16T06:04:24.989Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-16T06:04:24.989Z] ==> Jenkins CI detected. [2021-03-16T06:04:24.989Z] project root: . [2021-03-16T06:04:24.989Z] --> token set from env [2021-03-16T06:04:24.989Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-16T06:04:24.989Z] ==> Running gcov in . (disable via -X gcov) [2021-03-16T06:04:24.989Z] ==> Python coveragepy not found [2021-03-16T06:04:24.989Z] ==> Searching for coverage reports in: [2021-03-16T06:04:24.989Z] + . [2021-03-16T06:04:24.989Z] -> Found 1 reports [2021-03-16T06:04:24.989Z] ==> Detecting git/mercurial file structure [2021-03-16T06:04:24.989Z] ==> Reading reports [2021-03-16T06:04:24.989Z] + ./coverage.out bytes=103667 [2021-03-16T06:04:24.989Z] ==> Appending adjustments [2021-03-16T06:04:24.989Z] https://docs.codecov.io/docs/fixing-reports [2021-03-16T06:04:25.251Z] + Found adjustments [2021-03-16T06:04:25.251Z] ==> Gzipping contents [2021-03-16T06:04:25.251Z] 16K /tmp/codecov.d74IVg.gz [2021-03-16T06:04:25.251Z] ==> Uploading reports [2021-03-16T06:04:25.251Z] url: https://codecov.io [2021-03-16T06:04:25.251Z] query: branch=PR-819&commit=696c1cf94f323bf75312d482435df43fc8495bb4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-819%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=819&job=&cmd_args= [2021-03-16T06:04:25.514Z] -> Pinging Codecov [2021-03-16T06:04:25.514Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-819&commit=696c1cf94f323bf75312d482435df43fc8495bb4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-819%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=819&job=&cmd_args= [2021-03-16T06:04:25.775Z] -> Uploading to [2021-03-16T06:04:25.775Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-16/7E55EF52A471D76F132DFD9A03CDDE97/696c1cf94f323bf75312d482435df43fc8495bb4/0f006810-ac55-4fa7-880b-f761e2d88db6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210316T060425Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3523f3f695d77123e84ce4b3c620abbe84cbd1752464a8731bfc1106f818fa71 [2021-03-16T06:04:25.775Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-16T06:04:25.775Z] Dload Upload Total Spent Left Speed [2021-03-16T06:04:26.350Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13870 0 0 100 13870 0 31693 --:--:-- --:--:-- --:--:-- 31739 [2021-03-16T06:04:26.350Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/696c1cf94f323bf75312d482435df43fc8495bb4 [Pipeline] } [2021-03-16T06:04:26.375Z] 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-16T06:04:29.668Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T06:04:30.029Z] ---> package-listing.sh [2021-03-16T06:04:30.030Z] ++ facter osfamily [2021-03-16T06:04:30.030Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-16T06:04:30.030Z] + OS_FAMILY=redhat [2021-03-16T06:04:30.030Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-819 [2021-03-16T06:04:30.030Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-16T06:04:30.030Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-16T06:04:30.030Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-16T06:04:30.030Z] + PACKAGES=/tmp/packages_start.txt [2021-03-16T06:04:30.030Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-819 ']' [2021-03-16T06:04:30.030Z] + PACKAGES=/tmp/packages_end.txt [2021-03-16T06:04:30.030Z] + case "${OS_FAMILY}" in [2021-03-16T06:04:30.030Z] + rpm -qa [2021-03-16T06:04:30.030Z] + sort [2021-03-16T06:04:35.346Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-16T06:04:35.346Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-16T06:04:35.346Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-16T06:04:35.346Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-819 ']' [2021-03-16T06:04:35.346Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-819/archives/ [2021-03-16T06:04:35.346Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-819/archives/ [Pipeline] echo [2021-03-16T06:04:35.404Z] 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-819/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-16T06:04:35.718Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-16T06:04:36.063Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-16T06:04:36.063Z] [2021-03-16T06:04:36.063Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-16T06:04:36.468Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-16T06:04:36.468Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-16T06:04:36.468Z] df20fa9351a1: Pulling fs layer [2021-03-16T06:04:36.468Z] 36b3adc4ff6f: Pulling fs layer [2021-03-16T06:04:36.468Z] 8ad3a11d3b57: Pulling fs layer [2021-03-16T06:04:36.468Z] 46f8f816bc3b: Pulling fs layer [2021-03-16T06:04:36.468Z] 93b61091891f: Pulling fs layer [2021-03-16T06:04:36.468Z] 93b9cdb0e59b: Pulling fs layer [2021-03-16T06:04:36.468Z] 5e14af77c1be: Pulling fs layer [2021-03-16T06:04:36.468Z] 01666e4c0597: Pulling fs layer [2021-03-16T06:04:36.468Z] aa168da1d23b: Pulling fs layer [2021-03-16T06:04:36.468Z] 93b9cdb0e59b: Waiting [2021-03-16T06:04:36.468Z] 5e14af77c1be: Waiting [2021-03-16T06:04:36.468Z] 01666e4c0597: Waiting [2021-03-16T06:04:36.468Z] aa168da1d23b: Waiting [2021-03-16T06:04:36.468Z] 93b61091891f: Waiting [2021-03-16T06:04:36.468Z] 46f8f816bc3b: Waiting [2021-03-16T06:04:36.468Z] 36b3adc4ff6f: Verifying Checksum [2021-03-16T06:04:36.468Z] 36b3adc4ff6f: Download complete [2021-03-16T06:04:36.468Z] 46f8f816bc3b: Download complete [2021-03-16T06:04:36.468Z] df20fa9351a1: Verifying Checksum [2021-03-16T06:04:36.468Z] 93b9cdb0e59b: Verifying Checksum [2021-03-16T06:04:36.468Z] 93b9cdb0e59b: Download complete [2021-03-16T06:04:36.736Z] 93b61091891f: Verifying Checksum [2021-03-16T06:04:36.736Z] 93b61091891f: Download complete [2021-03-16T06:04:36.736Z] 5e14af77c1be: Verifying Checksum [2021-03-16T06:04:36.736Z] 5e14af77c1be: Download complete [2021-03-16T06:04:36.736Z] 01666e4c0597: Verifying Checksum [2021-03-16T06:04:36.736Z] 01666e4c0597: Download complete [2021-03-16T06:04:36.999Z] df20fa9351a1: Pull complete [2021-03-16T06:04:37.262Z] 36b3adc4ff6f: Pull complete [2021-03-16T06:04:37.525Z] 8ad3a11d3b57: Verifying Checksum [2021-03-16T06:04:37.525Z] 8ad3a11d3b57: Download complete [2021-03-16T06:04:38.108Z] 8ad3a11d3b57: Pull complete [2021-03-16T06:04:38.373Z] 46f8f816bc3b: Pull complete [2021-03-16T06:04:39.332Z] aa168da1d23b: Verifying Checksum [2021-03-16T06:04:39.332Z] aa168da1d23b: Download complete [2021-03-16T06:04:39.596Z] 93b61091891f: Pull complete [2021-03-16T06:04:40.170Z] 93b9cdb0e59b: Pull complete [2021-03-16T06:04:40.432Z] 5e14af77c1be: Pull complete [2021-03-16T06:04:40.432Z] 01666e4c0597: Pull complete [2021-03-16T06:04:48.621Z] aa168da1d23b: Pull complete [2021-03-16T06:04:48.621Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-16T06:04:48.621Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-16T06:04:48.621Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-16T06:04:48.811Z] prd-centos7-docker-4c-2g-29940 does not seem to be running inside a container [2021-03-16T06:04:48.893Z] $ 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-819/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-819 -v /w/workspace/dgexfoundry_device-sdk-go_PR-819:/w/workspace/dgexfoundry_device-sdk-go_PR-819:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-819@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-819@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-16T06:04:52.964Z] $ docker top c5bf5eb14be3c77dcaaee2064677931f692253a47acd97b1d222a6b54bcc7ea3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T06:04:53.688Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-16T06:04:54.015Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-16T06:04:54.352Z] + ls /var/log/sa-host [2021-03-16T06:04:54.352Z] + sadf -c /var/log/sa-host/sa16 [2021-03-16T06:04:54.352Z] file_magic: OK [2021-03-16T06:04:54.352Z] HZ: Using current value: 100 [2021-03-16T06:04:54.352Z] file_header: OK [2021-03-16T06:04:54.352Z] 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-16T06:04:54.352Z] Statistics: [2021-03-16T06:04:54.352Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-16T06:04:54.352Z] File successfully converted to sysstat format version 12.2.1 [2021-03-16T06:04:54.352Z] + sadf -c /var/log/sa-host/sa23 [2021-03-16T06:04:54.352Z] file_magic: OK [2021-03-16T06:04:54.352Z] HZ: Using current value: 100 [2021-03-16T06:04:54.352Z] file_header: OK [2021-03-16T06:04:54.352Z] 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-16T06:04:54.352Z] Statistics: [2021-03-16T06:04:54.352Z] Hnuu...uuuununununu... [2021-03-16T06:04:54.352Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-16T06:04:55.125Z] provisioning config files... [2021-03-16T06:04:55.162Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-819@tmp/config385315347924696691tmp [Pipeline] { [Pipeline] echo [2021-03-16T06:04:55.275Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T06:04:55.620Z] ---> create-netrc.sh [Pipeline] } [2021-03-16T06:04:55.646Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-16T06:04:55.794Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T06:04:56.140Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-16T06:04:56.177Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T06:04:56.529Z] ---> sudo-logs.sh [2021-03-16T06:04:56.529Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-16T06:04:56.647Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T06:04:57.008Z] ---> job-cost.sh [2021-03-16T06:04:57.008Z] lf-activate-venv: SKIPPING [2021-03-16T06:04:57.008Z] DEBUG: total: 0.20999999344348907 [2021-03-16T06:04:57.008Z] INFO: Retrieving Stack Cost... [2021-03-16T06:04:58.400Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-16T06:04:58.672Z] INFO: Archiving Costs [Pipeline] echo [2021-03-16T06:04:58.716Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T06:04:59.052Z] ---> logs-deploy.sh [2021-03-16T06:04:59.052Z] lf-activate-venv: SKIPPING [2021-03-16T06:04:59.052Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-819/1 [2021-03-16T06:04:59.052Z] INFO: archiving workspace using pattern(s): [2021-03-16T06:05:00.968Z] Archives upload complete. [2021-03-16T06:05:00.968Z] INFO: archiving logs to Nexus