Pull request #646 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d1e6a0761109b28dc2ff40c46218a192b591bfdd+0bbcb663a9153978e7e9ef8c297d5988e58906d0 (0d4966c02810f5fcba65ab3961e21e475fb63bde) 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a 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-646/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 f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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-646/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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 f3f382fce060f16c10d6f597981912fab355381a 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 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-9651 in /w/workspace/dgexfoundry_device-sdk-go_PR-646 [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-646 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit d1e6a0761109b28dc2ff40c46218a192b591bfdd Merge succeeded, producing d1e6a0761109b28dc2ff40c46218a192b591bfdd Checking out Revision d1e6a0761109b28dc2ff40c46218a192b591bfdd (PR-646) > 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 --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/646/head:refs/remotes/origin/PR-646 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d1e6a0761109b28dc2ff40c46218a192b591bfdd # 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 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d1e6a0761109b28dc2ff40c46218a192b591bfdd # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-29T06:26:00.603Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-29T06:26:01.008Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-29T06:26:01.257Z] ========================================================= [2020-10-29T06:26:01.257Z] EdgeX Global Pipelines Version Info [2020-10-29T06:26:01.257Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-29T06:26:02.830Z] ------------------- [2020-10-29T06:26:02.830Z] stable info: [2020-10-29T06:26:02.830Z] ------------------- [2020-10-29T06:26:02.830Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-29T06:26:02.830Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-29T06:26:02.830Z] Message: update stable to v1.0.148 [2020-10-29T06:26:03.773Z] ------------------- [2020-10-29T06:26:03.773Z] experimental info: [2020-10-29T06:26:03.773Z] ------------------- [2020-10-29T06:26:03.773Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-29T06:26:03.773Z] Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [2020-10-29T06:26:03.773Z] Message: update experimental to v1.0.152 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-29T06:26:04.357Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-29T06:26:04.521Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-29T06:26:04.668Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-29T06:26:04.815Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-29T06:26:04.967Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-29T06:26:05.111Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-29T06:26:05.269Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-29T06:26:05.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-29T06:26:05.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-29T06:26:05.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-29T06:26:05.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-29T06:26:05.977Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-29T06:26:06.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-29T06:26:06.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-29T06:26:06.412Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-29T06:26:06.545Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-29T06:26:06.698Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-29T06:26:06.878Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-29T06:26:07.010Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-29T06:26:07.154Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-29T06:26:07.287Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-29T06:26:07.419Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-29T06:26:07.621Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-29T06:26:07.753Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-29T06:26:07.891Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-29T06:26:08.040Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-646 [Pipeline] echo [2020-10-29T06:26:08.178Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-646 [Pipeline] echo [2020-10-29T06:26:08.324Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-646 [Pipeline] echo [2020-10-29T06:26:08.460Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d1e6a0761109b28dc2ff40c46218a192b591bfdd [Pipeline] echo [2020-10-29T06:26:08.592Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d1e6a07 [Pipeline] echo [2020-10-29T06:26:08.721Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-29T06:26:09.541Z] + git log --format=format:%s -1 d1e6a0761109b28dc2ff40c46218a192b591bfdd [Pipeline] echo [2020-10-29T06:26:09.618Z] GIT_COMMIT: d1e6a0761109b28dc2ff40c46218a192b591bfdd, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo [2020-10-29T06:26:09.710Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-29T06:26:10.789Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-29T06:26:11.075Z] [2020-10-29T06:26:11.075Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-29T06:26:11.467Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-29T06:26:11.467Z] latest: Pulling from edgex-devops/git-semver [2020-10-29T06:26:11.467Z] 31603596830f: Pulling fs layer [2020-10-29T06:26:11.467Z] 2a8b12db71e7: Pulling fs layer [2020-10-29T06:26:11.467Z] 6ca5941a6612: Pulling fs layer [2020-10-29T06:26:11.467Z] ecc8261a40a4: Pulling fs layer [2020-10-29T06:26:11.467Z] ecc8261a40a4: Waiting [2020-10-29T06:26:11.467Z] 2a8b12db71e7: Verifying Checksum [2020-10-29T06:26:11.467Z] 2a8b12db71e7: Download complete [2020-10-29T06:26:11.740Z] 31603596830f: Verifying Checksum [2020-10-29T06:26:11.740Z] 31603596830f: Download complete [2020-10-29T06:26:12.003Z] ecc8261a40a4: Verifying Checksum [2020-10-29T06:26:12.003Z] ecc8261a40a4: Download complete [2020-10-29T06:26:12.003Z] 6ca5941a6612: Verifying Checksum [2020-10-29T06:26:12.003Z] 6ca5941a6612: Download complete [2020-10-29T06:26:12.003Z] 31603596830f: Pull complete [2020-10-29T06:26:12.269Z] 2a8b12db71e7: Pull complete [2020-10-29T06:26:12.841Z] 6ca5941a6612: Pull complete [2020-10-29T06:26:13.103Z] ecc8261a40a4: Pull complete [2020-10-29T06:26:13.103Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-29T06:26:13.103Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-29T06:26:13.103Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-29T06:26:13.230Z] prd-centos7-docker-4c-2g-9651 does not seem to be running inside a container [2020-10-29T06:26:13.279Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-646 -v /w/workspace/dgexfoundry_device-sdk-go_PR-646:/w/workspace/dgexfoundry_device-sdk-go_PR-646:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-646@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-646@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-29T06:26:15.036Z] $ docker top a6aff9f052207b701a0db20dd113efd1b155e36e50f875f762cffe9b45a8989a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-29T06:26:15.442Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-29T06:26:15.442Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-29T06:26:15.637Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-29T06:26:15.640Z] $ docker exec a6aff9f052207b701a0db20dd113efd1b155e36e50f875f762cffe9b45a8989a ssh-agent [2020-10-29T06:26:15.795Z] SSH_AUTH_SOCK=/tmp/ssh-fOGmu9jHJo90/agent.11 [2020-10-29T06:26:15.795Z] SSH_AGENT_PID=16 [2020-10-29T06:26:15.807Z] Running ssh-add (command line suppressed) [2020-10-29T06:26:15.921Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-646@tmp/private_key_2064587373454087615.key (/w/workspace/dgexfoundry_device-sdk-go_PR-646@tmp/private_key_2064587373454087615.key) [2020-10-29T06:26:15.968Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-29T06:26:16.355Z] + git tag --points-at HEAD [Pipeline] } [2020-10-29T06:26:16.452Z] $ docker exec --env ******** --env ******** a6aff9f052207b701a0db20dd113efd1b155e36e50f875f762cffe9b45a8989a ssh-agent -k [2020-10-29T06:26:16.565Z] unset SSH_AUTH_SOCK; [2020-10-29T06:26:16.566Z] unset SSH_AGENT_PID; [2020-10-29T06:26:16.566Z] echo Agent pid 16 killed; [2020-10-29T06:26:16.610Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-29T06:26:16.833Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-29T06:26:16.833Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-29T06:26:16.987Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-29T06:26:16.990Z] $ docker exec a6aff9f052207b701a0db20dd113efd1b155e36e50f875f762cffe9b45a8989a ssh-agent [2020-10-29T06:26:17.141Z] SSH_AUTH_SOCK=/tmp/ssh-4cdeWBLoB3xs/agent.44 [2020-10-29T06:26:17.141Z] SSH_AGENT_PID=49 [2020-10-29T06:26:17.151Z] Running ssh-add (command line suppressed) [2020-10-29T06:26:17.263Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-646@tmp/private_key_6520074059660108773.key (/w/workspace/dgexfoundry_device-sdk-go_PR-646@tmp/private_key_6520074059660108773.key) [2020-10-29T06:26:17.311Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-29T06:26:17.704Z] + git semver init [2020-10-29T06:26:17.704Z] # -> Open(): unable to determine branch for HEAD [2020-10-29T06:26:17.704Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-646/.git [2020-10-29T06:26:17.704Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-646 [2020-10-29T06:26:17.704Z] # $SEMVER_REMOTE_NAME = origin [2020-10-29T06:26:17.704Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-29T06:26:17.704Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-29T06:26:17.704Z] # $SEMVER_BRANCH = PR-646 [2020-10-29T06:26:17.704Z] # $SEMVER_TEMP = /tmp/semver-312786116 [2020-10-29T06:26:17.704Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-29T06:26:18.277Z] # '/tmp/semver-312786116' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-646/.semver' [2020-10-29T06:26:18.277Z] # -> Force: false [2020-10-29T06:26:18.277Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-646/.semver [Pipeline] } [2020-10-29T06:26:18.298Z] $ docker exec --env ******** --env ******** a6aff9f052207b701a0db20dd113efd1b155e36e50f875f762cffe9b45a8989a ssh-agent -k [2020-10-29T06:26:18.424Z] unset SSH_AUTH_SOCK; [2020-10-29T06:26:18.424Z] unset SSH_AGENT_PID; [2020-10-29T06:26:18.424Z] echo Agent pid 49 killed; [2020-10-29T06:26:18.466Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-29T06:26:19.130Z] + git semver [Pipeline] } [2020-10-29T06:26:19.162Z] $ docker stop --time=1 a6aff9f052207b701a0db20dd113efd1b155e36e50f875f762cffe9b45a8989a [2020-10-29T06:26:20.616Z] $ docker rm -f a6aff9f052207b701a0db20dd113efd1b155e36e50f875f762cffe9b45a8989a [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-29T06:26:21.161Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-29T06:26:21.610Z] Stashed 1 file(s) [Pipeline] echo [2020-10-29T06:26:21.633Z] [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 [2020-10-29T06:26:37.560Z] Still waiting to schedule task [2020-10-29T06:26:37.560Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-29T06:26:37.583Z] Still waiting to schedule task [2020-10-29T06:26:37.583Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-29T06:28:32.456Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-9652 in /w/workspace/dgexfoundry_device-sdk-go_PR-646 [Pipeline] { [Pipeline] ws [2020-10-29T06:28:32.613Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-29T06:28:38.127Z] using credential edgex-jenkins-ssh [2020-10-29T06:28:38.195Z] Cloning the remote Git repository [2020-10-29T06:28:38.260Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-29T06:28:38.385Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-29T06:28:38.481Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-29T06:28:38.482Z] > git --version # timeout=10 [2020-10-29T06:28:38.504Z] > git --version # 'git version 2.17.1' [2020-10-29T06:28:38.506Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-29T06:28:38.596Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-29T06:28:39.709Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-29T06:28:39.730Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-29T06:28:39.763Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-29T06:28:39.802Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-29T06:28:39.803Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-29T06:28:39.816Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/646/head:refs/remotes/origin/PR-646 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-29T06:28:40.316Z] Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit d1e6a0761109b28dc2ff40c46218a192b591bfdd [2020-10-29T06:28:40.585Z] Merge succeeded, producing d1e6a0761109b28dc2ff40c46218a192b591bfdd [2020-10-29T06:28:40.585Z] Checking out Revision d1e6a0761109b28dc2ff40c46218a192b591bfdd (PR-646) [2020-10-29T06:28:40.345Z] > git config core.sparsecheckout # timeout=10 [2020-10-29T06:28:40.366Z] > git checkout -f d1e6a0761109b28dc2ff40c46218a192b591bfdd # timeout=10 [2020-10-29T06:28:40.490Z] > git remote # timeout=10 [2020-10-29T06:28:40.508Z] > git config --get remote.origin.url # timeout=10 [2020-10-29T06:28:40.529Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-29T06:28:40.540Z] > git merge 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 [2020-10-29T06:28:40.567Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-29T06:28:40.596Z] > git config core.sparsecheckout # timeout=10 [2020-10-29T06:28:40.608Z] > git checkout -f d1e6a0761109b28dc2ff40c46218a192b591bfdd # timeout=10 [2020-10-29T06:28:45.048Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [2020-10-29T06:28:45.117Z] > git --version # timeout=10 [2020-10-29T06:28:45.128Z] > git --version # 'git version 2.17.1' [2020-10-29T06:28:45.144Z] fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-29T06:28:46.299Z] ========================================================= [2020-10-29T06:28:46.299Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-29T06:28:46.299Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-29T06:28:47.349Z] + 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 . [2020-10-29T06:28:48.351Z] Sending build context to Docker daemon 2.345MB [2020-10-29T06:28:48.351Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-29T06:28:48.351Z] Step 2/8 : FROM ${BASE} [2020-10-29T06:28:48.960Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-29T06:28:48.960Z] b538f80385f9: Pulling fs layer [2020-10-29T06:28:48.960Z] 74f711af9a0d: Pulling fs layer [2020-10-29T06:28:48.960Z] 99f96fe45779: Pulling fs layer [2020-10-29T06:28:48.960Z] 8529a6b9a6be: Pulling fs layer [2020-10-29T06:28:48.960Z] 45590311c82a: Pulling fs layer [2020-10-29T06:28:48.960Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-29T06:28:48.960Z] 209524e5b208: Pulling fs layer [2020-10-29T06:28:48.960Z] 8529a6b9a6be: Waiting [2020-10-29T06:28:48.960Z] 45590311c82a: Waiting [2020-10-29T06:28:48.960Z] 69ca0ff8b7b3: Waiting [2020-10-29T06:28:48.960Z] 209524e5b208: Waiting [2020-10-29T06:28:48.960Z] 99f96fe45779: Verifying Checksum [2020-10-29T06:28:48.960Z] 99f96fe45779: Download complete [2020-10-29T06:28:48.960Z] 74f711af9a0d: Verifying Checksum [2020-10-29T06:28:48.960Z] 74f711af9a0d: Download complete [2020-10-29T06:28:49.563Z] 45590311c82a: Download complete [2020-10-29T06:28:49.563Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-29T06:28:49.563Z] 69ca0ff8b7b3: Download complete [2020-10-29T06:28:49.838Z] b538f80385f9: Verifying Checksum [2020-10-29T06:28:49.838Z] b538f80385f9: Download complete [2020-10-29T06:28:50.439Z] b538f80385f9: Pull complete [2020-10-29T06:28:51.041Z] 74f711af9a0d: Pull complete [2020-10-29T06:28:51.313Z] 99f96fe45779: Pull complete [2020-10-29T06:28:51.930Z] 209524e5b208: Verifying Checksum [2020-10-29T06:28:51.930Z] 209524e5b208: Download complete [2020-10-29T06:28:53.369Z] 8529a6b9a6be: Verifying Checksum [2020-10-29T06:28:53.369Z] 8529a6b9a6be: Download complete [2020-10-29T06:29:03.577Z] 8529a6b9a6be: Pull complete [2020-10-29T06:29:03.577Z] 45590311c82a: Pull complete [2020-10-29T06:29:03.854Z] 69ca0ff8b7b3: Pull complete [2020-10-29T06:29:08.175Z] 209524e5b208: Pull complete [2020-10-29T06:29:08.175Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-29T06:29:08.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-29T06:29:08.175Z] ---> 5bddaf1c2fca [2020-10-29T06:29:08.175Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-29T06:29:10.820Z] ---> Running in a075a6978152 [2020-10-29T06:29:11.093Z] Removing intermediate container a075a6978152 [2020-10-29T06:29:11.093Z] ---> e5ac59ef03f1 [2020-10-29T06:29:11.093Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-29T06:29:11.093Z] ---> Running in f73085d1b75c [2020-10-29T06:29:13.715Z] Removing intermediate container f73085d1b75c [2020-10-29T06:29:13.715Z] ---> a3b7cfe1c7f5 [2020-10-29T06:29:13.715Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-29T06:29:13.989Z] ---> Running in 7322f56fe083 [2020-10-29T06:29:15.422Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-29T06:29:16.407Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-29T06:29:17.003Z] OK: 142 MiB in 39 packages [2020-10-29T06:29:17.985Z] Removing intermediate container 7322f56fe083 [2020-10-29T06:29:17.985Z] ---> 3013bab76a7a [2020-10-29T06:29:17.985Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-29T06:29:18.263Z] ---> Running in bcca19cfca58 [2020-10-29T06:29:18.537Z] Removing intermediate container bcca19cfca58 [2020-10-29T06:29:18.537Z] ---> 2e28c630c814 [2020-10-29T06:29:18.537Z] Step 7/8 : COPY . . [2020-10-29T06:29:19.993Z] ---> 78bcc5b50396 [2020-10-29T06:29:19.993Z] Step 8/8 : RUN go mod download [2020-10-29T06:29:19.993Z] ---> Running in ae1a94d49457 [2020-10-29T06:29:21.911Z] Running on prd-centos7-docker-4c-2g-9653 in /w/workspace/dgexfoundry_device-sdk-go_PR-646 [Pipeline] { [Pipeline] ws [2020-10-29T06:29:22.031Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-29T06:29:28.158Z] using credential edgex-jenkins-ssh [2020-10-29T06:29:28.249Z] Cloning the remote Git repository [2020-10-29T06:29:28.305Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-29T06:29:28.392Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-29T06:29:28.483Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-29T06:29:28.483Z] > git --version # timeout=10 [2020-10-29T06:29:28.495Z] > git --version # 'git version 2.16.5' [2020-10-29T06:29:28.495Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-29T06:29:28.539Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-29T06:29:29.409Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-29T06:29:29.435Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-29T06:29:29.483Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-29T06:29:29.630Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-29T06:29:29.631Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-29T06:29:29.638Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/646/head:refs/remotes/origin/PR-646 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-29T06:29:30.094Z] Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit d1e6a0761109b28dc2ff40c46218a192b591bfdd [2020-10-29T06:29:30.101Z] > git config core.sparsecheckout # timeout=10 [2020-10-29T06:29:30.122Z] > git checkout -f d1e6a0761109b28dc2ff40c46218a192b591bfdd # timeout=10 [2020-10-29T06:29:31.031Z] > git remote # timeout=10 [2020-10-29T06:29:31.049Z] > git config --get remote.origin.url # timeout=10 [2020-10-29T06:29:31.087Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-29T06:29:31.097Z] > git merge 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 [2020-10-29T06:29:31.129Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-29T06:29:31.160Z] Merge succeeded, producing d1e6a0761109b28dc2ff40c46218a192b591bfdd [2020-10-29T06:29:31.160Z] Checking out Revision d1e6a0761109b28dc2ff40c46218a192b591bfdd (PR-646) [2020-10-29T06:29:31.161Z] > git config core.sparsecheckout # timeout=10 [2020-10-29T06:29:31.178Z] > git checkout -f d1e6a0761109b28dc2ff40c46218a192b591bfdd # timeout=10 [2020-10-29T06:29:35.274Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [2020-10-29T06:29:35.305Z] > git --version # timeout=10 [2020-10-29T06:29:35.321Z] > git --version # 'git version 2.16.5' [2020-10-29T06:29:35.329Z] fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-29T06:29:36.371Z] ========================================================= [2020-10-29T06:29:36.371Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-29T06:29:36.371Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-29T06:29:37.438Z] + 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 . [2020-10-29T06:29:38.442Z] Sending build context to Docker daemon 2.347MB [2020-10-29T06:29:38.442Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-29T06:29:38.442Z] Step 2/8 : FROM ${BASE} [2020-10-29T06:29:38.720Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-29T06:29:38.720Z] df20fa9351a1: Pulling fs layer [2020-10-29T06:29:38.720Z] ed8968b2872e: Pulling fs layer [2020-10-29T06:29:38.720Z] a92cc7c5fd73: Pulling fs layer [2020-10-29T06:29:38.720Z] e871e8e8d7a9: Pulling fs layer [2020-10-29T06:29:38.720Z] e73272ec9a57: Pulling fs layer [2020-10-29T06:29:38.720Z] 1e910a182e73: Pulling fs layer [2020-10-29T06:29:38.720Z] 4e634b169226: Pulling fs layer [2020-10-29T06:29:38.720Z] e73272ec9a57: Waiting [2020-10-29T06:29:38.720Z] 1e910a182e73: Waiting [2020-10-29T06:29:38.720Z] 4e634b169226: Waiting [2020-10-29T06:29:38.720Z] e871e8e8d7a9: Waiting [2020-10-29T06:29:38.720Z] a92cc7c5fd73: Verifying Checksum [2020-10-29T06:29:38.720Z] a92cc7c5fd73: Download complete [2020-10-29T06:29:38.720Z] ed8968b2872e: Verifying Checksum [2020-10-29T06:29:38.720Z] ed8968b2872e: Download complete [2020-10-29T06:29:38.720Z] e73272ec9a57: Verifying Checksum [2020-10-29T06:29:38.720Z] e73272ec9a57: Download complete [2020-10-29T06:29:38.720Z] 1e910a182e73: Download complete [2020-10-29T06:29:38.720Z] df20fa9351a1: Verifying Checksum [2020-10-29T06:29:38.720Z] df20fa9351a1: Download complete [2020-10-29T06:29:38.991Z] df20fa9351a1: Pull complete [2020-10-29T06:29:39.262Z] ed8968b2872e: Pull complete [2020-10-29T06:29:39.527Z] a92cc7c5fd73: Pull complete [2020-10-29T06:29:42.171Z] Removing intermediate container ae1a94d49457 [2020-10-29T06:29:42.171Z] ---> 101ce7d28afe [2020-10-29T06:29:42.171Z] Successfully built 101ce7d28afe [2020-10-29T06:29:42.171Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-29T06:29:42.603Z] + docker inspect -f . ci-base-image-arm64 [2020-10-29T06:29:42.603Z] . [Pipeline] withDockerContainer [2020-10-29T06:29:42.857Z] prd-ubuntu18.04-docker-arm64-4c-16g-9652 does not seem to be running inside a container [2020-10-29T06:29:42.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 ******** ci-base-image-arm64 cat [2020-10-29T06:29:43.145Z] 4e634b169226: Verifying Checksum [2020-10-29T06:29:43.145Z] 4e634b169226: Download complete [2020-10-29T06:29:44.759Z] $ docker top ecbc2e392f8925eab77fd21c1c0a0c91a5057dbb7865c2c9c006e9299f6ff24e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-29T06:29:46.037Z] e871e8e8d7a9: Verifying Checksum [2020-10-29T06:29:46.037Z] e871e8e8d7a9: Download complete [2020-10-29T06:29:46.169Z] + go version [2020-10-29T06:29:46.169Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-29T06:29:46.212Z] $ docker stop --time=1 ecbc2e392f8925eab77fd21c1c0a0c91a5057dbb7865c2c9c006e9299f6ff24e [2020-10-29T06:29:48.174Z] $ docker rm -f ecbc2e392f8925eab77fd21c1c0a0c91a5057dbb7865c2c9c006e9299f6ff24e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-29T06:29:49.480Z] + docker inspect -f . ci-base-image-arm64 [2020-10-29T06:29:49.480Z] . [Pipeline] withDockerContainer [2020-10-29T06:29:49.763Z] prd-ubuntu18.04-docker-arm64-4c-16g-9652 does not seem to be running inside a container [2020-10-29T06:29:49.850Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-29T06:29:51.716Z] $ docker top 832da294f540f91f9a7e79fdac6419249c4a33c5f49a310d563af0c435df7d70 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-29T06:29:52.792Z] e871e8e8d7a9: Pull complete [2020-10-29T06:29:52.792Z] e73272ec9a57: Pull complete [2020-10-29T06:29:52.792Z] 1e910a182e73: Pull complete [2020-10-29T06:29:53.187Z] + make test [2020-10-29T06:29:53.187Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-29T06:29:59.542Z] 4e634b169226: Pull complete [2020-10-29T06:29:59.542Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-29T06:29:59.542Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-29T06:29:59.542Z] ---> f7629b54cfaa [2020-10-29T06:29:59.542Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-29T06:29:59.542Z] ---> Running in 5cff4c0dd4d6 [2020-10-29T06:29:59.542Z] Removing intermediate container 5cff4c0dd4d6 [2020-10-29T06:29:59.542Z] ---> 16c6cc5dac1e [2020-10-29T06:29:59.542Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-29T06:29:59.542Z] ---> Running in f3160bfb830a [2020-10-29T06:30:01.027Z] Removing intermediate container f3160bfb830a [2020-10-29T06:30:01.027Z] ---> 09d58446ac81 [2020-10-29T06:30:01.027Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-29T06:30:01.027Z] ---> Running in 0f0a0afaee2a [2020-10-29T06:30:02.088Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-29T06:30:02.697Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-29T06:30:03.360Z] OK: 166 MiB in 39 packages [2020-10-29T06:30:03.634Z] Removing intermediate container 0f0a0afaee2a [2020-10-29T06:30:03.634Z] ---> a07efff13b92 [2020-10-29T06:30:03.634Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-29T06:30:03.934Z] ---> Running in 611e999e7e8f [2020-10-29T06:30:03.934Z] Removing intermediate container 611e999e7e8f [2020-10-29T06:30:03.934Z] ---> 9606c321eb88 [2020-10-29T06:30:03.934Z] Step 7/8 : COPY . . [2020-10-29T06:30:05.664Z] ---> efc06b49ce12 [2020-10-29T06:30:05.664Z] Step 8/8 : RUN go mod download [2020-10-29T06:30:05.664Z] ---> Running in 4db1017a7854 [2020-10-29T06:30:15.380Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-29T06:30:28.034Z] Removing intermediate container 4db1017a7854 [2020-10-29T06:30:28.034Z] ---> 2e5b24b92529 [2020-10-29T06:30:28.034Z] Successfully built 2e5b24b92529 [2020-10-29T06:30:28.034Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-29T06:30:28.556Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-29T06:30:28.556Z] . [Pipeline] withDockerContainer [2020-10-29T06:30:28.989Z] prd-centos7-docker-4c-2g-9653 does not seem to be running inside a container [2020-10-29T06:30:29.520Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-29T06:30:30.892Z] $ docker top 05f1eca8fa7607db1d969cb3bda417643c37465630b377a78b179d1da3d5ff26 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-29T06:30:31.519Z] + go version [2020-10-29T06:30:31.519Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-29T06:30:31.550Z] $ docker stop --time=1 05f1eca8fa7607db1d969cb3bda417643c37465630b377a78b179d1da3d5ff26 [2020-10-29T06:30:33.006Z] $ docker rm -f 05f1eca8fa7607db1d969cb3bda417643c37465630b377a78b179d1da3d5ff26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-29T06:30:34.230Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-29T06:30:34.230Z] . [Pipeline] withDockerContainer [2020-10-29T06:30:34.414Z] prd-centos7-docker-4c-2g-9653 does not seem to be running inside a container [2020-10-29T06:30:34.543Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-29T06:30:35.505Z] $ docker top 56dab78deba1d6eef1ddbdab243708dcca7fce283470013322d934bd49ccfabe -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-29T06:30:36.215Z] + make test [2020-10-29T06:30:36.215Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-29T06:30:49.057Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-29T06:30:54.461Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-29T06:30:54.461Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-29T06:30:54.461Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-29T06:30:54.461Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.139s coverage: 21.4% of statements [2020-10-29T06:30:59.909Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.166s coverage: 97.1% of statements [2020-10-29T06:31:16.451Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-29T06:31:16.451Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-29T06:31:16.451Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-29T06:31:16.451Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.114s coverage: 21.4% of statements [2020-10-29T06:31:16.764Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.559s coverage: 97.1% of statements [2020-10-29T06:31:26.736Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.171s coverage: 9.4% of statements [2020-10-29T06:31:26.736Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.112s coverage: 21.9% of statements [2020-10-29T06:31:26.736Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-29T06:31:26.736Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.583s coverage: 42.6% of statements [2020-10-29T06:31:26.736Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-29T06:31:26.736Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.780s coverage: 68.9% of statements [2020-10-29T06:31:26.736Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-29T06:31:26.736Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-29T06:31:26.736Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-29T06:31:26.736Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-29T06:31:26.736Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.200s coverage: 52.6% of statements [2020-10-29T06:31:26.736Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-29T06:31:26.736Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-29T06:31:26.736Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-29T06:31:26.736Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.699s coverage: 68.9% of statements [2020-10-29T06:31:26.736Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.132s coverage: 4.7% of statements [2020-10-29T06:31:26.736Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-29T06:31:26.736Z] GO111MODULE=on go vet ./... [2020-10-29T06:31:49.219Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.110s coverage: 9.4% of statements [2020-10-29T06:31:49.219Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.094s coverage: 21.9% of statements [2020-10-29T06:31:49.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-29T06:31:49.219Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.334s coverage: 42.6% of statements [2020-10-29T06:31:49.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-29T06:31:49.219Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.469s coverage: 68.9% of statements [2020-10-29T06:31:49.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-29T06:31:49.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-29T06:31:49.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-29T06:31:49.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-29T06:31:49.219Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.084s coverage: 52.6% of statements [2020-10-29T06:31:49.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-29T06:31:49.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-29T06:31:49.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-29T06:31:49.219Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.534s coverage: 68.9% of statements [2020-10-29T06:31:49.219Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.065s coverage: 4.7% of statements [2020-10-29T06:31:49.219Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-29T06:31:49.219Z] GO111MODULE=on go vet ./... [2020-10-29T06:31:59.172Z] gofmt -l . [2020-10-29T06:31:59.172Z] [ "`gofmt -l .`" = "" ] [2020-10-29T06:31:59.172Z] ./bin/test-attribution-txt.sh [2020-10-29T06:31:59.172Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-29T06:32:00.234Z] Stashed 1 file(s) [Pipeline] } [2020-10-29T06:32:00.265Z] $ docker stop --time=1 832da294f540f91f9a7e79fdac6419249c4a33c5f49a310d563af0c435df7d70 [2020-10-29T06:32:02.589Z] $ docker rm -f 832da294f540f91f9a7e79fdac6419249c4a33c5f49a310d563af0c435df7d70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-10-29T06:32:04.714Z] gofmt -l . [2020-10-29T06:32:04.714Z] [ "`gofmt -l .`" = "" ] [2020-10-29T06:32:04.714Z] ./bin/test-attribution-txt.sh [2020-10-29T06:32:04.714Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-29T06:32:06.277Z] Warning: overwriting stash ‘coverage-report’ [Pipeline] sh [2020-10-29T06:32:06.667Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-29T06:32:06.852Z] Stashed 1 file(s) [Pipeline] } [2020-10-29T06:32:06.958Z] $ docker stop --time=1 56dab78deba1d6eef1ddbdab243708dcca7fce283470013322d934bd49ccfabe [2020-10-29T06:32:07.094Z] + ls -al . [2020-10-29T06:32:07.095Z] total 244 [2020-10-29T06:32:07.095Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 29 06:31 . [2020-10-29T06:32:07.095Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 29 06:28 .. [2020-10-29T06:32:07.095Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 29 06:28 .dockerignore [2020-10-29T06:32:07.095Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 29 06:28 .git [2020-10-29T06:32:07.095Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 29 06:28 .github [2020-10-29T06:32:07.095Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 29 06:28 .gitignore [2020-10-29T06:32:07.095Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 29 06:28 Dockerfile.build [2020-10-29T06:32:07.095Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 29 06:28 Jenkinsfile [2020-10-29T06:32:07.095Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 29 06:28 LICENSE [2020-10-29T06:32:07.095Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 29 06:28 Makefile [2020-10-29T06:32:07.095Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 29 06:28 README.md [2020-10-29T06:32:07.095Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 29 06:28 RELEASE-NOTES.txt [2020-10-29T06:32:07.095Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 29 06:26 VERSION [2020-10-29T06:32:07.095Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 29 06:28 bin [2020-10-29T06:32:07.095Z] -rw-r--r-- 1 jenkins jenkins 127612 Oct 29 06:31 coverage.out [2020-10-29T06:32:07.095Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 29 06:28 example [2020-10-29T06:32:07.095Z] -rw-r--r-- 1 jenkins jenkins 518 Oct 29 06:31 go.mod [2020-10-29T06:32:07.095Z] -rw-r--r-- 1 jenkins jenkins 13436 Oct 29 06:31 go.sum [2020-10-29T06:32:07.095Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 29 06:28 internal [2020-10-29T06:32:07.095Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 29 06:28 openapi [2020-10-29T06:32:07.095Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 29 06:28 pkg [2020-10-29T06:32:07.095Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 29 06:28 snap [2020-10-29T06:32:07.095Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 29 06:28 version.go [2020-10-29T06:32:09.294Z] $ docker rm -f 56dab78deba1d6eef1ddbdab243708dcca7fce283470013322d934bd49ccfabe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] isUnix [Pipeline] sh [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-29T06:32:10.382Z] + 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=d1e6a0761109b28dc2ff40c46218a192b591bfdd --label arch=arm64 --label version=0.0.0 . [2020-10-29T06:32:10.683Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-29T06:32:10.984Z] Sending build context to Docker daemon 2.473MB [2020-10-29T06:32:10.984Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-29T06:32:10.984Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-29T06:32:10.984Z] ---> 101ce7d28afe [2020-10-29T06:32:10.984Z] Step 3/24 : ARG MAKE='make build' [2020-10-29T06:32:11.044Z] + ls -al . [2020-10-29T06:32:11.044Z] total 208 [2020-10-29T06:32:11.044Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 29 06:32 . [2020-10-29T06:32:11.044Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 29 06:29 .. [2020-10-29T06:32:11.044Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 29 06:29 bin [2020-10-29T06:32:11.044Z] -rw-r--r--. 1 jenkins jenkins 127611 Oct 29 06:31 coverage.out [2020-10-29T06:32:11.044Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 29 06:29 Dockerfile.build [2020-10-29T06:32:11.044Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 29 06:29 .dockerignore [2020-10-29T06:32:11.044Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 29 06:29 example [2020-10-29T06:32:11.044Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 29 06:29 .git [2020-10-29T06:32:11.044Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 29 06:29 .github [2020-10-29T06:32:11.044Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 29 06:29 .gitignore [2020-10-29T06:32:11.044Z] -rw-r--r--. 1 jenkins jenkins 518 Oct 29 06:32 go.mod [2020-10-29T06:32:11.044Z] -rw-r--r--. 1 jenkins jenkins 13436 Oct 29 06:32 go.sum [2020-10-29T06:32:11.044Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 29 06:29 internal [2020-10-29T06:32:11.044Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 29 06:29 Jenkinsfile [2020-10-29T06:32:11.044Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 29 06:29 LICENSE [2020-10-29T06:32:11.044Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 29 06:29 Makefile [2020-10-29T06:32:11.044Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 29 06:29 openapi [2020-10-29T06:32:11.044Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 29 06:29 pkg [2020-10-29T06:32:11.044Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 29 06:29 README.md [2020-10-29T06:32:11.044Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 29 06:29 RELEASE-NOTES.txt [2020-10-29T06:32:11.044Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 29 06:29 snap [2020-10-29T06:32:11.044Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 29 06:26 VERSION [2020-10-29T06:32:11.045Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 29 06:29 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-29T06:32:11.257Z] ---> Running in 158470a5c34f [2020-10-29T06:32:11.436Z] + 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=d1e6a0761109b28dc2ff40c46218a192b591bfdd --label arch=amd64 --label version=0.0.0 . [2020-10-29T06:32:11.534Z] Removing intermediate container 158470a5c34f [2020-10-29T06:32:11.534Z] ---> 2b73e7dcabbd [2020-10-29T06:32:11.534Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-29T06:32:11.807Z] ---> Running in 28914ae02a11 [2020-10-29T06:32:12.042Z] Sending build context to Docker daemon 2.476MB [2020-10-29T06:32:12.042Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-29T06:32:12.042Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-29T06:32:12.042Z] ---> 2e5b24b92529 [2020-10-29T06:32:12.042Z] Step 3/24 : ARG MAKE='make build' [2020-10-29T06:32:12.082Z] Removing intermediate container 28914ae02a11 [2020-10-29T06:32:12.082Z] ---> a3bf00f74c7f [2020-10-29T06:32:12.082Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-29T06:32:12.306Z] ---> Running in 6f4268aaf7a5 [2020-10-29T06:32:12.362Z] ---> Running in b115fc55efe2 [2020-10-29T06:32:12.579Z] Removing intermediate container 6f4268aaf7a5 [2020-10-29T06:32:12.579Z] ---> bec8e313ad2a [2020-10-29T06:32:12.579Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-29T06:32:12.579Z] ---> Running in 2731c7263496 [2020-10-29T06:32:12.635Z] Removing intermediate container b115fc55efe2 [2020-10-29T06:32:12.635Z] ---> 98eefea8272b [2020-10-29T06:32:12.636Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-29T06:32:12.870Z] Removing intermediate container 2731c7263496 [2020-10-29T06:32:12.870Z] ---> 090d800d42b7 [2020-10-29T06:32:12.870Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-29T06:32:12.870Z] ---> Running in f59dccecc368 [2020-10-29T06:32:12.912Z] ---> Running in 910fa187cd7f [2020-10-29T06:32:13.137Z] Removing intermediate container f59dccecc368 [2020-10-29T06:32:13.137Z] ---> 6245afe11984 [2020-10-29T06:32:13.137Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-29T06:32:13.137Z] ---> Running in 695e8fcab6e0 [2020-10-29T06:32:14.586Z] Removing intermediate container 695e8fcab6e0 [2020-10-29T06:32:14.586Z] ---> cabb8da3683d [2020-10-29T06:32:14.586Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-29T06:32:14.858Z] ---> Running in 99879763b308 [2020-10-29T06:32:15.470Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-29T06:32:15.529Z] Removing intermediate container 910fa187cd7f [2020-10-29T06:32:15.529Z] ---> c086a50d3fc8 [2020-10-29T06:32:15.529Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-29T06:32:15.808Z] ---> Running in 386baa86bae1 [2020-10-29T06:32:16.054Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-29T06:32:16.654Z] OK: 166 MiB in 39 packages [2020-10-29T06:32:17.243Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-29T06:32:17.252Z] Removing intermediate container 99879763b308 [2020-10-29T06:32:17.252Z] ---> 7203d8717080 [2020-10-29T06:32:17.252Z] Step 8/24 : COPY . . [2020-10-29T06:32:17.837Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-29T06:32:18.233Z] ---> b7ad06df468a [2020-10-29T06:32:18.233Z] Step 9/24 : RUN ${MAKE} [2020-10-29T06:32:18.233Z] ---> Running in ccbacd57490e [2020-10-29T06:32:18.818Z] OK: 142 MiB in 39 packages [2020-10-29T06:32:18.831Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-10-29T06:32:20.260Z] Removing intermediate container 386baa86bae1 [2020-10-29T06:32:20.260Z] ---> 77dd732dc2f2 [2020-10-29T06:32:20.260Z] Step 8/24 : COPY . . [2020-10-29T06:32:21.237Z] ---> 178323c51af5 [2020-10-29T06:32:21.237Z] Step 9/24 : RUN ${MAKE} [2020-10-29T06:32:21.515Z] ---> Running in 93f77a8360ab [2020-10-29T06:32:22.953Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-10-29T06:32:34.210Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-29T06:32:36.178Z] Removing intermediate container ccbacd57490e [2020-10-29T06:32:36.178Z] ---> 14913f886baa [2020-10-29T06:32:36.178Z] Step 10/24 : FROM scratch [2020-10-29T06:32:36.178Z] ---> [2020-10-29T06:32:36.178Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-29T06:32:36.178Z] ---> Running in 4a066afcdff2 [2020-10-29T06:32:36.457Z] Removing intermediate container 4a066afcdff2 [2020-10-29T06:32:36.457Z] ---> d0db054822d0 [2020-10-29T06:32:36.457Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-29T06:32:36.457Z] ---> Running in 8437c8c16f56 [2020-10-29T06:32:36.763Z] Removing intermediate container 8437c8c16f56 [2020-10-29T06:32:36.763Z] ---> fa0c65791732 [2020-10-29T06:32:36.763Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-29T06:32:36.763Z] ---> Running in 1ca4337f0a0e [2020-10-29T06:32:37.037Z] Removing intermediate container 1ca4337f0a0e [2020-10-29T06:32:37.037Z] ---> 1c0d9847843f [2020-10-29T06:32:37.037Z] Step 14/24 : WORKDIR / [2020-10-29T06:32:37.037Z] ---> Running in 3a264f4ce8b0 [2020-10-29T06:32:37.319Z] Removing intermediate container 3a264f4ce8b0 [2020-10-29T06:32:37.319Z] ---> a9236c0fcb14 [2020-10-29T06:32:37.319Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-29T06:32:38.766Z] ---> 00574a8a218d [2020-10-29T06:32:38.766Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-29T06:32:39.042Z] ---> fbe74f5e93be [2020-10-29T06:32:39.042Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-29T06:32:39.318Z] ---> 2cf0f3f5f4d8 [2020-10-29T06:32:39.318Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-29T06:32:39.590Z] ---> bd4acf3b3ad0 [2020-10-29T06:32:39.591Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-29T06:32:39.857Z] ---> d485cd7322df [2020-10-29T06:32:39.857Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-29T06:32:40.135Z] ---> Running in 8160d771200a [2020-10-29T06:32:40.135Z] Removing intermediate container 8160d771200a [2020-10-29T06:32:40.135Z] ---> e9ef5c8e72bc [2020-10-29T06:32:40.135Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-29T06:32:40.405Z] ---> Running in 68cb3fc676b1 [2020-10-29T06:32:40.406Z] Removing intermediate container 68cb3fc676b1 [2020-10-29T06:32:40.406Z] ---> 14da522cec82 [2020-10-29T06:32:40.406Z] Step 22/24 : LABEL arch=amd64 [2020-10-29T06:32:40.677Z] ---> Running in ec3ca6d16816 [2020-10-29T06:32:40.677Z] Removing intermediate container ec3ca6d16816 [2020-10-29T06:32:40.677Z] ---> 38cd08852c53 [2020-10-29T06:32:40.677Z] Step 23/24 : LABEL git_sha=d1e6a0761109b28dc2ff40c46218a192b591bfdd [2020-10-29T06:32:40.953Z] ---> Running in fba9e26de91a [2020-10-29T06:32:40.953Z] Removing intermediate container fba9e26de91a [2020-10-29T06:32:40.953Z] ---> b6ddaa43bd40 [2020-10-29T06:32:40.953Z] Step 24/24 : LABEL version=0.0.0 [2020-10-29T06:32:41.221Z] ---> Running in e2ad147dc3b8 [2020-10-29T06:32:41.221Z] Removing intermediate container e2ad147dc3b8 [2020-10-29T06:32:41.221Z] ---> 5f94efd0bdc9 [2020-10-29T06:32:41.221Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-29T06:32:41.487Z] Successfully built 5f94efd0bdc9 [2020-10-29T06:32:41.487Z] 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-29T06:32:49.803Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-29T06:32:50.077Z] Removing intermediate container 93f77a8360ab [2020-10-29T06:32:50.077Z] ---> 2b614cbafc19 [2020-10-29T06:32:50.077Z] Step 10/24 : FROM scratch [2020-10-29T06:32:50.077Z] ---> [2020-10-29T06:32:50.077Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-29T06:32:50.353Z] ---> Running in 52f5a6eab954 [2020-10-29T06:32:50.625Z] Removing intermediate container 52f5a6eab954 [2020-10-29T06:32:50.625Z] ---> 401c677113b5 [2020-10-29T06:32:50.625Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-29T06:32:50.898Z] ---> Running in c7b06cc7c164 [2020-10-29T06:32:51.170Z] Removing intermediate container c7b06cc7c164 [2020-10-29T06:32:51.170Z] ---> 4e51e50d6cad [2020-10-29T06:32:51.170Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-29T06:32:51.445Z] ---> Running in a6b6898af37d [2020-10-29T06:32:51.716Z] Removing intermediate container a6b6898af37d [2020-10-29T06:32:51.716Z] ---> 0108507de147 [2020-10-29T06:32:51.716Z] Step 14/24 : WORKDIR / [2020-10-29T06:32:51.990Z] ---> Running in be84ca5546c0 [2020-10-29T06:32:52.585Z] Removing intermediate container be84ca5546c0 [2020-10-29T06:32:52.585Z] ---> a7457f75c606 [2020-10-29T06:32:52.585Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-29T06:32:53.569Z] ---> ffca78f13b23 [2020-10-29T06:32:53.569Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-29T06:32:54.552Z] ---> 175fd84502a0 [2020-10-29T06:32:54.552Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-29T06:32:55.149Z] ---> 138a54911c75 [2020-10-29T06:32:55.149Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-29T06:32:56.128Z] ---> 591c2758e2f0 [2020-10-29T06:32:56.128Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-29T06:32:56.723Z] ---> c411237d9fb7 [2020-10-29T06:32:56.724Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-29T06:32:56.999Z] ---> Running in 0baaa93bd7dd [2020-10-29T06:32:57.273Z] Removing intermediate container 0baaa93bd7dd [2020-10-29T06:32:57.273Z] ---> 7794aae35f42 [2020-10-29T06:32:57.273Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-29T06:32:57.549Z] ---> Running in eb4c3af07b80 [2020-10-29T06:32:57.823Z] Removing intermediate container eb4c3af07b80 [2020-10-29T06:32:57.823Z] ---> cfb99172e22e [2020-10-29T06:32:57.823Z] Step 22/24 : LABEL arch=arm64 [2020-10-29T06:32:58.100Z] ---> Running in 5dac948ecb6f [2020-10-29T06:32:58.699Z] Removing intermediate container 5dac948ecb6f [2020-10-29T06:32:58.699Z] ---> 46b9eb0dafc9 [2020-10-29T06:32:58.699Z] Step 23/24 : LABEL git_sha=d1e6a0761109b28dc2ff40c46218a192b591bfdd [2020-10-29T06:32:58.699Z] ---> Running in cde126fb04e4 [2020-10-29T06:32:59.330Z] Removing intermediate container cde126fb04e4 [2020-10-29T06:32:59.330Z] ---> ec89e6a2872e [2020-10-29T06:32:59.330Z] Step 24/24 : LABEL version=0.0.0 [2020-10-29T06:32:59.330Z] ---> Running in f6398d45c9d8 [2020-10-29T06:32:59.924Z] Removing intermediate container f6398d45c9d8 [2020-10-29T06:32:59.924Z] ---> 3c8d29a30e04 [2020-10-29T06:32:59.924Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-29T06:32:59.924Z] Successfully built 3c8d29a30e04 [2020-10-29T06:32:59.924Z] 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 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [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 [2020-10-29T06:33:03.038Z] provisioning config files... [2020-10-29T06:33:03.050Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-646@tmp/config4719121957270688481tmp [Pipeline] { [Pipeline] sh [2020-10-29T06:33:03.497Z] + set +x [2020-10-29T06:33:03.497Z] + curl -s https://codecov.io/bash [2020-10-29T06:33:03.497Z] + bash -s -- [2020-10-29T06:33:03.758Z] [2020-10-29T06:33:03.758Z] _____ _ [2020-10-29T06:33:03.758Z] / ____| | | [2020-10-29T06:33:03.758Z] | | ___ __| | ___ ___ _____ __ [2020-10-29T06:33:03.758Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-29T06:33:03.758Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-29T06:33:03.758Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-29T06:33:03.758Z] Bash-20201009-048fee3 [2020-10-29T06:33:03.758Z] [2020-10-29T06:33:03.758Z] [2020-10-29T06:33:03.758Z] ==> Jenkins CI detected. [2020-10-29T06:33:03.758Z] project root: . [2020-10-29T06:33:03.758Z] --> token set from env [2020-10-29T06:33:03.758Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-29T06:33:03.758Z] ==> Running gcov in . (disable via -X gcov) [2020-10-29T06:33:03.759Z] ==> Python coveragepy not found [2020-10-29T06:33:03.759Z] ==> Searching for coverage reports in: [2020-10-29T06:33:03.759Z] + . [2020-10-29T06:33:03.759Z] -> Found 1 reports [2020-10-29T06:33:03.759Z] ==> Detecting git/mercurial file structure [2020-10-29T06:33:03.759Z] ==> Reading reports [2020-10-29T06:33:03.759Z] + ./coverage.out bytes=127611 [2020-10-29T06:33:03.759Z] ==> Appending adjustments [2020-10-29T06:33:03.759Z] https://docs.codecov.io/docs/fixing-reports [2020-10-29T06:33:04.334Z] + Found adjustments [2020-10-29T06:33:04.334Z] ==> Gzipping contents [2020-10-29T06:33:04.334Z] ==> Uploading reports [2020-10-29T06:33:04.334Z] url: https://codecov.io [2020-10-29T06:33:04.334Z] query: branch=PR-646&commit=d1e6a0761109b28dc2ff40c46218a192b591bfdd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-646%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=646&job=&cmd_args= [2020-10-29T06:33:04.334Z] -> Pinging Codecov [2020-10-29T06:33:04.334Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-646&commit=d1e6a0761109b28dc2ff40c46218a192b591bfdd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-646%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=646&job=&cmd_args= [2020-10-29T06:33:04.334Z] -> Uploading to [2020-10-29T06:33:04.334Z] [2020-10-29T06:33:04.334Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-29T06:33:04.334Z] Dload Upload Total Spent Left Speed [2020-10-29T06:33:04.334Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-29T06:33:04.334Z] X> Failed to upload [2020-10-29T06:33:04.334Z] ==> Uploading to Codecov [2020-10-29T06:33:04.334Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-29T06:33:04.334Z] Dload Upload Total Spent Left Speed [2020-10-29T06:33:04.906Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 20991 0 0 100 20881 0 34535 --:--:-- --:--:-- --:--:-- 34514 100 20991 100 110 100 20881 181 34526 --:--:-- --:--:-- --:--:-- 34514 [2020-10-29T06:33:04.906Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d1e6a0761109b28dc2ff40c46218a192b591bfdd [Pipeline] } [2020-10-29T06:33:04.930Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair 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 [2020-10-29T06:33:08.618Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-29T06:33:09.214Z] ---> package-listing.sh [2020-10-29T06:33:09.214Z] ++ facter osfamily [2020-10-29T06:33:09.214Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-29T06:33:09.214Z] + OS_FAMILY=redhat [2020-10-29T06:33:09.214Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-646 [2020-10-29T06:33:09.214Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-29T06:33:09.214Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-29T06:33:09.214Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-29T06:33:09.214Z] + PACKAGES=/tmp/packages_start.txt [2020-10-29T06:33:09.214Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-646 ']' [2020-10-29T06:33:09.215Z] + PACKAGES=/tmp/packages_end.txt [2020-10-29T06:33:09.215Z] + case "${OS_FAMILY}" in [2020-10-29T06:33:09.215Z] + rpm -qa [2020-10-29T06:33:09.215Z] + sort [2020-10-29T06:33:13.445Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-29T06:33:13.445Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-29T06:33:13.445Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-29T06:33:13.445Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-646 ']' [2020-10-29T06:33:13.445Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-646/archives/ [2020-10-29T06:33:13.445Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-646/archives/ [Pipeline] echo [2020-10-29T06:33:13.479Z] 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-646/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-29T06:33:13.788Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-29T06:33:14.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-29T06:33:14.123Z] [2020-10-29T06:33:14.123Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-29T06:33:14.513Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-29T06:33:14.513Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-29T06:33:14.513Z] df20fa9351a1: Pulling fs layer [2020-10-29T06:33:14.513Z] 36b3adc4ff6f: Pulling fs layer [2020-10-29T06:33:14.513Z] 8ad3a11d3b57: Pulling fs layer [2020-10-29T06:33:14.513Z] 46f8f816bc3b: Pulling fs layer [2020-10-29T06:33:14.513Z] 93b61091891f: Pulling fs layer [2020-10-29T06:33:14.513Z] 93b9cdb0e59b: Pulling fs layer [2020-10-29T06:33:14.513Z] 5e14af77c1be: Pulling fs layer [2020-10-29T06:33:14.513Z] 01666e4c0597: Pulling fs layer [2020-10-29T06:33:14.513Z] aa168da1d23b: Pulling fs layer [2020-10-29T06:33:14.513Z] 93b9cdb0e59b: Waiting [2020-10-29T06:33:14.513Z] 5e14af77c1be: Waiting [2020-10-29T06:33:14.513Z] 01666e4c0597: Waiting [2020-10-29T06:33:14.513Z] aa168da1d23b: Waiting [2020-10-29T06:33:14.513Z] 46f8f816bc3b: Waiting [2020-10-29T06:33:14.513Z] 93b61091891f: Waiting [2020-10-29T06:33:14.513Z] 36b3adc4ff6f: Verifying Checksum [2020-10-29T06:33:14.513Z] 36b3adc4ff6f: Download complete [2020-10-29T06:33:14.513Z] 46f8f816bc3b: Verifying Checksum [2020-10-29T06:33:14.513Z] 46f8f816bc3b: Download complete [2020-10-29T06:33:14.513Z] df20fa9351a1: Download complete [2020-10-29T06:33:14.777Z] 93b9cdb0e59b: Verifying Checksum [2020-10-29T06:33:14.777Z] 93b9cdb0e59b: Download complete [2020-10-29T06:33:14.777Z] 5e14af77c1be: Verifying Checksum [2020-10-29T06:33:14.777Z] 5e14af77c1be: Download complete [2020-10-29T06:33:14.777Z] 93b61091891f: Verifying Checksum [2020-10-29T06:33:14.777Z] 93b61091891f: Download complete [2020-10-29T06:33:14.777Z] 01666e4c0597: Verifying Checksum [2020-10-29T06:33:14.777Z] 01666e4c0597: Download complete [2020-10-29T06:33:14.777Z] 8ad3a11d3b57: Verifying Checksum [2020-10-29T06:33:14.777Z] 8ad3a11d3b57: Download complete [2020-10-29T06:33:15.042Z] df20fa9351a1: Pull complete [2020-10-29T06:33:15.042Z] 36b3adc4ff6f: Pull complete [2020-10-29T06:33:15.618Z] 8ad3a11d3b57: Pull complete [2020-10-29T06:33:15.885Z] 46f8f816bc3b: Pull complete [2020-10-29T06:33:16.148Z] 93b61091891f: Pull complete [2020-10-29T06:33:16.148Z] 93b9cdb0e59b: Pull complete [2020-10-29T06:33:16.412Z] 5e14af77c1be: Pull complete [2020-10-29T06:33:16.673Z] 01666e4c0597: Pull complete [2020-10-29T06:33:16.937Z] aa168da1d23b: Verifying Checksum [2020-10-29T06:33:16.937Z] aa168da1d23b: Download complete [2020-10-29T06:33:23.550Z] aa168da1d23b: Pull complete [2020-10-29T06:33:23.550Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-29T06:33:23.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-29T06:33:23.550Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-29T06:33:23.744Z] prd-centos7-docker-4c-2g-9651 does not seem to be running inside a container [2020-10-29T06:33:23.785Z] $ 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-646/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-646 -v /w/workspace/dgexfoundry_device-sdk-go_PR-646:/w/workspace/dgexfoundry_device-sdk-go_PR-646:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-646@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-646@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-29T06:33:27.289Z] $ docker top 0e444a8cb41054f8e6fed3db496714356d38e974c66504fe08b9f3a18d30f2bb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-29T06:33:27.892Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-29T06:33:28.208Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-29T06:33:28.524Z] + ls /var/log/sa-host [2020-10-29T06:33:28.524Z] + sadf -c /var/log/sa-host/sa05 [2020-10-29T06:33:28.524Z] file_magic: OK [2020-10-29T06:33:28.524Z] HZ: Using current value: 100 [2020-10-29T06:33:28.524Z] file_header: OK [2020-10-29T06:33:28.524Z] 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 [2020-10-29T06:33:28.524Z] Statistics: [2020-10-29T06:33:28.524Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-29T06:33:28.524Z] File successfully converted to sysstat format version 12.2.1 [2020-10-29T06:33:28.524Z] + sadf -c /var/log/sa-host/sa29 [2020-10-29T06:33:28.524Z] file_magic: OK [2020-10-29T06:33:28.524Z] HZ: Using current value: 100 [2020-10-29T06:33:28.524Z] file_header: OK [2020-10-29T06:33:28.524Z] 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 [2020-10-29T06:33:28.524Z] Statistics: [2020-10-29T06:33:28.524Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-29T06:33:28.524Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-29T06:33:29.162Z] provisioning config files... [2020-10-29T06:33:29.179Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-646@tmp/config7061703714180174817tmp [Pipeline] { [Pipeline] echo [2020-10-29T06:33:29.304Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-29T06:33:29.651Z] ---> create-netrc.sh [Pipeline] } [2020-10-29T06:33:29.675Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-29T06:33:29.829Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-29T06:33:30.162Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-29T06:33:30.196Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-29T06:33:30.532Z] ---> sudo-logs.sh [2020-10-29T06:33:30.532Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-29T06:33:30.562Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-29T06:33:30.898Z] ---> job-cost.sh [2020-10-29T06:33:30.899Z] lf-activate-venv: SKIPPING [2020-10-29T06:33:30.899Z] INFO: No Stack... [2020-10-29T06:33:31.847Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-29T06:33:32.106Z] INFO: Archiving Costs [Pipeline] echo [2020-10-29T06:33:32.141Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-29T06:33:32.468Z] ---> logs-deploy.sh [2020-10-29T06:33:32.468Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-646/1 [2020-10-29T06:33:32.468Z] INFO: archiving workspace using pattern(s): [2020-10-29T06:33:33.855Z] Archives upload complete. [2020-10-29T06:33:34.115Z] INFO: archiving logs to Nexus