Pull request #804 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at d38291b108151c678147caa989c3776b19aa5fc1 rather than 59be67405636ca3d79829d3faa151f769b51d209 Obtained Jenkinsfile from d38291b108151c678147caa989c3776b19aa5fc1 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 e395d696b4e6122b6a4fdab5d2b3787aeaccfdce 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 e395d696b4e6122b6a4fdab5d2b3787aeaccfdce 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-804/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 e395d696b4e6122b6a4fdab5d2b3787aeaccfdce (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e395d696b4e6122b6a4fdab5d2b3787aeaccfdce # timeout=10 Commit message: "Merge pull request #320 from ernestojeda/fix-email" > 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-804/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 e395d696b4e6122b6a4fdab5d2b3787aeaccfdce 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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-28209’ Running on prd-centos7-docker-4c-2g-28213 in /w/workspace/dgexfoundry_device-sdk-go_PR-804 [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-804 # 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 d38291b108151c678147caa989c3776b19aa5fc1 into PR head commit 59be67405636ca3d79829d3faa151f769b51d209 Merge succeeded, producing 59be67405636ca3d79829d3faa151f769b51d209 Checking out Revision 59be67405636ca3d79829d3faa151f769b51d209 (PR-804) > 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/804/head:refs/remotes/origin/PR-804 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 59be67405636ca3d79829d3faa151f769b51d209 # 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 d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 59be67405636ca3d79829d3faa151f769b51d209 # timeout=10 Commit message: "build: Upgrade the go-mod-core-contracts lib" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object e395d696b4e6122b6a4fdab5d2b3787aeaccfdce [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-02T13:28:15.796Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-02T13:28:16.203Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-02T13:28:16.435Z] ========================================================= [2021-03-02T13:28:16.435Z] EdgeX Global Pipelines Version Info [2021-03-02T13:28:16.435Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-02T13:28:17.984Z] ------------------- [2021-03-02T13:28:17.984Z] stable info: [2021-03-02T13:28:17.984Z] ------------------- [2021-03-02T13:28:17.984Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-02T13:28:17.984Z] Commit SHA: e395d696b4e6122b6a4fdab5d2b3787aeaccfdce [2021-03-02T13:28:17.984Z] Message: update stable to v1.0.183 [2021-03-02T13:28:18.929Z] ------------------- [2021-03-02T13:28:18.929Z] experimental info: [2021-03-02T13:28:18.929Z] ------------------- [2021-03-02T13:28:18.929Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-02T13:28:18.929Z] Commit SHA: e395d696b4e6122b6a4fdab5d2b3787aeaccfdce [2021-03-02T13:28:18.929Z] Message: update experimental to v1.0.183 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-02T13:28:19.301Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-02T13:28:19.459Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-02T13:28:19.602Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-02T13:28:19.726Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-02T13:28:19.845Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-02T13:28:19.977Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-02T13:28:20.098Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-02T13:28:20.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-02T13:28:20.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-02T13:28:20.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-02T13:28:20.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-02T13:28:20.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-02T13:28:21.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-02T13:28:21.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-02T13:28:21.340Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-02T13:28:21.467Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-02T13:28:21.585Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-02T13:28:21.697Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-02T13:28:21.832Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-02T13:28:22.000Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-02T13:28:22.122Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-02T13:28:22.243Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-02T13:28:22.358Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-02T13:28:22.492Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-02T13:28:22.646Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-02T13:28:22.812Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-02T13:28:22.936Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-804 [Pipeline] echo [2021-03-02T13:28:23.072Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-804 [Pipeline] echo [2021-03-02T13:28:23.211Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-804 [Pipeline] echo [2021-03-02T13:28:23.384Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 59be67405636ca3d79829d3faa151f769b51d209 [Pipeline] echo [2021-03-02T13:28:23.518Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 59be674 [Pipeline] echo [2021-03-02T13:28:23.644Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-02T13:28:23.900Z] provisioning config files... [2021-03-02T13:28:23.965Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/config9186868110660700873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-02T13:28:24.393Z] ---> docker-login.sh [2021-03-02T13:28:24.393Z] nexus3.edgexfoundry.org:10001 [2021-03-02T13:28:24.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T13:28:24.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T13:28:24.919Z] Configure a credential helper to remove this warning. See [2021-03-02T13:28:24.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T13:28:24.919Z] [2021-03-02T13:28:24.919Z] Login Succeeded [2021-03-02T13:28:24.919Z] nexus3.edgexfoundry.org:10002 [2021-03-02T13:28:24.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T13:28:24.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T13:28:24.919Z] Configure a credential helper to remove this warning. See [2021-03-02T13:28:24.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T13:28:24.919Z] [2021-03-02T13:28:24.919Z] Login Succeeded [2021-03-02T13:28:24.919Z] nexus3.edgexfoundry.org:10003 [2021-03-02T13:28:25.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T13:28:25.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T13:28:25.183Z] Configure a credential helper to remove this warning. See [2021-03-02T13:28:25.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T13:28:25.183Z] [2021-03-02T13:28:25.183Z] Login Succeeded [2021-03-02T13:28:25.183Z] nexus3.edgexfoundry.org:10004 [2021-03-02T13:28:25.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T13:28:25.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T13:28:25.446Z] Configure a credential helper to remove this warning. See [2021-03-02T13:28:25.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T13:28:25.446Z] [2021-03-02T13:28:25.446Z] Login Succeeded [2021-03-02T13:28:25.446Z] docker.io [2021-03-02T13:28:25.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T13:28:25.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T13:28:25.711Z] Configure a credential helper to remove this warning. See [2021-03-02T13:28:25.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T13:28:25.711Z] [2021-03-02T13:28:25.711Z] Login Succeeded [2021-03-02T13:28:25.711Z] ---> docker-login.sh ends [Pipeline] } [2021-03-02T13:28:25.734Z] 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-02T13:28:26.839Z] + git log --format=format:%s -1 59be67405636ca3d79829d3faa151f769b51d209 [Pipeline] echo [2021-03-02T13:28:26.945Z] GIT_COMMIT: 59be67405636ca3d79829d3faa151f769b51d209, Commit Message: build: Upgrade the go-mod-core-contracts lib [Pipeline] echo [2021-03-02T13:28:27.013Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-02T13:28:27.663Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-02T13:28:27.663Z] [2021-03-02T13:28:27.663Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-02T13:28:28.063Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-02T13:28:28.063Z] latest: Pulling from edgex-devops/git-semver [2021-03-02T13:28:28.063Z] 31603596830f: Pulling fs layer [2021-03-02T13:28:28.063Z] 2a8b12db71e7: Pulling fs layer [2021-03-02T13:28:28.063Z] 6ca5941a6612: Pulling fs layer [2021-03-02T13:28:28.063Z] ecc8261a40a4: Pulling fs layer [2021-03-02T13:28:28.063Z] ecc8261a40a4: Waiting [2021-03-02T13:28:28.063Z] 2a8b12db71e7: Verifying Checksum [2021-03-02T13:28:28.063Z] 2a8b12db71e7: Download complete [2021-03-02T13:28:28.063Z] 31603596830f: Verifying Checksum [2021-03-02T13:28:28.063Z] 31603596830f: Download complete [2021-03-02T13:28:28.330Z] ecc8261a40a4: Verifying Checksum [2021-03-02T13:28:28.330Z] ecc8261a40a4: Download complete [2021-03-02T13:28:28.330Z] 6ca5941a6612: Verifying Checksum [2021-03-02T13:28:28.330Z] 6ca5941a6612: Download complete [2021-03-02T13:28:28.594Z] 31603596830f: Pull complete [2021-03-02T13:28:28.594Z] 2a8b12db71e7: Pull complete [2021-03-02T13:28:29.569Z] 6ca5941a6612: Pull complete [2021-03-02T13:28:29.835Z] ecc8261a40a4: Pull complete [2021-03-02T13:28:29.835Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-02T13:28:29.835Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-02T13:28:29.835Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-02T13:28:29.956Z] prd-centos7-docker-4c-2g-28213 does not seem to be running inside a container [2021-03-02T13:28:30.002Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-804 -v /w/workspace/dgexfoundry_device-sdk-go_PR-804:/w/workspace/dgexfoundry_device-sdk-go_PR-804:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-02T13:28:32.730Z] $ docker top 0ba9de908ae09a194f333ab770cacb9ca5f1d4620b50caf47e8b3128686123fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-02T13:28:33.250Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-02T13:28:33.250Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-02T13:28:33.479Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-02T13:28:33.483Z] $ docker exec 0ba9de908ae09a194f333ab770cacb9ca5f1d4620b50caf47e8b3128686123fa ssh-agent [2021-03-02T13:28:33.650Z] SSH_AUTH_SOCK=/tmp/ssh-FQQobtCJIOCD/agent.11 [2021-03-02T13:28:33.650Z] SSH_AGENT_PID=16 [2021-03-02T13:28:33.664Z] Running ssh-add (command line suppressed) [2021-03-02T13:28:33.787Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/private_key_5495480640746342462.key (/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/private_key_5495480640746342462.key) [2021-03-02T13:28:33.841Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-02T13:28:34.225Z] + git tag --points-at HEAD [Pipeline] } [2021-03-02T13:28:34.255Z] $ docker exec --env ******** --env ******** 0ba9de908ae09a194f333ab770cacb9ca5f1d4620b50caf47e8b3128686123fa ssh-agent -k [2021-03-02T13:28:34.370Z] unset SSH_AUTH_SOCK; [2021-03-02T13:28:34.370Z] unset SSH_AGENT_PID; [2021-03-02T13:28:34.370Z] echo Agent pid 16 killed; [2021-03-02T13:28:34.420Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-02T13:28:34.608Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-02T13:28:34.608Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-02T13:28:34.780Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-02T13:28:34.784Z] $ docker exec 0ba9de908ae09a194f333ab770cacb9ca5f1d4620b50caf47e8b3128686123fa ssh-agent [2021-03-02T13:28:34.948Z] SSH_AUTH_SOCK=/tmp/ssh-jiC314H74U6p/agent.46 [2021-03-02T13:28:34.948Z] SSH_AGENT_PID=51 [2021-03-02T13:28:34.955Z] Running ssh-add (command line suppressed) [2021-03-02T13:28:35.075Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/private_key_8201963642029054959.key (/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/private_key_8201963642029054959.key) [2021-03-02T13:28:35.129Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-02T13:28:35.527Z] + git semver init [2021-03-02T13:28:35.528Z] # -> Open(): unable to determine branch for HEAD [2021-03-02T13:28:35.528Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-804/.git [2021-03-02T13:28:35.528Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-804 [2021-03-02T13:28:35.528Z] # $SEMVER_REMOTE_NAME = origin [2021-03-02T13:28:35.528Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-02T13:28:35.528Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-02T13:28:35.528Z] # $SEMVER_BRANCH = PR-804 [2021-03-02T13:28:35.528Z] # $SEMVER_TEMP = /tmp/semver-872347850 [2021-03-02T13:28:35.528Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-02T13:28:36.483Z] # '/tmp/semver-872347850' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-804/.semver' [2021-03-02T13:28:36.483Z] # -> Force: false [2021-03-02T13:28:36.483Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-804/.semver [Pipeline] } [2021-03-02T13:28:36.506Z] $ docker exec --env ******** --env ******** 0ba9de908ae09a194f333ab770cacb9ca5f1d4620b50caf47e8b3128686123fa ssh-agent -k [2021-03-02T13:28:36.626Z] unset SSH_AUTH_SOCK; [2021-03-02T13:28:36.628Z] unset SSH_AGENT_PID; [2021-03-02T13:28:36.628Z] echo Agent pid 51 killed; [2021-03-02T13:28:36.672Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-02T13:28:37.229Z] + git semver [Pipeline] } [2021-03-02T13:28:37.265Z] $ docker stop --time=1 0ba9de908ae09a194f333ab770cacb9ca5f1d4620b50caf47e8b3128686123fa [2021-03-02T13:28:38.613Z] $ docker rm -f 0ba9de908ae09a194f333ab770cacb9ca5f1d4620b50caf47e8b3128686123fa [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-02T13:28:39.128Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-02T13:28:39.573Z] Stashed 1 file(s) [Pipeline] echo [2021-03-02T13:28:39.593Z] [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-02T13:28:55.529Z] Still waiting to schedule task [2021-03-02T13:28:55.529Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-02T13:28:55.555Z] Still waiting to schedule task [2021-03-02T13:28:55.555Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-02T13:30:43.330Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28214 in /w/workspace/dgexfoundry_device-sdk-go_PR-804 [Pipeline] { [Pipeline] ws [2021-03-02T13:30:43.433Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-02T13:30:48.798Z] using credential edgex-jenkins-ssh [2021-03-02T13:30:48.891Z] Cloning the remote Git repository [2021-03-02T13:30:48.946Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-02T13:30:49.048Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-02T13:30:49.127Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-02T13:30:49.128Z] > git --version # timeout=10 [2021-03-02T13:30:49.146Z] > git --version # 'git version 2.17.1' [2021-03-02T13:30:49.147Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-02T13:30:49.193Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-02T13:30:51.065Z] Merging remotes/origin/master commit d38291b108151c678147caa989c3776b19aa5fc1 into PR head commit 59be67405636ca3d79829d3faa151f769b51d209 [2021-03-02T13:30:50.367Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-02T13:30:50.384Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-02T13:30:50.419Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-02T13:30:50.463Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-02T13:30:50.464Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-02T13:30:50.475Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/804/head:refs/remotes/origin/PR-804 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-02T13:30:51.302Z] Merge succeeded, producing 59be67405636ca3d79829d3faa151f769b51d209 [2021-03-02T13:30:51.303Z] Checking out Revision 59be67405636ca3d79829d3faa151f769b51d209 (PR-804) [2021-03-02T13:30:51.089Z] > git config core.sparsecheckout # timeout=10 [2021-03-02T13:30:51.107Z] > git checkout -f 59be67405636ca3d79829d3faa151f769b51d209 # timeout=10 [2021-03-02T13:30:51.226Z] > git remote # timeout=10 [2021-03-02T13:30:51.243Z] > git config --get remote.origin.url # timeout=10 [2021-03-02T13:30:51.260Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-02T13:30:51.269Z] > git merge d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 [2021-03-02T13:30:51.292Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-02T13:30:51.312Z] > git config core.sparsecheckout # timeout=10 [2021-03-02T13:30:51.322Z] > git checkout -f 59be67405636ca3d79829d3faa151f769b51d209 # timeout=10 [2021-03-02T13:30:55.619Z] Commit message: "build: Upgrade the go-mod-core-contracts lib" [2021-03-02T13:30:55.680Z] > git --version # timeout=10 [2021-03-02T13:30:55.689Z] > git --version # 'git version 2.17.1' [2021-03-02T13:30:55.702Z] fatal: bad object e395d696b4e6122b6a4fdab5d2b3787aeaccfdce [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-02T13:30:57.677Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-02T13:30:58.193Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-02T13:30:58.582Z] + sudo service docker restart [2021-03-02T13:30:58.582Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-02T13:31:01.432Z] provisioning config files... [2021-03-02T13:31:01.475Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8717618250951794950tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-02T13:31:01.881Z] Running on prd-centos7-docker-4c-2g-28215 in /w/workspace/dgexfoundry_device-sdk-go_PR-804 [Pipeline] { [2021-03-02T13:31:01.933Z] ---> docker-login.sh [2021-03-02T13:31:01.933Z] nexus3.edgexfoundry.org:10001 [Pipeline] ws [2021-03-02T13:31:02.008Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-02T13:31:02.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T13:31:03.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T13:31:03.167Z] Configure a credential helper to remove this warning. See [2021-03-02T13:31:03.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T13:31:03.167Z] [2021-03-02T13:31:03.167Z] Login Succeeded [2021-03-02T13:31:03.167Z] nexus3.edgexfoundry.org:10002 [2021-03-02T13:31:03.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T13:31:03.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T13:31:03.721Z] Configure a credential helper to remove this warning. See [2021-03-02T13:31:03.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T13:31:03.721Z] [2021-03-02T13:31:03.721Z] Login Succeeded [2021-03-02T13:31:03.721Z] nexus3.edgexfoundry.org:10003 [2021-03-02T13:31:03.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T13:31:04.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T13:31:04.272Z] Configure a credential helper to remove this warning. See [2021-03-02T13:31:04.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T13:31:04.272Z] [2021-03-02T13:31:04.272Z] Login Succeeded [2021-03-02T13:31:04.272Z] nexus3.edgexfoundry.org:10004 [2021-03-02T13:31:04.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T13:31:04.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T13:31:04.550Z] Configure a credential helper to remove this warning. See [2021-03-02T13:31:04.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T13:31:04.550Z] [2021-03-02T13:31:04.825Z] Login Succeeded [2021-03-02T13:31:04.825Z] docker.io [2021-03-02T13:31:04.906Z] using credential edgex-jenkins-ssh [2021-03-02T13:31:04.960Z] Cloning the remote Git repository [2021-03-02T13:31:05.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T13:31:05.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T13:31:05.381Z] Configure a credential helper to remove this warning. See [2021-03-02T13:31:05.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T13:31:05.381Z] [2021-03-02T13:31:05.381Z] Login Succeeded [2021-03-02T13:31:05.381Z] ---> docker-login.sh ends [Pipeline] } [2021-03-02T13:31:05.413Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [2021-03-02T13:31:04.988Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-02T13:31:05.056Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-02T13:31:05.117Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-02T13:31:05.118Z] > git --version # timeout=10 [2021-03-02T13:31:05.127Z] > git --version # 'git version 2.24.3' [2021-03-02T13:31:05.128Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-02T13:31:05.154Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] unstash [Pipeline] echo [2021-03-02T13:31:06.013Z] ========================================================= [2021-03-02T13:31:06.013Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-02T13:31:06.013Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-02T13:31:06.435Z] + 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-02T13:31:06.577Z] Merging remotes/origin/master commit d38291b108151c678147caa989c3776b19aa5fc1 into PR head commit 59be67405636ca3d79829d3faa151f769b51d209 [2021-03-02T13:31:06.689Z] Merge succeeded, producing 59be67405636ca3d79829d3faa151f769b51d209 [2021-03-02T13:31:06.690Z] Checking out Revision 59be67405636ca3d79829d3faa151f769b51d209 (PR-804) [2021-03-02T13:31:06.018Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-02T13:31:06.024Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-02T13:31:06.046Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-02T13:31:06.067Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-02T13:31:06.067Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-02T13:31:06.073Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/804/head:refs/remotes/origin/PR-804 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-02T13:31:06.587Z] > git config core.sparsecheckout # timeout=10 [2021-03-02T13:31:06.593Z] > git checkout -f 59be67405636ca3d79829d3faa151f769b51d209 # timeout=10 [2021-03-02T13:31:06.650Z] > git remote # timeout=10 [2021-03-02T13:31:06.656Z] > git config --get remote.origin.url # timeout=10 [2021-03-02T13:31:06.662Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-02T13:31:06.667Z] > git merge d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 [2021-03-02T13:31:06.678Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-02T13:31:06.693Z] > git config core.sparsecheckout # timeout=10 [2021-03-02T13:31:06.698Z] > git checkout -f 59be67405636ca3d79829d3faa151f769b51d209 # timeout=10 [2021-03-02T13:31:07.044Z] Sending build context to Docker daemon 2.457MB [2021-03-02T13:31:07.044Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-02T13:31:07.044Z] Step 2/8 : FROM ${BASE} [2021-03-02T13:31:07.044Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-02T13:31:07.044Z] 5f621e34cdf4: Pulling fs layer [2021-03-02T13:31:07.044Z] a4357932f1b6: Pulling fs layer [2021-03-02T13:31:07.044Z] 18c013af1878: Pulling fs layer [2021-03-02T13:31:07.044Z] 00ac8860ef70: Pulling fs layer [2021-03-02T13:31:07.044Z] 63d7cb157983: Pulling fs layer [2021-03-02T13:31:07.044Z] b116817d02f9: Pulling fs layer [2021-03-02T13:31:07.044Z] 745a02a5169b: Pulling fs layer [2021-03-02T13:31:07.044Z] 00ac8860ef70: Waiting [2021-03-02T13:31:07.044Z] 63d7cb157983: Waiting [2021-03-02T13:31:07.044Z] b116817d02f9: Waiting [2021-03-02T13:31:07.044Z] 18c013af1878: Download complete [2021-03-02T13:31:07.044Z] a4357932f1b6: Verifying Checksum [2021-03-02T13:31:07.044Z] a4357932f1b6: Download complete [2021-03-02T13:31:07.044Z] 63d7cb157983: Verifying Checksum [2021-03-02T13:31:07.044Z] 63d7cb157983: Download complete [2021-03-02T13:31:07.044Z] b116817d02f9: Verifying Checksum [2021-03-02T13:31:07.044Z] b116817d02f9: Download complete [2021-03-02T13:31:07.319Z] 5f621e34cdf4: Verifying Checksum [2021-03-02T13:31:07.319Z] 5f621e34cdf4: Download complete [2021-03-02T13:31:07.925Z] 5f621e34cdf4: Pull complete [2021-03-02T13:31:08.541Z] a4357932f1b6: Pull complete [2021-03-02T13:31:08.817Z] 18c013af1878: Pull complete [2021-03-02T13:31:09.803Z] 745a02a5169b: Verifying Checksum [2021-03-02T13:31:09.803Z] 745a02a5169b: Download complete [2021-03-02T13:31:10.303Z] Commit message: "build: Upgrade the go-mod-core-contracts lib" [2021-03-02T13:31:10.331Z] > git --version # timeout=10 [2021-03-02T13:31:10.335Z] > git --version # 'git version 2.24.3' [2021-03-02T13:31:10.342Z] fatal: bad object e395d696b4e6122b6a4fdab5d2b3787aeaccfdce [Pipeline] withEnv [Pipeline] { [2021-03-02T13:31:10.790Z] 00ac8860ef70: Verifying Checksum [2021-03-02T13:31:10.790Z] 00ac8860ef70: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-02T13:31:11.744Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-02T13:31:12.103Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-02T13:31:12.427Z] + sudo service docker restart [2021-03-02T13:31:12.427Z] + true [2021-03-02T13:31:12.427Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-02T13:31:13.959Z] provisioning config files... [2021-03-02T13:31:13.989Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6111446961214421526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-02T13:31:14.423Z] ---> docker-login.sh [2021-03-02T13:31:14.423Z] nexus3.edgexfoundry.org:10001 [2021-03-02T13:31:14.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T13:31:14.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T13:31:14.955Z] Configure a credential helper to remove this warning. See [2021-03-02T13:31:14.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T13:31:14.955Z] [2021-03-02T13:31:14.955Z] Login Succeeded [2021-03-02T13:31:14.955Z] nexus3.edgexfoundry.org:10002 [2021-03-02T13:31:14.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T13:31:14.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T13:31:14.955Z] Configure a credential helper to remove this warning. See [2021-03-02T13:31:14.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T13:31:14.955Z] [2021-03-02T13:31:14.955Z] Login Succeeded [2021-03-02T13:31:14.955Z] nexus3.edgexfoundry.org:10003 [2021-03-02T13:31:15.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T13:31:15.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T13:31:15.221Z] Configure a credential helper to remove this warning. See [2021-03-02T13:31:15.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T13:31:15.221Z] [2021-03-02T13:31:15.221Z] Login Succeeded [2021-03-02T13:31:15.221Z] nexus3.edgexfoundry.org:10004 [2021-03-02T13:31:15.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T13:31:15.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T13:31:15.484Z] Configure a credential helper to remove this warning. See [2021-03-02T13:31:15.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T13:31:15.484Z] [2021-03-02T13:31:15.484Z] Login Succeeded [2021-03-02T13:31:15.484Z] docker.io [2021-03-02T13:31:15.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-02T13:31:15.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-02T13:31:15.746Z] Configure a credential helper to remove this warning. See [2021-03-02T13:31:15.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-02T13:31:15.746Z] [2021-03-02T13:31:15.746Z] Login Succeeded [2021-03-02T13:31:15.746Z] ---> docker-login.sh ends [Pipeline] } [2021-03-02T13:31:15.772Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-02T13:31:16.353Z] ========================================================= [2021-03-02T13:31:16.353Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-02T13:31:16.353Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-02T13:31:16.784Z] + 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-02T13:31:17.053Z] Sending build context to Docker daemon 2.457MB [2021-03-02T13:31:17.053Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-02T13:31:17.053Z] Step 2/8 : FROM ${BASE} [2021-03-02T13:31:17.053Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-02T13:31:17.053Z] 188c0c94c7c5: Pulling fs layer [2021-03-02T13:31:17.053Z] 0ef7d3d256c8: Pulling fs layer [2021-03-02T13:31:17.053Z] de9db76c5a1d: Pulling fs layer [2021-03-02T13:31:17.053Z] bca2f99d35d6: Pulling fs layer [2021-03-02T13:31:17.053Z] 93359f2a8cfa: Pulling fs layer [2021-03-02T13:31:17.053Z] 7c6f9722023f: Pulling fs layer [2021-03-02T13:31:17.053Z] a35cf1a2eb13: Pulling fs layer [2021-03-02T13:31:17.053Z] bca2f99d35d6: Waiting [2021-03-02T13:31:17.053Z] 93359f2a8cfa: Waiting [2021-03-02T13:31:17.053Z] 7c6f9722023f: Waiting [2021-03-02T13:31:17.053Z] a35cf1a2eb13: Waiting [2021-03-02T13:31:17.053Z] de9db76c5a1d: Verifying Checksum [2021-03-02T13:31:17.053Z] de9db76c5a1d: Download complete [2021-03-02T13:31:17.053Z] 0ef7d3d256c8: Download complete [2021-03-02T13:31:17.053Z] 93359f2a8cfa: Verifying Checksum [2021-03-02T13:31:17.053Z] 93359f2a8cfa: Download complete [2021-03-02T13:31:17.053Z] 7c6f9722023f: Verifying Checksum [2021-03-02T13:31:17.053Z] 7c6f9722023f: Download complete [2021-03-02T13:31:17.053Z] 188c0c94c7c5: Verifying Checksum [2021-03-02T13:31:17.053Z] 188c0c94c7c5: Download complete [2021-03-02T13:31:17.324Z] 188c0c94c7c5: Pull complete [2021-03-02T13:31:17.591Z] 0ef7d3d256c8: Pull complete [2021-03-02T13:31:17.861Z] de9db76c5a1d: Pull complete [2021-03-02T13:31:18.818Z] a35cf1a2eb13: Verifying Checksum [2021-03-02T13:31:18.818Z] a35cf1a2eb13: Download complete [2021-03-02T13:31:19.396Z] bca2f99d35d6: Verifying Checksum [2021-03-02T13:31:19.396Z] bca2f99d35d6: Download complete [2021-03-02T13:31:20.971Z] 00ac8860ef70: Pull complete [2021-03-02T13:31:21.243Z] 63d7cb157983: Pull complete [2021-03-02T13:31:21.514Z] b116817d02f9: Pull complete [2021-03-02T13:31:24.914Z] 745a02a5169b: Pull complete [2021-03-02T13:31:24.914Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-02T13:31:24.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-02T13:31:24.914Z] ---> b7e6874047d6 [2021-03-02T13:31:24.914Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-02T13:31:26.057Z] bca2f99d35d6: Pull complete [2021-03-02T13:31:26.057Z] 93359f2a8cfa: Pull complete [2021-03-02T13:31:26.057Z] 7c6f9722023f: Pull complete [2021-03-02T13:31:28.315Z] ---> Running in 282de672de70 [2021-03-02T13:31:28.315Z] Removing intermediate container 282de672de70 [2021-03-02T13:31:28.315Z] ---> 7c42adb89d7e [2021-03-02T13:31:28.315Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-02T13:31:28.315Z] ---> Running in ec54a90d0739 [2021-03-02T13:31:30.956Z] Removing intermediate container ec54a90d0739 [2021-03-02T13:31:30.956Z] ---> 5a323fbf4de1 [2021-03-02T13:31:30.956Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-02T13:31:30.956Z] ---> Running in 2824d9106ce0 [2021-03-02T13:31:31.392Z] a35cf1a2eb13: Pull complete [2021-03-02T13:31:31.392Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-02T13:31:31.392Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-02T13:31:31.392Z] ---> a62c8e92a672 [2021-03-02T13:31:31.392Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-02T13:31:31.392Z] ---> Running in e3fcae80f87c [2021-03-02T13:31:31.392Z] Removing intermediate container e3fcae80f87c [2021-03-02T13:31:31.392Z] ---> dbe4c004a19e [2021-03-02T13:31:31.392Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-02T13:31:31.392Z] ---> Running in 362a2e3929f2 [2021-03-02T13:31:31.936Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-02T13:31:32.531Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-02T13:31:32.801Z] Removing intermediate container 362a2e3929f2 [2021-03-02T13:31:32.801Z] ---> 6b6d5e7e24f0 [2021-03-02T13:31:32.801Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-02T13:31:32.801Z] ---> Running in ae3a82db451b [2021-03-02T13:31:33.512Z] OK: 142 MiB in 39 packages [2021-03-02T13:31:34.201Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-02T13:31:34.493Z] Removing intermediate container 2824d9106ce0 [2021-03-02T13:31:34.493Z] ---> e8c600cbc519 [2021-03-02T13:31:34.493Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-02T13:31:34.767Z] ---> Running in b7afa33e8c41 [2021-03-02T13:31:34.778Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-02T13:31:35.040Z] Removing intermediate container b7afa33e8c41 [2021-03-02T13:31:35.040Z] ---> f089109e61d2 [2021-03-02T13:31:35.040Z] Step 7/8 : COPY . . [2021-03-02T13:31:35.355Z] OK: 166 MiB in 39 packages [2021-03-02T13:31:35.620Z] Removing intermediate container ae3a82db451b [2021-03-02T13:31:35.620Z] ---> 58134859b707 [2021-03-02T13:31:35.620Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-02T13:31:35.620Z] ---> Running in 0fa054376ca8 [2021-03-02T13:31:35.885Z] Removing intermediate container 0fa054376ca8 [2021-03-02T13:31:35.885Z] ---> ca71f5012d0c [2021-03-02T13:31:35.885Z] Step 7/8 : COPY . . [2021-03-02T13:31:36.476Z] ---> b8f68e1c7dc9 [2021-03-02T13:31:36.476Z] Step 8/8 : RUN go mod download [2021-03-02T13:31:36.750Z] ---> Running in 3304f1a98d16 [2021-03-02T13:31:37.291Z] ---> e1d4c1132276 [2021-03-02T13:31:37.291Z] Step 8/8 : RUN go mod download [2021-03-02T13:31:37.291Z] ---> Running in aec2ccd88677 [2021-03-02T13:31:59.364Z] Removing intermediate container aec2ccd88677 [2021-03-02T13:31:59.364Z] ---> 7c983bd801c8 [2021-03-02T13:31:59.364Z] Successfully built 7c983bd801c8 [2021-03-02T13:31:59.364Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-02T13:31:59.723Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-02T13:31:59.723Z] . [Pipeline] withDockerContainer [2021-03-02T13:31:59.888Z] prd-centos7-docker-4c-2g-28215 does not seem to be running inside a container [2021-03-02T13:31:59.945Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-02T13:32:00.865Z] $ docker top 515e1f1af1f8661de6ea658c002ec88493117e911ec44602f6498b5b0a824b3c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-02T13:32:01.495Z] + go version [2021-03-02T13:32:01.495Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-02T13:32:01.528Z] $ docker stop --time=1 515e1f1af1f8661de6ea658c002ec88493117e911ec44602f6498b5b0a824b3c [2021-03-02T13:32:02.974Z] $ docker rm -f 515e1f1af1f8661de6ea658c002ec88493117e911ec44602f6498b5b0a824b3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-03-02T13:32:03.544Z] Removing intermediate container 3304f1a98d16 [2021-03-02T13:32:03.544Z] ---> a3133dc3074b [2021-03-02T13:32:03.544Z] Successfully built a3133dc3074b [2021-03-02T13:32:03.544Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-02T13:32:04.101Z] + docker inspect -f . ci-base-image-arm64 [2021-03-02T13:32:04.101Z] . [Pipeline] withDockerContainer [2021-03-02T13:32:04.340Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-02T13:32:04.340Z] . [2021-03-02T13:32:04.407Z] prd-ubuntu18.04-docker-arm64-4c-16g-28214 does not seem to be running inside a container [2021-03-02T13:32:04.486Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-02T13:32:06.031Z] $ docker top cdb28f401c68db77c83d9c44b108c70d79c563c8145bf511222cebc4260a452d -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-03-02T13:32:06.556Z] prd-centos7-docker-4c-2g-28215 does not seem to be running inside a container [2021-03-02T13:32:06.619Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-02T13:32:07.456Z] $ docker top 746b4073cdb6fb8b0db0be79e71b55f8aa5ae025c25fa9497d49b01502dda594 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-03-02T13:32:08.132Z] + make test [2021-03-02T13:32:08.132Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-02T13:32:08.405Z] + go version [2021-03-02T13:32:08.405Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-02T13:32:08.441Z] $ docker stop --time=1 cdb28f401c68db77c83d9c44b108c70d79c563c8145bf511222cebc4260a452d [2021-03-02T13:32:10.448Z] $ docker rm -f cdb28f401c68db77c83d9c44b108c70d79c563c8145bf511222cebc4260a452d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-02T13:32:11.661Z] + docker inspect -f . ci-base-image-arm64 [2021-03-02T13:32:11.661Z] . [Pipeline] withDockerContainer [2021-03-02T13:32:11.946Z] prd-ubuntu18.04-docker-arm64-4c-16g-28214 does not seem to be running inside a container [2021-03-02T13:32:12.031Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-02T13:32:13.484Z] $ docker top 9539839bb58e2c37256708f4686c8c1331ae15d65f9c873a9b06773e659437a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-02T13:32:14.602Z] + make test [2021-03-02T13:32:14.602Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-02T13:32:16.356Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-02T13:32:34.602Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-02T13:32:34.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-02T13:32:34.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-02T13:32:36.016Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 25.5% of statements [2021-03-02T13:32:36.790Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-02T13:33:08.222Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.082s coverage: 10.5% of statements [2021-03-02T13:33:08.222Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.079s coverage: 12.5% of statements [2021-03-02T13:33:08.222Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-02T13:33:08.222Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.070s coverage: 84.8% of statements [2021-03-02T13:33:08.222Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-02T13:33:08.222Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-03-02T13:33:08.222Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-02T13:33:08.222Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-02T13:33:08.222Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.091s coverage: 48.7% of statements [2021-03-02T13:33:08.222Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-02T13:33:08.222Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.070s coverage: 81.3% of statements [2021-03-02T13:33:08.222Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.077s coverage: 24.8% of statements [2021-03-02T13:33:08.222Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.459s coverage: 83.5% of statements [2021-03-02T13:33:08.222Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 5.2% of statements [2021-03-02T13:33:08.222Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-02T13:33:08.222Z] GO111MODULE=on go vet ./... [2021-03-02T13:33:16.529Z] gofmt -l . [2021-03-02T13:33:16.529Z] [ "`gofmt -l .`" = "" ] [2021-03-02T13:33:16.529Z] ./bin/test-attribution-txt.sh [2021-03-02T13:33:16.529Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-02T13:33:16.831Z] $ docker stop --time=1 746b4073cdb6fb8b0db0be79e71b55f8aa5ae025c25fa9497d49b01502dda594 [2021-03-02T13:33:18.900Z] $ docker rm -f 746b4073cdb6fb8b0db0be79e71b55f8aa5ae025c25fa9497d49b01502dda594 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-02T13:33:19.640Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-02T13:33:20.025Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-03-02T13:33:23.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-02T13:33:23.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-02T13:33:23.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-02T13:33:23.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.114s coverage: 25.5% of statements [Pipeline] sh [2021-03-02T13:33:25.790Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-02T13:33:26.117Z] + ls -al . [2021-03-02T13:33:26.117Z] total 188 [2021-03-02T13:33:26.117Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 2 13:33 . [2021-03-02T13:33:26.117Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 2 13:31 .. [2021-03-02T13:33:26.117Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 2 13:31 bin [2021-03-02T13:33:26.117Z] -rw-r--r--. 1 jenkins jenkins 102528 Mar 2 13:33 coverage.out [2021-03-02T13:33:26.117Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 2 13:31 Dockerfile.build [2021-03-02T13:33:26.117Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 2 13:31 .dockerignore [2021-03-02T13:33:26.117Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 2 13:31 example [2021-03-02T13:33:26.117Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 2 13:31 .git [2021-03-02T13:33:26.117Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 2 13:31 .github [2021-03-02T13:33:26.117Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 2 13:31 .gitignore [2021-03-02T13:33:26.117Z] -rw-r--r--. 1 jenkins jenkins 516 Mar 2 13:33 go.mod [2021-03-02T13:33:26.117Z] -rw-r--r--. 1 jenkins jenkins 17372 Mar 2 13:33 go.sum [2021-03-02T13:33:26.117Z] drwxrwxr-x. 13 jenkins jenkins 183 Mar 2 13:31 internal [2021-03-02T13:33:26.117Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 2 13:31 Jenkinsfile [2021-03-02T13:33:26.117Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 2 13:31 LICENSE [2021-03-02T13:33:26.117Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 2 13:31 Makefile [2021-03-02T13:33:26.117Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 2 13:31 openapi [2021-03-02T13:33:26.117Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 2 13:31 pkg [2021-03-02T13:33:26.117Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 2 13:31 README.md [2021-03-02T13:33:26.117Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 2 13:31 RELEASE-NOTES.txt [2021-03-02T13:33:26.117Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 2 13:31 snap [2021-03-02T13:33:26.117Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 2 13:28 VERSION [2021-03-02T13:33:26.117Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 2 13:31 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-02T13:33:26.472Z] + 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=59be67405636ca3d79829d3faa151f769b51d209 --label arch=amd64 --label version=0.0.0 . [2021-03-02T13:33:26.746Z] Sending build context to Docker daemon 2.56MB [2021-03-02T13:33:26.746Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-02T13:33:26.746Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-02T13:33:26.746Z] ---> 7c983bd801c8 [2021-03-02T13:33:26.746Z] Step 3/24 : ARG MAKE='make build' [2021-03-02T13:33:27.330Z] ---> Running in 7db8cfdcaad5 [2021-03-02T13:33:27.598Z] Removing intermediate container 7db8cfdcaad5 [2021-03-02T13:33:27.598Z] ---> 98b8e2cbd298 [2021-03-02T13:33:27.598Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-02T13:33:27.598Z] ---> Running in 17411aa9809a [2021-03-02T13:33:27.867Z] Removing intermediate container 17411aa9809a [2021-03-02T13:33:27.867Z] ---> b6712fba35bb [2021-03-02T13:33:27.867Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-02T13:33:27.867Z] ---> Running in e3db81a59d8f [2021-03-02T13:33:28.138Z] Removing intermediate container e3db81a59d8f [2021-03-02T13:33:28.138Z] ---> e27b797cc524 [2021-03-02T13:33:28.138Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-02T13:33:28.138Z] ---> Running in 6f30e706a3aa [2021-03-02T13:33:29.109Z] Removing intermediate container 6f30e706a3aa [2021-03-02T13:33:29.109Z] ---> 8f9f1750ee4e [2021-03-02T13:33:29.109Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-02T13:33:29.109Z] ---> Running in 7d7af3238cc3 [2021-03-02T13:33:29.697Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-02T13:33:31.632Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-02T13:33:33.571Z] OK: 166 MiB in 39 packages [2021-03-02T13:33:33.835Z] Removing intermediate container 7d7af3238cc3 [2021-03-02T13:33:33.835Z] ---> de424ecc0d02 [2021-03-02T13:33:33.835Z] Step 8/24 : COPY . . [2021-03-02T13:33:35.229Z] ---> e02d07db202c [2021-03-02T13:33:35.229Z] Step 9/24 : RUN ${MAKE} [2021-03-02T13:33:35.229Z] ---> Running in defaaa97d054 [2021-03-02T13:33:35.812Z] 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-02T13:33:45.962Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-02T13:33:47.360Z] Removing intermediate container defaaa97d054 [2021-03-02T13:33:47.360Z] ---> de668763b6d9 [2021-03-02T13:33:47.360Z] Step 10/24 : FROM scratch [2021-03-02T13:33:47.360Z] ---> [2021-03-02T13:33:47.360Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-02T13:33:47.360Z] ---> Running in 4038674d15f9 [2021-03-02T13:33:47.622Z] Removing intermediate container 4038674d15f9 [2021-03-02T13:33:47.622Z] ---> 6eafd4b9c8c3 [2021-03-02T13:33:47.622Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-02T13:33:47.622Z] ---> Running in bb688594ca45 [2021-03-02T13:33:47.622Z] Removing intermediate container bb688594ca45 [2021-03-02T13:33:47.622Z] ---> 4b163e3634b2 [2021-03-02T13:33:47.622Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-02T13:33:47.888Z] ---> Running in da34dd54dabd [2021-03-02T13:33:47.888Z] Removing intermediate container da34dd54dabd [2021-03-02T13:33:47.888Z] ---> 0fdc06f576e8 [2021-03-02T13:33:47.888Z] Step 14/24 : WORKDIR / [2021-03-02T13:33:48.150Z] ---> Running in 34127b0a60e2 [2021-03-02T13:33:48.150Z] Removing intermediate container 34127b0a60e2 [2021-03-02T13:33:48.150Z] ---> 4e8953a1d12f [2021-03-02T13:33:48.150Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-02T13:33:48.728Z] ---> f60cfc6a57d8 [2021-03-02T13:33:48.728Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-02T13:33:48.991Z] ---> dcda5327f226 [2021-03-02T13:33:48.991Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-02T13:33:49.255Z] ---> 56b6f9ff5c0b [2021-03-02T13:33:49.255Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-02T13:33:49.517Z] ---> eac9a9c16c8f [2021-03-02T13:33:49.517Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-02T13:33:49.779Z] ---> 47d0769bd0a3 [2021-03-02T13:33:49.779Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-02T13:33:49.779Z] ---> Running in 2d499e18ff53 [2021-03-02T13:33:50.041Z] Removing intermediate container 2d499e18ff53 [2021-03-02T13:33:50.041Z] ---> bb1e2ac5b5ca [2021-03-02T13:33:50.041Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-02T13:33:50.041Z] ---> Running in fcb548d71655 [2021-03-02T13:33:50.305Z] Removing intermediate container fcb548d71655 [2021-03-02T13:33:50.305Z] ---> 469fb01526b3 [2021-03-02T13:33:50.305Z] Step 22/24 : LABEL arch=amd64 [2021-03-02T13:33:50.305Z] ---> Running in 2f21d60dd1ec [2021-03-02T13:33:50.305Z] Removing intermediate container 2f21d60dd1ec [2021-03-02T13:33:50.305Z] ---> 02fd628d078a [2021-03-02T13:33:50.305Z] Step 23/24 : LABEL git_sha=59be67405636ca3d79829d3faa151f769b51d209 [2021-03-02T13:33:50.575Z] ---> Running in c7c5d986cced [2021-03-02T13:33:50.575Z] Removing intermediate container c7c5d986cced [2021-03-02T13:33:50.575Z] ---> df8d7b3c3f26 [2021-03-02T13:33:50.575Z] Step 24/24 : LABEL version=0.0.0 [2021-03-02T13:33:50.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.181s coverage: 10.5% of statements [2021-03-02T13:33:50.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.133s coverage: 12.5% of statements [2021-03-02T13:33:50.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-02T13:33:50.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.153s coverage: 84.8% of statements [2021-03-02T13:33:50.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-02T13:33:50.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-03-02T13:33:50.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-02T13:33:50.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-02T13:33:50.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.195s coverage: 48.7% of statements [2021-03-02T13:33:50.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-02T13:33:50.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.172s coverage: 81.3% of statements [2021-03-02T13:33:50.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.194s coverage: 24.8% of statements [2021-03-02T13:33:50.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.687s coverage: 83.5% of statements [2021-03-02T13:33:50.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.133s coverage: 5.2% of statements [2021-03-02T13:33:50.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-02T13:33:50.686Z] GO111MODULE=on go vet ./... [2021-03-02T13:33:50.846Z] ---> Running in 2d9523fe32c9 [2021-03-02T13:33:50.846Z] Removing intermediate container 2d9523fe32c9 [2021-03-02T13:33:50.846Z] ---> e80032ceac89 [2021-03-02T13:33:50.846Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-02T13:33:50.846Z] Successfully built e80032ceac89 [2021-03-02T13:33:50.846Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-02T13:33:52.321Z] ---> job-cost.sh [2021-03-02T13:33:52.321Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mUYF [2021-03-02T13:34:07.516Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-02T13:34:23.123Z] gofmt -l . [2021-03-02T13:34:23.400Z] [ "`gofmt -l .`" = "" ] [2021-03-02T13:34:23.678Z] ./bin/test-attribution-txt.sh [2021-03-02T13:34:24.653Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-02T13:34:25.282Z] $ docker stop --time=1 9539839bb58e2c37256708f4686c8c1331ae15d65f9c873a9b06773e659437a3 [2021-03-02T13:34:27.539Z] $ docker rm -f 9539839bb58e2c37256708f4686c8c1331ae15d65f9c873a9b06773e659437a3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-02T13:34:28.738Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-02T13:34:28.781Z] Warning: overwriting stash ‘coverage-report’ [2021-03-02T13:34:29.640Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-02T13:34:30.581Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-02T13:34:30.940Z] + ls -al . [2021-03-02T13:34:30.940Z] total 224 [2021-03-02T13:34:30.940Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 2 13:34 . [2021-03-02T13:34:30.940Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 13:30 .. [2021-03-02T13:34:30.940Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 2 13:30 .dockerignore [2021-03-02T13:34:30.940Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 2 13:30 .git [2021-03-02T13:34:30.940Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 13:30 .github [2021-03-02T13:34:30.940Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 2 13:30 .gitignore [2021-03-02T13:34:30.940Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 2 13:30 Dockerfile.build [2021-03-02T13:34:30.940Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 2 13:30 Jenkinsfile [2021-03-02T13:34:30.940Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 2 13:30 LICENSE [2021-03-02T13:34:30.940Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 2 13:30 Makefile [2021-03-02T13:34:30.940Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 2 13:30 README.md [2021-03-02T13:34:30.940Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 2 13:30 RELEASE-NOTES.txt [2021-03-02T13:34:30.940Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 2 13:28 VERSION [2021-03-02T13:34:30.940Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 13:30 bin [2021-03-02T13:34:30.940Z] -rw-r--r-- 1 jenkins jenkins 102529 Mar 2 13:33 coverage.out [2021-03-02T13:34:30.940Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 13:30 example [2021-03-02T13:34:30.940Z] -rw-r--r-- 1 jenkins jenkins 516 Mar 2 13:34 go.mod [2021-03-02T13:34:30.940Z] -rw-r--r-- 1 jenkins jenkins 17372 Mar 2 13:34 go.sum [2021-03-02T13:34:30.940Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 2 13:30 internal [2021-03-02T13:34:30.940Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 13:30 openapi [2021-03-02T13:34:30.940Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 2 13:30 pkg [2021-03-02T13:34:30.940Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 13:30 snap [2021-03-02T13:34:30.940Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 2 13:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-02T13:34:31.311Z] + 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=59be67405636ca3d79829d3faa151f769b51d209 --label arch=arm64 --label version=0.0.0 . [2021-03-02T13:34:31.584Z] Sending build context to Docker daemon 2.561MB [2021-03-02T13:34:31.856Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-02T13:34:31.856Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-02T13:34:31.856Z] ---> a3133dc3074b [2021-03-02T13:34:31.856Z] Step 3/24 : ARG MAKE='make build' [2021-03-02T13:34:32.128Z] ---> Running in 35e80c80f7af [2021-03-02T13:34:32.398Z] Removing intermediate container 35e80c80f7af [2021-03-02T13:34:32.398Z] ---> 81fbe9abce54 [2021-03-02T13:34:32.398Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-02T13:34:32.671Z] ---> Running in a82f6d54a236 [2021-03-02T13:34:33.267Z] Removing intermediate container a82f6d54a236 [2021-03-02T13:34:33.267Z] ---> a08a9cbfcee4 [2021-03-02T13:34:33.267Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-02T13:34:33.267Z] ---> Running in 228a4b3106fd [2021-03-02T13:34:33.862Z] Removing intermediate container 228a4b3106fd [2021-03-02T13:34:33.862Z] ---> f367b60fdffb [2021-03-02T13:34:33.862Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-02T13:34:33.862Z] ---> Running in 427241c3e9a8 [2021-03-02T13:34:36.480Z] Removing intermediate container 427241c3e9a8 [2021-03-02T13:34:36.481Z] ---> ff31e512a410 [2021-03-02T13:34:36.481Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-02T13:34:36.481Z] ---> Running in 72bf6ac443e5 [2021-03-02T13:34:37.458Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-02T13:34:38.885Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-02T13:34:39.735Z] lf-activate-venv(): INFO: Adding /tmp/venv-mUYF/bin to PATH [2021-03-02T13:34:39.735Z] INFO: No Stack... [2021-03-02T13:34:39.735Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-02T13:34:39.735Z] INFO: Archiving Costs [Pipeline] sh [2021-03-02T13:34:40.065Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-03-02T13:34:40.065Z] + cut -d, -f6 [Pipeline] lock [2021-03-02T13:34:40.170Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-804-1-stack-cost] [2021-03-02T13:34:40.177Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-804-1-stack-cost] did not exist. Created. [2021-03-02T13:34:40.177Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-804-1-stack-cost] [Pipeline] { [Pipeline] unstash [2021-03-02T13:34:40.315Z] OK: 142 MiB in 39 packages [Pipeline] sh [2021-03-02T13:34:40.690Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-02T13:34:40.841Z] Stashed 1 file(s) [Pipeline] } [2021-03-02T13:34:40.859Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-804-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2021-03-02T13:34:41.309Z] Removing intermediate container 72bf6ac443e5 [2021-03-02T13:34:41.309Z] ---> ae4387f3373f [2021-03-02T13:34:41.309Z] Step 8/24 : COPY . . [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-02T13:34:42.764Z] ---> 3237ebc99f76 [2021-03-02T13:34:42.764Z] Step 9/24 : RUN ${MAKE} [2021-03-02T13:34:42.764Z] ---> Running in 8f20568c55f6 [2021-03-02T13:34:43.742Z] 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-02T13:35:10.551Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-02T13:35:11.539Z] Removing intermediate container 8f20568c55f6 [2021-03-02T13:35:11.539Z] ---> 1706a70f23b3 [2021-03-02T13:35:11.539Z] Step 10/24 : FROM scratch [2021-03-02T13:35:11.539Z] ---> [2021-03-02T13:35:11.539Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-02T13:35:11.539Z] ---> Running in 147f52ea9db9 [2021-03-02T13:35:11.812Z] Removing intermediate container 147f52ea9db9 [2021-03-02T13:35:11.812Z] ---> 89c10ad62b88 [2021-03-02T13:35:11.812Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-02T13:35:12.086Z] ---> Running in f0647663a0c9 [2021-03-02T13:35:12.358Z] Removing intermediate container f0647663a0c9 [2021-03-02T13:35:12.358Z] ---> e5a127f04843 [2021-03-02T13:35:12.358Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-02T13:35:12.630Z] ---> Running in ba6514b72a16 [2021-03-02T13:35:12.900Z] Removing intermediate container ba6514b72a16 [2021-03-02T13:35:12.900Z] ---> 06bb7f1d45f7 [2021-03-02T13:35:12.900Z] Step 14/24 : WORKDIR / [2021-03-02T13:35:13.173Z] ---> Running in 713a6e12f6d9 [2021-03-02T13:35:13.446Z] Removing intermediate container 713a6e12f6d9 [2021-03-02T13:35:13.446Z] ---> 847d11b1ed1e [2021-03-02T13:35:13.446Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-02T13:35:14.896Z] ---> 4e9f43203702 [2021-03-02T13:35:14.896Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-02T13:35:15.491Z] ---> e41e99fbed4d [2021-03-02T13:35:15.491Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-02T13:35:16.089Z] ---> 65fa6d3de6af [2021-03-02T13:35:16.089Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-02T13:35:17.079Z] ---> 2cb3c59dc9ca [2021-03-02T13:35:17.079Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-02T13:35:17.674Z] ---> f3a7dc2f14cb [2021-03-02T13:35:17.674Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-02T13:35:17.674Z] ---> Running in 457cce461c7f [2021-03-02T13:35:18.269Z] Removing intermediate container 457cce461c7f [2021-03-02T13:35:18.269Z] ---> 04d2cd2cf81a [2021-03-02T13:35:18.269Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-02T13:35:18.269Z] ---> Running in b724af98e540 [2021-03-02T13:35:18.866Z] Removing intermediate container b724af98e540 [2021-03-02T13:35:18.866Z] ---> b9b506f740b3 [2021-03-02T13:35:18.866Z] Step 22/24 : LABEL arch=arm64 [2021-03-02T13:35:18.866Z] ---> Running in fcf9c0df010c [2021-03-02T13:35:19.461Z] Removing intermediate container fcf9c0df010c [2021-03-02T13:35:19.461Z] ---> dbefb2a3ae47 [2021-03-02T13:35:19.461Z] Step 23/24 : LABEL git_sha=59be67405636ca3d79829d3faa151f769b51d209 [2021-03-02T13:35:19.461Z] ---> Running in 851b8005ca8e [2021-03-02T13:35:20.055Z] Removing intermediate container 851b8005ca8e [2021-03-02T13:35:20.056Z] ---> 046499a03742 [2021-03-02T13:35:20.056Z] Step 24/24 : LABEL version=0.0.0 [2021-03-02T13:35:20.056Z] ---> Running in ea53abd32670 [2021-03-02T13:35:20.647Z] Removing intermediate container ea53abd32670 [2021-03-02T13:35:20.647Z] ---> 3cefe0d8c5d5 [2021-03-02T13:35:20.647Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-02T13:35:20.647Z] Successfully built 3cefe0d8c5d5 [2021-03-02T13:35:20.648Z] 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-02T13:35:21.721Z] ---> job-cost.sh [2021-03-02T13:35:21.721Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2bog [2021-03-02T13:36:00.673Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-02T13:38:07.451Z] lf-activate-venv(): INFO: Adding /tmp/venv-2bog/bin to PATH [2021-03-02T13:38:07.451Z] INFO: No Stack... [2021-03-02T13:38:08.425Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-02T13:38:08.696Z] INFO: Archiving Costs [Pipeline] sh [2021-03-02T13:38:09.052Z] + + cut -d, -f6 [2021-03-02T13:38:09.052Z] cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-03-02T13:38:09.181Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-804-1-stack-cost] [2021-03-02T13:38:09.187Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-804-1-stack-cost] did not exist. Created. [2021-03-02T13:38:09.187Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-804-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-02T13:38:09.715Z] /w/workspace/device-sdk-go/1@tmp/durable-4819c8fc/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-4819c8fc/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-02T13:38:10.079Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-02T13:38:10.113Z] Warning: overwriting stash ‘stack-cost’ [2021-03-02T13:38:10.261Z] Stashed 1 file(s) [Pipeline] } [2021-03-02T13:38:10.296Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-804-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-02T13:38:12.324Z] provisioning config files... [2021-03-02T13:38:12.343Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/config7449184570117480698tmp [Pipeline] { [Pipeline] sh [2021-03-02T13:38:12.767Z] + set +x [2021-03-02T13:38:12.767Z] + curl -s https://codecov.io/bash [2021-03-02T13:38:12.767Z] + bash -s -- [2021-03-02T13:38:13.032Z] [2021-03-02T13:38:13.032Z] _____ _ [2021-03-02T13:38:13.032Z] / ____| | | [2021-03-02T13:38:13.032Z] | | ___ __| | ___ ___ _____ __ [2021-03-02T13:38:13.032Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-02T13:38:13.032Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-02T13:38:13.032Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-02T13:38:13.032Z] Bash-20210226-7100762 [2021-03-02T13:38:13.032Z] [2021-03-02T13:38:13.032Z] [2021-03-02T13:38:13.032Z] ==> git version 2.24.3 found [2021-03-02T13:38:13.032Z] ==> 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-02T13:38:13.032Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-02T13:38:13.032Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-02T13:38:13.032Z] ==> Jenkins CI detected. [2021-03-02T13:38:13.032Z] project root: . [2021-03-02T13:38:13.032Z] --> token set from env [2021-03-02T13:38:13.032Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-02T13:38:13.032Z] ==> Running gcov in . (disable via -X gcov) [2021-03-02T13:38:13.032Z] ==> Python coveragepy not found [2021-03-02T13:38:13.032Z] ==> Searching for coverage reports in: [2021-03-02T13:38:13.032Z] + . [2021-03-02T13:38:13.032Z] -> Found 1 reports [2021-03-02T13:38:13.032Z] ==> Detecting git/mercurial file structure [2021-03-02T13:38:13.032Z] ==> Reading reports [2021-03-02T13:38:13.032Z] + ./coverage.out bytes=102529 [2021-03-02T13:38:13.032Z] ==> Appending adjustments [2021-03-02T13:38:13.032Z] https://docs.codecov.io/docs/fixing-reports [2021-03-02T13:38:13.609Z] + Found adjustments [2021-03-02T13:38:13.609Z] ==> Gzipping contents [2021-03-02T13:38:13.609Z] 20K /tmp/codecov.OweSOP.gz [2021-03-02T13:38:13.609Z] ==> Uploading reports [2021-03-02T13:38:13.609Z] url: https://codecov.io [2021-03-02T13:38:13.609Z] query: branch=PR-804&commit=59be67405636ca3d79829d3faa151f769b51d209&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-804%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=804&job=&cmd_args= [2021-03-02T13:38:13.609Z] -> Pinging Codecov [2021-03-02T13:38:13.609Z] https://codecov.io/upload/v4?package=bash-20210226-7100762&token=secret&branch=PR-804&commit=59be67405636ca3d79829d3faa151f769b51d209&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-804%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=804&job=&cmd_args= [2021-03-02T13:38:13.873Z] -> Uploading to [2021-03-02T13:38:13.873Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-02/7E55EF52A471D76F132DFD9A03CDDE97/59be67405636ca3d79829d3faa151f769b51d209/36d78299-369a-476c-a88b-dc8414849477.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210302%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210302T133813Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bb560d46194501c5b7d80bb1f299ff26b056148a68aaa93ca07f3d051f44f560 [2021-03-02T13:38:13.873Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-02T13:38:13.873Z] Dload Upload Total Spent Left Speed [2021-03-02T13:38:14.455Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16615 0 0 100 16615 0 31858 --:--:-- --:--:-- --:--:-- 31890 [2021-03-02T13:38:14.455Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/59be67405636ca3d79829d3faa151f769b51d209 [Pipeline] } [2021-03-02T13:38:14.517Z] 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-02T13:38:18.445Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-02T13:38:18.795Z] ---> package-listing.sh [2021-03-02T13:38:18.795Z] ++ facter osfamily [2021-03-02T13:38:18.795Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-02T13:38:18.795Z] + OS_FAMILY=redhat [2021-03-02T13:38:18.795Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-804 [2021-03-02T13:38:18.795Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-02T13:38:18.795Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-02T13:38:18.795Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-02T13:38:18.795Z] + PACKAGES=/tmp/packages_start.txt [2021-03-02T13:38:18.795Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-804 ']' [2021-03-02T13:38:18.795Z] + PACKAGES=/tmp/packages_end.txt [2021-03-02T13:38:18.795Z] + case "${OS_FAMILY}" in [2021-03-02T13:38:18.795Z] + rpm -qa [2021-03-02T13:38:18.795Z] + sort [2021-03-02T13:38:24.124Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-02T13:38:24.124Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-02T13:38:24.124Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-02T13:38:24.124Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-804 ']' [2021-03-02T13:38:24.124Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-804/archives/ [2021-03-02T13:38:24.124Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-804/archives/ [Pipeline] echo [2021-03-02T13:38:24.159Z] 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-804/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-02T13:38:24.475Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-02T13:38:24.819Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-02T13:38:24.819Z] [2021-03-02T13:38:24.819Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-02T13:38:25.205Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-02T13:38:25.205Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-02T13:38:25.205Z] df20fa9351a1: Pulling fs layer [2021-03-02T13:38:25.205Z] 36b3adc4ff6f: Pulling fs layer [2021-03-02T13:38:25.205Z] 8ad3a11d3b57: Pulling fs layer [2021-03-02T13:38:25.205Z] 46f8f816bc3b: Pulling fs layer [2021-03-02T13:38:25.205Z] 93b61091891f: Pulling fs layer [2021-03-02T13:38:25.205Z] 93b9cdb0e59b: Pulling fs layer [2021-03-02T13:38:25.205Z] 5e14af77c1be: Pulling fs layer [2021-03-02T13:38:25.205Z] 01666e4c0597: Pulling fs layer [2021-03-02T13:38:25.205Z] aa168da1d23b: Pulling fs layer [2021-03-02T13:38:25.205Z] 93b9cdb0e59b: Waiting [2021-03-02T13:38:25.205Z] 5e14af77c1be: Waiting [2021-03-02T13:38:25.205Z] 46f8f816bc3b: Waiting [2021-03-02T13:38:25.205Z] 93b61091891f: Waiting [2021-03-02T13:38:25.205Z] 01666e4c0597: Waiting [2021-03-02T13:38:25.205Z] aa168da1d23b: Waiting [2021-03-02T13:38:25.205Z] 36b3adc4ff6f: Verifying Checksum [2021-03-02T13:38:25.205Z] 36b3adc4ff6f: Download complete [2021-03-02T13:38:25.205Z] 46f8f816bc3b: Verifying Checksum [2021-03-02T13:38:25.205Z] 46f8f816bc3b: Download complete [2021-03-02T13:38:25.470Z] df20fa9351a1: Verifying Checksum [2021-03-02T13:38:25.470Z] df20fa9351a1: Download complete [2021-03-02T13:38:25.470Z] 93b9cdb0e59b: Verifying Checksum [2021-03-02T13:38:25.470Z] 93b9cdb0e59b: Download complete [2021-03-02T13:38:25.470Z] 5e14af77c1be: Verifying Checksum [2021-03-02T13:38:25.470Z] 5e14af77c1be: Download complete [2021-03-02T13:38:25.470Z] 93b61091891f: Verifying Checksum [2021-03-02T13:38:25.470Z] 93b61091891f: Download complete [2021-03-02T13:38:25.470Z] 01666e4c0597: Verifying Checksum [2021-03-02T13:38:25.470Z] 01666e4c0597: Download complete [2021-03-02T13:38:25.733Z] df20fa9351a1: Pull complete [2021-03-02T13:38:25.997Z] 36b3adc4ff6f: Pull complete [2021-03-02T13:38:26.262Z] 8ad3a11d3b57: Verifying Checksum [2021-03-02T13:38:26.262Z] 8ad3a11d3b57: Download complete [2021-03-02T13:38:26.856Z] 8ad3a11d3b57: Pull complete [2021-03-02T13:38:27.134Z] 46f8f816bc3b: Pull complete [2021-03-02T13:38:28.099Z] 93b61091891f: Pull complete [2021-03-02T13:38:28.100Z] aa168da1d23b: Verifying Checksum [2021-03-02T13:38:28.100Z] aa168da1d23b: Download complete [2021-03-02T13:38:28.100Z] 93b9cdb0e59b: Pull complete [2021-03-02T13:38:28.100Z] 5e14af77c1be: Pull complete [2021-03-02T13:38:28.369Z] 01666e4c0597: Pull complete [2021-03-02T13:38:35.001Z] aa168da1d23b: Pull complete [2021-03-02T13:38:35.001Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-02T13:38:35.001Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-02T13:38:35.001Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-02T13:38:35.222Z] prd-centos7-docker-4c-2g-28213 does not seem to be running inside a container [2021-03-02T13:38:35.271Z] $ 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-804/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-804 -v /w/workspace/dgexfoundry_device-sdk-go_PR-804:/w/workspace/dgexfoundry_device-sdk-go_PR-804:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-02T13:38:39.309Z] $ docker top f65363f2db6e634d66f304b54ca159c3d986a41f33b1419143acafc5ab1f97c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-02T13:38:39.942Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-02T13:38:40.270Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-02T13:38:40.589Z] + ls /var/log/sa-host [2021-03-02T13:38:40.589Z] + sadf -c /var/log/sa-host/sa02 [2021-03-02T13:38:40.589Z] file_magic: OK [2021-03-02T13:38:40.589Z] HZ: Using current value: 100 [2021-03-02T13:38:40.589Z] file_header: OK [2021-03-02T13:38:40.589Z] 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-02T13:38:40.589Z] Statistics: [2021-03-02T13:38:40.589Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-02T13:38:40.589Z] File successfully converted to sysstat format version 12.2.1 [2021-03-02T13:38:40.589Z] + sadf -c /var/log/sa-host/sa23 [2021-03-02T13:38:40.589Z] file_magic: OK [2021-03-02T13:38:40.589Z] HZ: Using current value: 100 [2021-03-02T13:38:40.589Z] file_header: OK [2021-03-02T13:38:40.589Z] 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-02T13:38:40.589Z] Statistics: [2021-03-02T13:38:40.589Z] Hnuu...uuuununununu... [2021-03-02T13:38:40.589Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-02T13:38:41.352Z] provisioning config files... [2021-03-02T13:38:41.370Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/config8995807354691937195tmp [Pipeline] { [Pipeline] echo [2021-03-02T13:38:41.491Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-02T13:38:41.840Z] ---> create-netrc.sh [Pipeline] } [2021-03-02T13:38:41.863Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-02T13:38:42.039Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-02T13:38:42.395Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-02T13:38:42.428Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-02T13:38:42.768Z] ---> sudo-logs.sh [2021-03-02T13:38:42.768Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-02T13:38:42.883Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-02T13:38:43.215Z] ---> job-cost.sh [2021-03-02T13:38:43.216Z] lf-activate-venv: SKIPPING [2021-03-02T13:38:43.216Z] DEBUG: total: 0.20999999344348907 [2021-03-02T13:38:43.216Z] INFO: Retrieving Stack Cost... [2021-03-02T13:38:44.165Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-02T13:38:44.737Z] INFO: Archiving Costs [Pipeline] echo [2021-03-02T13:38:44.779Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-02T13:38:45.110Z] ---> logs-deploy.sh [2021-03-02T13:38:45.110Z] lf-activate-venv: SKIPPING [2021-03-02T13:38:45.110Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-804/1 [2021-03-02T13:38:45.110Z] INFO: archiving workspace using pattern(s): [2021-03-02T13:38:47.041Z] Archives upload complete. [2021-03-02T13:38:47.041Z] INFO: archiving logs to Nexus