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+2e0b14878cfb4a574be8745ab7c226ce26d53775 (f58bda963427c78728a99b0a1213d0de79783c03) 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 ‘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-22167’ is offline; ‘prd-centos7-docker-4c-2g-22170’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-22169’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-22171 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 > 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 Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit fc417a4a7760e79cd3fb62518c4fb0334d857caa Merge succeeded, producing 176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 Checking out Revision 176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 (PR-750) > 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 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 # timeout=10 Commit message: "Merge commit '2e0b14878cfb4a574be8745ab7c226ce26d53775' into HEAD" > git rev-list --no-walk fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-22T02:41:13.259Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-22T02:41:13.533Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-22T02:41:13.627Z] ========================================================= [2021-01-22T02:41:13.627Z] EdgeX Global Pipelines Version Info [2021-01-22T02:41:13.627Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-22T02:41:15.063Z] ------------------- [2021-01-22T02:41:15.063Z] stable info: [2021-01-22T02:41:15.064Z] ------------------- [2021-01-22T02:41:15.064Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-22T02:41:15.064Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-22T02:41:15.064Z] Message: update stable to v1.0.179 [2021-01-22T02:41:16.007Z] ------------------- [2021-01-22T02:41:16.007Z] experimental info: [2021-01-22T02:41:16.007Z] ------------------- [2021-01-22T02:41:16.007Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-22T02:41:16.007Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-22T02:41:16.007Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-22T02:41:16.242Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-22T02:41:16.325Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-22T02:41:16.407Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-22T02:41:16.488Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-22T02:41:16.570Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-22T02:41:16.657Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-22T02:41:16.738Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-22T02:41:16.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-22T02:41:16.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-22T02:41:17.029Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-22T02:41:17.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-22T02:41:17.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-22T02:41:17.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-22T02:41:17.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-22T02:41:17.448Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-22T02:41:17.533Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-22T02:41:17.622Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-22T02:41:17.727Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-22T02:41:17.811Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-22T02:41:17.916Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-22T02:41:18.003Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-22T02:41:18.085Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-22T02:41:18.173Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-22T02:41:18.275Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-22T02:41:18.383Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-22T02:41:18.510Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-22T02:41:18.597Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-22T02:41:18.708Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-750 [Pipeline] echo [2021-01-22T02:41:18.790Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-750 [Pipeline] echo [2021-01-22T02:41:18.871Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-750 [Pipeline] echo [2021-01-22T02:41:18.956Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 [Pipeline] echo [2021-01-22T02:41:19.041Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 176fab5 [Pipeline] echo [2021-01-22T02:41:19.131Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-22T02:41:19.293Z] provisioning config files... [2021-01-22T02:41:19.344Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/config6705558482303346592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-22T02:41:19.715Z] ---> docker-login.sh [2021-01-22T02:41:19.716Z] nexus3.edgexfoundry.org:10001 [2021-01-22T02:41:19.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:41:19.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:41:19.979Z] Configure a credential helper to remove this warning. See [2021-01-22T02:41:19.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:41:19.979Z] [2021-01-22T02:41:19.979Z] Login Succeeded [2021-01-22T02:41:19.979Z] nexus3.edgexfoundry.org:10002 [2021-01-22T02:41:20.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:41:20.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:41:20.242Z] Configure a credential helper to remove this warning. See [2021-01-22T02:41:20.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:41:20.242Z] [2021-01-22T02:41:20.242Z] Login Succeeded [2021-01-22T02:41:20.242Z] nexus3.edgexfoundry.org:10003 [2021-01-22T02:41:20.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:41:20.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:41:20.507Z] Configure a credential helper to remove this warning. See [2021-01-22T02:41:20.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:41:20.507Z] [2021-01-22T02:41:20.507Z] Login Succeeded [2021-01-22T02:41:20.507Z] nexus3.edgexfoundry.org:10004 [2021-01-22T02:41:20.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:41:20.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:41:20.507Z] Configure a credential helper to remove this warning. See [2021-01-22T02:41:20.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:41:20.507Z] [2021-01-22T02:41:20.507Z] Login Succeeded [2021-01-22T02:41:20.507Z] docker.io [2021-01-22T02:41:20.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:41:21.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:41:21.036Z] Configure a credential helper to remove this warning. See [2021-01-22T02:41:21.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:41:21.036Z] [2021-01-22T02:41:21.036Z] Login Succeeded [2021-01-22T02:41:21.036Z] ---> docker-login.sh ends [Pipeline] } [2021-01-22T02:41:21.048Z] 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-22T02:41:21.965Z] + git log --format=format:%s -1 176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 [Pipeline] echo [2021-01-22T02:41:22.040Z] GIT_COMMIT: 176fab57e46ee1ebb2114e19314a7d2fd0f63ae5, Commit Message: Merge commit '2e0b14878cfb4a574be8745ab7c226ce26d53775' into HEAD [Pipeline] echo [2021-01-22T02:41:22.086Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-22T02:41:22.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-22T02:41:22.705Z] [2021-01-22T02:41:22.705Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-22T02:41:23.121Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-22T02:41:23.121Z] latest: Pulling from edgex-devops/git-semver [2021-01-22T02:41:23.121Z] 31603596830f: Pulling fs layer [2021-01-22T02:41:23.121Z] 2a8b12db71e7: Pulling fs layer [2021-01-22T02:41:23.121Z] 6ca5941a6612: Pulling fs layer [2021-01-22T02:41:23.121Z] ecc8261a40a4: Pulling fs layer [2021-01-22T02:41:23.121Z] 2a8b12db71e7: Verifying Checksum [2021-01-22T02:41:23.121Z] 2a8b12db71e7: Download complete [2021-01-22T02:41:23.389Z] 31603596830f: Verifying Checksum [2021-01-22T02:41:23.389Z] 31603596830f: Download complete [2021-01-22T02:41:23.389Z] ecc8261a40a4: Verifying Checksum [2021-01-22T02:41:23.389Z] ecc8261a40a4: Download complete [2021-01-22T02:41:23.389Z] 6ca5941a6612: Verifying Checksum [2021-01-22T02:41:23.389Z] 6ca5941a6612: Download complete [2021-01-22T02:41:23.655Z] 31603596830f: Pull complete [2021-01-22T02:41:23.655Z] 2a8b12db71e7: Pull complete [2021-01-22T02:41:24.620Z] 6ca5941a6612: Pull complete [2021-01-22T02:41:24.620Z] ecc8261a40a4: Pull complete [2021-01-22T02:41:24.620Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-22T02:41:24.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-22T02:41:24.882Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-22T02:41:24.980Z] prd-centos7-docker-4c-2g-22171 does not seem to be running inside a container [2021-01-22T02:41:25.026Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-22T02:41:27.558Z] $ docker top f733e746e2038d40f6088a7487c1f23e9a57ea302a33843c751f4729790ef14c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-22T02:41:27.872Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-22T02:41:27.872Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-22T02:41:28.089Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-22T02:41:28.094Z] $ docker exec f733e746e2038d40f6088a7487c1f23e9a57ea302a33843c751f4729790ef14c ssh-agent [2021-01-22T02:41:28.262Z] SSH_AUTH_SOCK=/tmp/ssh-enIJc3pU0whT/agent.12 [2021-01-22T02:41:28.262Z] SSH_AGENT_PID=17 [2021-01-22T02:41:28.278Z] Running ssh-add (command line suppressed) [2021-01-22T02:41:28.405Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_8853530554220097966.key (/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_8853530554220097966.key) [2021-01-22T02:41:28.459Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-22T02:41:28.796Z] + git tag --points-at HEAD [Pipeline] } [2021-01-22T02:41:28.819Z] $ docker exec --env ******** --env ******** f733e746e2038d40f6088a7487c1f23e9a57ea302a33843c751f4729790ef14c ssh-agent -k [2021-01-22T02:41:28.941Z] unset SSH_AUTH_SOCK; [2021-01-22T02:41:28.942Z] unset SSH_AGENT_PID; [2021-01-22T02:41:28.942Z] echo Agent pid 17 killed; [2021-01-22T02:41:28.994Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-22T02:41:29.150Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-22T02:41:29.150Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-22T02:41:29.321Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-22T02:41:29.325Z] $ docker exec f733e746e2038d40f6088a7487c1f23e9a57ea302a33843c751f4729790ef14c ssh-agent [2021-01-22T02:41:29.491Z] SSH_AUTH_SOCK=/tmp/ssh-EAAzkUF1muj6/agent.46 [2021-01-22T02:41:29.491Z] SSH_AGENT_PID=51 [2021-01-22T02:41:29.499Z] Running ssh-add (command line suppressed) [2021-01-22T02:41:29.622Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_7581502430563234497.key (/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_7581502430563234497.key) [2021-01-22T02:41:29.680Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-22T02:41:30.013Z] + git semver init [2021-01-22T02:41:30.013Z] # -> Open(): unable to determine branch for HEAD [2021-01-22T02:41:30.013Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-750/.git [2021-01-22T02:41:30.013Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-750 [2021-01-22T02:41:30.013Z] # $SEMVER_REMOTE_NAME = origin [2021-01-22T02:41:30.013Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-22T02:41:30.013Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-22T02:41:30.013Z] # $SEMVER_BRANCH = PR-750 [2021-01-22T02:41:30.013Z] # $SEMVER_TEMP = /tmp/semver-905391173 [2021-01-22T02:41:30.013Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-22T02:41:30.588Z] # '/tmp/semver-905391173' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-750/.semver' [2021-01-22T02:41:30.588Z] # -> Force: false [2021-01-22T02:41:30.588Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-750/.semver [Pipeline] } [2021-01-22T02:41:30.602Z] $ docker exec --env ******** --env ******** f733e746e2038d40f6088a7487c1f23e9a57ea302a33843c751f4729790ef14c ssh-agent -k [2021-01-22T02:41:30.708Z] unset SSH_AUTH_SOCK; [2021-01-22T02:41:30.709Z] unset SSH_AGENT_PID; [2021-01-22T02:41:30.709Z] echo Agent pid 51 killed; [2021-01-22T02:41:30.751Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-22T02:41:31.268Z] + git semver [Pipeline] } [2021-01-22T02:41:31.288Z] $ docker stop --time=1 f733e746e2038d40f6088a7487c1f23e9a57ea302a33843c751f4729790ef14c [2021-01-22T02:41:32.647Z] $ docker rm -f f733e746e2038d40f6088a7487c1f23e9a57ea302a33843c751f4729790ef14c [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-22T02:41:33.109Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-22T02:41:33.490Z] Stashed 1 file(s) [Pipeline] echo [2021-01-22T02:41:33.493Z] [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-22T02:41:49.044Z] Still waiting to schedule task [2021-01-22T02:41:49.044Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-22T02:41:49.046Z] Still waiting to schedule task [2021-01-22T02:41:49.046Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-22T02:43:14.338Z] Running on prd-centos7-docker-4c-2g-22176 in /w/workspace/dgexfoundry_device-sdk-go_PR-750 [Pipeline] { [Pipeline] ws [2021-01-22T02:43:14.406Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-01-22T02:43:17.203Z] using credential edgex-jenkins-ssh [2021-01-22T02:43:17.274Z] Cloning the remote Git repository [2021-01-22T02:43:17.317Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T02:43:17.387Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-01-22T02:43:17.449Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T02:43:17.449Z] > git --version # timeout=10 [2021-01-22T02:43:17.454Z] > git --version # 'git version 2.24.3' [2021-01-22T02:43:17.455Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T02:43:17.482Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T02:43:18.761Z] Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit fc417a4a7760e79cd3fb62518c4fb0334d857caa [2021-01-22T02:43:18.958Z] Merge succeeded, producing d86efb913f2c3d9a6041511d7dbde8e81dce57ab [2021-01-22T02:43:18.959Z] Checking out Revision d86efb913f2c3d9a6041511d7dbde8e81dce57ab (PR-750) [2021-01-22T02:43:18.231Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-22T02:43:18.242Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T02:43:18.255Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-22T02:43:18.268Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T02:43:18.269Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T02:43:18.274Z] > 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-22T02:43:18.775Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T02:43:18.784Z] > git checkout -f fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 [2021-01-22T02:43:18.842Z] > git remote # timeout=10 [2021-01-22T02:43:18.849Z] > git config --get remote.origin.url # timeout=10 [2021-01-22T02:43:18.857Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T02:43:18.863Z] > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 [2021-01-22T02:43:18.958Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-22T02:43:18.967Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T02:43:18.971Z] > git checkout -f d86efb913f2c3d9a6041511d7dbde8e81dce57ab # timeout=10 [2021-01-22T02:43:22.674Z] Commit message: "Merge commit '2e0b14878cfb4a574be8745ab7c226ce26d53775' into HEAD" [2021-01-22T02:43:22.684Z] > git rev-list --no-walk fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-22T02:43:23.844Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-22T02:43:24.181Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-22T02:43:24.490Z] + sudo service docker restart [2021-01-22T02:43:24.490Z] + true [2021-01-22T02:43:24.490Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-22T02:43:25.518Z] provisioning config files... [2021-01-22T02:43:25.550Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config6362173870103283211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-22T02:43:25.958Z] ---> docker-login.sh [2021-01-22T02:43:25.958Z] nexus3.edgexfoundry.org:10001 [2021-01-22T02:43:26.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:43:26.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:43:26.230Z] Configure a credential helper to remove this warning. See [2021-01-22T02:43:26.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:43:26.230Z] [2021-01-22T02:43:26.230Z] Login Succeeded [2021-01-22T02:43:26.230Z] nexus3.edgexfoundry.org:10002 [2021-01-22T02:43:26.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:43:26.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:43:26.494Z] Configure a credential helper to remove this warning. See [2021-01-22T02:43:26.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:43:26.494Z] [2021-01-22T02:43:26.494Z] Login Succeeded [2021-01-22T02:43:26.494Z] nexus3.edgexfoundry.org:10003 [2021-01-22T02:43:26.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:43:26.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:43:26.758Z] Configure a credential helper to remove this warning. See [2021-01-22T02:43:26.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:43:26.758Z] [2021-01-22T02:43:26.758Z] Login Succeeded [2021-01-22T02:43:26.758Z] nexus3.edgexfoundry.org:10004 [2021-01-22T02:43:26.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:43:27.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:43:27.021Z] Configure a credential helper to remove this warning. See [2021-01-22T02:43:27.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:43:27.021Z] [2021-01-22T02:43:27.021Z] Login Succeeded [2021-01-22T02:43:27.021Z] docker.io [2021-01-22T02:43:27.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:43:27.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:43:27.305Z] Configure a credential helper to remove this warning. See [2021-01-22T02:43:27.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:43:27.305Z] [2021-01-22T02:43:27.305Z] Login Succeeded [2021-01-22T02:43:27.305Z] ---> docker-login.sh ends [Pipeline] } [2021-01-22T02:43:27.317Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-22T02:43:27.763Z] ========================================================= [2021-01-22T02:43:27.764Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-22T02:43:27.764Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-22T02:43:28.112Z] + 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-22T02:43:28.376Z] Sending build context to Docker daemon 2.621MB [2021-01-22T02:43:28.376Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-22T02:43:28.376Z] Step 2/8 : FROM ${BASE} [2021-01-22T02:43:28.376Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-22T02:43:28.376Z] 188c0c94c7c5: Pulling fs layer [2021-01-22T02:43:28.376Z] 0ef7d3d256c8: Pulling fs layer [2021-01-22T02:43:28.376Z] de9db76c5a1d: Pulling fs layer [2021-01-22T02:43:28.376Z] bca2f99d35d6: Pulling fs layer [2021-01-22T02:43:28.376Z] 93359f2a8cfa: Pulling fs layer [2021-01-22T02:43:28.376Z] 7c6f9722023f: Pulling fs layer [2021-01-22T02:43:28.376Z] a35cf1a2eb13: Pulling fs layer [2021-01-22T02:43:28.376Z] 93359f2a8cfa: Waiting [2021-01-22T02:43:28.376Z] 7c6f9722023f: Waiting [2021-01-22T02:43:28.376Z] a35cf1a2eb13: Waiting [2021-01-22T02:43:28.376Z] bca2f99d35d6: Waiting [2021-01-22T02:43:28.376Z] de9db76c5a1d: Verifying Checksum [2021-01-22T02:43:28.376Z] de9db76c5a1d: Download complete [2021-01-22T02:43:28.376Z] 0ef7d3d256c8: Verifying Checksum [2021-01-22T02:43:28.376Z] 0ef7d3d256c8: Download complete [2021-01-22T02:43:28.376Z] 93359f2a8cfa: Verifying Checksum [2021-01-22T02:43:28.376Z] 93359f2a8cfa: Download complete [2021-01-22T02:43:28.376Z] 7c6f9722023f: Verifying Checksum [2021-01-22T02:43:28.376Z] 7c6f9722023f: Download complete [2021-01-22T02:43:28.376Z] 188c0c94c7c5: Verifying Checksum [2021-01-22T02:43:28.376Z] 188c0c94c7c5: Download complete [2021-01-22T02:43:28.645Z] 188c0c94c7c5: Pull complete [2021-01-22T02:43:28.914Z] 0ef7d3d256c8: Pull complete [2021-01-22T02:43:29.179Z] de9db76c5a1d: Pull complete [2021-01-22T02:43:30.132Z] a35cf1a2eb13: Verifying Checksum [2021-01-22T02:43:30.132Z] a35cf1a2eb13: Download complete [2021-01-22T02:43:30.713Z] bca2f99d35d6: Verifying Checksum [2021-01-22T02:43:30.713Z] bca2f99d35d6: Download complete [2021-01-22T02:43:36.066Z] bca2f99d35d6: Pull complete [2021-01-22T02:43:36.066Z] 93359f2a8cfa: Pull complete [2021-01-22T02:43:36.066Z] 7c6f9722023f: Pull complete [2021-01-22T02:43:44.302Z] a35cf1a2eb13: Pull complete [2021-01-22T02:43:44.303Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-22T02:43:44.303Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-22T02:43:44.303Z] ---> a62c8e92a672 [2021-01-22T02:43:44.303Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T02:43:44.303Z] ---> Running in 2b613338d09b [2021-01-22T02:43:44.575Z] Removing intermediate container 2b613338d09b [2021-01-22T02:43:44.575Z] ---> dd2bfc3a7147 [2021-01-22T02:43:44.575Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-22T02:43:44.575Z] ---> Running in c7a8475de016 [2021-01-22T02:43:45.977Z] Removing intermediate container c7a8475de016 [2021-01-22T02:43:45.977Z] ---> 95bf89a16166 [2021-01-22T02:43:45.977Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-22T02:43:45.977Z] ---> Running in 0c02d9d524f4 [2021-01-22T02:43:46.557Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-22T02:43:48.497Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-22T02:43:50.428Z] OK: 166 MiB in 39 packages [2021-01-22T02:43:50.693Z] Removing intermediate container 0c02d9d524f4 [2021-01-22T02:43:50.693Z] ---> 676ea0f8efe1 [2021-01-22T02:43:50.693Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-22T02:43:50.693Z] ---> Running in a3d9a3281766 [2021-01-22T02:43:50.956Z] Removing intermediate container a3d9a3281766 [2021-01-22T02:43:50.956Z] ---> d1c71937d5a4 [2021-01-22T02:43:50.956Z] Step 7/8 : COPY . . [2021-01-22T02:43:52.352Z] ---> 4ee663caa926 [2021-01-22T02:43:52.352Z] Step 8/8 : RUN go mod download [2021-01-22T02:43:52.352Z] ---> Running in e266b362bffd [2021-01-22T02:44:10.541Z] Removing intermediate container e266b362bffd [2021-01-22T02:44:10.541Z] ---> 464f3695afe0 [2021-01-22T02:44:10.541Z] Successfully built 464f3695afe0 [2021-01-22T02:44:10.541Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-22T02:44:10.869Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-22T02:44:10.869Z] . [Pipeline] withDockerContainer [2021-01-22T02:44:11.000Z] prd-centos7-docker-4c-2g-22176 does not seem to be running inside a container [2021-01-22T02:44:11.065Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-22T02:44:11.747Z] $ docker top b7582aa7e949d5d835bf5f9d4cb095ea4f5f588c2c091eb64be8df8c549d4185 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T02:44:12.295Z] + go version [2021-01-22T02:44:12.295Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-22T02:44:12.318Z] $ docker stop --time=1 b7582aa7e949d5d835bf5f9d4cb095ea4f5f588c2c091eb64be8df8c549d4185 [2021-01-22T02:44:14.177Z] $ docker rm -f b7582aa7e949d5d835bf5f9d4cb095ea4f5f588c2c091eb64be8df8c549d4185 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-22T02:44:15.024Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-22T02:44:15.024Z] . [Pipeline] withDockerContainer [2021-01-22T02:44:15.146Z] prd-centos7-docker-4c-2g-22176 does not seem to be running inside a container [2021-01-22T02:44:15.205Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-22T02:44:15.889Z] $ docker top 28cc8da6413eadc33fbfe6ad9c5de200bcd700e370e698ff9c126c9f7c426184 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T02:44:16.456Z] + make test [2021-01-22T02:44:16.456Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-22T02:44:24.674Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-22T02:44:41.314Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-22T02:44:41.314Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-22T02:44:41.314Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-22T02:44:41.314Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 19.4% of statements [2021-01-22T02:44:42.277Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.524s coverage: 97.1% of statements [2021-01-22T02:44:59.264Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-22177 in /w/workspace/dgexfoundry_device-sdk-go_PR-750 [Pipeline] { [Pipeline] ws [2021-01-22T02:44:59.368Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-01-22T02:45:04.783Z] using credential edgex-jenkins-ssh [2021-01-22T02:45:04.839Z] Cloning the remote Git repository [2021-01-22T02:45:04.896Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T02:45:05.014Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-01-22T02:45:05.095Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T02:45:05.096Z] > git --version # timeout=10 [2021-01-22T02:45:05.113Z] > git --version # 'git version 2.17.1' [2021-01-22T02:45:05.115Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T02:45:05.185Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T02:45:06.878Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-22T02:45:06.900Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T02:45:06.931Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-22T02:45:06.969Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T02:45:06.970Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T02:45:06.984Z] > 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-22T02:45:07.674Z] Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit fc417a4a7760e79cd3fb62518c4fb0334d857caa [2021-01-22T02:45:08.188Z] Merge succeeded, producing 769eb2fedffa55d2134aeb0cf3b632bdaa82f990 [2021-01-22T02:45:08.189Z] Checking out Revision 769eb2fedffa55d2134aeb0cf3b632bdaa82f990 (PR-750) [2021-01-22T02:45:07.699Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T02:45:07.715Z] > git checkout -f fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 [2021-01-22T02:45:07.852Z] > git remote # timeout=10 [2021-01-22T02:45:07.930Z] > git config --get remote.origin.url # timeout=10 [2021-01-22T02:45:07.969Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T02:45:07.985Z] > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 [2021-01-22T02:45:08.172Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-22T02:45:08.198Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T02:45:08.213Z] > git checkout -f 769eb2fedffa55d2134aeb0cf3b632bdaa82f990 # timeout=10 [2021-01-22T02:45:12.492Z] Commit message: "Merge commit '2e0b14878cfb4a574be8745ab7c226ce26d53775' into HEAD" [2021-01-22T02:45:12.501Z] > git rev-list --no-walk fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-22T02:45:14.102Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-22T02:45:14.491Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.052s coverage: 9.4% of statements [2021-01-22T02:45:14.491Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.047s coverage: 21.7% of statements [2021-01-22T02:45:14.491Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-22T02:45:14.491Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.264s coverage: 43.2% of statements [2021-01-22T02:45:14.491Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-22T02:45:14.491Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.291s coverage: 68.9% of statements [2021-01-22T02:45:14.491Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-22T02:45:14.491Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-22T02:45:14.491Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-22T02:45:14.491Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-22T02:45:14.491Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.085s coverage: 53.8% of statements [2021-01-22T02:45:14.491Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-22T02:45:14.491Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-22T02:45:14.491Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.068s coverage: 26.8% of statements [2021-01-22T02:45:14.491Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.466s coverage: 83.5% of statements [2021-01-22T02:45:14.491Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.066s coverage: 4.2% of statements [2021-01-22T02:45:14.491Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-22T02:45:14.491Z] GO111MODULE=on go vet ./... [2021-01-22T02:45:14.574Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-22T02:45:14.920Z] + + truesudo [2021-01-22T02:45:14.920Z] service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-22T02:45:17.627Z] provisioning config files... [2021-01-22T02:45:17.687Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config7772950329167240217tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-22T02:45:18.095Z] ---> docker-login.sh [2021-01-22T02:45:18.095Z] nexus3.edgexfoundry.org:10001 [2021-01-22T02:45:19.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:45:19.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:45:19.358Z] Configure a credential helper to remove this warning. See [2021-01-22T02:45:19.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:45:19.358Z] [2021-01-22T02:45:19.358Z] Login Succeeded [2021-01-22T02:45:19.358Z] nexus3.edgexfoundry.org:10002 [2021-01-22T02:45:19.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:45:19.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:45:19.630Z] Configure a credential helper to remove this warning. See [2021-01-22T02:45:19.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:45:19.630Z] [2021-01-22T02:45:19.630Z] Login Succeeded [2021-01-22T02:45:19.630Z] nexus3.edgexfoundry.org:10003 [2021-01-22T02:45:20.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:45:20.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:45:20.239Z] Configure a credential helper to remove this warning. See [2021-01-22T02:45:20.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:45:20.239Z] [2021-01-22T02:45:20.239Z] Login Succeeded [2021-01-22T02:45:20.239Z] nexus3.edgexfoundry.org:10004 [2021-01-22T02:45:20.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:45:20.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:45:20.796Z] Configure a credential helper to remove this warning. See [2021-01-22T02:45:20.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:45:20.796Z] [2021-01-22T02:45:20.796Z] Login Succeeded [2021-01-22T02:45:20.796Z] docker.io [2021-01-22T02:45:21.202Z] gofmt -l . [2021-01-22T02:45:21.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T02:45:21.468Z] [ "`gofmt -l .`" = "" ] [2021-01-22T02:45:21.468Z] ./bin/test-attribution-txt.sh [2021-01-22T02:45:21.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T02:45:21.664Z] Configure a credential helper to remove this warning. See [2021-01-22T02:45:21.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T02:45:21.664Z] [2021-01-22T02:45:21.664Z] Login Succeeded [2021-01-22T02:45:21.664Z] ---> docker-login.sh ends [Pipeline] } [2021-01-22T02:45:21.680Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-01-22T02:45:22.044Z] ./bin/test-go-mod-tidy.sh [Pipeline] echo [2021-01-22T02:45:22.119Z] ========================================================= [2021-01-22T02:45:22.119Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-22T02:45:22.119Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [Pipeline] } [2021-01-22T02:45:22.333Z] $ docker stop --time=1 28cc8da6413eadc33fbfe6ad9c5de200bcd700e370e698ff9c126c9f7c426184 [2021-01-22T02:45:22.527Z] + 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-22T02:45:23.133Z] Sending build context to Docker daemon 2.611MB [2021-01-22T02:45:23.133Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-22T02:45:23.133Z] Step 2/8 : FROM ${BASE} [2021-01-22T02:45:23.133Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-22T02:45:23.133Z] 5f621e34cdf4: Pulling fs layer [2021-01-22T02:45:23.133Z] a4357932f1b6: Pulling fs layer [2021-01-22T02:45:23.133Z] 18c013af1878: Pulling fs layer [2021-01-22T02:45:23.133Z] 00ac8860ef70: Pulling fs layer [2021-01-22T02:45:23.133Z] 63d7cb157983: Pulling fs layer [2021-01-22T02:45:23.133Z] b116817d02f9: Pulling fs layer [2021-01-22T02:45:23.133Z] 745a02a5169b: Pulling fs layer [2021-01-22T02:45:23.133Z] 00ac8860ef70: Waiting [2021-01-22T02:45:23.133Z] 63d7cb157983: Waiting [2021-01-22T02:45:23.133Z] b116817d02f9: Waiting [2021-01-22T02:45:23.133Z] 745a02a5169b: Waiting [2021-01-22T02:45:23.133Z] 18c013af1878: Download complete [2021-01-22T02:45:23.133Z] a4357932f1b6: Download complete [2021-01-22T02:45:23.133Z] 63d7cb157983: Verifying Checksum [2021-01-22T02:45:23.133Z] 63d7cb157983: Download complete [2021-01-22T02:45:23.133Z] b116817d02f9: Download complete [2021-01-22T02:45:23.735Z] 5f621e34cdf4: Verifying Checksum [2021-01-22T02:45:23.735Z] 5f621e34cdf4: Download complete [2021-01-22T02:45:24.348Z] 5f621e34cdf4: Pull complete [2021-01-22T02:45:24.382Z] $ docker rm -f 28cc8da6413eadc33fbfe6ad9c5de200bcd700e370e698ff9c126c9f7c426184 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-22T02:45:24.964Z] a4357932f1b6: Pull complete [2021-01-22T02:45:25.099Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-22T02:45:25.562Z] Stashed 1 file(s) [Pipeline] } [2021-01-22T02:45:25.594Z] 18c013af1878: Pull complete [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-22T02:45:26.574Z] 745a02a5169b: Download complete [2021-01-22T02:45:26.766Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-22T02:45:27.085Z] + ls -al . [2021-01-22T02:45:27.085Z] total 216 [2021-01-22T02:45:27.085Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 22 02:45 . [2021-01-22T02:45:27.085Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 22 02:43 .. [2021-01-22T02:45:27.085Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 22 02:43 bin [2021-01-22T02:45:27.085Z] -rw-r--r--. 1 jenkins jenkins 136842 Jan 22 02:45 coverage.out [2021-01-22T02:45:27.085Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 22 02:43 Dockerfile.build [2021-01-22T02:45:27.085Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 22 02:43 .dockerignore [2021-01-22T02:45:27.085Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 22 02:43 example [2021-01-22T02:45:27.085Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 22 02:43 .git [2021-01-22T02:45:27.085Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 22 02:43 .github [2021-01-22T02:45:27.085Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 22 02:43 .gitignore [2021-01-22T02:45:27.085Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 22 02:45 go.mod [2021-01-22T02:45:27.085Z] -rw-r--r--. 1 jenkins jenkins 14016 Jan 22 02:45 go.sum [2021-01-22T02:45:27.085Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 22 02:43 internal [2021-01-22T02:45:27.085Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 22 02:43 Jenkinsfile [2021-01-22T02:45:27.085Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 22 02:43 LICENSE [2021-01-22T02:45:27.085Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 22 02:43 Makefile [2021-01-22T02:45:27.085Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 22 02:43 openapi [2021-01-22T02:45:27.085Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 22 02:43 pkg [2021-01-22T02:45:27.085Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 22 02:43 README.md [2021-01-22T02:45:27.085Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 22 02:43 RELEASE-NOTES.txt [2021-01-22T02:45:27.085Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 22 02:43 snap [2021-01-22T02:45:27.085Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 22 02:41 VERSION [2021-01-22T02:45:27.085Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 22 02:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-22T02:45:27.396Z] + 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=176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 --label arch=amd64 --label version=0.0.0 . [2021-01-22T02:45:27.660Z] Sending build context to Docker daemon 2.759MB [2021-01-22T02:45:27.660Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-22T02:45:27.660Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-22T02:45:27.660Z] ---> 464f3695afe0 [2021-01-22T02:45:27.660Z] Step 3/24 : ARG MAKE='make build' [2021-01-22T02:45:28.237Z] ---> Running in f888e172cc38 [2021-01-22T02:45:28.501Z] Removing intermediate container f888e172cc38 [2021-01-22T02:45:28.501Z] ---> 8b37e0b3e7aa [2021-01-22T02:45:28.501Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-22T02:45:28.501Z] ---> Running in bd4786162f50 [2021-01-22T02:45:28.546Z] 00ac8860ef70: Verifying Checksum [2021-01-22T02:45:28.546Z] 00ac8860ef70: Download complete [2021-01-22T02:45:28.764Z] Removing intermediate container bd4786162f50 [2021-01-22T02:45:28.764Z] ---> 0ff51f50591e [2021-01-22T02:45:28.764Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T02:45:28.764Z] ---> Running in 42190e2df996 [2021-01-22T02:45:29.029Z] Removing intermediate container 42190e2df996 [2021-01-22T02:45:29.029Z] ---> faa460a86315 [2021-01-22T02:45:29.029Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-22T02:45:29.029Z] ---> Running in 732700d3dc62 [2021-01-22T02:45:29.989Z] Removing intermediate container 732700d3dc62 [2021-01-22T02:45:29.989Z] ---> 3d0f0dcc2254 [2021-01-22T02:45:29.989Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-22T02:45:30.254Z] ---> Running in c3bf3c3ef3ef [2021-01-22T02:45:30.517Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-22T02:45:31.908Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-22T02:45:34.478Z] OK: 166 MiB in 39 packages [2021-01-22T02:45:35.060Z] Removing intermediate container c3bf3c3ef3ef [2021-01-22T02:45:35.060Z] ---> 2f8c5f9e751f [2021-01-22T02:45:35.060Z] Step 8/24 : COPY . . [2021-01-22T02:45:36.013Z] ---> 8477b65cfa6e [2021-01-22T02:45:36.013Z] Step 9/24 : RUN ${MAKE} [2021-01-22T02:45:36.013Z] ---> Running in 19357dc4ecc9 [2021-01-22T02:45:36.593Z] 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-22T02:45:38.690Z] 00ac8860ef70: Pull complete [2021-01-22T02:45:38.690Z] 63d7cb157983: Pull complete [2021-01-22T02:45:38.690Z] b116817d02f9: Pull complete [2021-01-22T02:45:41.298Z] 745a02a5169b: Pull complete [2021-01-22T02:45:41.298Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-22T02:45:41.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-22T02:45:41.298Z] ---> b7e6874047d6 [2021-01-22T02:45:41.298Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T02:45:44.692Z] ---> Running in 131e6f4cd800 [2021-01-22T02:45:44.693Z] Removing intermediate container 131e6f4cd800 [2021-01-22T02:45:44.693Z] ---> 616037125aa7 [2021-01-22T02:45:44.693Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-22T02:45:44.693Z] ---> Running in 0b5a31252bea [2021-01-22T02:45:46.738Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-22T02:45:47.315Z] Removing intermediate container 0b5a31252bea [2021-01-22T02:45:47.315Z] ---> a0a36b61f426 [2021-01-22T02:45:47.315Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-22T02:45:47.315Z] ---> Running in b6a3a2c5960d [2021-01-22T02:45:47.909Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-22T02:45:48.150Z] Removing intermediate container 19357dc4ecc9 [2021-01-22T02:45:48.150Z] ---> c27188f60527 [2021-01-22T02:45:48.150Z] Step 10/24 : FROM scratch [2021-01-22T02:45:48.150Z] ---> [2021-01-22T02:45:48.150Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T02:45:48.150Z] ---> Running in a0bedb888729 [2021-01-22T02:45:48.418Z] Removing intermediate container a0bedb888729 [2021-01-22T02:45:48.418Z] ---> e1ab62e95b1b [2021-01-22T02:45:48.418Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-22T02:45:48.418Z] ---> Running in 1590d2819ee2 [2021-01-22T02:45:48.682Z] Removing intermediate container 1590d2819ee2 [2021-01-22T02:45:48.682Z] ---> 8b4239616413 [2021-01-22T02:45:48.682Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-22T02:45:48.682Z] ---> Running in 74bd8deafefa [2021-01-22T02:45:48.682Z] Removing intermediate container 74bd8deafefa [2021-01-22T02:45:48.682Z] ---> 03fad6d6e6e9 [2021-01-22T02:45:48.682Z] Step 14/24 : WORKDIR / [2021-01-22T02:45:48.955Z] ---> Running in 2c7347c16a1d [2021-01-22T02:45:48.955Z] Removing intermediate container 2c7347c16a1d [2021-01-22T02:45:48.955Z] ---> ebc99f2af838 [2021-01-22T02:45:48.955Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-22T02:45:49.539Z] ---> 5ff1900b8ab7 [2021-01-22T02:45:49.539Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-22T02:45:49.806Z] ---> f460b3e78cec [2021-01-22T02:45:49.806Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-22T02:45:49.892Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-22T02:45:50.068Z] ---> cf265b589cbe [2021-01-22T02:45:50.068Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-22T02:45:50.330Z] ---> 50b1799c1087 [2021-01-22T02:45:50.330Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-22T02:45:50.592Z] ---> 3b559995a10d [2021-01-22T02:45:50.592Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-22T02:45:50.592Z] ---> Running in a1b6b2571a55 [2021-01-22T02:45:50.854Z] Removing intermediate container a1b6b2571a55 [2021-01-22T02:45:50.854Z] ---> daaaeb0cdfa0 [2021-01-22T02:45:50.854Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-22T02:45:50.854Z] ---> Running in c551f850c53e [2021-01-22T02:45:51.117Z] Removing intermediate container c551f850c53e [2021-01-22T02:45:51.117Z] ---> 76eb30f2165d [2021-01-22T02:45:51.117Z] Step 22/24 : LABEL arch=amd64 [2021-01-22T02:45:51.117Z] ---> Running in f5b760af3a1a [2021-01-22T02:45:51.312Z] OK: 142 MiB in 39 packages [2021-01-22T02:45:51.381Z] Removing intermediate container f5b760af3a1a [2021-01-22T02:45:51.381Z] ---> 465008a9b81d [2021-01-22T02:45:51.381Z] Step 23/24 : LABEL git_sha=176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 [2021-01-22T02:45:51.381Z] ---> Running in 0179a6bea99d [2021-01-22T02:45:51.643Z] Removing intermediate container 0179a6bea99d [2021-01-22T02:45:51.643Z] ---> a82325fe69d7 [2021-01-22T02:45:51.643Z] Step 24/24 : LABEL version=0.0.0 [2021-01-22T02:45:51.643Z] ---> Running in 4fbdbec6018c [2021-01-22T02:45:51.643Z] Removing intermediate container 4fbdbec6018c [2021-01-22T02:45:51.643Z] ---> a2e3b762ecb1 [2021-01-22T02:45:51.643Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-22T02:45:51.906Z] Successfully built a2e3b762ecb1 [2021-01-22T02:45:51.906Z] 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] } [2021-01-22T02:45:52.745Z] Removing intermediate container b6a3a2c5960d [2021-01-22T02:45:52.745Z] ---> 57fede781c09 [2021-01-22T02:45:52.745Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-22T02:45:52.745Z] ---> Running in 38cbaebb19dc [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-22T02:45:53.342Z] Removing intermediate container 38cbaebb19dc [2021-01-22T02:45:53.342Z] ---> 1180776a21b1 [2021-01-22T02:45:53.342Z] Step 7/8 : COPY . . [2021-01-22T02:45:54.784Z] ---> 180a24ac4764 [2021-01-22T02:45:54.784Z] Step 8/8 : RUN go mod download [2021-01-22T02:45:54.784Z] ---> Running in 780871c63969 [2021-01-22T02:46:16.960Z] Removing intermediate container 780871c63969 [2021-01-22T02:46:16.960Z] ---> 0277bcf0b943 [2021-01-22T02:46:16.960Z] Successfully built 0277bcf0b943 [2021-01-22T02:46:16.960Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-22T02:46:17.306Z] + docker inspect -f . ci-base-image-arm64 [2021-01-22T02:46:17.306Z] . [Pipeline] withDockerContainer [2021-01-22T02:46:17.584Z] prd-ubuntu18.04-docker-arm64-4c-16g-22177 does not seem to be running inside a container [2021-01-22T02:46:17.686Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-22T02:46:19.325Z] $ docker top 336fe13720898f1d43761bb12b142baa61d8e1b68c634bfa7e74e8211d4da2fa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T02:46:20.351Z] + go version [2021-01-22T02:46:20.351Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-22T02:46:20.381Z] $ docker stop --time=1 336fe13720898f1d43761bb12b142baa61d8e1b68c634bfa7e74e8211d4da2fa [2021-01-22T02:46:22.377Z] $ docker rm -f 336fe13720898f1d43761bb12b142baa61d8e1b68c634bfa7e74e8211d4da2fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-22T02:46:23.422Z] + docker inspect -f . ci-base-image-arm64 [2021-01-22T02:46:23.422Z] . [Pipeline] withDockerContainer [2021-01-22T02:46:23.698Z] prd-ubuntu18.04-docker-arm64-4c-16g-22177 does not seem to be running inside a container [2021-01-22T02:46:23.786Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-22T02:46:25.340Z] $ docker top 14e270efad7ea00a090fef35390c3b5e580921700a229557c8069dcf41c59b05 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T02:46:26.433Z] + make test [2021-01-22T02:46:26.433Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-22T02:46:48.615Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-22T02:47:35.610Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-22T02:47:35.610Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-22T02:47:35.610Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-22T02:47:35.610Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.137s coverage: 19.4% of statements [2021-01-22T02:47:38.242Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.199s coverage: 97.1% of statements [2021-01-22T02:48:10.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.150s coverage: 9.4% of statements [2021-01-22T02:48:10.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.126s coverage: 21.7% of statements [2021-01-22T02:48:10.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-22T02:48:10.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.618s coverage: 43.2% of statements [2021-01-22T02:48:10.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-22T02:48:10.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.752s coverage: 68.9% of statements [2021-01-22T02:48:10.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-22T02:48:10.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-22T02:48:10.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-22T02:48:10.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-22T02:48:10.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.220s coverage: 53.8% of statements [2021-01-22T02:48:10.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-22T02:48:10.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-22T02:48:10.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.189s coverage: 26.8% of statements [2021-01-22T02:48:10.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.236s coverage: 83.5% of statements [2021-01-22T02:48:10.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.151s coverage: 4.2% of statements [2021-01-22T02:48:10.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-22T02:48:10.615Z] GO111MODULE=on go vet ./... [2021-01-22T02:48:43.024Z] gofmt -l . [2021-01-22T02:48:43.024Z] [ "`gofmt -l .`" = "" ] [2021-01-22T02:48:43.024Z] ./bin/test-attribution-txt.sh [2021-01-22T02:48:43.024Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-22T02:48:43.333Z] $ docker stop --time=1 14e270efad7ea00a090fef35390c3b5e580921700a229557c8069dcf41c59b05 [2021-01-22T02:48:45.712Z] $ docker rm -f 14e270efad7ea00a090fef35390c3b5e580921700a229557c8069dcf41c59b05 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-22T02:48:46.888Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-22T02:48:46.952Z] Warning: overwriting stash ‘coverage-report’ [2021-01-22T02:48:47.927Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-22T02:48:48.589Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-22T02:48:48.953Z] + ls -al . [2021-01-22T02:48:48.953Z] total 252 [2021-01-22T02:48:48.953Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 22 02:48 . [2021-01-22T02:48:48.953Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 02:45 .. [2021-01-22T02:48:48.953Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 22 02:45 .dockerignore [2021-01-22T02:48:48.953Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 22 02:45 .git [2021-01-22T02:48:48.953Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 02:45 .github [2021-01-22T02:48:48.953Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 22 02:45 .gitignore [2021-01-22T02:48:48.953Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 22 02:45 Dockerfile.build [2021-01-22T02:48:48.953Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 22 02:45 Jenkinsfile [2021-01-22T02:48:48.953Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 22 02:45 LICENSE [2021-01-22T02:48:48.953Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 22 02:45 Makefile [2021-01-22T02:48:48.953Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 22 02:45 README.md [2021-01-22T02:48:48.953Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 22 02:45 RELEASE-NOTES.txt [2021-01-22T02:48:48.953Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 22 02:41 VERSION [2021-01-22T02:48:48.953Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 02:45 bin [2021-01-22T02:48:48.953Z] -rw-r--r-- 1 jenkins jenkins 136842 Jan 22 02:48 coverage.out [2021-01-22T02:48:48.953Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 02:45 example [2021-01-22T02:48:48.953Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 22 02:48 go.mod [2021-01-22T02:48:48.953Z] -rw-r--r-- 1 jenkins jenkins 14016 Jan 22 02:48 go.sum [2021-01-22T02:48:48.953Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 22 02:45 internal [2021-01-22T02:48:48.953Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 02:45 openapi [2021-01-22T02:48:48.953Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 22 02:45 pkg [2021-01-22T02:48:48.953Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 02:45 snap [2021-01-22T02:48:48.953Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 22 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-22T02:48:49.370Z] + 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=176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 --label arch=arm64 --label version=0.0.0 . [2021-01-22T02:48:50.000Z] Sending build context to Docker daemon 2.749MB [2021-01-22T02:48:50.000Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-22T02:48:50.000Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-22T02:48:50.000Z] ---> 0277bcf0b943 [2021-01-22T02:48:50.000Z] Step 3/24 : ARG MAKE='make build' [2021-01-22T02:48:50.277Z] ---> Running in a9d72abe8563 [2021-01-22T02:48:50.559Z] Removing intermediate container a9d72abe8563 [2021-01-22T02:48:50.559Z] ---> 0f0b292c5958 [2021-01-22T02:48:50.559Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-22T02:48:50.834Z] ---> Running in 6e5bfb1ad7d5 [2021-01-22T02:48:51.104Z] Removing intermediate container 6e5bfb1ad7d5 [2021-01-22T02:48:51.104Z] ---> 120ca107862e [2021-01-22T02:48:51.104Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T02:48:51.380Z] ---> Running in 3463d6c0fca0 [2021-01-22T02:48:51.655Z] Removing intermediate container 3463d6c0fca0 [2021-01-22T02:48:51.655Z] ---> 45173372108c [2021-01-22T02:48:51.655Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-22T02:48:51.927Z] ---> Running in 15dd303c65bc [2021-01-22T02:48:53.908Z] Removing intermediate container 15dd303c65bc [2021-01-22T02:48:53.908Z] ---> 4a6b013396a5 [2021-01-22T02:48:53.908Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-22T02:48:53.908Z] ---> Running in f3ec60dee9e7 [2021-01-22T02:48:55.342Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-22T02:48:55.936Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-22T02:48:57.363Z] OK: 142 MiB in 39 packages [2021-01-22T02:48:58.344Z] Removing intermediate container f3ec60dee9e7 [2021-01-22T02:48:58.344Z] ---> e6057c8a195e [2021-01-22T02:48:58.344Z] Step 8/24 : COPY . . [2021-01-22T02:48:59.774Z] ---> 9d22589ba4d1 [2021-01-22T02:48:59.774Z] Step 9/24 : RUN ${MAKE} [2021-01-22T02:48:59.774Z] ---> Running in 03e9204c275a [2021-01-22T02:49:00.767Z] 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-22T02:49:27.622Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-22T02:49:27.911Z] Removing intermediate container 03e9204c275a [2021-01-22T02:49:27.911Z] ---> 0d3e8fd58521 [2021-01-22T02:49:27.911Z] Step 10/24 : FROM scratch [2021-01-22T02:49:27.911Z] ---> [2021-01-22T02:49:27.911Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T02:49:27.911Z] ---> Running in cca0c93ce49a [2021-01-22T02:49:28.520Z] Removing intermediate container cca0c93ce49a [2021-01-22T02:49:28.520Z] ---> d4649d704bda [2021-01-22T02:49:28.520Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-22T02:49:28.520Z] ---> Running in e1ed79c3405c [2021-01-22T02:49:28.795Z] Removing intermediate container e1ed79c3405c [2021-01-22T02:49:28.795Z] ---> 3e9071396261 [2021-01-22T02:49:28.795Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-22T02:49:29.070Z] ---> Running in da127300b296 [2021-01-22T02:49:29.343Z] Removing intermediate container da127300b296 [2021-01-22T02:49:29.343Z] ---> e3777f766f17 [2021-01-22T02:49:29.343Z] Step 14/24 : WORKDIR / [2021-01-22T02:49:29.621Z] ---> Running in 892eb5887c98 [2021-01-22T02:49:30.232Z] Removing intermediate container 892eb5887c98 [2021-01-22T02:49:30.232Z] ---> 66908559bdeb [2021-01-22T02:49:30.232Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-22T02:49:31.226Z] ---> c00958cd7ebb [2021-01-22T02:49:31.226Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-22T02:49:31.825Z] ---> 7e44c73106b4 [2021-01-22T02:49:31.825Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-22T02:49:32.421Z] ---> 4cbd274797d7 [2021-01-22T02:49:32.421Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-22T02:49:33.410Z] ---> 3ad2ec1f2c47 [2021-01-22T02:49:33.410Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-22T02:49:34.007Z] ---> 6bacec5dc864 [2021-01-22T02:49:34.007Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-22T02:49:34.280Z] ---> Running in 905bff06a1f9 [2021-01-22T02:49:34.554Z] Removing intermediate container 905bff06a1f9 [2021-01-22T02:49:34.554Z] ---> 6f518f20fc11 [2021-01-22T02:49:34.554Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-22T02:49:34.827Z] ---> Running in 3079824a6728 [2021-01-22T02:49:35.420Z] Removing intermediate container 3079824a6728 [2021-01-22T02:49:35.420Z] ---> 227a9af9bae1 [2021-01-22T02:49:35.420Z] Step 22/24 : LABEL arch=arm64 [2021-01-22T02:49:35.420Z] ---> Running in 17d04ce2e8ec [2021-01-22T02:49:35.693Z] Removing intermediate container 17d04ce2e8ec [2021-01-22T02:49:35.693Z] ---> b77fd45da710 [2021-01-22T02:49:35.693Z] Step 23/24 : LABEL git_sha=176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 [2021-01-22T02:49:35.969Z] ---> Running in cc6c8ce87fe4 [2021-01-22T02:49:36.244Z] Removing intermediate container cc6c8ce87fe4 [2021-01-22T02:49:36.244Z] ---> 561875bb7461 [2021-01-22T02:49:36.244Z] Step 24/24 : LABEL version=0.0.0 [2021-01-22T02:49:36.517Z] ---> Running in 199c7dab7888 [2021-01-22T02:49:36.790Z] Removing intermediate container 199c7dab7888 [2021-01-22T02:49:36.790Z] ---> 00c39ae7d812 [2021-01-22T02:49:36.790Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-22T02:49:37.060Z] Successfully built 00c39ae7d812 [2021-01-22T02:49:37.060Z] 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-22T02:49:38.808Z] provisioning config files... [2021-01-22T02:49:38.819Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/config6432065284452168411tmp [Pipeline] { [Pipeline] sh [2021-01-22T02:49:39.214Z] + set +x [2021-01-22T02:49:39.214Z] + curl -s https://codecov.io/bash [2021-01-22T02:49:39.214Z] + bash -s -- [2021-01-22T02:49:39.476Z] [2021-01-22T02:49:39.476Z] _____ _ [2021-01-22T02:49:39.476Z] / ____| | | [2021-01-22T02:49:39.476Z] | | ___ __| | ___ ___ _____ __ [2021-01-22T02:49:39.476Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-22T02:49:39.476Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-22T02:49:39.476Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-22T02:49:39.476Z] Bash-20210115-cec3c92 [2021-01-22T02:49:39.476Z] [2021-01-22T02:49:39.476Z] [2021-01-22T02:49:39.476Z] ==> git version 2.24.3 found [2021-01-22T02:49:39.476Z] ==> 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-22T02:49:39.476Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-22T02:49:39.476Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-22T02:49:39.476Z] ==> Jenkins CI detected. [2021-01-22T02:49:39.476Z] project root: . [2021-01-22T02:49:39.476Z] --> token set from env [2021-01-22T02:49:39.476Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-22T02:49:39.476Z] ==> Running gcov in . (disable via -X gcov) [2021-01-22T02:49:39.476Z] ==> Python coveragepy not found [2021-01-22T02:49:39.476Z] ==> Searching for coverage reports in: [2021-01-22T02:49:39.476Z] + . [2021-01-22T02:49:39.476Z] -> Found 1 reports [2021-01-22T02:49:39.476Z] ==> Detecting git/mercurial file structure [2021-01-22T02:49:39.476Z] ==> Reading reports [2021-01-22T02:49:39.476Z] + ./coverage.out bytes=136842 [2021-01-22T02:49:39.476Z] ==> Appending adjustments [2021-01-22T02:49:39.476Z] https://docs.codecov.io/docs/fixing-reports [2021-01-22T02:49:40.050Z] + Found adjustments [2021-01-22T02:49:40.050Z] ==> Gzipping contents [2021-01-22T02:49:40.050Z] 24K /tmp/codecov.ftRH4p.gz [2021-01-22T02:49:40.050Z] ==> Uploading reports [2021-01-22T02:49:40.050Z] url: https://codecov.io [2021-01-22T02:49:40.050Z] query: branch=PR-750&commit=176fab57e46ee1ebb2114e19314a7d2fd0f63ae5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-750%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=750&job=&cmd_args= [2021-01-22T02:49:40.050Z] -> Pinging Codecov [2021-01-22T02:49:40.050Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-750&commit=176fab57e46ee1ebb2114e19314a7d2fd0f63ae5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-750%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=750&job=&cmd_args= [2021-01-22T02:49:40.312Z] -> Uploading to [2021-01-22T02:49:40.312Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-22/7E55EF52A471D76F132DFD9A03CDDE97/176fab57e46ee1ebb2114e19314a7d2fd0f63ae5/2c03118c-5313-4e65-af6a-50b563e47d81.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210122%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210122T024940Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6651ff75926a42d0d4242824f515a9ff9e705d7a8385d9e6047d2a045b03e7c6 [2021-01-22T02:49:40.312Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-22T02:49:40.312Z] Dload Upload Total Spent Left Speed [2021-01-22T02:49:40.885Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21552 0 0 100 21552 0 44642 --:--:-- --:--:-- --:--:-- 44621 100 21552 0 0 100 21552 0 44626 --:--:-- --:--:-- --:--:-- 44621 [2021-01-22T02:49:40.885Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/176fab57e46ee1ebb2114e19314a7d2fd0f63ae5 [Pipeline] } [2021-01-22T02:49:40.896Z] 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-22T02:49:43.296Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T02:49:43.602Z] ---> package-listing.sh [2021-01-22T02:49:43.602Z] ++ facter osfamily [2021-01-22T02:49:43.602Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-22T02:49:43.602Z] + OS_FAMILY=redhat [2021-01-22T02:49:43.602Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-750 [2021-01-22T02:49:43.602Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-22T02:49:43.602Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-22T02:49:43.602Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-22T02:49:43.602Z] + PACKAGES=/tmp/packages_start.txt [2021-01-22T02:49:43.602Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-750 ']' [2021-01-22T02:49:43.602Z] + PACKAGES=/tmp/packages_end.txt [2021-01-22T02:49:43.602Z] + case "${OS_FAMILY}" in [2021-01-22T02:49:43.602Z] + rpm -qa [2021-01-22T02:49:43.602Z] + sort [2021-01-22T02:49:50.200Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-22T02:49:50.200Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-22T02:49:50.200Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-22T02:49:50.200Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-750 ']' [2021-01-22T02:49:50.200Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-750/archives/ [2021-01-22T02:49:50.200Z] + 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-22T02:49:50.214Z] 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-22T02:49:50.503Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-22T02:49:50.809Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-22T02:49:50.809Z] [2021-01-22T02:49:50.809Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-22T02:49:51.174Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-22T02:49:51.174Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-22T02:49:51.174Z] df20fa9351a1: Pulling fs layer [2021-01-22T02:49:51.174Z] 36b3adc4ff6f: Pulling fs layer [2021-01-22T02:49:51.174Z] 8ad3a11d3b57: Pulling fs layer [2021-01-22T02:49:51.174Z] 46f8f816bc3b: Pulling fs layer [2021-01-22T02:49:51.174Z] 93b61091891f: Pulling fs layer [2021-01-22T02:49:51.174Z] 93b9cdb0e59b: Pulling fs layer [2021-01-22T02:49:51.174Z] 5e14af77c1be: Pulling fs layer [2021-01-22T02:49:51.174Z] 01666e4c0597: Pulling fs layer [2021-01-22T02:49:51.174Z] aa168da1d23b: Pulling fs layer [2021-01-22T02:49:51.174Z] 93b9cdb0e59b: Waiting [2021-01-22T02:49:51.174Z] 5e14af77c1be: Waiting [2021-01-22T02:49:51.174Z] 01666e4c0597: Waiting [2021-01-22T02:49:51.174Z] 46f8f816bc3b: Waiting [2021-01-22T02:49:51.174Z] 93b61091891f: Waiting [2021-01-22T02:49:51.174Z] 36b3adc4ff6f: Download complete [2021-01-22T02:49:51.174Z] 46f8f816bc3b: Verifying Checksum [2021-01-22T02:49:51.174Z] 46f8f816bc3b: Download complete [2021-01-22T02:49:51.437Z] df20fa9351a1: Verifying Checksum [2021-01-22T02:49:51.437Z] df20fa9351a1: Download complete [2021-01-22T02:49:51.437Z] 93b9cdb0e59b: Verifying Checksum [2021-01-22T02:49:51.437Z] 93b9cdb0e59b: Download complete [2021-01-22T02:49:51.437Z] 5e14af77c1be: Verifying Checksum [2021-01-22T02:49:51.437Z] 5e14af77c1be: Download complete [2021-01-22T02:49:51.437Z] 01666e4c0597: Verifying Checksum [2021-01-22T02:49:51.437Z] 01666e4c0597: Download complete [2021-01-22T02:49:51.437Z] 93b61091891f: Download complete [2021-01-22T02:49:52.014Z] df20fa9351a1: Pull complete [2021-01-22T02:49:52.014Z] 8ad3a11d3b57: Verifying Checksum [2021-01-22T02:49:52.014Z] 8ad3a11d3b57: Download complete [2021-01-22T02:49:52.014Z] 36b3adc4ff6f: Pull complete [2021-01-22T02:49:52.997Z] 8ad3a11d3b57: Pull complete [2021-01-22T02:49:52.997Z] 46f8f816bc3b: Pull complete [2021-01-22T02:49:53.573Z] aa168da1d23b: Verifying Checksum [2021-01-22T02:49:53.573Z] aa168da1d23b: Download complete [2021-01-22T02:49:53.835Z] 93b61091891f: Pull complete [2021-01-22T02:49:54.097Z] 93b9cdb0e59b: Pull complete [2021-01-22T02:49:54.097Z] 5e14af77c1be: Pull complete [2021-01-22T02:49:54.097Z] 01666e4c0597: Pull complete [2021-01-22T02:50:02.269Z] aa168da1d23b: Pull complete [2021-01-22T02:50:02.269Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-22T02:50:02.269Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-22T02:50:02.269Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-22T02:50:02.432Z] prd-centos7-docker-4c-2g-22171 does not seem to be running inside a container [2021-01-22T02:50:02.479Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-22T02:50:05.242Z] $ docker top 60764e2b7f59355680b97c237afc516e22fb0acd6792b4db56ade83134d486c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T02:50:05.796Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-22T02:50:06.098Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-22T02:50:06.397Z] + ls /var/log/sa-host [2021-01-22T02:50:06.397Z] + sadf -c /var/log/sa-host/sa22 [2021-01-22T02:50:06.397Z] file_magic: OK [2021-01-22T02:50:06.397Z] HZ: Using current value: 100 [2021-01-22T02:50:06.397Z] file_header: OK [2021-01-22T02:50:06.397Z] 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-22T02:50:06.397Z] Statistics: [2021-01-22T02:50:06.397Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-22T02:50:06.397Z] File successfully converted to sysstat format version 12.2.1 [2021-01-22T02:50:06.397Z] + sadf -c /var/log/sa-host/sa23 [2021-01-22T02:50:06.397Z] file_magic: OK [2021-01-22T02:50:06.397Z] HZ: Using current value: 100 [2021-01-22T02:50:06.397Z] file_header: OK [2021-01-22T02:50:06.397Z] 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-22T02:50:06.397Z] Statistics: [2021-01-22T02:50:06.397Z] Hnuu...uuuununununu... [2021-01-22T02:50:06.397Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-22T02:50:06.619Z] provisioning config files... [2021-01-22T02:50:06.635Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/config8383292946975932914tmp [Pipeline] { [Pipeline] echo [2021-01-22T02:50:06.758Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T02:50:07.065Z] ---> create-netrc.sh [Pipeline] } [2021-01-22T02:50:07.074Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-22T02:50:07.171Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T02:50:07.519Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-22T02:50:07.533Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T02:50:07.857Z] ---> sudo-logs.sh [2021-01-22T02:50:07.857Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-22T02:50:07.872Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T02:50:08.193Z] ---> job-cost.sh [2021-01-22T02:50:08.193Z] lf-activate-venv: SKIPPING [2021-01-22T02:50:08.193Z] INFO: No Stack... [2021-01-22T02:50:09.190Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-22T02:50:09.453Z] INFO: Archiving Costs [Pipeline] echo [2021-01-22T02:50:09.468Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T02:50:09.765Z] ---> logs-deploy.sh [2021-01-22T02:50:09.765Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-750/3 [2021-01-22T02:50:09.765Z] INFO: archiving workspace using pattern(s): [2021-01-22T02:50:11.688Z] Archives upload complete. [2021-01-22T02:50:11.688Z] INFO: archiving logs to Nexus