Pull request #605 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ac7dac17a9308f82da781b63d358e385c5d26887+6a644f195f70d064d428f19fecf7196d621efa3d (e31628c15a8689a4f16b1325273f342a823427f0) Running in Durability level: PERFORMANCE_OPTIMIZED 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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] ========================================================= [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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3360’ Running on prd-centos7-docker-4c-2g-3363 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [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-605 # 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 6a644f195f70d064d428f19fecf7196d621efa3d into PR head commit ac7dac17a9308f82da781b63d358e385c5d26887 Merge succeeded, producing ac7dac17a9308f82da781b63d358e385c5d26887 Checking out Revision ac7dac17a9308f82da781b63d358e385c5d26887 (PR-605) > 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/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ac7dac17a9308f82da781b63d358e385c5d26887 # 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 6a644f195f70d064d428f19fecf7196d621efa3d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ac7dac17a9308f82da781b63d358e385c5d26887 # timeout=10 Commit message: "feat: implement v2 callback api" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 2a640b228b2e7674f568fc18b3c5fbdd144a8d9f # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-05T02:24:54.113Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-05T02:24:54.728Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-05T02:24:54.837Z] ========================================================= [2020-10-05T02:24:54.837Z] EdgeX Global Pipelines Version Info [2020-10-05T02:24:54.837Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-05T02:24:56.407Z] ------------------- [2020-10-05T02:24:56.407Z] stable info: [2020-10-05T02:24:56.407Z] ------------------- [2020-10-05T02:24:56.407Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-05T02:24:56.407Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-05T02:24:56.407Z] Message: update stable to v1.0.131 [2020-10-05T02:24:57.356Z] ------------------- [2020-10-05T02:24:57.356Z] experimental info: [2020-10-05T02:24:57.356Z] ------------------- [2020-10-05T02:24:57.356Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-05T02:24:57.356Z] Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a [2020-10-05T02:24:57.356Z] Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-05T02:24:57.830Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-05T02:24:57.940Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-05T02:24:58.051Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-05T02:24:58.151Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-05T02:24:58.248Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-05T02:24:58.337Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-05T02:24:58.441Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-05T02:24:58.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-05T02:24:58.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-05T02:24:59.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-05T02:24:59.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-05T02:24:59.291Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-05T02:24:59.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-05T02:24:59.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-05T02:24:59.593Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-05T02:24:59.693Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-05T02:24:59.804Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-05T02:24:59.893Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-05T02:24:59.983Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-05T02:25:00.111Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-05T02:25:00.350Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-05T02:25:00.451Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-05T02:25:00.586Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-05T02:25:00.696Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-05T02:25:00.809Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-05T02:25:00.926Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-605 [Pipeline] echo [2020-10-05T02:25:01.041Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-605 [Pipeline] echo [2020-10-05T02:25:01.147Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-605 [Pipeline] echo [2020-10-05T02:25:01.243Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ac7dac17a9308f82da781b63d358e385c5d26887 [Pipeline] echo [2020-10-05T02:25:01.336Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ac7dac1 [Pipeline] echo [2020-10-05T02:25:01.438Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-05T02:25:02.133Z] + git log --format=format:%s -1 ac7dac17a9308f82da781b63d358e385c5d26887 [Pipeline] echo [2020-10-05T02:25:02.203Z] GIT_COMMIT: ac7dac17a9308f82da781b63d358e385c5d26887, Commit Message: feat: implement v2 callback api [Pipeline] echo [2020-10-05T02:25:02.259Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-05T02:25:03.067Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-05T02:25:03.331Z] [2020-10-05T02:25:03.331Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-05T02:25:03.703Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-05T02:25:03.703Z] latest: Pulling from edgex-devops/git-semver [2020-10-05T02:25:03.703Z] 31603596830f: Pulling fs layer [2020-10-05T02:25:03.703Z] 2a8b12db71e7: Pulling fs layer [2020-10-05T02:25:03.703Z] 6ca5941a6612: Pulling fs layer [2020-10-05T02:25:03.703Z] ecc8261a40a4: Pulling fs layer [2020-10-05T02:25:03.703Z] ecc8261a40a4: Waiting [2020-10-05T02:25:03.703Z] 2a8b12db71e7: Verifying Checksum [2020-10-05T02:25:03.703Z] 2a8b12db71e7: Download complete [2020-10-05T02:25:04.285Z] 31603596830f: Verifying Checksum [2020-10-05T02:25:04.285Z] 31603596830f: Download complete [2020-10-05T02:25:04.863Z] 31603596830f: Pull complete [2020-10-05T02:25:04.863Z] 2a8b12db71e7: Pull complete [2020-10-05T02:25:06.261Z] ecc8261a40a4: Verifying Checksum [2020-10-05T02:25:06.261Z] ecc8261a40a4: Download complete [2020-10-05T02:25:06.837Z] 6ca5941a6612: Verifying Checksum [2020-10-05T02:25:06.837Z] 6ca5941a6612: Download complete [2020-10-05T02:25:07.791Z] 6ca5941a6612: Pull complete [2020-10-05T02:25:08.054Z] ecc8261a40a4: Pull complete [2020-10-05T02:25:08.055Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-05T02:25:08.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-05T02:25:08.055Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-05T02:25:08.171Z] prd-centos7-docker-4c-2g-3363 does not seem to be running inside a container [2020-10-05T02:25:08.221Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-605 -v /w/workspace/dgexfoundry_device-sdk-go_PR-605:/w/workspace/dgexfoundry_device-sdk-go_PR-605:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-05T02:25:10.425Z] $ docker top 4c960b720bbeb3bb583ac3487f4b6fa6a55a1a8f63750fc57e0776fbc1541f09 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-05T02:25:10.890Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-05T02:25:10.890Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-05T02:25:11.091Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-05T02:25:11.092Z] $ docker exec 4c960b720bbeb3bb583ac3487f4b6fa6a55a1a8f63750fc57e0776fbc1541f09 ssh-agent [2020-10-05T02:25:11.268Z] SSH_AUTH_SOCK=/tmp/ssh-9ODYFvmCNYIx/agent.13 [2020-10-05T02:25:11.268Z] SSH_AGENT_PID=19 [2020-10-05T02:25:11.285Z] Running ssh-add (command line suppressed) [2020-10-05T02:25:11.401Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_5859632244495643647.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_5859632244495643647.key) [2020-10-05T02:25:11.457Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-05T02:25:11.816Z] + git describe --exact-match --tags HEAD [2020-10-05T02:25:11.816Z] fatal: no tag exactly matches 'ac7dac17a9308f82da781b63d358e385c5d26887' [Pipeline] } [2020-10-05T02:25:11.837Z] $ docker exec --env ******** --env ******** 4c960b720bbeb3bb583ac3487f4b6fa6a55a1a8f63750fc57e0776fbc1541f09 ssh-agent -k [2020-10-05T02:25:11.955Z] unset SSH_AUTH_SOCK; [2020-10-05T02:25:11.955Z] unset SSH_AGENT_PID; [2020-10-05T02:25:11.955Z] echo Agent pid 19 killed; [2020-10-05T02:25:12.003Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-05T02:25:12.131Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-05T02:25:12.131Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-05T02:25:12.235Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-05T02:25:12.235Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-05T02:25:12.393Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-05T02:25:12.393Z] $ docker exec 4c960b720bbeb3bb583ac3487f4b6fa6a55a1a8f63750fc57e0776fbc1541f09 ssh-agent [2020-10-05T02:25:12.554Z] SSH_AUTH_SOCK=/tmp/ssh-5ahOQw02lwAL/agent.47 [2020-10-05T02:25:12.554Z] SSH_AGENT_PID=52 [2020-10-05T02:25:12.563Z] Running ssh-add (command line suppressed) [2020-10-05T02:25:12.682Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_4049079552758826831.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_4049079552758826831.key) [2020-10-05T02:25:12.742Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-05T02:25:13.089Z] + git semver init [2020-10-05T02:25:13.089Z] # -> Open(): unable to determine branch for HEAD [2020-10-05T02:25:13.089Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.git [2020-10-05T02:25:13.089Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-605 [2020-10-05T02:25:13.089Z] # $SEMVER_REMOTE_NAME = origin [2020-10-05T02:25:13.089Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-05T02:25:13.089Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-05T02:25:13.089Z] # $SEMVER_BRANCH = PR-605 [2020-10-05T02:25:13.089Z] # $SEMVER_TEMP = /tmp/semver-128018352 [2020-10-05T02:25:13.089Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-05T02:25:17.348Z] # '/tmp/semver-128018352' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver' [2020-10-05T02:25:17.348Z] # -> Force: false [2020-10-05T02:25:17.348Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver [Pipeline] } [2020-10-05T02:25:17.359Z] $ docker exec --env ******** --env ******** 4c960b720bbeb3bb583ac3487f4b6fa6a55a1a8f63750fc57e0776fbc1541f09 ssh-agent -k [2020-10-05T02:25:17.477Z] unset SSH_AUTH_SOCK; [2020-10-05T02:25:17.478Z] unset SSH_AGENT_PID; [2020-10-05T02:25:17.478Z] echo Agent pid 52 killed; [2020-10-05T02:25:17.527Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-05T02:25:18.009Z] + git semver [Pipeline] } [2020-10-05T02:25:18.028Z] $ docker stop --time=1 4c960b720bbeb3bb583ac3487f4b6fa6a55a1a8f63750fc57e0776fbc1541f09 [2020-10-05T02:25:19.457Z] $ docker rm -f 4c960b720bbeb3bb583ac3487f4b6fa6a55a1a8f63750fc57e0776fbc1541f09 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-05T02:25:20.452Z] Stashed 42 file(s) [Pipeline] echo [2020-10-05T02:25:20.455Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-05T02:25:20.562Z] Archived original 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-05T02:25:36.035Z] Still waiting to schedule task [2020-10-05T02:25:36.035Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-05T02:25:36.038Z] Still waiting to schedule task [2020-10-05T02:25:36.038Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-3361’ [2020-10-05T02:28:30.581Z] Running on prd-centos7-docker-4c-2g-3364 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [Pipeline] { [Pipeline] ws [2020-10-05T02:28:30.641Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-10-05T02:28:33.159Z] using credential edgex-jenkins-ssh [2020-10-05T02:28:33.230Z] Cloning the remote Git repository [2020-10-05T02:28:33.259Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-05T02:28:33.349Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-10-05T02:28:33.416Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-05T02:28:33.417Z] > git --version # timeout=10 [2020-10-05T02:28:33.422Z] > git --version # 'git version 2.16.5' [2020-10-05T02:28:33.423Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-05T02:28:33.451Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-05T02:28:36.509Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-05T02:28:36.517Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-05T02:28:36.526Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-05T02:28:36.538Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-05T02:28:36.538Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-05T02:28:36.543Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-05T02:28:37.104Z] Merging remotes/origin/master commit 6a644f195f70d064d428f19fecf7196d621efa3d into PR head commit ac7dac17a9308f82da781b63d358e385c5d26887 [2020-10-05T02:28:37.196Z] Merge succeeded, producing ac7dac17a9308f82da781b63d358e385c5d26887 [2020-10-05T02:28:37.196Z] Checking out Revision ac7dac17a9308f82da781b63d358e385c5d26887 (PR-605) [2020-10-05T02:28:37.115Z] > git config core.sparsecheckout # timeout=10 [2020-10-05T02:28:37.120Z] > git checkout -f ac7dac17a9308f82da781b63d358e385c5d26887 # timeout=10 [2020-10-05T02:28:37.172Z] > git remote # timeout=10 [2020-10-05T02:28:37.176Z] > git config --get remote.origin.url # timeout=10 [2020-10-05T02:28:37.181Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-05T02:28:37.184Z] > git merge 6a644f195f70d064d428f19fecf7196d621efa3d # timeout=10 [2020-10-05T02:28:37.193Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-05T02:28:37.202Z] > git config core.sparsecheckout # timeout=10 [2020-10-05T02:28:37.206Z] > git checkout -f ac7dac17a9308f82da781b63d358e385c5d26887 # timeout=10 [2020-10-05T02:28:40.795Z] Commit message: "feat: implement v2 callback api" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-05T02:28:41.787Z] ========================================================= [2020-10-05T02:28:41.787Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-05T02:28:41.787Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-05T02:28:42.487Z] + 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-05T02:28:42.751Z] Sending build context to Docker daemon 3.505MB [2020-10-05T02:28:42.751Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-05T02:28:42.751Z] Step 2/8 : FROM ${BASE} [2020-10-05T02:28:43.014Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-05T02:28:43.014Z] df20fa9351a1: Pulling fs layer [2020-10-05T02:28:43.014Z] ed8968b2872e: Pulling fs layer [2020-10-05T02:28:43.014Z] a92cc7c5fd73: Pulling fs layer [2020-10-05T02:28:43.014Z] e871e8e8d7a9: Pulling fs layer [2020-10-05T02:28:43.014Z] e73272ec9a57: Pulling fs layer [2020-10-05T02:28:43.014Z] 1e910a182e73: Pulling fs layer [2020-10-05T02:28:43.014Z] 4e634b169226: Pulling fs layer [2020-10-05T02:28:43.014Z] e871e8e8d7a9: Waiting [2020-10-05T02:28:43.014Z] e73272ec9a57: Waiting [2020-10-05T02:28:43.014Z] 1e910a182e73: Waiting [2020-10-05T02:28:43.014Z] 4e634b169226: Waiting [2020-10-05T02:28:43.014Z] ed8968b2872e: Download complete [2020-10-05T02:28:43.965Z] a92cc7c5fd73: Verifying Checksum [2020-10-05T02:28:43.965Z] a92cc7c5fd73: Download complete [2020-10-05T02:28:43.965Z] e73272ec9a57: Verifying Checksum [2020-10-05T02:28:43.965Z] e73272ec9a57: Download complete [2020-10-05T02:28:43.965Z] 1e910a182e73: Download complete [2020-10-05T02:28:44.541Z] df20fa9351a1: Verifying Checksum [2020-10-05T02:28:44.541Z] df20fa9351a1: Download complete [2020-10-05T02:28:44.808Z] df20fa9351a1: Pull complete [2020-10-05T02:28:45.074Z] ed8968b2872e: Pull complete [2020-10-05T02:28:45.074Z] a92cc7c5fd73: Pull complete [2020-10-05T02:29:17.234Z] 4e634b169226: Verifying Checksum [2020-10-05T02:29:17.234Z] 4e634b169226: Download complete [2020-10-05T02:29:29.500Z] e871e8e8d7a9: Verifying Checksum [2020-10-05T02:29:29.500Z] e871e8e8d7a9: Download complete [2020-10-05T02:29:34.841Z] e871e8e8d7a9: Pull complete [2020-10-05T02:29:34.841Z] e73272ec9a57: Pull complete [2020-10-05T02:29:34.841Z] 1e910a182e73: Pull complete [2020-10-05T02:29:35.777Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3365 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [Pipeline] { [Pipeline] ws [2020-10-05T02:29:35.857Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-10-05T02:29:39.090Z] 4e634b169226: Pull complete [2020-10-05T02:29:39.090Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-05T02:29:39.090Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-05T02:29:39.090Z] ---> f7629b54cfaa [2020-10-05T02:29:39.090Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-05T02:29:39.355Z] ---> Running in 633b271fb875 [2020-10-05T02:29:39.355Z] Removing intermediate container 633b271fb875 [2020-10-05T02:29:39.355Z] ---> 6c616650b2f1 [2020-10-05T02:29:39.355Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-05T02:29:39.620Z] ---> Running in d48fb194edf8 [2020-10-05T02:29:40.592Z] Removing intermediate container d48fb194edf8 [2020-10-05T02:29:40.592Z] ---> 163731b58d5a [2020-10-05T02:29:40.592Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-05T02:29:40.592Z] ---> Running in b794f98c499d [2020-10-05T02:29:40.620Z] using credential edgex-jenkins-ssh [2020-10-05T02:29:40.944Z] Cloning the remote Git repository [2020-10-05T02:29:41.554Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-05T02:29:41.032Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-05T02:29:41.143Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-10-05T02:29:41.224Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-05T02:29:41.224Z] > git --version # timeout=10 [2020-10-05T02:29:41.246Z] > git --version # 'git version 2.17.1' [2020-10-05T02:29:41.247Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-05T02:29:41.301Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-05T02:29:44.501Z] Merging remotes/origin/master commit 6a644f195f70d064d428f19fecf7196d621efa3d into PR head commit ac7dac17a9308f82da781b63d358e385c5d26887 [2020-10-05T02:29:43.830Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-05T02:29:43.848Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-05T02:29:43.874Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-05T02:29:43.925Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-05T02:29:43.926Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-05T02:29:43.938Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-05T02:29:44.526Z] > git config core.sparsecheckout # timeout=10 [2020-10-05T02:29:44.552Z] > git checkout -f ac7dac17a9308f82da781b63d358e385c5d26887 # timeout=10 [2020-10-05T02:29:44.672Z] > git remote # timeout=10 [2020-10-05T02:29:44.692Z] > git config --get remote.origin.url # timeout=10 [2020-10-05T02:29:44.724Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-05T02:29:44.736Z] > git merge 6a644f195f70d064d428f19fecf7196d621efa3d # timeout=10 [2020-10-05T02:29:44.760Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-05T02:29:44.776Z] Merge succeeded, producing ac7dac17a9308f82da781b63d358e385c5d26887 [2020-10-05T02:29:44.776Z] Checking out Revision ac7dac17a9308f82da781b63d358e385c5d26887 (PR-605) [2020-10-05T02:29:44.786Z] > git config core.sparsecheckout # timeout=10 [2020-10-05T02:29:44.805Z] > git checkout -f ac7dac17a9308f82da781b63d358e385c5d26887 # timeout=10 [2020-10-05T02:29:49.194Z] Commit message: "feat: implement v2 callback api" [Pipeline] withEnv [Pipeline] { [2020-10-05T02:29:49.736Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-05T02:29:50.626Z] ========================================================= [2020-10-05T02:29:50.626Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-05T02:29:50.626Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-05T02:29:51.807Z] + 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-05T02:29:52.797Z] Sending build context to Docker daemon 3.503MB [2020-10-05T02:29:52.797Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-05T02:29:52.797Z] Step 2/8 : FROM ${BASE} [2020-10-05T02:29:53.071Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-05T02:29:53.071Z] b538f80385f9: Pulling fs layer [2020-10-05T02:29:53.071Z] 74f711af9a0d: Pulling fs layer [2020-10-05T02:29:53.071Z] 99f96fe45779: Pulling fs layer [2020-10-05T02:29:53.071Z] 8529a6b9a6be: Pulling fs layer [2020-10-05T02:29:53.071Z] 45590311c82a: Pulling fs layer [2020-10-05T02:29:53.071Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-05T02:29:53.071Z] 209524e5b208: Pulling fs layer [2020-10-05T02:29:53.071Z] 45590311c82a: Waiting [2020-10-05T02:29:53.071Z] 69ca0ff8b7b3: Waiting [2020-10-05T02:29:53.071Z] 8529a6b9a6be: Waiting [2020-10-05T02:29:53.071Z] 209524e5b208: Waiting [2020-10-05T02:29:53.071Z] 99f96fe45779: Download complete [2020-10-05T02:29:53.071Z] 74f711af9a0d: Download complete [2020-10-05T02:29:53.344Z] 45590311c82a: Verifying Checksum [2020-10-05T02:29:53.344Z] 45590311c82a: Download complete [2020-10-05T02:29:53.344Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-05T02:29:53.344Z] 69ca0ff8b7b3: Download complete [2020-10-05T02:29:53.954Z] b538f80385f9: Download complete [2020-10-05T02:29:54.566Z] b538f80385f9: Pull complete [2020-10-05T02:29:55.171Z] 74f711af9a0d: Pull complete [2020-10-05T02:29:55.446Z] 99f96fe45779: Pull complete [2020-10-05T02:29:59.776Z] OK: 166 MiB in 39 packages [2020-10-05T02:29:59.776Z] Removing intermediate container b794f98c499d [2020-10-05T02:29:59.776Z] ---> 34aaafc5fbaa [2020-10-05T02:29:59.776Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-05T02:29:59.776Z] ---> Running in 4cd4f9eb9302 [2020-10-05T02:29:59.776Z] Removing intermediate container 4cd4f9eb9302 [2020-10-05T02:29:59.776Z] ---> 602b3ad8d0ca [2020-10-05T02:29:59.776Z] Step 7/8 : COPY . . [2020-10-05T02:30:01.171Z] ---> 07bc35eeea23 [2020-10-05T02:30:01.171Z] Step 8/8 : RUN go mod download [2020-10-05T02:30:01.171Z] ---> Running in 07febe4f0751 [2020-10-05T02:30:10.550Z] 209524e5b208: Download complete [2020-10-05T02:30:18.845Z] 8529a6b9a6be: Verifying Checksum [2020-10-05T02:30:18.845Z] 8529a6b9a6be: Download complete [2020-10-05T02:30:23.191Z] Removing intermediate container 07febe4f0751 [2020-10-05T02:30:23.191Z] ---> 0e8261e4d5df [2020-10-05T02:30:23.191Z] Successfully built 0e8261e4d5df [2020-10-05T02:30:23.191Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-05T02:30:23.551Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-05T02:30:23.551Z] . [Pipeline] withDockerContainer [2020-10-05T02:30:23.779Z] prd-centos7-docker-4c-2g-3364 does not seem to be running inside a container [2020-10-05T02:30:23.924Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-05T02:30:24.750Z] $ docker top 94526c8ba23065ab1bcd78f3d689f02051d8ab763499bee01c5c6559dfb86452 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-05T02:30:25.275Z] + go version [2020-10-05T02:30:25.275Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-05T02:30:25.297Z] $ docker stop --time=1 94526c8ba23065ab1bcd78f3d689f02051d8ab763499bee01c5c6559dfb86452 [2020-10-05T02:30:26.639Z] $ docker rm -f 94526c8ba23065ab1bcd78f3d689f02051d8ab763499bee01c5c6559dfb86452 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-05T02:30:27.634Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-05T02:30:27.634Z] . [Pipeline] withDockerContainer [2020-10-05T02:30:27.738Z] prd-centos7-docker-4c-2g-3364 does not seem to be running inside a container [2020-10-05T02:30:27.798Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-05T02:30:28.375Z] $ docker top 4c6d392b503ce55c8c8e3b9db73bf3916c719e2a769fcb1cfdeedecc60f523d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-05T02:30:28.860Z] + make test [2020-10-05T02:30:28.860Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-05T02:30:29.049Z] 8529a6b9a6be: Pull complete [2020-10-05T02:30:29.050Z] 45590311c82a: Pull complete [2020-10-05T02:30:29.325Z] 69ca0ff8b7b3: Pull complete [2020-10-05T02:30:32.731Z] 209524e5b208: Pull complete [2020-10-05T02:30:32.731Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-05T02:30:32.731Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-05T02:30:33.007Z] ---> 5bddaf1c2fca [2020-10-05T02:30:33.007Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-05T02:30:35.635Z] ---> Running in 3d92434ca0d7 [2020-10-05T02:30:35.918Z] Removing intermediate container 3d92434ca0d7 [2020-10-05T02:30:35.918Z] ---> f81949708b00 [2020-10-05T02:30:35.918Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-05T02:30:35.918Z] ---> Running in 35c768399104 [2020-10-05T02:30:37.057Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-05T02:30:39.322Z] Removing intermediate container 35c768399104 [2020-10-05T02:30:39.322Z] ---> 26c90e49b640 [2020-10-05T02:30:39.322Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-05T02:30:39.322Z] ---> Running in 4071aba57a9c [2020-10-05T02:30:40.307Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-05T02:30:44.594Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-05T02:30:49.441Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-05T02:30:49.441Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-05T02:30:49.441Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-05T02:30:49.441Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.057s coverage: 21.6% of statements [2020-10-05T02:30:51.290Z] OK: 142 MiB in 39 packages [2020-10-05T02:30:51.395Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.432s coverage: 97.1% of statements [2020-10-05T02:30:52.729Z] Removing intermediate container 4071aba57a9c [2020-10-05T02:30:52.729Z] ---> c23caa7e64ac [2020-10-05T02:30:52.729Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-05T02:30:52.729Z] ---> Running in f65204decb65 [2020-10-05T02:30:53.005Z] Removing intermediate container f65204decb65 [2020-10-05T02:30:53.005Z] ---> b93843804c80 [2020-10-05T02:30:53.005Z] Step 7/8 : COPY . . [2020-10-05T02:30:54.439Z] ---> 5dd5cf235783 [2020-10-05T02:30:54.439Z] Step 8/8 : RUN go mod download [2020-10-05T02:30:54.724Z] ---> Running in b2605dd93b5f [2020-10-05T02:31:16.920Z] Removing intermediate container b2605dd93b5f [2020-10-05T02:31:16.920Z] ---> 21b7731fdaef [2020-10-05T02:31:16.920Z] Successfully built 21b7731fdaef [2020-10-05T02:31:16.920Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-05T02:31:17.364Z] + docker inspect -f . ci-base-image-arm64 [2020-10-05T02:31:17.364Z] . [Pipeline] withDockerContainer [2020-10-05T02:31:17.653Z] prd-ubuntu18.04-docker-arm64-4c-16g-3365 does not seem to be running inside a container [2020-10-05T02:31:17.759Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-05T02:31:19.652Z] $ docker top 30a702540fc0f4b9f068f7ce929ce554326cd72c5cf2af659969e86fc73c409f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-05T02:31:21.245Z] + go version [2020-10-05T02:31:21.245Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-05T02:31:21.284Z] $ docker stop --time=1 30a702540fc0f4b9f068f7ce929ce554326cd72c5cf2af659969e86fc73c409f [2020-10-05T02:31:23.255Z] $ docker rm -f 30a702540fc0f4b9f068f7ce929ce554326cd72c5cf2af659969e86fc73c409f [Pipeline] // withDockerContainer [2020-10-05T02:31:23.616Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.082s coverage: 9.4% of statements [2020-10-05T02:31:23.616Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.057s coverage: 21.9% of statements [2020-10-05T02:31:23.616Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-05T02:31:23.616Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.208s coverage: 42.1% of statements [2020-10-05T02:31:23.616Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-05T02:31:23.616Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.274s coverage: 65.4% of statements [2020-10-05T02:31:23.616Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-05T02:31:23.616Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-05T02:31:23.616Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-05T02:31:23.616Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-05T02:31:23.616Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.063s coverage: 52.6% of statements [2020-10-05T02:31:23.616Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-05T02:31:23.616Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-05T02:31:23.616Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.275s coverage: 68.9% of statements [2020-10-05T02:31:23.616Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-05T02:31:23.616Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-05T02:31:23.616Z] GO111MODULE=on go vet ./... [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-05T02:31:24.500Z] + docker inspect -f . ci-base-image-arm64 [2020-10-05T02:31:24.501Z] . [Pipeline] withDockerContainer [2020-10-05T02:31:24.802Z] prd-ubuntu18.04-docker-arm64-4c-16g-3365 does not seem to be running inside a container [2020-10-05T02:31:24.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-05T02:31:26.673Z] $ docker top b24154ea9e0840912f8288d0db69ee12505a74becc43d6205d60cdfd8fcc59f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-05T02:31:28.193Z] + make test [2020-10-05T02:31:28.193Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-05T02:31:30.370Z] gofmt -l . [2020-10-05T02:31:30.370Z] [ "`gofmt -l .`" = "" ] [2020-10-05T02:31:30.370Z] ./bin/test-attribution-txt.sh [2020-10-05T02:31:30.370Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-05T02:31:30.796Z] Stashed 1 file(s) [Pipeline] } [2020-10-05T02:31:30.804Z] $ docker stop --time=1 4c6d392b503ce55c8c8e3b9db73bf3916c719e2a769fcb1cfdeedecc60f523d1 [2020-10-05T02:31:32.689Z] $ docker rm -f 4c6d392b503ce55c8c8e3b9db73bf3916c719e2a769fcb1cfdeedecc60f523d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-05T02:31:36.487Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-05T02:31:36.795Z] + ls -al . [2020-10-05T02:31:36.795Z] total 192 [2020-10-05T02:31:36.795Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 5 02:31 . [2020-10-05T02:31:36.795Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 5 02:28 .. [2020-10-05T02:31:36.795Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 5 02:28 bin [2020-10-05T02:31:36.795Z] -rw-r--r--. 1 jenkins jenkins 111046 Oct 5 02:31 coverage.out [2020-10-05T02:31:36.795Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 5 02:28 Dockerfile.build [2020-10-05T02:31:36.795Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 5 02:28 .dockerignore [2020-10-05T02:31:36.795Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 5 02:28 example [2020-10-05T02:31:36.795Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 5 02:28 .git [2020-10-05T02:31:36.795Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 5 02:28 .github [2020-10-05T02:31:36.795Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 5 02:28 .gitignore [2020-10-05T02:31:36.795Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 5 02:31 go.mod [2020-10-05T02:31:36.795Z] -rw-r--r--. 1 jenkins jenkins 13652 Oct 5 02:31 go.sum [2020-10-05T02:31:36.795Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 5 02:28 internal [2020-10-05T02:31:36.795Z] -rw-rw-r--. 1 jenkins jenkins 785 Oct 5 02:28 Jenkinsfile [2020-10-05T02:31:36.795Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 5 02:28 LICENSE [2020-10-05T02:31:36.795Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 5 02:28 Makefile [2020-10-05T02:31:36.795Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 5 02:28 openapi [2020-10-05T02:31:36.795Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 5 02:28 pkg [2020-10-05T02:31:36.795Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 5 02:28 README.md [2020-10-05T02:31:36.795Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 5 02:28 RELEASE-NOTES.txt [2020-10-05T02:31:36.795Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 5 02:28 .semver [2020-10-05T02:31:36.795Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 5 02:28 snap [2020-10-05T02:31:36.795Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 5 02:25 VERSION [2020-10-05T02:31:36.795Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 5 02:28 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-05T02:31:37.113Z] + 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=ac7dac17a9308f82da781b63d358e385c5d26887 --label arch=amd64 --label version=0.0.0 . [2020-10-05T02:31:37.377Z] Sending build context to Docker daemon 3.617MB [2020-10-05T02:31:37.377Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-05T02:31:37.377Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-05T02:31:37.377Z] ---> 0e8261e4d5df [2020-10-05T02:31:37.377Z] Step 3/24 : ARG MAKE='make build' [2020-10-05T02:31:37.954Z] ---> Running in b95983066baf [2020-10-05T02:31:37.954Z] Removing intermediate container b95983066baf [2020-10-05T02:31:37.954Z] ---> 4dde76ef228e [2020-10-05T02:31:37.954Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-05T02:31:38.224Z] ---> Running in f85aa150c738 [2020-10-05T02:31:38.224Z] Removing intermediate container f85aa150c738 [2020-10-05T02:31:38.224Z] ---> 3d0c1abdc3c9 [2020-10-05T02:31:38.224Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-05T02:31:38.488Z] ---> Running in 3cb00c17b497 [2020-10-05T02:31:38.488Z] Removing intermediate container 3cb00c17b497 [2020-10-05T02:31:38.488Z] ---> fd67235af434 [2020-10-05T02:31:38.488Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-05T02:31:38.752Z] ---> Running in 7482c2da14f4 [2020-10-05T02:31:39.707Z] Removing intermediate container 7482c2da14f4 [2020-10-05T02:31:39.707Z] ---> 7cbe726e323e [2020-10-05T02:31:39.707Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-05T02:31:39.707Z] ---> Running in 1f9368f5a853 [2020-10-05T02:31:39.971Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-05T02:31:44.196Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-05T02:31:50.394Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-05T02:31:54.226Z] OK: 166 MiB in 39 packages [2020-10-05T02:31:54.226Z] Removing intermediate container 1f9368f5a853 [2020-10-05T02:31:54.226Z] ---> 9d17a517eb10 [2020-10-05T02:31:54.226Z] Step 8/24 : COPY . . [2020-10-05T02:31:54.521Z] ---> 40a7f4adcda1 [2020-10-05T02:31:54.521Z] Step 9/24 : RUN ${MAKE} [2020-10-05T02:31:54.521Z] ---> Running in c1b7505c63af [2020-10-05T02:31:55.100Z] 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-05T02:32:03.320Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-05T02:32:05.251Z] Removing intermediate container c1b7505c63af [2020-10-05T02:32:05.251Z] ---> bb36a468e6a5 [2020-10-05T02:32:05.251Z] Step 10/24 : FROM scratch [2020-10-05T02:32:05.251Z] ---> [2020-10-05T02:32:05.251Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-05T02:32:05.251Z] ---> Running in 30678a1541e6 [2020-10-05T02:32:05.251Z] Removing intermediate container 30678a1541e6 [2020-10-05T02:32:05.251Z] ---> 18541af63b83 [2020-10-05T02:32:05.251Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-05T02:32:05.251Z] ---> Running in 8828eaa34bf7 [2020-10-05T02:32:05.512Z] Removing intermediate container 8828eaa34bf7 [2020-10-05T02:32:05.512Z] ---> 7e6122e9fb37 [2020-10-05T02:32:05.512Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-05T02:32:05.512Z] ---> Running in b5d9af8b3713 [2020-10-05T02:32:05.512Z] Removing intermediate container b5d9af8b3713 [2020-10-05T02:32:05.512Z] ---> db6deeca7e49 [2020-10-05T02:32:05.512Z] Step 14/24 : WORKDIR / [2020-10-05T02:32:05.776Z] ---> Running in e67ae9b500e5 [2020-10-05T02:32:05.776Z] Removing intermediate container e67ae9b500e5 [2020-10-05T02:32:05.776Z] ---> 0cc88f4d6934 [2020-10-05T02:32:05.776Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-05T02:32:06.352Z] ---> e7d7eb3efce0 [2020-10-05T02:32:06.352Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-05T02:32:06.616Z] ---> 8dbb2899ea2c [2020-10-05T02:32:06.616Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-05T02:32:06.616Z] ---> 1966a5174434 [2020-10-05T02:32:06.616Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-05T02:32:06.881Z] ---> 14bf420c06db [2020-10-05T02:32:06.881Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-05T02:32:07.143Z] ---> ba0f93e90f0d [2020-10-05T02:32:07.143Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-05T02:32:07.143Z] ---> Running in b1811a449819 [2020-10-05T02:32:07.406Z] Removing intermediate container b1811a449819 [2020-10-05T02:32:07.406Z] ---> 94733aa8f322 [2020-10-05T02:32:07.406Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-05T02:32:07.406Z] ---> Running in 8a095512778f [2020-10-05T02:32:07.668Z] Removing intermediate container 8a095512778f [2020-10-05T02:32:07.668Z] ---> a6eb5382dd4d [2020-10-05T02:32:07.668Z] Step 22/24 : LABEL arch=amd64 [2020-10-05T02:32:07.668Z] ---> Running in aa88d7eecc5a [2020-10-05T02:32:07.930Z] Removing intermediate container aa88d7eecc5a [2020-10-05T02:32:07.930Z] ---> 384ca05da442 [2020-10-05T02:32:07.930Z] Step 23/24 : LABEL git_sha=ac7dac17a9308f82da781b63d358e385c5d26887 [2020-10-05T02:32:07.930Z] ---> Running in 269f40d5a23f [2020-10-05T02:32:08.192Z] Removing intermediate container 269f40d5a23f [2020-10-05T02:32:08.192Z] ---> 57acc67249f5 [2020-10-05T02:32:08.192Z] Step 24/24 : LABEL version=0.0.0 [2020-10-05T02:32:08.192Z] ---> Running in da81e45cb8f7 [2020-10-05T02:32:08.192Z] Removing intermediate container da81e45cb8f7 [2020-10-05T02:32:08.192Z] ---> 057388f5abfb [2020-10-05T02:32:08.192Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-05T02:32:08.192Z] Successfully built 057388f5abfb [2020-10-05T02:32:08.453Z] 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-05T02:32:29.473Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-05T02:32:29.473Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-05T02:32:29.473Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-05T02:32:29.473Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.122s coverage: 21.6% of statements [2020-10-05T02:32:31.473Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.125s coverage: 97.1% of statements [2020-10-05T02:33:03.838Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.112s coverage: 9.4% of statements [2020-10-05T02:33:03.838Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.119s coverage: 21.9% of statements [2020-10-05T02:33:03.838Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-05T02:33:03.838Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.543s coverage: 42.1% of statements [2020-10-05T02:33:03.838Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-05T02:33:03.838Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.780s coverage: 65.4% of statements [2020-10-05T02:33:03.838Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-05T02:33:03.838Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-05T02:33:03.838Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-05T02:33:03.838Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-05T02:33:03.838Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.188s coverage: 52.6% of statements [2020-10-05T02:33:03.838Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-05T02:33:03.838Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-05T02:33:03.838Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.828s coverage: 68.9% of statements [2020-10-05T02:33:03.838Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-05T02:33:03.838Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-05T02:33:03.838Z] GO111MODULE=on go vet ./... [2020-10-05T02:33:30.682Z] gofmt -l . [2020-10-05T02:33:30.682Z] [ "`gofmt -l .`" = "" ] [2020-10-05T02:33:30.682Z] ./bin/test-attribution-txt.sh [2020-10-05T02:33:30.682Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-05T02:33:30.706Z] Warning: overwriting stash ‘coverage-report’ [2020-10-05T02:33:31.542Z] Stashed 1 file(s) [Pipeline] } [2020-10-05T02:33:31.553Z] $ docker stop --time=1 b24154ea9e0840912f8288d0db69ee12505a74becc43d6205d60cdfd8fcc59f0 [2020-10-05T02:33:33.823Z] $ docker rm -f b24154ea9e0840912f8288d0db69ee12505a74becc43d6205d60cdfd8fcc59f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-05T02:33:35.322Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-05T02:33:35.714Z] + ls -al . [2020-10-05T02:33:35.714Z] total 232 [2020-10-05T02:33:35.714Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 5 02:33 . [2020-10-05T02:33:35.714Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 02:29 .. [2020-10-05T02:33:35.714Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 02:29 .dockerignore [2020-10-05T02:33:35.714Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 02:29 .git [2020-10-05T02:33:35.714Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 02:29 .github [2020-10-05T02:33:35.714Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 5 02:29 .gitignore [2020-10-05T02:33:35.714Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 02:29 .semver [2020-10-05T02:33:35.714Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 5 02:29 Dockerfile.build [2020-10-05T02:33:35.714Z] -rw-rw-r-- 1 jenkins jenkins 785 Oct 5 02:29 Jenkinsfile [2020-10-05T02:33:35.714Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 5 02:29 LICENSE [2020-10-05T02:33:35.714Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 5 02:29 Makefile [2020-10-05T02:33:35.714Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 5 02:29 README.md [2020-10-05T02:33:35.714Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 5 02:29 RELEASE-NOTES.txt [2020-10-05T02:33:35.714Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 5 02:25 VERSION [2020-10-05T02:33:35.714Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 02:29 bin [2020-10-05T02:33:35.714Z] -rw-r--r-- 1 jenkins jenkins 111046 Oct 5 02:32 coverage.out [2020-10-05T02:33:35.714Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 02:29 example [2020-10-05T02:33:35.714Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 5 02:33 go.mod [2020-10-05T02:33:35.714Z] -rw-r--r-- 1 jenkins jenkins 13652 Oct 5 02:33 go.sum [2020-10-05T02:33:35.714Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 5 02:29 internal [2020-10-05T02:33:35.714Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 02:29 openapi [2020-10-05T02:33:35.714Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 5 02:29 pkg [2020-10-05T02:33:35.714Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 02:29 snap [2020-10-05T02:33:35.714Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 5 02:29 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-05T02:33:36.170Z] + 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=ac7dac17a9308f82da781b63d358e385c5d26887 --label arch=arm64 --label version=0.0.0 . [2020-10-05T02:33:36.788Z] Sending build context to Docker daemon 3.615MB [2020-10-05T02:33:36.788Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-05T02:33:36.788Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-05T02:33:36.788Z] ---> 21b7731fdaef [2020-10-05T02:33:36.788Z] Step 3/24 : ARG MAKE='make build' [2020-10-05T02:33:37.063Z] ---> Running in 79f608d3f38e [2020-10-05T02:33:37.335Z] Removing intermediate container 79f608d3f38e [2020-10-05T02:33:37.335Z] ---> 9de61729b1bc [2020-10-05T02:33:37.335Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-05T02:33:37.609Z] ---> Running in d8cbddb4d9fb [2020-10-05T02:33:38.204Z] Removing intermediate container d8cbddb4d9fb [2020-10-05T02:33:38.204Z] ---> bde092cb0636 [2020-10-05T02:33:38.204Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-05T02:33:38.204Z] ---> Running in 51ef35654e71 [2020-10-05T02:33:38.798Z] Removing intermediate container 51ef35654e71 [2020-10-05T02:33:38.798Z] ---> f1f23017e1c1 [2020-10-05T02:33:38.798Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-05T02:33:38.798Z] ---> Running in 17fc44cad6be [2020-10-05T02:33:41.413Z] Removing intermediate container 17fc44cad6be [2020-10-05T02:33:41.413Z] ---> 3809da6fc418 [2020-10-05T02:33:41.413Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-05T02:33:41.413Z] ---> Running in 5cb61c1f5010 [2020-10-05T02:33:42.854Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-05T02:33:45.459Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-05T02:33:49.753Z] OK: 142 MiB in 39 packages [2020-10-05T02:33:50.730Z] Removing intermediate container 5cb61c1f5010 [2020-10-05T02:33:50.730Z] ---> 6ffc39a76e5a [2020-10-05T02:33:50.730Z] Step 8/24 : COPY . . [2020-10-05T02:33:52.181Z] ---> 13709a692ddd [2020-10-05T02:33:52.181Z] Step 9/24 : RUN ${MAKE} [2020-10-05T02:33:52.453Z] ---> Running in 28a2af6fc1a1 [2020-10-05T02:33:53.889Z] 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-05T02:34:20.724Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-05T02:34:20.724Z] Removing intermediate container 28a2af6fc1a1 [2020-10-05T02:34:20.724Z] ---> 6769c5077862 [2020-10-05T02:34:20.724Z] Step 10/24 : FROM scratch [2020-10-05T02:34:20.724Z] ---> [2020-10-05T02:34:20.724Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-05T02:34:20.724Z] ---> Running in 2fc08221a338 [2020-10-05T02:34:20.724Z] Removing intermediate container 2fc08221a338 [2020-10-05T02:34:20.724Z] ---> 399e9dabd893 [2020-10-05T02:34:20.724Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-05T02:34:20.724Z] ---> Running in 9681f407c84f [2020-10-05T02:34:21.321Z] Removing intermediate container 9681f407c84f [2020-10-05T02:34:21.321Z] ---> cc2d5b9723c7 [2020-10-05T02:34:21.321Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-05T02:34:21.321Z] ---> Running in 6fca53be27fb [2020-10-05T02:34:21.597Z] Removing intermediate container 6fca53be27fb [2020-10-05T02:34:21.597Z] ---> b06b34564395 [2020-10-05T02:34:21.597Z] Step 14/24 : WORKDIR / [2020-10-05T02:34:21.868Z] ---> Running in 7e193fc36763 [2020-10-05T02:34:22.142Z] Removing intermediate container 7e193fc36763 [2020-10-05T02:34:22.142Z] ---> bcc8646f97c8 [2020-10-05T02:34:22.142Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-05T02:34:23.573Z] ---> d5c61b315960 [2020-10-05T02:34:23.573Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-05T02:34:24.171Z] ---> 74107ca470c7 [2020-10-05T02:34:24.171Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-05T02:34:25.148Z] ---> 52e75908965e [2020-10-05T02:34:25.148Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-05T02:34:25.744Z] ---> 8e0382475e1e [2020-10-05T02:34:25.744Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-05T02:34:26.339Z] ---> 3873aed205f4 [2020-10-05T02:34:26.339Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-05T02:34:26.616Z] ---> Running in e654c0ebdd40 [2020-10-05T02:34:26.887Z] Removing intermediate container e654c0ebdd40 [2020-10-05T02:34:26.887Z] ---> fbbaffb63274 [2020-10-05T02:34:26.887Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-05T02:34:27.159Z] ---> Running in 547b6f5d87a5 [2020-10-05T02:34:27.432Z] Removing intermediate container 547b6f5d87a5 [2020-10-05T02:34:27.432Z] ---> 0457575b9040 [2020-10-05T02:34:27.432Z] Step 22/24 : LABEL arch=arm64 [2020-10-05T02:34:27.704Z] ---> Running in c39376ba1a6d [2020-10-05T02:34:27.976Z] Removing intermediate container c39376ba1a6d [2020-10-05T02:34:27.976Z] ---> 86ae59f3851c [2020-10-05T02:34:27.976Z] Step 23/24 : LABEL git_sha=ac7dac17a9308f82da781b63d358e385c5d26887 [2020-10-05T02:34:28.251Z] ---> Running in 63a45ac695fa [2020-10-05T02:34:28.844Z] Removing intermediate container 63a45ac695fa [2020-10-05T02:34:28.844Z] ---> a9f050c9b82f [2020-10-05T02:34:28.844Z] Step 24/24 : LABEL version=0.0.0 [2020-10-05T02:34:28.844Z] ---> Running in 7a00fa55118b [2020-10-05T02:34:29.439Z] Removing intermediate container 7a00fa55118b [2020-10-05T02:34:29.439Z] ---> 7f0ba9bec3e4 [2020-10-05T02:34:29.439Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-05T02:34:29.439Z] Successfully built 7f0ba9bec3e4 [2020-10-05T02:34:29.439Z] 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-05T02:34:31.227Z] provisioning config files... [2020-10-05T02:34:31.239Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config7182448169152093402tmp [Pipeline] { [Pipeline] sh [2020-10-05T02:34:31.617Z] + set +x [2020-10-05T02:34:31.618Z] + curl -s https://codecov.io/bash [2020-10-05T02:34:31.618Z] + bash -s -- [2020-10-05T02:34:31.881Z] [2020-10-05T02:34:31.881Z] _____ _ [2020-10-05T02:34:31.881Z] / ____| | | [2020-10-05T02:34:31.881Z] | | ___ __| | ___ ___ _____ __ [2020-10-05T02:34:31.881Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-05T02:34:31.881Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-05T02:34:31.881Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-05T02:34:31.881Z] Bash-20200917-4e8f14b [2020-10-05T02:34:31.881Z] [2020-10-05T02:34:31.881Z] [2020-10-05T02:34:31.881Z] ==> Jenkins CI detected. [2020-10-05T02:34:31.881Z] project root: . [2020-10-05T02:34:31.881Z] --> token set from env [2020-10-05T02:34:31.881Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-05T02:34:31.881Z] ==> Running gcov in . (disable via -X gcov) [2020-10-05T02:34:31.881Z] ==> Python coveragepy not found [2020-10-05T02:34:31.881Z] ==> Searching for coverage reports in: [2020-10-05T02:34:31.881Z] + . [2020-10-05T02:34:31.881Z] -> Found 1 reports [2020-10-05T02:34:31.881Z] ==> Detecting git/mercurial file structure [2020-10-05T02:34:31.881Z] ==> Reading reports [2020-10-05T02:34:31.881Z] + ./coverage.out bytes=111046 [2020-10-05T02:34:31.881Z] ==> Appending adjustments [2020-10-05T02:34:31.881Z] https://docs.codecov.io/docs/fixing-reports [2020-10-05T02:34:32.457Z] + Found adjustments [2020-10-05T02:34:32.457Z] ==> Gzipping contents [2020-10-05T02:34:32.457Z] ==> Uploading reports [2020-10-05T02:34:32.457Z] url: https://codecov.io [2020-10-05T02:34:32.457Z] query: branch=PR-605&commit=ac7dac17a9308f82da781b63d358e385c5d26887&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-605%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=605&job=&cmd_args= [2020-10-05T02:34:32.457Z] -> Pinging Codecov [2020-10-05T02:34:32.457Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-605&commit=ac7dac17a9308f82da781b63d358e385c5d26887&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-605%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=605&job=&cmd_args= [2020-10-05T02:34:33.033Z] -> Uploading to [2020-10-05T02:34:33.033Z] https://storage.googleapis.com/codecov/v4/raw/2020-10-05/7E55EF52A471D76F132DFD9A03CDDE97/ac7dac17a9308f82da781b63d358e385c5d26887/d6cb5a63-fa3a-4e30-8e5d-3ebe8087cedb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201005%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201005T023432Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=70baa3f66a0d23b72609386ca9ef15d3dfb42153722c1d0885218663fda1840a [2020-10-05T02:34:33.033Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-05T02:34:33.033Z] Dload Upload Total Spent Left Speed [2020-10-05T02:34:33.295Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18427 0 0 100 18427 0 44234 --:--:-- --:--:-- --:--:-- 44295 [2020-10-05T02:34:33.295Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ac7dac17a9308f82da781b63d358e385c5d26887 [Pipeline] } [2020-10-05T02:34:33.305Z] 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-05T02:34:35.901Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-05T02:34:36.214Z] ---> package-listing.sh [2020-10-05T02:34:36.214Z] ++ facter osfamily [2020-10-05T02:34:36.214Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-05T02:34:36.214Z] + OS_FAMILY=redhat [2020-10-05T02:34:36.214Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-605 [2020-10-05T02:34:36.214Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-05T02:34:36.214Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-05T02:34:36.214Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-05T02:34:36.214Z] + PACKAGES=/tmp/packages_start.txt [2020-10-05T02:34:36.214Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' [2020-10-05T02:34:36.214Z] + PACKAGES=/tmp/packages_end.txt [2020-10-05T02:34:36.214Z] + case "${OS_FAMILY}" in [2020-10-05T02:34:36.214Z] + rpm -qa [2020-10-05T02:34:36.214Z] + sort [2020-10-05T02:34:40.438Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-05T02:34:40.438Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-05T02:34:40.438Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-05T02:34:40.438Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' [2020-10-05T02:34:40.438Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ [2020-10-05T02:34:40.438Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-05T02:34:41.009Z] provisioning config files... [2020-10-05T02:34:41.027Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config7398384687046104867tmp [Pipeline] { [Pipeline] echo [2020-10-05T02:34:41.108Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-05T02:34:41.406Z] ---> create-netrc.sh [Pipeline] } [2020-10-05T02:34:41.417Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-05T02:34:41.511Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-05T02:34:41.806Z] ---> python-tools-install.sh [2020-10-05T02:34:41.807Z] Generating Requirements File [2020-10-05T02:36:03.355Z] Python 3.6.8 [2020-10-05T02:36:03.355Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-05T02:36:03.355Z] aiohttp==3.6.2 [2020-10-05T02:36:03.355Z] appdirs==1.4.3 [2020-10-05T02:36:03.355Z] argcomplete==1.12.1 [2020-10-05T02:36:03.355Z] aspy.yaml==1.3.0 [2020-10-05T02:36:03.355Z] async-timeout==3.0.1 [2020-10-05T02:36:03.355Z] attrs==19.3.0 [2020-10-05T02:36:03.355Z] Babel==2.8.0 [2020-10-05T02:36:03.355Z] beautifulsoup4==4.8.2 [2020-10-05T02:36:03.355Z] boto3==1.11.6 [2020-10-05T02:36:03.355Z] botocore==1.14.6 [2020-10-05T02:36:03.355Z] bs4==0.0.1 [2020-10-05T02:36:03.355Z] cachetools==4.1.1 [2020-10-05T02:36:03.355Z] certifi==2019.11.28 [2020-10-05T02:36:03.355Z] cffi==1.14.3 [2020-10-05T02:36:03.355Z] cfgv==2.0.1 [2020-10-05T02:36:03.355Z] chardet==3.0.4 [2020-10-05T02:36:03.355Z] click==7.1 [2020-10-05T02:36:03.355Z] cliff==3.4.0 [2020-10-05T02:36:03.355Z] cmd2==1.3.11 [2020-10-05T02:36:03.355Z] colorama==0.4.3 [2020-10-05T02:36:03.355Z] cryptography==3.1.1 [2020-10-05T02:36:03.355Z] debtcollector==2.2.0 [2020-10-05T02:36:03.355Z] decorator==4.4.2 [2020-10-05T02:36:03.355Z] defusedxml==0.6.0 [2020-10-05T02:36:03.355Z] Deprecated==1.2.7 [2020-10-05T02:36:03.355Z] distlib==0.3.1 [2020-10-05T02:36:03.355Z] distro==1.2.0 [2020-10-05T02:36:03.355Z] dnspython==1.16.0 [2020-10-05T02:36:03.355Z] docker==4.2.0 [2020-10-05T02:36:03.355Z] docutils==0.15.2 [2020-10-05T02:36:03.355Z] dogpile.cache==1.0.2 [2020-10-05T02:36:03.355Z] email-validator==1.0.5 [2020-10-05T02:36:03.355Z] filelock==3.0.12 [2020-10-05T02:36:03.355Z] future==0.18.2 [2020-10-05T02:36:03.355Z] google-auth==1.22.0 [2020-10-05T02:36:03.355Z] httplib2==0.17.0 [2020-10-05T02:36:03.355Z] identify==1.4.11 [2020-10-05T02:36:03.355Z] idna==2.9 [2020-10-05T02:36:03.355Z] idna-ssl==1.1.0 [2020-10-05T02:36:03.355Z] importlib-metadata==1.7.0 [2020-10-05T02:36:03.355Z] importlib-resources==1.5.0 [2020-10-05T02:36:03.355Z] iso8601==0.1.13 [2020-10-05T02:36:03.355Z] Jinja2==2.11.1 [2020-10-05T02:36:03.355Z] jmespath==0.10.0 [2020-10-05T02:36:03.355Z] jsonpatch==1.26 [2020-10-05T02:36:03.355Z] jsonpointer==2.0 [2020-10-05T02:36:03.355Z] jsonschema==3.2.0 [2020-10-05T02:36:03.355Z] keystoneauth1==4.2.1 [2020-10-05T02:36:03.355Z] kubernetes==11.0.0 [2020-10-05T02:36:03.355Z] lftools==0.34.2 [2020-10-05T02:36:03.355Z] lxml==4.5.0 [2020-10-05T02:36:03.355Z] MarkupSafe==0.23 [2020-10-05T02:36:03.355Z] msgpack==1.0.0 [2020-10-05T02:36:03.355Z] multi-key-dict==2.0.3 [2020-10-05T02:36:03.355Z] multidict==4.7.6 [2020-10-05T02:36:03.355Z] munch==2.5.0 [2020-10-05T02:36:03.355Z] netaddr==0.8.0 [2020-10-05T02:36:03.355Z] netifaces==0.10.9 [2020-10-05T02:36:03.355Z] niet==1.4.2 [2020-10-05T02:36:03.355Z] nodeenv==1.3.5 [2020-10-05T02:36:03.355Z] oauth2client==4.1.3 [2020-10-05T02:36:03.355Z] oauthlib==3.1.0 [2020-10-05T02:36:03.355Z] openstacksdk==0.50.0 [2020-10-05T02:36:03.355Z] os-client-config==2.1.0 [2020-10-05T02:36:03.355Z] os-service-types==1.7.0 [2020-10-05T02:36:03.355Z] osc-lib==2.2.1 [2020-10-05T02:36:03.355Z] oslo.config==8.3.2 [2020-10-05T02:36:03.355Z] oslo.context==3.1.1 [2020-10-05T02:36:03.355Z] oslo.i18n==5.0.1 [2020-10-05T02:36:03.355Z] oslo.log==4.4.0 [2020-10-05T02:36:03.355Z] oslo.serialization==4.0.1 [2020-10-05T02:36:03.355Z] oslo.utils==4.6.0 [2020-10-05T02:36:03.355Z] packaging==20.4 [2020-10-05T02:36:03.355Z] pbr==5.4.4 [2020-10-05T02:36:03.355Z] pluggy==0.13.1 [2020-10-05T02:36:03.355Z] prettytable==0.7.2 [2020-10-05T02:36:03.355Z] py==1.9.0 [2020-10-05T02:36:03.355Z] pyasn1==0.4.8 [2020-10-05T02:36:03.355Z] pyasn1-modules==0.2.8 [2020-10-05T02:36:03.355Z] pycparser==2.20 [2020-10-05T02:36:03.355Z] pygerrit2==2.0.10 [2020-10-05T02:36:03.355Z] PyGithub==1.46 [2020-10-05T02:36:03.355Z] pyinotify==0.9.6 [2020-10-05T02:36:03.355Z] PyJWT==1.7.1 [2020-10-05T02:36:03.355Z] pyparsing==2.4.7 [2020-10-05T02:36:03.355Z] pyperclip==1.8.0 [2020-10-05T02:36:03.355Z] pyroute2==0.4.13 [2020-10-05T02:36:03.355Z] pyrsistent==0.15.7 [2020-10-05T02:36:03.355Z] PySocks==1.6.8 [2020-10-05T02:36:03.355Z] python-cinderclient==7.2.0 [2020-10-05T02:36:03.355Z] python-dateutil==2.8.1 [2020-10-05T02:36:03.355Z] python-heatclient==2.2.1 [2020-10-05T02:36:03.355Z] python-jenkins==1.7.0 [2020-10-05T02:36:03.355Z] python-keystoneclient==4.1.1 [2020-10-05T02:36:03.355Z] python-magnumclient==3.2.1 [2020-10-05T02:36:03.355Z] python-novaclient==17.2.1 [2020-10-05T02:36:03.355Z] python-openstackclient==5.4.0 [2020-10-05T02:36:03.355Z] python-swiftclient==3.10.1 [2020-10-05T02:36:03.355Z] pytz==2020.1 [2020-10-05T02:36:03.355Z] PyYAML==5.3 [2020-10-05T02:36:03.355Z] requests==2.23.0 [2020-10-05T02:36:03.355Z] requests-oauthlib==1.3.0 [2020-10-05T02:36:03.355Z] requestsexceptions==1.4.0 [2020-10-05T02:36:03.355Z] rfc3986==1.4.0 [2020-10-05T02:36:03.355Z] rpm==4.11.3 [2020-10-05T02:36:03.355Z] rsa==4.0 [2020-10-05T02:36:03.355Z] ruamel.yaml==0.16.10 [2020-10-05T02:36:03.355Z] ruamel.yaml.clib==0.2.0 [2020-10-05T02:36:03.355Z] s3transfer==0.3.3 [2020-10-05T02:36:03.355Z] shade==1.27.2 [2020-10-05T02:36:03.355Z] simplejson==3.17.2 [2020-10-05T02:36:03.355Z] six==1.14.0 [2020-10-05T02:36:03.355Z] soupsieve==2.0 [2020-10-05T02:36:03.355Z] stevedore==3.2.2 [2020-10-05T02:36:03.355Z] tabulate==0.8.6 [2020-10-05T02:36:03.355Z] toml==0.10.0 [2020-10-05T02:36:03.355Z] tox==3.20.0 [2020-10-05T02:36:03.355Z] tqdm==4.43.0 [2020-10-05T02:36:03.355Z] typing-extensions==3.7.4.3 [2020-10-05T02:36:03.355Z] urllib3==1.25.8 [2020-10-05T02:36:03.355Z] virtualenv==20.0.33 [2020-10-05T02:36:03.355Z] wcwidth==0.2.5 [2020-10-05T02:36:03.355Z] websocket-client==0.57.0 [2020-10-05T02:36:03.355Z] wrapt==1.12.1 [2020-10-05T02:36:03.355Z] xdg==3.0.2 [2020-10-05T02:36:03.355Z] xmltodict==0.12.0 [2020-10-05T02:36:03.355Z] yarl==1.6.0 [2020-10-05T02:36:03.355Z] yq==2.11.1 [2020-10-05T02:36:03.355Z] zipp==3.3.0 [2020-10-05T02:36:03.355Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:36:03.355Z] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [2020-10-05T02:36:03.355Z] Python 2.7.5 [2020-10-05T02:36:03.355Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-05T02:36:03.355Z] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [2020-10-05T02:36:03.355Z] ansible==2.9.7 [2020-10-05T02:36:03.355Z] Babel==0.9.6 [2020-10-05T02:36:03.355Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-05T02:36:03.355Z] beautifulsoup4==4.4.1 [2020-10-05T02:36:03.355Z] bodhi==2.11.0 [2020-10-05T02:36:03.355Z] bodhi-client==2.11.0 [2020-10-05T02:36:03.355Z] CCColUtils==1.4 [2020-10-05T02:36:03.355Z] cffi==1.6.0 [2020-10-05T02:36:03.355Z] chardet==2.2.1 [2020-10-05T02:36:03.355Z] click==6.7 [2020-10-05T02:36:03.355Z] cloud-init==18.5 [2020-10-05T02:36:03.355Z] configobj==4.7.2 [2020-10-05T02:36:03.355Z] cryptography==1.7.2 [2020-10-05T02:36:03.355Z] decorator==3.4.0 [2020-10-05T02:36:03.355Z] distro==1.2.0 [2020-10-05T02:36:03.355Z] enum34==1.0.4 [2020-10-05T02:36:03.355Z] fedpkg==1.38 [2020-10-05T02:36:03.355Z] futures==3.1.1 [2020-10-05T02:36:03.355Z] gitdb==0.6.4 [2020-10-05T02:36:03.355Z] GitPython==1.0.1 [2020-10-05T02:36:03.355Z] html5lib==0.999 [2020-10-05T02:36:03.355Z] httplib2==0.9.2 [2020-10-05T02:36:03.355Z] idna==2.4 [2020-10-05T02:36:03.355Z] iniparse==0.4 [2020-10-05T02:36:03.355Z] ipaddress==1.0.16 [2020-10-05T02:36:03.355Z] IPy==0.75 [2020-10-05T02:36:03.355Z] javapackages==1.0.0 [2020-10-05T02:36:03.355Z] Jinja2==2.7.2 [2020-10-05T02:36:03.355Z] jmespath==0.9.4 [2020-10-05T02:36:03.355Z] jsonpatch==1.2 [2020-10-05T02:36:03.355Z] jsonpointer==1.9 [2020-10-05T02:36:03.355Z] kerberos==1.1 [2020-10-05T02:36:03.355Z] kitchen==1.1.1 [2020-10-05T02:36:03.355Z] langtable==0.0.31 [2020-10-05T02:36:03.355Z] lockfile==0.9.1 [2020-10-05T02:36:03.356Z] lxml==3.2.1 [2020-10-05T02:36:03.356Z] MarkupSafe==0.11 [2020-10-05T02:36:03.356Z] munch==2.0.2 [2020-10-05T02:36:03.356Z] offtrac==0.1.0 [2020-10-05T02:36:03.356Z] openidc-client==0.6.0 [2020-10-05T02:36:03.356Z] packagedb-cli==2.14.1 [2020-10-05T02:36:03.356Z] paramiko==2.1.1 [2020-10-05T02:36:03.356Z] perf==0.1 [2020-10-05T02:36:03.356Z] ply==3.4 [2020-10-05T02:36:03.356Z] policycoreutils-default-encoding==0.1 [2020-10-05T02:36:03.356Z] prettytable==0.7.2 [2020-10-05T02:36:03.356Z] pyasn1==0.1.9 [2020-10-05T02:36:03.356Z] pycparser==2.14 [2020-10-05T02:36:03.356Z] pycurl==7.19.0 [2020-10-05T02:36:03.356Z] pygobject==3.22.0 [2020-10-05T02:36:03.356Z] pygpgme==0.3 [2020-10-05T02:36:03.356Z] pyliblzma==0.5.3 [2020-10-05T02:36:03.356Z] pyOpenSSL==0.13.1 [2020-10-05T02:36:03.356Z] pyparsing==1.5.6 [2020-10-05T02:36:03.356Z] pyserial==2.6 [2020-10-05T02:36:03.356Z] python-augeas==0.5.0 [2020-10-05T02:36:03.356Z] python-bugzilla==2.3.0 [2020-10-05T02:36:03.356Z] python-dateutil==1.5 [2020-10-05T02:36:03.356Z] python-fedora==0.10.0 [2020-10-05T02:36:03.356Z] python-linux-procfs==0.4.9 [2020-10-05T02:36:03.356Z] python-yubico==1.2.3 [2020-10-05T02:36:03.356Z] pyudev==0.15 [2020-10-05T02:36:03.356Z] pyusb==1.0.0b1 [2020-10-05T02:36:03.356Z] pyxattr==0.5.1 [2020-10-05T02:36:03.356Z] PyYAML==3.10 [2020-10-05T02:36:03.356Z] requests==2.6.0 [2020-10-05T02:36:03.356Z] requests-kerberos==0.7.0 [2020-10-05T02:36:03.356Z] rpkg==1.60 [2020-10-05T02:36:03.356Z] schedutils==0.4 [2020-10-05T02:36:03.356Z] seobject==0.1 [2020-10-05T02:36:03.356Z] sepolicy==1.1 [2020-10-05T02:36:03.356Z] six==1.9.0 [2020-10-05T02:36:03.356Z] smmap==0.9.0 [2020-10-05T02:36:03.356Z] urlgrabber==3.10 [2020-10-05T02:36:03.356Z] urllib3==1.10.2 [2020-10-05T02:36:03.356Z] virtualenv==15.1.0 [2020-10-05T02:36:03.356Z] yum-langpacks==0.4.2 [2020-10-05T02:36:03.356Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-05T02:36:03.368Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-05T02:36:03.676Z] ---> sudo-logs.sh [2020-10-05T02:36:03.676Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-05T02:36:03.950Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-05T02:36:04.247Z] ---> job-cost.sh [2020-10-05T02:36:04.247Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-AO9m [2020-10-05T02:36:16.506Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:36:16.506Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:36:16.506Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:36:16.771Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:36:16.771Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:36:16.771Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:36:17.034Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:36:17.034Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:36:17.034Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:36:17.296Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:36:17.296Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:36:17.296Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:36:19.848Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-05T02:36:46.492Z] lf-activate-venv(): INFO: Adding /tmp/venv-AO9m/bin to PATH [2020-10-05T02:36:46.492Z] INFO: No Stack... [2020-10-05T02:36:46.492Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-05T02:36:46.754Z] INFO: Archiving Costs [Pipeline] echo [2020-10-05T02:36:46.771Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-05T02:36:47.077Z] ---> logs-deploy.sh [2020-10-05T02:36:47.077Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-605/4 [2020-10-05T02:36:47.077Z] INFO: archiving workspace using pattern(s): [2020-10-05T02:36:48.470Z] Archives upload complete. [2020-10-05T02:36:48.732Z] INFO: archiving logs to Nexus