Pull request #850 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d+89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e (27304fb263489769d687057ae6403a6c2acc9270) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-850/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-850/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-32207 in /w/workspace/dgexfoundry_device-sdk-go_PR-850 [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-850 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e into PR head commit 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d Merge succeeded, producing 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d Checking out Revision 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d (PR-850) > 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/850/head:refs/remotes/origin/PR-850 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d # 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 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-31T05:38:58.784Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-31T05:38:59.237Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-31T05:38:59.456Z] ========================================================= [2021-03-31T05:38:59.456Z] EdgeX Global Pipelines Version Info [2021-03-31T05:38:59.456Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-31T05:39:01.446Z] ------------------- [2021-03-31T05:39:01.446Z] stable info: [2021-03-31T05:39:01.446Z] ------------------- [2021-03-31T05:39:01.446Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-31T05:39:01.446Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-31T05:39:01.446Z] Message: update stable to v1.0.186 [2021-03-31T05:39:02.023Z] ------------------- [2021-03-31T05:39:02.023Z] experimental info: [2021-03-31T05:39:02.023Z] ------------------- [2021-03-31T05:39:02.023Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-31T05:39:02.023Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-03-31T05:39:02.023Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-31T05:39:02.421Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-31T05:39:02.551Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-31T05:39:02.681Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-31T05:39:02.809Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-31T05:39:02.944Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-31T05:39:03.085Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-31T05:39:03.236Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-31T05:39:03.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-31T05:39:03.514Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-31T05:39:03.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-31T05:39:03.778Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-31T05:39:03.959Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-31T05:39:04.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-31T05:39:04.331Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-31T05:39:04.462Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-31T05:39:04.604Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T05:39:04.730Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T05:39:04.864Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T05:39:04.999Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-31T05:39:05.135Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-31T05:39:05.260Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-31T05:39:05.435Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-31T05:39:05.564Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-31T05:39:05.689Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-31T05:39:05.815Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-31T05:39:05.939Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-31T05:39:06.070Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-850 [Pipeline] echo [2021-03-31T05:39:06.196Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-850 [Pipeline] echo [2021-03-31T05:39:06.318Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-850 [Pipeline] echo [2021-03-31T05:39:06.444Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d [Pipeline] echo [2021-03-31T05:39:06.566Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8ee8d9a [Pipeline] echo [2021-03-31T05:39:06.705Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-31T05:39:06.961Z] provisioning config files... [2021-03-31T05:39:06.994Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/config7279171040329173884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-31T05:39:07.432Z] ---> docker-login.sh [2021-03-31T05:39:07.432Z] nexus3.edgexfoundry.org:10001 [2021-03-31T05:39:07.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T05:39:07.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T05:39:07.959Z] Configure a credential helper to remove this warning. See [2021-03-31T05:39:07.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T05:39:07.959Z] [2021-03-31T05:39:07.959Z] Login Succeeded [2021-03-31T05:39:07.959Z] nexus3.edgexfoundry.org:10002 [2021-03-31T05:39:07.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T05:39:08.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T05:39:08.221Z] Configure a credential helper to remove this warning. See [2021-03-31T05:39:08.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T05:39:08.222Z] [2021-03-31T05:39:08.222Z] Login Succeeded [2021-03-31T05:39:08.222Z] nexus3.edgexfoundry.org:10003 [2021-03-31T05:39:08.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T05:39:08.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T05:39:08.222Z] Configure a credential helper to remove this warning. See [2021-03-31T05:39:08.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T05:39:08.222Z] [2021-03-31T05:39:08.222Z] Login Succeeded [2021-03-31T05:39:08.486Z] nexus3.edgexfoundry.org:10004 [2021-03-31T05:39:08.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T05:39:08.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T05:39:08.486Z] Configure a credential helper to remove this warning. See [2021-03-31T05:39:08.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T05:39:08.486Z] [2021-03-31T05:39:08.486Z] Login Succeeded [2021-03-31T05:39:08.486Z] docker.io [2021-03-31T05:39:08.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T05:39:09.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T05:39:09.014Z] Configure a credential helper to remove this warning. See [2021-03-31T05:39:09.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T05:39:09.014Z] [2021-03-31T05:39:09.014Z] Login Succeeded [2021-03-31T05:39:09.014Z] ---> docker-login.sh ends [Pipeline] } [2021-03-31T05:39:09.039Z] 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-31T05:39:10.390Z] + git log --format=format:%s -1 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d [Pipeline] echo [2021-03-31T05:39:10.544Z] GIT_COMMIT: 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2021-03-31T05:39:10.630Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-31T05:39:11.663Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T05:39:11.663Z] [2021-03-31T05:39:11.663Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T05:39:12.090Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T05:39:12.090Z] latest: Pulling from edgex-devops/git-semver [2021-03-31T05:39:12.090Z] 31603596830f: Pulling fs layer [2021-03-31T05:39:12.090Z] 2a8b12db71e7: Pulling fs layer [2021-03-31T05:39:12.090Z] 6ca5941a6612: Pulling fs layer [2021-03-31T05:39:12.090Z] ecc8261a40a4: Pulling fs layer [2021-03-31T05:39:12.090Z] ecc8261a40a4: Waiting [2021-03-31T05:39:12.090Z] 2a8b12db71e7: Download complete [2021-03-31T05:39:12.090Z] 31603596830f: Verifying Checksum [2021-03-31T05:39:12.090Z] 31603596830f: Download complete [2021-03-31T05:39:12.362Z] ecc8261a40a4: Verifying Checksum [2021-03-31T05:39:12.362Z] ecc8261a40a4: Download complete [2021-03-31T05:39:12.362Z] 6ca5941a6612: Verifying Checksum [2021-03-31T05:39:12.362Z] 6ca5941a6612: Download complete [2021-03-31T05:39:12.636Z] 31603596830f: Pull complete [2021-03-31T05:39:12.902Z] 2a8b12db71e7: Pull complete [2021-03-31T05:39:13.857Z] 6ca5941a6612: Pull complete [2021-03-31T05:39:13.857Z] ecc8261a40a4: Pull complete [2021-03-31T05:39:13.858Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-31T05:39:14.120Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T05:39:14.120Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-31T05:39:14.251Z] prd-centos7-docker-4c-2g-32207 does not seem to be running inside a container [2021-03-31T05:39:14.302Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-850 -v /w/workspace/dgexfoundry_device-sdk-go_PR-850:/w/workspace/dgexfoundry_device-sdk-go_PR-850:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-850@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-31T05:39:16.497Z] $ docker top 71208f345351136a4a0186f79da08c44623353bf5593107e223cdc3fd4becc9f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-31T05:39:16.928Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T05:39:16.928Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T05:39:17.188Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T05:39:17.191Z] $ docker exec 71208f345351136a4a0186f79da08c44623353bf5593107e223cdc3fd4becc9f ssh-agent [2021-03-31T05:39:17.433Z] SSH_AUTH_SOCK=/tmp/ssh-Y5WtPmyXUezT/agent.13 [2021-03-31T05:39:17.433Z] SSH_AGENT_PID=18 [2021-03-31T05:39:17.445Z] Running ssh-add (command line suppressed) [2021-03-31T05:39:17.615Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/private_key_4233333536855391496.key (/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/private_key_4233333536855391496.key) [2021-03-31T05:39:17.683Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T05:39:18.065Z] + git tag --points-at HEAD [Pipeline] } [2021-03-31T05:39:18.094Z] $ docker exec --env ******** --env ******** 71208f345351136a4a0186f79da08c44623353bf5593107e223cdc3fd4becc9f ssh-agent -k [2021-03-31T05:39:18.221Z] unset SSH_AUTH_SOCK; [2021-03-31T05:39:18.221Z] unset SSH_AGENT_PID; [2021-03-31T05:39:18.221Z] echo Agent pid 18 killed; [2021-03-31T05:39:18.281Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-31T05:39:18.471Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T05:39:18.471Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T05:39:18.648Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T05:39:18.651Z] $ docker exec 71208f345351136a4a0186f79da08c44623353bf5593107e223cdc3fd4becc9f ssh-agent [2021-03-31T05:39:18.826Z] SSH_AUTH_SOCK=/tmp/ssh-ODqSVCb4X7kh/agent.47 [2021-03-31T05:39:18.826Z] SSH_AGENT_PID=52 [2021-03-31T05:39:18.833Z] Running ssh-add (command line suppressed) [2021-03-31T05:39:18.953Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/private_key_8688389006480868954.key (/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/private_key_8688389006480868954.key) [2021-03-31T05:39:19.008Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T05:39:19.386Z] + git semver init [2021-03-31T05:39:19.386Z] # -> Open(): unable to determine branch for HEAD [2021-03-31T05:39:19.386Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-850/.git [2021-03-31T05:39:19.387Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-850 [2021-03-31T05:39:19.387Z] # $SEMVER_REMOTE_NAME = origin [2021-03-31T05:39:19.387Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-31T05:39:19.387Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-31T05:39:19.387Z] # $SEMVER_BRANCH = PR-850 [2021-03-31T05:39:19.387Z] # $SEMVER_TEMP = /tmp/semver-198444992 [2021-03-31T05:39:19.387Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-31T05:39:20.338Z] # '/tmp/semver-198444992' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-850/.semver' [2021-03-31T05:39:20.338Z] # -> Force: false [2021-03-31T05:39:20.338Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-850/.semver [Pipeline] } [2021-03-31T05:39:20.376Z] $ docker exec --env ******** --env ******** 71208f345351136a4a0186f79da08c44623353bf5593107e223cdc3fd4becc9f ssh-agent -k [2021-03-31T05:39:20.513Z] unset SSH_AUTH_SOCK; [2021-03-31T05:39:20.514Z] unset SSH_AGENT_PID; [2021-03-31T05:39:20.514Z] echo Agent pid 52 killed; [2021-03-31T05:39:20.571Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-31T05:39:21.160Z] + git semver [Pipeline] } [2021-03-31T05:39:21.190Z] $ docker stop --time=1 71208f345351136a4a0186f79da08c44623353bf5593107e223cdc3fd4becc9f [2021-03-31T05:39:22.802Z] $ docker rm -f 71208f345351136a4a0186f79da08c44623353bf5593107e223cdc3fd4becc9f [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T05:39:23.368Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-31T05:39:23.824Z] Stashed 1 file(s) [Pipeline] echo [2021-03-31T05:39:23.846Z] [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-31T05:39:39.664Z] Still waiting to schedule task [2021-03-31T05:39:39.664Z] ‘prd-centos7-docker-4c-2g-32208’ 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’ [2021-03-31T05:39:39.692Z] Still waiting to schedule task [2021-03-31T05:39:39.692Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-31T05:41:27.359Z] Running on prd-centos7-docker-4c-2g-32210 in /w/workspace/dgexfoundry_device-sdk-go_PR-850 [Pipeline] { [Pipeline] ws [2021-03-31T05:41:27.469Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [2021-03-31T05:41:27.559Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32209 in /w/workspace/dgexfoundry_device-sdk-go_PR-850 [Pipeline] checkout [Pipeline] { [Pipeline] ws [2021-03-31T05:41:27.689Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-31T05:41:30.128Z] using credential edgex-jenkins-ssh [2021-03-31T05:41:30.203Z] Cloning the remote Git repository [2021-03-31T05:41:30.208Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T05:41:30.280Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-31T05:41:30.338Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T05:41:30.338Z] > git --version # timeout=10 [2021-03-31T05:41:30.344Z] > git --version # 'git version 2.24.3' [2021-03-31T05:41:30.344Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T05:41:30.373Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T05:41:31.531Z] Merging remotes/origin/master commit 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e into PR head commit 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d [2021-03-31T05:41:31.622Z] Merge succeeded, producing 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d [2021-03-31T05:41:31.623Z] Checking out Revision 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d (PR-850) [2021-03-31T05:41:31.061Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-31T05:41:31.072Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T05:41:31.085Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-31T05:41:31.098Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T05:41:31.098Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T05:41:31.102Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/850/head:refs/remotes/origin/PR-850 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-31T05:41:31.537Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T05:41:31.542Z] > git checkout -f 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d # timeout=10 [2021-03-31T05:41:31.585Z] > git remote # timeout=10 [2021-03-31T05:41:31.591Z] > git config --get remote.origin.url # timeout=10 [2021-03-31T05:41:31.597Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T05:41:31.601Z] > git merge 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e # timeout=10 [2021-03-31T05:41:31.611Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-31T05:41:31.624Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T05:41:31.628Z] > git checkout -f 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d # timeout=10 [2021-03-31T05:41:32.723Z] using credential edgex-jenkins-ssh [2021-03-31T05:41:32.776Z] Cloning the remote Git repository [2021-03-31T05:41:32.826Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T05:41:32.938Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-31T05:41:33.000Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T05:41:33.001Z] > git --version # timeout=10 [2021-03-31T05:41:33.017Z] > git --version # 'git version 2.17.1' [2021-03-31T05:41:33.018Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T05:41:33.076Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T05:41:34.814Z] Merging remotes/origin/master commit 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e into PR head commit 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d [2021-03-31T05:41:35.078Z] Merge succeeded, producing 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d [2021-03-31T05:41:35.079Z] Checking out Revision 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d (PR-850) [2021-03-31T05:41:35.291Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2021-03-31T05:41:35.317Z] > git --version # timeout=10 [2021-03-31T05:41:35.321Z] > git --version # 'git version 2.24.3' [2021-03-31T05:41:35.329Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-31T05:41:34.223Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-31T05:41:34.245Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T05:41:34.277Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-31T05:41:34.308Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T05:41:34.308Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T05:41:34.319Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/850/head:refs/remotes/origin/PR-850 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-31T05:41:34.831Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T05:41:34.845Z] > git checkout -f 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d # timeout=10 [2021-03-31T05:41:34.941Z] > git remote # timeout=10 [2021-03-31T05:41:34.957Z] > git config --get remote.origin.url # timeout=10 [2021-03-31T05:41:34.972Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T05:41:34.982Z] > git merge 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e # timeout=10 [2021-03-31T05:41:35.004Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-31T05:41:35.082Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T05:41:35.118Z] > git checkout -f 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T05:41:36.638Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-31T05:41:36.991Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-31T05:41:37.311Z] + sudo service docker restart [2021-03-31T05:41:37.311Z] + true [2021-03-31T05:41:37.311Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-31T05:41:38.834Z] provisioning config files... [2021-03-31T05:41:38.866Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2377453251775712771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-31T05:41:39.293Z] ---> docker-login.sh [2021-03-31T05:41:39.293Z] nexus3.edgexfoundry.org:10001 [2021-03-31T05:41:39.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T05:41:39.352Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2021-03-31T05:41:39.397Z] > git --version # timeout=10 [2021-03-31T05:41:39.403Z] > git --version # 'git version 2.17.1' [2021-03-31T05:41:39.415Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-31T05:41:39.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T05:41:39.559Z] Configure a credential helper to remove this warning. See [2021-03-31T05:41:39.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T05:41:39.559Z] [2021-03-31T05:41:39.559Z] Login Succeeded [2021-03-31T05:41:39.559Z] nexus3.edgexfoundry.org:10002 [Pipeline] withEnv [Pipeline] { [2021-03-31T05:41:39.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T05:41:39.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T05:41:39.825Z] Configure a credential helper to remove this warning. See [2021-03-31T05:41:39.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T05:41:39.825Z] [2021-03-31T05:41:39.825Z] Login Succeeded [2021-03-31T05:41:39.825Z] nexus3.edgexfoundry.org:10003 [2021-03-31T05:41:39.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-03-31T05:41:40.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T05:41:40.095Z] Configure a credential helper to remove this warning. See [2021-03-31T05:41:40.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T05:41:40.095Z] [2021-03-31T05:41:40.095Z] Login Succeeded [2021-03-31T05:41:40.095Z] nexus3.edgexfoundry.org:10004 [2021-03-31T05:41:40.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T05:41:40.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T05:41:40.095Z] Configure a credential helper to remove this warning. See [2021-03-31T05:41:40.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T05:41:40.095Z] [2021-03-31T05:41:40.095Z] Login Succeeded [2021-03-31T05:41:40.095Z] docker.io [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T05:41:40.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T05:41:40.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T05:41:40.623Z] Configure a credential helper to remove this warning. See [2021-03-31T05:41:40.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T05:41:40.623Z] [2021-03-31T05:41:40.623Z] Login Succeeded [2021-03-31T05:41:40.623Z] ---> docker-login.sh ends [Pipeline] } [2021-03-31T05:41:40.963Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [2021-03-31T05:41:41.189Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh [Pipeline] echo [2021-03-31T05:41:41.585Z] ========================================================= [2021-03-31T05:41:41.585Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-31T05:41:41.585Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-31T05:41:41.762Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-31T05:41:41.982Z] + 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-31T05:41:41.982Z] Sending build context to Docker daemon 2.336MB [2021-03-31T05:41:42.130Z] + sudo service docker restart [2021-03-31T05:41:42.130Z] + true [2021-03-31T05:41:42.244Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T05:41:42.244Z] Step 2/8 : FROM ${BASE} [2021-03-31T05:41:42.244Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-31T05:41:42.244Z] 188c0c94c7c5: Pulling fs layer [2021-03-31T05:41:42.244Z] 0ef7d3d256c8: Pulling fs layer [2021-03-31T05:41:42.244Z] de9db76c5a1d: Pulling fs layer [2021-03-31T05:41:42.244Z] bca2f99d35d6: Pulling fs layer [2021-03-31T05:41:42.244Z] 93359f2a8cfa: Pulling fs layer [2021-03-31T05:41:42.244Z] 7c6f9722023f: Pulling fs layer [2021-03-31T05:41:42.244Z] a35cf1a2eb13: Pulling fs layer [2021-03-31T05:41:42.244Z] 93359f2a8cfa: Waiting [2021-03-31T05:41:42.244Z] 7c6f9722023f: Waiting [2021-03-31T05:41:42.244Z] bca2f99d35d6: Waiting [2021-03-31T05:41:42.244Z] a35cf1a2eb13: Waiting [2021-03-31T05:41:42.244Z] de9db76c5a1d: Verifying Checksum [2021-03-31T05:41:42.244Z] de9db76c5a1d: Download complete [2021-03-31T05:41:42.244Z] 0ef7d3d256c8: Verifying Checksum [2021-03-31T05:41:42.244Z] 0ef7d3d256c8: Download complete [2021-03-31T05:41:42.244Z] 93359f2a8cfa: Download complete [2021-03-31T05:41:42.244Z] 188c0c94c7c5: Verifying Checksum [2021-03-31T05:41:42.244Z] 7c6f9722023f: Verifying Checksum [2021-03-31T05:41:42.244Z] 7c6f9722023f: Download complete [2021-03-31T05:41:42.508Z] 188c0c94c7c5: Pull complete [2021-03-31T05:41:42.770Z] 0ef7d3d256c8: Pull complete [2021-03-31T05:41:42.770Z] de9db76c5a1d: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-31T05:41:44.933Z] provisioning config files... [2021-03-31T05:41:44.973Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6882514811277887197tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-31T05:41:45.337Z] a35cf1a2eb13: Verifying Checksum [2021-03-31T05:41:45.337Z] a35cf1a2eb13: Download complete [2021-03-31T05:41:45.337Z] bca2f99d35d6: Verifying Checksum [2021-03-31T05:41:45.337Z] bca2f99d35d6: Download complete [2021-03-31T05:41:45.435Z] ---> docker-login.sh [2021-03-31T05:41:45.435Z] nexus3.edgexfoundry.org:10001 [2021-03-31T05:41:46.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T05:41:46.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T05:41:46.640Z] Configure a credential helper to remove this warning. See [2021-03-31T05:41:46.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T05:41:46.640Z] [2021-03-31T05:41:46.640Z] Login Succeeded [2021-03-31T05:41:46.640Z] nexus3.edgexfoundry.org:10002 [2021-03-31T05:41:46.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T05:41:47.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T05:41:47.188Z] Configure a credential helper to remove this warning. See [2021-03-31T05:41:47.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T05:41:47.188Z] [2021-03-31T05:41:47.188Z] Login Succeeded [2021-03-31T05:41:47.188Z] nexus3.edgexfoundry.org:10003 [2021-03-31T05:41:47.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T05:41:47.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T05:41:47.742Z] Configure a credential helper to remove this warning. See [2021-03-31T05:41:47.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T05:41:47.742Z] [2021-03-31T05:41:47.742Z] Login Succeeded [2021-03-31T05:41:47.742Z] nexus3.edgexfoundry.org:10004 [2021-03-31T05:41:48.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T05:41:48.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T05:41:48.296Z] Configure a credential helper to remove this warning. See [2021-03-31T05:41:48.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T05:41:48.296Z] [2021-03-31T05:41:48.296Z] Login Succeeded [2021-03-31T05:41:48.296Z] docker.io [2021-03-31T05:41:48.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T05:41:48.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T05:41:48.840Z] Configure a credential helper to remove this warning. See [2021-03-31T05:41:48.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T05:41:48.840Z] [2021-03-31T05:41:48.840Z] Login Succeeded [2021-03-31T05:41:48.840Z] ---> docker-login.sh ends [Pipeline] } [2021-03-31T05:41:48.872Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-31T05:41:49.442Z] ========================================================= [2021-03-31T05:41:49.442Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-31T05:41:49.442Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-31T05:41:49.855Z] + 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-31T05:41:50.451Z] Sending build context to Docker daemon 2.335MB [2021-03-31T05:41:50.451Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T05:41:50.451Z] Step 2/8 : FROM ${BASE} [2021-03-31T05:41:50.451Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-31T05:41:50.451Z] 5f621e34cdf4: Pulling fs layer [2021-03-31T05:41:50.451Z] a4357932f1b6: Pulling fs layer [2021-03-31T05:41:50.451Z] 18c013af1878: Pulling fs layer [2021-03-31T05:41:50.451Z] 00ac8860ef70: Pulling fs layer [2021-03-31T05:41:50.451Z] 63d7cb157983: Pulling fs layer [2021-03-31T05:41:50.451Z] b116817d02f9: Pulling fs layer [2021-03-31T05:41:50.451Z] 745a02a5169b: Pulling fs layer [2021-03-31T05:41:50.451Z] 00ac8860ef70: Waiting [2021-03-31T05:41:50.451Z] 63d7cb157983: Waiting [2021-03-31T05:41:50.451Z] b116817d02f9: Waiting [2021-03-31T05:41:50.451Z] 745a02a5169b: Waiting [2021-03-31T05:41:50.670Z] bca2f99d35d6: Pull complete [2021-03-31T05:41:50.726Z] 18c013af1878: Verifying Checksum [2021-03-31T05:41:50.726Z] 18c013af1878: Download complete [2021-03-31T05:41:50.726Z] a4357932f1b6: Verifying Checksum [2021-03-31T05:41:50.726Z] a4357932f1b6: Download complete [2021-03-31T05:41:50.726Z] 63d7cb157983: Verifying Checksum [2021-03-31T05:41:50.726Z] 63d7cb157983: Download complete [2021-03-31T05:41:50.726Z] 5f621e34cdf4: Download complete [2021-03-31T05:41:50.726Z] b116817d02f9: Verifying Checksum [2021-03-31T05:41:50.726Z] b116817d02f9: Download complete [2021-03-31T05:41:50.936Z] 93359f2a8cfa: Pull complete [2021-03-31T05:41:50.936Z] 7c6f9722023f: Pull complete [2021-03-31T05:41:51.725Z] 5f621e34cdf4: Pull complete [2021-03-31T05:41:52.324Z] a4357932f1b6: Pull complete [2021-03-31T05:41:52.599Z] 18c013af1878: Pull complete [2021-03-31T05:41:52.875Z] 745a02a5169b: Verifying Checksum [2021-03-31T05:41:52.875Z] 745a02a5169b: Download complete [2021-03-31T05:41:54.863Z] 00ac8860ef70: Download complete [2021-03-31T05:41:59.114Z] a35cf1a2eb13: Pull complete [2021-03-31T05:41:59.114Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-31T05:41:59.114Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-31T05:41:59.114Z] ---> a62c8e92a672 [2021-03-31T05:41:59.114Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T05:41:59.114Z] ---> Running in 8efac2ffe607 [2021-03-31T05:41:59.114Z] Removing intermediate container 8efac2ffe607 [2021-03-31T05:41:59.114Z] ---> fc52baec00f8 [2021-03-31T05:41:59.114Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T05:41:59.114Z] ---> Running in 2bbea7bacede [2021-03-31T05:41:59.694Z] Removing intermediate container 2bbea7bacede [2021-03-31T05:41:59.694Z] ---> d8f826d1b3ca [2021-03-31T05:41:59.694Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-03-31T05:41:59.694Z] ---> Running in 50e077fab1c1 [2021-03-31T05:42:01.095Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-31T05:42:01.672Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-31T05:42:03.070Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-03-31T05:42:03.070Z] (2/6) Installing libsodium (1.0.18-r0) [2021-03-31T05:42:03.070Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-03-31T05:42:03.335Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-03-31T05:42:03.335Z] (5/6) Installing libzmq (4.3.3-r0) [2021-03-31T05:42:03.598Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-03-31T05:42:03.598Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T05:42:03.598Z] OK: 167 MiB in 45 packages [2021-03-31T05:42:04.547Z] Removing intermediate container 50e077fab1c1 [2021-03-31T05:42:04.547Z] ---> 7059a63cc075 [2021-03-31T05:42:04.547Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-31T05:42:04.547Z] ---> Running in ccd9cb05ab01 [2021-03-31T05:42:04.812Z] Removing intermediate container ccd9cb05ab01 [2021-03-31T05:42:04.812Z] ---> a1ea7311d70c [2021-03-31T05:42:04.812Z] Step 7/8 : COPY . . [2021-03-31T05:42:05.038Z] 00ac8860ef70: Pull complete [2021-03-31T05:42:05.039Z] 63d7cb157983: Pull complete [2021-03-31T05:42:05.039Z] b116817d02f9: Pull complete [2021-03-31T05:42:06.217Z] ---> 62426a9c970a [2021-03-31T05:42:06.217Z] Step 8/8 : RUN go mod download [2021-03-31T05:42:06.217Z] ---> Running in d3f14bee5542 [2021-03-31T05:42:09.352Z] 745a02a5169b: Pull complete [2021-03-31T05:42:09.352Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-31T05:42:09.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-31T05:42:09.353Z] ---> b7e6874047d6 [2021-03-31T05:42:09.353Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T05:42:11.976Z] ---> Running in a1fe3f76687d [2021-03-31T05:42:12.247Z] Removing intermediate container a1fe3f76687d [2021-03-31T05:42:12.247Z] ---> 4d9930b31221 [2021-03-31T05:42:12.247Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T05:42:12.521Z] ---> Running in 3aaf448014bd [2021-03-31T05:42:15.177Z] Removing intermediate container 3aaf448014bd [2021-03-31T05:42:15.177Z] ---> e60ed116ebd4 [2021-03-31T05:42:15.177Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-03-31T05:42:15.177Z] ---> Running in 6297b5f93ff6 [2021-03-31T05:42:16.163Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-31T05:42:17.134Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-31T05:42:18.110Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-03-31T05:42:18.110Z] (2/6) Installing libsodium (1.0.18-r0) [2021-03-31T05:42:18.387Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-03-31T05:42:18.387Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-03-31T05:42:18.387Z] (5/6) Installing libzmq (4.3.3-r0) [2021-03-31T05:42:18.657Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-03-31T05:42:18.657Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T05:42:18.931Z] OK: 144 MiB in 45 packages [2021-03-31T05:42:20.360Z] Removing intermediate container 6297b5f93ff6 [2021-03-31T05:42:20.360Z] ---> e2481b1848c3 [2021-03-31T05:42:20.360Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-31T05:42:20.360Z] ---> Running in 1451d9909d07 [2021-03-31T05:42:20.954Z] Removing intermediate container 1451d9909d07 [2021-03-31T05:42:20.954Z] ---> 88a16ce152a0 [2021-03-31T05:42:20.954Z] Step 7/8 : COPY . . [2021-03-31T05:42:21.935Z] ---> 491d02ebe7e9 [2021-03-31T05:42:21.935Z] Step 8/8 : RUN go mod download [2021-03-31T05:42:21.935Z] ---> Running in 80609b7c4db2 [2021-03-31T05:42:32.845Z] Removing intermediate container d3f14bee5542 [2021-03-31T05:42:32.845Z] ---> e2c43d4d0fdc [2021-03-31T05:42:32.845Z] Successfully built e2c43d4d0fdc [2021-03-31T05:42:32.845Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T05:42:33.224Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-31T05:42:33.224Z] . [Pipeline] withDockerContainer [2021-03-31T05:42:33.369Z] prd-centos7-docker-4c-2g-32210 does not seem to be running inside a container [2021-03-31T05:42:33.416Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2021-03-31T05:42:34.194Z] $ docker top c3757fe66e8575b0ba3104311c00d4b5784b544102dbc8ca9b7aa7d333bbf64f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T05:42:34.733Z] + go version [2021-03-31T05:42:34.733Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-31T05:42:34.767Z] $ docker stop --time=1 c3757fe66e8575b0ba3104311c00d4b5784b544102dbc8ca9b7aa7d333bbf64f [2021-03-31T05:42:36.099Z] $ docker rm -f c3757fe66e8575b0ba3104311c00d4b5784b544102dbc8ca9b7aa7d333bbf64f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T05:42:37.169Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-31T05:42:37.169Z] . [Pipeline] withDockerContainer [2021-03-31T05:42:37.282Z] prd-centos7-docker-4c-2g-32210 does not seem to be running inside a container [2021-03-31T05:42:37.328Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2021-03-31T05:42:37.914Z] $ docker top 38bcf69e26d27669fbfc2ff4693373c4ecdf6875bd1589179dd7d57287d64498 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T05:42:38.452Z] + make test [2021-03-31T05:42:38.452Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-31T05:42:46.634Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-31T05:42:48.789Z] Removing intermediate container 80609b7c4db2 [2021-03-31T05:42:48.789Z] ---> 9cd3f247a6e3 [2021-03-31T05:42:48.790Z] Successfully built 9cd3f247a6e3 [2021-03-31T05:42:48.790Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T05:42:49.157Z] + docker inspect -f . ci-base-image-arm64 [2021-03-31T05:42:49.157Z] . [Pipeline] withDockerContainer [2021-03-31T05:42:49.445Z] prd-ubuntu18.04-docker-arm64-4c-16g-32209 does not seem to be running inside a container [2021-03-31T05:42:49.521Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-03-31T05:42:51.101Z] $ docker top 2da9b0c84dbd881f4cbdc9228ebbcd6e4b878b4b7999cd15f00291071760b128 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T05:42:52.164Z] + go version [2021-03-31T05:42:52.164Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-31T05:42:52.197Z] $ docker stop --time=1 2da9b0c84dbd881f4cbdc9228ebbcd6e4b878b4b7999cd15f00291071760b128 [2021-03-31T05:42:54.112Z] $ docker rm -f 2da9b0c84dbd881f4cbdc9228ebbcd6e4b878b4b7999cd15f00291071760b128 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T05:42:55.361Z] + docker inspect -f . ci-base-image-arm64 [2021-03-31T05:42:55.361Z] . [Pipeline] withDockerContainer [2021-03-31T05:42:55.640Z] prd-ubuntu18.04-docker-arm64-4c-16g-32209 does not seem to be running inside a container [2021-03-31T05:42:55.717Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-03-31T05:42:57.233Z] $ docker top 9a0761e56ad91de91580e0575c8be057c8b6d3bf4e6800c3f2f9303cb88a85b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T05:42:58.310Z] + make test [2021-03-31T05:42:58.310Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-31T05:43:04.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-31T05:43:04.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-03-31T05:43:04.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-31T05:43:04.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-31T05:43:04.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-31T05:43:07.478Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.0% of statements [2021-03-31T05:43:07.478Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.075s coverage: 81.2% of statements [2021-03-31T05:43:08.075Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.077s coverage: 7.8% of statements [2021-03-31T05:43:08.075Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-31T05:43:08.075Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-03-31T05:43:08.075Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-31T05:43:08.075Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.085s coverage: 32.5% of statements [2021-03-31T05:43:08.075Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-31T05:43:08.075Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-31T05:43:08.075Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-31T05:43:08.654Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.104s coverage: 57.3% of statements [2021-03-31T05:43:09.226Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.188s coverage: 6.6% of statements [2021-03-31T05:43:09.491Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements [2021-03-31T05:43:09.491Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-31T05:43:09.491Z] GO111MODULE=on go vet ./... [2021-03-31T05:43:20.518Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-31T05:43:24.572Z] gofmt -l . [2021-03-31T05:43:24.572Z] [ "`gofmt -l .`" = "" ] [2021-03-31T05:43:24.572Z] ./bin/test-attribution-txt.sh [2021-03-31T05:43:24.572Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-31T05:43:24.863Z] $ docker stop --time=1 38bcf69e26d27669fbfc2ff4693373c4ecdf6875bd1589179dd7d57287d64498 [2021-03-31T05:43:26.825Z] $ docker rm -f 38bcf69e26d27669fbfc2ff4693373c4ecdf6875bd1589179dd7d57287d64498 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T05:43:27.590Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-31T05:43:27.989Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-31T05:43:30.866Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-31T05:43:31.187Z] + ls -al . [2021-03-31T05:43:31.187Z] total 188 [2021-03-31T05:43:31.187Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 31 05:43 . [2021-03-31T05:43:31.187Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 31 05:41 .. [2021-03-31T05:43:31.187Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 31 05:41 bin [2021-03-31T05:43:31.187Z] -rw-r--r--. 1 jenkins jenkins 101416 Mar 31 05:43 coverage.out [2021-03-31T05:43:31.187Z] -rw-rw-r--. 1 jenkins jenkins 987 Mar 31 05:41 Dockerfile.build [2021-03-31T05:43:31.187Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 31 05:41 .dockerignore [2021-03-31T05:43:31.187Z] drwxrwxr-x. 5 jenkins jenkins 62 Mar 31 05:41 example [2021-03-31T05:43:31.187Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 31 05:41 .git [2021-03-31T05:43:31.187Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 31 05:41 .github [2021-03-31T05:43:31.187Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 31 05:41 .gitignore [2021-03-31T05:43:31.187Z] -rw-r--r--. 1 jenkins jenkins 537 Mar 31 05:43 go.mod [2021-03-31T05:43:31.187Z] -rw-r--r--. 1 jenkins jenkins 20743 Mar 31 05:43 go.sum [2021-03-31T05:43:31.187Z] drwxrwxr-x. 14 jenkins jenkins 207 Mar 31 05:41 internal [2021-03-31T05:43:31.187Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 31 05:41 Jenkinsfile [2021-03-31T05:43:31.187Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 31 05:41 LICENSE [2021-03-31T05:43:31.187Z] -rw-rw-r--. 1 jenkins jenkins 1022 Mar 31 05:41 Makefile [2021-03-31T05:43:31.187Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 31 05:41 openapi [2021-03-31T05:43:31.187Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 31 05:41 pkg [2021-03-31T05:43:31.187Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 31 05:41 README.md [2021-03-31T05:43:31.187Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 31 05:41 RELEASE-NOTES.txt [2021-03-31T05:43:31.187Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 31 05:41 snap [2021-03-31T05:43:31.187Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 31 05:39 VERSION [2021-03-31T05:43:31.187Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 31 05:41 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-31T05:43:31.537Z] + 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=8ee8d9a65184e2ba6c413d8f37464c8e38dd684d --label arch=amd64 --label version=0.0.0 . [2021-03-31T05:43:31.799Z] Sending build context to Docker daemon 2.439MB [2021-03-31T05:43:31.799Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T05:43:31.799Z] Step 2/23 : FROM ${BASE} AS builder [2021-03-31T05:43:31.799Z] ---> e2c43d4d0fdc [2021-03-31T05:43:31.799Z] Step 3/23 : WORKDIR /device-sdk-go [2021-03-31T05:43:32.061Z] ---> Running in dbdb155014c2 [2021-03-31T05:43:32.327Z] Removing intermediate container dbdb155014c2 [2021-03-31T05:43:32.327Z] ---> c7ff154deb90 [2021-03-31T05:43:32.327Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T05:43:32.327Z] ---> Running in edf5fd116f5c [2021-03-31T05:43:32.588Z] Removing intermediate container edf5fd116f5c [2021-03-31T05:43:32.588Z] ---> c35259019517 [2021-03-31T05:43:32.588Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T05:43:32.588Z] ---> Running in 408bd936911b [2021-03-31T05:43:33.536Z] Removing intermediate container 408bd936911b [2021-03-31T05:43:33.536Z] ---> 2c6a63e83ef1 [2021-03-31T05:43:33.536Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-03-31T05:43:33.536Z] ---> Running in 9bfc87909a07 [2021-03-31T05:43:34.113Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-31T05:43:34.687Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-31T05:43:35.632Z] OK: 167 MiB in 45 packages [2021-03-31T05:43:35.893Z] Removing intermediate container 9bfc87909a07 [2021-03-31T05:43:35.893Z] ---> 391a8f460fe6 [2021-03-31T05:43:35.893Z] Step 7/23 : COPY . . [2021-03-31T05:43:36.842Z] ---> 8f370db6c356 [2021-03-31T05:43:36.842Z] Step 8/23 : RUN go mod download [2021-03-31T05:43:36.842Z] ---> Running in f8d244e52277 [2021-03-31T05:43:37.794Z] Removing intermediate container f8d244e52277 [2021-03-31T05:43:37.794Z] ---> ec3deda251ff [2021-03-31T05:43:37.794Z] Step 9/23 : RUN make build [2021-03-31T05:43:37.794Z] ---> Running in 9234475b1d51 [2021-03-31T05:43:38.372Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-31T05:43:50.752Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-03-31T05:43:51.327Z] Removing intermediate container 9234475b1d51 [2021-03-31T05:43:51.327Z] ---> 3513348df611 [2021-03-31T05:43:51.327Z] Step 10/23 : FROM alpine:3.12 [2021-03-31T05:43:51.906Z] 3.12: Pulling from library/alpine [2021-03-31T05:43:51.906Z] 22599d3e9e25: Pulling fs layer [2021-03-31T05:43:51.906Z] 22599d3e9e25: Download complete [2021-03-31T05:43:52.171Z] 22599d3e9e25: Pull complete [2021-03-31T05:43:52.171Z] Digest: sha256:d1eaae2a6814b4b10a722fa75e8a6b53db42d1bf531395a107fea0458bfbf1d8 [2021-03-31T05:43:52.171Z] Status: Downloaded newer image for alpine:3.12 [2021-03-31T05:43:52.171Z] ---> 42cb162f0360 [2021-03-31T05:43:52.171Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T05:43:52.433Z] ---> Running in ae0964b33845 [2021-03-31T05:43:52.434Z] Removing intermediate container ae0964b33845 [2021-03-31T05:43:52.434Z] ---> 8440adbb2fc4 [2021-03-31T05:43:52.434Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T05:43:52.704Z] ---> Running in 88200f9974fc [2021-03-31T05:43:53.276Z] Removing intermediate container 88200f9974fc [2021-03-31T05:43:53.276Z] ---> 2010964cc2d7 [2021-03-31T05:43:53.276Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-03-31T05:43:53.539Z] ---> Running in 926655abf3ef [2021-03-31T05:43:53.801Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-31T05:43:54.796Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-31T05:43:55.385Z] (1/5) Installing libgcc (9.3.0-r2) [2021-03-31T05:43:55.385Z] (2/5) Installing libsodium (1.0.18-r0) [2021-03-31T05:43:55.385Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-03-31T05:43:55.679Z] (4/5) Installing libzmq (4.3.3-r0) [2021-03-31T05:43:56.007Z] (5/5) Installing zeromq (4.3.3-r0) [2021-03-31T05:43:56.007Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T05:43:56.007Z] OK: 8 MiB in 19 packages [2021-03-31T05:43:56.611Z] Removing intermediate container 926655abf3ef [2021-03-31T05:43:56.611Z] ---> acabc0494527 [2021-03-31T05:43:56.611Z] Step 14/23 : WORKDIR / [2021-03-31T05:43:56.611Z] ---> Running in 57566ddda25d [2021-03-31T05:43:56.611Z] Removing intermediate container 57566ddda25d [2021-03-31T05:43:56.611Z] ---> 0b28f35f5c76 [2021-03-31T05:43:56.611Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-03-31T05:43:56.873Z] ---> db6872b2bb90 [2021-03-31T05:43:56.873Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-03-31T05:43:57.447Z] ---> 39d3ba0b7e86 [2021-03-31T05:43:57.447Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-03-31T05:43:57.709Z] ---> 004bcb4dbe02 [2021-03-31T05:43:57.709Z] Step 18/23 : EXPOSE 49990 [2021-03-31T05:43:57.709Z] ---> Running in cd380ca9c72a [2021-03-31T05:43:57.973Z] Removing intermediate container cd380ca9c72a [2021-03-31T05:43:57.973Z] ---> e919ffa62d73 [2021-03-31T05:43:57.973Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-03-31T05:43:57.973Z] ---> Running in 967799a6428c [2021-03-31T05:43:58.235Z] Removing intermediate container 967799a6428c [2021-03-31T05:43:58.235Z] ---> 197e631e1757 [2021-03-31T05:43:58.235Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-31T05:43:58.235Z] ---> Running in 6e8b6ad5acc0 [2021-03-31T05:43:58.496Z] Removing intermediate container 6e8b6ad5acc0 [2021-03-31T05:43:58.496Z] ---> dfe57934fe3d [2021-03-31T05:43:58.496Z] Step 21/23 : LABEL arch=amd64 [2021-03-31T05:43:58.496Z] ---> Running in ab15a13085dd [2021-03-31T05:43:58.759Z] Removing intermediate container ab15a13085dd [2021-03-31T05:43:58.759Z] ---> d5a516649230 [2021-03-31T05:43:58.759Z] Step 22/23 : LABEL git_sha=8ee8d9a65184e2ba6c413d8f37464c8e38dd684d [2021-03-31T05:43:58.759Z] ---> Running in da40afb5e3a1 [2021-03-31T05:43:58.759Z] Removing intermediate container da40afb5e3a1 [2021-03-31T05:43:58.759Z] ---> 3821bcbec2f1 [2021-03-31T05:43:58.759Z] Step 23/23 : LABEL version=0.0.0 [2021-03-31T05:43:59.022Z] ---> Running in 3d9ba37f4986 [2021-03-31T05:43:59.022Z] Removing intermediate container 3d9ba37f4986 [2021-03-31T05:43:59.022Z] ---> 9a93fc1ab153 [2021-03-31T05:43:59.022Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-03-31T05:43:59.022Z] Successfully built 9a93fc1ab153 [2021-03-31T05:43:59.022Z] 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-31T05:44:00.367Z] ---> job-cost.sh [2021-03-31T05:44:00.367Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-JaDz [2021-03-31T05:44:15.323Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-31T05:44:17.123Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-31T05:44:17.123Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-03-31T05:44:17.123Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-31T05:44:17.123Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-31T05:44:17.123Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-31T05:44:18.570Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.144s coverage: 27.0% of statements [2021-03-31T05:44:20.563Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.188s coverage: 81.2% of statements [2021-03-31T05:44:20.563Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.148s coverage: 7.8% of statements [2021-03-31T05:44:20.563Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-31T05:44:20.563Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-03-31T05:44:20.563Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-31T05:44:21.557Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.255s coverage: 32.5% of statements [2021-03-31T05:44:21.557Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-31T05:44:21.557Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-31T05:44:21.557Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-31T05:44:24.971Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.263s coverage: 57.3% of statements [2021-03-31T05:44:24.971Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.995s coverage: 6.6% of statements [2021-03-31T05:44:26.406Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.136s coverage: 5.0% of statements [2021-03-31T05:44:26.406Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-31T05:44:27.000Z] GO111MODULE=on go vet ./... [2021-03-31T05:44:41.972Z] lf-activate-venv(): INFO: Adding /tmp/venv-JaDz/bin to PATH [2021-03-31T05:44:41.972Z] INFO: No Stack... [2021-03-31T05:44:41.972Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-31T05:44:41.972Z] INFO: Archiving Costs [Pipeline] sh [2021-03-31T05:44:42.301Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-03-31T05:44:42.301Z] + cut -d, -f6 [Pipeline] lock [2021-03-31T05:44:42.409Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-850-1-stack-cost] [2021-03-31T05:44:42.415Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-850-1-stack-cost] did not exist. Created. [2021-03-31T05:44:42.416Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-850-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-31T05:44:42.909Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-31T05:44:43.048Z] Stashed 1 file(s) [Pipeline] } [2021-03-31T05:44:43.067Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-850-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-31T05:45:14.193Z] gofmt -l . [2021-03-31T05:45:14.193Z] [ "`gofmt -l .`" = "" ] [2021-03-31T05:45:14.193Z] ./bin/test-attribution-txt.sh [2021-03-31T05:45:14.193Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-31T05:45:14.227Z] $ docker stop --time=1 9a0761e56ad91de91580e0575c8be057c8b6d3bf4e6800c3f2f9303cb88a85b9 [2021-03-31T05:45:16.597Z] $ docker rm -f 9a0761e56ad91de91580e0575c8be057c8b6d3bf4e6800c3f2f9303cb88a85b9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T05:45:17.850Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-31T05:45:17.915Z] Warning: overwriting stash ‘coverage-report’ [2021-03-31T05:45:18.819Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T05:45:19.784Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-31T05:45:20.347Z] + ls -al . [2021-03-31T05:45:20.347Z] total 224 [2021-03-31T05:45:20.347Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 05:45 . [2021-03-31T05:45:20.347Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 05:41 .. [2021-03-31T05:45:20.347Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 31 05:41 .dockerignore [2021-03-31T05:45:20.347Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 05:41 .git [2021-03-31T05:45:20.347Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 05:41 .github [2021-03-31T05:45:20.347Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 31 05:41 .gitignore [2021-03-31T05:45:20.347Z] -rw-rw-r-- 1 jenkins jenkins 987 Mar 31 05:41 Dockerfile.build [2021-03-31T05:45:20.347Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 31 05:41 Jenkinsfile [2021-03-31T05:45:20.347Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 31 05:41 LICENSE [2021-03-31T05:45:20.347Z] -rw-rw-r-- 1 jenkins jenkins 1022 Mar 31 05:41 Makefile [2021-03-31T05:45:20.347Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 31 05:41 README.md [2021-03-31T05:45:20.347Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 31 05:41 RELEASE-NOTES.txt [2021-03-31T05:45:20.347Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 05:39 VERSION [2021-03-31T05:45:20.347Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 05:41 bin [2021-03-31T05:45:20.347Z] -rw-r--r-- 1 jenkins jenkins 101416 Mar 31 05:44 coverage.out [2021-03-31T05:45:20.347Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 05:41 example [2021-03-31T05:45:20.347Z] -rw-r--r-- 1 jenkins jenkins 537 Mar 31 05:45 go.mod [2021-03-31T05:45:20.347Z] -rw-r--r-- 1 jenkins jenkins 20743 Mar 31 05:45 go.sum [2021-03-31T05:45:20.347Z] drwxrwxr-x 14 jenkins jenkins 4096 Mar 31 05:41 internal [2021-03-31T05:45:20.347Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 05:41 openapi [2021-03-31T05:45:20.347Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 05:41 pkg [2021-03-31T05:45:20.347Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 05:41 snap [2021-03-31T05:45:20.347Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 31 05:41 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-31T05:45:20.752Z] + 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=8ee8d9a65184e2ba6c413d8f37464c8e38dd684d --label arch=arm64 --label version=0.0.0 . [2021-03-31T05:45:21.392Z] Sending build context to Docker daemon 2.438MB [2021-03-31T05:45:21.392Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T05:45:21.392Z] Step 2/23 : FROM ${BASE} AS builder [2021-03-31T05:45:21.392Z] ---> 9cd3f247a6e3 [2021-03-31T05:45:21.392Z] Step 3/23 : WORKDIR /device-sdk-go [2021-03-31T05:45:21.664Z] ---> Running in cbf000bfacf1 [2021-03-31T05:45:22.253Z] Removing intermediate container cbf000bfacf1 [2021-03-31T05:45:22.253Z] ---> 0d7b31a187cb [2021-03-31T05:45:22.253Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T05:45:22.527Z] ---> Running in f83768ce1628 [2021-03-31T05:45:22.796Z] Removing intermediate container f83768ce1628 [2021-03-31T05:45:22.796Z] ---> d5038e7c2240 [2021-03-31T05:45:22.796Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T05:45:23.071Z] ---> Running in 82a3edb2ef09 [2021-03-31T05:45:25.067Z] Removing intermediate container 82a3edb2ef09 [2021-03-31T05:45:25.067Z] ---> 8b745b80fdff [2021-03-31T05:45:25.067Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-03-31T05:45:25.067Z] ---> Running in fb1de34aa42d [2021-03-31T05:45:26.500Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-31T05:45:27.094Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-31T05:45:28.068Z] OK: 144 MiB in 45 packages [2021-03-31T05:45:29.046Z] Removing intermediate container fb1de34aa42d [2021-03-31T05:45:29.046Z] ---> de5a37d03c32 [2021-03-31T05:45:29.046Z] Step 7/23 : COPY . . [2021-03-31T05:45:30.478Z] ---> 47bb7b9b557d [2021-03-31T05:45:30.478Z] Step 8/23 : RUN go mod download [2021-03-31T05:45:30.478Z] ---> Running in a8840664a146 [2021-03-31T05:45:33.091Z] Removing intermediate container a8840664a146 [2021-03-31T05:45:33.091Z] ---> e6963050e34a [2021-03-31T05:45:33.091Z] Step 9/23 : RUN make build [2021-03-31T05:45:33.091Z] ---> Running in 01b761413cbc [2021-03-31T05:45:34.068Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-31T05:46:06.450Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-03-31T05:46:09.063Z] Removing intermediate container 01b761413cbc [2021-03-31T05:46:09.063Z] ---> 51a47271cea1 [2021-03-31T05:46:09.063Z] Step 10/23 : FROM alpine:3.12 [2021-03-31T05:46:09.063Z] 3.12: Pulling from library/alpine [2021-03-31T05:46:09.337Z] 95dec6db3722: Pulling fs layer [2021-03-31T05:46:09.337Z] 95dec6db3722: Download complete [2021-03-31T05:46:09.952Z] 95dec6db3722: Pull complete [2021-03-31T05:46:10.230Z] Digest: sha256:d1eaae2a6814b4b10a722fa75e8a6b53db42d1bf531395a107fea0458bfbf1d8 [2021-03-31T05:46:10.230Z] Status: Downloaded newer image for alpine:3.12 [2021-03-31T05:46:10.230Z] ---> e47305ac9786 [2021-03-31T05:46:10.230Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T05:46:10.514Z] ---> Running in b767e59d508b [2021-03-31T05:46:10.789Z] Removing intermediate container b767e59d508b [2021-03-31T05:46:10.789Z] ---> 775348f0efdc [2021-03-31T05:46:10.789Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T05:46:11.061Z] ---> Running in 90a3725c5d31 [2021-03-31T05:46:13.030Z] Removing intermediate container 90a3725c5d31 [2021-03-31T05:46:13.030Z] ---> 2c373b81ddba [2021-03-31T05:46:13.030Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-03-31T05:46:13.305Z] ---> Running in df90bd613531 [2021-03-31T05:46:14.294Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-31T05:46:15.262Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-31T05:46:15.851Z] (1/5) Installing libgcc (9.3.0-r2) [2021-03-31T05:46:15.852Z] (2/5) Installing libsodium (1.0.18-r0) [2021-03-31T05:46:16.121Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-03-31T05:46:16.392Z] (4/5) Installing libzmq (4.3.3-r0) [2021-03-31T05:46:16.670Z] (5/5) Installing zeromq (4.3.3-r0) [2021-03-31T05:46:16.670Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T05:46:16.670Z] OK: 8 MiB in 19 packages [2021-03-31T05:46:18.110Z] Removing intermediate container df90bd613531 [2021-03-31T05:46:18.110Z] ---> 7296200b1161 [2021-03-31T05:46:18.110Z] Step 14/23 : WORKDIR / [2021-03-31T05:46:18.110Z] ---> Running in a708fd8193c2 [2021-03-31T05:46:18.705Z] Removing intermediate container a708fd8193c2 [2021-03-31T05:46:18.705Z] ---> 06deae72e394 [2021-03-31T05:46:18.705Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-03-31T05:46:19.299Z] ---> 89dd258f5104 [2021-03-31T05:46:19.299Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-03-31T05:46:20.741Z] ---> 2f910d51e532 [2021-03-31T05:46:20.741Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-03-31T05:46:21.340Z] ---> 1ea90a9cfb97 [2021-03-31T05:46:21.340Z] Step 18/23 : EXPOSE 49990 [2021-03-31T05:46:21.340Z] ---> Running in 6fa681594a72 [2021-03-31T05:46:21.936Z] Removing intermediate container 6fa681594a72 [2021-03-31T05:46:21.936Z] ---> 3cb032d31e24 [2021-03-31T05:46:21.936Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-03-31T05:46:21.936Z] ---> Running in d416f7604ab3 [2021-03-31T05:46:22.530Z] Removing intermediate container d416f7604ab3 [2021-03-31T05:46:22.530Z] ---> 1a6ea051d574 [2021-03-31T05:46:22.530Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-31T05:46:22.530Z] ---> Running in b0b649b5afaa [2021-03-31T05:46:23.129Z] Removing intermediate container b0b649b5afaa [2021-03-31T05:46:23.129Z] ---> afa1bf894498 [2021-03-31T05:46:23.129Z] Step 21/23 : LABEL arch=arm64 [2021-03-31T05:46:23.129Z] ---> Running in 3c023e906bff [2021-03-31T05:46:23.722Z] Removing intermediate container 3c023e906bff [2021-03-31T05:46:23.722Z] ---> cebfa86e8f8c [2021-03-31T05:46:23.722Z] Step 22/23 : LABEL git_sha=8ee8d9a65184e2ba6c413d8f37464c8e38dd684d [2021-03-31T05:46:23.722Z] ---> Running in 788413c7fbb3 [2021-03-31T05:46:24.318Z] Removing intermediate container 788413c7fbb3 [2021-03-31T05:46:24.318Z] ---> 065237b0ea53 [2021-03-31T05:46:24.318Z] Step 23/23 : LABEL version=0.0.0 [2021-03-31T05:46:24.318Z] ---> Running in 04ff0cf970f1 [2021-03-31T05:46:24.592Z] Removing intermediate container 04ff0cf970f1 [2021-03-31T05:46:24.592Z] ---> 63144441a3c2 [2021-03-31T05:46:24.592Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-03-31T05:46:24.864Z] Successfully built 63144441a3c2 [2021-03-31T05:46:24.864Z] 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-31T05:46:25.946Z] ---> job-cost.sh [2021-03-31T05:46:25.946Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qr6J [2021-03-31T05:47:04.899Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-31T05:48:41.641Z] lf-activate-venv(): INFO: Adding /tmp/venv-qr6J/bin to PATH [2021-03-31T05:48:41.641Z] INFO: No Stack... [2021-03-31T05:48:41.641Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-31T05:48:41.641Z] INFO: Archiving Costs [Pipeline] sh [2021-03-31T05:48:42.003Z] + cut -d, -f6 [2021-03-31T05:48:42.004Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-03-31T05:48:42.139Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-850-1-stack-cost] [2021-03-31T05:48:42.145Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-850-1-stack-cost] did not exist. Created. [2021-03-31T05:48:42.145Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-850-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-31T05:48:42.751Z] /w/workspace/device-sdk-go/1@tmp/durable-2015b1d4/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-2015b1d4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-31T05:48:43.141Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-31T05:48:43.181Z] Warning: overwriting stash ‘stack-cost’ [2021-03-31T05:48:43.339Z] Stashed 1 file(s) [Pipeline] } [2021-03-31T05:48:43.363Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-850-1-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-31T05:48:45.391Z] provisioning config files... [2021-03-31T05:48:45.405Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/config3031602720701305901tmp [Pipeline] { [Pipeline] sh [2021-03-31T05:48:45.848Z] + set +x [2021-03-31T05:48:45.849Z] + curl -s https://codecov.io/bash [2021-03-31T05:48:45.849Z] + bash -s -- [2021-03-31T05:48:46.113Z] [2021-03-31T05:48:46.113Z] _____ _ [2021-03-31T05:48:46.113Z] / ____| | | [2021-03-31T05:48:46.113Z] | | ___ __| | ___ ___ _____ __ [2021-03-31T05:48:46.113Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-31T05:48:46.113Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-31T05:48:46.113Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-31T05:48:46.113Z] Bash-20210309-2b87ace [2021-03-31T05:48:46.113Z] [2021-03-31T05:48:46.113Z] [2021-03-31T05:48:46.113Z] ==> git version 2.24.3 found [2021-03-31T05:48:46.113Z] ==> 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-31T05:48:46.113Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-31T05:48:46.113Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-31T05:48:46.113Z] ==> Jenkins CI detected. [2021-03-31T05:48:46.113Z] project root: . [2021-03-31T05:48:46.113Z] --> token set from env [2021-03-31T05:48:46.113Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-31T05:48:46.113Z] ==> Running gcov in . (disable via -X gcov) [2021-03-31T05:48:46.113Z] ==> Python coveragepy not found [2021-03-31T05:48:46.113Z] ==> Searching for coverage reports in: [2021-03-31T05:48:46.113Z] + . [2021-03-31T05:48:46.113Z] -> Found 1 reports [2021-03-31T05:48:46.113Z] ==> Detecting git/mercurial file structure [2021-03-31T05:48:46.113Z] ==> Reading reports [2021-03-31T05:48:46.113Z] + ./coverage.out bytes=101416 [2021-03-31T05:48:46.113Z] ==> Appending adjustments [2021-03-31T05:48:46.113Z] https://docs.codecov.io/docs/fixing-reports [2021-03-31T05:48:46.691Z] + Found adjustments [2021-03-31T05:48:46.691Z] ==> Gzipping contents [2021-03-31T05:48:46.691Z] 16K /tmp/codecov.J81wHk.gz [2021-03-31T05:48:46.691Z] ==> Uploading reports [2021-03-31T05:48:46.691Z] url: https://codecov.io [2021-03-31T05:48:46.691Z] query: branch=PR-850&commit=8ee8d9a65184e2ba6c413d8f37464c8e38dd684d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-850%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=850&job=&cmd_args= [2021-03-31T05:48:46.691Z] -> Pinging Codecov [2021-03-31T05:48:46.691Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-850&commit=8ee8d9a65184e2ba6c413d8f37464c8e38dd684d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-850%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=850&job=&cmd_args= [2021-03-31T05:48:46.957Z] -> Uploading to [2021-03-31T05:48:46.957Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-31/7E55EF52A471D76F132DFD9A03CDDE97/8ee8d9a65184e2ba6c413d8f37464c8e38dd684d/3471e357-a795-44d2-b7b1-90bfecc43b97.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210331%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210331T054846Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=954444fc650590d337ad6e1571b5d10ad326a7f391506c80d80664861935c007 [2021-03-31T05:48:46.957Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-31T05:48:46.957Z] Dload Upload Total Spent Left Speed [2021-03-31T05:48:47.536Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13748 0 0 100 13748 0 33725 --:--:-- --:--:-- --:--:-- 33778 [2021-03-31T05:48:47.536Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/8ee8d9a65184e2ba6c413d8f37464c8e38dd684d [Pipeline] } [2021-03-31T05:48:47.580Z] 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-31T05:48:51.013Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T05:48:51.362Z] ---> package-listing.sh [2021-03-31T05:48:51.363Z] ++ facter osfamily [2021-03-31T05:48:51.363Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-31T05:48:51.363Z] + OS_FAMILY=redhat [2021-03-31T05:48:51.363Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-850 [2021-03-31T05:48:51.363Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-31T05:48:51.363Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-31T05:48:51.363Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-31T05:48:51.363Z] + PACKAGES=/tmp/packages_start.txt [2021-03-31T05:48:51.363Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-850 ']' [2021-03-31T05:48:51.363Z] + PACKAGES=/tmp/packages_end.txt [2021-03-31T05:48:51.363Z] + case "${OS_FAMILY}" in [2021-03-31T05:48:51.363Z] + rpm -qa [2021-03-31T05:48:51.363Z] + sort [2021-03-31T05:48:56.682Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-31T05:48:56.682Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-31T05:48:56.682Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-31T05:48:56.682Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-850 ']' [2021-03-31T05:48:56.682Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-850/archives/ [2021-03-31T05:48:56.682Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-850/archives/ [Pipeline] echo [2021-03-31T05:48:56.721Z] 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-850/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-31T05:48:57.035Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-31T05:48:57.375Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T05:48:57.375Z] [2021-03-31T05:48:57.375Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-31T05:48:57.767Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T05:48:57.767Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-31T05:48:57.767Z] df20fa9351a1: Pulling fs layer [2021-03-31T05:48:57.767Z] 36b3adc4ff6f: Pulling fs layer [2021-03-31T05:48:57.767Z] 8ad3a11d3b57: Pulling fs layer [2021-03-31T05:48:57.767Z] 46f8f816bc3b: Pulling fs layer [2021-03-31T05:48:57.767Z] 93b61091891f: Pulling fs layer [2021-03-31T05:48:57.767Z] 93b9cdb0e59b: Pulling fs layer [2021-03-31T05:48:57.767Z] 5e14af77c1be: Pulling fs layer [2021-03-31T05:48:57.767Z] 01666e4c0597: Pulling fs layer [2021-03-31T05:48:57.767Z] aa168da1d23b: Pulling fs layer [2021-03-31T05:48:57.767Z] 93b9cdb0e59b: Waiting [2021-03-31T05:48:57.767Z] 5e14af77c1be: Waiting [2021-03-31T05:48:57.767Z] 01666e4c0597: Waiting [2021-03-31T05:48:57.767Z] 46f8f816bc3b: Waiting [2021-03-31T05:48:57.767Z] 93b61091891f: Waiting [2021-03-31T05:48:57.767Z] 36b3adc4ff6f: Download complete [2021-03-31T05:48:57.767Z] 46f8f816bc3b: Verifying Checksum [2021-03-31T05:48:57.767Z] 46f8f816bc3b: Download complete [2021-03-31T05:48:58.030Z] df20fa9351a1: Download complete [2021-03-31T05:48:58.030Z] 93b9cdb0e59b: Verifying Checksum [2021-03-31T05:48:58.030Z] 93b9cdb0e59b: Download complete [2021-03-31T05:48:58.030Z] 5e14af77c1be: Verifying Checksum [2021-03-31T05:48:58.030Z] 5e14af77c1be: Download complete [2021-03-31T05:48:58.030Z] 93b61091891f: Verifying Checksum [2021-03-31T05:48:58.030Z] 93b61091891f: Download complete [2021-03-31T05:48:58.030Z] 01666e4c0597: Verifying Checksum [2021-03-31T05:48:58.030Z] 01666e4c0597: Download complete [2021-03-31T05:48:58.613Z] df20fa9351a1: Pull complete [2021-03-31T05:48:58.613Z] 36b3adc4ff6f: Pull complete [2021-03-31T05:48:58.879Z] 8ad3a11d3b57: Verifying Checksum [2021-03-31T05:48:58.879Z] 8ad3a11d3b57: Download complete [2021-03-31T05:48:59.841Z] 8ad3a11d3b57: Pull complete [2021-03-31T05:48:59.841Z] 46f8f816bc3b: Pull complete [2021-03-31T05:49:00.804Z] 93b61091891f: Pull complete [2021-03-31T05:49:00.805Z] aa168da1d23b: Verifying Checksum [2021-03-31T05:49:00.805Z] aa168da1d23b: Download complete [2021-03-31T05:49:00.805Z] 93b9cdb0e59b: Pull complete [2021-03-31T05:49:01.067Z] 5e14af77c1be: Pull complete [2021-03-31T05:49:01.067Z] 01666e4c0597: Pull complete [2021-03-31T05:49:07.704Z] aa168da1d23b: Pull complete [2021-03-31T05:49:07.704Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-31T05:49:07.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T05:49:07.704Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-31T05:49:07.936Z] prd-centos7-docker-4c-2g-32207 does not seem to be running inside a container [2021-03-31T05:49:07.988Z] $ 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-850/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-850 -v /w/workspace/dgexfoundry_device-sdk-go_PR-850:/w/workspace/dgexfoundry_device-sdk-go_PR-850:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-850@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-31T05:49:12.214Z] $ docker top b9e208c2cc0c6849f5ab579a956fe83bd47ea9ce84d021803a4d4c7a565d9f0f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T05:49:12.790Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-31T05:49:13.141Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-31T05:49:13.482Z] + ls /var/log/sa-host [2021-03-31T05:49:13.482Z] + sadf -c /var/log/sa-host/sa23 [2021-03-31T05:49:13.482Z] file_magic: OK [2021-03-31T05:49:13.482Z] HZ: Using current value: 100 [2021-03-31T05:49:13.482Z] file_header: OK [2021-03-31T05:49:13.482Z] 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-31T05:49:13.482Z] Statistics: [2021-03-31T05:49:13.482Z] Hnuu...uuuununununu... [2021-03-31T05:49:13.482Z] File successfully converted to sysstat format version 12.2.1 [2021-03-31T05:49:13.482Z] + sadf -c /var/log/sa-host/sa31 [2021-03-31T05:49:13.482Z] file_magic: OK [2021-03-31T05:49:13.482Z] HZ: Using current value: 100 [2021-03-31T05:49:13.482Z] file_header: OK [2021-03-31T05:49:13.482Z] 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-31T05:49:13.482Z] Statistics: [2021-03-31T05:49:13.482Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-31T05:49:13.482Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-31T05:49:14.246Z] provisioning config files... [2021-03-31T05:49:14.264Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/config2702459109257014897tmp [Pipeline] { [Pipeline] echo [2021-03-31T05:49:14.380Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T05:49:14.728Z] ---> create-netrc.sh [Pipeline] } [2021-03-31T05:49:14.763Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-31T05:49:14.921Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T05:49:15.279Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-31T05:49:15.306Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T05:49:15.638Z] ---> sudo-logs.sh [2021-03-31T05:49:15.638Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-31T05:49:15.750Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T05:49:16.076Z] ---> job-cost.sh [2021-03-31T05:49:16.076Z] lf-activate-venv: SKIPPING [2021-03-31T05:49:16.076Z] DEBUG: total: 0.20999999344348907 [2021-03-31T05:49:16.076Z] INFO: Retrieving Stack Cost... [2021-03-31T05:49:17.022Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-31T05:49:17.597Z] INFO: Archiving Costs [Pipeline] echo [2021-03-31T05:49:17.631Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T05:49:17.960Z] ---> logs-deploy.sh [2021-03-31T05:49:17.960Z] lf-activate-venv: SKIPPING [2021-03-31T05:49:17.960Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-850/1 [2021-03-31T05:49:17.960Z] INFO: archiving workspace using pattern(s): [2021-03-31T05:49:19.881Z] Archives upload complete. [2021-03-31T05:49:19.881Z] INFO: archiving logs to Nexus