Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a0136f4ab48c04aea383df6fc9b835c730cf6549+153a43e7e060228c1df4c616c423a5b384e52518 (38eec83524f2c0cc4be422e226ae34acb8a57aab) 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-4669 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-584 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit a0136f4ab48c04aea383df6fc9b835c730cf6549 Merge succeeded, producing 66203a5aa5c24f74eace5e0c2828331f913f5a45 Checking out Revision 66203a5aa5c24f74eace5e0c2828331f913f5a45 (PR-584) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0136f4ab48c04aea383df6fc9b835c730cf6549 # 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 66203a5aa5c24f74eace5e0c2828331f913f5a45 # timeout=10 Commit message: "Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD" > git rev-list --no-walk a0136f4ab48c04aea383df6fc9b835c730cf6549 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-12T02:43:09.542Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-12T02:43:09.758Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-12T02:43:09.855Z] ========================================================= [2020-10-12T02:43:09.855Z] EdgeX Global Pipelines Version Info [2020-10-12T02:43:09.855Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:43:12.036Z] ------------------- [2020-10-12T02:43:12.036Z] stable info: [2020-10-12T02:43:12.036Z] ------------------- [2020-10-12T02:43:12.036Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-12T02:43:12.036Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-12T02:43:12.036Z] Message: update stable to v1.0.131 [2020-10-12T02:43:12.612Z] ------------------- [2020-10-12T02:43:12.612Z] experimental info: [2020-10-12T02:43:12.612Z] ------------------- [2020-10-12T02:43:12.612Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-12T02:43:12.612Z] Commit SHA: 2e6d42a532571151575c80d72899821df0f9b0af [2020-10-12T02:43:12.612Z] Message: update experimental to v1.0.135 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-12T02:43:13.013Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-12T02:43:13.211Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-12T02:43:13.303Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-12T02:43:13.469Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-12T02:43:13.563Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-12T02:43:13.649Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-12T02:43:13.737Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-12T02:43:13.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-12T02:43:13.980Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-12T02:43:14.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-12T02:43:14.166Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-12T02:43:14.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-12T02:43:14.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-12T02:43:14.460Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-12T02:43:14.543Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-12T02:43:14.637Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T02:43:14.732Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T02:43:14.815Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T02:43:14.921Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-12T02:43:15.005Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-12T02:43:15.102Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-12T02:43:15.187Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-12T02:43:15.275Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-12T02:43:15.359Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-12T02:43:15.471Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-12T02:43:15.561Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo [2020-10-12T02:43:15.651Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo [2020-10-12T02:43:15.755Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo [2020-10-12T02:43:15.893Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 66203a5aa5c24f74eace5e0c2828331f913f5a45 [Pipeline] echo [2020-10-12T02:43:16.018Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 66203a5 [Pipeline] echo [2020-10-12T02:43:16.131Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-12T02:43:16.841Z] + git log --format=format:%s -1 66203a5aa5c24f74eace5e0c2828331f913f5a45 [Pipeline] echo [2020-10-12T02:43:16.920Z] GIT_COMMIT: 66203a5aa5c24f74eace5e0c2828331f913f5a45, Commit Message: Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD [Pipeline] echo [2020-10-12T02:43:16.974Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:43:17.554Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T02:43:17.815Z] [2020-10-12T02:43:17.815Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:43:18.163Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T02:43:18.163Z] latest: Pulling from edgex-devops/git-semver [2020-10-12T02:43:18.163Z] 31603596830f: Pulling fs layer [2020-10-12T02:43:18.163Z] 2a8b12db71e7: Pulling fs layer [2020-10-12T02:43:18.163Z] 6ca5941a6612: Pulling fs layer [2020-10-12T02:43:18.163Z] ecc8261a40a4: Pulling fs layer [2020-10-12T02:43:18.163Z] ecc8261a40a4: Waiting [2020-10-12T02:43:18.163Z] 2a8b12db71e7: Verifying Checksum [2020-10-12T02:43:18.163Z] 2a8b12db71e7: Download complete [2020-10-12T02:43:18.428Z] 31603596830f: Verifying Checksum [2020-10-12T02:43:18.428Z] 31603596830f: Download complete [2020-10-12T02:43:18.428Z] ecc8261a40a4: Verifying Checksum [2020-10-12T02:43:18.428Z] ecc8261a40a4: Download complete [2020-10-12T02:43:18.428Z] 6ca5941a6612: Verifying Checksum [2020-10-12T02:43:18.428Z] 6ca5941a6612: Download complete [2020-10-12T02:43:18.694Z] 31603596830f: Pull complete [2020-10-12T02:43:18.966Z] 2a8b12db71e7: Pull complete [2020-10-12T02:43:19.559Z] 6ca5941a6612: Pull complete [2020-10-12T02:43:19.823Z] ecc8261a40a4: Pull complete [2020-10-12T02:43:19.823Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-12T02:43:19.823Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T02:43:19.823Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-12T02:43:19.971Z] prd-centos7-docker-4c-2g-4669 does not seem to be running inside a container [2020-10-12T02:43:20.044Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-12T02:43:22.400Z] $ docker top b5df64ea8f58420bf1cf1447c9abe41fac376942665aa54d1ac3258bf33e5083 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-12T02:43:22.786Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-12T02:43:22.786Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-12T02:43:23.034Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-12T02:43:23.041Z] $ docker exec b5df64ea8f58420bf1cf1447c9abe41fac376942665aa54d1ac3258bf33e5083 ssh-agent [2020-10-12T02:43:23.204Z] SSH_AUTH_SOCK=/tmp/ssh-mFoqunRxAFY0/agent.12 [2020-10-12T02:43:23.204Z] SSH_AGENT_PID=17 [2020-10-12T02:43:23.218Z] Running ssh-add (command line suppressed) [2020-10-12T02:43:23.347Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_3934825579989589821.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_3934825579989589821.key) [2020-10-12T02:43:23.404Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-12T02:43:23.754Z] + git describe --exact-match --tags HEAD [2020-10-12T02:43:23.754Z] fatal: no tag exactly matches '66203a5aa5c24f74eace5e0c2828331f913f5a45' [Pipeline] } [2020-10-12T02:43:23.849Z] $ docker exec --env ******** --env ******** b5df64ea8f58420bf1cf1447c9abe41fac376942665aa54d1ac3258bf33e5083 ssh-agent -k [2020-10-12T02:43:23.977Z] unset SSH_AUTH_SOCK; [2020-10-12T02:43:23.977Z] unset SSH_AGENT_PID; [2020-10-12T02:43:23.977Z] echo Agent pid 17 killed; [2020-10-12T02:43:24.024Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-12T02:43:24.116Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-12T02:43:24.116Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-12T02:43:24.240Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-12T02:43:24.241Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-12T02:43:24.415Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-12T02:43:24.421Z] $ docker exec b5df64ea8f58420bf1cf1447c9abe41fac376942665aa54d1ac3258bf33e5083 ssh-agent [2020-10-12T02:43:24.599Z] SSH_AUTH_SOCK=/tmp/ssh-AxvH8x9OczYJ/agent.45 [2020-10-12T02:43:24.599Z] SSH_AGENT_PID=51 [2020-10-12T02:43:24.608Z] Running ssh-add (command line suppressed) [2020-10-12T02:43:24.751Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_5061391282164976826.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_5061391282164976826.key) [2020-10-12T02:43:24.800Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-12T02:43:25.177Z] + git semver init [2020-10-12T02:43:25.177Z] # -> Open(): unable to determine branch for HEAD [2020-10-12T02:43:25.177Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git [2020-10-12T02:43:25.177Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-12T02:43:25.177Z] # $SEMVER_REMOTE_NAME = origin [2020-10-12T02:43:25.177Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-12T02:43:25.177Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-12T02:43:25.177Z] # $SEMVER_BRANCH = PR-584 [2020-10-12T02:43:25.177Z] # $SEMVER_TEMP = /tmp/semver-026303690 [2020-10-12T02:43:25.177Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-12T02:43:25.751Z] # '/tmp/semver-026303690' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' [2020-10-12T02:43:25.751Z] # -> Force: false [2020-10-12T02:43:25.751Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } [2020-10-12T02:43:25.767Z] $ docker exec --env ******** --env ******** b5df64ea8f58420bf1cf1447c9abe41fac376942665aa54d1ac3258bf33e5083 ssh-agent -k [2020-10-12T02:43:25.890Z] unset SSH_AUTH_SOCK; [2020-10-12T02:43:25.890Z] unset SSH_AGENT_PID; [2020-10-12T02:43:25.891Z] echo Agent pid 51 killed; [2020-10-12T02:43:25.943Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-12T02:43:26.414Z] + git semver [Pipeline] } [2020-10-12T02:43:26.438Z] $ docker stop --time=1 b5df64ea8f58420bf1cf1447c9abe41fac376942665aa54d1ac3258bf33e5083 [2020-10-12T02:43:27.813Z] $ docker rm -f b5df64ea8f58420bf1cf1447c9abe41fac376942665aa54d1ac3258bf33e5083 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-12T02:43:28.811Z] Stashed 48 file(s) [Pipeline] echo [2020-10-12T02:43:28.814Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-12T02:43:28.924Z] 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:43:44.451Z] Still waiting to schedule task [2020-10-12T02:43:44.451Z] ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-4674’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-12T02:43:44.456Z] Still waiting to schedule task [2020-10-12T02:43:44.456Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline [2020-10-12T02:45:07.551Z] Running on prd-centos7-docker-4c-2g-4679 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-10-12T02:45:07.629Z] Running in /w/workspace/device-sdk-go/19 [Pipeline] { [Pipeline] checkout [2020-10-12T02:45:10.519Z] using credential edgex-jenkins-ssh [2020-10-12T02:45:10.588Z] Cloning the remote Git repository [2020-10-12T02:45:10.622Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T02:45:10.711Z] > git init /w/workspace/device-sdk-go/19 # timeout=10 [2020-10-12T02:45:10.779Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T02:45:10.779Z] > git --version # timeout=10 [2020-10-12T02:45:10.789Z] > git --version # 'git version 2.16.5' [2020-10-12T02:45:10.790Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T02:45:10.825Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T02:45:12.148Z] Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit a0136f4ab48c04aea383df6fc9b835c730cf6549 [2020-10-12T02:45:12.272Z] Merge succeeded, producing 4933bcfdde44b795ffaf91f617bb058b04d740f9 [2020-10-12T02:45:12.273Z] Checking out Revision 4933bcfdde44b795ffaf91f617bb058b04d740f9 (PR-584) [2020-10-12T02:45:11.640Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T02:45:11.645Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T02:45:11.656Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T02:45:11.670Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T02:45:11.671Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T02:45:11.675Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-12T02:45:12.159Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T02:45:12.163Z] > git checkout -f a0136f4ab48c04aea383df6fc9b835c730cf6549 # timeout=10 [2020-10-12T02:45:12.216Z] > git remote # timeout=10 [2020-10-12T02:45:12.221Z] > git config --get remote.origin.url # timeout=10 [2020-10-12T02:45:12.230Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T02:45:12.234Z] > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 [2020-10-12T02:45:12.268Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-12T02:45:12.278Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T02:45:12.282Z] > git checkout -f 4933bcfdde44b795ffaf91f617bb058b04d740f9 # timeout=10 [2020-10-12T02:45:16.058Z] Commit message: "Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD" [2020-10-12T02:45:16.064Z] > git rev-list --no-walk a0136f4ab48c04aea383df6fc9b835c730cf6549 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-12T02:45:16.976Z] ========================================================= [2020-10-12T02:45:16.976Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-12T02:45:16.976Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:45:17.738Z] + 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:45:18.326Z] Sending build context to Docker daemon 3.529MB [2020-10-12T02:45:18.326Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-12T02:45:18.326Z] Step 2/8 : FROM ${BASE} [2020-10-12T02:45:18.326Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-12T02:45:18.326Z] df20fa9351a1: Pulling fs layer [2020-10-12T02:45:18.326Z] ed8968b2872e: Pulling fs layer [2020-10-12T02:45:18.326Z] a92cc7c5fd73: Pulling fs layer [2020-10-12T02:45:18.326Z] e871e8e8d7a9: Pulling fs layer [2020-10-12T02:45:18.326Z] e73272ec9a57: Pulling fs layer [2020-10-12T02:45:18.326Z] 1e910a182e73: Pulling fs layer [2020-10-12T02:45:18.326Z] 4e634b169226: Pulling fs layer [2020-10-12T02:45:18.326Z] 1e910a182e73: Waiting [2020-10-12T02:45:18.326Z] e871e8e8d7a9: Waiting [2020-10-12T02:45:18.326Z] e73272ec9a57: Waiting [2020-10-12T02:45:18.326Z] 4e634b169226: Waiting [2020-10-12T02:45:18.326Z] a92cc7c5fd73: Download complete [2020-10-12T02:45:18.326Z] ed8968b2872e: Verifying Checksum [2020-10-12T02:45:18.326Z] ed8968b2872e: Download complete [2020-10-12T02:45:18.326Z] e73272ec9a57: Verifying Checksum [2020-10-12T02:45:18.326Z] e73272ec9a57: Download complete [2020-10-12T02:45:18.326Z] 1e910a182e73: Verifying Checksum [2020-10-12T02:45:18.326Z] 1e910a182e73: Download complete [2020-10-12T02:45:18.326Z] df20fa9351a1: Verifying Checksum [2020-10-12T02:45:18.326Z] df20fa9351a1: Download complete [2020-10-12T02:45:18.603Z] df20fa9351a1: Pull complete [2020-10-12T02:45:18.865Z] ed8968b2872e: Pull complete [2020-10-12T02:45:18.865Z] a92cc7c5fd73: Pull complete [2020-10-12T02:45:21.441Z] 4e634b169226: Verifying Checksum [2020-10-12T02:45:21.441Z] 4e634b169226: Download complete [2020-10-12T02:45:21.710Z] e871e8e8d7a9: Verifying Checksum [2020-10-12T02:45:21.710Z] e871e8e8d7a9: Download complete [2020-10-12T02:45:27.067Z] e871e8e8d7a9: Pull complete [2020-10-12T02:45:27.333Z] e73272ec9a57: Pull complete [2020-10-12T02:45:27.333Z] 1e910a182e73: Pull complete [2020-10-12T02:45:35.566Z] 4e634b169226: Pull complete [2020-10-12T02:45:35.566Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-12T02:45:35.566Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-12T02:45:35.566Z] ---> f7629b54cfaa [2020-10-12T02:45:35.566Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T02:45:35.566Z] ---> Running in f6d72708a5a1 [2020-10-12T02:45:35.566Z] Removing intermediate container f6d72708a5a1 [2020-10-12T02:45:35.566Z] ---> f1574b91fef8 [2020-10-12T02:45:35.566Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T02:45:35.566Z] ---> Running in 581f02107f69 [2020-10-12T02:45:36.153Z] Removing intermediate container 581f02107f69 [2020-10-12T02:45:36.153Z] ---> d97786a7ee2b [2020-10-12T02:45:36.153Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-12T02:45:36.153Z] ---> Running in 52a2759532ca [2020-10-12T02:45:37.112Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-12T02:45:37.688Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-12T02:45:38.264Z] OK: 166 MiB in 39 packages [2020-10-12T02:45:38.840Z] Removing intermediate container 52a2759532ca [2020-10-12T02:45:38.840Z] ---> 68f53499d9e6 [2020-10-12T02:45:38.840Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-12T02:45:38.840Z] ---> Running in 208aa632d7e1 [2020-10-12T02:45:39.103Z] Removing intermediate container 208aa632d7e1 [2020-10-12T02:45:39.103Z] ---> d6eeb50bb67d [2020-10-12T02:45:39.103Z] Step 7/8 : COPY . . [2020-10-12T02:45:40.507Z] ---> 5063fafe4ad9 [2020-10-12T02:45:40.507Z] Step 8/8 : RUN go mod download [2020-10-12T02:45:40.507Z] ---> Running in 9dedc07ebec3 [2020-10-12T02:45:58.759Z] Removing intermediate container 9dedc07ebec3 [2020-10-12T02:45:58.760Z] ---> 25a8d525f14b [2020-10-12T02:45:58.760Z] Successfully built 25a8d525f14b [2020-10-12T02:45:58.760Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:45:59.123Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-12T02:45:59.123Z] . [Pipeline] withDockerContainer [2020-10-12T02:45:59.278Z] prd-centos7-docker-4c-2g-4679 does not seem to be running inside a container [2020-10-12T02:45:59.336Z] $ 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-x86_64 cat [2020-10-12T02:46:00.297Z] $ docker top ae053b761cab60298ed344c7f24fbc1e2cb0a3474d65e37bae2f75f8169d1bfd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T02:46:00.853Z] + go version [2020-10-12T02:46:00.853Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-12T02:46:00.870Z] $ docker stop --time=1 ae053b761cab60298ed344c7f24fbc1e2cb0a3474d65e37bae2f75f8169d1bfd [2020-10-12T02:46:02.278Z] $ docker rm -f ae053b761cab60298ed344c7f24fbc1e2cb0a3474d65e37bae2f75f8169d1bfd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:46:03.169Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-12T02:46:03.169Z] . [Pipeline] withDockerContainer [2020-10-12T02:46:03.289Z] prd-centos7-docker-4c-2g-4679 does not seem to be running inside a container [2020-10-12T02:46:03.350Z] $ 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-x86_64 cat [2020-10-12T02:46:03.950Z] $ docker top dc0dd662c2e584e106b581586900ce35cf512c8cc738ff55a6246fea705a9ff2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T02:46:04.453Z] + make test [2020-10-12T02:46:04.453Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-12T02:46:12.673Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-12T02:46:27.839Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-12T02:46:27.839Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-12T02:46:27.839Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-12T02:46:28.438Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.082s coverage: 21.6% of statements [2020-10-12T02:46:30.448Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.455s coverage: 97.1% of statements [2020-10-12T02:46:54.914Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4684 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-10-12T02:46:54.965Z] Running in /w/workspace/device-sdk-go/19 [Pipeline] { [Pipeline] checkout [2020-10-12T02:47:00.543Z] using credential edgex-jenkins-ssh [2020-10-12T02:47:00.644Z] Cloning the remote Git repository [2020-10-12T02:47:00.730Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T02:47:00.881Z] > git init /w/workspace/device-sdk-go/19 # timeout=10 [2020-10-12T02:47:00.965Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T02:47:00.966Z] > git --version # timeout=10 [2020-10-12T02:47:00.988Z] > git --version # 'git version 2.17.1' [2020-10-12T02:47:00.990Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T02:47:01.093Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T02:47:02.349Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T02:47:02.374Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T02:47:02.407Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T02:47:02.448Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T02:47:02.450Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T02:47:02.464Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-12T02:47:02.794Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.085s coverage: 9.4% of statements [2020-10-12T02:47:02.794Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.060s coverage: 21.9% of statements [2020-10-12T02:47:02.794Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-12T02:47:02.794Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.207s coverage: 40.0% of statements [2020-10-12T02:47:02.794Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-12T02:47:02.794Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.321s coverage: 68.9% of statements [2020-10-12T02:47:02.794Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-12T02:47:02.794Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-12T02:47:02.794Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-12T02:47:02.794Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-12T02:47:02.794Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements [2020-10-12T02:47:02.794Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-12T02:47:02.794Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.485s coverage: 68.9% of statements [2020-10-12T02:47:02.794Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-12T02:47:02.794Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-12T02:47:02.794Z] GO111MODULE=on go vet ./... [2020-10-12T02:47:02.956Z] Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit a0136f4ab48c04aea383df6fc9b835c730cf6549 [2020-10-12T02:47:03.299Z] Merge succeeded, producing 703135d9fab634607eb37f345f0933a6442bcb7a [2020-10-12T02:47:03.300Z] Checking out Revision 703135d9fab634607eb37f345f0933a6442bcb7a (PR-584) [2020-10-12T02:47:02.983Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T02:47:02.999Z] > git checkout -f a0136f4ab48c04aea383df6fc9b835c730cf6549 # timeout=10 [2020-10-12T02:47:03.124Z] > git remote # timeout=10 [2020-10-12T02:47:03.146Z] > git config --get remote.origin.url # timeout=10 [2020-10-12T02:47:03.165Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T02:47:03.178Z] > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 [2020-10-12T02:47:03.284Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-12T02:47:03.311Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T02:47:03.324Z] > git checkout -f 703135d9fab634607eb37f345f0933a6442bcb7a # timeout=10 [2020-10-12T02:47:07.714Z] Commit message: "Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD" [2020-10-12T02:47:07.725Z] > git rev-list --no-walk a0136f4ab48c04aea383df6fc9b835c730cf6549 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-12T02:47:09.227Z] ========================================================= [2020-10-12T02:47:09.227Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-12T02:47:09.227Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:47:09.509Z] gofmt -l . [2020-10-12T02:47:09.509Z] [ "`gofmt -l .`" = "" ] [2020-10-12T02:47:09.777Z] ./bin/test-attribution-txt.sh [2020-10-12T02:47:10.356Z] ./bin/test-go-mod-tidy.sh [2020-10-12T02:47:10.476Z] + 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 . [Pipeline] stash [2020-10-12T02:47:10.955Z] Stashed 1 file(s) [Pipeline] } [2020-10-12T02:47:10.964Z] $ docker stop --time=1 dc0dd662c2e584e106b581586900ce35cf512c8cc738ff55a6246fea705a9ff2 [2020-10-12T02:47:11.484Z] Sending build context to Docker daemon 3.529MB [2020-10-12T02:47:11.484Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-12T02:47:11.484Z] Step 2/8 : FROM ${BASE} [2020-10-12T02:47:11.761Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-12T02:47:11.761Z] b538f80385f9: Pulling fs layer [2020-10-12T02:47:11.761Z] 74f711af9a0d: Pulling fs layer [2020-10-12T02:47:11.761Z] 99f96fe45779: Pulling fs layer [2020-10-12T02:47:11.761Z] 8529a6b9a6be: Pulling fs layer [2020-10-12T02:47:11.761Z] 45590311c82a: Pulling fs layer [2020-10-12T02:47:11.761Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-12T02:47:11.761Z] 209524e5b208: Pulling fs layer [2020-10-12T02:47:11.761Z] 45590311c82a: Waiting [2020-10-12T02:47:11.762Z] 69ca0ff8b7b3: Waiting [2020-10-12T02:47:11.762Z] 209524e5b208: Waiting [2020-10-12T02:47:11.762Z] 8529a6b9a6be: Waiting [2020-10-12T02:47:12.036Z] 99f96fe45779: Verifying Checksum [2020-10-12T02:47:12.036Z] 99f96fe45779: Download complete [2020-10-12T02:47:12.036Z] 74f711af9a0d: Download complete [2020-10-12T02:47:12.036Z] 45590311c82a: Verifying Checksum [2020-10-12T02:47:12.036Z] 45590311c82a: Download complete [2020-10-12T02:47:12.036Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-12T02:47:12.036Z] 69ca0ff8b7b3: Download complete [2020-10-12T02:47:12.635Z] b538f80385f9: Download complete [2020-10-12T02:47:12.786Z] $ docker rm -f dc0dd662c2e584e106b581586900ce35cf512c8cc738ff55a6246fea705a9ff2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2020-10-12T02:47:13.235Z] b538f80385f9: Pull complete [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-10-12T02:47:13.840Z] 74f711af9a0d: Pull complete [Pipeline] sh [2020-10-12T02:47:14.117Z] 99f96fe45779: Pull complete [2020-10-12T02:47:14.347Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-12T02:47:14.655Z] + ls -al . [2020-10-12T02:47:14.655Z] total 188 [2020-10-12T02:47:14.655Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 12 02:47 . [2020-10-12T02:47:14.655Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 12 02:45 .. [2020-10-12T02:47:14.655Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 12 02:45 bin [2020-10-12T02:47:14.655Z] -rw-r--r--. 1 jenkins jenkins 110392 Oct 12 02:46 coverage.out [2020-10-12T02:47:14.655Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 12 02:45 Dockerfile.build [2020-10-12T02:47:14.655Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 12 02:45 .dockerignore [2020-10-12T02:47:14.655Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 12 02:45 example [2020-10-12T02:47:14.655Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 12 02:45 .git [2020-10-12T02:47:14.655Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 12 02:45 .github [2020-10-12T02:47:14.655Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 12 02:45 .gitignore [2020-10-12T02:47:14.655Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 12 02:47 go.mod [2020-10-12T02:47:14.655Z] -rw-r--r--. 1 jenkins jenkins 13737 Oct 12 02:47 go.sum [2020-10-12T02:47:14.655Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 12 02:45 internal [2020-10-12T02:47:14.655Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 12 02:45 Jenkinsfile [2020-10-12T02:47:14.655Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 12 02:45 LICENSE [2020-10-12T02:47:14.655Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 12 02:45 Makefile [2020-10-12T02:47:14.655Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 12 02:45 openapi [2020-10-12T02:47:14.655Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 12 02:45 pkg [2020-10-12T02:47:14.655Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 12 02:45 README.md [2020-10-12T02:47:14.655Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 12 02:45 RELEASE-NOTES.txt [2020-10-12T02:47:14.655Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 12 02:45 .semver [2020-10-12T02:47:14.655Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 12 02:45 snap [2020-10-12T02:47:14.655Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 12 02:43 VERSION [2020-10-12T02:47:14.655Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 12 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:47:14.977Z] + 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=66203a5aa5c24f74eace5e0c2828331f913f5a45 --label arch=amd64 --label version=0.0.0 . [2020-10-12T02:47:15.241Z] Sending build context to Docker daemon 3.64MB [2020-10-12T02:47:15.241Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-12T02:47:15.241Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-12T02:47:15.241Z] ---> 25a8d525f14b [2020-10-12T02:47:15.241Z] Step 3/24 : ARG MAKE='make build' [2020-10-12T02:47:15.569Z] 209524e5b208: Verifying Checksum [2020-10-12T02:47:15.569Z] 209524e5b208: Download complete [2020-10-12T02:47:15.821Z] ---> Running in 6555ee29e833 [2020-10-12T02:47:16.087Z] Removing intermediate container 6555ee29e833 [2020-10-12T02:47:16.087Z] ---> edd15f183c21 [2020-10-12T02:47:16.087Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-12T02:47:16.087Z] ---> Running in 9936559280f5 [2020-10-12T02:47:16.175Z] 8529a6b9a6be: Download complete [2020-10-12T02:47:16.409Z] Removing intermediate container 9936559280f5 [2020-10-12T02:47:16.409Z] ---> 52620c12ec19 [2020-10-12T02:47:16.409Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T02:47:16.409Z] ---> Running in a03c19a64baf [2020-10-12T02:47:16.688Z] Removing intermediate container a03c19a64baf [2020-10-12T02:47:16.688Z] ---> 4a9d71922b45 [2020-10-12T02:47:16.688Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T02:47:16.688Z] ---> Running in 7911d006fd1e [2020-10-12T02:47:17.638Z] Removing intermediate container 7911d006fd1e [2020-10-12T02:47:17.638Z] ---> d621bb59c66c [2020-10-12T02:47:17.638Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-12T02:47:17.638Z] ---> Running in 256f69a73fdc [2020-10-12T02:47:18.221Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-12T02:47:18.799Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-12T02:47:19.378Z] OK: 166 MiB in 39 packages [2020-10-12T02:47:19.955Z] Removing intermediate container 256f69a73fdc [2020-10-12T02:47:19.955Z] ---> a3373f4769b8 [2020-10-12T02:47:19.955Z] Step 8/24 : COPY . . [2020-10-12T02:47:20.913Z] ---> 433eddd3a5f9 [2020-10-12T02:47:20.913Z] Step 9/24 : RUN ${MAKE} [2020-10-12T02:47:20.913Z] ---> Running in 4918f511f49e [2020-10-12T02:47:21.504Z] 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:47:28.625Z] 8529a6b9a6be: Pull complete [2020-10-12T02:47:28.625Z] 45590311c82a: Pull complete [2020-10-12T02:47:28.625Z] 69ca0ff8b7b3: Pull complete [2020-10-12T02:47:29.811Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-12T02:47:31.304Z] 209524e5b208: Pull complete [2020-10-12T02:47:31.304Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-12T02:47:31.304Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-12T02:47:31.304Z] ---> 5bddaf1c2fca [2020-10-12T02:47:31.304Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T02:47:31.760Z] Removing intermediate container 4918f511f49e [2020-10-12T02:47:31.760Z] ---> dfffb78eeb8d [2020-10-12T02:47:31.760Z] Step 10/24 : FROM scratch [2020-10-12T02:47:31.760Z] ---> [2020-10-12T02:47:31.760Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T02:47:31.760Z] ---> Running in 60db77e59970 [2020-10-12T02:47:31.760Z] Removing intermediate container 60db77e59970 [2020-10-12T02:47:31.760Z] ---> f9ec63e87f23 [2020-10-12T02:47:31.760Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-12T02:47:31.760Z] ---> Running in 2459c4fdd4d6 [2020-10-12T02:47:32.024Z] Removing intermediate container 2459c4fdd4d6 [2020-10-12T02:47:32.024Z] ---> d58765e4ee9a [2020-10-12T02:47:32.024Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-12T02:47:32.024Z] ---> Running in 6a751905bebb [2020-10-12T02:47:32.024Z] Removing intermediate container 6a751905bebb [2020-10-12T02:47:32.024Z] ---> fd1db9abe5e2 [2020-10-12T02:47:32.024Z] Step 14/24 : WORKDIR / [2020-10-12T02:47:32.287Z] ---> Running in 4bdbe2bec373 [2020-10-12T02:47:32.287Z] Removing intermediate container 4bdbe2bec373 [2020-10-12T02:47:32.287Z] ---> 7780d3ad222a [2020-10-12T02:47:32.287Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-12T02:47:32.866Z] ---> 06362c2cf342 [2020-10-12T02:47:32.866Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-12T02:47:33.137Z] ---> fb6998f9a859 [2020-10-12T02:47:33.137Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-12T02:47:33.401Z] ---> 3af19159cf2a [2020-10-12T02:47:33.401Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-12T02:47:33.671Z] ---> 43080f9cc5f0 [2020-10-12T02:47:33.671Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-12T02:47:33.936Z] ---> 38166395c477 [2020-10-12T02:47:33.936Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-12T02:47:33.936Z] ---> Running in 89e1247c11ac [2020-10-12T02:47:33.936Z] Removing intermediate container 89e1247c11ac [2020-10-12T02:47:33.936Z] ---> 4b82a9398822 [2020-10-12T02:47:33.936Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-12T02:47:33.950Z] ---> Running in b912d55c49ba [2020-10-12T02:47:34.199Z] ---> Running in 7436236814de [2020-10-12T02:47:34.199Z] Removing intermediate container 7436236814de [2020-10-12T02:47:34.199Z] ---> 2456b4c30045 [2020-10-12T02:47:34.199Z] Step 22/24 : LABEL arch=amd64 [2020-10-12T02:47:34.199Z] ---> Running in d4ed58f522d6 [2020-10-12T02:47:34.461Z] Removing intermediate container d4ed58f522d6 [2020-10-12T02:47:34.461Z] ---> c897005f2412 [2020-10-12T02:47:34.461Z] Step 23/24 : LABEL git_sha=66203a5aa5c24f74eace5e0c2828331f913f5a45 [2020-10-12T02:47:34.461Z] ---> Running in 5c36015c9c10 [2020-10-12T02:47:34.556Z] Removing intermediate container b912d55c49ba [2020-10-12T02:47:34.556Z] ---> cd1d7bf19762 [2020-10-12T02:47:34.556Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T02:47:34.723Z] Removing intermediate container 5c36015c9c10 [2020-10-12T02:47:34.723Z] ---> 63f1d8396ac3 [2020-10-12T02:47:34.723Z] Step 24/24 : LABEL version=0.0.0 [2020-10-12T02:47:34.723Z] ---> Running in 082e03dad440 [2020-10-12T02:47:34.835Z] ---> Running in cc1adaebf4a4 [2020-10-12T02:47:34.987Z] Removing intermediate container 082e03dad440 [2020-10-12T02:47:34.987Z] ---> 8574256166b1 [2020-10-12T02:47:34.987Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-12T02:47:34.987Z] Successfully built 8574256166b1 [2020-10-12T02:47:34.987Z] 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-12T02:47:37.551Z] Removing intermediate container cc1adaebf4a4 [2020-10-12T02:47:37.551Z] ---> 62d016a65818 [2020-10-12T02:47:37.551Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-12T02:47:37.829Z] ---> Running in ecc434a8db73 [2020-10-12T02:47:39.282Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-12T02:47:39.889Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-12T02:47:40.891Z] OK: 142 MiB in 39 packages [2020-10-12T02:47:42.343Z] Removing intermediate container ecc434a8db73 [2020-10-12T02:47:42.343Z] ---> 071efed08ef3 [2020-10-12T02:47:42.343Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-12T02:47:42.343Z] ---> Running in 925508e5b90b [2020-10-12T02:47:42.944Z] Removing intermediate container 925508e5b90b [2020-10-12T02:47:42.944Z] ---> 64eb205f4789 [2020-10-12T02:47:42.944Z] Step 7/8 : COPY . . [2020-10-12T02:47:44.942Z] ---> 64226e5ecfab [2020-10-12T02:47:44.942Z] Step 8/8 : RUN go mod download [2020-10-12T02:47:44.942Z] ---> Running in 3f88b90376f4 [2020-10-12T02:48:11.786Z] Removing intermediate container 3f88b90376f4 [2020-10-12T02:48:11.786Z] ---> 7da933fc65d9 [2020-10-12T02:48:11.786Z] Successfully built 7da933fc65d9 [2020-10-12T02:48:11.786Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:48:12.218Z] + docker inspect -f . ci-base-image-arm64 [2020-10-12T02:48:12.218Z] . [Pipeline] withDockerContainer [2020-10-12T02:48:12.549Z] prd-ubuntu18.04-docker-arm64-4c-16g-4684 does not seem to be running inside a container [2020-10-12T02:48:12.654Z] $ 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-arm64 cat [2020-10-12T02:48:14.791Z] $ docker top 9ce6b3997751782da4beaf403da099683b11cc3bef2127b27cdf7b9ee224e055 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T02:48:16.306Z] + go version [2020-10-12T02:48:16.306Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-12T02:48:16.341Z] $ docker stop --time=1 9ce6b3997751782da4beaf403da099683b11cc3bef2127b27cdf7b9ee224e055 [2020-10-12T02:48:18.459Z] $ docker rm -f 9ce6b3997751782da4beaf403da099683b11cc3bef2127b27cdf7b9ee224e055 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:48:19.629Z] + docker inspect -f . ci-base-image-arm64 [2020-10-12T02:48:19.629Z] . [Pipeline] withDockerContainer [2020-10-12T02:48:19.934Z] prd-ubuntu18.04-docker-arm64-4c-16g-4684 does not seem to be running inside a container [2020-10-12T02:48:20.035Z] $ 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-arm64 cat [2020-10-12T02:48:22.051Z] $ docker top ca3452fd6861635b1ceefcf66d954a82f9b1e8817ae7ed04371e01da6867577e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T02:48:23.559Z] + make test [2020-10-12T02:48:23.559Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-12T02:48:45.757Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-12T02:49:32.821Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-12T02:49:32.821Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-12T02:49:32.821Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-12T02:49:32.821Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.152s coverage: 21.6% of statements [2020-10-12T02:49:34.285Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.357s coverage: 97.1% of statements [2020-10-12T02:50:06.672Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.122s coverage: 9.4% of statements [2020-10-12T02:50:06.672Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.138s coverage: 21.9% of statements [2020-10-12T02:50:06.672Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-12T02:50:06.672Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.575s coverage: 40.0% of statements [2020-10-12T02:50:06.672Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-12T02:50:06.672Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.890s coverage: 68.9% of statements [2020-10-12T02:50:06.672Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-12T02:50:06.672Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-12T02:50:06.672Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-12T02:50:06.672Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-12T02:50:06.672Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.194s coverage: 52.6% of statements [2020-10-12T02:50:06.672Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-12T02:50:06.672Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.292s coverage: 68.9% of statements [2020-10-12T02:50:06.672Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-12T02:50:06.672Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-12T02:50:06.672Z] GO111MODULE=on go vet ./... [2020-10-12T02:50:33.569Z] gofmt -l . [2020-10-12T02:50:33.569Z] [ "`gofmt -l .`" = "" ] [2020-10-12T02:50:33.841Z] ./bin/test-attribution-txt.sh [2020-10-12T02:50:34.823Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-12T02:50:35.117Z] Warning: overwriting stash ‘coverage-report’ [2020-10-12T02:50:36.172Z] Stashed 1 file(s) [Pipeline] } [2020-10-12T02:50:36.177Z] $ docker stop --time=1 ca3452fd6861635b1ceefcf66d954a82f9b1e8817ae7ed04371e01da6867577e [2020-10-12T02:50:38.350Z] $ docker rm -f ca3452fd6861635b1ceefcf66d954a82f9b1e8817ae7ed04371e01da6867577e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-12T02:50:39.913Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-12T02:50:40.379Z] + ls -al . [2020-10-12T02:50:40.379Z] total 228 [2020-10-12T02:50:40.379Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 02:50 . [2020-10-12T02:50:40.379Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:47 .. [2020-10-12T02:50:40.379Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 02:47 .dockerignore [2020-10-12T02:50:40.379Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 02:47 .git [2020-10-12T02:50:40.379Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:47 .github [2020-10-12T02:50:40.379Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 12 02:47 .gitignore [2020-10-12T02:50:40.379Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:47 .semver [2020-10-12T02:50:40.379Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 12 02:47 Dockerfile.build [2020-10-12T02:50:40.379Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 12 02:47 Jenkinsfile [2020-10-12T02:50:40.379Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 02:47 LICENSE [2020-10-12T02:50:40.379Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 12 02:47 Makefile [2020-10-12T02:50:40.379Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 12 02:47 README.md [2020-10-12T02:50:40.379Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 12 02:47 RELEASE-NOTES.txt [2020-10-12T02:50:40.379Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 02:43 VERSION [2020-10-12T02:50:40.379Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:47 bin [2020-10-12T02:50:40.379Z] -rw-r--r-- 1 jenkins jenkins 110392 Oct 12 02:50 coverage.out [2020-10-12T02:50:40.379Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:47 example [2020-10-12T02:50:40.379Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 12 02:50 go.mod [2020-10-12T02:50:40.379Z] -rw-r--r-- 1 jenkins jenkins 13737 Oct 12 02:50 go.sum [2020-10-12T02:50:40.379Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 12 02:47 internal [2020-10-12T02:50:40.379Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:47 openapi [2020-10-12T02:50:40.379Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 02:47 pkg [2020-10-12T02:50:40.379Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:47 snap [2020-10-12T02:50:40.379Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 02:47 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:50:40.747Z] + 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=66203a5aa5c24f74eace5e0c2828331f913f5a45 --label arch=arm64 --label version=0.0.0 . [2020-10-12T02:50:41.372Z] Sending build context to Docker daemon 3.64MB [2020-10-12T02:50:41.372Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-12T02:50:41.372Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-12T02:50:41.372Z] ---> 7da933fc65d9 [2020-10-12T02:50:41.372Z] Step 3/24 : ARG MAKE='make build' [2020-10-12T02:50:41.645Z] ---> Running in 00d5acdc43ad [2020-10-12T02:50:42.244Z] Removing intermediate container 00d5acdc43ad [2020-10-12T02:50:42.244Z] ---> 20db2d888aeb [2020-10-12T02:50:42.244Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-12T02:50:42.244Z] ---> Running in a3bd71ccc49c [2020-10-12T02:50:42.843Z] Removing intermediate container a3bd71ccc49c [2020-10-12T02:50:42.843Z] ---> 62dd0d3adc2a [2020-10-12T02:50:42.843Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T02:50:42.843Z] ---> Running in 64cc95a9a5aa [2020-10-12T02:50:43.439Z] Removing intermediate container 64cc95a9a5aa [2020-10-12T02:50:43.439Z] ---> a77adf8373bb [2020-10-12T02:50:43.439Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T02:50:43.439Z] ---> Running in 7febabe0859a [2020-10-12T02:50:46.059Z] Removing intermediate container 7febabe0859a [2020-10-12T02:50:46.059Z] ---> 26341f0a3275 [2020-10-12T02:50:46.059Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-12T02:50:46.335Z] ---> Running in 3e0580b1befc [2020-10-12T02:50:47.772Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-12T02:50:48.750Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-12T02:50:49.345Z] OK: 142 MiB in 39 packages [2020-10-12T02:50:50.785Z] Removing intermediate container 3e0580b1befc [2020-10-12T02:50:50.785Z] ---> 840970174053 [2020-10-12T02:50:50.785Z] Step 8/24 : COPY . . [2020-10-12T02:50:52.232Z] ---> 83bf4c8864af [2020-10-12T02:50:52.232Z] Step 9/24 : RUN ${MAKE} [2020-10-12T02:50:52.232Z] ---> Running in 16e58cc85b7f [2020-10-12T02:50:54.220Z] 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:21.083Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-12T02:51:24.472Z] Removing intermediate container 16e58cc85b7f [2020-10-12T02:51:24.472Z] ---> 8b4e5e6a6f8f [2020-10-12T02:51:24.472Z] Step 10/24 : FROM scratch [2020-10-12T02:51:24.472Z] ---> [2020-10-12T02:51:24.472Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T02:51:24.472Z] ---> Running in f7045ed594ea [2020-10-12T02:51:24.748Z] Removing intermediate container f7045ed594ea [2020-10-12T02:51:24.748Z] ---> 838faa8eb46e [2020-10-12T02:51:24.748Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-12T02:51:24.748Z] ---> Running in ec0800573db8 [2020-10-12T02:51:25.376Z] Removing intermediate container ec0800573db8 [2020-10-12T02:51:25.376Z] ---> e135791a1d75 [2020-10-12T02:51:25.376Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-12T02:51:25.376Z] ---> Running in b245de2a9f6d [2020-10-12T02:51:25.650Z] Removing intermediate container b245de2a9f6d [2020-10-12T02:51:25.650Z] ---> 22bb0a490868 [2020-10-12T02:51:25.650Z] Step 14/24 : WORKDIR / [2020-10-12T02:51:25.926Z] ---> Running in 0eba339cc500 [2020-10-12T02:51:26.204Z] Removing intermediate container 0eba339cc500 [2020-10-12T02:51:26.204Z] ---> 42694439d5a2 [2020-10-12T02:51:26.204Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-12T02:51:27.647Z] ---> 59e1d93b074e [2020-10-12T02:51:27.647Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-12T02:51:28.244Z] ---> 81053c9a3c83 [2020-10-12T02:51:28.244Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-12T02:51:29.230Z] ---> dddbb8754014 [2020-10-12T02:51:29.230Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-12T02:51:29.828Z] ---> 69493ea41072 [2020-10-12T02:51:29.828Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-12T02:51:30.425Z] ---> 38658a9e5da3 [2020-10-12T02:51:30.425Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-12T02:51:30.698Z] ---> Running in 2d74e6115138 [2020-10-12T02:51:31.299Z] Removing intermediate container 2d74e6115138 [2020-10-12T02:51:31.299Z] ---> 7066f46d2e9c [2020-10-12T02:51:31.299Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-12T02:51:31.299Z] ---> Running in 997ef0ecbc0e [2020-10-12T02:51:31.891Z] Removing intermediate container 997ef0ecbc0e [2020-10-12T02:51:31.891Z] ---> 773d618d6642 [2020-10-12T02:51:31.891Z] Step 22/24 : LABEL arch=arm64 [2020-10-12T02:51:31.891Z] ---> Running in 59b3d37422de [2020-10-12T02:51:32.485Z] Removing intermediate container 59b3d37422de [2020-10-12T02:51:32.485Z] ---> 182cf844bda9 [2020-10-12T02:51:32.485Z] Step 23/24 : LABEL git_sha=66203a5aa5c24f74eace5e0c2828331f913f5a45 [2020-10-12T02:51:32.485Z] ---> Running in 95cf22cb1d08 [2020-10-12T02:51:33.079Z] Removing intermediate container 95cf22cb1d08 [2020-10-12T02:51:33.079Z] ---> ec420b550c33 [2020-10-12T02:51:33.079Z] Step 24/24 : LABEL version=0.0.0 [2020-10-12T02:51:33.079Z] ---> Running in de3b346dfb83 [2020-10-12T02:51:33.674Z] Removing intermediate container de3b346dfb83 [2020-10-12T02:51:33.674Z] ---> 1c2037156709 [2020-10-12T02:51:33.674Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-12T02:51:33.674Z] Successfully built 1c2037156709 [2020-10-12T02:51:33.674Z] 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-12T02:51:35.331Z] provisioning config files... [2020-10-12T02:51:35.345Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config4792049839914905677tmp [Pipeline] { [Pipeline] sh [2020-10-12T02:51:35.732Z] + set +x [2020-10-12T02:51:35.732Z] + curl -s https://codecov.io/bash [2020-10-12T02:51:35.732Z] + bash -s -- [2020-10-12T02:51:35.995Z] [2020-10-12T02:51:35.995Z] _____ _ [2020-10-12T02:51:35.995Z] / ____| | | [2020-10-12T02:51:35.995Z] | | ___ __| | ___ ___ _____ __ [2020-10-12T02:51:35.995Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-12T02:51:35.995Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-12T02:51:35.995Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-12T02:51:35.995Z] Bash-20201009-048fee3 [2020-10-12T02:51:35.995Z] [2020-10-12T02:51:35.995Z] [2020-10-12T02:51:35.995Z] ==> Jenkins CI detected. [2020-10-12T02:51:35.995Z] project root: . [2020-10-12T02:51:35.995Z] Fixing merge commit SHA [2020-10-12T02:51:35.995Z] --> token set from env [2020-10-12T02:51:35.995Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-12T02:51:35.995Z] ==> Running gcov in . (disable via -X gcov) [2020-10-12T02:51:35.995Z] ==> Python coveragepy not found [2020-10-12T02:51:35.995Z] ==> Searching for coverage reports in: [2020-10-12T02:51:35.995Z] + . [2020-10-12T02:51:35.995Z] -> Found 1 reports [2020-10-12T02:51:35.995Z] ==> Detecting git/mercurial file structure [2020-10-12T02:51:35.995Z] ==> Reading reports [2020-10-12T02:51:35.995Z] + ./coverage.out bytes=110392 [2020-10-12T02:51:35.995Z] ==> Appending adjustments [2020-10-12T02:51:35.995Z] https://docs.codecov.io/docs/fixing-reports [2020-10-12T02:51:36.573Z] + Found adjustments [2020-10-12T02:51:36.573Z] ==> Gzipping contents [2020-10-12T02:51:36.573Z] ==> Uploading reports [2020-10-12T02:51:36.573Z] url: https://codecov.io [2020-10-12T02:51:36.573Z] query: branch=PR-584&commit=153a43e7e060228c1df4c616c423a5b384e52518&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2020-10-12T02:51:36.573Z] -> Pinging Codecov [2020-10-12T02:51:36.573Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-584&commit=153a43e7e060228c1df4c616c423a5b384e52518&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2020-10-12T02:51:36.835Z] -> Uploading to [2020-10-12T02:51:36.835Z] [2020-10-12T02:51:36.835Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-12T02:51:36.835Z] Dload Upload Total Spent Left Speed [2020-10-12T02:51:36.835Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-12T02:51:36.835Z] X> Failed to upload [2020-10-12T02:51:36.835Z] ==> Uploading to Codecov [2020-10-12T02:51:36.835Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-12T02:51:36.835Z] Dload Upload Total Spent Left Speed [2020-10-12T02:51:37.412Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18396 100 110 100 18286 155 25875 --:--:-- --:--:-- --:--:-- 25864 [2020-10-12T02:51:37.412Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/153a43e7e060228c1df4c616c423a5b384e52518 [Pipeline] } [2020-10-12T02:51:37.424Z] 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:51:40.781Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:51:41.390Z] ---> package-listing.sh [2020-10-12T02:51:41.390Z] ++ facter osfamily [2020-10-12T02:51:41.390Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-12T02:51:41.390Z] + OS_FAMILY=redhat [2020-10-12T02:51:41.390Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-12T02:51:41.390Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-12T02:51:41.390Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-12T02:51:41.390Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-12T02:51:41.390Z] + PACKAGES=/tmp/packages_start.txt [2020-10-12T02:51:41.390Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-10-12T02:51:41.390Z] + PACKAGES=/tmp/packages_end.txt [2020-10-12T02:51:41.390Z] + case "${OS_FAMILY}" in [2020-10-12T02:51:41.390Z] + rpm -qa [2020-10-12T02:51:41.390Z] + sort [2020-10-12T02:51:45.687Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-12T02:51:45.687Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-12T02:51:45.687Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-12T02:51:45.687Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-10-12T02:51:45.687Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [2020-10-12T02:51:45.687Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-12T02:51:45.897Z] provisioning config files... [2020-10-12T02:51:45.918Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config4326701920885730721tmp [Pipeline] { [Pipeline] echo [2020-10-12T02:51:46.002Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:51:46.321Z] ---> create-netrc.sh [Pipeline] } [2020-10-12T02:51:46.332Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-12T02:51:46.426Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:51:46.726Z] ---> python-tools-install.sh [2020-10-12T02:51:46.726Z] Generating Requirements File [2020-10-12T02:53:08.363Z] Python 3.6.8 [2020-10-12T02:53:08.363Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-12T02:53:08.363Z] appdirs==1.4.3 [2020-10-12T02:53:08.363Z] argcomplete==1.12.1 [2020-10-12T02:53:08.363Z] aspy.yaml==1.3.0 [2020-10-12T02:53:08.363Z] attrs==19.3.0 [2020-10-12T02:53:08.363Z] Babel==2.8.0 [2020-10-12T02:53:08.363Z] beautifulsoup4==4.8.2 [2020-10-12T02:53:08.363Z] boto3==1.11.6 [2020-10-12T02:53:08.363Z] botocore==1.14.6 [2020-10-12T02:53:08.363Z] bs4==0.0.1 [2020-10-12T02:53:08.363Z] cachetools==4.1.1 [2020-10-12T02:53:08.363Z] certifi==2019.11.28 [2020-10-12T02:53:08.363Z] cffi==1.14.3 [2020-10-12T02:53:08.363Z] cfgv==2.0.1 [2020-10-12T02:53:08.363Z] chardet==3.0.4 [2020-10-12T02:53:08.363Z] click==7.1 [2020-10-12T02:53:08.363Z] cliff==3.4.0 [2020-10-12T02:53:08.363Z] cmd2==1.3.11 [2020-10-12T02:53:08.363Z] colorama==0.4.3 [2020-10-12T02:53:08.363Z] cryptography==3.1.1 [2020-10-12T02:53:08.363Z] debtcollector==2.2.0 [2020-10-12T02:53:08.363Z] decorator==4.4.2 [2020-10-12T02:53:08.363Z] defusedxml==0.6.0 [2020-10-12T02:53:08.363Z] Deprecated==1.2.7 [2020-10-12T02:53:08.363Z] distlib==0.3.1 [2020-10-12T02:53:08.363Z] distro==1.2.0 [2020-10-12T02:53:08.363Z] dnspython==1.16.0 [2020-10-12T02:53:08.363Z] docker==4.2.0 [2020-10-12T02:53:08.363Z] docutils==0.15.2 [2020-10-12T02:53:08.363Z] dogpile.cache==1.0.2 [2020-10-12T02:53:08.363Z] email-validator==1.0.5 [2020-10-12T02:53:08.363Z] filelock==3.0.12 [2020-10-12T02:53:08.363Z] future==0.18.2 [2020-10-12T02:53:08.363Z] google-auth==1.22.1 [2020-10-12T02:53:08.363Z] httplib2==0.17.0 [2020-10-12T02:53:08.363Z] identify==1.4.11 [2020-10-12T02:53:08.363Z] idna==2.9 [2020-10-12T02:53:08.363Z] importlib-metadata==2.0.0 [2020-10-12T02:53:08.363Z] importlib-resources==1.5.0 [2020-10-12T02:53:08.363Z] iso8601==0.1.13 [2020-10-12T02:53:08.363Z] Jinja2==2.11.1 [2020-10-12T02:53:08.363Z] jmespath==0.10.0 [2020-10-12T02:53:08.363Z] jsonpatch==1.26 [2020-10-12T02:53:08.363Z] jsonpointer==2.0 [2020-10-12T02:53:08.363Z] jsonschema==3.2.0 [2020-10-12T02:53:08.363Z] keystoneauth1==4.2.1 [2020-10-12T02:53:08.363Z] kubernetes==11.0.0 [2020-10-12T02:53:08.363Z] lftools==0.34.2 [2020-10-12T02:53:08.363Z] lxml==4.5.0 [2020-10-12T02:53:08.363Z] MarkupSafe==0.23 [2020-10-12T02:53:08.363Z] msgpack==1.0.0 [2020-10-12T02:53:08.363Z] multi-key-dict==2.0.3 [2020-10-12T02:53:08.363Z] munch==2.5.0 [2020-10-12T02:53:08.363Z] netaddr==0.8.0 [2020-10-12T02:53:08.363Z] netifaces==0.10.9 [2020-10-12T02:53:08.363Z] niet==1.4.2 [2020-10-12T02:53:08.363Z] nodeenv==1.3.5 [2020-10-12T02:53:08.363Z] oauth2client==4.1.3 [2020-10-12T02:53:08.363Z] oauthlib==3.1.0 [2020-10-12T02:53:08.363Z] openstacksdk==0.50.0 [2020-10-12T02:53:08.363Z] os-client-config==2.1.0 [2020-10-12T02:53:08.363Z] os-service-types==1.7.0 [2020-10-12T02:53:08.363Z] osc-lib==2.2.1 [2020-10-12T02:53:08.363Z] oslo.config==8.3.2 [2020-10-12T02:53:08.363Z] oslo.context==3.1.1 [2020-10-12T02:53:08.363Z] oslo.i18n==5.0.1 [2020-10-12T02:53:08.363Z] oslo.log==4.4.0 [2020-10-12T02:53:08.363Z] oslo.serialization==4.0.1 [2020-10-12T02:53:08.363Z] oslo.utils==4.6.0 [2020-10-12T02:53:08.363Z] packaging==20.4 [2020-10-12T02:53:08.363Z] pbr==5.4.4 [2020-10-12T02:53:08.363Z] pluggy==0.13.1 [2020-10-12T02:53:08.363Z] prettytable==0.7.2 [2020-10-12T02:53:08.363Z] py==1.9.0 [2020-10-12T02:53:08.363Z] pyasn1==0.4.8 [2020-10-12T02:53:08.363Z] pyasn1-modules==0.2.8 [2020-10-12T02:53:08.363Z] pycparser==2.20 [2020-10-12T02:53:08.363Z] pygerrit2==2.0.10 [2020-10-12T02:53:08.363Z] PyGithub==1.46 [2020-10-12T02:53:08.363Z] pyinotify==0.9.6 [2020-10-12T02:53:08.363Z] PyJWT==1.7.1 [2020-10-12T02:53:08.363Z] pyparsing==2.4.7 [2020-10-12T02:53:08.363Z] pyperclip==1.8.1 [2020-10-12T02:53:08.363Z] pyroute2==0.4.13 [2020-10-12T02:53:08.363Z] pyrsistent==0.15.7 [2020-10-12T02:53:08.363Z] PySocks==1.6.8 [2020-10-12T02:53:08.363Z] python-cinderclient==7.2.0 [2020-10-12T02:53:08.363Z] python-dateutil==2.8.1 [2020-10-12T02:53:08.363Z] python-heatclient==2.2.1 [2020-10-12T02:53:08.363Z] python-jenkins==1.7.0 [2020-10-12T02:53:08.363Z] python-keystoneclient==4.1.1 [2020-10-12T02:53:08.363Z] python-magnumclient==3.2.1 [2020-10-12T02:53:08.363Z] python-novaclient==17.2.1 [2020-10-12T02:53:08.363Z] python-openstackclient==5.4.0 [2020-10-12T02:53:08.363Z] python-swiftclient==3.10.1 [2020-10-12T02:53:08.363Z] pytz==2020.1 [2020-10-12T02:53:08.363Z] PyYAML==5.3 [2020-10-12T02:53:08.363Z] requests==2.23.0 [2020-10-12T02:53:08.363Z] requests-oauthlib==1.3.0 [2020-10-12T02:53:08.363Z] requestsexceptions==1.4.0 [2020-10-12T02:53:08.363Z] rfc3986==1.4.0 [2020-10-12T02:53:08.363Z] rpm==4.11.3 [2020-10-12T02:53:08.363Z] rsa==4.0 [2020-10-12T02:53:08.363Z] ruamel.yaml==0.16.10 [2020-10-12T02:53:08.363Z] ruamel.yaml.clib==0.2.0 [2020-10-12T02:53:08.363Z] s3transfer==0.3.3 [2020-10-12T02:53:08.363Z] shade==1.27.2 [2020-10-12T02:53:08.363Z] simplejson==3.17.2 [2020-10-12T02:53:08.363Z] six==1.14.0 [2020-10-12T02:53:08.363Z] soupsieve==2.0 [2020-10-12T02:53:08.363Z] stevedore==3.2.2 [2020-10-12T02:53:08.363Z] tabulate==0.8.6 [2020-10-12T02:53:08.363Z] toml==0.10.0 [2020-10-12T02:53:08.363Z] tox==3.20.1 [2020-10-12T02:53:08.363Z] tqdm==4.43.0 [2020-10-12T02:53:08.363Z] urllib3==1.25.8 [2020-10-12T02:53:08.363Z] virtualenv==20.0.33 [2020-10-12T02:53:08.363Z] wcwidth==0.2.5 [2020-10-12T02:53:08.363Z] websocket-client==0.57.0 [2020-10-12T02:53:08.363Z] wrapt==1.12.1 [2020-10-12T02:53:08.363Z] xdg==3.0.2 [2020-10-12T02:53:08.363Z] xmltodict==0.12.0 [2020-10-12T02:53:08.363Z] yq==2.11.1 [2020-10-12T02:53:08.363Z] zipp==3.3.0 [2020-10-12T02:53:08.363Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:53:08.363Z] 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:53:11.735Z] Python 2.7.5 [2020-10-12T02:53:11.735Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-12T02:53:11.735Z] 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:53:12.005Z] ansible==2.9.7 [2020-10-12T02:53:12.005Z] Babel==0.9.6 [2020-10-12T02:53:12.005Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-12T02:53:12.005Z] beautifulsoup4==4.4.1 [2020-10-12T02:53:12.005Z] bodhi==2.11.0 [2020-10-12T02:53:12.005Z] bodhi-client==2.11.0 [2020-10-12T02:53:12.005Z] CCColUtils==1.4 [2020-10-12T02:53:12.005Z] cffi==1.6.0 [2020-10-12T02:53:12.005Z] chardet==2.2.1 [2020-10-12T02:53:12.005Z] click==6.7 [2020-10-12T02:53:12.005Z] cloud-init==18.5 [2020-10-12T02:53:12.005Z] configobj==4.7.2 [2020-10-12T02:53:12.005Z] cryptography==1.7.2 [2020-10-12T02:53:12.005Z] decorator==3.4.0 [2020-10-12T02:53:12.005Z] distro==1.2.0 [2020-10-12T02:53:12.005Z] enum34==1.0.4 [2020-10-12T02:53:12.005Z] fedpkg==1.38 [2020-10-12T02:53:12.005Z] futures==3.1.1 [2020-10-12T02:53:12.005Z] gitdb==0.6.4 [2020-10-12T02:53:12.005Z] GitPython==1.0.1 [2020-10-12T02:53:12.005Z] html5lib==0.999 [2020-10-12T02:53:12.005Z] httplib2==0.9.2 [2020-10-12T02:53:12.005Z] idna==2.4 [2020-10-12T02:53:12.005Z] iniparse==0.4 [2020-10-12T02:53:12.005Z] ipaddress==1.0.16 [2020-10-12T02:53:12.005Z] IPy==0.75 [2020-10-12T02:53:12.005Z] javapackages==1.0.0 [2020-10-12T02:53:12.005Z] Jinja2==2.7.2 [2020-10-12T02:53:12.005Z] jmespath==0.9.4 [2020-10-12T02:53:12.005Z] jsonpatch==1.2 [2020-10-12T02:53:12.005Z] jsonpointer==1.9 [2020-10-12T02:53:12.005Z] kerberos==1.1 [2020-10-12T02:53:12.005Z] kitchen==1.1.1 [2020-10-12T02:53:12.005Z] langtable==0.0.31 [2020-10-12T02:53:12.005Z] lockfile==0.9.1 [2020-10-12T02:53:12.005Z] lxml==3.2.1 [2020-10-12T02:53:12.005Z] MarkupSafe==0.11 [2020-10-12T02:53:12.005Z] munch==2.0.2 [2020-10-12T02:53:12.005Z] offtrac==0.1.0 [2020-10-12T02:53:12.005Z] openidc-client==0.6.0 [2020-10-12T02:53:12.005Z] packagedb-cli==2.14.1 [2020-10-12T02:53:12.005Z] paramiko==2.1.1 [2020-10-12T02:53:12.005Z] perf==0.1 [2020-10-12T02:53:12.005Z] ply==3.4 [2020-10-12T02:53:12.005Z] policycoreutils-default-encoding==0.1 [2020-10-12T02:53:12.005Z] prettytable==0.7.2 [2020-10-12T02:53:12.005Z] pyasn1==0.1.9 [2020-10-12T02:53:12.005Z] pycparser==2.14 [2020-10-12T02:53:12.005Z] pycurl==7.19.0 [2020-10-12T02:53:12.005Z] pygobject==3.22.0 [2020-10-12T02:53:12.005Z] pygpgme==0.3 [2020-10-12T02:53:12.005Z] pyliblzma==0.5.3 [2020-10-12T02:53:12.005Z] pyOpenSSL==0.13.1 [2020-10-12T02:53:12.005Z] pyparsing==1.5.6 [2020-10-12T02:53:12.005Z] pyserial==2.6 [2020-10-12T02:53:12.005Z] python-augeas==0.5.0 [2020-10-12T02:53:12.005Z] python-bugzilla==2.3.0 [2020-10-12T02:53:12.005Z] python-dateutil==1.5 [2020-10-12T02:53:12.005Z] python-fedora==0.10.0 [2020-10-12T02:53:12.005Z] python-linux-procfs==0.4.9 [2020-10-12T02:53:12.005Z] python-yubico==1.2.3 [2020-10-12T02:53:12.005Z] pyudev==0.15 [2020-10-12T02:53:12.005Z] pyusb==1.0.0b1 [2020-10-12T02:53:12.005Z] pyxattr==0.5.1 [2020-10-12T02:53:12.005Z] PyYAML==3.10 [2020-10-12T02:53:12.005Z] requests==2.6.0 [2020-10-12T02:53:12.005Z] requests-kerberos==0.7.0 [2020-10-12T02:53:12.005Z] rpkg==1.60 [2020-10-12T02:53:12.005Z] schedutils==0.4 [2020-10-12T02:53:12.005Z] seobject==0.1 [2020-10-12T02:53:12.005Z] sepolicy==1.1 [2020-10-12T02:53:12.005Z] six==1.9.0 [2020-10-12T02:53:12.005Z] smmap==0.9.0 [2020-10-12T02:53:12.005Z] urlgrabber==3.10 [2020-10-12T02:53:12.005Z] urllib3==1.10.2 [2020-10-12T02:53:12.005Z] virtualenv==15.1.0 [2020-10-12T02:53:12.005Z] yum-langpacks==0.4.2 [2020-10-12T02:53:12.005Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-12T02:53:12.017Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:53:12.364Z] ---> sudo-logs.sh [2020-10-12T02:53:12.364Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-12T02:53:12.638Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:53:12.935Z] ---> job-cost.sh [2020-10-12T02:53:12.936Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KLPL [2020-10-12T02:53:23.111Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:53:23.111Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:53:24.582Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:53:24.582Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:53:24.582Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:53:24.582Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:53:24.853Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:53:25.128Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:53:25.128Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:53:25.128Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:53:25.720Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:53:25.720Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:53:26.001Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:53:30.277Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-12T02:53:57.312Z] lf-activate-venv(): INFO: Adding /tmp/venv-KLPL/bin to PATH [2020-10-12T02:53:57.312Z] INFO: No Stack... [2020-10-12T02:53:58.723Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-12T02:53:59.781Z] INFO: Archiving Costs [Pipeline] echo [2020-10-12T02:53:59.806Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:54:00.660Z] ---> logs-deploy.sh [2020-10-12T02:54:00.660Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/19 [2020-10-12T02:54:00.660Z] INFO: archiving workspace using pattern(s): [2020-10-12T02:54:02.585Z] Archives upload complete. [2020-10-12T02:54:02.585Z] INFO: archiving logs to Nexus