Pull request #619 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 5170f4a47c3c9327a8778b26b4877b346eedd69c+153a43e7e060228c1df4c616c423a5b384e52518 (db4ae567d9ae2faede6e2efbc6649c78c2be5c9c) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4769 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [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-619 # 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 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit 5170f4a47c3c9327a8778b26b4877b346eedd69c Merge succeeded, producing 5170f4a47c3c9327a8778b26b4877b346eedd69c Checking out Revision 5170f4a47c3c9327a8778b26b4877b346eedd69c (PR-619) > 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/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5170f4a47c3c9327a8778b26b4877b346eedd69c # 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 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5170f4a47c3c9327a8778b26b4877b346eedd69c # timeout=10 Commit message: "feat(sdk): fix requested changes in PR" > git rev-list --no-walk ebdeafb0d0ff330beb2a20cbeb14ea995b76909b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-12T08:24:17.081Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-12T08:24:17.368Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-12T08:24:17.468Z] ========================================================= [2020-10-12T08:24:17.468Z] EdgeX Global Pipelines Version Info [2020-10-12T08:24:17.468Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-12T08:24:18.938Z] ------------------- [2020-10-12T08:24:18.938Z] stable info: [2020-10-12T08:24:18.938Z] ------------------- [2020-10-12T08:24:18.938Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-12T08:24:18.938Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-12T08:24:18.938Z] Message: update stable to v1.0.131 [2020-10-12T08:24:19.883Z] ------------------- [2020-10-12T08:24:19.883Z] experimental info: [2020-10-12T08:24:19.883Z] ------------------- [2020-10-12T08:24:19.883Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-12T08:24:19.883Z] Commit SHA: 2e6d42a532571151575c80d72899821df0f9b0af [2020-10-12T08:24:19.883Z] Message: update experimental to v1.0.135 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-12T08:24:20.271Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-12T08:24:20.374Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-12T08:24:20.463Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-12T08:24:20.668Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-12T08:24:20.770Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-12T08:24:20.858Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-12T08:24:20.947Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-12T08:24:21.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-12T08:24:21.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-12T08:24:21.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-12T08:24:21.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-12T08:24:21.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-12T08:24:21.498Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-12T08:24:21.583Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-12T08:24:21.679Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-12T08:24:21.768Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T08:24:21.854Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T08:24:21.943Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T08:24:22.056Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-12T08:24:22.144Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-12T08:24:22.228Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-12T08:24:22.332Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-12T08:24:22.423Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-12T08:24:22.512Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-12T08:24:22.600Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-12T08:24:22.690Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-619 [Pipeline] echo [2020-10-12T08:24:22.775Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-619 [Pipeline] echo [2020-10-12T08:24:22.861Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-619 [Pipeline] echo [2020-10-12T08:24:22.958Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5170f4a47c3c9327a8778b26b4877b346eedd69c [Pipeline] echo [2020-10-12T08:24:23.047Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5170f4a [Pipeline] echo [2020-10-12T08:24:23.156Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-12T08:24:23.837Z] + git log --format=format:%s -1 5170f4a47c3c9327a8778b26b4877b346eedd69c [Pipeline] echo [2020-10-12T08:24:23.896Z] GIT_COMMIT: 5170f4a47c3c9327a8778b26b4877b346eedd69c, Commit Message: feat(sdk): fix requested changes in PR [Pipeline] echo [2020-10-12T08:24:23.942Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-12T08:24:24.483Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T08:24:24.745Z] [2020-10-12T08:24:24.745Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T08:24:25.092Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T08:24:25.092Z] latest: Pulling from edgex-devops/git-semver [2020-10-12T08:24:25.093Z] 31603596830f: Pulling fs layer [2020-10-12T08:24:25.093Z] 2a8b12db71e7: Pulling fs layer [2020-10-12T08:24:25.093Z] 6ca5941a6612: Pulling fs layer [2020-10-12T08:24:25.093Z] ecc8261a40a4: Pulling fs layer [2020-10-12T08:24:25.093Z] ecc8261a40a4: Waiting [2020-10-12T08:24:25.093Z] 2a8b12db71e7: Verifying Checksum [2020-10-12T08:24:25.093Z] 2a8b12db71e7: Download complete [2020-10-12T08:24:25.355Z] 31603596830f: Verifying Checksum [2020-10-12T08:24:25.355Z] 31603596830f: Download complete [2020-10-12T08:24:25.355Z] ecc8261a40a4: Verifying Checksum [2020-10-12T08:24:25.624Z] 6ca5941a6612: Verifying Checksum [2020-10-12T08:24:25.624Z] 6ca5941a6612: Download complete [2020-10-12T08:24:25.624Z] 31603596830f: Pull complete [2020-10-12T08:24:25.886Z] 2a8b12db71e7: Pull complete [2020-10-12T08:24:26.842Z] 6ca5941a6612: Pull complete [2020-10-12T08:24:26.842Z] ecc8261a40a4: Pull complete [2020-10-12T08:24:27.104Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-12T08:24:27.104Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T08:24:27.104Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-12T08:24:27.253Z] prd-centos7-docker-4c-2g-4769 does not seem to be running inside a container [2020-10-12T08:24:27.300Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-619 -v /w/workspace/dgexfoundry_device-sdk-go_PR-619:/w/workspace/dgexfoundry_device-sdk-go_PR-619:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-12T08:24:29.356Z] $ docker top b8b28327489d4fa6a117b45d195ce6838a5cd1eb9e23aeccb882cff570362553 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-12T08:24:29.689Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-12T08:24:29.689Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-12T08:24:29.889Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-12T08:24:29.895Z] $ docker exec b8b28327489d4fa6a117b45d195ce6838a5cd1eb9e23aeccb882cff570362553 ssh-agent [2020-10-12T08:24:30.051Z] SSH_AUTH_SOCK=/tmp/ssh-icZsQ3qNPEcx/agent.12 [2020-10-12T08:24:30.052Z] SSH_AGENT_PID=18 [2020-10-12T08:24:30.064Z] Running ssh-add (command line suppressed) [2020-10-12T08:24:30.189Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_1006191100845681871.key (/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_1006191100845681871.key) [2020-10-12T08:24:30.239Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-12T08:24:30.636Z] + git describe --exact-match --tags HEAD [2020-10-12T08:24:30.636Z] fatal: no tag exactly matches '5170f4a47c3c9327a8778b26b4877b346eedd69c' [Pipeline] } [2020-10-12T08:24:30.663Z] $ docker exec --env ******** --env ******** b8b28327489d4fa6a117b45d195ce6838a5cd1eb9e23aeccb882cff570362553 ssh-agent -k [2020-10-12T08:24:30.776Z] unset SSH_AUTH_SOCK; [2020-10-12T08:24:30.777Z] unset SSH_AGENT_PID; [2020-10-12T08:24:30.777Z] echo Agent pid 18 killed; [2020-10-12T08:24:30.818Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-12T08:24:30.908Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-12T08:24:30.908Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-12T08:24:31.060Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-12T08:24:31.060Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-12T08:24:31.224Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-12T08:24:31.231Z] $ docker exec b8b28327489d4fa6a117b45d195ce6838a5cd1eb9e23aeccb882cff570362553 ssh-agent [2020-10-12T08:24:31.390Z] SSH_AUTH_SOCK=/tmp/ssh-QekRVYHYvop1/agent.48 [2020-10-12T08:24:31.390Z] SSH_AGENT_PID=54 [2020-10-12T08:24:31.397Z] Running ssh-add (command line suppressed) [2020-10-12T08:24:31.517Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_3468158010406661189.key (/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_3468158010406661189.key) [2020-10-12T08:24:31.569Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-12T08:24:31.906Z] + git semver init [2020-10-12T08:24:31.906Z] # -> Open(): unable to determine branch for HEAD [2020-10-12T08:24:31.906Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-619/.git [2020-10-12T08:24:31.906Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-619 [2020-10-12T08:24:31.906Z] # $SEMVER_REMOTE_NAME = origin [2020-10-12T08:24:31.906Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-12T08:24:31.906Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-12T08:24:31.906Z] # $SEMVER_BRANCH = PR-619 [2020-10-12T08:24:31.906Z] # $SEMVER_TEMP = /tmp/semver-811607777 [2020-10-12T08:24:31.906Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-12T08:24:32.483Z] # '/tmp/semver-811607777' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-619/.semver' [2020-10-12T08:24:32.483Z] # -> Force: false [2020-10-12T08:24:32.483Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-619/.semver [Pipeline] } [2020-10-12T08:24:32.499Z] $ docker exec --env ******** --env ******** b8b28327489d4fa6a117b45d195ce6838a5cd1eb9e23aeccb882cff570362553 ssh-agent -k [2020-10-12T08:24:32.610Z] unset SSH_AUTH_SOCK; [2020-10-12T08:24:32.610Z] unset SSH_AGENT_PID; [2020-10-12T08:24:32.610Z] echo Agent pid 54 killed; [2020-10-12T08:24:32.652Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-12T08:24:33.141Z] + git semver [Pipeline] } [2020-10-12T08:24:33.161Z] $ docker stop --time=1 b8b28327489d4fa6a117b45d195ce6838a5cd1eb9e23aeccb882cff570362553 [2020-10-12T08:24:34.663Z] $ docker rm -f b8b28327489d4fa6a117b45d195ce6838a5cd1eb9e23aeccb882cff570362553 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-12T08:24:35.496Z] Stashed 48 file(s) [Pipeline] echo [2020-10-12T08:24:35.499Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-12T08:24:35.591Z] 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-12T08:24:51.040Z] Still waiting to schedule task [2020-10-12T08:24:51.041Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-12T08:24:51.042Z] Still waiting to schedule task [2020-10-12T08:24:51.043Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline [2020-10-12T08:26:47.929Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4770 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] ws [2020-10-12T08:26:48.029Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2020-10-12T08:26:52.954Z] using credential edgex-jenkins-ssh [2020-10-12T08:26:53.023Z] Cloning the remote Git repository [2020-10-12T08:26:53.090Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T08:26:53.212Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2020-10-12T08:26:53.289Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T08:26:53.290Z] > git --version # timeout=10 [2020-10-12T08:26:53.313Z] > git --version # 'git version 2.17.1' [2020-10-12T08:26:53.314Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T08:26:53.385Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T08:26:55.003Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T08:26:55.029Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T08:26:55.058Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T08:26:55.088Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T08:26:55.089Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T08:26:55.100Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-12T08:26:55.724Z] Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit 5170f4a47c3c9327a8778b26b4877b346eedd69c [2020-10-12T08:26:55.982Z] Merge succeeded, producing 5170f4a47c3c9327a8778b26b4877b346eedd69c [2020-10-12T08:26:55.983Z] Checking out Revision 5170f4a47c3c9327a8778b26b4877b346eedd69c (PR-619) [2020-10-12T08:26:55.750Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T08:26:55.765Z] > git checkout -f 5170f4a47c3c9327a8778b26b4877b346eedd69c # timeout=10 [2020-10-12T08:26:55.871Z] > git remote # timeout=10 [2020-10-12T08:26:55.886Z] > git config --get remote.origin.url # timeout=10 [2020-10-12T08:26:55.899Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T08:26:55.909Z] > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 [2020-10-12T08:26:55.930Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-12T08:26:55.996Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T08:26:56.016Z] > git checkout -f 5170f4a47c3c9327a8778b26b4877b346eedd69c # timeout=10 [2020-10-12T08:27:00.299Z] Commit message: "feat(sdk): fix requested changes in PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-12T08:27:01.652Z] ========================================================= [2020-10-12T08:27:01.652Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-12T08:27:01.652Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-12T08:27:02.821Z] + 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-12T08:27:03.801Z] Sending build context to Docker daemon 3.676MB [2020-10-12T08:27:03.801Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-12T08:27:03.801Z] Step 2/8 : FROM ${BASE} [2020-10-12T08:27:04.074Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-12T08:27:04.074Z] b538f80385f9: Pulling fs layer [2020-10-12T08:27:04.074Z] 74f711af9a0d: Pulling fs layer [2020-10-12T08:27:04.074Z] 99f96fe45779: Pulling fs layer [2020-10-12T08:27:04.074Z] 8529a6b9a6be: Pulling fs layer [2020-10-12T08:27:04.074Z] 45590311c82a: Pulling fs layer [2020-10-12T08:27:04.074Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-12T08:27:04.074Z] 209524e5b208: Pulling fs layer [2020-10-12T08:27:04.074Z] 8529a6b9a6be: Waiting [2020-10-12T08:27:04.074Z] 45590311c82a: Waiting [2020-10-12T08:27:04.074Z] 69ca0ff8b7b3: Waiting [2020-10-12T08:27:04.074Z] 209524e5b208: Waiting [2020-10-12T08:27:04.074Z] 99f96fe45779: Verifying Checksum [2020-10-12T08:27:04.074Z] 99f96fe45779: Download complete [2020-10-12T08:27:04.074Z] 74f711af9a0d: Verifying Checksum [2020-10-12T08:27:04.074Z] 74f711af9a0d: Download complete [2020-10-12T08:27:04.074Z] 45590311c82a: Verifying Checksum [2020-10-12T08:27:04.074Z] 45590311c82a: Download complete [2020-10-12T08:27:04.074Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-12T08:27:04.074Z] 69ca0ff8b7b3: Download complete [2020-10-12T08:27:04.671Z] b538f80385f9: Verifying Checksum [2020-10-12T08:27:04.671Z] b538f80385f9: Download complete [2020-10-12T08:27:05.265Z] b538f80385f9: Pull complete [2020-10-12T08:27:05.865Z] 74f711af9a0d: Pull complete [2020-10-12T08:27:06.137Z] 99f96fe45779: Pull complete [2020-10-12T08:27:07.568Z] 209524e5b208: Verifying Checksum [2020-10-12T08:27:07.568Z] 209524e5b208: Download complete [2020-10-12T08:27:08.544Z] 8529a6b9a6be: Verifying Checksum [2020-10-12T08:27:08.544Z] 8529a6b9a6be: Download complete [2020-10-12T08:27:18.700Z] 8529a6b9a6be: Pull complete [2020-10-12T08:27:18.700Z] 45590311c82a: Pull complete [2020-10-12T08:27:18.972Z] 69ca0ff8b7b3: Pull complete [2020-10-12T08:27:22.358Z] 209524e5b208: Pull complete [2020-10-12T08:27:22.358Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-12T08:27:22.358Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-12T08:27:22.358Z] ---> 5bddaf1c2fca [2020-10-12T08:27:22.358Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T08:27:22.753Z] Running on prd-centos7-docker-4c-2g-4771 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] ws [2020-10-12T08:27:22.877Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2020-10-12T08:27:24.986Z] ---> Running in bfe00c44a1fb [2020-10-12T08:27:25.592Z] Removing intermediate container bfe00c44a1fb [2020-10-12T08:27:25.592Z] ---> 4cbd57bdd466 [2020-10-12T08:27:25.592Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T08:27:25.592Z] ---> Running in bf3c81455e23 [2020-10-12T08:27:25.739Z] using credential edgex-jenkins-ssh [2020-10-12T08:27:25.825Z] Cloning the remote Git repository [2020-10-12T08:27:25.852Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T08:27:25.918Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2020-10-12T08:27:25.965Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T08:27:25.965Z] > git --version # timeout=10 [2020-10-12T08:27:25.973Z] > git --version # 'git version 2.16.5' [2020-10-12T08:27:25.973Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T08:27:25.999Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T08:27:27.216Z] Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit 5170f4a47c3c9327a8778b26b4877b346eedd69c [2020-10-12T08:27:27.317Z] Merge succeeded, producing 5170f4a47c3c9327a8778b26b4877b346eedd69c [2020-10-12T08:27:27.317Z] Checking out Revision 5170f4a47c3c9327a8778b26b4877b346eedd69c (PR-619) [2020-10-12T08:27:26.690Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T08:27:26.697Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T08:27:26.710Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T08:27:26.729Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T08:27:26.729Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T08:27:26.734Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-12T08:27:27.226Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T08:27:27.235Z] > git checkout -f 5170f4a47c3c9327a8778b26b4877b346eedd69c # timeout=10 [2020-10-12T08:27:27.288Z] > git remote # timeout=10 [2020-10-12T08:27:27.294Z] > git config --get remote.origin.url # timeout=10 [2020-10-12T08:27:27.299Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T08:27:27.303Z] > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 [2020-10-12T08:27:27.313Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-12T08:27:27.323Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T08:27:27.327Z] > git checkout -f 5170f4a47c3c9327a8778b26b4877b346eedd69c # timeout=10 [2020-10-12T08:27:28.217Z] Removing intermediate container bf3c81455e23 [2020-10-12T08:27:28.217Z] ---> 889718f751a8 [2020-10-12T08:27:28.217Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-12T08:27:28.217Z] ---> Running in e9b402c19032 [2020-10-12T08:27:29.655Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-12T08:27:30.252Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-12T08:27:30.848Z] OK: 142 MiB in 39 packages [2020-10-12T08:27:30.951Z] Commit message: "feat(sdk): fix requested changes in PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-10-12T08:27:31.841Z] Removing intermediate container e9b402c19032 [2020-10-12T08:27:31.841Z] ---> 6bc18332692d [2020-10-12T08:27:31.841Z] Step 6/8 : WORKDIR /device-sdk-go [Pipeline] echo [2020-10-12T08:27:31.879Z] ========================================================= [2020-10-12T08:27:31.879Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-12T08:27:31.879Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-12T08:27:32.132Z] ---> Running in 31a8331d1867 [2020-10-12T08:27:32.415Z] Removing intermediate container 31a8331d1867 [2020-10-12T08:27:32.416Z] ---> 2c23c7fd8f4e [2020-10-12T08:27:32.416Z] Step 7/8 : COPY . . [2020-10-12T08:27:32.961Z] + 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-12T08:27:33.540Z] Sending build context to Docker daemon 3.678MB [2020-10-12T08:27:33.540Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-12T08:27:33.540Z] Step 2/8 : FROM ${BASE} [2020-10-12T08:27:33.540Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-12T08:27:33.540Z] df20fa9351a1: Pulling fs layer [2020-10-12T08:27:33.540Z] ed8968b2872e: Pulling fs layer [2020-10-12T08:27:33.540Z] a92cc7c5fd73: Pulling fs layer [2020-10-12T08:27:33.540Z] e871e8e8d7a9: Pulling fs layer [2020-10-12T08:27:33.540Z] e73272ec9a57: Pulling fs layer [2020-10-12T08:27:33.540Z] 1e910a182e73: Pulling fs layer [2020-10-12T08:27:33.540Z] 4e634b169226: Pulling fs layer [2020-10-12T08:27:33.540Z] e73272ec9a57: Waiting [2020-10-12T08:27:33.540Z] 1e910a182e73: Waiting [2020-10-12T08:27:33.540Z] 4e634b169226: Waiting [2020-10-12T08:27:33.540Z] e871e8e8d7a9: Waiting [2020-10-12T08:27:33.540Z] a92cc7c5fd73: Verifying Checksum [2020-10-12T08:27:33.540Z] a92cc7c5fd73: Download complete [2020-10-12T08:27:33.540Z] ed8968b2872e: Verifying Checksum [2020-10-12T08:27:33.540Z] ed8968b2872e: Download complete [2020-10-12T08:27:33.540Z] e73272ec9a57: Verifying Checksum [2020-10-12T08:27:33.540Z] e73272ec9a57: Download complete [2020-10-12T08:27:33.540Z] 1e910a182e73: Verifying Checksum [2020-10-12T08:27:33.540Z] 1e910a182e73: Download complete [2020-10-12T08:27:33.540Z] df20fa9351a1: Verifying Checksum [2020-10-12T08:27:33.540Z] df20fa9351a1: Download complete [2020-10-12T08:27:33.803Z] df20fa9351a1: Pull complete [2020-10-12T08:27:34.071Z] ed8968b2872e: Pull complete [2020-10-12T08:27:34.336Z] a92cc7c5fd73: Pull complete [2020-10-12T08:27:34.400Z] ---> 10e840caa1f4 [2020-10-12T08:27:34.400Z] Step 8/8 : RUN go mod download [2020-10-12T08:27:34.400Z] ---> Running in 0ee657a1bdf0 [2020-10-12T08:27:35.737Z] 4e634b169226: Verifying Checksum [2020-10-12T08:27:35.737Z] 4e634b169226: Download complete [2020-10-12T08:27:36.314Z] e871e8e8d7a9: Verifying Checksum [2020-10-12T08:27:36.314Z] e871e8e8d7a9: Download complete [2020-10-12T08:27:41.667Z] e871e8e8d7a9: Pull complete [2020-10-12T08:27:41.667Z] e73272ec9a57: Pull complete [2020-10-12T08:27:41.667Z] 1e910a182e73: Pull complete [2020-10-12T08:27:46.979Z] 4e634b169226: Pull complete [2020-10-12T08:27:46.979Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-12T08:27:46.979Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-12T08:27:46.979Z] ---> f7629b54cfaa [2020-10-12T08:27:46.979Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T08:27:46.979Z] ---> Running in e49fd60666a4 [2020-10-12T08:27:46.979Z] Removing intermediate container e49fd60666a4 [2020-10-12T08:27:46.979Z] ---> 4b34f3f68bbc [2020-10-12T08:27:46.979Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T08:27:46.979Z] ---> Running in 3ecfb68c5b34 [2020-10-12T08:27:48.371Z] Removing intermediate container 3ecfb68c5b34 [2020-10-12T08:27:48.371Z] ---> 74c71bf7c80b [2020-10-12T08:27:48.371Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-12T08:27:48.371Z] ---> Running in 253bd44d14c7 [2020-10-12T08:27:48.948Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-12T08:27:49.526Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-12T08:27:50.101Z] OK: 166 MiB in 39 packages [2020-10-12T08:27:50.367Z] Removing intermediate container 253bd44d14c7 [2020-10-12T08:27:50.367Z] ---> 575dbf6d9cbe [2020-10-12T08:27:50.367Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-12T08:27:50.629Z] ---> Running in 1acc1d7a3f42 [2020-10-12T08:27:50.629Z] Removing intermediate container 1acc1d7a3f42 [2020-10-12T08:27:50.629Z] ---> 211ae6cecca9 [2020-10-12T08:27:50.629Z] Step 7/8 : COPY . . [2020-10-12T08:27:52.023Z] ---> 3b966ddbe31d [2020-10-12T08:27:52.023Z] Step 8/8 : RUN go mod download [2020-10-12T08:27:52.023Z] ---> Running in d4126ea65e24 [2020-10-12T08:27:56.554Z] Removing intermediate container 0ee657a1bdf0 [2020-10-12T08:27:56.554Z] ---> 505688a52535 [2020-10-12T08:27:56.554Z] Successfully built 505688a52535 [2020-10-12T08:27:56.554Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T08:27:56.972Z] + docker inspect -f . ci-base-image-arm64 [2020-10-12T08:27:56.972Z] . [Pipeline] withDockerContainer [2020-10-12T08:27:57.209Z] prd-ubuntu18.04-docker-arm64-4c-16g-4770 does not seem to be running inside a container [2020-10-12T08:27:57.304Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-12T08:27:59.073Z] $ docker top 3a05bc16b266072d32ce6cd5d8ad4282817a255ace0a10d5884c22b5c6deab75 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T08:28:00.482Z] + go version [2020-10-12T08:28:00.482Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-12T08:28:00.509Z] $ docker stop --time=1 3a05bc16b266072d32ce6cd5d8ad4282817a255ace0a10d5884c22b5c6deab75 [2020-10-12T08:28:02.413Z] $ docker rm -f 3a05bc16b266072d32ce6cd5d8ad4282817a255ace0a10d5884c22b5c6deab75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-12T08:28:03.520Z] + docker inspect -f . ci-base-image-arm64 [2020-10-12T08:28:03.520Z] . [Pipeline] withDockerContainer [2020-10-12T08:28:03.777Z] prd-ubuntu18.04-docker-arm64-4c-16g-4770 does not seem to be running inside a container [2020-10-12T08:28:03.862Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-12T08:28:05.693Z] $ docker top e48b8c7c471d89ebf2e26fd13186471a6a9a6902f42306fbd4afc6709ef763e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T08:28:07.092Z] + make test [2020-10-12T08:28:07.093Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-12T08:28:10.199Z] Removing intermediate container d4126ea65e24 [2020-10-12T08:28:10.199Z] ---> 62826159795c [2020-10-12T08:28:10.199Z] Successfully built 62826159795c [2020-10-12T08:28:10.199Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T08:28:10.554Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-12T08:28:10.554Z] . [Pipeline] withDockerContainer [2020-10-12T08:28:10.705Z] prd-centos7-docker-4c-2g-4771 does not seem to be running inside a container [2020-10-12T08:28:10.851Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-12T08:28:11.483Z] $ docker top 75f6d134a8c5134b97452c1575cf942624b99342bc2fce3ad6a0056af99f71b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T08:28:11.966Z] + go version [2020-10-12T08:28:11.966Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-12T08:28:11.983Z] $ docker stop --time=1 75f6d134a8c5134b97452c1575cf942624b99342bc2fce3ad6a0056af99f71b4 [2020-10-12T08:28:13.336Z] $ docker rm -f 75f6d134a8c5134b97452c1575cf942624b99342bc2fce3ad6a0056af99f71b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-12T08:28:14.168Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-12T08:28:14.168Z] . [Pipeline] withDockerContainer [2020-10-12T08:28:14.273Z] prd-centos7-docker-4c-2g-4771 does not seem to be running inside a container [2020-10-12T08:28:14.336Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-12T08:28:15.225Z] $ docker top fb33ebe42dfb515868485c0267c0acf1d374884b046a4b52699345b1059ea5f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T08:28:15.722Z] + make test [2020-10-12T08:28:15.722Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-12T08:28:22.354Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-12T08:28:29.287Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-12T08:28:37.346Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-12T08:28:37.346Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-12T08:28:37.346Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-12T08:28:37.346Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.085s coverage: 21.6% of statements [2020-10-12T08:28:38.737Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.438s coverage: 97.1% of statements [2020-10-12T08:29:08.314Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-12T08:29:08.314Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-12T08:29:08.314Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-12T08:29:08.314Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.122s coverage: 21.6% of statements [2020-10-12T08:29:10.894Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.064s coverage: 9.4% of statements [2020-10-12T08:29:10.895Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.061s coverage: 21.9% of statements [2020-10-12T08:29:10.895Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-12T08:29:10.895Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.207s coverage: 40.8% of statements [2020-10-12T08:29:10.895Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-12T08:29:10.895Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.299s coverage: 68.9% of statements [2020-10-12T08:29:10.895Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-12T08:29:10.895Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-12T08:29:10.895Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-12T08:29:10.895Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-12T08:29:10.895Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.066s coverage: 52.6% of statements [2020-10-12T08:29:10.895Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-12T08:29:10.895Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-12T08:29:10.895Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.380s coverage: 68.9% of statements [2020-10-12T08:29:10.895Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-12T08:29:10.895Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-12T08:29:10.895Z] GO111MODULE=on go vet ./... [2020-10-12T08:29:11.725Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.226s coverage: 97.1% of statements [2020-10-12T08:29:17.559Z] gofmt -l . [2020-10-12T08:29:17.559Z] [ "`gofmt -l .`" = "" ] [2020-10-12T08:29:17.559Z] ./bin/test-attribution-txt.sh [2020-10-12T08:29:17.559Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-12T08:29:17.900Z] Stashed 1 file(s) [Pipeline] } [2020-10-12T08:29:17.909Z] $ docker stop --time=1 fb33ebe42dfb515868485c0267c0acf1d374884b046a4b52699345b1059ea5f1 [2020-10-12T08:29:19.798Z] $ docker rm -f fb33ebe42dfb515868485c0267c0acf1d374884b046a4b52699345b1059ea5f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-12T08:29:23.896Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-12T08:29:24.197Z] + ls -al . [2020-10-12T08:29:24.197Z] total 188 [2020-10-12T08:29:24.197Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 12 08:29 . [2020-10-12T08:29:24.197Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 12 08:27 .. [2020-10-12T08:29:24.197Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 12 08:27 bin [2020-10-12T08:29:24.197Z] -rw-r--r--. 1 jenkins jenkins 110396 Oct 12 08:29 coverage.out [2020-10-12T08:29:24.197Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 12 08:27 Dockerfile.build [2020-10-12T08:29:24.197Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 12 08:27 .dockerignore [2020-10-12T08:29:24.197Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 12 08:27 example [2020-10-12T08:29:24.197Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 12 08:27 .git [2020-10-12T08:29:24.197Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 12 08:27 .github [2020-10-12T08:29:24.197Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 12 08:27 .gitignore [2020-10-12T08:29:24.197Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 12 08:29 go.mod [2020-10-12T08:29:24.197Z] -rw-r--r--. 1 jenkins jenkins 13652 Oct 12 08:29 go.sum [2020-10-12T08:29:24.197Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 12 08:27 internal [2020-10-12T08:29:24.197Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 12 08:27 Jenkinsfile [2020-10-12T08:29:24.197Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 12 08:27 LICENSE [2020-10-12T08:29:24.197Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 12 08:27 Makefile [2020-10-12T08:29:24.197Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 12 08:27 openapi [2020-10-12T08:29:24.197Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 12 08:27 pkg [2020-10-12T08:29:24.197Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 12 08:27 README.md [2020-10-12T08:29:24.197Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 12 08:27 RELEASE-NOTES.txt [2020-10-12T08:29:24.197Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 12 08:27 .semver [2020-10-12T08:29:24.197Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 12 08:27 snap [2020-10-12T08:29:24.197Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 12 08:24 VERSION [2020-10-12T08:29:24.197Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 12 08:27 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-12T08:29:24.509Z] + 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=5170f4a47c3c9327a8778b26b4877b346eedd69c --label arch=amd64 --label version=0.0.0 . [2020-10-12T08:29:24.773Z] Sending build context to Docker daemon 3.789MB [2020-10-12T08:29:24.773Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-12T08:29:24.773Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-12T08:29:24.773Z] ---> 62826159795c [2020-10-12T08:29:24.773Z] Step 3/24 : ARG MAKE='make build' [2020-10-12T08:29:25.349Z] ---> Running in 8857098a9bfc [2020-10-12T08:29:25.611Z] Removing intermediate container 8857098a9bfc [2020-10-12T08:29:25.611Z] ---> ba34be884172 [2020-10-12T08:29:25.611Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-12T08:29:25.611Z] ---> Running in f0d097013f92 [2020-10-12T08:29:25.611Z] Removing intermediate container f0d097013f92 [2020-10-12T08:29:25.611Z] ---> f969db084a4b [2020-10-12T08:29:25.611Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T08:29:25.874Z] ---> Running in 069b9699ca0d [2020-10-12T08:29:26.138Z] Removing intermediate container 069b9699ca0d [2020-10-12T08:29:26.138Z] ---> 9c47a7f9c23a [2020-10-12T08:29:26.138Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T08:29:26.138Z] ---> Running in 10e566a26821 [2020-10-12T08:29:27.091Z] Removing intermediate container 10e566a26821 [2020-10-12T08:29:27.091Z] ---> 9fa4e4adb508 [2020-10-12T08:29:27.091Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-12T08:29:27.091Z] ---> Running in daff0f89729f [2020-10-12T08:29:27.353Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-12T08:29:28.298Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-12T08:29:28.561Z] OK: 166 MiB in 39 packages [2020-10-12T08:29:29.136Z] Removing intermediate container daff0f89729f [2020-10-12T08:29:29.136Z] ---> 6926744bafbc [2020-10-12T08:29:29.136Z] Step 8/24 : COPY . . [2020-10-12T08:29:30.526Z] ---> 3f68bcfa26c9 [2020-10-12T08:29:30.527Z] Step 9/24 : RUN ${MAKE} [2020-10-12T08:29:30.527Z] ---> Running in e1f15c4701cf [2020-10-12T08:29:30.797Z] 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-12T08:29:38.506Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.138s coverage: 9.4% of statements [2020-10-12T08:29:38.506Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.106s coverage: 21.9% of statements [2020-10-12T08:29:38.506Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-12T08:29:38.506Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.592s coverage: 40.8% of statements [2020-10-12T08:29:38.506Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-12T08:29:38.506Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.823s coverage: 68.9% of statements [2020-10-12T08:29:38.506Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-12T08:29:38.506Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-12T08:29:38.506Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-12T08:29:38.506Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-12T08:29:38.506Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.172s coverage: 52.6% of statements [2020-10-12T08:29:38.506Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-12T08:29:38.506Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-12T08:29:38.506Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.648s coverage: 68.9% of statements [2020-10-12T08:29:38.506Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-12T08:29:38.506Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-12T08:29:38.779Z] GO111MODULE=on go vet ./... [2020-10-12T08:29:39.063Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-12T08:29:41.000Z] Removing intermediate container e1f15c4701cf [2020-10-12T08:29:41.000Z] ---> f23e51d9e90e [2020-10-12T08:29:41.000Z] Step 10/24 : FROM scratch [2020-10-12T08:29:41.000Z] ---> [2020-10-12T08:29:41.000Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T08:29:41.000Z] ---> Running in 607faac95c0f [2020-10-12T08:29:41.000Z] Removing intermediate container 607faac95c0f [2020-10-12T08:29:41.000Z] ---> 585964549542 [2020-10-12T08:29:41.000Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-12T08:29:41.000Z] ---> Running in 9676a3eb4ed1 [2020-10-12T08:29:41.000Z] Removing intermediate container 9676a3eb4ed1 [2020-10-12T08:29:41.000Z] ---> 0d1849e38382 [2020-10-12T08:29:41.000Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-12T08:29:41.000Z] ---> Running in 4377253c1ab1 [2020-10-12T08:29:41.262Z] Removing intermediate container 4377253c1ab1 [2020-10-12T08:29:41.262Z] ---> 4b55d977d1f6 [2020-10-12T08:29:41.262Z] Step 14/24 : WORKDIR / [2020-10-12T08:29:41.262Z] ---> Running in 48f9c94d5f25 [2020-10-12T08:29:41.524Z] Removing intermediate container 48f9c94d5f25 [2020-10-12T08:29:41.524Z] ---> 731adf8a8614 [2020-10-12T08:29:41.524Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-12T08:29:41.787Z] ---> 6c4348de127e [2020-10-12T08:29:41.787Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-12T08:29:42.049Z] ---> 53fb9cce502a [2020-10-12T08:29:42.049Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-12T08:29:42.312Z] ---> 9a70417266f7 [2020-10-12T08:29:42.312Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-12T08:29:42.573Z] ---> 84b5f8bc3814 [2020-10-12T08:29:42.573Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-12T08:29:42.836Z] ---> d4292737ab4c [2020-10-12T08:29:42.836Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-12T08:29:42.836Z] ---> Running in e5ae0d32d68f [2020-10-12T08:29:42.836Z] Removing intermediate container e5ae0d32d68f [2020-10-12T08:29:42.836Z] ---> 0da3c81dd4d9 [2020-10-12T08:29:42.836Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-12T08:29:43.098Z] ---> Running in 449cca7487ef [2020-10-12T08:29:43.098Z] Removing intermediate container 449cca7487ef [2020-10-12T08:29:43.098Z] ---> eaff395191de [2020-10-12T08:29:43.098Z] Step 22/24 : LABEL arch=amd64 [2020-10-12T08:29:43.360Z] ---> Running in a580c96bddd3 [2020-10-12T08:29:43.360Z] Removing intermediate container a580c96bddd3 [2020-10-12T08:29:43.360Z] ---> 40ee69dc4d84 [2020-10-12T08:29:43.360Z] Step 23/24 : LABEL git_sha=5170f4a47c3c9327a8778b26b4877b346eedd69c [2020-10-12T08:29:43.622Z] ---> Running in 4d229e135f85 [2020-10-12T08:29:43.884Z] Removing intermediate container 4d229e135f85 [2020-10-12T08:29:43.884Z] ---> 4d7746c4c021 [2020-10-12T08:29:43.884Z] Step 24/24 : LABEL version=0.0.0 [2020-10-12T08:29:43.884Z] ---> Running in ed1dbc2427b7 [2020-10-12T08:29:44.150Z] Removing intermediate container ed1dbc2427b7 [2020-10-12T08:29:44.150Z] ---> 82736088e67e [2020-10-12T08:29:44.150Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-12T08:29:44.150Z] Successfully built 82736088e67e [2020-10-12T08:29:44.150Z] 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-12T08:30:11.163Z] gofmt -l . [2020-10-12T08:30:11.163Z] [ "`gofmt -l .`" = "" ] [2020-10-12T08:30:11.163Z] ./bin/test-attribution-txt.sh [2020-10-12T08:30:11.163Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-12T08:30:11.184Z] Warning: overwriting stash ‘coverage-report’ [2020-10-12T08:30:12.206Z] Stashed 1 file(s) [Pipeline] } [2020-10-12T08:30:12.216Z] $ docker stop --time=1 e48b8c7c471d89ebf2e26fd13186471a6a9a6902f42306fbd4afc6709ef763e9 [2020-10-12T08:30:14.525Z] $ docker rm -f e48b8c7c471d89ebf2e26fd13186471a6a9a6902f42306fbd4afc6709ef763e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-12T08:30:16.019Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-12T08:30:16.398Z] + ls -al . [2020-10-12T08:30:16.398Z] total 228 [2020-10-12T08:30:16.398Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 08:30 . [2020-10-12T08:30:16.398Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 08:26 .. [2020-10-12T08:30:16.398Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 08:26 .dockerignore [2020-10-12T08:30:16.398Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 08:26 .git [2020-10-12T08:30:16.398Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 08:26 .github [2020-10-12T08:30:16.398Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 12 08:26 .gitignore [2020-10-12T08:30:16.398Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 08:27 .semver [2020-10-12T08:30:16.398Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 12 08:26 Dockerfile.build [2020-10-12T08:30:16.398Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 12 08:26 Jenkinsfile [2020-10-12T08:30:16.398Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 08:26 LICENSE [2020-10-12T08:30:16.398Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 12 08:26 Makefile [2020-10-12T08:30:16.398Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 12 08:26 README.md [2020-10-12T08:30:16.398Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 12 08:26 RELEASE-NOTES.txt [2020-10-12T08:30:16.398Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 08:24 VERSION [2020-10-12T08:30:16.398Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 08:26 bin [2020-10-12T08:30:16.398Z] -rw-r--r-- 1 jenkins jenkins 110396 Oct 12 08:29 coverage.out [2020-10-12T08:30:16.398Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 08:26 example [2020-10-12T08:30:16.398Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 12 08:30 go.mod [2020-10-12T08:30:16.398Z] -rw-r--r-- 1 jenkins jenkins 13652 Oct 12 08:30 go.sum [2020-10-12T08:30:16.398Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 12 08:26 internal [2020-10-12T08:30:16.398Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 08:26 openapi [2020-10-12T08:30:16.398Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 08:26 pkg [2020-10-12T08:30:16.398Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 08:26 snap [2020-10-12T08:30:16.398Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 08:26 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-12T08:30:16.779Z] + 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=5170f4a47c3c9327a8778b26b4877b346eedd69c --label arch=arm64 --label version=0.0.0 . [2020-10-12T08:30:17.369Z] Sending build context to Docker daemon 3.787MB [2020-10-12T08:30:17.369Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-12T08:30:17.369Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-12T08:30:17.369Z] ---> 505688a52535 [2020-10-12T08:30:17.369Z] Step 3/24 : ARG MAKE='make build' [2020-10-12T08:30:17.641Z] ---> Running in 4d6ba40d9b7d [2020-10-12T08:30:17.915Z] Removing intermediate container 4d6ba40d9b7d [2020-10-12T08:30:17.915Z] ---> bdd530038288 [2020-10-12T08:30:17.915Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-12T08:30:18.188Z] ---> Running in 46d30d4ccf6c [2020-10-12T08:30:18.470Z] Removing intermediate container 46d30d4ccf6c [2020-10-12T08:30:18.470Z] ---> f58eb44afc39 [2020-10-12T08:30:18.470Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T08:30:18.742Z] ---> Running in 1d1d436be546 [2020-10-12T08:30:19.015Z] Removing intermediate container 1d1d436be546 [2020-10-12T08:30:19.015Z] ---> 105232ae1f9a [2020-10-12T08:30:19.015Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T08:30:19.290Z] ---> Running in 69b884d4c06d [2020-10-12T08:30:21.904Z] Removing intermediate container 69b884d4c06d [2020-10-12T08:30:21.904Z] ---> 794a2d30323c [2020-10-12T08:30:21.904Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-12T08:30:21.904Z] ---> Running in 51e847692657 [2020-10-12T08:30:23.350Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-12T08:30:23.942Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-12T08:30:24.535Z] OK: 142 MiB in 39 packages [2020-10-12T08:30:25.972Z] Removing intermediate container 51e847692657 [2020-10-12T08:30:25.973Z] ---> 96c3101981a9 [2020-10-12T08:30:25.973Z] Step 8/24 : COPY . . [2020-10-12T08:30:27.405Z] ---> e1f08f096a9e [2020-10-12T08:30:27.405Z] Step 9/24 : RUN ${MAKE} [2020-10-12T08:30:27.685Z] ---> Running in 5f03499cde7a [2020-10-12T08:30:29.123Z] 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-12T08:30:55.945Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-12T08:30:55.945Z] Removing intermediate container 5f03499cde7a [2020-10-12T08:30:55.945Z] ---> bd6753097590 [2020-10-12T08:30:55.945Z] Step 10/24 : FROM scratch [2020-10-12T08:30:55.945Z] ---> [2020-10-12T08:30:55.945Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T08:30:55.945Z] ---> Running in c503b91e34af [2020-10-12T08:30:55.945Z] Removing intermediate container c503b91e34af [2020-10-12T08:30:55.945Z] ---> 7c82e85a7628 [2020-10-12T08:30:55.945Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-12T08:30:55.945Z] ---> Running in b153df8a4a50 [2020-10-12T08:30:55.945Z] Removing intermediate container b153df8a4a50 [2020-10-12T08:30:55.945Z] ---> ffc930f8afda [2020-10-12T08:30:55.945Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-12T08:30:56.226Z] ---> Running in 08854f21fbc1 [2020-10-12T08:30:56.498Z] Removing intermediate container 08854f21fbc1 [2020-10-12T08:30:56.498Z] ---> f24abe166ca2 [2020-10-12T08:30:56.498Z] Step 14/24 : WORKDIR / [2020-10-12T08:30:56.498Z] ---> Running in a3bf64e83ac9 [2020-10-12T08:30:57.093Z] Removing intermediate container a3bf64e83ac9 [2020-10-12T08:30:57.093Z] ---> 81aed4e6d85a [2020-10-12T08:30:57.093Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-12T08:30:58.071Z] ---> c258418ba31e [2020-10-12T08:30:58.071Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-12T08:30:59.058Z] ---> 038c86b805e6 [2020-10-12T08:30:59.058Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-12T08:30:59.651Z] ---> f0f069877b79 [2020-10-12T08:30:59.651Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-12T08:31:00.240Z] ---> 45ae319345e5 [2020-10-12T08:31:00.240Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-12T08:31:00.832Z] ---> f52b40f5eb1b [2020-10-12T08:31:00.832Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-12T08:31:01.103Z] ---> Running in d5c5e0c9a95f [2020-10-12T08:31:01.383Z] Removing intermediate container d5c5e0c9a95f [2020-10-12T08:31:01.383Z] ---> 5fa829b1269e [2020-10-12T08:31:01.383Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-12T08:31:01.654Z] ---> Running in f2871b84c5ea [2020-10-12T08:31:02.250Z] Removing intermediate container f2871b84c5ea [2020-10-12T08:31:02.250Z] ---> 4e23f9b88872 [2020-10-12T08:31:02.250Z] Step 22/24 : LABEL arch=arm64 [2020-10-12T08:31:02.250Z] ---> Running in 84c23beade39 [2020-10-12T08:31:02.845Z] Removing intermediate container 84c23beade39 [2020-10-12T08:31:02.845Z] ---> 09aefbe8918c [2020-10-12T08:31:02.845Z] Step 23/24 : LABEL git_sha=5170f4a47c3c9327a8778b26b4877b346eedd69c [2020-10-12T08:31:02.845Z] ---> Running in e7bdff7163af [2020-10-12T08:31:03.438Z] Removing intermediate container e7bdff7163af [2020-10-12T08:31:03.438Z] ---> 0a884e305d3d [2020-10-12T08:31:03.438Z] Step 24/24 : LABEL version=0.0.0 [2020-10-12T08:31:03.438Z] ---> Running in cef2deaaa97b [2020-10-12T08:31:04.029Z] Removing intermediate container cef2deaaa97b [2020-10-12T08:31:04.029Z] ---> 8e7cb1a0f250 [2020-10-12T08:31:04.029Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-12T08:31:04.029Z] Successfully built 8e7cb1a0f250 [2020-10-12T08:31:04.029Z] 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-12T08:31:06.408Z] provisioning config files... [2020-10-12T08:31:06.421Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/config7749394265210479670tmp [Pipeline] { [Pipeline] sh [2020-10-12T08:31:06.800Z] + set +x [2020-10-12T08:31:06.800Z] + curl -s https://codecov.io/bash [2020-10-12T08:31:06.801Z] + bash -s -- [2020-10-12T08:31:07.063Z] [2020-10-12T08:31:07.063Z] _____ _ [2020-10-12T08:31:07.063Z] / ____| | | [2020-10-12T08:31:07.063Z] | | ___ __| | ___ ___ _____ __ [2020-10-12T08:31:07.063Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-12T08:31:07.063Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-12T08:31:07.063Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-12T08:31:07.063Z] Bash-20201009-048fee3 [2020-10-12T08:31:07.063Z] [2020-10-12T08:31:07.063Z] [2020-10-12T08:31:07.063Z] ==> Jenkins CI detected. [2020-10-12T08:31:07.063Z] project root: . [2020-10-12T08:31:07.063Z] --> token set from env [2020-10-12T08:31:07.064Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-12T08:31:07.064Z] ==> Running gcov in . (disable via -X gcov) [2020-10-12T08:31:07.064Z] ==> Python coveragepy not found [2020-10-12T08:31:07.064Z] ==> Searching for coverage reports in: [2020-10-12T08:31:07.064Z] + . [2020-10-12T08:31:07.064Z] -> Found 1 reports [2020-10-12T08:31:07.064Z] ==> Detecting git/mercurial file structure [2020-10-12T08:31:07.064Z] ==> Reading reports [2020-10-12T08:31:07.064Z] + ./coverage.out bytes=110396 [2020-10-12T08:31:07.064Z] ==> Appending adjustments [2020-10-12T08:31:07.064Z] https://docs.codecov.io/docs/fixing-reports [2020-10-12T08:31:07.637Z] + Found adjustments [2020-10-12T08:31:07.637Z] ==> Gzipping contents [2020-10-12T08:31:07.637Z] ==> Uploading reports [2020-10-12T08:31:07.637Z] url: https://codecov.io [2020-10-12T08:31:07.637Z] query: branch=PR-619&commit=5170f4a47c3c9327a8778b26b4877b346eedd69c&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-619%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=619&job=&cmd_args= [2020-10-12T08:31:07.637Z] -> Pinging Codecov [2020-10-12T08:31:07.637Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-619&commit=5170f4a47c3c9327a8778b26b4877b346eedd69c&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-619%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=619&job=&cmd_args= [2020-10-12T08:31:07.637Z] -> Uploading to [2020-10-12T08:31:07.637Z] [2020-10-12T08:31:07.637Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-12T08:31:07.637Z] Dload Upload Total Spent Left Speed [2020-10-12T08:31:07.637Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-12T08:31:07.637Z] X> Failed to upload [2020-10-12T08:31:07.637Z] ==> Uploading to Codecov [2020-10-12T08:31:07.637Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-12T08:31:07.637Z] Dload Upload Total Spent Left Speed [2020-10-12T08:31:08.213Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 18759 0 0 100 18649 0 32713 --:--:-- --:--:-- --:--:-- 32717 100 18759 100 110 100 18649 192 32700 --:--:-- --:--:-- --:--:-- 32660 [2020-10-12T08:31:08.213Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5170f4a47c3c9327a8778b26b4877b346eedd69c [Pipeline] } [2020-10-12T08:31:08.223Z] 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-12T08:31:11.157Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T08:31:11.730Z] ---> package-listing.sh [2020-10-12T08:31:11.731Z] ++ facter osfamily [2020-10-12T08:31:11.731Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-12T08:31:11.731Z] + OS_FAMILY=redhat [2020-10-12T08:31:11.731Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-619 [2020-10-12T08:31:11.731Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-12T08:31:11.731Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-12T08:31:11.731Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-12T08:31:11.731Z] + PACKAGES=/tmp/packages_start.txt [2020-10-12T08:31:11.731Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-619 ']' [2020-10-12T08:31:11.731Z] + PACKAGES=/tmp/packages_end.txt [2020-10-12T08:31:11.731Z] + case "${OS_FAMILY}" in [2020-10-12T08:31:11.731Z] + rpm -qa [2020-10-12T08:31:11.731Z] + sort [2020-10-12T08:31:15.954Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-12T08:31:15.954Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-12T08:31:15.954Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-12T08:31:15.954Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-619 ']' [2020-10-12T08:31:15.954Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-619/archives/ [2020-10-12T08:31:15.954Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-619/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-12T08:31:16.528Z] provisioning config files... [2020-10-12T08:31:16.546Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/config1893279385367888898tmp [Pipeline] { [Pipeline] echo [2020-10-12T08:31:16.637Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T08:31:16.934Z] ---> create-netrc.sh [Pipeline] } [2020-10-12T08:31:16.943Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-12T08:31:17.036Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T08:31:17.331Z] ---> python-tools-install.sh [2020-10-12T08:31:17.331Z] Generating Requirements File [2020-10-12T08:32:25.114Z] Python 3.6.8 [2020-10-12T08:32:25.114Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-12T08:32:25.376Z] appdirs==1.4.3 [2020-10-12T08:32:25.376Z] argcomplete==1.12.1 [2020-10-12T08:32:25.376Z] aspy.yaml==1.3.0 [2020-10-12T08:32:25.376Z] attrs==19.3.0 [2020-10-12T08:32:25.376Z] Babel==2.8.0 [2020-10-12T08:32:25.376Z] beautifulsoup4==4.8.2 [2020-10-12T08:32:25.376Z] boto3==1.11.6 [2020-10-12T08:32:25.376Z] botocore==1.14.6 [2020-10-12T08:32:25.376Z] bs4==0.0.1 [2020-10-12T08:32:25.376Z] cachetools==4.1.1 [2020-10-12T08:32:25.376Z] certifi==2019.11.28 [2020-10-12T08:32:25.376Z] cffi==1.14.3 [2020-10-12T08:32:25.376Z] cfgv==2.0.1 [2020-10-12T08:32:25.376Z] chardet==3.0.4 [2020-10-12T08:32:25.376Z] click==7.1 [2020-10-12T08:32:25.376Z] cliff==3.4.0 [2020-10-12T08:32:25.376Z] cmd2==1.3.11 [2020-10-12T08:32:25.376Z] colorama==0.4.3 [2020-10-12T08:32:25.376Z] cryptography==3.1.1 [2020-10-12T08:32:25.376Z] debtcollector==2.2.0 [2020-10-12T08:32:25.376Z] decorator==4.4.2 [2020-10-12T08:32:25.376Z] defusedxml==0.6.0 [2020-10-12T08:32:25.376Z] Deprecated==1.2.7 [2020-10-12T08:32:25.376Z] distlib==0.3.1 [2020-10-12T08:32:25.376Z] distro==1.2.0 [2020-10-12T08:32:25.376Z] dnspython==1.16.0 [2020-10-12T08:32:25.376Z] docker==4.2.0 [2020-10-12T08:32:25.376Z] docutils==0.15.2 [2020-10-12T08:32:25.376Z] dogpile.cache==1.0.2 [2020-10-12T08:32:25.376Z] email-validator==1.0.5 [2020-10-12T08:32:25.376Z] filelock==3.0.12 [2020-10-12T08:32:25.376Z] future==0.18.2 [2020-10-12T08:32:25.376Z] google-auth==1.22.1 [2020-10-12T08:32:25.376Z] httplib2==0.17.0 [2020-10-12T08:32:25.376Z] identify==1.4.11 [2020-10-12T08:32:25.376Z] idna==2.9 [2020-10-12T08:32:25.376Z] importlib-metadata==2.0.0 [2020-10-12T08:32:25.376Z] importlib-resources==1.5.0 [2020-10-12T08:32:25.376Z] iso8601==0.1.13 [2020-10-12T08:32:25.376Z] Jinja2==2.11.1 [2020-10-12T08:32:25.376Z] jmespath==0.10.0 [2020-10-12T08:32:25.376Z] jsonpatch==1.26 [2020-10-12T08:32:25.376Z] jsonpointer==2.0 [2020-10-12T08:32:25.376Z] jsonschema==3.2.0 [2020-10-12T08:32:25.376Z] keystoneauth1==4.2.1 [2020-10-12T08:32:25.376Z] kubernetes==11.0.0 [2020-10-12T08:32:25.376Z] lftools==0.34.2 [2020-10-12T08:32:25.376Z] lxml==4.5.0 [2020-10-12T08:32:25.376Z] MarkupSafe==0.23 [2020-10-12T08:32:25.376Z] msgpack==1.0.0 [2020-10-12T08:32:25.376Z] multi-key-dict==2.0.3 [2020-10-12T08:32:25.376Z] munch==2.5.0 [2020-10-12T08:32:25.376Z] netaddr==0.8.0 [2020-10-12T08:32:25.376Z] netifaces==0.10.9 [2020-10-12T08:32:25.376Z] niet==1.4.2 [2020-10-12T08:32:25.376Z] nodeenv==1.3.5 [2020-10-12T08:32:25.376Z] oauth2client==4.1.3 [2020-10-12T08:32:25.376Z] oauthlib==3.1.0 [2020-10-12T08:32:25.376Z] openstacksdk==0.50.0 [2020-10-12T08:32:25.376Z] os-client-config==2.1.0 [2020-10-12T08:32:25.376Z] os-service-types==1.7.0 [2020-10-12T08:32:25.376Z] osc-lib==2.2.1 [2020-10-12T08:32:25.376Z] oslo.config==8.3.2 [2020-10-12T08:32:25.376Z] oslo.context==3.1.1 [2020-10-12T08:32:25.376Z] oslo.i18n==5.0.1 [2020-10-12T08:32:25.376Z] oslo.log==4.4.0 [2020-10-12T08:32:25.376Z] oslo.serialization==4.0.1 [2020-10-12T08:32:25.376Z] oslo.utils==4.6.0 [2020-10-12T08:32:25.376Z] packaging==20.4 [2020-10-12T08:32:25.376Z] pbr==5.4.4 [2020-10-12T08:32:25.376Z] pluggy==0.13.1 [2020-10-12T08:32:25.376Z] prettytable==0.7.2 [2020-10-12T08:32:25.376Z] py==1.9.0 [2020-10-12T08:32:25.376Z] pyasn1==0.4.8 [2020-10-12T08:32:25.376Z] pyasn1-modules==0.2.8 [2020-10-12T08:32:25.376Z] pycparser==2.20 [2020-10-12T08:32:25.376Z] pygerrit2==2.0.10 [2020-10-12T08:32:25.376Z] PyGithub==1.46 [2020-10-12T08:32:25.376Z] pyinotify==0.9.6 [2020-10-12T08:32:25.376Z] PyJWT==1.7.1 [2020-10-12T08:32:25.376Z] pyparsing==2.4.7 [2020-10-12T08:32:25.376Z] pyperclip==1.8.1 [2020-10-12T08:32:25.376Z] pyroute2==0.4.13 [2020-10-12T08:32:25.376Z] pyrsistent==0.15.7 [2020-10-12T08:32:25.376Z] PySocks==1.6.8 [2020-10-12T08:32:25.376Z] python-cinderclient==7.2.0 [2020-10-12T08:32:25.376Z] python-dateutil==2.8.1 [2020-10-12T08:32:25.376Z] python-heatclient==2.2.1 [2020-10-12T08:32:25.376Z] python-jenkins==1.7.0 [2020-10-12T08:32:25.376Z] python-keystoneclient==4.1.1 [2020-10-12T08:32:25.376Z] python-magnumclient==3.2.1 [2020-10-12T08:32:25.377Z] python-novaclient==17.2.1 [2020-10-12T08:32:25.377Z] python-openstackclient==5.4.0 [2020-10-12T08:32:25.377Z] python-swiftclient==3.10.1 [2020-10-12T08:32:25.377Z] pytz==2020.1 [2020-10-12T08:32:25.377Z] PyYAML==5.3 [2020-10-12T08:32:25.377Z] requests==2.23.0 [2020-10-12T08:32:25.377Z] requests-oauthlib==1.3.0 [2020-10-12T08:32:25.377Z] requestsexceptions==1.4.0 [2020-10-12T08:32:25.377Z] rfc3986==1.4.0 [2020-10-12T08:32:25.377Z] rpm==4.11.3 [2020-10-12T08:32:25.377Z] rsa==4.0 [2020-10-12T08:32:25.377Z] ruamel.yaml==0.16.10 [2020-10-12T08:32:25.377Z] ruamel.yaml.clib==0.2.0 [2020-10-12T08:32:25.377Z] s3transfer==0.3.3 [2020-10-12T08:32:25.377Z] shade==1.27.2 [2020-10-12T08:32:25.377Z] simplejson==3.17.2 [2020-10-12T08:32:25.377Z] six==1.14.0 [2020-10-12T08:32:25.377Z] soupsieve==2.0 [2020-10-12T08:32:25.377Z] stevedore==3.2.2 [2020-10-12T08:32:25.377Z] tabulate==0.8.6 [2020-10-12T08:32:25.377Z] toml==0.10.0 [2020-10-12T08:32:25.377Z] tox==3.20.1 [2020-10-12T08:32:25.377Z] tqdm==4.43.0 [2020-10-12T08:32:25.377Z] urllib3==1.25.8 [2020-10-12T08:32:25.377Z] virtualenv==20.0.33 [2020-10-12T08:32:25.377Z] wcwidth==0.2.5 [2020-10-12T08:32:25.377Z] websocket-client==0.57.0 [2020-10-12T08:32:25.377Z] wrapt==1.12.1 [2020-10-12T08:32:25.377Z] xdg==3.0.2 [2020-10-12T08:32:25.377Z] xmltodict==0.12.0 [2020-10-12T08:32:25.377Z] yq==2.11.1 [2020-10-12T08:32:25.377Z] zipp==3.3.0 [2020-10-12T08:32:26.327Z] Cache entry deserialization failed, entry ignored [2020-10-12T08:32:28.893Z] 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-12T08:32:31.450Z] Python 2.7.5 [2020-10-12T08:32:31.712Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-12T08:32:31.982Z] 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-12T08:32:32.244Z] ansible==2.9.7 [2020-10-12T08:32:32.244Z] Babel==0.9.6 [2020-10-12T08:32:32.244Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-12T08:32:32.244Z] beautifulsoup4==4.4.1 [2020-10-12T08:32:32.244Z] bodhi==2.11.0 [2020-10-12T08:32:32.244Z] bodhi-client==2.11.0 [2020-10-12T08:32:32.244Z] CCColUtils==1.4 [2020-10-12T08:32:32.244Z] cffi==1.6.0 [2020-10-12T08:32:32.244Z] chardet==2.2.1 [2020-10-12T08:32:32.244Z] click==6.7 [2020-10-12T08:32:32.244Z] cloud-init==18.5 [2020-10-12T08:32:32.244Z] configobj==4.7.2 [2020-10-12T08:32:32.244Z] cryptography==1.7.2 [2020-10-12T08:32:32.244Z] decorator==3.4.0 [2020-10-12T08:32:32.244Z] distro==1.2.0 [2020-10-12T08:32:32.244Z] enum34==1.0.4 [2020-10-12T08:32:32.244Z] fedpkg==1.38 [2020-10-12T08:32:32.244Z] futures==3.1.1 [2020-10-12T08:32:32.244Z] gitdb==0.6.4 [2020-10-12T08:32:32.244Z] GitPython==1.0.1 [2020-10-12T08:32:32.244Z] html5lib==0.999 [2020-10-12T08:32:32.244Z] httplib2==0.9.2 [2020-10-12T08:32:32.244Z] idna==2.4 [2020-10-12T08:32:32.244Z] iniparse==0.4 [2020-10-12T08:32:32.244Z] ipaddress==1.0.16 [2020-10-12T08:32:32.244Z] IPy==0.75 [2020-10-12T08:32:32.244Z] javapackages==1.0.0 [2020-10-12T08:32:32.244Z] Jinja2==2.7.2 [2020-10-12T08:32:32.244Z] jmespath==0.9.4 [2020-10-12T08:32:32.244Z] jsonpatch==1.2 [2020-10-12T08:32:32.244Z] jsonpointer==1.9 [2020-10-12T08:32:32.244Z] kerberos==1.1 [2020-10-12T08:32:32.244Z] kitchen==1.1.1 [2020-10-12T08:32:32.244Z] langtable==0.0.31 [2020-10-12T08:32:32.244Z] lockfile==0.9.1 [2020-10-12T08:32:32.244Z] lxml==3.2.1 [2020-10-12T08:32:32.244Z] MarkupSafe==0.11 [2020-10-12T08:32:32.244Z] munch==2.0.2 [2020-10-12T08:32:32.244Z] offtrac==0.1.0 [2020-10-12T08:32:32.244Z] openidc-client==0.6.0 [2020-10-12T08:32:32.244Z] packagedb-cli==2.14.1 [2020-10-12T08:32:32.244Z] paramiko==2.1.1 [2020-10-12T08:32:32.244Z] perf==0.1 [2020-10-12T08:32:32.244Z] ply==3.4 [2020-10-12T08:32:32.244Z] policycoreutils-default-encoding==0.1 [2020-10-12T08:32:32.244Z] prettytable==0.7.2 [2020-10-12T08:32:32.244Z] pyasn1==0.1.9 [2020-10-12T08:32:32.244Z] pycparser==2.14 [2020-10-12T08:32:32.244Z] pycurl==7.19.0 [2020-10-12T08:32:32.244Z] pygobject==3.22.0 [2020-10-12T08:32:32.244Z] pygpgme==0.3 [2020-10-12T08:32:32.244Z] pyliblzma==0.5.3 [2020-10-12T08:32:32.244Z] pyOpenSSL==0.13.1 [2020-10-12T08:32:32.244Z] pyparsing==1.5.6 [2020-10-12T08:32:32.244Z] pyserial==2.6 [2020-10-12T08:32:32.244Z] python-augeas==0.5.0 [2020-10-12T08:32:32.244Z] python-bugzilla==2.3.0 [2020-10-12T08:32:32.244Z] python-dateutil==1.5 [2020-10-12T08:32:32.244Z] python-fedora==0.10.0 [2020-10-12T08:32:32.244Z] python-linux-procfs==0.4.9 [2020-10-12T08:32:32.244Z] python-yubico==1.2.3 [2020-10-12T08:32:32.244Z] pyudev==0.15 [2020-10-12T08:32:32.244Z] pyusb==1.0.0b1 [2020-10-12T08:32:32.244Z] pyxattr==0.5.1 [2020-10-12T08:32:32.244Z] PyYAML==3.10 [2020-10-12T08:32:32.244Z] requests==2.6.0 [2020-10-12T08:32:32.244Z] requests-kerberos==0.7.0 [2020-10-12T08:32:32.244Z] rpkg==1.60 [2020-10-12T08:32:32.244Z] schedutils==0.4 [2020-10-12T08:32:32.244Z] seobject==0.1 [2020-10-12T08:32:32.244Z] sepolicy==1.1 [2020-10-12T08:32:32.244Z] six==1.9.0 [2020-10-12T08:32:32.244Z] smmap==0.9.0 [2020-10-12T08:32:32.244Z] urlgrabber==3.10 [2020-10-12T08:32:32.244Z] urllib3==1.10.2 [2020-10-12T08:32:32.244Z] virtualenv==15.1.0 [2020-10-12T08:32:32.244Z] yum-langpacks==0.4.2 [2020-10-12T08:32:32.244Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-12T08:32:32.257Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T08:32:32.558Z] ---> sudo-logs.sh [2020-10-12T08:32:32.558Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-12T08:32:32.829Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T08:32:33.123Z] ---> job-cost.sh [2020-10-12T08:32:33.124Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-EbDN [2020-10-12T08:32:43.138Z] Cache entry deserialization failed, entry ignored [2020-10-12T08:32:43.138Z] Cache entry deserialization failed, entry ignored [2020-10-12T08:32:44.086Z] Cache entry deserialization failed, entry ignored [2020-10-12T08:32:44.086Z] Cache entry deserialization failed, entry ignored [2020-10-12T08:32:45.040Z] Cache entry deserialization failed, entry ignored [2020-10-12T08:32:45.040Z] Cache entry deserialization failed, entry ignored [2020-10-12T08:32:45.040Z] Cache entry deserialization failed, entry ignored [2020-10-12T08:32:45.303Z] Cache entry deserialization failed, entry ignored [2020-10-12T08:32:45.565Z] Cache entry deserialization failed, entry ignored [2020-10-12T08:32:45.565Z] Cache entry deserialization failed, entry ignored [2020-10-12T08:32:45.565Z] Cache entry deserialization failed, entry ignored [2020-10-12T08:32:45.828Z] Cache entry deserialization failed, entry ignored [2020-10-12T08:32:45.828Z] Cache entry deserialization failed, entry ignored [2020-10-12T08:32:49.142Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-12T08:33:15.896Z] lf-activate-venv(): INFO: Adding /tmp/venv-EbDN/bin to PATH [2020-10-12T08:33:15.896Z] INFO: No Stack... [2020-10-12T08:33:15.896Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-12T08:33:16.491Z] INFO: Archiving Costs [Pipeline] echo [2020-10-12T08:33:16.519Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T08:33:16.873Z] ---> logs-deploy.sh [2020-10-12T08:33:16.873Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-619/8 [2020-10-12T08:33:16.873Z] INFO: archiving workspace using pattern(s): [2020-10-12T08:33:18.792Z] Archives upload complete. [2020-10-12T08:33:18.792Z] INFO: archiving logs to Nexus