Pull request #887 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8d18a21b742dd7d0af97623468fbe1cfdaa370fb+92affc97e25621ac5a3617c0e5e42feb55191c77 (d1ecdd17c451f33766db9d4070fc45bac4746013) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1968’ Running on prd-centos7-docker-4c-2g-1973 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [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-887 # 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/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit 8d18a21b742dd7d0af97623468fbe1cfdaa370fb Merge succeeded, producing 8d18a21b742dd7d0af97623468fbe1cfdaa370fb Checking out Revision 8d18a21b742dd7d0af97623468fbe1cfdaa370fb (PR-887) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d18a21b742dd7d0af97623468fbe1cfdaa370fb # 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 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8d18a21b742dd7d0af97623468fbe1cfdaa370fb # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-27T03:58:54.385Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-27T03:58:54.484Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-27T03:58:54.515Z] ========================================================= [2021-04-27T03:58:54.515Z] EdgeX Global Pipelines Version Info [2021-04-27T03:58:54.515Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk be245dca7e4b97440bba36f65345a9359d609daa # timeout=10 [2021-04-27T03:58:56.038Z] ------------------- [2021-04-27T03:58:56.039Z] stable info: [2021-04-27T03:58:56.039Z] ------------------- [2021-04-27T03:58:56.039Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-27T03:58:56.039Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-27T03:58:56.039Z] Message: update stable to v1.0.186 [2021-04-27T03:58:56.993Z] ------------------- [2021-04-27T03:58:56.993Z] experimental info: [2021-04-27T03:58:56.993Z] ------------------- [2021-04-27T03:58:56.993Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-27T03:58:56.993Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-27T03:58:56.993Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-27T03:58:57.136Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-27T03:58:57.162Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-27T03:58:57.189Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-27T03:58:57.217Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-27T03:58:57.244Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-27T03:58:57.269Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-27T03:58:57.292Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-27T03:58:57.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-27T03:58:57.341Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-27T03:58:57.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-27T03:58:57.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-27T03:58:57.415Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-27T03:58:57.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-27T03:58:57.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-27T03:58:57.487Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-27T03:58:57.512Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-27T03:58:57.535Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-27T03:58:57.560Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-27T03:58:57.583Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-27T03:58:57.608Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-27T03:58:57.633Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-27T03:58:57.656Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-27T03:58:57.680Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-27T03:58:57.703Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-27T03:58:57.727Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-27T03:58:57.751Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-27T03:58:57.774Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-887 [Pipeline] echo [2021-04-27T03:58:57.798Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-887 [Pipeline] echo [2021-04-27T03:58:57.822Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-887 [Pipeline] echo [2021-04-27T03:58:57.846Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8d18a21b742dd7d0af97623468fbe1cfdaa370fb [Pipeline] echo [2021-04-27T03:58:57.870Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8d18a21 [Pipeline] echo [2021-04-27T03:58:57.895Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-27T03:58:57.963Z] provisioning config files... [2021-04-27T03:58:58.001Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config2922829346117276087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-27T03:58:58.368Z] ---> docker-login.sh [2021-04-27T03:58:58.368Z] nexus3.edgexfoundry.org:10001 [2021-04-27T03:58:58.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T03:58:58.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T03:58:58.930Z] Configure a credential helper to remove this warning. See [2021-04-27T03:58:58.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T03:58:58.930Z] [2021-04-27T03:58:58.930Z] Login Succeeded [2021-04-27T03:58:58.930Z] nexus3.edgexfoundry.org:10002 [2021-04-27T03:58:59.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T03:58:59.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T03:58:59.198Z] Configure a credential helper to remove this warning. See [2021-04-27T03:58:59.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T03:58:59.198Z] [2021-04-27T03:58:59.198Z] Login Succeeded [2021-04-27T03:58:59.198Z] nexus3.edgexfoundry.org:10003 [2021-04-27T03:58:59.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T03:58:59.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T03:58:59.461Z] Configure a credential helper to remove this warning. See [2021-04-27T03:58:59.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T03:58:59.461Z] [2021-04-27T03:58:59.461Z] Login Succeeded [2021-04-27T03:58:59.461Z] nexus3.edgexfoundry.org:10004 [2021-04-27T03:58:59.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T03:58:59.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T03:58:59.731Z] Configure a credential helper to remove this warning. See [2021-04-27T03:58:59.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T03:58:59.731Z] [2021-04-27T03:58:59.731Z] Login Succeeded [2021-04-27T03:58:59.731Z] docker.io [2021-04-27T03:58:59.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T03:58:59.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T03:58:59.993Z] Configure a credential helper to remove this warning. See [2021-04-27T03:58:59.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T03:58:59.993Z] [2021-04-27T03:58:59.993Z] Login Succeeded [2021-04-27T03:58:59.993Z] ---> docker-login.sh ends [Pipeline] } [2021-04-27T03:59:00.003Z] 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-04-27T03:59:00.449Z] + git log --format=format:%s -1 8d18a21b742dd7d0af97623468fbe1cfdaa370fb [Pipeline] echo [2021-04-27T03:59:00.542Z] GIT_COMMIT: 8d18a21b742dd7d0af97623468fbe1cfdaa370fb, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 [Pipeline] echo [2021-04-27T03:59:00.558Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-27T03:59:01.118Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-27T03:59:01.118Z] [2021-04-27T03:59:01.118Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-27T03:59:01.446Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-27T03:59:01.446Z] latest: Pulling from edgex-devops/git-semver [2021-04-27T03:59:01.447Z] 31603596830f: Pulling fs layer [2021-04-27T03:59:01.447Z] 2a8b12db71e7: Pulling fs layer [2021-04-27T03:59:01.447Z] 6ca5941a6612: Pulling fs layer [2021-04-27T03:59:01.447Z] ecc8261a40a4: Pulling fs layer [2021-04-27T03:59:01.447Z] ecc8261a40a4: Waiting [2021-04-27T03:59:01.447Z] 2a8b12db71e7: Verifying Checksum [2021-04-27T03:59:01.447Z] 2a8b12db71e7: Download complete [2021-04-27T03:59:01.447Z] 31603596830f: Verifying Checksum [2021-04-27T03:59:01.447Z] 31603596830f: Download complete [2021-04-27T03:59:01.715Z] 6ca5941a6612: Verifying Checksum [2021-04-27T03:59:01.715Z] 6ca5941a6612: Download complete [2021-04-27T03:59:01.715Z] ecc8261a40a4: Verifying Checksum [2021-04-27T03:59:01.715Z] ecc8261a40a4: Download complete [2021-04-27T03:59:01.980Z] 31603596830f: Pull complete [2021-04-27T03:59:02.252Z] 2a8b12db71e7: Pull complete [2021-04-27T03:59:03.211Z] 6ca5941a6612: Pull complete [2021-04-27T03:59:03.211Z] ecc8261a40a4: Pull complete [2021-04-27T03:59:03.211Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-27T03:59:03.474Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-27T03:59:03.474Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-27T03:59:03.587Z] prd-centos7-docker-4c-2g-1973 does not seem to be running inside a container [2021-04-27T03:59:03.631Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-887 -v /w/workspace/dgexfoundry_device-sdk-go_PR-887:/w/workspace/dgexfoundry_device-sdk-go_PR-887:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-27T03:59:05.971Z] $ docker top f22385357ab1d648430a0e504f613a89c345b0c4fd3186cca8251cb2b4e3816f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-27T03:59:06.255Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-27T03:59:06.256Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-27T03:59:06.542Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-27T03:59:06.544Z] $ docker exec f22385357ab1d648430a0e504f613a89c345b0c4fd3186cca8251cb2b4e3816f ssh-agent [2021-04-27T03:59:06.743Z] SSH_AUTH_SOCK=/tmp/ssh-arpCIUlDr9Od/agent.13 [2021-04-27T03:59:06.743Z] SSH_AGENT_PID=18 [2021-04-27T03:59:06.763Z] Running ssh-add (command line suppressed) [2021-04-27T03:59:06.921Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_7156466292906343400.key (/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_7156466292906343400.key) [2021-04-27T03:59:07.113Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-27T03:59:07.435Z] + git tag --points-at HEAD [Pipeline] } [2021-04-27T03:59:07.457Z] $ docker exec --env ******** --env ******** f22385357ab1d648430a0e504f613a89c345b0c4fd3186cca8251cb2b4e3816f ssh-agent -k [2021-04-27T03:59:07.581Z] unset SSH_AUTH_SOCK; [2021-04-27T03:59:07.581Z] unset SSH_AGENT_PID; [2021-04-27T03:59:07.581Z] echo Agent pid 18 killed; [2021-04-27T03:59:07.634Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-27T03:59:07.674Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-27T03:59:07.675Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-27T03:59:07.870Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-27T03:59:07.871Z] $ docker exec f22385357ab1d648430a0e504f613a89c345b0c4fd3186cca8251cb2b4e3816f ssh-agent [2021-04-27T03:59:08.062Z] SSH_AUTH_SOCK=/tmp/ssh-9j43yqbnNWEd/agent.48 [2021-04-27T03:59:08.062Z] SSH_AGENT_PID=53 [2021-04-27T03:59:08.075Z] Running ssh-add (command line suppressed) [2021-04-27T03:59:08.214Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_7754818675599009370.key (/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_7754818675599009370.key) [2021-04-27T03:59:08.284Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-27T03:59:08.602Z] + git semver init [2021-04-27T03:59:08.603Z] # -> Open(): unable to determine branch for HEAD [2021-04-27T03:59:08.603Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-887/.git [2021-04-27T03:59:08.603Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-887 [2021-04-27T03:59:08.603Z] # $SEMVER_REMOTE_NAME = origin [2021-04-27T03:59:08.603Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-27T03:59:08.603Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-27T03:59:08.603Z] # $SEMVER_BRANCH = PR-887 [2021-04-27T03:59:08.603Z] # $SEMVER_TEMP = /tmp/semver-798598147 [2021-04-27T03:59:08.603Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-27T03:59:09.556Z] # '/tmp/semver-798598147' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-887/.semver' [2021-04-27T03:59:09.556Z] # -> Force: false [2021-04-27T03:59:09.556Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-887/.semver [Pipeline] } [2021-04-27T03:59:09.567Z] $ docker exec --env ******** --env ******** f22385357ab1d648430a0e504f613a89c345b0c4fd3186cca8251cb2b4e3816f ssh-agent -k [2021-04-27T03:59:09.716Z] unset SSH_AUTH_SOCK; [2021-04-27T03:59:09.717Z] unset SSH_AGENT_PID; [2021-04-27T03:59:09.717Z] echo Agent pid 53 killed; [2021-04-27T03:59:09.795Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-27T03:59:10.152Z] + git semver [Pipeline] } [2021-04-27T03:59:10.168Z] $ docker stop --time=1 f22385357ab1d648430a0e504f613a89c345b0c4fd3186cca8251cb2b4e3816f [2021-04-27T03:59:11.836Z] $ docker rm -f f22385357ab1d648430a0e504f613a89c345b0c4fd3186cca8251cb2b4e3816f [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-27T03:59:12.244Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-27T03:59:12.638Z] Stashed 1 file(s) [Pipeline] echo [2021-04-27T03:59:12.642Z] [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-04-27T03:59:27.823Z] Still waiting to schedule task [2021-04-27T03:59:27.823Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-27T03:59:27.826Z] Still waiting to schedule task [2021-04-27T03:59:27.826Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1972’ [2021-04-27T04:01:34.983Z] Running on prd-centos7-docker-4c-2g-1976 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] ws [2021-04-27T04:01:35.010Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-04-27T04:01:45.536Z] using credential edgex-jenkins-ssh [2021-04-27T04:01:45.616Z] Cloning the remote Git repository [2021-04-27T04:01:45.719Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-27T04:01:45.916Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-04-27T04:01:46.156Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-27T04:01:46.156Z] > git --version # timeout=10 [2021-04-27T04:01:46.184Z] > git --version # 'git version 2.24.3' [2021-04-27T04:01:46.185Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-27T04:01:46.250Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-27T04:01:47.394Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-27T04:01:47.450Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-27T04:01:47.493Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-27T04:01:47.570Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-27T04:01:47.571Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-27T04:01:47.585Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-27T04:01:48.049Z] Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit 8d18a21b742dd7d0af97623468fbe1cfdaa370fb [2021-04-27T04:01:48.256Z] Merge succeeded, producing 8d18a21b742dd7d0af97623468fbe1cfdaa370fb [2021-04-27T04:01:48.257Z] Checking out Revision 8d18a21b742dd7d0af97623468fbe1cfdaa370fb (PR-887) [2021-04-27T04:01:48.070Z] > git config core.sparsecheckout # timeout=10 [2021-04-27T04:01:48.079Z] > git checkout -f 8d18a21b742dd7d0af97623468fbe1cfdaa370fb # timeout=10 [2021-04-27T04:01:48.145Z] > git remote # timeout=10 [2021-04-27T04:01:48.154Z] > git config --get remote.origin.url # timeout=10 [2021-04-27T04:01:48.185Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-27T04:01:48.196Z] > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 [2021-04-27T04:01:48.226Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-27T04:01:48.267Z] > git config core.sparsecheckout # timeout=10 [2021-04-27T04:01:48.290Z] > git checkout -f 8d18a21b742dd7d0af97623468fbe1cfdaa370fb # timeout=10 [2021-04-27T04:01:52.887Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-27T04:01:54.138Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-27T04:01:54.511Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-27T04:01:54.828Z] + true [2021-04-27T04:01:54.828Z] + sudo service docker restart [2021-04-27T04:01:54.828Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-27T04:01:56.263Z] provisioning config files... [2021-04-27T04:01:56.296Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config5213277002400641561tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-27T04:01:56.662Z] ---> docker-login.sh [2021-04-27T04:01:56.662Z] nexus3.edgexfoundry.org:10001 [2021-04-27T04:01:57.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T04:01:57.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T04:01:57.517Z] Configure a credential helper to remove this warning. See [2021-04-27T04:01:57.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T04:01:57.517Z] [2021-04-27T04:01:57.517Z] Login Succeeded [2021-04-27T04:01:57.517Z] nexus3.edgexfoundry.org:10002 [2021-04-27T04:01:57.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T04:01:57.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T04:01:57.787Z] Configure a credential helper to remove this warning. See [2021-04-27T04:01:57.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T04:01:57.787Z] [2021-04-27T04:01:57.787Z] Login Succeeded [2021-04-27T04:01:57.787Z] nexus3.edgexfoundry.org:10003 [2021-04-27T04:01:58.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T04:01:58.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T04:01:58.319Z] Configure a credential helper to remove this warning. See [2021-04-27T04:01:58.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T04:01:58.319Z] [2021-04-27T04:01:58.319Z] Login Succeeded [2021-04-27T04:01:58.319Z] nexus3.edgexfoundry.org:10004 [2021-04-27T04:01:58.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T04:01:58.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T04:01:58.605Z] Configure a credential helper to remove this warning. See [2021-04-27T04:01:58.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T04:01:58.605Z] [2021-04-27T04:01:58.605Z] Login Succeeded [2021-04-27T04:01:58.605Z] docker.io [2021-04-27T04:01:58.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T04:01:58.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T04:01:58.916Z] Configure a credential helper to remove this warning. See [2021-04-27T04:01:58.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T04:01:58.916Z] [2021-04-27T04:01:58.916Z] Login Succeeded [2021-04-27T04:01:58.916Z] ---> docker-login.sh ends [Pipeline] } [2021-04-27T04:01:58.969Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-27T04:01:59.226Z] ========================================================= [2021-04-27T04:01:59.226Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-27T04:01:59.226Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-27T04:01:59.562Z] + 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-04-27T04:01:59.830Z] Sending build context to Docker daemon 2.461MB [2021-04-27T04:01:59.830Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-27T04:01:59.830Z] Step 2/8 : FROM ${BASE} [2021-04-27T04:01:59.830Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-27T04:01:59.830Z] 188c0c94c7c5: Pulling fs layer [2021-04-27T04:01:59.830Z] 0ef7d3d256c8: Pulling fs layer [2021-04-27T04:01:59.830Z] de9db76c5a1d: Pulling fs layer [2021-04-27T04:01:59.830Z] bca2f99d35d6: Pulling fs layer [2021-04-27T04:01:59.830Z] 93359f2a8cfa: Pulling fs layer [2021-04-27T04:01:59.830Z] 7c6f9722023f: Pulling fs layer [2021-04-27T04:01:59.830Z] a35cf1a2eb13: Pulling fs layer [2021-04-27T04:01:59.830Z] bca2f99d35d6: Waiting [2021-04-27T04:01:59.830Z] 93359f2a8cfa: Waiting [2021-04-27T04:01:59.830Z] 7c6f9722023f: Waiting [2021-04-27T04:01:59.830Z] a35cf1a2eb13: Waiting [2021-04-27T04:01:59.830Z] de9db76c5a1d: Verifying Checksum [2021-04-27T04:01:59.830Z] de9db76c5a1d: Download complete [2021-04-27T04:01:59.830Z] 0ef7d3d256c8: Verifying Checksum [2021-04-27T04:01:59.830Z] 0ef7d3d256c8: Download complete [2021-04-27T04:01:59.830Z] 93359f2a8cfa: Verifying Checksum [2021-04-27T04:01:59.830Z] 93359f2a8cfa: Download complete [2021-04-27T04:01:59.830Z] 7c6f9722023f: Verifying Checksum [2021-04-27T04:01:59.830Z] 7c6f9722023f: Download complete [2021-04-27T04:01:59.830Z] 188c0c94c7c5: Verifying Checksum [2021-04-27T04:01:59.830Z] 188c0c94c7c5: Download complete [2021-04-27T04:02:00.796Z] 188c0c94c7c5: Pull complete [2021-04-27T04:02:01.074Z] 0ef7d3d256c8: Pull complete [2021-04-27T04:02:01.696Z] de9db76c5a1d: Pull complete [2021-04-27T04:02:03.681Z] a35cf1a2eb13: Verifying Checksum [2021-04-27T04:02:03.681Z] a35cf1a2eb13: Download complete [2021-04-27T04:02:04.286Z] bca2f99d35d6: Verifying Checksum [2021-04-27T04:02:04.286Z] bca2f99d35d6: Download complete [2021-04-27T04:02:20.324Z] bca2f99d35d6: Pull complete [2021-04-27T04:02:20.324Z] 93359f2a8cfa: Pull complete [2021-04-27T04:02:20.324Z] 7c6f9722023f: Pull complete [2021-04-27T04:02:29.004Z] a35cf1a2eb13: Pull complete [2021-04-27T04:02:29.004Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-27T04:02:29.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-27T04:02:29.004Z] ---> a62c8e92a672 [2021-04-27T04:02:29.004Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-27T04:02:29.586Z] ---> Running in 397582c6a951 [2021-04-27T04:02:29.852Z] Removing intermediate container 397582c6a951 [2021-04-27T04:02:29.852Z] ---> 5590d7be6fcb [2021-04-27T04:02:29.852Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-27T04:02:29.852Z] ---> Running in 1dd0d184ba43 [2021-04-27T04:02:31.262Z] Removing intermediate container 1dd0d184ba43 [2021-04-27T04:02:31.262Z] ---> b394b5f0bbf4 [2021-04-27T04:02:31.262Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-27T04:02:31.262Z] ---> Running in 77a64079bd7f [2021-04-27T04:02:32.220Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-27T04:02:32.807Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-27T04:02:33.402Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-27T04:02:33.402Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-27T04:02:33.402Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-27T04:02:33.666Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-27T04:02:33.666Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-27T04:02:33.666Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-27T04:02:33.933Z] Executing busybox-1.31.1-r19.trigger [2021-04-27T04:02:33.933Z] OK: 167 MiB in 45 packages [2021-04-27T04:02:35.012Z] Removing intermediate container 77a64079bd7f [2021-04-27T04:02:35.012Z] ---> be74d1ca69c5 [2021-04-27T04:02:35.012Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-27T04:02:35.012Z] ---> Running in b2af8fcb6084 [2021-04-27T04:02:35.285Z] Removing intermediate container b2af8fcb6084 [2021-04-27T04:02:35.285Z] ---> c1cdf5f7b1c6 [2021-04-27T04:02:35.285Z] Step 7/8 : COPY . . [2021-04-27T04:02:37.368Z] ---> d045d770d752 [2021-04-27T04:02:37.368Z] Step 8/8 : RUN go mod download [2021-04-27T04:02:37.368Z] ---> Running in c7a1be9b09d3 [2021-04-27T04:02:53.770Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1978 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] ws [2021-04-27T04:02:53.793Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-04-27T04:02:59.733Z] using credential edgex-jenkins-ssh [2021-04-27T04:02:59.773Z] Cloning the remote Git repository [2021-04-27T04:02:59.832Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-27T04:02:59.949Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-04-27T04:03:00.020Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-27T04:03:00.021Z] > git --version # timeout=10 [2021-04-27T04:03:00.043Z] > git --version # 'git version 2.17.1' [2021-04-27T04:03:00.045Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-27T04:03:00.100Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-27T04:03:01.338Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-27T04:03:01.356Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-27T04:03:01.381Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-27T04:03:01.414Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-27T04:03:01.415Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-27T04:03:01.431Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-27T04:03:02.891Z] Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit 8d18a21b742dd7d0af97623468fbe1cfdaa370fb [2021-04-27T04:03:02.922Z] > git config core.sparsecheckout # timeout=10 [2021-04-27T04:03:02.934Z] > git checkout -f 8d18a21b742dd7d0af97623468fbe1cfdaa370fb # timeout=10 [2021-04-27T04:03:03.123Z] Merge succeeded, producing 8d18a21b742dd7d0af97623468fbe1cfdaa370fb [2021-04-27T04:03:03.124Z] Checking out Revision 8d18a21b742dd7d0af97623468fbe1cfdaa370fb (PR-887) [2021-04-27T04:03:03.037Z] > git remote # timeout=10 [2021-04-27T04:03:03.060Z] > git config --get remote.origin.url # timeout=10 [2021-04-27T04:03:03.071Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-27T04:03:03.081Z] > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 [2021-04-27T04:03:03.103Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-27T04:03:03.134Z] > git config core.sparsecheckout # timeout=10 [2021-04-27T04:03:03.159Z] > git checkout -f 8d18a21b742dd7d0af97623468fbe1cfdaa370fb # timeout=10 [2021-04-27T04:03:07.366Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-27T04:03:08.853Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-27T04:03:09.302Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-27T04:03:09.647Z] + sudo service docker restart [2021-04-27T04:03:09.647Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-27T04:03:11.670Z] provisioning config files... [2021-04-27T04:03:11.712Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config4360733374629310158tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-27T04:03:12.102Z] ---> docker-login.sh [2021-04-27T04:03:12.102Z] nexus3.edgexfoundry.org:10001 [2021-04-27T04:03:13.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T04:03:13.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T04:03:13.361Z] Configure a credential helper to remove this warning. See [2021-04-27T04:03:13.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T04:03:13.361Z] [2021-04-27T04:03:13.361Z] Login Succeeded [2021-04-27T04:03:13.361Z] nexus3.edgexfoundry.org:10002 [2021-04-27T04:03:13.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T04:03:13.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T04:03:13.915Z] Configure a credential helper to remove this warning. See [2021-04-27T04:03:13.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T04:03:13.915Z] [2021-04-27T04:03:13.915Z] Login Succeeded [2021-04-27T04:03:13.915Z] nexus3.edgexfoundry.org:10003 [2021-04-27T04:03:14.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T04:03:14.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T04:03:14.461Z] Configure a credential helper to remove this warning. See [2021-04-27T04:03:14.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T04:03:14.461Z] [2021-04-27T04:03:14.461Z] Login Succeeded [2021-04-27T04:03:14.461Z] nexus3.edgexfoundry.org:10004 [2021-04-27T04:03:14.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T04:03:15.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T04:03:15.010Z] Configure a credential helper to remove this warning. See [2021-04-27T04:03:15.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T04:03:15.010Z] [2021-04-27T04:03:15.010Z] Login Succeeded [2021-04-27T04:03:15.010Z] docker.io [2021-04-27T04:03:15.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T04:03:15.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T04:03:15.556Z] Configure a credential helper to remove this warning. See [2021-04-27T04:03:15.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T04:03:15.556Z] [2021-04-27T04:03:15.556Z] Login Succeeded [2021-04-27T04:03:15.556Z] ---> docker-login.sh ends [Pipeline] } [2021-04-27T04:03:15.573Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-27T04:03:15.881Z] ========================================================= [2021-04-27T04:03:15.881Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-27T04:03:15.881Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-27T04:03:16.246Z] + 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-04-27T04:03:16.488Z] Removing intermediate container c7a1be9b09d3 [2021-04-27T04:03:16.488Z] ---> 43d15a60c476 [2021-04-27T04:03:16.488Z] Successfully built 43d15a60c476 [2021-04-27T04:03:16.488Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-27T04:03:16.851Z] Sending build context to Docker daemon 2.46MB [2021-04-27T04:03:16.851Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-27T04:03:16.851Z] Step 2/8 : FROM ${BASE} [2021-04-27T04:03:16.851Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-27T04:03:16.851Z] 5f621e34cdf4: Pulling fs layer [2021-04-27T04:03:16.851Z] a4357932f1b6: Pulling fs layer [2021-04-27T04:03:16.851Z] 18c013af1878: Pulling fs layer [2021-04-27T04:03:16.851Z] 00ac8860ef70: Pulling fs layer [2021-04-27T04:03:16.851Z] 63d7cb157983: Pulling fs layer [2021-04-27T04:03:16.851Z] b116817d02f9: Pulling fs layer [2021-04-27T04:03:16.851Z] 745a02a5169b: Pulling fs layer [2021-04-27T04:03:16.851Z] 00ac8860ef70: Waiting [2021-04-27T04:03:16.851Z] 63d7cb157983: Waiting [2021-04-27T04:03:16.851Z] 745a02a5169b: Waiting [2021-04-27T04:03:16.851Z] b116817d02f9: Waiting [2021-04-27T04:03:16.851Z] 18c013af1878: Verifying Checksum [2021-04-27T04:03:16.851Z] 18c013af1878: Download complete [2021-04-27T04:03:16.851Z] a4357932f1b6: Verifying Checksum [2021-04-27T04:03:16.851Z] a4357932f1b6: Download complete [2021-04-27T04:03:16.851Z] 63d7cb157983: Verifying Checksum [2021-04-27T04:03:16.851Z] b116817d02f9: Verifying Checksum [2021-04-27T04:03:16.851Z] b116817d02f9: Download complete [2021-04-27T04:03:16.851Z] 5f621e34cdf4: Download complete [2021-04-27T04:03:16.874Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-27T04:03:17.462Z] . [Pipeline] withDockerContainer [2021-04-27T04:03:17.658Z] prd-centos7-docker-4c-2g-1976 does not seem to be running inside a container [2021-04-27T04:03:17.739Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-27T04:03:17.840Z] 5f621e34cdf4: Pull complete [2021-04-27T04:03:18.133Z] a4357932f1b6: Pull complete [2021-04-27T04:03:18.746Z] 18c013af1878: Pull complete [2021-04-27T04:03:18.781Z] $ docker top 46efeb4051e4bb3b6a1bdf37c163916b958dc3f537d60bd6578773f2617d0566 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-27T04:03:19.020Z] 745a02a5169b: Verifying Checksum [2021-04-27T04:03:19.020Z] 745a02a5169b: Download complete [2021-04-27T04:03:19.264Z] + go version [2021-04-27T04:03:19.264Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-27T04:03:19.287Z] $ docker stop --time=1 46efeb4051e4bb3b6a1bdf37c163916b958dc3f537d60bd6578773f2617d0566 [2021-04-27T04:03:19.998Z] 00ac8860ef70: Download complete [2021-04-27T04:03:21.381Z] $ docker rm -f 46efeb4051e4bb3b6a1bdf37c163916b958dc3f537d60bd6578773f2617d0566 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-27T04:03:21.965Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-27T04:03:21.965Z] . [Pipeline] withDockerContainer [2021-04-27T04:03:22.090Z] prd-centos7-docker-4c-2g-1976 does not seem to be running inside a container [2021-04-27T04:03:22.155Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-27T04:03:23.864Z] $ docker top 1409fa76a7d8ab81c5f93af6d6704578a5e6ac6f7f842619ef95d82b29d2991a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-27T04:03:24.422Z] + make test [2021-04-27T04:03:24.422Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-27T04:03:30.652Z] 00ac8860ef70: Pull complete [2021-04-27T04:03:30.652Z] 63d7cb157983: Pull complete [2021-04-27T04:03:30.652Z] b116817d02f9: Pull complete [2021-04-27T04:03:34.966Z] 745a02a5169b: Pull complete [2021-04-27T04:03:34.966Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-27T04:03:34.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-27T04:03:34.966Z] ---> b7e6874047d6 [2021-04-27T04:03:34.966Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-27T04:03:37.582Z] ---> Running in 47eb3a15b46d [2021-04-27T04:03:37.582Z] Removing intermediate container 47eb3a15b46d [2021-04-27T04:03:37.582Z] ---> 0dd38a1e56cd [2021-04-27T04:03:37.582Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-27T04:03:37.855Z] ---> Running in 1af2b00f411c [2021-04-27T04:03:40.230Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-27T04:03:40.510Z] Removing intermediate container 1af2b00f411c [2021-04-27T04:03:40.510Z] ---> 396fa24a8ba4 [2021-04-27T04:03:40.510Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-27T04:03:40.510Z] ---> Running in 1d0756e52dba [2021-04-27T04:03:41.490Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-27T04:03:42.470Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-27T04:03:43.449Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-27T04:03:43.449Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-27T04:03:43.720Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-27T04:03:43.720Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-27T04:03:43.720Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-27T04:03:43.993Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-27T04:03:43.993Z] Executing busybox-1.31.1-r19.trigger [2021-04-27T04:03:43.993Z] OK: 144 MiB in 45 packages [2021-04-27T04:03:45.423Z] Removing intermediate container 1d0756e52dba [2021-04-27T04:03:45.423Z] ---> 38e1b2842ae0 [2021-04-27T04:03:45.423Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-27T04:03:45.423Z] ---> Running in 737e188aeacf [2021-04-27T04:03:46.017Z] Removing intermediate container 737e188aeacf [2021-04-27T04:03:46.017Z] ---> 297a720dccdb [2021-04-27T04:03:46.017Z] Step 7/8 : COPY . . [2021-04-27T04:03:47.452Z] ---> 7d9e3002095f [2021-04-27T04:03:47.452Z] Step 8/8 : RUN go mod download [2021-04-27T04:03:47.452Z] ---> Running in b07562bb692f [2021-04-27T04:04:14.248Z] Removing intermediate container b07562bb692f [2021-04-27T04:04:14.249Z] ---> 325b5e0903e4 [2021-04-27T04:04:14.249Z] Successfully built 325b5e0903e4 [2021-04-27T04:04:14.249Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-27T04:04:14.599Z] + docker inspect -f . ci-base-image-arm64 [2021-04-27T04:04:14.599Z] . [Pipeline] withDockerContainer [2021-04-27T04:04:14.882Z] prd-ubuntu18.04-docker-arm64-4c-16g-1978 does not seem to be running inside a container [2021-04-27T04:04:14.971Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-27T04:04:16.606Z] $ docker top 85ba82a9d909f16ef4f5be33d029c9bdc74b16ccceb993653cad7e9dbe59e3b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-27T04:04:17.561Z] + go version [2021-04-27T04:04:17.561Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-27T04:04:17.587Z] $ docker stop --time=1 85ba82a9d909f16ef4f5be33d029c9bdc74b16ccceb993653cad7e9dbe59e3b4 [2021-04-27T04:04:19.657Z] $ docker rm -f 85ba82a9d909f16ef4f5be33d029c9bdc74b16ccceb993653cad7e9dbe59e3b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-04-27T04:04:19.924Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-27T04:04:19.924Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-27T04:04:19.924Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-27T04:04:19.924Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-27T04:04:19.924Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-27T04:04:20.317Z] + docker inspect -f . ci-base-image-arm64 [2021-04-27T04:04:20.317Z] . [Pipeline] withDockerContainer [2021-04-27T04:04:20.542Z] prd-ubuntu18.04-docker-arm64-4c-16g-1978 does not seem to be running inside a container [2021-04-27T04:04:20.624Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-27T04:04:22.089Z] $ docker top 95d1e25d65e5fd35e691995df047c346c6da5ba64a3fdcf2c4bd1616d990105b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-27T04:04:23.024Z] + make test [2021-04-27T04:04:23.024Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-27T04:04:24.712Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.248s coverage: 28.1% of statements [2021-04-27T04:04:24.712Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.279s coverage: 78.9% of statements [2021-04-27T04:04:25.994Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.291s coverage: 7.8% of statements [2021-04-27T04:04:25.994Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-27T04:04:25.994Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-27T04:04:25.994Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-27T04:04:28.385Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.146s coverage: 30.2% of statements [2021-04-27T04:04:28.385Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-27T04:04:28.385Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-27T04:04:28.385Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-27T04:04:28.702Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.132s coverage: 57.2% of statements [2021-04-27T04:04:29.722Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.367s coverage: 6.6% of statements [2021-04-27T04:04:29.722Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.086s coverage: 5.0% of statements [2021-04-27T04:04:29.722Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-27T04:04:30.308Z] GO111MODULE=on go vet ./... [2021-04-27T04:04:45.223Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-27T04:05:03.137Z] gofmt -l . [2021-04-27T04:05:03.137Z] [ "`gofmt -l .`" = "" ] [2021-04-27T04:05:03.137Z] ./bin/test-attribution-txt.sh [2021-04-27T04:05:03.137Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-27T04:05:03.167Z] $ docker stop --time=1 1409fa76a7d8ab81c5f93af6d6704578a5e6ac6f7f842619ef95d82b29d2991a [2021-04-27T04:05:05.964Z] $ docker rm -f 1409fa76a7d8ab81c5f93af6d6704578a5e6ac6f7f842619ef95d82b29d2991a [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-27T04:05:07.184Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-27T04:05:07.792Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-27T04:05:08.887Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-27T04:05:09.309Z] + ls -al . [2021-04-27T04:05:09.310Z] total 188 [2021-04-27T04:05:09.310Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 27 04:05 . [2021-04-27T04:05:09.310Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 27 04:01 .. [2021-04-27T04:05:09.310Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 27 04:01 bin [2021-04-27T04:05:09.310Z] -rw-r--r--. 1 jenkins jenkins 100320 Apr 27 04:04 coverage.out [2021-04-27T04:05:09.310Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 27 04:01 Dockerfile.build [2021-04-27T04:05:09.310Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 27 04:01 .dockerignore [2021-04-27T04:05:09.310Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 27 04:01 example [2021-04-27T04:05:09.310Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 27 04:01 .git [2021-04-27T04:05:09.310Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 27 04:01 .github [2021-04-27T04:05:09.310Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 27 04:01 .gitignore [2021-04-27T04:05:09.310Z] -rw-r--r--. 1 jenkins jenkins 575 Apr 27 04:04 go.mod [2021-04-27T04:05:09.310Z] -rw-r--r--. 1 jenkins jenkins 21068 Apr 27 04:05 go.sum [2021-04-27T04:05:09.310Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 27 04:01 internal [2021-04-27T04:05:09.310Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 27 04:01 Jenkinsfile [2021-04-27T04:05:09.310Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 27 04:01 LICENSE [2021-04-27T04:05:09.310Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 27 04:01 Makefile [2021-04-27T04:05:09.310Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 27 04:01 openapi [2021-04-27T04:05:09.310Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 27 04:01 pkg [2021-04-27T04:05:09.310Z] -rw-rw-r--. 1 jenkins jenkins 7652 Apr 27 04:01 README.md [2021-04-27T04:05:09.310Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 27 04:01 RELEASE-NOTES.txt [2021-04-27T04:05:09.310Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 27 04:01 snap [2021-04-27T04:05:09.310Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 27 03:59 VERSION [2021-04-27T04:05:09.310Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 27 04:01 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-27T04:05:09.678Z] + 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=8d18a21b742dd7d0af97623468fbe1cfdaa370fb --label arch=amd64 --label version=0.0.0 . [2021-04-27T04:05:10.804Z] Sending build context to Docker daemon 2.562MB [2021-04-27T04:05:10.804Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-27T04:05:10.804Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-27T04:05:10.804Z] ---> 43d15a60c476 [2021-04-27T04:05:10.804Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-27T04:05:10.804Z] ---> Running in eb86564e9c76 [2021-04-27T04:05:11.436Z] Removing intermediate container eb86564e9c76 [2021-04-27T04:05:11.436Z] ---> 7e986a56a681 [2021-04-27T04:05:11.436Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-27T04:05:11.436Z] ---> Running in f5248ad10951 [2021-04-27T04:05:11.731Z] Removing intermediate container f5248ad10951 [2021-04-27T04:05:11.731Z] ---> 3ee4ffcf9dc8 [2021-04-27T04:05:11.731Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-27T04:05:12.059Z] ---> Running in 00764db6d83b [2021-04-27T04:05:14.187Z] Removing intermediate container 00764db6d83b [2021-04-27T04:05:14.187Z] ---> 8849fcd76c8c [2021-04-27T04:05:14.187Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-27T04:05:14.187Z] ---> Running in 2315cdbae8cd [2021-04-27T04:05:15.188Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-27T04:05:16.316Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-27T04:05:16.583Z] OK: 167 MiB in 45 packages [2021-04-27T04:05:17.204Z] Removing intermediate container 2315cdbae8cd [2021-04-27T04:05:17.204Z] ---> 3c903668a452 [2021-04-27T04:05:17.204Z] Step 7/23 : COPY . . [2021-04-27T04:05:18.667Z] ---> 0eede68c595e [2021-04-27T04:05:18.667Z] Step 8/23 : RUN go mod download [2021-04-27T04:05:18.667Z] ---> Running in 3846f5a37fc2 [2021-04-27T04:05:22.137Z] Removing intermediate container 3846f5a37fc2 [2021-04-27T04:05:22.137Z] ---> 5700ea229c0a [2021-04-27T04:05:22.137Z] Step 9/23 : RUN make build [2021-04-27T04:05:22.137Z] ---> Running in 6575f9a52cb9 [2021-04-27T04:05:23.195Z] CGO_ENABLED=1 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-04-27T04:05:41.830Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-27T04:05:41.830Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-27T04:05:41.830Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-27T04:05:41.830Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-27T04:05:41.830Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-27T04:05:45.247Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.134s coverage: 28.1% of statements [2021-04-27T04:05:45.625Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-27T04:05:45.625Z] Removing intermediate container 6575f9a52cb9 [2021-04-27T04:05:45.625Z] ---> 1f6767addabe [2021-04-27T04:05:45.625Z] Step 10/23 : FROM alpine:3.12 [2021-04-27T04:05:45.625Z] 3.12: Pulling from library/alpine [2021-04-27T04:05:45.625Z] 339de151aab4: Pulling fs layer [2021-04-27T04:05:45.893Z] 339de151aab4: Verifying Checksum [2021-04-27T04:05:45.893Z] 339de151aab4: Download complete [2021-04-27T04:05:46.172Z] 339de151aab4: Pull complete [2021-04-27T04:05:46.172Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-27T04:05:46.172Z] Status: Downloaded newer image for alpine:3.12 [2021-04-27T04:05:46.172Z] ---> 13621d1b12d4 [2021-04-27T04:05:46.172Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-27T04:05:46.239Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.180s coverage: 78.9% of statements [2021-04-27T04:05:46.239Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.167s coverage: 7.8% of statements [2021-04-27T04:05:46.239Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-27T04:05:46.239Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-27T04:05:46.239Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-27T04:05:46.455Z] ---> Running in 1219e333f843 [2021-04-27T04:05:46.730Z] Removing intermediate container 1219e333f843 [2021-04-27T04:05:46.731Z] ---> 2aaeed40ed38 [2021-04-27T04:05:46.731Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-27T04:05:47.408Z] ---> Running in 5a89aee6cb20 [2021-04-27T04:05:47.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.275s coverage: 30.2% of statements [2021-04-27T04:05:47.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-27T04:05:47.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-27T04:05:47.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-27T04:05:49.379Z] Removing intermediate container 5a89aee6cb20 [2021-04-27T04:05:49.379Z] ---> 4fc23b08d897 [2021-04-27T04:05:49.379Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-27T04:05:49.379Z] ---> Running in d46f7ff24012 [2021-04-27T04:05:49.962Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-27T04:05:50.545Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-27T04:05:51.130Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-27T04:05:51.130Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-27T04:05:51.130Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-27T04:05:52.021Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.320s coverage: 57.2% of statements [2021-04-27T04:05:52.021Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.093s coverage: 6.6% of statements [2021-04-27T04:05:52.021Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 5.0% of statements [2021-04-27T04:05:52.021Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-27T04:05:52.100Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-27T04:05:52.100Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-27T04:05:52.296Z] GO111MODULE=on go vet ./... [2021-04-27T04:05:52.388Z] Executing busybox-1.31.1-r20.trigger [2021-04-27T04:05:52.388Z] OK: 8 MiB in 19 packages [2021-04-27T04:05:53.414Z] Removing intermediate container d46f7ff24012 [2021-04-27T04:05:53.414Z] ---> 602b73f0fa10 [2021-04-27T04:05:53.414Z] Step 14/23 : WORKDIR / [2021-04-27T04:05:53.414Z] ---> Running in 20ebb24c207a [2021-04-27T04:05:53.700Z] Removing intermediate container 20ebb24c207a [2021-04-27T04:05:53.700Z] ---> d03afdbcf9bb [2021-04-27T04:05:53.700Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-27T04:05:54.327Z] ---> f5aa646aadf8 [2021-04-27T04:05:54.327Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-27T04:05:55.288Z] ---> a49af823bdcd [2021-04-27T04:05:55.288Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-27T04:05:55.602Z] ---> c49360cdda35 [2021-04-27T04:05:55.602Z] Step 18/23 : EXPOSE 49990 [2021-04-27T04:05:55.602Z] ---> Running in 6100b53631a1 [2021-04-27T04:05:56.201Z] Removing intermediate container 6100b53631a1 [2021-04-27T04:05:56.201Z] ---> db4976cf917e [2021-04-27T04:05:56.201Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-27T04:05:56.201Z] ---> Running in 5039c21b998e [2021-04-27T04:05:56.468Z] Removing intermediate container 5039c21b998e [2021-04-27T04:05:56.468Z] ---> 340e153f220d [2021-04-27T04:05:56.468Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-27T04:05:56.731Z] ---> Running in 1bee6d28d956 [2021-04-27T04:05:56.997Z] Removing intermediate container 1bee6d28d956 [2021-04-27T04:05:56.997Z] ---> b8f89a8aed70 [2021-04-27T04:05:56.997Z] Step 21/23 : LABEL arch=amd64 [2021-04-27T04:05:56.997Z] ---> Running in 189602fa9ef3 [2021-04-27T04:05:57.268Z] Removing intermediate container 189602fa9ef3 [2021-04-27T04:05:57.268Z] ---> 3e2114a5ac68 [2021-04-27T04:05:57.268Z] Step 22/23 : LABEL git_sha=8d18a21b742dd7d0af97623468fbe1cfdaa370fb [2021-04-27T04:05:57.539Z] ---> Running in a1aafae158db [2021-04-27T04:05:57.802Z] Removing intermediate container a1aafae158db [2021-04-27T04:05:57.802Z] ---> 5497a48527cb [2021-04-27T04:05:57.802Z] Step 23/23 : LABEL version=0.0.0 [2021-04-27T04:05:57.802Z] ---> Running in 1141fc06b63d [2021-04-27T04:05:58.069Z] Removing intermediate container 1141fc06b63d [2021-04-27T04:05:58.069Z] ---> 5bfb3c1b2584 [2021-04-27T04:05:58.069Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-27T04:05:58.069Z] Successfully built 5bfb3c1b2584 [2021-04-27T04:05:58.069Z] 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-04-27T04:05:58.642Z] ---> job-cost.sh [2021-04-27T04:05:58.642Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-gwhU [2021-04-27T04:06:31.104Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-27T04:06:39.322Z] gofmt -l . [2021-04-27T04:06:39.322Z] [ "`gofmt -l .`" = "" ] [2021-04-27T04:06:39.322Z] ./bin/test-attribution-txt.sh [2021-04-27T04:06:39.600Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-27T04:06:40.228Z] $ docker stop --time=1 95d1e25d65e5fd35e691995df047c346c6da5ba64a3fdcf2c4bd1616d990105b [2021-04-27T04:06:42.614Z] $ docker rm -f 95d1e25d65e5fd35e691995df047c346c6da5ba64a3fdcf2c4bd1616d990105b [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-27T04:06:43.700Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-27T04:06:43.733Z] Warning: overwriting stash ‘coverage-report’ [2021-04-27T04:06:44.727Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-27T04:06:45.196Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-27T04:06:45.587Z] + ls -al . [2021-04-27T04:06:45.587Z] total 224 [2021-04-27T04:06:45.587Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 04:06 . [2021-04-27T04:06:45.594Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:03 .. [2021-04-27T04:06:45.594Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 04:03 .dockerignore [2021-04-27T04:06:45.594Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 04:03 .git [2021-04-27T04:06:45.594Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:03 .github [2021-04-27T04:06:45.594Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 27 04:03 .gitignore [2021-04-27T04:06:45.594Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 27 04:03 Dockerfile.build [2021-04-27T04:06:45.594Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 27 04:03 Jenkinsfile [2021-04-27T04:06:45.594Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 27 04:03 LICENSE [2021-04-27T04:06:45.594Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 27 04:03 Makefile [2021-04-27T04:06:45.594Z] -rw-rw-r-- 1 jenkins jenkins 7652 Apr 27 04:03 README.md [2021-04-27T04:06:45.594Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 27 04:03 RELEASE-NOTES.txt [2021-04-27T04:06:45.594Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 03:59 VERSION [2021-04-27T04:06:45.594Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:03 bin [2021-04-27T04:06:45.594Z] -rw-r--r-- 1 jenkins jenkins 100320 Apr 27 04:05 coverage.out [2021-04-27T04:06:45.594Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:03 example [2021-04-27T04:06:45.594Z] -rw-r--r-- 1 jenkins jenkins 575 Apr 27 04:06 go.mod [2021-04-27T04:06:45.594Z] -rw-r--r-- 1 jenkins jenkins 21068 Apr 27 04:06 go.sum [2021-04-27T04:06:45.594Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 27 04:03 internal [2021-04-27T04:06:45.594Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:03 openapi [2021-04-27T04:06:45.594Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:03 pkg [2021-04-27T04:06:45.594Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:03 snap [2021-04-27T04:06:45.594Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 27 04:03 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-27T04:06:45.984Z] + 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=8d18a21b742dd7d0af97623468fbe1cfdaa370fb --label arch=arm64 --label version=0.0.0 . [2021-04-27T04:06:46.647Z] Sending build context to Docker daemon 2.561MB [2021-04-27T04:06:46.648Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-27T04:06:46.648Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-27T04:06:46.648Z] ---> 325b5e0903e4 [2021-04-27T04:06:46.648Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-27T04:06:46.936Z] ---> Running in 5acc5a932a0b [2021-04-27T04:06:47.538Z] Removing intermediate container 5acc5a932a0b [2021-04-27T04:06:47.538Z] ---> 28c90021d3a3 [2021-04-27T04:06:47.538Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-27T04:06:47.538Z] ---> Running in a67b12af675b [2021-04-27T04:06:48.135Z] Removing intermediate container a67b12af675b [2021-04-27T04:06:48.135Z] ---> 58c05e3eef25 [2021-04-27T04:06:48.135Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-27T04:06:48.135Z] ---> Running in ce7a018eaf6c [2021-04-27T04:06:50.753Z] Removing intermediate container ce7a018eaf6c [2021-04-27T04:06:50.753Z] ---> c724051b79fc [2021-04-27T04:06:50.753Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-27T04:06:50.753Z] ---> Running in 3e615b4b5254 [2021-04-27T04:06:51.353Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-27T04:06:52.330Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-27T04:06:52.935Z] OK: 144 MiB in 45 packages [2021-04-27T04:06:54.378Z] Removing intermediate container 3e615b4b5254 [2021-04-27T04:06:54.378Z] ---> 98c70360b0a2 [2021-04-27T04:06:54.378Z] Step 7/23 : COPY . . [2021-04-27T04:06:55.355Z] ---> a4b8aab69be1 [2021-04-27T04:06:55.355Z] Step 8/23 : RUN go mod download [2021-04-27T04:06:55.629Z] ---> Running in 7758f585a514 [2021-04-27T04:06:58.246Z] Removing intermediate container 7758f585a514 [2021-04-27T04:06:58.246Z] ---> 6550c10e365d [2021-04-27T04:06:58.246Z] Step 9/23 : RUN make build [2021-04-27T04:06:58.246Z] ---> Running in 254235de723d [2021-04-27T04:06:58.842Z] CGO_ENABLED=1 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-04-27T04:07:10.234Z] lf-activate-venv(): INFO: Adding /tmp/venv-gwhU/bin to PATH [2021-04-27T04:07:10.234Z] INFO: No Stack... [2021-04-27T04:07:10.234Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-27T04:07:10.234Z] INFO: Archiving Costs [Pipeline] sh [2021-04-27T04:07:10.560Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2021-04-27T04:07:10.560Z] + cut -d, -f6 [Pipeline] lock [2021-04-27T04:07:10.647Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-887-6-stack-cost] [2021-04-27T04:07:10.666Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-887-6-stack-cost] did not exist. Created. [2021-04-27T04:07:10.666Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-887-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-27T04:07:11.018Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-27T04:07:11.325Z] Stashed 1 file(s) [Pipeline] } [2021-04-27T04:07:11.348Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-887-6-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-27T04:07:31.214Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-27T04:07:34.614Z] Removing intermediate container 254235de723d [2021-04-27T04:07:34.614Z] ---> 9e88d6e19490 [2021-04-27T04:07:34.614Z] Step 10/23 : FROM alpine:3.12 [2021-04-27T04:07:34.893Z] 3.12: Pulling from library/alpine [2021-04-27T04:07:35.166Z] d2f70382dc9a: Pulling fs layer [2021-04-27T04:07:35.166Z] d2f70382dc9a: Verifying Checksum [2021-04-27T04:07:35.166Z] d2f70382dc9a: Download complete [2021-04-27T04:07:35.769Z] d2f70382dc9a: Pull complete [2021-04-27T04:07:35.769Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-27T04:07:35.769Z] Status: Downloaded newer image for alpine:3.12 [2021-04-27T04:07:35.769Z] ---> 9852663dfa18 [2021-04-27T04:07:35.769Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-27T04:07:36.041Z] ---> Running in f2f8e1e7724b [2021-04-27T04:07:36.638Z] Removing intermediate container f2f8e1e7724b [2021-04-27T04:07:36.638Z] ---> 705cc62d9002 [2021-04-27T04:07:36.638Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-27T04:07:36.638Z] ---> Running in 81f357f116f3 [2021-04-27T04:07:38.608Z] Removing intermediate container 81f357f116f3 [2021-04-27T04:07:38.608Z] ---> 9ed7bd9a3ff4 [2021-04-27T04:07:38.608Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-27T04:07:38.880Z] ---> Running in 3977eb256fd0 [2021-04-27T04:07:39.858Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-27T04:07:40.833Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-27T04:07:41.432Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-27T04:07:41.433Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-27T04:07:41.705Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-27T04:07:41.976Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-27T04:07:41.976Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-27T04:07:42.286Z] Executing busybox-1.31.1-r20.trigger [2021-04-27T04:07:42.286Z] OK: 8 MiB in 19 packages [2021-04-27T04:07:43.727Z] Removing intermediate container 3977eb256fd0 [2021-04-27T04:07:43.727Z] ---> 23ca72c9fa8a [2021-04-27T04:07:43.727Z] Step 14/23 : WORKDIR / [2021-04-27T04:07:43.727Z] ---> Running in fa5230634628 [2021-04-27T04:07:44.005Z] Removing intermediate container fa5230634628 [2021-04-27T04:07:44.006Z] ---> e01ddb08d531 [2021-04-27T04:07:44.006Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-27T04:07:44.981Z] ---> ec26271c12ba [2021-04-27T04:07:44.981Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-27T04:07:45.968Z] ---> 0a98a2b727f9 [2021-04-27T04:07:45.968Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-27T04:07:46.948Z] ---> 5f5c20613be7 [2021-04-27T04:07:46.948Z] Step 18/23 : EXPOSE 49990 [2021-04-27T04:07:46.948Z] ---> Running in 8895c4ee791e [2021-04-27T04:07:47.546Z] Removing intermediate container 8895c4ee791e [2021-04-27T04:07:47.546Z] ---> df2d15f22593 [2021-04-27T04:07:47.546Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-27T04:07:47.546Z] ---> Running in d4933396bdd6 [2021-04-27T04:07:48.142Z] Removing intermediate container d4933396bdd6 [2021-04-27T04:07:48.142Z] ---> f7ced1512422 [2021-04-27T04:07:48.142Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-27T04:07:48.142Z] ---> Running in fe227ea02c25 [2021-04-27T04:07:48.737Z] Removing intermediate container fe227ea02c25 [2021-04-27T04:07:48.737Z] ---> 7f3d9cb01e76 [2021-04-27T04:07:48.737Z] Step 21/23 : LABEL arch=arm64 [2021-04-27T04:07:48.737Z] ---> Running in 9badfee80b91 [2021-04-27T04:07:49.333Z] Removing intermediate container 9badfee80b91 [2021-04-27T04:07:49.333Z] ---> ccb7284e8ac3 [2021-04-27T04:07:49.333Z] Step 22/23 : LABEL git_sha=8d18a21b742dd7d0af97623468fbe1cfdaa370fb [2021-04-27T04:07:49.333Z] ---> Running in 1dac06cc3988 [2021-04-27T04:07:49.928Z] Removing intermediate container 1dac06cc3988 [2021-04-27T04:07:49.928Z] ---> 0fa34f1c6493 [2021-04-27T04:07:49.928Z] Step 23/23 : LABEL version=0.0.0 [2021-04-27T04:07:49.928Z] ---> Running in db0c53c6f4c0 [2021-04-27T04:07:50.525Z] Removing intermediate container db0c53c6f4c0 [2021-04-27T04:07:50.525Z] ---> b66ce9fb3a5a [2021-04-27T04:07:50.525Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-27T04:07:50.525Z] Successfully built b66ce9fb3a5a [2021-04-27T04:07:50.525Z] 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-04-27T04:07:51.019Z] ---> job-cost.sh [2021-04-27T04:07:51.019Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-flIa [2021-04-27T04:08:29.983Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-27T04:09:51.753Z] lf-activate-venv(): INFO: Adding /tmp/venv-flIa/bin to PATH [2021-04-27T04:09:51.753Z] INFO: No Stack... [2021-04-27T04:09:51.753Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-27T04:09:52.025Z] INFO: Archiving Costs [Pipeline] sh [2021-04-27T04:09:52.362Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2021-04-27T04:09:52.362Z] + cut -d, -f6 [Pipeline] lock [2021-04-27T04:09:52.471Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-887-6-stack-cost] [2021-04-27T04:09:52.481Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-887-6-stack-cost] did not exist. Created. [2021-04-27T04:09:52.481Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-887-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-27T04:09:52.852Z] /w/workspace/device-sdk-go/6@tmp/durable-59215ffa/script.sh: 1: /w/workspace/device-sdk-go/6@tmp/durable-59215ffa/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-27T04:09:53.204Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-27T04:09:53.239Z] Warning: overwriting stash ‘stack-cost’ [2021-04-27T04:09:53.396Z] Stashed 1 file(s) [Pipeline] } [2021-04-27T04:09:53.409Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-887-6-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-04-27T04:09:53.877Z] provisioning config files... [2021-04-27T04:09:53.889Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config5754075144224963174tmp [Pipeline] { [Pipeline] sh [2021-04-27T04:09:54.216Z] + set +x [2021-04-27T04:09:54.216Z] + curl -s https://codecov.io/bash [2021-04-27T04:09:54.216Z] + bash -s -- [2021-04-27T04:09:54.482Z] [2021-04-27T04:09:54.482Z] _____ _ [2021-04-27T04:09:54.482Z] / ____| | | [2021-04-27T04:09:54.482Z] | | ___ __| | ___ ___ _____ __ [2021-04-27T04:09:54.482Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-27T04:09:54.482Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-27T04:09:54.482Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-27T04:09:54.482Z] Bash-1.0.2 [2021-04-27T04:09:54.482Z] [2021-04-27T04:09:54.482Z] [2021-04-27T04:09:54.482Z] ==> git version 2.24.3 found [2021-04-27T04:09:54.482Z] ==> 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-04-27T04:09:54.482Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-27T04:09:54.482Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-27T04:09:54.482Z] ==> Jenkins CI detected. [2021-04-27T04:09:54.482Z] project root: . [2021-04-27T04:09:54.482Z] --> token set from env [2021-04-27T04:09:54.482Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-27T04:09:54.482Z] ==> Running gcov in . (disable via -X gcov) [2021-04-27T04:09:54.482Z] ==> Python coveragepy not found [2021-04-27T04:09:54.482Z] ==> Searching for coverage reports in: [2021-04-27T04:09:54.482Z] + . [2021-04-27T04:09:54.482Z] -> Found 1 reports [2021-04-27T04:09:54.482Z] ==> Detecting git/mercurial file structure [2021-04-27T04:09:54.482Z] ==> Reading reports [2021-04-27T04:09:54.482Z] + ./coverage.out bytes=100320 [2021-04-27T04:09:54.482Z] ==> Appending adjustments [2021-04-27T04:09:54.482Z] https://docs.codecov.io/docs/fixing-reports [2021-04-27T04:09:54.745Z] + Found adjustments [2021-04-27T04:09:54.745Z] ==> Gzipping contents [2021-04-27T04:09:54.745Z] 16K /tmp/codecov.lN4pBH.gz [2021-04-27T04:09:54.745Z] ==> Uploading reports [2021-04-27T04:09:54.745Z] url: https://codecov.io [2021-04-27T04:09:54.745Z] query: branch=PR-887&commit=8d18a21b742dd7d0af97623468fbe1cfdaa370fb&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-887%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=887&job=&cmd_args= [2021-04-27T04:09:54.745Z] -> Pinging Codecov [2021-04-27T04:09:54.745Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-887&commit=8d18a21b742dd7d0af97623468fbe1cfdaa370fb&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-887%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=887&job=&cmd_args= [2021-04-27T04:09:55.324Z] -> Uploading to [2021-04-27T04:09:55.324Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-27/7E55EF52A471D76F132DFD9A03CDDE97/8d18a21b742dd7d0af97623468fbe1cfdaa370fb/9240107c-d797-44b9-8315-b27929dac159.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210427T040955Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d99a70b538bf97af69a9495b535adf123c6ea6210dc677b4274220812d1b8939 [2021-04-27T04:09:55.324Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-27T04:09:55.324Z] Dload Upload Total Spent Left Speed [2021-04-27T04:09:55.851Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 13554 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13554 0 0 100 13554 0 35600 --:--:-- --:--:-- --:--:-- 35574 [2021-04-27T04:09:55.851Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/8d18a21b742dd7d0af97623468fbe1cfdaa370fb [Pipeline] } [2021-04-27T04:09:55.862Z] 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-04-27T04:09:56.775Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T04:09:57.086Z] ---> package-listing.sh [2021-04-27T04:09:57.086Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-27T04:09:57.086Z] ++ facter osfamily [2021-04-27T04:09:57.086Z] + OS_FAMILY=redhat [2021-04-27T04:09:57.086Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-887 [2021-04-27T04:09:57.086Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-27T04:09:57.086Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-27T04:09:57.086Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-27T04:09:57.086Z] + PACKAGES=/tmp/packages_start.txt [2021-04-27T04:09:57.086Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-887 ']' [2021-04-27T04:09:57.086Z] + PACKAGES=/tmp/packages_end.txt [2021-04-27T04:09:57.086Z] + case "${OS_FAMILY}" in [2021-04-27T04:09:57.086Z] + rpm -qa [2021-04-27T04:09:57.086Z] + sort [2021-04-27T04:10:02.415Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-27T04:10:02.415Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-27T04:10:02.415Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-27T04:10:02.415Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-887 ']' [2021-04-27T04:10:02.415Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-887/archives/ [2021-04-27T04:10:02.415Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-887/archives/ [Pipeline] echo [2021-04-27T04:10:02.431Z] 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-887/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-27T04:10:02.740Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-27T04:10:03.054Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-27T04:10:03.054Z] [2021-04-27T04:10:03.054Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-27T04:10:03.380Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-27T04:10:03.380Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-27T04:10:03.380Z] df20fa9351a1: Pulling fs layer [2021-04-27T04:10:03.380Z] 36b3adc4ff6f: Pulling fs layer [2021-04-27T04:10:03.380Z] 8ad3a11d3b57: Pulling fs layer [2021-04-27T04:10:03.380Z] 46f8f816bc3b: Pulling fs layer [2021-04-27T04:10:03.380Z] 93b61091891f: Pulling fs layer [2021-04-27T04:10:03.380Z] 93b9cdb0e59b: Pulling fs layer [2021-04-27T04:10:03.380Z] 5e14af77c1be: Pulling fs layer [2021-04-27T04:10:03.380Z] 01666e4c0597: Pulling fs layer [2021-04-27T04:10:03.380Z] aa168da1d23b: Pulling fs layer [2021-04-27T04:10:03.380Z] 93b61091891f: Waiting [2021-04-27T04:10:03.380Z] 46f8f816bc3b: Waiting [2021-04-27T04:10:03.380Z] 5e14af77c1be: Waiting [2021-04-27T04:10:03.380Z] 93b9cdb0e59b: Waiting [2021-04-27T04:10:03.380Z] 01666e4c0597: Waiting [2021-04-27T04:10:03.380Z] aa168da1d23b: Waiting [2021-04-27T04:10:03.380Z] 36b3adc4ff6f: Verifying Checksum [2021-04-27T04:10:03.380Z] 36b3adc4ff6f: Download complete [2021-04-27T04:10:03.380Z] 46f8f816bc3b: Download complete [2021-04-27T04:10:03.651Z] df20fa9351a1: Verifying Checksum [2021-04-27T04:10:03.651Z] 93b9cdb0e59b: Download complete [2021-04-27T04:10:03.651Z] 5e14af77c1be: Verifying Checksum [2021-04-27T04:10:03.651Z] 5e14af77c1be: Download complete [2021-04-27T04:10:03.651Z] 93b61091891f: Download complete [2021-04-27T04:10:03.651Z] 01666e4c0597: Verifying Checksum [2021-04-27T04:10:03.651Z] 01666e4c0597: Download complete [2021-04-27T04:10:03.651Z] 8ad3a11d3b57: Verifying Checksum [2021-04-27T04:10:03.651Z] 8ad3a11d3b57: Download complete [2021-04-27T04:10:03.913Z] df20fa9351a1: Pull complete [2021-04-27T04:10:04.185Z] 36b3adc4ff6f: Pull complete [2021-04-27T04:10:06.290Z] aa168da1d23b: Download complete [2021-04-27T04:10:06.290Z] 8ad3a11d3b57: Pull complete [2021-04-27T04:10:06.290Z] 46f8f816bc3b: Pull complete [2021-04-27T04:10:06.561Z] 93b61091891f: Pull complete [2021-04-27T04:10:06.561Z] 93b9cdb0e59b: Pull complete [2021-04-27T04:10:06.826Z] 5e14af77c1be: Pull complete [2021-04-27T04:10:06.826Z] 01666e4c0597: Pull complete [2021-04-27T04:10:15.036Z] aa168da1d23b: Pull complete [2021-04-27T04:10:15.036Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-27T04:10:15.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-27T04:10:15.036Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-27T04:10:15.245Z] prd-centos7-docker-4c-2g-1973 does not seem to be running inside a container [2021-04-27T04:10:15.293Z] $ 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-887/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-887 -v /w/workspace/dgexfoundry_device-sdk-go_PR-887:/w/workspace/dgexfoundry_device-sdk-go_PR-887:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-27T04:10:18.357Z] $ docker top 9c9d4322d9e56ae205163463171649f023b630d4e3f7d0e24f24a700f5026fae -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-27T04:10:18.815Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-27T04:10:19.115Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-27T04:10:19.420Z] + ls /var/log/sa-host [2021-04-27T04:10:19.420Z] + sadf -c /var/log/sa-host/sa23 [2021-04-27T04:10:19.420Z] file_magic: OK [2021-04-27T04:10:19.420Z] HZ: Using current value: 100 [2021-04-27T04:10:19.420Z] file_header: OK [2021-04-27T04:10:19.420Z] 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-04-27T04:10:19.420Z] Statistics: [2021-04-27T04:10:19.420Z] Hnuu...uuuununununu... [2021-04-27T04:10:19.420Z] File successfully converted to sysstat format version 12.2.1 [2021-04-27T04:10:19.420Z] + sadf -c /var/log/sa-host/sa27 [2021-04-27T04:10:19.420Z] file_magic: OK [2021-04-27T04:10:19.420Z] HZ: Using current value: 100 [2021-04-27T04:10:19.420Z] file_header: OK [2021-04-27T04:10:19.420Z] 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-04-27T04:10:19.420Z] Statistics: [2021-04-27T04:10:19.420Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-27T04:10:19.420Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-27T04:10:19.702Z] provisioning config files... [2021-04-27T04:10:19.718Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config4364804080349205939tmp [Pipeline] { [Pipeline] echo [2021-04-27T04:10:19.741Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T04:10:20.040Z] ---> create-netrc.sh [Pipeline] } [2021-04-27T04:10:20.050Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-27T04:10:20.078Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T04:10:20.377Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-27T04:10:20.389Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T04:10:20.687Z] ---> sudo-logs.sh [2021-04-27T04:10:20.687Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-27T04:10:20.721Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T04:10:21.020Z] ---> job-cost.sh [2021-04-27T04:10:21.020Z] lf-activate-venv: SKIPPING [2021-04-27T04:10:21.020Z] DEBUG: total: 0.20999999344348907 [2021-04-27T04:10:21.020Z] INFO: Retrieving Stack Cost... [2021-04-27T04:10:22.946Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-27T04:10:23.208Z] INFO: Archiving Costs [Pipeline] echo [2021-04-27T04:10:23.223Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T04:10:23.524Z] ---> logs-deploy.sh [2021-04-27T04:10:23.524Z] lf-activate-venv: SKIPPING [2021-04-27T04:10:23.524Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-887/6 [2021-04-27T04:10:23.524Z] INFO: archiving workspace using pattern(s): [2021-04-27T04:10:25.452Z] Archives upload complete. [2021-04-27T04:10:25.452Z] INFO: archiving logs to Nexus [2021-04-27T04:10:26.398Z] ---> uname -a: [2021-04-27T04:10:26.398Z] Linux prd-centos7-docker-4c-2g-1973.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-04-27T04:10:26.398Z] [2021-04-27T04:10:26.398Z] [2021-04-27T04:10:26.398Z] ---> lscpu: [2021-04-27T04:10:26.398Z] Architecture: x86_64 [2021-04-27T04:10:26.398Z] CPU op-mode(s): 32-bit, 64-bit [2021-04-27T04:10:26.398Z] Byte Order: Little Endian [2021-04-27T04:10:26.398Z] Address sizes: 40 bits physical, 48 bits virtual [2021-04-27T04:10:26.398Z] CPU(s): 4 [2021-04-27T04:10:26.398Z] On-line CPU(s) list: 0-3 [2021-04-27T04:10:26.398Z] Thread(s) per core: 1 [2021-04-27T04:10:26.398Z] Core(s) per socket: 1 [2021-04-27T04:10:26.398Z] Socket(s): 4 [2021-04-27T04:10:26.398Z] NUMA node(s): 1 [2021-04-27T04:10:26.398Z] Vendor ID: GenuineIntel [2021-04-27T04:10:26.398Z] CPU family: 6 [2021-04-27T04:10:26.398Z] Model: 44 [2021-04-27T04:10:26.398Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-04-27T04:10:26.398Z] Stepping: 1 [2021-04-27T04:10:26.398Z] CPU MHz: 2933.442 [2021-04-27T04:10:26.398Z] BogoMIPS: 5866.88 [2021-04-27T04:10:26.398Z] Virtualization: VT-x [2021-04-27T04:10:26.398Z] Hypervisor vendor: KVM [2021-04-27T04:10:26.398Z] Virtualization type: full [2021-04-27T04:10:26.398Z] L1d cache: 128 KiB [2021-04-27T04:10:26.398Z] L1i cache: 128 KiB [2021-04-27T04:10:26.398Z] L2 cache: 16 MiB [2021-04-27T04:10:26.398Z] L3 cache: 64 MiB [2021-04-27T04:10:26.398Z] NUMA node0 CPU(s): 0-3 [2021-04-27T04:10:26.398Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-04-27T04:10:26.398Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-04-27T04:10:26.398Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-04-27T04:10:26.398Z] Vulnerability Meltdown: Mitigation; PTI [2021-04-27T04:10:26.398Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-04-27T04:10:26.398Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-04-27T04:10:26.398Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-04-27T04:10:26.398Z] Vulnerability Srbds: Not affected [2021-04-27T04:10:26.398Z] Vulnerability Tsx async abort: Not affected [2021-04-27T04:10:26.398Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-04-27T04:10:26.398Z] [2021-04-27T04:10:26.398Z] [2021-04-27T04:10:26.398Z] ---> nproc: [2021-04-27T04:10:26.398Z] 4 [2021-04-27T04:10:26.398Z] [2021-04-27T04:10:26.398Z]