Pull request #862 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 23b823046d84f5291defff3fba674fd24f017e99+34bcbadecb817e113f443ebd9bc4fa59ecf970a2 (8a1e7d0d9ad8099fa9a3c541376e6ac17f70c183) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-32925 in /w/workspace/dgexfoundry_device-sdk-go_PR-862 [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-862 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 34bcbadecb817e113f443ebd9bc4fa59ecf970a2 into PR head commit 23b823046d84f5291defff3fba674fd24f017e99 Merge succeeded, producing 23b823046d84f5291defff3fba674fd24f017e99 Checking out Revision 23b823046d84f5291defff3fba674fd24f017e99 (PR-862) > 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/862/head:refs/remotes/origin/PR-862 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 23b823046d84f5291defff3fba674fd24f017e99 # 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 34bcbadecb817e113f443ebd9bc4fa59ecf970a2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 23b823046d84f5291defff3fba674fd24f017e99 # timeout=10 Commit message: "refactor: leverage latest profile cache" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-06T07:23:43.742Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 6bfecdda86aa1c4a12fa691857173578d9e0d3a4 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-06T07:23:44.102Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-06T07:23:44.223Z] ========================================================= [2021-04-06T07:23:44.223Z] EdgeX Global Pipelines Version Info [2021-04-06T07:23:44.223Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-06T07:23:45.743Z] ------------------- [2021-04-06T07:23:45.743Z] stable info: [2021-04-06T07:23:45.743Z] ------------------- [2021-04-06T07:23:45.744Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-06T07:23:45.744Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-06T07:23:45.744Z] Message: update stable to v1.0.186 [2021-04-06T07:23:46.688Z] ------------------- [2021-04-06T07:23:46.688Z] experimental info: [2021-04-06T07:23:46.688Z] ------------------- [2021-04-06T07:23:46.688Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-06T07:23:46.688Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-06T07:23:46.688Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-06T07:23:46.978Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-06T07:23:47.079Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-06T07:23:47.189Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-06T07:23:47.293Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-06T07:23:47.392Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-06T07:23:47.493Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-06T07:23:47.589Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-06T07:23:47.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-06T07:23:47.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-06T07:23:47.905Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-06T07:23:48.004Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-06T07:23:48.106Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-06T07:23:48.201Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-06T07:23:48.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-06T07:23:48.399Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-06T07:23:48.495Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T07:23:48.589Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T07:23:48.747Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T07:23:48.843Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-06T07:23:48.941Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-06T07:23:49.049Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-06T07:23:49.141Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-06T07:23:49.262Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-06T07:23:49.354Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-06T07:23:49.448Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-06T07:23:49.561Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-06T07:23:49.658Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-862 [Pipeline] echo [2021-04-06T07:23:49.752Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-862 [Pipeline] echo [2021-04-06T07:23:49.842Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-862 [Pipeline] echo [2021-04-06T07:23:49.935Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 23b823046d84f5291defff3fba674fd24f017e99 [Pipeline] echo [2021-04-06T07:23:50.025Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 23b8230 [Pipeline] echo [2021-04-06T07:23:50.115Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-06T07:23:50.332Z] provisioning config files... [2021-04-06T07:23:50.362Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/config294334300364292051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-06T07:23:50.794Z] ---> docker-login.sh [2021-04-06T07:23:50.794Z] nexus3.edgexfoundry.org:10001 [2021-04-06T07:23:51.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T07:23:51.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T07:23:51.320Z] Configure a credential helper to remove this warning. See [2021-04-06T07:23:51.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T07:23:51.320Z] [2021-04-06T07:23:51.320Z] Login Succeeded [2021-04-06T07:23:51.320Z] nexus3.edgexfoundry.org:10002 [2021-04-06T07:23:51.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T07:23:51.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T07:23:51.320Z] Configure a credential helper to remove this warning. See [2021-04-06T07:23:51.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T07:23:51.320Z] [2021-04-06T07:23:51.320Z] Login Succeeded [2021-04-06T07:23:51.320Z] nexus3.edgexfoundry.org:10003 [2021-04-06T07:23:51.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T07:23:51.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T07:23:51.584Z] Configure a credential helper to remove this warning. See [2021-04-06T07:23:51.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T07:23:51.584Z] [2021-04-06T07:23:51.584Z] Login Succeeded [2021-04-06T07:23:51.584Z] nexus3.edgexfoundry.org:10004 [2021-04-06T07:23:51.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T07:23:51.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T07:23:51.847Z] Configure a credential helper to remove this warning. See [2021-04-06T07:23:51.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T07:23:51.847Z] [2021-04-06T07:23:51.847Z] Login Succeeded [2021-04-06T07:23:51.847Z] docker.io [2021-04-06T07:23:51.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T07:23:52.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T07:23:52.111Z] Configure a credential helper to remove this warning. See [2021-04-06T07:23:52.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T07:23:52.111Z] [2021-04-06T07:23:52.112Z] Login Succeeded [2021-04-06T07:23:52.112Z] ---> docker-login.sh ends [Pipeline] } [2021-04-06T07:23:52.122Z] 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-06T07:23:52.985Z] + git log --format=format:%s -1 23b823046d84f5291defff3fba674fd24f017e99 [Pipeline] echo [2021-04-06T07:23:53.056Z] GIT_COMMIT: 23b823046d84f5291defff3fba674fd24f017e99, Commit Message: refactor: leverage latest profile cache [Pipeline] echo [2021-04-06T07:23:53.103Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-06T07:23:54.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T07:23:54.124Z] [2021-04-06T07:23:54.124Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T07:23:54.490Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T07:23:54.490Z] latest: Pulling from edgex-devops/git-semver [2021-04-06T07:23:54.490Z] 31603596830f: Pulling fs layer [2021-04-06T07:23:54.490Z] 2a8b12db71e7: Pulling fs layer [2021-04-06T07:23:54.490Z] 6ca5941a6612: Pulling fs layer [2021-04-06T07:23:54.490Z] ecc8261a40a4: Pulling fs layer [2021-04-06T07:23:54.490Z] ecc8261a40a4: Waiting [2021-04-06T07:23:54.490Z] 2a8b12db71e7: Verifying Checksum [2021-04-06T07:23:54.490Z] 2a8b12db71e7: Download complete [2021-04-06T07:23:54.763Z] 31603596830f: Download complete [2021-04-06T07:23:54.763Z] 6ca5941a6612: Verifying Checksum [2021-04-06T07:23:54.763Z] 6ca5941a6612: Download complete [2021-04-06T07:23:55.028Z] ecc8261a40a4: Verifying Checksum [2021-04-06T07:23:55.028Z] ecc8261a40a4: Download complete [2021-04-06T07:23:55.028Z] 31603596830f: Pull complete [2021-04-06T07:23:55.291Z] 2a8b12db71e7: Pull complete [2021-04-06T07:23:55.877Z] 6ca5941a6612: Pull complete [2021-04-06T07:23:56.140Z] ecc8261a40a4: Pull complete [2021-04-06T07:23:56.140Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-06T07:23:56.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T07:23:56.403Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-06T07:23:56.524Z] prd-centos7-docker-4c-2g-32925 does not seem to be running inside a container [2021-04-06T07:23:56.581Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-862 -v /w/workspace/dgexfoundry_device-sdk-go_PR-862:/w/workspace/dgexfoundry_device-sdk-go_PR-862:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-06T07:23:58.998Z] $ docker top 577b507f0835aee0a1c4d1c20920ac2fa823da503cac330498753db400aea214 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-06T07:23:59.346Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-06T07:23:59.346Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-06T07:23:59.557Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-06T07:23:59.561Z] $ docker exec 577b507f0835aee0a1c4d1c20920ac2fa823da503cac330498753db400aea214 ssh-agent [2021-04-06T07:23:59.720Z] SSH_AUTH_SOCK=/tmp/ssh-PjyOiyuWKETh/agent.11 [2021-04-06T07:23:59.720Z] SSH_AGENT_PID=16 [2021-04-06T07:23:59.730Z] Running ssh-add (command line suppressed) [2021-04-06T07:23:59.847Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/private_key_3856030459131279843.key (/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/private_key_3856030459131279843.key) [2021-04-06T07:23:59.907Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-06T07:24:00.245Z] + git tag --points-at HEAD [Pipeline] } [2021-04-06T07:24:00.267Z] $ docker exec --env ******** --env ******** 577b507f0835aee0a1c4d1c20920ac2fa823da503cac330498753db400aea214 ssh-agent -k [2021-04-06T07:24:00.386Z] unset SSH_AUTH_SOCK; [2021-04-06T07:24:00.386Z] unset SSH_AGENT_PID; [2021-04-06T07:24:00.386Z] echo Agent pid 16 killed; [2021-04-06T07:24:00.434Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-06T07:24:00.572Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-06T07:24:00.573Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-06T07:24:00.733Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-06T07:24:00.736Z] $ docker exec 577b507f0835aee0a1c4d1c20920ac2fa823da503cac330498753db400aea214 ssh-agent [2021-04-06T07:24:00.903Z] SSH_AUTH_SOCK=/tmp/ssh-pRWV3kDtwoaB/agent.45 [2021-04-06T07:24:00.903Z] SSH_AGENT_PID=50 [2021-04-06T07:24:00.911Z] Running ssh-add (command line suppressed) [2021-04-06T07:24:01.032Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/private_key_2824676161276095924.key (/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/private_key_2824676161276095924.key) [2021-04-06T07:24:01.087Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-06T07:24:01.445Z] + git semver init [2021-04-06T07:24:01.445Z] # -> Open(): unable to determine branch for HEAD [2021-04-06T07:24:01.445Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-862/.git [2021-04-06T07:24:01.445Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-862 [2021-04-06T07:24:01.445Z] # $SEMVER_REMOTE_NAME = origin [2021-04-06T07:24:01.445Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-06T07:24:01.445Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-06T07:24:01.445Z] # $SEMVER_BRANCH = PR-862 [2021-04-06T07:24:01.445Z] # $SEMVER_TEMP = /tmp/semver-779694784 [2021-04-06T07:24:01.445Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-06T07:24:03.374Z] # '/tmp/semver-779694784' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-862/.semver' [2021-04-06T07:24:03.374Z] # -> Force: false [2021-04-06T07:24:03.374Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-862/.semver [Pipeline] } [2021-04-06T07:24:03.386Z] $ docker exec --env ******** --env ******** 577b507f0835aee0a1c4d1c20920ac2fa823da503cac330498753db400aea214 ssh-agent -k [2021-04-06T07:24:03.514Z] unset SSH_AUTH_SOCK; [2021-04-06T07:24:03.514Z] unset SSH_AGENT_PID; [2021-04-06T07:24:03.514Z] echo Agent pid 50 killed; [2021-04-06T07:24:03.562Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-06T07:24:04.038Z] + git semver [Pipeline] } [2021-04-06T07:24:04.054Z] $ docker stop --time=1 577b507f0835aee0a1c4d1c20920ac2fa823da503cac330498753db400aea214 [2021-04-06T07:24:05.811Z] $ docker rm -f 577b507f0835aee0a1c4d1c20920ac2fa823da503cac330498753db400aea214 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T07:24:06.321Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-06T07:24:06.934Z] Stashed 1 file(s) [Pipeline] echo [2021-04-06T07:24:06.937Z] [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-06T07:24:22.512Z] Still waiting to schedule task [2021-04-06T07:24:22.513Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-06T07:24:22.515Z] Still waiting to schedule task [2021-04-06T07:24:22.515Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-06T07:26:07.348Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32926 in /w/workspace/dgexfoundry_device-sdk-go_PR-862 [Pipeline] { [Pipeline] ws [2021-04-06T07:26:07.413Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-04-06T07:26:12.855Z] using credential edgex-jenkins-ssh [2021-04-06T07:26:12.917Z] Cloning the remote Git repository [2021-04-06T07:26:12.988Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T07:26:13.123Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-04-06T07:26:13.216Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T07:26:13.217Z] > git --version # timeout=10 [2021-04-06T07:26:13.241Z] > git --version # 'git version 2.17.1' [2021-04-06T07:26:13.243Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T07:26:13.314Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T07:26:14.483Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T07:26:14.505Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T07:26:14.538Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T07:26:14.580Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T07:26:14.581Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T07:26:14.597Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/862/head:refs/remotes/origin/PR-862 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-06T07:26:15.189Z] Merging remotes/origin/master commit 34bcbadecb817e113f443ebd9bc4fa59ecf970a2 into PR head commit 23b823046d84f5291defff3fba674fd24f017e99 [2021-04-06T07:26:15.421Z] Merge succeeded, producing 23b823046d84f5291defff3fba674fd24f017e99 [2021-04-06T07:26:15.421Z] Checking out Revision 23b823046d84f5291defff3fba674fd24f017e99 (PR-862) [2021-04-06T07:26:15.208Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T07:26:15.223Z] > git checkout -f 23b823046d84f5291defff3fba674fd24f017e99 # timeout=10 [2021-04-06T07:26:15.326Z] > git remote # timeout=10 [2021-04-06T07:26:15.344Z] > git config --get remote.origin.url # timeout=10 [2021-04-06T07:26:15.363Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T07:26:15.374Z] > git merge 34bcbadecb817e113f443ebd9bc4fa59ecf970a2 # timeout=10 [2021-04-06T07:26:15.399Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-06T07:26:15.426Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T07:26:15.448Z] > git checkout -f 23b823046d84f5291defff3fba674fd24f017e99 # timeout=10 [2021-04-06T07:26:19.921Z] Commit message: "refactor: leverage latest profile cache" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T07:26:21.565Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-06T07:26:22.035Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-06T07:26:22.409Z] + sudo service docker restart [2021-04-06T07:26:22.410Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-06T07:26:25.113Z] provisioning config files... [2021-04-06T07:26:25.158Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5462955071352788783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-06T07:26:25.559Z] ---> docker-login.sh [2021-04-06T07:26:25.560Z] nexus3.edgexfoundry.org:10001 [2021-04-06T07:26:26.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T07:26:26.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T07:26:26.760Z] Configure a credential helper to remove this warning. See [2021-04-06T07:26:26.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T07:26:26.760Z] [2021-04-06T07:26:26.760Z] Login Succeeded [2021-04-06T07:26:26.760Z] nexus3.edgexfoundry.org:10002 [2021-04-06T07:26:27.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T07:26:27.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T07:26:27.309Z] Configure a credential helper to remove this warning. See [2021-04-06T07:26:27.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T07:26:27.309Z] [2021-04-06T07:26:27.309Z] Login Succeeded [2021-04-06T07:26:27.309Z] nexus3.edgexfoundry.org:10003 [2021-04-06T07:26:27.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T07:26:27.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T07:26:27.866Z] Configure a credential helper to remove this warning. See [2021-04-06T07:26:27.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T07:26:27.866Z] [2021-04-06T07:26:27.866Z] Login Succeeded [2021-04-06T07:26:27.866Z] nexus3.edgexfoundry.org:10004 [2021-04-06T07:26:28.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T07:26:28.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T07:26:28.426Z] Configure a credential helper to remove this warning. See [2021-04-06T07:26:28.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T07:26:28.426Z] [2021-04-06T07:26:28.426Z] Login Succeeded [2021-04-06T07:26:28.426Z] docker.io [2021-04-06T07:26:28.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T07:26:29.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T07:26:29.300Z] Configure a credential helper to remove this warning. See [2021-04-06T07:26:29.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T07:26:29.300Z] [2021-04-06T07:26:29.301Z] Login Succeeded [2021-04-06T07:26:29.301Z] ---> docker-login.sh ends [Pipeline] } [2021-04-06T07:26:29.317Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-06T07:26:29.783Z] ========================================================= [2021-04-06T07:26:29.783Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-06T07:26:29.783Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-06T07:26:30.174Z] + 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-06T07:26:30.780Z] Sending build context to Docker daemon 2.406MB [2021-04-06T07:26:30.780Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T07:26:30.780Z] Step 2/8 : FROM ${BASE} [2021-04-06T07:26:30.780Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-06T07:26:30.780Z] 5f621e34cdf4: Pulling fs layer [2021-04-06T07:26:30.780Z] a4357932f1b6: Pulling fs layer [2021-04-06T07:26:30.780Z] 18c013af1878: Pulling fs layer [2021-04-06T07:26:30.780Z] 00ac8860ef70: Pulling fs layer [2021-04-06T07:26:30.780Z] 63d7cb157983: Pulling fs layer [2021-04-06T07:26:30.780Z] b116817d02f9: Pulling fs layer [2021-04-06T07:26:30.780Z] 745a02a5169b: Pulling fs layer [2021-04-06T07:26:30.780Z] 63d7cb157983: Waiting [2021-04-06T07:26:30.780Z] 745a02a5169b: Waiting [2021-04-06T07:26:30.780Z] b116817d02f9: Waiting [2021-04-06T07:26:30.780Z] 18c013af1878: Verifying Checksum [2021-04-06T07:26:30.780Z] 18c013af1878: Download complete [2021-04-06T07:26:30.780Z] a4357932f1b6: Verifying Checksum [2021-04-06T07:26:30.780Z] a4357932f1b6: Download complete [2021-04-06T07:26:30.780Z] 63d7cb157983: Verifying Checksum [2021-04-06T07:26:30.780Z] 63d7cb157983: Download complete [2021-04-06T07:26:30.780Z] b116817d02f9: Download complete [2021-04-06T07:26:30.780Z] 5f621e34cdf4: Verifying Checksum [2021-04-06T07:26:30.780Z] 5f621e34cdf4: Download complete [2021-04-06T07:26:31.387Z] 5f621e34cdf4: Pull complete [2021-04-06T07:26:32.009Z] a4357932f1b6: Pull complete [2021-04-06T07:26:32.293Z] 18c013af1878: Pull complete [2021-04-06T07:26:33.734Z] 745a02a5169b: Verifying Checksum [2021-04-06T07:26:33.734Z] 745a02a5169b: Download complete [2021-04-06T07:26:34.719Z] 00ac8860ef70: Download complete [2021-04-06T07:26:44.888Z] 00ac8860ef70: Pull complete [2021-04-06T07:26:45.162Z] 63d7cb157983: Pull complete [2021-04-06T07:26:45.434Z] b116817d02f9: Pull complete [2021-04-06T07:26:49.750Z] 745a02a5169b: Pull complete [2021-04-06T07:26:49.750Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-06T07:26:49.750Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-06T07:26:49.750Z] ---> b7e6874047d6 [2021-04-06T07:26:49.750Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T07:26:52.371Z] ---> Running in 3561fdb15434 [2021-04-06T07:26:52.371Z] Removing intermediate container 3561fdb15434 [2021-04-06T07:26:52.371Z] ---> 3782f994fb9f [2021-04-06T07:26:52.371Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T07:26:52.643Z] ---> Running in 4da92e2a720a [2021-04-06T07:26:54.641Z] Removing intermediate container 4da92e2a720a [2021-04-06T07:26:54.641Z] ---> f66b0020ace4 [2021-04-06T07:26:54.641Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-06T07:26:54.918Z] ---> Running in 94c711b92279 [2021-04-06T07:26:55.899Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-06T07:26:56.547Z] Running on prd-centos7-docker-4c-2g-32927 in /w/workspace/dgexfoundry_device-sdk-go_PR-862 [Pipeline] { [Pipeline] ws [2021-04-06T07:26:56.644Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-04-06T07:26:56.874Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-06T07:26:57.480Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-06T07:26:57.480Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-06T07:26:57.480Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-06T07:26:57.760Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-06T07:26:57.760Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-06T07:26:58.031Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-06T07:26:58.031Z] Executing busybox-1.31.1-r19.trigger [2021-04-06T07:26:58.031Z] OK: 144 MiB in 45 packages [2021-04-06T07:26:59.313Z] using credential edgex-jenkins-ssh [2021-04-06T07:26:59.378Z] Cloning the remote Git repository [2021-04-06T07:26:59.456Z] Removing intermediate container 94c711b92279 [2021-04-06T07:26:59.456Z] ---> a33b47f0ef17 [2021-04-06T07:26:59.456Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-06T07:26:59.456Z] ---> Running in ecdd38026dee [2021-04-06T07:27:00.052Z] Removing intermediate container ecdd38026dee [2021-04-06T07:27:00.052Z] ---> 276b2fe69abc [2021-04-06T07:27:00.052Z] Step 7/8 : COPY . . [2021-04-06T07:26:59.404Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T07:26:59.478Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-04-06T07:26:59.570Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T07:26:59.571Z] > git --version # timeout=10 [2021-04-06T07:26:59.582Z] > git --version # 'git version 2.24.3' [2021-04-06T07:26:59.583Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T07:26:59.623Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T07:27:00.667Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T07:27:00.682Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T07:27:00.698Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T07:27:00.712Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T07:27:00.713Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T07:27:00.717Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/862/head:refs/remotes/origin/PR-862 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-06T07:27:01.329Z] Merging remotes/origin/master commit 34bcbadecb817e113f443ebd9bc4fa59ecf970a2 into PR head commit 23b823046d84f5291defff3fba674fd24f017e99 [2021-04-06T07:27:01.434Z] Merge succeeded, producing 23b823046d84f5291defff3fba674fd24f017e99 [2021-04-06T07:27:01.435Z] Checking out Revision 23b823046d84f5291defff3fba674fd24f017e99 (PR-862) [2021-04-06T07:27:01.490Z] ---> 24c2cfd2def5 [2021-04-06T07:27:01.491Z] Step 8/8 : RUN go mod download [2021-04-06T07:27:01.491Z] ---> Running in 18e033389f92 [2021-04-06T07:27:01.338Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T07:27:01.345Z] > git checkout -f 23b823046d84f5291defff3fba674fd24f017e99 # timeout=10 [2021-04-06T07:27:01.391Z] > git remote # timeout=10 [2021-04-06T07:27:01.398Z] > git config --get remote.origin.url # timeout=10 [2021-04-06T07:27:01.407Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T07:27:01.413Z] > git merge 34bcbadecb817e113f443ebd9bc4fa59ecf970a2 # timeout=10 [2021-04-06T07:27:01.425Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-06T07:27:01.438Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T07:27:01.445Z] > git checkout -f 23b823046d84f5291defff3fba674fd24f017e99 # timeout=10 [2021-04-06T07:27:05.264Z] Commit message: "refactor: leverage latest profile cache" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T07:27:06.540Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-06T07:27:06.874Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-06T07:27:07.169Z] + sudo service docker restart [2021-04-06T07:27:07.169Z] + true [2021-04-06T07:27:07.169Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-06T07:27:08.183Z] provisioning config files... [2021-04-06T07:27:08.209Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4576795289648887286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-06T07:27:08.583Z] ---> docker-login.sh [2021-04-06T07:27:08.583Z] nexus3.edgexfoundry.org:10001 [2021-04-06T07:27:08.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T07:27:08.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T07:27:08.848Z] Configure a credential helper to remove this warning. See [2021-04-06T07:27:08.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T07:27:08.848Z] [2021-04-06T07:27:08.848Z] Login Succeeded [2021-04-06T07:27:08.848Z] nexus3.edgexfoundry.org:10002 [2021-04-06T07:27:09.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T07:27:09.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T07:27:09.112Z] Configure a credential helper to remove this warning. See [2021-04-06T07:27:09.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T07:27:09.112Z] [2021-04-06T07:27:09.112Z] Login Succeeded [2021-04-06T07:27:09.112Z] nexus3.edgexfoundry.org:10003 [2021-04-06T07:27:09.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T07:27:09.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T07:27:09.401Z] Configure a credential helper to remove this warning. See [2021-04-06T07:27:09.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T07:27:09.401Z] [2021-04-06T07:27:09.401Z] Login Succeeded [2021-04-06T07:27:09.401Z] nexus3.edgexfoundry.org:10004 [2021-04-06T07:27:09.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T07:27:09.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T07:27:09.401Z] Configure a credential helper to remove this warning. See [2021-04-06T07:27:09.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T07:27:09.401Z] [2021-04-06T07:27:09.401Z] Login Succeeded [2021-04-06T07:27:09.401Z] docker.io [2021-04-06T07:27:09.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T07:27:09.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T07:27:09.931Z] Configure a credential helper to remove this warning. See [2021-04-06T07:27:09.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T07:27:09.931Z] [2021-04-06T07:27:09.931Z] Login Succeeded [2021-04-06T07:27:09.931Z] ---> docker-login.sh ends [Pipeline] } [2021-04-06T07:27:09.940Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-06T07:27:10.311Z] ========================================================= [2021-04-06T07:27:10.311Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-06T07:27:10.311Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-06T07:27:10.693Z] + 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-06T07:27:10.693Z] Sending build context to Docker daemon 2.407MB [2021-04-06T07:27:10.693Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T07:27:10.693Z] Step 2/8 : FROM ${BASE} [2021-04-06T07:27:10.956Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-06T07:27:10.956Z] 188c0c94c7c5: Pulling fs layer [2021-04-06T07:27:10.956Z] 0ef7d3d256c8: Pulling fs layer [2021-04-06T07:27:10.956Z] de9db76c5a1d: Pulling fs layer [2021-04-06T07:27:10.956Z] bca2f99d35d6: Pulling fs layer [2021-04-06T07:27:10.956Z] 93359f2a8cfa: Pulling fs layer [2021-04-06T07:27:10.956Z] 7c6f9722023f: Pulling fs layer [2021-04-06T07:27:10.956Z] a35cf1a2eb13: Pulling fs layer [2021-04-06T07:27:10.956Z] 93359f2a8cfa: Waiting [2021-04-06T07:27:10.956Z] 7c6f9722023f: Waiting [2021-04-06T07:27:10.956Z] a35cf1a2eb13: Waiting [2021-04-06T07:27:10.956Z] bca2f99d35d6: Waiting [2021-04-06T07:27:10.956Z] de9db76c5a1d: Verifying Checksum [2021-04-06T07:27:10.956Z] de9db76c5a1d: Download complete [2021-04-06T07:27:10.956Z] 0ef7d3d256c8: Verifying Checksum [2021-04-06T07:27:10.956Z] 0ef7d3d256c8: Download complete [2021-04-06T07:27:10.956Z] 93359f2a8cfa: Verifying Checksum [2021-04-06T07:27:10.956Z] 93359f2a8cfa: Download complete [2021-04-06T07:27:11.217Z] 7c6f9722023f: Verifying Checksum [2021-04-06T07:27:11.217Z] 7c6f9722023f: Download complete [2021-04-06T07:27:11.481Z] 188c0c94c7c5: Verifying Checksum [2021-04-06T07:27:11.481Z] 188c0c94c7c5: Download complete [2021-04-06T07:27:11.747Z] 188c0c94c7c5: Pull complete [2021-04-06T07:27:11.747Z] 0ef7d3d256c8: Pull complete [2021-04-06T07:27:12.013Z] de9db76c5a1d: Pull complete [2021-04-06T07:27:13.411Z] a35cf1a2eb13: Verifying Checksum [2021-04-06T07:27:13.411Z] a35cf1a2eb13: Download complete [2021-04-06T07:27:13.411Z] bca2f99d35d6: Verifying Checksum [2021-04-06T07:27:13.411Z] bca2f99d35d6: Download complete [2021-04-06T07:27:18.777Z] bca2f99d35d6: Pull complete [2021-04-06T07:27:18.777Z] 93359f2a8cfa: Pull complete [2021-04-06T07:27:19.047Z] 7c6f9722023f: Pull complete [2021-04-06T07:27:23.290Z] a35cf1a2eb13: Pull complete [2021-04-06T07:27:23.290Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-06T07:27:23.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-06T07:27:23.290Z] ---> a62c8e92a672 [2021-04-06T07:27:23.290Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T07:27:23.290Z] ---> Running in c793b4ca1595 [2021-04-06T07:27:23.562Z] Removing intermediate container c793b4ca1595 [2021-04-06T07:27:23.562Z] ---> 8958f99a8449 [2021-04-06T07:27:23.562Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T07:27:23.562Z] ---> Running in beccf7f3ea89 [2021-04-06T07:27:24.973Z] Removing intermediate container beccf7f3ea89 [2021-04-06T07:27:24.973Z] ---> 61993903ef1c [2021-04-06T07:27:24.973Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-06T07:27:24.973Z] ---> Running in bee07c5f0ae2 [2021-04-06T07:27:25.928Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-06T07:27:26.880Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-06T07:27:27.143Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-06T07:27:27.143Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-06T07:27:27.405Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-06T07:27:27.405Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-06T07:27:27.667Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-06T07:27:27.668Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-06T07:27:27.668Z] Executing busybox-1.31.1-r19.trigger [2021-04-06T07:27:27.668Z] OK: 167 MiB in 45 packages [2021-04-06T07:27:28.341Z] Removing intermediate container 18e033389f92 [2021-04-06T07:27:28.341Z] ---> ca126ea6beab [2021-04-06T07:27:28.341Z] Successfully built ca126ea6beab [2021-04-06T07:27:28.341Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T07:27:28.620Z] Removing intermediate container bee07c5f0ae2 [2021-04-06T07:27:28.620Z] ---> 65e5e51af55c [2021-04-06T07:27:28.620Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-06T07:27:28.620Z] ---> Running in aaa0aea171e5 [2021-04-06T07:27:28.620Z] Removing intermediate container aaa0aea171e5 [2021-04-06T07:27:28.620Z] ---> 624e8ee06b9b [2021-04-06T07:27:28.620Z] Step 7/8 : COPY . . [2021-04-06T07:27:28.682Z] + docker inspect -f . ci-base-image-arm64 [2021-04-06T07:27:28.682Z] . [Pipeline] withDockerContainer [2021-04-06T07:27:28.955Z] prd-ubuntu18.04-docker-arm64-4c-16g-32926 does not seem to be running inside a container [2021-04-06T07:27:29.052Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-06T07:27:30.020Z] ---> b4b8f83d3bd2 [2021-04-06T07:27:30.020Z] Step 8/8 : RUN go mod download [2021-04-06T07:27:30.020Z] ---> Running in 92b7f1968936 [2021-04-06T07:27:30.641Z] $ docker top 498e5388dc850572b74900f889d0bcf476f65c38133954cfa6c81f3bb81047c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T07:27:31.675Z] + go version [2021-04-06T07:27:31.675Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-06T07:27:31.707Z] $ docker stop --time=1 498e5388dc850572b74900f889d0bcf476f65c38133954cfa6c81f3bb81047c0 [2021-04-06T07:27:33.622Z] $ docker rm -f 498e5388dc850572b74900f889d0bcf476f65c38133954cfa6c81f3bb81047c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-06T07:27:34.630Z] + docker inspect -f . ci-base-image-arm64 [2021-04-06T07:27:34.631Z] . [Pipeline] withDockerContainer [2021-04-06T07:27:34.898Z] prd-ubuntu18.04-docker-arm64-4c-16g-32926 does not seem to be running inside a container [2021-04-06T07:27:34.987Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-06T07:27:36.591Z] $ docker top 49648ba0bf96c76a618aa1fdce45b5136a32b226b2f729a9980732548f957b18 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T07:27:37.627Z] + make test [2021-04-06T07:27:37.627Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-06T07:27:52.067Z] Removing intermediate container 92b7f1968936 [2021-04-06T07:27:52.067Z] ---> 8e62ea4029e8 [2021-04-06T07:27:52.067Z] Successfully built 8e62ea4029e8 [2021-04-06T07:27:52.067Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T07:27:52.384Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-06T07:27:52.385Z] . [Pipeline] withDockerContainer [2021-04-06T07:27:52.526Z] prd-centos7-docker-4c-2g-32927 does not seem to be running inside a container [2021-04-06T07:27:52.585Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-06T07:27:53.452Z] $ docker top 549d450821d593182c23cc3deaec08d89cbf25b519ac2394de178e3ad8ff3910 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T07:27:53.986Z] + go version [2021-04-06T07:27:53.986Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-06T07:27:54.001Z] $ docker stop --time=1 549d450821d593182c23cc3deaec08d89cbf25b519ac2394de178e3ad8ff3910 [2021-04-06T07:27:55.350Z] $ docker rm -f 549d450821d593182c23cc3deaec08d89cbf25b519ac2394de178e3ad8ff3910 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-06T07:27:56.206Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-06T07:27:56.206Z] . [Pipeline] withDockerContainer [2021-04-06T07:27:56.310Z] prd-centos7-docker-4c-2g-32927 does not seem to be running inside a container [2021-04-06T07:27:56.360Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-06T07:27:56.949Z] $ docker top dced81941fc86074ce73f47af7b0ebef936edca97f8c257f2a049a0dfd191798 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T07:27:57.469Z] + make test [2021-04-06T07:27:57.469Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-06T07:27:59.841Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-06T07:28:05.705Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-06T07:28:27.879Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-06T07:28:27.879Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-06T07:28:27.879Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-06T07:28:27.879Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-06T07:28:27.879Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-06T07:28:28.462Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.082s coverage: 28.1% of statements [2021-04-06T07:28:28.462Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.084s coverage: 78.9% of statements [2021-04-06T07:28:29.433Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.080s coverage: 7.8% of statements [2021-04-06T07:28:29.433Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-06T07:28:29.433Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-06T07:28:29.433Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-06T07:28:29.433Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.100s coverage: 32.5% of statements [2021-04-06T07:28:29.433Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-06T07:28:29.433Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-06T07:28:29.433Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-06T07:28:30.021Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.096s coverage: 57.3% of statements [2021-04-06T07:28:30.598Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.195s coverage: 6.6% of statements [2021-04-06T07:28:30.598Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements [2021-04-06T07:28:30.598Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-06T07:28:30.598Z] GO111MODULE=on go vet ./... [2021-04-06T07:28:45.688Z] gofmt -l . [2021-04-06T07:28:45.688Z] [ "`gofmt -l .`" = "" ] [2021-04-06T07:28:45.688Z] ./bin/test-attribution-txt.sh [2021-04-06T07:28:45.957Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-06T07:28:46.252Z] $ docker stop --time=1 dced81941fc86074ce73f47af7b0ebef936edca97f8c257f2a049a0dfd191798 [2021-04-06T07:28:46.940Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-06T07:28:46.940Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-06T07:28:46.940Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-06T07:28:46.940Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-06T07:28:46.940Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-06T07:28:49.731Z] $ docker rm -f dced81941fc86074ce73f47af7b0ebef936edca97f8c257f2a049a0dfd191798 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T07:28:50.509Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-06T07:28:50.982Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-06T07:28:53.835Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-06T07:28:54.134Z] + ls -al . [2021-04-06T07:28:54.134Z] total 188 [2021-04-06T07:28:54.134Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 6 07:28 . [2021-04-06T07:28:54.134Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 6 07:26 .. [2021-04-06T07:28:54.134Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 6 07:27 bin [2021-04-06T07:28:54.134Z] -rw-r--r--. 1 jenkins jenkins 99190 Apr 6 07:28 coverage.out [2021-04-06T07:28:54.134Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 6 07:27 Dockerfile.build [2021-04-06T07:28:54.134Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 6 07:27 .dockerignore [2021-04-06T07:28:54.134Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 6 07:27 example [2021-04-06T07:28:54.134Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 6 07:27 .git [2021-04-06T07:28:54.134Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 6 07:27 .github [2021-04-06T07:28:54.134Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 6 07:27 .gitignore [2021-04-06T07:28:54.134Z] -rw-r--r--. 1 jenkins jenkins 572 Apr 6 07:28 go.mod [2021-04-06T07:28:54.134Z] -rw-r--r--. 1 jenkins jenkins 20946 Apr 6 07:28 go.sum [2021-04-06T07:28:54.134Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 6 07:27 internal [2021-04-06T07:28:54.134Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 6 07:27 Jenkinsfile [2021-04-06T07:28:54.134Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 6 07:27 LICENSE [2021-04-06T07:28:54.135Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 6 07:27 Makefile [2021-04-06T07:28:54.135Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 6 07:27 openapi [2021-04-06T07:28:54.135Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 6 07:27 pkg [2021-04-06T07:28:54.135Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 6 07:27 README.md [2021-04-06T07:28:54.135Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 6 07:27 RELEASE-NOTES.txt [2021-04-06T07:28:54.135Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 6 07:27 snap [2021-04-06T07:28:54.135Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 6 07:24 VERSION [2021-04-06T07:28:54.135Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 6 07:27 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-06T07:28:54.443Z] + 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=23b823046d84f5291defff3fba674fd24f017e99 --label arch=amd64 --label version=0.0.0 . [2021-04-06T07:28:54.706Z] Sending build context to Docker daemon 2.507MB [2021-04-06T07:28:54.706Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T07:28:54.706Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-06T07:28:54.706Z] ---> 8e62ea4029e8 [2021-04-06T07:28:54.706Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-06T07:28:55.289Z] ---> Running in 261295aab99c [2021-04-06T07:28:55.289Z] Removing intermediate container 261295aab99c [2021-04-06T07:28:55.289Z] ---> 976d21c52827 [2021-04-06T07:28:55.289Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T07:28:55.558Z] ---> Running in 247b8d961874 [2021-04-06T07:28:55.558Z] Removing intermediate container 247b8d961874 [2021-04-06T07:28:55.558Z] ---> 38f0b7f3040d [2021-04-06T07:28:55.558Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T07:28:55.821Z] ---> Running in 9a2dc8cb45df [2021-04-06T07:28:56.789Z] Removing intermediate container 9a2dc8cb45df [2021-04-06T07:28:56.789Z] ---> 0d8b5d3dad81 [2021-04-06T07:28:56.789Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-06T07:28:56.789Z] ---> Running in f7d8e93b420d [2021-04-06T07:28:57.368Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-06T07:28:58.314Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-06T07:28:58.577Z] OK: 167 MiB in 45 packages [2021-04-06T07:28:59.152Z] Removing intermediate container f7d8e93b420d [2021-04-06T07:28:59.152Z] ---> 814c1c24602e [2021-04-06T07:28:59.152Z] Step 7/23 : COPY . . [2021-04-06T07:28:59.351Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.130s coverage: 28.1% of statements [2021-04-06T07:28:59.351Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.173s coverage: 78.9% of statements [2021-04-06T07:28:59.351Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.204s coverage: 7.8% of statements [2021-04-06T07:28:59.352Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-06T07:28:59.352Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-06T07:28:59.352Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-06T07:29:00.119Z] ---> 875c07483c79 [2021-04-06T07:29:00.119Z] Step 8/23 : RUN go mod download [2021-04-06T07:29:00.119Z] ---> Running in de2b03404b9c [2021-04-06T07:29:01.357Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.289s coverage: 32.5% of statements [2021-04-06T07:29:01.357Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-06T07:29:01.357Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-06T07:29:01.357Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-06T07:29:01.533Z] Removing intermediate container de2b03404b9c [2021-04-06T07:29:01.533Z] ---> 5a87c0169580 [2021-04-06T07:29:01.533Z] Step 9/23 : RUN make build [2021-04-06T07:29:01.533Z] ---> Running in 11150ed1b425 [2021-04-06T07:29:01.803Z] 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-06T07:29:04.799Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.255s coverage: 57.3% of statements [2021-04-06T07:29:04.799Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.145s coverage: 6.6% of statements [2021-04-06T07:29:04.799Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.149s coverage: 5.0% of statements [2021-04-06T07:29:04.799Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-06T07:29:05.076Z] GO111MODULE=on go vet ./... [2021-04-06T07:29:14.223Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-06T07:29:14.223Z] Removing intermediate container 11150ed1b425 [2021-04-06T07:29:14.223Z] ---> 1d94ab462901 [2021-04-06T07:29:14.223Z] Step 10/23 : FROM alpine:3.12 [2021-04-06T07:29:14.801Z] 3.12: Pulling from library/alpine [2021-04-06T07:29:14.801Z] 532819f3e44c: Pulling fs layer [2021-04-06T07:29:15.067Z] 532819f3e44c: Download complete [2021-04-06T07:29:15.333Z] 532819f3e44c: Pull complete [2021-04-06T07:29:15.333Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-06T07:29:15.333Z] Status: Downloaded newer image for alpine:3.12 [2021-04-06T07:29:15.333Z] ---> 7230e588e954 [2021-04-06T07:29:15.333Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T07:29:15.333Z] ---> Running in 7f7d6acde09a [2021-04-06T07:29:15.597Z] Removing intermediate container 7f7d6acde09a [2021-04-06T07:29:15.597Z] ---> 26229d541c30 [2021-04-06T07:29:15.597Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T07:29:15.597Z] ---> Running in 58863d7777a1 [2021-04-06T07:29:17.003Z] Removing intermediate container 58863d7777a1 [2021-04-06T07:29:17.003Z] ---> 8d4a091f56a7 [2021-04-06T07:29:17.003Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-06T07:29:17.003Z] ---> Running in 32f9af97c613 [2021-04-06T07:29:17.269Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-06T07:29:18.219Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-06T07:29:18.481Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-06T07:29:18.746Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-06T07:29:18.746Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-06T07:29:19.008Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-06T07:29:19.008Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-06T07:29:19.008Z] Executing busybox-1.31.1-r20.trigger [2021-04-06T07:29:19.272Z] OK: 8 MiB in 19 packages [2021-04-06T07:29:19.534Z] Removing intermediate container 32f9af97c613 [2021-04-06T07:29:19.534Z] ---> a54aa01bd565 [2021-04-06T07:29:19.534Z] Step 14/23 : WORKDIR / [2021-04-06T07:29:19.796Z] ---> Running in 51ec8da07866 [2021-04-06T07:29:19.796Z] Removing intermediate container 51ec8da07866 [2021-04-06T07:29:19.796Z] ---> c3d6ae3b3811 [2021-04-06T07:29:19.796Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-06T07:29:20.057Z] ---> 39ae5423392f [2021-04-06T07:29:20.057Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-06T07:29:21.004Z] ---> 01dbe740b0e4 [2021-04-06T07:29:21.004Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-06T07:29:21.004Z] ---> aec110b7876f [2021-04-06T07:29:21.004Z] Step 18/23 : EXPOSE 49990 [2021-04-06T07:29:21.004Z] ---> Running in 983c63b083a2 [2021-04-06T07:29:21.265Z] Removing intermediate container 983c63b083a2 [2021-04-06T07:29:21.265Z] ---> 4e4539540623 [2021-04-06T07:29:21.265Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-06T07:29:21.265Z] ---> Running in da6ed02a3870 [2021-04-06T07:29:21.527Z] Removing intermediate container da6ed02a3870 [2021-04-06T07:29:21.527Z] ---> c48d31aecc35 [2021-04-06T07:29:21.527Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-06T07:29:21.527Z] ---> Running in 0eb011d72d18 [2021-04-06T07:29:21.788Z] Removing intermediate container 0eb011d72d18 [2021-04-06T07:29:21.788Z] ---> c1bd96b52d04 [2021-04-06T07:29:21.788Z] Step 21/23 : LABEL arch=amd64 [2021-04-06T07:29:21.788Z] ---> Running in d70ebda0b928 [2021-04-06T07:29:21.788Z] Removing intermediate container d70ebda0b928 [2021-04-06T07:29:21.788Z] ---> 028f75d2ff33 [2021-04-06T07:29:21.788Z] Step 22/23 : LABEL git_sha=23b823046d84f5291defff3fba674fd24f017e99 [2021-04-06T07:29:22.051Z] ---> Running in c743d4135670 [2021-04-06T07:29:22.051Z] Removing intermediate container c743d4135670 [2021-04-06T07:29:22.051Z] ---> 46c846f1f753 [2021-04-06T07:29:22.051Z] Step 23/23 : LABEL version=0.0.0 [2021-04-06T07:29:22.312Z] ---> Running in 974b00f38e92 [2021-04-06T07:29:22.313Z] Removing intermediate container 974b00f38e92 [2021-04-06T07:29:22.313Z] ---> e1cd13e587ff [2021-04-06T07:29:22.313Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-06T07:29:22.313Z] Successfully built e1cd13e587ff [2021-04-06T07:29:22.313Z] 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-06T07:29:23.439Z] ---> job-cost.sh [2021-04-06T07:29:23.439Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-B5vl [2021-04-06T07:29:38.410Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-06T07:29:52.112Z] gofmt -l . [2021-04-06T07:29:52.113Z] [ "`gofmt -l .`" = "" ] [2021-04-06T07:29:52.113Z] ./bin/test-attribution-txt.sh [2021-04-06T07:29:52.113Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-06T07:29:52.154Z] $ docker stop --time=1 49648ba0bf96c76a618aa1fdce45b5136a32b226b2f729a9980732548f957b18 [2021-04-06T07:29:54.463Z] $ docker rm -f 49648ba0bf96c76a618aa1fdce45b5136a32b226b2f729a9980732548f957b18 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T07:29:55.597Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-06T07:29:55.666Z] Warning: overwriting stash ‘coverage-report’ [2021-04-06T07:29:56.538Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T07:29:57.273Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-06T07:29:57.642Z] + ls -al . [2021-04-06T07:29:57.643Z] total 224 [2021-04-06T07:29:57.643Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 07:29 . [2021-04-06T07:29:57.643Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 07:26 .. [2021-04-06T07:29:57.643Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 07:26 .dockerignore [2021-04-06T07:29:57.643Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 07:26 .git [2021-04-06T07:29:57.643Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 07:26 .github [2021-04-06T07:29:57.643Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 6 07:26 .gitignore [2021-04-06T07:29:57.643Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 6 07:26 Dockerfile.build [2021-04-06T07:29:57.643Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 6 07:26 Jenkinsfile [2021-04-06T07:29:57.643Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 6 07:26 LICENSE [2021-04-06T07:29:57.643Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 6 07:26 Makefile [2021-04-06T07:29:57.643Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 6 07:26 README.md [2021-04-06T07:29:57.643Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 6 07:26 RELEASE-NOTES.txt [2021-04-06T07:29:57.643Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 07:24 VERSION [2021-04-06T07:29:57.643Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 07:26 bin [2021-04-06T07:29:57.643Z] -rw-r--r-- 1 jenkins jenkins 99189 Apr 6 07:29 coverage.out [2021-04-06T07:29:57.643Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 07:26 example [2021-04-06T07:29:57.643Z] -rw-r--r-- 1 jenkins jenkins 572 Apr 6 07:29 go.mod [2021-04-06T07:29:57.643Z] -rw-r--r-- 1 jenkins jenkins 20946 Apr 6 07:29 go.sum [2021-04-06T07:29:57.643Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 6 07:26 internal [2021-04-06T07:29:57.643Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 07:26 openapi [2021-04-06T07:29:57.643Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 07:26 pkg [2021-04-06T07:29:57.643Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 07:26 snap [2021-04-06T07:29:57.643Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 6 07:26 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-06T07:29:58.008Z] + 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=23b823046d84f5291defff3fba674fd24f017e99 --label arch=arm64 --label version=0.0.0 . [2021-04-06T07:29:58.285Z] Sending build context to Docker daemon 2.506MB [2021-04-06T07:29:58.558Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T07:29:58.558Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-06T07:29:58.558Z] ---> ca126ea6beab [2021-04-06T07:29:58.558Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-06T07:29:58.847Z] ---> Running in ff49314cf5a6 [2021-04-06T07:29:59.123Z] Removing intermediate container ff49314cf5a6 [2021-04-06T07:29:59.123Z] ---> d7c2b7f624db [2021-04-06T07:29:59.123Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T07:29:59.395Z] ---> Running in 65919421209f [2021-04-06T07:29:59.666Z] Removing intermediate container 65919421209f [2021-04-06T07:29:59.666Z] ---> f67a2f7afe1f [2021-04-06T07:29:59.666Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T07:29:59.938Z] ---> Running in 830160f7184f [2021-04-06T07:30:01.914Z] Removing intermediate container 830160f7184f [2021-04-06T07:30:01.914Z] ---> 45bd68c1a7d6 [2021-04-06T07:30:01.914Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-06T07:30:02.189Z] ---> Running in 6200743d83a5 [2021-04-06T07:30:03.178Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-06T07:30:04.151Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-06T07:30:04.743Z] OK: 144 MiB in 45 packages [2021-04-06T07:30:05.074Z] lf-activate-venv(): INFO: Adding /tmp/venv-B5vl/bin to PATH [2021-04-06T07:30:05.074Z] INFO: No Stack... [2021-04-06T07:30:05.735Z] Removing intermediate container 6200743d83a5 [2021-04-06T07:30:05.735Z] ---> d1da4ae7db3c [2021-04-06T07:30:05.735Z] Step 7/23 : COPY . . [2021-04-06T07:30:06.038Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-06T07:30:06.613Z] INFO: Archiving Costs [Pipeline] sh [2021-04-06T07:30:06.922Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-04-06T07:30:06.922Z] + cut -d, -f6 [Pipeline] lock [2021-04-06T07:30:07.009Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-862-2-stack-cost] [2021-04-06T07:30:07.018Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-862-2-stack-cost] did not exist. Created. [2021-04-06T07:30:07.018Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-862-2-stack-cost] [Pipeline] { [Pipeline] unstash [2021-04-06T07:30:07.168Z] ---> 62b88769ddb1 [2021-04-06T07:30:07.168Z] Step 8/23 : RUN go mod download [2021-04-06T07:30:07.168Z] ---> Running in 5bd9180df4b6 [Pipeline] sh [2021-04-06T07:30:07.463Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-06T07:30:07.560Z] Stashed 1 file(s) [Pipeline] } [2021-04-06T07:30:07.572Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-862-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-06T07:30:09.791Z] Removing intermediate container 5bd9180df4b6 [2021-04-06T07:30:09.791Z] ---> d949b246dde8 [2021-04-06T07:30:09.791Z] Step 9/23 : RUN make build [2021-04-06T07:30:09.791Z] ---> Running in 1bdc9db3854f [2021-04-06T07:30:10.771Z] 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-06T07:30:43.159Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-06T07:30:45.778Z] Removing intermediate container 1bdc9db3854f [2021-04-06T07:30:45.778Z] ---> 782dfe06a5f3 [2021-04-06T07:30:45.778Z] Step 10/23 : FROM alpine:3.12 [2021-04-06T07:30:46.049Z] 3.12: Pulling from library/alpine [2021-04-06T07:30:46.318Z] 9a219e8acc52: Pulling fs layer [2021-04-06T07:30:46.318Z] 9a219e8acc52: Verifying Checksum [2021-04-06T07:30:46.318Z] 9a219e8acc52: Download complete [2021-04-06T07:30:46.912Z] 9a219e8acc52: Pull complete [2021-04-06T07:30:46.912Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-06T07:30:46.912Z] Status: Downloaded newer image for alpine:3.12 [2021-04-06T07:30:46.912Z] ---> d75e27dfc0a0 [2021-04-06T07:30:46.912Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T07:30:47.182Z] ---> Running in 0bddca7db8fa [2021-04-06T07:30:47.774Z] Removing intermediate container 0bddca7db8fa [2021-04-06T07:30:47.774Z] ---> 7c3b2cac2b98 [2021-04-06T07:30:47.774Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T07:30:47.774Z] ---> Running in a45ab33cdb66 [2021-04-06T07:30:49.751Z] Removing intermediate container a45ab33cdb66 [2021-04-06T07:30:49.751Z] ---> a456b722fb4a [2021-04-06T07:30:49.751Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-06T07:30:49.751Z] ---> Running in b7c5bfb0878c [2021-04-06T07:30:50.729Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-06T07:30:51.705Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-06T07:30:52.296Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-06T07:30:52.296Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-06T07:30:52.567Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-06T07:30:52.840Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-06T07:30:52.840Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-06T07:30:52.840Z] Executing busybox-1.31.1-r20.trigger [2021-04-06T07:30:52.840Z] OK: 8 MiB in 19 packages [2021-04-06T07:30:54.269Z] Removing intermediate container b7c5bfb0878c [2021-04-06T07:30:54.269Z] ---> 84b002e2b0c3 [2021-04-06T07:30:54.269Z] Step 14/23 : WORKDIR / [2021-04-06T07:30:54.269Z] ---> Running in b1548ae1dd1b [2021-04-06T07:30:54.862Z] Removing intermediate container b1548ae1dd1b [2021-04-06T07:30:54.862Z] ---> a7983c2954da [2021-04-06T07:30:54.862Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-06T07:30:55.455Z] ---> 64fed20079fb [2021-04-06T07:30:55.455Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-06T07:30:56.890Z] ---> ffdb52c394bf [2021-04-06T07:30:56.890Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-06T07:30:57.487Z] ---> 39ae788a7829 [2021-04-06T07:30:57.487Z] Step 18/23 : EXPOSE 49990 [2021-04-06T07:30:57.487Z] ---> Running in 7f60da622d86 [2021-04-06T07:30:58.083Z] Removing intermediate container 7f60da622d86 [2021-04-06T07:30:58.083Z] ---> 8f9d623ec283 [2021-04-06T07:30:58.083Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-06T07:30:58.083Z] ---> Running in 5a2b04ee5cfc [2021-04-06T07:30:58.676Z] Removing intermediate container 5a2b04ee5cfc [2021-04-06T07:30:58.676Z] ---> 0c0cb71a44d0 [2021-04-06T07:30:58.676Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-06T07:30:58.676Z] ---> Running in ff64ee05f45f [2021-04-06T07:30:59.274Z] Removing intermediate container ff64ee05f45f [2021-04-06T07:30:59.274Z] ---> 3b001c1b6b2d [2021-04-06T07:30:59.274Z] Step 21/23 : LABEL arch=arm64 [2021-04-06T07:30:59.274Z] ---> Running in 5090e6cbbbd9 [2021-04-06T07:30:59.870Z] Removing intermediate container 5090e6cbbbd9 [2021-04-06T07:30:59.870Z] ---> 10cd6fdb3fa3 [2021-04-06T07:30:59.870Z] Step 22/23 : LABEL git_sha=23b823046d84f5291defff3fba674fd24f017e99 [2021-04-06T07:30:59.870Z] ---> Running in ab60c39b159e [2021-04-06T07:31:00.142Z] Removing intermediate container ab60c39b159e [2021-04-06T07:31:00.142Z] ---> c85e4d09ef2b [2021-04-06T07:31:00.142Z] Step 23/23 : LABEL version=0.0.0 [2021-04-06T07:31:00.414Z] ---> Running in 4b38b1fcffe3 [2021-04-06T07:31:01.010Z] Removing intermediate container 4b38b1fcffe3 [2021-04-06T07:31:01.011Z] ---> 43100168f49a [2021-04-06T07:31:01.011Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-06T07:31:01.011Z] Successfully built 43100168f49a [2021-04-06T07:31:01.011Z] 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-06T07:31:01.918Z] ---> job-cost.sh [2021-04-06T07:31:01.918Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-I4G9 [2021-04-06T07:31:40.867Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-06T07:33:17.610Z] lf-activate-venv(): INFO: Adding /tmp/venv-I4G9/bin to PATH [2021-04-06T07:33:17.610Z] INFO: No Stack... [2021-04-06T07:33:17.610Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-06T07:33:17.610Z] INFO: Archiving Costs [Pipeline] sh [2021-04-06T07:33:17.949Z] + cut -d, -f6 [2021-04-06T07:33:17.949Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2021-04-06T07:33:18.058Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-862-2-stack-cost] [2021-04-06T07:33:18.070Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-862-2-stack-cost] did not exist. Created. [2021-04-06T07:33:18.070Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-862-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-06T07:33:18.523Z] /w/workspace/device-sdk-go/2@tmp/durable-146a145a/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-146a145a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-06T07:33:18.867Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-06T07:33:18.937Z] Warning: overwriting stash ‘stack-cost’ [2021-04-06T07:33:19.138Z] Stashed 1 file(s) [Pipeline] } [2021-04-06T07:33:19.146Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-862-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-04-06T07:33:20.686Z] provisioning config files... [2021-04-06T07:33:20.696Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/config4506972993646379833tmp [Pipeline] { [Pipeline] sh [2021-04-06T07:33:21.127Z] + set +x [2021-04-06T07:33:21.127Z] + curl -s https://codecov.io/bash [2021-04-06T07:33:21.127Z] + bash -s -- [2021-04-06T07:33:21.390Z] [2021-04-06T07:33:21.390Z] _____ _ [2021-04-06T07:33:21.390Z] / ____| | | [2021-04-06T07:33:21.390Z] | | ___ __| | ___ ___ _____ __ [2021-04-06T07:33:21.390Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-06T07:33:21.390Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-06T07:33:21.390Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-06T07:33:21.390Z] Bash-20210309-2b87ace [2021-04-06T07:33:21.390Z] [2021-04-06T07:33:21.390Z] [2021-04-06T07:33:21.390Z] ==> git version 2.24.3 found [2021-04-06T07:33:21.390Z] ==> 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-06T07:33:21.390Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-06T07:33:21.390Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-06T07:33:21.390Z] ==> Jenkins CI detected. [2021-04-06T07:33:21.390Z] project root: . [2021-04-06T07:33:21.390Z] --> token set from env [2021-04-06T07:33:21.390Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-06T07:33:21.390Z] ==> Running gcov in . (disable via -X gcov) [2021-04-06T07:33:21.390Z] ==> Python coveragepy not found [2021-04-06T07:33:21.390Z] ==> Searching for coverage reports in: [2021-04-06T07:33:21.390Z] + . [2021-04-06T07:33:21.390Z] -> Found 1 reports [2021-04-06T07:33:21.390Z] ==> Detecting git/mercurial file structure [2021-04-06T07:33:21.390Z] ==> Reading reports [2021-04-06T07:33:21.390Z] + ./coverage.out bytes=99189 [2021-04-06T07:33:21.390Z] ==> Appending adjustments [2021-04-06T07:33:21.390Z] https://docs.codecov.io/docs/fixing-reports [2021-04-06T07:33:21.653Z] + Found adjustments [2021-04-06T07:33:21.653Z] ==> Gzipping contents [2021-04-06T07:33:21.653Z] 16K /tmp/codecov.bEdPIR.gz [2021-04-06T07:33:21.653Z] ==> Uploading reports [2021-04-06T07:33:21.653Z] url: https://codecov.io [2021-04-06T07:33:21.653Z] query: branch=PR-862&commit=23b823046d84f5291defff3fba674fd24f017e99&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-862%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=862&job=&cmd_args= [2021-04-06T07:33:21.653Z] -> Pinging Codecov [2021-04-06T07:33:21.653Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-862&commit=23b823046d84f5291defff3fba674fd24f017e99&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-862%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=862&job=&cmd_args= [2021-04-06T07:33:22.238Z] -> Uploading to [2021-04-06T07:33:22.238Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-06/7E55EF52A471D76F132DFD9A03CDDE97/23b823046d84f5291defff3fba674fd24f017e99/8aa8fb75-19d7-4cbc-955d-8a6a5a84f73a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210406T073322Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3eca8239e11a52461983bde453bb41d342aa4b8627fda1088a3e440b5408b874 [2021-04-06T07:33:22.238Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-06T07:33:22.238Z] Dload Upload Total Spent Left Speed [2021-04-06T07:33:22.814Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13419 0 0 100 13419 0 27316 --:--:-- --:--:-- --:--:-- 27329 [2021-04-06T07:33:22.814Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/23b823046d84f5291defff3fba674fd24f017e99 [Pipeline] } [2021-04-06T07:33:22.824Z] 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-06T07:33:25.293Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T07:33:25.598Z] ---> package-listing.sh [2021-04-06T07:33:25.598Z] ++ facter osfamily [2021-04-06T07:33:25.598Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-06T07:33:25.598Z] + OS_FAMILY=redhat [2021-04-06T07:33:25.598Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-862 [2021-04-06T07:33:25.598Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-06T07:33:25.598Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-06T07:33:25.598Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-06T07:33:25.598Z] + PACKAGES=/tmp/packages_start.txt [2021-04-06T07:33:25.598Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-862 ']' [2021-04-06T07:33:25.598Z] + PACKAGES=/tmp/packages_end.txt [2021-04-06T07:33:25.598Z] + case "${OS_FAMILY}" in [2021-04-06T07:33:25.598Z] + rpm -qa [2021-04-06T07:33:25.598Z] + sort [2021-04-06T07:33:30.926Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-06T07:33:30.926Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-06T07:33:30.926Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-06T07:33:30.926Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-862 ']' [2021-04-06T07:33:30.926Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-862/archives/ [2021-04-06T07:33:30.926Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-862/archives/ [Pipeline] echo [2021-04-06T07:33:30.939Z] 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-862/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-06T07:33:31.236Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-06T07:33:31.545Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T07:33:31.545Z] [2021-04-06T07:33:31.545Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-06T07:33:31.893Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T07:33:31.893Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-06T07:33:31.893Z] df20fa9351a1: Pulling fs layer [2021-04-06T07:33:31.893Z] 36b3adc4ff6f: Pulling fs layer [2021-04-06T07:33:31.893Z] 8ad3a11d3b57: Pulling fs layer [2021-04-06T07:33:31.893Z] 46f8f816bc3b: Pulling fs layer [2021-04-06T07:33:31.893Z] 93b61091891f: Pulling fs layer [2021-04-06T07:33:31.893Z] 93b9cdb0e59b: Pulling fs layer [2021-04-06T07:33:31.893Z] 5e14af77c1be: Pulling fs layer [2021-04-06T07:33:31.893Z] 01666e4c0597: Pulling fs layer [2021-04-06T07:33:31.893Z] aa168da1d23b: Pulling fs layer [2021-04-06T07:33:31.893Z] 93b9cdb0e59b: Waiting [2021-04-06T07:33:31.893Z] 5e14af77c1be: Waiting [2021-04-06T07:33:31.893Z] 01666e4c0597: Waiting [2021-04-06T07:33:31.893Z] 46f8f816bc3b: Waiting [2021-04-06T07:33:31.893Z] aa168da1d23b: Waiting [2021-04-06T07:33:31.893Z] 93b61091891f: Waiting [2021-04-06T07:33:31.893Z] 36b3adc4ff6f: Verifying Checksum [2021-04-06T07:33:31.893Z] 36b3adc4ff6f: Download complete [2021-04-06T07:33:31.893Z] 46f8f816bc3b: Verifying Checksum [2021-04-06T07:33:31.893Z] 46f8f816bc3b: Download complete [2021-04-06T07:33:32.161Z] df20fa9351a1: Verifying Checksum [2021-04-06T07:33:32.161Z] df20fa9351a1: Download complete [2021-04-06T07:33:32.162Z] 93b9cdb0e59b: Verifying Checksum [2021-04-06T07:33:32.162Z] 93b9cdb0e59b: Download complete [2021-04-06T07:33:32.162Z] 93b61091891f: Download complete [2021-04-06T07:33:32.162Z] 5e14af77c1be: Verifying Checksum [2021-04-06T07:33:32.162Z] 5e14af77c1be: Download complete [2021-04-06T07:33:32.162Z] 01666e4c0597: Verifying Checksum [2021-04-06T07:33:32.162Z] 01666e4c0597: Download complete [2021-04-06T07:33:32.424Z] df20fa9351a1: Pull complete [2021-04-06T07:33:32.687Z] 36b3adc4ff6f: Pull complete [2021-04-06T07:33:32.951Z] 8ad3a11d3b57: Download complete [2021-04-06T07:33:33.904Z] 8ad3a11d3b57: Pull complete [2021-04-06T07:33:33.904Z] 46f8f816bc3b: Pull complete [2021-04-06T07:33:34.479Z] 93b61091891f: Pull complete [2021-04-06T07:33:34.479Z] aa168da1d23b: Verifying Checksum [2021-04-06T07:33:34.479Z] aa168da1d23b: Download complete [2021-04-06T07:33:34.743Z] 93b9cdb0e59b: Pull complete [2021-04-06T07:33:34.743Z] 5e14af77c1be: Pull complete [2021-04-06T07:33:35.010Z] 01666e4c0597: Pull complete [2021-04-06T07:33:41.638Z] aa168da1d23b: Pull complete [2021-04-06T07:33:41.638Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-06T07:33:41.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T07:33:41.638Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-06T07:33:41.842Z] prd-centos7-docker-4c-2g-32925 does not seem to be running inside a container [2021-04-06T07:33:41.887Z] $ 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-862/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-862 -v /w/workspace/dgexfoundry_device-sdk-go_PR-862:/w/workspace/dgexfoundry_device-sdk-go_PR-862:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-06T07:33:45.586Z] $ docker top 3ca1d90d74428085fb711f9d60260061f5201180aced8540db08942a6962d6e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T07:33:46.115Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-06T07:33:46.416Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-06T07:33:46.722Z] + ls /var/log/sa-host [2021-04-06T07:33:46.722Z] + sadf -c /var/log/sa-host/sa06 [2021-04-06T07:33:46.722Z] file_magic: OK [2021-04-06T07:33:46.722Z] HZ: Using current value: 100 [2021-04-06T07:33:46.722Z] file_header: OK [2021-04-06T07:33:46.722Z] 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-06T07:33:46.722Z] Statistics: [2021-04-06T07:33:46.722Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-06T07:33:46.722Z] File successfully converted to sysstat format version 12.2.1 [2021-04-06T07:33:46.722Z] + sadf -c /var/log/sa-host/sa23 [2021-04-06T07:33:46.722Z] file_magic: OK [2021-04-06T07:33:46.722Z] HZ: Using current value: 100 [2021-04-06T07:33:46.722Z] file_header: OK [2021-04-06T07:33:46.722Z] 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-06T07:33:46.722Z] Statistics: [2021-04-06T07:33:46.722Z] Hnuu...uuuununununu... [2021-04-06T07:33:46.722Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-06T07:33:47.354Z] provisioning config files... [2021-04-06T07:33:47.370Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/config5967893602515931358tmp [Pipeline] { [Pipeline] echo [2021-04-06T07:33:47.443Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T07:33:47.740Z] ---> create-netrc.sh [Pipeline] } [2021-04-06T07:33:47.749Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-06T07:33:47.864Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T07:33:48.162Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-06T07:33:48.172Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T07:33:48.468Z] ---> sudo-logs.sh [2021-04-06T07:33:48.468Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-06T07:33:48.530Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T07:33:48.828Z] ---> job-cost.sh [2021-04-06T07:33:48.828Z] lf-activate-venv: SKIPPING [2021-04-06T07:33:48.828Z] DEBUG: total: 0.20999999344348907 [2021-04-06T07:33:48.828Z] INFO: Retrieving Stack Cost... [2021-04-06T07:33:49.774Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-06T07:33:50.348Z] INFO: Archiving Costs [Pipeline] echo [2021-04-06T07:33:50.362Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T07:33:50.654Z] ---> logs-deploy.sh [2021-04-06T07:33:50.654Z] lf-activate-venv: SKIPPING [2021-04-06T07:33:50.654Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-862/2 [2021-04-06T07:33:50.654Z] INFO: archiving workspace using pattern(s): [2021-04-06T07:33:52.575Z] Archives upload complete. [2021-04-06T07:33:52.575Z] INFO: archiving logs to Nexus