Pull request #615 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 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9+7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 (7d8f004f44b72208dd218381027fab6dd034caa7) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3469 in /w/workspace/dgexfoundry_device-sdk-go_PR-615 [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-615 # 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 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 > 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/615/head:refs/remotes/origin/PR-615 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merge succeeded, producing 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 Checking out Revision 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 (PR-615) > git config core.sparsecheckout # timeout=10 > git checkout -f 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 # 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 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 # timeout=10 Commit message: "fix: improve device discovery flow and whitelist logic" First time build. Skipping changelog. > git rev-list --no-walk 65307dba2872cfcd4df5135b09467a8f4a57ce44 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-05T15:09:07.589Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-05T15:09:07.949Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-05T15:09:08.055Z] ========================================================= [2020-10-05T15:09:08.055Z] EdgeX Global Pipelines Version Info [2020-10-05T15:09:08.055Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-05T15:09:09.543Z] ------------------- [2020-10-05T15:09:09.543Z] stable info: [2020-10-05T15:09:09.543Z] ------------------- [2020-10-05T15:09:09.543Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-05T15:09:09.543Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-05T15:09:09.543Z] Message: update stable to v1.0.131 [2020-10-05T15:09:10.492Z] ------------------- [2020-10-05T15:09:10.492Z] experimental info: [2020-10-05T15:09:10.492Z] ------------------- [2020-10-05T15:09:10.492Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-05T15:09:10.492Z] Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a [2020-10-05T15:09:10.492Z] Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-05T15:09:10.947Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-05T15:09:11.042Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-05T15:09:11.151Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-05T15:09:11.261Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-05T15:09:11.379Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-05T15:09:11.480Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-05T15:09:11.573Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-05T15:09:11.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-05T15:09:11.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-05T15:09:11.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-05T15:09:11.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-05T15:09:12.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-05T15:09:12.244Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-05T15:09:12.353Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-05T15:09:12.461Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-05T15:09:12.614Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-05T15:09:12.717Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-05T15:09:12.808Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-05T15:09:12.911Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-05T15:09:13.012Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-05T15:09:13.157Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-05T15:09:13.267Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-05T15:09:13.439Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-05T15:09:13.527Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-05T15:09:13.621Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-05T15:09:13.719Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-615 [Pipeline] echo [2020-10-05T15:09:13.825Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-615 [Pipeline] echo [2020-10-05T15:09:13.925Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-615 [Pipeline] echo [2020-10-05T15:09:14.018Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 [Pipeline] echo [2020-10-05T15:09:14.103Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e0b041 [Pipeline] echo [2020-10-05T15:09:14.201Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-05T15:09:14.914Z] + git log --format=format:%s -1 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 [Pipeline] echo [2020-10-05T15:09:14.973Z] GIT_COMMIT: 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9, Commit Message: fix: improve device discovery flow and whitelist logic [Pipeline] echo [2020-10-05T15:09:15.017Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-05T15:09:15.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-05T15:09:15.812Z] [2020-10-05T15:09:15.812Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-05T15:09:16.420Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-05T15:09:16.421Z] latest: Pulling from edgex-devops/git-semver [2020-10-05T15:09:16.421Z] 31603596830f: Pulling fs layer [2020-10-05T15:09:16.421Z] 2a8b12db71e7: Pulling fs layer [2020-10-05T15:09:16.421Z] 6ca5941a6612: Pulling fs layer [2020-10-05T15:09:16.421Z] ecc8261a40a4: Pulling fs layer [2020-10-05T15:09:16.421Z] ecc8261a40a4: Waiting [2020-10-05T15:09:16.421Z] 2a8b12db71e7: Verifying Checksum [2020-10-05T15:09:16.421Z] 2a8b12db71e7: Download complete [2020-10-05T15:09:16.683Z] 31603596830f: Download complete [2020-10-05T15:09:16.945Z] 6ca5941a6612: Verifying Checksum [2020-10-05T15:09:16.945Z] 6ca5941a6612: Download complete [2020-10-05T15:09:16.945Z] 31603596830f: Pull complete [2020-10-05T15:09:16.945Z] ecc8261a40a4: Verifying Checksum [2020-10-05T15:09:16.945Z] ecc8261a40a4: Download complete [2020-10-05T15:09:17.210Z] 2a8b12db71e7: Pull complete [2020-10-05T15:09:17.784Z] 6ca5941a6612: Pull complete [2020-10-05T15:09:18.046Z] ecc8261a40a4: Pull complete [2020-10-05T15:09:18.046Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-05T15:09:18.046Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-05T15:09:18.046Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-05T15:09:18.144Z] prd-centos7-docker-4c-2g-3469 does not seem to be running inside a container [2020-10-05T15:09:18.192Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-615 -v /w/workspace/dgexfoundry_device-sdk-go_PR-615:/w/workspace/dgexfoundry_device-sdk-go_PR-615:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-615@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-615@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-05T15:09:20.207Z] $ docker top 58b98427ba4aaf1c6f93585551abd1f50eb91c1005d6a1fcfe1da2ab837fe71e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-05T15:09:20.607Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-05T15:09:20.607Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-05T15:09:20.817Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-05T15:09:20.821Z] $ docker exec 58b98427ba4aaf1c6f93585551abd1f50eb91c1005d6a1fcfe1da2ab837fe71e ssh-agent [2020-10-05T15:09:20.977Z] SSH_AUTH_SOCK=/tmp/ssh-KEt2DXLSg4Cl/agent.11 [2020-10-05T15:09:20.977Z] SSH_AGENT_PID=16 [2020-10-05T15:09:20.990Z] Running ssh-add (command line suppressed) [2020-10-05T15:09:21.106Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-615@tmp/private_key_4207378727572688479.key (/w/workspace/dgexfoundry_device-sdk-go_PR-615@tmp/private_key_4207378727572688479.key) [2020-10-05T15:09:21.158Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-05T15:09:21.542Z] + git describe --exact-match --tags HEAD [2020-10-05T15:09:21.543Z] fatal: no tag exactly matches '0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9' [Pipeline] } [2020-10-05T15:09:21.567Z] $ docker exec --env ******** --env ******** 58b98427ba4aaf1c6f93585551abd1f50eb91c1005d6a1fcfe1da2ab837fe71e ssh-agent -k [2020-10-05T15:09:21.679Z] unset SSH_AUTH_SOCK; [2020-10-05T15:09:21.680Z] unset SSH_AGENT_PID; [2020-10-05T15:09:21.680Z] echo Agent pid 16 killed; [2020-10-05T15:09:21.721Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-05T15:09:21.807Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-05T15:09:21.808Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-05T15:09:21.900Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-05T15:09:21.900Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-05T15:09:22.065Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-05T15:09:22.070Z] $ docker exec 58b98427ba4aaf1c6f93585551abd1f50eb91c1005d6a1fcfe1da2ab837fe71e ssh-agent [2020-10-05T15:09:22.224Z] SSH_AUTH_SOCK=/tmp/ssh-82cT8qQ2H54O/agent.44 [2020-10-05T15:09:22.224Z] SSH_AGENT_PID=49 [2020-10-05T15:09:22.231Z] Running ssh-add (command line suppressed) [2020-10-05T15:09:22.348Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-615@tmp/private_key_1659537430761627375.key (/w/workspace/dgexfoundry_device-sdk-go_PR-615@tmp/private_key_1659537430761627375.key) [2020-10-05T15:09:22.398Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-05T15:09:22.774Z] + git semver init [2020-10-05T15:09:22.774Z] # -> Open(): unable to determine branch for HEAD [2020-10-05T15:09:22.774Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-615/.git [2020-10-05T15:09:22.774Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-615 [2020-10-05T15:09:22.774Z] # $SEMVER_REMOTE_NAME = origin [2020-10-05T15:09:22.774Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-05T15:09:22.774Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-05T15:09:22.774Z] # $SEMVER_BRANCH = PR-615 [2020-10-05T15:09:22.774Z] # $SEMVER_TEMP = /tmp/semver-910178401 [2020-10-05T15:09:22.774Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-05T15:09:23.721Z] # '/tmp/semver-910178401' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-615/.semver' [2020-10-05T15:09:23.721Z] # -> Force: false [2020-10-05T15:09:23.721Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-615/.semver [Pipeline] } [2020-10-05T15:09:23.742Z] $ docker exec --env ******** --env ******** 58b98427ba4aaf1c6f93585551abd1f50eb91c1005d6a1fcfe1da2ab837fe71e ssh-agent -k [2020-10-05T15:09:23.862Z] unset SSH_AUTH_SOCK; [2020-10-05T15:09:23.862Z] unset SSH_AGENT_PID; [2020-10-05T15:09:23.862Z] echo Agent pid 49 killed; [2020-10-05T15:09:23.923Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-05T15:09:24.403Z] + git semver [Pipeline] } [2020-10-05T15:09:24.422Z] $ docker stop --time=1 58b98427ba4aaf1c6f93585551abd1f50eb91c1005d6a1fcfe1da2ab837fe71e [2020-10-05T15:09:25.771Z] $ docker rm -f 58b98427ba4aaf1c6f93585551abd1f50eb91c1005d6a1fcfe1da2ab837fe71e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-05T15:09:26.747Z] Stashed 43 file(s) [Pipeline] echo [2020-10-05T15:09:26.750Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-05T15:09:26.847Z] 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-05T15:09:42.287Z] Still waiting to schedule task [2020-10-05T15:09:42.287Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3469’ [2020-10-05T15:09:42.293Z] Still waiting to schedule task [2020-10-05T15:09:42.293Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-05T15:11:37.087Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3470 in /w/workspace/dgexfoundry_device-sdk-go_PR-615 [Pipeline] { [Pipeline] ws [2020-10-05T15:11:37.163Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-05T15:11:42.176Z] using credential edgex-jenkins-ssh [2020-10-05T15:11:42.239Z] Cloning the remote Git repository [2020-10-05T15:11:42.298Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-05T15:11:42.412Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-10-05T15:11:42.490Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-05T15:11:42.491Z] > git --version # timeout=10 [2020-10-05T15:11:42.517Z] > git --version # 'git version 2.17.1' [2020-10-05T15:11:42.518Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-05T15:11:42.574Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-05T15:11:44.390Z] Merging remotes/origin/master commit 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 into PR head commit 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 [2020-10-05T15:11:44.699Z] Merge succeeded, producing 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 [2020-10-05T15:11:44.699Z] Checking out Revision 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 (PR-615) [2020-10-05T15:11:43.638Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-05T15:11:43.661Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-05T15:11:43.690Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-05T15:11:43.742Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-05T15:11:43.744Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-05T15:11:43.756Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/615/head:refs/remotes/origin/PR-615 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-05T15:11:44.414Z] > git config core.sparsecheckout # timeout=10 [2020-10-05T15:11:44.433Z] > git checkout -f 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 # timeout=10 [2020-10-05T15:11:44.551Z] > git remote # timeout=10 [2020-10-05T15:11:44.568Z] > git config --get remote.origin.url # timeout=10 [2020-10-05T15:11:44.594Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-05T15:11:44.604Z] > git merge 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 # timeout=10 [2020-10-05T15:11:44.627Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-05T15:11:44.713Z] > git config core.sparsecheckout # timeout=10 [2020-10-05T15:11:44.754Z] > git checkout -f 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 # timeout=10 [2020-10-05T15:11:49.112Z] Commit message: "fix: improve device discovery flow and whitelist logic" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-05T15:11:50.422Z] ========================================================= [2020-10-05T15:11:50.423Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-05T15:11:50.423Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-05T15:11:51.533Z] + 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-05T15:11:52.521Z] Sending build context to Docker daemon 3.51MB [2020-10-05T15:11:52.521Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-05T15:11:52.521Z] Step 2/8 : FROM ${BASE} [2020-10-05T15:11:52.804Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-05T15:11:52.804Z] b538f80385f9: Pulling fs layer [2020-10-05T15:11:52.804Z] 74f711af9a0d: Pulling fs layer [2020-10-05T15:11:52.804Z] 99f96fe45779: Pulling fs layer [2020-10-05T15:11:52.804Z] 8529a6b9a6be: Pulling fs layer [2020-10-05T15:11:52.804Z] 45590311c82a: Pulling fs layer [2020-10-05T15:11:52.804Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-05T15:11:52.804Z] 209524e5b208: Pulling fs layer [2020-10-05T15:11:52.804Z] 8529a6b9a6be: Waiting [2020-10-05T15:11:52.804Z] 45590311c82a: Waiting [2020-10-05T15:11:52.804Z] 69ca0ff8b7b3: Waiting [2020-10-05T15:11:52.804Z] 209524e5b208: Waiting [2020-10-05T15:11:52.804Z] 99f96fe45779: Verifying Checksum [2020-10-05T15:11:52.804Z] 99f96fe45779: Download complete [2020-10-05T15:11:52.804Z] 74f711af9a0d: Download complete [2020-10-05T15:11:52.804Z] 45590311c82a: Verifying Checksum [2020-10-05T15:11:52.804Z] 45590311c82a: Download complete [2020-10-05T15:11:53.087Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-05T15:11:53.087Z] 69ca0ff8b7b3: Download complete [2020-10-05T15:11:53.087Z] b538f80385f9: Download complete [2020-10-05T15:11:53.695Z] b538f80385f9: Pull complete [2020-10-05T15:11:54.310Z] 74f711af9a0d: Pull complete [2020-10-05T15:11:54.938Z] 99f96fe45779: Pull complete [2020-10-05T15:11:55.544Z] 209524e5b208: Verifying Checksum [2020-10-05T15:11:55.544Z] 209524e5b208: Download complete [2020-10-05T15:11:56.990Z] 8529a6b9a6be: Verifying Checksum [2020-10-05T15:11:56.990Z] 8529a6b9a6be: Download complete [2020-10-05T15:12:07.174Z] 8529a6b9a6be: Pull complete [2020-10-05T15:12:07.174Z] 45590311c82a: Pull complete [2020-10-05T15:12:07.448Z] 69ca0ff8b7b3: Pull complete [2020-10-05T15:12:11.801Z] 209524e5b208: Pull complete [2020-10-05T15:12:11.801Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-05T15:12:11.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-05T15:12:11.801Z] ---> 5bddaf1c2fca [2020-10-05T15:12:11.801Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-05T15:12:14.430Z] ---> Running in df8674c68256 [2020-10-05T15:12:14.705Z] Removing intermediate container df8674c68256 [2020-10-05T15:12:14.705Z] ---> 60ad72378a78 [2020-10-05T15:12:14.705Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-05T15:12:14.705Z] ---> Running in c5f071aa81bb [2020-10-05T15:12:18.106Z] Removing intermediate container c5f071aa81bb [2020-10-05T15:12:18.106Z] ---> daa38b98add2 [2020-10-05T15:12:18.106Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-05T15:12:18.106Z] ---> Running in d6e8fa0a7d08 [2020-10-05T15:12:18.636Z] Running on prd-centos7-docker-4c-2g-3471 in /w/workspace/dgexfoundry_device-sdk-go_PR-615 [Pipeline] { [Pipeline] ws [2020-10-05T15:12:18.749Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-05T15:12:19.086Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-05T15:12:20.058Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-05T15:12:20.657Z] OK: 142 MiB in 39 packages [2020-10-05T15:12:21.520Z] using credential edgex-jenkins-ssh [2020-10-05T15:12:21.581Z] Cloning the remote Git repository [2020-10-05T15:12:22.098Z] Removing intermediate container d6e8fa0a7d08 [2020-10-05T15:12:22.098Z] ---> 08a70baac745 [2020-10-05T15:12:22.098Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-05T15:12:22.098Z] ---> Running in 9f40a6ef1583 [2020-10-05T15:12:22.374Z] Removing intermediate container 9f40a6ef1583 [2020-10-05T15:12:22.374Z] ---> 8c77def0af95 [2020-10-05T15:12:22.374Z] Step 7/8 : COPY . . [2020-10-05T15:12:21.605Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-05T15:12:21.671Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-10-05T15:12:21.725Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-05T15:12:21.725Z] > git --version # timeout=10 [2020-10-05T15:12:21.731Z] > git --version # 'git version 2.16.5' [2020-10-05T15:12:21.732Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-05T15:12:21.759Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-05T15:12:22.970Z] Merging remotes/origin/master commit 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 into PR head commit 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 [2020-10-05T15:12:23.064Z] Merge succeeded, producing 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 [2020-10-05T15:12:23.065Z] Checking out Revision 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 (PR-615) [2020-10-05T15:12:22.418Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-05T15:12:22.423Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-05T15:12:22.434Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-05T15:12:22.450Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-05T15:12:22.451Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-05T15:12:22.454Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/615/head:refs/remotes/origin/PR-615 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-05T15:12:22.981Z] > git config core.sparsecheckout # timeout=10 [2020-10-05T15:12:22.987Z] > git checkout -f 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 # timeout=10 [2020-10-05T15:12:23.035Z] > git remote # timeout=10 [2020-10-05T15:12:23.041Z] > git config --get remote.origin.url # timeout=10 [2020-10-05T15:12:23.048Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-05T15:12:23.052Z] > git merge 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 # timeout=10 [2020-10-05T15:12:23.061Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-05T15:12:23.070Z] > git config core.sparsecheckout # timeout=10 [2020-10-05T15:12:23.074Z] > git checkout -f 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 # timeout=10 [2020-10-05T15:12:24.363Z] ---> f058dfc0b692 [2020-10-05T15:12:24.363Z] Step 8/8 : RUN go mod download [2020-10-05T15:12:24.363Z] ---> Running in 6586469ddf45 [2020-10-05T15:12:26.756Z] Commit message: "fix: improve device discovery flow and whitelist logic" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-05T15:12:27.652Z] ========================================================= [2020-10-05T15:12:27.652Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-05T15:12:27.652Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-05T15:12:28.279Z] + 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-05T15:12:28.549Z] Sending build context to Docker daemon 3.51MB [2020-10-05T15:12:28.549Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-05T15:12:28.549Z] Step 2/8 : FROM ${BASE} [2020-10-05T15:12:28.816Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-05T15:12:28.816Z] df20fa9351a1: Pulling fs layer [2020-10-05T15:12:28.816Z] ed8968b2872e: Pulling fs layer [2020-10-05T15:12:28.816Z] a92cc7c5fd73: Pulling fs layer [2020-10-05T15:12:28.816Z] e871e8e8d7a9: Pulling fs layer [2020-10-05T15:12:28.816Z] e73272ec9a57: Pulling fs layer [2020-10-05T15:12:28.816Z] 1e910a182e73: Pulling fs layer [2020-10-05T15:12:28.816Z] 4e634b169226: Pulling fs layer [2020-10-05T15:12:28.816Z] e73272ec9a57: Waiting [2020-10-05T15:12:28.816Z] 4e634b169226: Waiting [2020-10-05T15:12:28.816Z] 1e910a182e73: Waiting [2020-10-05T15:12:28.816Z] e871e8e8d7a9: Waiting [2020-10-05T15:12:28.816Z] a92cc7c5fd73: Verifying Checksum [2020-10-05T15:12:28.816Z] a92cc7c5fd73: Download complete [2020-10-05T15:12:28.816Z] ed8968b2872e: Verifying Checksum [2020-10-05T15:12:28.816Z] ed8968b2872e: Download complete [2020-10-05T15:12:28.816Z] e73272ec9a57: Verifying Checksum [2020-10-05T15:12:28.816Z] e73272ec9a57: Download complete [2020-10-05T15:12:28.816Z] 1e910a182e73: Verifying Checksum [2020-10-05T15:12:28.816Z] 1e910a182e73: Download complete [2020-10-05T15:12:28.816Z] df20fa9351a1: Verifying Checksum [2020-10-05T15:12:28.816Z] df20fa9351a1: Download complete [2020-10-05T15:12:29.079Z] df20fa9351a1: Pull complete [2020-10-05T15:12:29.342Z] ed8968b2872e: Pull complete [2020-10-05T15:12:29.342Z] a92cc7c5fd73: Pull complete [2020-10-05T15:12:30.732Z] 4e634b169226: Verifying Checksum [2020-10-05T15:12:30.732Z] 4e634b169226: Download complete [2020-10-05T15:12:31.681Z] e871e8e8d7a9: Verifying Checksum [2020-10-05T15:12:31.681Z] e871e8e8d7a9: Download complete [2020-10-05T15:12:37.016Z] e871e8e8d7a9: Pull complete [2020-10-05T15:12:37.016Z] e73272ec9a57: Pull complete [2020-10-05T15:12:37.016Z] 1e910a182e73: Pull complete [2020-10-05T15:12:42.342Z] 4e634b169226: Pull complete [2020-10-05T15:12:42.342Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-05T15:12:42.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-05T15:12:42.342Z] ---> f7629b54cfaa [2020-10-05T15:12:42.342Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-05T15:12:42.342Z] ---> Running in 17f0d975fe4d [2020-10-05T15:12:42.342Z] Removing intermediate container 17f0d975fe4d [2020-10-05T15:12:42.342Z] ---> 0760861d2847 [2020-10-05T15:12:42.342Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-05T15:12:42.342Z] ---> Running in aafbe4802356 [2020-10-05T15:12:43.740Z] Removing intermediate container aafbe4802356 [2020-10-05T15:12:43.740Z] ---> 2deeb8d9c06c [2020-10-05T15:12:43.740Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-05T15:12:43.740Z] ---> Running in fc1410991a65 [2020-10-05T15:12:44.317Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-05T15:12:45.266Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-05T15:12:45.847Z] OK: 166 MiB in 39 packages [2020-10-05T15:12:46.109Z] Removing intermediate container fc1410991a65 [2020-10-05T15:12:46.109Z] ---> b3a3547198c1 [2020-10-05T15:12:46.109Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-05T15:12:46.374Z] ---> Running in 861fb961693d [2020-10-05T15:12:46.374Z] Removing intermediate container 861fb961693d [2020-10-05T15:12:46.374Z] ---> 215eecfc5c24 [2020-10-05T15:12:46.374Z] Step 7/8 : COPY . . [2020-10-05T15:12:46.565Z] Removing intermediate container 6586469ddf45 [2020-10-05T15:12:46.565Z] ---> 49736bf02692 [2020-10-05T15:12:46.565Z] Successfully built 49736bf02692 [2020-10-05T15:12:46.565Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-05T15:12:46.972Z] + docker inspect -f . ci-base-image-arm64 [2020-10-05T15:12:46.972Z] . [Pipeline] withDockerContainer [2020-10-05T15:12:47.253Z] prd-ubuntu18.04-docker-arm64-4c-16g-3470 does not seem to be running inside a container [2020-10-05T15:12:47.337Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-05T15:12:47.777Z] ---> 039d6f3a48a9 [2020-10-05T15:12:47.777Z] Step 8/8 : RUN go mod download [2020-10-05T15:12:47.777Z] ---> Running in 9221fe187943 [2020-10-05T15:12:49.336Z] $ docker top 3108dab1a20605345fba1f390efccfc7d896e20910c68a89740cb33616f1c154 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-05T15:12:50.771Z] + go version [2020-10-05T15:12:50.772Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-05T15:12:50.798Z] $ docker stop --time=1 3108dab1a20605345fba1f390efccfc7d896e20910c68a89740cb33616f1c154 [2020-10-05T15:12:52.889Z] $ docker rm -f 3108dab1a20605345fba1f390efccfc7d896e20910c68a89740cb33616f1c154 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-05T15:12:54.034Z] + docker inspect -f . ci-base-image-arm64 [2020-10-05T15:12:54.034Z] . [Pipeline] withDockerContainer [2020-10-05T15:12:54.302Z] prd-ubuntu18.04-docker-arm64-4c-16g-3470 does not seem to be running inside a container [2020-10-05T15:12:54.386Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-05T15:12:56.343Z] $ docker top 95946ca2d719d5125c93909a3874254d6925a9e22c8162f15d902da39aa516a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-05T15:12:57.763Z] + make test [2020-10-05T15:12:57.763Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-05T15:13:09.797Z] Removing intermediate container 9221fe187943 [2020-10-05T15:13:09.797Z] ---> 0bd7374dae0d [2020-10-05T15:13:09.797Z] Successfully built 0bd7374dae0d [2020-10-05T15:13:09.797Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-05T15:13:10.174Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-05T15:13:10.174Z] . [Pipeline] withDockerContainer [2020-10-05T15:13:10.428Z] prd-centos7-docker-4c-2g-3471 does not seem to be running inside a container [2020-10-05T15:13:10.475Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-05T15:13:11.224Z] $ docker top 2543c1bee098dd2f81950b2948c88a51e176603e070293b93d13c9496aa46d05 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-05T15:13:11.716Z] + go version [2020-10-05T15:13:11.716Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-05T15:13:11.733Z] $ docker stop --time=1 2543c1bee098dd2f81950b2948c88a51e176603e070293b93d13c9496aa46d05 [2020-10-05T15:13:13.065Z] $ docker rm -f 2543c1bee098dd2f81950b2948c88a51e176603e070293b93d13c9496aa46d05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-05T15:13:13.970Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-05T15:13:13.970Z] . [Pipeline] withDockerContainer [2020-10-05T15:13:14.067Z] prd-centos7-docker-4c-2g-3471 does not seem to be running inside a container [2020-10-05T15:13:14.174Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-05T15:13:14.700Z] $ docker top c3d23868cb9616d7c1ba94a6c2379e0e342ce6b250b8efa2bcb6e5eba52bbf52 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-05T15:13:15.184Z] + make test [2020-10-05T15:13:15.184Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-05T15:13:19.947Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-05T15:13:21.816Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-05T15:13:36.871Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-05T15:13:36.871Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-05T15:13:36.871Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-05T15:13:36.871Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.060s coverage: 21.6% of statements [2020-10-05T15:13:36.871Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.441s coverage: 97.1% of statements [2020-10-05T15:13:58.984Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-05T15:13:58.984Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-05T15:13:58.984Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-05T15:13:58.984Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.175s coverage: 21.6% of statements [2020-10-05T15:14:00.439Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.293s coverage: 97.1% of statements [2020-10-05T15:14:09.027Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.057s coverage: 9.4% of statements [2020-10-05T15:14:09.027Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.048s coverage: 21.9% of statements [2020-10-05T15:14:09.027Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-05T15:14:09.027Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.208s coverage: 39.9% of statements [2020-10-05T15:14:09.027Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-05T15:14:09.027Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.276s coverage: 65.4% of statements [2020-10-05T15:14:09.027Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-05T15:14:09.027Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-05T15:14:09.027Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-05T15:14:09.027Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-05T15:14:09.027Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.068s coverage: 52.6% of statements [2020-10-05T15:14:09.027Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-05T15:14:09.027Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.329s coverage: 68.9% of statements [2020-10-05T15:14:09.027Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-05T15:14:09.027Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-05T15:14:09.027Z] GO111MODULE=on go vet ./... [2020-10-05T15:14:15.706Z] gofmt -l . [2020-10-05T15:14:15.706Z] [ "`gofmt -l .`" = "" ] [2020-10-05T15:14:15.706Z] ./bin/test-attribution-txt.sh [2020-10-05T15:14:15.706Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-05T15:14:16.397Z] Stashed 1 file(s) [Pipeline] } [2020-10-05T15:14:16.406Z] $ docker stop --time=1 c3d23868cb9616d7c1ba94a6c2379e0e342ce6b250b8efa2bcb6e5eba52bbf52 [2020-10-05T15:14:18.279Z] $ docker rm -f c3d23868cb9616d7c1ba94a6c2379e0e342ce6b250b8efa2bcb6e5eba52bbf52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-05T15:14:21.433Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-05T15:14:21.731Z] + ls -al . [2020-10-05T15:14:21.731Z] total 192 [2020-10-05T15:14:21.731Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 5 15:14 . [2020-10-05T15:14:21.731Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 5 15:12 .. [2020-10-05T15:14:21.731Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 5 15:12 bin [2020-10-05T15:14:21.731Z] -rw-r--r--. 1 jenkins jenkins 111040 Oct 5 15:14 coverage.out [2020-10-05T15:14:21.731Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 5 15:12 Dockerfile.build [2020-10-05T15:14:21.731Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 5 15:12 .dockerignore [2020-10-05T15:14:21.731Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 5 15:12 example [2020-10-05T15:14:21.731Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 5 15:12 .git [2020-10-05T15:14:21.731Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 5 15:12 .github [2020-10-05T15:14:21.731Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 5 15:12 .gitignore [2020-10-05T15:14:21.731Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 5 15:14 go.mod [2020-10-05T15:14:21.731Z] -rw-r--r--. 1 jenkins jenkins 13652 Oct 5 15:14 go.sum [2020-10-05T15:14:21.731Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 5 15:12 internal [2020-10-05T15:14:21.731Z] -rw-rw-r--. 1 jenkins jenkins 785 Oct 5 15:12 Jenkinsfile [2020-10-05T15:14:21.731Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 5 15:12 LICENSE [2020-10-05T15:14:21.731Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 5 15:12 Makefile [2020-10-05T15:14:21.731Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 5 15:12 openapi [2020-10-05T15:14:21.731Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 5 15:12 pkg [2020-10-05T15:14:21.731Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 5 15:12 README.md [2020-10-05T15:14:21.731Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 5 15:12 RELEASE-NOTES.txt [2020-10-05T15:14:21.731Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 5 15:12 .semver [2020-10-05T15:14:21.731Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 5 15:12 snap [2020-10-05T15:14:21.731Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 5 15:09 VERSION [2020-10-05T15:14:21.731Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 5 15:12 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-05T15:14:22.040Z] + 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=0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 --label arch=amd64 --label version=0.0.0 . [2020-10-05T15:14:22.302Z] Sending build context to Docker daemon 3.622MB [2020-10-05T15:14:22.302Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-05T15:14:22.302Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-05T15:14:22.302Z] ---> 0bd7374dae0d [2020-10-05T15:14:22.302Z] Step 3/24 : ARG MAKE='make build' [2020-10-05T15:14:22.875Z] ---> Running in 42a576b41573 [2020-10-05T15:14:22.875Z] Removing intermediate container 42a576b41573 [2020-10-05T15:14:22.875Z] ---> 4242247f14ef [2020-10-05T15:14:22.875Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-05T15:14:22.875Z] ---> Running in dc71335139a8 [2020-10-05T15:14:23.137Z] Removing intermediate container dc71335139a8 [2020-10-05T15:14:23.137Z] ---> e70433d57e6a [2020-10-05T15:14:23.137Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-05T15:14:23.137Z] ---> Running in adf28c22d2f8 [2020-10-05T15:14:23.400Z] Removing intermediate container adf28c22d2f8 [2020-10-05T15:14:23.400Z] ---> 67c30c96df5a [2020-10-05T15:14:23.400Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-05T15:14:23.400Z] ---> Running in ee621cce6d94 [2020-10-05T15:14:24.350Z] Removing intermediate container ee621cce6d94 [2020-10-05T15:14:24.350Z] ---> 30fdb23c82f2 [2020-10-05T15:14:24.350Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-05T15:14:24.350Z] ---> Running in e65242e058e4 [2020-10-05T15:14:24.612Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-05T15:14:25.557Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-05T15:14:25.824Z] OK: 166 MiB in 39 packages [2020-10-05T15:14:26.086Z] Removing intermediate container e65242e058e4 [2020-10-05T15:14:26.086Z] ---> bec9ec732cae [2020-10-05T15:14:26.086Z] Step 8/24 : COPY . . [2020-10-05T15:14:27.481Z] ---> 328e68d6c6b5 [2020-10-05T15:14:27.481Z] Step 9/24 : RUN ${MAKE} [2020-10-05T15:14:27.481Z] ---> Running in e93334995718 [2020-10-05T15:14:27.755Z] 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-05T15:14:32.803Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.116s coverage: 9.4% of statements [2020-10-05T15:14:32.803Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.131s coverage: 21.9% of statements [2020-10-05T15:14:32.803Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-05T15:14:32.803Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.541s coverage: 39.9% of statements [2020-10-05T15:14:32.803Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-05T15:14:32.803Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.736s coverage: 65.4% of statements [2020-10-05T15:14:32.803Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-05T15:14:32.803Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-05T15:14:32.803Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-05T15:14:32.803Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-05T15:14:32.803Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.207s coverage: 52.6% of statements [2020-10-05T15:14:32.803Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-05T15:14:32.803Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.630s coverage: 68.9% of statements [2020-10-05T15:14:32.803Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-05T15:14:32.803Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-05T15:14:32.803Z] GO111MODULE=on go vet ./... [2020-10-05T15:14:35.992Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-05T15:14:37.384Z] Removing intermediate container e93334995718 [2020-10-05T15:14:37.384Z] ---> d683e49c596c [2020-10-05T15:14:37.384Z] Step 10/24 : FROM scratch [2020-10-05T15:14:37.384Z] ---> [2020-10-05T15:14:37.384Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-05T15:14:37.384Z] ---> Running in b3f008f3c496 [2020-10-05T15:14:37.646Z] Removing intermediate container b3f008f3c496 [2020-10-05T15:14:37.646Z] ---> be7e86405bbc [2020-10-05T15:14:37.646Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-05T15:14:37.646Z] ---> Running in 669a252b2b93 [2020-10-05T15:14:37.908Z] Removing intermediate container 669a252b2b93 [2020-10-05T15:14:37.908Z] ---> 5d016d3b4b6c [2020-10-05T15:14:37.908Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-05T15:14:37.908Z] ---> Running in 347a0df2778e [2020-10-05T15:14:37.908Z] Removing intermediate container 347a0df2778e [2020-10-05T15:14:37.908Z] ---> 83a2fe5e9b8d [2020-10-05T15:14:37.908Z] Step 14/24 : WORKDIR / [2020-10-05T15:14:37.908Z] ---> Running in 92ac5097ca87 [2020-10-05T15:14:38.170Z] Removing intermediate container 92ac5097ca87 [2020-10-05T15:14:38.170Z] ---> e050fb48d8dd [2020-10-05T15:14:38.170Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-05T15:14:38.745Z] ---> 298885d6ebe3 [2020-10-05T15:14:38.745Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-05T15:14:38.745Z] ---> 7e6590f3f260 [2020-10-05T15:14:38.745Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-05T15:14:39.007Z] ---> 58bfd1f1e8fc [2020-10-05T15:14:39.007Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-05T15:14:39.269Z] ---> fb749feeec4e [2020-10-05T15:14:39.269Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-05T15:14:39.531Z] ---> 39abdab0fc94 [2020-10-05T15:14:39.531Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-05T15:14:39.531Z] ---> Running in 4bb375f47a11 [2020-10-05T15:14:39.794Z] Removing intermediate container 4bb375f47a11 [2020-10-05T15:14:39.794Z] ---> 27c003896ee6 [2020-10-05T15:14:39.794Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-05T15:14:39.794Z] ---> Running in 892b25d659e4 [2020-10-05T15:14:39.794Z] Removing intermediate container 892b25d659e4 [2020-10-05T15:14:39.794Z] ---> 48a05f9f2e8b [2020-10-05T15:14:39.794Z] Step 22/24 : LABEL arch=amd64 [2020-10-05T15:14:40.057Z] ---> Running in ffee4f940169 [2020-10-05T15:14:40.057Z] Removing intermediate container ffee4f940169 [2020-10-05T15:14:40.057Z] ---> ce4f90e624ab [2020-10-05T15:14:40.057Z] Step 23/24 : LABEL git_sha=0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 [2020-10-05T15:14:40.325Z] ---> Running in 7d5b7a7cd3cc [2020-10-05T15:14:40.325Z] Removing intermediate container 7d5b7a7cd3cc [2020-10-05T15:14:40.325Z] ---> 91675a4f98ef [2020-10-05T15:14:40.325Z] Step 24/24 : LABEL version=0.0.0 [2020-10-05T15:14:40.325Z] ---> Running in 66ba99e1d4f5 [2020-10-05T15:14:40.587Z] Removing intermediate container 66ba99e1d4f5 [2020-10-05T15:14:40.587Z] ---> f4eca6f7295b [2020-10-05T15:14:40.587Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-05T15:14:40.587Z] Successfully built f4eca6f7295b [2020-10-05T15:14:40.587Z] 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-05T15:14:59.667Z] gofmt -l . [2020-10-05T15:14:59.667Z] [ "`gofmt -l .`" = "" ] [2020-10-05T15:14:59.667Z] ./bin/test-attribution-txt.sh [2020-10-05T15:15:00.265Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-05T15:15:00.556Z] Warning: overwriting stash ‘coverage-report’ [2020-10-05T15:15:01.418Z] Stashed 1 file(s) [Pipeline] } [2020-10-05T15:15:01.427Z] $ docker stop --time=1 95946ca2d719d5125c93909a3874254d6925a9e22c8162f15d902da39aa516a2 [2020-10-05T15:15:03.719Z] $ docker rm -f 95946ca2d719d5125c93909a3874254d6925a9e22c8162f15d902da39aa516a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-05T15:15:05.216Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-05T15:15:05.584Z] + ls -al . [2020-10-05T15:15:05.584Z] total 232 [2020-10-05T15:15:05.584Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 5 15:15 . [2020-10-05T15:15:05.584Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 15:11 .. [2020-10-05T15:15:05.584Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 15:11 .dockerignore [2020-10-05T15:15:05.584Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 15:11 .git [2020-10-05T15:15:05.584Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 15:11 .github [2020-10-05T15:15:05.584Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 5 15:11 .gitignore [2020-10-05T15:15:05.584Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 15:11 .semver [2020-10-05T15:15:05.584Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 5 15:11 Dockerfile.build [2020-10-05T15:15:05.584Z] -rw-rw-r-- 1 jenkins jenkins 785 Oct 5 15:11 Jenkinsfile [2020-10-05T15:15:05.584Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 5 15:11 LICENSE [2020-10-05T15:15:05.584Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 5 15:11 Makefile [2020-10-05T15:15:05.584Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 5 15:11 README.md [2020-10-05T15:15:05.584Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 5 15:11 RELEASE-NOTES.txt [2020-10-05T15:15:05.584Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 5 15:09 VERSION [2020-10-05T15:15:05.584Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 15:11 bin [2020-10-05T15:15:05.584Z] -rw-r--r-- 1 jenkins jenkins 111040 Oct 5 15:14 coverage.out [2020-10-05T15:15:05.584Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 15:11 example [2020-10-05T15:15:05.584Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 5 15:15 go.mod [2020-10-05T15:15:05.584Z] -rw-r--r-- 1 jenkins jenkins 13652 Oct 5 15:15 go.sum [2020-10-05T15:15:05.584Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 5 15:11 internal [2020-10-05T15:15:05.584Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 15:11 openapi [2020-10-05T15:15:05.584Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 5 15:11 pkg [2020-10-05T15:15:05.584Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 15:11 snap [2020-10-05T15:15:05.584Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 5 15:11 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-05T15:15:05.981Z] + 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=0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 --label arch=arm64 --label version=0.0.0 . [2020-10-05T15:15:06.581Z] Sending build context to Docker daemon 3.622MB [2020-10-05T15:15:06.581Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-05T15:15:06.581Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-05T15:15:06.581Z] ---> 49736bf02692 [2020-10-05T15:15:06.581Z] Step 3/24 : ARG MAKE='make build' [2020-10-05T15:15:06.856Z] ---> Running in 093a7b52507d [2020-10-05T15:15:07.128Z] Removing intermediate container 093a7b52507d [2020-10-05T15:15:07.128Z] ---> b9d93ead409a [2020-10-05T15:15:07.128Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-05T15:15:07.402Z] ---> Running in 2c6455154ef9 [2020-10-05T15:15:07.684Z] Removing intermediate container 2c6455154ef9 [2020-10-05T15:15:07.684Z] ---> 930e31e220b7 [2020-10-05T15:15:07.684Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-05T15:15:07.958Z] ---> Running in d4504412b445 [2020-10-05T15:15:08.233Z] Removing intermediate container d4504412b445 [2020-10-05T15:15:08.233Z] ---> c796fd98f73e [2020-10-05T15:15:08.233Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-05T15:15:08.508Z] ---> Running in 2f1f7bf2baa8 [2020-10-05T15:15:11.141Z] Removing intermediate container 2f1f7bf2baa8 [2020-10-05T15:15:11.141Z] ---> 5e1e5fb529c7 [2020-10-05T15:15:11.141Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-05T15:15:11.141Z] ---> Running in 5d7882b7d348 [2020-10-05T15:15:12.578Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-05T15:15:13.174Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-05T15:15:13.771Z] OK: 142 MiB in 39 packages [2020-10-05T15:15:14.764Z] Removing intermediate container 5d7882b7d348 [2020-10-05T15:15:14.764Z] ---> 21af02761010 [2020-10-05T15:15:14.764Z] Step 8/24 : COPY . . [2020-10-05T15:15:16.746Z] ---> 5fa44736ec2c [2020-10-05T15:15:16.746Z] Step 9/24 : RUN ${MAKE} [2020-10-05T15:15:16.746Z] ---> Running in 83ee315d9579 [2020-10-05T15:15:18.176Z] 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-05T15:15:45.014Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-05T15:15:45.014Z] Removing intermediate container 83ee315d9579 [2020-10-05T15:15:45.014Z] ---> ca52607a43d6 [2020-10-05T15:15:45.014Z] Step 10/24 : FROM scratch [2020-10-05T15:15:45.014Z] ---> [2020-10-05T15:15:45.014Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-05T15:15:45.014Z] ---> Running in 6605151ae4e0 [2020-10-05T15:15:45.014Z] Removing intermediate container 6605151ae4e0 [2020-10-05T15:15:45.014Z] ---> d633c16ef057 [2020-10-05T15:15:45.014Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-05T15:15:45.014Z] ---> Running in c753de372d3a [2020-10-05T15:15:45.288Z] Removing intermediate container c753de372d3a [2020-10-05T15:15:45.288Z] ---> 2d6a1a7ffeeb [2020-10-05T15:15:45.288Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-05T15:15:45.288Z] ---> Running in 74b89952353e [2020-10-05T15:15:45.884Z] Removing intermediate container 74b89952353e [2020-10-05T15:15:45.884Z] ---> 83dea5d128df [2020-10-05T15:15:45.884Z] Step 14/24 : WORKDIR / [2020-10-05T15:15:45.884Z] ---> Running in 04a5ada9ea8a [2020-10-05T15:15:46.480Z] Removing intermediate container 04a5ada9ea8a [2020-10-05T15:15:46.480Z] ---> 8884d39295e4 [2020-10-05T15:15:46.480Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-05T15:15:47.464Z] ---> 291335e4b98a [2020-10-05T15:15:47.464Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-05T15:15:48.441Z] ---> d37e10c38e92 [2020-10-05T15:15:48.441Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-05T15:15:49.039Z] ---> d7ff5d21439b [2020-10-05T15:15:49.039Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-05T15:15:50.016Z] ---> b9216ba4e882 [2020-10-05T15:15:50.016Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-05T15:15:50.611Z] ---> c1cc6a4ba798 [2020-10-05T15:15:50.611Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-05T15:15:50.611Z] ---> Running in b56c7e8b2de0 [2020-10-05T15:15:51.207Z] Removing intermediate container b56c7e8b2de0 [2020-10-05T15:15:51.207Z] ---> 5cb82cc74397 [2020-10-05T15:15:51.207Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-05T15:15:51.207Z] ---> Running in 9c99c0099c54 [2020-10-05T15:15:51.802Z] Removing intermediate container 9c99c0099c54 [2020-10-05T15:15:51.802Z] ---> afc0c1889d49 [2020-10-05T15:15:51.802Z] Step 22/24 : LABEL arch=arm64 [2020-10-05T15:15:51.802Z] ---> Running in 877d73c123a6 [2020-10-05T15:15:52.393Z] Removing intermediate container 877d73c123a6 [2020-10-05T15:15:52.393Z] ---> 60264c9daec0 [2020-10-05T15:15:52.393Z] Step 23/24 : LABEL git_sha=0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 [2020-10-05T15:15:52.393Z] ---> Running in a8c3f80a2b57 [2020-10-05T15:15:52.665Z] Removing intermediate container a8c3f80a2b57 [2020-10-05T15:15:52.665Z] ---> f6b7a54b4674 [2020-10-05T15:15:52.665Z] Step 24/24 : LABEL version=0.0.0 [2020-10-05T15:15:52.936Z] ---> Running in e1f9b849d389 [2020-10-05T15:15:53.209Z] Removing intermediate container e1f9b849d389 [2020-10-05T15:15:53.209Z] ---> 45dc1c1f72ba [2020-10-05T15:15:53.209Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-05T15:15:53.209Z] Successfully built 45dc1c1f72ba [2020-10-05T15:15:53.209Z] 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-05T15:15:54.971Z] provisioning config files... [2020-10-05T15:15:54.984Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-615@tmp/config4500757012129845598tmp [Pipeline] { [Pipeline] sh [2020-10-05T15:15:55.358Z] + set +x [2020-10-05T15:15:55.358Z] + bash -s -- [2020-10-05T15:15:55.358Z] + curl -s https://codecov.io/bash [2020-10-05T15:15:55.620Z] [2020-10-05T15:15:55.620Z] _____ _ [2020-10-05T15:15:55.620Z] / ____| | | [2020-10-05T15:15:55.620Z] | | ___ __| | ___ ___ _____ __ [2020-10-05T15:15:55.620Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-05T15:15:55.620Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-05T15:15:55.620Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-05T15:15:55.620Z] Bash-20200917-4e8f14b [2020-10-05T15:15:55.620Z] [2020-10-05T15:15:55.620Z] [2020-10-05T15:15:55.620Z] ==> Jenkins CI detected. [2020-10-05T15:15:55.620Z] project root: . [2020-10-05T15:15:55.620Z] --> token set from env [2020-10-05T15:15:55.620Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-05T15:15:55.620Z] ==> Running gcov in . (disable via -X gcov) [2020-10-05T15:15:55.620Z] ==> Python coveragepy not found [2020-10-05T15:15:55.620Z] ==> Searching for coverage reports in: [2020-10-05T15:15:55.620Z] + . [2020-10-05T15:15:55.620Z] -> Found 1 reports [2020-10-05T15:15:55.620Z] ==> Detecting git/mercurial file structure [2020-10-05T15:15:55.620Z] ==> Reading reports [2020-10-05T15:15:55.620Z] + ./coverage.out bytes=111040 [2020-10-05T15:15:55.620Z] ==> Appending adjustments [2020-10-05T15:15:55.620Z] https://docs.codecov.io/docs/fixing-reports [2020-10-05T15:15:56.193Z] + Found adjustments [2020-10-05T15:15:56.193Z] ==> Gzipping contents [2020-10-05T15:15:56.193Z] ==> Uploading reports [2020-10-05T15:15:56.193Z] url: https://codecov.io [2020-10-05T15:15:56.193Z] query: branch=PR-615&commit=0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-615%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=615&job=&cmd_args= [2020-10-05T15:15:56.193Z] -> Pinging Codecov [2020-10-05T15:15:56.193Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-615&commit=0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-615%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=615&job=&cmd_args= [2020-10-05T15:15:56.771Z] -> Uploading to [2020-10-05T15:15:56.771Z] https://storage.googleapis.com/codecov/v4/raw/2020-10-05/7E55EF52A471D76F132DFD9A03CDDE97/0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9/293ca7b1-13b3-437a-b7d5-ce272deefd99.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201005%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201005T151556Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=31b505680df657d91b73747b2c60c7be21fc3fc6e8986e697509338d6cb3bacd [2020-10-05T15:15:56.771Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-05T15:15:56.771Z] Dload Upload Total Spent Left Speed [2020-10-05T15:15:57.033Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 18326 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18326 0 0 100 18326 0 39714 --:--:-- --:--:-- --:--:-- 39666 [2020-10-05T15:15:57.033Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 [Pipeline] } [2020-10-05T15:15:57.043Z] 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-05T15:15:59.625Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-05T15:16:00.187Z] ---> package-listing.sh [2020-10-05T15:16:00.187Z] ++ facter osfamily [2020-10-05T15:16:00.187Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-05T15:16:00.187Z] + OS_FAMILY=redhat [2020-10-05T15:16:00.187Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-615 [2020-10-05T15:16:00.187Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-05T15:16:00.187Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-05T15:16:00.187Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-05T15:16:00.187Z] + PACKAGES=/tmp/packages_start.txt [2020-10-05T15:16:00.187Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-615 ']' [2020-10-05T15:16:00.187Z] + PACKAGES=/tmp/packages_end.txt [2020-10-05T15:16:00.187Z] + case "${OS_FAMILY}" in [2020-10-05T15:16:00.187Z] + rpm -qa [2020-10-05T15:16:00.187Z] + sort [2020-10-05T15:16:04.399Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-05T15:16:04.399Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-05T15:16:04.399Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-05T15:16:04.399Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-615 ']' [2020-10-05T15:16:04.399Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-615/archives/ [2020-10-05T15:16:04.399Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-615/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-05T15:16:04.947Z] provisioning config files... [2020-10-05T15:16:04.964Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-615@tmp/config657017319038585384tmp [Pipeline] { [Pipeline] echo [2020-10-05T15:16:05.037Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-05T15:16:05.339Z] ---> create-netrc.sh [Pipeline] } [2020-10-05T15:16:05.349Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-05T15:16:05.526Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-05T15:16:05.824Z] ---> python-tools-install.sh [2020-10-05T15:16:05.824Z] Generating Requirements File [2020-10-05T15:17:27.411Z] Python 3.6.8 [2020-10-05T15:17:27.411Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-05T15:17:27.411Z] aiohttp==3.6.2 [2020-10-05T15:17:27.411Z] appdirs==1.4.3 [2020-10-05T15:17:27.411Z] argcomplete==1.12.1 [2020-10-05T15:17:27.411Z] aspy.yaml==1.3.0 [2020-10-05T15:17:27.411Z] async-timeout==3.0.1 [2020-10-05T15:17:27.411Z] attrs==19.3.0 [2020-10-05T15:17:27.411Z] Babel==2.8.0 [2020-10-05T15:17:27.411Z] beautifulsoup4==4.8.2 [2020-10-05T15:17:27.411Z] boto3==1.11.6 [2020-10-05T15:17:27.411Z] botocore==1.14.6 [2020-10-05T15:17:27.411Z] bs4==0.0.1 [2020-10-05T15:17:27.411Z] cachetools==4.1.1 [2020-10-05T15:17:27.411Z] certifi==2019.11.28 [2020-10-05T15:17:27.411Z] cffi==1.14.3 [2020-10-05T15:17:27.411Z] cfgv==2.0.1 [2020-10-05T15:17:27.411Z] chardet==3.0.4 [2020-10-05T15:17:27.411Z] click==7.1 [2020-10-05T15:17:27.411Z] cliff==3.4.0 [2020-10-05T15:17:27.411Z] cmd2==1.3.11 [2020-10-05T15:17:27.411Z] colorama==0.4.3 [2020-10-05T15:17:27.411Z] cryptography==3.1.1 [2020-10-05T15:17:27.411Z] debtcollector==2.2.0 [2020-10-05T15:17:27.411Z] decorator==4.4.2 [2020-10-05T15:17:27.411Z] defusedxml==0.6.0 [2020-10-05T15:17:27.411Z] Deprecated==1.2.7 [2020-10-05T15:17:27.411Z] distlib==0.3.1 [2020-10-05T15:17:27.411Z] distro==1.2.0 [2020-10-05T15:17:27.411Z] dnspython==1.16.0 [2020-10-05T15:17:27.411Z] docker==4.2.0 [2020-10-05T15:17:27.411Z] docutils==0.15.2 [2020-10-05T15:17:27.411Z] dogpile.cache==1.0.2 [2020-10-05T15:17:27.411Z] email-validator==1.0.5 [2020-10-05T15:17:27.411Z] filelock==3.0.12 [2020-10-05T15:17:27.411Z] future==0.18.2 [2020-10-05T15:17:27.411Z] google-auth==1.22.0 [2020-10-05T15:17:27.411Z] httplib2==0.17.0 [2020-10-05T15:17:27.411Z] identify==1.4.11 [2020-10-05T15:17:27.411Z] idna==2.9 [2020-10-05T15:17:27.411Z] idna-ssl==1.1.0 [2020-10-05T15:17:27.411Z] importlib-metadata==1.7.0 [2020-10-05T15:17:27.411Z] importlib-resources==1.5.0 [2020-10-05T15:17:27.411Z] iso8601==0.1.13 [2020-10-05T15:17:27.411Z] Jinja2==2.11.1 [2020-10-05T15:17:27.411Z] jmespath==0.10.0 [2020-10-05T15:17:27.411Z] jsonpatch==1.26 [2020-10-05T15:17:27.411Z] jsonpointer==2.0 [2020-10-05T15:17:27.411Z] jsonschema==3.2.0 [2020-10-05T15:17:27.411Z] keystoneauth1==4.2.1 [2020-10-05T15:17:27.411Z] kubernetes==11.0.0 [2020-10-05T15:17:27.411Z] lftools==0.34.2 [2020-10-05T15:17:27.411Z] lxml==4.5.0 [2020-10-05T15:17:27.411Z] MarkupSafe==0.23 [2020-10-05T15:17:27.411Z] msgpack==1.0.0 [2020-10-05T15:17:27.411Z] multi-key-dict==2.0.3 [2020-10-05T15:17:27.411Z] multidict==4.7.6 [2020-10-05T15:17:27.411Z] munch==2.5.0 [2020-10-05T15:17:27.411Z] netaddr==0.8.0 [2020-10-05T15:17:27.411Z] netifaces==0.10.9 [2020-10-05T15:17:27.411Z] niet==1.4.2 [2020-10-05T15:17:27.411Z] nodeenv==1.3.5 [2020-10-05T15:17:27.411Z] oauth2client==4.1.3 [2020-10-05T15:17:27.411Z] oauthlib==3.1.0 [2020-10-05T15:17:27.411Z] openstacksdk==0.50.0 [2020-10-05T15:17:27.411Z] os-client-config==2.1.0 [2020-10-05T15:17:27.411Z] os-service-types==1.7.0 [2020-10-05T15:17:27.411Z] osc-lib==2.2.1 [2020-10-05T15:17:27.411Z] oslo.config==8.3.2 [2020-10-05T15:17:27.411Z] oslo.context==3.1.1 [2020-10-05T15:17:27.411Z] oslo.i18n==5.0.1 [2020-10-05T15:17:27.411Z] oslo.log==4.4.0 [2020-10-05T15:17:27.411Z] oslo.serialization==4.0.1 [2020-10-05T15:17:27.411Z] oslo.utils==4.6.0 [2020-10-05T15:17:27.411Z] packaging==20.4 [2020-10-05T15:17:27.411Z] pbr==5.4.4 [2020-10-05T15:17:27.411Z] pluggy==0.13.1 [2020-10-05T15:17:27.411Z] prettytable==0.7.2 [2020-10-05T15:17:27.411Z] py==1.9.0 [2020-10-05T15:17:27.411Z] pyasn1==0.4.8 [2020-10-05T15:17:27.411Z] pyasn1-modules==0.2.8 [2020-10-05T15:17:27.411Z] pycparser==2.20 [2020-10-05T15:17:27.411Z] pygerrit2==2.0.10 [2020-10-05T15:17:27.411Z] PyGithub==1.46 [2020-10-05T15:17:27.411Z] pyinotify==0.9.6 [2020-10-05T15:17:27.411Z] PyJWT==1.7.1 [2020-10-05T15:17:27.411Z] pyparsing==2.4.7 [2020-10-05T15:17:27.411Z] pyperclip==1.8.0 [2020-10-05T15:17:27.411Z] pyroute2==0.4.13 [2020-10-05T15:17:27.411Z] pyrsistent==0.15.7 [2020-10-05T15:17:27.411Z] PySocks==1.6.8 [2020-10-05T15:17:27.411Z] python-cinderclient==7.2.0 [2020-10-05T15:17:27.411Z] python-dateutil==2.8.1 [2020-10-05T15:17:27.411Z] python-heatclient==2.2.1 [2020-10-05T15:17:27.411Z] python-jenkins==1.7.0 [2020-10-05T15:17:27.411Z] python-keystoneclient==4.1.1 [2020-10-05T15:17:27.411Z] python-magnumclient==3.2.1 [2020-10-05T15:17:27.411Z] python-novaclient==17.2.1 [2020-10-05T15:17:27.411Z] python-openstackclient==5.4.0 [2020-10-05T15:17:27.411Z] python-swiftclient==3.10.1 [2020-10-05T15:17:27.412Z] pytz==2020.1 [2020-10-05T15:17:27.412Z] PyYAML==5.3 [2020-10-05T15:17:27.412Z] requests==2.23.0 [2020-10-05T15:17:27.412Z] requests-oauthlib==1.3.0 [2020-10-05T15:17:27.412Z] requestsexceptions==1.4.0 [2020-10-05T15:17:27.412Z] rfc3986==1.4.0 [2020-10-05T15:17:27.412Z] rpm==4.11.3 [2020-10-05T15:17:27.412Z] rsa==4.0 [2020-10-05T15:17:27.412Z] ruamel.yaml==0.16.10 [2020-10-05T15:17:27.412Z] ruamel.yaml.clib==0.2.0 [2020-10-05T15:17:27.412Z] s3transfer==0.3.3 [2020-10-05T15:17:27.412Z] shade==1.27.2 [2020-10-05T15:17:27.412Z] simplejson==3.17.2 [2020-10-05T15:17:27.412Z] six==1.14.0 [2020-10-05T15:17:27.412Z] soupsieve==2.0 [2020-10-05T15:17:27.412Z] stevedore==3.2.2 [2020-10-05T15:17:27.412Z] tabulate==0.8.6 [2020-10-05T15:17:27.412Z] toml==0.10.0 [2020-10-05T15:17:27.412Z] tox==3.20.0 [2020-10-05T15:17:27.412Z] tqdm==4.43.0 [2020-10-05T15:17:27.412Z] typing-extensions==3.7.4.3 [2020-10-05T15:17:27.412Z] urllib3==1.25.8 [2020-10-05T15:17:27.412Z] virtualenv==20.0.33 [2020-10-05T15:17:27.412Z] wcwidth==0.2.5 [2020-10-05T15:17:27.412Z] websocket-client==0.57.0 [2020-10-05T15:17:27.412Z] wrapt==1.12.1 [2020-10-05T15:17:27.412Z] xdg==3.0.2 [2020-10-05T15:17:27.412Z] xmltodict==0.12.0 [2020-10-05T15:17:27.412Z] yarl==1.6.0 [2020-10-05T15:17:27.412Z] yq==2.11.1 [2020-10-05T15:17:27.412Z] zipp==3.3.0 [2020-10-05T15:17:27.412Z] Cache entry deserialization failed, entry ignored [2020-10-05T15:17:27.412Z] 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-05T15:17:27.412Z] Python 2.7.5 [2020-10-05T15:17:27.412Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-05T15:17:27.412Z] 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-05T15:17:27.412Z] ansible==2.9.7 [2020-10-05T15:17:27.412Z] Babel==0.9.6 [2020-10-05T15:17:27.412Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-05T15:17:27.412Z] beautifulsoup4==4.4.1 [2020-10-05T15:17:27.412Z] bodhi==2.11.0 [2020-10-05T15:17:27.412Z] bodhi-client==2.11.0 [2020-10-05T15:17:27.412Z] CCColUtils==1.4 [2020-10-05T15:17:27.412Z] cffi==1.6.0 [2020-10-05T15:17:27.412Z] chardet==2.2.1 [2020-10-05T15:17:27.412Z] click==6.7 [2020-10-05T15:17:27.412Z] cloud-init==18.5 [2020-10-05T15:17:27.412Z] configobj==4.7.2 [2020-10-05T15:17:27.412Z] cryptography==1.7.2 [2020-10-05T15:17:27.412Z] decorator==3.4.0 [2020-10-05T15:17:27.412Z] distro==1.2.0 [2020-10-05T15:17:27.412Z] enum34==1.0.4 [2020-10-05T15:17:27.412Z] fedpkg==1.38 [2020-10-05T15:17:27.412Z] futures==3.1.1 [2020-10-05T15:17:27.412Z] gitdb==0.6.4 [2020-10-05T15:17:27.412Z] GitPython==1.0.1 [2020-10-05T15:17:27.412Z] html5lib==0.999 [2020-10-05T15:17:27.412Z] httplib2==0.9.2 [2020-10-05T15:17:27.412Z] idna==2.4 [2020-10-05T15:17:27.412Z] iniparse==0.4 [2020-10-05T15:17:27.412Z] ipaddress==1.0.16 [2020-10-05T15:17:27.412Z] IPy==0.75 [2020-10-05T15:17:27.412Z] javapackages==1.0.0 [2020-10-05T15:17:27.412Z] Jinja2==2.7.2 [2020-10-05T15:17:27.412Z] jmespath==0.9.4 [2020-10-05T15:17:27.412Z] jsonpatch==1.2 [2020-10-05T15:17:27.412Z] jsonpointer==1.9 [2020-10-05T15:17:27.412Z] kerberos==1.1 [2020-10-05T15:17:27.412Z] kitchen==1.1.1 [2020-10-05T15:17:27.412Z] langtable==0.0.31 [2020-10-05T15:17:27.412Z] lockfile==0.9.1 [2020-10-05T15:17:27.412Z] lxml==3.2.1 [2020-10-05T15:17:27.412Z] MarkupSafe==0.11 [2020-10-05T15:17:27.412Z] munch==2.0.2 [2020-10-05T15:17:27.412Z] offtrac==0.1.0 [2020-10-05T15:17:27.412Z] openidc-client==0.6.0 [2020-10-05T15:17:27.412Z] packagedb-cli==2.14.1 [2020-10-05T15:17:27.412Z] paramiko==2.1.1 [2020-10-05T15:17:27.412Z] perf==0.1 [2020-10-05T15:17:27.412Z] ply==3.4 [2020-10-05T15:17:27.412Z] policycoreutils-default-encoding==0.1 [2020-10-05T15:17:27.412Z] prettytable==0.7.2 [2020-10-05T15:17:27.412Z] pyasn1==0.1.9 [2020-10-05T15:17:27.412Z] pycparser==2.14 [2020-10-05T15:17:27.412Z] pycurl==7.19.0 [2020-10-05T15:17:27.412Z] pygobject==3.22.0 [2020-10-05T15:17:27.412Z] pygpgme==0.3 [2020-10-05T15:17:27.412Z] pyliblzma==0.5.3 [2020-10-05T15:17:27.412Z] pyOpenSSL==0.13.1 [2020-10-05T15:17:27.412Z] pyparsing==1.5.6 [2020-10-05T15:17:27.412Z] pyserial==2.6 [2020-10-05T15:17:27.412Z] python-augeas==0.5.0 [2020-10-05T15:17:27.412Z] python-bugzilla==2.3.0 [2020-10-05T15:17:27.412Z] python-dateutil==1.5 [2020-10-05T15:17:27.412Z] python-fedora==0.10.0 [2020-10-05T15:17:27.412Z] python-linux-procfs==0.4.9 [2020-10-05T15:17:27.412Z] python-yubico==1.2.3 [2020-10-05T15:17:27.412Z] pyudev==0.15 [2020-10-05T15:17:27.412Z] pyusb==1.0.0b1 [2020-10-05T15:17:27.412Z] pyxattr==0.5.1 [2020-10-05T15:17:27.412Z] PyYAML==3.10 [2020-10-05T15:17:27.412Z] requests==2.6.0 [2020-10-05T15:17:27.412Z] requests-kerberos==0.7.0 [2020-10-05T15:17:27.412Z] rpkg==1.60 [2020-10-05T15:17:27.412Z] schedutils==0.4 [2020-10-05T15:17:27.412Z] seobject==0.1 [2020-10-05T15:17:27.412Z] sepolicy==1.1 [2020-10-05T15:17:27.412Z] six==1.9.0 [2020-10-05T15:17:27.412Z] smmap==0.9.0 [2020-10-05T15:17:27.412Z] urlgrabber==3.10 [2020-10-05T15:17:27.412Z] urllib3==1.10.2 [2020-10-05T15:17:27.412Z] virtualenv==15.1.0 [2020-10-05T15:17:27.412Z] yum-langpacks==0.4.2 [2020-10-05T15:17:27.412Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-05T15:17:27.426Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-05T15:17:27.733Z] ---> sudo-logs.sh [2020-10-05T15:17:27.734Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-05T15:17:28.008Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-05T15:17:28.314Z] ---> job-cost.sh [2020-10-05T15:17:28.315Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-FbYw [2020-10-05T15:17:38.426Z] Cache entry deserialization failed, entry ignored [2020-10-05T15:17:38.426Z] Cache entry deserialization failed, entry ignored [2020-10-05T15:17:38.426Z] Cache entry deserialization failed, entry ignored [2020-10-05T15:17:38.698Z] Cache entry deserialization failed, entry ignored [2020-10-05T15:17:40.089Z] Cache entry deserialization failed, entry ignored [2020-10-05T15:17:40.089Z] Cache entry deserialization failed, entry ignored [2020-10-05T15:17:40.354Z] Cache entry deserialization failed, entry ignored [2020-10-05T15:17:40.354Z] Cache entry deserialization failed, entry ignored [2020-10-05T15:17:40.615Z] Cache entry deserialization failed, entry ignored [2020-10-05T15:17:40.615Z] Cache entry deserialization failed, entry ignored [2020-10-05T15:17:40.615Z] Cache entry deserialization failed, entry ignored [2020-10-05T15:17:40.615Z] Cache entry deserialization failed, entry ignored [2020-10-05T15:17:43.933Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-05T15:18:10.571Z] lf-activate-venv(): INFO: Adding /tmp/venv-FbYw/bin to PATH [2020-10-05T15:18:10.571Z] INFO: No Stack... [2020-10-05T15:18:10.838Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-05T15:18:12.298Z] INFO: Archiving Costs [Pipeline] echo [2020-10-05T15:18:12.579Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-05T15:18:13.369Z] ---> logs-deploy.sh [2020-10-05T15:18:13.369Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-615/2 [2020-10-05T15:18:13.369Z] INFO: archiving workspace using pattern(s): [2020-10-05T15:18:14.764Z] Archives upload complete. [2020-10-05T15:18:15.032Z] INFO: archiving logs to Nexus