Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9984e951603057bc4bd5f96414a7be81c566c977+7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 (c74b6f097b888942c56c43b8a68671322f2c324c) 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-3582 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [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-584 # 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 9984e951603057bc4bd5f96414a7be81c566c977 Merge succeeded, producing 68605fd35c412c9b43cfded5eb7574eb4aec4b8b Checking out Revision 68605fd35c412c9b43cfded5eb7574eb4aec4b8b (PR-584) > 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/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9984e951603057bc4bd5f96414a7be81c566c977 # 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 68605fd35c412c9b43cfded5eb7574eb4aec4b8b # timeout=10 Commit message: "Merge commit '7376f7b5b06e33bb8acc21cf64a8bee67a63ba67' into HEAD" > git rev-list --no-walk 9984e951603057bc4bd5f96414a7be81c566c977 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-06T02:41:51.422Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-06T02:41:51.709Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-06T02:41:51.813Z] ========================================================= [2020-10-06T02:41:51.813Z] EdgeX Global Pipelines Version Info [2020-10-06T02:41:51.813Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-06T02:41:53.322Z] ------------------- [2020-10-06T02:41:53.322Z] stable info: [2020-10-06T02:41:53.322Z] ------------------- [2020-10-06T02:41:53.322Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-06T02:41:53.322Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-06T02:41:53.322Z] Message: update stable to v1.0.131 [2020-10-06T02:41:54.269Z] ------------------- [2020-10-06T02:41:54.269Z] experimental info: [2020-10-06T02:41:54.269Z] ------------------- [2020-10-06T02:41:54.269Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-06T02:41:54.269Z] Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a [2020-10-06T02:41:54.269Z] Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-06T02:41:54.609Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-06T02:41:54.695Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-06T02:41:54.793Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-06T02:41:54.884Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-06T02:41:55.001Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-06T02:41:55.121Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-06T02:41:55.250Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-06T02:41:55.365Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-06T02:41:55.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-06T02:41:55.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-06T02:41:55.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-06T02:41:55.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-06T02:41:56.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-06T02:41:56.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-06T02:41:56.280Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-06T02:41:56.399Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T02:41:56.516Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T02:41:56.636Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T02:41:56.764Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-06T02:41:56.876Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-06T02:41:57.032Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-06T02:41:57.114Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-06T02:41:57.211Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-06T02:41:57.296Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-06T02:41:57.381Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-06T02:41:57.465Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo [2020-10-06T02:41:57.546Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo [2020-10-06T02:41:57.634Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo [2020-10-06T02:41:57.719Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 68605fd35c412c9b43cfded5eb7574eb4aec4b8b [Pipeline] echo [2020-10-06T02:41:57.803Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 68605fd [Pipeline] echo [2020-10-06T02:41:57.904Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-06T02:41:58.521Z] + git log --format=format:%s -1 68605fd35c412c9b43cfded5eb7574eb4aec4b8b [Pipeline] echo [2020-10-06T02:41:58.581Z] GIT_COMMIT: 68605fd35c412c9b43cfded5eb7574eb4aec4b8b, Commit Message: Merge commit '7376f7b5b06e33bb8acc21cf64a8bee67a63ba67' into HEAD [Pipeline] echo [2020-10-06T02:41:58.650Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-06T02:41:59.471Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T02:42:00.875Z] [2020-10-06T02:42:00.875Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T02:42:01.241Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T02:42:01.241Z] latest: Pulling from edgex-devops/git-semver [2020-10-06T02:42:01.241Z] 31603596830f: Pulling fs layer [2020-10-06T02:42:01.241Z] 2a8b12db71e7: Pulling fs layer [2020-10-06T02:42:01.241Z] 6ca5941a6612: Pulling fs layer [2020-10-06T02:42:01.241Z] ecc8261a40a4: Pulling fs layer [2020-10-06T02:42:01.241Z] ecc8261a40a4: Waiting [2020-10-06T02:42:01.241Z] 2a8b12db71e7: Verifying Checksum [2020-10-06T02:42:01.241Z] 2a8b12db71e7: Download complete [2020-10-06T02:42:01.507Z] 31603596830f: Verifying Checksum [2020-10-06T02:42:01.508Z] 31603596830f: Download complete [2020-10-06T02:42:01.508Z] ecc8261a40a4: Verifying Checksum [2020-10-06T02:42:01.508Z] ecc8261a40a4: Download complete [2020-10-06T02:42:01.772Z] 6ca5941a6612: Verifying Checksum [2020-10-06T02:42:01.772Z] 6ca5941a6612: Download complete [2020-10-06T02:42:01.772Z] 31603596830f: Pull complete [2020-10-06T02:42:02.040Z] 2a8b12db71e7: Pull complete [2020-10-06T02:42:02.621Z] 6ca5941a6612: Pull complete [2020-10-06T02:42:02.887Z] ecc8261a40a4: Pull complete [2020-10-06T02:42:02.887Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-06T02:42:02.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T02:42:02.887Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-06T02:42:03.009Z] prd-centos7-docker-4c-2g-3582 does not seem to be running inside a container [2020-10-06T02:42:03.071Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-06T02:42:05.238Z] $ docker top 824981f0d84d62ecccf7c4c2823c5db3d06638cb335c798d81ddb7dccceb862b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-06T02:42:05.560Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-06T02:42:05.560Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-06T02:42:05.766Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-06T02:42:05.772Z] $ docker exec 824981f0d84d62ecccf7c4c2823c5db3d06638cb335c798d81ddb7dccceb862b ssh-agent [2020-10-06T02:42:05.943Z] SSH_AUTH_SOCK=/tmp/ssh-tT06XFAhDpZu/agent.11 [2020-10-06T02:42:05.943Z] SSH_AGENT_PID=16 [2020-10-06T02:42:05.955Z] Running ssh-add (command line suppressed) [2020-10-06T02:42:06.091Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1594935785650146006.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1594935785650146006.key) [2020-10-06T02:42:06.143Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-06T02:42:06.538Z] + git describe --exact-match --tags HEAD [2020-10-06T02:42:06.538Z] fatal: no tag exactly matches '68605fd35c412c9b43cfded5eb7574eb4aec4b8b' [Pipeline] } [2020-10-06T02:42:06.563Z] $ docker exec --env ******** --env ******** 824981f0d84d62ecccf7c4c2823c5db3d06638cb335c798d81ddb7dccceb862b ssh-agent -k [2020-10-06T02:42:06.694Z] unset SSH_AUTH_SOCK; [2020-10-06T02:42:06.696Z] unset SSH_AGENT_PID; [2020-10-06T02:42:06.696Z] echo Agent pid 16 killed; [2020-10-06T02:42:06.738Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-06T02:42:06.873Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-06T02:42:06.873Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-06T02:42:06.994Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-06T02:42:06.994Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-06T02:42:07.192Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-06T02:42:07.198Z] $ docker exec 824981f0d84d62ecccf7c4c2823c5db3d06638cb335c798d81ddb7dccceb862b ssh-agent [2020-10-06T02:42:07.374Z] SSH_AUTH_SOCK=/tmp/ssh-XqhGUCtK9cpP/agent.45 [2020-10-06T02:42:07.374Z] SSH_AGENT_PID=50 [2020-10-06T02:42:07.380Z] Running ssh-add (command line suppressed) [2020-10-06T02:42:07.509Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_5019535075047349487.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_5019535075047349487.key) [2020-10-06T02:42:07.559Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-06T02:42:07.894Z] + git semver init [2020-10-06T02:42:07.894Z] # -> Open(): unable to determine branch for HEAD [2020-10-06T02:42:07.894Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git [2020-10-06T02:42:07.894Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-06T02:42:07.894Z] # $SEMVER_REMOTE_NAME = origin [2020-10-06T02:42:07.894Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-06T02:42:07.894Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-06T02:42:07.894Z] # $SEMVER_BRANCH = PR-584 [2020-10-06T02:42:07.894Z] # $SEMVER_TEMP = /tmp/semver-656324028 [2020-10-06T02:42:07.894Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-06T02:42:08.469Z] # '/tmp/semver-656324028' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' [2020-10-06T02:42:08.731Z] # -> Force: false [2020-10-06T02:42:08.731Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } [2020-10-06T02:42:08.745Z] $ docker exec --env ******** --env ******** 824981f0d84d62ecccf7c4c2823c5db3d06638cb335c798d81ddb7dccceb862b ssh-agent -k [2020-10-06T02:42:08.875Z] unset SSH_AUTH_SOCK; [2020-10-06T02:42:08.877Z] unset SSH_AGENT_PID; [2020-10-06T02:42:08.877Z] echo Agent pid 50 killed; [2020-10-06T02:42:08.928Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-06T02:42:09.419Z] + git semver [Pipeline] } [2020-10-06T02:42:09.440Z] $ docker stop --time=1 824981f0d84d62ecccf7c4c2823c5db3d06638cb335c798d81ddb7dccceb862b [2020-10-06T02:42:10.820Z] $ docker rm -f 824981f0d84d62ecccf7c4c2823c5db3d06638cb335c798d81ddb7dccceb862b [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-06T02:42:11.802Z] Stashed 43 file(s) [Pipeline] echo [2020-10-06T02:42:11.805Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-06T02:42:11.922Z] 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:42:27.508Z] Still waiting to schedule task [2020-10-06T02:42:27.508Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3582’ [2020-10-06T02:42:27.512Z] Still waiting to schedule task [2020-10-06T02:42:27.512Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-06T02:43:42.592Z] Running on prd-centos7-docker-4c-2g-3586 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-10-06T02:43:42.643Z] Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout [2020-10-06T02:43:45.063Z] using credential edgex-jenkins-ssh [2020-10-06T02:43:45.123Z] Cloning the remote Git repository [2020-10-06T02:43:45.150Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T02:43:45.210Z] > git init /w/workspace/device-sdk-go/16 # timeout=10 [2020-10-06T02:43:45.697Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T02:43:45.697Z] > git --version # timeout=10 [2020-10-06T02:43:45.705Z] > git --version # 'git version 2.16.5' [2020-10-06T02:43:45.706Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T02:43:45.732Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T02:43:46.820Z] Merging remotes/origin/master commit 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 into PR head commit 9984e951603057bc4bd5f96414a7be81c566c977 [2020-10-06T02:43:46.959Z] Merge succeeded, producing 6a2d0447a29b782567d2fb9d3b085e0ef8f74d15 [2020-10-06T02:43:46.959Z] Checking out Revision 6a2d0447a29b782567d2fb9d3b085e0ef8f74d15 (PR-584) [2020-10-06T02:43:46.404Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T02:43:46.413Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T02:43:46.428Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T02:43:46.440Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T02:43:46.440Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T02:43:46.446Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-06T02:43:46.829Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T02:43:46.834Z] > git checkout -f 9984e951603057bc4bd5f96414a7be81c566c977 # timeout=10 [2020-10-06T02:43:46.884Z] > git remote # timeout=10 [2020-10-06T02:43:46.894Z] > git config --get remote.origin.url # timeout=10 [2020-10-06T02:43:46.903Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T02:43:46.906Z] > git merge 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 # timeout=10 [2020-10-06T02:43:46.937Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-06T02:43:46.973Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T02:43:46.980Z] > git checkout -f 6a2d0447a29b782567d2fb9d3b085e0ef8f74d15 # timeout=10 [2020-10-06T02:43:50.544Z] Commit message: "Merge commit '7376f7b5b06e33bb8acc21cf64a8bee67a63ba67' into HEAD" [2020-10-06T02:43:50.549Z] > git rev-list --no-walk 9984e951603057bc4bd5f96414a7be81c566c977 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-06T02:43:51.350Z] ========================================================= [2020-10-06T02:43:51.350Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-06T02:43:51.350Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-06T02:43:51.946Z] + 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:43:52.209Z] Sending build context to Docker daemon 3.502MB [2020-10-06T02:43:52.209Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-06T02:43:52.209Z] Step 2/8 : FROM ${BASE} [2020-10-06T02:43:52.476Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-06T02:43:52.476Z] df20fa9351a1: Pulling fs layer [2020-10-06T02:43:52.476Z] ed8968b2872e: Pulling fs layer [2020-10-06T02:43:52.476Z] a92cc7c5fd73: Pulling fs layer [2020-10-06T02:43:52.476Z] e871e8e8d7a9: Pulling fs layer [2020-10-06T02:43:52.476Z] e73272ec9a57: Pulling fs layer [2020-10-06T02:43:52.476Z] 1e910a182e73: Pulling fs layer [2020-10-06T02:43:52.476Z] 4e634b169226: Pulling fs layer [2020-10-06T02:43:52.476Z] e73272ec9a57: Waiting [2020-10-06T02:43:52.476Z] 1e910a182e73: Waiting [2020-10-06T02:43:52.476Z] 4e634b169226: Waiting [2020-10-06T02:43:52.476Z] e871e8e8d7a9: Waiting [2020-10-06T02:43:52.476Z] a92cc7c5fd73: Download complete [2020-10-06T02:43:52.476Z] ed8968b2872e: Verifying Checksum [2020-10-06T02:43:52.476Z] ed8968b2872e: Download complete [2020-10-06T02:43:52.476Z] e73272ec9a57: Verifying Checksum [2020-10-06T02:43:52.476Z] e73272ec9a57: Download complete [2020-10-06T02:43:52.476Z] df20fa9351a1: Verifying Checksum [2020-10-06T02:43:52.476Z] df20fa9351a1: Download complete [2020-10-06T02:43:52.476Z] 1e910a182e73: Verifying Checksum [2020-10-06T02:43:52.476Z] 1e910a182e73: Download complete [2020-10-06T02:43:52.741Z] df20fa9351a1: Pull complete [2020-10-06T02:43:53.004Z] ed8968b2872e: Pull complete [2020-10-06T02:43:53.004Z] a92cc7c5fd73: Pull complete [2020-10-06T02:43:54.931Z] 4e634b169226: Verifying Checksum [2020-10-06T02:43:54.931Z] 4e634b169226: Download complete [2020-10-06T02:43:55.511Z] e871e8e8d7a9: Verifying Checksum [2020-10-06T02:43:55.511Z] e871e8e8d7a9: Download complete [2020-10-06T02:44:00.822Z] e871e8e8d7a9: Pull complete [2020-10-06T02:44:00.823Z] e73272ec9a57: Pull complete [2020-10-06T02:44:00.823Z] 1e910a182e73: Pull complete [2020-10-06T02:44:05.059Z] 4e634b169226: Pull complete [2020-10-06T02:44:05.059Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-06T02:44:05.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-06T02:44:05.059Z] ---> f7629b54cfaa [2020-10-06T02:44:05.059Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T02:44:05.059Z] ---> Running in ba6af49d397d [2020-10-06T02:44:05.059Z] Removing intermediate container ba6af49d397d [2020-10-06T02:44:05.059Z] ---> 12ed8f430443 [2020-10-06T02:44:05.059Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T02:44:05.059Z] ---> Running in 62e1a9f85662 [2020-10-06T02:44:06.464Z] Removing intermediate container 62e1a9f85662 [2020-10-06T02:44:06.464Z] ---> c78604918298 [2020-10-06T02:44:06.464Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-06T02:44:06.464Z] ---> Running in b3643e0f1598 [2020-10-06T02:44:07.413Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-06T02:44:08.805Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-06T02:44:09.752Z] OK: 166 MiB in 39 packages [2020-10-06T02:44:10.014Z] Removing intermediate container b3643e0f1598 [2020-10-06T02:44:10.014Z] ---> 7fab5bba46b1 [2020-10-06T02:44:10.014Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-06T02:44:10.014Z] ---> Running in 5ebf0d601002 [2020-10-06T02:44:10.276Z] Removing intermediate container 5ebf0d601002 [2020-10-06T02:44:10.276Z] ---> 3e0d2fa75729 [2020-10-06T02:44:10.276Z] Step 7/8 : COPY . . [2020-10-06T02:44:11.681Z] ---> c2acaba6db08 [2020-10-06T02:44:11.681Z] Step 8/8 : RUN go mod download [2020-10-06T02:44:11.681Z] ---> Running in 8994917ef450 [2020-10-06T02:44:19.471Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3585 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-10-06T02:44:19.530Z] Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout [2020-10-06T02:44:24.848Z] using credential edgex-jenkins-ssh [2020-10-06T02:44:24.928Z] Cloning the remote Git repository [2020-10-06T02:44:24.989Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T02:44:25.098Z] > git init /w/workspace/device-sdk-go/16 # timeout=10 [2020-10-06T02:44:25.177Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T02:44:25.178Z] > git --version # timeout=10 [2020-10-06T02:44:25.194Z] > git --version # 'git version 2.17.1' [2020-10-06T02:44:25.197Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T02:44:25.266Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T02:44:26.894Z] Merging remotes/origin/master commit 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 into PR head commit 9984e951603057bc4bd5f96414a7be81c566c977 [2020-10-06T02:44:26.251Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T02:44:26.270Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T02:44:26.323Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T02:44:26.365Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T02:44:26.365Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T02:44:26.376Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-06T02:44:26.917Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T02:44:26.945Z] > git checkout -f 9984e951603057bc4bd5f96414a7be81c566c977 # timeout=10 [2020-10-06T02:44:27.277Z] Merge succeeded, producing 05b0a8a3838755b0911657e6a9f096d1e8c1ea24 [2020-10-06T02:44:27.277Z] Checking out Revision 05b0a8a3838755b0911657e6a9f096d1e8c1ea24 (PR-584) [2020-10-06T02:44:27.060Z] > git remote # timeout=10 [2020-10-06T02:44:27.083Z] > git config --get remote.origin.url # timeout=10 [2020-10-06T02:44:27.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T02:44:27.164Z] > git merge 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 # timeout=10 [2020-10-06T02:44:27.237Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-06T02:44:27.278Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T02:44:27.314Z] > git checkout -f 05b0a8a3838755b0911657e6a9f096d1e8c1ea24 # timeout=10 [2020-10-06T02:44:29.849Z] Removing intermediate container 8994917ef450 [2020-10-06T02:44:29.849Z] ---> 5801ef9d9fdd [2020-10-06T02:44:29.849Z] Successfully built 5801ef9d9fdd [2020-10-06T02:44:29.849Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T02:44:30.299Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-06T02:44:30.299Z] . [Pipeline] withDockerContainer [2020-10-06T02:44:30.409Z] prd-centos7-docker-4c-2g-3586 does not seem to be running inside a container [2020-10-06T02:44:30.457Z] $ 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-x86_64 cat [2020-10-06T02:44:31.128Z] $ docker top 6b85d46b52bb4a63facd58ea65f2d223b3a38e83269971f11febea8193f48684 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T02:44:31.642Z] Commit message: "Merge commit '7376f7b5b06e33bb8acc21cf64a8bee67a63ba67' into HEAD" [2020-10-06T02:44:31.645Z] > git rev-list --no-walk 9984e951603057bc4bd5f96414a7be81c566c977 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2020-10-06T02:44:32.196Z] + go version [2020-10-06T02:44:32.196Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-06T02:44:32.242Z] $ docker stop --time=1 6b85d46b52bb4a63facd58ea65f2d223b3a38e83269971f11febea8193f48684 [2020-10-06T02:44:33.596Z] $ docker rm -f 6b85d46b52bb4a63facd58ea65f2d223b3a38e83269971f11febea8193f48684 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-06T02:44:34.380Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-06T02:44:34.380Z] . [Pipeline] withDockerContainer [2020-10-06T02:44:34.476Z] prd-centos7-docker-4c-2g-3586 does not seem to be running inside a container [2020-10-06T02:44:34.525Z] $ 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-x86_64 cat [2020-10-06T02:44:35.077Z] $ docker top 5bc34e3decf6da5d1423612382adf865ec8eba011f486027bd411ff4f8d5265f -eo pid,comm [Pipeline] { [Pipeline] echo [2020-10-06T02:44:35.276Z] ========================================================= [2020-10-06T02:44:35.276Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-06T02:44:35.276Z] ========================================================= [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-10-06T02:44:35.577Z] + make test [2020-10-06T02:44:35.577Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-06T02:44:36.497Z] + 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:44:37.483Z] Sending build context to Docker daemon 3.502MB [2020-10-06T02:44:37.483Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-06T02:44:37.483Z] Step 2/8 : FROM ${BASE} [2020-10-06T02:44:37.759Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-06T02:44:37.759Z] b538f80385f9: Pulling fs layer [2020-10-06T02:44:37.759Z] 74f711af9a0d: Pulling fs layer [2020-10-06T02:44:37.759Z] 99f96fe45779: Pulling fs layer [2020-10-06T02:44:37.759Z] 8529a6b9a6be: Pulling fs layer [2020-10-06T02:44:37.759Z] 45590311c82a: Pulling fs layer [2020-10-06T02:44:37.759Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-06T02:44:37.759Z] 209524e5b208: Pulling fs layer [2020-10-06T02:44:37.759Z] 8529a6b9a6be: Waiting [2020-10-06T02:44:37.759Z] 45590311c82a: Waiting [2020-10-06T02:44:37.759Z] 69ca0ff8b7b3: Waiting [2020-10-06T02:44:37.759Z] 209524e5b208: Waiting [2020-10-06T02:44:37.759Z] 99f96fe45779: Verifying Checksum [2020-10-06T02:44:37.759Z] 99f96fe45779: Download complete [2020-10-06T02:44:37.759Z] 74f711af9a0d: Verifying Checksum [2020-10-06T02:44:37.759Z] 74f711af9a0d: Download complete [2020-10-06T02:44:38.039Z] 45590311c82a: Verifying Checksum [2020-10-06T02:44:38.039Z] 45590311c82a: Download complete [2020-10-06T02:44:38.039Z] 69ca0ff8b7b3: Download complete [2020-10-06T02:44:38.039Z] b538f80385f9: Verifying Checksum [2020-10-06T02:44:38.039Z] b538f80385f9: Download complete [2020-10-06T02:44:38.642Z] b538f80385f9: Pull complete [2020-10-06T02:44:39.241Z] 74f711af9a0d: Pull complete [2020-10-06T02:44:39.520Z] 99f96fe45779: Pull complete [2020-10-06T02:44:40.117Z] 209524e5b208: Verifying Checksum [2020-10-06T02:44:40.117Z] 209524e5b208: Download complete [2020-10-06T02:44:41.565Z] 8529a6b9a6be: Verifying Checksum [2020-10-06T02:44:41.565Z] 8529a6b9a6be: Download complete [2020-10-06T02:44:42.212Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-06T02:44:51.744Z] 8529a6b9a6be: Pull complete [2020-10-06T02:44:51.744Z] 45590311c82a: Pull complete [2020-10-06T02:44:51.744Z] 69ca0ff8b7b3: Pull complete [2020-10-06T02:44:56.060Z] 209524e5b208: Pull complete [2020-10-06T02:44:56.060Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-06T02:44:56.060Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-06T02:44:56.060Z] ---> 5bddaf1c2fca [2020-10-06T02:44:56.060Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T02:44:57.225Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-06T02:44:57.226Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-06T02:44:57.226Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-06T02:44:57.226Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.053s coverage: 21.6% of statements [2020-10-06T02:44:57.226Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.431s coverage: 97.1% of statements [2020-10-06T02:44:58.699Z] ---> Running in a90028c12937 [2020-10-06T02:44:58.973Z] Removing intermediate container a90028c12937 [2020-10-06T02:44:58.973Z] ---> ada47bd33e64 [2020-10-06T02:44:58.973Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T02:44:58.973Z] ---> Running in 4be574356cee [2020-10-06T02:45:01.640Z] Removing intermediate container 4be574356cee [2020-10-06T02:45:01.640Z] ---> 91278a5f2309 [2020-10-06T02:45:01.640Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-06T02:45:01.926Z] ---> Running in 43f9c80f4487 [2020-10-06T02:45:03.377Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-06T02:45:03.974Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-06T02:45:04.948Z] OK: 142 MiB in 39 packages [2020-10-06T02:45:06.382Z] Removing intermediate container 43f9c80f4487 [2020-10-06T02:45:06.382Z] ---> 728cab670018 [2020-10-06T02:45:06.382Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-06T02:45:06.382Z] ---> Running in e3b9ce6069b8 [2020-10-06T02:45:06.666Z] Removing intermediate container e3b9ce6069b8 [2020-10-06T02:45:06.666Z] ---> 1905166f6933 [2020-10-06T02:45:06.666Z] Step 7/8 : COPY . . [2020-10-06T02:45:08.105Z] ---> 4a6acaf4c587 [2020-10-06T02:45:08.106Z] Step 8/8 : RUN go mod download [2020-10-06T02:45:08.381Z] ---> Running in bbf2679ae51d [2020-10-06T02:45:29.372Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.053s coverage: 9.4% of statements [2020-10-06T02:45:29.372Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.059s coverage: 21.9% of statements [2020-10-06T02:45:29.372Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-06T02:45:29.372Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.207s coverage: 39.9% of statements [2020-10-06T02:45:29.372Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-06T02:45:29.372Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.289s coverage: 65.4% of statements [2020-10-06T02:45:29.372Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-06T02:45:29.372Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-06T02:45:29.372Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-06T02:45:29.372Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-06T02:45:29.372Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.071s coverage: 52.6% of statements [2020-10-06T02:45:29.372Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-06T02:45:29.372Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.356s coverage: 68.9% of statements [2020-10-06T02:45:29.372Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-06T02:45:29.372Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-06T02:45:29.372Z] GO111MODULE=on go vet ./... [2020-10-06T02:45:30.549Z] Removing intermediate container bbf2679ae51d [2020-10-06T02:45:30.550Z] ---> a4a12c96feeb [2020-10-06T02:45:30.550Z] Successfully built a4a12c96feeb [2020-10-06T02:45:30.550Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T02:45:30.944Z] + docker inspect -f . ci-base-image-arm64 [2020-10-06T02:45:30.944Z] . [Pipeline] withDockerContainer [2020-10-06T02:45:31.192Z] prd-ubuntu18.04-docker-arm64-4c-16g-3585 does not seem to be running inside a container [2020-10-06T02:45:31.274Z] $ 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-arm64 cat [2020-10-06T02:45:33.111Z] $ docker top 045035c4e5446dee9fe3a04613b2b711a696051ccec486d5b3eefcd19179cc79 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T02:45:34.515Z] + go version [2020-10-06T02:45:34.515Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-06T02:45:34.538Z] $ docker stop --time=1 045035c4e5446dee9fe3a04613b2b711a696051ccec486d5b3eefcd19179cc79 [2020-10-06T02:45:36.067Z] gofmt -l . [2020-10-06T02:45:36.068Z] [ "`gofmt -l .`" = "" ] [2020-10-06T02:45:36.068Z] ./bin/test-attribution-txt.sh [2020-10-06T02:45:36.068Z] ./bin/test-go-mod-tidy.sh [2020-10-06T02:45:36.475Z] $ docker rm -f 045035c4e5446dee9fe3a04613b2b711a696051ccec486d5b3eefcd19179cc79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stash [Pipeline] // script [Pipeline] } [2020-10-06T02:45:37.034Z] Stashed 1 file(s) [Pipeline] // stage [Pipeline] } [2020-10-06T02:45:37.139Z] $ docker stop --time=1 5bc34e3decf6da5d1423612382adf865ec8eba011f486027bd411ff4f8d5265f [2020-10-06T02:45:38.908Z] $ docker rm -f 5bc34e3decf6da5d1423612382adf865ec8eba011f486027bd411ff4f8d5265f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stage [Pipeline] { (Test) [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-10-06T02:45:42.116Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-06T02:45:42.267Z] + docker inspect -f . ci-base-image-arm64 [2020-10-06T02:45:42.267Z] . [Pipeline] withDockerContainer [2020-10-06T02:45:42.441Z] + ls -al . [2020-10-06T02:45:42.441Z] total 192 [2020-10-06T02:45:42.441Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 6 02:45 . [2020-10-06T02:45:42.441Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 6 02:43 .. [2020-10-06T02:45:42.441Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 6 02:43 bin [2020-10-06T02:45:42.441Z] -rw-r--r--. 1 jenkins jenkins 111040 Oct 6 02:45 coverage.out [2020-10-06T02:45:42.441Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 6 02:43 Dockerfile.build [2020-10-06T02:45:42.441Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 6 02:43 .dockerignore [2020-10-06T02:45:42.441Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 6 02:43 example [2020-10-06T02:45:42.441Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 6 02:43 .git [2020-10-06T02:45:42.441Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 6 02:43 .github [2020-10-06T02:45:42.441Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 6 02:43 .gitignore [2020-10-06T02:45:42.441Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 6 02:45 go.mod [2020-10-06T02:45:42.441Z] -rw-r--r--. 1 jenkins jenkins 13737 Oct 6 02:45 go.sum [2020-10-06T02:45:42.441Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 6 02:43 internal [2020-10-06T02:45:42.441Z] -rw-rw-r--. 1 jenkins jenkins 785 Oct 6 02:43 Jenkinsfile [2020-10-06T02:45:42.441Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 6 02:43 LICENSE [2020-10-06T02:45:42.441Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 6 02:43 Makefile [2020-10-06T02:45:42.441Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 6 02:43 openapi [2020-10-06T02:45:42.441Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 6 02:43 pkg [2020-10-06T02:45:42.441Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 6 02:43 README.md [2020-10-06T02:45:42.441Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 6 02:43 RELEASE-NOTES.txt [2020-10-06T02:45:42.441Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 6 02:43 .semver [2020-10-06T02:45:42.441Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 6 02:43 snap [2020-10-06T02:45:42.441Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 6 02:42 VERSION [2020-10-06T02:45:42.441Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 6 02:43 version.go [2020-10-06T02:45:42.494Z] prd-ubuntu18.04-docker-arm64-4c-16g-3585 does not seem to be running inside a container [2020-10-06T02:45:42.571Z] $ 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-arm64 cat [2020-10-06T02:45:44.380Z] $ docker top b57b882739b83bafc06c9068f3511b4e6ce58b24790334604f36f33572113b0f -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-10-06T02:45:45.178Z] + 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=68605fd35c412c9b43cfded5eb7574eb4aec4b8b --label arch=amd64 --label version=0.0.0 . [2020-10-06T02:45:45.178Z] Sending build context to Docker daemon 3.614MB [2020-10-06T02:45:45.178Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-06T02:45:45.178Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-06T02:45:45.178Z] ---> 5801ef9d9fdd [2020-10-06T02:45:45.178Z] Step 3/24 : ARG MAKE='make build' [2020-10-06T02:45:45.803Z] + make test [2020-10-06T02:45:45.803Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-06T02:45:46.130Z] ---> Running in f3d566d83eaf [2020-10-06T02:45:46.130Z] Removing intermediate container f3d566d83eaf [2020-10-06T02:45:46.130Z] ---> a4e06edb5c37 [2020-10-06T02:45:46.130Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-06T02:45:46.130Z] ---> Running in 2e5d9c98fb15 [2020-10-06T02:45:46.391Z] Removing intermediate container 2e5d9c98fb15 [2020-10-06T02:45:46.391Z] ---> 570dbc55084f [2020-10-06T02:45:46.391Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T02:45:46.391Z] ---> Running in 3c6e68899911 [2020-10-06T02:45:46.651Z] Removing intermediate container 3c6e68899911 [2020-10-06T02:45:46.651Z] ---> ed8526d86d4d [2020-10-06T02:45:46.651Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T02:45:46.651Z] ---> Running in a38ac1f0b419 [2020-10-06T02:45:47.596Z] Removing intermediate container a38ac1f0b419 [2020-10-06T02:45:47.596Z] ---> a40119ad4779 [2020-10-06T02:45:47.596Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-06T02:45:47.596Z] ---> Running in 87677573fe50 [2020-10-06T02:45:48.169Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-06T02:45:48.740Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-06T02:45:49.311Z] OK: 166 MiB in 39 packages [2020-10-06T02:45:49.886Z] Removing intermediate container 87677573fe50 [2020-10-06T02:45:49.886Z] ---> 9bcb56e3c5c9 [2020-10-06T02:45:49.886Z] Step 8/24 : COPY . . [2020-10-06T02:45:50.828Z] ---> 73aab4f5d9ff [2020-10-06T02:45:50.828Z] Step 9/24 : RUN ${MAKE} [2020-10-06T02:45:50.828Z] ---> Running in b48072b0f5ee [2020-10-06T02:45:51.413Z] 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:45:59.639Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-06T02:46:00.584Z] Removing intermediate container b48072b0f5ee [2020-10-06T02:46:00.584Z] ---> b87eca414701 [2020-10-06T02:46:00.584Z] Step 10/24 : FROM scratch [2020-10-06T02:46:00.584Z] ---> [2020-10-06T02:46:00.584Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T02:46:00.584Z] ---> Running in 56ac3bf01b78 [2020-10-06T02:46:00.584Z] Removing intermediate container 56ac3bf01b78 [2020-10-06T02:46:00.584Z] ---> a915a28ebe86 [2020-10-06T02:46:00.584Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-06T02:46:00.584Z] ---> Running in 5abab0329baa [2020-10-06T02:46:00.845Z] Removing intermediate container 5abab0329baa [2020-10-06T02:46:00.845Z] ---> 842983aaa76e [2020-10-06T02:46:00.845Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-06T02:46:00.845Z] ---> Running in 8cdde92c35f3 [2020-10-06T02:46:01.107Z] Removing intermediate container 8cdde92c35f3 [2020-10-06T02:46:01.107Z] ---> cde0c44770e7 [2020-10-06T02:46:01.107Z] Step 14/24 : WORKDIR / [2020-10-06T02:46:01.107Z] ---> Running in 137a9d636064 [2020-10-06T02:46:01.368Z] Removing intermediate container 137a9d636064 [2020-10-06T02:46:01.368Z] ---> e40ac950844c [2020-10-06T02:46:01.368Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-06T02:46:02.766Z] ---> 5a38b70035a7 [2020-10-06T02:46:02.766Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-06T02:46:02.766Z] ---> c475d4bb50b9 [2020-10-06T02:46:02.766Z] 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:03.033Z] ---> e62f7eae60ba [2020-10-06T02:46:03.034Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-06T02:46:03.298Z] ---> 0d41414ae20d [2020-10-06T02:46:03.299Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-06T02:46:03.559Z] ---> d5e6df6463a0 [2020-10-06T02:46:03.559Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-06T02:46:03.559Z] ---> Running in 9a12274f5577 [2020-10-06T02:46:03.821Z] Removing intermediate container 9a12274f5577 [2020-10-06T02:46:03.821Z] ---> 8d262926946d [2020-10-06T02:46:03.821Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-06T02:46:03.821Z] ---> Running in 835941642ea5 [2020-10-06T02:46:03.821Z] Removing intermediate container 835941642ea5 [2020-10-06T02:46:03.821Z] ---> 0af996097d92 [2020-10-06T02:46:03.821Z] Step 22/24 : LABEL arch=amd64 [2020-10-06T02:46:04.082Z] ---> Running in 20329ba1dc62 [2020-10-06T02:46:04.082Z] Removing intermediate container 20329ba1dc62 [2020-10-06T02:46:04.082Z] ---> 419ac7988892 [2020-10-06T02:46:04.082Z] Step 23/24 : LABEL git_sha=68605fd35c412c9b43cfded5eb7574eb4aec4b8b [2020-10-06T02:46:04.344Z] ---> Running in 4ef9d31ae530 [2020-10-06T02:46:04.344Z] Removing intermediate container 4ef9d31ae530 [2020-10-06T02:46:04.344Z] ---> 37ecc4b42a54 [2020-10-06T02:46:04.344Z] Step 24/24 : LABEL version=0.0.0 [2020-10-06T02:46:04.344Z] ---> Running in 00db92a1289c [2020-10-06T02:46:04.606Z] Removing intermediate container 00db92a1289c [2020-10-06T02:46:04.606Z] ---> 40245a235821 [2020-10-06T02:46:04.606Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-06T02:46:04.606Z] Successfully built 40245a235821 [2020-10-06T02:46:04.606Z] 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-06T02:46:07.998Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-06T02:46:47.096Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-06T02:46:47.096Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-06T02:46:47.096Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-06T02:46:47.096Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.122s coverage: 21.6% of statements [2020-10-06T02:46:49.731Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.156s coverage: 97.1% of statements [2020-10-06T02:47:22.071Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.137s coverage: 9.4% of statements [2020-10-06T02:47:22.071Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.110s coverage: 21.9% of statements [2020-10-06T02:47:22.071Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-06T02:47:22.071Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.556s coverage: 39.9% of statements [2020-10-06T02:47:22.071Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-06T02:47:22.071Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.773s coverage: 65.4% of statements [2020-10-06T02:47:22.071Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-06T02:47:22.071Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-06T02:47:22.071Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-06T02:47:22.071Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-06T02:47:22.071Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.183s coverage: 52.6% of statements [2020-10-06T02:47:22.071Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-06T02:47:22.071Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.638s coverage: 68.9% of statements [2020-10-06T02:47:22.071Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-06T02:47:22.071Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-06T02:47:22.071Z] GO111MODULE=on go vet ./... [2020-10-06T02:47:49.061Z] gofmt -l . [2020-10-06T02:47:49.061Z] [ "`gofmt -l .`" = "" ] [2020-10-06T02:47:49.061Z] ./bin/test-attribution-txt.sh [2020-10-06T02:47:49.061Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-06T02:47:49.080Z] Warning: overwriting stash ‘coverage-report’ [2020-10-06T02:47:49.886Z] Stashed 1 file(s) [Pipeline] } [2020-10-06T02:47:49.891Z] $ docker stop --time=1 b57b882739b83bafc06c9068f3511b4e6ce58b24790334604f36f33572113b0f [2020-10-06T02:47:52.193Z] $ docker rm -f b57b882739b83bafc06c9068f3511b4e6ce58b24790334604f36f33572113b0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-06T02:47:53.627Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-06T02:47:53.981Z] + ls -al . [2020-10-06T02:47:53.981Z] total 232 [2020-10-06T02:47:53.981Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 02:47 . [2020-10-06T02:47:53.981Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 02:44 .. [2020-10-06T02:47:53.981Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 6 02:44 .dockerignore [2020-10-06T02:47:53.981Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 02:44 .git [2020-10-06T02:47:53.981Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 02:44 .github [2020-10-06T02:47:53.981Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 6 02:44 .gitignore [2020-10-06T02:47:53.981Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 02:44 .semver [2020-10-06T02:47:53.981Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 6 02:44 Dockerfile.build [2020-10-06T02:47:53.981Z] -rw-rw-r-- 1 jenkins jenkins 785 Oct 6 02:44 Jenkinsfile [2020-10-06T02:47:53.981Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 6 02:44 LICENSE [2020-10-06T02:47:53.981Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 6 02:44 Makefile [2020-10-06T02:47:53.981Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 6 02:44 README.md [2020-10-06T02:47:53.981Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 6 02:44 RELEASE-NOTES.txt [2020-10-06T02:47:53.981Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 02:42 VERSION [2020-10-06T02:47:53.981Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 02:44 bin [2020-10-06T02:47:53.981Z] -rw-r--r-- 1 jenkins jenkins 111040 Oct 6 02:47 coverage.out [2020-10-06T02:47:53.981Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 02:44 example [2020-10-06T02:47:53.981Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 6 02:47 go.mod [2020-10-06T02:47:53.981Z] -rw-r--r-- 1 jenkins jenkins 13737 Oct 6 02:47 go.sum [2020-10-06T02:47:53.981Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 6 02:44 internal [2020-10-06T02:47:53.981Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 02:44 openapi [2020-10-06T02:47:53.981Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 6 02:44 pkg [2020-10-06T02:47:53.981Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 02:44 snap [2020-10-06T02:47:53.981Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 6 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-06T02:47:54.338Z] + 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=68605fd35c412c9b43cfded5eb7574eb4aec4b8b --label arch=arm64 --label version=0.0.0 . [2020-10-06T02:47:54.934Z] Sending build context to Docker daemon 3.614MB [2020-10-06T02:47:54.934Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-06T02:47:54.934Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-06T02:47:54.934Z] ---> a4a12c96feeb [2020-10-06T02:47:54.934Z] Step 3/24 : ARG MAKE='make build' [2020-10-06T02:47:55.208Z] ---> Running in 3b027e59802f [2020-10-06T02:47:55.480Z] Removing intermediate container 3b027e59802f [2020-10-06T02:47:55.480Z] ---> 835dde01e774 [2020-10-06T02:47:55.480Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-06T02:47:55.753Z] ---> Running in 3bc09ee299ae [2020-10-06T02:47:56.346Z] Removing intermediate container 3bc09ee299ae [2020-10-06T02:47:56.346Z] ---> fd4b3d1897d8 [2020-10-06T02:47:56.346Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T02:47:56.346Z] ---> Running in e8be54c8b7c9 [2020-10-06T02:47:56.619Z] Removing intermediate container e8be54c8b7c9 [2020-10-06T02:47:56.619Z] ---> e55507e6c697 [2020-10-06T02:47:56.619Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T02:47:56.899Z] ---> Running in 2a5a74898042 [2020-10-06T02:47:59.523Z] Removing intermediate container 2a5a74898042 [2020-10-06T02:47:59.523Z] ---> b1212a69970c [2020-10-06T02:47:59.523Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-06T02:47:59.523Z] ---> Running in 119714215fba [2020-10-06T02:48:00.954Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-06T02:48:01.547Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-06T02:48:02.529Z] OK: 142 MiB in 39 packages [2020-10-06T02:48:03.509Z] Removing intermediate container 119714215fba [2020-10-06T02:48:03.509Z] ---> 6328a1fb2da4 [2020-10-06T02:48:03.509Z] Step 8/24 : COPY . . [2020-10-06T02:48:04.953Z] ---> 6e24d7a0493d [2020-10-06T02:48:04.953Z] Step 9/24 : RUN ${MAKE} [2020-10-06T02:48:04.953Z] ---> Running in 51bc33988645 [2020-10-06T02:48:06.393Z] 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:48:33.219Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-06T02:48:33.219Z] Removing intermediate container 51bc33988645 [2020-10-06T02:48:33.219Z] ---> 0cb0285fa268 [2020-10-06T02:48:33.219Z] Step 10/24 : FROM scratch [2020-10-06T02:48:33.219Z] ---> [2020-10-06T02:48:33.219Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T02:48:33.219Z] ---> Running in f8810aba7d64 [2020-10-06T02:48:33.219Z] Removing intermediate container f8810aba7d64 [2020-10-06T02:48:33.219Z] ---> 84aa4ad19509 [2020-10-06T02:48:33.219Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-06T02:48:33.219Z] ---> Running in 8520103bebde [2020-10-06T02:48:33.219Z] Removing intermediate container 8520103bebde [2020-10-06T02:48:33.219Z] ---> 66b9bae277b7 [2020-10-06T02:48:33.219Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-06T02:48:33.219Z] ---> Running in 1234aad61eb2 [2020-10-06T02:48:33.493Z] Removing intermediate container 1234aad61eb2 [2020-10-06T02:48:33.493Z] ---> f980bbcc4a18 [2020-10-06T02:48:33.493Z] Step 14/24 : WORKDIR / [2020-10-06T02:48:33.768Z] ---> Running in d7b1acb6950c [2020-10-06T02:48:34.367Z] Removing intermediate container d7b1acb6950c [2020-10-06T02:48:34.367Z] ---> bd5315e56ce3 [2020-10-06T02:48:34.367Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-06T02:48:35.351Z] ---> fafcd5db8caf [2020-10-06T02:48:35.351Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-06T02:48:36.335Z] ---> ab029f41e26b [2020-10-06T02:48:36.335Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-06T02:48:36.930Z] ---> 4da2f7bf6bf5 [2020-10-06T02:48:36.930Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-06T02:48:37.529Z] ---> 6db59aa488ae [2020-10-06T02:48:37.529Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-06T02:48:38.125Z] ---> 390bf3bf0dd1 [2020-10-06T02:48:38.125Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-06T02:48:38.399Z] ---> Running in 61b54b7294d5 [2020-10-06T02:48:38.674Z] Removing intermediate container 61b54b7294d5 [2020-10-06T02:48:38.674Z] ---> 39fa1fb010ea [2020-10-06T02:48:38.674Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-06T02:48:38.946Z] ---> Running in 1e9605437a33 [2020-10-06T02:48:39.550Z] Removing intermediate container 1e9605437a33 [2020-10-06T02:48:39.550Z] ---> da4a5cb0cd84 [2020-10-06T02:48:39.550Z] Step 22/24 : LABEL arch=arm64 [2020-10-06T02:48:39.550Z] ---> Running in 07bee65869da [2020-10-06T02:48:39.823Z] Removing intermediate container 07bee65869da [2020-10-06T02:48:39.823Z] ---> 29d2e09d7fbd [2020-10-06T02:48:39.823Z] Step 23/24 : LABEL git_sha=68605fd35c412c9b43cfded5eb7574eb4aec4b8b [2020-10-06T02:48:40.097Z] ---> Running in f26a134aeded [2020-10-06T02:48:40.696Z] Removing intermediate container f26a134aeded [2020-10-06T02:48:40.696Z] ---> 80801c0af3c4 [2020-10-06T02:48:40.696Z] Step 24/24 : LABEL version=0.0.0 [2020-10-06T02:48:40.696Z] ---> Running in b8f438a326b7 [2020-10-06T02:48:40.971Z] Removing intermediate container b8f438a326b7 [2020-10-06T02:48:40.971Z] ---> 5da6af6dd77f [2020-10-06T02:48:40.971Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-06T02:48:41.242Z] Successfully built 5da6af6dd77f [2020-10-06T02:48:41.242Z] 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:48:43.213Z] provisioning config files... [2020-10-06T02:48:43.225Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config2998296653574644740tmp [Pipeline] { [Pipeline] sh [2020-10-06T02:48:43.600Z] + set +x [2020-10-06T02:48:43.600Z] + curl -s https://codecov.io/bash [2020-10-06T02:48:43.600Z] + bash -s -- [2020-10-06T02:48:43.862Z] [2020-10-06T02:48:43.862Z] _____ _ [2020-10-06T02:48:43.862Z] / ____| | | [2020-10-06T02:48:43.862Z] | | ___ __| | ___ ___ _____ __ [2020-10-06T02:48:43.862Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-06T02:48:43.862Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-06T02:48:43.862Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-06T02:48:43.862Z] Bash-20200917-4e8f14b [2020-10-06T02:48:43.862Z] [2020-10-06T02:48:43.862Z] [2020-10-06T02:48:43.862Z] ==> Jenkins CI detected. [2020-10-06T02:48:43.862Z] project root: . [2020-10-06T02:48:43.862Z] Fixing merge commit SHA [2020-10-06T02:48:43.862Z] --> token set from env [2020-10-06T02:48:43.862Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-06T02:48:43.862Z] ==> Running gcov in . (disable via -X gcov) [2020-10-06T02:48:43.862Z] ==> Python coveragepy not found [2020-10-06T02:48:43.862Z] ==> Searching for coverage reports in: [2020-10-06T02:48:43.862Z] + . [2020-10-06T02:48:43.862Z] -> Found 1 reports [2020-10-06T02:48:43.862Z] ==> Detecting git/mercurial file structure [2020-10-06T02:48:43.862Z] ==> Reading reports [2020-10-06T02:48:43.862Z] + ./coverage.out bytes=111040 [2020-10-06T02:48:43.862Z] ==> Appending adjustments [2020-10-06T02:48:43.862Z] https://docs.codecov.io/docs/fixing-reports [2020-10-06T02:48:44.439Z] + Found adjustments [2020-10-06T02:48:44.439Z] ==> Gzipping contents [2020-10-06T02:48:44.439Z] ==> Uploading reports [2020-10-06T02:48:44.439Z] url: https://codecov.io [2020-10-06T02:48:44.439Z] query: branch=PR-584&commit=7376f7b5b06e33bb8acc21cf64a8bee67a63ba67&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2020-10-06T02:48:44.439Z] -> Pinging Codecov [2020-10-06T02:48:44.439Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-584&commit=7376f7b5b06e33bb8acc21cf64a8bee67a63ba67&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2020-10-06T02:48:44.700Z] -> Uploading to [2020-10-06T02:48:44.700Z] https://storage.googleapis.com/codecov/v4/raw/2020-10-06/7E55EF52A471D76F132DFD9A03CDDE97/7376f7b5b06e33bb8acc21cf64a8bee67a63ba67/a8b40d11-160f-4f60-ba9b-1068ad74a1e4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201006T024844Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=98a75c4e14293001c166b4b508f83069a9e50ed02282496162124e40b43cbb18 [2020-10-06T02:48:44.700Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-06T02:48:44.700Z] Dload Upload Total Spent Left Speed [2020-10-06T02:48:45.227Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18320 0 0 100 18320 0 42376 --:--:-- --:--:-- --:--:-- 42309 [2020-10-06T02:48:45.227Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 [Pipeline] } [2020-10-06T02:48:45.236Z] 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:48:47.909Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T02:48:48.482Z] ---> package-listing.sh [2020-10-06T02:48:48.482Z] ++ facter osfamily [2020-10-06T02:48:48.482Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-06T02:48:48.482Z] + OS_FAMILY=redhat [2020-10-06T02:48:48.482Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-06T02:48:48.482Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-06T02:48:48.482Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-06T02:48:48.482Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-06T02:48:48.482Z] + PACKAGES=/tmp/packages_start.txt [2020-10-06T02:48:48.482Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-10-06T02:48:48.483Z] + PACKAGES=/tmp/packages_end.txt [2020-10-06T02:48:48.483Z] + case "${OS_FAMILY}" in [2020-10-06T02:48:48.483Z] + rpm -qa [2020-10-06T02:48:48.483Z] + sort [2020-10-06T02:48:52.701Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-06T02:48:52.701Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-06T02:48:52.701Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-06T02:48:52.701Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-10-06T02:48:52.701Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [2020-10-06T02:48:52.701Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-06T02:48:53.395Z] provisioning config files... [2020-10-06T02:48:53.410Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config4042813001439307891tmp [Pipeline] { [Pipeline] echo [2020-10-06T02:48:53.491Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T02:48:53.788Z] ---> create-netrc.sh [Pipeline] } [2020-10-06T02:48:53.804Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-06T02:48:53.896Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T02:48:54.195Z] ---> python-tools-install.sh [2020-10-06T02:48:54.195Z] Generating Requirements File [2020-10-06T02:50:01.995Z] Python 3.6.8 [2020-10-06T02:50:01.995Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-06T02:50:01.995Z] appdirs==1.4.3 [2020-10-06T02:50:01.995Z] argcomplete==1.12.1 [2020-10-06T02:50:01.995Z] aspy.yaml==1.3.0 [2020-10-06T02:50:01.995Z] attrs==19.3.0 [2020-10-06T02:50:01.995Z] Babel==2.8.0 [2020-10-06T02:50:01.995Z] beautifulsoup4==4.8.2 [2020-10-06T02:50:01.995Z] boto3==1.11.6 [2020-10-06T02:50:01.995Z] botocore==1.14.6 [2020-10-06T02:50:01.995Z] bs4==0.0.1 [2020-10-06T02:50:01.995Z] cachetools==4.1.1 [2020-10-06T02:50:01.995Z] certifi==2019.11.28 [2020-10-06T02:50:01.995Z] cffi==1.14.3 [2020-10-06T02:50:01.995Z] cfgv==2.0.1 [2020-10-06T02:50:01.995Z] chardet==3.0.4 [2020-10-06T02:50:01.995Z] click==7.1 [2020-10-06T02:50:01.995Z] cliff==3.4.0 [2020-10-06T02:50:01.995Z] cmd2==1.3.11 [2020-10-06T02:50:01.995Z] colorama==0.4.3 [2020-10-06T02:50:01.995Z] cryptography==3.1.1 [2020-10-06T02:50:01.995Z] debtcollector==2.2.0 [2020-10-06T02:50:01.995Z] decorator==4.4.2 [2020-10-06T02:50:01.995Z] defusedxml==0.6.0 [2020-10-06T02:50:01.995Z] Deprecated==1.2.7 [2020-10-06T02:50:01.995Z] distlib==0.3.1 [2020-10-06T02:50:01.995Z] distro==1.2.0 [2020-10-06T02:50:01.995Z] dnspython==1.16.0 [2020-10-06T02:50:01.995Z] docker==4.2.0 [2020-10-06T02:50:01.995Z] docutils==0.15.2 [2020-10-06T02:50:01.995Z] dogpile.cache==1.0.2 [2020-10-06T02:50:01.995Z] email-validator==1.0.5 [2020-10-06T02:50:01.995Z] filelock==3.0.12 [2020-10-06T02:50:01.995Z] future==0.18.2 [2020-10-06T02:50:01.995Z] google-auth==1.22.1 [2020-10-06T02:50:01.995Z] httplib2==0.17.0 [2020-10-06T02:50:01.995Z] identify==1.4.11 [2020-10-06T02:50:01.995Z] idna==2.9 [2020-10-06T02:50:01.995Z] importlib-metadata==1.7.0 [2020-10-06T02:50:01.995Z] importlib-resources==1.5.0 [2020-10-06T02:50:01.995Z] iso8601==0.1.13 [2020-10-06T02:50:01.995Z] Jinja2==2.11.1 [2020-10-06T02:50:01.995Z] jmespath==0.10.0 [2020-10-06T02:50:01.995Z] jsonpatch==1.26 [2020-10-06T02:50:01.995Z] jsonpointer==2.0 [2020-10-06T02:50:01.995Z] jsonschema==3.2.0 [2020-10-06T02:50:01.995Z] keystoneauth1==4.2.1 [2020-10-06T02:50:01.995Z] kubernetes==11.0.0 [2020-10-06T02:50:01.995Z] lftools==0.34.2 [2020-10-06T02:50:01.995Z] lxml==4.5.0 [2020-10-06T02:50:01.995Z] MarkupSafe==0.23 [2020-10-06T02:50:01.995Z] msgpack==1.0.0 [2020-10-06T02:50:01.995Z] multi-key-dict==2.0.3 [2020-10-06T02:50:01.995Z] munch==2.5.0 [2020-10-06T02:50:01.995Z] netaddr==0.8.0 [2020-10-06T02:50:01.995Z] netifaces==0.10.9 [2020-10-06T02:50:01.995Z] niet==1.4.2 [2020-10-06T02:50:01.995Z] nodeenv==1.3.5 [2020-10-06T02:50:01.995Z] oauth2client==4.1.3 [2020-10-06T02:50:01.995Z] oauthlib==3.1.0 [2020-10-06T02:50:01.995Z] openstacksdk==0.50.0 [2020-10-06T02:50:01.995Z] os-client-config==2.1.0 [2020-10-06T02:50:01.995Z] os-service-types==1.7.0 [2020-10-06T02:50:01.995Z] osc-lib==2.2.1 [2020-10-06T02:50:01.995Z] oslo.config==8.3.2 [2020-10-06T02:50:01.995Z] oslo.context==3.1.1 [2020-10-06T02:50:01.995Z] oslo.i18n==5.0.1 [2020-10-06T02:50:01.995Z] oslo.log==4.4.0 [2020-10-06T02:50:01.995Z] oslo.serialization==4.0.1 [2020-10-06T02:50:01.995Z] oslo.utils==4.6.0 [2020-10-06T02:50:01.995Z] packaging==20.4 [2020-10-06T02:50:01.995Z] pbr==5.4.4 [2020-10-06T02:50:01.995Z] pluggy==0.13.1 [2020-10-06T02:50:01.995Z] prettytable==0.7.2 [2020-10-06T02:50:01.995Z] py==1.9.0 [2020-10-06T02:50:01.995Z] pyasn1==0.4.8 [2020-10-06T02:50:01.995Z] pyasn1-modules==0.2.8 [2020-10-06T02:50:01.995Z] pycparser==2.20 [2020-10-06T02:50:01.995Z] pygerrit2==2.0.10 [2020-10-06T02:50:01.995Z] PyGithub==1.46 [2020-10-06T02:50:01.995Z] pyinotify==0.9.6 [2020-10-06T02:50:01.995Z] PyJWT==1.7.1 [2020-10-06T02:50:01.995Z] pyparsing==2.4.7 [2020-10-06T02:50:01.995Z] pyperclip==1.8.0 [2020-10-06T02:50:01.995Z] pyroute2==0.4.13 [2020-10-06T02:50:01.995Z] pyrsistent==0.15.7 [2020-10-06T02:50:01.995Z] PySocks==1.6.8 [2020-10-06T02:50:01.995Z] python-cinderclient==7.2.0 [2020-10-06T02:50:01.995Z] python-dateutil==2.8.1 [2020-10-06T02:50:01.995Z] python-heatclient==2.2.1 [2020-10-06T02:50:01.995Z] python-jenkins==1.7.0 [2020-10-06T02:50:01.995Z] python-keystoneclient==4.1.1 [2020-10-06T02:50:01.995Z] python-magnumclient==3.2.1 [2020-10-06T02:50:01.995Z] python-novaclient==17.2.1 [2020-10-06T02:50:01.995Z] python-openstackclient==5.4.0 [2020-10-06T02:50:01.995Z] python-swiftclient==3.10.1 [2020-10-06T02:50:01.995Z] pytz==2020.1 [2020-10-06T02:50:01.995Z] PyYAML==5.3 [2020-10-06T02:50:01.995Z] requests==2.23.0 [2020-10-06T02:50:01.995Z] requests-oauthlib==1.3.0 [2020-10-06T02:50:01.995Z] requestsexceptions==1.4.0 [2020-10-06T02:50:01.995Z] rfc3986==1.4.0 [2020-10-06T02:50:01.995Z] rpm==4.11.3 [2020-10-06T02:50:01.995Z] rsa==4.0 [2020-10-06T02:50:01.995Z] ruamel.yaml==0.16.10 [2020-10-06T02:50:01.995Z] ruamel.yaml.clib==0.2.0 [2020-10-06T02:50:01.995Z] s3transfer==0.3.3 [2020-10-06T02:50:01.995Z] shade==1.27.2 [2020-10-06T02:50:01.995Z] simplejson==3.17.2 [2020-10-06T02:50:01.995Z] six==1.14.0 [2020-10-06T02:50:01.995Z] soupsieve==2.0 [2020-10-06T02:50:01.995Z] stevedore==3.2.2 [2020-10-06T02:50:01.995Z] tabulate==0.8.6 [2020-10-06T02:50:01.995Z] toml==0.10.0 [2020-10-06T02:50:01.995Z] tox==3.20.0 [2020-10-06T02:50:01.995Z] tqdm==4.43.0 [2020-10-06T02:50:01.995Z] urllib3==1.25.8 [2020-10-06T02:50:01.995Z] virtualenv==20.0.33 [2020-10-06T02:50:01.995Z] wcwidth==0.2.5 [2020-10-06T02:50:01.995Z] websocket-client==0.57.0 [2020-10-06T02:50:01.995Z] wrapt==1.12.1 [2020-10-06T02:50:01.995Z] xdg==3.0.2 [2020-10-06T02:50:01.995Z] xmltodict==0.12.0 [2020-10-06T02:50:01.995Z] yq==2.11.1 [2020-10-06T02:50:01.995Z] zipp==3.3.0 [2020-10-06T02:50:01.995Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:50:04.574Z] 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:50:07.134Z] Python 2.7.5 [2020-10-06T02:50:07.397Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-06T02:50:07.971Z] 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:50:07.971Z] ansible==2.9.7 [2020-10-06T02:50:07.971Z] Babel==0.9.6 [2020-10-06T02:50:07.971Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-06T02:50:07.971Z] beautifulsoup4==4.4.1 [2020-10-06T02:50:07.971Z] bodhi==2.11.0 [2020-10-06T02:50:07.971Z] bodhi-client==2.11.0 [2020-10-06T02:50:07.971Z] CCColUtils==1.4 [2020-10-06T02:50:07.971Z] cffi==1.6.0 [2020-10-06T02:50:07.971Z] chardet==2.2.1 [2020-10-06T02:50:07.971Z] click==6.7 [2020-10-06T02:50:07.971Z] cloud-init==18.5 [2020-10-06T02:50:07.971Z] configobj==4.7.2 [2020-10-06T02:50:07.971Z] cryptography==1.7.2 [2020-10-06T02:50:07.971Z] decorator==3.4.0 [2020-10-06T02:50:07.971Z] distro==1.2.0 [2020-10-06T02:50:07.971Z] enum34==1.0.4 [2020-10-06T02:50:07.971Z] fedpkg==1.38 [2020-10-06T02:50:07.971Z] futures==3.1.1 [2020-10-06T02:50:07.971Z] gitdb==0.6.4 [2020-10-06T02:50:07.971Z] GitPython==1.0.1 [2020-10-06T02:50:07.971Z] html5lib==0.999 [2020-10-06T02:50:07.971Z] httplib2==0.9.2 [2020-10-06T02:50:07.971Z] idna==2.4 [2020-10-06T02:50:07.971Z] iniparse==0.4 [2020-10-06T02:50:07.971Z] ipaddress==1.0.16 [2020-10-06T02:50:07.971Z] IPy==0.75 [2020-10-06T02:50:07.971Z] javapackages==1.0.0 [2020-10-06T02:50:07.971Z] Jinja2==2.7.2 [2020-10-06T02:50:07.971Z] jmespath==0.9.4 [2020-10-06T02:50:07.971Z] jsonpatch==1.2 [2020-10-06T02:50:07.971Z] jsonpointer==1.9 [2020-10-06T02:50:07.971Z] kerberos==1.1 [2020-10-06T02:50:07.971Z] kitchen==1.1.1 [2020-10-06T02:50:07.971Z] langtable==0.0.31 [2020-10-06T02:50:07.971Z] lockfile==0.9.1 [2020-10-06T02:50:07.971Z] lxml==3.2.1 [2020-10-06T02:50:07.971Z] MarkupSafe==0.11 [2020-10-06T02:50:07.971Z] munch==2.0.2 [2020-10-06T02:50:07.971Z] offtrac==0.1.0 [2020-10-06T02:50:07.971Z] openidc-client==0.6.0 [2020-10-06T02:50:07.971Z] packagedb-cli==2.14.1 [2020-10-06T02:50:07.971Z] paramiko==2.1.1 [2020-10-06T02:50:07.971Z] perf==0.1 [2020-10-06T02:50:07.971Z] ply==3.4 [2020-10-06T02:50:07.971Z] policycoreutils-default-encoding==0.1 [2020-10-06T02:50:07.971Z] prettytable==0.7.2 [2020-10-06T02:50:07.971Z] pyasn1==0.1.9 [2020-10-06T02:50:07.971Z] pycparser==2.14 [2020-10-06T02:50:07.971Z] pycurl==7.19.0 [2020-10-06T02:50:07.971Z] pygobject==3.22.0 [2020-10-06T02:50:07.971Z] pygpgme==0.3 [2020-10-06T02:50:07.971Z] pyliblzma==0.5.3 [2020-10-06T02:50:07.971Z] pyOpenSSL==0.13.1 [2020-10-06T02:50:07.971Z] pyparsing==1.5.6 [2020-10-06T02:50:07.971Z] pyserial==2.6 [2020-10-06T02:50:07.971Z] python-augeas==0.5.0 [2020-10-06T02:50:07.971Z] python-bugzilla==2.3.0 [2020-10-06T02:50:07.971Z] python-dateutil==1.5 [2020-10-06T02:50:07.971Z] python-fedora==0.10.0 [2020-10-06T02:50:07.971Z] python-linux-procfs==0.4.9 [2020-10-06T02:50:07.971Z] python-yubico==1.2.3 [2020-10-06T02:50:07.971Z] pyudev==0.15 [2020-10-06T02:50:07.971Z] pyusb==1.0.0b1 [2020-10-06T02:50:07.971Z] pyxattr==0.5.1 [2020-10-06T02:50:07.971Z] PyYAML==3.10 [2020-10-06T02:50:07.971Z] requests==2.6.0 [2020-10-06T02:50:07.971Z] requests-kerberos==0.7.0 [2020-10-06T02:50:07.971Z] rpkg==1.60 [2020-10-06T02:50:07.971Z] schedutils==0.4 [2020-10-06T02:50:07.971Z] seobject==0.1 [2020-10-06T02:50:07.971Z] sepolicy==1.1 [2020-10-06T02:50:07.971Z] six==1.9.0 [2020-10-06T02:50:07.971Z] smmap==0.9.0 [2020-10-06T02:50:07.971Z] urlgrabber==3.10 [2020-10-06T02:50:07.971Z] urllib3==1.10.2 [2020-10-06T02:50:07.971Z] virtualenv==15.1.0 [2020-10-06T02:50:07.971Z] yum-langpacks==0.4.2 [2020-10-06T02:50:07.971Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-06T02:50:07.982Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T02:50:08.285Z] ---> sudo-logs.sh [2020-10-06T02:50:08.285Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-06T02:50:08.558Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T02:50:08.855Z] ---> job-cost.sh [2020-10-06T02:50:08.855Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GW1w [2020-10-06T02:50:21.126Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:50:21.126Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:50:21.126Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:50:21.126Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:50:21.126Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:50:21.126Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:50:21.126Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:50:21.126Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:50:21.391Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:50:21.391Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:50:21.391Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:50:21.654Z] Cache entry deserialization failed, entry ignored [2020-10-06T02:50:24.975Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-06T02:50:51.767Z] lf-activate-venv(): INFO: Adding /tmp/venv-GW1w/bin to PATH [2020-10-06T02:50:51.767Z] INFO: No Stack... [2020-10-06T02:50:51.767Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-06T02:50:52.341Z] INFO: Archiving Costs [Pipeline] echo [2020-10-06T02:50:52.355Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T02:50:52.656Z] ---> logs-deploy.sh [2020-10-06T02:50:52.656Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/16 [2020-10-06T02:50:52.656Z] INFO: archiving workspace using pattern(s): [2020-10-06T02:50:55.971Z] Archives upload complete. [2020-10-06T02:50:56.233Z] INFO: archiving logs to Nexus