Pull request #832 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5dcdf229f075de250373f56c9f7368f0a8357383+5b084bdeafa1e122a5c890164a05a3ac30530fc3 (e1a437852c7288025ba4f77ec7554eb3097ece1b) 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-832/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-832/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-31019 in /w/workspace/dgexfoundry_device-sdk-go_PR-832 [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-832 # 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 5b084bdeafa1e122a5c890164a05a3ac30530fc3 into PR head commit 5dcdf229f075de250373f56c9f7368f0a8357383 > 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/832/head:refs/remotes/origin/PR-832 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merge succeeded, producing 5dcdf229f075de250373f56c9f7368f0a8357383 Checking out Revision 5dcdf229f075de250373f56c9f7368f0a8357383 (PR-832) > git config core.sparsecheckout # timeout=10 > git checkout -f 5dcdf229f075de250373f56c9f7368f0a8357383 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5dcdf229f075de250373f56c9f7368f0a8357383 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/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-23T05:56:44.436Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-23T05:56:44.815Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-23T05:56:45.069Z] ========================================================= [2021-03-23T05:56:45.069Z] EdgeX Global Pipelines Version Info [2021-03-23T05:56:45.069Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-23T05:56:46.615Z] ------------------- [2021-03-23T05:56:46.615Z] stable info: [2021-03-23T05:56:46.615Z] ------------------- [2021-03-23T05:56:46.615Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-23T05:56:46.615Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-23T05:56:46.615Z] Message: update stable to v1.0.186 [2021-03-23T05:56:47.562Z] ------------------- [2021-03-23T05:56:47.562Z] experimental info: [2021-03-23T05:56:47.562Z] ------------------- [2021-03-23T05:56:47.562Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-23T05:56:47.562Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-23T05:56:47.562Z] Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-23T05:56:47.983Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-23T05:56:48.187Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-23T05:56:48.339Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-23T05:56:48.477Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-23T05:56:48.613Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-23T05:56:48.777Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-23T05:56:48.914Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-23T05:56:49.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-23T05:56:49.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-23T05:56:49.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-23T05:56:49.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-23T05:56:49.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-23T05:56:49.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-23T05:56:49.914Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-23T05:56:50.066Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-23T05:56:50.257Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-23T05:56:50.401Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-23T05:56:50.581Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-23T05:56:50.730Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-23T05:56:50.869Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-23T05:56:50.996Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-23T05:56:51.190Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-23T05:56:51.334Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-23T05:56:51.472Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-23T05:56:51.608Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-23T05:56:51.764Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-23T05:56:51.891Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-832 [Pipeline] echo [2021-03-23T05:56:52.020Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-832 [Pipeline] echo [2021-03-23T05:56:52.148Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-832 [Pipeline] echo [2021-03-23T05:56:52.275Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5dcdf229f075de250373f56c9f7368f0a8357383 [Pipeline] echo [2021-03-23T05:56:52.407Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5dcdf22 [Pipeline] echo [2021-03-23T05:56:52.567Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-23T05:56:52.854Z] provisioning config files... [2021-03-23T05:56:52.887Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-832@tmp/config5249462731179821779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-23T05:56:53.350Z] ---> docker-login.sh [2021-03-23T05:56:53.351Z] nexus3.edgexfoundry.org:10001 [2021-03-23T05:56:53.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T05:56:53.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T05:56:53.878Z] Configure a credential helper to remove this warning. See [2021-03-23T05:56:53.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T05:56:53.878Z] [2021-03-23T05:56:53.878Z] Login Succeeded [2021-03-23T05:56:53.878Z] nexus3.edgexfoundry.org:10002 [2021-03-23T05:56:53.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T05:56:53.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T05:56:53.878Z] Configure a credential helper to remove this warning. See [2021-03-23T05:56:53.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T05:56:53.878Z] [2021-03-23T05:56:53.878Z] Login Succeeded [2021-03-23T05:56:53.878Z] nexus3.edgexfoundry.org:10003 [2021-03-23T05:56:54.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T05:56:54.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T05:56:54.142Z] Configure a credential helper to remove this warning. See [2021-03-23T05:56:54.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T05:56:54.142Z] [2021-03-23T05:56:54.142Z] Login Succeeded [2021-03-23T05:56:54.142Z] nexus3.edgexfoundry.org:10004 [2021-03-23T05:56:54.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T05:56:54.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T05:56:54.404Z] Configure a credential helper to remove this warning. See [2021-03-23T05:56:54.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T05:56:54.404Z] [2021-03-23T05:56:54.404Z] Login Succeeded [2021-03-23T05:56:54.404Z] docker.io [2021-03-23T05:56:54.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T05:56:54.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T05:56:54.667Z] Configure a credential helper to remove this warning. See [2021-03-23T05:56:54.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T05:56:54.667Z] [2021-03-23T05:56:54.667Z] Login Succeeded [2021-03-23T05:56:54.667Z] ---> docker-login.sh ends [Pipeline] } [2021-03-23T05:56:54.690Z] 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-23T05:56:55.839Z] + git log --format=format:%s -1 5dcdf229f075de250373f56c9f7368f0a8357383 [Pipeline] echo [2021-03-23T05:56:55.948Z] GIT_COMMIT: 5dcdf229f075de250373f56c9f7368f0a8357383, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-03-23T05:56:56.023Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-23T05:56:57.144Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-23T05:56:57.144Z] [2021-03-23T05:56:57.144Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-23T05:56:57.578Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-23T05:56:57.578Z] latest: Pulling from edgex-devops/git-semver [2021-03-23T05:56:57.578Z] 31603596830f: Pulling fs layer [2021-03-23T05:56:57.578Z] 2a8b12db71e7: Pulling fs layer [2021-03-23T05:56:57.578Z] 6ca5941a6612: Pulling fs layer [2021-03-23T05:56:57.578Z] ecc8261a40a4: Pulling fs layer [2021-03-23T05:56:57.578Z] ecc8261a40a4: Waiting [2021-03-23T05:56:57.578Z] 2a8b12db71e7: Download complete [2021-03-23T05:56:57.845Z] 31603596830f: Verifying Checksum [2021-03-23T05:56:57.845Z] 31603596830f: Download complete [2021-03-23T05:56:57.845Z] ecc8261a40a4: Verifying Checksum [2021-03-23T05:56:57.845Z] ecc8261a40a4: Download complete [2021-03-23T05:56:58.111Z] 6ca5941a6612: Verifying Checksum [2021-03-23T05:56:58.111Z] 6ca5941a6612: Download complete [2021-03-23T05:56:58.111Z] 31603596830f: Pull complete [2021-03-23T05:56:58.377Z] 2a8b12db71e7: Pull complete [2021-03-23T05:56:58.955Z] 6ca5941a6612: Pull complete [2021-03-23T05:56:59.225Z] ecc8261a40a4: Pull complete [2021-03-23T05:56:59.225Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-23T05:56:59.489Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-23T05:56:59.489Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-23T05:56:59.634Z] prd-centos7-docker-4c-2g-31019 does not seem to be running inside a container [2021-03-23T05:56:59.710Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-832 -v /w/workspace/dgexfoundry_device-sdk-go_PR-832:/w/workspace/dgexfoundry_device-sdk-go_PR-832:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-832@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-832@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-23T05:57:02.186Z] $ docker top b8855d26241088c04d63cbe855fd7c6d4f395c5c59b268e1a84b52b72490df3e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-23T05:57:02.605Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-23T05:57:02.605Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-23T05:57:02.836Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-23T05:57:02.838Z] $ docker exec b8855d26241088c04d63cbe855fd7c6d4f395c5c59b268e1a84b52b72490df3e ssh-agent [2021-03-23T05:57:03.001Z] SSH_AUTH_SOCK=/tmp/ssh-vfJPyr16ECSw/agent.11 [2021-03-23T05:57:03.001Z] SSH_AGENT_PID=16 [2021-03-23T05:57:03.015Z] Running ssh-add (command line suppressed) [2021-03-23T05:57:03.128Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-832@tmp/private_key_8799517392065529449.key (/w/workspace/dgexfoundry_device-sdk-go_PR-832@tmp/private_key_8799517392065529449.key) [2021-03-23T05:57:03.181Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-23T05:57:03.574Z] + git tag --points-at HEAD [Pipeline] } [2021-03-23T05:57:03.608Z] $ docker exec --env ******** --env ******** b8855d26241088c04d63cbe855fd7c6d4f395c5c59b268e1a84b52b72490df3e ssh-agent -k [2021-03-23T05:57:03.717Z] unset SSH_AUTH_SOCK; [2021-03-23T05:57:03.717Z] unset SSH_AGENT_PID; [2021-03-23T05:57:03.717Z] echo Agent pid 16 killed; [2021-03-23T05:57:03.767Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-23T05:57:03.983Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-23T05:57:03.983Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-23T05:57:04.139Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-23T05:57:04.141Z] $ docker exec b8855d26241088c04d63cbe855fd7c6d4f395c5c59b268e1a84b52b72490df3e ssh-agent [2021-03-23T05:57:04.299Z] SSH_AUTH_SOCK=/tmp/ssh-91KreEkdfabw/agent.46 [2021-03-23T05:57:04.299Z] SSH_AGENT_PID=51 [2021-03-23T05:57:04.306Z] Running ssh-add (command line suppressed) [2021-03-23T05:57:04.420Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-832@tmp/private_key_1405515101131157703.key (/w/workspace/dgexfoundry_device-sdk-go_PR-832@tmp/private_key_1405515101131157703.key) [2021-03-23T05:57:04.473Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-23T05:57:04.868Z] + git semver init [2021-03-23T05:57:04.868Z] # -> Open(): unable to determine branch for HEAD [2021-03-23T05:57:04.868Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-832/.git [2021-03-23T05:57:04.868Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-832 [2021-03-23T05:57:04.868Z] # $SEMVER_REMOTE_NAME = origin [2021-03-23T05:57:04.868Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-23T05:57:04.868Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-23T05:57:04.868Z] # $SEMVER_BRANCH = PR-832 [2021-03-23T05:57:04.868Z] # $SEMVER_TEMP = /tmp/semver-675328965 [2021-03-23T05:57:04.868Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-23T05:57:05.462Z] # '/tmp/semver-675328965' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-832/.semver' [2021-03-23T05:57:05.726Z] # -> Force: false [2021-03-23T05:57:05.726Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-832/.semver [Pipeline] } [2021-03-23T05:57:05.749Z] $ docker exec --env ******** --env ******** b8855d26241088c04d63cbe855fd7c6d4f395c5c59b268e1a84b52b72490df3e ssh-agent -k [2021-03-23T05:57:05.867Z] unset SSH_AUTH_SOCK; [2021-03-23T05:57:05.868Z] unset SSH_AGENT_PID; [2021-03-23T05:57:05.868Z] echo Agent pid 51 killed; [2021-03-23T05:57:05.917Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-23T05:57:06.499Z] + git semver [Pipeline] } [2021-03-23T05:57:06.534Z] $ docker stop --time=1 b8855d26241088c04d63cbe855fd7c6d4f395c5c59b268e1a84b52b72490df3e [2021-03-23T05:57:08.151Z] $ docker rm -f b8855d26241088c04d63cbe855fd7c6d4f395c5c59b268e1a84b52b72490df3e [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-23T05:57:08.689Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-23T05:57:09.252Z] Stashed 1 file(s) [Pipeline] echo [2021-03-23T05:57:09.276Z] [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-23T05:57:25.368Z] Still waiting to schedule task [2021-03-23T05:57:25.368Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-31019’ [2021-03-23T05:57:25.395Z] Still waiting to schedule task [2021-03-23T05:57:25.395Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-23T05:59:11.512Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-31020 in /w/workspace/dgexfoundry_device-sdk-go_PR-832 [Pipeline] { [Pipeline] ws [2021-03-23T05:59:11.603Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-23T05:59:16.752Z] using credential edgex-jenkins-ssh [2021-03-23T05:59:16.810Z] Cloning the remote Git repository [2021-03-23T05:59:16.846Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-23T05:59:16.958Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-23T05:59:17.024Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-23T05:59:17.024Z] > git --version # timeout=10 [2021-03-23T05:59:17.041Z] > git --version # 'git version 2.17.1' [2021-03-23T05:59:17.043Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-23T05:59:17.104Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-23T05:59:18.876Z] Merging remotes/origin/master commit 5b084bdeafa1e122a5c890164a05a3ac30530fc3 into PR head commit 5dcdf229f075de250373f56c9f7368f0a8357383 [2021-03-23T05:59:19.130Z] Merge succeeded, producing 5dcdf229f075de250373f56c9f7368f0a8357383 [2021-03-23T05:59:19.131Z] Checking out Revision 5dcdf229f075de250373f56c9f7368f0a8357383 (PR-832) [2021-03-23T05:59:18.267Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-23T05:59:18.288Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-23T05:59:18.320Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-23T05:59:18.354Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-23T05:59:18.355Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-23T05:59:18.367Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/832/head:refs/remotes/origin/PR-832 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-23T05:59:18.882Z] > git config core.sparsecheckout # timeout=10 [2021-03-23T05:59:18.895Z] > git checkout -f 5dcdf229f075de250373f56c9f7368f0a8357383 # timeout=10 [2021-03-23T05:59:18.990Z] > git remote # timeout=10 [2021-03-23T05:59:19.006Z] > git config --get remote.origin.url # timeout=10 [2021-03-23T05:59:19.017Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-23T05:59:19.027Z] > git merge 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 [2021-03-23T05:59:19.091Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-23T05:59:19.123Z] > git config core.sparsecheckout # timeout=10 [2021-03-23T05:59:19.141Z] > git checkout -f 5dcdf229f075de250373f56c9f7368f0a8357383 # timeout=10 [2021-03-23T05:59:23.399Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-03-23T05:59:23.445Z] > git --version # timeout=10 [2021-03-23T05:59:23.456Z] > git --version # 'git version 2.17.1' [2021-03-23T05:59:23.470Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-23T05:59:25.267Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-23T05:59:25.777Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-23T05:59:26.136Z] + + true [2021-03-23T05:59:26.136Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-23T05:59:28.901Z] provisioning config files... [2021-03-23T05:59:28.940Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6195519208094236696tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-23T05:59:29.424Z] ---> docker-login.sh [2021-03-23T05:59:29.424Z] nexus3.edgexfoundry.org:10001 [2021-03-23T05:59:30.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T05:59:30.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T05:59:30.685Z] Configure a credential helper to remove this warning. See [2021-03-23T05:59:30.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T05:59:30.686Z] [2021-03-23T05:59:30.686Z] Login Succeeded [2021-03-23T05:59:30.686Z] nexus3.edgexfoundry.org:10002 [2021-03-23T05:59:30.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T05:59:31.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T05:59:31.234Z] Configure a credential helper to remove this warning. See [2021-03-23T05:59:31.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T05:59:31.234Z] [2021-03-23T05:59:31.234Z] Login Succeeded [2021-03-23T05:59:31.234Z] nexus3.edgexfoundry.org:10003 [2021-03-23T05:59:31.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T05:59:31.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T05:59:31.787Z] Configure a credential helper to remove this warning. See [2021-03-23T05:59:31.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T05:59:31.787Z] [2021-03-23T05:59:31.787Z] Login Succeeded [2021-03-23T05:59:31.787Z] nexus3.edgexfoundry.org:10004 [2021-03-23T05:59:32.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T05:59:32.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T05:59:32.340Z] Configure a credential helper to remove this warning. See [2021-03-23T05:59:32.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T05:59:32.340Z] [2021-03-23T05:59:32.340Z] Login Succeeded [2021-03-23T05:59:32.340Z] docker.io [2021-03-23T05:59:32.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T05:59:32.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T05:59:32.884Z] Configure a credential helper to remove this warning. See [2021-03-23T05:59:32.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T05:59:32.884Z] [2021-03-23T05:59:32.884Z] Login Succeeded [2021-03-23T05:59:32.884Z] ---> docker-login.sh ends [Pipeline] } [2021-03-23T05:59:32.914Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-23T05:59:33.483Z] ========================================================= [2021-03-23T05:59:33.483Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-23T05:59:33.483Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-23T05:59:33.904Z] + 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-23T05:59:34.179Z] Sending build context to Docker daemon 2.289MB [2021-03-23T05:59:34.455Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-23T05:59:34.455Z] Step 2/8 : FROM ${BASE} [2021-03-23T05:59:34.455Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-23T05:59:34.455Z] 5f621e34cdf4: Pulling fs layer [2021-03-23T05:59:34.455Z] a4357932f1b6: Pulling fs layer [2021-03-23T05:59:34.455Z] 18c013af1878: Pulling fs layer [2021-03-23T05:59:34.455Z] 00ac8860ef70: Pulling fs layer [2021-03-23T05:59:34.455Z] 63d7cb157983: Pulling fs layer [2021-03-23T05:59:34.455Z] b116817d02f9: Pulling fs layer [2021-03-23T05:59:34.455Z] 745a02a5169b: Pulling fs layer [2021-03-23T05:59:34.455Z] 00ac8860ef70: Waiting [2021-03-23T05:59:34.455Z] b116817d02f9: Waiting [2021-03-23T05:59:34.455Z] 745a02a5169b: Waiting [2021-03-23T05:59:34.455Z] 63d7cb157983: Waiting [2021-03-23T05:59:34.455Z] 18c013af1878: Download complete [2021-03-23T05:59:34.455Z] a4357932f1b6: Verifying Checksum [2021-03-23T05:59:34.455Z] a4357932f1b6: Download complete [2021-03-23T05:59:34.455Z] 63d7cb157983: Verifying Checksum [2021-03-23T05:59:34.455Z] 63d7cb157983: Download complete [2021-03-23T05:59:34.455Z] b116817d02f9: Verifying Checksum [2021-03-23T05:59:34.455Z] b116817d02f9: Download complete [2021-03-23T05:59:34.455Z] 5f621e34cdf4: Verifying Checksum [2021-03-23T05:59:34.455Z] 5f621e34cdf4: Download complete [2021-03-23T05:59:35.061Z] 5f621e34cdf4: Pull complete [2021-03-23T05:59:35.672Z] a4357932f1b6: Pull complete [2021-03-23T05:59:36.275Z] 18c013af1878: Pull complete [2021-03-23T05:59:37.715Z] 745a02a5169b: Verifying Checksum [2021-03-23T05:59:37.715Z] 745a02a5169b: Download complete [2021-03-23T05:59:38.699Z] 00ac8860ef70: Verifying Checksum [2021-03-23T05:59:38.699Z] 00ac8860ef70: Download complete [2021-03-23T05:59:48.874Z] 00ac8860ef70: Pull complete [2021-03-23T05:59:49.149Z] 63d7cb157983: Pull complete [2021-03-23T05:59:49.427Z] b116817d02f9: Pull complete [2021-03-23T05:59:53.757Z] 745a02a5169b: Pull complete [2021-03-23T05:59:53.757Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-23T05:59:53.757Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-23T05:59:53.757Z] ---> b7e6874047d6 [2021-03-23T05:59:53.757Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-23T05:59:56.397Z] ---> Running in 3f1da90246a7 [2021-03-23T05:59:56.397Z] Removing intermediate container 3f1da90246a7 [2021-03-23T05:59:56.397Z] ---> c73da926107e [2021-03-23T05:59:56.397Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-23T05:59:56.673Z] ---> Running in f86fd56a8747 [2021-03-23T05:59:59.311Z] Removing intermediate container f86fd56a8747 [2021-03-23T05:59:59.311Z] ---> b2b1f621e178 [2021-03-23T05:59:59.311Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-23T05:59:59.311Z] ---> Running in 9115abcabc71 [2021-03-23T05:59:59.908Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-23T06:00:00.880Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-23T06:00:01.473Z] OK: 142 MiB in 39 packages [2021-03-23T06:00:02.945Z] Removing intermediate container 9115abcabc71 [2021-03-23T06:00:02.945Z] ---> 7b8a6b2b2eaa [2021-03-23T06:00:02.945Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-23T06:00:02.945Z] ---> Running in 66ff22d769c1 [2021-03-23T06:00:03.230Z] Removing intermediate container 66ff22d769c1 [2021-03-23T06:00:03.230Z] ---> e457b6692d6b [2021-03-23T06:00:03.230Z] Step 7/8 : COPY . . [2021-03-23T06:00:04.687Z] ---> d275ad04ec26 [2021-03-23T06:00:04.687Z] Step 8/8 : RUN go mod download [2021-03-23T06:00:04.687Z] ---> Running in 3fe358d682e5 [2021-03-23T06:00:09.248Z] Running on prd-centos7-docker-4c-2g-31021 in /w/workspace/dgexfoundry_device-sdk-go_PR-832 [Pipeline] { [Pipeline] ws [2021-03-23T06:00:09.342Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-23T06:00:11.869Z] using credential edgex-jenkins-ssh [2021-03-23T06:00:11.926Z] Cloning the remote Git repository [2021-03-23T06:00:11.473Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-23T06:00:11.547Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-23T06:00:11.612Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-23T06:00:11.613Z] > git --version # timeout=10 [2021-03-23T06:00:11.620Z] > git --version # 'git version 2.24.3' [2021-03-23T06:00:11.621Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-23T06:00:11.650Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-23T06:00:13.487Z] Merging remotes/origin/master commit 5b084bdeafa1e122a5c890164a05a3ac30530fc3 into PR head commit 5dcdf229f075de250373f56c9f7368f0a8357383 [2021-03-23T06:00:13.586Z] Merge succeeded, producing 5dcdf229f075de250373f56c9f7368f0a8357383 [2021-03-23T06:00:13.587Z] Checking out Revision 5dcdf229f075de250373f56c9f7368f0a8357383 (PR-832) [2021-03-23T06:00:12.615Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-23T06:00:12.620Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-23T06:00:12.633Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-23T06:00:12.651Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-23T06:00:12.651Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-23T06:00:12.657Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/832/head:refs/remotes/origin/PR-832 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-23T06:00:13.146Z] > git config core.sparsecheckout # timeout=10 [2021-03-23T06:00:13.154Z] > git checkout -f 5dcdf229f075de250373f56c9f7368f0a8357383 # timeout=10 [2021-03-23T06:00:13.205Z] > git remote # timeout=10 [2021-03-23T06:00:13.211Z] > git config --get remote.origin.url # timeout=10 [2021-03-23T06:00:13.219Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-23T06:00:13.223Z] > git merge 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 [2021-03-23T06:00:13.236Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-23T06:00:13.247Z] > git config core.sparsecheckout # timeout=10 [2021-03-23T06:00:13.252Z] > git checkout -f 5dcdf229f075de250373f56c9f7368f0a8357383 # timeout=10 [2021-03-23T06:00:17.074Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-03-23T06:00:17.050Z] > git --version # timeout=10 [2021-03-23T06:00:17.056Z] > git --version # 'git version 2.24.3' [2021-03-23T06:00:17.064Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-23T06:00:18.549Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-23T06:00:18.904Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-23T06:00:19.227Z] + sudo service docker restart [2021-03-23T06:00:19.227Z] + true [2021-03-23T06:00:19.227Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-23T06:00:20.312Z] provisioning config files... [2021-03-23T06:00:20.339Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5780397281074584764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:00:20.884Z] ---> docker-login.sh [2021-03-23T06:00:20.884Z] nexus3.edgexfoundry.org:10001 [2021-03-23T06:00:21.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:00:21.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:00:21.146Z] Configure a credential helper to remove this warning. See [2021-03-23T06:00:21.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:00:21.146Z] [2021-03-23T06:00:21.146Z] Login Succeeded [2021-03-23T06:00:21.146Z] nexus3.edgexfoundry.org:10002 [2021-03-23T06:00:21.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:00:21.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:00:21.409Z] Configure a credential helper to remove this warning. See [2021-03-23T06:00:21.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:00:21.409Z] [2021-03-23T06:00:21.409Z] Login Succeeded [2021-03-23T06:00:21.409Z] nexus3.edgexfoundry.org:10003 [2021-03-23T06:00:21.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:00:21.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:00:21.673Z] Configure a credential helper to remove this warning. See [2021-03-23T06:00:21.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:00:21.673Z] [2021-03-23T06:00:21.673Z] Login Succeeded [2021-03-23T06:00:21.673Z] nexus3.edgexfoundry.org:10004 [2021-03-23T06:00:21.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:00:21.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:00:21.937Z] Configure a credential helper to remove this warning. See [2021-03-23T06:00:21.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:00:21.937Z] [2021-03-23T06:00:21.937Z] Login Succeeded [2021-03-23T06:00:21.937Z] docker.io [2021-03-23T06:00:21.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:00:22.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:00:22.199Z] Configure a credential helper to remove this warning. See [2021-03-23T06:00:22.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:00:22.199Z] [2021-03-23T06:00:22.199Z] Login Succeeded [2021-03-23T06:00:22.199Z] ---> docker-login.sh ends [Pipeline] } [2021-03-23T06:00:22.226Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-23T06:00:22.777Z] ========================================================= [2021-03-23T06:00:22.777Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-23T06:00:22.777Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:00:23.180Z] + 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-23T06:00:23.180Z] Sending build context to Docker daemon 2.29MB [2021-03-23T06:00:23.180Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-23T06:00:23.180Z] Step 2/8 : FROM ${BASE} [2021-03-23T06:00:23.442Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-23T06:00:23.442Z] 188c0c94c7c5: Pulling fs layer [2021-03-23T06:00:23.442Z] 0ef7d3d256c8: Pulling fs layer [2021-03-23T06:00:23.442Z] de9db76c5a1d: Pulling fs layer [2021-03-23T06:00:23.442Z] bca2f99d35d6: Pulling fs layer [2021-03-23T06:00:23.442Z] 93359f2a8cfa: Pulling fs layer [2021-03-23T06:00:23.442Z] 7c6f9722023f: Pulling fs layer [2021-03-23T06:00:23.442Z] a35cf1a2eb13: Pulling fs layer [2021-03-23T06:00:23.442Z] bca2f99d35d6: Waiting [2021-03-23T06:00:23.442Z] 93359f2a8cfa: Waiting [2021-03-23T06:00:23.442Z] 7c6f9722023f: Waiting [2021-03-23T06:00:23.442Z] a35cf1a2eb13: Waiting [2021-03-23T06:00:23.442Z] de9db76c5a1d: Verifying Checksum [2021-03-23T06:00:23.442Z] de9db76c5a1d: Download complete [2021-03-23T06:00:23.442Z] 0ef7d3d256c8: Verifying Checksum [2021-03-23T06:00:23.442Z] 0ef7d3d256c8: Download complete [2021-03-23T06:00:23.442Z] 93359f2a8cfa: Verifying Checksum [2021-03-23T06:00:23.442Z] 93359f2a8cfa: Download complete [2021-03-23T06:00:23.442Z] 7c6f9722023f: Verifying Checksum [2021-03-23T06:00:23.442Z] 7c6f9722023f: Download complete [2021-03-23T06:00:23.442Z] 188c0c94c7c5: Verifying Checksum [2021-03-23T06:00:23.442Z] 188c0c94c7c5: Download complete [2021-03-23T06:00:23.707Z] 188c0c94c7c5: Pull complete [2021-03-23T06:00:23.979Z] 0ef7d3d256c8: Pull complete [2021-03-23T06:00:24.245Z] de9db76c5a1d: Pull complete [2021-03-23T06:00:26.804Z] a35cf1a2eb13: Verifying Checksum [2021-03-23T06:00:26.804Z] a35cf1a2eb13: Download complete [2021-03-23T06:00:28.198Z] bca2f99d35d6: Verifying Checksum [2021-03-23T06:00:28.199Z] bca2f99d35d6: Download complete [2021-03-23T06:00:31.539Z] Removing intermediate container 3fe358d682e5 [2021-03-23T06:00:31.539Z] ---> 7fa5d9eba6d4 [2021-03-23T06:00:31.539Z] Successfully built 7fa5d9eba6d4 [2021-03-23T06:00:31.539Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:00:31.967Z] + docker inspect -f . ci-base-image-arm64 [2021-03-23T06:00:31.967Z] . [Pipeline] withDockerContainer [2021-03-23T06:00:32.275Z] prd-ubuntu18.04-docker-arm64-4c-16g-31020 does not seem to be running inside a container [2021-03-23T06:00:32.372Z] $ 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-23T06:00:33.549Z] bca2f99d35d6: Pull complete [2021-03-23T06:00:33.816Z] 93359f2a8cfa: Pull complete [2021-03-23T06:00:33.816Z] 7c6f9722023f: Pull complete [2021-03-23T06:00:33.903Z] $ docker top a934b789e09b94d2457a61cf9a4807a174e784f8809f89113243df08b375528f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-23T06:00:35.015Z] + go version [2021-03-23T06:00:35.015Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-23T06:00:35.058Z] $ docker stop --time=1 a934b789e09b94d2457a61cf9a4807a174e784f8809f89113243df08b375528f [2021-03-23T06:00:36.932Z] $ docker rm -f a934b789e09b94d2457a61cf9a4807a174e784f8809f89113243df08b375528f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:00:38.272Z] + docker inspect -f . ci-base-image-arm64 [2021-03-23T06:00:38.272Z] . [Pipeline] withDockerContainer [2021-03-23T06:00:38.562Z] prd-ubuntu18.04-docker-arm64-4c-16g-31020 does not seem to be running inside a container [2021-03-23T06:00:38.644Z] $ 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-23T06:00:40.160Z] $ docker top 4afb52647df9fe480cb1f3295b75d25c0a685f93aa6db04bc38ab8278834cec3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-23T06:00:41.247Z] + make test [2021-03-23T06:00:41.247Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-23T06:00:43.896Z] a35cf1a2eb13: Pull complete [2021-03-23T06:00:43.896Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-23T06:00:43.896Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-23T06:00:43.896Z] ---> a62c8e92a672 [2021-03-23T06:00:43.896Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-23T06:00:43.896Z] ---> Running in 96887741e830 [2021-03-23T06:00:43.896Z] Removing intermediate container 96887741e830 [2021-03-23T06:00:43.896Z] ---> febc4a1f5ba6 [2021-03-23T06:00:43.896Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-23T06:00:43.896Z] ---> Running in a417fd5b07e7 [2021-03-23T06:00:44.476Z] Removing intermediate container a417fd5b07e7 [2021-03-23T06:00:44.476Z] ---> 9805b446c3ca [2021-03-23T06:00:44.476Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-23T06:00:44.476Z] ---> Running in 5bbd9841186c [2021-03-23T06:00:45.055Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-23T06:00:45.633Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-23T06:00:45.896Z] OK: 166 MiB in 39 packages [2021-03-23T06:00:46.473Z] Removing intermediate container 5bbd9841186c [2021-03-23T06:00:46.473Z] ---> bfdd56fb55af [2021-03-23T06:00:46.473Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-23T06:00:46.473Z] ---> Running in 855631e4d27d [2021-03-23T06:00:46.736Z] Removing intermediate container 855631e4d27d [2021-03-23T06:00:46.736Z] ---> b7152a64df12 [2021-03-23T06:00:46.736Z] Step 7/8 : COPY . . [2021-03-23T06:00:47.688Z] ---> 9ae38b27dc96 [2021-03-23T06:00:47.688Z] Step 8/8 : RUN go mod download [2021-03-23T06:00:47.954Z] ---> Running in a983da5933db [2021-03-23T06:01:03.434Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-23T06:01:09.990Z] Removing intermediate container a983da5933db [2021-03-23T06:01:09.990Z] ---> 1e968872ffba [2021-03-23T06:01:09.990Z] Successfully built 1e968872ffba [2021-03-23T06:01:09.990Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:01:10.353Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-23T06:01:10.354Z] . [Pipeline] withDockerContainer [2021-03-23T06:01:10.503Z] prd-centos7-docker-4c-2g-31021 does not seem to be running inside a container [2021-03-23T06:01:10.549Z] $ 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 ******** ci-base-image-x86_64 cat [2021-03-23T06:01:11.429Z] $ docker top 39c0669ac84652a3b0a9d65cc1313ac9fe5b1f6125481b8177c611b598b9c75e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-23T06:01:11.993Z] + go version [2021-03-23T06:01:11.993Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-23T06:01:12.019Z] $ docker stop --time=1 39c0669ac84652a3b0a9d65cc1313ac9fe5b1f6125481b8177c611b598b9c75e [2021-03-23T06:01:13.384Z] $ docker rm -f 39c0669ac84652a3b0a9d65cc1313ac9fe5b1f6125481b8177c611b598b9c75e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:01:14.507Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-23T06:01:14.507Z] . [Pipeline] withDockerContainer [2021-03-23T06:01:14.636Z] prd-centos7-docker-4c-2g-31021 does not seem to be running inside a container [2021-03-23T06:01:14.684Z] $ 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 ******** ci-base-image-x86_64 cat [2021-03-23T06:01:15.267Z] $ docker top 037c66f5bed45371bdb4b8ba456907fd06ec66ae7bc62179abc514ebc7d7c6a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-23T06:01:15.841Z] + make test [2021-03-23T06:01:15.841Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-23T06:01:24.058Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-23T06:01:39.113Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-23T06:01:39.113Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-23T06:01:39.113Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-23T06:01:39.113Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-23T06:01:40.538Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.068s coverage: 27.0% of statements [2021-03-23T06:01:41.123Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.067s coverage: 81.2% of statements [2021-03-23T06:01:50.495Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-23T06:01:50.495Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-23T06:01:50.495Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-23T06:01:50.495Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-23T06:01:50.495Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.116s coverage: 27.0% of statements [2021-03-23T06:01:50.495Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.151s coverage: 81.2% of statements [2021-03-23T06:02:13.294Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.064s coverage: 10.5% of statements [2021-03-23T06:02:13.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-23T06:02:13.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-23T06:02:13.294Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.084s coverage: 32.5% of statements [2021-03-23T06:02:13.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-23T06:02:13.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-23T06:02:13.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-23T06:02:13.294Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.098s coverage: 57.3% of statements [2021-03-23T06:02:13.294Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.156s coverage: 6.6% of statements [2021-03-23T06:02:13.294Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.067s coverage: 5.1% of statements [2021-03-23T06:02:13.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-23T06:02:13.294Z] GO111MODULE=on go vet ./... [2021-03-23T06:02:17.294Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.118s coverage: 10.5% of statements [2021-03-23T06:02:17.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-23T06:02:17.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-23T06:02:17.294Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.195s coverage: 32.5% of statements [2021-03-23T06:02:17.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-23T06:02:17.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-23T06:02:17.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-23T06:02:17.294Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.239s coverage: 57.3% of statements [2021-03-23T06:02:17.294Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.887s coverage: 6.6% of statements [2021-03-23T06:02:17.294Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.127s coverage: 5.1% of statements [2021-03-23T06:02:17.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-23T06:02:17.294Z] GO111MODULE=on go vet ./... [2021-03-23T06:02:21.567Z] gofmt -l . [2021-03-23T06:02:21.567Z] [ "`gofmt -l .`" = "" ] [2021-03-23T06:02:21.567Z] ./bin/test-attribution-txt.sh [2021-03-23T06:02:22.523Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-23T06:02:22.815Z] $ docker stop --time=1 037c66f5bed45371bdb4b8ba456907fd06ec66ae7bc62179abc514ebc7d7c6a6 [2021-03-23T06:02:24.982Z] $ docker rm -f 037c66f5bed45371bdb4b8ba456907fd06ec66ae7bc62179abc514ebc7d7c6a6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-23T06:02:25.791Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-23T06:02:26.157Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-23T06:02:28.992Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-23T06:02:29.310Z] + ls -al . [2021-03-23T06:02:29.311Z] total 184 [2021-03-23T06:02:29.311Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 23 06:02 . [2021-03-23T06:02:29.311Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 23 06:00 .. [2021-03-23T06:02:29.311Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 23 06:00 bin [2021-03-23T06:02:29.311Z] -rw-r--r--. 1 jenkins jenkins 99587 Mar 23 06:02 coverage.out [2021-03-23T06:02:29.311Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 23 06:00 Dockerfile.build [2021-03-23T06:02:29.311Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 23 06:00 .dockerignore [2021-03-23T06:02:29.311Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 23 06:00 example [2021-03-23T06:02:29.311Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 23 06:00 .git [2021-03-23T06:02:29.311Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 23 06:00 .github [2021-03-23T06:02:29.311Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 23 06:00 .gitignore [2021-03-23T06:02:29.311Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 23 06:02 go.mod [2021-03-23T06:02:29.311Z] -rw-r--r--. 1 jenkins jenkins 17372 Mar 23 06:02 go.sum [2021-03-23T06:02:29.311Z] drwxrwxr-x. 13 jenkins jenkins 193 Mar 23 06:00 internal [2021-03-23T06:02:29.311Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 23 06:00 Jenkinsfile [2021-03-23T06:02:29.311Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 23 06:00 LICENSE [2021-03-23T06:02:29.311Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 23 06:00 Makefile [2021-03-23T06:02:29.311Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 23 06:00 openapi [2021-03-23T06:02:29.311Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 23 06:00 pkg [2021-03-23T06:02:29.311Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 23 06:00 README.md [2021-03-23T06:02:29.311Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 23 06:00 RELEASE-NOTES.txt [2021-03-23T06:02:29.311Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 23 06:00 snap [2021-03-23T06:02:29.311Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 23 05:57 VERSION [2021-03-23T06:02:29.311Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 23 06:00 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:02:29.652Z] + 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=5dcdf229f075de250373f56c9f7368f0a8357383 --label arch=amd64 --label version=0.0.0 . [2021-03-23T06:02:29.915Z] Sending build context to Docker daemon 2.391MB [2021-03-23T06:02:29.915Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-23T06:02:29.915Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-23T06:02:29.915Z] ---> 1e968872ffba [2021-03-23T06:02:29.915Z] Step 3/24 : ARG MAKE='make build' [2021-03-23T06:02:30.508Z] ---> Running in 2fad8548f948 [2021-03-23T06:02:30.508Z] Removing intermediate container 2fad8548f948 [2021-03-23T06:02:30.508Z] ---> 0f1f76ebfdfb [2021-03-23T06:02:30.508Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-23T06:02:30.771Z] ---> Running in 1d8cba739523 [2021-03-23T06:02:30.771Z] Removing intermediate container 1d8cba739523 [2021-03-23T06:02:30.771Z] ---> 5c5512bea900 [2021-03-23T06:02:30.771Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-23T06:02:30.771Z] ---> Running in cf94bfa9c1db [2021-03-23T06:02:31.037Z] Removing intermediate container cf94bfa9c1db [2021-03-23T06:02:31.037Z] ---> 673ca4b962f6 [2021-03-23T06:02:31.037Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-23T06:02:31.037Z] ---> Running in 12d52894407f [2021-03-23T06:02:32.959Z] Removing intermediate container 12d52894407f [2021-03-23T06:02:32.959Z] ---> 4d9f029b8fdc [2021-03-23T06:02:32.959Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-23T06:02:32.959Z] ---> Running in 619bfd44ac3f [2021-03-23T06:02:33.224Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-23T06:02:33.799Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-23T06:02:34.377Z] OK: 166 MiB in 39 packages [2021-03-23T06:02:34.640Z] Removing intermediate container 619bfd44ac3f [2021-03-23T06:02:34.640Z] ---> be66780130fb [2021-03-23T06:02:34.640Z] Step 8/24 : COPY . . [2021-03-23T06:02:35.600Z] ---> efb8e586cdce [2021-03-23T06:02:35.600Z] Step 9/24 : RUN ${MAKE} [2021-03-23T06:02:35.600Z] ---> Running in 295faf3bdf89 [2021-03-23T06:02:36.175Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-23T06:02:46.299Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-23T06:02:47.250Z] Removing intermediate container 295faf3bdf89 [2021-03-23T06:02:47.250Z] ---> 7f487e75a65c [2021-03-23T06:02:47.250Z] Step 10/24 : FROM scratch [2021-03-23T06:02:47.250Z] ---> [2021-03-23T06:02:47.250Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-23T06:02:47.551Z] ---> Running in ae78e4411d08 [2021-03-23T06:02:47.551Z] Removing intermediate container ae78e4411d08 [2021-03-23T06:02:47.551Z] ---> 31d2315f3881 [2021-03-23T06:02:47.551Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-23T06:02:47.551Z] ---> Running in 6f04a979e389 [2021-03-23T06:02:47.878Z] Removing intermediate container 6f04a979e389 [2021-03-23T06:02:47.878Z] ---> 1323312b18b2 [2021-03-23T06:02:47.878Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-23T06:02:47.878Z] ---> Running in 22ef433a5366 [2021-03-23T06:02:48.206Z] Removing intermediate container 22ef433a5366 [2021-03-23T06:02:48.206Z] ---> af89b77f479f [2021-03-23T06:02:48.206Z] Step 14/24 : WORKDIR / [2021-03-23T06:02:48.206Z] ---> Running in c363d437b8c2 [2021-03-23T06:02:48.206Z] Removing intermediate container c363d437b8c2 [2021-03-23T06:02:48.206Z] ---> fcbfb14b3b42 [2021-03-23T06:02:48.206Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-23T06:02:48.900Z] ---> ec282c81da4b [2021-03-23T06:02:48.900Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-23T06:02:49.183Z] ---> 364c2e54f9cf [2021-03-23T06:02:49.183Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-23T06:02:49.465Z] ---> 5c5d3dc44a6f [2021-03-23T06:02:49.465Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-23T06:02:49.742Z] ---> 00078146e0cd [2021-03-23T06:02:49.742Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-23T06:02:49.895Z] gofmt -l . [2021-03-23T06:02:49.895Z] [ "`gofmt -l .`" = "" ] [2021-03-23T06:02:49.895Z] ./bin/test-attribution-txt.sh [2021-03-23T06:02:50.007Z] ---> b90ad4db8f4f [2021-03-23T06:02:50.007Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-23T06:02:50.007Z] ---> Running in 637875525a33 [2021-03-23T06:02:50.270Z] Removing intermediate container 637875525a33 [2021-03-23T06:02:50.270Z] ---> e23dadd628d8 [2021-03-23T06:02:50.270Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-23T06:02:50.270Z] ---> Running in 6ac8f6f999ee [2021-03-23T06:02:50.270Z] Removing intermediate container 6ac8f6f999ee [2021-03-23T06:02:50.270Z] ---> 62162fd8c838 [2021-03-23T06:02:50.270Z] Step 22/24 : LABEL arch=amd64 [2021-03-23T06:02:50.534Z] ---> Running in 2c410a19aa03 [2021-03-23T06:02:50.534Z] Removing intermediate container 2c410a19aa03 [2021-03-23T06:02:50.534Z] ---> 830e8b0510c0 [2021-03-23T06:02:50.534Z] Step 23/24 : LABEL git_sha=5dcdf229f075de250373f56c9f7368f0a8357383 [2021-03-23T06:02:50.534Z] ---> Running in bf0b4e1ae7a4 [2021-03-23T06:02:50.801Z] Removing intermediate container bf0b4e1ae7a4 [2021-03-23T06:02:50.801Z] ---> 4be08a3ea881 [2021-03-23T06:02:50.801Z] Step 24/24 : LABEL version=0.0.0 [2021-03-23T06:02:50.801Z] ---> Running in f615156a053c [2021-03-23T06:02:51.064Z] Removing intermediate container f615156a053c [2021-03-23T06:02:51.064Z] ---> 6d5f46460320 [2021-03-23T06:02:51.064Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-23T06:02:51.064Z] Successfully built 6d5f46460320 [2021-03-23T06:02:51.064Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2021-03-23T06:02:51.335Z] ./bin/test-go-mod-tidy.sh Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] } [2021-03-23T06:02:51.732Z] $ docker stop --time=1 4afb52647df9fe480cb1f3295b75d25c0a685f93aa6db04bc38ab8278834cec3 [2021-03-23T06:02:54.065Z] $ docker rm -f 4afb52647df9fe480cb1f3295b75d25c0a685f93aa6db04bc38ab8278834cec3 [Pipeline] // withDockerContainer [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [2021-03-23T06:02:55.161Z] + sudo chown -R jenkins:jenkins . [Pipeline] libraryResource [Pipeline] sh [Pipeline] stash [2021-03-23T06:02:55.456Z] Warning: overwriting stash ‘coverage-report’ [2021-03-23T06:02:55.702Z] ---> job-cost.sh [2021-03-23T06:02:55.702Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-DZ2S [2021-03-23T06:02:56.330Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-23T06:02:57.307Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-23T06:02:57.662Z] + ls -al . [2021-03-23T06:02:57.662Z] total 220 [2021-03-23T06:02:57.662Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 23 06:02 . [2021-03-23T06:02:57.662Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 05:59 .. [2021-03-23T06:02:57.662Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 23 05:59 .dockerignore [2021-03-23T06:02:57.662Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 05:59 .git [2021-03-23T06:02:57.662Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 05:59 .github [2021-03-23T06:02:57.662Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 23 05:59 .gitignore [2021-03-23T06:02:57.662Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 23 05:59 Dockerfile.build [2021-03-23T06:02:57.662Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 23 05:59 Jenkinsfile [2021-03-23T06:02:57.662Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 23 05:59 LICENSE [2021-03-23T06:02:57.662Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 23 05:59 Makefile [2021-03-23T06:02:57.662Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 23 05:59 README.md [2021-03-23T06:02:57.662Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 23 05:59 RELEASE-NOTES.txt [2021-03-23T06:02:57.662Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 05:57 VERSION [2021-03-23T06:02:57.662Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 05:59 bin [2021-03-23T06:02:57.662Z] -rw-r--r-- 1 jenkins jenkins 99588 Mar 23 06:02 coverage.out [2021-03-23T06:02:57.662Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 05:59 example [2021-03-23T06:02:57.662Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 23 06:02 go.mod [2021-03-23T06:02:57.662Z] -rw-r--r-- 1 jenkins jenkins 17372 Mar 23 06:02 go.sum [2021-03-23T06:02:57.662Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 23 05:59 internal [2021-03-23T06:02:57.662Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 05:59 openapi [2021-03-23T06:02:57.662Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 23 05:59 pkg [2021-03-23T06:02:57.662Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 05:59 snap [2021-03-23T06:02:57.662Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 23 05:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:02:58.041Z] + 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=5dcdf229f075de250373f56c9f7368f0a8357383 --label arch=arm64 --label version=0.0.0 . [2021-03-23T06:02:58.314Z] Sending build context to Docker daemon 2.39MB [2021-03-23T06:02:58.592Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-23T06:02:58.592Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-23T06:02:58.592Z] ---> 7fa5d9eba6d4 [2021-03-23T06:02:58.592Z] Step 3/24 : ARG MAKE='make build' [2021-03-23T06:02:58.863Z] ---> Running in 3f3b7066fc89 [2021-03-23T06:02:59.133Z] Removing intermediate container 3f3b7066fc89 [2021-03-23T06:02:59.133Z] ---> 1bb8c56f57b9 [2021-03-23T06:02:59.133Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-23T06:02:59.404Z] ---> Running in 15866bd676b7 [2021-03-23T06:02:59.677Z] Removing intermediate container 15866bd676b7 [2021-03-23T06:02:59.677Z] ---> 53b961d1edfb [2021-03-23T06:02:59.677Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-23T06:02:59.955Z] ---> Running in 0bb8ef007823 [2021-03-23T06:03:00.552Z] Removing intermediate container 0bb8ef007823 [2021-03-23T06:03:00.552Z] ---> cdefded61f45 [2021-03-23T06:03:00.552Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-23T06:03:00.552Z] ---> Running in 3dd5b92b84fd [2021-03-23T06:03:02.532Z] Removing intermediate container 3dd5b92b84fd [2021-03-23T06:03:02.532Z] ---> a0f6fde5fdf1 [2021-03-23T06:03:02.532Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-23T06:03:02.804Z] ---> Running in f28a2edfeda7 [2021-03-23T06:03:03.779Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-23T06:03:04.754Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-23T06:03:05.366Z] OK: 142 MiB in 39 packages [2021-03-23T06:03:06.347Z] Removing intermediate container f28a2edfeda7 [2021-03-23T06:03:06.347Z] ---> 20cb6fac4fbb [2021-03-23T06:03:06.347Z] Step 8/24 : COPY . . [2021-03-23T06:03:07.327Z] ---> 45476fd566ec [2021-03-23T06:03:07.327Z] Step 9/24 : RUN ${MAKE} [2021-03-23T06:03:07.603Z] ---> Running in e953af37a6a2 [2021-03-23T06:03:08.582Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-23T06:03:10.650Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-23T06:03:35.407Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-23T06:03:36.004Z] Removing intermediate container e953af37a6a2 [2021-03-23T06:03:36.004Z] ---> ae6572c435d0 [2021-03-23T06:03:36.004Z] Step 10/24 : FROM scratch [2021-03-23T06:03:36.004Z] ---> [2021-03-23T06:03:36.004Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-23T06:03:36.277Z] ---> Running in b76f2af823d1 [2021-03-23T06:03:36.549Z] Removing intermediate container b76f2af823d1 [2021-03-23T06:03:36.549Z] ---> 1a5823e4954c [2021-03-23T06:03:36.549Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-23T06:03:36.549Z] ---> Running in 55fdb0e79318 [2021-03-23T06:03:37.159Z] Removing intermediate container 55fdb0e79318 [2021-03-23T06:03:37.159Z] ---> 81d9c80668ca [2021-03-23T06:03:37.159Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-23T06:03:37.159Z] ---> Running in d9fbb3eae67f [2021-03-23T06:03:37.277Z] lf-activate-venv(): INFO: Adding /tmp/venv-DZ2S/bin to PATH [2021-03-23T06:03:37.278Z] INFO: No Stack... [2021-03-23T06:03:37.756Z] Removing intermediate container d9fbb3eae67f [2021-03-23T06:03:37.756Z] ---> cceb6fe6c64b [2021-03-23T06:03:37.756Z] Step 14/24 : WORKDIR / [2021-03-23T06:03:37.756Z] ---> Running in 25be8b62a460 [2021-03-23T06:03:37.853Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-23T06:03:38.358Z] Removing intermediate container 25be8b62a460 [2021-03-23T06:03:38.358Z] ---> ebb224f863fa [2021-03-23T06:03:38.358Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-23T06:03:39.249Z] INFO: Archiving Costs [Pipeline] sh [2021-03-23T06:03:39.346Z] ---> 5004ff70085c [2021-03-23T06:03:39.346Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-23T06:03:39.592Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-03-23T06:03:39.592Z] + cut -d, -f6 [Pipeline] lock [2021-03-23T06:03:39.703Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-832-1-stack-cost] [2021-03-23T06:03:39.710Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-832-1-stack-cost] did not exist. Created. [2021-03-23T06:03:39.710Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-832-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-23T06:03:39.938Z] ---> 33927c71a01d [2021-03-23T06:03:39.938Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-23T06:03:40.225Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-23T06:03:40.413Z] Stashed 1 file(s) [Pipeline] } [2021-03-23T06:03:40.440Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-832-1-stack-cost] [2021-03-23T06:03:40.542Z] ---> ad8b08f79bc8 [2021-03-23T06:03:40.542Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-23T06:03:41.522Z] ---> 63095a294cc8 [2021-03-23T06:03:41.522Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-23T06:03:42.114Z] ---> e82fd82f60fb [2021-03-23T06:03:42.114Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-23T06:03:42.114Z] ---> Running in 0d1d126ff0e9 [2021-03-23T06:03:42.719Z] Removing intermediate container 0d1d126ff0e9 [2021-03-23T06:03:42.719Z] ---> 526aa1b7f59c [2021-03-23T06:03:42.719Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-23T06:03:42.719Z] ---> Running in 1e5a6aa7db91 [2021-03-23T06:03:43.315Z] Removing intermediate container 1e5a6aa7db91 [2021-03-23T06:03:43.315Z] ---> 1792488ff725 [2021-03-23T06:03:43.315Z] Step 22/24 : LABEL arch=arm64 [2021-03-23T06:03:43.315Z] ---> Running in 265acf088f47 [2021-03-23T06:03:43.911Z] Removing intermediate container 265acf088f47 [2021-03-23T06:03:43.912Z] ---> 78d1f9ec7872 [2021-03-23T06:03:43.912Z] Step 23/24 : LABEL git_sha=5dcdf229f075de250373f56c9f7368f0a8357383 [2021-03-23T06:03:43.912Z] ---> Running in ba70a7044cf7 [2021-03-23T06:03:44.508Z] Removing intermediate container ba70a7044cf7 [2021-03-23T06:03:44.508Z] ---> 90c30bf06f05 [2021-03-23T06:03:44.508Z] Step 24/24 : LABEL version=0.0.0 [2021-03-23T06:03:44.508Z] ---> Running in 4fc2f23e811f [2021-03-23T06:03:45.106Z] Removing intermediate container 4fc2f23e811f [2021-03-23T06:03:45.107Z] ---> b2e454d3284a [2021-03-23T06:03:45.107Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-23T06:03:45.107Z] Successfully built b2e454d3284a [2021-03-23T06:03:45.107Z] 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-23T06:03:46.079Z] ---> job-cost.sh [2021-03-23T06:03:46.079Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jX5F [2021-03-23T06:04:25.030Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-23T06:06:02.857Z] lf-activate-venv(): INFO: Adding /tmp/venv-jX5F/bin to PATH [2021-03-23T06:06:02.857Z] INFO: No Stack... [2021-03-23T06:06:02.857Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-23T06:06:02.857Z] INFO: Archiving Costs [Pipeline] sh [2021-03-23T06:06:03.225Z] + + cut -d,cat -f6 /w/workspace/device-sdk-go/1/archives/cost.csv [2021-03-23T06:06:03.225Z] [Pipeline] lock [2021-03-23T06:06:03.367Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-832-1-stack-cost] [2021-03-23T06:06:03.374Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-832-1-stack-cost] did not exist. Created. [2021-03-23T06:06:03.374Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-832-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-23T06:06:03.925Z] /w/workspace/device-sdk-go/1@tmp/durable-d75a4ceb/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-d75a4ceb/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-23T06:06:04.294Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-23T06:06:04.333Z] Warning: overwriting stash ‘stack-cost’ [2021-03-23T06:06:04.499Z] Stashed 1 file(s) [Pipeline] } [2021-03-23T06:06:04.521Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-832-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-23T06:06:06.364Z] provisioning config files... [2021-03-23T06:06:06.377Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-832@tmp/config141519277595896127tmp [Pipeline] { [Pipeline] sh [2021-03-23T06:06:06.796Z] + set +x [2021-03-23T06:06:06.796Z] + curl -s https://codecov.io/bash [2021-03-23T06:06:06.796Z] + bash -s -- [2021-03-23T06:06:07.058Z] [2021-03-23T06:06:07.058Z] _____ _ [2021-03-23T06:06:07.058Z] / ____| | | [2021-03-23T06:06:07.058Z] | | ___ __| | ___ ___ _____ __ [2021-03-23T06:06:07.058Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-23T06:06:07.058Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-23T06:06:07.058Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-23T06:06:07.058Z] Bash-20210309-2b87ace [2021-03-23T06:06:07.058Z] [2021-03-23T06:06:07.058Z] [2021-03-23T06:06:07.058Z] ==> git version 2.24.3 found [2021-03-23T06:06:07.058Z] ==> 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-23T06:06:07.058Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-23T06:06:07.058Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-23T06:06:07.058Z] ==> Jenkins CI detected. [2021-03-23T06:06:07.058Z] project root: . [2021-03-23T06:06:07.058Z] --> token set from env [2021-03-23T06:06:07.058Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-23T06:06:07.058Z] ==> Running gcov in . (disable via -X gcov) [2021-03-23T06:06:07.058Z] ==> Python coveragepy not found [2021-03-23T06:06:07.058Z] ==> Searching for coverage reports in: [2021-03-23T06:06:07.058Z] + . [2021-03-23T06:06:07.058Z] -> Found 1 reports [2021-03-23T06:06:07.058Z] ==> Detecting git/mercurial file structure [2021-03-23T06:06:07.058Z] ==> Reading reports [2021-03-23T06:06:07.325Z] + ./coverage.out bytes=99588 [2021-03-23T06:06:07.325Z] ==> Appending adjustments [2021-03-23T06:06:07.325Z] https://docs.codecov.io/docs/fixing-reports [2021-03-23T06:06:07.588Z] + Found adjustments [2021-03-23T06:06:07.588Z] ==> Gzipping contents [2021-03-23T06:06:07.588Z] 16K /tmp/codecov.AkCaFH.gz [2021-03-23T06:06:07.588Z] ==> Uploading reports [2021-03-23T06:06:07.588Z] url: https://codecov.io [2021-03-23T06:06:07.588Z] query: branch=PR-832&commit=5dcdf229f075de250373f56c9f7368f0a8357383&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-832%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=832&job=&cmd_args= [2021-03-23T06:06:07.588Z] -> Pinging Codecov [2021-03-23T06:06:07.588Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-832&commit=5dcdf229f075de250373f56c9f7368f0a8357383&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-832%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=832&job=&cmd_args= [2021-03-23T06:06:08.536Z] -> Uploading to [2021-03-23T06:06:08.536Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-23/7E55EF52A471D76F132DFD9A03CDDE97/5dcdf229f075de250373f56c9f7368f0a8357383/0bd0fda9-e944-4716-92dd-2eefead289ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210323%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210323T060608Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c5cb261c28e52fd94d7695c105b0ee6f9b88af0244d90eb75e9e107b7a935ffa [2021-03-23T06:06:08.536Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-23T06:06:08.536Z] Dload Upload Total Spent Left Speed [2021-03-23T06:06:09.111Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13453 0 0 100 13453 0 23235 --:--:-- --:--:-- --:--:-- 23234 100 13453 0 0 100 13453 0 23229 --:--:-- --:--:-- --:--:-- 23234 [2021-03-23T06:06:09.111Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5dcdf229f075de250373f56c9f7368f0a8357383 [Pipeline] } [2021-03-23T06:06:09.136Z] 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-23T06:06:12.712Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:06:13.122Z] ---> package-listing.sh [2021-03-23T06:06:13.122Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-23T06:06:13.122Z] ++ facter osfamily [2021-03-23T06:06:13.122Z] + OS_FAMILY=redhat [2021-03-23T06:06:13.122Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-832 [2021-03-23T06:06:13.122Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-23T06:06:13.122Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-23T06:06:13.122Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-23T06:06:13.122Z] + PACKAGES=/tmp/packages_start.txt [2021-03-23T06:06:13.122Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-832 ']' [2021-03-23T06:06:13.122Z] + PACKAGES=/tmp/packages_end.txt [2021-03-23T06:06:13.122Z] + case "${OS_FAMILY}" in [2021-03-23T06:06:13.122Z] + rpm -qa [2021-03-23T06:06:13.122Z] + sort [2021-03-23T06:06:18.432Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-23T06:06:18.432Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-23T06:06:18.432Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-23T06:06:18.432Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-832 ']' [2021-03-23T06:06:18.432Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-832/archives/ [2021-03-23T06:06:18.432Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-832/archives/ [Pipeline] echo [2021-03-23T06:06:18.469Z] 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-832/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-23T06:06:18.785Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:06:19.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-23T06:06:19.124Z] [2021-03-23T06:06:19.124Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:06:19.509Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-23T06:06:19.510Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-23T06:06:19.510Z] df20fa9351a1: Pulling fs layer [2021-03-23T06:06:19.510Z] 36b3adc4ff6f: Pulling fs layer [2021-03-23T06:06:19.510Z] 8ad3a11d3b57: Pulling fs layer [2021-03-23T06:06:19.510Z] 46f8f816bc3b: Pulling fs layer [2021-03-23T06:06:19.510Z] 93b61091891f: Pulling fs layer [2021-03-23T06:06:19.510Z] 93b9cdb0e59b: Pulling fs layer [2021-03-23T06:06:19.510Z] 5e14af77c1be: Pulling fs layer [2021-03-23T06:06:19.510Z] 01666e4c0597: Pulling fs layer [2021-03-23T06:06:19.510Z] aa168da1d23b: Pulling fs layer [2021-03-23T06:06:19.510Z] 93b61091891f: Waiting [2021-03-23T06:06:19.510Z] 93b9cdb0e59b: Waiting [2021-03-23T06:06:19.510Z] 5e14af77c1be: Waiting [2021-03-23T06:06:19.510Z] 01666e4c0597: Waiting [2021-03-23T06:06:19.510Z] aa168da1d23b: Waiting [2021-03-23T06:06:19.510Z] 46f8f816bc3b: Waiting [2021-03-23T06:06:19.510Z] 36b3adc4ff6f: Verifying Checksum [2021-03-23T06:06:19.510Z] 36b3adc4ff6f: Download complete [2021-03-23T06:06:19.772Z] 46f8f816bc3b: Verifying Checksum [2021-03-23T06:06:19.772Z] 46f8f816bc3b: Download complete [2021-03-23T06:06:19.772Z] df20fa9351a1: Verifying Checksum [2021-03-23T06:06:19.772Z] df20fa9351a1: Download complete [2021-03-23T06:06:19.772Z] 93b9cdb0e59b: Verifying Checksum [2021-03-23T06:06:19.772Z] 93b9cdb0e59b: Download complete [2021-03-23T06:06:19.772Z] 5e14af77c1be: Verifying Checksum [2021-03-23T06:06:19.772Z] 5e14af77c1be: Download complete [2021-03-23T06:06:19.772Z] 93b61091891f: Verifying Checksum [2021-03-23T06:06:19.772Z] 93b61091891f: Download complete [2021-03-23T06:06:19.772Z] 01666e4c0597: Download complete [2021-03-23T06:06:20.035Z] df20fa9351a1: Pull complete [2021-03-23T06:06:20.297Z] 36b3adc4ff6f: Pull complete [2021-03-23T06:06:20.560Z] 8ad3a11d3b57: Verifying Checksum [2021-03-23T06:06:20.560Z] 8ad3a11d3b57: Download complete [2021-03-23T06:06:21.528Z] 8ad3a11d3b57: Pull complete [2021-03-23T06:06:21.528Z] 46f8f816bc3b: Pull complete [2021-03-23T06:06:22.115Z] 93b61091891f: Pull complete [2021-03-23T06:06:22.378Z] 93b9cdb0e59b: Pull complete [2021-03-23T06:06:22.378Z] 5e14af77c1be: Pull complete [2021-03-23T06:06:22.643Z] aa168da1d23b: Verifying Checksum [2021-03-23T06:06:22.643Z] aa168da1d23b: Download complete [2021-03-23T06:06:22.643Z] 01666e4c0597: Pull complete [2021-03-23T06:06:29.266Z] aa168da1d23b: Pull complete [2021-03-23T06:06:29.266Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-23T06:06:29.266Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-23T06:06:29.266Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-23T06:06:29.431Z] prd-centos7-docker-4c-2g-31019 does not seem to be running inside a container [2021-03-23T06:06:29.476Z] $ 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-832/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-832 -v /w/workspace/dgexfoundry_device-sdk-go_PR-832:/w/workspace/dgexfoundry_device-sdk-go_PR-832:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-832@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-832@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-23T06:06:33.157Z] $ docker top 738995460f2cef25422c76349e28fd144af5b24fc74a40bd19728a0cdde9e655 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-23T06:06:33.702Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-23T06:06:34.020Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-23T06:06:34.347Z] + ls /var/log/sa-host [2021-03-23T06:06:34.347Z] + sadf -c /var/log/sa-host/sa23 [2021-03-23T06:06:34.347Z] file_magic: OK [2021-03-23T06:06:34.347Z] HZ: Using current value: 100 [2021-03-23T06:06:34.347Z] file_header: OK [2021-03-23T06:06:34.347Z] 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-23T06:06:34.347Z] Statistics: [2021-03-23T06:06:34.347Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-23T06:06:34.347Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-23T06:06:35.062Z] provisioning config files... [2021-03-23T06:06:35.082Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-832@tmp/config3012842508015256737tmp [Pipeline] { [Pipeline] echo [2021-03-23T06:06:35.200Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:06:35.563Z] ---> create-netrc.sh [Pipeline] } [2021-03-23T06:06:35.585Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-23T06:06:35.768Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:06:36.121Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-23T06:06:36.148Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:06:36.481Z] ---> sudo-logs.sh [2021-03-23T06:06:36.481Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-23T06:06:36.598Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:06:36.931Z] ---> job-cost.sh [2021-03-23T06:06:36.931Z] lf-activate-venv: SKIPPING [2021-03-23T06:06:36.931Z] DEBUG: total: 0.20999999344348907 [2021-03-23T06:06:36.931Z] INFO: Retrieving Stack Cost... [2021-03-23T06:06:38.320Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-23T06:06:39.278Z] INFO: Archiving Costs [Pipeline] echo [2021-03-23T06:06:39.338Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:06:39.678Z] ---> logs-deploy.sh [2021-03-23T06:06:39.678Z] lf-activate-venv: SKIPPING [2021-03-23T06:06:39.678Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-832/1 [2021-03-23T06:06:39.678Z] INFO: archiving workspace using pattern(s): [2021-03-23T06:06:41.666Z] Archives upload complete. [2021-03-23T06:06:41.666Z] INFO: archiving logs to Nexus