Branch indexing 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 vijay-hcl-epl for edgexfoundry/device-sdk-go Obtained Jenkinsfile from fc417a4a7760e79cd3fb62518c4fb0334d857caa+76d059c2e27a3d5d488ff0022063f09e99d334bf (14b058de8b0906bd8885e419b43024a6672714a2) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-23327 in /w/workspace/dgexfoundry_device-sdk-go_PR-750 [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-750 # 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 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit fc417a4a7760e79cd3fb62518c4fb0334d857caa Merge succeeded, producing 2bbacc500818ba646153d5a4edbfc4162d2d85c4 Checking out Revision 2bbacc500818ba646153d5a4edbfc4162d2d85c4 (PR-750) > 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/750/head:refs/remotes/origin/PR-750 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc417a4a7760e79cd3fb62518c4fb0334d857caa # 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 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2bbacc500818ba646153d5a4edbfc4162d2d85c4 # timeout=10 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-27T02:42:59.551Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-27T02:42:59.785Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-27T02:42:59.891Z] ========================================================= [2021-01-27T02:42:59.891Z] EdgeX Global Pipelines Version Info [2021-01-27T02:42:59.891Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:43:01.383Z] ------------------- [2021-01-27T02:43:01.383Z] stable info: [2021-01-27T02:43:01.383Z] ------------------- [2021-01-27T02:43:01.383Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-27T02:43:01.383Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-27T02:43:01.383Z] Message: update stable to v1.0.179 [2021-01-27T02:43:02.368Z] ------------------- [2021-01-27T02:43:02.368Z] experimental info: [2021-01-27T02:43:02.368Z] ------------------- [2021-01-27T02:43:02.368Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-27T02:43:02.368Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-27T02:43:02.368Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-27T02:43:02.647Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-27T02:43:02.731Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-27T02:43:02.813Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-27T02:43:02.914Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-27T02:43:03.025Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-27T02:43:03.130Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-27T02:43:03.237Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-27T02:43:03.346Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-27T02:43:03.458Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-27T02:43:03.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-27T02:43:03.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-27T02:43:03.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-27T02:43:03.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-27T02:43:03.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-27T02:43:04.122Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-27T02:43:04.214Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T02:43:04.314Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T02:43:04.432Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T02:43:04.570Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-27T02:43:04.690Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-27T02:43:04.844Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-27T02:43:04.960Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-27T02:43:05.086Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-27T02:43:05.251Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-27T02:43:05.349Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-27T02:43:05.456Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-27T02:43:05.594Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-27T02:43:05.679Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-750 [Pipeline] echo [2021-01-27T02:43:05.763Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-750 [Pipeline] echo [2021-01-27T02:43:05.848Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-750 [Pipeline] echo [2021-01-27T02:43:05.938Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2bbacc500818ba646153d5a4edbfc4162d2d85c4 [Pipeline] echo [2021-01-27T02:43:06.022Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2bbacc5 [Pipeline] echo [2021-01-27T02:43:06.104Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-27T02:43:06.264Z] provisioning config files... [2021-01-27T02:43:06.292Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/config3166939085438965681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:43:06.642Z] ---> docker-login.sh [2021-01-27T02:43:06.643Z] nexus3.edgexfoundry.org:10001 [2021-01-27T02:43:06.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:43:07.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:43:07.166Z] Configure a credential helper to remove this warning. See [2021-01-27T02:43:07.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:43:07.166Z] [2021-01-27T02:43:07.166Z] Login Succeeded [2021-01-27T02:43:07.166Z] nexus3.edgexfoundry.org:10002 [2021-01-27T02:43:07.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:43:07.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:43:07.166Z] Configure a credential helper to remove this warning. See [2021-01-27T02:43:07.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:43:07.166Z] [2021-01-27T02:43:07.166Z] Login Succeeded [2021-01-27T02:43:07.166Z] nexus3.edgexfoundry.org:10003 [2021-01-27T02:43:07.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:43:07.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:43:07.427Z] Configure a credential helper to remove this warning. See [2021-01-27T02:43:07.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:43:07.427Z] [2021-01-27T02:43:07.427Z] Login Succeeded [2021-01-27T02:43:07.427Z] nexus3.edgexfoundry.org:10004 [2021-01-27T02:43:07.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:43:07.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:43:07.690Z] Configure a credential helper to remove this warning. See [2021-01-27T02:43:07.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:43:07.690Z] [2021-01-27T02:43:07.690Z] Login Succeeded [2021-01-27T02:43:07.690Z] docker.io [2021-01-27T02:43:07.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:43:07.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:43:07.956Z] Configure a credential helper to remove this warning. See [2021-01-27T02:43:07.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:43:07.956Z] [2021-01-27T02:43:07.956Z] Login Succeeded [2021-01-27T02:43:07.956Z] ---> docker-login.sh ends [Pipeline] } [2021-01-27T02:43:07.965Z] 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-01-27T02:43:08.752Z] + git log --format=format:%s -1 2bbacc500818ba646153d5a4edbfc4162d2d85c4 [Pipeline] echo [2021-01-27T02:43:08.830Z] GIT_COMMIT: 2bbacc500818ba646153d5a4edbfc4162d2d85c4, Commit Message: Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD [Pipeline] echo [2021-01-27T02:43:08.898Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:43:09.569Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T02:43:09.569Z] [2021-01-27T02:43:09.569Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:43:09.919Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T02:43:09.919Z] latest: Pulling from edgex-devops/git-semver [2021-01-27T02:43:09.919Z] 31603596830f: Pulling fs layer [2021-01-27T02:43:09.919Z] 2a8b12db71e7: Pulling fs layer [2021-01-27T02:43:09.919Z] 6ca5941a6612: Pulling fs layer [2021-01-27T02:43:09.919Z] ecc8261a40a4: Pulling fs layer [2021-01-27T02:43:09.919Z] ecc8261a40a4: Waiting [2021-01-27T02:43:09.919Z] 2a8b12db71e7: Verifying Checksum [2021-01-27T02:43:09.919Z] 2a8b12db71e7: Download complete [2021-01-27T02:43:09.919Z] 31603596830f: Verifying Checksum [2021-01-27T02:43:09.919Z] 31603596830f: Download complete [2021-01-27T02:43:10.186Z] 6ca5941a6612: Verifying Checksum [2021-01-27T02:43:10.186Z] 6ca5941a6612: Download complete [2021-01-27T02:43:10.448Z] ecc8261a40a4: Verifying Checksum [2021-01-27T02:43:10.448Z] ecc8261a40a4: Download complete [2021-01-27T02:43:10.448Z] 31603596830f: Pull complete [2021-01-27T02:43:10.713Z] 2a8b12db71e7: Pull complete [2021-01-27T02:43:11.661Z] 6ca5941a6612: Pull complete [2021-01-27T02:43:11.661Z] ecc8261a40a4: Pull complete [2021-01-27T02:43:11.661Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-27T02:43:11.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T02:43:11.661Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-27T02:43:11.765Z] prd-centos7-docker-4c-2g-23327 does not seem to be running inside a container [2021-01-27T02:43:11.820Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-750 -v /w/workspace/dgexfoundry_device-sdk-go_PR-750:/w/workspace/dgexfoundry_device-sdk-go_PR-750:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-27T02:43:13.845Z] $ docker top e22a2d7a8da16792816b9a195db9de8815bd62947e8bf0dc967f9ecbe69424e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-27T02:43:14.166Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-27T02:43:14.166Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-27T02:43:14.412Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-27T02:43:14.417Z] $ docker exec e22a2d7a8da16792816b9a195db9de8815bd62947e8bf0dc967f9ecbe69424e1 ssh-agent [2021-01-27T02:43:14.593Z] SSH_AUTH_SOCK=/tmp/ssh-TYCcs7TVqSbT/agent.11 [2021-01-27T02:43:14.593Z] SSH_AGENT_PID=16 [2021-01-27T02:43:14.603Z] Running ssh-add (command line suppressed) [2021-01-27T02:43:14.720Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_2201634455607603502.key (/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_2201634455607603502.key) [2021-01-27T02:43:14.768Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-27T02:43:15.129Z] + git tag --points-at HEAD [Pipeline] } [2021-01-27T02:43:15.155Z] $ docker exec --env ******** --env ******** e22a2d7a8da16792816b9a195db9de8815bd62947e8bf0dc967f9ecbe69424e1 ssh-agent -k [2021-01-27T02:43:15.263Z] unset SSH_AUTH_SOCK; [2021-01-27T02:43:15.263Z] unset SSH_AGENT_PID; [2021-01-27T02:43:15.263Z] echo Agent pid 16 killed; [2021-01-27T02:43:15.306Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-27T02:43:15.518Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-27T02:43:15.518Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-27T02:43:15.684Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-27T02:43:15.689Z] $ docker exec e22a2d7a8da16792816b9a195db9de8815bd62947e8bf0dc967f9ecbe69424e1 ssh-agent [2021-01-27T02:43:15.864Z] SSH_AUTH_SOCK=/tmp/ssh-7ztbtI3wA6lO/agent.44 [2021-01-27T02:43:15.864Z] SSH_AGENT_PID=49 [2021-01-27T02:43:15.874Z] Running ssh-add (command line suppressed) [2021-01-27T02:43:15.993Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_1025166284259313004.key (/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_1025166284259313004.key) [2021-01-27T02:43:16.045Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-27T02:43:16.388Z] + git semver init [2021-01-27T02:43:16.388Z] # -> Open(): unable to determine branch for HEAD [2021-01-27T02:43:16.388Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-750/.git [2021-01-27T02:43:16.388Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-750 [2021-01-27T02:43:16.388Z] # $SEMVER_REMOTE_NAME = origin [2021-01-27T02:43:16.388Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-27T02:43:16.388Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-27T02:43:16.388Z] # $SEMVER_BRANCH = PR-750 [2021-01-27T02:43:16.388Z] # $SEMVER_TEMP = /tmp/semver-426911409 [2021-01-27T02:43:16.388Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-27T02:43:17.332Z] # '/tmp/semver-426911409' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-750/.semver' [2021-01-27T02:43:17.332Z] # -> Force: false [2021-01-27T02:43:17.332Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-750/.semver [Pipeline] } [2021-01-27T02:43:17.346Z] $ docker exec --env ******** --env ******** e22a2d7a8da16792816b9a195db9de8815bd62947e8bf0dc967f9ecbe69424e1 ssh-agent -k [2021-01-27T02:43:17.457Z] unset SSH_AUTH_SOCK; [2021-01-27T02:43:17.457Z] unset SSH_AGENT_PID; [2021-01-27T02:43:17.457Z] echo Agent pid 49 killed; [2021-01-27T02:43:17.505Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-27T02:43:18.171Z] + git semver [Pipeline] } [2021-01-27T02:43:18.187Z] $ docker stop --time=1 e22a2d7a8da16792816b9a195db9de8815bd62947e8bf0dc967f9ecbe69424e1 [2021-01-27T02:43:19.543Z] $ docker rm -f e22a2d7a8da16792816b9a195db9de8815bd62947e8bf0dc967f9ecbe69424e1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-27T02:43:20.206Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-27T02:43:20.848Z] Stashed 1 file(s) [Pipeline] echo [2021-01-27T02:43:20.850Z] [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-01-27T02:43:36.358Z] Still waiting to schedule task [2021-01-27T02:43:36.358Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23325’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-23295’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23296’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23297’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23299’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-27T02:43:36.360Z] Still waiting to schedule task [2021-01-27T02:43:36.361Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-27T02:44:43.861Z] Running on prd-centos7-docker-4c-2g-23330 in /w/workspace/dgexfoundry_device-sdk-go_PR-750 [Pipeline] { [Pipeline] ws [2021-01-27T02:44:43.916Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-01-27T02:44:52.375Z] using credential edgex-jenkins-ssh [2021-01-27T02:44:52.429Z] Cloning the remote Git repository [2021-01-27T02:44:52.485Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:44:52.631Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-01-27T02:44:52.763Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:44:52.763Z] > git --version # timeout=10 [2021-01-27T02:44:52.783Z] > git --version # 'git version 2.24.3' [2021-01-27T02:44:52.783Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:44:52.840Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T02:44:54.661Z] Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit fc417a4a7760e79cd3fb62518c4fb0334d857caa [2021-01-27T02:44:53.880Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T02:44:53.933Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T02:44:53.988Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T02:44:54.039Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:44:54.040Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:44:54.047Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/750/head:refs/remotes/origin/PR-750 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-27T02:44:54.682Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T02:44:54.759Z] > git checkout -f fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 [2021-01-27T02:44:54.918Z] > git remote # timeout=10 [2021-01-27T02:44:54.960Z] > git config --get remote.origin.url # timeout=10 [2021-01-27T02:44:55.023Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:44:55.031Z] > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 [2021-01-27T02:44:56.134Z] Merge succeeded, producing a45b28c82594f09092fa19c141243984f3ae8e44 [2021-01-27T02:44:56.134Z] Checking out Revision a45b28c82594f09092fa19c141243984f3ae8e44 (PR-750) [2021-01-27T02:44:56.060Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-27T02:44:56.138Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T02:44:56.160Z] > git checkout -f a45b28c82594f09092fa19c141243984f3ae8e44 # timeout=10 [2021-01-27T02:45:01.278Z] Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" [2021-01-27T02:45:01.306Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T02:45:01.284Z] > git rev-list --no-walk 176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 # timeout=10 [2021-01-27T02:45:03.132Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-27T02:45:03.600Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-27T02:45:03.949Z] + sudo service docker restart [2021-01-27T02:45:03.949Z] + true [2021-01-27T02:45:03.949Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-27T02:45:06.087Z] provisioning config files... [2021-01-27T02:45:06.156Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config3429962884144639466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:45:06.879Z] ---> docker-login.sh [2021-01-27T02:45:06.879Z] nexus3.edgexfoundry.org:10001 [2021-01-27T02:45:08.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:45:08.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:45:08.031Z] Configure a credential helper to remove this warning. See [2021-01-27T02:45:08.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:45:08.031Z] [2021-01-27T02:45:08.031Z] Login Succeeded [2021-01-27T02:45:08.031Z] nexus3.edgexfoundry.org:10002 [2021-01-27T02:45:08.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:45:08.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:45:08.660Z] Configure a credential helper to remove this warning. See [2021-01-27T02:45:08.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:45:08.660Z] [2021-01-27T02:45:08.660Z] Login Succeeded [2021-01-27T02:45:08.660Z] nexus3.edgexfoundry.org:10003 [2021-01-27T02:45:09.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:45:09.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:45:09.394Z] Configure a credential helper to remove this warning. See [2021-01-27T02:45:09.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:45:09.394Z] [2021-01-27T02:45:09.394Z] Login Succeeded [2021-01-27T02:45:09.394Z] nexus3.edgexfoundry.org:10004 [2021-01-27T02:45:10.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:45:10.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:45:10.137Z] Configure a credential helper to remove this warning. See [2021-01-27T02:45:10.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:45:10.137Z] [2021-01-27T02:45:10.137Z] Login Succeeded [2021-01-27T02:45:10.137Z] docker.io [2021-01-27T02:45:10.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:45:11.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:45:11.219Z] Configure a credential helper to remove this warning. See [2021-01-27T02:45:11.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:45:11.219Z] [2021-01-27T02:45:11.219Z] Login Succeeded [2021-01-27T02:45:11.219Z] ---> docker-login.sh ends [Pipeline] } [2021-01-27T02:45:11.255Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-27T02:45:11.912Z] ========================================================= [2021-01-27T02:45:11.913Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-27T02:45:11.913Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:45:12.753Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-27T02:45:12.753Z] Sending build context to Docker daemon 2.637MB [2021-01-27T02:45:12.753Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T02:45:12.753Z] Step 2/8 : FROM ${BASE} [2021-01-27T02:45:13.110Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-27T02:45:13.110Z] 188c0c94c7c5: Pulling fs layer [2021-01-27T02:45:13.110Z] 0ef7d3d256c8: Pulling fs layer [2021-01-27T02:45:13.110Z] de9db76c5a1d: Pulling fs layer [2021-01-27T02:45:13.110Z] bca2f99d35d6: Pulling fs layer [2021-01-27T02:45:13.110Z] 93359f2a8cfa: Pulling fs layer [2021-01-27T02:45:13.110Z] 7c6f9722023f: Pulling fs layer [2021-01-27T02:45:13.110Z] a35cf1a2eb13: Pulling fs layer [2021-01-27T02:45:13.110Z] 93359f2a8cfa: Waiting [2021-01-27T02:45:13.110Z] bca2f99d35d6: Waiting [2021-01-27T02:45:13.110Z] 7c6f9722023f: Waiting [2021-01-27T02:45:13.110Z] a35cf1a2eb13: Waiting [2021-01-27T02:45:13.110Z] de9db76c5a1d: Verifying Checksum [2021-01-27T02:45:13.110Z] de9db76c5a1d: Download complete [2021-01-27T02:45:13.110Z] 0ef7d3d256c8: Verifying Checksum [2021-01-27T02:45:13.110Z] 0ef7d3d256c8: Download complete [2021-01-27T02:45:13.427Z] 93359f2a8cfa: Verifying Checksum [2021-01-27T02:45:13.427Z] 93359f2a8cfa: Download complete [2021-01-27T02:45:13.427Z] 7c6f9722023f: Verifying Checksum [2021-01-27T02:45:13.427Z] 7c6f9722023f: Download complete [2021-01-27T02:45:13.751Z] 188c0c94c7c5: Verifying Checksum [2021-01-27T02:45:13.751Z] 188c0c94c7c5: Download complete [2021-01-27T02:45:14.617Z] 188c0c94c7c5: Pull complete [2021-01-27T02:45:14.976Z] 0ef7d3d256c8: Pull complete [2021-01-27T02:45:15.427Z] de9db76c5a1d: Pull complete [2021-01-27T02:45:22.830Z] a35cf1a2eb13: Verifying Checksum [2021-01-27T02:45:22.830Z] a35cf1a2eb13: Download complete [2021-01-27T02:45:24.370Z] bca2f99d35d6: Verifying Checksum [2021-01-27T02:45:24.370Z] bca2f99d35d6: Download complete [2021-01-27T02:45:39.752Z] bca2f99d35d6: Pull complete [2021-01-27T02:45:39.752Z] 93359f2a8cfa: Pull complete [2021-01-27T02:45:39.752Z] 7c6f9722023f: Pull complete [2021-01-27T02:45:45.324Z] a35cf1a2eb13: Pull complete [2021-01-27T02:45:45.324Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-27T02:45:45.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-27T02:45:45.324Z] ---> a62c8e92a672 [2021-01-27T02:45:45.324Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:45:45.923Z] ---> Running in 0bcc28120eb6 [2021-01-27T02:45:46.682Z] Removing intermediate container 0bcc28120eb6 [2021-01-27T02:45:46.682Z] ---> dbc34290568c [2021-01-27T02:45:46.682Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T02:45:46.682Z] ---> Running in 9fa49e60b031 [2021-01-27T02:45:49.416Z] Removing intermediate container 9fa49e60b031 [2021-01-27T02:45:49.416Z] ---> 87577366caf1 [2021-01-27T02:45:49.416Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-27T02:45:49.416Z] ---> Running in 30b95f602111 [2021-01-27T02:45:50.462Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-27T02:45:51.503Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-27T02:45:53.090Z] OK: 166 MiB in 39 packages [2021-01-27T02:45:53.761Z] Removing intermediate container 30b95f602111 [2021-01-27T02:45:53.761Z] ---> 238172d2fe74 [2021-01-27T02:45:53.761Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-27T02:45:53.761Z] ---> Running in 0bd4d1757eb3 [2021-01-27T02:45:54.375Z] Removing intermediate container 0bd4d1757eb3 [2021-01-27T02:45:54.375Z] ---> e66884b18ec7 [2021-01-27T02:45:54.375Z] Step 7/8 : COPY . . [2021-01-27T02:45:56.458Z] ---> b6bc3ccc8780 [2021-01-27T02:45:56.458Z] Step 8/8 : RUN go mod download [2021-01-27T02:45:56.458Z] ---> Running in 8b67ca22a49e [2021-01-27T02:45:59.101Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23339 in /w/workspace/dgexfoundry_device-sdk-go_PR-750 [Pipeline] { [Pipeline] ws [2021-01-27T02:45:59.151Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-01-27T02:46:04.625Z] using credential edgex-jenkins-ssh [2021-01-27T02:46:04.688Z] Cloning the remote Git repository [2021-01-27T02:46:04.753Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:46:04.874Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-01-27T02:46:04.958Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:46:04.959Z] > git --version # timeout=10 [2021-01-27T02:46:04.981Z] > git --version # 'git version 2.17.1' [2021-01-27T02:46:04.982Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:46:05.077Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T02:46:06.273Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T02:46:06.294Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T02:46:06.331Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T02:46:06.372Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:46:06.372Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:46:06.383Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/750/head:refs/remotes/origin/PR-750 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-27T02:46:07.028Z] Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit fc417a4a7760e79cd3fb62518c4fb0334d857caa [2021-01-27T02:46:07.538Z] Merge succeeded, producing dc2804b5200cc53467e1c56ccf54ca3e5565f658 [2021-01-27T02:46:07.539Z] Checking out Revision dc2804b5200cc53467e1c56ccf54ca3e5565f658 (PR-750) [2021-01-27T02:46:07.056Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T02:46:07.083Z] > git checkout -f fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 [2021-01-27T02:46:07.225Z] > git remote # timeout=10 [2021-01-27T02:46:07.251Z] > git config --get remote.origin.url # timeout=10 [2021-01-27T02:46:07.320Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:46:07.342Z] > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 [2021-01-27T02:46:07.527Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-27T02:46:07.548Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T02:46:07.566Z] > git checkout -f dc2804b5200cc53467e1c56ccf54ca3e5565f658 # timeout=10 [2021-01-27T02:46:11.855Z] Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" [2021-01-27T02:46:11.877Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T02:46:11.864Z] > git rev-list --no-walk 176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 # timeout=10 [2021-01-27T02:46:13.336Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-27T02:46:13.785Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-27T02:46:14.126Z] + sudo service docker restart [2021-01-27T02:46:14.126Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-27T02:46:16.836Z] provisioning config files... [2021-01-27T02:46:16.886Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config5108070506680724842tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:46:17.298Z] ---> docker-login.sh [2021-01-27T02:46:17.298Z] nexus3.edgexfoundry.org:10001 [2021-01-27T02:46:18.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:46:18.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:46:18.565Z] Configure a credential helper to remove this warning. See [2021-01-27T02:46:18.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:46:18.565Z] [2021-01-27T02:46:18.565Z] Login Succeeded [2021-01-27T02:46:18.565Z] nexus3.edgexfoundry.org:10002 [2021-01-27T02:46:19.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:46:19.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:46:19.171Z] Configure a credential helper to remove this warning. See [2021-01-27T02:46:19.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:46:19.171Z] [2021-01-27T02:46:19.171Z] Login Succeeded [2021-01-27T02:46:19.171Z] nexus3.edgexfoundry.org:10003 [2021-01-27T02:46:19.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:46:19.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:46:19.817Z] Configure a credential helper to remove this warning. See [2021-01-27T02:46:19.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:46:19.817Z] [2021-01-27T02:46:19.817Z] Login Succeeded [2021-01-27T02:46:19.817Z] nexus3.edgexfoundry.org:10004 [2021-01-27T02:46:20.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:46:20.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:46:20.368Z] Configure a credential helper to remove this warning. See [2021-01-27T02:46:20.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:46:20.368Z] [2021-01-27T02:46:20.368Z] Login Succeeded [2021-01-27T02:46:20.368Z] docker.io [2021-01-27T02:46:20.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:46:21.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:46:21.235Z] Configure a credential helper to remove this warning. See [2021-01-27T02:46:21.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:46:21.235Z] [2021-01-27T02:46:21.235Z] Login Succeeded [2021-01-27T02:46:21.235Z] ---> docker-login.sh ends [Pipeline] } [2021-01-27T02:46:21.255Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-27T02:46:21.738Z] ========================================================= [2021-01-27T02:46:21.738Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-27T02:46:21.738Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:46:22.133Z] + 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-01-27T02:46:22.774Z] Sending build context to Docker daemon 2.636MB [2021-01-27T02:46:22.774Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T02:46:22.774Z] Step 2/8 : FROM ${BASE} [2021-01-27T02:46:22.774Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-27T02:46:22.774Z] 5f621e34cdf4: Pulling fs layer [2021-01-27T02:46:22.774Z] a4357932f1b6: Pulling fs layer [2021-01-27T02:46:22.774Z] 18c013af1878: Pulling fs layer [2021-01-27T02:46:22.774Z] 00ac8860ef70: Pulling fs layer [2021-01-27T02:46:22.774Z] 00ac8860ef70: Waiting [2021-01-27T02:46:22.774Z] 63d7cb157983: Pulling fs layer [2021-01-27T02:46:22.774Z] b116817d02f9: Pulling fs layer [2021-01-27T02:46:22.774Z] 745a02a5169b: Pulling fs layer [2021-01-27T02:46:22.774Z] 63d7cb157983: Waiting [2021-01-27T02:46:22.774Z] 745a02a5169b: Waiting [2021-01-27T02:46:22.774Z] b116817d02f9: Waiting [2021-01-27T02:46:22.774Z] 18c013af1878: Verifying Checksum [2021-01-27T02:46:22.774Z] 18c013af1878: Download complete [2021-01-27T02:46:22.774Z] a4357932f1b6: Verifying Checksum [2021-01-27T02:46:22.774Z] a4357932f1b6: Download complete [2021-01-27T02:46:22.774Z] 63d7cb157983: Verifying Checksum [2021-01-27T02:46:22.774Z] 63d7cb157983: Download complete [2021-01-27T02:46:23.392Z] b116817d02f9: Download complete [2021-01-27T02:46:24.016Z] 5f621e34cdf4: Verifying Checksum [2021-01-27T02:46:24.016Z] 5f621e34cdf4: Download complete [2021-01-27T02:46:24.629Z] 5f621e34cdf4: Pull complete [2021-01-27T02:46:25.228Z] a4357932f1b6: Pull complete [2021-01-27T02:46:25.502Z] 18c013af1878: Pull complete [2021-01-27T02:46:26.972Z] 745a02a5169b: Download complete [2021-01-27T02:46:28.410Z] 00ac8860ef70: Verifying Checksum [2021-01-27T02:46:28.410Z] 00ac8860ef70: Download complete [2021-01-27T02:46:36.622Z] Removing intermediate container 8b67ca22a49e [2021-01-27T02:46:36.622Z] ---> cb3842d23667 [2021-01-27T02:46:36.622Z] Successfully built cb3842d23667 [2021-01-27T02:46:36.622Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:46:37.033Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-27T02:46:37.320Z] . [Pipeline] withDockerContainer [2021-01-27T02:46:37.744Z] prd-centos7-docker-4c-2g-23330 does not seem to be running inside a container [2021-01-27T02:46:37.903Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-01-27T02:46:38.580Z] 00ac8860ef70: Pull complete [2021-01-27T02:46:38.580Z] 63d7cb157983: Pull complete [2021-01-27T02:46:38.580Z] b116817d02f9: Pull complete [2021-01-27T02:46:40.054Z] $ docker top 6cb67d0bd40a34de454637e231a78a87c68b2d8610169bad180c86f6d73d8e2d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:46:41.215Z] 745a02a5169b: Pull complete [2021-01-27T02:46:41.215Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-27T02:46:41.215Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-27T02:46:41.215Z] ---> b7e6874047d6 [2021-01-27T02:46:41.215Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:46:41.758Z] + go version [2021-01-27T02:46:41.758Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-27T02:46:41.790Z] $ docker stop --time=1 6cb67d0bd40a34de454637e231a78a87c68b2d8610169bad180c86f6d73d8e2d [2021-01-27T02:46:43.534Z] $ docker rm -f 6cb67d0bd40a34de454637e231a78a87c68b2d8610169bad180c86f6d73d8e2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:46:44.661Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-27T02:46:44.662Z] . [2021-01-27T02:46:44.666Z] ---> Running in 972793becfd1 [2021-01-27T02:46:44.666Z] Removing intermediate container 972793becfd1 [2021-01-27T02:46:44.666Z] ---> 4383db15c541 [2021-01-27T02:46:44.666Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T02:46:44.666Z] ---> Running in 882854dfd081 [Pipeline] withDockerContainer [2021-01-27T02:46:44.926Z] prd-centos7-docker-4c-2g-23330 does not seem to be running inside a container [2021-01-27T02:46:45.128Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-01-27T02:46:46.316Z] $ docker top 41708b0c06d61d7ef08721c79aacb4425b48d2637aba8583b7b3ece817e77b75 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:46:47.330Z] Removing intermediate container 882854dfd081 [2021-01-27T02:46:47.330Z] ---> ac5a4c6f6991 [2021-01-27T02:46:47.330Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-27T02:46:47.330Z] ---> Running in afb89df2131a [2021-01-27T02:46:47.440Z] + make test [2021-01-27T02:46:47.440Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-27T02:46:48.325Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-27T02:46:49.762Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-27T02:46:52.382Z] OK: 142 MiB in 39 packages [2021-01-27T02:46:53.369Z] Removing intermediate container afb89df2131a [2021-01-27T02:46:53.369Z] ---> 53cb5e3fdb7d [2021-01-27T02:46:53.369Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-27T02:46:53.643Z] ---> Running in e6f5bcaaffa1 [2021-01-27T02:46:54.239Z] Removing intermediate container e6f5bcaaffa1 [2021-01-27T02:46:54.239Z] ---> 9a69a8e76d31 [2021-01-27T02:46:54.239Z] Step 7/8 : COPY . . [2021-01-27T02:46:55.674Z] ---> 82c4ebea0664 [2021-01-27T02:46:55.674Z] Step 8/8 : RUN go mod download [2021-01-27T02:46:55.955Z] ---> Running in 34c3c8d4a5cd [2021-01-27T02:47:06.427Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-27T02:47:22.824Z] Removing intermediate container 34c3c8d4a5cd [2021-01-27T02:47:22.824Z] ---> 891ceaa2486b [2021-01-27T02:47:22.824Z] Successfully built 891ceaa2486b [2021-01-27T02:47:22.824Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:47:23.232Z] + docker inspect -f . ci-base-image-arm64 [2021-01-27T02:47:23.232Z] . [Pipeline] withDockerContainer [2021-01-27T02:47:23.550Z] prd-ubuntu18.04-docker-arm64-4c-16g-23339 does not seem to be running inside a container [2021-01-27T02:47:23.721Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-27T02:47:25.340Z] $ docker top ed05ebe29674bdb99895fe40f657af6aaf2d890c946d85596a0f73028e23f111 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:47:26.400Z] + go version [2021-01-27T02:47:26.400Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-27T02:47:26.427Z] $ docker stop --time=1 ed05ebe29674bdb99895fe40f657af6aaf2d890c946d85596a0f73028e23f111 [2021-01-27T02:47:28.485Z] $ docker rm -f ed05ebe29674bdb99895fe40f657af6aaf2d890c946d85596a0f73028e23f111 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:47:29.546Z] + docker inspect -f . ci-base-image-arm64 [2021-01-27T02:47:29.546Z] . [Pipeline] withDockerContainer [2021-01-27T02:47:29.873Z] prd-ubuntu18.04-docker-arm64-4c-16g-23339 does not seem to be running inside a container [2021-01-27T02:47:29.973Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-27T02:47:31.508Z] $ docker top a1c46c23b400a85a2a4eae7ac2d3e782010e516fdd0debdffdca5b786d3bcdf6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:47:32.553Z] + make test [2021-01-27T02:47:32.553Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-27T02:47:40.093Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-27T02:47:40.093Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-27T02:47:40.093Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-27T02:47:40.093Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.143s coverage: 19.4% of statements [2021-01-27T02:47:47.667Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.756s coverage: 97.1% of statements [2021-01-27T02:47:54.796Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-27T02:48:14.889Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.174s coverage: 9.4% of statements [2021-01-27T02:48:14.889Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.153s coverage: 21.7% of statements [2021-01-27T02:48:14.889Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-27T02:48:14.889Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.457s coverage: 43.2% of statements [2021-01-27T02:48:14.889Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-27T02:48:14.889Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.562s coverage: 68.9% of statements [2021-01-27T02:48:14.889Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-27T02:48:14.889Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-27T02:48:14.889Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-27T02:48:14.889Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-27T02:48:14.889Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.121s coverage: 53.8% of statements [2021-01-27T02:48:14.889Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-27T02:48:14.889Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-27T02:48:14.889Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.103s coverage: 26.8% of statements [2021-01-27T02:48:14.889Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.480s coverage: 83.5% of statements [2021-01-27T02:48:14.889Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.088s coverage: 4.2% of statements [2021-01-27T02:48:14.889Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-27T02:48:14.889Z] GO111MODULE=on go vet ./... [2021-01-27T02:48:37.917Z] gofmt -l . [2021-01-27T02:48:37.917Z] [ "`gofmt -l .`" = "" ] [2021-01-27T02:48:37.917Z] ./bin/test-attribution-txt.sh [2021-01-27T02:48:37.917Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-27T02:48:38.560Z] $ docker stop --time=1 41708b0c06d61d7ef08721c79aacb4425b48d2637aba8583b7b3ece817e77b75 [2021-01-27T02:48:41.179Z] $ docker rm -f 41708b0c06d61d7ef08721c79aacb4425b48d2637aba8583b7b3ece817e77b75 [Pipeline] // withDockerContainer [2021-01-27T02:48:41.859Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-27T02:48:41.859Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-27T02:48:41.859Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-27T02:48:41.859Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.121s coverage: 19.4% of statements [Pipeline] sh [2021-01-27T02:48:42.229Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-27T02:48:43.149Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-01-27T02:48:43.302Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.353s coverage: 97.1% of statements [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-27T02:48:44.621Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-27T02:48:45.025Z] + ls -al . [2021-01-27T02:48:45.025Z] total 216 [2021-01-27T02:48:45.025Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 27 02:48 . [2021-01-27T02:48:45.025Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 27 02:44 .. [2021-01-27T02:48:45.025Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 27 02:44 bin [2021-01-27T02:48:45.025Z] -rw-r--r--. 1 jenkins jenkins 136842 Jan 27 02:48 coverage.out [2021-01-27T02:48:45.025Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 27 02:44 Dockerfile.build [2021-01-27T02:48:45.025Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 27 02:44 .dockerignore [2021-01-27T02:48:45.025Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 27 02:44 example [2021-01-27T02:48:45.025Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 27 02:45 .git [2021-01-27T02:48:45.025Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 27 02:44 .github [2021-01-27T02:48:45.025Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 27 02:44 .gitignore [2021-01-27T02:48:45.025Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 27 02:48 go.mod [2021-01-27T02:48:45.025Z] -rw-r--r--. 1 jenkins jenkins 14016 Jan 27 02:48 go.sum [2021-01-27T02:48:45.025Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 27 02:44 internal [2021-01-27T02:48:45.025Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 27 02:44 Jenkinsfile [2021-01-27T02:48:45.025Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 27 02:44 LICENSE [2021-01-27T02:48:45.025Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 27 02:44 Makefile [2021-01-27T02:48:45.025Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 27 02:44 openapi [2021-01-27T02:48:45.025Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 27 02:44 pkg [2021-01-27T02:48:45.025Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 27 02:44 README.md [2021-01-27T02:48:45.025Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 27 02:44 RELEASE-NOTES.txt [2021-01-27T02:48:45.025Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 27 02:44 snap [2021-01-27T02:48:45.025Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 27 02:43 VERSION [2021-01-27T02:48:45.025Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 27 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:48:45.404Z] + 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=2bbacc500818ba646153d5a4edbfc4162d2d85c4 --label arch=amd64 --label version=0.0.0 . [2021-01-27T02:48:45.996Z] Sending build context to Docker daemon 2.775MB [2021-01-27T02:48:45.997Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T02:48:45.997Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-27T02:48:45.997Z] ---> cb3842d23667 [2021-01-27T02:48:45.997Z] Step 3/24 : ARG MAKE='make build' [2021-01-27T02:48:46.297Z] ---> Running in 8f2eaf4ef1bb [2021-01-27T02:48:46.568Z] Removing intermediate container 8f2eaf4ef1bb [2021-01-27T02:48:46.568Z] ---> f35b96fd34b2 [2021-01-27T02:48:46.568Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-27T02:48:46.568Z] ---> Running in ea2986319eff [2021-01-27T02:48:46.885Z] Removing intermediate container ea2986319eff [2021-01-27T02:48:46.885Z] ---> 9e726cd22741 [2021-01-27T02:48:46.885Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:48:47.172Z] ---> Running in 797377bc9a7e [2021-01-27T02:48:47.456Z] Removing intermediate container 797377bc9a7e [2021-01-27T02:48:47.456Z] ---> 227e3f974d1f [2021-01-27T02:48:47.456Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T02:48:47.456Z] ---> Running in 46d2b8488b21 [2021-01-27T02:48:48.934Z] Removing intermediate container 46d2b8488b21 [2021-01-27T02:48:48.934Z] ---> 37bb67fe3ef3 [2021-01-27T02:48:48.934Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-27T02:48:48.934Z] ---> Running in 6ae9f794d0d3 [2021-01-27T02:48:49.554Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-27T02:48:50.535Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-27T02:48:51.120Z] OK: 166 MiB in 39 packages [2021-01-27T02:48:52.100Z] Removing intermediate container 6ae9f794d0d3 [2021-01-27T02:48:52.100Z] ---> c78de13995a9 [2021-01-27T02:48:52.100Z] Step 8/24 : COPY . . [2021-01-27T02:48:53.141Z] ---> 4b6186001d98 [2021-01-27T02:48:53.141Z] Step 9/24 : RUN ${MAKE} [2021-01-27T02:48:53.141Z] ---> Running in d18ce06005f6 [2021-01-27T02:48:54.202Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-27T02:49:12.885Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-27T02:49:14.319Z] Removing intermediate container d18ce06005f6 [2021-01-27T02:49:14.319Z] ---> 846a0c5640b7 [2021-01-27T02:49:14.319Z] Step 10/24 : FROM scratch [2021-01-27T02:49:14.319Z] ---> [2021-01-27T02:49:14.319Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:49:14.319Z] ---> Running in 327353dd03c7 [2021-01-27T02:49:14.592Z] Removing intermediate container 327353dd03c7 [2021-01-27T02:49:14.592Z] ---> 5cd2b2f9fe78 [2021-01-27T02:49:14.592Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-27T02:49:14.867Z] ---> Running in 73bc080fe124 [2021-01-27T02:49:15.132Z] Removing intermediate container 73bc080fe124 [2021-01-27T02:49:15.132Z] ---> e215c7563602 [2021-01-27T02:49:15.132Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-27T02:49:15.132Z] ---> Running in bb451f2a325a [2021-01-27T02:49:15.413Z] Removing intermediate container bb451f2a325a [2021-01-27T02:49:15.413Z] ---> fd6cda9d03ca [2021-01-27T02:49:15.413Z] Step 14/24 : WORKDIR / [2021-01-27T02:49:15.413Z] ---> Running in 6080f0df76d6 [2021-01-27T02:49:15.691Z] Removing intermediate container 6080f0df76d6 [2021-01-27T02:49:15.691Z] ---> cbf348d3cb8a [2021-01-27T02:49:15.691Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-27T02:49:15.733Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.138s coverage: 9.4% of statements [2021-01-27T02:49:15.733Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.129s coverage: 21.7% of statements [2021-01-27T02:49:15.733Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-27T02:49:15.733Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.648s coverage: 43.2% of statements [2021-01-27T02:49:15.733Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-27T02:49:15.733Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.778s coverage: 68.9% of statements [2021-01-27T02:49:15.733Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-27T02:49:15.733Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-27T02:49:15.733Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-27T02:49:15.733Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-27T02:49:15.733Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.215s coverage: 53.8% of statements [2021-01-27T02:49:15.733Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-27T02:49:15.733Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-27T02:49:15.733Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.159s coverage: 26.8% of statements [2021-01-27T02:49:15.733Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.892s coverage: 83.5% of statements [2021-01-27T02:49:15.733Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.155s coverage: 4.2% of statements [2021-01-27T02:49:15.733Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-27T02:49:15.733Z] GO111MODULE=on go vet ./... [2021-01-27T02:49:16.310Z] ---> d01d6ed9018b [2021-01-27T02:49:16.310Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-27T02:49:17.426Z] ---> 4579c1e50be1 [2021-01-27T02:49:17.426Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-27T02:49:17.758Z] ---> f4f389aceaa6 [2021-01-27T02:49:17.758Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-27T02:49:18.079Z] ---> a63f6f8c5ef6 [2021-01-27T02:49:18.079Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-27T02:49:18.405Z] ---> c01e4cc6fbe8 [2021-01-27T02:49:18.406Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-27T02:49:18.862Z] ---> Running in e88647f2fa02 [2021-01-27T02:49:19.300Z] Removing intermediate container e88647f2fa02 [2021-01-27T02:49:19.300Z] ---> 65745115c963 [2021-01-27T02:49:19.300Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-27T02:49:19.300Z] ---> Running in 03dbf8042641 [2021-01-27T02:49:19.300Z] Removing intermediate container 03dbf8042641 [2021-01-27T02:49:19.300Z] ---> f110d3faac03 [2021-01-27T02:49:19.300Z] Step 22/24 : LABEL arch=amd64 [2021-01-27T02:49:19.676Z] ---> Running in 348270385d5d [2021-01-27T02:49:19.952Z] Removing intermediate container 348270385d5d [2021-01-27T02:49:19.952Z] ---> bbcbe24b12f7 [2021-01-27T02:49:19.952Z] Step 23/24 : LABEL git_sha=2bbacc500818ba646153d5a4edbfc4162d2d85c4 [2021-01-27T02:49:19.952Z] ---> Running in 16151233adfb [2021-01-27T02:49:20.250Z] Removing intermediate container 16151233adfb [2021-01-27T02:49:20.250Z] ---> f206da2d834b [2021-01-27T02:49:20.250Z] Step 24/24 : LABEL version=0.0.0 [2021-01-27T02:49:20.250Z] ---> Running in 4d43181002f7 [2021-01-27T02:49:20.533Z] Removing intermediate container 4d43181002f7 [2021-01-27T02:49:20.533Z] ---> 60bfce396b51 [2021-01-27T02:49:20.533Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-27T02:49:20.533Z] Successfully built 60bfce396b51 [2021-01-27T02:49:20.798Z] 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-27T02:49:48.131Z] gofmt -l . [2021-01-27T02:49:48.131Z] [ "`gofmt -l .`" = "" ] [2021-01-27T02:49:48.131Z] ./bin/test-attribution-txt.sh [2021-01-27T02:49:48.131Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-27T02:49:48.159Z] $ docker stop --time=1 a1c46c23b400a85a2a4eae7ac2d3e782010e516fdd0debdffdca5b786d3bcdf6 [2021-01-27T02:49:50.344Z] $ docker rm -f a1c46c23b400a85a2a4eae7ac2d3e782010e516fdd0debdffdca5b786d3bcdf6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-27T02:49:51.395Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-27T02:49:51.466Z] Warning: overwriting stash ‘coverage-report’ [2021-01-27T02:49:52.398Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T02:49:53.078Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-27T02:49:53.427Z] + ls -al . [2021-01-27T02:49:53.427Z] total 252 [2021-01-27T02:49:53.427Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 27 02:49 . [2021-01-27T02:49:53.427Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:46 .. [2021-01-27T02:49:53.427Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 27 02:46 .dockerignore [2021-01-27T02:49:53.427Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 27 02:46 .git [2021-01-27T02:49:53.427Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 02:46 .github [2021-01-27T02:49:53.427Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 27 02:46 .gitignore [2021-01-27T02:49:53.427Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 27 02:46 Dockerfile.build [2021-01-27T02:49:53.427Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 27 02:46 Jenkinsfile [2021-01-27T02:49:53.427Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 27 02:46 LICENSE [2021-01-27T02:49:53.427Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 27 02:46 Makefile [2021-01-27T02:49:53.427Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 27 02:46 README.md [2021-01-27T02:49:53.427Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 27 02:46 RELEASE-NOTES.txt [2021-01-27T02:49:53.427Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 27 02:43 VERSION [2021-01-27T02:49:53.427Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 02:46 bin [2021-01-27T02:49:53.427Z] -rw-r--r-- 1 jenkins jenkins 136843 Jan 27 02:49 coverage.out [2021-01-27T02:49:53.427Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:46 example [2021-01-27T02:49:53.427Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 27 02:49 go.mod [2021-01-27T02:49:53.427Z] -rw-r--r-- 1 jenkins jenkins 14016 Jan 27 02:49 go.sum [2021-01-27T02:49:53.427Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 27 02:46 internal [2021-01-27T02:49:53.427Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:46 openapi [2021-01-27T02:49:53.427Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 27 02:46 pkg [2021-01-27T02:49:53.427Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:46 snap [2021-01-27T02:49:53.427Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 27 02:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:49:53.800Z] + 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=2bbacc500818ba646153d5a4edbfc4162d2d85c4 --label arch=arm64 --label version=0.0.0 . [2021-01-27T02:49:54.411Z] Sending build context to Docker daemon 2.774MB [2021-01-27T02:49:54.411Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T02:49:54.411Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-27T02:49:54.411Z] ---> 891ceaa2486b [2021-01-27T02:49:54.411Z] Step 3/24 : ARG MAKE='make build' [2021-01-27T02:49:54.700Z] ---> Running in 8c17eff46e67 [2021-01-27T02:49:55.311Z] Removing intermediate container 8c17eff46e67 [2021-01-27T02:49:55.311Z] ---> b590daf9ce9f [2021-01-27T02:49:55.311Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-27T02:49:55.311Z] ---> Running in b62265200410 [2021-01-27T02:49:55.906Z] Removing intermediate container b62265200410 [2021-01-27T02:49:55.906Z] ---> bd06c4abe3b6 [2021-01-27T02:49:55.906Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:49:55.906Z] ---> Running in 00af6b86c31a [2021-01-27T02:49:56.182Z] Removing intermediate container 00af6b86c31a [2021-01-27T02:49:56.182Z] ---> 3cccd4d69c20 [2021-01-27T02:49:56.182Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T02:49:56.457Z] ---> Running in 33b85181f426 [2021-01-27T02:49:58.444Z] Removing intermediate container 33b85181f426 [2021-01-27T02:49:58.444Z] ---> 51327edc74f3 [2021-01-27T02:49:58.444Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-27T02:49:58.444Z] ---> Running in d5c2e5d77180 [2021-01-27T02:49:59.422Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-27T02:50:00.390Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-27T02:50:01.383Z] OK: 142 MiB in 39 packages [2021-01-27T02:50:02.824Z] Removing intermediate container d5c2e5d77180 [2021-01-27T02:50:02.824Z] ---> bc4f159bb80c [2021-01-27T02:50:02.824Z] Step 8/24 : COPY . . [2021-01-27T02:50:03.800Z] ---> 58300f08a0a3 [2021-01-27T02:50:03.800Z] Step 9/24 : RUN ${MAKE} [2021-01-27T02:50:04.073Z] ---> Running in 63eedf30486e [2021-01-27T02:50:05.054Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-27T02:50:31.875Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-27T02:50:32.147Z] Removing intermediate container 63eedf30486e [2021-01-27T02:50:32.147Z] ---> 783bf980a65a [2021-01-27T02:50:32.147Z] Step 10/24 : FROM scratch [2021-01-27T02:50:32.147Z] ---> [2021-01-27T02:50:32.147Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:50:32.420Z] ---> Running in af8ba113bab4 [2021-01-27T02:50:32.692Z] Removing intermediate container af8ba113bab4 [2021-01-27T02:50:32.692Z] ---> 062d5c5402a3 [2021-01-27T02:50:32.692Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-27T02:50:32.963Z] ---> Running in be7f47a7192b [2021-01-27T02:50:33.237Z] Removing intermediate container be7f47a7192b [2021-01-27T02:50:33.237Z] ---> 27553c6e2afd [2021-01-27T02:50:33.237Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-27T02:50:33.237Z] ---> Running in 7a4e548e4d4f [2021-01-27T02:50:33.830Z] Removing intermediate container 7a4e548e4d4f [2021-01-27T02:50:33.831Z] ---> 22ac1e4beecc [2021-01-27T02:50:33.831Z] Step 14/24 : WORKDIR / [2021-01-27T02:50:33.831Z] ---> Running in 4a7c40f820fc [2021-01-27T02:50:34.427Z] Removing intermediate container 4a7c40f820fc [2021-01-27T02:50:34.427Z] ---> 899276703c8a [2021-01-27T02:50:34.427Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-27T02:50:35.406Z] ---> 2ed3a50c9dc2 [2021-01-27T02:50:35.407Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-27T02:50:36.004Z] ---> 0e4a028f5f59 [2021-01-27T02:50:36.004Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-27T02:50:36.988Z] ---> 1b6347d3ff98 [2021-01-27T02:50:36.988Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-27T02:50:37.579Z] ---> 5e794be3577a [2021-01-27T02:50:37.579Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-27T02:50:38.174Z] ---> 8ef7c9081df0 [2021-01-27T02:50:38.174Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-27T02:50:38.446Z] ---> Running in 025a77a389fa [2021-01-27T02:50:38.721Z] Removing intermediate container 025a77a389fa [2021-01-27T02:50:38.721Z] ---> 236e8d962dc6 [2021-01-27T02:50:38.721Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-27T02:50:38.993Z] ---> Running in 28666a2acb1f [2021-01-27T02:50:39.268Z] Removing intermediate container 28666a2acb1f [2021-01-27T02:50:39.268Z] ---> 1b7ed1d58063 [2021-01-27T02:50:39.268Z] Step 22/24 : LABEL arch=arm64 [2021-01-27T02:50:39.541Z] ---> Running in 357dde388ec3 [2021-01-27T02:50:40.135Z] Removing intermediate container 357dde388ec3 [2021-01-27T02:50:40.135Z] ---> 416bad458ddc [2021-01-27T02:50:40.135Z] Step 23/24 : LABEL git_sha=2bbacc500818ba646153d5a4edbfc4162d2d85c4 [2021-01-27T02:50:40.135Z] ---> Running in d66c7aed8548 [2021-01-27T02:50:40.731Z] Removing intermediate container d66c7aed8548 [2021-01-27T02:50:40.731Z] ---> 208757b7a648 [2021-01-27T02:50:40.731Z] Step 24/24 : LABEL version=0.0.0 [2021-01-27T02:50:40.731Z] ---> Running in 811e4f36d00e [2021-01-27T02:50:41.004Z] Removing intermediate container 811e4f36d00e [2021-01-27T02:50:41.004Z] ---> 9ac5d9997106 [2021-01-27T02:50:41.004Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-27T02:50:41.276Z] Successfully built 9ac5d9997106 [2021-01-27T02:50:41.276Z] 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 [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-01-27T02:50:42.919Z] provisioning config files... [2021-01-27T02:50:42.929Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/config5159618814034174736tmp [Pipeline] { [Pipeline] sh [2021-01-27T02:50:43.316Z] + set +x [2021-01-27T02:50:43.316Z] + curl -s https://codecov.io/bash [2021-01-27T02:50:43.316Z] + bash -s -- [2021-01-27T02:50:43.581Z] [2021-01-27T02:50:43.581Z] _____ _ [2021-01-27T02:50:43.581Z] / ____| | | [2021-01-27T02:50:43.581Z] | | ___ __| | ___ ___ _____ __ [2021-01-27T02:50:43.581Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-27T02:50:43.581Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-27T02:50:43.581Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-27T02:50:43.581Z] Bash-20210115-cec3c92 [2021-01-27T02:50:43.581Z] [2021-01-27T02:50:43.581Z] [2021-01-27T02:50:43.581Z] ==> git version 2.24.3 found [2021-01-27T02:50:43.581Z] ==> 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-01-27T02:50:43.581Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-27T02:50:43.581Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-27T02:50:43.581Z] ==> Jenkins CI detected. [2021-01-27T02:50:43.581Z] project root: . [2021-01-27T02:50:43.581Z] --> token set from env [2021-01-27T02:50:43.581Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-27T02:50:43.581Z] ==> Running gcov in . (disable via -X gcov) [2021-01-27T02:50:43.581Z] ==> Python coveragepy not found [2021-01-27T02:50:43.581Z] ==> Searching for coverage reports in: [2021-01-27T02:50:43.581Z] + . [2021-01-27T02:50:43.581Z] -> Found 1 reports [2021-01-27T02:50:43.581Z] ==> Detecting git/mercurial file structure [2021-01-27T02:50:43.581Z] ==> Reading reports [2021-01-27T02:50:43.581Z] + ./coverage.out bytes=136843 [2021-01-27T02:50:43.581Z] ==> Appending adjustments [2021-01-27T02:50:43.581Z] https://docs.codecov.io/docs/fixing-reports [2021-01-27T02:50:44.157Z] + Found adjustments [2021-01-27T02:50:44.157Z] ==> Gzipping contents [2021-01-27T02:50:44.157Z] 24K /tmp/codecov.vUqOdW.gz [2021-01-27T02:50:44.157Z] ==> Uploading reports [2021-01-27T02:50:44.157Z] url: https://codecov.io [2021-01-27T02:50:44.157Z] query: branch=PR-750&commit=2bbacc500818ba646153d5a4edbfc4162d2d85c4&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-750%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=750&job=&cmd_args= [2021-01-27T02:50:44.157Z] -> Pinging Codecov [2021-01-27T02:50:44.157Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-750&commit=2bbacc500818ba646153d5a4edbfc4162d2d85c4&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-750%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=750&job=&cmd_args= [2021-01-27T02:50:44.420Z] -> Uploading to [2021-01-27T02:50:44.420Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-27/7E55EF52A471D76F132DFD9A03CDDE97/2bbacc500818ba646153d5a4edbfc4162d2d85c4/89fce640-a610-490a-bcc7-2d5588d6ac55.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210127%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210127T025044Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0001275e902ffb0ea4df3d345bc2d0357fb005d4a8f54d07c4304859c9f4d7a3 [2021-01-27T02:50:44.420Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-27T02:50:44.420Z] Dload Upload Total Spent Left Speed [2021-01-27T02:50:44.951Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21570 0 0 100 21570 0 48560 --:--:-- --:--:-- --:--:-- 48471 [2021-01-27T02:50:44.951Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2bbacc500818ba646153d5a4edbfc4162d2d85c4 [Pipeline] } [2021-01-27T02:50:44.961Z] 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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-01-27T02:50:47.663Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:50:48.012Z] ---> package-listing.sh [2021-01-27T02:50:48.012Z] ++ facter osfamily [2021-01-27T02:50:48.012Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-27T02:50:48.012Z] + OS_FAMILY=redhat [2021-01-27T02:50:48.012Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-750 [2021-01-27T02:50:48.012Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-27T02:50:48.012Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-27T02:50:48.012Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-27T02:50:48.012Z] + PACKAGES=/tmp/packages_start.txt [2021-01-27T02:50:48.012Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-750 ']' [2021-01-27T02:50:48.012Z] + PACKAGES=/tmp/packages_end.txt [2021-01-27T02:50:48.012Z] + case "${OS_FAMILY}" in [2021-01-27T02:50:48.012Z] + rpm -qa [2021-01-27T02:50:48.012Z] + sort [2021-01-27T02:50:54.633Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-27T02:50:54.633Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-27T02:50:54.633Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-27T02:50:54.633Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-750 ']' [2021-01-27T02:50:54.633Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-750/archives/ [2021-01-27T02:50:54.633Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-750/archives/ [Pipeline] echo [2021-01-27T02:50:54.649Z] 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-750/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-27T02:50:54.949Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:50:55.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T02:50:55.262Z] [2021-01-27T02:50:55.262Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:50:55.620Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T02:50:55.620Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-27T02:50:55.620Z] df20fa9351a1: Pulling fs layer [2021-01-27T02:50:55.620Z] 36b3adc4ff6f: Pulling fs layer [2021-01-27T02:50:55.620Z] 8ad3a11d3b57: Pulling fs layer [2021-01-27T02:50:55.620Z] 46f8f816bc3b: Pulling fs layer [2021-01-27T02:50:55.620Z] 93b61091891f: Pulling fs layer [2021-01-27T02:50:55.620Z] 93b9cdb0e59b: Pulling fs layer [2021-01-27T02:50:55.620Z] 5e14af77c1be: Pulling fs layer [2021-01-27T02:50:55.620Z] 01666e4c0597: Pulling fs layer [2021-01-27T02:50:55.620Z] aa168da1d23b: Pulling fs layer [2021-01-27T02:50:55.620Z] 93b9cdb0e59b: Waiting [2021-01-27T02:50:55.620Z] 01666e4c0597: Waiting [2021-01-27T02:50:55.620Z] 5e14af77c1be: Waiting [2021-01-27T02:50:55.620Z] aa168da1d23b: Waiting [2021-01-27T02:50:55.620Z] 46f8f816bc3b: Waiting [2021-01-27T02:50:55.620Z] 93b61091891f: Waiting [2021-01-27T02:50:55.620Z] 36b3adc4ff6f: Verifying Checksum [2021-01-27T02:50:55.620Z] 36b3adc4ff6f: Download complete [2021-01-27T02:50:55.620Z] 46f8f816bc3b: Download complete [2021-01-27T02:50:55.889Z] df20fa9351a1: Download complete [2021-01-27T02:50:55.889Z] 93b9cdb0e59b: Download complete [2021-01-27T02:50:55.889Z] 5e14af77c1be: Verifying Checksum [2021-01-27T02:50:55.889Z] 5e14af77c1be: Download complete [2021-01-27T02:50:55.889Z] 93b61091891f: Verifying Checksum [2021-01-27T02:50:55.889Z] 93b61091891f: Download complete [2021-01-27T02:50:55.889Z] 01666e4c0597: Verifying Checksum [2021-01-27T02:50:55.889Z] 01666e4c0597: Download complete [2021-01-27T02:50:55.889Z] 8ad3a11d3b57: Verifying Checksum [2021-01-27T02:50:55.889Z] 8ad3a11d3b57: Download complete [2021-01-27T02:50:56.154Z] df20fa9351a1: Pull complete [2021-01-27T02:50:56.417Z] 36b3adc4ff6f: Pull complete [2021-01-27T02:50:57.007Z] 8ad3a11d3b57: Pull complete [2021-01-27T02:50:57.280Z] 46f8f816bc3b: Pull complete [2021-01-27T02:50:58.680Z] aa168da1d23b: Verifying Checksum [2021-01-27T02:50:58.680Z] aa168da1d23b: Download complete [2021-01-27T02:50:58.680Z] 93b61091891f: Pull complete [2021-01-27T02:50:59.255Z] 93b9cdb0e59b: Pull complete [2021-01-27T02:50:59.255Z] 5e14af77c1be: Pull complete [2021-01-27T02:50:59.522Z] 01666e4c0597: Pull complete [2021-01-27T02:51:05.993Z] aa168da1d23b: Pull complete [2021-01-27T02:51:05.994Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-27T02:51:05.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T02:51:05.994Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-27T02:51:06.146Z] prd-centos7-docker-4c-2g-23327 does not seem to be running inside a container [2021-01-27T02:51:06.198Z] $ 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-750/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-750 -v /w/workspace/dgexfoundry_device-sdk-go_PR-750:/w/workspace/dgexfoundry_device-sdk-go_PR-750:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-27T02:51:09.745Z] $ docker top d3a3b56508d6928c7560030d9e7d05c5b8147873331c1bc29da4a87f7d9b595f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:51:10.301Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-27T02:51:10.622Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-27T02:51:10.934Z] + ls /var/log/sa-host [2021-01-27T02:51:10.934Z] + sadf -c /var/log/sa-host/sa23 [2021-01-27T02:51:10.935Z] file_magic: OK [2021-01-27T02:51:10.935Z] HZ: Using current value: 100 [2021-01-27T02:51:10.935Z] file_header: OK [2021-01-27T02:51:10.935Z] 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-01-27T02:51:10.935Z] Statistics: [2021-01-27T02:51:10.935Z] Hnuu...uuuununununu... [2021-01-27T02:51:10.935Z] File successfully converted to sysstat format version 12.2.1 [2021-01-27T02:51:10.935Z] + sadf -c /var/log/sa-host/sa27 [2021-01-27T02:51:10.935Z] file_magic: OK [2021-01-27T02:51:10.935Z] HZ: Using current value: 100 [2021-01-27T02:51:10.935Z] file_header: OK [2021-01-27T02:51:10.935Z] 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-01-27T02:51:10.935Z] Statistics: [2021-01-27T02:51:10.935Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-27T02:51:10.935Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-27T02:51:11.155Z] provisioning config files... [2021-01-27T02:51:11.170Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/config6602468106547356497tmp [Pipeline] { [Pipeline] echo [2021-01-27T02:51:11.244Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:51:11.556Z] ---> create-netrc.sh [Pipeline] } [2021-01-27T02:51:11.566Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-27T02:51:11.667Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:51:11.968Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-27T02:51:11.981Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:51:12.287Z] ---> sudo-logs.sh [2021-01-27T02:51:12.287Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-27T02:51:12.300Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:51:12.615Z] ---> job-cost.sh [2021-01-27T02:51:12.615Z] lf-activate-venv: SKIPPING [2021-01-27T02:51:12.615Z] INFO: No Stack... [2021-01-27T02:51:15.197Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-27T02:51:15.197Z] INFO: Archiving Costs [Pipeline] echo [2021-01-27T02:51:15.212Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:51:15.509Z] ---> logs-deploy.sh [2021-01-27T02:51:15.509Z] lf-activate-venv: SKIPPING [2021-01-27T02:51:15.509Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-750/4 [2021-01-27T02:51:15.509Z] INFO: archiving workspace using pattern(s): [2021-01-27T02:51:17.441Z] Archives upload complete. [2021-01-27T02:51:17.441Z] INFO: archiving logs to Nexus