Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 3ccd6247f9f387f0c9668272060ad741d43f917b+5d943473fe8cb7b2263b29163a15a9eda06ca963 (dd9dfef931532c0a2623d6b6aeae8ac956a3a2f7) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2963 in /w/workspace/dgexfoundry_device-sdk-go_PR-603 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-603 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/603/head:refs/remotes/origin/PR-603 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit 3ccd6247f9f387f0c9668272060ad741d43f917b Merge succeeded, producing e74f72fe7b517f1818f512e624de32bcbc1683c1 Checking out Revision e74f72fe7b517f1818f512e624de32bcbc1683c1 (PR-603) > git config core.sparsecheckout # timeout=10 > git checkout -f 3ccd6247f9f387f0c9668272060ad741d43f917b # 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 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e74f72fe7b517f1818f512e624de32bcbc1683c1 # timeout=10 Commit message: "Merge commit '5d943473fe8cb7b2263b29163a15a9eda06ca963' into HEAD" > git rev-list --no-walk 3ccd6247f9f387f0c9668272060ad741d43f917b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-02T02:42:24.453Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-02T02:42:24.800Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-02T02:42:25.065Z] ========================================================= [2020-10-02T02:42:25.066Z] EdgeX Global Pipelines Version Info [2020-10-02T02:42:25.066Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-02T02:42:26.703Z] ------------------- [2020-10-02T02:42:26.703Z] stable info: [2020-10-02T02:42:26.703Z] ------------------- [2020-10-02T02:42:26.703Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-02T02:42:26.703Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-02T02:42:26.703Z] Message: update stable to v1.0.131 [2020-10-02T02:42:27.646Z] ------------------- [2020-10-02T02:42:27.646Z] experimental info: [2020-10-02T02:42:27.646Z] ------------------- [2020-10-02T02:42:27.646Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-10-02T02:42:27.646Z] Commit SHA: 037048ec40675a742bbe4f4e63335516fc22ae8d [2020-10-02T02:42:27.646Z] Message: update experimental to v1.0.133 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-02T02:42:28.037Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-02T02:42:28.151Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-02T02:42:28.244Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-02T02:42:28.341Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-02T02:42:28.442Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-02T02:42:28.544Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-02T02:42:28.645Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-02T02:42:28.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-02T02:42:28.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-02T02:42:28.973Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-02T02:42:29.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-02T02:42:29.172Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-02T02:42:29.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-02T02:42:29.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-02T02:42:29.618Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-02T02:42:29.732Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-02T02:42:29.825Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-02T02:42:29.922Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-02T02:42:30.018Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-02T02:42:30.294Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-02T02:42:30.454Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-02T02:42:30.574Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-02T02:42:30.676Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-02T02:42:30.784Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-02T02:42:30.886Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-02T02:42:30.991Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-603 [Pipeline] echo [2020-10-02T02:42:31.102Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-603 [Pipeline] echo [2020-10-02T02:42:31.196Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-603 [Pipeline] echo [2020-10-02T02:42:31.286Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e74f72fe7b517f1818f512e624de32bcbc1683c1 [Pipeline] echo [2020-10-02T02:42:31.524Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e74f72f [Pipeline] echo [2020-10-02T02:42:31.611Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-02T02:42:32.307Z] + git log --format=format:%s -1 e74f72fe7b517f1818f512e624de32bcbc1683c1 [Pipeline] echo [2020-10-02T02:42:32.424Z] GIT_COMMIT: e74f72fe7b517f1818f512e624de32bcbc1683c1, Commit Message: Merge commit '5d943473fe8cb7b2263b29163a15a9eda06ca963' into HEAD [Pipeline] echo [2020-10-02T02:42:32.473Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:42:33.675Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-02T02:42:33.935Z] [2020-10-02T02:42:33.935Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:42:34.280Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-02T02:42:34.281Z] latest: Pulling from edgex-devops/git-semver [2020-10-02T02:42:34.281Z] 31603596830f: Pulling fs layer [2020-10-02T02:42:34.281Z] 2a8b12db71e7: Pulling fs layer [2020-10-02T02:42:34.281Z] 6ca5941a6612: Pulling fs layer [2020-10-02T02:42:34.281Z] ecc8261a40a4: Pulling fs layer [2020-10-02T02:42:34.281Z] ecc8261a40a4: Waiting [2020-10-02T02:42:34.281Z] 2a8b12db71e7: Verifying Checksum [2020-10-02T02:42:34.281Z] 2a8b12db71e7: Download complete [2020-10-02T02:42:34.543Z] 31603596830f: Download complete [2020-10-02T02:42:34.543Z] ecc8261a40a4: Verifying Checksum [2020-10-02T02:42:34.543Z] ecc8261a40a4: Download complete [2020-10-02T02:42:34.543Z] 6ca5941a6612: Verifying Checksum [2020-10-02T02:42:34.543Z] 6ca5941a6612: Download complete [2020-10-02T02:42:34.805Z] 31603596830f: Pull complete [2020-10-02T02:42:35.067Z] 2a8b12db71e7: Pull complete [2020-10-02T02:42:35.641Z] 6ca5941a6612: Pull complete [2020-10-02T02:42:35.903Z] ecc8261a40a4: Pull complete [2020-10-02T02:42:35.903Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-02T02:42:35.903Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-02T02:42:35.903Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-02T02:42:36.015Z] prd-centos7-docker-4c-2g-2963 does not seem to be running inside a container [2020-10-02T02:42:36.073Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-603 -v /w/workspace/dgexfoundry_device-sdk-go_PR-603:/w/workspace/dgexfoundry_device-sdk-go_PR-603:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-02T02:42:38.220Z] $ docker top bd7c1bad26d8b7babba21ea5db2af1736e0d1139032fc130faf4ee2f8a77a9a8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-02T02:42:38.568Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-02T02:42:38.568Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-02T02:42:38.784Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-02T02:42:38.791Z] $ docker exec bd7c1bad26d8b7babba21ea5db2af1736e0d1139032fc130faf4ee2f8a77a9a8 ssh-agent [2020-10-02T02:42:38.967Z] SSH_AUTH_SOCK=/tmp/ssh-Rc6VNGbYkUBi/agent.13 [2020-10-02T02:42:38.967Z] SSH_AGENT_PID=19 [2020-10-02T02:42:38.985Z] Running ssh-add (command line suppressed) [2020-10-02T02:42:39.110Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp/private_key_7226969048276343144.key (/w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp/private_key_7226969048276343144.key) [2020-10-02T02:42:39.159Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-02T02:42:39.500Z] + git describe --exact-match --tags HEAD [2020-10-02T02:42:39.500Z] fatal: no tag exactly matches 'e74f72fe7b517f1818f512e624de32bcbc1683c1' [Pipeline] } [2020-10-02T02:42:39.527Z] $ docker exec --env ******** --env ******** bd7c1bad26d8b7babba21ea5db2af1736e0d1139032fc130faf4ee2f8a77a9a8 ssh-agent -k [2020-10-02T02:42:39.648Z] unset SSH_AUTH_SOCK; [2020-10-02T02:42:39.648Z] unset SSH_AGENT_PID; [2020-10-02T02:42:39.648Z] echo Agent pid 19 killed; [2020-10-02T02:42:39.689Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-02T02:42:39.796Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-02T02:42:39.796Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-02T02:42:39.898Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-02T02:42:39.898Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-02T02:42:40.061Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-02T02:42:40.067Z] $ docker exec bd7c1bad26d8b7babba21ea5db2af1736e0d1139032fc130faf4ee2f8a77a9a8 ssh-agent [2020-10-02T02:42:40.218Z] SSH_AUTH_SOCK=/tmp/ssh-gvXmjWK7iEVU/agent.47 [2020-10-02T02:42:40.218Z] SSH_AGENT_PID=53 [2020-10-02T02:42:40.225Z] Running ssh-add (command line suppressed) [2020-10-02T02:42:40.345Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp/private_key_3352058366977791502.key (/w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp/private_key_3352058366977791502.key) [2020-10-02T02:42:40.392Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-02T02:42:40.832Z] + git semver init [2020-10-02T02:42:40.832Z] # -> Open(): unable to determine branch for HEAD [2020-10-02T02:42:40.832Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-603/.git [2020-10-02T02:42:40.832Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-603 [2020-10-02T02:42:40.832Z] # $SEMVER_REMOTE_NAME = origin [2020-10-02T02:42:40.832Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-02T02:42:40.832Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-02T02:42:40.832Z] # $SEMVER_BRANCH = PR-603 [2020-10-02T02:42:40.832Z] # $SEMVER_TEMP = /tmp/semver-749643735 [2020-10-02T02:42:40.832Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-02T02:42:41.405Z] # '/tmp/semver-749643735' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-603/.semver' [2020-10-02T02:42:41.405Z] # -> Force: false [2020-10-02T02:42:41.405Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-603/.semver [Pipeline] } [2020-10-02T02:42:41.420Z] $ docker exec --env ******** --env ******** bd7c1bad26d8b7babba21ea5db2af1736e0d1139032fc130faf4ee2f8a77a9a8 ssh-agent -k [2020-10-02T02:42:41.535Z] unset SSH_AUTH_SOCK; [2020-10-02T02:42:41.536Z] unset SSH_AGENT_PID; [2020-10-02T02:42:41.536Z] echo Agent pid 53 killed; [2020-10-02T02:42:41.578Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-02T02:42:42.053Z] + git semver [Pipeline] } [2020-10-02T02:42:42.073Z] $ docker stop --time=1 bd7c1bad26d8b7babba21ea5db2af1736e0d1139032fc130faf4ee2f8a77a9a8 [2020-10-02T02:42:43.423Z] $ docker rm -f bd7c1bad26d8b7babba21ea5db2af1736e0d1139032fc130faf4ee2f8a77a9a8 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-02T02:42:44.264Z] Stashed 41 file(s) [Pipeline] echo [2020-10-02T02:42:44.267Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-02T02:42:44.442Z] 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-02T02:42:45.273Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2961 in /w/workspace/dgexfoundry_device-sdk-go_PR-603 [Pipeline] { [Pipeline] ws [2020-10-02T02:42:45.375Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-02T02:42:50.897Z] using credential edgex-jenkins-ssh [2020-10-02T02:42:51.008Z] Cloning the remote Git repository [2020-10-02T02:42:51.073Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-02T02:42:51.186Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-10-02T02:42:51.273Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-02T02:42:51.273Z] > git --version # timeout=10 [2020-10-02T02:42:51.300Z] > git --version # 'git version 2.17.1' [2020-10-02T02:42:51.302Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-02T02:42:51.366Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-02T02:42:53.078Z] Merging remotes/origin/master commit 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit 3ccd6247f9f387f0c9668272060ad741d43f917b [2020-10-02T02:42:52.338Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-02T02:42:52.367Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-02T02:42:52.405Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-02T02:42:52.459Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-02T02:42:52.460Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-02T02:42:52.474Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/603/head:refs/remotes/origin/PR-603 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-02T02:42:53.096Z] > git config core.sparsecheckout # timeout=10 [2020-10-02T02:42:53.119Z] > git checkout -f 3ccd6247f9f387f0c9668272060ad741d43f917b # timeout=10 [2020-10-02T02:42:53.436Z] Merge succeeded, producing b1d34e8f7e2fb4e25091eccb9ad42b10af89224b [2020-10-02T02:42:53.436Z] Checking out Revision b1d34e8f7e2fb4e25091eccb9ad42b10af89224b (PR-603) [2020-10-02T02:42:53.264Z] > git remote # timeout=10 [2020-10-02T02:42:53.292Z] > git config --get remote.origin.url # timeout=10 [2020-10-02T02:42:53.311Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-02T02:42:53.323Z] > git merge 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 [2020-10-02T02:42:53.417Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-02T02:42:53.444Z] > git config core.sparsecheckout # timeout=10 [2020-10-02T02:42:53.456Z] > git checkout -f b1d34e8f7e2fb4e25091eccb9ad42b10af89224b # timeout=10 [2020-10-02T02:42:57.728Z] Commit message: "Merge commit '5d943473fe8cb7b2263b29163a15a9eda06ca963' into HEAD" [2020-10-02T02:42:57.735Z] > git rev-list --no-walk 3ccd6247f9f387f0c9668272060ad741d43f917b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-02T02:42:59.091Z] ========================================================= [2020-10-02T02:42:59.091Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-02T02:42:59.091Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:43:00.207Z] Still waiting to schedule task [2020-10-02T02:43:00.207Z] ‘prd-centos7-docker-4c-2g-2964’ is offline [2020-10-02T02:43:00.275Z] + 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-02T02:43:01.259Z] Sending build context to Docker daemon 3.456MB [2020-10-02T02:43:01.259Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-02T02:43:01.259Z] Step 2/8 : FROM ${BASE} [2020-10-02T02:43:01.534Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-02T02:43:01.534Z] b538f80385f9: Pulling fs layer [2020-10-02T02:43:01.534Z] 74f711af9a0d: Pulling fs layer [2020-10-02T02:43:01.534Z] 99f96fe45779: Pulling fs layer [2020-10-02T02:43:01.534Z] 8529a6b9a6be: Pulling fs layer [2020-10-02T02:43:01.534Z] 45590311c82a: Pulling fs layer [2020-10-02T02:43:01.534Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-02T02:43:01.534Z] 209524e5b208: Pulling fs layer [2020-10-02T02:43:01.534Z] 8529a6b9a6be: Waiting [2020-10-02T02:43:01.534Z] 45590311c82a: Waiting [2020-10-02T02:43:01.534Z] 69ca0ff8b7b3: Waiting [2020-10-02T02:43:01.534Z] 209524e5b208: Waiting [2020-10-02T02:43:01.534Z] 99f96fe45779: Verifying Checksum [2020-10-02T02:43:01.534Z] 99f96fe45779: Download complete [2020-10-02T02:43:01.534Z] 74f711af9a0d: Download complete [2020-10-02T02:43:01.810Z] 45590311c82a: Verifying Checksum [2020-10-02T02:43:01.810Z] 45590311c82a: Download complete [2020-10-02T02:43:01.810Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-02T02:43:01.810Z] 69ca0ff8b7b3: Download complete [2020-10-02T02:43:01.810Z] b538f80385f9: Verifying Checksum [2020-10-02T02:43:01.810Z] b538f80385f9: Download complete [2020-10-02T02:43:02.436Z] b538f80385f9: Pull complete [2020-10-02T02:43:03.035Z] 74f711af9a0d: Pull complete [2020-10-02T02:43:03.310Z] 99f96fe45779: Pull complete [2020-10-02T02:43:04.745Z] 209524e5b208: Verifying Checksum [2020-10-02T02:43:04.745Z] 209524e5b208: Download complete [2020-10-02T02:43:05.720Z] 8529a6b9a6be: Verifying Checksum [2020-10-02T02:43:05.720Z] 8529a6b9a6be: Download complete [2020-10-02T02:43:15.897Z] 8529a6b9a6be: Pull complete [2020-10-02T02:43:16.495Z] 45590311c82a: Pull complete [2020-10-02T02:43:16.772Z] 69ca0ff8b7b3: Pull complete [2020-10-02T02:43:21.120Z] 209524e5b208: Pull complete [2020-10-02T02:43:21.120Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-02T02:43:21.120Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-02T02:43:21.120Z] ---> 5bddaf1c2fca [2020-10-02T02:43:21.120Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-02T02:43:23.745Z] ---> Running in 528204d46490 [2020-10-02T02:43:24.017Z] Removing intermediate container 528204d46490 [2020-10-02T02:43:24.017Z] ---> b6fc8968c26f [2020-10-02T02:43:24.017Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-02T02:43:24.289Z] ---> Running in 0d0dd0d38012 [2020-10-02T02:43:26.913Z] Removing intermediate container 0d0dd0d38012 [2020-10-02T02:43:26.913Z] ---> 325cdd86df2d [2020-10-02T02:43:26.913Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-02T02:43:26.913Z] ---> Running in 2f861ddfbdad [2020-10-02T02:43:28.347Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-02T02:43:30.965Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-02T02:43:32.404Z] OK: 142 MiB in 39 packages [2020-10-02T02:43:33.389Z] Removing intermediate container 2f861ddfbdad [2020-10-02T02:43:33.389Z] ---> a556a32f0d18 [2020-10-02T02:43:33.389Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-02T02:43:33.663Z] ---> Running in 1c14633c50de [2020-10-02T02:43:33.936Z] Removing intermediate container 1c14633c50de [2020-10-02T02:43:33.936Z] ---> c447c664942b [2020-10-02T02:43:33.936Z] Step 7/8 : COPY . . [2020-10-02T02:43:35.365Z] ---> 74434038ad05 [2020-10-02T02:43:35.366Z] Step 8/8 : RUN go mod download [2020-10-02T02:43:35.634Z] ---> Running in 6432f5c38595 [2020-10-02T02:43:57.806Z] Removing intermediate container 6432f5c38595 [2020-10-02T02:43:57.806Z] ---> ac4717b16cc3 [2020-10-02T02:43:57.806Z] Successfully built ac4717b16cc3 [2020-10-02T02:43:57.806Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:43:58.221Z] + docker inspect -f . ci-base-image-arm64 [2020-10-02T02:43:58.221Z] . [Pipeline] withDockerContainer [2020-10-02T02:43:58.506Z] prd-ubuntu18.04-docker-arm64-4c-16g-2961 does not seem to be running inside a container [2020-10-02T02:43:58.590Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-02T02:44:00.328Z] $ docker top f5cf336d618ca6cb1e99aff3f7ad638507082d1a47169ee34e5f17030adfede1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-02T02:44:01.708Z] + go version [2020-10-02T02:44:01.708Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-02T02:44:01.732Z] $ docker stop --time=1 f5cf336d618ca6cb1e99aff3f7ad638507082d1a47169ee34e5f17030adfede1 [2020-10-02T02:44:03.725Z] $ docker rm -f f5cf336d618ca6cb1e99aff3f7ad638507082d1a47169ee34e5f17030adfede1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:44:04.723Z] + docker inspect -f . ci-base-image-arm64 [2020-10-02T02:44:04.723Z] . [Pipeline] withDockerContainer [2020-10-02T02:44:04.999Z] prd-ubuntu18.04-docker-arm64-4c-16g-2961 does not seem to be running inside a container [2020-10-02T02:44:05.087Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-02T02:44:06.903Z] $ docker top c7364ac7ef06a4e661311247705da8d636cd3d9f3187dce61a4044f78db99ea9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-02T02:44:08.288Z] + make test [2020-10-02T02:44:08.288Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-02T02:44:14.916Z] Running on prd-centos7-docker-4c-2g-2966 in /w/workspace/dgexfoundry_device-sdk-go_PR-603 [Pipeline] { [Pipeline] ws [2020-10-02T02:44:14.971Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-02T02:44:17.258Z] using credential edgex-jenkins-ssh [2020-10-02T02:44:17.307Z] Cloning the remote Git repository [2020-10-02T02:44:17.338Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-02T02:44:17.418Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-10-02T02:44:17.484Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-02T02:44:17.484Z] > git --version # timeout=10 [2020-10-02T02:44:17.513Z] > git --version # 'git version 2.16.5' [2020-10-02T02:44:17.514Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-02T02:44:17.543Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-02T02:44:19.225Z] Merging remotes/origin/master commit 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit 3ccd6247f9f387f0c9668272060ad741d43f917b [2020-10-02T02:44:19.342Z] Merge succeeded, producing 79d4ac9bf362be5f06ed60daf500687b6d8cb4e5 [2020-10-02T02:44:19.343Z] Checking out Revision 79d4ac9bf362be5f06ed60daf500687b6d8cb4e5 (PR-603) [2020-10-02T02:44:18.713Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-02T02:44:18.721Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-02T02:44:18.730Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-02T02:44:18.742Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-02T02:44:18.742Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-02T02:44:18.746Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/603/head:refs/remotes/origin/PR-603 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-02T02:44:19.235Z] > git config core.sparsecheckout # timeout=10 [2020-10-02T02:44:19.243Z] > git checkout -f 3ccd6247f9f387f0c9668272060ad741d43f917b # timeout=10 [2020-10-02T02:44:19.291Z] > git remote # timeout=10 [2020-10-02T02:44:19.300Z] > git config --get remote.origin.url # timeout=10 [2020-10-02T02:44:19.305Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-02T02:44:19.309Z] > git merge 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 [2020-10-02T02:44:19.338Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-02T02:44:19.347Z] > git config core.sparsecheckout # timeout=10 [2020-10-02T02:44:19.353Z] > git checkout -f 79d4ac9bf362be5f06ed60daf500687b6d8cb4e5 # timeout=10 [2020-10-02T02:44:22.924Z] Commit message: "Merge commit '5d943473fe8cb7b2263b29163a15a9eda06ca963' into HEAD" [2020-10-02T02:44:22.929Z] > git rev-list --no-walk 3ccd6247f9f387f0c9668272060ad741d43f917b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-02T02:44:23.870Z] ========================================================= [2020-10-02T02:44:23.870Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-02T02:44:23.870Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:44:24.589Z] + 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-02T02:44:24.854Z] Sending build context to Docker daemon 3.458MB [2020-10-02T02:44:24.854Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-02T02:44:24.854Z] Step 2/8 : FROM ${BASE} [2020-10-02T02:44:25.115Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-02T02:44:25.115Z] df20fa9351a1: Pulling fs layer [2020-10-02T02:44:25.115Z] ed8968b2872e: Pulling fs layer [2020-10-02T02:44:25.115Z] a92cc7c5fd73: Pulling fs layer [2020-10-02T02:44:25.115Z] e871e8e8d7a9: Pulling fs layer [2020-10-02T02:44:25.115Z] e73272ec9a57: Pulling fs layer [2020-10-02T02:44:25.115Z] 1e910a182e73: Pulling fs layer [2020-10-02T02:44:25.115Z] 4e634b169226: Pulling fs layer [2020-10-02T02:44:25.115Z] e73272ec9a57: Waiting [2020-10-02T02:44:25.115Z] 1e910a182e73: Waiting [2020-10-02T02:44:25.115Z] 4e634b169226: Waiting [2020-10-02T02:44:25.115Z] e871e8e8d7a9: Waiting [2020-10-02T02:44:25.115Z] a92cc7c5fd73: Verifying Checksum [2020-10-02T02:44:25.115Z] a92cc7c5fd73: Download complete [2020-10-02T02:44:25.115Z] ed8968b2872e: Download complete [2020-10-02T02:44:25.115Z] e73272ec9a57: Verifying Checksum [2020-10-02T02:44:25.115Z] e73272ec9a57: Download complete [2020-10-02T02:44:25.115Z] 1e910a182e73: Verifying Checksum [2020-10-02T02:44:25.115Z] 1e910a182e73: Download complete [2020-10-02T02:44:25.115Z] df20fa9351a1: Verifying Checksum [2020-10-02T02:44:25.115Z] df20fa9351a1: Download complete [2020-10-02T02:44:25.378Z] df20fa9351a1: Pull complete [2020-10-02T02:44:25.641Z] ed8968b2872e: Pull complete [2020-10-02T02:44:25.641Z] a92cc7c5fd73: Pull complete [2020-10-02T02:44:27.587Z] 4e634b169226: Verifying Checksum [2020-10-02T02:44:27.587Z] 4e634b169226: Download complete [2020-10-02T02:44:27.852Z] e871e8e8d7a9: Verifying Checksum [2020-10-02T02:44:27.852Z] e871e8e8d7a9: Download complete [2020-10-02T02:44:30.467Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-02T02:44:33.173Z] e871e8e8d7a9: Pull complete [2020-10-02T02:44:33.435Z] e73272ec9a57: Pull complete [2020-10-02T02:44:33.435Z] 1e910a182e73: Pull complete [2020-10-02T02:44:37.687Z] 4e634b169226: Pull complete [2020-10-02T02:44:37.687Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-02T02:44:37.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-02T02:44:37.687Z] ---> f7629b54cfaa [2020-10-02T02:44:37.687Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-02T02:44:37.952Z] ---> Running in 19d306377487 [2020-10-02T02:44:38.216Z] Removing intermediate container 19d306377487 [2020-10-02T02:44:38.216Z] ---> a951d562ce7c [2020-10-02T02:44:38.216Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-02T02:44:38.216Z] ---> Running in d23c12a25a0d [2020-10-02T02:44:40.144Z] Removing intermediate container d23c12a25a0d [2020-10-02T02:44:40.144Z] ---> 9f271c015ab3 [2020-10-02T02:44:40.144Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-02T02:44:40.144Z] ---> Running in 864cd1aeb1ed [2020-10-02T02:44:40.407Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-02T02:44:41.359Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-02T02:44:42.311Z] OK: 166 MiB in 39 packages [2020-10-02T02:44:42.575Z] Removing intermediate container 864cd1aeb1ed [2020-10-02T02:44:42.576Z] ---> 81b4d5174475 [2020-10-02T02:44:42.576Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-02T02:44:42.576Z] ---> Running in 1e594ece6c49 [2020-10-02T02:44:42.838Z] Removing intermediate container 1e594ece6c49 [2020-10-02T02:44:42.838Z] ---> 04e3c5a31443 [2020-10-02T02:44:42.838Z] Step 7/8 : COPY . . [2020-10-02T02:44:44.236Z] ---> aadc2e660d17 [2020-10-02T02:44:44.236Z] Step 8/8 : RUN go mod download [2020-10-02T02:44:44.236Z] ---> Running in 6c69ab7be171 [2020-10-02T02:45:02.409Z] Removing intermediate container 6c69ab7be171 [2020-10-02T02:45:02.409Z] ---> 054c403af2c2 [2020-10-02T02:45:02.409Z] Successfully built 054c403af2c2 [2020-10-02T02:45:02.409Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:45:03.313Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-02T02:45:03.313Z] . [Pipeline] withDockerContainer [2020-10-02T02:45:03.422Z] prd-centos7-docker-4c-2g-2966 does not seem to be running inside a container [2020-10-02T02:45:03.475Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-02T02:45:04.153Z] $ docker top dcf6a04978d45daf694f497e7dbf51b509fc0b16b73daa8be4e8c9a209082bc1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-02T02:45:04.673Z] + go version [2020-10-02T02:45:04.673Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-02T02:45:04.690Z] $ docker stop --time=1 dcf6a04978d45daf694f497e7dbf51b509fc0b16b73daa8be4e8c9a209082bc1 [2020-10-02T02:45:06.039Z] $ docker rm -f dcf6a04978d45daf694f497e7dbf51b509fc0b16b73daa8be4e8c9a209082bc1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:45:07.003Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-02T02:45:07.003Z] . [Pipeline] withDockerContainer [2020-10-02T02:45:07.108Z] prd-centos7-docker-4c-2g-2966 does not seem to be running inside a container [2020-10-02T02:45:07.161Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-02T02:45:07.826Z] $ docker top 36787ef46f0e57cfeaf15b228f8bf63e934dba1867648a6a14218aa54faabb04 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-02T02:45:08.319Z] + make test [2020-10-02T02:45:08.319Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-02T02:45:09.529Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-02T02:45:09.529Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-02T02:45:09.529Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-02T02:45:09.529Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.108s coverage: 21.6% of statements [2020-10-02T02:45:10.525Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.178s coverage: 97.1% of statements [2020-10-02T02:45:14.998Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-02T02:45:30.047Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-02T02:45:30.047Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-02T02:45:30.047Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-02T02:45:30.047Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.062s coverage: 21.6% of statements [2020-10-02T02:45:31.021Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.462s coverage: 97.1% of statements [2020-10-02T02:45:42.889Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.160s coverage: 9.4% of statements [2020-10-02T02:45:42.889Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.112s coverage: 21.9% of statements [2020-10-02T02:45:42.889Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-02T02:45:42.889Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.549s coverage: 39.9% of statements [2020-10-02T02:45:42.889Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-02T02:45:42.889Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.731s coverage: 65.4% of statements [2020-10-02T02:45:42.889Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-02T02:45:42.889Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-02T02:45:42.889Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-02T02:45:42.889Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-02T02:45:42.889Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.188s coverage: 52.6% of statements [2020-10-02T02:45:42.889Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-02T02:45:42.889Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.651s coverage: 68.9% of statements [2020-10-02T02:45:42.889Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-02T02:45:42.889Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-02T02:45:42.889Z] GO111MODULE=on go vet ./... [2020-10-02T02:46:03.192Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.065s coverage: 9.4% of statements [2020-10-02T02:46:03.193Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.053s coverage: 21.9% of statements [2020-10-02T02:46:03.193Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-02T02:46:03.193Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.217s coverage: 39.9% of statements [2020-10-02T02:46:03.193Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-02T02:46:03.193Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.280s coverage: 65.4% of statements [2020-10-02T02:46:03.193Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-02T02:46:03.193Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-02T02:46:03.193Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-02T02:46:03.193Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-02T02:46:03.193Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.074s coverage: 52.6% of statements [2020-10-02T02:46:03.193Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-02T02:46:03.193Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.386s coverage: 68.9% of statements [2020-10-02T02:46:03.193Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-02T02:46:03.193Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-02T02:46:03.193Z] GO111MODULE=on go vet ./... [2020-10-02T02:46:09.869Z] gofmt -l . [2020-10-02T02:46:09.869Z] [ "`gofmt -l .`" = "" ] [2020-10-02T02:46:09.869Z] ./bin/test-attribution-txt.sh [2020-10-02T02:46:09.947Z] gofmt -l . [2020-10-02T02:46:09.947Z] [ "`gofmt -l .`" = "" ] [2020-10-02T02:46:09.947Z] ./bin/test-attribution-txt.sh [2020-10-02T02:46:10.443Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-02T02:46:10.920Z] ./bin/test-go-mod-tidy.sh [2020-10-02T02:46:11.037Z] Stashed 1 file(s) [Pipeline] } [2020-10-02T02:46:11.046Z] $ docker stop --time=1 36787ef46f0e57cfeaf15b228f8bf63e934dba1867648a6a14218aa54faabb04 [2020-10-02T02:46:12.931Z] $ docker rm -f 36787ef46f0e57cfeaf15b228f8bf63e934dba1867648a6a14218aa54faabb04 [Pipeline] // withDockerContainer [Pipeline] stash [2020-10-02T02:46:13.221Z] Warning: overwriting stash ‘coverage-report’ [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-10-02T02:46:14.050Z] Stashed 1 file(s) [Pipeline] } [2020-10-02T02:46:16.145Z] $ docker stop --time=1 c7364ac7ef06a4e661311247705da8d636cd3d9f3187dce61a4044f78db99ea9 [2020-10-02T02:46:18.279Z] $ docker rm -f c7364ac7ef06a4e661311247705da8d636cd3d9f3187dce61a4044f78db99ea9 [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2020-10-02T02:46:19.176Z] + sudo chown -R jenkins:jenkins . [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-02T02:46:19.659Z] + ls -al . [2020-10-02T02:46:19.659Z] total 192 [2020-10-02T02:46:19.659Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 2 02:46 . [2020-10-02T02:46:19.659Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 2 02:44 .. [2020-10-02T02:46:19.659Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 2 02:44 bin [2020-10-02T02:46:19.659Z] -rw-r--r--. 1 jenkins jenkins 111043 Oct 2 02:45 coverage.out [2020-10-02T02:46:19.659Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 2 02:44 Dockerfile.build [2020-10-02T02:46:19.659Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 2 02:44 .dockerignore [2020-10-02T02:46:19.659Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 2 02:44 example [2020-10-02T02:46:19.659Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 2 02:44 .git [2020-10-02T02:46:19.659Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 2 02:44 .github [2020-10-02T02:46:19.659Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 2 02:44 .gitignore [2020-10-02T02:46:19.659Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 2 02:46 go.mod [2020-10-02T02:46:19.659Z] -rw-r--r--. 1 jenkins jenkins 13567 Oct 2 02:46 go.sum [2020-10-02T02:46:19.659Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 2 02:44 internal [2020-10-02T02:46:19.659Z] -rw-rw-r--. 1 jenkins jenkins 785 Oct 2 02:44 Jenkinsfile [2020-10-02T02:46:19.659Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 2 02:44 LICENSE [2020-10-02T02:46:19.659Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 2 02:44 Makefile [2020-10-02T02:46:19.659Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 2 02:44 openapi [2020-10-02T02:46:19.659Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 2 02:44 pkg [2020-10-02T02:46:19.659Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 2 02:44 README.md [2020-10-02T02:46:19.659Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 2 02:44 RELEASE-NOTES.txt [2020-10-02T02:46:19.660Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 2 02:44 .semver [2020-10-02T02:46:19.660Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 2 02:44 snap [2020-10-02T02:46:19.660Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 2 02:42 VERSION [2020-10-02T02:46:19.660Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 2 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:46:19.927Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-02T02:46:20.008Z] + 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=e74f72fe7b517f1818f512e624de32bcbc1683c1 --label arch=amd64 --label version=0.0.0 . [2020-10-02T02:46:20.269Z] + ls -al . [2020-10-02T02:46:20.269Z] total 232 [2020-10-02T02:46:20.269Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 2 02:46 . [2020-10-02T02:46:20.269Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:42 .. [2020-10-02T02:46:20.269Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 2 02:42 .dockerignore [2020-10-02T02:46:20.269Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 02:42 .git [2020-10-02T02:46:20.269Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 02:42 .github [2020-10-02T02:46:20.269Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 2 02:42 .gitignore [2020-10-02T02:46:20.269Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 02:42 .semver [2020-10-02T02:46:20.269Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 2 02:42 Dockerfile.build [2020-10-02T02:46:20.269Z] -rw-rw-r-- 1 jenkins jenkins 785 Oct 2 02:42 Jenkinsfile [2020-10-02T02:46:20.269Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 2 02:42 LICENSE [2020-10-02T02:46:20.269Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 2 02:42 Makefile [2020-10-02T02:46:20.269Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 2 02:42 README.md [2020-10-02T02:46:20.269Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 2 02:42 RELEASE-NOTES.txt [2020-10-02T02:46:20.269Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 02:42 VERSION [2020-10-02T02:46:20.269Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 02:42 bin [2020-10-02T02:46:20.269Z] -rw-r--r-- 1 jenkins jenkins 111043 Oct 2 02:45 coverage.out [2020-10-02T02:46:20.269Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:42 example [2020-10-02T02:46:20.269Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 2 02:46 go.mod [2020-10-02T02:46:20.269Z] -rw-r--r-- 1 jenkins jenkins 13567 Oct 2 02:46 go.sum [2020-10-02T02:46:20.269Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 2 02:42 internal [2020-10-02T02:46:20.269Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:42 openapi [2020-10-02T02:46:20.269Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 2 02:42 pkg [2020-10-02T02:46:20.269Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:42 snap [2020-10-02T02:46:20.269Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 2 02:42 version.go [2020-10-02T02:46:20.271Z] Sending build context to Docker daemon 3.569MB [2020-10-02T02:46:20.271Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-02T02:46:20.271Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-02T02:46:20.271Z] ---> 054c403af2c2 [2020-10-02T02:46:20.271Z] Step 3/24 : ARG MAKE='make build' [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:46:20.613Z] + 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=e74f72fe7b517f1818f512e624de32bcbc1683c1 --label arch=arm64 --label version=0.0.0 . [2020-10-02T02:46:20.844Z] ---> Running in 49bf40034540 [2020-10-02T02:46:21.108Z] Removing intermediate container 49bf40034540 [2020-10-02T02:46:21.108Z] ---> 14f3bac0d51e [2020-10-02T02:46:21.108Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-02T02:46:21.108Z] ---> Running in 0ec058479740 [2020-10-02T02:46:21.108Z] Removing intermediate container 0ec058479740 [2020-10-02T02:46:21.108Z] ---> 171a9b046b64 [2020-10-02T02:46:21.108Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-02T02:46:21.210Z] Sending build context to Docker daemon 3.568MB [2020-10-02T02:46:21.211Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-02T02:46:21.211Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-02T02:46:21.211Z] ---> ac4717b16cc3 [2020-10-02T02:46:21.211Z] Step 3/24 : ARG MAKE='make build' [2020-10-02T02:46:21.370Z] ---> Running in 1a260d4bd68f [2020-10-02T02:46:21.371Z] Removing intermediate container 1a260d4bd68f [2020-10-02T02:46:21.371Z] ---> 14607f33292b [2020-10-02T02:46:21.371Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-02T02:46:21.483Z] ---> Running in 5ff189d2faf1 [2020-10-02T02:46:21.633Z] ---> Running in 87dfbb949d63 [2020-10-02T02:46:21.760Z] Removing intermediate container 5ff189d2faf1 [2020-10-02T02:46:21.760Z] ---> 1917046649f1 [2020-10-02T02:46:21.760Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-02T02:46:22.039Z] ---> Running in af3622b5374d [2020-10-02T02:46:22.312Z] Removing intermediate container af3622b5374d [2020-10-02T02:46:22.312Z] ---> 045fdf8429fb [2020-10-02T02:46:22.312Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-02T02:46:22.585Z] Removing intermediate container 87dfbb949d63 [2020-10-02T02:46:22.585Z] ---> bf66c9b45fd0 [2020-10-02T02:46:22.585Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-02T02:46:22.585Z] ---> Running in a5c97925e77c [2020-10-02T02:46:22.587Z] ---> Running in b7d50713f2c4 [2020-10-02T02:46:22.847Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-02T02:46:22.858Z] Removing intermediate container b7d50713f2c4 [2020-10-02T02:46:22.858Z] ---> 17246b327d5d [2020-10-02T02:46:22.858Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-02T02:46:23.132Z] ---> Running in 099e581af0b3 [2020-10-02T02:46:23.797Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-02T02:46:24.741Z] OK: 166 MiB in 39 packages [2020-10-02T02:46:25.318Z] Removing intermediate container a5c97925e77c [2020-10-02T02:46:25.318Z] ---> 590d75250bf5 [2020-10-02T02:46:25.318Z] Step 8/24 : COPY . . [2020-10-02T02:46:25.748Z] Removing intermediate container 099e581af0b3 [2020-10-02T02:46:25.748Z] ---> 5bc0c6e1f5d1 [2020-10-02T02:46:25.748Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-02T02:46:25.748Z] ---> Running in 18213ec1221c [2020-10-02T02:46:26.266Z] ---> 63e43deca80c [2020-10-02T02:46:26.266Z] Step 9/24 : RUN ${MAKE} [2020-10-02T02:46:26.539Z] ---> Running in 3565fde7f715 [2020-10-02T02:46:26.800Z] 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-02T02:46:27.179Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-02T02:46:27.773Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-02T02:46:28.746Z] OK: 142 MiB in 39 packages [2020-10-02T02:46:30.175Z] Removing intermediate container 18213ec1221c [2020-10-02T02:46:30.175Z] ---> b48daa4f1582 [2020-10-02T02:46:30.175Z] Step 8/24 : COPY . . [2020-10-02T02:46:31.146Z] ---> d938cba923c7 [2020-10-02T02:46:31.146Z] Step 9/24 : RUN ${MAKE} [2020-10-02T02:46:31.420Z] ---> Running in b95173c6c3bc [2020-10-02T02:46:32.850Z] 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-02T02:46:35.050Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-02T02:46:36.969Z] Removing intermediate container 3565fde7f715 [2020-10-02T02:46:36.969Z] ---> 591fdc7855ff [2020-10-02T02:46:36.969Z] Step 10/24 : FROM scratch [2020-10-02T02:46:36.969Z] ---> [2020-10-02T02:46:36.969Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-02T02:46:36.969Z] ---> Running in 93f89fe2273d [2020-10-02T02:46:36.969Z] Removing intermediate container 93f89fe2273d [2020-10-02T02:46:36.969Z] ---> 1feb29a01358 [2020-10-02T02:46:36.969Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-02T02:46:37.233Z] ---> Running in d1b98eb36531 [2020-10-02T02:46:37.233Z] Removing intermediate container d1b98eb36531 [2020-10-02T02:46:37.233Z] ---> 2a9f41c273e2 [2020-10-02T02:46:37.233Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-02T02:46:37.496Z] ---> Running in a0821fde47c3 [2020-10-02T02:46:37.496Z] Removing intermediate container a0821fde47c3 [2020-10-02T02:46:37.496Z] ---> c5dea74a21db [2020-10-02T02:46:37.496Z] Step 14/24 : WORKDIR / [2020-10-02T02:46:37.496Z] ---> Running in d9b6e0cb027f [2020-10-02T02:46:37.759Z] Removing intermediate container d9b6e0cb027f [2020-10-02T02:46:37.759Z] ---> b6e482487197 [2020-10-02T02:46:37.759Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-02T02:46:38.334Z] ---> 6109e67bdc68 [2020-10-02T02:46:38.334Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-02T02:46:38.596Z] ---> 2df2dd46faa8 [2020-10-02T02:46:38.596Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-02T02:46:38.860Z] ---> 7be8b89f84cb [2020-10-02T02:46:38.860Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-02T02:46:39.121Z] ---> ea0d30fab715 [2020-10-02T02:46:39.121Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-02T02:46:39.383Z] ---> 2f04adf0ed78 [2020-10-02T02:46:39.383Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-02T02:46:39.383Z] ---> Running in c7e3f11de34a [2020-10-02T02:46:39.383Z] Removing intermediate container c7e3f11de34a [2020-10-02T02:46:39.383Z] ---> 8bdac4fd2b19 [2020-10-02T02:46:39.383Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-02T02:46:39.653Z] ---> Running in 5b198d23e303 [2020-10-02T02:46:39.653Z] Removing intermediate container 5b198d23e303 [2020-10-02T02:46:39.653Z] ---> 6bf83674dd52 [2020-10-02T02:46:39.653Z] Step 22/24 : LABEL arch=amd64 [2020-10-02T02:46:39.914Z] ---> Running in 9bb116516f51 [2020-10-02T02:46:39.914Z] Removing intermediate container 9bb116516f51 [2020-10-02T02:46:39.914Z] ---> 34916059fda9 [2020-10-02T02:46:39.914Z] Step 23/24 : LABEL git_sha=e74f72fe7b517f1818f512e624de32bcbc1683c1 [2020-10-02T02:46:39.914Z] ---> Running in 19c48ad96de3 [2020-10-02T02:46:40.178Z] Removing intermediate container 19c48ad96de3 [2020-10-02T02:46:40.178Z] ---> 4f7975a4ffe0 [2020-10-02T02:46:40.178Z] Step 24/24 : LABEL version=0.0.0 [2020-10-02T02:46:40.178Z] ---> Running in 5c4c0da1bea3 [2020-10-02T02:46:40.439Z] Removing intermediate container 5c4c0da1bea3 [2020-10-02T02:46:40.439Z] ---> fb3238bbfaa6 [2020-10-02T02:46:40.439Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-02T02:46:40.439Z] Successfully built fb3238bbfaa6 [2020-10-02T02:46:40.439Z] 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-02T02:46:59.662Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-02T02:46:59.662Z] Removing intermediate container b95173c6c3bc [2020-10-02T02:46:59.662Z] ---> 1f543081e079 [2020-10-02T02:46:59.662Z] Step 10/24 : FROM scratch [2020-10-02T02:46:59.662Z] ---> [2020-10-02T02:46:59.662Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-02T02:46:59.662Z] ---> Running in c5dc24b51512 [2020-10-02T02:46:59.662Z] Removing intermediate container c5dc24b51512 [2020-10-02T02:46:59.662Z] ---> 50780ebc4291 [2020-10-02T02:46:59.662Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-02T02:46:59.662Z] ---> Running in d7da2b84c56b [2020-10-02T02:46:59.662Z] Removing intermediate container d7da2b84c56b [2020-10-02T02:46:59.662Z] ---> ede203983785 [2020-10-02T02:46:59.662Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-02T02:46:59.662Z] ---> Running in e21fdb8836d0 [2020-10-02T02:46:59.662Z] Removing intermediate container e21fdb8836d0 [2020-10-02T02:46:59.662Z] ---> e04e2316c9eb [2020-10-02T02:46:59.662Z] Step 14/24 : WORKDIR / [2020-10-02T02:46:59.662Z] ---> Running in 4e243bb2bb6a [2020-10-02T02:47:00.256Z] Removing intermediate container 4e243bb2bb6a [2020-10-02T02:47:00.256Z] ---> cda49f84a49c [2020-10-02T02:47:00.256Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-02T02:47:01.237Z] ---> 657867deaebb [2020-10-02T02:47:01.237Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-02T02:47:02.218Z] ---> 694e7c4238f2 [2020-10-02T02:47:02.218Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-02T02:47:02.808Z] ---> d8a40eb88486 [2020-10-02T02:47:02.808Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-02T02:47:03.403Z] ---> fe4ceba74bc7 [2020-10-02T02:47:03.403Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-02T02:47:04.383Z] ---> 3af51bc2f081 [2020-10-02T02:47:04.383Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-02T02:47:04.383Z] ---> Running in bd48377776fe [2020-10-02T02:47:04.981Z] Removing intermediate container bd48377776fe [2020-10-02T02:47:04.981Z] ---> 4bed600f1126 [2020-10-02T02:47:04.981Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-02T02:47:04.981Z] ---> Running in b59d230e06a9 [2020-10-02T02:47:05.576Z] Removing intermediate container b59d230e06a9 [2020-10-02T02:47:05.576Z] ---> 90f770702e1b [2020-10-02T02:47:05.576Z] Step 22/24 : LABEL arch=arm64 [2020-10-02T02:47:05.576Z] ---> Running in e810cffcf6f6 [2020-10-02T02:47:06.172Z] Removing intermediate container e810cffcf6f6 [2020-10-02T02:47:06.172Z] ---> d73bda746395 [2020-10-02T02:47:06.172Z] Step 23/24 : LABEL git_sha=e74f72fe7b517f1818f512e624de32bcbc1683c1 [2020-10-02T02:47:06.172Z] ---> Running in 4ee59dfbda0e [2020-10-02T02:47:06.445Z] Removing intermediate container 4ee59dfbda0e [2020-10-02T02:47:06.445Z] ---> 71e7b9842d70 [2020-10-02T02:47:06.445Z] Step 24/24 : LABEL version=0.0.0 [2020-10-02T02:47:06.718Z] ---> Running in 33a5ecd52cdc [2020-10-02T02:47:07.314Z] Removing intermediate container 33a5ecd52cdc [2020-10-02T02:47:07.314Z] ---> 2eae58958ad3 [2020-10-02T02:47:07.314Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-02T02:47:07.314Z] Successfully built 2eae58958ad3 [2020-10-02T02:47:07.314Z] 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-02T02:47:09.493Z] provisioning config files... [2020-10-02T02:47:09.505Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp/config8197008658213418530tmp [Pipeline] { [Pipeline] sh [2020-10-02T02:47:09.895Z] + set +x [2020-10-02T02:47:09.895Z] + curl -s https://codecov.io/bash [2020-10-02T02:47:09.895Z] + bash -s -- [2020-10-02T02:47:10.159Z] [2020-10-02T02:47:10.159Z] _____ _ [2020-10-02T02:47:10.159Z] / ____| | | [2020-10-02T02:47:10.159Z] | | ___ __| | ___ ___ _____ __ [2020-10-02T02:47:10.159Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-02T02:47:10.159Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-02T02:47:10.159Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-02T02:47:10.159Z] Bash-20200917-4e8f14b [2020-10-02T02:47:10.159Z] [2020-10-02T02:47:10.159Z] [2020-10-02T02:47:10.159Z] ==> Jenkins CI detected. [2020-10-02T02:47:10.159Z] project root: . [2020-10-02T02:47:10.159Z] Fixing merge commit SHA [2020-10-02T02:47:10.159Z] --> token set from env [2020-10-02T02:47:10.159Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-02T02:47:10.159Z] ==> Running gcov in . (disable via -X gcov) [2020-10-02T02:47:10.159Z] ==> Python coveragepy not found [2020-10-02T02:47:10.159Z] ==> Searching for coverage reports in: [2020-10-02T02:47:10.159Z] + . [2020-10-02T02:47:10.159Z] -> Found 1 reports [2020-10-02T02:47:10.159Z] ==> Detecting git/mercurial file structure [2020-10-02T02:47:10.159Z] ==> Reading reports [2020-10-02T02:47:10.159Z] + ./coverage.out bytes=111043 [2020-10-02T02:47:10.159Z] ==> Appending adjustments [2020-10-02T02:47:10.159Z] https://docs.codecov.io/docs/fixing-reports [2020-10-02T02:47:10.735Z] + Found adjustments [2020-10-02T02:47:10.735Z] ==> Gzipping contents [2020-10-02T02:47:10.735Z] ==> Uploading reports [2020-10-02T02:47:10.735Z] url: https://codecov.io [2020-10-02T02:47:10.735Z] query: branch=PR-603&commit=5d943473fe8cb7b2263b29163a15a9eda06ca963&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-603%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=603&job=&cmd_args= [2020-10-02T02:47:10.735Z] -> Pinging Codecov [2020-10-02T02:47:10.735Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-603&commit=5d943473fe8cb7b2263b29163a15a9eda06ca963&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-603%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=603&job=&cmd_args= [2020-10-02T02:47:10.997Z] -> Uploading to [2020-10-02T02:47:10.998Z] https://storage.googleapis.com/codecov/v4/raw/2020-10-02/7E55EF52A471D76F132DFD9A03CDDE97/5d943473fe8cb7b2263b29163a15a9eda06ca963/7a2ae9d9-b115-4d0e-97f5-7742d6a4cc83.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201002%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201002T024710Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bb15bcd72a9457e6b50ceb98ae73ce832a5edb1a28c17bda32139d3dd9315074 [2020-10-02T02:47:10.998Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-02T02:47:10.998Z] Dload Upload Total Spent Left Speed [2020-10-02T02:47:11.570Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18380 0 0 100 18380 0 40911 --:--:-- --:--:-- --:--:-- 40935 [2020-10-02T02:47:11.570Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5d943473fe8cb7b2263b29163a15a9eda06ca963 [Pipeline] } [2020-10-02T02:47:11.580Z] 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-02T02:47:14.295Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-02T02:47:14.865Z] ---> package-listing.sh [2020-10-02T02:47:14.866Z] ++ facter osfamily [2020-10-02T02:47:14.866Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-02T02:47:14.866Z] + OS_FAMILY=redhat [2020-10-02T02:47:14.866Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-603 [2020-10-02T02:47:14.866Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-02T02:47:14.866Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-02T02:47:14.866Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-02T02:47:14.866Z] + PACKAGES=/tmp/packages_start.txt [2020-10-02T02:47:14.866Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-603 ']' [2020-10-02T02:47:14.866Z] + PACKAGES=/tmp/packages_end.txt [2020-10-02T02:47:14.866Z] + case "${OS_FAMILY}" in [2020-10-02T02:47:14.866Z] + rpm -qa [2020-10-02T02:47:14.866Z] + sort [2020-10-02T02:47:19.081Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-02T02:47:19.081Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-02T02:47:19.081Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-02T02:47:19.081Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-603 ']' [2020-10-02T02:47:19.081Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-603/archives/ [2020-10-02T02:47:19.081Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-603/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-02T02:47:19.805Z] provisioning config files... [2020-10-02T02:47:19.860Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp/config5997603480523062251tmp [Pipeline] { [Pipeline] echo [2020-10-02T02:47:20.031Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-02T02:47:20.461Z] ---> create-netrc.sh [Pipeline] } [2020-10-02T02:47:20.470Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-02T02:47:20.637Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-02T02:47:20.943Z] ---> python-tools-install.sh [2020-10-02T02:47:20.943Z] Generating Requirements File [2020-10-02T02:48:42.488Z] Python 3.6.8 [2020-10-02T02:48:42.488Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-02T02:48:42.488Z] aiohttp==3.6.2 [2020-10-02T02:48:42.488Z] appdirs==1.4.3 [2020-10-02T02:48:42.488Z] argcomplete==1.12.1 [2020-10-02T02:48:42.488Z] aspy.yaml==1.3.0 [2020-10-02T02:48:42.488Z] async-timeout==3.0.1 [2020-10-02T02:48:42.488Z] attrs==19.3.0 [2020-10-02T02:48:42.488Z] Babel==2.8.0 [2020-10-02T02:48:42.488Z] beautifulsoup4==4.8.2 [2020-10-02T02:48:42.488Z] boto3==1.11.6 [2020-10-02T02:48:42.488Z] botocore==1.14.6 [2020-10-02T02:48:42.488Z] bs4==0.0.1 [2020-10-02T02:48:42.488Z] cachetools==4.1.1 [2020-10-02T02:48:42.488Z] certifi==2019.11.28 [2020-10-02T02:48:42.488Z] cffi==1.14.3 [2020-10-02T02:48:42.488Z] cfgv==2.0.1 [2020-10-02T02:48:42.488Z] chardet==3.0.4 [2020-10-02T02:48:42.488Z] click==7.1 [2020-10-02T02:48:42.488Z] cliff==3.4.0 [2020-10-02T02:48:42.488Z] cmd2==1.3.11 [2020-10-02T02:48:42.488Z] colorama==0.4.3 [2020-10-02T02:48:42.488Z] cryptography==3.1.1 [2020-10-02T02:48:42.488Z] debtcollector==2.2.0 [2020-10-02T02:48:42.488Z] decorator==4.4.2 [2020-10-02T02:48:42.488Z] defusedxml==0.6.0 [2020-10-02T02:48:42.488Z] Deprecated==1.2.7 [2020-10-02T02:48:42.488Z] distlib==0.3.1 [2020-10-02T02:48:42.488Z] distro==1.2.0 [2020-10-02T02:48:42.488Z] dnspython==1.16.0 [2020-10-02T02:48:42.488Z] docker==4.2.0 [2020-10-02T02:48:42.488Z] docutils==0.15.2 [2020-10-02T02:48:42.488Z] dogpile.cache==1.0.2 [2020-10-02T02:48:42.488Z] email-validator==1.0.5 [2020-10-02T02:48:42.488Z] filelock==3.0.12 [2020-10-02T02:48:42.488Z] future==0.18.2 [2020-10-02T02:48:42.488Z] google-auth==1.22.0 [2020-10-02T02:48:42.488Z] httplib2==0.17.0 [2020-10-02T02:48:42.488Z] identify==1.4.11 [2020-10-02T02:48:42.488Z] idna==2.9 [2020-10-02T02:48:42.488Z] idna-ssl==1.1.0 [2020-10-02T02:48:42.488Z] importlib-metadata==1.7.0 [2020-10-02T02:48:42.488Z] importlib-resources==1.5.0 [2020-10-02T02:48:42.488Z] iso8601==0.1.13 [2020-10-02T02:48:42.488Z] Jinja2==2.11.1 [2020-10-02T02:48:42.488Z] jmespath==0.10.0 [2020-10-02T02:48:42.488Z] jsonpatch==1.26 [2020-10-02T02:48:42.488Z] jsonpointer==2.0 [2020-10-02T02:48:42.488Z] jsonschema==3.2.0 [2020-10-02T02:48:42.488Z] keystoneauth1==4.2.1 [2020-10-02T02:48:42.488Z] kubernetes==11.0.0 [2020-10-02T02:48:42.488Z] lftools==0.34.2 [2020-10-02T02:48:42.488Z] lxml==4.5.0 [2020-10-02T02:48:42.488Z] MarkupSafe==0.23 [2020-10-02T02:48:42.488Z] msgpack==1.0.0 [2020-10-02T02:48:42.488Z] multi-key-dict==2.0.3 [2020-10-02T02:48:42.488Z] multidict==4.7.6 [2020-10-02T02:48:42.489Z] munch==2.5.0 [2020-10-02T02:48:42.489Z] netaddr==0.8.0 [2020-10-02T02:48:42.489Z] netifaces==0.10.9 [2020-10-02T02:48:42.489Z] niet==1.4.2 [2020-10-02T02:48:42.489Z] nodeenv==1.3.5 [2020-10-02T02:48:42.489Z] oauth2client==4.1.3 [2020-10-02T02:48:42.489Z] oauthlib==3.1.0 [2020-10-02T02:48:42.489Z] openstacksdk==0.50.0 [2020-10-02T02:48:42.489Z] os-client-config==2.1.0 [2020-10-02T02:48:42.489Z] os-service-types==1.7.0 [2020-10-02T02:48:42.489Z] osc-lib==2.2.1 [2020-10-02T02:48:42.489Z] oslo.config==8.3.2 [2020-10-02T02:48:42.489Z] oslo.context==3.1.1 [2020-10-02T02:48:42.489Z] oslo.i18n==5.0.1 [2020-10-02T02:48:42.489Z] oslo.log==4.4.0 [2020-10-02T02:48:42.489Z] oslo.serialization==4.0.1 [2020-10-02T02:48:42.489Z] oslo.utils==4.6.0 [2020-10-02T02:48:42.489Z] packaging==20.4 [2020-10-02T02:48:42.489Z] pbr==5.4.4 [2020-10-02T02:48:42.489Z] pluggy==0.13.1 [2020-10-02T02:48:42.489Z] prettytable==0.7.2 [2020-10-02T02:48:42.489Z] py==1.9.0 [2020-10-02T02:48:42.489Z] pyasn1==0.4.8 [2020-10-02T02:48:42.489Z] pyasn1-modules==0.2.8 [2020-10-02T02:48:42.489Z] pycparser==2.20 [2020-10-02T02:48:42.489Z] pygerrit2==2.0.10 [2020-10-02T02:48:42.489Z] PyGithub==1.46 [2020-10-02T02:48:42.489Z] pyinotify==0.9.6 [2020-10-02T02:48:42.489Z] PyJWT==1.7.1 [2020-10-02T02:48:42.489Z] pyparsing==2.4.7 [2020-10-02T02:48:42.489Z] pyperclip==1.8.0 [2020-10-02T02:48:42.489Z] pyroute2==0.4.13 [2020-10-02T02:48:42.489Z] pyrsistent==0.15.7 [2020-10-02T02:48:42.489Z] PySocks==1.6.8 [2020-10-02T02:48:42.489Z] python-cinderclient==7.2.0 [2020-10-02T02:48:42.489Z] python-dateutil==2.8.1 [2020-10-02T02:48:42.489Z] python-heatclient==2.2.1 [2020-10-02T02:48:42.489Z] python-jenkins==1.7.0 [2020-10-02T02:48:42.489Z] python-keystoneclient==4.1.1 [2020-10-02T02:48:42.489Z] python-magnumclient==3.2.1 [2020-10-02T02:48:42.489Z] python-novaclient==17.2.1 [2020-10-02T02:48:42.489Z] python-openstackclient==5.3.1 [2020-10-02T02:48:42.489Z] python-swiftclient==3.10.1 [2020-10-02T02:48:42.489Z] pytz==2020.1 [2020-10-02T02:48:42.489Z] PyYAML==5.3 [2020-10-02T02:48:42.489Z] requests==2.23.0 [2020-10-02T02:48:42.489Z] requests-oauthlib==1.3.0 [2020-10-02T02:48:42.489Z] requestsexceptions==1.4.0 [2020-10-02T02:48:42.489Z] rfc3986==1.4.0 [2020-10-02T02:48:42.489Z] rpm==4.11.3 [2020-10-02T02:48:42.489Z] rsa==4.0 [2020-10-02T02:48:42.489Z] ruamel.yaml==0.16.10 [2020-10-02T02:48:42.489Z] ruamel.yaml.clib==0.2.0 [2020-10-02T02:48:42.489Z] s3transfer==0.3.3 [2020-10-02T02:48:42.489Z] shade==1.27.2 [2020-10-02T02:48:42.489Z] simplejson==3.17.2 [2020-10-02T02:48:42.489Z] six==1.14.0 [2020-10-02T02:48:42.489Z] soupsieve==2.0 [2020-10-02T02:48:42.489Z] stevedore==3.2.2 [2020-10-02T02:48:42.489Z] tabulate==0.8.6 [2020-10-02T02:48:42.489Z] toml==0.10.0 [2020-10-02T02:48:42.489Z] tox==3.20.0 [2020-10-02T02:48:42.489Z] tqdm==4.43.0 [2020-10-02T02:48:42.489Z] typing-extensions==3.7.4.3 [2020-10-02T02:48:42.489Z] urllib3==1.25.8 [2020-10-02T02:48:42.489Z] virtualenv==20.0.32 [2020-10-02T02:48:42.489Z] wcwidth==0.2.5 [2020-10-02T02:48:42.489Z] websocket-client==0.57.0 [2020-10-02T02:48:42.489Z] wrapt==1.12.1 [2020-10-02T02:48:42.489Z] xdg==3.0.2 [2020-10-02T02:48:42.489Z] xmltodict==0.12.0 [2020-10-02T02:48:42.489Z] yarl==1.6.0 [2020-10-02T02:48:42.489Z] yq==2.11.1 [2020-10-02T02:48:42.489Z] zipp==3.2.0 [2020-10-02T02:48:42.489Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:48:42.489Z] 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-02T02:48:42.489Z] Python 2.7.5 [2020-10-02T02:48:42.489Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-02T02:48:42.489Z] 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-02T02:48:42.489Z] ansible==2.9.7 [2020-10-02T02:48:42.489Z] Babel==0.9.6 [2020-10-02T02:48:42.489Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-02T02:48:42.489Z] beautifulsoup4==4.4.1 [2020-10-02T02:48:42.489Z] bodhi==2.11.0 [2020-10-02T02:48:42.489Z] bodhi-client==2.11.0 [2020-10-02T02:48:42.489Z] CCColUtils==1.4 [2020-10-02T02:48:42.489Z] cffi==1.6.0 [2020-10-02T02:48:42.489Z] chardet==2.2.1 [2020-10-02T02:48:42.489Z] click==6.7 [2020-10-02T02:48:42.489Z] cloud-init==18.5 [2020-10-02T02:48:42.489Z] configobj==4.7.2 [2020-10-02T02:48:42.489Z] cryptography==1.7.2 [2020-10-02T02:48:42.489Z] decorator==3.4.0 [2020-10-02T02:48:42.489Z] distro==1.2.0 [2020-10-02T02:48:42.489Z] enum34==1.0.4 [2020-10-02T02:48:42.489Z] fedpkg==1.38 [2020-10-02T02:48:42.489Z] futures==3.1.1 [2020-10-02T02:48:42.489Z] gitdb==0.6.4 [2020-10-02T02:48:42.489Z] GitPython==1.0.1 [2020-10-02T02:48:42.489Z] html5lib==0.999 [2020-10-02T02:48:42.489Z] httplib2==0.9.2 [2020-10-02T02:48:42.489Z] idna==2.4 [2020-10-02T02:48:42.489Z] iniparse==0.4 [2020-10-02T02:48:42.489Z] ipaddress==1.0.16 [2020-10-02T02:48:42.489Z] IPy==0.75 [2020-10-02T02:48:42.489Z] javapackages==1.0.0 [2020-10-02T02:48:42.489Z] Jinja2==2.7.2 [2020-10-02T02:48:42.489Z] jmespath==0.9.4 [2020-10-02T02:48:42.489Z] jsonpatch==1.2 [2020-10-02T02:48:42.489Z] jsonpointer==1.9 [2020-10-02T02:48:42.489Z] kerberos==1.1 [2020-10-02T02:48:42.489Z] kitchen==1.1.1 [2020-10-02T02:48:42.489Z] langtable==0.0.31 [2020-10-02T02:48:42.489Z] lockfile==0.9.1 [2020-10-02T02:48:42.489Z] lxml==3.2.1 [2020-10-02T02:48:42.489Z] MarkupSafe==0.11 [2020-10-02T02:48:42.489Z] munch==2.0.2 [2020-10-02T02:48:42.489Z] offtrac==0.1.0 [2020-10-02T02:48:42.489Z] openidc-client==0.6.0 [2020-10-02T02:48:42.489Z] packagedb-cli==2.14.1 [2020-10-02T02:48:42.489Z] paramiko==2.1.1 [2020-10-02T02:48:42.489Z] perf==0.1 [2020-10-02T02:48:42.489Z] ply==3.4 [2020-10-02T02:48:42.489Z] policycoreutils-default-encoding==0.1 [2020-10-02T02:48:42.489Z] prettytable==0.7.2 [2020-10-02T02:48:42.489Z] pyasn1==0.1.9 [2020-10-02T02:48:42.489Z] pycparser==2.14 [2020-10-02T02:48:42.489Z] pycurl==7.19.0 [2020-10-02T02:48:42.489Z] pygobject==3.22.0 [2020-10-02T02:48:42.489Z] pygpgme==0.3 [2020-10-02T02:48:42.489Z] pyliblzma==0.5.3 [2020-10-02T02:48:42.489Z] pyOpenSSL==0.13.1 [2020-10-02T02:48:42.489Z] pyparsing==1.5.6 [2020-10-02T02:48:42.489Z] pyserial==2.6 [2020-10-02T02:48:42.489Z] python-augeas==0.5.0 [2020-10-02T02:48:42.489Z] python-bugzilla==2.3.0 [2020-10-02T02:48:42.489Z] python-dateutil==1.5 [2020-10-02T02:48:42.489Z] python-fedora==0.10.0 [2020-10-02T02:48:42.489Z] python-linux-procfs==0.4.9 [2020-10-02T02:48:42.489Z] python-yubico==1.2.3 [2020-10-02T02:48:42.489Z] pyudev==0.15 [2020-10-02T02:48:42.489Z] pyusb==1.0.0b1 [2020-10-02T02:48:42.489Z] pyxattr==0.5.1 [2020-10-02T02:48:42.489Z] PyYAML==3.10 [2020-10-02T02:48:42.489Z] requests==2.6.0 [2020-10-02T02:48:42.489Z] requests-kerberos==0.7.0 [2020-10-02T02:48:42.489Z] rpkg==1.60 [2020-10-02T02:48:42.489Z] schedutils==0.4 [2020-10-02T02:48:42.489Z] seobject==0.1 [2020-10-02T02:48:42.489Z] sepolicy==1.1 [2020-10-02T02:48:42.489Z] six==1.9.0 [2020-10-02T02:48:42.489Z] smmap==0.9.0 [2020-10-02T02:48:42.489Z] urlgrabber==3.10 [2020-10-02T02:48:42.489Z] urllib3==1.10.2 [2020-10-02T02:48:42.489Z] virtualenv==15.1.0 [2020-10-02T02:48:42.489Z] yum-langpacks==0.4.2 [2020-10-02T02:48:42.489Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-02T02:48:42.502Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-02T02:48:42.801Z] ---> sudo-logs.sh [2020-10-02T02:48:42.801Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-02T02:48:43.072Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-02T02:48:43.368Z] ---> job-cost.sh [2020-10-02T02:48:43.368Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-VDeP [2020-10-02T02:48:55.622Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:48:55.622Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:48:55.622Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:48:55.622Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:48:55.622Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:48:55.889Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:48:55.889Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:48:56.168Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:48:56.168Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:48:56.168Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:48:56.436Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:48:56.436Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:48:59.777Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-02T02:49:26.422Z] lf-activate-venv(): INFO: Adding /tmp/venv-VDeP/bin to PATH [2020-10-02T02:49:26.422Z] INFO: No Stack... [2020-10-02T02:49:26.422Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-02T02:49:26.689Z] INFO: Archiving Costs [Pipeline] echo [2020-10-02T02:49:26.967Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-02T02:49:27.265Z] ---> logs-deploy.sh [2020-10-02T02:49:27.265Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-603/2 [2020-10-02T02:49:27.265Z] INFO: archiving workspace using pattern(s): [2020-10-02T02:49:29.177Z] Archives upload complete. [2020-10-02T02:49:29.177Z] INFO: archiving logs to Nexus