Pull request #878 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 23eaf68d626cf1c0dd61e78c25a860b20251206b+94ba728ffe67abe485aa5fd1bea1962d855b8f3c (cbf945a9ad32de5bf5824237f76730744e3fcac8) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-196 in /w/workspace/dgexfoundry_device-sdk-go_PR-878 [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-878 # 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 94ba728ffe67abe485aa5fd1bea1962d855b8f3c into PR head commit 23eaf68d626cf1c0dd61e78c25a860b20251206b Merge succeeded, producing 23eaf68d626cf1c0dd61e78c25a860b20251206b Checking out Revision 23eaf68d626cf1c0dd61e78c25a860b20251206b (PR-878) > 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/878/head:refs/remotes/origin/PR-878 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 23eaf68d626cf1c0dd61e78c25a860b20251206b # 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 94ba728ffe67abe485aa5fd1bea1962d855b8f3c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 23eaf68d626cf1c0dd61e78c25a860b20251206b # timeout=10 Commit message: "fix: add logLevel check in LoggingMiddleware" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-15T03:51:46.455Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script > git rev-list --no-walk 98f9d1e0beda86149d7788036cbe8474e673faff # timeout=10 [Pipeline] { [Pipeline] withCredentials [2021-04-15T03:51:46.547Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-15T03:51:46.574Z] ========================================================= [2021-04-15T03:51:46.574Z] EdgeX Global Pipelines Version Info [2021-04-15T03:51:46.574Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-15T03:51:48.078Z] ------------------- [2021-04-15T03:51:48.078Z] stable info: [2021-04-15T03:51:48.078Z] ------------------- [2021-04-15T03:51:48.078Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-15T03:51:48.078Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-15T03:51:48.078Z] Message: update stable to v1.0.186 [2021-04-15T03:51:49.025Z] ------------------- [2021-04-15T03:51:49.025Z] experimental info: [2021-04-15T03:51:49.025Z] ------------------- [2021-04-15T03:51:49.025Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-15T03:51:49.025Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-15T03:51:49.025Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-15T03:51:49.153Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-15T03:51:49.176Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-15T03:51:49.198Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-15T03:51:49.221Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-15T03:51:49.244Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-15T03:51:49.266Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-15T03:51:49.288Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-15T03:51:49.311Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-15T03:51:49.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-15T03:51:49.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-15T03:51:49.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-15T03:51:49.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-15T03:51:49.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-15T03:51:49.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-15T03:51:49.497Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-15T03:51:49.519Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-15T03:51:49.541Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-15T03:51:49.562Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-15T03:51:49.585Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-15T03:51:49.607Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-15T03:51:49.629Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-15T03:51:49.678Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-15T03:51:49.700Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-15T03:51:49.721Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-15T03:51:49.743Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-15T03:51:49.766Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-15T03:51:49.787Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-878 [Pipeline] echo [2021-04-15T03:51:49.809Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-878 [Pipeline] echo [2021-04-15T03:51:49.831Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-878 [Pipeline] echo [2021-04-15T03:51:49.852Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 23eaf68d626cf1c0dd61e78c25a860b20251206b [Pipeline] echo [2021-04-15T03:51:49.874Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 23eaf68 [Pipeline] echo [2021-04-15T03:51:49.923Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-15T03:51:49.997Z] provisioning config files... [2021-04-15T03:51:50.029Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/config414116071192058159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-15T03:51:50.352Z] ---> docker-login.sh [2021-04-15T03:51:50.352Z] nexus3.edgexfoundry.org:10001 [2021-04-15T03:51:50.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T03:51:50.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T03:51:50.881Z] Configure a credential helper to remove this warning. See [2021-04-15T03:51:50.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T03:51:50.881Z] [2021-04-15T03:51:50.881Z] Login Succeeded [2021-04-15T03:51:50.881Z] nexus3.edgexfoundry.org:10002 [2021-04-15T03:51:50.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T03:51:50.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T03:51:50.881Z] Configure a credential helper to remove this warning. See [2021-04-15T03:51:50.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T03:51:50.881Z] [2021-04-15T03:51:50.881Z] Login Succeeded [2021-04-15T03:51:50.881Z] nexus3.edgexfoundry.org:10003 [2021-04-15T03:51:51.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T03:51:51.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T03:51:51.143Z] Configure a credential helper to remove this warning. See [2021-04-15T03:51:51.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T03:51:51.143Z] [2021-04-15T03:51:51.143Z] Login Succeeded [2021-04-15T03:51:51.143Z] nexus3.edgexfoundry.org:10004 [2021-04-15T03:51:51.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T03:51:51.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T03:51:51.405Z] Configure a credential helper to remove this warning. See [2021-04-15T03:51:51.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T03:51:51.405Z] [2021-04-15T03:51:51.405Z] Login Succeeded [2021-04-15T03:51:51.405Z] docker.io [2021-04-15T03:51:51.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T03:51:51.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T03:51:51.669Z] Configure a credential helper to remove this warning. See [2021-04-15T03:51:51.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T03:51:51.669Z] [2021-04-15T03:51:51.669Z] Login Succeeded [2021-04-15T03:51:51.669Z] ---> docker-login.sh ends [Pipeline] } [2021-04-15T03:51:51.679Z] 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-15T03:51:52.145Z] + git log --format=format:%s -1 23eaf68d626cf1c0dd61e78c25a860b20251206b [Pipeline] echo [2021-04-15T03:51:52.227Z] GIT_COMMIT: 23eaf68d626cf1c0dd61e78c25a860b20251206b, Commit Message: fix: add logLevel check in LoggingMiddleware [Pipeline] echo [2021-04-15T03:51:52.241Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-15T03:51:53.148Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-15T03:51:53.148Z] [2021-04-15T03:51:53.148Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-15T03:51:53.472Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-15T03:51:53.472Z] latest: Pulling from edgex-devops/git-semver [2021-04-15T03:51:53.472Z] 31603596830f: Pulling fs layer [2021-04-15T03:51:53.472Z] 2a8b12db71e7: Pulling fs layer [2021-04-15T03:51:53.472Z] 6ca5941a6612: Pulling fs layer [2021-04-15T03:51:53.472Z] ecc8261a40a4: Pulling fs layer [2021-04-15T03:51:53.472Z] ecc8261a40a4: Waiting [2021-04-15T03:51:53.472Z] 2a8b12db71e7: Verifying Checksum [2021-04-15T03:51:53.472Z] 2a8b12db71e7: Download complete [2021-04-15T03:51:53.472Z] 31603596830f: Verifying Checksum [2021-04-15T03:51:53.472Z] 31603596830f: Download complete [2021-04-15T03:51:54.054Z] 6ca5941a6612: Verifying Checksum [2021-04-15T03:51:54.054Z] 6ca5941a6612: Download complete [2021-04-15T03:51:54.054Z] ecc8261a40a4: Download complete [2021-04-15T03:51:54.054Z] 31603596830f: Pull complete [2021-04-15T03:51:54.054Z] 2a8b12db71e7: Pull complete [2021-04-15T03:51:55.010Z] 6ca5941a6612: Pull complete [2021-04-15T03:51:55.273Z] ecc8261a40a4: Pull complete [2021-04-15T03:51:55.273Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-15T03:51:55.273Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-15T03:51:55.537Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-15T03:51:55.657Z] prd-centos7-docker-4c-2g-196 does not seem to be running inside a container [2021-04-15T03:51:55.717Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-878 -v /w/workspace/dgexfoundry_device-sdk-go_PR-878:/w/workspace/dgexfoundry_device-sdk-go_PR-878:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-878@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-15T03:51:57.677Z] $ docker top 33201eee8ddc4c0ef8b80fe9a03b13df4b38e5e355ff9d9435c327ea14cfc163 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-15T03:51:57.852Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-15T03:51:57.852Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-15T03:51:58.073Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-15T03:51:58.079Z] $ docker exec 33201eee8ddc4c0ef8b80fe9a03b13df4b38e5e355ff9d9435c327ea14cfc163 ssh-agent [2021-04-15T03:51:58.269Z] SSH_AUTH_SOCK=/tmp/ssh-Eo2KqetCuqWf/agent.12 [2021-04-15T03:51:58.269Z] SSH_AGENT_PID=18 [2021-04-15T03:51:58.282Z] Running ssh-add (command line suppressed) [2021-04-15T03:51:58.417Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/private_key_6766790899730534639.key (/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/private_key_6766790899730534639.key) [2021-04-15T03:51:58.472Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-15T03:51:58.778Z] + git tag --points-at HEAD [Pipeline] } [2021-04-15T03:51:58.805Z] $ docker exec --env ******** --env ******** 33201eee8ddc4c0ef8b80fe9a03b13df4b38e5e355ff9d9435c327ea14cfc163 ssh-agent -k [2021-04-15T03:51:58.928Z] unset SSH_AUTH_SOCK; [2021-04-15T03:51:58.928Z] unset SSH_AGENT_PID; [2021-04-15T03:51:58.928Z] echo Agent pid 18 killed; [2021-04-15T03:51:58.975Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-15T03:51:59.017Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-15T03:51:59.017Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-15T03:51:59.199Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-15T03:51:59.205Z] $ docker exec 33201eee8ddc4c0ef8b80fe9a03b13df4b38e5e355ff9d9435c327ea14cfc163 ssh-agent [2021-04-15T03:51:59.366Z] SSH_AUTH_SOCK=/tmp/ssh-5GarsgLEeX5F/agent.47 [2021-04-15T03:51:59.366Z] SSH_AGENT_PID=53 [2021-04-15T03:51:59.373Z] Running ssh-add (command line suppressed) [2021-04-15T03:51:59.503Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/private_key_4627874404756555871.key (/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/private_key_4627874404756555871.key) [2021-04-15T03:51:59.556Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-15T03:51:59.863Z] + git semver init [2021-04-15T03:51:59.863Z] # -> Open(): unable to determine branch for HEAD [2021-04-15T03:51:59.863Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-878/.git [2021-04-15T03:51:59.863Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-878 [2021-04-15T03:51:59.863Z] # $SEMVER_REMOTE_NAME = origin [2021-04-15T03:51:59.863Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-15T03:51:59.863Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-15T03:51:59.863Z] # $SEMVER_BRANCH = PR-878 [2021-04-15T03:51:59.863Z] # $SEMVER_TEMP = /tmp/semver-810607660 [2021-04-15T03:51:59.863Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-15T03:52:00.816Z] # '/tmp/semver-810607660' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-878/.semver' [2021-04-15T03:52:00.816Z] # -> Force: false [2021-04-15T03:52:00.816Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-878/.semver [Pipeline] } [2021-04-15T03:52:00.833Z] $ docker exec --env ******** --env ******** 33201eee8ddc4c0ef8b80fe9a03b13df4b38e5e355ff9d9435c327ea14cfc163 ssh-agent -k [2021-04-15T03:52:00.961Z] unset SSH_AUTH_SOCK; [2021-04-15T03:52:00.962Z] unset SSH_AGENT_PID; [2021-04-15T03:52:00.962Z] echo Agent pid 53 killed; [2021-04-15T03:52:01.013Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-15T03:52:01.349Z] + git semver [Pipeline] } [2021-04-15T03:52:01.369Z] $ docker stop --time=1 33201eee8ddc4c0ef8b80fe9a03b13df4b38e5e355ff9d9435c327ea14cfc163 [2021-04-15T03:52:02.859Z] $ docker rm -f 33201eee8ddc4c0ef8b80fe9a03b13df4b38e5e355ff9d9435c327ea14cfc163 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-15T03:52:03.274Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-15T03:52:03.669Z] Stashed 1 file(s) [Pipeline] echo [2021-04-15T03:52:03.672Z] [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-15T03:52:18.842Z] Still waiting to schedule task [2021-04-15T03:52:18.843Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-15T03:52:18.846Z] Still waiting to schedule task [2021-04-15T03:52:18.846Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-04-15T03:55:36.815Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-197 in /w/workspace/dgexfoundry_device-sdk-go_PR-878 [Pipeline] { [Pipeline] ws [2021-04-15T03:55:36.833Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-04-15T03:55:38.917Z] Running on prd-centos7-docker-4c-2g-198 in /w/workspace/dgexfoundry_device-sdk-go_PR-878 [Pipeline] { [Pipeline] ws [2021-04-15T03:55:38.935Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-04-15T03:55:41.853Z] using credential edgex-jenkins-ssh [2021-04-15T03:55:41.869Z] Cloning the remote Git repository [2021-04-15T03:55:41.983Z] using credential edgex-jenkins-ssh [2021-04-15T03:55:42.002Z] Cloning the remote Git repository [2021-04-15T03:55:41.872Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-15T03:55:41.944Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-04-15T03:55:42.015Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-15T03:55:42.016Z] > git --version # timeout=10 [2021-04-15T03:55:42.024Z] > git --version # 'git version 2.24.3' [2021-04-15T03:55:42.025Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T03:55:42.056Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-15T03:55:42.060Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-15T03:55:42.162Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-04-15T03:55:42.250Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-15T03:55:42.250Z] > git --version # timeout=10 [2021-04-15T03:55:42.273Z] > git --version # 'git version 2.17.1' [2021-04-15T03:55:42.275Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T03:55:42.370Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-15T03:55:43.451Z] Merging remotes/origin/master commit 94ba728ffe67abe485aa5fd1bea1962d855b8f3c into PR head commit 23eaf68d626cf1c0dd61e78c25a860b20251206b [2021-04-15T03:55:42.908Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-15T03:55:42.924Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-15T03:55:42.948Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-15T03:55:42.961Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-15T03:55:42.961Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T03:55:42.968Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/878/head:refs/remotes/origin/PR-878 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-15T03:55:43.461Z] > git config core.sparsecheckout # timeout=10 [2021-04-15T03:55:43.467Z] > git checkout -f 23eaf68d626cf1c0dd61e78c25a860b20251206b # timeout=10 [2021-04-15T03:55:43.551Z] Merge succeeded, producing 23eaf68d626cf1c0dd61e78c25a860b20251206b [2021-04-15T03:55:43.552Z] Checking out Revision 23eaf68d626cf1c0dd61e78c25a860b20251206b (PR-878) [2021-04-15T03:55:44.360Z] Merging remotes/origin/master commit 94ba728ffe67abe485aa5fd1bea1962d855b8f3c into PR head commit 23eaf68d626cf1c0dd61e78c25a860b20251206b [2021-04-15T03:55:43.682Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-15T03:55:43.699Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-15T03:55:43.723Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-15T03:55:43.760Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-15T03:55:43.761Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T03:55:43.772Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/878/head:refs/remotes/origin/PR-878 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-15T03:55:44.377Z] > git config core.sparsecheckout # timeout=10 [2021-04-15T03:55:44.392Z] > git checkout -f 23eaf68d626cf1c0dd61e78c25a860b20251206b # timeout=10 [2021-04-15T03:55:44.567Z] Merge succeeded, producing 23eaf68d626cf1c0dd61e78c25a860b20251206b [2021-04-15T03:55:44.568Z] Checking out Revision 23eaf68d626cf1c0dd61e78c25a860b20251206b (PR-878) [2021-04-15T03:55:43.514Z] > git remote # timeout=10 [2021-04-15T03:55:43.524Z] > git config --get remote.origin.url # timeout=10 [2021-04-15T03:55:43.529Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T03:55:43.533Z] > git merge 94ba728ffe67abe485aa5fd1bea1962d855b8f3c # timeout=10 [2021-04-15T03:55:43.543Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-15T03:55:43.555Z] > git config core.sparsecheckout # timeout=10 [2021-04-15T03:55:43.561Z] > git checkout -f 23eaf68d626cf1c0dd61e78c25a860b20251206b # timeout=10 [2021-04-15T03:55:44.491Z] > git remote # timeout=10 [2021-04-15T03:55:44.507Z] > git config --get remote.origin.url # timeout=10 [2021-04-15T03:55:44.522Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T03:55:44.532Z] > git merge 94ba728ffe67abe485aa5fd1bea1962d855b8f3c # timeout=10 [2021-04-15T03:55:44.553Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-15T03:55:44.573Z] > git config core.sparsecheckout # timeout=10 [2021-04-15T03:55:44.593Z] > git checkout -f 23eaf68d626cf1c0dd61e78c25a860b20251206b # timeout=10 [2021-04-15T03:55:47.159Z] Commit message: "fix: add logLevel check in LoggingMiddleware" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-15T03:55:48.419Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-15T03:55:48.778Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-15T03:55:48.885Z] Commit message: "fix: add logLevel check in LoggingMiddleware" [2021-04-15T03:55:49.085Z] + sudo service docker restart [2021-04-15T03:55:49.085Z] + true [2021-04-15T03:55:49.085Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-15T03:55:50.210Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-15T03:55:50.619Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-15T03:55:50.956Z] + true [2021-04-15T03:55:50.956Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-15T03:55:51.055Z] provisioning config files... [2021-04-15T03:55:51.105Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config617140251086430719tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-15T03:55:51.458Z] ---> docker-login.sh [2021-04-15T03:55:51.459Z] nexus3.edgexfoundry.org:10001 [2021-04-15T03:55:51.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T03:55:51.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T03:55:51.993Z] Configure a credential helper to remove this warning. See [2021-04-15T03:55:51.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T03:55:51.993Z] [2021-04-15T03:55:51.993Z] Login Succeeded [2021-04-15T03:55:51.993Z] nexus3.edgexfoundry.org:10002 [2021-04-15T03:55:52.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T03:55:52.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T03:55:52.261Z] Configure a credential helper to remove this warning. See [2021-04-15T03:55:52.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T03:55:52.261Z] [2021-04-15T03:55:52.261Z] Login Succeeded [2021-04-15T03:55:52.261Z] nexus3.edgexfoundry.org:10003 [2021-04-15T03:55:52.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T03:55:52.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T03:55:52.526Z] Configure a credential helper to remove this warning. See [2021-04-15T03:55:52.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T03:55:52.526Z] [2021-04-15T03:55:52.526Z] Login Succeeded [2021-04-15T03:55:52.526Z] nexus3.edgexfoundry.org:10004 [2021-04-15T03:55:52.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T03:55:52.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T03:55:52.526Z] Configure a credential helper to remove this warning. See [2021-04-15T03:55:52.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T03:55:52.526Z] [2021-04-15T03:55:52.526Z] Login Succeeded [2021-04-15T03:55:52.526Z] docker.io [2021-04-15T03:55:52.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T03:55:53.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T03:55:53.052Z] Configure a credential helper to remove this warning. See [2021-04-15T03:55:53.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T03:55:53.052Z] [2021-04-15T03:55:53.052Z] Login Succeeded [2021-04-15T03:55:53.052Z] ---> docker-login.sh ends [Pipeline] } [2021-04-15T03:55:53.062Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-15T03:55:53.261Z] ========================================================= [2021-04-15T03:55:53.261Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-15T03:55:53.261Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-15T03:55:53.577Z] + 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 . [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-15T03:55:53.614Z] provisioning config files... [2021-04-15T03:55:53.653Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4238266589482587214tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-15T03:55:53.843Z] Sending build context to Docker daemon 2.467MB [2021-04-15T03:55:53.843Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-15T03:55:53.843Z] Step 2/8 : FROM ${BASE} [2021-04-15T03:55:53.843Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-15T03:55:53.843Z] 188c0c94c7c5: Pulling fs layer [2021-04-15T03:55:53.843Z] 0ef7d3d256c8: Pulling fs layer [2021-04-15T03:55:53.843Z] de9db76c5a1d: Pulling fs layer [2021-04-15T03:55:53.843Z] bca2f99d35d6: Pulling fs layer [2021-04-15T03:55:53.843Z] 93359f2a8cfa: Pulling fs layer [2021-04-15T03:55:53.843Z] 7c6f9722023f: Pulling fs layer [2021-04-15T03:55:53.843Z] a35cf1a2eb13: Pulling fs layer [2021-04-15T03:55:53.843Z] 7c6f9722023f: Waiting [2021-04-15T03:55:53.843Z] 93359f2a8cfa: Waiting [2021-04-15T03:55:53.843Z] bca2f99d35d6: Waiting [2021-04-15T03:55:53.843Z] de9db76c5a1d: Verifying Checksum [2021-04-15T03:55:53.843Z] de9db76c5a1d: Download complete [2021-04-15T03:55:53.843Z] 0ef7d3d256c8: Download complete [2021-04-15T03:55:53.843Z] 93359f2a8cfa: Verifying Checksum [2021-04-15T03:55:53.843Z] 93359f2a8cfa: Download complete [2021-04-15T03:55:54.017Z] ---> docker-login.sh [2021-04-15T03:55:54.017Z] nexus3.edgexfoundry.org:10001 [2021-04-15T03:55:54.111Z] 188c0c94c7c5: Download complete [2021-04-15T03:55:54.111Z] 7c6f9722023f: Verifying Checksum [2021-04-15T03:55:54.111Z] 7c6f9722023f: Download complete [2021-04-15T03:55:54.376Z] 188c0c94c7c5: Pull complete [2021-04-15T03:55:54.639Z] 0ef7d3d256c8: Pull complete [2021-04-15T03:55:54.639Z] de9db76c5a1d: Pull complete [2021-04-15T03:55:55.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T03:55:55.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T03:55:55.279Z] Configure a credential helper to remove this warning. See [2021-04-15T03:55:55.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T03:55:55.279Z] [2021-04-15T03:55:55.279Z] Login Succeeded [2021-04-15T03:55:55.279Z] nexus3.edgexfoundry.org:10002 [2021-04-15T03:55:55.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T03:55:55.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T03:55:55.553Z] Configure a credential helper to remove this warning. See [2021-04-15T03:55:55.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T03:55:55.554Z] [2021-04-15T03:55:55.554Z] Login Succeeded [2021-04-15T03:55:55.826Z] nexus3.edgexfoundry.org:10003 [2021-04-15T03:55:56.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T03:55:56.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T03:55:56.099Z] Configure a credential helper to remove this warning. See [2021-04-15T03:55:56.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T03:55:56.099Z] [2021-04-15T03:55:56.099Z] Login Succeeded [2021-04-15T03:55:56.099Z] nexus3.edgexfoundry.org:10004 [2021-04-15T03:55:56.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T03:55:56.588Z] a35cf1a2eb13: Verifying Checksum [2021-04-15T03:55:56.588Z] a35cf1a2eb13: Download complete [2021-04-15T03:55:56.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T03:55:56.643Z] Configure a credential helper to remove this warning. See [2021-04-15T03:55:56.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T03:55:56.643Z] [2021-04-15T03:55:56.643Z] Login Succeeded [2021-04-15T03:55:56.643Z] docker.io [2021-04-15T03:55:56.865Z] bca2f99d35d6: Verifying Checksum [2021-04-15T03:55:56.865Z] bca2f99d35d6: Download complete [2021-04-15T03:55:56.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-15T03:55:57.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-15T03:55:57.187Z] Configure a credential helper to remove this warning. See [2021-04-15T03:55:57.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-15T03:55:57.187Z] [2021-04-15T03:55:57.187Z] Login Succeeded [2021-04-15T03:55:57.187Z] ---> docker-login.sh ends [Pipeline] } [2021-04-15T03:55:57.205Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-15T03:55:57.484Z] ========================================================= [2021-04-15T03:55:57.484Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-15T03:55:57.484Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-15T03:55:57.820Z] + 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-15T03:55:58.094Z] Sending build context to Docker daemon 2.466MB [2021-04-15T03:55:58.094Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-15T03:55:58.094Z] Step 2/8 : FROM ${BASE} [2021-04-15T03:55:58.367Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-15T03:55:58.367Z] 5f621e34cdf4: Pulling fs layer [2021-04-15T03:55:58.367Z] a4357932f1b6: Pulling fs layer [2021-04-15T03:55:58.367Z] 18c013af1878: Pulling fs layer [2021-04-15T03:55:58.367Z] 00ac8860ef70: Pulling fs layer [2021-04-15T03:55:58.367Z] 63d7cb157983: Pulling fs layer [2021-04-15T03:55:58.367Z] b116817d02f9: Pulling fs layer [2021-04-15T03:55:58.367Z] 745a02a5169b: Pulling fs layer [2021-04-15T03:55:58.367Z] 63d7cb157983: Waiting [2021-04-15T03:55:58.367Z] 00ac8860ef70: Waiting [2021-04-15T03:55:58.367Z] b116817d02f9: Waiting [2021-04-15T03:55:58.367Z] 745a02a5169b: Waiting [2021-04-15T03:55:58.367Z] 18c013af1878: Verifying Checksum [2021-04-15T03:55:58.367Z] 18c013af1878: Download complete [2021-04-15T03:55:58.367Z] a4357932f1b6: Verifying Checksum [2021-04-15T03:55:58.367Z] a4357932f1b6: Download complete [2021-04-15T03:55:58.367Z] 63d7cb157983: Verifying Checksum [2021-04-15T03:55:58.368Z] 63d7cb157983: Download complete [2021-04-15T03:55:58.368Z] b116817d02f9: Verifying Checksum [2021-04-15T03:55:58.368Z] b116817d02f9: Download complete [2021-04-15T03:55:58.368Z] 5f621e34cdf4: Verifying Checksum [2021-04-15T03:55:58.368Z] 5f621e34cdf4: Download complete [2021-04-15T03:55:58.964Z] 5f621e34cdf4: Pull complete [2021-04-15T03:55:59.565Z] a4357932f1b6: Pull complete [2021-04-15T03:55:59.837Z] 18c013af1878: Pull complete [2021-04-15T03:56:00.431Z] 745a02a5169b: Verifying Checksum [2021-04-15T03:56:00.431Z] 745a02a5169b: Download complete [2021-04-15T03:56:01.861Z] 00ac8860ef70: Verifying Checksum [2021-04-15T03:56:01.861Z] 00ac8860ef70: Download complete [2021-04-15T03:56:03.503Z] bca2f99d35d6: Pull complete [2021-04-15T03:56:03.503Z] 93359f2a8cfa: Pull complete [2021-04-15T03:56:03.503Z] 7c6f9722023f: Pull complete [2021-04-15T03:56:07.773Z] a35cf1a2eb13: Pull complete [2021-04-15T03:56:07.774Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-15T03:56:07.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-15T03:56:07.774Z] ---> a62c8e92a672 [2021-04-15T03:56:07.774Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-15T03:56:08.038Z] ---> Running in 57d505c41000 [2021-04-15T03:56:08.305Z] Removing intermediate container 57d505c41000 [2021-04-15T03:56:08.305Z] ---> 87fda3abc095 [2021-04-15T03:56:08.305Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-15T03:56:08.305Z] ---> Running in c895fb1892f1 [2021-04-15T03:56:09.701Z] Removing intermediate container c895fb1892f1 [2021-04-15T03:56:09.701Z] ---> 633ced388164 [2021-04-15T03:56:09.701Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-15T03:56:09.701Z] ---> Running in d1acc4a95843 [2021-04-15T03:56:10.662Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-15T03:56:11.240Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-15T03:56:11.813Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-15T03:56:11.813Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-15T03:56:11.813Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-15T03:56:11.813Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-15T03:56:12.021Z] 00ac8860ef70: Pull complete [2021-04-15T03:56:12.297Z] 63d7cb157983: Pull complete [2021-04-15T03:56:12.761Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-15T03:56:12.762Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-15T03:56:12.762Z] Executing busybox-1.31.1-r19.trigger [2021-04-15T03:56:12.762Z] OK: 167 MiB in 45 packages [2021-04-15T03:56:12.893Z] b116817d02f9: Pull complete [2021-04-15T03:56:13.709Z] Removing intermediate container d1acc4a95843 [2021-04-15T03:56:13.709Z] ---> e93cc53ef816 [2021-04-15T03:56:13.709Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-15T03:56:13.709Z] ---> Running in cab72d665954 [2021-04-15T03:56:13.972Z] Removing intermediate container cab72d665954 [2021-04-15T03:56:13.972Z] ---> 45dbf23fcf28 [2021-04-15T03:56:13.972Z] Step 7/8 : COPY . . [2021-04-15T03:56:15.364Z] ---> b3bb62d97974 [2021-04-15T03:56:15.364Z] Step 8/8 : RUN go mod download [2021-04-15T03:56:15.364Z] ---> Running in 0313dfbaf6ae [2021-04-15T03:56:17.205Z] 745a02a5169b: Pull complete [2021-04-15T03:56:17.205Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-15T03:56:17.205Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-15T03:56:17.205Z] ---> b7e6874047d6 [2021-04-15T03:56:17.205Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-15T03:56:19.834Z] ---> Running in e14ddf123c6c [2021-04-15T03:56:19.834Z] Removing intermediate container e14ddf123c6c [2021-04-15T03:56:19.834Z] ---> 3eb1fd7885ce [2021-04-15T03:56:19.834Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-15T03:56:19.834Z] ---> Running in 5ecd19bf308e [2021-04-15T03:56:22.471Z] Removing intermediate container 5ecd19bf308e [2021-04-15T03:56:22.471Z] ---> 2567fce3e58f [2021-04-15T03:56:22.471Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-15T03:56:22.471Z] ---> Running in 0d81c8cc6f77 [2021-04-15T03:56:23.452Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-15T03:56:24.044Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-15T03:56:25.023Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-15T03:56:25.023Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-15T03:56:25.023Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-15T03:56:25.023Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-15T03:56:25.300Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-15T03:56:25.300Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-15T03:56:25.300Z] Executing busybox-1.31.1-r19.trigger [2021-04-15T03:56:25.300Z] OK: 144 MiB in 45 packages [2021-04-15T03:56:26.736Z] Removing intermediate container 0d81c8cc6f77 [2021-04-15T03:56:26.736Z] ---> 459adcffd165 [2021-04-15T03:56:26.736Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-15T03:56:26.736Z] ---> Running in 16e07ad95c7e [2021-04-15T03:56:27.335Z] Removing intermediate container 16e07ad95c7e [2021-04-15T03:56:27.335Z] ---> eacaaf64fbc2 [2021-04-15T03:56:27.335Z] Step 7/8 : COPY . . [2021-04-15T03:56:28.770Z] ---> 92d0044f81af [2021-04-15T03:56:28.770Z] Step 8/8 : RUN go mod download [2021-04-15T03:56:28.770Z] ---> Running in bd4ea99e434d [2021-04-15T03:56:37.415Z] Removing intermediate container 0313dfbaf6ae [2021-04-15T03:56:37.415Z] ---> 0e1080684eaf [2021-04-15T03:56:37.415Z] Successfully built 0e1080684eaf [2021-04-15T03:56:37.415Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-15T03:56:37.738Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-15T03:56:37.738Z] . [Pipeline] withDockerContainer [2021-04-15T03:56:37.873Z] prd-centos7-docker-4c-2g-198 does not seem to be running inside a container [2021-04-15T03:56:37.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-x86_64 cat [2021-04-15T03:56:38.867Z] $ docker top aa1b3d8447d1e9123f36deda6d0bb3e833fd67dd7b1370c3a8b65b56838654c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-15T03:56:39.303Z] + go version [2021-04-15T03:56:39.303Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-15T03:56:39.320Z] $ docker stop --time=1 aa1b3d8447d1e9123f36deda6d0bb3e833fd67dd7b1370c3a8b65b56838654c1 [2021-04-15T03:56:40.686Z] $ docker rm -f aa1b3d8447d1e9123f36deda6d0bb3e833fd67dd7b1370c3a8b65b56838654c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-15T03:56:41.211Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-15T03:56:41.211Z] . [Pipeline] withDockerContainer [2021-04-15T03:56:41.327Z] prd-centos7-docker-4c-2g-198 does not seem to be running inside a container [2021-04-15T03:56:41.375Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-x86_64 cat [2021-04-15T03:56:42.100Z] $ docker top 5a19f109bfea483c1fc690ea7595735b73116dad9fab8f0e04691b8a70500672 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-15T03:56:42.548Z] + make test [2021-04-15T03:56:42.548Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-15T03:56:50.938Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-15T03:56:55.561Z] Removing intermediate container bd4ea99e434d [2021-04-15T03:56:55.562Z] ---> c5507e1d956e [2021-04-15T03:56:55.562Z] Successfully built c5507e1d956e [2021-04-15T03:56:55.562Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-15T03:56:55.904Z] + docker inspect -f . ci-base-image-arm64 [2021-04-15T03:56:55.904Z] . [Pipeline] withDockerContainer [2021-04-15T03:56:56.175Z] prd-ubuntu18.04-docker-arm64-4c-16g-197 does not seem to be running inside a container [2021-04-15T03:56:56.252Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-15T03:56:57.784Z] $ docker top fa9d6525032a01bc8bf5f38c1ab2aea7b6299a5f80a87fd57b96903b1c4da5f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-15T03:56:58.745Z] + go version [2021-04-15T03:56:58.745Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-15T03:56:58.766Z] $ docker stop --time=1 fa9d6525032a01bc8bf5f38c1ab2aea7b6299a5f80a87fd57b96903b1c4da5f2 [2021-04-15T03:57:00.825Z] $ docker rm -f fa9d6525032a01bc8bf5f38c1ab2aea7b6299a5f80a87fd57b96903b1c4da5f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-15T03:57:01.503Z] + docker inspect -f . ci-base-image-arm64 [2021-04-15T03:57:01.503Z] . [Pipeline] withDockerContainer [2021-04-15T03:57:01.742Z] prd-ubuntu18.04-docker-arm64-4c-16g-197 does not seem to be running inside a container [2021-04-15T03:57:01.826Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-15T03:57:03.284Z] $ docker top 2f2891d259a92027add25b9e95bcab7b30fdc2d67dc89a711d0b88597415b104 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-15T03:57:04.247Z] + make test [2021-04-15T03:57:04.247Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-15T03:57:13.088Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-15T03:57:13.088Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-15T03:57:13.088Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-15T03:57:13.088Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-15T03:57:13.088Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-15T03:57:14.493Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.107s coverage: 28.1% of statements [2021-04-15T03:57:14.493Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.074s coverage: 78.9% of statements [2021-04-15T03:57:15.450Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.074s coverage: 7.8% of statements [2021-04-15T03:57:15.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-15T03:57:15.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-15T03:57:15.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-15T03:57:15.450Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.087s coverage: 32.0% of statements [2021-04-15T03:57:15.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-15T03:57:15.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-15T03:57:15.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-15T03:57:16.414Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.109s coverage: 57.1% of statements [2021-04-15T03:57:16.992Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.225s coverage: 6.6% of statements [2021-04-15T03:57:16.992Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements [2021-04-15T03:57:16.992Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-15T03:57:17.259Z] GO111MODULE=on go vet ./... [2021-04-15T03:57:26.422Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-15T03:57:35.509Z] gofmt -l . [2021-04-15T03:57:35.509Z] [ "`gofmt -l .`" = "" ] [2021-04-15T03:57:35.509Z] ./bin/test-attribution-txt.sh [2021-04-15T03:57:35.509Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-15T03:57:35.531Z] $ docker stop --time=1 5a19f109bfea483c1fc690ea7595735b73116dad9fab8f0e04691b8a70500672 [2021-04-15T03:57:37.338Z] $ docker rm -f 5a19f109bfea483c1fc690ea7595735b73116dad9fab8f0e04691b8a70500672 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-15T03:57:38.002Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-15T03:57:38.427Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-15T03:57:40.903Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-15T03:57:41.207Z] + ls -al . [2021-04-15T03:57:41.208Z] total 188 [2021-04-15T03:57:41.208Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 15 03:57 . [2021-04-15T03:57:41.208Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 15 03:55 .. [2021-04-15T03:57:41.208Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 15 03:55 bin [2021-04-15T03:57:41.208Z] -rw-r--r--. 1 jenkins jenkins 99932 Apr 15 03:57 coverage.out [2021-04-15T03:57:41.208Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 15 03:55 Dockerfile.build [2021-04-15T03:57:41.208Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 15 03:55 .dockerignore [2021-04-15T03:57:41.208Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 15 03:55 example [2021-04-15T03:57:41.208Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 15 03:55 .git [2021-04-15T03:57:41.208Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 15 03:55 .github [2021-04-15T03:57:41.208Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 15 03:55 .gitignore [2021-04-15T03:57:41.208Z] -rw-r--r--. 1 jenkins jenkins 574 Apr 15 03:57 go.mod [2021-04-15T03:57:41.208Z] -rw-r--r--. 1 jenkins jenkins 20735 Apr 15 03:57 go.sum [2021-04-15T03:57:41.208Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 15 03:55 internal [2021-04-15T03:57:41.208Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 15 03:55 Jenkinsfile [2021-04-15T03:57:41.208Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 15 03:55 LICENSE [2021-04-15T03:57:41.208Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 15 03:55 Makefile [2021-04-15T03:57:41.208Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 15 03:55 openapi [2021-04-15T03:57:41.208Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 15 03:55 pkg [2021-04-15T03:57:41.208Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 15 03:55 README.md [2021-04-15T03:57:41.208Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 15 03:55 RELEASE-NOTES.txt [2021-04-15T03:57:41.208Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 15 03:55 snap [2021-04-15T03:57:41.208Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 15 03:52 VERSION [2021-04-15T03:57:41.208Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 15 03:55 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-15T03:57:41.517Z] + 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=23eaf68d626cf1c0dd61e78c25a860b20251206b --label arch=amd64 --label version=0.0.0 . [2021-04-15T03:57:41.786Z] Sending build context to Docker daemon 2.568MB [2021-04-15T03:57:41.786Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-15T03:57:41.786Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-15T03:57:41.786Z] ---> 0e1080684eaf [2021-04-15T03:57:41.786Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-15T03:57:42.363Z] ---> Running in 8239213a638f [2021-04-15T03:57:42.630Z] Removing intermediate container 8239213a638f [2021-04-15T03:57:42.630Z] ---> ee178e114a27 [2021-04-15T03:57:42.630Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-15T03:57:42.630Z] ---> Running in b56a9de1ba60 [2021-04-15T03:57:42.895Z] Removing intermediate container b56a9de1ba60 [2021-04-15T03:57:42.895Z] ---> 9b8d51e3aac1 [2021-04-15T03:57:42.895Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-15T03:57:43.167Z] ---> Running in bb40e1e130e4 [2021-04-15T03:57:44.120Z] Removing intermediate container bb40e1e130e4 [2021-04-15T03:57:44.120Z] ---> 6c4a9074d1e8 [2021-04-15T03:57:44.120Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-15T03:57:44.120Z] ---> Running in dae762de977b [2021-04-15T03:57:44.698Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-15T03:57:45.649Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-15T03:57:46.225Z] OK: 167 MiB in 45 packages [2021-04-15T03:57:46.488Z] Removing intermediate container dae762de977b [2021-04-15T03:57:46.488Z] ---> 2828651f82e7 [2021-04-15T03:57:46.488Z] Step 7/23 : COPY . . [2021-04-15T03:57:47.893Z] ---> bdfbd45c564d [2021-04-15T03:57:47.893Z] Step 8/23 : RUN go mod download [2021-04-15T03:57:47.893Z] ---> Running in f41d6def10b6 [2021-04-15T03:57:49.311Z] Removing intermediate container f41d6def10b6 [2021-04-15T03:57:49.311Z] ---> c1755858c1b0 [2021-04-15T03:57:49.311Z] Step 9/23 : RUN make build [2021-04-15T03:57:49.311Z] ---> Running in c07ab070f9f8 [2021-04-15T03:57:49.897Z] 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-15T03:58:02.241Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-15T03:58:04.182Z] Removing intermediate container c07ab070f9f8 [2021-04-15T03:58:04.182Z] ---> e0746219c853 [2021-04-15T03:58:04.182Z] Step 10/23 : FROM alpine:3.12 [2021-04-15T03:58:04.759Z] 3.12: Pulling from library/alpine [2021-04-15T03:58:04.759Z] 339de151aab4: Pulling fs layer [2021-04-15T03:58:05.338Z] 339de151aab4: Verifying Checksum [2021-04-15T03:58:05.338Z] 339de151aab4: Download complete [2021-04-15T03:58:05.606Z] 339de151aab4: Pull complete [2021-04-15T03:58:05.606Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-15T03:58:05.606Z] Status: Downloaded newer image for alpine:3.12 [2021-04-15T03:58:05.606Z] ---> 13621d1b12d4 [2021-04-15T03:58:05.606Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-15T03:58:05.874Z] ---> Running in d8468009d5d4 [2021-04-15T03:58:05.874Z] Removing intermediate container d8468009d5d4 [2021-04-15T03:58:05.874Z] ---> 66815ef4c12d [2021-04-15T03:58:05.875Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-15T03:58:06.141Z] ---> Running in eac033411e94 [2021-04-15T03:58:07.096Z] Removing intermediate container eac033411e94 [2021-04-15T03:58:07.096Z] ---> 7ac74236182b [2021-04-15T03:58:07.096Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-15T03:58:07.096Z] ---> Running in 56bc4aca1fec [2021-04-15T03:58:07.673Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-15T03:58:09.070Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-15T03:58:10.016Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-15T03:58:10.280Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-15T03:58:10.280Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-15T03:58:10.856Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-15T03:58:11.120Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-15T03:58:11.120Z] Executing busybox-1.31.1-r20.trigger [2021-04-15T03:58:11.120Z] OK: 8 MiB in 19 packages [2021-04-15T03:58:11.698Z] Removing intermediate container 56bc4aca1fec [2021-04-15T03:58:11.698Z] ---> 192c450b270d [2021-04-15T03:58:11.698Z] Step 14/23 : WORKDIR / [2021-04-15T03:58:11.962Z] ---> Running in fc21de16ddc7 [2021-04-15T03:58:11.962Z] Removing intermediate container fc21de16ddc7 [2021-04-15T03:58:11.962Z] ---> 2ce5da3e0ee1 [2021-04-15T03:58:11.962Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-15T03:58:12.226Z] ---> 0354563c7cc8 [2021-04-15T03:58:12.226Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-15T03:58:13.185Z] ---> ebc1dfc6f0b2 [2021-04-15T03:58:13.185Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-15T03:58:13.447Z] ---> a47cc24a205e [2021-04-15T03:58:13.447Z] Step 18/23 : EXPOSE 49990 [2021-04-15T03:58:13.447Z] ---> Running in 4ecf4fd39a10 [2021-04-15T03:58:13.712Z] Removing intermediate container 4ecf4fd39a10 [2021-04-15T03:58:13.712Z] ---> 354586cde983 [2021-04-15T03:58:13.712Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-15T03:58:13.712Z] ---> Running in 84ebd7b2feae [2021-04-15T03:58:13.712Z] Removing intermediate container 84ebd7b2feae [2021-04-15T03:58:13.712Z] ---> 16a057d59818 [2021-04-15T03:58:13.712Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-15T03:58:13.975Z] ---> Running in 08e030c2ff2d [2021-04-15T03:58:13.975Z] Removing intermediate container 08e030c2ff2d [2021-04-15T03:58:13.975Z] ---> 49211eeacc0f [2021-04-15T03:58:13.975Z] Step 21/23 : LABEL arch=amd64 [2021-04-15T03:58:14.240Z] ---> Running in 828c85f97ba1 [2021-04-15T03:58:14.240Z] Removing intermediate container 828c85f97ba1 [2021-04-15T03:58:14.240Z] ---> 57f5b4f04bc1 [2021-04-15T03:58:14.240Z] Step 22/23 : LABEL git_sha=23eaf68d626cf1c0dd61e78c25a860b20251206b [2021-04-15T03:58:14.504Z] ---> Running in de2e80af875c [2021-04-15T03:58:14.504Z] Removing intermediate container de2e80af875c [2021-04-15T03:58:14.504Z] ---> a4e21199b0e2 [2021-04-15T03:58:14.504Z] Step 23/23 : LABEL version=0.0.0 [2021-04-15T03:58:14.768Z] ---> Running in 8280e75950a0 [2021-04-15T03:58:14.768Z] Removing intermediate container 8280e75950a0 [2021-04-15T03:58:14.768Z] ---> 27aff809360d [2021-04-15T03:58:14.768Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-15T03:58:14.768Z] Successfully built 27aff809360d [2021-04-15T03:58:14.768Z] 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-15T03:58:15.767Z] ---> job-cost.sh [2021-04-15T03:58:15.767Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-gmED [2021-04-15T03:58:23.018Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-15T03:58:23.018Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-15T03:58:23.018Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-15T03:58:23.018Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-15T03:58:23.018Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-15T03:58:24.478Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.127s coverage: 28.1% of statements [2021-04-15T03:58:25.965Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.174s coverage: 78.9% of statements [2021-04-15T03:58:25.965Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.141s coverage: 7.8% of statements [2021-04-15T03:58:25.965Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-15T03:58:25.965Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-15T03:58:25.965Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-15T03:58:26.951Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.317s coverage: 32.0% of statements [2021-04-15T03:58:26.951Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-15T03:58:26.951Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-15T03:58:26.951Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-15T03:58:30.715Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-15T03:58:31.280Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.327s coverage: 57.1% of statements [2021-04-15T03:58:31.280Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.129s coverage: 6.6% of statements [2021-04-15T03:58:31.280Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.138s coverage: 5.0% of statements [2021-04-15T03:58:31.280Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-15T03:58:31.565Z] GO111MODULE=on go vet ./... [2021-04-15T03:59:02.883Z] lf-activate-venv(): INFO: Adding /tmp/venv-gmED/bin to PATH [2021-04-15T03:59:02.884Z] INFO: No Stack... [2021-04-15T03:59:02.884Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-15T03:59:02.884Z] INFO: Archiving Costs [Pipeline] sh [2021-04-15T03:59:03.215Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-04-15T03:59:03.215Z] + cut -d, -f6 [Pipeline] lock [2021-04-15T03:59:03.326Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-878-3-stack-cost] [2021-04-15T03:59:03.337Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-878-3-stack-cost] did not exist. Created. [2021-04-15T03:59:03.337Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-878-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-15T03:59:03.689Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-15T03:59:03.918Z] Stashed 1 file(s) [Pipeline] } [2021-04-15T03:59:03.932Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-878-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-15T03:59:18.575Z] gofmt -l . [2021-04-15T03:59:18.575Z] [ "`gofmt -l .`" = "" ] [2021-04-15T03:59:18.575Z] ./bin/test-attribution-txt.sh [2021-04-15T03:59:18.575Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-15T03:59:18.600Z] $ docker stop --time=1 2f2891d259a92027add25b9e95bcab7b30fdc2d67dc89a711d0b88597415b104 [2021-04-15T03:59:20.831Z] $ docker rm -f 2f2891d259a92027add25b9e95bcab7b30fdc2d67dc89a711d0b88597415b104 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-15T03:59:21.868Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-15T03:59:21.904Z] Warning: overwriting stash ‘coverage-report’ [2021-04-15T03:59:22.919Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-15T03:59:23.415Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-15T03:59:23.770Z] + ls -al . [2021-04-15T03:59:23.770Z] total 224 [2021-04-15T03:59:23.770Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 15 03:59 . [2021-04-15T03:59:23.770Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 03:55 .. [2021-04-15T03:59:23.770Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 15 03:55 .dockerignore [2021-04-15T03:59:23.770Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 03:55 .git [2021-04-15T03:59:23.770Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 03:55 .github [2021-04-15T03:59:23.770Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 15 03:55 .gitignore [2021-04-15T03:59:23.770Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 15 03:55 Dockerfile.build [2021-04-15T03:59:23.770Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 15 03:55 Jenkinsfile [2021-04-15T03:59:23.770Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 15 03:55 LICENSE [2021-04-15T03:59:23.770Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 15 03:55 Makefile [2021-04-15T03:59:23.770Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 15 03:55 README.md [2021-04-15T03:59:23.770Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 15 03:55 RELEASE-NOTES.txt [2021-04-15T03:59:23.770Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 15 03:52 VERSION [2021-04-15T03:59:23.770Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 03:55 bin [2021-04-15T03:59:23.770Z] -rw-r--r-- 1 jenkins jenkins 99931 Apr 15 03:58 coverage.out [2021-04-15T03:59:23.770Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 15 03:55 example [2021-04-15T03:59:23.770Z] -rw-r--r-- 1 jenkins jenkins 574 Apr 15 03:59 go.mod [2021-04-15T03:59:23.770Z] -rw-r--r-- 1 jenkins jenkins 20735 Apr 15 03:59 go.sum [2021-04-15T03:59:23.770Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 15 03:55 internal [2021-04-15T03:59:23.770Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 03:55 openapi [2021-04-15T03:59:23.770Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 15 03:55 pkg [2021-04-15T03:59:23.770Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 03:55 snap [2021-04-15T03:59:23.770Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 15 03:55 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-15T03:59:24.241Z] + 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=23eaf68d626cf1c0dd61e78c25a860b20251206b --label arch=arm64 --label version=0.0.0 . [2021-04-15T03:59:24.876Z] Sending build context to Docker daemon 2.567MB [2021-04-15T03:59:24.876Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-15T03:59:24.876Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-15T03:59:24.876Z] ---> c5507e1d956e [2021-04-15T03:59:24.876Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-15T03:59:25.158Z] ---> Running in bae6b894d631 [2021-04-15T03:59:25.762Z] Removing intermediate container bae6b894d631 [2021-04-15T03:59:25.762Z] ---> fce45b538512 [2021-04-15T03:59:25.762Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-15T03:59:25.762Z] ---> Running in c0de21886f0d [2021-04-15T03:59:26.359Z] Removing intermediate container c0de21886f0d [2021-04-15T03:59:26.359Z] ---> 878e05c31a3b [2021-04-15T03:59:26.359Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-15T03:59:26.359Z] ---> Running in 19aa314f535b [2021-04-15T03:59:28.333Z] Removing intermediate container 19aa314f535b [2021-04-15T03:59:28.333Z] ---> ff7b1d6c8e34 [2021-04-15T03:59:28.333Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-15T03:59:28.606Z] ---> Running in 0147f1390dbc [2021-04-15T03:59:29.605Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-15T03:59:30.579Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-15T03:59:31.184Z] OK: 144 MiB in 45 packages [2021-04-15T03:59:32.177Z] Removing intermediate container 0147f1390dbc [2021-04-15T03:59:32.177Z] ---> f6e28e54de7a [2021-04-15T03:59:32.177Z] Step 7/23 : COPY . . [2021-04-15T03:59:33.627Z] ---> b349137d7fdf [2021-04-15T03:59:33.627Z] Step 8/23 : RUN go mod download [2021-04-15T03:59:33.627Z] ---> Running in 0243a754f10b [2021-04-15T03:59:36.244Z] Removing intermediate container 0243a754f10b [2021-04-15T03:59:36.244Z] ---> f973bf9ef11c [2021-04-15T03:59:36.244Z] Step 9/23 : RUN make build [2021-04-15T03:59:36.244Z] ---> Running in da2e2e17b05d [2021-04-15T03:59:37.223Z] 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-15T04:00:09.579Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-15T04:00:12.200Z] Removing intermediate container da2e2e17b05d [2021-04-15T04:00:12.200Z] ---> 88ad42a5d317 [2021-04-15T04:00:12.200Z] Step 10/23 : FROM alpine:3.12 [2021-04-15T04:00:12.472Z] 3.12: Pulling from library/alpine [2021-04-15T04:00:12.472Z] d2f70382dc9a: Pulling fs layer [2021-04-15T04:00:12.746Z] d2f70382dc9a: Verifying Checksum [2021-04-15T04:00:12.746Z] d2f70382dc9a: Download complete [2021-04-15T04:00:13.343Z] d2f70382dc9a: Pull complete [2021-04-15T04:00:13.343Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-15T04:00:13.343Z] Status: Downloaded newer image for alpine:3.12 [2021-04-15T04:00:13.343Z] ---> 9852663dfa18 [2021-04-15T04:00:13.343Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-15T04:00:13.616Z] ---> Running in 7ad758bf574c [2021-04-15T04:00:14.211Z] Removing intermediate container 7ad758bf574c [2021-04-15T04:00:14.211Z] ---> 8fd88ff0288f [2021-04-15T04:00:14.211Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-15T04:00:14.211Z] ---> Running in 9ae688d87c18 [2021-04-15T04:00:16.185Z] Removing intermediate container 9ae688d87c18 [2021-04-15T04:00:16.185Z] ---> 166f67cf23e2 [2021-04-15T04:00:16.185Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-15T04:00:16.458Z] ---> Running in 0be8f50caccd [2021-04-15T04:00:17.891Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-15T04:00:18.479Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-15T04:00:19.065Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-15T04:00:19.065Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-15T04:00:19.065Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-15T04:00:19.334Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-15T04:00:19.334Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-15T04:00:19.603Z] Executing busybox-1.31.1-r20.trigger [2021-04-15T04:00:19.603Z] OK: 8 MiB in 19 packages [2021-04-15T04:00:20.578Z] Removing intermediate container 0be8f50caccd [2021-04-15T04:00:20.578Z] ---> b8ffc69e2895 [2021-04-15T04:00:20.578Z] Step 14/23 : WORKDIR / [2021-04-15T04:00:20.852Z] ---> Running in 25750556860d [2021-04-15T04:00:21.448Z] Removing intermediate container 25750556860d [2021-04-15T04:00:21.449Z] ---> 5f92babaee72 [2021-04-15T04:00:21.449Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-15T04:00:22.051Z] ---> a9ef17f8fca2 [2021-04-15T04:00:22.051Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-15T04:00:23.486Z] ---> 40a6236855a3 [2021-04-15T04:00:23.486Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-15T04:00:24.083Z] ---> 23a17fbd9a05 [2021-04-15T04:00:24.083Z] Step 18/23 : EXPOSE 49990 [2021-04-15T04:00:24.083Z] ---> Running in 3934b498ad0a [2021-04-15T04:00:24.687Z] Removing intermediate container 3934b498ad0a [2021-04-15T04:00:24.687Z] ---> bc8a3013c966 [2021-04-15T04:00:24.687Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-15T04:00:24.687Z] ---> Running in 78ffb15ae775 [2021-04-15T04:00:25.282Z] Removing intermediate container 78ffb15ae775 [2021-04-15T04:00:25.282Z] ---> 96fa1f985482 [2021-04-15T04:00:25.282Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-15T04:00:25.282Z] ---> Running in 86abba0d7b9f [2021-04-15T04:00:25.877Z] Removing intermediate container 86abba0d7b9f [2021-04-15T04:00:25.877Z] ---> 22386637c200 [2021-04-15T04:00:25.877Z] Step 21/23 : LABEL arch=arm64 [2021-04-15T04:00:25.877Z] ---> Running in b08ed2970f06 [2021-04-15T04:00:26.152Z] Removing intermediate container b08ed2970f06 [2021-04-15T04:00:26.152Z] ---> 9e34d8ccedba [2021-04-15T04:00:26.152Z] Step 22/23 : LABEL git_sha=23eaf68d626cf1c0dd61e78c25a860b20251206b [2021-04-15T04:00:26.427Z] ---> Running in 583345a9a46a [2021-04-15T04:00:27.024Z] Removing intermediate container 583345a9a46a [2021-04-15T04:00:27.024Z] ---> a7f8dc918149 [2021-04-15T04:00:27.024Z] Step 23/23 : LABEL version=0.0.0 [2021-04-15T04:00:27.024Z] ---> Running in c3e0b3df7f42 [2021-04-15T04:00:27.622Z] Removing intermediate container c3e0b3df7f42 [2021-04-15T04:00:27.622Z] ---> 3411e76853b9 [2021-04-15T04:00:27.622Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-15T04:00:27.622Z] Successfully built 3411e76853b9 [2021-04-15T04:00:27.622Z] 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-15T04:00:28.122Z] ---> job-cost.sh [2021-04-15T04:00:28.122Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-SGna [2021-04-15T04:01:07.070Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-15T04:02:43.809Z] lf-activate-venv(): INFO: Adding /tmp/venv-SGna/bin to PATH [2021-04-15T04:02:43.809Z] INFO: No Stack... [2021-04-15T04:02:43.809Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-15T04:02:43.809Z] INFO: Archiving Costs [Pipeline] sh [2021-04-15T04:02:44.143Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-04-15T04:02:44.143Z] + cut -d, -f6 [Pipeline] lock [2021-04-15T04:02:44.259Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-878-3-stack-cost] [2021-04-15T04:02:44.299Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-878-3-stack-cost] did not exist. Created. [2021-04-15T04:02:44.299Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-878-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-15T04:02:44.701Z] /w/workspace/device-sdk-go/3@tmp/durable-e286a2a0/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-e286a2a0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-15T04:02:45.042Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-15T04:02:45.073Z] Warning: overwriting stash ‘stack-cost’ [2021-04-15T04:02:45.227Z] Stashed 1 file(s) [Pipeline] } [2021-04-15T04:02:45.247Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-878-3-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-15T04:02:45.996Z] provisioning config files... [2021-04-15T04:02:46.012Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/config2671736299495426219tmp [Pipeline] { [Pipeline] sh [2021-04-15T04:02:46.339Z] + set +x [2021-04-15T04:02:46.339Z] + bash -s -- [2021-04-15T04:02:46.339Z] + curl -s https://codecov.io/bash [2021-04-15T04:02:46.605Z] [2021-04-15T04:02:46.605Z] _____ _ [2021-04-15T04:02:46.605Z] / ____| | | [2021-04-15T04:02:46.605Z] | | ___ __| | ___ ___ _____ __ [2021-04-15T04:02:46.605Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-15T04:02:46.605Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-15T04:02:46.605Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-15T04:02:46.605Z] Bash-1.0.1 [2021-04-15T04:02:46.605Z] [2021-04-15T04:02:46.605Z] [2021-04-15T04:02:46.605Z] ==> git version 2.24.3 found [2021-04-15T04:02:46.605Z] ==> 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-15T04:02:46.605Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-15T04:02:46.605Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-15T04:02:46.605Z] ==> Jenkins CI detected. [2021-04-15T04:02:46.605Z] project root: . [2021-04-15T04:02:46.605Z] --> token set from env [2021-04-15T04:02:46.605Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-15T04:02:46.605Z] ==> Running gcov in . (disable via -X gcov) [2021-04-15T04:02:46.605Z] ==> Python coveragepy not found [2021-04-15T04:02:46.605Z] ==> Searching for coverage reports in: [2021-04-15T04:02:46.605Z] + . [2021-04-15T04:02:46.605Z] -> Found 1 reports [2021-04-15T04:02:46.605Z] ==> Detecting git/mercurial file structure [2021-04-15T04:02:46.605Z] ==> Reading reports [2021-04-15T04:02:46.605Z] + ./coverage.out bytes=99931 [2021-04-15T04:02:46.605Z] ==> Appending adjustments [2021-04-15T04:02:46.605Z] https://docs.codecov.io/docs/fixing-reports [2021-04-15T04:02:47.183Z] + Found adjustments [2021-04-15T04:02:47.183Z] ==> Gzipping contents [2021-04-15T04:02:47.183Z] 16K /tmp/codecov.NVVREy.gz [2021-04-15T04:02:47.183Z] ==> Uploading reports [2021-04-15T04:02:47.183Z] url: https://codecov.io [2021-04-15T04:02:47.183Z] query: branch=PR-878&commit=23eaf68d626cf1c0dd61e78c25a860b20251206b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-878%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=878&job=&cmd_args= [2021-04-15T04:02:47.183Z] -> Pinging Codecov [2021-04-15T04:02:47.183Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-878&commit=23eaf68d626cf1c0dd61e78c25a860b20251206b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-878%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=878&job=&cmd_args= [2021-04-15T04:02:47.759Z] -> Uploading to [2021-04-15T04:02:47.759Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-15/7E55EF52A471D76F132DFD9A03CDDE97/23eaf68d626cf1c0dd61e78c25a860b20251206b/d89474b4-2393-4cf3-abdf-036b6c3df652.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210415%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210415T040247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9a73dc6f32d29b7f5c130bed8ba685f0b4d1fb3a5d891a445ee0f275c348d087 [2021-04-15T04:02:47.759Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-15T04:02:47.759Z] Dload Upload Total Spent Left Speed [2021-04-15T04:02:48.025Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13525 0 0 100 13525 0 26023 --:--:-- --:--:-- --:--:-- 26009 100 13525 0 0 100 13525 0 26006 --:--:-- --:--:-- --:--:-- 26009 [2021-04-15T04:02:48.025Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/23eaf68d626cf1c0dd61e78c25a860b20251206b [Pipeline] } [2021-04-15T04:02:48.036Z] 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-15T04:02:49.083Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T04:02:49.398Z] ---> package-listing.sh [2021-04-15T04:02:49.398Z] ++ facter osfamily [2021-04-15T04:02:49.398Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-15T04:02:49.398Z] + OS_FAMILY=redhat [2021-04-15T04:02:49.398Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-878 [2021-04-15T04:02:49.398Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-15T04:02:49.398Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-15T04:02:49.398Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-15T04:02:49.398Z] + PACKAGES=/tmp/packages_start.txt [2021-04-15T04:02:49.398Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-878 ']' [2021-04-15T04:02:49.398Z] + PACKAGES=/tmp/packages_end.txt [2021-04-15T04:02:49.398Z] + case "${OS_FAMILY}" in [2021-04-15T04:02:49.398Z] + rpm -qa [2021-04-15T04:02:49.398Z] + sort [2021-04-15T04:02:54.777Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-15T04:02:54.777Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-15T04:02:54.777Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-15T04:02:54.777Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-878 ']' [2021-04-15T04:02:54.777Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-878/archives/ [2021-04-15T04:02:54.777Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-878/archives/ [Pipeline] echo [2021-04-15T04:02:54.813Z] 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-878/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-15T04:02:55.106Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-15T04:02:55.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-15T04:02:55.415Z] [2021-04-15T04:02:55.415Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-15T04:02:55.739Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-15T04:02:55.739Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-15T04:02:55.739Z] df20fa9351a1: Pulling fs layer [2021-04-15T04:02:55.739Z] 36b3adc4ff6f: Pulling fs layer [2021-04-15T04:02:55.739Z] 8ad3a11d3b57: Pulling fs layer [2021-04-15T04:02:55.739Z] 46f8f816bc3b: Pulling fs layer [2021-04-15T04:02:55.739Z] 93b61091891f: Pulling fs layer [2021-04-15T04:02:55.739Z] 93b9cdb0e59b: Pulling fs layer [2021-04-15T04:02:55.739Z] 5e14af77c1be: Pulling fs layer [2021-04-15T04:02:55.739Z] 01666e4c0597: Pulling fs layer [2021-04-15T04:02:55.739Z] aa168da1d23b: Pulling fs layer [2021-04-15T04:02:55.739Z] 93b9cdb0e59b: Waiting [2021-04-15T04:02:55.739Z] 5e14af77c1be: Waiting [2021-04-15T04:02:55.739Z] 01666e4c0597: Waiting [2021-04-15T04:02:55.739Z] 93b61091891f: Waiting [2021-04-15T04:02:55.739Z] 46f8f816bc3b: Waiting [2021-04-15T04:02:55.739Z] aa168da1d23b: Waiting [2021-04-15T04:02:55.739Z] 36b3adc4ff6f: Verifying Checksum [2021-04-15T04:02:55.739Z] 36b3adc4ff6f: Download complete [2021-04-15T04:02:55.739Z] 46f8f816bc3b: Verifying Checksum [2021-04-15T04:02:55.739Z] 46f8f816bc3b: Download complete [2021-04-15T04:02:56.006Z] df20fa9351a1: Verifying Checksum [2021-04-15T04:02:56.006Z] df20fa9351a1: Download complete [2021-04-15T04:02:56.006Z] 93b9cdb0e59b: Verifying Checksum [2021-04-15T04:02:56.006Z] 93b9cdb0e59b: Download complete [2021-04-15T04:02:56.006Z] 5e14af77c1be: Download complete [2021-04-15T04:02:56.006Z] 93b61091891f: Verifying Checksum [2021-04-15T04:02:56.006Z] 93b61091891f: Download complete [2021-04-15T04:02:56.006Z] 01666e4c0597: Verifying Checksum [2021-04-15T04:02:56.006Z] 01666e4c0597: Download complete [2021-04-15T04:02:56.006Z] 8ad3a11d3b57: Verifying Checksum [2021-04-15T04:02:56.006Z] 8ad3a11d3b57: Download complete [2021-04-15T04:02:56.269Z] df20fa9351a1: Pull complete [2021-04-15T04:02:56.543Z] 36b3adc4ff6f: Pull complete [2021-04-15T04:02:57.507Z] 8ad3a11d3b57: Pull complete [2021-04-15T04:02:57.507Z] 46f8f816bc3b: Pull complete [2021-04-15T04:02:58.109Z] 93b61091891f: Pull complete [2021-04-15T04:02:58.374Z] 93b9cdb0e59b: Pull complete [2021-04-15T04:02:58.374Z] 5e14af77c1be: Pull complete [2021-04-15T04:02:58.641Z] aa168da1d23b: Verifying Checksum [2021-04-15T04:02:58.641Z] aa168da1d23b: Download complete [2021-04-15T04:02:58.641Z] 01666e4c0597: Pull complete [2021-04-15T04:03:05.345Z] aa168da1d23b: Pull complete [2021-04-15T04:03:05.345Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-15T04:03:05.345Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-15T04:03:05.345Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-15T04:03:05.537Z] prd-centos7-docker-4c-2g-196 does not seem to be running inside a container [2021-04-15T04:03:05.590Z] $ 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-878/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-878 -v /w/workspace/dgexfoundry_device-sdk-go_PR-878:/w/workspace/dgexfoundry_device-sdk-go_PR-878:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-878@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-15T04:03:08.629Z] $ docker top bc87916b9577ad01953fbade8cd0ce24fb0a7a2827cba5de6e2c877ee5b90e13 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-15T04:03:09.141Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-15T04:03:09.445Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-15T04:03:09.751Z] + ls /var/log/sa-host [2021-04-15T04:03:09.751Z] + sadf -c /var/log/sa-host/sa15 [2021-04-15T04:03:09.751Z] file_magic: OK [2021-04-15T04:03:09.751Z] HZ: Using current value: 100 [2021-04-15T04:03:09.751Z] file_header: OK [2021-04-15T04:03:09.751Z] 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-15T04:03:09.751Z] Statistics: [2021-04-15T04:03:09.751Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-15T04:03:09.751Z] File successfully converted to sysstat format version 12.2.1 [2021-04-15T04:03:09.751Z] + sadf -c /var/log/sa-host/sa23 [2021-04-15T04:03:09.751Z] file_magic: OK [2021-04-15T04:03:09.751Z] HZ: Using current value: 100 [2021-04-15T04:03:09.751Z] file_header: OK [2021-04-15T04:03:09.751Z] 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-15T04:03:09.751Z] Statistics: [2021-04-15T04:03:09.751Z] Hnuu...uuuununununu... [2021-04-15T04:03:09.751Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-15T04:03:10.305Z] provisioning config files... [2021-04-15T04:03:10.329Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/config2488390603635927409tmp [Pipeline] { [Pipeline] echo [2021-04-15T04:03:10.351Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T04:03:10.662Z] ---> create-netrc.sh [Pipeline] } [2021-04-15T04:03:10.672Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-15T04:03:10.698Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T04:03:10.996Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-15T04:03:11.008Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T04:03:11.316Z] ---> sudo-logs.sh [2021-04-15T04:03:11.316Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-15T04:03:11.351Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T04:03:11.651Z] ---> job-cost.sh [2021-04-15T04:03:11.651Z] lf-activate-venv: SKIPPING [2021-04-15T04:03:11.651Z] DEBUG: total: 0.20999999344348907 [2021-04-15T04:03:11.651Z] INFO: Retrieving Stack Cost... [2021-04-15T04:03:12.604Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-15T04:03:13.178Z] INFO: Archiving Costs [Pipeline] echo [2021-04-15T04:03:13.192Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T04:03:13.498Z] ---> logs-deploy.sh [2021-04-15T04:03:13.498Z] lf-activate-venv: SKIPPING [2021-04-15T04:03:13.498Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-878/3 [2021-04-15T04:03:13.498Z] INFO: archiving workspace using pattern(s): [2021-04-15T04:03:15.419Z] Archives upload complete. [2021-04-15T04:03:15.419Z] INFO: archiving logs to Nexus