Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480+7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 (4eb6362e3e4c0fd37a71747134b744f9cc25cea2) 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 Running on prd-centos7-docker-4c-2g-3583 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [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-582 # 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 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 into PR head commit 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 Merge succeeded, producing 02e2254e3913a7a837b7d8237e7273c3339b1274 Checking out Revision 02e2254e3913a7a837b7d8237e7273c3339b1274 (PR-582) > 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/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 # 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 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02e2254e3913a7a837b7d8237e7273c3339b1274 # timeout=10 Commit message: "Merge commit '7376f7b5b06e33bb8acc21cf64a8bee67a63ba67' into HEAD" > git rev-list --no-walk 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-06T02:42:53.255Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-06T02:42:53.536Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-06T02:42:53.644Z] ========================================================= [2020-10-06T02:42:53.644Z] EdgeX Global Pipelines Version Info [2020-10-06T02:42:53.644Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-06T02:42:55.137Z] ------------------- [2020-10-06T02:42:55.137Z] stable info: [2020-10-06T02:42:55.137Z] ------------------- [2020-10-06T02:42:55.137Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-06T02:42:55.137Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-06T02:42:55.137Z] Message: update stable to v1.0.131 [2020-10-06T02:42:57.056Z] ------------------- [2020-10-06T02:42:57.056Z] experimental info: [2020-10-06T02:42:57.056Z] ------------------- [2020-10-06T02:42:57.056Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-06T02:42:57.056Z] Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a [2020-10-06T02:42:57.056Z] Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-06T02:42:57.393Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-06T02:42:57.490Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-06T02:42:57.604Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-06T02:42:57.706Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-06T02:42:57.824Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-06T02:42:57.948Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-06T02:42:58.043Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-06T02:42:58.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-06T02:42:58.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-06T02:42:58.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-06T02:42:58.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-06T02:42:58.683Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-06T02:42:58.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-06T02:42:58.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-06T02:42:59.197Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-06T02:42:59.287Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T02:42:59.392Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T02:42:59.495Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T02:42:59.584Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-06T02:42:59.674Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-06T02:42:59.763Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-06T02:42:59.852Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-06T02:42:59.950Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-06T02:43:00.064Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-06T02:43:00.211Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-06T02:43:00.302Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo [2020-10-06T02:43:00.400Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo [2020-10-06T02:43:00.488Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo [2020-10-06T02:43:00.584Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 02e2254e3913a7a837b7d8237e7273c3339b1274 [Pipeline] echo [2020-10-06T02:43:00.677Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 02e2254 [Pipeline] echo [2020-10-06T02:43:00.819Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-06T02:43:01.427Z] + git log --format=format:%s -1 02e2254e3913a7a837b7d8237e7273c3339b1274 [Pipeline] echo [2020-10-06T02:43:01.497Z] GIT_COMMIT: 02e2254e3913a7a837b7d8237e7273c3339b1274, Commit Message: Merge commit '7376f7b5b06e33bb8acc21cf64a8bee67a63ba67' into HEAD [Pipeline] echo [2020-10-06T02:43:01.546Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-06T02:43:02.137Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T02:43:02.401Z] [2020-10-06T02:43:02.401Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T02:43:02.773Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T02:43:02.773Z] latest: Pulling from edgex-devops/git-semver [2020-10-06T02:43:02.773Z] 31603596830f: Pulling fs layer [2020-10-06T02:43:02.773Z] 2a8b12db71e7: Pulling fs layer [2020-10-06T02:43:02.773Z] 6ca5941a6612: Pulling fs layer [2020-10-06T02:43:02.773Z] ecc8261a40a4: Pulling fs layer [2020-10-06T02:43:02.773Z] ecc8261a40a4: Waiting [2020-10-06T02:43:02.773Z] 2a8b12db71e7: Verifying Checksum [2020-10-06T02:43:02.773Z] 2a8b12db71e7: Download complete [2020-10-06T02:43:03.038Z] 31603596830f: Verifying Checksum [2020-10-06T02:43:03.038Z] 31603596830f: Download complete [2020-10-06T02:43:03.038Z] 6ca5941a6612: Download complete [2020-10-06T02:43:03.038Z] ecc8261a40a4: Verifying Checksum [2020-10-06T02:43:03.038Z] ecc8261a40a4: Download complete [2020-10-06T02:43:03.302Z] 31603596830f: Pull complete [2020-10-06T02:43:03.889Z] 2a8b12db71e7: Pull complete [2020-10-06T02:43:04.469Z] 6ca5941a6612: Pull complete [2020-10-06T02:43:04.730Z] ecc8261a40a4: Pull complete [2020-10-06T02:43:04.730Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-06T02:43:04.730Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T02:43:04.730Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-06T02:43:04.873Z] prd-centos7-docker-4c-2g-3583 does not seem to be running inside a container [2020-10-06T02:43:04.935Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-06T02:43:07.072Z] $ docker top af1ebeb54a21d6d3147f0e9363d08508f1b36025604c563f547789827a278fda -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-06T02:43:07.512Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-06T02:43:07.513Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-06T02:43:07.726Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-06T02:43:07.731Z] $ docker exec af1ebeb54a21d6d3147f0e9363d08508f1b36025604c563f547789827a278fda ssh-agent [2020-10-06T02:43:07.893Z] SSH_AUTH_SOCK=/tmp/ssh-17UoLjeMc2wn/agent.11 [2020-10-06T02:43:07.893Z] SSH_AGENT_PID=16 [2020-10-06T02:43:07.906Z] Running ssh-add (command line suppressed) [2020-10-06T02:43:08.023Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_3671602382718112.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_3671602382718112.key) [2020-10-06T02:43:08.075Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-06T02:43:08.420Z] + git describe --exact-match --tags HEAD [2020-10-06T02:43:08.420Z] fatal: no tag exactly matches '02e2254e3913a7a837b7d8237e7273c3339b1274' [Pipeline] } [2020-10-06T02:43:08.443Z] $ docker exec --env ******** --env ******** af1ebeb54a21d6d3147f0e9363d08508f1b36025604c563f547789827a278fda ssh-agent -k [2020-10-06T02:43:08.550Z] unset SSH_AUTH_SOCK; [2020-10-06T02:43:08.550Z] unset SSH_AGENT_PID; [2020-10-06T02:43:08.550Z] echo Agent pid 16 killed; [2020-10-06T02:43:08.591Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-06T02:43:08.681Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-06T02:43:08.682Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-06T02:43:08.783Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-06T02:43:08.783Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-06T02:43:08.948Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-06T02:43:08.952Z] $ docker exec af1ebeb54a21d6d3147f0e9363d08508f1b36025604c563f547789827a278fda ssh-agent [2020-10-06T02:43:09.113Z] SSH_AUTH_SOCK=/tmp/ssh-sNBbtMbigzMJ/agent.46 [2020-10-06T02:43:09.113Z] SSH_AGENT_PID=51 [2020-10-06T02:43:09.120Z] Running ssh-add (command line suppressed) [2020-10-06T02:43:09.245Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_7882464514035845441.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_7882464514035845441.key) [2020-10-06T02:43:09.296Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-06T02:43:09.628Z] + git semver init [2020-10-06T02:43:09.628Z] # -> Open(): unable to determine branch for HEAD [2020-10-06T02:43:09.628Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git [2020-10-06T02:43:09.628Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-10-06T02:43:09.628Z] # $SEMVER_REMOTE_NAME = origin [2020-10-06T02:43:09.628Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-06T02:43:09.628Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-06T02:43:09.628Z] # $SEMVER_BRANCH = PR-582 [2020-10-06T02:43:09.628Z] # $SEMVER_TEMP = /tmp/semver-703389949 [2020-10-06T02:43:09.628Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-06T02:43:12.184Z] # '/tmp/semver-703389949' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' [2020-10-06T02:43:12.184Z] # -> Force: false [2020-10-06T02:43:12.184Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } [2020-10-06T02:43:12.198Z] $ docker exec --env ******** --env ******** af1ebeb54a21d6d3147f0e9363d08508f1b36025604c563f547789827a278fda ssh-agent -k [2020-10-06T02:43:12.312Z] unset SSH_AUTH_SOCK; [2020-10-06T02:43:12.313Z] unset SSH_AGENT_PID; [2020-10-06T02:43:12.313Z] echo Agent pid 51 killed; [2020-10-06T02:43:12.359Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-06T02:43:12.854Z] + git semver [Pipeline] } [2020-10-06T02:43:12.871Z] $ docker stop --time=1 af1ebeb54a21d6d3147f0e9363d08508f1b36025604c563f547789827a278fda [2020-10-06T02:43:14.208Z] $ docker rm -f af1ebeb54a21d6d3147f0e9363d08508f1b36025604c563f547789827a278fda [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-06T02:43:15.077Z] Stashed 43 file(s) [Pipeline] echo [2020-10-06T02:43:15.081Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-06T02:43:15.187Z] 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-06T02:43:30.715Z] Still waiting to schedule task [2020-10-06T02:43:30.715Z] ‘prd-centos7-docker-4c-2g-3586’ is offline [2020-10-06T02:43:30.717Z] Still waiting to schedule task [2020-10-06T02:43:30.717Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-06T02:44:05.088Z] Running on prd-centos7-docker-4c-2g-3587 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws [2020-10-06T02:44:05.141Z] Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout [2020-10-06T02:44:07.649Z] using credential edgex-jenkins-ssh [2020-10-06T02:44:07.702Z] Cloning the remote Git repository [2020-10-06T02:44:07.728Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T02:44:07.794Z] > git init /w/workspace/device-sdk-go/16 # timeout=10 [2020-10-06T02:44:07.845Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T02:44:07.845Z] > git --version # timeout=10 [2020-10-06T02:44:07.850Z] > git --version # 'git version 2.16.5' [2020-10-06T02:44:07.851Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T02:44:07.877Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T02:44:08.562Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T02:44:08.569Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T02:44:08.582Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T02:44:08.596Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T02:44:08.597Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T02:44:08.601Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-06T02:44:08.977Z] Merging remotes/origin/master commit 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 into PR head commit 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 [2020-10-06T02:44:09.084Z] Merge succeeded, producing 36c81f362794639446691a155c57c308d906a20f [2020-10-06T02:44:09.084Z] Checking out Revision 36c81f362794639446691a155c57c308d906a20f (PR-582) [2020-10-06T02:44:08.987Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T02:44:08.992Z] > git checkout -f 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 # timeout=10 [2020-10-06T02:44:09.038Z] > git remote # timeout=10 [2020-10-06T02:44:09.044Z] > git config --get remote.origin.url # timeout=10 [2020-10-06T02:44:09.048Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T02:44:09.052Z] > git merge 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 # timeout=10 [2020-10-06T02:44:09.079Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-06T02:44:09.096Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T02:44:09.107Z] > git checkout -f 36c81f362794639446691a155c57c308d906a20f # timeout=10 [2020-10-06T02:44:12.708Z] Commit message: "Merge commit '7376f7b5b06e33bb8acc21cf64a8bee67a63ba67' into HEAD" [2020-10-06T02:44:12.713Z] > git rev-list --no-walk 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-06T02:44:13.607Z] ========================================================= [2020-10-06T02:44:13.607Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-06T02:44:13.607Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-06T02:44:14.342Z] + 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-06T02:44:14.923Z] Sending build context to Docker daemon 3.5MB [2020-10-06T02:44:14.924Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-06T02:44:14.924Z] Step 2/8 : FROM ${BASE} [2020-10-06T02:44:14.924Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-06T02:44:14.924Z] df20fa9351a1: Pulling fs layer [2020-10-06T02:44:14.924Z] ed8968b2872e: Pulling fs layer [2020-10-06T02:44:14.924Z] a92cc7c5fd73: Pulling fs layer [2020-10-06T02:44:14.924Z] e871e8e8d7a9: Pulling fs layer [2020-10-06T02:44:14.924Z] e73272ec9a57: Pulling fs layer [2020-10-06T02:44:14.924Z] 1e910a182e73: Pulling fs layer [2020-10-06T02:44:14.924Z] 4e634b169226: Pulling fs layer [2020-10-06T02:44:14.924Z] e871e8e8d7a9: Waiting [2020-10-06T02:44:14.924Z] e73272ec9a57: Waiting [2020-10-06T02:44:14.924Z] 1e910a182e73: Waiting [2020-10-06T02:44:14.924Z] 4e634b169226: Waiting [2020-10-06T02:44:14.924Z] a92cc7c5fd73: Verifying Checksum [2020-10-06T02:44:14.924Z] a92cc7c5fd73: Download complete [2020-10-06T02:44:15.186Z] ed8968b2872e: Download complete [2020-10-06T02:44:15.187Z] e73272ec9a57: Verifying Checksum [2020-10-06T02:44:15.187Z] e73272ec9a57: Download complete [2020-10-06T02:44:15.187Z] 1e910a182e73: Verifying Checksum [2020-10-06T02:44:15.187Z] 1e910a182e73: Download complete [2020-10-06T02:44:15.449Z] df20fa9351a1: Verifying Checksum [2020-10-06T02:44:15.449Z] df20fa9351a1: Download complete [2020-10-06T02:44:15.715Z] df20fa9351a1: Pull complete [2020-10-06T02:44:15.978Z] ed8968b2872e: Pull complete [2020-10-06T02:44:16.243Z] a92cc7c5fd73: Pull complete [2020-10-06T02:44:16.824Z] 4e634b169226: Verifying Checksum [2020-10-06T02:44:16.824Z] 4e634b169226: Download complete [2020-10-06T02:44:17.773Z] e871e8e8d7a9: Verifying Checksum [2020-10-06T02:44:17.774Z] e871e8e8d7a9: Download complete [2020-10-06T02:44:24.403Z] e871e8e8d7a9: Pull complete [2020-10-06T02:44:24.404Z] e73272ec9a57: Pull complete [2020-10-06T02:44:24.404Z] 1e910a182e73: Pull complete [2020-10-06T02:44:28.649Z] 4e634b169226: Pull complete [2020-10-06T02:44:28.649Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-06T02:44:28.649Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-06T02:44:28.649Z] ---> f7629b54cfaa [2020-10-06T02:44:28.649Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T02:44:28.649Z] ---> Running in c10ed6299509 [2020-10-06T02:44:28.649Z] Removing intermediate container c10ed6299509 [2020-10-06T02:44:28.649Z] ---> 00113eef6edf [2020-10-06T02:44:28.649Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T02:44:28.649Z] ---> Running in afbfa3169424 [2020-10-06T02:44:30.058Z] Removing intermediate container afbfa3169424 [2020-10-06T02:44:30.058Z] ---> 14e9c3ed882b [2020-10-06T02:44:30.058Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-06T02:44:30.058Z] ---> Running in 183799732fff [2020-10-06T02:44:30.322Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-06T02:44:31.276Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-06T02:44:32.225Z] OK: 166 MiB in 39 packages [2020-10-06T02:44:32.493Z] Removing intermediate container 183799732fff [2020-10-06T02:44:32.493Z] ---> 6d154ec459d2 [2020-10-06T02:44:32.493Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-06T02:44:32.493Z] ---> Running in d4a270e6d973 [2020-10-06T02:44:32.757Z] Removing intermediate container d4a270e6d973 [2020-10-06T02:44:32.757Z] ---> fd03562657cc [2020-10-06T02:44:32.757Z] Step 7/8 : COPY . . [2020-10-06T02:44:33.707Z] ---> 465495a011b8 [2020-10-06T02:44:33.707Z] Step 8/8 : RUN go mod download [2020-10-06T02:44:33.975Z] ---> Running in ddc590c232ad [2020-10-06T02:44:52.268Z] Removing intermediate container ddc590c232ad [2020-10-06T02:44:52.268Z] ---> bf5f30182e66 [2020-10-06T02:44:52.268Z] Successfully built bf5f30182e66 [2020-10-06T02:44:52.268Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T02:44:52.621Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-06T02:44:52.621Z] . [Pipeline] withDockerContainer [2020-10-06T02:44:52.731Z] prd-centos7-docker-4c-2g-3587 does not seem to be running inside a container [2020-10-06T02:44:52.782Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-06T02:44:53.500Z] $ docker top 6452075c6014e6f9b504f3ebb01e88ec943b85f3aab96e9f1bf0a8e6bc6974bf -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T02:44:54.270Z] + go version [2020-10-06T02:44:54.270Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-06T02:44:54.288Z] $ docker stop --time=1 6452075c6014e6f9b504f3ebb01e88ec943b85f3aab96e9f1bf0a8e6bc6974bf [2020-10-06T02:44:55.643Z] $ docker rm -f 6452075c6014e6f9b504f3ebb01e88ec943b85f3aab96e9f1bf0a8e6bc6974bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-06T02:44:56.429Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-06T02:44:56.429Z] . [Pipeline] withDockerContainer [2020-10-06T02:44:56.526Z] prd-centos7-docker-4c-2g-3587 does not seem to be running inside a container [2020-10-06T02:44:56.575Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-06T02:44:57.235Z] $ docker top 248c59b7f29fddfc4b628a22c0b0011a21998352dccbef31469732139904c6eb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T02:44:57.740Z] + make test [2020-10-06T02:44:57.740Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-06T02:45:04.390Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-06T02:45:19.395Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-06T02:45:19.395Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-06T02:45:19.395Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-06T02:45:19.395Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.076s coverage: 21.6% of statements [2020-10-06T02:45:19.977Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.450s coverage: 97.1% of statements [2020-10-06T02:45:44.406Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3588 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws [2020-10-06T02:45:44.458Z] Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout [2020-10-06T02:45:49.511Z] using credential edgex-jenkins-ssh [2020-10-06T02:45:49.562Z] Cloning the remote Git repository [2020-10-06T02:45:49.613Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T02:45:49.730Z] > git init /w/workspace/device-sdk-go/16 # timeout=10 [2020-10-06T02:45:49.809Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T02:45:49.810Z] > git --version # timeout=10 [2020-10-06T02:45:49.833Z] > git --version # 'git version 2.17.1' [2020-10-06T02:45:49.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T02:45:49.910Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T02:45:51.536Z] Merging remotes/origin/master commit 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 into PR head commit 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 [2020-10-06T02:45:51.838Z] Merge succeeded, producing d49017d13782bff3f8144389d9e248ad4a7cfc7d [2020-10-06T02:45:51.839Z] Checking out Revision d49017d13782bff3f8144389d9e248ad4a7cfc7d (PR-582) [2020-10-06T02:45:52.149Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.052s coverage: 9.4% of statements [2020-10-06T02:45:52.149Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.054s coverage: 21.9% of statements [2020-10-06T02:45:52.149Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-06T02:45:52.149Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.222s coverage: 39.9% of statements [2020-10-06T02:45:52.149Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-06T02:45:52.149Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.280s coverage: 65.4% of statements [2020-10-06T02:45:52.149Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-06T02:45:52.149Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-06T02:45:52.149Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-06T02:45:52.149Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-06T02:45:52.149Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.059s coverage: 52.6% of statements [2020-10-06T02:45:52.149Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-06T02:45:52.149Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.350s coverage: 68.9% of statements [2020-10-06T02:45:52.149Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-06T02:45:52.149Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-06T02:45:52.149Z] GO111MODULE=on go vet ./... [2020-10-06T02:45:50.983Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T02:45:50.997Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T02:45:51.027Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T02:45:51.064Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T02:45:51.065Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T02:45:51.076Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-06T02:45:51.559Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T02:45:51.577Z] > git checkout -f 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 # timeout=10 [2020-10-06T02:45:51.693Z] > git remote # timeout=10 [2020-10-06T02:45:51.710Z] > git config --get remote.origin.url # timeout=10 [2020-10-06T02:45:51.722Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T02:45:51.734Z] > git merge 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 # timeout=10 [2020-10-06T02:45:51.826Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-06T02:45:51.849Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T02:45:51.861Z] > git checkout -f d49017d13782bff3f8144389d9e248ad4a7cfc7d # timeout=10 [2020-10-06T02:45:56.343Z] Commit message: "Merge commit '7376f7b5b06e33bb8acc21cf64a8bee67a63ba67' into HEAD" [2020-10-06T02:45:56.355Z] > git rev-list --no-walk 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-06T02:45:57.629Z] ========================================================= [2020-10-06T02:45:57.629Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-06T02:45:57.629Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-06T02:45:58.790Z] + 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-06T02:45:58.833Z] gofmt -l . [2020-10-06T02:45:58.833Z] [ "`gofmt -l .`" = "" ] [2020-10-06T02:45:58.833Z] ./bin/test-attribution-txt.sh [2020-10-06T02:45:59.410Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-06T02:45:59.789Z] Sending build context to Docker daemon 3.502MB [2020-10-06T02:45:59.789Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-06T02:45:59.789Z] Step 2/8 : FROM ${BASE} [2020-10-06T02:45:59.997Z] Stashed 1 file(s) [Pipeline] } [2020-10-06T02:46:00.006Z] $ docker stop --time=1 248c59b7f29fddfc4b628a22c0b0011a21998352dccbef31469732139904c6eb [2020-10-06T02:46:00.064Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-06T02:46:00.064Z] b538f80385f9: Pulling fs layer [2020-10-06T02:46:00.064Z] 74f711af9a0d: Pulling fs layer [2020-10-06T02:46:00.064Z] 99f96fe45779: Pulling fs layer [2020-10-06T02:46:00.064Z] 8529a6b9a6be: Pulling fs layer [2020-10-06T02:46:00.064Z] 45590311c82a: Pulling fs layer [2020-10-06T02:46:00.064Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-06T02:46:00.064Z] 209524e5b208: Pulling fs layer [2020-10-06T02:46:00.064Z] 8529a6b9a6be: Waiting [2020-10-06T02:46:00.064Z] 69ca0ff8b7b3: Waiting [2020-10-06T02:46:00.064Z] 209524e5b208: Waiting [2020-10-06T02:46:00.064Z] 45590311c82a: Waiting [2020-10-06T02:46:00.064Z] 99f96fe45779: Verifying Checksum [2020-10-06T02:46:00.064Z] 99f96fe45779: Download complete [2020-10-06T02:46:00.064Z] 74f711af9a0d: Verifying Checksum [2020-10-06T02:46:00.064Z] 74f711af9a0d: Download complete [2020-10-06T02:46:00.064Z] 45590311c82a: Verifying Checksum [2020-10-06T02:46:00.064Z] 45590311c82a: Download complete [2020-10-06T02:46:00.064Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-06T02:46:00.064Z] 69ca0ff8b7b3: Download complete [2020-10-06T02:46:00.338Z] b538f80385f9: Verifying Checksum [2020-10-06T02:46:00.338Z] b538f80385f9: Download complete [2020-10-06T02:46:01.337Z] b538f80385f9: Pull complete [2020-10-06T02:46:01.618Z] 74f711af9a0d: Pull complete [2020-10-06T02:46:01.984Z] $ docker rm -f 248c59b7f29fddfc4b628a22c0b0011a21998352dccbef31469732139904c6eb [2020-10-06T02:46:02.222Z] 99f96fe45779: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-10-06T02:46:02.827Z] 209524e5b208: Verifying Checksum [2020-10-06T02:46:02.827Z] 209524e5b208: Download complete [Pipeline] sh [2020-10-06T02:46:03.536Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-06T02:46:03.811Z] 8529a6b9a6be: Verifying Checksum [2020-10-06T02:46:03.811Z] 8529a6b9a6be: Download complete [2020-10-06T02:46:03.834Z] + ls -al . [2020-10-06T02:46:03.834Z] total 192 [2020-10-06T02:46:03.834Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 6 02:45 . [2020-10-06T02:46:03.834Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 6 02:44 .. [2020-10-06T02:46:03.834Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 6 02:44 bin [2020-10-06T02:46:03.834Z] -rw-r--r--. 1 jenkins jenkins 111040 Oct 6 02:45 coverage.out [2020-10-06T02:46:03.834Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 6 02:44 Dockerfile.build [2020-10-06T02:46:03.834Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 6 02:44 .dockerignore [2020-10-06T02:46:03.834Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 6 02:44 example [2020-10-06T02:46:03.834Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 6 02:44 .git [2020-10-06T02:46:03.834Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 6 02:44 .github [2020-10-06T02:46:03.834Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 6 02:44 .gitignore [2020-10-06T02:46:03.834Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 6 02:45 go.mod [2020-10-06T02:46:03.834Z] -rw-r--r--. 1 jenkins jenkins 13731 Oct 6 02:45 go.sum [2020-10-06T02:46:03.834Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 6 02:44 internal [2020-10-06T02:46:03.834Z] -rw-rw-r--. 1 jenkins jenkins 785 Oct 6 02:44 Jenkinsfile [2020-10-06T02:46:03.834Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 6 02:44 LICENSE [2020-10-06T02:46:03.834Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 6 02:44 Makefile [2020-10-06T02:46:03.834Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 6 02:44 openapi [2020-10-06T02:46:03.834Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 6 02:44 pkg [2020-10-06T02:46:03.834Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 6 02:44 README.md [2020-10-06T02:46:03.834Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 6 02:44 RELEASE-NOTES.txt [2020-10-06T02:46:03.834Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 6 02:44 .semver [2020-10-06T02:46:03.834Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 6 02:44 snap [2020-10-06T02:46:03.834Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 6 02:43 VERSION [2020-10-06T02:46:03.834Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 6 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-06T02:46:04.138Z] + 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=02e2254e3913a7a837b7d8237e7273c3339b1274 --label arch=amd64 --label version=0.0.0 . [2020-10-06T02:46:04.401Z] Sending build context to Docker daemon 3.611MB [2020-10-06T02:46:04.401Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-06T02:46:04.401Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-06T02:46:04.401Z] ---> bf5f30182e66 [2020-10-06T02:46:04.401Z] Step 3/24 : ARG MAKE='make build' [2020-10-06T02:46:04.979Z] ---> Running in 155303687d6c [2020-10-06T02:46:05.252Z] Removing intermediate container 155303687d6c [2020-10-06T02:46:05.252Z] ---> a2c45a8516dc [2020-10-06T02:46:05.252Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-06T02:46:05.252Z] ---> Running in 1b89478500ea [2020-10-06T02:46:05.515Z] Removing intermediate container 1b89478500ea [2020-10-06T02:46:05.515Z] ---> 7c608f9657ee [2020-10-06T02:46:05.515Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T02:46:05.515Z] ---> Running in fa7eb224911b [2020-10-06T02:46:05.515Z] Removing intermediate container fa7eb224911b [2020-10-06T02:46:05.515Z] ---> 3517ef057f3f [2020-10-06T02:46:05.515Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T02:46:05.778Z] ---> Running in e428482b5990 [2020-10-06T02:46:06.354Z] Removing intermediate container e428482b5990 [2020-10-06T02:46:06.354Z] ---> 4654e75865f9 [2020-10-06T02:46:06.354Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-06T02:46:06.616Z] ---> Running in 5c28765316d4 [2020-10-06T02:46:07.192Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-06T02:46:07.767Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-06T02:46:08.711Z] OK: 166 MiB in 39 packages [2020-10-06T02:46:08.974Z] Removing intermediate container 5c28765316d4 [2020-10-06T02:46:08.974Z] ---> c790b18c0bb7 [2020-10-06T02:46:08.974Z] Step 8/24 : COPY . . [2020-10-06T02:46:10.372Z] ---> 9d39a667bb75 [2020-10-06T02:46:10.372Z] Step 9/24 : RUN ${MAKE} [2020-10-06T02:46:10.372Z] ---> Running in 009dfd53d8e9 [2020-10-06T02:46:10.637Z] 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-06T02:46:13.984Z] 8529a6b9a6be: Pull complete [2020-10-06T02:46:14.261Z] 45590311c82a: Pull complete [2020-10-06T02:46:14.536Z] 69ca0ff8b7b3: Pull complete [2020-10-06T02:46:18.865Z] 209524e5b208: Pull complete [2020-10-06T02:46:18.865Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-06T02:46:18.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-06T02:46:18.865Z] ---> 5bddaf1c2fca [2020-10-06T02:46:18.865Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T02:46:18.879Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-06T02:46:19.828Z] Removing intermediate container 009dfd53d8e9 [2020-10-06T02:46:19.828Z] ---> af1bb0921a70 [2020-10-06T02:46:19.828Z] Step 10/24 : FROM scratch [2020-10-06T02:46:19.828Z] ---> [2020-10-06T02:46:19.828Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T02:46:19.828Z] ---> Running in 04a99f1fb153 [2020-10-06T02:46:20.095Z] Removing intermediate container 04a99f1fb153 [2020-10-06T02:46:20.095Z] ---> 81cba822e799 [2020-10-06T02:46:20.095Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-06T02:46:20.095Z] ---> Running in e63ef5670560 [2020-10-06T02:46:20.357Z] Removing intermediate container e63ef5670560 [2020-10-06T02:46:20.357Z] ---> 338b0c08970b [2020-10-06T02:46:20.357Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-06T02:46:20.357Z] ---> Running in 4c79dbc1d8cd [2020-10-06T02:46:20.357Z] Removing intermediate container 4c79dbc1d8cd [2020-10-06T02:46:20.357Z] ---> 4bc2d0a49417 [2020-10-06T02:46:20.357Z] Step 14/24 : WORKDIR / [2020-10-06T02:46:20.619Z] ---> Running in 4ad6e4f7fa76 [2020-10-06T02:46:20.619Z] Removing intermediate container 4ad6e4f7fa76 [2020-10-06T02:46:20.619Z] ---> 1be2c118d8b4 [2020-10-06T02:46:20.619Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-06T02:46:20.867Z] ---> Running in c99668bf1d96 [2020-10-06T02:46:21.195Z] ---> e3715a0f21a3 [2020-10-06T02:46:21.195Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-06T02:46:21.457Z] ---> b83b773b90cc [2020-10-06T02:46:21.457Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-06T02:46:21.476Z] Removing intermediate container c99668bf1d96 [2020-10-06T02:46:21.476Z] ---> 9635ed4ecc08 [2020-10-06T02:46:21.476Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T02:46:21.476Z] ---> Running in 7f83a126e76a [2020-10-06T02:46:21.720Z] ---> bda46727fa41 [2020-10-06T02:46:21.720Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-06T02:46:21.720Z] ---> 028f02eafe01 [2020-10-06T02:46:21.720Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-06T02:46:21.983Z] ---> 2febf31bbdbd [2020-10-06T02:46:21.983Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-06T02:46:21.983Z] ---> Running in 4f8851d03d43 [2020-10-06T02:46:22.255Z] Removing intermediate container 4f8851d03d43 [2020-10-06T02:46:22.255Z] ---> d058a3d16bd3 [2020-10-06T02:46:22.255Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-06T02:46:22.255Z] ---> Running in fec77cc7f90c [2020-10-06T02:46:22.517Z] Removing intermediate container fec77cc7f90c [2020-10-06T02:46:22.517Z] ---> a1c998390686 [2020-10-06T02:46:22.517Z] Step 22/24 : LABEL arch=amd64 [2020-10-06T02:46:22.517Z] ---> Running in 2969158d77cc [2020-10-06T02:46:22.780Z] Removing intermediate container 2969158d77cc [2020-10-06T02:46:22.780Z] ---> 267902550a6d [2020-10-06T02:46:22.780Z] Step 23/24 : LABEL git_sha=02e2254e3913a7a837b7d8237e7273c3339b1274 [2020-10-06T02:46:22.780Z] ---> Running in 7aa504cc5786 [2020-10-06T02:46:23.043Z] Removing intermediate container 7aa504cc5786 [2020-10-06T02:46:23.043Z] ---> 9c0ae9bba872 [2020-10-06T02:46:23.043Z] Step 24/24 : LABEL version=0.0.0 [2020-10-06T02:46:23.307Z] ---> Running in ba36da919880 [2020-10-06T02:46:23.307Z] Removing intermediate container ba36da919880 [2020-10-06T02:46:23.307Z] ---> 4611811e9be5 [2020-10-06T02:46:23.307Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-06T02:46:23.307Z] Successfully built 4611811e9be5 [2020-10-06T02:46:23.307Z] 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] } [2020-10-06T02:46:24.113Z] Removing intermediate container 7f83a126e76a [2020-10-06T02:46:24.113Z] ---> 6b55fcecd666 [2020-10-06T02:46:24.113Z] Step 5/8 : RUN apk add --no-cache make git [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2020-10-06T02:46:24.390Z] ---> Running in 943758762f22 [Pipeline] // stage [Pipeline] } [2020-10-06T02:46:25.838Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-06T02:46:26.438Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-06T02:46:27.414Z] OK: 142 MiB in 39 packages [2020-10-06T02:46:28.406Z] Removing intermediate container 943758762f22 [2020-10-06T02:46:28.406Z] ---> 6fafacde058e [2020-10-06T02:46:28.406Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-06T02:46:28.406Z] ---> Running in a020997b318a [2020-10-06T02:46:29.005Z] Removing intermediate container a020997b318a [2020-10-06T02:46:29.005Z] ---> 6d4f4a320bd5 [2020-10-06T02:46:29.005Z] Step 7/8 : COPY . . [2020-10-06T02:46:30.446Z] ---> d0bbdf45c68e [2020-10-06T02:46:30.446Z] Step 8/8 : RUN go mod download [2020-10-06T02:46:30.446Z] ---> Running in 8619b259812e [2020-10-06T02:46:52.626Z] Removing intermediate container 8619b259812e [2020-10-06T02:46:52.626Z] ---> 3614c8f1cede [2020-10-06T02:46:52.626Z] Successfully built 3614c8f1cede [2020-10-06T02:46:52.626Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T02:46:53.042Z] + docker inspect -f . ci-base-image-arm64 [2020-10-06T02:46:53.042Z] . [Pipeline] withDockerContainer [2020-10-06T02:46:53.316Z] prd-ubuntu18.04-docker-arm64-4c-16g-3588 does not seem to be running inside a container [2020-10-06T02:46:53.405Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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 ******** ci-base-image-arm64 cat [2020-10-06T02:46:55.324Z] $ docker top aec4f556454db3b1908020303eda6cab42aead12a600e0c7ac0258c116a3107e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T02:46:56.749Z] + go version [2020-10-06T02:46:56.749Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-06T02:46:56.777Z] $ docker stop --time=1 aec4f556454db3b1908020303eda6cab42aead12a600e0c7ac0258c116a3107e [2020-10-06T02:46:58.696Z] $ docker rm -f aec4f556454db3b1908020303eda6cab42aead12a600e0c7ac0258c116a3107e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-06T02:46:59.714Z] + docker inspect -f . ci-base-image-arm64 [2020-10-06T02:46:59.714Z] . [Pipeline] withDockerContainer [2020-10-06T02:46:59.984Z] prd-ubuntu18.04-docker-arm64-4c-16g-3588 does not seem to be running inside a container [2020-10-06T02:47:00.070Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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 ******** ci-base-image-arm64 cat [2020-10-06T02:47:02.007Z] $ docker top ff9749184fde9c01fa7bafadb4d6cc1584dfdc8fad1c3d62996b15802025c29a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T02:47:03.391Z] + make test [2020-10-06T02:47:03.391Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-06T02:47:25.623Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-06T02:48:04.669Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-06T02:48:04.669Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-06T02:48:04.669Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-06T02:48:04.669Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.142s coverage: 21.6% of statements [2020-10-06T02:48:08.095Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.186s coverage: 97.1% of statements [2020-10-06T02:48:34.918Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.140s coverage: 9.4% of statements [2020-10-06T02:48:34.918Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.110s coverage: 21.9% of statements [2020-10-06T02:48:34.918Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-06T02:48:34.918Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.562s coverage: 39.9% of statements [2020-10-06T02:48:34.918Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-06T02:48:34.918Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.844s coverage: 65.4% of statements [2020-10-06T02:48:34.918Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-06T02:48:34.918Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-06T02:48:34.918Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-06T02:48:34.918Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-06T02:48:34.918Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.173s coverage: 52.6% of statements [2020-10-06T02:48:34.918Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-06T02:48:34.918Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.667s coverage: 68.9% of statements [2020-10-06T02:48:34.918Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-06T02:48:34.918Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-06T02:48:35.520Z] GO111MODULE=on go vet ./... [2020-10-06T02:49:07.931Z] gofmt -l . [2020-10-06T02:49:07.931Z] [ "`gofmt -l .`" = "" ] [2020-10-06T02:49:07.931Z] ./bin/test-attribution-txt.sh [2020-10-06T02:49:07.931Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-06T02:49:07.955Z] Warning: overwriting stash ‘coverage-report’ [2020-10-06T02:49:08.789Z] Stashed 1 file(s) [Pipeline] } [2020-10-06T02:49:08.805Z] $ docker stop --time=1 ff9749184fde9c01fa7bafadb4d6cc1584dfdc8fad1c3d62996b15802025c29a [2020-10-06T02:49:10.815Z] $ docker rm -f ff9749184fde9c01fa7bafadb4d6cc1584dfdc8fad1c3d62996b15802025c29a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-06T02:49:12.337Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-06T02:49:12.706Z] + ls -al . [2020-10-06T02:49:12.706Z] total 232 [2020-10-06T02:49:12.706Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 02:49 . [2020-10-06T02:49:12.706Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 02:45 .. [2020-10-06T02:49:12.706Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 6 02:45 .dockerignore [2020-10-06T02:49:12.706Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 02:45 .git [2020-10-06T02:49:12.706Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 02:45 .github [2020-10-06T02:49:12.706Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 6 02:45 .gitignore [2020-10-06T02:49:12.706Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 02:45 .semver [2020-10-06T02:49:12.706Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 6 02:45 Dockerfile.build [2020-10-06T02:49:12.706Z] -rw-rw-r-- 1 jenkins jenkins 785 Oct 6 02:45 Jenkinsfile [2020-10-06T02:49:12.706Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 6 02:45 LICENSE [2020-10-06T02:49:12.706Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 6 02:45 Makefile [2020-10-06T02:49:12.706Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 6 02:45 README.md [2020-10-06T02:49:12.706Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 6 02:45 RELEASE-NOTES.txt [2020-10-06T02:49:12.706Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 02:43 VERSION [2020-10-06T02:49:12.706Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 02:45 bin [2020-10-06T02:49:12.706Z] -rw-r--r-- 1 jenkins jenkins 111040 Oct 6 02:48 coverage.out [2020-10-06T02:49:12.706Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 02:45 example [2020-10-06T02:49:12.706Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 6 02:49 go.mod [2020-10-06T02:49:12.706Z] -rw-r--r-- 1 jenkins jenkins 13731 Oct 6 02:49 go.sum [2020-10-06T02:49:12.706Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 6 02:45 internal [2020-10-06T02:49:12.706Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 02:45 openapi [2020-10-06T02:49:12.706Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 6 02:45 pkg [2020-10-06T02:49:12.706Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 02:45 snap [2020-10-06T02:49:12.706Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 6 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-06T02:49:13.129Z] + 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=02e2254e3913a7a837b7d8237e7273c3339b1274 --label arch=arm64 --label version=0.0.0 . [2020-10-06T02:49:13.749Z] Sending build context to Docker daemon 3.613MB [2020-10-06T02:49:13.749Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-06T02:49:13.749Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-06T02:49:13.749Z] ---> 3614c8f1cede [2020-10-06T02:49:13.749Z] Step 3/24 : ARG MAKE='make build' [2020-10-06T02:49:14.027Z] ---> Running in 8c25f5824bcf [2020-10-06T02:49:14.625Z] Removing intermediate container 8c25f5824bcf [2020-10-06T02:49:14.625Z] ---> 1981c3c7b0da [2020-10-06T02:49:14.625Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-06T02:49:14.625Z] ---> Running in bfa9d160a30c [2020-10-06T02:49:15.225Z] Removing intermediate container bfa9d160a30c [2020-10-06T02:49:15.225Z] ---> 4f9f27dd4868 [2020-10-06T02:49:15.225Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T02:49:15.225Z] ---> Running in 3ede83b6b16b [2020-10-06T02:49:15.822Z] Removing intermediate container 3ede83b6b16b [2020-10-06T02:49:15.822Z] ---> 8be1d6ff85b2 [2020-10-06T02:49:15.822Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T02:49:15.822Z] ---> Running in 3840792807ba [2020-10-06T02:49:18.446Z] Removing intermediate container 3840792807ba [2020-10-06T02:49:18.446Z] ---> 7714dfafdbca [2020-10-06T02:49:18.446Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-06T02:49:18.446Z] ---> Running in f62c94939bc1 [2020-10-06T02:49:19.882Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-06T02:49:20.478Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-06T02:49:21.455Z] OK: 142 MiB in 39 packages [2020-10-06T02:49:22.431Z] Removing intermediate container f62c94939bc1 [2020-10-06T02:49:22.431Z] ---> 30da1af745a2 [2020-10-06T02:49:22.431Z] Step 8/24 : COPY . . [2020-10-06T02:49:23.864Z] ---> b0e68beb33cb [2020-10-06T02:49:23.864Z] Step 9/24 : RUN ${MAKE} [2020-10-06T02:49:23.864Z] ---> Running in b2138977ee34 [2020-10-06T02:49:25.295Z] 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-06T02:49:52.137Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-06T02:49:52.137Z] Removing intermediate container b2138977ee34 [2020-10-06T02:49:52.137Z] ---> eb736cbf1dbd [2020-10-06T02:49:52.137Z] Step 10/24 : FROM scratch [2020-10-06T02:49:52.137Z] ---> [2020-10-06T02:49:52.137Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T02:49:52.137Z] ---> Running in 44ba7df07e38 [2020-10-06T02:49:52.137Z] Removing intermediate container 44ba7df07e38 [2020-10-06T02:49:52.137Z] ---> 4ec2c2320b14 [2020-10-06T02:49:52.137Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-06T02:49:52.137Z] ---> Running in 8e159e1676fb [2020-10-06T02:49:52.409Z] Removing intermediate container 8e159e1676fb [2020-10-06T02:49:52.409Z] ---> 088840217bfb [2020-10-06T02:49:52.409Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-06T02:49:52.682Z] ---> Running in 8c654d97da67 [2020-10-06T02:49:52.961Z] Removing intermediate container 8c654d97da67 [2020-10-06T02:49:52.961Z] ---> ee67e031cc53 [2020-10-06T02:49:52.961Z] Step 14/24 : WORKDIR / [2020-10-06T02:49:53.236Z] ---> Running in 9b2709b10f1a [2020-10-06T02:49:53.509Z] Removing intermediate container 9b2709b10f1a [2020-10-06T02:49:53.509Z] ---> 883c15509ba7 [2020-10-06T02:49:53.509Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-06T02:49:54.944Z] ---> f8d233e7b6fc [2020-10-06T02:49:54.944Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-06T02:49:55.538Z] ---> 45e6b4984c65 [2020-10-06T02:49:55.538Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-06T02:49:56.135Z] ---> 66a856207c0e [2020-10-06T02:49:56.135Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-06T02:49:57.111Z] ---> 560bcc5be51f [2020-10-06T02:49:57.111Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-06T02:49:57.705Z] ---> 362a25ea1bf3 [2020-10-06T02:49:57.705Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-06T02:49:57.705Z] ---> Running in 0203f7ad367b [2020-10-06T02:49:58.303Z] Removing intermediate container 0203f7ad367b [2020-10-06T02:49:58.303Z] ---> ae351309fa40 [2020-10-06T02:49:58.303Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-06T02:49:58.303Z] ---> Running in 737c9cb87590 [2020-10-06T02:49:58.903Z] Removing intermediate container 737c9cb87590 [2020-10-06T02:49:58.903Z] ---> 35d21d5bf80e [2020-10-06T02:49:58.903Z] Step 22/24 : LABEL arch=arm64 [2020-10-06T02:49:58.903Z] ---> Running in c415169d3f0c [2020-10-06T02:49:59.498Z] Removing intermediate container c415169d3f0c [2020-10-06T02:49:59.498Z] ---> 7674c66d1261 [2020-10-06T02:49:59.498Z] Step 23/24 : LABEL git_sha=02e2254e3913a7a837b7d8237e7273c3339b1274 [2020-10-06T02:49:59.498Z] ---> Running in 8e2535b6b211 [2020-10-06T02:49:59.775Z] Removing intermediate container 8e2535b6b211 [2020-10-06T02:49:59.775Z] ---> a7bd7349bba1 [2020-10-06T02:49:59.775Z] Step 24/24 : LABEL version=0.0.0 [2020-10-06T02:50:00.053Z] ---> Running in 881ded95406e [2020-10-06T02:50:00.650Z] Removing intermediate container 881ded95406e [2020-10-06T02:50:00.650Z] ---> 16c8d82ae84e [2020-10-06T02:50:00.650Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-06T02:50:00.650Z] Successfully built 16c8d82ae84e [2020-10-06T02:50:00.650Z] 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-06T02:50:02.642Z] provisioning config files... [2020-10-06T02:50:02.654Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config246710731728690081tmp [Pipeline] { [Pipeline] sh [2020-10-06T02:50:03.028Z] + set +x [2020-10-06T02:50:03.028Z] + curl -s https://codecov.io/bash [2020-10-06T02:50:03.028Z] + bash -s -- [2020-10-06T02:50:03.290Z] [2020-10-06T02:50:03.290Z] _____ _ [2020-10-06T02:50:03.290Z] / ____| | | [2020-10-06T02:50:03.290Z] | | ___ __| | ___ ___ _____ __ [2020-10-06T02:50:03.290Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-06T02:50:03.290Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-06T02:50:03.290Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-06T02:50:03.290Z] Bash-20200917-4e8f14b [2020-10-06T02:50:03.290Z] [2020-10-06T02:50:03.290Z] [2020-10-06T02:50:03.290Z] ==> Jenkins CI detected. [2020-10-06T02:50:03.290Z] project root: . [2020-10-06T02:50:03.290Z] Fixing merge commit SHA [2020-10-06T02:50:03.290Z] --> token set from env [2020-10-06T02:50:03.290Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-06T02:50:03.290Z] ==> Running gcov in . (disable via -X gcov) [2020-10-06T02:50:03.290Z] ==> Python coveragepy not found [2020-10-06T02:50:03.290Z] ==> Searching for coverage reports in: [2020-10-06T02:50:03.290Z] + . [2020-10-06T02:50:03.290Z] -> Found 1 reports [2020-10-06T02:50:03.290Z] ==> Detecting git/mercurial file structure [2020-10-06T02:50:03.290Z] ==> Reading reports [2020-10-06T02:50:03.290Z] + ./coverage.out bytes=111040 [2020-10-06T02:50:03.290Z] ==> Appending adjustments [2020-10-06T02:50:03.290Z] https://docs.codecov.io/docs/fixing-reports [2020-10-06T02:50:03.554Z] + Found adjustments [2020-10-06T02:50:03.817Z] ==> Gzipping contents [2020-10-06T02:50:03.817Z] ==> Uploading reports [2020-10-06T02:50:03.817Z] url: https://codecov.io [2020-10-06T02:50:03.817Z] query: branch=PR-582&commit=7376f7b5b06e33bb8acc21cf64a8bee67a63ba67&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= [2020-10-06T02:50:03.817Z] -> Pinging Codecov [2020-10-06T02:50:03.817Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-582&commit=7376f7b5b06e33bb8acc21cf64a8bee67a63ba67&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= [2020-10-06T02:50:09.132Z] -> Uploading to [2020-10-06T02:50:09.132Z] https://storage.googleapis.com/codecov/v4/raw/2020-10-06/7E55EF52A471D76F132DFD9A03CDDE97/7376f7b5b06e33bb8acc21cf64a8bee67a63ba67/8d06edd2-5b56-453e-b910-c589a2c13b42.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201006T025008Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1a06491149704f98bbdcda3520c887373ac354666f82df3361c9c36683d32bc7 [2020-10-06T02:50:09.132Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-06T02:50:09.132Z] Dload Upload Total Spent Left Speed [2020-10-06T02:50:09.132Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18323 0 0 100 18323 0 47854 --:--:-- --:--:-- --:--:-- 47965 [2020-10-06T02:50:09.132Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 [Pipeline] } [2020-10-06T02:50:09.141Z] 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-06T02:50:12.086Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T02:50:12.650Z] ---> package-listing.sh [2020-10-06T02:50:12.650Z] ++ facter osfamily [2020-10-06T02:50:12.650Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-06T02:50:12.650Z] + OS_FAMILY=redhat [2020-10-06T02:50:12.650Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-10-06T02:50:12.650Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-06T02:50:12.650Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-06T02:50:12.650Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-06T02:50:12.650Z] + PACKAGES=/tmp/packages_start.txt [2020-10-06T02:50:12.650Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-10-06T02:50:12.650Z] + PACKAGES=/tmp/packages_end.txt [2020-10-06T02:50:12.650Z] + case "${OS_FAMILY}" in [2020-10-06T02:50:12.650Z] + rpm -qa [2020-10-06T02:50:12.650Z] + sort [2020-10-06T02:50:16.870Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-06T02:50:16.870Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-06T02:50:16.870Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-06T02:50:16.870Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-10-06T02:50:16.870Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [2020-10-06T02:50:16.870Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-06T02:50:17.069Z] provisioning config files... [2020-10-06T02:50:17.086Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config5734599575748354762tmp [Pipeline] { [Pipeline] echo [2020-10-06T02:50:17.167Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T02:50:17.474Z] ---> create-netrc.sh [Pipeline] } [2020-10-06T02:50:17.484Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-06T02:50:17.667Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T02:50:17.965Z] ---> python-tools-install.sh [2020-10-06T02:50:17.965Z] Generating Requirements File [2020-10-06T02:51:25.781Z] Python 3.6.8 [2020-10-06T02:51:25.781Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-06T02:51:25.781Z] appdirs==1.4.3 [2020-10-06T02:51:25.781Z] argcomplete==1.12.1 [2020-10-06T02:51:25.781Z] aspy.yaml==1.3.0 [2020-10-06T02:51:25.781Z] attrs==19.3.0 [2020-10-06T02:51:25.781Z] Babel==2.8.0 [2020-10-06T02:51:25.781Z] beautifulsoup4==4.8.2 [2020-10-06T02:51:25.781Z] boto3==1.11.6 [2020-10-06T02:51:25.781Z] botocore==1.14.6 [2020-10-06T02:51:25.781Z] bs4==0.0.1 [2020-10-06T02:51:25.781Z] cachetools==4.1.1 [2020-10-06T02:51:25.781Z] certifi==2019.11.28 [2020-10-06T02:51:25.781Z] cffi==1.14.3 [2020-10-06T02:51:25.781Z] cfgv==2.0.1 [2020-10-06T02:51:25.781Z] chardet==3.0.4 [2020-10-06T02:51:25.781Z] click==7.1 [2020-10-06T02:51:25.781Z] cliff==3.4.0 [2020-10-06T02:51:25.781Z] cmd2==1.3.11 [2020-10-06T02:51:25.781Z] colorama==0.4.3 [2020-10-06T02:51:25.781Z] cryptography==3.1.1 [2020-10-06T02:51:25.781Z] debtcollector==2.2.0 [2020-10-06T02:51:25.781Z] decorator==4.4.2 [2020-10-06T02:51:25.781Z] defusedxml==0.6.0 [2020-10-06T02:51:25.781Z] Deprecated==1.2.7 [2020-10-06T02:51:25.781Z] distlib==0.3.1 [2020-10-06T02:51:25.781Z] distro==1.2.0 [2020-10-06T02:51:25.781Z] dnspython==1.16.0 [2020-10-06T02:51:25.781Z] docker==4.2.0 [2020-10-06T02:51:25.781Z] docutils==0.15.2 [2020-10-06T02:51:25.781Z] dogpile.cache==1.0.2 [2020-10-06T02:51:25.781Z] email-validator==1.0.5 [2020-10-06T02:51:25.781Z] filelock==3.0.12 [2020-10-06T02:51:25.781Z] future==0.18.2 [2020-10-06T02:51:25.781Z] google-auth==1.22.1 [2020-10-06T02:51:25.781Z] httplib2==0.17.0 [2020-10-06T02:51:25.781Z] identify==1.4.11 [2020-10-06T02:51:25.781Z] idna==2.9 [2020-10-06T02:51:25.781Z] importlib-metadata==1.7.0 [2020-10-06T02:51:25.781Z] importlib-resources==1.5.0 [2020-10-06T02:51:25.781Z] iso8601==0.1.13 [2020-10-06T02:51:25.781Z] Jinja2==2.11.1 [2020-10-06T02:51:25.781Z] jmespath==0.10.0 [2020-10-06T02:51:25.781Z] jsonpatch==1.26 [2020-10-06T02:51:25.781Z] jsonpointer==2.0 [2020-10-06T02:51:25.781Z] jsonschema==3.2.0 [2020-10-06T02:51:25.781Z] keystoneauth1==4.2.1 [2020-10-06T02:51:25.781Z] kubernetes==11.0.0 [2020-10-06T02:51:25.781Z] lftools==0.34.2 [2020-10-06T02:51:25.781Z] lxml==4.5.0 [2020-10-06T02:51:25.781Z] MarkupSafe==0.23 [2020-10-06T02:51:25.781Z] msgpack==1.0.0 [2020-10-06T02:51:25.781Z] multi-key-dict==2.0.3 [2020-10-06T02:51:25.781Z] munch==2.5.0 [2020-10-06T02:51:25.781Z] netaddr==0.8.0 [2020-10-06T02:51:25.781Z] netifaces==0.10.9 [2020-10-06T02:51:25.781Z] niet==1.4.2 [2020-10-06T02:51:25.781Z] nodeenv==1.3.5 [2020-10-06T02:51:25.781Z] oauth2client==4.1.3 [2020-10-06T02:51:25.781Z] oauthlib==3.1.0 [2020-10-06T02:51:25.781Z] openstacksdk==0.50.0 [2020-10-06T02:51:25.781Z] os-client-config==2.1.0 [2020-10-06T02:51:25.781Z] os-service-types==1.7.0 [2020-10-06T02:51:25.781Z] osc-lib==2.2.1 [2020-10-06T02:51:25.781Z] oslo.config==8.3.2 [2020-10-06T02:51:25.781Z] oslo.context==3.1.1 [2020-10-06T02:51:25.781Z] oslo.i18n==5.0.1 [2020-10-06T02:51:25.781Z] oslo.log==4.4.0 [2020-10-06T02:51:25.781Z] oslo.serialization==4.0.1 [2020-10-06T02:51:25.781Z] oslo.utils==4.6.0 [2020-10-06T02:51:25.781Z] packaging==20.4 [2020-10-06T02:51:25.781Z] pbr==5.4.4 [2020-10-06T02:51:25.781Z] pluggy==0.13.1 [2020-10-06T02:51:25.781Z] prettytable==0.7.2 [2020-10-06T02:51:25.781Z] py==1.9.0 [2020-10-06T02:51:25.781Z] pyasn1==0.4.8 [2020-10-06T02:51:25.781Z] pyasn1-modules==0.2.8 [2020-10-06T02:51:25.781Z] pycparser==2.20 [2020-10-06T02:51:25.781Z] pygerrit2==2.0.10 [2020-10-06T02:51:25.781Z] PyGithub==1.46 [2020-10-06T02:51:25.781Z] pyinotify==0.9.6 [2020-10-06T02:51:25.781Z] PyJWT==1.7.1 [2020-10-06T02:51:25.781Z] pyparsing==2.4.7 [2020-10-06T02:51:25.781Z] pyperclip==1.8.0 [2020-10-06T02:51:25.781Z] pyroute2==0.4.13 [2020-10-06T02:51:25.781Z] pyrsistent==0.15.7 [2020-10-06T02:51:25.781Z] PySocks==1.6.8 [2020-10-06T02:51:25.781Z] python-cinderclient==7.2.0 [2020-10-06T02:51:25.781Z] python-dateutil==2.8.1 [2020-10-06T02:51:25.781Z] python-heatclient==2.2.1 [2020-10-06T02:51:25.781Z] python-jenkins==1.7.0 [2020-10-06T02:51:25.781Z] python-keystoneclient==4.1.1 [2020-10-06T02:51:25.781Z] python-magnumclient==3.2.1 [2020-10-06T02:51:25.781Z] python-novaclient==17.2.1 [2020-10-06T02:51:25.781Z] python-openstackclient==5.4.0 [2020-10-06T02:51:25.781Z] python-swiftclient==3.10.1 [2020-10-06T02:51:25.781Z] pytz==2020.1 [2020-10-06T02:51:25.781Z] PyYAML==5.3 [2020-10-06T02:51:25.781Z] requests==2.23.0 [2020-10-06T02:51:25.781Z] requests-oauthlib==1.3.0 [2020-10-06T02:51:25.781Z] requestsexceptions==1.4.0 [2020-10-06T02:51:25.781Z] rfc3986==1.4.0 [2020-10-06T02:51:25.781Z] rpm==4.11.3 [2020-10-06T02:51:25.781Z] rsa==4.0 [2020-10-06T02:51:25.781Z] ruamel.yaml==0.16.10 [2020-10-06T02:51:25.781Z] ruamel.yaml.clib==0.2.0 [2020-10-06T02:51:25.781Z] s3transfer==0.3.3 [2020-10-06T02:51:25.781Z] shade==1.27.2 [2020-10-06T02:51:25.781Z] simplejson==3.17.2 [2020-10-06T02:51:25.781Z] six==1.14.0 [2020-10-06T02:51:25.781Z] soupsieve==2.0 [2020-10-06T02:51:25.781Z] stevedore==3.2.2 [2020-10-06T02:51:25.781Z] tabulate==0.8.6 [2020-10-06T02:51:25.781Z] toml==0.10.0 [2020-10-06T02:51:25.781Z] tox==3.20.0 [2020-10-06T02:51:25.781Z] tqdm==4.43.0 [2020-10-06T02:51:25.781Z] urllib3==1.25.8 [2020-10-06T02:51:25.781Z] virtualenv==20.0.33 [2020-10-06T02:51:25.781Z] wcwidth==0.2.5 [2020-10-06T02:51:25.781Z] websocket-client==0.57.0 [2020-10-06T02:51:25.781Z] wrapt==1.12.1 [2020-10-06T02:51:25.781Z] xdg==3.0.2 [2020-10-06T02:51:25.781Z] xmltodict==0.12.0 [2020-10-06T02:51:25.781Z] yq==2.11.1 [2020-10-06T02:51:25.781Z] zipp==3.3.0 [2020-10-06T02:51:26.729Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:51:28.671Z] 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-06T02:51:31.996Z] Python 2.7.5 [2020-10-06T02:51:31.996Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-06T02:51:31.996Z] 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-06T02:51:32.258Z] ansible==2.9.7 [2020-10-06T02:51:32.258Z] Babel==0.9.6 [2020-10-06T02:51:32.258Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-06T02:51:32.258Z] beautifulsoup4==4.4.1 [2020-10-06T02:51:32.258Z] bodhi==2.11.0 [2020-10-06T02:51:32.258Z] bodhi-client==2.11.0 [2020-10-06T02:51:32.258Z] CCColUtils==1.4 [2020-10-06T02:51:32.258Z] cffi==1.6.0 [2020-10-06T02:51:32.258Z] chardet==2.2.1 [2020-10-06T02:51:32.258Z] click==6.7 [2020-10-06T02:51:32.258Z] cloud-init==18.5 [2020-10-06T02:51:32.258Z] configobj==4.7.2 [2020-10-06T02:51:32.258Z] cryptography==1.7.2 [2020-10-06T02:51:32.258Z] decorator==3.4.0 [2020-10-06T02:51:32.258Z] distro==1.2.0 [2020-10-06T02:51:32.258Z] enum34==1.0.4 [2020-10-06T02:51:32.258Z] fedpkg==1.38 [2020-10-06T02:51:32.258Z] futures==3.1.1 [2020-10-06T02:51:32.258Z] gitdb==0.6.4 [2020-10-06T02:51:32.258Z] GitPython==1.0.1 [2020-10-06T02:51:32.258Z] html5lib==0.999 [2020-10-06T02:51:32.258Z] httplib2==0.9.2 [2020-10-06T02:51:32.258Z] idna==2.4 [2020-10-06T02:51:32.258Z] iniparse==0.4 [2020-10-06T02:51:32.258Z] ipaddress==1.0.16 [2020-10-06T02:51:32.258Z] IPy==0.75 [2020-10-06T02:51:32.258Z] javapackages==1.0.0 [2020-10-06T02:51:32.258Z] Jinja2==2.7.2 [2020-10-06T02:51:32.258Z] jmespath==0.9.4 [2020-10-06T02:51:32.258Z] jsonpatch==1.2 [2020-10-06T02:51:32.258Z] jsonpointer==1.9 [2020-10-06T02:51:32.258Z] kerberos==1.1 [2020-10-06T02:51:32.258Z] kitchen==1.1.1 [2020-10-06T02:51:32.258Z] langtable==0.0.31 [2020-10-06T02:51:32.258Z] lockfile==0.9.1 [2020-10-06T02:51:32.258Z] lxml==3.2.1 [2020-10-06T02:51:32.258Z] MarkupSafe==0.11 [2020-10-06T02:51:32.258Z] munch==2.0.2 [2020-10-06T02:51:32.258Z] offtrac==0.1.0 [2020-10-06T02:51:32.258Z] openidc-client==0.6.0 [2020-10-06T02:51:32.258Z] packagedb-cli==2.14.1 [2020-10-06T02:51:32.258Z] paramiko==2.1.1 [2020-10-06T02:51:32.258Z] perf==0.1 [2020-10-06T02:51:32.258Z] ply==3.4 [2020-10-06T02:51:32.258Z] policycoreutils-default-encoding==0.1 [2020-10-06T02:51:32.258Z] prettytable==0.7.2 [2020-10-06T02:51:32.258Z] pyasn1==0.1.9 [2020-10-06T02:51:32.258Z] pycparser==2.14 [2020-10-06T02:51:32.258Z] pycurl==7.19.0 [2020-10-06T02:51:32.258Z] pygobject==3.22.0 [2020-10-06T02:51:32.258Z] pygpgme==0.3 [2020-10-06T02:51:32.258Z] pyliblzma==0.5.3 [2020-10-06T02:51:32.258Z] pyOpenSSL==0.13.1 [2020-10-06T02:51:32.258Z] pyparsing==1.5.6 [2020-10-06T02:51:32.258Z] pyserial==2.6 [2020-10-06T02:51:32.258Z] python-augeas==0.5.0 [2020-10-06T02:51:32.258Z] python-bugzilla==2.3.0 [2020-10-06T02:51:32.258Z] python-dateutil==1.5 [2020-10-06T02:51:32.258Z] python-fedora==0.10.0 [2020-10-06T02:51:32.258Z] python-linux-procfs==0.4.9 [2020-10-06T02:51:32.258Z] python-yubico==1.2.3 [2020-10-06T02:51:32.258Z] pyudev==0.15 [2020-10-06T02:51:32.258Z] pyusb==1.0.0b1 [2020-10-06T02:51:32.258Z] pyxattr==0.5.1 [2020-10-06T02:51:32.258Z] PyYAML==3.10 [2020-10-06T02:51:32.258Z] requests==2.6.0 [2020-10-06T02:51:32.258Z] requests-kerberos==0.7.0 [2020-10-06T02:51:32.258Z] rpkg==1.60 [2020-10-06T02:51:32.258Z] schedutils==0.4 [2020-10-06T02:51:32.258Z] seobject==0.1 [2020-10-06T02:51:32.258Z] sepolicy==1.1 [2020-10-06T02:51:32.258Z] six==1.9.0 [2020-10-06T02:51:32.258Z] smmap==0.9.0 [2020-10-06T02:51:32.258Z] urlgrabber==3.10 [2020-10-06T02:51:32.258Z] urllib3==1.10.2 [2020-10-06T02:51:32.258Z] virtualenv==15.1.0 [2020-10-06T02:51:32.258Z] yum-langpacks==0.4.2 [2020-10-06T02:51:32.258Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-06T02:51:32.269Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T02:51:32.569Z] ---> sudo-logs.sh [2020-10-06T02:51:32.569Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-06T02:51:32.845Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T02:51:33.146Z] ---> job-cost.sh [2020-10-06T02:51:33.146Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-FV9D [2020-10-06T02:51:43.154Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:51:43.154Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:51:43.725Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:51:43.985Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:51:43.985Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:51:44.247Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:51:44.247Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:51:44.247Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:51:44.518Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:51:44.518Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:51:44.780Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:51:44.780Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:51:50.085Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-06T02:52:16.697Z] lf-activate-venv(): INFO: Adding /tmp/venv-FV9D/bin to PATH [2020-10-06T02:52:16.697Z] INFO: No Stack... [2020-10-06T02:52:16.697Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-06T02:52:18.088Z] INFO: Archiving Costs [Pipeline] echo [2020-10-06T02:52:18.104Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T02:52:18.406Z] ---> logs-deploy.sh [2020-10-06T02:52:18.406Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/16 [2020-10-06T02:52:18.406Z] INFO: archiving workspace using pattern(s): [2020-10-06T02:52:19.800Z] Archives upload complete. [2020-10-06T02:52:20.062Z] INFO: archiving logs to Nexus