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 ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+0004bfda3add5d207eecfa44332d420db602e0f7 (2dfb10940b114abb1e6320580ef503f7d9612b47) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName: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: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-33384 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [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-725 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 0004bfda3add5d207eecfa44332d420db602e0f7 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing b8374e34fffbde3c70e2bea7e0b3316df3a17caf Checking out Revision b8374e34fffbde3c70e2bea7e0b3316df3a17caf (PR-725) > 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/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # 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 0004bfda3add5d207eecfa44332d420db602e0f7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b8374e34fffbde3c70e2bea7e0b3316df3a17caf # timeout=10 Commit message: "Merge commit '0004bfda3add5d207eecfa44332d420db602e0f7' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk f6731ffe8fccd19843bb0a171d57cc80aae64ce0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-09T02:41:44.018Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-09T02:41:44.332Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-09T02:41:44.445Z] ========================================================= [2021-04-09T02:41:44.445Z] EdgeX Global Pipelines Version Info [2021-04-09T02:41:44.445Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-09T02:41:46.397Z] ------------------- [2021-04-09T02:41:46.397Z] stable info: [2021-04-09T02:41:46.397Z] ------------------- [2021-04-09T02:41:46.397Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-09T02:41:46.397Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-09T02:41:46.397Z] Message: update stable to v1.0.186 [2021-04-09T02:41:46.972Z] ------------------- [2021-04-09T02:41:46.972Z] experimental info: [2021-04-09T02:41:46.972Z] ------------------- [2021-04-09T02:41:46.972Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-09T02:41:46.972Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-09T02:41:46.972Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-09T02:41:47.264Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-09T02:41:47.367Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-09T02:41:47.471Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-09T02:41:47.575Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-09T02:41:47.672Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-09T02:41:47.776Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-09T02:41:47.892Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-09T02:41:47.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-09T02:41:48.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-09T02:41:48.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-09T02:41:48.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-09T02:41:48.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-04-09T02:41:48.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-09T02:41:48.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-09T02:41:48.688Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-09T02:41:48.803Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-09T02:41:48.908Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-09T02:41:49.006Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-09T02:41:49.102Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-09T02:41:49.196Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-09T02:41:49.293Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-09T02:41:49.384Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-09T02:41:49.511Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-09T02:41:49.607Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-09T02:41:49.716Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-09T02:41:49.830Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-09T02:41:49.923Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-04-09T02:41:50.025Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-04-09T02:41:50.147Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-04-09T02:41:50.280Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b8374e34fffbde3c70e2bea7e0b3316df3a17caf [Pipeline] echo [2021-04-09T02:41:50.417Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b8374e3 [Pipeline] echo [2021-04-09T02:41:50.638Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-09T02:41:50.834Z] provisioning config files... [2021-04-09T02:41:50.877Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config247516964436737776tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-09T02:41:51.245Z] ---> docker-login.sh [2021-04-09T02:41:51.245Z] nexus3.edgexfoundry.org:10001 [2021-04-09T02:41:51.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T02:41:51.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T02:41:51.769Z] Configure a credential helper to remove this warning. See [2021-04-09T02:41:51.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T02:41:51.769Z] [2021-04-09T02:41:51.769Z] Login Succeeded [2021-04-09T02:41:51.769Z] nexus3.edgexfoundry.org:10002 [2021-04-09T02:41:51.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T02:41:51.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T02:41:51.769Z] Configure a credential helper to remove this warning. See [2021-04-09T02:41:51.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T02:41:51.769Z] [2021-04-09T02:41:51.769Z] Login Succeeded [2021-04-09T02:41:51.769Z] nexus3.edgexfoundry.org:10003 [2021-04-09T02:41:52.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T02:41:52.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T02:41:52.033Z] Configure a credential helper to remove this warning. See [2021-04-09T02:41:52.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T02:41:52.033Z] [2021-04-09T02:41:52.033Z] Login Succeeded [2021-04-09T02:41:52.033Z] nexus3.edgexfoundry.org:10004 [2021-04-09T02:41:52.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T02:41:52.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T02:41:52.295Z] Configure a credential helper to remove this warning. See [2021-04-09T02:41:52.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T02:41:52.295Z] [2021-04-09T02:41:52.295Z] Login Succeeded [2021-04-09T02:41:52.295Z] docker.io [2021-04-09T02:41:52.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T02:41:52.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T02:41:52.558Z] Configure a credential helper to remove this warning. See [2021-04-09T02:41:52.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T02:41:52.558Z] [2021-04-09T02:41:52.558Z] Login Succeeded [2021-04-09T02:41:52.558Z] ---> docker-login.sh ends [Pipeline] } [2021-04-09T02:41:52.567Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-09T02:41:53.462Z] + git log --format=format:%s -1 b8374e34fffbde3c70e2bea7e0b3316df3a17caf [Pipeline] echo [2021-04-09T02:41:53.565Z] GIT_COMMIT: b8374e34fffbde3c70e2bea7e0b3316df3a17caf, Commit Message: Merge commit '0004bfda3add5d207eecfa44332d420db602e0f7' into HEAD [Pipeline] echo [2021-04-09T02:41:53.612Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-09T02:41:54.650Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-09T02:41:54.650Z] [2021-04-09T02:41:54.650Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-09T02:41:54.998Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-09T02:41:54.998Z] latest: Pulling from edgex-devops/git-semver [2021-04-09T02:41:54.998Z] 31603596830f: Pulling fs layer [2021-04-09T02:41:54.998Z] 2a8b12db71e7: Pulling fs layer [2021-04-09T02:41:54.998Z] 6ca5941a6612: Pulling fs layer [2021-04-09T02:41:54.998Z] ecc8261a40a4: Pulling fs layer [2021-04-09T02:41:54.998Z] ecc8261a40a4: Waiting [2021-04-09T02:41:54.998Z] 2a8b12db71e7: Verifying Checksum [2021-04-09T02:41:54.998Z] 2a8b12db71e7: Download complete [2021-04-09T02:41:55.261Z] 31603596830f: Verifying Checksum [2021-04-09T02:41:55.261Z] 31603596830f: Download complete [2021-04-09T02:41:55.261Z] ecc8261a40a4: Verifying Checksum [2021-04-09T02:41:55.261Z] ecc8261a40a4: Download complete [2021-04-09T02:41:55.261Z] 6ca5941a6612: Verifying Checksum [2021-04-09T02:41:55.261Z] 6ca5941a6612: Download complete [2021-04-09T02:41:55.527Z] 31603596830f: Pull complete [2021-04-09T02:41:55.793Z] 2a8b12db71e7: Pull complete [2021-04-09T02:41:56.756Z] 6ca5941a6612: Pull complete [2021-04-09T02:41:57.331Z] ecc8261a40a4: Pull complete [2021-04-09T02:41:57.331Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-09T02:41:57.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-09T02:41:57.331Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-09T02:41:57.432Z] prd-centos7-docker-4c-2g-33384 does not seem to be running inside a container [2021-04-09T02:41:57.481Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-09T02:41:58.905Z] $ docker top 955e11e36fbc155f3075e9a9ffc9183603501b11d99fb25258e0ba394d6a6a6e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-09T02:41:59.264Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-09T02:41:59.264Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-09T02:41:59.489Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-09T02:41:59.492Z] $ docker exec 955e11e36fbc155f3075e9a9ffc9183603501b11d99fb25258e0ba394d6a6a6e ssh-agent [2021-04-09T02:41:59.655Z] SSH_AUTH_SOCK=/tmp/ssh-qocTEPhT7g8h/agent.11 [2021-04-09T02:41:59.655Z] SSH_AGENT_PID=16 [2021-04-09T02:41:59.664Z] Running ssh-add (command line suppressed) [2021-04-09T02:41:59.787Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_320182481115790385.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_320182481115790385.key) [2021-04-09T02:41:59.837Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-09T02:42:00.172Z] + git tag --points-at HEAD [Pipeline] } [2021-04-09T02:42:00.191Z] $ docker exec --env ******** --env ******** 955e11e36fbc155f3075e9a9ffc9183603501b11d99fb25258e0ba394d6a6a6e ssh-agent -k [2021-04-09T02:42:00.305Z] unset SSH_AUTH_SOCK; [2021-04-09T02:42:00.306Z] unset SSH_AGENT_PID; [2021-04-09T02:42:00.306Z] echo Agent pid 16 killed; [2021-04-09T02:42:00.354Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-09T02:42:00.549Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-09T02:42:00.549Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-09T02:42:00.705Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-09T02:42:00.708Z] $ docker exec 955e11e36fbc155f3075e9a9ffc9183603501b11d99fb25258e0ba394d6a6a6e ssh-agent [2021-04-09T02:42:00.868Z] SSH_AUTH_SOCK=/tmp/ssh-GG9cWxsPeHUB/agent.45 [2021-04-09T02:42:00.868Z] SSH_AGENT_PID=50 [2021-04-09T02:42:00.874Z] Running ssh-add (command line suppressed) [2021-04-09T02:42:00.990Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_7528254846106671998.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_7528254846106671998.key) [2021-04-09T02:42:01.041Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-09T02:42:01.378Z] + git semver init [2021-04-09T02:42:01.378Z] # -> Open(): unable to determine branch for HEAD [2021-04-09T02:42:01.378Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-04-09T02:42:01.378Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-04-09T02:42:01.378Z] # $SEMVER_REMOTE_NAME = origin [2021-04-09T02:42:01.378Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-09T02:42:01.378Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-09T02:42:01.378Z] # $SEMVER_BRANCH = PR-725 [2021-04-09T02:42:01.378Z] # $SEMVER_TEMP = /tmp/semver-219878712 [2021-04-09T02:42:01.378Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-09T02:42:02.329Z] # '/tmp/semver-219878712' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-04-09T02:42:02.329Z] # -> Force: false [2021-04-09T02:42:02.329Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-04-09T02:42:02.340Z] $ docker exec --env ******** --env ******** 955e11e36fbc155f3075e9a9ffc9183603501b11d99fb25258e0ba394d6a6a6e ssh-agent -k [2021-04-09T02:42:02.463Z] unset SSH_AUTH_SOCK; [2021-04-09T02:42:02.463Z] unset SSH_AGENT_PID; [2021-04-09T02:42:02.463Z] echo Agent pid 50 killed; [2021-04-09T02:42:02.510Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-09T02:42:02.992Z] + git semver [Pipeline] } [2021-04-09T02:42:03.008Z] $ docker stop --time=1 955e11e36fbc155f3075e9a9ffc9183603501b11d99fb25258e0ba394d6a6a6e [2021-04-09T02:42:04.435Z] $ docker rm -f 955e11e36fbc155f3075e9a9ffc9183603501b11d99fb25258e0ba394d6a6a6e [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-09T02:42:04.917Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-09T02:42:05.452Z] Stashed 1 file(s) [Pipeline] echo [2021-04-09T02:42:05.455Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-04-09T02:42:21.036Z] Still waiting to schedule task [2021-04-09T02:42:21.036Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-09T02:42:21.038Z] Still waiting to schedule task [2021-04-09T02:42:21.038Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-32989’ is offline [2021-04-09T02:44:11.709Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-33385 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-04-09T02:44:11.773Z] Running in /w/workspace/device-sdk-go/32 [Pipeline] { [Pipeline] checkout [2021-04-09T02:44:17.158Z] using credential edgex-jenkins-ssh [2021-04-09T02:44:17.216Z] Cloning the remote Git repository [2021-04-09T02:44:17.266Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-09T02:44:17.376Z] > git init /w/workspace/device-sdk-go/32 # timeout=10 [2021-04-09T02:44:17.469Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-09T02:44:17.469Z] > git --version # timeout=10 [2021-04-09T02:44:17.493Z] > git --version # 'git version 2.17.1' [2021-04-09T02:44:17.494Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-09T02:44:17.555Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-09T02:44:18.752Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-09T02:44:18.773Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-09T02:44:18.817Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-09T02:44:18.856Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-09T02:44:18.857Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-09T02:44:18.869Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-09T02:44:19.480Z] Merging remotes/origin/master commit 0004bfda3add5d207eecfa44332d420db602e0f7 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-04-09T02:44:19.914Z] Merge succeeded, producing 83a68fec3a03eb96e3504b8829a9f19698b72faa [2021-04-09T02:44:19.915Z] Checking out Revision 83a68fec3a03eb96e3504b8829a9f19698b72faa (PR-725) [2021-04-09T02:44:19.500Z] > git config core.sparsecheckout # timeout=10 [2021-04-09T02:44:19.528Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-04-09T02:44:19.649Z] > git remote # timeout=10 [2021-04-09T02:44:19.664Z] > git config --get remote.origin.url # timeout=10 [2021-04-09T02:44:19.685Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-09T02:44:19.696Z] > git merge 0004bfda3add5d207eecfa44332d420db602e0f7 # timeout=10 [2021-04-09T02:44:19.896Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-09T02:44:19.920Z] > git config core.sparsecheckout # timeout=10 [2021-04-09T02:44:19.932Z] > git checkout -f 83a68fec3a03eb96e3504b8829a9f19698b72faa # timeout=10 [2021-04-09T02:44:24.371Z] Commit message: "Merge commit '0004bfda3add5d207eecfa44332d420db602e0f7' into HEAD" [2021-04-09T02:44:24.393Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-09T02:44:24.377Z] > git rev-list --no-walk f6731ffe8fccd19843bb0a171d57cc80aae64ce0 # timeout=10 [2021-04-09T02:44:26.045Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-09T02:44:26.448Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-09T02:44:26.785Z] + + truesudo [2021-04-09T02:44:26.785Z] service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-09T02:44:29.495Z] provisioning config files... [2021-04-09T02:44:29.540Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/32@tmp/config7297410852439687113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-09T02:44:30.023Z] ---> docker-login.sh [2021-04-09T02:44:30.023Z] nexus3.edgexfoundry.org:10001 [2021-04-09T02:44:31.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T02:44:31.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T02:44:31.659Z] Configure a credential helper to remove this warning. See [2021-04-09T02:44:31.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T02:44:31.659Z] [2021-04-09T02:44:31.659Z] Login Succeeded [2021-04-09T02:44:31.659Z] nexus3.edgexfoundry.org:10002 [2021-04-09T02:44:31.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T02:44:31.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T02:44:31.937Z] Configure a credential helper to remove this warning. See [2021-04-09T02:44:31.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T02:44:31.937Z] [2021-04-09T02:44:31.937Z] Login Succeeded [2021-04-09T02:44:31.937Z] nexus3.edgexfoundry.org:10003 [2021-04-09T02:44:32.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T02:44:32.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T02:44:32.537Z] Configure a credential helper to remove this warning. See [2021-04-09T02:44:32.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T02:44:32.537Z] [2021-04-09T02:44:32.537Z] Login Succeeded [2021-04-09T02:44:32.537Z] nexus3.edgexfoundry.org:10004 [2021-04-09T02:44:33.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T02:44:33.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T02:44:33.132Z] Configure a credential helper to remove this warning. See [2021-04-09T02:44:33.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T02:44:33.132Z] [2021-04-09T02:44:33.132Z] Login Succeeded [2021-04-09T02:44:33.132Z] docker.io [2021-04-09T02:44:33.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T02:44:33.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T02:44:33.675Z] Configure a credential helper to remove this warning. See [2021-04-09T02:44:33.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T02:44:33.675Z] [2021-04-09T02:44:33.675Z] Login Succeeded [2021-04-09T02:44:33.675Z] ---> docker-login.sh ends [Pipeline] } [2021-04-09T02:44:33.694Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-09T02:44:34.264Z] ========================================================= [2021-04-09T02:44:34.264Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-09T02:44:34.264Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-09T02:44:34.653Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-09T02:44:34.929Z] Sending build context to Docker daemon 2.407MB [2021-04-09T02:44:34.929Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-09T02:44:34.929Z] Step 2/8 : FROM ${BASE} [2021-04-09T02:44:35.204Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-09T02:44:35.204Z] 5f621e34cdf4: Pulling fs layer [2021-04-09T02:44:35.204Z] a4357932f1b6: Pulling fs layer [2021-04-09T02:44:35.204Z] 18c013af1878: Pulling fs layer [2021-04-09T02:44:35.204Z] 00ac8860ef70: Pulling fs layer [2021-04-09T02:44:35.204Z] 63d7cb157983: Pulling fs layer [2021-04-09T02:44:35.204Z] b116817d02f9: Pulling fs layer [2021-04-09T02:44:35.204Z] 745a02a5169b: Pulling fs layer [2021-04-09T02:44:35.204Z] 00ac8860ef70: Waiting [2021-04-09T02:44:35.204Z] b116817d02f9: Waiting [2021-04-09T02:44:35.204Z] 745a02a5169b: Waiting [2021-04-09T02:44:35.204Z] 63d7cb157983: Waiting [2021-04-09T02:44:35.204Z] 18c013af1878: Verifying Checksum [2021-04-09T02:44:35.204Z] 18c013af1878: Download complete [2021-04-09T02:44:35.204Z] a4357932f1b6: Download complete [2021-04-09T02:44:35.204Z] 63d7cb157983: Verifying Checksum [2021-04-09T02:44:35.204Z] 63d7cb157983: Download complete [2021-04-09T02:44:35.204Z] 5f621e34cdf4: Verifying Checksum [2021-04-09T02:44:35.204Z] b116817d02f9: Verifying Checksum [2021-04-09T02:44:35.204Z] b116817d02f9: Download complete [2021-04-09T02:44:36.185Z] 5f621e34cdf4: Pull complete [2021-04-09T02:44:36.461Z] a4357932f1b6: Pull complete [2021-04-09T02:44:37.063Z] 18c013af1878: Pull complete [2021-04-09T02:44:38.040Z] 745a02a5169b: Verifying Checksum [2021-04-09T02:44:38.040Z] 745a02a5169b: Download complete [2021-04-09T02:44:39.012Z] 00ac8860ef70: Download complete [2021-04-09T02:44:49.182Z] 00ac8860ef70: Pull complete [2021-04-09T02:44:49.455Z] 63d7cb157983: Pull complete [2021-04-09T02:44:49.728Z] b116817d02f9: Pull complete [2021-04-09T02:44:54.065Z] 745a02a5169b: Pull complete [2021-04-09T02:44:54.065Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-09T02:44:54.065Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-09T02:44:54.065Z] ---> b7e6874047d6 [2021-04-09T02:44:54.065Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-09T02:44:56.673Z] ---> Running in cfe0f10ef6fa [2021-04-09T02:44:56.673Z] Removing intermediate container cfe0f10ef6fa [2021-04-09T02:44:56.673Z] ---> ad2a85d8edfc [2021-04-09T02:44:56.673Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-09T02:44:56.946Z] ---> Running in 2c7fa12d78ed [2021-04-09T02:44:58.915Z] Removing intermediate container 2c7fa12d78ed [2021-04-09T02:44:58.915Z] ---> 3928b5658bca [2021-04-09T02:44:58.915Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-09T02:44:59.192Z] ---> Running in 8855e5eb0e4b [2021-04-09T02:45:00.171Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-09T02:45:00.762Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-09T02:45:01.730Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-09T02:45:01.730Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-09T02:45:01.730Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-09T02:45:01.730Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-09T02:45:02.005Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-09T02:45:02.005Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-09T02:45:02.005Z] Executing busybox-1.31.1-r19.trigger [2021-04-09T02:45:02.279Z] OK: 144 MiB in 45 packages [2021-04-09T02:45:03.721Z] Removing intermediate container 8855e5eb0e4b [2021-04-09T02:45:03.721Z] ---> 35514ec36851 [2021-04-09T02:45:03.721Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-09T02:45:03.721Z] ---> Running in ea2ed51b43b9 [2021-04-09T02:45:04.317Z] Removing intermediate container ea2ed51b43b9 [2021-04-09T02:45:04.317Z] ---> 9059df936278 [2021-04-09T02:45:04.317Z] Step 7/8 : COPY . . [2021-04-09T02:45:05.297Z] ---> a17ac294704f [2021-04-09T02:45:05.297Z] Step 8/8 : RUN go mod download [2021-04-09T02:45:05.297Z] ---> Running in 70355c0a8b7f [2021-04-09T02:45:32.084Z] Removing intermediate container 70355c0a8b7f [2021-04-09T02:45:32.084Z] ---> 56554ff1dd70 [2021-04-09T02:45:32.084Z] Successfully built 56554ff1dd70 [2021-04-09T02:45:32.084Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-09T02:45:32.437Z] + docker inspect -f . ci-base-image-arm64 [2021-04-09T02:45:32.437Z] . [Pipeline] withDockerContainer [2021-04-09T02:45:32.685Z] prd-ubuntu18.04-docker-arm64-4c-16g-33385 does not seem to be running inside a container [2021-04-09T02:45:32.772Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/32 -v /w/workspace/device-sdk-go/32:/w/workspace/device-sdk-go/32:rw,z -v /w/workspace/device-sdk-go/32@tmp:/w/workspace/device-sdk-go/32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-09T02:45:34.229Z] $ docker top a68faab21d072e9a75f9da704719a44674cb89fca75a4c92113856a9f482259c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-09T02:45:35.290Z] + go version [2021-04-09T02:45:35.290Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-09T02:45:35.311Z] $ docker stop --time=1 a68faab21d072e9a75f9da704719a44674cb89fca75a4c92113856a9f482259c [2021-04-09T02:45:37.236Z] $ docker rm -f a68faab21d072e9a75f9da704719a44674cb89fca75a4c92113856a9f482259c [2021-04-09T02:45:37.497Z] Running on prd-centos7-docker-4c-2g-33386 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws [2021-04-09T02:45:37.643Z] Running in /w/workspace/device-sdk-go/32 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-09T02:45:38.296Z] + docker inspect -f . ci-base-image-arm64 [2021-04-09T02:45:38.296Z] . [Pipeline] withDockerContainer [2021-04-09T02:45:38.560Z] prd-ubuntu18.04-docker-arm64-4c-16g-33385 does not seem to be running inside a container [2021-04-09T02:45:38.634Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/32 -v /w/workspace/device-sdk-go/32:/w/workspace/device-sdk-go/32:rw,z -v /w/workspace/device-sdk-go/32@tmp:/w/workspace/device-sdk-go/32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-09T02:45:40.134Z] $ docker top 845e542f385ac8f04b831ef453df0da74320484949a3c278f1a2b8756bd438b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-09T02:45:41.156Z] + make test [2021-04-09T02:45:41.156Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-09T02:45:46.113Z] using credential edgex-jenkins-ssh [2021-04-09T02:45:46.179Z] Cloning the remote Git repository [2021-04-09T02:45:46.401Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-09T02:45:46.494Z] > git init /w/workspace/device-sdk-go/32 # timeout=10 [2021-04-09T02:45:46.643Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-09T02:45:46.643Z] > git --version # timeout=10 [2021-04-09T02:45:46.685Z] > git --version # 'git version 2.24.3' [2021-04-09T02:45:46.686Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-09T02:45:46.738Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-09T02:45:48.549Z] Merging remotes/origin/master commit 0004bfda3add5d207eecfa44332d420db602e0f7 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-04-09T02:45:48.928Z] Merge succeeded, producing 5edea210ddd9cb0f6b98b2c780781a3ed7c5afdb [2021-04-09T02:45:48.928Z] Checking out Revision 5edea210ddd9cb0f6b98b2c780781a3ed7c5afdb (PR-725) [2021-04-09T02:45:47.832Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-09T02:45:47.873Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-09T02:45:47.914Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-09T02:45:47.950Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-09T02:45:47.951Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-09T02:45:47.976Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-09T02:45:48.571Z] > git config core.sparsecheckout # timeout=10 [2021-04-09T02:45:48.585Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-04-09T02:45:48.693Z] > git remote # timeout=10 [2021-04-09T02:45:48.711Z] > git config --get remote.origin.url # timeout=10 [2021-04-09T02:45:48.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-09T02:45:48.753Z] > git merge 0004bfda3add5d207eecfa44332d420db602e0f7 # timeout=10 [2021-04-09T02:45:48.901Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-09T02:45:48.932Z] > git config core.sparsecheckout # timeout=10 [2021-04-09T02:45:49.020Z] > git checkout -f 5edea210ddd9cb0f6b98b2c780781a3ed7c5afdb # timeout=10 [2021-04-09T02:45:53.685Z] Commit message: "Merge commit '0004bfda3add5d207eecfa44332d420db602e0f7' into HEAD" [2021-04-09T02:45:53.712Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-09T02:45:53.690Z] > git rev-list --no-walk f6731ffe8fccd19843bb0a171d57cc80aae64ce0 # timeout=10 [2021-04-09T02:45:55.906Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-09T02:45:56.395Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-09T02:45:56.758Z] + sudo service docker restart [2021-04-09T02:45:56.758Z] + true [2021-04-09T02:45:56.758Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-09T02:45:58.885Z] provisioning config files... [2021-04-09T02:45:58.926Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/32@tmp/config8437239614824362362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-09T02:45:59.793Z] ---> docker-login.sh [2021-04-09T02:45:59.794Z] nexus3.edgexfoundry.org:10001 [2021-04-09T02:46:00.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T02:46:01.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T02:46:01.254Z] Configure a credential helper to remove this warning. See [2021-04-09T02:46:01.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T02:46:01.254Z] [2021-04-09T02:46:01.254Z] Login Succeeded [2021-04-09T02:46:01.254Z] nexus3.edgexfoundry.org:10002 [2021-04-09T02:46:02.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T02:46:02.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T02:46:02.525Z] Configure a credential helper to remove this warning. See [2021-04-09T02:46:02.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T02:46:02.525Z] [2021-04-09T02:46:02.525Z] Login Succeeded [2021-04-09T02:46:02.525Z] nexus3.edgexfoundry.org:10003 [2021-04-09T02:46:03.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T02:46:03.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T02:46:03.315Z] Configure a credential helper to remove this warning. See [2021-04-09T02:46:03.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T02:46:03.315Z] [2021-04-09T02:46:03.315Z] Login Succeeded [2021-04-09T02:46:03.344Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-09T02:46:03.636Z] nexus3.edgexfoundry.org:10004 [2021-04-09T02:46:04.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T02:46:04.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T02:46:04.411Z] Configure a credential helper to remove this warning. See [2021-04-09T02:46:04.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T02:46:04.411Z] [2021-04-09T02:46:04.411Z] Login Succeeded [2021-04-09T02:46:04.411Z] docker.io [2021-04-09T02:46:05.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T02:46:06.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T02:46:06.699Z] Configure a credential helper to remove this warning. See [2021-04-09T02:46:06.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T02:46:06.699Z] [2021-04-09T02:46:06.699Z] Login Succeeded [2021-04-09T02:46:06.699Z] ---> docker-login.sh ends [Pipeline] } [2021-04-09T02:46:06.758Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-09T02:46:07.792Z] ========================================================= [2021-04-09T02:46:07.792Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-09T02:46:07.792Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-09T02:46:08.769Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-09T02:46:09.875Z] Sending build context to Docker daemon 2.408MB [2021-04-09T02:46:09.875Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-09T02:46:09.875Z] Step 2/8 : FROM ${BASE} [2021-04-09T02:46:09.875Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-09T02:46:09.875Z] 188c0c94c7c5: Pulling fs layer [2021-04-09T02:46:09.875Z] 0ef7d3d256c8: Pulling fs layer [2021-04-09T02:46:09.875Z] de9db76c5a1d: Pulling fs layer [2021-04-09T02:46:09.875Z] bca2f99d35d6: Pulling fs layer [2021-04-09T02:46:09.875Z] 93359f2a8cfa: Pulling fs layer [2021-04-09T02:46:09.875Z] 7c6f9722023f: Pulling fs layer [2021-04-09T02:46:09.875Z] a35cf1a2eb13: Pulling fs layer [2021-04-09T02:46:09.875Z] bca2f99d35d6: Waiting [2021-04-09T02:46:09.875Z] 93359f2a8cfa: Waiting [2021-04-09T02:46:09.875Z] 7c6f9722023f: Waiting [2021-04-09T02:46:09.875Z] a35cf1a2eb13: Waiting [2021-04-09T02:46:09.875Z] de9db76c5a1d: Verifying Checksum [2021-04-09T02:46:09.875Z] de9db76c5a1d: Download complete [2021-04-09T02:46:09.875Z] 0ef7d3d256c8: Verifying Checksum [2021-04-09T02:46:09.876Z] 0ef7d3d256c8: Download complete [2021-04-09T02:46:10.167Z] 93359f2a8cfa: Verifying Checksum [2021-04-09T02:46:10.167Z] 93359f2a8cfa: Download complete [2021-04-09T02:46:10.167Z] 7c6f9722023f: Verifying Checksum [2021-04-09T02:46:10.167Z] 7c6f9722023f: Download complete [2021-04-09T02:46:10.837Z] 188c0c94c7c5: Verifying Checksum [2021-04-09T02:46:10.837Z] 188c0c94c7c5: Download complete [2021-04-09T02:46:11.465Z] 188c0c94c7c5: Pull complete [2021-04-09T02:46:12.140Z] 0ef7d3d256c8: Pull complete [2021-04-09T02:46:12.425Z] de9db76c5a1d: Pull complete [2021-04-09T02:46:18.760Z] a35cf1a2eb13: Verifying Checksum [2021-04-09T02:46:18.761Z] a35cf1a2eb13: Download complete [2021-04-09T02:46:21.651Z] bca2f99d35d6: Verifying Checksum [2021-04-09T02:46:21.652Z] bca2f99d35d6: Download complete [2021-04-09T02:46:41.035Z] bca2f99d35d6: Pull complete [2021-04-09T02:46:41.035Z] 93359f2a8cfa: Pull complete [2021-04-09T02:46:41.035Z] 7c6f9722023f: Pull complete [2021-04-09T02:46:49.776Z] a35cf1a2eb13: Pull complete [2021-04-09T02:46:49.776Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-09T02:46:49.776Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-09T02:46:49.776Z] ---> a62c8e92a672 [2021-04-09T02:46:49.776Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-09T02:46:49.776Z] ---> Running in a4313edfbf54 [2021-04-09T02:46:49.776Z] Removing intermediate container a4313edfbf54 [2021-04-09T02:46:49.776Z] ---> 889a0819e160 [2021-04-09T02:46:49.776Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-09T02:46:50.049Z] ---> Running in 74ddbab56432 [2021-04-09T02:46:50.382Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-09T02:46:50.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-09T02:46:50.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-09T02:46:50.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-09T02:46:50.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-09T02:46:52.741Z] Removing intermediate container 74ddbab56432 [2021-04-09T02:46:52.741Z] ---> ee87a0e4046b [2021-04-09T02:46:52.741Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-09T02:46:52.741Z] ---> Running in 89ed46020e01 [2021-04-09T02:46:54.454Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-09T02:46:54.782Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-09T02:46:55.728Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-09T02:46:55.729Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-09T02:46:55.729Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-09T02:46:56.026Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-09T02:46:56.026Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-09T02:46:56.026Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-09T02:46:56.356Z] Executing busybox-1.31.1-r19.trigger [2021-04-09T02:46:56.356Z] OK: 167 MiB in 45 packages [2021-04-09T02:46:57.448Z] Removing intermediate container 89ed46020e01 [2021-04-09T02:46:57.448Z] ---> 9f7180cf705f [2021-04-09T02:46:57.448Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-09T02:46:57.448Z] ---> Running in 78e300751e5c [2021-04-09T02:46:58.096Z] Removing intermediate container 78e300751e5c [2021-04-09T02:46:58.096Z] ---> 835662c41f69 [2021-04-09T02:46:58.096Z] Step 7/8 : COPY . . [2021-04-09T02:47:00.386Z] ---> 1c7211098908 [2021-04-09T02:47:00.386Z] Step 8/8 : RUN go mod download [2021-04-09T02:47:00.386Z] ---> Running in 73f302c873b4 [2021-04-09T02:47:02.806Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.131s coverage: 28.1% of statements [2021-04-09T02:47:03.083Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.203s coverage: 78.9% of statements [2021-04-09T02:47:03.083Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.204s coverage: 7.8% of statements [2021-04-09T02:47:03.083Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-09T02:47:03.083Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-09T02:47:03.083Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-09T02:47:03.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.216s coverage: 32.5% of statements [2021-04-09T02:47:03.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-09T02:47:03.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-09T02:47:03.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-09T02:47:08.023Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.328s coverage: 57.1% of statements [2021-04-09T02:47:08.023Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.084s coverage: 6.6% of statements [2021-04-09T02:47:08.295Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.146s coverage: 5.0% of statements [2021-04-09T02:47:08.295Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-09T02:47:08.893Z] GO111MODULE=on go vet ./... [2021-04-09T02:47:40.962Z] Removing intermediate container 73f302c873b4 [2021-04-09T02:47:40.962Z] ---> f5356f991256 [2021-04-09T02:47:40.962Z] Successfully built f5356f991256 [2021-04-09T02:47:40.962Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-09T02:47:41.444Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-09T02:47:41.737Z] . [Pipeline] withDockerContainer [2021-04-09T02:47:42.281Z] prd-centos7-docker-4c-2g-33386 does not seem to be running inside a container [2021-04-09T02:47:42.465Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/32 -v /w/workspace/device-sdk-go/32:/w/workspace/device-sdk-go/32:rw,z -v /w/workspace/device-sdk-go/32@tmp:/w/workspace/device-sdk-go/32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-09T02:47:44.858Z] $ docker top a812c417b8a650b96dcbde44883241b5f85ea28d5262a9d87d81400f0dfb642e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-09T02:47:46.115Z] + go version [2021-04-09T02:47:46.115Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-09T02:47:46.160Z] $ docker stop --time=1 a812c417b8a650b96dcbde44883241b5f85ea28d5262a9d87d81400f0dfb642e [2021-04-09T02:47:48.054Z] $ docker rm -f a812c417b8a650b96dcbde44883241b5f85ea28d5262a9d87d81400f0dfb642e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-09T02:47:49.211Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-09T02:47:49.211Z] . [Pipeline] withDockerContainer [2021-04-09T02:47:49.965Z] prd-centos7-docker-4c-2g-33386 does not seem to be running inside a container [2021-04-09T02:47:50.299Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/32 -v /w/workspace/device-sdk-go/32:/w/workspace/device-sdk-go/32:rw,z -v /w/workspace/device-sdk-go/32@tmp:/w/workspace/device-sdk-go/32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-09T02:47:51.730Z] $ docker top aa8b2f69464f925966888c3086c8ee036e5675ba3d08ea00c52a57b89617d5fb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-09T02:47:53.219Z] + make test [2021-04-09T02:47:53.220Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-09T02:47:56.146Z] gofmt -l . [2021-04-09T02:47:56.146Z] [ "`gofmt -l .`" = "" ] [2021-04-09T02:47:56.146Z] ./bin/test-attribution-txt.sh [2021-04-09T02:47:56.146Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-09T02:47:56.163Z] $ docker stop --time=1 845e542f385ac8f04b831ef453df0da74320484949a3c278f1a2b8756bd438b7 [2021-04-09T02:47:58.452Z] $ docker rm -f 845e542f385ac8f04b831ef453df0da74320484949a3c278f1a2b8756bd438b7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-09T02:47:59.619Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-09T02:48:00.441Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-09T02:48:03.766Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-09T02:48:04.097Z] + ls -al . [2021-04-09T02:48:04.097Z] total 224 [2021-04-09T02:48:04.097Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 9 02:47 . [2021-04-09T02:48:04.097Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 9 02:44 .. [2021-04-09T02:48:04.097Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 9 02:44 .dockerignore [2021-04-09T02:48:04.097Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 9 02:44 .git [2021-04-09T02:48:04.097Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 9 02:44 .github [2021-04-09T02:48:04.097Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 9 02:44 .gitignore [2021-04-09T02:48:04.097Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 9 02:44 Dockerfile.build [2021-04-09T02:48:04.097Z] -rw-rw-r-- 1 jenkins jenkins 894 Apr 9 02:44 Jenkinsfile [2021-04-09T02:48:04.097Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 9 02:44 LICENSE [2021-04-09T02:48:04.097Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 9 02:44 Makefile [2021-04-09T02:48:04.097Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 9 02:44 README.md [2021-04-09T02:48:04.097Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 9 02:44 RELEASE-NOTES.txt [2021-04-09T02:48:04.097Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 9 02:42 VERSION [2021-04-09T02:48:04.097Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 9 02:44 bin [2021-04-09T02:48:04.097Z] -rw-r--r-- 1 jenkins jenkins 99750 Apr 9 02:47 coverage.out [2021-04-09T02:48:04.097Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 9 02:44 example [2021-04-09T02:48:04.097Z] -rw-r--r-- 1 jenkins jenkins 572 Apr 9 02:47 go.mod [2021-04-09T02:48:04.097Z] -rw-r--r-- 1 jenkins jenkins 20726 Apr 9 02:47 go.sum [2021-04-09T02:48:04.097Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 9 02:44 internal [2021-04-09T02:48:04.097Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 9 02:44 openapi [2021-04-09T02:48:04.097Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 9 02:44 pkg [2021-04-09T02:48:04.097Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 9 02:44 snap [2021-04-09T02:48:04.097Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 9 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-09T02:48:04.437Z] + docker build -t 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=b8374e34fffbde3c70e2bea7e0b3316df3a17caf --label arch=arm64 --label version=0.0.0 . [2021-04-09T02:48:05.031Z] Sending build context to Docker daemon 2.508MB [2021-04-09T02:48:05.031Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-09T02:48:05.031Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-09T02:48:05.031Z] ---> 56554ff1dd70 [2021-04-09T02:48:05.031Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-09T02:48:05.031Z] ---> Running in 38f9f29c1a59 [2021-04-09T02:48:05.624Z] Removing intermediate container 38f9f29c1a59 [2021-04-09T02:48:05.624Z] ---> 78fb806bb560 [2021-04-09T02:48:05.624Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-09T02:48:05.895Z] ---> Running in a2f80738b34a [2021-04-09T02:48:06.168Z] Removing intermediate container a2f80738b34a [2021-04-09T02:48:06.168Z] ---> 6b67ec93287c [2021-04-09T02:48:06.168Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-09T02:48:06.443Z] ---> Running in 57fdbb215171 [2021-04-09T02:48:08.413Z] Removing intermediate container 57fdbb215171 [2021-04-09T02:48:08.413Z] ---> 05d1fede2449 [2021-04-09T02:48:08.413Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-09T02:48:08.686Z] ---> Running in fbde1652f337 [2021-04-09T02:48:09.662Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-09T02:48:10.638Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-09T02:48:11.232Z] OK: 144 MiB in 45 packages [2021-04-09T02:48:12.226Z] Removing intermediate container fbde1652f337 [2021-04-09T02:48:12.226Z] ---> 2d4bb02b5d30 [2021-04-09T02:48:12.226Z] Step 7/23 : COPY . . [2021-04-09T02:48:13.661Z] ---> aa6862854da8 [2021-04-09T02:48:13.661Z] Step 8/23 : RUN go mod download [2021-04-09T02:48:13.661Z] ---> Running in 59b3a5d4e678 [2021-04-09T02:48:16.099Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-09T02:48:16.288Z] Removing intermediate container 59b3a5d4e678 [2021-04-09T02:48:16.288Z] ---> 59748626d2ca [2021-04-09T02:48:16.288Z] Step 9/23 : RUN make build [2021-04-09T02:48:16.288Z] ---> Running in 3f6330848ce0 [2021-04-09T02:48:17.271Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-04-09T02:48:49.627Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-09T02:48:52.244Z] Removing intermediate container 3f6330848ce0 [2021-04-09T02:48:52.244Z] ---> 48f3f4c0282a [2021-04-09T02:48:52.244Z] Step 10/23 : FROM alpine:3.12 [2021-04-09T02:48:52.515Z] 3.12: Pulling from library/alpine [2021-04-09T02:48:52.515Z] 9a219e8acc52: Pulling fs layer [2021-04-09T02:48:52.789Z] 9a219e8acc52: Download complete [2021-04-09T02:48:53.385Z] 9a219e8acc52: Pull complete [2021-04-09T02:48:53.385Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-09T02:48:53.385Z] Status: Downloaded newer image for alpine:3.12 [2021-04-09T02:48:53.385Z] ---> d75e27dfc0a0 [2021-04-09T02:48:53.385Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-09T02:48:53.656Z] ---> Running in 4d291e3c09fa [2021-04-09T02:48:54.249Z] Removing intermediate container 4d291e3c09fa [2021-04-09T02:48:54.250Z] ---> 31adb81f1dd0 [2021-04-09T02:48:54.250Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-09T02:48:54.250Z] ---> Running in 6bb49504e6a5 [2021-04-09T02:48:56.223Z] Removing intermediate container 6bb49504e6a5 [2021-04-09T02:48:56.223Z] ---> 7f1928e031f2 [2021-04-09T02:48:56.223Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-09T02:48:56.504Z] ---> Running in d07c44d94d34 [2021-04-09T02:48:57.485Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-09T02:48:58.455Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-09T02:48:59.047Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-09T02:48:59.047Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-09T02:48:59.047Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-09T02:48:59.318Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-09T02:48:59.318Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-09T02:48:59.590Z] Executing busybox-1.31.1-r20.trigger [2021-04-09T02:48:59.590Z] OK: 8 MiB in 19 packages [2021-04-09T02:49:00.569Z] Removing intermediate container d07c44d94d34 [2021-04-09T02:49:00.569Z] ---> a3d18b369106 [2021-04-09T02:49:00.569Z] Step 14/23 : WORKDIR / [2021-04-09T02:49:00.844Z] ---> Running in ed75e4ab701d [2021-04-09T02:49:01.436Z] Removing intermediate container ed75e4ab701d [2021-04-09T02:49:01.436Z] ---> a5229721f3c2 [2021-04-09T02:49:01.436Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-09T02:49:02.031Z] ---> 8fd62d35d5b3 [2021-04-09T02:49:02.032Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-09T02:49:03.465Z] ---> a2ba535211d9 [2021-04-09T02:49:03.465Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-09T02:49:04.061Z] ---> b9db72d74ec8 [2021-04-09T02:49:04.061Z] Step 18/23 : EXPOSE 49990 [2021-04-09T02:49:04.061Z] ---> Running in 4f0bd059ea4c [2021-04-09T02:49:04.657Z] Removing intermediate container 4f0bd059ea4c [2021-04-09T02:49:04.657Z] ---> 7029dc69e507 [2021-04-09T02:49:04.657Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-09T02:49:04.657Z] ---> Running in 26712d56dcdd [2021-04-09T02:49:05.252Z] Removing intermediate container 26712d56dcdd [2021-04-09T02:49:05.252Z] ---> 2f5a1ed4c5e1 [2021-04-09T02:49:05.252Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-09T02:49:05.252Z] ---> Running in b6a425f891b2 [2021-04-09T02:49:05.276Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-09T02:49:05.276Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-09T02:49:05.276Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-09T02:49:05.276Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-09T02:49:05.276Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-09T02:49:05.848Z] Removing intermediate container b6a425f891b2 [2021-04-09T02:49:05.848Z] ---> 54f817f23769 [2021-04-09T02:49:05.848Z] Step 21/23 : LABEL arch=arm64 [2021-04-09T02:49:05.848Z] ---> Running in 168bb6054127 [2021-04-09T02:49:05.943Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.129s coverage: 28.1% of statements [2021-04-09T02:49:05.943Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.143s coverage: 78.9% of statements [2021-04-09T02:49:06.449Z] Removing intermediate container 168bb6054127 [2021-04-09T02:49:06.449Z] ---> a15249f857f9 [2021-04-09T02:49:06.449Z] Step 22/23 : LABEL git_sha=b8374e34fffbde3c70e2bea7e0b3316df3a17caf [2021-04-09T02:49:06.449Z] ---> Running in 81c12e50d769 [2021-04-09T02:49:06.613Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.116s coverage: 7.8% of statements [2021-04-09T02:49:06.614Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-09T02:49:06.614Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-09T02:49:06.614Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-09T02:49:06.919Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.249s coverage: 32.5% of statements [2021-04-09T02:49:06.919Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-09T02:49:06.919Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-09T02:49:06.919Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-09T02:49:07.041Z] Removing intermediate container 81c12e50d769 [2021-04-09T02:49:07.041Z] ---> 7b56db46e875 [2021-04-09T02:49:07.041Z] Step 23/23 : LABEL version=0.0.0 [2021-04-09T02:49:07.041Z] ---> Running in c5ed34d7ae4f [2021-04-09T02:49:07.634Z] Removing intermediate container c5ed34d7ae4f [2021-04-09T02:49:07.635Z] ---> 2b493659f727 [2021-04-09T02:49:07.635Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-09T02:49:07.635Z] Successfully built 2b493659f727 [2021-04-09T02:49:07.635Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-09T02:49:08.644Z] ---> job-cost.sh [2021-04-09T02:49:08.645Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-94Ob [2021-04-09T02:49:09.976Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.460s coverage: 57.1% of statements [2021-04-09T02:49:11.086Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.389s coverage: 6.6% of statements [2021-04-09T02:49:11.086Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.225s coverage: 5.0% of statements [2021-04-09T02:49:11.086Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-09T02:49:11.086Z] GO111MODULE=on go vet ./... [2021-04-09T02:49:47.593Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-09T02:49:51.179Z] gofmt -l . [2021-04-09T02:49:51.179Z] [ "`gofmt -l .`" = "" ] [2021-04-09T02:49:51.179Z] ./bin/test-attribution-txt.sh [2021-04-09T02:49:54.018Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-09T02:49:54.577Z] $ docker stop --time=1 aa8b2f69464f925966888c3086c8ee036e5675ba3d08ea00c52a57b89617d5fb [2021-04-09T02:49:57.684Z] $ docker rm -f aa8b2f69464f925966888c3086c8ee036e5675ba3d08ea00c52a57b89617d5fb [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-09T02:49:59.066Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-09T02:49:59.222Z] Warning: overwriting stash ‘coverage-report’ [2021-04-09T02:50:00.537Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-09T02:50:01.376Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-09T02:50:01.844Z] + ls -al . [2021-04-09T02:50:01.844Z] total 188 [2021-04-09T02:50:01.844Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 9 02:49 . [2021-04-09T02:50:01.844Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 9 02:45 .. [2021-04-09T02:50:01.844Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 9 02:45 bin [2021-04-09T02:50:01.844Z] -rw-r--r--. 1 jenkins jenkins 99750 Apr 9 02:49 coverage.out [2021-04-09T02:50:01.844Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 9 02:45 Dockerfile.build [2021-04-09T02:50:01.845Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 9 02:45 .dockerignore [2021-04-09T02:50:01.845Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 9 02:45 example [2021-04-09T02:50:01.845Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 9 02:45 .git [2021-04-09T02:50:01.845Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 9 02:45 .github [2021-04-09T02:50:01.845Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 9 02:45 .gitignore [2021-04-09T02:50:01.845Z] -rw-r--r--. 1 jenkins jenkins 572 Apr 9 02:49 go.mod [2021-04-09T02:50:01.845Z] -rw-r--r--. 1 jenkins jenkins 20726 Apr 9 02:49 go.sum [2021-04-09T02:50:01.845Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 9 02:45 internal [2021-04-09T02:50:01.845Z] -rw-rw-r--. 1 jenkins jenkins 894 Apr 9 02:45 Jenkinsfile [2021-04-09T02:50:01.845Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 9 02:45 LICENSE [2021-04-09T02:50:01.845Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 9 02:45 Makefile [2021-04-09T02:50:01.845Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 9 02:45 openapi [2021-04-09T02:50:01.845Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 9 02:45 pkg [2021-04-09T02:50:01.845Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 9 02:45 README.md [2021-04-09T02:50:01.845Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 9 02:45 RELEASE-NOTES.txt [2021-04-09T02:50:01.845Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 9 02:45 snap [2021-04-09T02:50:01.845Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 9 02:42 VERSION [2021-04-09T02:50:01.845Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 9 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-09T02:50:02.374Z] + docker build -t 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=b8374e34fffbde3c70e2bea7e0b3316df3a17caf --label arch=amd64 --label version=0.0.0 . [2021-04-09T02:50:03.640Z] Sending build context to Docker daemon 2.509MB [2021-04-09T02:50:03.640Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-09T02:50:03.640Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-09T02:50:03.640Z] ---> f5356f991256 [2021-04-09T02:50:03.640Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-09T02:50:04.003Z] ---> Running in fe5fb825b6bf [2021-04-09T02:50:04.802Z] Removing intermediate container fe5fb825b6bf [2021-04-09T02:50:04.802Z] ---> 1a0f5430ba87 [2021-04-09T02:50:04.802Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-09T02:50:04.802Z] ---> Running in 68f265c84240 [2021-04-09T02:50:04.802Z] Removing intermediate container 68f265c84240 [2021-04-09T02:50:04.802Z] ---> 07b8c24347d2 [2021-04-09T02:50:04.802Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-09T02:50:05.155Z] ---> Running in 74e052e09d8f [2021-04-09T02:50:06.934Z] Removing intermediate container 74e052e09d8f [2021-04-09T02:50:06.934Z] ---> cd738dccd86b [2021-04-09T02:50:06.934Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-09T02:50:06.934Z] ---> Running in 18d1049100f6 [2021-04-09T02:50:07.540Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-09T02:50:08.512Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-09T02:50:08.796Z] OK: 167 MiB in 45 packages [2021-04-09T02:50:10.102Z] Removing intermediate container 18d1049100f6 [2021-04-09T02:50:10.102Z] ---> b3f4288f9991 [2021-04-09T02:50:10.102Z] Step 7/23 : COPY . . [2021-04-09T02:50:11.885Z] ---> 4bb8bfec6a8e [2021-04-09T02:50:11.885Z] Step 8/23 : RUN go mod download [2021-04-09T02:50:11.885Z] ---> Running in 6a8797b19acc [2021-04-09T02:50:14.864Z] Removing intermediate container 6a8797b19acc [2021-04-09T02:50:14.864Z] ---> 894ab15edf57 [2021-04-09T02:50:14.864Z] Step 9/23 : RUN make build [2021-04-09T02:50:14.864Z] ---> Running in 0bd98a7d32bc [2021-04-09T02:50:16.464Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-04-09T02:50:44.425Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-09T02:50:45.426Z] Removing intermediate container 0bd98a7d32bc [2021-04-09T02:50:45.426Z] ---> c690999a4b3f [2021-04-09T02:50:45.426Z] Step 10/23 : FROM alpine:3.12 [2021-04-09T02:50:46.047Z] 3.12: Pulling from library/alpine [2021-04-09T02:50:46.047Z] 532819f3e44c: Pulling fs layer [2021-04-09T02:50:46.475Z] 532819f3e44c: Verifying Checksum [2021-04-09T02:50:46.475Z] 532819f3e44c: Download complete [2021-04-09T02:50:47.416Z] 532819f3e44c: Pull complete [2021-04-09T02:50:47.416Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-09T02:50:47.416Z] Status: Downloaded newer image for alpine:3.12 [2021-04-09T02:50:47.416Z] ---> 7230e588e954 [2021-04-09T02:50:47.416Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-09T02:50:47.416Z] ---> Running in 2d6167524257 [2021-04-09T02:50:48.044Z] Removing intermediate container 2d6167524257 [2021-04-09T02:50:48.044Z] ---> 01a7ff597c8e [2021-04-09T02:50:48.044Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-09T02:50:48.351Z] ---> Running in fbe893a74e2f [2021-04-09T02:50:49.841Z] Removing intermediate container fbe893a74e2f [2021-04-09T02:50:49.841Z] ---> af800e4fb5ed [2021-04-09T02:50:49.841Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-09T02:50:49.841Z] ---> Running in 545f1b0fa45b [2021-04-09T02:50:50.469Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-09T02:50:51.100Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-09T02:50:51.682Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-09T02:50:51.971Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-09T02:50:51.971Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-09T02:50:52.299Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-09T02:50:52.299Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-09T02:50:52.299Z] Executing busybox-1.31.1-r20.trigger [2021-04-09T02:50:52.299Z] OK: 8 MiB in 19 packages [2021-04-09T02:50:54.374Z] Removing intermediate container 545f1b0fa45b [2021-04-09T02:50:54.374Z] ---> f54b4063c1ea [2021-04-09T02:50:54.374Z] Step 14/23 : WORKDIR / [2021-04-09T02:50:54.374Z] ---> Running in 89bc90bfbde1 [2021-04-09T02:50:54.726Z] Removing intermediate container 89bc90bfbde1 [2021-04-09T02:50:54.726Z] ---> db700c6ef3a0 [2021-04-09T02:50:54.726Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-09T02:50:55.077Z] ---> c4f2d67b27b7 [2021-04-09T02:50:55.077Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-09T02:50:56.735Z] ---> c985de404412 [2021-04-09T02:50:56.735Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-09T02:50:57.023Z] ---> 2d43a6597a4e [2021-04-09T02:50:57.023Z] Step 18/23 : EXPOSE 49990 [2021-04-09T02:50:57.023Z] ---> Running in fedeae03a8d3 [2021-04-09T02:50:57.329Z] Removing intermediate container fedeae03a8d3 [2021-04-09T02:50:57.329Z] ---> 417e1f74ddb8 [2021-04-09T02:50:57.329Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-09T02:50:57.598Z] ---> Running in fe41e28c5a7d [2021-04-09T02:50:57.893Z] Removing intermediate container fe41e28c5a7d [2021-04-09T02:50:57.893Z] ---> f7058cad7217 [2021-04-09T02:50:57.893Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-09T02:50:57.893Z] ---> Running in c0cc339c279c [2021-04-09T02:50:58.572Z] Removing intermediate container c0cc339c279c [2021-04-09T02:50:58.572Z] ---> 4c8426f16b05 [2021-04-09T02:50:58.572Z] Step 21/23 : LABEL arch=amd64 [2021-04-09T02:50:58.842Z] ---> Running in 999c3c45bf5b [2021-04-09T02:50:59.486Z] Removing intermediate container 999c3c45bf5b [2021-04-09T02:50:59.486Z] ---> f4ead19aa343 [2021-04-09T02:50:59.486Z] Step 22/23 : LABEL git_sha=b8374e34fffbde3c70e2bea7e0b3316df3a17caf [2021-04-09T02:50:59.486Z] ---> Running in 538f7ea092ea [2021-04-09T02:51:00.110Z] Removing intermediate container 538f7ea092ea [2021-04-09T02:51:00.110Z] ---> 21a3f8e02e29 [2021-04-09T02:51:00.110Z] Step 23/23 : LABEL version=0.0.0 [2021-04-09T02:51:00.110Z] ---> Running in 50e795d51135 [2021-04-09T02:51:00.413Z] Removing intermediate container 50e795d51135 [2021-04-09T02:51:00.413Z] ---> 52781dcac907 [2021-04-09T02:51:00.413Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-09T02:51:00.413Z] Successfully built 52781dcac907 [2021-04-09T02:51:00.413Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-09T02:51:01.526Z] ---> job-cost.sh [2021-04-09T02:51:01.526Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-athb [2021-04-09T02:51:24.324Z] lf-activate-venv(): INFO: Adding /tmp/venv-94Ob/bin to PATH [2021-04-09T02:51:24.324Z] INFO: No Stack... [2021-04-09T02:51:24.324Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-09T02:51:24.324Z] INFO: Archiving Costs [Pipeline] sh [2021-04-09T02:51:24.661Z] + cat /w/workspace/device-sdk-go/32/archives/cost.csv [2021-04-09T02:51:24.661Z] + cut -d, -f6 [Pipeline] lock [2021-04-09T02:51:24.774Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-32-stack-cost] [2021-04-09T02:51:24.788Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-32-stack-cost] did not exist. Created. [2021-04-09T02:51:24.788Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-09T02:51:25.239Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-09T02:51:25.496Z] Stashed 1 file(s) [Pipeline] } [2021-04-09T02:51:25.507Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-32-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-09T02:51:34.212Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-09T02:52:14.028Z] lf-activate-venv(): INFO: Adding /tmp/venv-athb/bin to PATH [2021-04-09T02:52:14.028Z] INFO: No Stack... [2021-04-09T02:52:14.028Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-09T02:52:14.648Z] INFO: Archiving Costs [Pipeline] sh [2021-04-09T02:52:15.015Z] + cat /w/workspace/device-sdk-go/32/archives/cost.csv [2021-04-09T02:52:15.015Z] + cut -d, -f6 [Pipeline] lock [2021-04-09T02:52:15.415Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-32-stack-cost] [2021-04-09T02:52:15.423Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-32-stack-cost] did not exist. Created. [2021-04-09T02:52:15.423Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-09T02:52:15.957Z] /w/workspace/device-sdk-go/32@tmp/durable-39d8b700/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-04-09T02:52:16.345Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-09T02:52:16.495Z] Warning: overwriting stash ‘stack-cost’ [2021-04-09T02:52:16.725Z] Stashed 1 file(s) [Pipeline] } [2021-04-09T02:52:16.737Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-32-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-04-09T02:52:18.282Z] provisioning config files... [2021-04-09T02:52:18.297Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config8148289126804692229tmp [Pipeline] { [Pipeline] sh [2021-04-09T02:52:18.699Z] + set +x [2021-04-09T02:52:18.699Z] + curl -s https://codecov.io/bash [2021-04-09T02:52:18.699Z] + bash -s -- [2021-04-09T02:52:18.962Z] [2021-04-09T02:52:18.962Z] _____ _ [2021-04-09T02:52:18.962Z] / ____| | | [2021-04-09T02:52:18.962Z] | | ___ __| | ___ ___ _____ __ [2021-04-09T02:52:18.962Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-09T02:52:18.962Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-09T02:52:18.962Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-09T02:52:18.962Z] Bash-20210309-2b87ace [2021-04-09T02:52:18.962Z] [2021-04-09T02:52:18.962Z] [2021-04-09T02:52:18.962Z] ==> git version 2.24.3 found [2021-04-09T02:52:18.962Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-04-09T02:52:18.962Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-09T02:52:18.962Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-09T02:52:18.962Z] ==> Jenkins CI detected. [2021-04-09T02:52:18.962Z] project root: . [2021-04-09T02:52:18.962Z] --> token set from env [2021-04-09T02:52:18.962Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-09T02:52:18.962Z] ==> Running gcov in . (disable via -X gcov) [2021-04-09T02:52:18.962Z] ==> Python coveragepy not found [2021-04-09T02:52:18.962Z] ==> Searching for coverage reports in: [2021-04-09T02:52:18.962Z] + . [2021-04-09T02:52:18.962Z] -> Found 1 reports [2021-04-09T02:52:18.962Z] ==> Detecting git/mercurial file structure [2021-04-09T02:52:18.962Z] ==> Reading reports [2021-04-09T02:52:18.962Z] + ./coverage.out bytes=99750 [2021-04-09T02:52:18.962Z] ==> Appending adjustments [2021-04-09T02:52:18.962Z] https://docs.codecov.io/docs/fixing-reports [2021-04-09T02:52:19.539Z] + Found adjustments [2021-04-09T02:52:19.540Z] ==> Gzipping contents [2021-04-09T02:52:19.540Z] 16K /tmp/codecov.nqYEEX.gz [2021-04-09T02:52:19.540Z] ==> Uploading reports [2021-04-09T02:52:19.540Z] url: https://codecov.io [2021-04-09T02:52:19.540Z] query: branch=PR-725&commit=b8374e34fffbde3c70e2bea7e0b3316df3a17caf&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-04-09T02:52:19.540Z] -> Pinging Codecov [2021-04-09T02:52:19.540Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-725&commit=b8374e34fffbde3c70e2bea7e0b3316df3a17caf&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-04-09T02:52:19.804Z] -> Uploading to [2021-04-09T02:52:19.804Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-09/7E55EF52A471D76F132DFD9A03CDDE97/b8374e34fffbde3c70e2bea7e0b3316df3a17caf/f2af440c-f80f-4487-be68-5c93ae064de9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210409%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210409T025219Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a043fdbb8aca2c207bfb34e9649acf7e9224b48dea72866a965110fff25d49f0 [2021-04-09T02:52:19.804Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-09T02:52:19.804Z] Dload Upload Total Spent Left Speed [2021-04-09T02:52:20.067Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13491 0 0 100 13491 0 33947 --:--:-- --:--:-- --:--:-- 33982 [2021-04-09T02:52:20.329Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b8374e34fffbde3c70e2bea7e0b3316df3a17caf [Pipeline] } [2021-04-09T02:52:20.340Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-04-09T02:52:23.207Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-09T02:52:23.515Z] ---> package-listing.sh [2021-04-09T02:52:23.515Z] ++ facter osfamily [2021-04-09T02:52:23.515Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-09T02:52:23.515Z] + OS_FAMILY=redhat [2021-04-09T02:52:23.515Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-04-09T02:52:23.515Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-09T02:52:23.515Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-09T02:52:23.515Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-09T02:52:23.515Z] + PACKAGES=/tmp/packages_start.txt [2021-04-09T02:52:23.515Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-04-09T02:52:23.515Z] + PACKAGES=/tmp/packages_end.txt [2021-04-09T02:52:23.515Z] + case "${OS_FAMILY}" in [2021-04-09T02:52:23.515Z] + rpm -qa [2021-04-09T02:52:23.515Z] + sort [2021-04-09T02:52:28.826Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-09T02:52:28.826Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-09T02:52:28.826Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-09T02:52:28.826Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-04-09T02:52:28.826Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-04-09T02:52:28.826Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo [2021-04-09T02:52:28.841Z] 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-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-09T02:52:29.138Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-09T02:52:29.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-09T02:52:29.452Z] [2021-04-09T02:52:29.452Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-09T02:52:29.812Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-09T02:52:29.812Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-09T02:52:29.812Z] df20fa9351a1: Pulling fs layer [2021-04-09T02:52:29.812Z] 36b3adc4ff6f: Pulling fs layer [2021-04-09T02:52:29.812Z] 8ad3a11d3b57: Pulling fs layer [2021-04-09T02:52:29.812Z] 46f8f816bc3b: Pulling fs layer [2021-04-09T02:52:29.812Z] 93b61091891f: Pulling fs layer [2021-04-09T02:52:29.812Z] 93b9cdb0e59b: Pulling fs layer [2021-04-09T02:52:29.812Z] 5e14af77c1be: Pulling fs layer [2021-04-09T02:52:29.812Z] 01666e4c0597: Pulling fs layer [2021-04-09T02:52:29.812Z] aa168da1d23b: Pulling fs layer [2021-04-09T02:52:29.812Z] 93b9cdb0e59b: Waiting [2021-04-09T02:52:29.812Z] 5e14af77c1be: Waiting [2021-04-09T02:52:29.812Z] 01666e4c0597: Waiting [2021-04-09T02:52:29.812Z] aa168da1d23b: Waiting [2021-04-09T02:52:29.812Z] 46f8f816bc3b: Waiting [2021-04-09T02:52:29.812Z] 93b61091891f: Waiting [2021-04-09T02:52:29.812Z] 36b3adc4ff6f: Download complete [2021-04-09T02:52:29.812Z] 46f8f816bc3b: Download complete [2021-04-09T02:52:29.812Z] df20fa9351a1: Verifying Checksum [2021-04-09T02:52:29.812Z] df20fa9351a1: Download complete [2021-04-09T02:52:30.084Z] 93b9cdb0e59b: Verifying Checksum [2021-04-09T02:52:30.084Z] 93b9cdb0e59b: Download complete [2021-04-09T02:52:30.084Z] 5e14af77c1be: Verifying Checksum [2021-04-09T02:52:30.084Z] 5e14af77c1be: Download complete [2021-04-09T02:52:30.084Z] 01666e4c0597: Verifying Checksum [2021-04-09T02:52:30.084Z] 01666e4c0597: Download complete [2021-04-09T02:52:30.084Z] 93b61091891f: Verifying Checksum [2021-04-09T02:52:30.084Z] 93b61091891f: Download complete [2021-04-09T02:52:30.347Z] df20fa9351a1: Pull complete [2021-04-09T02:52:30.610Z] 36b3adc4ff6f: Pull complete [2021-04-09T02:52:30.873Z] 8ad3a11d3b57: Verifying Checksum [2021-04-09T02:52:30.873Z] 8ad3a11d3b57: Download complete [2021-04-09T02:52:31.823Z] 8ad3a11d3b57: Pull complete [2021-04-09T02:52:31.823Z] 46f8f816bc3b: Pull complete [2021-04-09T02:52:32.784Z] aa168da1d23b: Verifying Checksum [2021-04-09T02:52:32.784Z] aa168da1d23b: Download complete [2021-04-09T02:52:33.359Z] 93b61091891f: Pull complete [2021-04-09T02:52:33.359Z] 93b9cdb0e59b: Pull complete [2021-04-09T02:52:33.623Z] 5e14af77c1be: Pull complete [2021-04-09T02:52:33.623Z] 01666e4c0597: Pull complete [2021-04-09T02:52:40.277Z] aa168da1d23b: Pull complete [2021-04-09T02:52:40.277Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-09T02:52:40.277Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-09T02:52:40.277Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-09T02:52:40.435Z] prd-centos7-docker-4c-2g-33384 does not seem to be running inside a container [2021-04-09T02:52:40.483Z] $ 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-725/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-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-09T02:52:44.226Z] $ docker top 18e08e1bbf97672ce582a77104191a214abb2dbb86bffc4051373541c8edfaf1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-09T02:52:44.937Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-09T02:52:45.240Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-09T02:52:45.540Z] + ls /var/log/sa-host [2021-04-09T02:52:45.541Z] + sadf -c /var/log/sa-host/sa09 [2021-04-09T02:52:45.541Z] file_magic: OK [2021-04-09T02:52:45.541Z] HZ: Using current value: 100 [2021-04-09T02:52:45.541Z] file_header: OK [2021-04-09T02:52:45.541Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-09T02:52:45.541Z] Statistics: [2021-04-09T02:52:45.541Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-09T02:52:45.541Z] File successfully converted to sysstat format version 12.2.1 [2021-04-09T02:52:45.541Z] + sadf -c /var/log/sa-host/sa23 [2021-04-09T02:52:45.541Z] file_magic: OK [2021-04-09T02:52:45.541Z] HZ: Using current value: 100 [2021-04-09T02:52:45.541Z] file_header: OK [2021-04-09T02:52:45.541Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-09T02:52:45.541Z] Statistics: [2021-04-09T02:52:45.541Z] Hnuu...uuuununununu... [2021-04-09T02:52:45.541Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-09T02:52:46.158Z] provisioning config files... [2021-04-09T02:52:46.177Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config2394402464388157549tmp [Pipeline] { [Pipeline] echo [2021-04-09T02:52:46.300Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-09T02:52:46.599Z] ---> create-netrc.sh [Pipeline] } [2021-04-09T02:52:46.608Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-09T02:52:46.711Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-09T02:52:47.009Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-09T02:52:47.020Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-09T02:52:47.317Z] ---> sudo-logs.sh [2021-04-09T02:52:47.317Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-09T02:52:47.387Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-09T02:52:47.683Z] ---> job-cost.sh [2021-04-09T02:52:47.683Z] lf-activate-venv: SKIPPING [2021-04-09T02:52:47.683Z] DEBUG: total: 0.029999999329447746 [2021-04-09T02:52:47.683Z] INFO: Retrieving Stack Cost... [2021-04-09T02:52:48.629Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-09T02:52:49.204Z] INFO: Archiving Costs [Pipeline] echo [2021-04-09T02:52:49.218Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-09T02:52:49.516Z] ---> logs-deploy.sh [2021-04-09T02:52:49.516Z] lf-activate-venv: SKIPPING [2021-04-09T02:52:49.516Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/32 [2021-04-09T02:52:49.516Z] INFO: archiving workspace using pattern(s): [2021-04-09T02:52:51.436Z] Archives upload complete. [2021-04-09T02:52:51.436Z] INFO: archiving logs to Nexus