Pull request #644 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3de84a9c1bf20d80fb38aed446dc402b3fb90c2a+0bbcb663a9153978e7e9ef8c297d5988e58906d0 (2e3382fcc738e4ed675a8920dba281db1aaff100) 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-644/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-644/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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-9078 in /w/workspace/dgexfoundry_device-sdk-go_PR-644 [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-644 # 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 > 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/644/head:refs/remotes/origin/PR-644 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit 3de84a9c1bf20d80fb38aed446dc402b3fb90c2a Merge succeeded, producing 3de84a9c1bf20d80fb38aed446dc402b3fb90c2a Checking out Revision 3de84a9c1bf20d80fb38aed446dc402b3fb90c2a (PR-644) > git config core.sparsecheckout # timeout=10 > git checkout -f 3de84a9c1bf20d80fb38aed446dc402b3fb90c2a # 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 3de84a9c1bf20d80fb38aed446dc402b3fb90c2a # 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-27T06:37:50.891Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-27T06:37:51.218Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-27T06:37:51.416Z] ========================================================= [2020-10-27T06:37:51.416Z] EdgeX Global Pipelines Version Info [2020-10-27T06:37:51.416Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-27T06:37:52.969Z] ------------------- [2020-10-27T06:37:52.969Z] stable info: [2020-10-27T06:37:52.969Z] ------------------- [2020-10-27T06:37:52.969Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-27T06:37:52.969Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-27T06:37:52.969Z] Message: update stable to v1.0.148 [2020-10-27T06:37:53.923Z] ------------------- [2020-10-27T06:37:53.923Z] experimental info: [2020-10-27T06:37:53.923Z] ------------------- [2020-10-27T06:37:53.923Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-27T06:37:53.923Z] Commit SHA: 2701555fd48d7f7017006eef04e32eb767bac8dc [2020-10-27T06:37:53.923Z] Message: update experimental to v1.0.151 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-27T06:37:54.442Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-27T06:37:54.569Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-27T06:37:54.695Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-27T06:37:54.822Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-27T06:37:54.949Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-27T06:37:55.071Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-27T06:37:55.192Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-27T06:37:55.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-27T06:37:55.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-27T06:37:55.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-27T06:37:55.687Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-27T06:37:55.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-27T06:37:55.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-27T06:37:56.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-27T06:37:56.168Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-27T06:37:56.289Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-27T06:37:56.410Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-27T06:37:56.529Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-27T06:37:56.666Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-27T06:37:56.796Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-27T06:37:56.967Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-27T06:37:57.093Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-27T06:37:57.211Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-27T06:37:57.327Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-27T06:37:57.455Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-27T06:37:57.569Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-644 [Pipeline] echo [2020-10-27T06:37:57.684Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-644 [Pipeline] echo [2020-10-27T06:37:57.806Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-644 [Pipeline] echo [2020-10-27T06:37:57.928Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3de84a9c1bf20d80fb38aed446dc402b3fb90c2a [Pipeline] echo [2020-10-27T06:37:58.051Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3de84a9 [Pipeline] echo [2020-10-27T06:37:58.218Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-27T06:37:58.943Z] + git log --format=format:%s -1 3de84a9c1bf20d80fb38aed446dc402b3fb90c2a [Pipeline] echo [2020-10-27T06:37:59.026Z] GIT_COMMIT: 3de84a9c1bf20d80fb38aed446dc402b3fb90c2a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo [2020-10-27T06:37:59.102Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-27T06:37:59.733Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-27T06:37:59.734Z] [2020-10-27T06:37:59.734Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-27T06:38:00.119Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-27T06:38:00.119Z] latest: Pulling from edgex-devops/git-semver [2020-10-27T06:38:00.119Z] 31603596830f: Pulling fs layer [2020-10-27T06:38:00.119Z] 2a8b12db71e7: Pulling fs layer [2020-10-27T06:38:00.119Z] 6ca5941a6612: Pulling fs layer [2020-10-27T06:38:00.119Z] ecc8261a40a4: Pulling fs layer [2020-10-27T06:38:00.119Z] ecc8261a40a4: Waiting [2020-10-27T06:38:00.119Z] 2a8b12db71e7: Verifying Checksum [2020-10-27T06:38:00.119Z] 2a8b12db71e7: Download complete [2020-10-27T06:38:00.388Z] 31603596830f: Verifying Checksum [2020-10-27T06:38:00.388Z] 31603596830f: Download complete [2020-10-27T06:38:00.388Z] ecc8261a40a4: Verifying Checksum [2020-10-27T06:38:00.388Z] ecc8261a40a4: Download complete [2020-10-27T06:38:00.388Z] 6ca5941a6612: Verifying Checksum [2020-10-27T06:38:00.388Z] 6ca5941a6612: Download complete [2020-10-27T06:38:00.651Z] 31603596830f: Pull complete [2020-10-27T06:38:00.651Z] 2a8b12db71e7: Pull complete [2020-10-27T06:38:01.602Z] 6ca5941a6612: Pull complete [2020-10-27T06:38:01.602Z] ecc8261a40a4: Pull complete [2020-10-27T06:38:01.602Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-27T06:38:01.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-27T06:38:01.602Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-27T06:38:01.735Z] prd-centos7-docker-4c-2g-9078 does not seem to be running inside a container [2020-10-27T06:38:01.795Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-644 -v /w/workspace/dgexfoundry_device-sdk-go_PR-644:/w/workspace/dgexfoundry_device-sdk-go_PR-644:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-644@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-644@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-27T06:38:04.314Z] $ docker top 10f4a4982f55d240baf217921f34917cc1218a0b342ef912402b8647333e5df6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-27T06:38:04.689Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-27T06:38:04.689Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-27T06:38:04.895Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-27T06:38:04.900Z] $ docker exec 10f4a4982f55d240baf217921f34917cc1218a0b342ef912402b8647333e5df6 ssh-agent [2020-10-27T06:38:05.057Z] SSH_AUTH_SOCK=/tmp/ssh-OSMHGcijdfzc/agent.12 [2020-10-27T06:38:05.057Z] SSH_AGENT_PID=18 [2020-10-27T06:38:05.070Z] Running ssh-add (command line suppressed) [2020-10-27T06:38:05.193Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-644@tmp/private_key_3883738496642106498.key (/w/workspace/dgexfoundry_device-sdk-go_PR-644@tmp/private_key_3883738496642106498.key) [2020-10-27T06:38:05.244Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-27T06:38:05.633Z] + git tag --points-at HEAD [Pipeline] } [2020-10-27T06:38:05.663Z] $ docker exec --env ******** --env ******** 10f4a4982f55d240baf217921f34917cc1218a0b342ef912402b8647333e5df6 ssh-agent -k [2020-10-27T06:38:05.777Z] unset SSH_AUTH_SOCK; [2020-10-27T06:38:05.778Z] unset SSH_AGENT_PID; [2020-10-27T06:38:05.778Z] echo Agent pid 18 killed; [2020-10-27T06:38:05.825Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-27T06:38:06.014Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-27T06:38:06.014Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-27T06:38:06.220Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-27T06:38:06.226Z] $ docker exec 10f4a4982f55d240baf217921f34917cc1218a0b342ef912402b8647333e5df6 ssh-agent [2020-10-27T06:38:06.393Z] SSH_AUTH_SOCK=/tmp/ssh-dwOv1OX4E7lO/agent.47 [2020-10-27T06:38:06.393Z] SSH_AGENT_PID=52 [2020-10-27T06:38:06.400Z] Running ssh-add (command line suppressed) [2020-10-27T06:38:06.522Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-644@tmp/private_key_2095025427941311345.key (/w/workspace/dgexfoundry_device-sdk-go_PR-644@tmp/private_key_2095025427941311345.key) [2020-10-27T06:38:06.570Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-27T06:38:06.942Z] + git semver init [2020-10-27T06:38:06.942Z] # -> Open(): unable to determine branch for HEAD [2020-10-27T06:38:06.942Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-644/.git [2020-10-27T06:38:06.942Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-644 [2020-10-27T06:38:06.942Z] # $SEMVER_REMOTE_NAME = origin [2020-10-27T06:38:06.942Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-27T06:38:06.942Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-27T06:38:06.942Z] # $SEMVER_BRANCH = PR-644 [2020-10-27T06:38:06.942Z] # $SEMVER_TEMP = /tmp/semver-104765483 [2020-10-27T06:38:06.942Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-27T06:38:07.518Z] # '/tmp/semver-104765483' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-644/.semver' [2020-10-27T06:38:07.518Z] # -> Force: false [2020-10-27T06:38:07.518Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-644/.semver [Pipeline] } [2020-10-27T06:38:07.542Z] $ docker exec --env ******** --env ******** 10f4a4982f55d240baf217921f34917cc1218a0b342ef912402b8647333e5df6 ssh-agent -k [2020-10-27T06:38:07.655Z] unset SSH_AUTH_SOCK; [2020-10-27T06:38:07.655Z] unset SSH_AGENT_PID; [2020-10-27T06:38:07.655Z] echo Agent pid 52 killed; [2020-10-27T06:38:07.699Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-27T06:38:08.253Z] + git semver [Pipeline] } [2020-10-27T06:38:08.288Z] $ docker stop --time=1 10f4a4982f55d240baf217921f34917cc1218a0b342ef912402b8647333e5df6 [2020-10-27T06:38:09.647Z] $ docker rm -f 10f4a4982f55d240baf217921f34917cc1218a0b342ef912402b8647333e5df6 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-27T06:38:10.166Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-27T06:38:10.640Z] Stashed 1 file(s) [Pipeline] echo [2020-10-27T06:38:10.660Z] [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-27T06:38:26.453Z] Still waiting to schedule task [2020-10-27T06:38:26.453Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-27T06:38:26.475Z] Still waiting to schedule task [2020-10-27T06:38:26.475Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-27T06:40:09.909Z] Running on prd-centos7-docker-4c-2g-9080 in /w/workspace/dgexfoundry_device-sdk-go_PR-644 [Pipeline] { [Pipeline] ws [2020-10-27T06:40:10.029Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-27T06:40:12.541Z] using credential edgex-jenkins-ssh [2020-10-27T06:40:12.604Z] Cloning the remote Git repository [2020-10-27T06:40:12.633Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-27T06:40:12.702Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-27T06:40:12.755Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-27T06:40:12.755Z] > git --version # timeout=10 [2020-10-27T06:40:12.761Z] > git --version # 'git version 2.16.5' [2020-10-27T06:40:12.762Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T06:40:12.789Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T06:40:13.526Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-27T06:40:13.532Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T06:40:13.542Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-27T06:40:13.556Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-27T06:40:13.556Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T06:40:13.561Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/644/head:refs/remotes/origin/PR-644 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-27T06:40:13.910Z] Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit 3de84a9c1bf20d80fb38aed446dc402b3fb90c2a [2020-10-27T06:40:14.007Z] Merge succeeded, producing 3de84a9c1bf20d80fb38aed446dc402b3fb90c2a [2020-10-27T06:40:14.007Z] Checking out Revision 3de84a9c1bf20d80fb38aed446dc402b3fb90c2a (PR-644) [2020-10-27T06:40:13.923Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T06:40:13.930Z] > git checkout -f 3de84a9c1bf20d80fb38aed446dc402b3fb90c2a # timeout=10 [2020-10-27T06:40:13.977Z] > git remote # timeout=10 [2020-10-27T06:40:13.984Z] > git config --get remote.origin.url # timeout=10 [2020-10-27T06:40:13.990Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T06:40:13.993Z] > git merge 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 [2020-10-27T06:40:14.002Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-27T06:40:14.014Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T06:40:14.017Z] > git checkout -f 3de84a9c1bf20d80fb38aed446dc402b3fb90c2a # timeout=10 [2020-10-27T06:40:17.636Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [2020-10-27T06:40:17.665Z] > git --version # timeout=10 [2020-10-27T06:40:17.669Z] > git --version # 'git version 2.16.5' [2020-10-27T06:40:17.673Z] fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-27T06:40:18.608Z] ========================================================= [2020-10-27T06:40:18.608Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-27T06:40:18.608Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-27T06:40:19.273Z] + 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-27T06:40:19.537Z] Sending build context to Docker daemon 2.348MB [2020-10-27T06:40:19.537Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-27T06:40:19.537Z] Step 2/8 : FROM ${BASE} [2020-10-27T06:40:19.537Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-27T06:40:19.537Z] df20fa9351a1: Pulling fs layer [2020-10-27T06:40:19.537Z] ed8968b2872e: Pulling fs layer [2020-10-27T06:40:19.537Z] a92cc7c5fd73: Pulling fs layer [2020-10-27T06:40:19.537Z] e871e8e8d7a9: Pulling fs layer [2020-10-27T06:40:19.537Z] e73272ec9a57: Pulling fs layer [2020-10-27T06:40:19.537Z] 1e910a182e73: Pulling fs layer [2020-10-27T06:40:19.537Z] 4e634b169226: Pulling fs layer [2020-10-27T06:40:19.537Z] e73272ec9a57: Waiting [2020-10-27T06:40:19.537Z] 1e910a182e73: Waiting [2020-10-27T06:40:19.537Z] 4e634b169226: Waiting [2020-10-27T06:40:19.537Z] e871e8e8d7a9: Waiting [2020-10-27T06:40:19.537Z] a92cc7c5fd73: Verifying Checksum [2020-10-27T06:40:19.537Z] a92cc7c5fd73: Download complete [2020-10-27T06:40:19.537Z] ed8968b2872e: Verifying Checksum [2020-10-27T06:40:19.537Z] ed8968b2872e: Download complete [2020-10-27T06:40:19.537Z] e73272ec9a57: Verifying Checksum [2020-10-27T06:40:19.537Z] e73272ec9a57: Download complete [2020-10-27T06:40:19.799Z] 1e910a182e73: Download complete [2020-10-27T06:40:19.799Z] df20fa9351a1: Verifying Checksum [2020-10-27T06:40:19.799Z] df20fa9351a1: Download complete [2020-10-27T06:40:20.063Z] df20fa9351a1: Pull complete [2020-10-27T06:40:20.063Z] ed8968b2872e: Pull complete [2020-10-27T06:40:20.328Z] a92cc7c5fd73: Pull complete [2020-10-27T06:40:21.293Z] 4e634b169226: Verifying Checksum [2020-10-27T06:40:21.293Z] 4e634b169226: Download complete [2020-10-27T06:40:21.896Z] e871e8e8d7a9: Verifying Checksum [2020-10-27T06:40:21.896Z] e871e8e8d7a9: Download complete [2020-10-27T06:40:27.216Z] e871e8e8d7a9: Pull complete [2020-10-27T06:40:27.216Z] e73272ec9a57: Pull complete [2020-10-27T06:40:27.216Z] 1e910a182e73: Pull complete [2020-10-27T06:40:37.258Z] 4e634b169226: Pull complete [2020-10-27T06:40:37.258Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-27T06:40:37.258Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-27T06:40:37.258Z] ---> f7629b54cfaa [2020-10-27T06:40:37.258Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-27T06:40:37.258Z] ---> Running in 473bc8d48b36 [2020-10-27T06:40:37.258Z] Removing intermediate container 473bc8d48b36 [2020-10-27T06:40:37.258Z] ---> 2c9106819483 [2020-10-27T06:40:37.258Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-27T06:40:37.258Z] ---> Running in 3b04407dc23d [2020-10-27T06:40:38.209Z] Removing intermediate container 3b04407dc23d [2020-10-27T06:40:38.209Z] ---> 33315a6f5e4b [2020-10-27T06:40:38.209Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-27T06:40:38.209Z] ---> Running in 1d086824e030 [2020-10-27T06:40:38.786Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-27T06:40:39.734Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-27T06:40:39.999Z] OK: 166 MiB in 39 packages [2020-10-27T06:40:40.579Z] Removing intermediate container 1d086824e030 [2020-10-27T06:40:40.579Z] ---> b69b029e7ccb [2020-10-27T06:40:40.579Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-27T06:40:40.579Z] ---> Running in 91be34837366 [2020-10-27T06:40:40.844Z] Removing intermediate container 91be34837366 [2020-10-27T06:40:40.844Z] ---> 46013dab1a10 [2020-10-27T06:40:40.844Z] Step 7/8 : COPY . . [2020-10-27T06:40:41.795Z] ---> ee6ce8b5fb6b [2020-10-27T06:40:41.795Z] Step 8/8 : RUN go mod download [2020-10-27T06:40:42.058Z] ---> Running in e36287d3b829 [2020-10-27T06:41:04.070Z] Removing intermediate container e36287d3b829 [2020-10-27T06:41:04.070Z] ---> d6d8196371e1 [2020-10-27T06:41:04.070Z] Successfully built d6d8196371e1 [2020-10-27T06:41:04.070Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-27T06:41:04.529Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-27T06:41:04.529Z] . [Pipeline] withDockerContainer [2020-10-27T06:41:04.677Z] prd-centos7-docker-4c-2g-9080 does not seem to be running inside a container [2020-10-27T06:41:04.730Z] $ 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 ******** ci-base-image-x86_64 cat [2020-10-27T06:41:05.420Z] $ docker top 01b73bec19212e81dc23bdc99180c87fc0df2a5762f463e353a994c22090192a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-27T06:41:06.029Z] + go version [2020-10-27T06:41:06.029Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-27T06:41:06.066Z] $ docker stop --time=1 01b73bec19212e81dc23bdc99180c87fc0df2a5762f463e353a994c22090192a [2020-10-27T06:41:07.417Z] $ docker rm -f 01b73bec19212e81dc23bdc99180c87fc0df2a5762f463e353a994c22090192a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-27T06:41:08.467Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-27T06:41:08.467Z] . [Pipeline] withDockerContainer [2020-10-27T06:41:08.583Z] prd-centos7-docker-4c-2g-9080 does not seem to be running inside a container [2020-10-27T06:41:08.637Z] $ 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 ******** ci-base-image-x86_64 cat [2020-10-27T06:41:09.242Z] $ docker top 59a196170ac995b14c6bc6179f6a6c7b0a11fa7d88c608a8d6f022487a3edf13 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-27T06:41:09.789Z] + make test [2020-10-27T06:41:09.789Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-27T06:41:16.413Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-27T06:41:31.440Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-27T06:41:31.440Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-27T06:41:31.440Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-27T06:41:31.440Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.073s coverage: 21.4% of statements [2020-10-27T06:41:32.021Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.928s coverage: 97.1% of statements [2020-10-27T06:41:57.557Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-9081 in /w/workspace/dgexfoundry_device-sdk-go_PR-644 [Pipeline] { [Pipeline] ws [2020-10-27T06:41:57.673Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-27T06:42:03.070Z] using credential edgex-jenkins-ssh [2020-10-27T06:42:03.125Z] Cloning the remote Git repository [2020-10-27T06:42:03.185Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-27T06:42:03.287Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-27T06:42:03.355Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-27T06:42:03.356Z] > git --version # timeout=10 [2020-10-27T06:42:03.373Z] > git --version # 'git version 2.17.1' [2020-10-27T06:42:03.375Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T06:42:03.420Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T06:42:04.796Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.048s coverage: 9.4% of statements [2020-10-27T06:42:04.797Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 21.9% of statements [2020-10-27T06:42:04.797Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-27T06:42:04.797Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.224s coverage: 42.6% of statements [2020-10-27T06:42:04.797Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-27T06:42:04.797Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.293s coverage: 68.9% of statements [2020-10-27T06:42:04.797Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-27T06:42:04.797Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-27T06:42:04.797Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-27T06:42:04.797Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-27T06:42:04.797Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.069s coverage: 52.6% of statements [2020-10-27T06:42:04.797Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-27T06:42:04.797Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-27T06:42:04.797Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-27T06:42:04.797Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.294s coverage: 68.9% of statements [2020-10-27T06:42:04.797Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.053s coverage: 4.7% of statements [2020-10-27T06:42:04.797Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-27T06:42:04.797Z] GO111MODULE=on go vet ./... [2020-10-27T06:42:05.214Z] Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit 3de84a9c1bf20d80fb38aed446dc402b3fb90c2a [2020-10-27T06:42:04.612Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-27T06:42:04.628Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T06:42:04.664Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-27T06:42:04.705Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-27T06:42:04.705Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T06:42:04.724Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/644/head:refs/remotes/origin/PR-644 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-27T06:42:05.255Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T06:42:05.272Z] > git checkout -f 3de84a9c1bf20d80fb38aed446dc402b3fb90c2a # timeout=10 [2020-10-27T06:42:05.469Z] Merge succeeded, producing 3de84a9c1bf20d80fb38aed446dc402b3fb90c2a [2020-10-27T06:42:05.469Z] Checking out Revision 3de84a9c1bf20d80fb38aed446dc402b3fb90c2a (PR-644) [2020-10-27T06:42:05.383Z] > git remote # timeout=10 [2020-10-27T06:42:05.403Z] > git config --get remote.origin.url # timeout=10 [2020-10-27T06:42:05.420Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T06:42:05.432Z] > git merge 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 [2020-10-27T06:42:05.462Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-27T06:42:05.485Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T06:42:05.499Z] > git checkout -f 3de84a9c1bf20d80fb38aed446dc402b3fb90c2a # timeout=10 [2020-10-27T06:42:09.787Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [2020-10-27T06:42:09.858Z] > git --version # timeout=10 [2020-10-27T06:42:09.869Z] > git --version # 'git version 2.17.1' [2020-10-27T06:42:09.885Z] fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-27T06:42:11.072Z] ========================================================= [2020-10-27T06:42:11.072Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-27T06:42:11.072Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-27T06:42:11.458Z] gofmt -l . [2020-10-27T06:42:11.458Z] [ "`gofmt -l .`" = "" ] [2020-10-27T06:42:11.458Z] ./bin/test-attribution-txt.sh [2020-10-27T06:42:11.458Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-27T06:42:12.143Z] + 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-27T06:42:12.195Z] Stashed 1 file(s) [Pipeline] } [2020-10-27T06:42:12.222Z] $ docker stop --time=1 59a196170ac995b14c6bc6179f6a6c7b0a11fa7d88c608a8d6f022487a3edf13 [2020-10-27T06:42:13.133Z] Sending build context to Docker daemon 2.347MB [2020-10-27T06:42:13.133Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-27T06:42:13.133Z] Step 2/8 : FROM ${BASE} [2020-10-27T06:42:13.409Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-27T06:42:13.409Z] b538f80385f9: Pulling fs layer [2020-10-27T06:42:13.409Z] 74f711af9a0d: Pulling fs layer [2020-10-27T06:42:13.409Z] 99f96fe45779: Pulling fs layer [2020-10-27T06:42:13.409Z] 8529a6b9a6be: Pulling fs layer [2020-10-27T06:42:13.409Z] 45590311c82a: Pulling fs layer [2020-10-27T06:42:13.409Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-27T06:42:13.409Z] 209524e5b208: Pulling fs layer [2020-10-27T06:42:13.409Z] 8529a6b9a6be: Waiting [2020-10-27T06:42:13.409Z] 45590311c82a: Waiting [2020-10-27T06:42:13.409Z] 69ca0ff8b7b3: Waiting [2020-10-27T06:42:13.409Z] 209524e5b208: Waiting [2020-10-27T06:42:13.409Z] 99f96fe45779: Verifying Checksum [2020-10-27T06:42:13.409Z] 99f96fe45779: Download complete [2020-10-27T06:42:13.409Z] 74f711af9a0d: Download complete [2020-10-27T06:42:13.682Z] 45590311c82a: Download complete [2020-10-27T06:42:13.682Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-27T06:42:13.682Z] 69ca0ff8b7b3: Download complete [2020-10-27T06:42:13.956Z] b538f80385f9: Verifying Checksum [2020-10-27T06:42:13.956Z] b538f80385f9: Download complete [2020-10-27T06:42:14.061Z] $ docker rm -f 59a196170ac995b14c6bc6179f6a6c7b0a11fa7d88c608a8d6f022487a3edf13 [Pipeline] // withDockerContainer [Pipeline] } [2020-10-27T06:42:14.563Z] b538f80385f9: Pull complete [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-10-27T06:42:15.242Z] 74f711af9a0d: Pull complete [2020-10-27T06:42:15.529Z] 99f96fe45779: Pull complete [Pipeline] sh [2020-10-27T06:42:16.040Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-27T06:42:16.363Z] + ls -al . [2020-10-27T06:42:16.363Z] total 208 [2020-10-27T06:42:16.363Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 27 06:42 . [2020-10-27T06:42:16.363Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 27 06:40 .. [2020-10-27T06:42:16.363Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 27 06:40 bin [2020-10-27T06:42:16.363Z] -rw-r--r--. 1 jenkins jenkins 127611 Oct 27 06:42 coverage.out [2020-10-27T06:42:16.363Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 27 06:40 Dockerfile.build [2020-10-27T06:42:16.363Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 27 06:40 .dockerignore [2020-10-27T06:42:16.363Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 27 06:40 example [2020-10-27T06:42:16.363Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 27 06:40 .git [2020-10-27T06:42:16.363Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 27 06:40 .github [2020-10-27T06:42:16.363Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 27 06:40 .gitignore [2020-10-27T06:42:16.363Z] -rw-r--r--. 1 jenkins jenkins 518 Oct 27 06:42 go.mod [2020-10-27T06:42:16.363Z] -rw-r--r--. 1 jenkins jenkins 13436 Oct 27 06:42 go.sum [2020-10-27T06:42:16.363Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 27 06:40 internal [2020-10-27T06:42:16.363Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 27 06:40 Jenkinsfile [2020-10-27T06:42:16.363Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 27 06:40 LICENSE [2020-10-27T06:42:16.363Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 27 06:40 Makefile [2020-10-27T06:42:16.363Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 27 06:40 openapi [2020-10-27T06:42:16.364Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 27 06:40 pkg [2020-10-27T06:42:16.364Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 27 06:40 README.md [2020-10-27T06:42:16.364Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 27 06:40 RELEASE-NOTES.txt [2020-10-27T06:42:16.364Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 27 06:40 snap [2020-10-27T06:42:16.364Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 27 06:38 VERSION [2020-10-27T06:42:16.364Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 27 06:40 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-27T06:42:16.522Z] 209524e5b208: Verifying Checksum [2020-10-27T06:42:16.522Z] 209524e5b208: Download complete [2020-10-27T06:42:16.707Z] + 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=3de84a9c1bf20d80fb38aed446dc402b3fb90c2a --label arch=amd64 --label version=0.0.0 . [2020-10-27T06:42:16.707Z] Sending build context to Docker daemon 2.476MB [2020-10-27T06:42:16.707Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-27T06:42:16.707Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-27T06:42:16.969Z] ---> d6d8196371e1 [2020-10-27T06:42:16.969Z] Step 3/24 : ARG MAKE='make build' [2020-10-27T06:42:17.517Z] 8529a6b9a6be: Verifying Checksum [2020-10-27T06:42:17.517Z] 8529a6b9a6be: Download complete [2020-10-27T06:42:17.541Z] ---> Running in d89cd3a3f63d [2020-10-27T06:42:17.542Z] Removing intermediate container d89cd3a3f63d [2020-10-27T06:42:17.542Z] ---> 5151bd39c05a [2020-10-27T06:42:17.542Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-27T06:42:17.805Z] ---> Running in e6be05897c0e [2020-10-27T06:42:17.805Z] Removing intermediate container e6be05897c0e [2020-10-27T06:42:17.805Z] ---> d11aa6ac5037 [2020-10-27T06:42:17.805Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-27T06:42:18.075Z] ---> Running in d30584fd3210 [2020-10-27T06:42:18.075Z] Removing intermediate container d30584fd3210 [2020-10-27T06:42:18.075Z] ---> 8e719ec42b0d [2020-10-27T06:42:18.075Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-27T06:42:18.075Z] ---> Running in 07669a40680c [2020-10-27T06:42:19.029Z] Removing intermediate container 07669a40680c [2020-10-27T06:42:19.029Z] ---> e6dc0e903c11 [2020-10-27T06:42:19.030Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-27T06:42:19.030Z] ---> Running in fd949bf62ddc [2020-10-27T06:42:19.604Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-27T06:42:20.180Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-27T06:42:20.752Z] OK: 166 MiB in 39 packages [2020-10-27T06:42:21.015Z] Removing intermediate container fd949bf62ddc [2020-10-27T06:42:21.015Z] ---> 67a54f725941 [2020-10-27T06:42:21.015Z] Step 8/24 : COPY . . [2020-10-27T06:42:21.977Z] ---> 3be6a989b601 [2020-10-27T06:42:21.977Z] Step 9/24 : RUN ${MAKE} [2020-10-27T06:42:22.241Z] ---> Running in 58790e705db9 [2020-10-27T06:42:22.503Z] 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-27T06:42:27.694Z] 8529a6b9a6be: Pull complete [2020-10-27T06:42:27.694Z] 45590311c82a: Pull complete [2020-10-27T06:42:27.982Z] 69ca0ff8b7b3: Pull complete [2020-10-27T06:42:30.729Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-27T06:42:31.387Z] 209524e5b208: Pull complete [2020-10-27T06:42:31.387Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-27T06:42:31.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-27T06:42:31.387Z] ---> 5bddaf1c2fca [2020-10-27T06:42:31.387Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-27T06:42:32.648Z] Removing intermediate container 58790e705db9 [2020-10-27T06:42:32.648Z] ---> 27b68c1132c6 [2020-10-27T06:42:32.648Z] Step 10/24 : FROM scratch [2020-10-27T06:42:32.648Z] ---> [2020-10-27T06:42:32.648Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-27T06:42:32.648Z] ---> Running in 654c9220471e [2020-10-27T06:42:32.648Z] Removing intermediate container 654c9220471e [2020-10-27T06:42:32.648Z] ---> ccd60cc07514 [2020-10-27T06:42:32.648Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-27T06:42:32.648Z] ---> Running in 388b4a9b4a2f [2020-10-27T06:42:32.912Z] Removing intermediate container 388b4a9b4a2f [2020-10-27T06:42:32.912Z] ---> 166dace80acd [2020-10-27T06:42:32.912Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-27T06:42:32.912Z] ---> Running in af5f433476be [2020-10-27T06:42:33.179Z] Removing intermediate container af5f433476be [2020-10-27T06:42:33.179Z] ---> 39c624d128f2 [2020-10-27T06:42:33.179Z] Step 14/24 : WORKDIR / [2020-10-27T06:42:33.179Z] ---> Running in f3e269d586e4 [2020-10-27T06:42:33.442Z] Removing intermediate container f3e269d586e4 [2020-10-27T06:42:33.442Z] ---> 2f3469051058 [2020-10-27T06:42:33.442Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-27T06:42:33.703Z] ---> 19e5862f378c [2020-10-27T06:42:33.703Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-27T06:42:33.966Z] ---> 2a3d2a15fe5c [2020-10-27T06:42:33.966Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-27T06:42:34.231Z] ---> 8ceb7782ea1c [2020-10-27T06:42:34.231Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-27T06:42:34.492Z] ---> 7fcbd5b6b41f [2020-10-27T06:42:34.492Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-27T06:42:34.754Z] ---> 1a2610f7b455 [2020-10-27T06:42:34.754Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-27T06:42:34.754Z] ---> Running in 7ccdb822600f [2020-10-27T06:42:34.787Z] ---> Running in 4596faa3dc78 [2020-10-27T06:42:34.787Z] Removing intermediate container 4596faa3dc78 [2020-10-27T06:42:34.787Z] ---> 596092b1ce10 [2020-10-27T06:42:34.787Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-27T06:42:35.022Z] Removing intermediate container 7ccdb822600f [2020-10-27T06:42:35.022Z] ---> c6180e423aa3 [2020-10-27T06:42:35.022Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-27T06:42:35.022Z] ---> Running in 1f37d4e25406 [2020-10-27T06:42:35.063Z] ---> Running in 5d2157f49165 [2020-10-27T06:42:35.285Z] Removing intermediate container 1f37d4e25406 [2020-10-27T06:42:35.285Z] ---> c28e4650586c [2020-10-27T06:42:35.285Z] Step 22/24 : LABEL arch=amd64 [2020-10-27T06:42:35.285Z] ---> Running in c8d8ec1aa0db [2020-10-27T06:42:35.285Z] Removing intermediate container c8d8ec1aa0db [2020-10-27T06:42:35.285Z] ---> 2e707b93c450 [2020-10-27T06:42:35.285Z] Step 23/24 : LABEL git_sha=3de84a9c1bf20d80fb38aed446dc402b3fb90c2a [2020-10-27T06:42:35.548Z] ---> Running in 422434d1af92 [2020-10-27T06:42:35.548Z] Removing intermediate container 422434d1af92 [2020-10-27T06:42:35.548Z] ---> 84cd8be95931 [2020-10-27T06:42:35.548Z] Step 24/24 : LABEL version=0.0.0 [2020-10-27T06:42:35.813Z] ---> Running in fa9e76658e9b [2020-10-27T06:42:35.813Z] Removing intermediate container fa9e76658e9b [2020-10-27T06:42:35.813Z] ---> b917afe79981 [2020-10-27T06:42:35.813Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-27T06:42:35.813Z] Successfully built b917afe79981 [2020-10-27T06:42:35.813Z] 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-27T06:42:37.718Z] Removing intermediate container 5d2157f49165 [2020-10-27T06:42:37.719Z] ---> 33f9375396fb [2020-10-27T06:42:37.719Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-27T06:42:37.719Z] ---> Running in 82adbe151be7 [2020-10-27T06:42:39.157Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-27T06:42:40.140Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-27T06:42:41.574Z] OK: 142 MiB in 39 packages [2020-10-27T06:42:42.564Z] Removing intermediate container 82adbe151be7 [2020-10-27T06:42:42.564Z] ---> 5400b6066269 [2020-10-27T06:42:42.564Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-27T06:42:42.844Z] ---> Running in 8c5cffc7b3c8 [2020-10-27T06:42:43.443Z] Removing intermediate container 8c5cffc7b3c8 [2020-10-27T06:42:43.443Z] ---> 4f4452439208 [2020-10-27T06:42:43.443Z] Step 7/8 : COPY . . [2020-10-27T06:42:44.888Z] ---> 67d57091787d [2020-10-27T06:42:44.888Z] Step 8/8 : RUN go mod download [2020-10-27T06:42:44.888Z] ---> Running in 144d54646065 [2020-10-27T06:43:07.080Z] Removing intermediate container 144d54646065 [2020-10-27T06:43:07.080Z] ---> 47b1f0141e66 [2020-10-27T06:43:07.080Z] Successfully built 47b1f0141e66 [2020-10-27T06:43:07.080Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-27T06:43:07.526Z] + docker inspect -f . ci-base-image-arm64 [2020-10-27T06:43:07.526Z] . [Pipeline] withDockerContainer [2020-10-27T06:43:07.839Z] prd-ubuntu18.04-docker-arm64-4c-16g-9081 does not seem to be running inside a container [2020-10-27T06:43:07.926Z] $ 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-27T06:43:09.861Z] $ docker top 3998d7341b56b43f46e138bb6a71c733ec542d6d25f7e213b98fb540a90c92e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-27T06:43:11.365Z] + go version [2020-10-27T06:43:11.365Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-27T06:43:11.406Z] $ docker stop --time=1 3998d7341b56b43f46e138bb6a71c733ec542d6d25f7e213b98fb540a90c92e3 [2020-10-27T06:43:13.368Z] $ docker rm -f 3998d7341b56b43f46e138bb6a71c733ec542d6d25f7e213b98fb540a90c92e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-27T06:43:15.284Z] + docker inspect -f . ci-base-image-arm64 [2020-10-27T06:43:15.285Z] . [Pipeline] withDockerContainer [2020-10-27T06:43:15.558Z] prd-ubuntu18.04-docker-arm64-4c-16g-9081 does not seem to be running inside a container [2020-10-27T06:43:15.653Z] $ 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-27T06:43:17.661Z] $ docker top ba4756304207416661a02f7101789639d26e5a8a7f95983810eac00a31280916 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-27T06:43:19.095Z] + make test [2020-10-27T06:43:19.095Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-27T06:43:41.339Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-27T06:44:20.418Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-27T06:44:20.418Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-27T06:44:20.418Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-27T06:44:20.418Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.143s coverage: 21.4% of statements [2020-10-27T06:44:25.855Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.180s coverage: 97.1% of statements [2020-10-27T06:44:58.204Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.148s coverage: 9.4% of statements [2020-10-27T06:44:58.204Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.127s coverage: 21.9% of statements [2020-10-27T06:44:58.204Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-27T06:44:58.204Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.594s coverage: 42.6% of statements [2020-10-27T06:44:58.204Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-27T06:44:58.204Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.806s coverage: 68.9% of statements [2020-10-27T06:44:58.204Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-27T06:44:58.204Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-27T06:44:58.204Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-27T06:44:58.204Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-27T06:44:58.204Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.200s coverage: 52.6% of statements [2020-10-27T06:44:58.204Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-27T06:44:58.204Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-27T06:44:58.204Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-27T06:44:58.204Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.814s coverage: 68.9% of statements [2020-10-27T06:44:58.204Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.129s coverage: 4.7% of statements [2020-10-27T06:44:58.204Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-27T06:44:58.204Z] GO111MODULE=on go vet ./... [2020-10-27T06:45:25.160Z] gofmt -l . [2020-10-27T06:45:25.160Z] [ "`gofmt -l .`" = "" ] [2020-10-27T06:45:25.160Z] ./bin/test-attribution-txt.sh [2020-10-27T06:45:26.136Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-27T06:45:26.454Z] Warning: overwriting stash ‘coverage-report’ [2020-10-27T06:45:27.450Z] Stashed 1 file(s) [Pipeline] } [2020-10-27T06:45:27.487Z] $ docker stop --time=1 ba4756304207416661a02f7101789639d26e5a8a7f95983810eac00a31280916 [2020-10-27T06:45:29.820Z] $ docker rm -f ba4756304207416661a02f7101789639d26e5a8a7f95983810eac00a31280916 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-27T06:45:31.621Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-27T06:45:32.008Z] + ls -al . [2020-10-27T06:45:32.009Z] total 244 [2020-10-27T06:45:32.009Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 27 06:45 . [2020-10-27T06:45:32.009Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 06:42 .. [2020-10-27T06:45:32.009Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 27 06:42 .dockerignore [2020-10-27T06:45:32.009Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 06:42 .git [2020-10-27T06:45:32.009Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 06:42 .github [2020-10-27T06:45:32.009Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 27 06:42 .gitignore [2020-10-27T06:45:32.009Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 27 06:42 Dockerfile.build [2020-10-27T06:45:32.009Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 27 06:42 Jenkinsfile [2020-10-27T06:45:32.009Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 27 06:42 LICENSE [2020-10-27T06:45:32.009Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 27 06:42 Makefile [2020-10-27T06:45:32.009Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 27 06:42 README.md [2020-10-27T06:45:32.009Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 27 06:42 RELEASE-NOTES.txt [2020-10-27T06:45:32.009Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 06:38 VERSION [2020-10-27T06:45:32.009Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 06:42 bin [2020-10-27T06:45:32.009Z] -rw-r--r-- 1 jenkins jenkins 127611 Oct 27 06:44 coverage.out [2020-10-27T06:45:32.009Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 06:42 example [2020-10-27T06:45:32.009Z] -rw-r--r-- 1 jenkins jenkins 518 Oct 27 06:45 go.mod [2020-10-27T06:45:32.009Z] -rw-r--r-- 1 jenkins jenkins 13436 Oct 27 06:45 go.sum [2020-10-27T06:45:32.009Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 27 06:42 internal [2020-10-27T06:45:32.009Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 06:42 openapi [2020-10-27T06:45:32.009Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 27 06:42 pkg [2020-10-27T06:45:32.009Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 06:42 snap [2020-10-27T06:45:32.009Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 27 06:42 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-27T06:45:32.428Z] + 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=3de84a9c1bf20d80fb38aed446dc402b3fb90c2a --label arch=arm64 --label version=0.0.0 . [2020-10-27T06:45:33.035Z] Sending build context to Docker daemon 2.476MB [2020-10-27T06:45:33.035Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-27T06:45:33.035Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-27T06:45:33.035Z] ---> 47b1f0141e66 [2020-10-27T06:45:33.035Z] Step 3/24 : ARG MAKE='make build' [2020-10-27T06:45:33.310Z] ---> Running in 3ef1d21e4733 [2020-10-27T06:45:33.584Z] Removing intermediate container 3ef1d21e4733 [2020-10-27T06:45:33.584Z] ---> e15ba0144365 [2020-10-27T06:45:33.584Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-27T06:45:33.859Z] ---> Running in 1d3707a31b21 [2020-10-27T06:45:34.139Z] Removing intermediate container 1d3707a31b21 [2020-10-27T06:45:34.139Z] ---> 826fd2ab8760 [2020-10-27T06:45:34.139Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-27T06:45:34.415Z] ---> Running in 0c0283af36a6 [2020-10-27T06:45:34.690Z] Removing intermediate container 0c0283af36a6 [2020-10-27T06:45:34.690Z] ---> e406892b7c5c [2020-10-27T06:45:34.690Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-27T06:45:34.965Z] ---> Running in 1e8cbd4df870 [2020-10-27T06:45:37.584Z] Removing intermediate container 1e8cbd4df870 [2020-10-27T06:45:37.584Z] ---> a239cc892d30 [2020-10-27T06:45:37.584Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-27T06:45:37.584Z] ---> Running in 6577a71b0608 [2020-10-27T06:45:39.026Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-27T06:45:40.000Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-27T06:45:40.972Z] OK: 142 MiB in 39 packages [2020-10-27T06:45:41.945Z] Removing intermediate container 6577a71b0608 [2020-10-27T06:45:41.945Z] ---> aace5b087e4f [2020-10-27T06:45:41.945Z] Step 8/24 : COPY . . [2020-10-27T06:45:43.385Z] ---> bc50ce27cc69 [2020-10-27T06:45:43.385Z] Step 9/24 : RUN ${MAKE} [2020-10-27T06:45:43.385Z] ---> Running in 53a28aeea030 [2020-10-27T06:45:44.823Z] 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-27T06:46:11.670Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-27T06:46:11.670Z] Removing intermediate container 53a28aeea030 [2020-10-27T06:46:11.670Z] ---> fef886291074 [2020-10-27T06:46:11.670Z] Step 10/24 : FROM scratch [2020-10-27T06:46:11.670Z] ---> [2020-10-27T06:46:11.670Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-27T06:46:11.670Z] ---> Running in 8a34da2dfba9 [2020-10-27T06:46:11.670Z] Removing intermediate container 8a34da2dfba9 [2020-10-27T06:46:11.670Z] ---> b6bef3cc2fac [2020-10-27T06:46:11.670Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-27T06:46:11.670Z] ---> Running in 563752c278d0 [2020-10-27T06:46:11.950Z] Removing intermediate container 563752c278d0 [2020-10-27T06:46:11.950Z] ---> cd2e65584161 [2020-10-27T06:46:11.950Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-27T06:46:12.223Z] ---> Running in b4e0c3ee9c2a [2020-10-27T06:46:12.506Z] Removing intermediate container b4e0c3ee9c2a [2020-10-27T06:46:12.506Z] ---> 24a1edaa78a5 [2020-10-27T06:46:12.506Z] Step 14/24 : WORKDIR / [2020-10-27T06:46:12.506Z] ---> Running in 840b91f8e155 [2020-10-27T06:46:13.115Z] Removing intermediate container 840b91f8e155 [2020-10-27T06:46:13.115Z] ---> fb90bc896933 [2020-10-27T06:46:13.115Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-27T06:46:14.097Z] ---> 42bc9359bb52 [2020-10-27T06:46:14.097Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-27T06:46:14.701Z] ---> 9d7b78b7c8e5 [2020-10-27T06:46:14.701Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-27T06:46:15.724Z] ---> 4aaa3383e8fe [2020-10-27T06:46:15.724Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-27T06:46:16.325Z] ---> 9f6dbc976efb [2020-10-27T06:46:16.325Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-27T06:46:16.926Z] ---> 78c519fd591d [2020-10-27T06:46:16.926Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-27T06:46:16.926Z] ---> Running in fe683470fc5f [2020-10-27T06:46:17.530Z] Removing intermediate container fe683470fc5f [2020-10-27T06:46:17.530Z] ---> 8a27ba366df0 [2020-10-27T06:46:17.530Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-27T06:46:17.530Z] ---> Running in 8b88ab075afc [2020-10-27T06:46:18.128Z] Removing intermediate container 8b88ab075afc [2020-10-27T06:46:18.128Z] ---> f280300cdee8 [2020-10-27T06:46:18.128Z] Step 22/24 : LABEL arch=arm64 [2020-10-27T06:46:18.128Z] ---> Running in 6d016df2c0c5 [2020-10-27T06:46:18.729Z] Removing intermediate container 6d016df2c0c5 [2020-10-27T06:46:18.729Z] ---> 58f43d0391af [2020-10-27T06:46:18.729Z] Step 23/24 : LABEL git_sha=3de84a9c1bf20d80fb38aed446dc402b3fb90c2a [2020-10-27T06:46:18.729Z] ---> Running in 5c006e768948 [2020-10-27T06:46:19.009Z] Removing intermediate container 5c006e768948 [2020-10-27T06:46:19.009Z] ---> 428471fcb57f [2020-10-27T06:46:19.009Z] Step 24/24 : LABEL version=0.0.0 [2020-10-27T06:46:19.283Z] ---> Running in 5b2b4f4cc572 [2020-10-27T06:46:19.557Z] Removing intermediate container 5b2b4f4cc572 [2020-10-27T06:46:19.557Z] ---> b58dc5b21325 [2020-10-27T06:46:19.557Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-27T06:46:19.557Z] Successfully built b58dc5b21325 [2020-10-27T06:46:19.827Z] 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-27T06:46:22.922Z] provisioning config files... [2020-10-27T06:46:22.941Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-644@tmp/config5475183888078933293tmp [Pipeline] { [Pipeline] sh [2020-10-27T06:46:23.393Z] + set +x [2020-10-27T06:46:23.394Z] + curl -s https://codecov.io/bash [2020-10-27T06:46:23.394Z] + bash -s -- [2020-10-27T06:46:23.665Z] [2020-10-27T06:46:23.665Z] _____ _ [2020-10-27T06:46:23.665Z] / ____| | | [2020-10-27T06:46:23.665Z] | | ___ __| | ___ ___ _____ __ [2020-10-27T06:46:23.665Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-27T06:46:23.665Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-27T06:46:23.665Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-27T06:46:23.665Z] Bash-20201009-048fee3 [2020-10-27T06:46:23.665Z] [2020-10-27T06:46:23.665Z] [2020-10-27T06:46:23.665Z] ==> Jenkins CI detected. [2020-10-27T06:46:23.665Z] project root: . [2020-10-27T06:46:23.665Z] --> token set from env [2020-10-27T06:46:23.665Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-27T06:46:23.665Z] ==> Running gcov in . (disable via -X gcov) [2020-10-27T06:46:23.665Z] ==> Python coveragepy not found [2020-10-27T06:46:23.665Z] ==> Searching for coverage reports in: [2020-10-27T06:46:23.665Z] + . [2020-10-27T06:46:23.665Z] -> Found 1 reports [2020-10-27T06:46:23.665Z] ==> Detecting git/mercurial file structure [2020-10-27T06:46:23.665Z] ==> Reading reports [2020-10-27T06:46:23.665Z] + ./coverage.out bytes=127611 [2020-10-27T06:46:23.665Z] ==> Appending adjustments [2020-10-27T06:46:23.665Z] https://docs.codecov.io/docs/fixing-reports [2020-10-27T06:46:23.933Z] + Found adjustments [2020-10-27T06:46:23.933Z] ==> Gzipping contents [2020-10-27T06:46:23.933Z] ==> Uploading reports [2020-10-27T06:46:23.933Z] url: https://codecov.io [2020-10-27T06:46:23.933Z] query: branch=PR-644&commit=3de84a9c1bf20d80fb38aed446dc402b3fb90c2a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-644%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=644&job=&cmd_args= [2020-10-27T06:46:23.933Z] -> Pinging Codecov [2020-10-27T06:46:23.933Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-644&commit=3de84a9c1bf20d80fb38aed446dc402b3fb90c2a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-644%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=644&job=&cmd_args= [2020-10-27T06:46:24.201Z] -> Uploading to [2020-10-27T06:46:24.201Z] [2020-10-27T06:46:24.201Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-27T06:46:24.201Z] Dload Upload Total Spent Left Speed [2020-10-27T06:46:24.201Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-27T06:46:24.201Z] X> Failed to upload [2020-10-27T06:46:24.201Z] ==> Uploading to Codecov [2020-10-27T06:46:24.201Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-27T06:46:24.201Z] Dload Upload Total Spent Left Speed [2020-10-27T06:46:24.789Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20977 100 110 100 20867 233 44200 --:--:-- --:--:-- --:--:-- 44303 [2020-10-27T06:46:24.789Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3de84a9c1bf20d80fb38aed446dc402b3fb90c2a [Pipeline] } [2020-10-27T06:46:24.834Z] 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-27T06:46:28.357Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T06:46:28.990Z] ---> package-listing.sh [2020-10-27T06:46:28.990Z] ++ facter osfamily [2020-10-27T06:46:28.990Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-27T06:46:28.990Z] + OS_FAMILY=redhat [2020-10-27T06:46:28.990Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-644 [2020-10-27T06:46:28.990Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-27T06:46:28.990Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-27T06:46:28.990Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-27T06:46:28.990Z] + PACKAGES=/tmp/packages_start.txt [2020-10-27T06:46:28.990Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-644 ']' [2020-10-27T06:46:28.990Z] + PACKAGES=/tmp/packages_end.txt [2020-10-27T06:46:28.990Z] + case "${OS_FAMILY}" in [2020-10-27T06:46:28.990Z] + rpm -qa [2020-10-27T06:46:28.990Z] + sort [2020-10-27T06:46:35.637Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-27T06:46:35.637Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-27T06:46:35.637Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-27T06:46:35.637Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-644 ']' [2020-10-27T06:46:35.637Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-644/archives/ [2020-10-27T06:46:35.637Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-644/archives/ [Pipeline] echo [2020-10-27T06:46:35.937Z] 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-644/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-27T06:46:36.248Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-27T06:46:36.589Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-27T06:46:36.589Z] [2020-10-27T06:46:36.589Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-27T06:46:36.998Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-27T06:46:36.998Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-27T06:46:36.998Z] df20fa9351a1: Pulling fs layer [2020-10-27T06:46:36.998Z] 36b3adc4ff6f: Pulling fs layer [2020-10-27T06:46:36.998Z] 8ad3a11d3b57: Pulling fs layer [2020-10-27T06:46:36.998Z] 46f8f816bc3b: Pulling fs layer [2020-10-27T06:46:36.998Z] 93b61091891f: Pulling fs layer [2020-10-27T06:46:36.998Z] 93b9cdb0e59b: Pulling fs layer [2020-10-27T06:46:36.998Z] 5e14af77c1be: Pulling fs layer [2020-10-27T06:46:36.998Z] 01666e4c0597: Pulling fs layer [2020-10-27T06:46:36.998Z] aa168da1d23b: Pulling fs layer [2020-10-27T06:46:36.998Z] 93b9cdb0e59b: Waiting [2020-10-27T06:46:36.998Z] 5e14af77c1be: Waiting [2020-10-27T06:46:36.998Z] 01666e4c0597: Waiting [2020-10-27T06:46:36.998Z] 46f8f816bc3b: Waiting [2020-10-27T06:46:36.998Z] 93b61091891f: Waiting [2020-10-27T06:46:36.998Z] 36b3adc4ff6f: Verifying Checksum [2020-10-27T06:46:36.998Z] 36b3adc4ff6f: Download complete [2020-10-27T06:46:36.998Z] 46f8f816bc3b: Verifying Checksum [2020-10-27T06:46:36.998Z] 46f8f816bc3b: Download complete [2020-10-27T06:46:36.998Z] df20fa9351a1: Download complete [2020-10-27T06:46:36.998Z] 93b9cdb0e59b: Verifying Checksum [2020-10-27T06:46:36.998Z] 93b9cdb0e59b: Download complete [2020-10-27T06:46:36.998Z] 5e14af77c1be: Verifying Checksum [2020-10-27T06:46:36.998Z] 5e14af77c1be: Download complete [2020-10-27T06:46:36.998Z] 01666e4c0597: Verifying Checksum [2020-10-27T06:46:36.998Z] 01666e4c0597: Download complete [2020-10-27T06:46:37.267Z] 93b61091891f: Verifying Checksum [2020-10-27T06:46:37.267Z] 93b61091891f: Download complete [2020-10-27T06:46:37.267Z] 8ad3a11d3b57: Verifying Checksum [2020-10-27T06:46:37.267Z] 8ad3a11d3b57: Download complete [2020-10-27T06:46:37.538Z] df20fa9351a1: Pull complete [2020-10-27T06:46:37.538Z] 36b3adc4ff6f: Pull complete [2020-10-27T06:46:38.511Z] 8ad3a11d3b57: Pull complete [2020-10-27T06:46:38.511Z] 46f8f816bc3b: Pull complete [2020-10-27T06:46:39.092Z] 93b61091891f: Pull complete [2020-10-27T06:46:39.092Z] aa168da1d23b: Verifying Checksum [2020-10-27T06:46:39.092Z] aa168da1d23b: Download complete [2020-10-27T06:46:39.092Z] 93b9cdb0e59b: Pull complete [2020-10-27T06:46:39.354Z] 5e14af77c1be: Pull complete [2020-10-27T06:46:39.354Z] 01666e4c0597: Pull complete [2020-10-27T06:46:45.979Z] aa168da1d23b: Pull complete [2020-10-27T06:46:45.979Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-27T06:46:45.979Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-27T06:46:45.979Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-27T06:46:46.166Z] prd-centos7-docker-4c-2g-9078 does not seem to be running inside a container [2020-10-27T06:46:46.209Z] $ 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-644/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-644 -v /w/workspace/dgexfoundry_device-sdk-go_PR-644:/w/workspace/dgexfoundry_device-sdk-go_PR-644:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-644@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-644@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-27T06:46:53.677Z] $ docker top cc9c8c1340024e8dcd482a752ad768e6a2d885ec94e3ce6b399c889028c0e30e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-27T06:46:54.273Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-27T06:46:54.594Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-27T06:46:54.915Z] + ls /var/log/sa-host [2020-10-27T06:46:54.915Z] + sadf -c /var/log/sa-host/sa05 [2020-10-27T06:46:54.915Z] file_magic: OK [2020-10-27T06:46:54.915Z] HZ: Using current value: 100 [2020-10-27T06:46:54.915Z] file_header: OK [2020-10-27T06:46:54.915Z] 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-27T06:46:54.915Z] Statistics: [2020-10-27T06:46:54.915Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-27T06:46:54.915Z] File successfully converted to sysstat format version 12.2.1 [2020-10-27T06:46:54.915Z] + sadf -c /var/log/sa-host/sa27 [2020-10-27T06:46:54.915Z] file_magic: OK [2020-10-27T06:46:54.915Z] HZ: Using current value: 100 [2020-10-27T06:46:54.915Z] file_header: OK [2020-10-27T06:46:54.915Z] 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-27T06:46:54.915Z] Statistics: [2020-10-27T06:46:54.915Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-27T06:46:54.915Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-27T06:46:55.259Z] provisioning config files... [2020-10-27T06:46:55.274Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-644@tmp/config3765576021450301203tmp [Pipeline] { [Pipeline] echo [2020-10-27T06:46:55.391Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T06:46:55.732Z] ---> create-netrc.sh [Pipeline] } [2020-10-27T06:46:55.756Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-27T06:46:55.905Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T06:46:56.243Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-27T06:46:56.277Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T06:46:56.610Z] ---> sudo-logs.sh [2020-10-27T06:46:56.610Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-27T06:46:56.639Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T06:46:56.967Z] ---> job-cost.sh [2020-10-27T06:46:56.967Z] lf-activate-venv: SKIPPING [2020-10-27T06:46:56.967Z] INFO: No Stack... [2020-10-27T06:46:58.888Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-27T06:46:59.150Z] INFO: Archiving Costs [Pipeline] echo [2020-10-27T06:46:59.205Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T06:46:59.537Z] ---> logs-deploy.sh [2020-10-27T06:46:59.537Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-644/1 [2020-10-27T06:46:59.537Z] INFO: archiving workspace using pattern(s): [2020-10-27T06:47:00.931Z] Archives upload complete. [2020-10-27T06:47:01.194Z] INFO: archiving logs to Nexus