Pull request #603 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e0816de6bd9f87362a8b13fad602c13d1d1454dd+51b10ba24d09b5e22132647652f16c288a0af487 (829ce391cf257912497596b7d8a2d456454ab8ec) 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, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3670 in /w/workspace/dgexfoundry_device-sdk-go_PR-603 [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-603 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/603/head:refs/remotes/origin/PR-603 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 51b10ba24d09b5e22132647652f16c288a0af487 into PR head commit e0816de6bd9f87362a8b13fad602c13d1d1454dd Merge succeeded, producing e0816de6bd9f87362a8b13fad602c13d1d1454dd Checking out Revision e0816de6bd9f87362a8b13fad602c13d1d1454dd (PR-603) > git config core.sparsecheckout # timeout=10 > git checkout -f e0816de6bd9f87362a8b13fad602c13d1d1454dd # 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 51b10ba24d09b5e22132647652f16c288a0af487 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0816de6bd9f87362a8b13fad602c13d1d1454dd # timeout=10 Commit message: "feat: implement v2 discovery API" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-06T06:01:58.031Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-06T06:01:58.344Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-06T06:01:58.480Z] ========================================================= [2020-10-06T06:01:58.480Z] EdgeX Global Pipelines Version Info [2020-10-06T06:01:58.480Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk cb4f0b6383920d77abe7bdff2836b6cd1ab44874 # timeout=10 [2020-10-06T06:02:00.169Z] ------------------- [2020-10-06T06:02:00.169Z] stable info: [2020-10-06T06:02:00.169Z] ------------------- [2020-10-06T06:02:00.169Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-06T06:02:00.169Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-06T06:02:00.169Z] Message: update stable to v1.0.131 [2020-10-06T06:02:01.120Z] ------------------- [2020-10-06T06:02:01.120Z] experimental info: [2020-10-06T06:02:01.120Z] ------------------- [2020-10-06T06:02:01.120Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-06T06:02:01.120Z] Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a [2020-10-06T06:02:01.120Z] Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-06T06:02:01.565Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-06T06:02:01.671Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-06T06:02:01.771Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-06T06:02:01.876Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-06T06:02:01.977Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-06T06:02:02.106Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-06T06:02:02.208Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-06T06:02:02.319Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-06T06:02:02.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-06T06:02:02.530Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-06T06:02:02.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-06T06:02:02.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-06T06:02:02.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-06T06:02:02.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-06T06:02:03.081Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-06T06:02:03.179Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T06:02:03.279Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T06:02:03.409Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T06:02:03.508Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-06T06:02:03.636Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-06T06:02:03.735Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-06T06:02:03.829Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-06T06:02:03.936Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-06T06:02:04.054Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-06T06:02:04.146Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-06T06:02:04.237Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-603 [Pipeline] echo [2020-10-06T06:02:04.347Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-603 [Pipeline] echo [2020-10-06T06:02:04.445Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-603 [Pipeline] echo [2020-10-06T06:02:04.537Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e0816de6bd9f87362a8b13fad602c13d1d1454dd [Pipeline] echo [2020-10-06T06:02:04.632Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e0816de [Pipeline] echo [2020-10-06T06:02:04.767Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-06T06:02:05.393Z] + git log --format=format:%s -1 e0816de6bd9f87362a8b13fad602c13d1d1454dd [Pipeline] echo [2020-10-06T06:02:05.462Z] GIT_COMMIT: e0816de6bd9f87362a8b13fad602c13d1d1454dd, Commit Message: feat: implement v2 discovery API [Pipeline] echo [2020-10-06T06:02:05.512Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:02:06.359Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T06:02:06.623Z] [2020-10-06T06:02:06.624Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:02:07.005Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T06:02:07.005Z] latest: Pulling from edgex-devops/git-semver [2020-10-06T06:02:07.005Z] 31603596830f: Pulling fs layer [2020-10-06T06:02:07.005Z] 2a8b12db71e7: Pulling fs layer [2020-10-06T06:02:07.005Z] 6ca5941a6612: Pulling fs layer [2020-10-06T06:02:07.005Z] ecc8261a40a4: Pulling fs layer [2020-10-06T06:02:07.005Z] ecc8261a40a4: Waiting [2020-10-06T06:02:07.005Z] 2a8b12db71e7: Download complete [2020-10-06T06:02:07.271Z] 31603596830f: Verifying Checksum [2020-10-06T06:02:07.271Z] 31603596830f: Download complete [2020-10-06T06:02:07.271Z] ecc8261a40a4: Verifying Checksum [2020-10-06T06:02:07.271Z] ecc8261a40a4: Download complete [2020-10-06T06:02:07.271Z] 6ca5941a6612: Verifying Checksum [2020-10-06T06:02:07.271Z] 6ca5941a6612: Download complete [2020-10-06T06:02:07.537Z] 31603596830f: Pull complete [2020-10-06T06:02:07.537Z] 2a8b12db71e7: Pull complete [2020-10-06T06:02:08.493Z] 6ca5941a6612: Pull complete [2020-10-06T06:02:08.493Z] ecc8261a40a4: Pull complete [2020-10-06T06:02:08.493Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-06T06:02:08.493Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T06:02:08.493Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-06T06:02:08.604Z] prd-centos7-docker-4c-2g-3670 does not seem to be running inside a container [2020-10-06T06:02:08.672Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-603 -v /w/workspace/dgexfoundry_device-sdk-go_PR-603:/w/workspace/dgexfoundry_device-sdk-go_PR-603:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-603@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-06T06:02:10.608Z] $ docker top 604c2cecbdff3618fc56eeb015b5faaf3778f7ef52eb7893a7b3a63579656cd2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-06T06:02:11.070Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-06T06:02:11.070Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-06T06:02:11.258Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-06T06:02:11.266Z] $ docker exec 604c2cecbdff3618fc56eeb015b5faaf3778f7ef52eb7893a7b3a63579656cd2 ssh-agent [2020-10-06T06:02:11.423Z] SSH_AUTH_SOCK=/tmp/ssh-jE9LZqsMFshZ/agent.12 [2020-10-06T06:02:11.423Z] SSH_AGENT_PID=17 [2020-10-06T06:02:11.434Z] Running ssh-add (command line suppressed) [2020-10-06T06:02:11.559Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp/private_key_2473480763794951065.key (/w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp/private_key_2473480763794951065.key) [2020-10-06T06:02:11.603Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-06T06:02:11.946Z] + git describe --exact-match --tags HEAD [2020-10-06T06:02:11.946Z] fatal: no tag exactly matches 'e0816de6bd9f87362a8b13fad602c13d1d1454dd' [Pipeline] } [2020-10-06T06:02:11.975Z] $ docker exec --env ******** --env ******** 604c2cecbdff3618fc56eeb015b5faaf3778f7ef52eb7893a7b3a63579656cd2 ssh-agent -k [2020-10-06T06:02:12.092Z] unset SSH_AUTH_SOCK; [2020-10-06T06:02:12.093Z] unset SSH_AGENT_PID; [2020-10-06T06:02:12.093Z] echo Agent pid 17 killed; [2020-10-06T06:02:12.133Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-06T06:02:12.272Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-06T06:02:12.272Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-06T06:02:12.371Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-06T06:02:12.371Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-06T06:02:12.527Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-06T06:02:12.536Z] $ docker exec 604c2cecbdff3618fc56eeb015b5faaf3778f7ef52eb7893a7b3a63579656cd2 ssh-agent [2020-10-06T06:02:12.684Z] SSH_AUTH_SOCK=/tmp/ssh-sYbFskdKqz15/agent.46 [2020-10-06T06:02:12.684Z] SSH_AGENT_PID=51 [2020-10-06T06:02:12.690Z] Running ssh-add (command line suppressed) [2020-10-06T06:02:12.812Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp/private_key_7004823974536523507.key (/w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp/private_key_7004823974536523507.key) [2020-10-06T06:02:12.851Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-06T06:02:13.182Z] + git semver init [2020-10-06T06:02:13.182Z] # -> Open(): unable to determine branch for HEAD [2020-10-06T06:02:13.182Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-603/.git [2020-10-06T06:02:13.182Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-603 [2020-10-06T06:02:13.182Z] # $SEMVER_REMOTE_NAME = origin [2020-10-06T06:02:13.182Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-06T06:02:13.182Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-06T06:02:13.182Z] # $SEMVER_BRANCH = PR-603 [2020-10-06T06:02:13.182Z] # $SEMVER_TEMP = /tmp/semver-811587531 [2020-10-06T06:02:13.182Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-06T06:02:13.753Z] # '/tmp/semver-811587531' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-603/.semver' [2020-10-06T06:02:13.753Z] # -> Force: false [2020-10-06T06:02:13.753Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-603/.semver [Pipeline] } [2020-10-06T06:02:13.770Z] $ docker exec --env ******** --env ******** 604c2cecbdff3618fc56eeb015b5faaf3778f7ef52eb7893a7b3a63579656cd2 ssh-agent -k [2020-10-06T06:02:13.881Z] unset SSH_AUTH_SOCK; [2020-10-06T06:02:13.881Z] unset SSH_AGENT_PID; [2020-10-06T06:02:13.881Z] echo Agent pid 51 killed; [2020-10-06T06:02:13.920Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-06T06:02:14.410Z] + git semver [Pipeline] } [2020-10-06T06:02:14.433Z] $ docker stop --time=1 604c2cecbdff3618fc56eeb015b5faaf3778f7ef52eb7893a7b3a63579656cd2 [2020-10-06T06:02:15.834Z] $ docker rm -f 604c2cecbdff3618fc56eeb015b5faaf3778f7ef52eb7893a7b3a63579656cd2 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-06T06:02:16.731Z] Stashed 45 file(s) [Pipeline] echo [2020-10-06T06:02:16.734Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-06T06:02:16.839Z] 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-06T06:02:32.240Z] Still waiting to schedule task [2020-10-06T06:02:32.240Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-06T06:02:32.242Z] Still waiting to schedule task [2020-10-06T06:02:32.242Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-06T06:04:27.057Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3671 in /w/workspace/dgexfoundry_device-sdk-go_PR-603 [Pipeline] { [Pipeline] ws [2020-10-06T06:04:27.117Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2020-10-06T06:04:32.116Z] using credential edgex-jenkins-ssh [2020-10-06T06:04:32.182Z] Cloning the remote Git repository [2020-10-06T06:04:32.245Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:04:32.352Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2020-10-06T06:04:32.426Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:04:32.426Z] > git --version # timeout=10 [2020-10-06T06:04:32.448Z] > git --version # 'git version 2.17.1' [2020-10-06T06:04:32.450Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:04:32.530Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T06:04:34.275Z] Merging remotes/origin/master commit 51b10ba24d09b5e22132647652f16c288a0af487 into PR head commit e0816de6bd9f87362a8b13fad602c13d1d1454dd [2020-10-06T06:04:34.672Z] Merge succeeded, producing e0816de6bd9f87362a8b13fad602c13d1d1454dd [2020-10-06T06:04:34.673Z] Checking out Revision e0816de6bd9f87362a8b13fad602c13d1d1454dd (PR-603) [2020-10-06T06:04:33.542Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T06:04:33.562Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T06:04:33.597Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T06:04:33.651Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:04:33.652Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:04:33.665Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/603/head:refs/remotes/origin/PR-603 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-06T06:04:34.316Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T06:04:34.343Z] > git checkout -f e0816de6bd9f87362a8b13fad602c13d1d1454dd # timeout=10 [2020-10-06T06:04:34.515Z] > git remote # timeout=10 [2020-10-06T06:04:34.545Z] > git config --get remote.origin.url # timeout=10 [2020-10-06T06:04:34.583Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:04:34.603Z] > git merge 51b10ba24d09b5e22132647652f16c288a0af487 # timeout=10 [2020-10-06T06:04:34.649Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-06T06:04:34.694Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T06:04:34.746Z] > git checkout -f e0816de6bd9f87362a8b13fad602c13d1d1454dd # timeout=10 [2020-10-06T06:04:38.996Z] Commit message: "feat: implement v2 discovery API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-06T06:04:40.411Z] ========================================================= [2020-10-06T06:04:40.411Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-06T06:04:40.411Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:04:41.657Z] + 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-06T06:04:42.647Z] Sending build context to Docker daemon 3.54MB [2020-10-06T06:04:42.647Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-06T06:04:42.647Z] Step 2/8 : FROM ${BASE} [2020-10-06T06:04:42.921Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-06T06:04:42.921Z] b538f80385f9: Pulling fs layer [2020-10-06T06:04:42.921Z] 74f711af9a0d: Pulling fs layer [2020-10-06T06:04:42.921Z] 99f96fe45779: Pulling fs layer [2020-10-06T06:04:42.921Z] 8529a6b9a6be: Pulling fs layer [2020-10-06T06:04:42.921Z] 45590311c82a: Pulling fs layer [2020-10-06T06:04:42.921Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-06T06:04:42.921Z] 209524e5b208: Pulling fs layer [2020-10-06T06:04:42.921Z] 8529a6b9a6be: Waiting [2020-10-06T06:04:42.921Z] 45590311c82a: Waiting [2020-10-06T06:04:42.921Z] 69ca0ff8b7b3: Waiting [2020-10-06T06:04:42.921Z] 209524e5b208: Waiting [2020-10-06T06:04:42.921Z] 99f96fe45779: Verifying Checksum [2020-10-06T06:04:42.921Z] 99f96fe45779: Download complete [2020-10-06T06:04:42.921Z] 74f711af9a0d: Verifying Checksum [2020-10-06T06:04:42.921Z] 74f711af9a0d: Download complete [2020-10-06T06:04:42.921Z] 45590311c82a: Verifying Checksum [2020-10-06T06:04:42.921Z] 45590311c82a: Download complete [2020-10-06T06:04:42.921Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-06T06:04:42.921Z] 69ca0ff8b7b3: Download complete [2020-10-06T06:04:43.906Z] b538f80385f9: Verifying Checksum [2020-10-06T06:04:43.906Z] b538f80385f9: Download complete [2020-10-06T06:04:44.513Z] b538f80385f9: Pull complete [2020-10-06T06:04:45.116Z] 74f711af9a0d: Pull complete [2020-10-06T06:04:45.717Z] 99f96fe45779: Pull complete [2020-10-06T06:04:46.694Z] 209524e5b208: Verifying Checksum [2020-10-06T06:04:46.694Z] 209524e5b208: Download complete [2020-10-06T06:04:47.289Z] 8529a6b9a6be: Verifying Checksum [2020-10-06T06:04:47.289Z] 8529a6b9a6be: Download complete [2020-10-06T06:04:57.447Z] 8529a6b9a6be: Pull complete [2020-10-06T06:04:57.447Z] 45590311c82a: Pull complete [2020-10-06T06:04:57.723Z] 69ca0ff8b7b3: Pull complete [2020-10-06T06:05:02.056Z] 209524e5b208: Pull complete [2020-10-06T06:05:02.056Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-06T06:05:02.056Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-06T06:05:02.056Z] ---> 5bddaf1c2fca [2020-10-06T06:05:02.056Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:05:04.680Z] ---> Running in 189359e1982d [2020-10-06T06:05:04.680Z] Removing intermediate container 189359e1982d [2020-10-06T06:05:04.680Z] ---> ef36aadc9c53 [2020-10-06T06:05:04.680Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T06:05:04.952Z] ---> Running in a7fd4ac07cc9 [2020-10-06T06:05:07.585Z] Removing intermediate container a7fd4ac07cc9 [2020-10-06T06:05:07.585Z] ---> 3fed3acadc2d [2020-10-06T06:05:07.585Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-06T06:05:07.585Z] ---> Running in f108bbbeb7ab [2020-10-06T06:05:09.036Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-06T06:05:09.630Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-06T06:05:10.234Z] OK: 142 MiB in 39 packages [2020-10-06T06:05:11.217Z] Removing intermediate container f108bbbeb7ab [2020-10-06T06:05:11.217Z] ---> 455bc1a11633 [2020-10-06T06:05:11.217Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-06T06:05:11.493Z] ---> Running in c5f1448efe29 [2020-10-06T06:05:12.091Z] Removing intermediate container c5f1448efe29 [2020-10-06T06:05:12.091Z] ---> b2b7af63876c [2020-10-06T06:05:12.091Z] Step 7/8 : COPY . . [2020-10-06T06:05:13.531Z] ---> 27e2fe887a2b [2020-10-06T06:05:13.531Z] Step 8/8 : RUN go mod download [2020-10-06T06:05:13.531Z] ---> Running in 5ceffb0d4f43 [2020-10-06T06:05:25.948Z] Running on prd-centos7-docker-4c-2g-3673 in /w/workspace/dgexfoundry_device-sdk-go_PR-603 [Pipeline] { [Pipeline] ws [2020-10-06T06:05:26.039Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2020-10-06T06:05:33.182Z] using credential edgex-jenkins-ssh [2020-10-06T06:05:33.283Z] Cloning the remote Git repository [2020-10-06T06:05:33.317Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:05:33.388Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2020-10-06T06:05:33.462Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:05:33.463Z] > git --version # timeout=10 [2020-10-06T06:05:33.501Z] > git --version # 'git version 2.16.5' [2020-10-06T06:05:33.502Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:05:33.584Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T06:05:35.496Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T06:05:35.505Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T06:05:35.532Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T06:05:35.574Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:05:35.575Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:05:35.580Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/603/head:refs/remotes/origin/PR-603 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-06T06:05:35.723Z] Removing intermediate container 5ceffb0d4f43 [2020-10-06T06:05:35.724Z] ---> 31b5769d7dad [2020-10-06T06:05:35.724Z] Successfully built 31b5769d7dad [2020-10-06T06:05:35.724Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:05:36.082Z] Merging remotes/origin/master commit 51b10ba24d09b5e22132647652f16c288a0af487 into PR head commit e0816de6bd9f87362a8b13fad602c13d1d1454dd [2020-10-06T06:05:36.119Z] + docker inspect -f . ci-base-image-arm64 [2020-10-06T06:05:36.119Z] . [Pipeline] withDockerContainer [2020-10-06T06:05:36.341Z] Merge succeeded, producing e0816de6bd9f87362a8b13fad602c13d1d1454dd [2020-10-06T06:05:36.341Z] Checking out Revision e0816de6bd9f87362a8b13fad602c13d1d1454dd (PR-603) [2020-10-06T06:05:36.397Z] prd-ubuntu18.04-docker-arm64-4c-16g-3671 does not seem to be running inside a container [2020-10-06T06:05:36.492Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-06T06:05:36.095Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T06:05:36.129Z] > git checkout -f e0816de6bd9f87362a8b13fad602c13d1d1454dd # timeout=10 [2020-10-06T06:05:36.225Z] > git remote # timeout=10 [2020-10-06T06:05:36.271Z] > git config --get remote.origin.url # timeout=10 [2020-10-06T06:05:36.288Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:05:36.294Z] > git merge 51b10ba24d09b5e22132647652f16c288a0af487 # timeout=10 [2020-10-06T06:05:36.321Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-06T06:05:36.346Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T06:05:36.369Z] > git checkout -f e0816de6bd9f87362a8b13fad602c13d1d1454dd # timeout=10 [2020-10-06T06:05:38.327Z] $ docker top 7cf609be886f62166b4dce4f900bf2dd4c9acc1296b8d19cd442a827a70650f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T06:05:39.737Z] + go version [2020-10-06T06:05:39.737Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-06T06:05:39.765Z] $ docker stop --time=1 7cf609be886f62166b4dce4f900bf2dd4c9acc1296b8d19cd442a827a70650f2 [2020-10-06T06:05:40.366Z] Commit message: "feat: implement v2 discovery API" [2020-10-06T06:05:41.774Z] $ docker rm -f 7cf609be886f62166b4dce4f900bf2dd4c9acc1296b8d19cd442a827a70650f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-10-06T06:05:42.859Z] + docker inspect -f . ci-base-image-arm64 [2020-10-06T06:05:42.859Z] . [Pipeline] withDockerContainer [2020-10-06T06:05:43.121Z] prd-ubuntu18.04-docker-arm64-4c-16g-3671 does not seem to be running inside a container [2020-10-06T06:05:43.206Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-06T06:05:45.066Z] $ docker top fa504f49be4de4feb184d5af805dd4a669fb3ac7cd3f3dfff90fed3ff8126429 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-10-06T06:05:45.451Z] ========================================================= [2020-10-06T06:05:45.451Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-06T06:05:45.451Z] ========================================================= [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:05:46.491Z] + make test [2020-10-06T06:05:46.491Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-06T06:05:46.630Z] + 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-06T06:05:47.242Z] Sending build context to Docker daemon 3.537MB [2020-10-06T06:05:47.242Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-06T06:05:47.242Z] Step 2/8 : FROM ${BASE} [2020-10-06T06:05:47.546Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-06T06:05:47.546Z] df20fa9351a1: Pulling fs layer [2020-10-06T06:05:47.546Z] ed8968b2872e: Pulling fs layer [2020-10-06T06:05:47.546Z] a92cc7c5fd73: Pulling fs layer [2020-10-06T06:05:47.546Z] e871e8e8d7a9: Pulling fs layer [2020-10-06T06:05:47.546Z] e73272ec9a57: Pulling fs layer [2020-10-06T06:05:47.546Z] 1e910a182e73: Pulling fs layer [2020-10-06T06:05:47.546Z] 4e634b169226: Pulling fs layer [2020-10-06T06:05:47.546Z] e871e8e8d7a9: Waiting [2020-10-06T06:05:47.546Z] e73272ec9a57: Waiting [2020-10-06T06:05:47.546Z] 1e910a182e73: Waiting [2020-10-06T06:05:47.546Z] 4e634b169226: Waiting [2020-10-06T06:05:47.546Z] a92cc7c5fd73: Verifying Checksum [2020-10-06T06:05:47.546Z] a92cc7c5fd73: Download complete [2020-10-06T06:05:47.546Z] ed8968b2872e: Verifying Checksum [2020-10-06T06:05:47.546Z] ed8968b2872e: Download complete [2020-10-06T06:05:47.546Z] e73272ec9a57: Verifying Checksum [2020-10-06T06:05:47.546Z] e73272ec9a57: Download complete [2020-10-06T06:05:47.546Z] 1e910a182e73: Verifying Checksum [2020-10-06T06:05:47.546Z] 1e910a182e73: Download complete [2020-10-06T06:05:47.818Z] df20fa9351a1: Verifying Checksum [2020-10-06T06:05:47.818Z] df20fa9351a1: Download complete [2020-10-06T06:05:48.087Z] df20fa9351a1: Pull complete [2020-10-06T06:05:48.401Z] ed8968b2872e: Pull complete [2020-10-06T06:05:48.709Z] a92cc7c5fd73: Pull complete [2020-10-06T06:05:53.225Z] 4e634b169226: Verifying Checksum [2020-10-06T06:05:53.225Z] 4e634b169226: Download complete [2020-10-06T06:05:54.864Z] e871e8e8d7a9: Verifying Checksum [2020-10-06T06:05:54.864Z] e871e8e8d7a9: Download complete [2020-10-06T06:06:03.323Z] e871e8e8d7a9: Pull complete [2020-10-06T06:06:03.323Z] e73272ec9a57: Pull complete [2020-10-06T06:06:03.323Z] 1e910a182e73: Pull complete [2020-10-06T06:06:07.706Z] 4e634b169226: Pull complete [2020-10-06T06:06:07.706Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-06T06:06:07.706Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-06T06:06:07.706Z] ---> f7629b54cfaa [2020-10-06T06:06:07.706Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:06:07.706Z] ---> Running in cc847ea34ae5 [2020-10-06T06:06:07.989Z] Removing intermediate container cc847ea34ae5 [2020-10-06T06:06:07.989Z] ---> 257ef86f1c88 [2020-10-06T06:06:07.989Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T06:06:07.989Z] ---> Running in 7e014fc7970e [2020-10-06T06:06:08.690Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-06T06:06:09.993Z] Removing intermediate container 7e014fc7970e [2020-10-06T06:06:09.993Z] ---> 9482060a640b [2020-10-06T06:06:09.993Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-06T06:06:09.993Z] ---> Running in 4306cc341204 [2020-10-06T06:06:10.267Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-06T06:06:11.237Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-06T06:06:11.515Z] OK: 166 MiB in 39 packages [2020-10-06T06:06:12.130Z] Removing intermediate container 4306cc341204 [2020-10-06T06:06:12.130Z] ---> 0883a71c7ecb [2020-10-06T06:06:12.130Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-06T06:06:12.130Z] ---> Running in 793cedbcc614 [2020-10-06T06:06:12.454Z] Removing intermediate container 793cedbcc614 [2020-10-06T06:06:12.454Z] ---> 1fd57e4a1371 [2020-10-06T06:06:12.454Z] Step 7/8 : COPY . . [2020-10-06T06:06:13.416Z] ---> f64807c364ff [2020-10-06T06:06:13.416Z] Step 8/8 : RUN go mod download [2020-10-06T06:06:13.713Z] ---> Running in 9c9e5a429208 [2020-10-06T06:06:35.936Z] Removing intermediate container 9c9e5a429208 [2020-10-06T06:06:35.936Z] ---> 25dd95a9eb38 [2020-10-06T06:06:35.936Z] Successfully built 25dd95a9eb38 [2020-10-06T06:06:35.936Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:06:36.398Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-06T06:06:36.399Z] . [Pipeline] withDockerContainer [2020-10-06T06:06:36.545Z] prd-centos7-docker-4c-2g-3673 does not seem to be running inside a container [2020-10-06T06:06:36.627Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-06T06:06:38.179Z] $ docker top 6a459099e6ccbbfafcdbae5541d5294b44974c1433b4a0fab72b65f360175c56 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T06:06:39.201Z] + go version [2020-10-06T06:06:39.201Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-06T06:06:39.225Z] $ docker stop --time=1 6a459099e6ccbbfafcdbae5541d5294b44974c1433b4a0fab72b65f360175c56 [2020-10-06T06:06:40.742Z] $ docker rm -f 6a459099e6ccbbfafcdbae5541d5294b44974c1433b4a0fab72b65f360175c56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:06:41.753Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-06T06:06:41.753Z] . [Pipeline] withDockerContainer [2020-10-06T06:06:41.891Z] prd-centos7-docker-4c-2g-3673 does not seem to be running inside a container [2020-10-06T06:06:41.964Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-06T06:06:42.872Z] $ docker top 899bc852063d8c7136e39f7c27eba976df494fa669256ba349c9680db6fc9255 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T06:06:43.530Z] + make test [2020-10-06T06:06:43.530Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-06T06:06:47.752Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-06T06:06:47.752Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-06T06:06:47.752Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-06T06:06:47.752Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.157s coverage: 21.6% of statements [2020-10-06T06:06:49.761Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.135s coverage: 97.1% of statements [2020-10-06T06:06:56.071Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-06T06:07:18.709Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-06T06:07:18.709Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-06T06:07:18.709Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-06T06:07:18.709Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.055s coverage: 21.6% of statements [2020-10-06T06:07:21.135Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.596s coverage: 97.1% of statements [2020-10-06T06:07:22.110Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.154s coverage: 9.4% of statements [2020-10-06T06:07:22.110Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.110s coverage: 21.9% of statements [2020-10-06T06:07:22.110Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-06T06:07:22.110Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.602s coverage: 40.3% of statements [2020-10-06T06:07:22.110Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-06T06:07:22.110Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.764s coverage: 65.4% of statements [2020-10-06T06:07:22.110Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-06T06:07:22.110Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-06T06:07:22.110Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-06T06:07:22.110Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-06T06:07:22.110Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.162s coverage: 52.6% of statements [2020-10-06T06:07:22.110Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-06T06:07:22.111Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.635s coverage: 68.9% of statements [2020-10-06T06:07:22.111Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-06T06:07:22.111Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-06T06:07:22.111Z] GO111MODULE=on go vet ./... [2020-10-06T06:07:48.977Z] gofmt -l . [2020-10-06T06:07:48.977Z] [ "`gofmt -l .`" = "" ] [2020-10-06T06:07:48.977Z] ./bin/test-attribution-txt.sh [2020-10-06T06:07:48.977Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-06T06:07:50.116Z] Stashed 1 file(s) [Pipeline] } [2020-10-06T06:07:50.129Z] $ docker stop --time=1 fa504f49be4de4feb184d5af805dd4a669fb3ac7cd3f3dfff90fed3ff8126429 [2020-10-06T06:07:52.517Z] $ docker rm -f fa504f49be4de4feb184d5af805dd4a669fb3ac7cd3f3dfff90fed3ff8126429 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-10-06T06:07:53.731Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.127s coverage: 9.4% of statements [2020-10-06T06:07:53.731Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.106s coverage: 21.9% of statements [2020-10-06T06:07:53.731Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-06T06:07:53.731Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.250s coverage: 40.3% of statements [2020-10-06T06:07:53.731Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-06T06:07:53.731Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.536s coverage: 65.4% of statements [2020-10-06T06:07:53.731Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-06T06:07:53.731Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-06T06:07:53.731Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-06T06:07:53.731Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-06T06:07:53.731Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.085s coverage: 52.6% of statements [2020-10-06T06:07:53.731Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-06T06:07:53.731Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.410s coverage: 68.9% of statements [2020-10-06T06:07:53.731Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-06T06:07:53.731Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-06T06:07:53.731Z] GO111MODULE=on go vet ./... [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-06T06:07:56.428Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-06T06:07:56.759Z] + ls -al . [2020-10-06T06:07:56.759Z] total 232 [2020-10-06T06:07:56.759Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 06:07 . [2020-10-06T06:07:56.759Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:04 .. [2020-10-06T06:07:56.759Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 6 06:04 .dockerignore [2020-10-06T06:07:56.759Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 06:04 .git [2020-10-06T06:07:56.759Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 06:04 .github [2020-10-06T06:07:56.759Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 6 06:04 .gitignore [2020-10-06T06:07:56.759Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 06:04 .semver [2020-10-06T06:07:56.759Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 6 06:04 Dockerfile.build [2020-10-06T06:07:56.759Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 6 06:04 Jenkinsfile [2020-10-06T06:07:56.759Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 6 06:04 LICENSE [2020-10-06T06:07:56.759Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 6 06:04 Makefile [2020-10-06T06:07:56.759Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 6 06:04 README.md [2020-10-06T06:07:56.759Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 6 06:04 RELEASE-NOTES.txt [2020-10-06T06:07:56.759Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 06:02 VERSION [2020-10-06T06:07:56.759Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 06:04 bin [2020-10-06T06:07:56.759Z] -rw-r--r-- 1 jenkins jenkins 111041 Oct 6 06:07 coverage.out [2020-10-06T06:07:56.759Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:04 example [2020-10-06T06:07:56.760Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 6 06:07 go.mod [2020-10-06T06:07:56.760Z] -rw-r--r-- 1 jenkins jenkins 13652 Oct 6 06:07 go.sum [2020-10-06T06:07:56.760Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 6 06:04 internal [2020-10-06T06:07:56.760Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:04 openapi [2020-10-06T06:07:56.760Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 6 06:04 pkg [2020-10-06T06:07:56.760Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:04 snap [2020-10-06T06:07:56.760Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 6 06:04 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:07:57.105Z] + 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=e0816de6bd9f87362a8b13fad602c13d1d1454dd --label arch=arm64 --label version=0.0.0 . [2020-10-06T06:07:57.707Z] Sending build context to Docker daemon 3.652MB [2020-10-06T06:07:57.707Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-06T06:07:57.707Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-06T06:07:57.707Z] ---> 31b5769d7dad [2020-10-06T06:07:57.707Z] Step 3/24 : ARG MAKE='make build' [2020-10-06T06:07:57.981Z] ---> Running in b719c938cf74 [2020-10-06T06:07:58.576Z] Removing intermediate container b719c938cf74 [2020-10-06T06:07:58.576Z] ---> 502389f7097e [2020-10-06T06:07:58.576Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-06T06:07:58.576Z] ---> Running in 37d3c8dc56a7 [2020-10-06T06:07:59.172Z] Removing intermediate container 37d3c8dc56a7 [2020-10-06T06:07:59.172Z] ---> 6657008b9db1 [2020-10-06T06:07:59.172Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:07:59.172Z] ---> Running in d3741b494d45 [2020-10-06T06:07:59.767Z] Removing intermediate container d3741b494d45 [2020-10-06T06:07:59.767Z] ---> 7c3f8d038c2b [2020-10-06T06:07:59.767Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T06:07:59.767Z] ---> Running in ced82cf9c0c9 [2020-10-06T06:08:02.385Z] Removing intermediate container ced82cf9c0c9 [2020-10-06T06:08:02.385Z] ---> f021164ef7fc [2020-10-06T06:08:02.385Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-06T06:08:02.385Z] ---> Running in fe2952003284 [2020-10-06T06:08:03.816Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-06T06:08:04.410Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-06T06:08:05.384Z] OK: 142 MiB in 39 packages [2020-10-06T06:08:06.362Z] Removing intermediate container fe2952003284 [2020-10-06T06:08:06.362Z] ---> b1ca62c5cc9f [2020-10-06T06:08:06.362Z] Step 8/24 : COPY . . [2020-10-06T06:08:06.595Z] gofmt -l . [2020-10-06T06:08:06.596Z] [ "`gofmt -l .`" = "" ] [2020-10-06T06:08:06.596Z] ./bin/test-attribution-txt.sh [2020-10-06T06:08:06.880Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-06T06:08:07.560Z] Warning: overwriting stash ‘coverage-report’ [2020-10-06T06:08:07.791Z] ---> 1737d23becc9 [2020-10-06T06:08:07.791Z] Step 9/24 : RUN ${MAKE} [2020-10-06T06:08:08.064Z] Stashed 1 file(s) [Pipeline] } [2020-10-06T06:08:08.068Z] ---> Running in 6825a346c70e [2020-10-06T06:08:08.079Z] $ docker stop --time=1 899bc852063d8c7136e39f7c27eba976df494fa669256ba349c9680db6fc9255 [2020-10-06T06:08:09.500Z] 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-06T06:08:10.289Z] $ docker rm -f 899bc852063d8c7136e39f7c27eba976df494fa669256ba349c9680db6fc9255 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-06T06:08:11.443Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-06T06:08:11.781Z] + ls -al . [2020-10-06T06:08:11.781Z] total 192 [2020-10-06T06:08:11.781Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 6 06:08 . [2020-10-06T06:08:11.781Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 6 06:05 .. [2020-10-06T06:08:11.781Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 6 06:05 bin [2020-10-06T06:08:11.781Z] -rw-r--r--. 1 jenkins jenkins 111041 Oct 6 06:07 coverage.out [2020-10-06T06:08:11.781Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 6 06:05 Dockerfile.build [2020-10-06T06:08:11.781Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 6 06:05 .dockerignore [2020-10-06T06:08:11.781Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 6 06:05 example [2020-10-06T06:08:11.781Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 6 06:05 .git [2020-10-06T06:08:11.781Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 6 06:05 .github [2020-10-06T06:08:11.781Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 6 06:05 .gitignore [2020-10-06T06:08:11.781Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 6 06:08 go.mod [2020-10-06T06:08:11.781Z] -rw-r--r--. 1 jenkins jenkins 13652 Oct 6 06:08 go.sum [2020-10-06T06:08:11.781Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 6 06:05 internal [2020-10-06T06:08:11.781Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 6 06:05 Jenkinsfile [2020-10-06T06:08:11.781Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 6 06:05 LICENSE [2020-10-06T06:08:11.781Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 6 06:05 Makefile [2020-10-06T06:08:11.781Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 6 06:05 openapi [2020-10-06T06:08:11.781Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 6 06:05 pkg [2020-10-06T06:08:11.781Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 6 06:05 README.md [2020-10-06T06:08:11.781Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 6 06:05 RELEASE-NOTES.txt [2020-10-06T06:08:11.781Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 6 06:05 .semver [2020-10-06T06:08:11.781Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 6 06:05 snap [2020-10-06T06:08:11.781Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 6 06:02 VERSION [2020-10-06T06:08:11.781Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 6 06:05 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:08:12.126Z] + 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=e0816de6bd9f87362a8b13fad602c13d1d1454dd --label arch=amd64 --label version=0.0.0 . [2020-10-06T06:08:12.396Z] Sending build context to Docker daemon 3.649MB [2020-10-06T06:08:12.711Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-06T06:08:12.711Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-06T06:08:12.711Z] ---> 25dd95a9eb38 [2020-10-06T06:08:12.711Z] Step 3/24 : ARG MAKE='make build' [2020-10-06T06:08:12.977Z] ---> Running in 2b529307af7c [2020-10-06T06:08:13.249Z] Removing intermediate container 2b529307af7c [2020-10-06T06:08:13.249Z] ---> fc7d96eb53a6 [2020-10-06T06:08:13.249Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-06T06:08:13.249Z] ---> Running in 48dcf9420f00 [2020-10-06T06:08:13.515Z] Removing intermediate container 48dcf9420f00 [2020-10-06T06:08:13.515Z] ---> 272d1ef5871e [2020-10-06T06:08:13.515Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:08:13.515Z] ---> Running in 20ccbafd91d0 [2020-10-06T06:08:13.797Z] Removing intermediate container 20ccbafd91d0 [2020-10-06T06:08:13.797Z] ---> 9d4cc9811fe3 [2020-10-06T06:08:13.797Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T06:08:13.797Z] ---> Running in 5c75de4fe88a [2020-10-06T06:08:15.217Z] Removing intermediate container 5c75de4fe88a [2020-10-06T06:08:15.217Z] ---> e240989ac668 [2020-10-06T06:08:15.217Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-06T06:08:15.217Z] ---> Running in 825ffd3d874b [2020-10-06T06:08:15.493Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-06T06:08:16.456Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-06T06:08:16.782Z] OK: 166 MiB in 39 packages [2020-10-06T06:08:17.381Z] Removing intermediate container 825ffd3d874b [2020-10-06T06:08:17.381Z] ---> 3d2c175f90a6 [2020-10-06T06:08:17.381Z] Step 8/24 : COPY . . [2020-10-06T06:08:18.370Z] ---> f24120d6189a [2020-10-06T06:08:18.370Z] Step 9/24 : RUN ${MAKE} [2020-10-06T06:08:18.661Z] ---> Running in f63babf02a6f [2020-10-06T06:08:18.930Z] 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-06T06:08:34.303Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-06T06:08:36.328Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-06T06:08:36.328Z] Removing intermediate container 6825a346c70e [2020-10-06T06:08:36.328Z] ---> 2d83b771ee28 [2020-10-06T06:08:36.328Z] Step 10/24 : FROM scratch [2020-10-06T06:08:36.328Z] ---> [2020-10-06T06:08:36.328Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:08:36.328Z] ---> Running in f4fb6f5609dc [2020-10-06T06:08:36.328Z] Removing intermediate container f4fb6f5609dc [2020-10-06T06:08:36.328Z] ---> 75378e37f7bb [2020-10-06T06:08:36.328Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-06T06:08:36.328Z] ---> Running in 65595f69dafc [2020-10-06T06:08:36.328Z] Removing intermediate container 65595f69dafc [2020-10-06T06:08:36.328Z] ---> cc2a4b9ca859 [2020-10-06T06:08:36.328Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-06T06:08:36.328Z] ---> Running in 3cdddbaffe1c [2020-10-06T06:08:36.600Z] Removing intermediate container 3cdddbaffe1c [2020-10-06T06:08:36.600Z] ---> 696c9dd70f64 [2020-10-06T06:08:36.600Z] Step 14/24 : WORKDIR / [2020-10-06T06:08:36.874Z] ---> Running in 6d54fd2176e8 [2020-10-06T06:08:37.148Z] Removing intermediate container 6d54fd2176e8 [2020-10-06T06:08:37.148Z] ---> 3a2cebe0937f [2020-10-06T06:08:37.148Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-06T06:08:38.579Z] ---> 4ff3e79d05df [2020-10-06T06:08:38.579Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-06T06:08:38.621Z] Removing intermediate container f63babf02a6f [2020-10-06T06:08:38.621Z] ---> 7655968d776a [2020-10-06T06:08:38.621Z] Step 10/24 : FROM scratch [2020-10-06T06:08:38.621Z] ---> [2020-10-06T06:08:38.621Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:08:38.621Z] ---> Running in 6f57371f84ea [2020-10-06T06:08:38.889Z] Removing intermediate container 6f57371f84ea [2020-10-06T06:08:38.889Z] ---> 9585da6b8f56 [2020-10-06T06:08:38.889Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-06T06:08:38.889Z] ---> Running in 47f16848043e [2020-10-06T06:08:39.170Z] ---> 31d854a533bc [2020-10-06T06:08:39.170Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-06T06:08:39.335Z] Removing intermediate container 47f16848043e [2020-10-06T06:08:39.335Z] ---> e3e0f7cebbc3 [2020-10-06T06:08:39.335Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-06T06:08:39.335Z] ---> Running in 0698452fdbd7 [2020-10-06T06:08:39.680Z] Removing intermediate container 0698452fdbd7 [2020-10-06T06:08:39.680Z] ---> 2481fb17210b [2020-10-06T06:08:39.680Z] Step 14/24 : WORKDIR / [2020-10-06T06:08:39.680Z] ---> Running in 42e963c18683 [2020-10-06T06:08:39.767Z] ---> 1ce3b8a1711d [2020-10-06T06:08:39.767Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-06T06:08:39.991Z] Removing intermediate container 42e963c18683 [2020-10-06T06:08:39.992Z] ---> 2373bcd2647d [2020-10-06T06:08:39.992Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-06T06:08:40.362Z] ---> cec98f44ec83 [2020-10-06T06:08:40.362Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-06T06:08:40.815Z] ---> 0961de61f274 [2020-10-06T06:08:40.815Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-06T06:08:40.957Z] ---> b239b463fc71 [2020-10-06T06:08:40.957Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-06T06:08:41.103Z] ---> 0ccf84a7828b [2020-10-06T06:08:41.103Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-06T06:08:41.230Z] ---> Running in d93a6d998a84 [2020-10-06T06:08:41.454Z] ---> 055adb811521 [2020-10-06T06:08:41.454Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-06T06:08:41.503Z] Removing intermediate container d93a6d998a84 [2020-10-06T06:08:41.503Z] ---> 248a22a7c9ae [2020-10-06T06:08:41.503Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-06T06:08:41.744Z] ---> 23a7804ed92f [2020-10-06T06:08:41.744Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-06T06:08:41.776Z] ---> Running in 1fb5b8d60876 [2020-10-06T06:08:42.016Z] ---> 6063117b443d [2020-10-06T06:08:42.016Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-06T06:08:42.288Z] ---> Running in 901e638feae7 [2020-10-06T06:08:42.288Z] Removing intermediate container 901e638feae7 [2020-10-06T06:08:42.288Z] ---> 7d2fe81b6856 [2020-10-06T06:08:42.288Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-06T06:08:42.372Z] Removing intermediate container 1fb5b8d60876 [2020-10-06T06:08:42.372Z] ---> fe03860b5619 [2020-10-06T06:08:42.372Z] Step 22/24 : LABEL arch=arm64 [2020-10-06T06:08:42.372Z] ---> Running in 6fba42e45692 [2020-10-06T06:08:42.663Z] ---> Running in ef7b8f6bd273 [2020-10-06T06:08:42.966Z] Removing intermediate container 6fba42e45692 [2020-10-06T06:08:42.966Z] ---> b031cef5516c [2020-10-06T06:08:42.966Z] Step 23/24 : LABEL git_sha=e0816de6bd9f87362a8b13fad602c13d1d1454dd [2020-10-06T06:08:42.966Z] ---> Running in 98e7feb34d56 [2020-10-06T06:08:42.972Z] Removing intermediate container ef7b8f6bd273 [2020-10-06T06:08:42.972Z] ---> 30298ee9599c [2020-10-06T06:08:42.972Z] Step 22/24 : LABEL arch=amd64 [2020-10-06T06:08:42.972Z] ---> Running in 3af79a8f40ec [2020-10-06T06:08:43.247Z] Removing intermediate container 98e7feb34d56 [2020-10-06T06:08:43.247Z] ---> bfe492709285 [2020-10-06T06:08:43.247Z] Step 24/24 : LABEL version=0.0.0 [2020-10-06T06:08:43.269Z] Removing intermediate container 3af79a8f40ec [2020-10-06T06:08:43.269Z] ---> 9b719325b0dd [2020-10-06T06:08:43.269Z] Step 23/24 : LABEL git_sha=e0816de6bd9f87362a8b13fad602c13d1d1454dd [2020-10-06T06:08:43.269Z] ---> Running in 9f06860ff1b0 [2020-10-06T06:08:43.520Z] ---> Running in 32b0e3580c76 [2020-10-06T06:08:43.539Z] Removing intermediate container 9f06860ff1b0 [2020-10-06T06:08:43.539Z] ---> 672765d887ec [2020-10-06T06:08:43.539Z] Step 24/24 : LABEL version=0.0.0 [2020-10-06T06:08:43.539Z] ---> Running in 67b68f78a43f [2020-10-06T06:08:43.791Z] Removing intermediate container 32b0e3580c76 [2020-10-06T06:08:43.791Z] ---> 4808fc7a32ae [2020-10-06T06:08:43.791Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-06T06:08:43.805Z] Removing intermediate container 67b68f78a43f [2020-10-06T06:08:43.805Z] ---> 172532fa7f30 [2020-10-06T06:08:43.805Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-06T06:08:43.805Z] Successfully built 172532fa7f30 [2020-10-06T06:08:43.805Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2020-10-06T06:08:44.064Z] Successfully built 4808fc7a32ae [2020-10-06T06:08:44.064Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] // withEnv [Pipeline] } [Pipeline] stage [Pipeline] { (Snap) [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 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-06T06:08:47.892Z] provisioning config files... [2020-10-06T06:08:47.905Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp/config116360145530069960tmp [Pipeline] { [Pipeline] sh [2020-10-06T06:08:48.278Z] + set +x [2020-10-06T06:08:48.278Z] + curl -s https://codecov.io/bash [2020-10-06T06:08:48.278Z] + bash -s -- [2020-10-06T06:08:48.540Z] [2020-10-06T06:08:48.540Z] _____ _ [2020-10-06T06:08:48.540Z] / ____| | | [2020-10-06T06:08:48.540Z] | | ___ __| | ___ ___ _____ __ [2020-10-06T06:08:48.540Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-06T06:08:48.540Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-06T06:08:48.540Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-06T06:08:48.540Z] Bash-20200917-4e8f14b [2020-10-06T06:08:48.540Z] [2020-10-06T06:08:48.540Z] [2020-10-06T06:08:48.540Z] ==> Jenkins CI detected. [2020-10-06T06:08:48.540Z] project root: . [2020-10-06T06:08:48.540Z] --> token set from env [2020-10-06T06:08:48.540Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-06T06:08:48.540Z] ==> Running gcov in . (disable via -X gcov) [2020-10-06T06:08:48.540Z] ==> Python coveragepy not found [2020-10-06T06:08:48.540Z] ==> Searching for coverage reports in: [2020-10-06T06:08:48.540Z] + . [2020-10-06T06:08:48.540Z] -> Found 1 reports [2020-10-06T06:08:48.540Z] ==> Detecting git/mercurial file structure [2020-10-06T06:08:48.540Z] ==> Reading reports [2020-10-06T06:08:48.540Z] + ./coverage.out bytes=111041 [2020-10-06T06:08:48.540Z] ==> Appending adjustments [2020-10-06T06:08:48.540Z] https://docs.codecov.io/docs/fixing-reports [2020-10-06T06:08:49.113Z] + Found adjustments [2020-10-06T06:08:49.113Z] ==> Gzipping contents [2020-10-06T06:08:49.113Z] ==> Uploading reports [2020-10-06T06:08:49.113Z] url: https://codecov.io [2020-10-06T06:08:49.114Z] query: branch=PR-603&commit=e0816de6bd9f87362a8b13fad602c13d1d1454dd&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-603%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=603&job=&cmd_args= [2020-10-06T06:08:49.114Z] -> Pinging Codecov [2020-10-06T06:08:49.114Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-603&commit=e0816de6bd9f87362a8b13fad602c13d1d1454dd&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-603%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=603&job=&cmd_args= [2020-10-06T06:08:54.412Z] -> Uploading to [2020-10-06T06:08:54.412Z] https://storage.googleapis.com/codecov/v4/raw/2020-10-06/7E55EF52A471D76F132DFD9A03CDDE97/e0816de6bd9f87362a8b13fad602c13d1d1454dd/ef1d268c-c7ed-4535-8881-21d29ae6e216.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201006T060853Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ad114b7095c494daa560e059d8cadddc243cc08f3321460c822c4ddd7b573246 [2020-10-06T06:08:54.412Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-06T06:08:54.412Z] Dload Upload Total Spent Left Speed [2020-10-06T06:08:54.412Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18362 0 0 100 18362 0 45481 --:--:-- --:--:-- --:--:-- 45563 [2020-10-06T06:08:54.412Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e0816de6bd9f87362a8b13fad602c13d1d1454dd [Pipeline] } [2020-10-06T06:08:54.422Z] 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-06T06:08:56.878Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:08:57.435Z] ---> package-listing.sh [2020-10-06T06:08:57.435Z] ++ facter osfamily [2020-10-06T06:08:57.435Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-06T06:08:57.435Z] + OS_FAMILY=redhat [2020-10-06T06:08:57.435Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-603 [2020-10-06T06:08:57.435Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-06T06:08:57.435Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-06T06:08:57.435Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-06T06:08:57.435Z] + PACKAGES=/tmp/packages_start.txt [2020-10-06T06:08:57.435Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-603 ']' [2020-10-06T06:08:57.435Z] + PACKAGES=/tmp/packages_end.txt [2020-10-06T06:08:57.435Z] + case "${OS_FAMILY}" in [2020-10-06T06:08:57.435Z] + rpm -qa [2020-10-06T06:08:57.435Z] + sort [2020-10-06T06:09:01.645Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-06T06:09:01.645Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-06T06:09:01.645Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-06T06:09:01.645Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-603 ']' [2020-10-06T06:09:01.645Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-603/archives/ [2020-10-06T06:09:01.645Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-603/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-06T06:09:02.341Z] provisioning config files... [2020-10-06T06:09:02.356Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp/config7354463509127517477tmp [Pipeline] { [Pipeline] echo [2020-10-06T06:09:02.433Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:09:02.727Z] ---> create-netrc.sh [Pipeline] } [2020-10-06T06:09:02.736Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-06T06:09:02.828Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:09:03.120Z] ---> python-tools-install.sh [2020-10-06T06:09:03.120Z] Generating Requirements File [2020-10-06T06:10:10.915Z] Python 3.6.8 [2020-10-06T06:10:10.915Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-06T06:10:10.915Z] appdirs==1.4.3 [2020-10-06T06:10:10.915Z] argcomplete==1.12.1 [2020-10-06T06:10:10.915Z] aspy.yaml==1.3.0 [2020-10-06T06:10:10.915Z] attrs==19.3.0 [2020-10-06T06:10:10.915Z] Babel==2.8.0 [2020-10-06T06:10:10.915Z] beautifulsoup4==4.8.2 [2020-10-06T06:10:10.915Z] boto3==1.11.6 [2020-10-06T06:10:10.915Z] botocore==1.14.6 [2020-10-06T06:10:10.915Z] bs4==0.0.1 [2020-10-06T06:10:10.915Z] cachetools==4.1.1 [2020-10-06T06:10:10.915Z] certifi==2019.11.28 [2020-10-06T06:10:10.915Z] cffi==1.14.3 [2020-10-06T06:10:10.915Z] cfgv==2.0.1 [2020-10-06T06:10:10.915Z] chardet==3.0.4 [2020-10-06T06:10:10.915Z] click==7.1 [2020-10-06T06:10:10.915Z] cliff==3.4.0 [2020-10-06T06:10:10.915Z] cmd2==1.3.11 [2020-10-06T06:10:10.915Z] colorama==0.4.3 [2020-10-06T06:10:10.915Z] cryptography==3.1.1 [2020-10-06T06:10:10.915Z] debtcollector==2.2.0 [2020-10-06T06:10:10.915Z] decorator==4.4.2 [2020-10-06T06:10:10.915Z] defusedxml==0.6.0 [2020-10-06T06:10:10.915Z] Deprecated==1.2.7 [2020-10-06T06:10:10.915Z] distlib==0.3.1 [2020-10-06T06:10:10.915Z] distro==1.2.0 [2020-10-06T06:10:10.915Z] dnspython==1.16.0 [2020-10-06T06:10:10.915Z] docker==4.2.0 [2020-10-06T06:10:10.915Z] docutils==0.15.2 [2020-10-06T06:10:10.915Z] dogpile.cache==1.0.2 [2020-10-06T06:10:10.915Z] email-validator==1.0.5 [2020-10-06T06:10:10.915Z] filelock==3.0.12 [2020-10-06T06:10:10.915Z] future==0.18.2 [2020-10-06T06:10:10.915Z] google-auth==1.22.1 [2020-10-06T06:10:10.915Z] httplib2==0.17.0 [2020-10-06T06:10:10.915Z] identify==1.4.11 [2020-10-06T06:10:10.915Z] idna==2.9 [2020-10-06T06:10:10.915Z] importlib-metadata==1.7.0 [2020-10-06T06:10:10.915Z] importlib-resources==1.5.0 [2020-10-06T06:10:10.915Z] iso8601==0.1.13 [2020-10-06T06:10:10.915Z] Jinja2==2.11.1 [2020-10-06T06:10:10.915Z] jmespath==0.10.0 [2020-10-06T06:10:10.915Z] jsonpatch==1.26 [2020-10-06T06:10:10.915Z] jsonpointer==2.0 [2020-10-06T06:10:10.915Z] jsonschema==3.2.0 [2020-10-06T06:10:10.915Z] keystoneauth1==4.2.1 [2020-10-06T06:10:10.915Z] kubernetes==11.0.0 [2020-10-06T06:10:10.915Z] lftools==0.34.2 [2020-10-06T06:10:10.915Z] lxml==4.5.0 [2020-10-06T06:10:10.915Z] MarkupSafe==0.23 [2020-10-06T06:10:10.915Z] msgpack==1.0.0 [2020-10-06T06:10:10.915Z] multi-key-dict==2.0.3 [2020-10-06T06:10:10.915Z] munch==2.5.0 [2020-10-06T06:10:10.915Z] netaddr==0.8.0 [2020-10-06T06:10:10.915Z] netifaces==0.10.9 [2020-10-06T06:10:10.915Z] niet==1.4.2 [2020-10-06T06:10:10.915Z] nodeenv==1.3.5 [2020-10-06T06:10:10.915Z] oauth2client==4.1.3 [2020-10-06T06:10:10.915Z] oauthlib==3.1.0 [2020-10-06T06:10:10.915Z] openstacksdk==0.50.0 [2020-10-06T06:10:10.915Z] os-client-config==2.1.0 [2020-10-06T06:10:10.915Z] os-service-types==1.7.0 [2020-10-06T06:10:10.915Z] osc-lib==2.2.1 [2020-10-06T06:10:10.915Z] oslo.config==8.3.2 [2020-10-06T06:10:10.915Z] oslo.context==3.1.1 [2020-10-06T06:10:10.915Z] oslo.i18n==5.0.1 [2020-10-06T06:10:10.915Z] oslo.log==4.4.0 [2020-10-06T06:10:10.915Z] oslo.serialization==4.0.1 [2020-10-06T06:10:10.915Z] oslo.utils==4.6.0 [2020-10-06T06:10:10.915Z] packaging==20.4 [2020-10-06T06:10:10.915Z] pbr==5.4.4 [2020-10-06T06:10:10.915Z] pluggy==0.13.1 [2020-10-06T06:10:10.915Z] prettytable==0.7.2 [2020-10-06T06:10:10.915Z] py==1.9.0 [2020-10-06T06:10:10.915Z] pyasn1==0.4.8 [2020-10-06T06:10:10.915Z] pyasn1-modules==0.2.8 [2020-10-06T06:10:10.915Z] pycparser==2.20 [2020-10-06T06:10:10.915Z] pygerrit2==2.0.10 [2020-10-06T06:10:10.915Z] PyGithub==1.46 [2020-10-06T06:10:10.915Z] pyinotify==0.9.6 [2020-10-06T06:10:10.915Z] PyJWT==1.7.1 [2020-10-06T06:10:10.915Z] pyparsing==2.4.7 [2020-10-06T06:10:10.915Z] pyperclip==1.8.0 [2020-10-06T06:10:10.915Z] pyroute2==0.4.13 [2020-10-06T06:10:10.915Z] pyrsistent==0.15.7 [2020-10-06T06:10:10.915Z] PySocks==1.6.8 [2020-10-06T06:10:10.915Z] python-cinderclient==7.2.0 [2020-10-06T06:10:10.915Z] python-dateutil==2.8.1 [2020-10-06T06:10:10.915Z] python-heatclient==2.2.1 [2020-10-06T06:10:10.915Z] python-jenkins==1.7.0 [2020-10-06T06:10:10.915Z] python-keystoneclient==4.1.1 [2020-10-06T06:10:10.915Z] python-magnumclient==3.2.1 [2020-10-06T06:10:10.915Z] python-novaclient==17.2.1 [2020-10-06T06:10:10.915Z] python-openstackclient==5.4.0 [2020-10-06T06:10:10.915Z] python-swiftclient==3.10.1 [2020-10-06T06:10:10.915Z] pytz==2020.1 [2020-10-06T06:10:10.915Z] PyYAML==5.3 [2020-10-06T06:10:10.915Z] requests==2.23.0 [2020-10-06T06:10:10.915Z] requests-oauthlib==1.3.0 [2020-10-06T06:10:10.915Z] requestsexceptions==1.4.0 [2020-10-06T06:10:10.915Z] rfc3986==1.4.0 [2020-10-06T06:10:10.915Z] rpm==4.11.3 [2020-10-06T06:10:10.915Z] rsa==4.0 [2020-10-06T06:10:10.915Z] ruamel.yaml==0.16.10 [2020-10-06T06:10:10.915Z] ruamel.yaml.clib==0.2.0 [2020-10-06T06:10:10.915Z] s3transfer==0.3.3 [2020-10-06T06:10:10.915Z] shade==1.27.2 [2020-10-06T06:10:10.915Z] simplejson==3.17.2 [2020-10-06T06:10:10.915Z] six==1.14.0 [2020-10-06T06:10:10.915Z] soupsieve==2.0 [2020-10-06T06:10:10.915Z] stevedore==3.2.2 [2020-10-06T06:10:10.915Z] tabulate==0.8.6 [2020-10-06T06:10:10.915Z] toml==0.10.0 [2020-10-06T06:10:10.915Z] tox==3.20.0 [2020-10-06T06:10:10.915Z] tqdm==4.43.0 [2020-10-06T06:10:10.915Z] urllib3==1.25.8 [2020-10-06T06:10:10.915Z] virtualenv==20.0.33 [2020-10-06T06:10:10.915Z] wcwidth==0.2.5 [2020-10-06T06:10:10.915Z] websocket-client==0.57.0 [2020-10-06T06:10:10.915Z] wrapt==1.12.1 [2020-10-06T06:10:10.915Z] xdg==3.0.2 [2020-10-06T06:10:10.915Z] xmltodict==0.12.0 [2020-10-06T06:10:10.915Z] yq==2.11.1 [2020-10-06T06:10:10.915Z] zipp==3.3.0 [2020-10-06T06:10:10.915Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:10:11.865Z] 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-06T06:10:14.417Z] Python 2.7.5 [2020-10-06T06:10:14.679Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-06T06:10:15.264Z] 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-06T06:10:15.264Z] ansible==2.9.7 [2020-10-06T06:10:15.264Z] Babel==0.9.6 [2020-10-06T06:10:15.264Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-06T06:10:15.264Z] beautifulsoup4==4.4.1 [2020-10-06T06:10:15.264Z] bodhi==2.11.0 [2020-10-06T06:10:15.264Z] bodhi-client==2.11.0 [2020-10-06T06:10:15.264Z] CCColUtils==1.4 [2020-10-06T06:10:15.264Z] cffi==1.6.0 [2020-10-06T06:10:15.264Z] chardet==2.2.1 [2020-10-06T06:10:15.264Z] click==6.7 [2020-10-06T06:10:15.264Z] cloud-init==18.5 [2020-10-06T06:10:15.264Z] configobj==4.7.2 [2020-10-06T06:10:15.264Z] cryptography==1.7.2 [2020-10-06T06:10:15.264Z] decorator==3.4.0 [2020-10-06T06:10:15.264Z] distro==1.2.0 [2020-10-06T06:10:15.264Z] enum34==1.0.4 [2020-10-06T06:10:15.264Z] fedpkg==1.38 [2020-10-06T06:10:15.264Z] futures==3.1.1 [2020-10-06T06:10:15.264Z] gitdb==0.6.4 [2020-10-06T06:10:15.264Z] GitPython==1.0.1 [2020-10-06T06:10:15.264Z] html5lib==0.999 [2020-10-06T06:10:15.264Z] httplib2==0.9.2 [2020-10-06T06:10:15.264Z] idna==2.4 [2020-10-06T06:10:15.264Z] iniparse==0.4 [2020-10-06T06:10:15.264Z] ipaddress==1.0.16 [2020-10-06T06:10:15.264Z] IPy==0.75 [2020-10-06T06:10:15.264Z] javapackages==1.0.0 [2020-10-06T06:10:15.264Z] Jinja2==2.7.2 [2020-10-06T06:10:15.264Z] jmespath==0.9.4 [2020-10-06T06:10:15.264Z] jsonpatch==1.2 [2020-10-06T06:10:15.264Z] jsonpointer==1.9 [2020-10-06T06:10:15.264Z] kerberos==1.1 [2020-10-06T06:10:15.264Z] kitchen==1.1.1 [2020-10-06T06:10:15.264Z] langtable==0.0.31 [2020-10-06T06:10:15.264Z] lockfile==0.9.1 [2020-10-06T06:10:15.264Z] lxml==3.2.1 [2020-10-06T06:10:15.264Z] MarkupSafe==0.11 [2020-10-06T06:10:15.264Z] munch==2.0.2 [2020-10-06T06:10:15.264Z] offtrac==0.1.0 [2020-10-06T06:10:15.264Z] openidc-client==0.6.0 [2020-10-06T06:10:15.264Z] packagedb-cli==2.14.1 [2020-10-06T06:10:15.264Z] paramiko==2.1.1 [2020-10-06T06:10:15.264Z] perf==0.1 [2020-10-06T06:10:15.264Z] ply==3.4 [2020-10-06T06:10:15.265Z] policycoreutils-default-encoding==0.1 [2020-10-06T06:10:15.265Z] prettytable==0.7.2 [2020-10-06T06:10:15.265Z] pyasn1==0.1.9 [2020-10-06T06:10:15.265Z] pycparser==2.14 [2020-10-06T06:10:15.265Z] pycurl==7.19.0 [2020-10-06T06:10:15.265Z] pygobject==3.22.0 [2020-10-06T06:10:15.265Z] pygpgme==0.3 [2020-10-06T06:10:15.265Z] pyliblzma==0.5.3 [2020-10-06T06:10:15.265Z] pyOpenSSL==0.13.1 [2020-10-06T06:10:15.265Z] pyparsing==1.5.6 [2020-10-06T06:10:15.265Z] pyserial==2.6 [2020-10-06T06:10:15.265Z] python-augeas==0.5.0 [2020-10-06T06:10:15.265Z] python-bugzilla==2.3.0 [2020-10-06T06:10:15.265Z] python-dateutil==1.5 [2020-10-06T06:10:15.265Z] python-fedora==0.10.0 [2020-10-06T06:10:15.265Z] python-linux-procfs==0.4.9 [2020-10-06T06:10:15.265Z] python-yubico==1.2.3 [2020-10-06T06:10:15.265Z] pyudev==0.15 [2020-10-06T06:10:15.265Z] pyusb==1.0.0b1 [2020-10-06T06:10:15.265Z] pyxattr==0.5.1 [2020-10-06T06:10:15.265Z] PyYAML==3.10 [2020-10-06T06:10:15.265Z] requests==2.6.0 [2020-10-06T06:10:15.265Z] requests-kerberos==0.7.0 [2020-10-06T06:10:15.265Z] rpkg==1.60 [2020-10-06T06:10:15.265Z] schedutils==0.4 [2020-10-06T06:10:15.265Z] seobject==0.1 [2020-10-06T06:10:15.265Z] sepolicy==1.1 [2020-10-06T06:10:15.265Z] six==1.9.0 [2020-10-06T06:10:15.265Z] smmap==0.9.0 [2020-10-06T06:10:15.265Z] urlgrabber==3.10 [2020-10-06T06:10:15.265Z] urllib3==1.10.2 [2020-10-06T06:10:15.265Z] virtualenv==15.1.0 [2020-10-06T06:10:15.265Z] yum-langpacks==0.4.2 [2020-10-06T06:10:15.265Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-06T06:10:15.275Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:10:15.570Z] ---> sudo-logs.sh [2020-10-06T06:10:15.570Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-06T06:10:15.842Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:10:16.137Z] ---> job-cost.sh [2020-10-06T06:10:16.137Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-fHVE [2020-10-06T06:10:26.142Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:10:26.142Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:10:27.548Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:10:28.497Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:10:29.440Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:10:29.440Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:10:29.701Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:10:29.701Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:10:29.701Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:10:29.701Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:10:29.962Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:10:29.962Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:10:32.508Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-06T06:10:59.142Z] lf-activate-venv(): INFO: Adding /tmp/venv-fHVE/bin to PATH [2020-10-06T06:10:59.142Z] INFO: No Stack... [2020-10-06T06:10:59.142Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-06T06:10:59.403Z] INFO: Archiving Costs [Pipeline] echo [2020-10-06T06:10:59.414Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:10:59.708Z] ---> logs-deploy.sh [2020-10-06T06:10:59.708Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-603/6 [2020-10-06T06:10:59.708Z] INFO: archiving workspace using pattern(s): [2020-10-06T06:11:01.102Z] Archives upload complete. [2020-10-06T06:11:01.364Z] INFO: archiving logs to Nexus