Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b548679428654ee0dca8f5b5dc3d7fcaeb119b73+153a43e7e060228c1df4c616c423a5b384e52518 (ba5390c1f73f7d49d4ce21d12e8074766da6f68c) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4672 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-582 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit b548679428654ee0dca8f5b5dc3d7fcaeb119b73 Merge succeeded, producing 818d6e32d39a44fa0348641b45de1d8d37d10b77 Checking out Revision 818d6e32d39a44fa0348641b45de1d8d37d10b77 (PR-582) > git config core.sparsecheckout # timeout=10 > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # 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 818d6e32d39a44fa0348641b45de1d8d37d10b77 # timeout=10 Commit message: "Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD" > git rev-list --no-walk b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-12T02:43:28.950Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-12T02:43:29.178Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-12T02:43:29.275Z] ========================================================= [2020-10-12T02:43:29.275Z] EdgeX Global Pipelines Version Info [2020-10-12T02:43:29.275Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:43:30.846Z] ------------------- [2020-10-12T02:43:30.846Z] stable info: [2020-10-12T02:43:30.846Z] ------------------- [2020-10-12T02:43:30.846Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-12T02:43:30.846Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-12T02:43:30.846Z] Message: update stable to v1.0.131 [2020-10-12T02:43:31.796Z] ------------------- [2020-10-12T02:43:31.797Z] experimental info: [2020-10-12T02:43:31.797Z] ------------------- [2020-10-12T02:43:31.797Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-12T02:43:31.797Z] Commit SHA: 2e6d42a532571151575c80d72899821df0f9b0af [2020-10-12T02:43:31.797Z] Message: update experimental to v1.0.135 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-12T02:43:32.152Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-12T02:43:32.238Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-12T02:43:32.326Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-12T02:43:32.415Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-12T02:43:32.511Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-12T02:43:32.603Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-12T02:43:32.755Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-12T02:43:32.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-12T02:43:32.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-12T02:43:33.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-12T02:43:33.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-12T02:43:33.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-12T02:43:33.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-12T02:43:33.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-12T02:43:33.727Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-12T02:43:33.846Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T02:43:33.966Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T02:43:34.091Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T02:43:34.264Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-12T02:43:34.357Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-12T02:43:34.454Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-12T02:43:34.566Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-12T02:43:34.656Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-12T02:43:34.744Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-12T02:43:34.855Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-12T02:43:34.947Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo [2020-10-12T02:43:35.049Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo [2020-10-12T02:43:35.166Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo [2020-10-12T02:43:35.256Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 818d6e32d39a44fa0348641b45de1d8d37d10b77 [Pipeline] echo [2020-10-12T02:43:35.347Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 818d6e3 [Pipeline] echo [2020-10-12T02:43:35.475Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-12T02:43:36.118Z] + git log --format=format:%s -1 818d6e32d39a44fa0348641b45de1d8d37d10b77 [Pipeline] echo [2020-10-12T02:43:36.180Z] GIT_COMMIT: 818d6e32d39a44fa0348641b45de1d8d37d10b77, Commit Message: Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD [Pipeline] echo [2020-10-12T02:43:36.227Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:43:36.771Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T02:43:38.186Z] [2020-10-12T02:43:38.187Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:43:38.552Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T02:43:38.552Z] latest: Pulling from edgex-devops/git-semver [2020-10-12T02:43:38.552Z] 31603596830f: Pulling fs layer [2020-10-12T02:43:38.552Z] 2a8b12db71e7: Pulling fs layer [2020-10-12T02:43:38.552Z] 6ca5941a6612: Pulling fs layer [2020-10-12T02:43:38.552Z] ecc8261a40a4: Pulling fs layer [2020-10-12T02:43:38.552Z] ecc8261a40a4: Waiting [2020-10-12T02:43:38.552Z] 2a8b12db71e7: Verifying Checksum [2020-10-12T02:43:38.552Z] 2a8b12db71e7: Download complete [2020-10-12T02:43:38.816Z] 31603596830f: Verifying Checksum [2020-10-12T02:43:38.816Z] 31603596830f: Download complete [2020-10-12T02:43:38.816Z] 6ca5941a6612: Verifying Checksum [2020-10-12T02:43:38.816Z] 6ca5941a6612: Download complete [2020-10-12T02:43:38.816Z] ecc8261a40a4: Verifying Checksum [2020-10-12T02:43:38.816Z] ecc8261a40a4: Download complete [2020-10-12T02:43:39.078Z] 31603596830f: Pull complete [2020-10-12T02:43:39.341Z] 2a8b12db71e7: Pull complete [2020-10-12T02:43:39.921Z] 6ca5941a6612: Pull complete [2020-10-12T02:43:40.183Z] ecc8261a40a4: Pull complete [2020-10-12T02:43:40.184Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-12T02:43:40.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T02:43:40.184Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-12T02:43:40.294Z] prd-centos7-docker-4c-2g-4672 does not seem to be running inside a container [2020-10-12T02:43:40.347Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-12T02:43:42.673Z] $ docker top 18a8a2089fdc603c570df6960d9beac5c94a3a9cb550063c7cb5a62f34d96eda -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-12T02:43:43.004Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-12T02:43:43.004Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-12T02:43:43.258Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-12T02:43:43.263Z] $ docker exec 18a8a2089fdc603c570df6960d9beac5c94a3a9cb550063c7cb5a62f34d96eda ssh-agent [2020-10-12T02:43:43.424Z] SSH_AUTH_SOCK=/tmp/ssh-cnNtvgQ8QIwP/agent.11 [2020-10-12T02:43:43.424Z] SSH_AGENT_PID=16 [2020-10-12T02:43:43.436Z] Running ssh-add (command line suppressed) [2020-10-12T02:43:43.562Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_1519344877537946845.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_1519344877537946845.key) [2020-10-12T02:43:43.619Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-12T02:43:43.963Z] + git describe --exact-match --tags HEAD [2020-10-12T02:43:43.963Z] fatal: no tag exactly matches '818d6e32d39a44fa0348641b45de1d8d37d10b77' [Pipeline] } [2020-10-12T02:43:43.989Z] $ docker exec --env ******** --env ******** 18a8a2089fdc603c570df6960d9beac5c94a3a9cb550063c7cb5a62f34d96eda ssh-agent -k [2020-10-12T02:43:44.121Z] unset SSH_AUTH_SOCK; [2020-10-12T02:43:44.121Z] unset SSH_AGENT_PID; [2020-10-12T02:43:44.121Z] echo Agent pid 16 killed; [2020-10-12T02:43:44.168Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-12T02:43:44.259Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-12T02:43:44.259Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-12T02:43:44.367Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-12T02:43:44.367Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-12T02:43:44.548Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-12T02:43:44.553Z] $ docker exec 18a8a2089fdc603c570df6960d9beac5c94a3a9cb550063c7cb5a62f34d96eda ssh-agent [2020-10-12T02:43:44.714Z] SSH_AUTH_SOCK=/tmp/ssh-tlOqmpjvht4t/agent.46 [2020-10-12T02:43:44.714Z] SSH_AGENT_PID=51 [2020-10-12T02:43:44.721Z] Running ssh-add (command line suppressed) [2020-10-12T02:43:44.859Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_4709909416527385791.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_4709909416527385791.key) [2020-10-12T02:43:44.919Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-12T02:43:45.254Z] + git semver init [2020-10-12T02:43:45.254Z] # -> Open(): unable to determine branch for HEAD [2020-10-12T02:43:45.254Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git [2020-10-12T02:43:45.254Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-10-12T02:43:45.254Z] # $SEMVER_REMOTE_NAME = origin [2020-10-12T02:43:45.254Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-12T02:43:45.254Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-12T02:43:45.254Z] # $SEMVER_BRANCH = PR-582 [2020-10-12T02:43:45.254Z] # $SEMVER_TEMP = /tmp/semver-289459226 [2020-10-12T02:43:45.254Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-12T02:43:45.831Z] # '/tmp/semver-289459226' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' [2020-10-12T02:43:45.831Z] # -> Force: false [2020-10-12T02:43:45.831Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } [2020-10-12T02:43:45.846Z] $ docker exec --env ******** --env ******** 18a8a2089fdc603c570df6960d9beac5c94a3a9cb550063c7cb5a62f34d96eda ssh-agent -k [2020-10-12T02:43:45.971Z] unset SSH_AUTH_SOCK; [2020-10-12T02:43:45.971Z] unset SSH_AGENT_PID; [2020-10-12T02:43:45.971Z] echo Agent pid 51 killed; [2020-10-12T02:43:46.016Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-12T02:43:46.519Z] + git semver [Pipeline] } [2020-10-12T02:43:46.539Z] $ docker stop --time=1 18a8a2089fdc603c570df6960d9beac5c94a3a9cb550063c7cb5a62f34d96eda [2020-10-12T02:43:47.916Z] $ docker rm -f 18a8a2089fdc603c570df6960d9beac5c94a3a9cb550063c7cb5a62f34d96eda [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-12T02:43:48.826Z] Stashed 48 file(s) [Pipeline] echo [2020-10-12T02:43:48.829Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-12T02:43:48.933Z] 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-12T02:44:04.513Z] Still waiting to schedule task [2020-10-12T02:44:04.513Z] Executor slot already in use; ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-4675’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4673’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-12T02:44:04.521Z] Still waiting to schedule task [2020-10-12T02:44:04.521Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-12T02:47:39.109Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4686 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws [2020-10-12T02:47:39.163Z] Running in /w/workspace/device-sdk-go/19 [Pipeline] { [Pipeline] checkout [2020-10-12T02:47:45.725Z] using credential edgex-jenkins-ssh [2020-10-12T02:47:45.790Z] Cloning the remote Git repository [2020-10-12T02:47:45.865Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T02:47:46.037Z] > git init /w/workspace/device-sdk-go/19 # timeout=10 [2020-10-12T02:47:46.149Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T02:47:46.151Z] > git --version # timeout=10 [2020-10-12T02:47:46.171Z] > git --version # 'git version 2.17.1' [2020-10-12T02:47:46.174Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T02:47:46.251Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T02:47:47.973Z] Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit b548679428654ee0dca8f5b5dc3d7fcaeb119b73 [2020-10-12T02:47:47.353Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T02:47:47.374Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T02:47:47.411Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T02:47:47.458Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T02:47:47.459Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T02:47:47.475Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-12T02:47:47.999Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T02:47:48.031Z] > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 [2020-10-12T02:47:48.175Z] > git remote # timeout=10 [2020-10-12T02:47:48.199Z] > git config --get remote.origin.url # timeout=10 [2020-10-12T02:47:48.216Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T02:47:48.230Z] > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 [2020-10-12T02:47:48.397Z] Merge succeeded, producing e9aecc84da60c34cc7b18326bded6cf45bc84c3f [2020-10-12T02:47:48.397Z] Checking out Revision e9aecc84da60c34cc7b18326bded6cf45bc84c3f (PR-582) [2020-10-12T02:47:48.346Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-12T02:47:48.408Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T02:47:48.424Z] > git checkout -f e9aecc84da60c34cc7b18326bded6cf45bc84c3f # timeout=10 [2020-10-12T02:47:52.945Z] Commit message: "Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD" [2020-10-12T02:47:52.956Z] > git rev-list --no-walk b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-12T02:47:54.468Z] ========================================================= [2020-10-12T02:47:54.468Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-12T02:47:54.468Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:47:55.695Z] + 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-12T02:47:56.686Z] Sending build context to Docker daemon 3.529MB [2020-10-12T02:47:56.686Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-12T02:47:56.686Z] Step 2/8 : FROM ${BASE} [2020-10-12T02:47:57.290Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-12T02:47:57.290Z] b538f80385f9: Pulling fs layer [2020-10-12T02:47:57.290Z] 74f711af9a0d: Pulling fs layer [2020-10-12T02:47:57.290Z] 99f96fe45779: Pulling fs layer [2020-10-12T02:47:57.290Z] 8529a6b9a6be: Pulling fs layer [2020-10-12T02:47:57.290Z] 45590311c82a: Pulling fs layer [2020-10-12T02:47:57.290Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-12T02:47:57.290Z] 209524e5b208: Pulling fs layer [2020-10-12T02:47:57.290Z] 8529a6b9a6be: Waiting [2020-10-12T02:47:57.290Z] 45590311c82a: Waiting [2020-10-12T02:47:57.290Z] 69ca0ff8b7b3: Waiting [2020-10-12T02:47:57.290Z] 209524e5b208: Waiting [2020-10-12T02:47:57.290Z] 99f96fe45779: Verifying Checksum [2020-10-12T02:47:57.290Z] 99f96fe45779: Download complete [2020-10-12T02:47:57.290Z] 74f711af9a0d: Download complete [2020-10-12T02:47:57.290Z] 45590311c82a: Verifying Checksum [2020-10-12T02:47:57.290Z] 45590311c82a: Download complete [2020-10-12T02:47:57.290Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-12T02:47:57.290Z] 69ca0ff8b7b3: Download complete [2020-10-12T02:47:57.568Z] b538f80385f9: Verifying Checksum [2020-10-12T02:47:57.568Z] b538f80385f9: Download complete [2020-10-12T02:47:58.179Z] b538f80385f9: Pull complete [2020-10-12T02:47:58.836Z] 74f711af9a0d: Pull complete [2020-10-12T02:47:59.459Z] 99f96fe45779: Pull complete [2020-10-12T02:47:59.737Z] 209524e5b208: Verifying Checksum [2020-10-12T02:47:59.737Z] 209524e5b208: Download complete [2020-10-12T02:48:01.192Z] 8529a6b9a6be: Verifying Checksum [2020-10-12T02:48:01.192Z] 8529a6b9a6be: Download complete [2020-10-12T02:48:11.398Z] 8529a6b9a6be: Pull complete [2020-10-12T02:48:11.674Z] 45590311c82a: Pull complete [2020-10-12T02:48:11.957Z] 69ca0ff8b7b3: Pull complete [2020-10-12T02:48:15.374Z] 209524e5b208: Pull complete [2020-10-12T02:48:15.374Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-12T02:48:15.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-12T02:48:15.651Z] ---> 5bddaf1c2fca [2020-10-12T02:48:15.651Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T02:48:19.076Z] ---> Running in fc7a078b7da8 [2020-10-12T02:48:19.351Z] Removing intermediate container fc7a078b7da8 [2020-10-12T02:48:19.351Z] ---> 3b2603403e3f [2020-10-12T02:48:19.351Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T02:48:19.351Z] ---> Running in 8b37bb729e52 [2020-10-12T02:48:22.772Z] Removing intermediate container 8b37bb729e52 [2020-10-12T02:48:22.772Z] ---> 07586bc2d718 [2020-10-12T02:48:22.772Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-12T02:48:22.772Z] ---> Running in f8d68dc9a042 [2020-10-12T02:48:24.219Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-12T02:48:24.820Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-12T02:48:25.801Z] OK: 142 MiB in 39 packages [2020-10-12T02:48:26.794Z] Removing intermediate container f8d68dc9a042 [2020-10-12T02:48:26.794Z] ---> ee6182070e33 [2020-10-12T02:48:26.794Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-12T02:48:27.070Z] ---> Running in d54c2074976b [2020-10-12T02:48:27.668Z] Removing intermediate container d54c2074976b [2020-10-12T02:48:27.668Z] ---> eb0110583d0f [2020-10-12T02:48:27.668Z] Step 7/8 : COPY . . [2020-10-12T02:48:29.117Z] ---> 22e9581eefce [2020-10-12T02:48:29.117Z] Step 8/8 : RUN go mod download [2020-10-12T02:48:29.117Z] ---> Running in d57c25dfa394 [2020-10-12T02:48:55.929Z] Removing intermediate container d57c25dfa394 [2020-10-12T02:48:55.929Z] ---> 752ca8f57dcc [2020-10-12T02:48:55.929Z] Successfully built 752ca8f57dcc [2020-10-12T02:48:55.929Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:48:56.368Z] + docker inspect -f . ci-base-image-arm64 [2020-10-12T02:48:56.368Z] . [Pipeline] withDockerContainer [2020-10-12T02:48:56.642Z] prd-ubuntu18.04-docker-arm64-4c-16g-4686 does not seem to be running inside a container [2020-10-12T02:48:56.748Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/19 -v /w/workspace/device-sdk-go/19:/w/workspace/device-sdk-go/19:rw,z -v /w/workspace/device-sdk-go/19@tmp:/w/workspace/device-sdk-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-12T02:48:58.768Z] $ docker top b35921bfe1131d37a1c6eecc57c93036033e0133814140d6d6c3f6fd920481ea -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T02:49:00.263Z] + go version [2020-10-12T02:49:00.263Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-12T02:49:00.307Z] $ docker stop --time=1 b35921bfe1131d37a1c6eecc57c93036033e0133814140d6d6c3f6fd920481ea [2020-10-12T02:49:02.375Z] $ docker rm -f b35921bfe1131d37a1c6eecc57c93036033e0133814140d6d6c3f6fd920481ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:49:03.452Z] + docker inspect -f . ci-base-image-arm64 [2020-10-12T02:49:03.452Z] . [Pipeline] withDockerContainer [2020-10-12T02:49:03.771Z] prd-ubuntu18.04-docker-arm64-4c-16g-4686 does not seem to be running inside a container [2020-10-12T02:49:03.875Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/19 -v /w/workspace/device-sdk-go/19:/w/workspace/device-sdk-go/19:rw,z -v /w/workspace/device-sdk-go/19@tmp:/w/workspace/device-sdk-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-12T02:49:06.053Z] $ docker top 6748a4497575b226b7f5b9ed30cfa1bb250d0cc8fa83a3620ced1a16f9fee468 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T02:49:07.547Z] + make test [2020-10-12T02:49:07.547Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-12T02:49:34.427Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-12T02:50:21.464Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-12T02:50:21.464Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-12T02:50:21.464Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-12T02:50:21.464Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.159s coverage: 21.6% of statements [2020-10-12T02:50:23.484Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.322s coverage: 97.1% of statements [2020-10-12T02:50:50.322Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.135s coverage: 9.4% of statements [2020-10-12T02:50:50.322Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.148s coverage: 21.9% of statements [2020-10-12T02:50:50.322Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-12T02:50:50.322Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.608s coverage: 40.0% of statements [2020-10-12T02:50:50.322Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-12T02:50:50.322Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.803s coverage: 68.9% of statements [2020-10-12T02:50:50.322Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-12T02:50:50.322Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-12T02:50:50.322Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-12T02:50:50.322Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-12T02:50:50.322Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.183s coverage: 52.6% of statements [2020-10-12T02:50:50.322Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-12T02:50:50.322Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.407s coverage: 68.9% of statements [2020-10-12T02:50:50.322Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-12T02:50:50.322Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-12T02:50:50.322Z] GO111MODULE=on go vet ./... [2020-10-12T02:51:06.111Z] Running on prd-centos7-docker-4c-2g-4689 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws [2020-10-12T02:51:06.165Z] Running in /w/workspace/device-sdk-go/19 [Pipeline] { [Pipeline] checkout [2020-10-12T02:51:10.230Z] using credential edgex-jenkins-ssh [2020-10-12T02:51:10.320Z] Cloning the remote Git repository [2020-10-12T02:51:10.353Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T02:51:10.426Z] > git init /w/workspace/device-sdk-go/19 # timeout=10 [2020-10-12T02:51:10.489Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T02:51:10.490Z] > git --version # timeout=10 [2020-10-12T02:51:10.505Z] > git --version # 'git version 2.16.5' [2020-10-12T02:51:10.505Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T02:51:10.539Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T02:51:11.671Z] Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit b548679428654ee0dca8f5b5dc3d7fcaeb119b73 [2020-10-12T02:51:11.803Z] Merge succeeded, producing 081caa7058a7555b986260026f18282c66b68143 [2020-10-12T02:51:11.803Z] Checking out Revision 081caa7058a7555b986260026f18282c66b68143 (PR-582) [2020-10-12T02:51:11.276Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T02:51:11.284Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T02:51:11.298Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T02:51:11.313Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T02:51:11.314Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T02:51:11.318Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-12T02:51:11.681Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T02:51:11.687Z] > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 [2020-10-12T02:51:11.743Z] > git remote # timeout=10 [2020-10-12T02:51:11.748Z] > git config --get remote.origin.url # timeout=10 [2020-10-12T02:51:11.757Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T02:51:11.761Z] > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 [2020-10-12T02:51:11.796Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-12T02:51:11.808Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T02:51:11.812Z] > git checkout -f 081caa7058a7555b986260026f18282c66b68143 # timeout=10 [2020-10-12T02:51:15.537Z] Commit message: "Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD" [2020-10-12T02:51:15.544Z] > git rev-list --no-walk b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-12T02:51:16.417Z] ========================================================= [2020-10-12T02:51:16.417Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-12T02:51:16.417Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:51:17.043Z] + 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-12T02:51:17.310Z] Sending build context to Docker daemon 3.529MB [2020-10-12T02:51:17.573Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-12T02:51:17.573Z] Step 2/8 : FROM ${BASE} [2020-10-12T02:51:17.573Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-12T02:51:17.573Z] df20fa9351a1: Pulling fs layer [2020-10-12T02:51:17.573Z] ed8968b2872e: Pulling fs layer [2020-10-12T02:51:17.573Z] a92cc7c5fd73: Pulling fs layer [2020-10-12T02:51:17.573Z] e871e8e8d7a9: Pulling fs layer [2020-10-12T02:51:17.573Z] e73272ec9a57: Pulling fs layer [2020-10-12T02:51:17.573Z] 1e910a182e73: Pulling fs layer [2020-10-12T02:51:17.573Z] 4e634b169226: Pulling fs layer [2020-10-12T02:51:17.573Z] e73272ec9a57: Waiting [2020-10-12T02:51:17.573Z] 1e910a182e73: Waiting [2020-10-12T02:51:17.573Z] 4e634b169226: Waiting [2020-10-12T02:51:17.573Z] e871e8e8d7a9: Waiting [2020-10-12T02:51:17.573Z] a92cc7c5fd73: Verifying Checksum [2020-10-12T02:51:17.573Z] a92cc7c5fd73: Download complete [2020-10-12T02:51:17.573Z] ed8968b2872e: Download complete [2020-10-12T02:51:17.573Z] e73272ec9a57: Verifying Checksum [2020-10-12T02:51:17.573Z] e73272ec9a57: Download complete [2020-10-12T02:51:17.573Z] 1e910a182e73: Verifying Checksum [2020-10-12T02:51:17.573Z] 1e910a182e73: Download complete [2020-10-12T02:51:18.526Z] df20fa9351a1: Verifying Checksum [2020-10-12T02:51:18.526Z] df20fa9351a1: Download complete [2020-10-12T02:51:18.793Z] df20fa9351a1: Pull complete [2020-10-12T02:51:18.793Z] ed8968b2872e: Pull complete [2020-10-12T02:51:19.058Z] a92cc7c5fd73: Pull complete [2020-10-12T02:51:20.462Z] 4e634b169226: Verifying Checksum [2020-10-12T02:51:20.462Z] 4e634b169226: Download complete [2020-10-12T02:51:21.044Z] e871e8e8d7a9: Verifying Checksum [2020-10-12T02:51:21.044Z] e871e8e8d7a9: Download complete [2020-10-12T02:51:22.766Z] gofmt -l . [2020-10-12T02:51:22.766Z] [ "`gofmt -l .`" = "" ] [2020-10-12T02:51:23.373Z] ./bin/test-attribution-txt.sh [2020-10-12T02:51:23.975Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-12T02:51:25.739Z] Stashed 1 file(s) [Pipeline] } [2020-10-12T02:51:25.754Z] $ docker stop --time=1 6748a4497575b226b7f5b9ed30cfa1bb250d0cc8fa83a3620ced1a16f9fee468 [2020-10-12T02:51:27.680Z] e871e8e8d7a9: Pull complete [2020-10-12T02:51:27.680Z] e73272ec9a57: Pull complete [2020-10-12T02:51:27.680Z] 1e910a182e73: Pull complete [2020-10-12T02:51:27.955Z] $ docker rm -f 6748a4497575b226b7f5b9ed30cfa1bb250d0cc8fa83a3620ced1a16f9fee468 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-12T02:51:31.145Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-12T02:51:31.479Z] + ls -al . [2020-10-12T02:51:31.479Z] total 228 [2020-10-12T02:51:31.479Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 02:51 . [2020-10-12T02:51:31.479Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:47 .. [2020-10-12T02:51:31.479Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 02:47 .dockerignore [2020-10-12T02:51:31.479Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 02:47 .git [2020-10-12T02:51:31.479Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:47 .github [2020-10-12T02:51:31.479Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 12 02:47 .gitignore [2020-10-12T02:51:31.479Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:47 .semver [2020-10-12T02:51:31.479Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 12 02:47 Dockerfile.build [2020-10-12T02:51:31.479Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 12 02:47 Jenkinsfile [2020-10-12T02:51:31.479Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 02:47 LICENSE [2020-10-12T02:51:31.479Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 12 02:47 Makefile [2020-10-12T02:51:31.479Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 12 02:47 README.md [2020-10-12T02:51:31.479Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 12 02:47 RELEASE-NOTES.txt [2020-10-12T02:51:31.479Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 02:43 VERSION [2020-10-12T02:51:31.479Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:47 bin [2020-10-12T02:51:31.479Z] -rw-r--r-- 1 jenkins jenkins 110392 Oct 12 02:50 coverage.out [2020-10-12T02:51:31.479Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:47 example [2020-10-12T02:51:31.479Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 12 02:51 go.mod [2020-10-12T02:51:31.479Z] -rw-r--r-- 1 jenkins jenkins 13731 Oct 12 02:51 go.sum [2020-10-12T02:51:31.479Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 12 02:47 internal [2020-10-12T02:51:31.479Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:47 openapi [2020-10-12T02:51:31.479Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 02:47 pkg [2020-10-12T02:51:31.479Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:47 snap [2020-10-12T02:51:31.479Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 02:47 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:51:31.825Z] + 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=818d6e32d39a44fa0348641b45de1d8d37d10b77 --label arch=arm64 --label version=0.0.0 . [2020-10-12T02:51:31.960Z] 4e634b169226: Pull complete [2020-10-12T02:51:31.960Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-12T02:51:31.960Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-12T02:51:31.960Z] ---> f7629b54cfaa [2020-10-12T02:51:31.960Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T02:51:32.096Z] Sending build context to Docker daemon 3.64MB [2020-10-12T02:51:32.228Z] ---> Running in 2526356cd58e [2020-10-12T02:51:32.228Z] Removing intermediate container 2526356cd58e [2020-10-12T02:51:32.228Z] ---> 03a07142ab66 [2020-10-12T02:51:32.228Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T02:51:32.367Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-12T02:51:32.367Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-12T02:51:32.367Z] ---> 752ca8f57dcc [2020-10-12T02:51:32.367Z] Step 3/24 : ARG MAKE='make build' [2020-10-12T02:51:32.491Z] ---> Running in 5efe438678bd [2020-10-12T02:51:32.642Z] ---> Running in 97f302c29281 [2020-10-12T02:51:32.917Z] Removing intermediate container 97f302c29281 [2020-10-12T02:51:32.917Z] ---> 67da2b84a569 [2020-10-12T02:51:32.917Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-12T02:51:33.187Z] ---> Running in 18ba2d41016e [2020-10-12T02:51:33.457Z] Removing intermediate container 18ba2d41016e [2020-10-12T02:51:33.457Z] ---> 06b59932f96e [2020-10-12T02:51:33.457Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T02:51:33.730Z] ---> Running in 6b1d7ba04e77 [2020-10-12T02:51:33.889Z] Removing intermediate container 5efe438678bd [2020-10-12T02:51:33.889Z] ---> 638d9c06cf96 [2020-10-12T02:51:33.889Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-12T02:51:33.889Z] ---> Running in 3be4371acb61 [2020-10-12T02:51:34.004Z] Removing intermediate container 6b1d7ba04e77 [2020-10-12T02:51:34.004Z] ---> c77a5e0a274f [2020-10-12T02:51:34.004Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T02:51:34.276Z] ---> Running in f22a040a7a8e [2020-10-12T02:51:34.471Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-12T02:51:35.048Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-12T02:51:35.624Z] OK: 166 MiB in 39 packages [2020-10-12T02:51:36.202Z] Removing intermediate container 3be4371acb61 [2020-10-12T02:51:36.202Z] ---> e9520fcc032a [2020-10-12T02:51:36.202Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-12T02:51:36.202Z] ---> Running in 620e6c29da8c [2020-10-12T02:51:36.202Z] Removing intermediate container 620e6c29da8c [2020-10-12T02:51:36.202Z] ---> fa9471788159 [2020-10-12T02:51:36.202Z] Step 7/8 : COPY . . [2020-10-12T02:51:36.895Z] Removing intermediate container f22a040a7a8e [2020-10-12T02:51:36.895Z] ---> 104d11206352 [2020-10-12T02:51:36.895Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-12T02:51:36.895Z] ---> Running in d6568a0d9da7 [2020-10-12T02:51:37.612Z] ---> 802726d0e3e0 [2020-10-12T02:51:37.612Z] Step 8/8 : RUN go mod download [2020-10-12T02:51:37.612Z] ---> Running in 2b7398b2ee24 [2020-10-12T02:51:38.340Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-12T02:51:38.935Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-12T02:51:39.530Z] OK: 142 MiB in 39 packages [2020-10-12T02:51:40.524Z] Removing intermediate container d6568a0d9da7 [2020-10-12T02:51:40.524Z] ---> b64e8d087bd2 [2020-10-12T02:51:40.524Z] Step 8/24 : COPY . . [2020-10-12T02:51:41.996Z] ---> 3d25f0e86c34 [2020-10-12T02:51:41.996Z] Step 9/24 : RUN ${MAKE} [2020-10-12T02:51:42.276Z] ---> Running in d5179f92b1e3 [2020-10-12T02:51:43.711Z] 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-12T02:51:59.768Z] Removing intermediate container 2b7398b2ee24 [2020-10-12T02:51:59.768Z] ---> 87ecb2a50966 [2020-10-12T02:51:59.768Z] Successfully built 87ecb2a50966 [2020-10-12T02:51:59.768Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:52:00.149Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-12T02:52:00.149Z] . [Pipeline] withDockerContainer [2020-10-12T02:52:00.278Z] prd-centos7-docker-4c-2g-4689 does not seem to be running inside a container [2020-10-12T02:52:00.332Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/19 -v /w/workspace/device-sdk-go/19:/w/workspace/device-sdk-go/19:rw,z -v /w/workspace/device-sdk-go/19@tmp:/w/workspace/device-sdk-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-12T02:52:01.088Z] $ docker top 40e95978d484a63d0fba050a864244eea240ef065ef6b692184951039eda1f4e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T02:52:01.633Z] + go version [2020-10-12T02:52:01.633Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-12T02:52:01.656Z] $ docker stop --time=1 40e95978d484a63d0fba050a864244eea240ef065ef6b692184951039eda1f4e [2020-10-12T02:52:03.032Z] $ docker rm -f 40e95978d484a63d0fba050a864244eea240ef065ef6b692184951039eda1f4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:52:04.011Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-12T02:52:04.011Z] . [Pipeline] withDockerContainer [2020-10-12T02:52:04.121Z] prd-centos7-docker-4c-2g-4689 does not seem to be running inside a container [2020-10-12T02:52:04.171Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/19 -v /w/workspace/device-sdk-go/19:/w/workspace/device-sdk-go/19:rw,z -v /w/workspace/device-sdk-go/19@tmp:/w/workspace/device-sdk-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-12T02:52:04.794Z] $ docker top d6279b8a787b0946842ffb84f685426d75ed2a39c3409d399ad7666edec9c6e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T02:52:05.338Z] + make test [2020-10-12T02:52:05.338Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-12T02:52:10.536Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-12T02:52:10.536Z] Removing intermediate container d5179f92b1e3 [2020-10-12T02:52:10.536Z] ---> 50268a110ddf [2020-10-12T02:52:10.536Z] Step 10/24 : FROM scratch [2020-10-12T02:52:10.536Z] ---> [2020-10-12T02:52:10.536Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T02:52:10.536Z] ---> Running in 02b81d36ec27 [2020-10-12T02:52:10.536Z] Removing intermediate container 02b81d36ec27 [2020-10-12T02:52:10.536Z] ---> 2bee9bfb6083 [2020-10-12T02:52:10.536Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-12T02:52:10.536Z] ---> Running in 19d946464bce [2020-10-12T02:52:10.536Z] Removing intermediate container 19d946464bce [2020-10-12T02:52:10.536Z] ---> fdc1e63c7053 [2020-10-12T02:52:10.536Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-12T02:52:10.536Z] ---> Running in c1db6b7d8b61 [2020-10-12T02:52:10.536Z] Removing intermediate container c1db6b7d8b61 [2020-10-12T02:52:10.536Z] ---> 1fdd511b8622 [2020-10-12T02:52:10.536Z] Step 14/24 : WORKDIR / [2020-10-12T02:52:10.807Z] ---> Running in 499c253f2dbc [2020-10-12T02:52:11.081Z] Removing intermediate container 499c253f2dbc [2020-10-12T02:52:11.081Z] ---> 2b8d6ab1cfbe [2020-10-12T02:52:11.081Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-12T02:52:12.512Z] ---> 96d386312dbf [2020-10-12T02:52:12.512Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-12T02:52:13.109Z] ---> 549372555186 [2020-10-12T02:52:13.109Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-12T02:52:13.568Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-12T02:52:13.706Z] ---> 6228c7c7401f [2020-10-12T02:52:13.706Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-12T02:52:14.309Z] ---> 7f81f6bb74b5 [2020-10-12T02:52:14.309Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-12T02:52:15.305Z] ---> 117f07d10381 [2020-10-12T02:52:15.305Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-12T02:52:15.305Z] ---> Running in 46a4f741f434 [2020-10-12T02:52:15.584Z] Removing intermediate container 46a4f741f434 [2020-10-12T02:52:15.584Z] ---> 068bc504bb78 [2020-10-12T02:52:15.584Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-12T02:52:15.860Z] ---> Running in 02bbff02a1d6 [2020-10-12T02:52:16.136Z] Removing intermediate container 02bbff02a1d6 [2020-10-12T02:52:16.136Z] ---> a5acc6bd15e4 [2020-10-12T02:52:16.136Z] Step 22/24 : LABEL arch=arm64 [2020-10-12T02:52:16.410Z] ---> Running in 5274c679d7ca [2020-10-12T02:52:17.005Z] Removing intermediate container 5274c679d7ca [2020-10-12T02:52:17.005Z] ---> b74752b75d99 [2020-10-12T02:52:17.005Z] Step 23/24 : LABEL git_sha=818d6e32d39a44fa0348641b45de1d8d37d10b77 [2020-10-12T02:52:17.005Z] ---> Running in 1aab69b0c13b [2020-10-12T02:52:17.604Z] Removing intermediate container 1aab69b0c13b [2020-10-12T02:52:17.604Z] ---> 8f187330cbc2 [2020-10-12T02:52:17.604Z] Step 24/24 : LABEL version=0.0.0 [2020-10-12T02:52:17.604Z] ---> Running in 6f9e75192139 [2020-10-12T02:52:18.200Z] Removing intermediate container 6f9e75192139 [2020-10-12T02:52:18.200Z] ---> 8afcf1625f8e [2020-10-12T02:52:18.200Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-12T02:52:18.200Z] Successfully built 8afcf1625f8e [2020-10-12T02:52:18.200Z] 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] } [2020-10-12T02:52:28.593Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-12T02:52:28.593Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-12T02:52:28.593Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-12T02:52:28.593Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.060s coverage: 21.6% of statements [2020-10-12T02:52:29.598Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.523s coverage: 97.1% of statements [2020-10-12T02:53:01.927Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.054s coverage: 9.4% of statements [2020-10-12T02:53:01.927Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.059s coverage: 21.9% of statements [2020-10-12T02:53:01.927Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-12T02:53:01.927Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.228s coverage: 40.0% of statements [2020-10-12T02:53:01.927Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-12T02:53:01.927Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.299s coverage: 68.9% of statements [2020-10-12T02:53:01.927Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-12T02:53:01.927Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-12T02:53:01.927Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-12T02:53:01.927Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-12T02:53:01.927Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements [2020-10-12T02:53:01.927Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-12T02:53:01.927Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.465s coverage: 68.9% of statements [2020-10-12T02:53:01.927Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-12T02:53:01.927Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-12T02:53:01.927Z] GO111MODULE=on go vet ./... [2020-10-12T02:53:10.282Z] gofmt -l . [2020-10-12T02:53:10.282Z] [ "`gofmt -l .`" = "" ] [2020-10-12T02:53:10.282Z] ./bin/test-attribution-txt.sh [2020-10-12T02:53:10.282Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-12T02:53:10.572Z] Warning: overwriting stash ‘coverage-report’ [2020-10-12T02:53:10.989Z] Stashed 1 file(s) [Pipeline] } [2020-10-12T02:53:10.998Z] $ docker stop --time=1 d6279b8a787b0946842ffb84f685426d75ed2a39c3409d399ad7666edec9c6e1 [2020-10-12T02:53:12.869Z] $ docker rm -f d6279b8a787b0946842ffb84f685426d75ed2a39c3409d399ad7666edec9c6e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-12T02:53:13.853Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-12T02:53:14.201Z] + ls -al . [2020-10-12T02:53:14.201Z] total 188 [2020-10-12T02:53:14.201Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 12 02:53 . [2020-10-12T02:53:14.201Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 12 02:51 .. [2020-10-12T02:53:14.201Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 12 02:51 bin [2020-10-12T02:53:14.201Z] -rw-r--r--. 1 jenkins jenkins 110392 Oct 12 02:52 coverage.out [2020-10-12T02:53:14.201Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 12 02:51 Dockerfile.build [2020-10-12T02:53:14.201Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 12 02:51 .dockerignore [2020-10-12T02:53:14.201Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 12 02:51 example [2020-10-12T02:53:14.201Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 12 02:51 .git [2020-10-12T02:53:14.201Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 12 02:51 .github [2020-10-12T02:53:14.201Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 12 02:51 .gitignore [2020-10-12T02:53:14.201Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 12 02:53 go.mod [2020-10-12T02:53:14.201Z] -rw-r--r--. 1 jenkins jenkins 13731 Oct 12 02:53 go.sum [2020-10-12T02:53:14.201Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 12 02:51 internal [2020-10-12T02:53:14.201Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 12 02:51 Jenkinsfile [2020-10-12T02:53:14.201Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 12 02:51 LICENSE [2020-10-12T02:53:14.201Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 12 02:51 Makefile [2020-10-12T02:53:14.201Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 12 02:51 openapi [2020-10-12T02:53:14.201Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 12 02:51 pkg [2020-10-12T02:53:14.201Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 12 02:51 README.md [2020-10-12T02:53:14.201Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 12 02:51 RELEASE-NOTES.txt [2020-10-12T02:53:14.201Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 12 02:51 .semver [2020-10-12T02:53:14.201Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 12 02:51 snap [2020-10-12T02:53:14.201Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 12 02:43 VERSION [2020-10-12T02:53:14.201Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 12 02:51 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:53:14.524Z] + 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=818d6e32d39a44fa0348641b45de1d8d37d10b77 --label arch=amd64 --label version=0.0.0 . [2020-10-12T02:53:14.787Z] Sending build context to Docker daemon 3.64MB [2020-10-12T02:53:14.787Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-12T02:53:14.787Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-12T02:53:14.787Z] ---> 87ecb2a50966 [2020-10-12T02:53:14.787Z] Step 3/24 : ARG MAKE='make build' [2020-10-12T02:53:15.363Z] ---> Running in 2535044a767e [2020-10-12T02:53:15.625Z] Removing intermediate container 2535044a767e [2020-10-12T02:53:15.625Z] ---> 3914befa4124 [2020-10-12T02:53:15.625Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-12T02:53:15.625Z] ---> Running in 771d3cc3aa9e [2020-10-12T02:53:15.893Z] Removing intermediate container 771d3cc3aa9e [2020-10-12T02:53:15.893Z] ---> 09d53d5a2926 [2020-10-12T02:53:15.893Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T02:53:15.893Z] ---> Running in 3f3187040130 [2020-10-12T02:53:15.893Z] Removing intermediate container 3f3187040130 [2020-10-12T02:53:15.893Z] ---> 746e6622b9bb [2020-10-12T02:53:15.893Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T02:53:16.174Z] ---> Running in 87706ee174b5 [2020-10-12T02:53:17.146Z] Removing intermediate container 87706ee174b5 [2020-10-12T02:53:17.146Z] ---> fc9e9018a64f [2020-10-12T02:53:17.146Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-12T02:53:17.146Z] ---> Running in bf25cfbb682e [2020-10-12T02:53:17.737Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-12T02:53:18.333Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-12T02:53:18.623Z] OK: 166 MiB in 39 packages [2020-10-12T02:53:19.230Z] Removing intermediate container bf25cfbb682e [2020-10-12T02:53:19.230Z] ---> a1dca11a1e1f [2020-10-12T02:53:19.230Z] Step 8/24 : COPY . . [2020-10-12T02:53:20.221Z] ---> 230fac0a48af [2020-10-12T02:53:20.221Z] Step 9/24 : RUN ${MAKE} [2020-10-12T02:53:20.221Z] ---> Running in 0662291f67b0 [2020-10-12T02:53:20.830Z] 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-12T02:53:29.190Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-12T02:53:31.789Z] Removing intermediate container 0662291f67b0 [2020-10-12T02:53:31.789Z] ---> 698be21afe5c [2020-10-12T02:53:31.789Z] Step 10/24 : FROM scratch [2020-10-12T02:53:31.789Z] ---> [2020-10-12T02:53:31.789Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T02:53:31.789Z] ---> Running in 9282abf657e9 [2020-10-12T02:53:31.789Z] Removing intermediate container 9282abf657e9 [2020-10-12T02:53:31.789Z] ---> 891a4de9e445 [2020-10-12T02:53:31.789Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-12T02:53:31.789Z] ---> Running in 83d2c13a3693 [2020-10-12T02:53:31.790Z] Removing intermediate container 83d2c13a3693 [2020-10-12T02:53:31.790Z] ---> 22c33ba8d99d [2020-10-12T02:53:31.790Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-12T02:53:31.790Z] ---> Running in 82ab5902743b [2020-10-12T02:53:32.064Z] Removing intermediate container 82ab5902743b [2020-10-12T02:53:32.064Z] ---> 9152a07b9f21 [2020-10-12T02:53:32.064Z] Step 14/24 : WORKDIR / [2020-10-12T02:53:32.064Z] ---> Running in b1d5cbef1077 [2020-10-12T02:53:32.333Z] Removing intermediate container b1d5cbef1077 [2020-10-12T02:53:32.333Z] ---> 0181ac3f0756 [2020-10-12T02:53:32.333Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-12T02:53:32.604Z] ---> 0e29b99751f9 [2020-10-12T02:53:32.604Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-12T02:53:32.882Z] ---> 8a113213a623 [2020-10-12T02:53:32.882Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-12T02:53:33.163Z] ---> 8ff1aa93acfd [2020-10-12T02:53:33.163Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-12T02:53:33.433Z] ---> 38b172babe35 [2020-10-12T02:53:33.433Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-12T02:53:33.694Z] ---> d94e471d928c [2020-10-12T02:53:33.695Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-12T02:53:33.695Z] ---> Running in 98474dd78ff7 [2020-10-12T02:53:33.964Z] Removing intermediate container 98474dd78ff7 [2020-10-12T02:53:33.964Z] ---> 8ef146bd3b03 [2020-10-12T02:53:33.964Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-12T02:53:33.964Z] ---> Running in cda41dcd03e9 [2020-10-12T02:53:34.236Z] Removing intermediate container cda41dcd03e9 [2020-10-12T02:53:34.236Z] ---> 1b7d113a4d22 [2020-10-12T02:53:34.236Z] Step 22/24 : LABEL arch=amd64 [2020-10-12T02:53:34.236Z] ---> Running in 87cdf71108bc [2020-10-12T02:53:34.236Z] Removing intermediate container 87cdf71108bc [2020-10-12T02:53:34.236Z] ---> 7d1ae4804ae7 [2020-10-12T02:53:34.236Z] Step 23/24 : LABEL git_sha=818d6e32d39a44fa0348641b45de1d8d37d10b77 [2020-10-12T02:53:34.517Z] ---> Running in 9f1c245523ea [2020-10-12T02:53:34.517Z] Removing intermediate container 9f1c245523ea [2020-10-12T02:53:34.517Z] ---> f30b561bd2f2 [2020-10-12T02:53:34.517Z] Step 24/24 : LABEL version=0.0.0 [2020-10-12T02:53:34.517Z] ---> Running in 4b43ab5f50a0 [2020-10-12T02:53:34.791Z] Removing intermediate container 4b43ab5f50a0 [2020-10-12T02:53:34.791Z] ---> be0e0f16f1e2 [2020-10-12T02:53:34.791Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-12T02:53:34.791Z] Successfully built be0e0f16f1e2 [2020-10-12T02:53:34.791Z] 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-10-12T02:53:36.693Z] provisioning config files... [2020-10-12T02:53:36.707Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config4159708319460574685tmp [Pipeline] { [Pipeline] sh [2020-10-12T02:53:37.097Z] + set +x [2020-10-12T02:53:37.098Z] + curl -s https://codecov.io/bash [2020-10-12T02:53:37.098Z] + bash -s -- [2020-10-12T02:53:37.362Z] [2020-10-12T02:53:37.362Z] _____ _ [2020-10-12T02:53:37.362Z] / ____| | | [2020-10-12T02:53:37.362Z] | | ___ __| | ___ ___ _____ __ [2020-10-12T02:53:37.362Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-12T02:53:37.362Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-12T02:53:37.362Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-12T02:53:37.362Z] Bash-20201009-048fee3 [2020-10-12T02:53:37.362Z] [2020-10-12T02:53:37.362Z] [2020-10-12T02:53:37.362Z] ==> Jenkins CI detected. [2020-10-12T02:53:37.362Z] project root: . [2020-10-12T02:53:37.362Z] Fixing merge commit SHA [2020-10-12T02:53:37.362Z] --> token set from env [2020-10-12T02:53:37.362Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-12T02:53:37.362Z] ==> Running gcov in . (disable via -X gcov) [2020-10-12T02:53:37.362Z] ==> Python coveragepy not found [2020-10-12T02:53:37.362Z] ==> Searching for coverage reports in: [2020-10-12T02:53:37.362Z] + . [2020-10-12T02:53:37.362Z] -> Found 1 reports [2020-10-12T02:53:37.627Z] ==> Detecting git/mercurial file structure [2020-10-12T02:53:37.627Z] ==> Reading reports [2020-10-12T02:53:37.627Z] + ./coverage.out bytes=110392 [2020-10-12T02:53:37.627Z] ==> Appending adjustments [2020-10-12T02:53:37.627Z] https://docs.codecov.io/docs/fixing-reports [2020-10-12T02:53:37.889Z] + Found adjustments [2020-10-12T02:53:37.889Z] ==> Gzipping contents [2020-10-12T02:53:37.889Z] ==> Uploading reports [2020-10-12T02:53:37.889Z] url: https://codecov.io [2020-10-12T02:53:37.890Z] query: branch=PR-582&commit=153a43e7e060228c1df4c616c423a5b384e52518&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= [2020-10-12T02:53:37.890Z] -> Pinging Codecov [2020-10-12T02:53:37.890Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-582&commit=153a43e7e060228c1df4c616c423a5b384e52518&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= [2020-10-12T02:53:38.152Z] -> Uploading to [2020-10-12T02:53:38.152Z] [2020-10-12T02:53:38.152Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-12T02:53:38.152Z] Dload Upload Total Spent Left Speed [2020-10-12T02:53:38.152Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-12T02:53:38.152Z] X> Failed to upload [2020-10-12T02:53:38.152Z] ==> Uploading to Codecov [2020-10-12T02:53:38.152Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-12T02:53:38.152Z] Dload Upload Total Spent Left Speed [2020-10-12T02:53:38.728Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18404 100 110 100 18294 233 38763 --:--:-- --:--:-- --:--:-- 38840 [2020-10-12T02:53:38.728Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/153a43e7e060228c1df4c616c423a5b384e52518 [Pipeline] } [2020-10-12T02:53:38.738Z] 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-12T02:53:41.717Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:53:42.296Z] ---> package-listing.sh [2020-10-12T02:53:42.296Z] ++ facter osfamily [2020-10-12T02:53:42.296Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-12T02:53:42.296Z] + OS_FAMILY=redhat [2020-10-12T02:53:42.296Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-10-12T02:53:42.296Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-12T02:53:42.296Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-12T02:53:42.296Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-12T02:53:42.296Z] + PACKAGES=/tmp/packages_start.txt [2020-10-12T02:53:42.296Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-10-12T02:53:42.296Z] + PACKAGES=/tmp/packages_end.txt [2020-10-12T02:53:42.296Z] + case "${OS_FAMILY}" in [2020-10-12T02:53:42.296Z] + rpm -qa [2020-10-12T02:53:42.296Z] + sort [2020-10-12T02:53:46.565Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-12T02:53:46.565Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-12T02:53:46.565Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-12T02:53:46.565Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-10-12T02:53:46.565Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [2020-10-12T02:53:46.565Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-12T02:53:46.795Z] provisioning config files... [2020-10-12T02:53:46.822Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config4665555816687955698tmp [Pipeline] { [Pipeline] echo [2020-10-12T02:53:46.892Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:53:47.849Z] ---> create-netrc.sh [Pipeline] } [2020-10-12T02:53:47.977Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-12T02:53:48.101Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:53:48.707Z] ---> python-tools-install.sh [2020-10-12T02:53:48.707Z] Generating Requirements File [2020-10-12T02:55:10.954Z] Python 3.6.8 [2020-10-12T02:55:10.954Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-12T02:55:10.954Z] appdirs==1.4.3 [2020-10-12T02:55:10.954Z] argcomplete==1.12.1 [2020-10-12T02:55:10.954Z] aspy.yaml==1.3.0 [2020-10-12T02:55:10.954Z] attrs==19.3.0 [2020-10-12T02:55:10.954Z] Babel==2.8.0 [2020-10-12T02:55:10.954Z] beautifulsoup4==4.8.2 [2020-10-12T02:55:10.954Z] boto3==1.11.6 [2020-10-12T02:55:10.954Z] botocore==1.14.6 [2020-10-12T02:55:10.954Z] bs4==0.0.1 [2020-10-12T02:55:10.954Z] cachetools==4.1.1 [2020-10-12T02:55:10.954Z] certifi==2019.11.28 [2020-10-12T02:55:10.954Z] cffi==1.14.3 [2020-10-12T02:55:10.954Z] cfgv==2.0.1 [2020-10-12T02:55:10.954Z] chardet==3.0.4 [2020-10-12T02:55:10.954Z] click==7.1 [2020-10-12T02:55:10.954Z] cliff==3.4.0 [2020-10-12T02:55:10.954Z] cmd2==1.3.11 [2020-10-12T02:55:10.954Z] colorama==0.4.3 [2020-10-12T02:55:10.954Z] cryptography==3.1.1 [2020-10-12T02:55:10.954Z] debtcollector==2.2.0 [2020-10-12T02:55:10.954Z] decorator==4.4.2 [2020-10-12T02:55:10.954Z] defusedxml==0.6.0 [2020-10-12T02:55:10.954Z] Deprecated==1.2.7 [2020-10-12T02:55:10.954Z] distlib==0.3.1 [2020-10-12T02:55:10.954Z] distro==1.2.0 [2020-10-12T02:55:10.954Z] dnspython==1.16.0 [2020-10-12T02:55:10.954Z] docker==4.2.0 [2020-10-12T02:55:10.954Z] docutils==0.15.2 [2020-10-12T02:55:10.954Z] dogpile.cache==1.0.2 [2020-10-12T02:55:10.954Z] email-validator==1.0.5 [2020-10-12T02:55:10.954Z] filelock==3.0.12 [2020-10-12T02:55:10.954Z] future==0.18.2 [2020-10-12T02:55:10.954Z] google-auth==1.22.1 [2020-10-12T02:55:10.954Z] httplib2==0.17.0 [2020-10-12T02:55:10.954Z] identify==1.4.11 [2020-10-12T02:55:10.954Z] idna==2.9 [2020-10-12T02:55:10.954Z] importlib-metadata==2.0.0 [2020-10-12T02:55:10.954Z] importlib-resources==1.5.0 [2020-10-12T02:55:10.954Z] iso8601==0.1.13 [2020-10-12T02:55:10.954Z] Jinja2==2.11.1 [2020-10-12T02:55:10.954Z] jmespath==0.10.0 [2020-10-12T02:55:10.954Z] jsonpatch==1.26 [2020-10-12T02:55:10.954Z] jsonpointer==2.0 [2020-10-12T02:55:10.954Z] jsonschema==3.2.0 [2020-10-12T02:55:10.954Z] keystoneauth1==4.2.1 [2020-10-12T02:55:10.954Z] kubernetes==11.0.0 [2020-10-12T02:55:10.954Z] lftools==0.34.2 [2020-10-12T02:55:10.954Z] lxml==4.5.0 [2020-10-12T02:55:10.954Z] MarkupSafe==0.23 [2020-10-12T02:55:10.954Z] msgpack==1.0.0 [2020-10-12T02:55:10.954Z] multi-key-dict==2.0.3 [2020-10-12T02:55:10.954Z] munch==2.5.0 [2020-10-12T02:55:10.954Z] netaddr==0.8.0 [2020-10-12T02:55:10.954Z] netifaces==0.10.9 [2020-10-12T02:55:10.954Z] niet==1.4.2 [2020-10-12T02:55:10.954Z] nodeenv==1.3.5 [2020-10-12T02:55:10.954Z] oauth2client==4.1.3 [2020-10-12T02:55:10.954Z] oauthlib==3.1.0 [2020-10-12T02:55:10.954Z] openstacksdk==0.50.0 [2020-10-12T02:55:10.954Z] os-client-config==2.1.0 [2020-10-12T02:55:10.954Z] os-service-types==1.7.0 [2020-10-12T02:55:10.954Z] osc-lib==2.2.1 [2020-10-12T02:55:10.954Z] oslo.config==8.3.2 [2020-10-12T02:55:10.954Z] oslo.context==3.1.1 [2020-10-12T02:55:10.954Z] oslo.i18n==5.0.1 [2020-10-12T02:55:10.954Z] oslo.log==4.4.0 [2020-10-12T02:55:10.954Z] oslo.serialization==4.0.1 [2020-10-12T02:55:10.954Z] oslo.utils==4.6.0 [2020-10-12T02:55:10.954Z] packaging==20.4 [2020-10-12T02:55:10.954Z] pbr==5.4.4 [2020-10-12T02:55:10.954Z] pluggy==0.13.1 [2020-10-12T02:55:10.954Z] prettytable==0.7.2 [2020-10-12T02:55:10.955Z] py==1.9.0 [2020-10-12T02:55:10.955Z] pyasn1==0.4.8 [2020-10-12T02:55:10.955Z] pyasn1-modules==0.2.8 [2020-10-12T02:55:10.955Z] pycparser==2.20 [2020-10-12T02:55:10.955Z] pygerrit2==2.0.10 [2020-10-12T02:55:10.955Z] PyGithub==1.46 [2020-10-12T02:55:10.955Z] pyinotify==0.9.6 [2020-10-12T02:55:10.955Z] PyJWT==1.7.1 [2020-10-12T02:55:10.955Z] pyparsing==2.4.7 [2020-10-12T02:55:10.955Z] pyperclip==1.8.1 [2020-10-12T02:55:10.955Z] pyroute2==0.4.13 [2020-10-12T02:55:10.955Z] pyrsistent==0.15.7 [2020-10-12T02:55:10.955Z] PySocks==1.6.8 [2020-10-12T02:55:10.955Z] python-cinderclient==7.2.0 [2020-10-12T02:55:10.955Z] python-dateutil==2.8.1 [2020-10-12T02:55:10.955Z] python-heatclient==2.2.1 [2020-10-12T02:55:10.955Z] python-jenkins==1.7.0 [2020-10-12T02:55:10.955Z] python-keystoneclient==4.1.1 [2020-10-12T02:55:10.955Z] python-magnumclient==3.2.1 [2020-10-12T02:55:10.955Z] python-novaclient==17.2.1 [2020-10-12T02:55:10.955Z] python-openstackclient==5.4.0 [2020-10-12T02:55:10.955Z] python-swiftclient==3.10.1 [2020-10-12T02:55:10.955Z] pytz==2020.1 [2020-10-12T02:55:10.955Z] PyYAML==5.3 [2020-10-12T02:55:10.955Z] requests==2.23.0 [2020-10-12T02:55:10.955Z] requests-oauthlib==1.3.0 [2020-10-12T02:55:10.955Z] requestsexceptions==1.4.0 [2020-10-12T02:55:10.955Z] rfc3986==1.4.0 [2020-10-12T02:55:10.955Z] rpm==4.11.3 [2020-10-12T02:55:10.955Z] rsa==4.0 [2020-10-12T02:55:10.955Z] ruamel.yaml==0.16.10 [2020-10-12T02:55:10.955Z] ruamel.yaml.clib==0.2.0 [2020-10-12T02:55:10.955Z] s3transfer==0.3.3 [2020-10-12T02:55:10.955Z] shade==1.27.2 [2020-10-12T02:55:10.955Z] simplejson==3.17.2 [2020-10-12T02:55:10.955Z] six==1.14.0 [2020-10-12T02:55:10.955Z] soupsieve==2.0 [2020-10-12T02:55:10.955Z] stevedore==3.2.2 [2020-10-12T02:55:10.955Z] tabulate==0.8.6 [2020-10-12T02:55:10.955Z] toml==0.10.0 [2020-10-12T02:55:10.955Z] tox==3.20.1 [2020-10-12T02:55:10.955Z] tqdm==4.43.0 [2020-10-12T02:55:10.955Z] urllib3==1.25.8 [2020-10-12T02:55:10.955Z] virtualenv==20.0.33 [2020-10-12T02:55:10.955Z] wcwidth==0.2.5 [2020-10-12T02:55:10.955Z] websocket-client==0.57.0 [2020-10-12T02:55:10.955Z] wrapt==1.12.1 [2020-10-12T02:55:10.955Z] xdg==3.0.2 [2020-10-12T02:55:10.955Z] xmltodict==0.12.0 [2020-10-12T02:55:10.955Z] yq==2.11.1 [2020-10-12T02:55:10.955Z] zipp==3.3.0 [2020-10-12T02:55:10.955Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:55:10.955Z] 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-12T02:55:10.955Z] Python 2.7.5 [2020-10-12T02:55:10.955Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-12T02:55:10.955Z] 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-12T02:55:10.955Z] ansible==2.9.7 [2020-10-12T02:55:10.955Z] Babel==0.9.6 [2020-10-12T02:55:10.955Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-12T02:55:10.955Z] beautifulsoup4==4.4.1 [2020-10-12T02:55:10.955Z] bodhi==2.11.0 [2020-10-12T02:55:10.955Z] bodhi-client==2.11.0 [2020-10-12T02:55:10.955Z] CCColUtils==1.4 [2020-10-12T02:55:10.955Z] cffi==1.6.0 [2020-10-12T02:55:10.955Z] chardet==2.2.1 [2020-10-12T02:55:10.955Z] click==6.7 [2020-10-12T02:55:10.955Z] cloud-init==18.5 [2020-10-12T02:55:10.955Z] configobj==4.7.2 [2020-10-12T02:55:10.955Z] cryptography==1.7.2 [2020-10-12T02:55:10.955Z] decorator==3.4.0 [2020-10-12T02:55:10.955Z] distro==1.2.0 [2020-10-12T02:55:10.955Z] enum34==1.0.4 [2020-10-12T02:55:10.955Z] fedpkg==1.38 [2020-10-12T02:55:10.955Z] futures==3.1.1 [2020-10-12T02:55:10.955Z] gitdb==0.6.4 [2020-10-12T02:55:10.955Z] GitPython==1.0.1 [2020-10-12T02:55:10.955Z] html5lib==0.999 [2020-10-12T02:55:10.955Z] httplib2==0.9.2 [2020-10-12T02:55:10.955Z] idna==2.4 [2020-10-12T02:55:10.955Z] iniparse==0.4 [2020-10-12T02:55:10.955Z] ipaddress==1.0.16 [2020-10-12T02:55:10.955Z] IPy==0.75 [2020-10-12T02:55:10.955Z] javapackages==1.0.0 [2020-10-12T02:55:10.955Z] Jinja2==2.7.2 [2020-10-12T02:55:10.955Z] jmespath==0.9.4 [2020-10-12T02:55:10.955Z] jsonpatch==1.2 [2020-10-12T02:55:10.955Z] jsonpointer==1.9 [2020-10-12T02:55:10.955Z] kerberos==1.1 [2020-10-12T02:55:10.955Z] kitchen==1.1.1 [2020-10-12T02:55:10.955Z] langtable==0.0.31 [2020-10-12T02:55:10.955Z] lockfile==0.9.1 [2020-10-12T02:55:10.955Z] lxml==3.2.1 [2020-10-12T02:55:10.955Z] MarkupSafe==0.11 [2020-10-12T02:55:10.955Z] munch==2.0.2 [2020-10-12T02:55:10.955Z] offtrac==0.1.0 [2020-10-12T02:55:10.955Z] openidc-client==0.6.0 [2020-10-12T02:55:10.955Z] packagedb-cli==2.14.1 [2020-10-12T02:55:10.955Z] paramiko==2.1.1 [2020-10-12T02:55:10.955Z] perf==0.1 [2020-10-12T02:55:10.955Z] ply==3.4 [2020-10-12T02:55:10.955Z] policycoreutils-default-encoding==0.1 [2020-10-12T02:55:10.955Z] prettytable==0.7.2 [2020-10-12T02:55:10.955Z] pyasn1==0.1.9 [2020-10-12T02:55:10.955Z] pycparser==2.14 [2020-10-12T02:55:10.955Z] pycurl==7.19.0 [2020-10-12T02:55:10.955Z] pygobject==3.22.0 [2020-10-12T02:55:10.955Z] pygpgme==0.3 [2020-10-12T02:55:10.955Z] pyliblzma==0.5.3 [2020-10-12T02:55:10.955Z] pyOpenSSL==0.13.1 [2020-10-12T02:55:10.955Z] pyparsing==1.5.6 [2020-10-12T02:55:10.955Z] pyserial==2.6 [2020-10-12T02:55:10.955Z] python-augeas==0.5.0 [2020-10-12T02:55:10.955Z] python-bugzilla==2.3.0 [2020-10-12T02:55:10.955Z] python-dateutil==1.5 [2020-10-12T02:55:10.955Z] python-fedora==0.10.0 [2020-10-12T02:55:10.955Z] python-linux-procfs==0.4.9 [2020-10-12T02:55:10.955Z] python-yubico==1.2.3 [2020-10-12T02:55:10.955Z] pyudev==0.15 [2020-10-12T02:55:10.955Z] pyusb==1.0.0b1 [2020-10-12T02:55:10.955Z] pyxattr==0.5.1 [2020-10-12T02:55:10.955Z] PyYAML==3.10 [2020-10-12T02:55:10.955Z] requests==2.6.0 [2020-10-12T02:55:10.955Z] requests-kerberos==0.7.0 [2020-10-12T02:55:10.955Z] rpkg==1.60 [2020-10-12T02:55:10.955Z] schedutils==0.4 [2020-10-12T02:55:10.955Z] seobject==0.1 [2020-10-12T02:55:10.955Z] sepolicy==1.1 [2020-10-12T02:55:10.955Z] six==1.9.0 [2020-10-12T02:55:10.955Z] smmap==0.9.0 [2020-10-12T02:55:10.955Z] urlgrabber==3.10 [2020-10-12T02:55:10.955Z] urllib3==1.10.2 [2020-10-12T02:55:10.955Z] virtualenv==15.1.0 [2020-10-12T02:55:10.955Z] yum-langpacks==0.4.2 [2020-10-12T02:55:10.955Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-12T02:55:10.968Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:55:11.287Z] ---> sudo-logs.sh [2020-10-12T02:55:11.287Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-12T02:55:11.566Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:55:11.879Z] ---> job-cost.sh [2020-10-12T02:55:11.879Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-YL5p [2020-10-12T02:55:21.909Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:55:21.909Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:55:22.868Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:55:22.868Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:55:23.130Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:55:23.130Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:55:23.395Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:55:23.395Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:55:23.395Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:55:23.662Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:55:23.662Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:55:23.925Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:55:23.925Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:55:29.243Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-12T02:55:55.902Z] lf-activate-venv(): INFO: Adding /tmp/venv-YL5p/bin to PATH [2020-10-12T02:55:55.902Z] INFO: No Stack... [2020-10-12T02:55:56.171Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-12T02:55:57.568Z] INFO: Archiving Costs [Pipeline] echo [2020-10-12T02:55:57.581Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:55:58.029Z] ---> logs-deploy.sh [2020-10-12T02:55:58.029Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/19 [2020-10-12T02:55:58.029Z] INFO: archiving workspace using pattern(s): [2020-10-12T02:55:59.948Z] Archives upload complete. [2020-10-12T02:55:59.948Z] INFO: archiving logs to Nexus [2020-10-12T02:56:00.897Z] ---> uname -a: [2020-10-12T02:56:00.897Z] Linux prd-centos7-docker-4c-2g-4672.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux [2020-10-12T02:56:00.897Z] [2020-10-12T02:56:00.897Z]