Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e555dc85065c0650513b3310201ad5d9e8038a3a+5b084bdeafa1e122a5c890164a05a3ac30530fc3 (d99e5fdb53b085f3827fa341e3cf232c08c288f6) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-30688 in /w/workspace/dgexfoundry_device-sdk-go_PR-826 [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-826 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/826/head:refs/remotes/origin/PR-826 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 5b084bdeafa1e122a5c890164a05a3ac30530fc3 into PR head commit e555dc85065c0650513b3310201ad5d9e8038a3a Merge succeeded, producing d7c1f2b043e3154ba67cd19db3211895e8f11a63 Checking out Revision d7c1f2b043e3154ba67cd19db3211895e8f11a63 (PR-826) > git config core.sparsecheckout # timeout=10 > git checkout -f e555dc85065c0650513b3310201ad5d9e8038a3a # 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 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d7c1f2b043e3154ba67cd19db3211895e8f11a63 # timeout=10 Commit message: "Merge commit '5b084bdeafa1e122a5c890164a05a3ac30530fc3' into HEAD" > git rev-list --no-walk e555dc85065c0650513b3310201ad5d9e8038a3a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-20T02:41:36.151Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-20T02:41:36.461Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-20T02:41:36.559Z] ========================================================= [2021-03-20T02:41:36.559Z] EdgeX Global Pipelines Version Info [2021-03-20T02:41:36.559Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:41:38.121Z] ------------------- [2021-03-20T02:41:38.121Z] stable info: [2021-03-20T02:41:38.122Z] ------------------- [2021-03-20T02:41:38.122Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-20T02:41:38.122Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-20T02:41:38.122Z] Message: update stable to v1.0.186 [2021-03-20T02:41:39.072Z] ------------------- [2021-03-20T02:41:39.072Z] experimental info: [2021-03-20T02:41:39.072Z] ------------------- [2021-03-20T02:41:39.072Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-20T02:41:39.072Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-20T02:41:39.072Z] Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-20T02:41:39.465Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-20T02:41:39.578Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-20T02:41:39.670Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-20T02:41:39.763Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-20T02:41:39.850Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-20T02:41:39.938Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-20T02:41:40.169Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-20T02:41:40.259Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-20T02:41:40.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-20T02:41:40.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-20T02:41:40.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-20T02:41:40.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-20T02:41:40.863Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-20T02:41:40.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-20T02:41:41.044Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-20T02:41:41.140Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-20T02:41:41.231Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-20T02:41:41.323Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-20T02:41:41.414Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-20T02:41:41.505Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-20T02:41:41.606Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-20T02:41:41.758Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-20T02:41:41.852Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-20T02:41:41.957Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-20T02:41:42.042Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-20T02:41:42.132Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-20T02:41:42.217Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-826 [Pipeline] echo [2021-03-20T02:41:42.301Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-826 [Pipeline] echo [2021-03-20T02:41:42.386Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-826 [Pipeline] echo [2021-03-20T02:41:42.481Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d7c1f2b043e3154ba67cd19db3211895e8f11a63 [Pipeline] echo [2021-03-20T02:41:42.565Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d7c1f2b [Pipeline] echo [2021-03-20T02:41:42.655Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-20T02:41:42.839Z] provisioning config files... [2021-03-20T02:41:42.867Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-826@tmp/config3543809907307527371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:41:43.227Z] ---> docker-login.sh [2021-03-20T02:41:43.227Z] nexus3.edgexfoundry.org:10001 [2021-03-20T02:41:43.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:41:43.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:41:43.491Z] Configure a credential helper to remove this warning. See [2021-03-20T02:41:43.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:41:43.491Z] [2021-03-20T02:41:43.491Z] Login Succeeded [2021-03-20T02:41:43.491Z] nexus3.edgexfoundry.org:10002 [2021-03-20T02:41:43.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:41:43.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:41:43.752Z] Configure a credential helper to remove this warning. See [2021-03-20T02:41:43.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:41:43.752Z] [2021-03-20T02:41:43.752Z] Login Succeeded [2021-03-20T02:41:43.752Z] nexus3.edgexfoundry.org:10003 [2021-03-20T02:41:43.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:41:44.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:41:44.014Z] Configure a credential helper to remove this warning. See [2021-03-20T02:41:44.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:41:44.014Z] [2021-03-20T02:41:44.014Z] Login Succeeded [2021-03-20T02:41:44.014Z] nexus3.edgexfoundry.org:10004 [2021-03-20T02:41:44.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:41:44.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:41:44.014Z] Configure a credential helper to remove this warning. See [2021-03-20T02:41:44.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:41:44.014Z] [2021-03-20T02:41:44.014Z] Login Succeeded [2021-03-20T02:41:44.014Z] docker.io [2021-03-20T02:41:44.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:41:44.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:41:44.538Z] Configure a credential helper to remove this warning. See [2021-03-20T02:41:44.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:41:44.538Z] [2021-03-20T02:41:44.538Z] Login Succeeded [2021-03-20T02:41:44.538Z] ---> docker-login.sh ends [Pipeline] } [2021-03-20T02:41:44.547Z] 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-03-20T02:41:45.330Z] + git log --format=format:%s -1 d7c1f2b043e3154ba67cd19db3211895e8f11a63 [Pipeline] echo [2021-03-20T02:41:45.394Z] GIT_COMMIT: d7c1f2b043e3154ba67cd19db3211895e8f11a63, Commit Message: Merge commit '5b084bdeafa1e122a5c890164a05a3ac30530fc3' into HEAD [Pipeline] echo [2021-03-20T02:41:45.451Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:41:46.489Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-20T02:41:46.489Z] [2021-03-20T02:41:46.489Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:41:46.833Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-20T02:41:46.833Z] latest: Pulling from edgex-devops/git-semver [2021-03-20T02:41:46.833Z] 31603596830f: Pulling fs layer [2021-03-20T02:41:46.833Z] 2a8b12db71e7: Pulling fs layer [2021-03-20T02:41:46.833Z] 6ca5941a6612: Pulling fs layer [2021-03-20T02:41:46.833Z] ecc8261a40a4: Pulling fs layer [2021-03-20T02:41:46.833Z] ecc8261a40a4: Waiting [2021-03-20T02:41:46.833Z] 2a8b12db71e7: Verifying Checksum [2021-03-20T02:41:46.833Z] 2a8b12db71e7: Download complete [2021-03-20T02:41:47.095Z] 31603596830f: Verifying Checksum [2021-03-20T02:41:47.095Z] 31603596830f: Download complete [2021-03-20T02:41:47.095Z] 6ca5941a6612: Verifying Checksum [2021-03-20T02:41:47.095Z] 6ca5941a6612: Download complete [2021-03-20T02:41:47.362Z] ecc8261a40a4: Verifying Checksum [2021-03-20T02:41:47.362Z] ecc8261a40a4: Download complete [2021-03-20T02:41:47.362Z] 31603596830f: Pull complete [2021-03-20T02:41:47.362Z] 2a8b12db71e7: Pull complete [2021-03-20T02:41:48.314Z] 6ca5941a6612: Pull complete [2021-03-20T02:41:48.314Z] ecc8261a40a4: Pull complete [2021-03-20T02:41:48.576Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-20T02:41:48.576Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-20T02:41:48.576Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-20T02:41:48.678Z] prd-centos7-docker-4c-2g-30688 does not seem to be running inside a container [2021-03-20T02:41:48.722Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-826 -v /w/workspace/dgexfoundry_device-sdk-go_PR-826:/w/workspace/dgexfoundry_device-sdk-go_PR-826:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-826@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-826@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-20T02:41:51.010Z] $ docker top 9eddb758153bf0d46b02973e227b5426457fd815de301c013f962f5069aa4eb5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-20T02:41:51.308Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-20T02:41:51.308Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-20T02:41:51.510Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-20T02:41:51.514Z] $ docker exec 9eddb758153bf0d46b02973e227b5426457fd815de301c013f962f5069aa4eb5 ssh-agent [2021-03-20T02:41:51.682Z] SSH_AUTH_SOCK=/tmp/ssh-Tx293wmOXdG3/agent.12 [2021-03-20T02:41:51.682Z] SSH_AGENT_PID=17 [2021-03-20T02:41:51.690Z] Running ssh-add (command line suppressed) [2021-03-20T02:41:51.812Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-826@tmp/private_key_8135805817672485360.key (/w/workspace/dgexfoundry_device-sdk-go_PR-826@tmp/private_key_8135805817672485360.key) [2021-03-20T02:41:51.863Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-20T02:41:52.195Z] + git tag --points-at HEAD [Pipeline] } [2021-03-20T02:41:52.215Z] $ docker exec --env ******** --env ******** 9eddb758153bf0d46b02973e227b5426457fd815de301c013f962f5069aa4eb5 ssh-agent -k [2021-03-20T02:41:52.326Z] unset SSH_AUTH_SOCK; [2021-03-20T02:41:52.327Z] unset SSH_AGENT_PID; [2021-03-20T02:41:52.327Z] echo Agent pid 17 killed; [2021-03-20T02:41:52.371Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-20T02:41:52.504Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-20T02:41:52.504Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-20T02:41:52.674Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-20T02:41:52.678Z] $ docker exec 9eddb758153bf0d46b02973e227b5426457fd815de301c013f962f5069aa4eb5 ssh-agent [2021-03-20T02:41:52.836Z] SSH_AUTH_SOCK=/tmp/ssh-ZdxRA0RpXSWO/agent.47 [2021-03-20T02:41:52.836Z] SSH_AGENT_PID=52 [2021-03-20T02:41:52.842Z] Running ssh-add (command line suppressed) [2021-03-20T02:41:52.961Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-826@tmp/private_key_5213346005804642685.key (/w/workspace/dgexfoundry_device-sdk-go_PR-826@tmp/private_key_5213346005804642685.key) [2021-03-20T02:41:53.010Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-20T02:41:53.347Z] + git semver init [2021-03-20T02:41:53.347Z] # -> Open(): unable to determine branch for HEAD [2021-03-20T02:41:53.347Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-826/.git [2021-03-20T02:41:53.347Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-826 [2021-03-20T02:41:53.347Z] # $SEMVER_REMOTE_NAME = origin [2021-03-20T02:41:53.347Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-20T02:41:53.347Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-20T02:41:53.347Z] # $SEMVER_BRANCH = PR-826 [2021-03-20T02:41:53.347Z] # $SEMVER_TEMP = /tmp/semver-034461626 [2021-03-20T02:41:53.347Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-20T02:41:54.298Z] # '/tmp/semver-034461626' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-826/.semver' [2021-03-20T02:41:54.298Z] # -> Force: false [2021-03-20T02:41:54.298Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-826/.semver [Pipeline] } [2021-03-20T02:41:54.310Z] $ docker exec --env ******** --env ******** 9eddb758153bf0d46b02973e227b5426457fd815de301c013f962f5069aa4eb5 ssh-agent -k [2021-03-20T02:41:54.430Z] unset SSH_AUTH_SOCK; [2021-03-20T02:41:54.430Z] unset SSH_AGENT_PID; [2021-03-20T02:41:54.430Z] echo Agent pid 52 killed; [2021-03-20T02:41:54.483Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-20T02:41:54.947Z] + git semver [Pipeline] } [2021-03-20T02:41:54.964Z] $ docker stop --time=1 9eddb758153bf0d46b02973e227b5426457fd815de301c013f962f5069aa4eb5 [2021-03-20T02:41:56.388Z] $ docker rm -f 9eddb758153bf0d46b02973e227b5426457fd815de301c013f962f5069aa4eb5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-20T02:41:56.850Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-20T02:41:57.214Z] Stashed 1 file(s) [Pipeline] echo [2021-03-20T02:41:57.218Z] [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-03-20T02:42:12.700Z] Still waiting to schedule task [2021-03-20T02:42:12.700Z] ‘prd-centos7-docker-4c-2g-30683’ is offline; ‘prd-centos7-docker-4c-2g-30687’ is offline; ‘prd-centos7-docker-4c-2g-30689’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27930’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30485’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30654’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30686’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-03-20T02:42:12.703Z] Still waiting to schedule task [2021-03-20T02:42:12.703Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-20T02:43:28.125Z] Running on prd-centos7-docker-4c-2g-30692 in /w/workspace/dgexfoundry_device-sdk-go_PR-826 [Pipeline] { [Pipeline] ws [2021-03-20T02:43:28.191Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-20T02:43:31.159Z] using credential edgex-jenkins-ssh [2021-03-20T02:43:31.208Z] Cloning the remote Git repository [2021-03-20T02:43:31.237Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-20T02:43:31.305Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-20T02:43:31.364Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-20T02:43:31.364Z] > git --version # timeout=10 [2021-03-20T02:43:31.370Z] > git --version # 'git version 2.24.3' [2021-03-20T02:43:31.370Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-20T02:43:31.413Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-20T02:43:32.723Z] Merging remotes/origin/master commit 5b084bdeafa1e122a5c890164a05a3ac30530fc3 into PR head commit e555dc85065c0650513b3310201ad5d9e8038a3a [2021-03-20T02:43:32.843Z] Merge succeeded, producing 1699c4371a0dea9a969c1e68e4c5976526f03d93 [2021-03-20T02:43:32.844Z] Checking out Revision 1699c4371a0dea9a969c1e68e4c5976526f03d93 (PR-826) [2021-03-20T02:43:32.240Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-20T02:43:32.252Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-20T02:43:32.278Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-20T02:43:32.293Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-20T02:43:32.294Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-20T02:43:32.307Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/826/head:refs/remotes/origin/PR-826 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-20T02:43:32.733Z] > git config core.sparsecheckout # timeout=10 [2021-03-20T02:43:32.738Z] > git checkout -f e555dc85065c0650513b3310201ad5d9e8038a3a # timeout=10 [2021-03-20T02:43:32.790Z] > git remote # timeout=10 [2021-03-20T02:43:32.800Z] > git config --get remote.origin.url # timeout=10 [2021-03-20T02:43:32.806Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-20T02:43:32.809Z] > git merge 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 [2021-03-20T02:43:32.838Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-20T02:43:32.849Z] > git config core.sparsecheckout # timeout=10 [2021-03-20T02:43:32.854Z] > git checkout -f 1699c4371a0dea9a969c1e68e4c5976526f03d93 # timeout=10 [2021-03-20T02:43:36.495Z] Commit message: "Merge commit '5b084bdeafa1e122a5c890164a05a3ac30530fc3' into HEAD" [2021-03-20T02:43:36.502Z] > git rev-list --no-walk e555dc85065c0650513b3310201ad5d9e8038a3a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-20T02:43:37.581Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-20T02:43:37.913Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-20T02:43:38.217Z] + sudo service docker restart [2021-03-20T02:43:38.217Z] + true [2021-03-20T02:43:38.217Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-20T02:43:39.228Z] provisioning config files... [2021-03-20T02:43:39.257Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config131282344256021035tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:43:39.613Z] ---> docker-login.sh [2021-03-20T02:43:39.613Z] nexus3.edgexfoundry.org:10001 [2021-03-20T02:43:39.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:43:40.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:43:40.145Z] Configure a credential helper to remove this warning. See [2021-03-20T02:43:40.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:43:40.145Z] [2021-03-20T02:43:40.145Z] Login Succeeded [2021-03-20T02:43:40.145Z] nexus3.edgexfoundry.org:10002 [2021-03-20T02:43:40.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:43:40.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:43:40.412Z] Configure a credential helper to remove this warning. See [2021-03-20T02:43:40.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:43:40.412Z] [2021-03-20T02:43:40.412Z] Login Succeeded [2021-03-20T02:43:40.412Z] nexus3.edgexfoundry.org:10003 [2021-03-20T02:43:40.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:43:40.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:43:40.412Z] Configure a credential helper to remove this warning. See [2021-03-20T02:43:40.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:43:40.412Z] [2021-03-20T02:43:40.412Z] Login Succeeded [2021-03-20T02:43:40.677Z] nexus3.edgexfoundry.org:10004 [2021-03-20T02:43:40.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:43:40.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:43:40.677Z] Configure a credential helper to remove this warning. See [2021-03-20T02:43:40.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:43:40.677Z] [2021-03-20T02:43:40.677Z] Login Succeeded [2021-03-20T02:43:40.677Z] docker.io [2021-03-20T02:43:40.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:43:41.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:43:41.206Z] Configure a credential helper to remove this warning. See [2021-03-20T02:43:41.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:43:41.206Z] [2021-03-20T02:43:41.206Z] Login Succeeded [2021-03-20T02:43:41.206Z] ---> docker-login.sh ends [Pipeline] } [2021-03-20T02:43:41.218Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-20T02:43:41.744Z] ========================================================= [2021-03-20T02:43:41.744Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-20T02:43:41.744Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:43:42.094Z] + 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-03-20T02:43:42.357Z] Sending build context to Docker daemon 2.288MB [2021-03-20T02:43:42.357Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-20T02:43:42.357Z] Step 2/8 : FROM ${BASE} [2021-03-20T02:43:42.357Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-20T02:43:42.357Z] 188c0c94c7c5: Pulling fs layer [2021-03-20T02:43:42.357Z] 0ef7d3d256c8: Pulling fs layer [2021-03-20T02:43:42.357Z] de9db76c5a1d: Pulling fs layer [2021-03-20T02:43:42.357Z] bca2f99d35d6: Pulling fs layer [2021-03-20T02:43:42.357Z] 93359f2a8cfa: Pulling fs layer [2021-03-20T02:43:42.357Z] 7c6f9722023f: Pulling fs layer [2021-03-20T02:43:42.357Z] a35cf1a2eb13: Pulling fs layer [2021-03-20T02:43:42.357Z] 7c6f9722023f: Waiting [2021-03-20T02:43:42.357Z] a35cf1a2eb13: Waiting [2021-03-20T02:43:42.357Z] bca2f99d35d6: Waiting [2021-03-20T02:43:42.357Z] de9db76c5a1d: Verifying Checksum [2021-03-20T02:43:42.357Z] de9db76c5a1d: Download complete [2021-03-20T02:43:42.357Z] 0ef7d3d256c8: Verifying Checksum [2021-03-20T02:43:42.357Z] 0ef7d3d256c8: Download complete [2021-03-20T02:43:42.357Z] 93359f2a8cfa: Verifying Checksum [2021-03-20T02:43:42.357Z] 93359f2a8cfa: Download complete [2021-03-20T02:43:42.357Z] 7c6f9722023f: Verifying Checksum [2021-03-20T02:43:42.357Z] 7c6f9722023f: Download complete [2021-03-20T02:43:42.357Z] 188c0c94c7c5: Verifying Checksum [2021-03-20T02:43:42.357Z] 188c0c94c7c5: Download complete [2021-03-20T02:43:42.628Z] 188c0c94c7c5: Pull complete [2021-03-20T02:43:42.900Z] 0ef7d3d256c8: Pull complete [2021-03-20T02:43:42.900Z] de9db76c5a1d: Pull complete [2021-03-20T02:43:44.839Z] a35cf1a2eb13: Verifying Checksum [2021-03-20T02:43:44.839Z] a35cf1a2eb13: Download complete [2021-03-20T02:43:45.429Z] bca2f99d35d6: Verifying Checksum [2021-03-20T02:43:45.429Z] bca2f99d35d6: Download complete [2021-03-20T02:43:52.095Z] bca2f99d35d6: Pull complete [2021-03-20T02:43:52.096Z] 93359f2a8cfa: Pull complete [2021-03-20T02:43:52.096Z] 7c6f9722023f: Pull complete [2021-03-20T02:43:56.363Z] a35cf1a2eb13: Pull complete [2021-03-20T02:43:56.363Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-20T02:43:56.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-20T02:43:56.363Z] ---> a62c8e92a672 [2021-03-20T02:43:56.363Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-20T02:43:56.363Z] ---> Running in c9c201b1aa7b [2021-03-20T02:43:56.363Z] Removing intermediate container c9c201b1aa7b [2021-03-20T02:43:56.363Z] ---> e79955d1c7cf [2021-03-20T02:43:56.363Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-20T02:43:56.363Z] ---> Running in b772a88d5b2b [2021-03-20T02:43:57.788Z] Removing intermediate container b772a88d5b2b [2021-03-20T02:43:57.788Z] ---> 1950bf8a1039 [2021-03-20T02:43:57.788Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-20T02:43:57.788Z] ---> Running in 3ad2272394e4 [2021-03-20T02:43:58.359Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30691 in /w/workspace/dgexfoundry_device-sdk-go_PR-826 [Pipeline] { [Pipeline] ws [2021-03-20T02:43:58.429Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-20T02:43:58.772Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-20T02:43:59.725Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-20T02:43:59.989Z] OK: 166 MiB in 39 packages [2021-03-20T02:44:00.570Z] Removing intermediate container 3ad2272394e4 [2021-03-20T02:44:00.570Z] ---> 22b2d78b08df [2021-03-20T02:44:00.570Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-20T02:44:00.570Z] ---> Running in 4960a551cab4 [2021-03-20T02:44:00.835Z] Removing intermediate container 4960a551cab4 [2021-03-20T02:44:00.835Z] ---> 1c18fc7dcb6c [2021-03-20T02:44:00.835Z] Step 7/8 : COPY . . [2021-03-20T02:44:01.781Z] ---> 38a05c7013d0 [2021-03-20T02:44:01.781Z] Step 8/8 : RUN go mod download [2021-03-20T02:44:02.045Z] ---> Running in 26faad64d89c [2021-03-20T02:44:04.062Z] using credential edgex-jenkins-ssh [2021-03-20T02:44:04.120Z] Cloning the remote Git repository [2021-03-20T02:44:04.176Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-20T02:44:04.292Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-20T02:44:04.369Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-20T02:44:04.370Z] > git --version # timeout=10 [2021-03-20T02:44:04.386Z] > git --version # 'git version 2.17.1' [2021-03-20T02:44:04.388Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-20T02:44:04.456Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-20T02:44:06.722Z] Merging remotes/origin/master commit 5b084bdeafa1e122a5c890164a05a3ac30530fc3 into PR head commit e555dc85065c0650513b3310201ad5d9e8038a3a [2021-03-20T02:44:07.003Z] Merge succeeded, producing 22eb934646afb5d3b690b81ba789bb5e368d4aad [2021-03-20T02:44:07.003Z] Checking out Revision 22eb934646afb5d3b690b81ba789bb5e368d4aad (PR-826) [2021-03-20T02:44:06.023Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-20T02:44:06.041Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-20T02:44:06.074Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-20T02:44:06.155Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-20T02:44:06.156Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-20T02:44:06.168Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/826/head:refs/remotes/origin/PR-826 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-20T02:44:06.747Z] > git config core.sparsecheckout # timeout=10 [2021-03-20T02:44:06.768Z] > git checkout -f e555dc85065c0650513b3310201ad5d9e8038a3a # timeout=10 [2021-03-20T02:44:06.873Z] > git remote # timeout=10 [2021-03-20T02:44:06.890Z] > git config --get remote.origin.url # timeout=10 [2021-03-20T02:44:06.905Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-20T02:44:06.916Z] > git merge 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 [2021-03-20T02:44:06.990Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-20T02:44:07.013Z] > git config core.sparsecheckout # timeout=10 [2021-03-20T02:44:07.024Z] > git checkout -f 22eb934646afb5d3b690b81ba789bb5e368d4aad # timeout=10 [2021-03-20T02:44:11.305Z] Commit message: "Merge commit '5b084bdeafa1e122a5c890164a05a3ac30530fc3' into HEAD" [2021-03-20T02:44:11.315Z] > git rev-list --no-walk e555dc85065c0650513b3310201ad5d9e8038a3a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-20T02:44:12.885Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-20T02:44:13.286Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-20T02:44:13.635Z] + sudo service docker restart [2021-03-20T02:44:13.635Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-20T02:44:16.342Z] provisioning config files... [2021-03-20T02:44:16.379Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7921532547216814426tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:44:16.797Z] ---> docker-login.sh [2021-03-20T02:44:16.797Z] nexus3.edgexfoundry.org:10001 [2021-03-20T02:44:17.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:44:17.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:44:17.997Z] Configure a credential helper to remove this warning. See [2021-03-20T02:44:17.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:44:17.997Z] [2021-03-20T02:44:17.997Z] Login Succeeded [2021-03-20T02:44:17.997Z] nexus3.edgexfoundry.org:10002 [2021-03-20T02:44:18.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:44:18.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:44:18.550Z] Configure a credential helper to remove this warning. See [2021-03-20T02:44:18.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:44:18.550Z] [2021-03-20T02:44:18.550Z] Login Succeeded [2021-03-20T02:44:18.550Z] nexus3.edgexfoundry.org:10003 [2021-03-20T02:44:18.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:44:19.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:44:19.098Z] Configure a credential helper to remove this warning. See [2021-03-20T02:44:19.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:44:19.098Z] [2021-03-20T02:44:19.098Z] Login Succeeded [2021-03-20T02:44:19.098Z] nexus3.edgexfoundry.org:10004 [2021-03-20T02:44:19.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:44:19.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:44:19.643Z] Configure a credential helper to remove this warning. See [2021-03-20T02:44:19.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:44:19.643Z] [2021-03-20T02:44:19.643Z] Login Succeeded [2021-03-20T02:44:19.643Z] docker.io [2021-03-20T02:44:19.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:44:20.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:44:20.512Z] Configure a credential helper to remove this warning. See [2021-03-20T02:44:20.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:44:20.512Z] [2021-03-20T02:44:20.512Z] Login Succeeded [2021-03-20T02:44:20.512Z] ---> docker-login.sh ends [Pipeline] } [2021-03-20T02:44:20.528Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-20T02:44:20.966Z] ========================================================= [2021-03-20T02:44:20.967Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-20T02:44:20.967Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:44:21.352Z] + 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-03-20T02:44:21.964Z] Sending build context to Docker daemon 2.287MB [2021-03-20T02:44:21.964Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-20T02:44:21.964Z] Step 2/8 : FROM ${BASE} [2021-03-20T02:44:21.964Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-20T02:44:21.964Z] 5f621e34cdf4: Pulling fs layer [2021-03-20T02:44:21.964Z] a4357932f1b6: Pulling fs layer [2021-03-20T02:44:21.964Z] 18c013af1878: Pulling fs layer [2021-03-20T02:44:21.964Z] 00ac8860ef70: Pulling fs layer [2021-03-20T02:44:21.964Z] 63d7cb157983: Pulling fs layer [2021-03-20T02:44:21.964Z] b116817d02f9: Pulling fs layer [2021-03-20T02:44:21.964Z] 745a02a5169b: Pulling fs layer [2021-03-20T02:44:21.964Z] 00ac8860ef70: Waiting [2021-03-20T02:44:21.964Z] 63d7cb157983: Waiting [2021-03-20T02:44:21.964Z] b116817d02f9: Waiting [2021-03-20T02:44:21.964Z] 745a02a5169b: Waiting [2021-03-20T02:44:21.964Z] 18c013af1878: Verifying Checksum [2021-03-20T02:44:21.964Z] 18c013af1878: Download complete [2021-03-20T02:44:21.964Z] a4357932f1b6: Verifying Checksum [2021-03-20T02:44:21.964Z] a4357932f1b6: Download complete [2021-03-20T02:44:21.965Z] 63d7cb157983: Verifying Checksum [2021-03-20T02:44:21.965Z] 63d7cb157983: Download complete [2021-03-20T02:44:21.965Z] b116817d02f9: Verifying Checksum [2021-03-20T02:44:21.965Z] b116817d02f9: Download complete [2021-03-20T02:44:21.965Z] 5f621e34cdf4: Verifying Checksum [2021-03-20T02:44:21.965Z] 5f621e34cdf4: Download complete [2021-03-20T02:44:22.571Z] 5f621e34cdf4: Pull complete [2021-03-20T02:44:23.184Z] a4357932f1b6: Pull complete [2021-03-20T02:44:23.785Z] 18c013af1878: Pull complete [2021-03-20T02:44:24.060Z] 745a02a5169b: Verifying Checksum [2021-03-20T02:44:24.060Z] 745a02a5169b: Download complete [2021-03-20T02:44:24.135Z] Removing intermediate container 26faad64d89c [2021-03-20T02:44:24.135Z] ---> 814c9fa1859e [2021-03-20T02:44:24.135Z] Successfully built 814c9fa1859e [2021-03-20T02:44:24.135Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:44:24.455Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-20T02:44:24.456Z] . [Pipeline] withDockerContainer [2021-03-20T02:44:24.573Z] prd-centos7-docker-4c-2g-30692 does not seem to be running inside a container [2021-03-20T02:44:24.638Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-20T02:44:25.432Z] $ docker top 79de9e6db2ad309683a72fc286588739255689dbd6232ccca7a3d4f21f1bc1ba -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-20T02:44:25.982Z] + go version [2021-03-20T02:44:25.982Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-20T02:44:26.002Z] $ docker stop --time=1 79de9e6db2ad309683a72fc286588739255689dbd6232ccca7a3d4f21f1bc1ba [2021-03-20T02:44:27.432Z] $ docker rm -f 79de9e6db2ad309683a72fc286588739255689dbd6232ccca7a3d4f21f1bc1ba [2021-03-20T02:44:27.442Z] 00ac8860ef70: Verifying Checksum [2021-03-20T02:44:27.442Z] 00ac8860ef70: Download complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:44:28.222Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-20T02:44:28.223Z] . [Pipeline] withDockerContainer [2021-03-20T02:44:28.337Z] prd-centos7-docker-4c-2g-30692 does not seem to be running inside a container [2021-03-20T02:44:28.391Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-20T02:44:29.131Z] $ docker top 6d9fba76c0adf9300704232520e4b82d47a359b359279ad85009474aae22b47d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-20T02:44:29.611Z] + make test [2021-03-20T02:44:29.611Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-20T02:44:37.602Z] 00ac8860ef70: Pull complete [2021-03-20T02:44:37.602Z] 63d7cb157983: Pull complete [2021-03-20T02:44:37.837Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-20T02:44:38.201Z] b116817d02f9: Pull complete [2021-03-20T02:44:41.606Z] 745a02a5169b: Pull complete [2021-03-20T02:44:41.881Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-20T02:44:41.881Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-20T02:44:41.881Z] ---> b7e6874047d6 [2021-03-20T02:44:41.881Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-20T02:44:44.501Z] ---> Running in 7c979e67f66a [2021-03-20T02:44:45.097Z] Removing intermediate container 7c979e67f66a [2021-03-20T02:44:45.097Z] ---> f8728520f72b [2021-03-20T02:44:45.097Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-20T02:44:45.097Z] ---> Running in 699f19f8699b [2021-03-20T02:44:47.734Z] Removing intermediate container 699f19f8699b [2021-03-20T02:44:47.734Z] ---> 8890d091b622 [2021-03-20T02:44:47.734Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-20T02:44:47.734Z] ---> Running in 26732d60b203 [2021-03-20T02:44:48.719Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-20T02:44:49.308Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-20T02:44:49.908Z] OK: 142 MiB in 39 packages [2021-03-20T02:44:51.338Z] Removing intermediate container 26732d60b203 [2021-03-20T02:44:51.338Z] ---> 25493f04877e [2021-03-20T02:44:51.338Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-20T02:44:51.338Z] ---> Running in 0f8c7af53518 [2021-03-20T02:44:51.613Z] Removing intermediate container 0f8c7af53518 [2021-03-20T02:44:51.613Z] ---> 4441ca180ab0 [2021-03-20T02:44:51.613Z] Step 7/8 : COPY . . [2021-03-20T02:44:52.875Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-20T02:44:52.875Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-20T02:44:52.875Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-20T02:44:52.875Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-20T02:44:53.058Z] ---> 67477a802bb2 [2021-03-20T02:44:53.058Z] Step 8/8 : RUN go mod download [2021-03-20T02:44:53.058Z] ---> Running in 9c1dc7cbec88 [2021-03-20T02:44:55.446Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.066s coverage: 27.0% of statements [2021-03-20T02:44:56.410Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.062s coverage: 81.2% of statements [2021-03-20T02:45:19.852Z] Removing intermediate container 9c1dc7cbec88 [2021-03-20T02:45:19.852Z] ---> bcfb35e8fdc1 [2021-03-20T02:45:19.852Z] Successfully built bcfb35e8fdc1 [2021-03-20T02:45:19.852Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:45:20.204Z] + docker inspect -f . ci-base-image-arm64 [2021-03-20T02:45:20.204Z] . [Pipeline] withDockerContainer [2021-03-20T02:45:20.455Z] prd-ubuntu18.04-docker-arm64-4c-16g-30691 does not seem to be running inside a container [2021-03-20T02:45:20.543Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-20T02:45:22.105Z] $ docker top 276de3070bdf32d261e0eed346989aab8dc21789ca71f2aff48fca83ea456ac6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-20T02:45:23.070Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.070s coverage: 10.5% of statements [2021-03-20T02:45:23.070Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-20T02:45:23.070Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-20T02:45:23.070Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.084s coverage: 32.5% of statements [2021-03-20T02:45:23.070Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-20T02:45:23.070Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-20T02:45:23.070Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-20T02:45:23.070Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.097s coverage: 57.3% of statements [2021-03-20T02:45:23.070Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.290s coverage: 6.6% of statements [2021-03-20T02:45:23.070Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.1% of statements [2021-03-20T02:45:23.070Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-20T02:45:23.130Z] + go version [2021-03-20T02:45:23.130Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-20T02:45:23.155Z] $ docker stop --time=1 276de3070bdf32d261e0eed346989aab8dc21789ca71f2aff48fca83ea456ac6 [2021-03-20T02:45:23.335Z] GO111MODULE=on go vet ./... [2021-03-20T02:45:25.069Z] $ docker rm -f 276de3070bdf32d261e0eed346989aab8dc21789ca71f2aff48fca83ea456ac6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:45:26.145Z] + docker inspect -f . ci-base-image-arm64 [2021-03-20T02:45:26.145Z] . [Pipeline] withDockerContainer [2021-03-20T02:45:26.405Z] prd-ubuntu18.04-docker-arm64-4c-16g-30691 does not seem to be running inside a container [2021-03-20T02:45:26.489Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-20T02:45:28.034Z] $ docker top ddc79aab1222e9b86dd5a907af79a538f66ca8be8ee55a6fda9c8d123f4eb615 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-20T02:45:29.054Z] + make test [2021-03-20T02:45:29.054Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-20T02:45:38.511Z] gofmt -l . [2021-03-20T02:45:38.511Z] [ "`gofmt -l .`" = "" ] [2021-03-20T02:45:38.511Z] ./bin/test-attribution-txt.sh [2021-03-20T02:45:38.511Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-20T02:45:38.531Z] $ docker stop --time=1 6d9fba76c0adf9300704232520e4b82d47a359b359279ad85009474aae22b47d [2021-03-20T02:45:40.612Z] $ docker rm -f 6d9fba76c0adf9300704232520e4b82d47a359b359279ad85009474aae22b47d [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-20T02:45:41.335Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-20T02:45:41.693Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-20T02:45:44.937Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-20T02:45:45.241Z] + ls -al . [2021-03-20T02:45:45.242Z] total 184 [2021-03-20T02:45:45.242Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 20 02:45 . [2021-03-20T02:45:45.242Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 20 02:43 .. [2021-03-20T02:45:45.242Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 20 02:43 bin [2021-03-20T02:45:45.242Z] -rw-r--r--. 1 jenkins jenkins 99588 Mar 20 02:45 coverage.out [2021-03-20T02:45:45.242Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 20 02:43 Dockerfile.build [2021-03-20T02:45:45.242Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 20 02:43 .dockerignore [2021-03-20T02:45:45.242Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 20 02:43 example [2021-03-20T02:45:45.242Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 20 02:43 .git [2021-03-20T02:45:45.242Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 20 02:43 .github [2021-03-20T02:45:45.242Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 20 02:43 .gitignore [2021-03-20T02:45:45.242Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 20 02:45 go.mod [2021-03-20T02:45:45.242Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 20 02:45 go.sum [2021-03-20T02:45:45.242Z] drwxrwxr-x. 13 jenkins jenkins 193 Mar 20 02:43 internal [2021-03-20T02:45:45.242Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 20 02:43 Jenkinsfile [2021-03-20T02:45:45.242Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 20 02:43 LICENSE [2021-03-20T02:45:45.242Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 20 02:43 Makefile [2021-03-20T02:45:45.242Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 20 02:43 openapi [2021-03-20T02:45:45.242Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 20 02:43 pkg [2021-03-20T02:45:45.242Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 20 02:43 README.md [2021-03-20T02:45:45.242Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 20 02:43 RELEASE-NOTES.txt [2021-03-20T02:45:45.242Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 20 02:43 snap [2021-03-20T02:45:45.242Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 20 02:41 VERSION [2021-03-20T02:45:45.242Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 20 02:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:45:45.548Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=d7c1f2b043e3154ba67cd19db3211895e8f11a63 --label arch=amd64 --label version=0.0.0 . [2021-03-20T02:45:45.826Z] Sending build context to Docker daemon 2.388MB [2021-03-20T02:45:45.826Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-20T02:45:45.826Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-20T02:45:45.826Z] ---> 814c9fa1859e [2021-03-20T02:45:45.826Z] Step 3/24 : ARG MAKE='make build' [2021-03-20T02:45:46.097Z] ---> Running in 002cf5cade9e [2021-03-20T02:45:46.360Z] Removing intermediate container 002cf5cade9e [2021-03-20T02:45:46.360Z] ---> 8e6dd4f6783e [2021-03-20T02:45:46.360Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-20T02:45:46.360Z] ---> Running in 7933d4a0bb78 [2021-03-20T02:45:46.623Z] Removing intermediate container 7933d4a0bb78 [2021-03-20T02:45:46.623Z] ---> 6e5c8582f6df [2021-03-20T02:45:46.623Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-20T02:45:46.623Z] ---> Running in 90775405f5df [2021-03-20T02:45:46.889Z] Removing intermediate container 90775405f5df [2021-03-20T02:45:46.889Z] ---> ab130a89b3c3 [2021-03-20T02:45:46.889Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-20T02:45:46.889Z] ---> Running in 2e7d52955220 [2021-03-20T02:45:47.839Z] Removing intermediate container 2e7d52955220 [2021-03-20T02:45:47.839Z] ---> 68d577f4d4f0 [2021-03-20T02:45:47.839Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-20T02:45:47.839Z] ---> Running in 1ed4f5b261bd [2021-03-20T02:45:48.415Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-20T02:45:50.333Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-20T02:45:51.242Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-20T02:45:52.888Z] OK: 166 MiB in 39 packages [2021-03-20T02:45:52.888Z] Removing intermediate container 1ed4f5b261bd [2021-03-20T02:45:52.888Z] ---> 1fa1646afa6b [2021-03-20T02:45:52.888Z] Step 8/24 : COPY . . [2021-03-20T02:45:53.835Z] ---> d89eeaf45bc4 [2021-03-20T02:45:53.835Z] Step 9/24 : RUN ${MAKE} [2021-03-20T02:45:54.098Z] ---> Running in 7c94c9a6101b [2021-03-20T02:45:54.372Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-20T02:46:03.631Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-20T02:46:06.200Z] Removing intermediate container 7c94c9a6101b [2021-03-20T02:46:06.200Z] ---> cb735b87d1ea [2021-03-20T02:46:06.200Z] Step 10/24 : FROM scratch [2021-03-20T02:46:06.200Z] ---> [2021-03-20T02:46:06.200Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-20T02:46:06.200Z] ---> Running in 98fd9eb67ed6 [2021-03-20T02:46:06.200Z] Removing intermediate container 98fd9eb67ed6 [2021-03-20T02:46:06.200Z] ---> a97d4f1900c3 [2021-03-20T02:46:06.200Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-20T02:46:06.200Z] ---> Running in f8f2b1d8b44e [2021-03-20T02:46:06.463Z] Removing intermediate container f8f2b1d8b44e [2021-03-20T02:46:06.463Z] ---> 097e74d93925 [2021-03-20T02:46:06.463Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-20T02:46:06.463Z] ---> Running in 7b510686cab2 [2021-03-20T02:46:06.725Z] Removing intermediate container 7b510686cab2 [2021-03-20T02:46:06.726Z] ---> 8b7016aeb342 [2021-03-20T02:46:06.726Z] Step 14/24 : WORKDIR / [2021-03-20T02:46:06.726Z] ---> Running in 215f5b93664d [2021-03-20T02:46:06.989Z] Removing intermediate container 215f5b93664d [2021-03-20T02:46:06.989Z] ---> 10268c0c369f [2021-03-20T02:46:06.989Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-20T02:46:07.256Z] ---> 63b07056aa17 [2021-03-20T02:46:07.256Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-20T02:46:07.518Z] ---> 05b6e939b21a [2021-03-20T02:46:07.519Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-20T02:46:07.783Z] ---> f3caedb78215 [2021-03-20T02:46:07.783Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-20T02:46:08.045Z] ---> e7c8b36ec976 [2021-03-20T02:46:08.045Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-20T02:46:08.307Z] ---> d8c64401e0b4 [2021-03-20T02:46:08.307Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-20T02:46:08.307Z] ---> Running in 1865b14c44a4 [2021-03-20T02:46:08.571Z] Removing intermediate container 1865b14c44a4 [2021-03-20T02:46:08.571Z] ---> 8c4176ab3cef [2021-03-20T02:46:08.571Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-20T02:46:08.571Z] ---> Running in fe7658cca992 [2021-03-20T02:46:08.836Z] Removing intermediate container fe7658cca992 [2021-03-20T02:46:08.836Z] ---> 672566791d1f [2021-03-20T02:46:08.836Z] Step 22/24 : LABEL arch=amd64 [2021-03-20T02:46:08.836Z] ---> Running in 9da32632370c [2021-03-20T02:46:09.098Z] Removing intermediate container 9da32632370c [2021-03-20T02:46:09.098Z] ---> 278463979905 [2021-03-20T02:46:09.098Z] Step 23/24 : LABEL git_sha=d7c1f2b043e3154ba67cd19db3211895e8f11a63 [2021-03-20T02:46:09.098Z] ---> Running in 5eec3eb7ce82 [2021-03-20T02:46:09.098Z] Removing intermediate container 5eec3eb7ce82 [2021-03-20T02:46:09.098Z] ---> 751035367086 [2021-03-20T02:46:09.098Z] Step 24/24 : LABEL version=0.0.0 [2021-03-20T02:46:09.363Z] ---> Running in 42001b341084 [2021-03-20T02:46:09.363Z] Removing intermediate container 42001b341084 [2021-03-20T02:46:09.363Z] ---> 63b65345c88c [2021-03-20T02:46:09.363Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-20T02:46:09.363Z] Successfully built 63b65345c88c [2021-03-20T02:46:09.363Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:46:10.459Z] ---> job-cost.sh [2021-03-20T02:46:10.459Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-MCHd [2021-03-20T02:46:28.674Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-20T02:46:30.284Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-20T02:46:30.284Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-20T02:46:30.284Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-20T02:46:30.284Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-20T02:46:34.612Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.119s coverage: 27.0% of statements [2021-03-20T02:46:35.240Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.208s coverage: 81.2% of statements [2021-03-20T02:46:55.303Z] lf-activate-venv(): INFO: Adding /tmp/venv-MCHd/bin to PATH [2021-03-20T02:46:55.303Z] INFO: No Stack... [2021-03-20T02:46:55.303Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-20T02:46:55.566Z] INFO: Archiving Costs [Pipeline] sh [2021-03-20T02:46:55.880Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-03-20T02:46:55.880Z] + cut -d, -f6 [Pipeline] lock [2021-03-20T02:46:55.959Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-826-2-stack-cost] [2021-03-20T02:46:55.968Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-826-2-stack-cost] did not exist. Created. [2021-03-20T02:46:55.968Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-826-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-20T02:46:56.371Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-20T02:46:56.533Z] Stashed 1 file(s) [Pipeline] } [2021-03-20T02:46:56.543Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-826-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-20T02:47:07.853Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.157s coverage: 10.5% of statements [2021-03-20T02:47:07.853Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-20T02:47:07.853Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-20T02:47:07.853Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.208s coverage: 32.5% of statements [2021-03-20T02:47:07.853Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-20T02:47:07.853Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-20T02:47:07.853Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-20T02:47:07.853Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.277s coverage: 57.3% of statements [2021-03-20T02:47:07.853Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.373s coverage: 6.6% of statements [2021-03-20T02:47:07.853Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 5.1% of statements [2021-03-20T02:47:07.853Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-20T02:47:07.853Z] GO111MODULE=on go vet ./... [2021-03-20T02:47:40.308Z] gofmt -l . [2021-03-20T02:47:40.308Z] [ "`gofmt -l .`" = "" ] [2021-03-20T02:47:40.308Z] ./bin/test-attribution-txt.sh [2021-03-20T02:47:40.308Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-20T02:47:40.337Z] $ docker stop --time=1 ddc79aab1222e9b86dd5a907af79a538f66ca8be8ee55a6fda9c8d123f4eb615 [2021-03-20T02:47:42.519Z] $ docker rm -f ddc79aab1222e9b86dd5a907af79a538f66ca8be8ee55a6fda9c8d123f4eb615 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-20T02:47:43.564Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-20T02:47:43.584Z] Warning: overwriting stash ‘coverage-report’ [2021-03-20T02:47:44.437Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-20T02:47:45.088Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-20T02:47:45.418Z] + ls -al . [2021-03-20T02:47:45.418Z] total 220 [2021-03-20T02:47:45.418Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 02:47 . [2021-03-20T02:47:45.418Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 02:44 .. [2021-03-20T02:47:45.418Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 20 02:44 .dockerignore [2021-03-20T02:47:45.418Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 02:44 .git [2021-03-20T02:47:45.418Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 02:44 .github [2021-03-20T02:47:45.418Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 20 02:44 .gitignore [2021-03-20T02:47:45.418Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 20 02:44 Dockerfile.build [2021-03-20T02:47:45.418Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 20 02:44 Jenkinsfile [2021-03-20T02:47:45.418Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 20 02:44 LICENSE [2021-03-20T02:47:45.418Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 20 02:44 Makefile [2021-03-20T02:47:45.418Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 20 02:44 README.md [2021-03-20T02:47:45.418Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 20 02:44 RELEASE-NOTES.txt [2021-03-20T02:47:45.418Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 02:41 VERSION [2021-03-20T02:47:45.418Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 02:44 bin [2021-03-20T02:47:45.418Z] -rw-r--r-- 1 jenkins jenkins 99587 Mar 20 02:47 coverage.out [2021-03-20T02:47:45.418Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 02:44 example [2021-03-20T02:47:45.418Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 20 02:47 go.mod [2021-03-20T02:47:45.418Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 20 02:47 go.sum [2021-03-20T02:47:45.418Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 20 02:44 internal [2021-03-20T02:47:45.418Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 02:44 openapi [2021-03-20T02:47:45.418Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 20 02:44 pkg [2021-03-20T02:47:45.418Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 02:44 snap [2021-03-20T02:47:45.418Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 20 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:47:45.759Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d7c1f2b043e3154ba67cd19db3211895e8f11a63 --label arch=arm64 --label version=0.0.0 . [2021-03-20T02:47:46.032Z] Sending build context to Docker daemon 2.387MB [2021-03-20T02:47:46.304Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-20T02:47:46.304Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-20T02:47:46.304Z] ---> bcfb35e8fdc1 [2021-03-20T02:47:46.304Z] Step 3/24 : ARG MAKE='make build' [2021-03-20T02:47:46.578Z] ---> Running in 0d4ae705d115 [2021-03-20T02:47:46.850Z] Removing intermediate container 0d4ae705d115 [2021-03-20T02:47:46.850Z] ---> c2dc31675bbf [2021-03-20T02:47:46.850Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-20T02:47:47.123Z] ---> Running in df844dcf9cb5 [2021-03-20T02:47:47.398Z] Removing intermediate container df844dcf9cb5 [2021-03-20T02:47:47.398Z] ---> bf83ff470979 [2021-03-20T02:47:47.398Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-20T02:47:47.671Z] ---> Running in af347b1caf96 [2021-03-20T02:47:47.943Z] Removing intermediate container af347b1caf96 [2021-03-20T02:47:47.943Z] ---> 9bed6e338a65 [2021-03-20T02:47:47.943Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-20T02:47:48.216Z] ---> Running in afc4be165197 [2021-03-20T02:47:50.188Z] Removing intermediate container afc4be165197 [2021-03-20T02:47:50.188Z] ---> 011981c13818 [2021-03-20T02:47:50.188Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-20T02:47:50.188Z] ---> Running in 80f3610e9c76 [2021-03-20T02:47:51.180Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-20T02:47:52.606Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-20T02:47:55.206Z] OK: 142 MiB in 39 packages [2021-03-20T02:47:56.183Z] Removing intermediate container 80f3610e9c76 [2021-03-20T02:47:56.183Z] ---> 858ff436c715 [2021-03-20T02:47:56.183Z] Step 8/24 : COPY . . [2021-03-20T02:47:57.616Z] ---> 503c230ef537 [2021-03-20T02:47:57.616Z] Step 9/24 : RUN ${MAKE} [2021-03-20T02:47:57.616Z] ---> Running in 65ef0b780fe0 [2021-03-20T02:47:58.593Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-20T02:48:25.415Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-20T02:48:26.015Z] Removing intermediate container 65ef0b780fe0 [2021-03-20T02:48:26.015Z] ---> a3113e9ea7f1 [2021-03-20T02:48:26.015Z] Step 10/24 : FROM scratch [2021-03-20T02:48:26.015Z] ---> [2021-03-20T02:48:26.015Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-20T02:48:26.288Z] ---> Running in fd4a794b2b13 [2021-03-20T02:48:26.559Z] Removing intermediate container fd4a794b2b13 [2021-03-20T02:48:26.559Z] ---> e0067d8751f1 [2021-03-20T02:48:26.559Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-20T02:48:26.832Z] ---> Running in 5b691c1727a0 [2021-03-20T02:48:27.106Z] Removing intermediate container 5b691c1727a0 [2021-03-20T02:48:27.107Z] ---> d68849d0c0d9 [2021-03-20T02:48:27.107Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-20T02:48:27.382Z] ---> Running in 033e1777fc57 [2021-03-20T02:48:27.655Z] Removing intermediate container 033e1777fc57 [2021-03-20T02:48:27.655Z] ---> ef87c852f051 [2021-03-20T02:48:27.655Z] Step 14/24 : WORKDIR / [2021-03-20T02:48:27.930Z] ---> Running in e97e3f470973 [2021-03-20T02:48:28.202Z] Removing intermediate container e97e3f470973 [2021-03-20T02:48:28.202Z] ---> 8fe2054adfac [2021-03-20T02:48:28.202Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-20T02:48:29.636Z] ---> a908c38bc70a [2021-03-20T02:48:29.636Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-20T02:48:29.910Z] ---> ceb1c3b0aa91 [2021-03-20T02:48:29.911Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-20T02:48:30.891Z] ---> a11f3ff26b6c [2021-03-20T02:48:30.891Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-20T02:48:31.483Z] ---> e01c3f26a7d3 [2021-03-20T02:48:31.483Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-20T02:48:32.076Z] ---> b9a206078f18 [2021-03-20T02:48:32.077Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-20T02:48:32.350Z] ---> Running in 8bbe5ab75b6b [2021-03-20T02:48:32.622Z] Removing intermediate container 8bbe5ab75b6b [2021-03-20T02:48:32.622Z] ---> 4b330e6093ae [2021-03-20T02:48:32.622Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-20T02:48:32.894Z] ---> Running in ced4d2222820 [2021-03-20T02:48:33.181Z] Removing intermediate container ced4d2222820 [2021-03-20T02:48:33.181Z] ---> e7ba796e3abc [2021-03-20T02:48:33.181Z] Step 22/24 : LABEL arch=arm64 [2021-03-20T02:48:33.456Z] ---> Running in 6fc9daa75d6b [2021-03-20T02:48:33.728Z] Removing intermediate container 6fc9daa75d6b [2021-03-20T02:48:33.728Z] ---> 5bcf663eaf69 [2021-03-20T02:48:33.728Z] Step 23/24 : LABEL git_sha=d7c1f2b043e3154ba67cd19db3211895e8f11a63 [2021-03-20T02:48:34.000Z] ---> Running in 66b9d2ccb893 [2021-03-20T02:48:34.595Z] Removing intermediate container 66b9d2ccb893 [2021-03-20T02:48:34.595Z] ---> 2879c004adea [2021-03-20T02:48:34.595Z] Step 24/24 : LABEL version=0.0.0 [2021-03-20T02:48:34.595Z] ---> Running in ebe2daabd76b [2021-03-20T02:48:35.189Z] Removing intermediate container ebe2daabd76b [2021-03-20T02:48:35.189Z] ---> e50414a97476 [2021-03-20T02:48:35.189Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-20T02:48:35.189Z] Successfully built e50414a97476 [2021-03-20T02:48:35.189Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:48:35.970Z] ---> job-cost.sh [2021-03-20T02:48:35.970Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BKM5 [2021-03-20T02:49:14.937Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-20T02:50:51.685Z] lf-activate-venv(): INFO: Adding /tmp/venv-BKM5/bin to PATH [2021-03-20T02:50:51.685Z] INFO: No Stack... [2021-03-20T02:50:51.685Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-20T02:50:51.685Z] INFO: Archiving Costs [Pipeline] sh [2021-03-20T02:50:52.019Z] + cut -d, -f6 [2021-03-20T02:50:52.019Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2021-03-20T02:50:52.121Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-826-2-stack-cost] [2021-03-20T02:50:52.129Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-826-2-stack-cost] did not exist. Created. [2021-03-20T02:50:52.129Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-826-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-20T02:50:52.590Z] /w/workspace/device-sdk-go/2@tmp/durable-c23d8c90/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-c23d8c90/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-20T02:50:52.936Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-20T02:50:53.006Z] Warning: overwriting stash ‘stack-cost’ [2021-03-20T02:50:53.177Z] Stashed 1 file(s) [Pipeline] } [2021-03-20T02:50:53.190Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-826-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-20T02:50:54.577Z] provisioning config files... [2021-03-20T02:50:54.587Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-826@tmp/config3315745422165967290tmp [Pipeline] { [Pipeline] sh [2021-03-20T02:50:54.978Z] + set +x [2021-03-20T02:50:54.979Z] + curl -s https://codecov.io/bash [2021-03-20T02:50:54.979Z] + bash -s -- [2021-03-20T02:50:55.241Z] [2021-03-20T02:50:55.241Z] _____ _ [2021-03-20T02:50:55.241Z] / ____| | | [2021-03-20T02:50:55.241Z] | | ___ __| | ___ ___ _____ __ [2021-03-20T02:50:55.241Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-20T02:50:55.241Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-20T02:50:55.241Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-20T02:50:55.241Z] Bash-20210309-2b87ace [2021-03-20T02:50:55.241Z] [2021-03-20T02:50:55.241Z] [2021-03-20T02:50:55.241Z] ==> git version 2.24.3 found [2021-03-20T02:50:55.241Z] ==> 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-03-20T02:50:55.241Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-20T02:50:55.241Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-20T02:50:55.241Z] ==> Jenkins CI detected. [2021-03-20T02:50:55.241Z] project root: . [2021-03-20T02:50:55.241Z] --> token set from env [2021-03-20T02:50:55.241Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-20T02:50:55.241Z] ==> Running gcov in . (disable via -X gcov) [2021-03-20T02:50:55.241Z] ==> Python coveragepy not found [2021-03-20T02:50:55.241Z] ==> Searching for coverage reports in: [2021-03-20T02:50:55.241Z] + . [2021-03-20T02:50:55.241Z] -> Found 1 reports [2021-03-20T02:50:55.241Z] ==> Detecting git/mercurial file structure [2021-03-20T02:50:55.241Z] ==> Reading reports [2021-03-20T02:50:55.241Z] + ./coverage.out bytes=99587 [2021-03-20T02:50:55.241Z] ==> Appending adjustments [2021-03-20T02:50:55.241Z] https://docs.codecov.io/docs/fixing-reports [2021-03-20T02:50:55.508Z] + Found adjustments [2021-03-20T02:50:55.508Z] ==> Gzipping contents [2021-03-20T02:50:55.508Z] 16K /tmp/codecov.x09FHi.gz [2021-03-20T02:50:55.508Z] ==> Uploading reports [2021-03-20T02:50:55.508Z] url: https://codecov.io [2021-03-20T02:50:55.508Z] query: branch=PR-826&commit=d7c1f2b043e3154ba67cd19db3211895e8f11a63&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-826%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=826&job=&cmd_args= [2021-03-20T02:50:55.508Z] -> Pinging Codecov [2021-03-20T02:50:55.508Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-826&commit=d7c1f2b043e3154ba67cd19db3211895e8f11a63&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-826%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=826&job=&cmd_args= [2021-03-20T02:50:56.084Z] -> Uploading to [2021-03-20T02:50:56.084Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-20/7E55EF52A471D76F132DFD9A03CDDE97/d7c1f2b043e3154ba67cd19db3211895e8f11a63/78623231-e35d-4603-a92a-8602432bd9b6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210320%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210320T025055Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1147a5e66c7b9064abe5cd633d92c541ff9896d394c11a4c1f80a2080790ce2a [2021-03-20T02:50:56.084Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-20T02:50:56.084Z] Dload Upload Total Spent Left Speed [2021-03-20T02:50:56.658Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13453 0 0 100 13453 0 32404 --:--:-- --:--:-- --:--:-- 32416 [2021-03-20T02:50:56.658Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d7c1f2b043e3154ba67cd19db3211895e8f11a63 [Pipeline] } [2021-03-20T02:50:56.667Z] 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-03-20T02:50:59.226Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:50:59.526Z] ---> package-listing.sh [2021-03-20T02:50:59.526Z] ++ facter osfamily [2021-03-20T02:50:59.526Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-20T02:50:59.526Z] + OS_FAMILY=redhat [2021-03-20T02:50:59.526Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-826 [2021-03-20T02:50:59.526Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-20T02:50:59.526Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-20T02:50:59.526Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-20T02:50:59.526Z] + PACKAGES=/tmp/packages_start.txt [2021-03-20T02:50:59.526Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-826 ']' [2021-03-20T02:50:59.526Z] + PACKAGES=/tmp/packages_end.txt [2021-03-20T02:50:59.526Z] + case "${OS_FAMILY}" in [2021-03-20T02:50:59.526Z] + rpm -qa [2021-03-20T02:50:59.526Z] + sort [2021-03-20T02:51:04.848Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-20T02:51:04.848Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-20T02:51:04.848Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-20T02:51:04.848Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-826 ']' [2021-03-20T02:51:04.848Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-826/archives/ [2021-03-20T02:51:04.848Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-826/archives/ [Pipeline] echo [2021-03-20T02:51:04.863Z] 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-826/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-20T02:51:05.154Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:51:05.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-20T02:51:05.456Z] [2021-03-20T02:51:05.456Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:51:05.803Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-20T02:51:05.803Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-20T02:51:05.803Z] df20fa9351a1: Pulling fs layer [2021-03-20T02:51:05.803Z] 36b3adc4ff6f: Pulling fs layer [2021-03-20T02:51:05.803Z] 8ad3a11d3b57: Pulling fs layer [2021-03-20T02:51:05.803Z] 46f8f816bc3b: Pulling fs layer [2021-03-20T02:51:05.803Z] 93b61091891f: Pulling fs layer [2021-03-20T02:51:05.803Z] 93b9cdb0e59b: Pulling fs layer [2021-03-20T02:51:05.803Z] 5e14af77c1be: Pulling fs layer [2021-03-20T02:51:05.803Z] 01666e4c0597: Pulling fs layer [2021-03-20T02:51:05.803Z] aa168da1d23b: Pulling fs layer [2021-03-20T02:51:05.803Z] 93b9cdb0e59b: Waiting [2021-03-20T02:51:05.803Z] 5e14af77c1be: Waiting [2021-03-20T02:51:05.803Z] 01666e4c0597: Waiting [2021-03-20T02:51:05.803Z] aa168da1d23b: Waiting [2021-03-20T02:51:05.803Z] 46f8f816bc3b: Waiting [2021-03-20T02:51:05.803Z] 93b61091891f: Waiting [2021-03-20T02:51:05.803Z] 36b3adc4ff6f: Verifying Checksum [2021-03-20T02:51:05.803Z] 36b3adc4ff6f: Download complete [2021-03-20T02:51:06.072Z] 46f8f816bc3b: Verifying Checksum [2021-03-20T02:51:06.072Z] 46f8f816bc3b: Download complete [2021-03-20T02:51:06.072Z] df20fa9351a1: Verifying Checksum [2021-03-20T02:51:06.072Z] df20fa9351a1: Download complete [2021-03-20T02:51:06.072Z] 93b9cdb0e59b: Verifying Checksum [2021-03-20T02:51:06.072Z] 93b9cdb0e59b: Download complete [2021-03-20T02:51:06.072Z] 5e14af77c1be: Verifying Checksum [2021-03-20T02:51:06.072Z] 5e14af77c1be: Download complete [2021-03-20T02:51:06.072Z] 93b61091891f: Download complete [2021-03-20T02:51:06.072Z] 01666e4c0597: Verifying Checksum [2021-03-20T02:51:06.072Z] 01666e4c0597: Download complete [2021-03-20T02:51:06.072Z] 8ad3a11d3b57: Verifying Checksum [2021-03-20T02:51:06.072Z] 8ad3a11d3b57: Download complete [2021-03-20T02:51:06.344Z] df20fa9351a1: Pull complete [2021-03-20T02:51:06.606Z] 36b3adc4ff6f: Pull complete [2021-03-20T02:51:07.186Z] 8ad3a11d3b57: Pull complete [2021-03-20T02:51:07.455Z] 46f8f816bc3b: Pull complete [2021-03-20T02:51:08.031Z] 93b61091891f: Pull complete [2021-03-20T02:51:08.031Z] 93b9cdb0e59b: Pull complete [2021-03-20T02:51:08.325Z] 5e14af77c1be: Pull complete [2021-03-20T02:51:08.325Z] aa168da1d23b: Verifying Checksum [2021-03-20T02:51:08.325Z] aa168da1d23b: Download complete [2021-03-20T02:51:08.964Z] 01666e4c0597: Pull complete [2021-03-20T02:51:15.760Z] aa168da1d23b: Pull complete [2021-03-20T02:51:15.760Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-20T02:51:15.760Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-20T02:51:15.760Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-20T02:51:15.936Z] prd-centos7-docker-4c-2g-30688 does not seem to be running inside a container [2021-03-20T02:51:15.983Z] $ 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-826/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-826 -v /w/workspace/dgexfoundry_device-sdk-go_PR-826:/w/workspace/dgexfoundry_device-sdk-go_PR-826:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-826@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-826@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-20T02:51:19.323Z] $ docker top 006f43b0d1276651607e4805dd51a11d37b83b6c0e8e843d59d519259b4cf5a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-20T02:51:19.821Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-20T02:51:20.130Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-20T02:51:20.427Z] + ls /var/log/sa-host [2021-03-20T02:51:20.427Z] + sadf -c /var/log/sa-host/sa20 [2021-03-20T02:51:20.427Z] file_magic: OK [2021-03-20T02:51:20.427Z] HZ: Using current value: 100 [2021-03-20T02:51:20.427Z] file_header: OK [2021-03-20T02:51:20.427Z] 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-03-20T02:51:20.427Z] Statistics: [2021-03-20T02:51:20.427Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-20T02:51:20.427Z] File successfully converted to sysstat format version 12.2.1 [2021-03-20T02:51:20.427Z] + sadf -c /var/log/sa-host/sa23 [2021-03-20T02:51:20.427Z] file_magic: OK [2021-03-20T02:51:20.427Z] HZ: Using current value: 100 [2021-03-20T02:51:20.427Z] file_header: OK [2021-03-20T02:51:20.427Z] 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-03-20T02:51:20.427Z] Statistics: [2021-03-20T02:51:20.427Z] Hnuu...uuuununununu... [2021-03-20T02:51:20.427Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-20T02:51:21.128Z] provisioning config files... [2021-03-20T02:51:21.142Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-826@tmp/config2622462424743153348tmp [Pipeline] { [Pipeline] echo [2021-03-20T02:51:21.260Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:51:21.874Z] ---> create-netrc.sh [Pipeline] } [2021-03-20T02:51:21.884Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-20T02:51:21.990Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:51:22.292Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-20T02:51:22.304Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:51:22.602Z] ---> sudo-logs.sh [2021-03-20T02:51:22.602Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-20T02:51:22.663Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:51:22.960Z] ---> job-cost.sh [2021-03-20T02:51:22.960Z] lf-activate-venv: SKIPPING [2021-03-20T02:51:22.960Z] DEBUG: total: 0.20999999344348907 [2021-03-20T02:51:22.961Z] INFO: Retrieving Stack Cost... [2021-03-20T02:51:23.906Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-20T02:51:24.479Z] INFO: Archiving Costs [Pipeline] echo [2021-03-20T02:51:24.494Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:51:24.791Z] ---> logs-deploy.sh [2021-03-20T02:51:24.791Z] lf-activate-venv: SKIPPING [2021-03-20T02:51:24.791Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-826/2 [2021-03-20T02:51:24.791Z] INFO: archiving workspace using pattern(s): [2021-03-20T02:51:26.717Z] Archives upload complete. [2021-03-20T02:51:26.717Z] INFO: archiving logs to Nexus