Pull request #622 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of AlexCuse for edgexfoundry/device-sdk-go Loading trusted files from base branch master at d88b1cbf40a2b76841607f61ed40214ca5f9d347 rather than 38ec482b070c805fd64ecf849190c6abdd066d8d Obtained Jenkinsfile from d88b1cbf40a2b76841607f61ed40214ca5f9d347 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 ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-4620 in /w/workspace/dgexfoundry_device-sdk-go_PR-622 [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-622 # 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 d88b1cbf40a2b76841607f61ed40214ca5f9d347 into PR head commit 38ec482b070c805fd64ecf849190c6abdd066d8d Merge succeeded, producing 38ec482b070c805fd64ecf849190c6abdd066d8d Checking out Revision 38ec482b070c805fd64ecf849190c6abdd066d8d (PR-622) > 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/622/head:refs/remotes/origin/PR-622 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 38ec482b070c805fd64ecf849190c6abdd066d8d # 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 d88b1cbf40a2b76841607f61ed40214ca5f9d347 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 38ec482b070c805fd64ecf849190c6abdd066d8d # timeout=10 Commit message: "Merge branch 'master' into master" > git rev-list --no-walk 096110c27a6c50f567ac7c81e733e8dc4424b97d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-11T15:12:06.205Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-11T15:12:06.481Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-11T15:12:06.589Z] ========================================================= [2020-10-11T15:12:06.589Z] EdgeX Global Pipelines Version Info [2020-10-11T15:12:06.589Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-11T15:12:08.555Z] ------------------- [2020-10-11T15:12:08.555Z] stable info: [2020-10-11T15:12:08.555Z] ------------------- [2020-10-11T15:12:08.555Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-11T15:12:08.555Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-11T15:12:08.555Z] Message: update stable to v1.0.131 [2020-10-11T15:12:09.134Z] ------------------- [2020-10-11T15:12:09.134Z] experimental info: [2020-10-11T15:12:09.134Z] ------------------- [2020-10-11T15:12:09.134Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-11T15:12:09.134Z] Commit SHA: 2e6d42a532571151575c80d72899821df0f9b0af [2020-10-11T15:12:09.134Z] Message: update experimental to v1.0.135 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-11T15:12:09.643Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-11T15:12:09.879Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-11T15:12:09.967Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-11T15:12:10.059Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-11T15:12:10.209Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-11T15:12:10.303Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-11T15:12:10.407Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-11T15:12:10.520Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-11T15:12:10.681Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-11T15:12:10.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-11T15:12:10.887Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-11T15:12:10.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-11T15:12:11.076Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-11T15:12:11.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-11T15:12:11.285Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-11T15:12:11.409Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-11T15:12:11.508Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-11T15:12:11.602Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-11T15:12:11.695Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-11T15:12:11.794Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-11T15:12:11.909Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-11T15:12:12.005Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-11T15:12:12.120Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-11T15:12:12.208Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-11T15:12:12.292Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-11T15:12:12.377Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-622 [Pipeline] echo [2020-10-11T15:12:12.468Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-622 [Pipeline] echo [2020-10-11T15:12:12.556Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-622 [Pipeline] echo [2020-10-11T15:12:12.642Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 38ec482b070c805fd64ecf849190c6abdd066d8d [Pipeline] echo [2020-10-11T15:12:12.737Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 38ec482 [Pipeline] echo [2020-10-11T15:12:12.845Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-11T15:12:13.504Z] + git log --format=format:%s -1 38ec482b070c805fd64ecf849190c6abdd066d8d [Pipeline] echo [2020-10-11T15:12:13.569Z] GIT_COMMIT: 38ec482b070c805fd64ecf849190c6abdd066d8d, Commit Message: Merge branch 'master' into master [Pipeline] echo [2020-10-11T15:12:13.616Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-11T15:12:14.404Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-11T15:12:14.675Z] [2020-10-11T15:12:14.675Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-11T15:12:15.029Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-11T15:12:15.029Z] latest: Pulling from edgex-devops/git-semver [2020-10-11T15:12:15.029Z] 31603596830f: Pulling fs layer [2020-10-11T15:12:15.029Z] 2a8b12db71e7: Pulling fs layer [2020-10-11T15:12:15.029Z] 6ca5941a6612: Pulling fs layer [2020-10-11T15:12:15.029Z] ecc8261a40a4: Pulling fs layer [2020-10-11T15:12:15.029Z] ecc8261a40a4: Waiting [2020-10-11T15:12:15.308Z] 2a8b12db71e7: Verifying Checksum [2020-10-11T15:12:15.308Z] 2a8b12db71e7: Download complete [2020-10-11T15:12:15.308Z] 31603596830f: Download complete [2020-10-11T15:12:15.627Z] 6ca5941a6612: Verifying Checksum [2020-10-11T15:12:15.627Z] 6ca5941a6612: Download complete [2020-10-11T15:12:15.627Z] ecc8261a40a4: Verifying Checksum [2020-10-11T15:12:15.627Z] ecc8261a40a4: Download complete [2020-10-11T15:12:15.895Z] 31603596830f: Pull complete [2020-10-11T15:12:15.895Z] 2a8b12db71e7: Pull complete [2020-10-11T15:12:16.840Z] 6ca5941a6612: Pull complete [2020-10-11T15:12:17.103Z] ecc8261a40a4: Pull complete [2020-10-11T15:12:17.103Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-11T15:12:17.103Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-11T15:12:17.103Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-11T15:12:17.203Z] prd-centos7-docker-4c-2g-4620 does not seem to be running inside a container [2020-10-11T15:12:17.253Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-622 -v /w/workspace/dgexfoundry_device-sdk-go_PR-622:/w/workspace/dgexfoundry_device-sdk-go_PR-622:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-622@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-622@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-11T15:12:19.290Z] $ docker top 2b952a890909665af3fca2ef9239b5cfd53db2c99ceeafe7585555c8a7eca8d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-11T15:12:19.624Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-11T15:12:19.624Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-11T15:12:19.884Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-11T15:12:19.890Z] $ docker exec 2b952a890909665af3fca2ef9239b5cfd53db2c99ceeafe7585555c8a7eca8d4 ssh-agent [2020-10-11T15:12:20.060Z] SSH_AUTH_SOCK=/tmp/ssh-F6pOOTWkPjwH/agent.12 [2020-10-11T15:12:20.060Z] SSH_AGENT_PID=17 [2020-10-11T15:12:20.072Z] Running ssh-add (command line suppressed) [2020-10-11T15:12:20.188Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-622@tmp/private_key_5287251346885340931.key (/w/workspace/dgexfoundry_device-sdk-go_PR-622@tmp/private_key_5287251346885340931.key) [2020-10-11T15:12:20.232Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-11T15:12:20.566Z] + git describe --exact-match --tags HEAD [2020-10-11T15:12:20.566Z] fatal: no tag exactly matches '38ec482b070c805fd64ecf849190c6abdd066d8d' [Pipeline] } [2020-10-11T15:12:20.590Z] $ docker exec --env ******** --env ******** 2b952a890909665af3fca2ef9239b5cfd53db2c99ceeafe7585555c8a7eca8d4 ssh-agent -k [2020-10-11T15:12:20.698Z] unset SSH_AUTH_SOCK; [2020-10-11T15:12:20.699Z] unset SSH_AGENT_PID; [2020-10-11T15:12:20.699Z] echo Agent pid 17 killed; [2020-10-11T15:12:20.738Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-11T15:12:20.827Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-11T15:12:20.827Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-11T15:12:20.945Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-11T15:12:20.945Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-11T15:12:21.120Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-11T15:12:21.126Z] $ docker exec 2b952a890909665af3fca2ef9239b5cfd53db2c99ceeafe7585555c8a7eca8d4 ssh-agent [2020-10-11T15:12:21.313Z] SSH_AUTH_SOCK=/tmp/ssh-S0nnKa2mR0Ke/agent.46 [2020-10-11T15:12:21.313Z] SSH_AGENT_PID=51 [2020-10-11T15:12:21.319Z] Running ssh-add (command line suppressed) [2020-10-11T15:12:21.430Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-622@tmp/private_key_1135424215635717430.key (/w/workspace/dgexfoundry_device-sdk-go_PR-622@tmp/private_key_1135424215635717430.key) [2020-10-11T15:12:21.474Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-11T15:12:21.851Z] + git semver init [2020-10-11T15:12:21.851Z] # -> Open(): unable to determine branch for HEAD [2020-10-11T15:12:21.851Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-622/.git [2020-10-11T15:12:21.851Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-622 [2020-10-11T15:12:21.851Z] # $SEMVER_REMOTE_NAME = origin [2020-10-11T15:12:21.851Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-11T15:12:21.851Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-11T15:12:21.851Z] # $SEMVER_BRANCH = PR-622 [2020-10-11T15:12:21.851Z] # $SEMVER_TEMP = /tmp/semver-691334122 [2020-10-11T15:12:21.851Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-11T15:12:22.425Z] # '/tmp/semver-691334122' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-622/.semver' [2020-10-11T15:12:22.425Z] # -> Force: false [2020-10-11T15:12:22.425Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-622/.semver [Pipeline] } [2020-10-11T15:12:22.441Z] $ docker exec --env ******** --env ******** 2b952a890909665af3fca2ef9239b5cfd53db2c99ceeafe7585555c8a7eca8d4 ssh-agent -k [2020-10-11T15:12:22.546Z] unset SSH_AUTH_SOCK; [2020-10-11T15:12:22.551Z] unset SSH_AGENT_PID; [2020-10-11T15:12:22.551Z] echo Agent pid 51 killed; [2020-10-11T15:12:22.591Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-11T15:12:23.073Z] + git semver [Pipeline] } [2020-10-11T15:12:23.093Z] $ docker stop --time=1 2b952a890909665af3fca2ef9239b5cfd53db2c99ceeafe7585555c8a7eca8d4 [2020-10-11T15:12:24.647Z] $ docker rm -f 2b952a890909665af3fca2ef9239b5cfd53db2c99ceeafe7585555c8a7eca8d4 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-11T15:12:25.450Z] Stashed 47 file(s) [Pipeline] echo [2020-10-11T15:12:25.453Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-11T15:12:25.611Z] 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-11T15:12:41.017Z] Still waiting to schedule task [2020-10-11T15:12:41.018Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-11T15:12:41.020Z] Still waiting to schedule task [2020-10-11T15:12:41.020Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline [2020-10-11T15:14:26.101Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4621 in /w/workspace/dgexfoundry_device-sdk-go_PR-622 [Pipeline] { [Pipeline] ws [2020-10-11T15:14:26.166Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-11T15:14:31.447Z] using credential edgex-jenkins-ssh [2020-10-11T15:14:31.512Z] Cloning the remote Git repository [2020-10-11T15:14:31.565Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-11T15:14:31.674Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-10-11T15:14:31.750Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-11T15:14:31.751Z] > git --version # timeout=10 [2020-10-11T15:14:31.767Z] > git --version # 'git version 2.17.1' [2020-10-11T15:14:31.768Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-11T15:14:31.839Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-11T15:14:33.667Z] Merging remotes/origin/master commit d88b1cbf40a2b76841607f61ed40214ca5f9d347 into PR head commit 38ec482b070c805fd64ecf849190c6abdd066d8d [2020-10-11T15:14:32.927Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-11T15:14:32.943Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-11T15:14:32.971Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-11T15:14:33.006Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-11T15:14:33.007Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-11T15:14:33.022Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/622/head:refs/remotes/origin/PR-622 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-11T15:14:33.695Z] > git config core.sparsecheckout # timeout=10 [2020-10-11T15:14:33.929Z] Merge succeeded, producing 38ec482b070c805fd64ecf849190c6abdd066d8d [2020-10-11T15:14:33.929Z] Checking out Revision 38ec482b070c805fd64ecf849190c6abdd066d8d (PR-622) [2020-10-11T15:14:33.730Z] > git checkout -f 38ec482b070c805fd64ecf849190c6abdd066d8d # timeout=10 [2020-10-11T15:14:33.843Z] > git remote # timeout=10 [2020-10-11T15:14:33.861Z] > git config --get remote.origin.url # timeout=10 [2020-10-11T15:14:33.875Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-11T15:14:33.887Z] > git merge d88b1cbf40a2b76841607f61ed40214ca5f9d347 # timeout=10 [2020-10-11T15:14:33.909Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-11T15:14:33.940Z] > git config core.sparsecheckout # timeout=10 [2020-10-11T15:14:34.029Z] > git checkout -f 38ec482b070c805fd64ecf849190c6abdd066d8d # timeout=10 [2020-10-11T15:14:38.486Z] Commit message: "Merge branch 'master' into master" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-11T15:14:39.876Z] ========================================================= [2020-10-11T15:14:39.876Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-11T15:14:39.876Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-11T15:14:41.248Z] + 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-11T15:14:42.231Z] Sending build context to Docker daemon 3.53MB [2020-10-11T15:14:42.231Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-11T15:14:42.231Z] Step 2/8 : FROM ${BASE} [2020-10-11T15:14:42.502Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-11T15:14:42.502Z] b538f80385f9: Pulling fs layer [2020-10-11T15:14:42.502Z] 74f711af9a0d: Pulling fs layer [2020-10-11T15:14:42.502Z] 99f96fe45779: Pulling fs layer [2020-10-11T15:14:42.502Z] 8529a6b9a6be: Pulling fs layer [2020-10-11T15:14:42.502Z] 45590311c82a: Pulling fs layer [2020-10-11T15:14:42.502Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-11T15:14:42.502Z] 209524e5b208: Pulling fs layer [2020-10-11T15:14:42.502Z] 45590311c82a: Waiting [2020-10-11T15:14:42.502Z] 69ca0ff8b7b3: Waiting [2020-10-11T15:14:42.502Z] 8529a6b9a6be: Waiting [2020-10-11T15:14:42.502Z] 209524e5b208: Waiting [2020-10-11T15:14:42.502Z] 99f96fe45779: Verifying Checksum [2020-10-11T15:14:42.502Z] 99f96fe45779: Download complete [2020-10-11T15:14:42.502Z] 74f711af9a0d: Verifying Checksum [2020-10-11T15:14:42.502Z] 74f711af9a0d: Download complete [2020-10-11T15:14:42.502Z] 45590311c82a: Verifying Checksum [2020-10-11T15:14:42.502Z] 45590311c82a: Download complete [2020-10-11T15:14:42.779Z] 69ca0ff8b7b3: Download complete [2020-10-11T15:14:43.373Z] b538f80385f9: Download complete [2020-10-11T15:14:43.974Z] b538f80385f9: Pull complete [2020-10-11T15:14:44.583Z] 74f711af9a0d: Pull complete [2020-10-11T15:14:45.211Z] 99f96fe45779: Pull complete [2020-10-11T15:14:45.485Z] 209524e5b208: Verifying Checksum [2020-10-11T15:14:45.485Z] 209524e5b208: Download complete [2020-10-11T15:14:46.928Z] 8529a6b9a6be: Verifying Checksum [2020-10-11T15:14:46.928Z] 8529a6b9a6be: Download complete [2020-10-11T15:14:57.113Z] 8529a6b9a6be: Pull complete [2020-10-11T15:14:57.113Z] 45590311c82a: Pull complete [2020-10-11T15:14:57.113Z] 69ca0ff8b7b3: Pull complete [2020-10-11T15:15:01.450Z] 209524e5b208: Pull complete [2020-10-11T15:15:01.450Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-11T15:15:01.450Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-11T15:15:01.450Z] ---> 5bddaf1c2fca [2020-10-11T15:15:01.450Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-11T15:15:04.116Z] ---> Running in a0a1bb62eb96 [2020-10-11T15:15:04.116Z] Removing intermediate container a0a1bb62eb96 [2020-10-11T15:15:04.116Z] ---> f746f68dafb6 [2020-10-11T15:15:04.116Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-11T15:15:04.116Z] ---> Running in 0029310e145f [2020-10-11T15:15:07.501Z] Removing intermediate container 0029310e145f [2020-10-11T15:15:07.502Z] ---> 6edc79395223 [2020-10-11T15:15:07.502Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-11T15:15:07.502Z] ---> Running in e29460e73498 [2020-10-11T15:15:08.935Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-11T15:15:09.528Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-11T15:15:10.505Z] OK: 142 MiB in 39 packages [2020-10-11T15:15:11.948Z] Removing intermediate container e29460e73498 [2020-10-11T15:15:11.948Z] ---> 057d2f709448 [2020-10-11T15:15:11.948Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-11T15:15:11.948Z] ---> Running in 4416b65c2361 [2020-10-11T15:15:12.220Z] Removing intermediate container 4416b65c2361 [2020-10-11T15:15:12.220Z] ---> b14b5b132a29 [2020-10-11T15:15:12.220Z] Step 7/8 : COPY . . [2020-10-11T15:15:13.664Z] ---> 93bee6d8ff85 [2020-10-11T15:15:13.664Z] Step 8/8 : RUN go mod download [2020-10-11T15:15:13.938Z] ---> Running in c4d7e6b95805 [2020-10-11T15:15:29.686Z] Running on prd-centos7-docker-4c-2g-4622 in /w/workspace/dgexfoundry_device-sdk-go_PR-622 [Pipeline] { [Pipeline] ws [2020-10-11T15:15:29.782Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-11T15:15:36.160Z] Removing intermediate container c4d7e6b95805 [2020-10-11T15:15:36.160Z] ---> 04071da7afe5 [2020-10-11T15:15:36.160Z] Successfully built 04071da7afe5 [2020-10-11T15:15:36.160Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-11T15:15:36.569Z] + docker inspect -f . ci-base-image-arm64 [2020-10-11T15:15:36.569Z] . [Pipeline] withDockerContainer [2020-10-11T15:15:36.794Z] prd-ubuntu18.04-docker-arm64-4c-16g-4621 does not seem to be running inside a container [2020-10-11T15:15:36.884Z] $ 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 ******** ci-base-image-arm64 cat [2020-10-11T15:15:38.672Z] $ docker top f0b6ea04c4780181e22e4410699354e513be089a7d4a03b7d2ea30ef18633e09 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-11T15:15:39.098Z] using credential edgex-jenkins-ssh [2020-10-11T15:15:39.251Z] Cloning the remote Git repository [2020-10-11T15:15:40.098Z] + go version [2020-10-11T15:15:40.099Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-11T15:15:40.132Z] $ docker stop --time=1 f0b6ea04c4780181e22e4410699354e513be089a7d4a03b7d2ea30ef18633e09 [2020-10-11T15:15:39.375Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-11T15:15:39.456Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-10-11T15:15:39.563Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-11T15:15:39.564Z] > git --version # timeout=10 [2020-10-11T15:15:39.616Z] > git --version # 'git version 2.16.5' [2020-10-11T15:15:39.617Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-11T15:15:39.743Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-11T15:15:40.874Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-11T15:15:40.882Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-11T15:15:40.897Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-11T15:15:40.919Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-11T15:15:40.919Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-11T15:15:40.929Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/622/head:refs/remotes/origin/PR-622 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-11T15:15:41.506Z] Merging remotes/origin/master commit d88b1cbf40a2b76841607f61ed40214ca5f9d347 into PR head commit 38ec482b070c805fd64ecf849190c6abdd066d8d [2020-10-11T15:15:41.750Z] Merge succeeded, producing 38ec482b070c805fd64ecf849190c6abdd066d8d [2020-10-11T15:15:41.750Z] Checking out Revision 38ec482b070c805fd64ecf849190c6abdd066d8d (PR-622) [2020-10-11T15:15:42.044Z] $ docker rm -f f0b6ea04c4780181e22e4410699354e513be089a7d4a03b7d2ea30ef18633e09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-11T15:15:41.518Z] > git config core.sparsecheckout # timeout=10 [2020-10-11T15:15:41.557Z] > git checkout -f 38ec482b070c805fd64ecf849190c6abdd066d8d # timeout=10 [2020-10-11T15:15:41.647Z] > git remote # timeout=10 [2020-10-11T15:15:41.669Z] > git config --get remote.origin.url # timeout=10 [2020-10-11T15:15:41.697Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-11T15:15:41.714Z] > git merge d88b1cbf40a2b76841607f61ed40214ca5f9d347 # timeout=10 [2020-10-11T15:15:41.733Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-11T15:15:41.758Z] > git config core.sparsecheckout # timeout=10 [2020-10-11T15:15:41.774Z] > git checkout -f 38ec482b070c805fd64ecf849190c6abdd066d8d # timeout=10 [2020-10-11T15:15:43.055Z] + docker inspect -f . ci-base-image-arm64 [2020-10-11T15:15:43.055Z] . [Pipeline] withDockerContainer [2020-10-11T15:15:43.278Z] prd-ubuntu18.04-docker-arm64-4c-16g-4621 does not seem to be running inside a container [2020-10-11T15:15:43.362Z] $ 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 ******** ci-base-image-arm64 cat [2020-10-11T15:15:45.020Z] $ docker top 751c63e0c6e980849eb92410767e638ecd7efed739f6e46a80fc7f17b8a7edfe -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-11T15:15:46.379Z] + make test [2020-10-11T15:15:46.379Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-11T15:15:46.492Z] Commit message: "Merge branch 'master' into master" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-11T15:15:48.050Z] ========================================================= [2020-10-11T15:15:48.050Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-11T15:15:48.050Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-11T15:15:50.284Z] + 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-11T15:15:51.522Z] Sending build context to Docker daemon 3.532MB [2020-10-11T15:15:51.522Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-11T15:15:51.522Z] Step 2/8 : FROM ${BASE} [2020-10-11T15:15:51.799Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-11T15:15:51.799Z] df20fa9351a1: Pulling fs layer [2020-10-11T15:15:51.799Z] ed8968b2872e: Pulling fs layer [2020-10-11T15:15:51.799Z] a92cc7c5fd73: Pulling fs layer [2020-10-11T15:15:51.799Z] e871e8e8d7a9: Pulling fs layer [2020-10-11T15:15:51.799Z] e73272ec9a57: Pulling fs layer [2020-10-11T15:15:51.799Z] 1e910a182e73: Pulling fs layer [2020-10-11T15:15:51.799Z] 4e634b169226: Pulling fs layer [2020-10-11T15:15:51.799Z] e871e8e8d7a9: Waiting [2020-10-11T15:15:51.799Z] e73272ec9a57: Waiting [2020-10-11T15:15:51.799Z] 1e910a182e73: Waiting [2020-10-11T15:15:51.799Z] 4e634b169226: Waiting [2020-10-11T15:15:51.799Z] a92cc7c5fd73: Verifying Checksum [2020-10-11T15:15:51.799Z] a92cc7c5fd73: Download complete [2020-10-11T15:15:51.799Z] ed8968b2872e: Download complete [2020-10-11T15:15:51.799Z] e73272ec9a57: Verifying Checksum [2020-10-11T15:15:51.799Z] e73272ec9a57: Download complete [2020-10-11T15:15:51.799Z] 1e910a182e73: Verifying Checksum [2020-10-11T15:15:51.799Z] 1e910a182e73: Download complete [2020-10-11T15:15:52.544Z] df20fa9351a1: Verifying Checksum [2020-10-11T15:15:52.544Z] df20fa9351a1: Download complete [2020-10-11T15:15:53.611Z] df20fa9351a1: Pull complete [2020-10-11T15:15:53.890Z] ed8968b2872e: Pull complete [2020-10-11T15:15:54.167Z] a92cc7c5fd73: Pull complete [2020-10-11T15:16:00.444Z] 4e634b169226: Verifying Checksum [2020-10-11T15:16:00.445Z] 4e634b169226: Download complete [2020-10-11T15:16:02.265Z] e871e8e8d7a9: Download complete [2020-10-11T15:16:08.578Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-11T15:16:11.417Z] e871e8e8d7a9: Pull complete [2020-10-11T15:16:11.735Z] e73272ec9a57: Pull complete [2020-10-11T15:16:11.735Z] 1e910a182e73: Pull complete [2020-10-11T15:16:16.460Z] 4e634b169226: Pull complete [2020-10-11T15:16:16.460Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-11T15:16:16.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-11T15:16:16.460Z] ---> f7629b54cfaa [2020-10-11T15:16:16.460Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-11T15:16:16.753Z] ---> Running in 90f0edf3b505 [2020-10-11T15:16:17.044Z] Removing intermediate container 90f0edf3b505 [2020-10-11T15:16:17.045Z] ---> 0fa2bfd2b2c4 [2020-10-11T15:16:17.045Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-11T15:16:17.045Z] ---> Running in f8255ff50abc [2020-10-11T15:16:19.919Z] Removing intermediate container f8255ff50abc [2020-10-11T15:16:19.919Z] ---> f9b84b0a08e1 [2020-10-11T15:16:19.919Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-11T15:16:19.919Z] ---> Running in 30f52508114f [2020-10-11T15:16:20.540Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-11T15:16:21.137Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-11T15:16:22.180Z] OK: 166 MiB in 39 packages [2020-10-11T15:16:22.780Z] Removing intermediate container 30f52508114f [2020-10-11T15:16:22.780Z] ---> b30505ab3cac [2020-10-11T15:16:22.780Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-11T15:16:22.780Z] ---> Running in e4e43640b6c2 [2020-10-11T15:16:23.065Z] Removing intermediate container e4e43640b6c2 [2020-10-11T15:16:23.065Z] ---> 29ab163d5708 [2020-10-11T15:16:23.065Z] Step 7/8 : COPY . . [2020-10-11T15:16:25.097Z] ---> a2178884adc8 [2020-10-11T15:16:25.097Z] Step 8/8 : RUN go mod download [2020-10-11T15:16:25.097Z] ---> Running in 57eb0d1d871e [2020-10-11T15:16:47.642Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-11T15:16:47.642Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-11T15:16:47.642Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-11T15:16:47.642Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.126s coverage: 21.6% of statements [2020-10-11T15:16:48.627Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.204s coverage: 97.1% of statements [2020-10-11T15:16:52.155Z] Removing intermediate container 57eb0d1d871e [2020-10-11T15:16:52.155Z] ---> cd779bd80042 [2020-10-11T15:16:52.155Z] Successfully built cd779bd80042 [2020-10-11T15:16:52.155Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-11T15:16:53.039Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-11T15:16:53.039Z] . [Pipeline] withDockerContainer [2020-10-11T15:16:53.282Z] prd-centos7-docker-4c-2g-4622 does not seem to be running inside a container [2020-10-11T15:16:53.598Z] $ 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-x86_64 cat [2020-10-11T15:16:55.102Z] $ docker top 6889a771594125cc8652483ef5822b7d99d5f583ee376f1ab606a849e083e303 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-11T15:16:55.879Z] + go version [2020-10-11T15:16:55.879Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-11T15:16:55.982Z] $ docker stop --time=1 6889a771594125cc8652483ef5822b7d99d5f583ee376f1ab606a849e083e303 [2020-10-11T15:16:57.702Z] $ docker rm -f 6889a771594125cc8652483ef5822b7d99d5f583ee376f1ab606a849e083e303 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-11T15:17:02.756Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-11T15:17:02.756Z] . [Pipeline] withDockerContainer [2020-10-11T15:17:02.999Z] prd-centos7-docker-4c-2g-4622 does not seem to be running inside a container [2020-10-11T15:17:03.162Z] $ 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-x86_64 cat [2020-10-11T15:17:04.118Z] $ docker top 433ccb6a90f19777425690c3bec492a8de928fc96165381a8561a231a339a84d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-11T15:17:04.768Z] + make test [2020-10-11T15:17:04.768Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-11T15:17:20.932Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-11T15:17:20.995Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.120s coverage: 9.4% of statements [2020-10-11T15:17:20.995Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.120s coverage: 21.9% of statements [2020-10-11T15:17:20.995Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-11T15:17:20.995Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.559s coverage: 40.0% of statements [2020-10-11T15:17:20.995Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-11T15:17:20.995Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.742s coverage: 68.9% of statements [2020-10-11T15:17:20.995Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-11T15:17:20.995Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-11T15:17:20.995Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-11T15:17:20.995Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-11T15:17:20.995Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.185s coverage: 52.6% of statements [2020-10-11T15:17:20.995Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-11T15:17:20.995Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.627s coverage: 68.9% of statements [2020-10-11T15:17:20.995Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-11T15:17:20.995Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-11T15:17:20.995Z] GO111MODULE=on go vet ./... [2020-10-11T15:17:43.558Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-11T15:17:43.558Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-11T15:17:43.558Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-11T15:17:43.558Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.086s coverage: 21.6% of statements [2020-10-11T15:17:46.553Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.633s coverage: 97.1% of statements [2020-10-11T15:17:47.835Z] gofmt -l . [2020-10-11T15:17:47.835Z] [ "`gofmt -l .`" = "" ] [2020-10-11T15:17:47.835Z] ./bin/test-attribution-txt.sh [2020-10-11T15:17:47.835Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-11T15:17:48.739Z] Stashed 1 file(s) [Pipeline] } [2020-10-11T15:17:48.765Z] $ docker stop --time=1 751c63e0c6e980849eb92410767e638ecd7efed739f6e46a80fc7f17b8a7edfe [2020-10-11T15:17:51.050Z] $ docker rm -f 751c63e0c6e980849eb92410767e638ecd7efed739f6e46a80fc7f17b8a7edfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-11T15:17:54.803Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-11T15:17:55.175Z] + ls -al . [2020-10-11T15:17:55.176Z] total 228 [2020-10-11T15:17:55.176Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 11 15:17 . [2020-10-11T15:17:55.176Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 15:14 .. [2020-10-11T15:17:55.176Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 11 15:14 .dockerignore [2020-10-11T15:17:55.176Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 15:14 .git [2020-10-11T15:17:55.176Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 15:14 .github [2020-10-11T15:17:55.176Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 11 15:14 .gitignore [2020-10-11T15:17:55.176Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 15:14 .semver [2020-10-11T15:17:55.176Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 11 15:14 Dockerfile.build [2020-10-11T15:17:55.176Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 11 15:14 Jenkinsfile [2020-10-11T15:17:55.176Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 11 15:14 LICENSE [2020-10-11T15:17:55.176Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 11 15:14 Makefile [2020-10-11T15:17:55.176Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 11 15:14 README.md [2020-10-11T15:17:55.176Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 11 15:14 RELEASE-NOTES.txt [2020-10-11T15:17:55.176Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 15:12 VERSION [2020-10-11T15:17:55.176Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 15:14 bin [2020-10-11T15:17:55.176Z] -rw-r--r-- 1 jenkins jenkins 110392 Oct 11 15:17 coverage.out [2020-10-11T15:17:55.176Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 15:14 example [2020-10-11T15:17:55.176Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 11 15:17 go.mod [2020-10-11T15:17:55.176Z] -rw-r--r-- 1 jenkins jenkins 13652 Oct 11 15:17 go.sum [2020-10-11T15:17:55.176Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 11 15:14 internal [2020-10-11T15:17:55.176Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 15:14 openapi [2020-10-11T15:17:55.176Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 11 15:14 pkg [2020-10-11T15:17:55.176Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 15:14 snap [2020-10-11T15:17:55.176Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 11 15:14 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-11T15:17:55.529Z] + 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=38ec482b070c805fd64ecf849190c6abdd066d8d --label arch=arm64 --label version=0.0.0 . [2020-10-11T15:17:56.120Z] Sending build context to Docker daemon 3.641MB [2020-10-11T15:17:56.120Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-11T15:17:56.120Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-11T15:17:56.120Z] ---> 04071da7afe5 [2020-10-11T15:17:56.120Z] Step 3/24 : ARG MAKE='make build' [2020-10-11T15:17:56.392Z] ---> Running in e0adf1e02b2a [2020-10-11T15:17:56.665Z] Removing intermediate container e0adf1e02b2a [2020-10-11T15:17:56.665Z] ---> adff4b2cc537 [2020-10-11T15:17:56.665Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-11T15:17:56.938Z] ---> Running in 3fa2497a39f0 [2020-10-11T15:17:57.212Z] Removing intermediate container 3fa2497a39f0 [2020-10-11T15:17:57.212Z] ---> 938ac3fad1bc [2020-10-11T15:17:57.212Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-11T15:17:57.489Z] ---> Running in 35055c6cc4e7 [2020-10-11T15:17:57.760Z] Removing intermediate container 35055c6cc4e7 [2020-10-11T15:17:57.760Z] ---> 9c7eca099ecd [2020-10-11T15:17:57.760Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-11T15:17:58.030Z] ---> Running in cce9bdefac67 [2020-10-11T15:18:00.643Z] Removing intermediate container cce9bdefac67 [2020-10-11T15:18:00.643Z] ---> b9fc7b01665c [2020-10-11T15:18:00.643Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-11T15:18:00.643Z] ---> Running in 0e2a23da37cd [2020-10-11T15:18:02.069Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-11T15:18:02.663Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-11T15:18:03.254Z] OK: 142 MiB in 39 packages [2020-10-11T15:18:04.686Z] Removing intermediate container 0e2a23da37cd [2020-10-11T15:18:04.686Z] ---> 582a9c095a05 [2020-10-11T15:18:04.686Z] Step 8/24 : COPY . . [2020-10-11T15:18:06.128Z] ---> 2de5ac088ad4 [2020-10-11T15:18:06.128Z] Step 9/24 : RUN ${MAKE} [2020-10-11T15:18:06.128Z] ---> Running in 9787abc1c585 [2020-10-11T15:18:07.563Z] 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-11T15:18:19.294Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.078s coverage: 9.4% of statements [2020-10-11T15:18:19.294Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.054s coverage: 21.9% of statements [2020-10-11T15:18:19.294Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-11T15:18:19.294Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.322s coverage: 40.0% of statements [2020-10-11T15:18:19.294Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-11T15:18:19.294Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.388s coverage: 68.9% of statements [2020-10-11T15:18:19.294Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-11T15:18:19.294Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-11T15:18:19.294Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-11T15:18:19.294Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-11T15:18:19.294Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.163s coverage: 52.6% of statements [2020-10-11T15:18:19.294Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-11T15:18:19.294Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.750s coverage: 68.9% of statements [2020-10-11T15:18:19.294Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-11T15:18:19.294Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-11T15:18:19.294Z] GO111MODULE=on go vet ./... [2020-10-11T15:18:34.394Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-11T15:18:34.394Z] Removing intermediate container 9787abc1c585 [2020-10-11T15:18:34.394Z] ---> 272e9c41cb2a [2020-10-11T15:18:34.394Z] Step 10/24 : FROM scratch [2020-10-11T15:18:34.394Z] ---> [2020-10-11T15:18:34.394Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-11T15:18:34.394Z] ---> Running in dabed4262330 [2020-10-11T15:18:34.394Z] Removing intermediate container dabed4262330 [2020-10-11T15:18:34.394Z] ---> 1138b02cec71 [2020-10-11T15:18:34.394Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-11T15:18:34.394Z] ---> Running in 8a02703e4ac1 [2020-10-11T15:18:34.394Z] Removing intermediate container 8a02703e4ac1 [2020-10-11T15:18:34.394Z] ---> b44eef55e294 [2020-10-11T15:18:34.394Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-11T15:18:34.394Z] ---> Running in 000d817fe249 [2020-10-11T15:18:34.995Z] Removing intermediate container 000d817fe249 [2020-10-11T15:18:34.995Z] ---> 43ad57a1dd8b [2020-10-11T15:18:34.995Z] Step 14/24 : WORKDIR / [2020-10-11T15:18:34.995Z] ---> Running in 96e39cd4c6e4 [2020-10-11T15:18:35.066Z] gofmt -l . [2020-10-11T15:18:35.268Z] Removing intermediate container 96e39cd4c6e4 [2020-10-11T15:18:35.268Z] ---> a0ee22091bcc [2020-10-11T15:18:35.268Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-11T15:18:35.352Z] [ "`gofmt -l .`" = "" ] [2020-10-11T15:18:35.628Z] ./bin/test-attribution-txt.sh [2020-10-11T15:18:36.614Z] ./bin/test-go-mod-tidy.sh [2020-10-11T15:18:36.701Z] ---> a955561a2580 [2020-10-11T15:18:36.701Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [Pipeline] stash [2020-10-11T15:18:36.900Z] Warning: overwriting stash ‘coverage-report’ [2020-10-11T15:18:37.295Z] ---> 6ce6ce889668 [2020-10-11T15:18:37.295Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-11T15:18:37.472Z] Stashed 1 file(s) [Pipeline] } [2020-10-11T15:18:37.487Z] $ docker stop --time=1 433ccb6a90f19777425690c3bec492a8de928fc96165381a8561a231a339a84d [2020-10-11T15:18:38.271Z] ---> fe9b8f720fc3 [2020-10-11T15:18:38.272Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-11T15:18:38.866Z] ---> bdb6798786c3 [2020-10-11T15:18:38.866Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-11T15:18:39.465Z] ---> 5d307c47abeb [2020-10-11T15:18:39.465Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-11T15:18:39.465Z] ---> Running in 0f11f64ece34 [2020-10-11T15:18:39.559Z] $ docker rm -f 433ccb6a90f19777425690c3bec492a8de928fc96165381a8561a231a339a84d [Pipeline] // withDockerContainer [2020-10-11T15:18:40.062Z] Removing intermediate container 0f11f64ece34 [2020-10-11T15:18:40.062Z] ---> bc56480bb3fc [2020-10-11T15:18:40.062Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-11T15:18:40.062Z] ---> Running in 2f629a029838 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-11T15:18:40.661Z] Removing intermediate container 2f629a029838 [2020-10-11T15:18:40.661Z] ---> d2479faa8c17 [2020-10-11T15:18:40.661Z] Step 22/24 : LABEL arch=arm64 [2020-10-11T15:18:40.661Z] ---> Running in da5e3a4cbefa [2020-10-11T15:18:40.817Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-11T15:18:41.142Z] + ls -al . [2020-10-11T15:18:41.142Z] total 188 [2020-10-11T15:18:41.142Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 11 15:18 . [2020-10-11T15:18:41.142Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 11 15:15 .. [2020-10-11T15:18:41.142Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 11 15:15 bin [2020-10-11T15:18:41.142Z] -rw-r--r--. 1 jenkins jenkins 110392 Oct 11 15:18 coverage.out [2020-10-11T15:18:41.142Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 11 15:15 Dockerfile.build [2020-10-11T15:18:41.142Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 11 15:15 .dockerignore [2020-10-11T15:18:41.142Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 11 15:15 example [2020-10-11T15:18:41.142Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 11 15:15 .git [2020-10-11T15:18:41.142Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 11 15:15 .github [2020-10-11T15:18:41.142Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 11 15:15 .gitignore [2020-10-11T15:18:41.142Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 11 15:18 go.mod [2020-10-11T15:18:41.142Z] -rw-r--r--. 1 jenkins jenkins 13652 Oct 11 15:18 go.sum [2020-10-11T15:18:41.142Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 11 15:15 internal [2020-10-11T15:18:41.142Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 11 15:15 Jenkinsfile [2020-10-11T15:18:41.142Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 11 15:15 LICENSE [2020-10-11T15:18:41.142Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 11 15:15 Makefile [2020-10-11T15:18:41.142Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 11 15:15 openapi [2020-10-11T15:18:41.142Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 11 15:15 pkg [2020-10-11T15:18:41.142Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 11 15:15 README.md [2020-10-11T15:18:41.142Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 11 15:15 RELEASE-NOTES.txt [2020-10-11T15:18:41.142Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 11 15:15 .semver [2020-10-11T15:18:41.142Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 11 15:15 snap [2020-10-11T15:18:41.142Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 11 15:12 VERSION [2020-10-11T15:18:41.142Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 11 15:15 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-11T15:18:41.257Z] Removing intermediate container da5e3a4cbefa [2020-10-11T15:18:41.257Z] ---> 7f5674bf3aec [2020-10-11T15:18:41.257Z] Step 23/24 : LABEL git_sha=38ec482b070c805fd64ecf849190c6abdd066d8d [2020-10-11T15:18:41.257Z] ---> Running in 3eb09d0d251a [2020-10-11T15:18:41.496Z] + 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=38ec482b070c805fd64ecf849190c6abdd066d8d --label arch=amd64 --label version=0.0.0 . [2020-10-11T15:18:41.850Z] Removing intermediate container 3eb09d0d251a [2020-10-11T15:18:41.850Z] ---> ce17bcb41f9d [2020-10-11T15:18:41.850Z] Step 24/24 : LABEL version=0.0.0 [2020-10-11T15:18:41.850Z] ---> Running in dc041f6d7597 [2020-10-11T15:18:42.079Z] Sending build context to Docker daemon 3.643MB [2020-10-11T15:18:42.079Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-11T15:18:42.079Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-11T15:18:42.079Z] ---> cd779bd80042 [2020-10-11T15:18:42.079Z] Step 3/24 : ARG MAKE='make build' [2020-10-11T15:18:42.346Z] ---> Running in dfdd53f5b3e0 [2020-10-11T15:18:42.445Z] Removing intermediate container dc041f6d7597 [2020-10-11T15:18:42.445Z] ---> 5ac9e5e7e91f [2020-10-11T15:18:42.445Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-11T15:18:42.445Z] Successfully built 5ac9e5e7e91f [2020-10-11T15:18:42.445Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2020-10-11T15:18:42.619Z] Removing intermediate container dfdd53f5b3e0 [2020-10-11T15:18:42.619Z] ---> 8c6a1624f07c [2020-10-11T15:18:42.619Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-11T15:18:42.619Z] ---> Running in bf2b97001846 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2020-10-11T15:18:42.888Z] Removing intermediate container bf2b97001846 [2020-10-11T15:18:42.888Z] ---> 9e86b9a48a67 [2020-10-11T15:18:42.888Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [2020-10-11T15:18:43.160Z] ---> Running in a63dfccee48a [2020-10-11T15:18:43.160Z] Removing intermediate container a63dfccee48a [2020-10-11T15:18:43.160Z] ---> 2140ce293f8c [2020-10-11T15:18:43.160Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-10-11T15:18:43.427Z] ---> Running in e6f9abe7ae80 [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-11T15:18:44.862Z] Removing intermediate container e6f9abe7ae80 [2020-10-11T15:18:44.862Z] ---> 97c13aace9ae [2020-10-11T15:18:44.862Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-11T15:18:44.862Z] ---> Running in fe48270a11ee [2020-10-11T15:18:45.459Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-11T15:18:46.048Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-11T15:18:46.702Z] OK: 166 MiB in 39 packages [2020-10-11T15:18:47.366Z] Removing intermediate container fe48270a11ee [2020-10-11T15:18:47.366Z] ---> ec2e176a397f [2020-10-11T15:18:47.366Z] Step 8/24 : COPY . . [2020-10-11T15:18:48.347Z] ---> f8eb0ff06907 [2020-10-11T15:18:48.347Z] Step 9/24 : RUN ${MAKE} [2020-10-11T15:18:48.347Z] ---> Running in 0ecd7b5da6ec [2020-10-11T15:18:49.399Z] 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-11T15:19:04.795Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-11T15:19:08.202Z] Removing intermediate container 0ecd7b5da6ec [2020-10-11T15:19:08.202Z] ---> d87c2c5db528 [2020-10-11T15:19:08.202Z] Step 10/24 : FROM scratch [2020-10-11T15:19:08.202Z] ---> [2020-10-11T15:19:08.202Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-11T15:19:08.202Z] ---> Running in 8ae5062f6d37 [2020-10-11T15:19:08.202Z] Removing intermediate container 8ae5062f6d37 [2020-10-11T15:19:08.202Z] ---> 6a34f30505c9 [2020-10-11T15:19:08.202Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-11T15:19:08.471Z] ---> Running in e3aa9d324201 [2020-10-11T15:19:08.471Z] Removing intermediate container e3aa9d324201 [2020-10-11T15:19:08.471Z] ---> 3400003fd02d [2020-10-11T15:19:08.471Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-11T15:19:08.471Z] ---> Running in 6da3ecf2b755 [2020-10-11T15:19:08.771Z] Removing intermediate container 6da3ecf2b755 [2020-10-11T15:19:08.771Z] ---> 48aafc29bb2b [2020-10-11T15:19:08.771Z] Step 14/24 : WORKDIR / [2020-10-11T15:19:08.771Z] ---> Running in c47e61e3413f [2020-10-11T15:19:09.079Z] Removing intermediate container c47e61e3413f [2020-10-11T15:19:09.079Z] ---> 96d148096e6d [2020-10-11T15:19:09.079Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-11T15:19:09.710Z] ---> da0622b03c11 [2020-10-11T15:19:09.710Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-11T15:19:10.322Z] ---> 55c8349d67f6 [2020-10-11T15:19:10.322Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-11T15:19:10.634Z] ---> 9c34e3bc9658 [2020-10-11T15:19:10.634Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-11T15:19:10.935Z] ---> 83ee08d59bb0 [2020-10-11T15:19:10.935Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-11T15:19:11.559Z] ---> 4093f4ea8d0e [2020-10-11T15:19:11.559Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-11T15:19:11.559Z] ---> Running in 1d9ee7b8541a [2020-10-11T15:19:11.837Z] Removing intermediate container 1d9ee7b8541a [2020-10-11T15:19:11.837Z] ---> 06e18bc57528 [2020-10-11T15:19:11.837Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-11T15:19:11.837Z] ---> Running in 97060d6a14de [2020-10-11T15:19:12.132Z] Removing intermediate container 97060d6a14de [2020-10-11T15:19:12.132Z] ---> 0ac36882c4b5 [2020-10-11T15:19:12.132Z] Step 22/24 : LABEL arch=amd64 [2020-10-11T15:19:12.132Z] ---> Running in 750a8dff445e [2020-10-11T15:19:12.398Z] Removing intermediate container 750a8dff445e [2020-10-11T15:19:12.398Z] ---> eb3c21ca4026 [2020-10-11T15:19:12.398Z] Step 23/24 : LABEL git_sha=38ec482b070c805fd64ecf849190c6abdd066d8d [2020-10-11T15:19:12.398Z] ---> Running in 5a52c8fb7a7a [2020-10-11T15:19:12.677Z] Removing intermediate container 5a52c8fb7a7a [2020-10-11T15:19:12.677Z] ---> 108ae78557d2 [2020-10-11T15:19:12.677Z] Step 24/24 : LABEL version=0.0.0 [2020-10-11T15:19:12.677Z] ---> Running in 9d4e98aaff2e [2020-10-11T15:19:13.275Z] Removing intermediate container 9d4e98aaff2e [2020-10-11T15:19:13.275Z] ---> 3687f528783f [2020-10-11T15:19:13.275Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-11T15:19:13.275Z] Successfully built 3687f528783f [2020-10-11T15:19:13.275Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-10-11T15:19:15.687Z] provisioning config files... [2020-10-11T15:19:15.700Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-622@tmp/config4405989534162342868tmp [Pipeline] { [Pipeline] sh [2020-10-11T15:19:16.088Z] + set +x [2020-10-11T15:19:16.088Z] + bash -s -- [2020-10-11T15:19:16.088Z] + curl -s https://codecov.io/bash [2020-10-11T15:19:16.350Z] [2020-10-11T15:19:16.350Z] _____ _ [2020-10-11T15:19:16.350Z] / ____| | | [2020-10-11T15:19:16.350Z] | | ___ __| | ___ ___ _____ __ [2020-10-11T15:19:16.350Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-11T15:19:16.350Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-11T15:19:16.350Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-11T15:19:16.350Z] Bash-20201009-048fee3 [2020-10-11T15:19:16.350Z] [2020-10-11T15:19:16.350Z] [2020-10-11T15:19:16.350Z] ==> Jenkins CI detected. [2020-10-11T15:19:16.350Z] project root: . [2020-10-11T15:19:16.350Z] Fixing merge commit SHA [2020-10-11T15:19:16.350Z] --> token set from env [2020-10-11T15:19:16.350Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-11T15:19:16.350Z] ==> Running gcov in . (disable via -X gcov) [2020-10-11T15:19:16.350Z] ==> Python coveragepy not found [2020-10-11T15:19:16.350Z] ==> Searching for coverage reports in: [2020-10-11T15:19:16.350Z] + . [2020-10-11T15:19:16.350Z] -> Found 1 reports [2020-10-11T15:19:16.350Z] ==> Detecting git/mercurial file structure [2020-10-11T15:19:16.350Z] ==> Reading reports [2020-10-11T15:19:16.612Z] + ./coverage.out bytes=110392 [2020-10-11T15:19:16.612Z] ==> Appending adjustments [2020-10-11T15:19:16.612Z] https://docs.codecov.io/docs/fixing-reports [2020-10-11T15:19:16.874Z] + Found adjustments [2020-10-11T15:19:16.874Z] ==> Gzipping contents [2020-10-11T15:19:16.874Z] ==> Uploading reports [2020-10-11T15:19:16.874Z] url: https://codecov.io [2020-10-11T15:19:16.874Z] query: branch=PR-622&commit=d88b1cbf40a2b76841607f61ed40214ca5f9d347&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-622%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=622&job=&cmd_args= [2020-10-11T15:19:16.874Z] -> Pinging Codecov [2020-10-11T15:19:16.874Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-622&commit=d88b1cbf40a2b76841607f61ed40214ca5f9d347&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-622%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=622&job=&cmd_args= [2020-10-11T15:19:17.145Z] -> Uploading to [2020-10-11T15:19:17.145Z] [2020-10-11T15:19:17.145Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-11T15:19:17.145Z] Dload Upload Total Spent Left Speed [2020-10-11T15:19:17.145Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-11T15:19:17.145Z] X> Failed to upload [2020-10-11T15:19:17.145Z] ==> Uploading to Codecov [2020-10-11T15:19:17.145Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-11T15:19:17.145Z] Dload Upload Total Spent Left Speed [2020-10-11T15:19:17.717Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18453 100 110 100 18343 203 34014 --:--:-- --:--:-- --:--:-- 34031 [2020-10-11T15:19:17.717Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d88b1cbf40a2b76841607f61ed40214ca5f9d347 [Pipeline] } [2020-10-11T15:19:17.726Z] 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-11T15:19:20.332Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-11T15:19:20.897Z] ---> package-listing.sh [2020-10-11T15:19:20.897Z] ++ facter osfamily [2020-10-11T15:19:20.897Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-11T15:19:20.897Z] + OS_FAMILY=redhat [2020-10-11T15:19:20.897Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-622 [2020-10-11T15:19:20.897Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-11T15:19:20.897Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-11T15:19:20.897Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-11T15:19:20.897Z] + PACKAGES=/tmp/packages_start.txt [2020-10-11T15:19:20.897Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-622 ']' [2020-10-11T15:19:20.897Z] + PACKAGES=/tmp/packages_end.txt [2020-10-11T15:19:20.897Z] + case "${OS_FAMILY}" in [2020-10-11T15:19:20.897Z] + rpm -qa [2020-10-11T15:19:20.897Z] + sort [2020-10-11T15:19:25.117Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-11T15:19:25.117Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-11T15:19:25.117Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-11T15:19:25.117Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-622 ']' [2020-10-11T15:19:25.117Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-622/archives/ [2020-10-11T15:19:25.117Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-622/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-11T15:19:25.733Z] provisioning config files... [2020-10-11T15:19:25.749Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-622@tmp/config489637689060256595tmp [Pipeline] { [Pipeline] echo [2020-10-11T15:19:25.828Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-11T15:19:26.121Z] ---> create-netrc.sh [Pipeline] } [2020-10-11T15:19:26.130Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-11T15:19:26.232Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-11T15:19:26.527Z] ---> python-tools-install.sh [2020-10-11T15:19:26.527Z] Generating Requirements File [2020-10-11T15:20:48.082Z] Python 3.6.8 [2020-10-11T15:20:48.082Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-11T15:20:48.082Z] appdirs==1.4.3 [2020-10-11T15:20:48.082Z] argcomplete==1.12.1 [2020-10-11T15:20:48.082Z] aspy.yaml==1.3.0 [2020-10-11T15:20:48.082Z] attrs==19.3.0 [2020-10-11T15:20:48.082Z] Babel==2.8.0 [2020-10-11T15:20:48.082Z] beautifulsoup4==4.8.2 [2020-10-11T15:20:48.082Z] boto3==1.11.6 [2020-10-11T15:20:48.082Z] botocore==1.14.6 [2020-10-11T15:20:48.082Z] bs4==0.0.1 [2020-10-11T15:20:48.082Z] cachetools==4.1.1 [2020-10-11T15:20:48.082Z] certifi==2019.11.28 [2020-10-11T15:20:48.082Z] cffi==1.14.3 [2020-10-11T15:20:48.082Z] cfgv==2.0.1 [2020-10-11T15:20:48.082Z] chardet==3.0.4 [2020-10-11T15:20:48.082Z] click==7.1 [2020-10-11T15:20:48.082Z] cliff==3.4.0 [2020-10-11T15:20:48.082Z] cmd2==1.3.11 [2020-10-11T15:20:48.082Z] colorama==0.4.3 [2020-10-11T15:20:48.082Z] cryptography==3.1.1 [2020-10-11T15:20:48.082Z] debtcollector==2.2.0 [2020-10-11T15:20:48.082Z] decorator==4.4.2 [2020-10-11T15:20:48.082Z] defusedxml==0.6.0 [2020-10-11T15:20:48.082Z] Deprecated==1.2.7 [2020-10-11T15:20:48.082Z] distlib==0.3.1 [2020-10-11T15:20:48.082Z] distro==1.2.0 [2020-10-11T15:20:48.082Z] dnspython==1.16.0 [2020-10-11T15:20:48.082Z] docker==4.2.0 [2020-10-11T15:20:48.082Z] docutils==0.15.2 [2020-10-11T15:20:48.082Z] dogpile.cache==1.0.2 [2020-10-11T15:20:48.083Z] email-validator==1.0.5 [2020-10-11T15:20:48.083Z] filelock==3.0.12 [2020-10-11T15:20:48.083Z] future==0.18.2 [2020-10-11T15:20:48.083Z] google-auth==1.22.1 [2020-10-11T15:20:48.083Z] httplib2==0.17.0 [2020-10-11T15:20:48.083Z] identify==1.4.11 [2020-10-11T15:20:48.083Z] idna==2.9 [2020-10-11T15:20:48.083Z] importlib-metadata==2.0.0 [2020-10-11T15:20:48.083Z] importlib-resources==1.5.0 [2020-10-11T15:20:48.083Z] iso8601==0.1.13 [2020-10-11T15:20:48.083Z] Jinja2==2.11.1 [2020-10-11T15:20:48.083Z] jmespath==0.10.0 [2020-10-11T15:20:48.083Z] jsonpatch==1.26 [2020-10-11T15:20:48.083Z] jsonpointer==2.0 [2020-10-11T15:20:48.083Z] jsonschema==3.2.0 [2020-10-11T15:20:48.083Z] keystoneauth1==4.2.1 [2020-10-11T15:20:48.083Z] kubernetes==11.0.0 [2020-10-11T15:20:48.083Z] lftools==0.34.2 [2020-10-11T15:20:48.083Z] lxml==4.5.0 [2020-10-11T15:20:48.083Z] MarkupSafe==0.23 [2020-10-11T15:20:48.083Z] msgpack==1.0.0 [2020-10-11T15:20:48.083Z] multi-key-dict==2.0.3 [2020-10-11T15:20:48.083Z] munch==2.5.0 [2020-10-11T15:20:48.083Z] netaddr==0.8.0 [2020-10-11T15:20:48.083Z] netifaces==0.10.9 [2020-10-11T15:20:48.083Z] niet==1.4.2 [2020-10-11T15:20:48.083Z] nodeenv==1.3.5 [2020-10-11T15:20:48.083Z] oauth2client==4.1.3 [2020-10-11T15:20:48.083Z] oauthlib==3.1.0 [2020-10-11T15:20:48.083Z] openstacksdk==0.50.0 [2020-10-11T15:20:48.083Z] os-client-config==2.1.0 [2020-10-11T15:20:48.083Z] os-service-types==1.7.0 [2020-10-11T15:20:48.083Z] osc-lib==2.2.1 [2020-10-11T15:20:48.083Z] oslo.config==8.3.2 [2020-10-11T15:20:48.083Z] oslo.context==3.1.1 [2020-10-11T15:20:48.083Z] oslo.i18n==5.0.1 [2020-10-11T15:20:48.083Z] oslo.log==4.4.0 [2020-10-11T15:20:48.083Z] oslo.serialization==4.0.1 [2020-10-11T15:20:48.083Z] oslo.utils==4.6.0 [2020-10-11T15:20:48.083Z] packaging==20.4 [2020-10-11T15:20:48.083Z] pbr==5.4.4 [2020-10-11T15:20:48.083Z] pluggy==0.13.1 [2020-10-11T15:20:48.083Z] prettytable==0.7.2 [2020-10-11T15:20:48.083Z] py==1.9.0 [2020-10-11T15:20:48.083Z] pyasn1==0.4.8 [2020-10-11T15:20:48.083Z] pyasn1-modules==0.2.8 [2020-10-11T15:20:48.083Z] pycparser==2.20 [2020-10-11T15:20:48.083Z] pygerrit2==2.0.10 [2020-10-11T15:20:48.083Z] PyGithub==1.46 [2020-10-11T15:20:48.083Z] pyinotify==0.9.6 [2020-10-11T15:20:48.083Z] PyJWT==1.7.1 [2020-10-11T15:20:48.083Z] pyparsing==2.4.7 [2020-10-11T15:20:48.083Z] pyperclip==1.8.1 [2020-10-11T15:20:48.083Z] pyroute2==0.4.13 [2020-10-11T15:20:48.083Z] pyrsistent==0.15.7 [2020-10-11T15:20:48.083Z] PySocks==1.6.8 [2020-10-11T15:20:48.083Z] python-cinderclient==7.2.0 [2020-10-11T15:20:48.083Z] python-dateutil==2.8.1 [2020-10-11T15:20:48.083Z] python-heatclient==2.2.1 [2020-10-11T15:20:48.083Z] python-jenkins==1.7.0 [2020-10-11T15:20:48.083Z] python-keystoneclient==4.1.1 [2020-10-11T15:20:48.083Z] python-magnumclient==3.2.1 [2020-10-11T15:20:48.083Z] python-novaclient==17.2.1 [2020-10-11T15:20:48.083Z] python-openstackclient==5.4.0 [2020-10-11T15:20:48.083Z] python-swiftclient==3.10.1 [2020-10-11T15:20:48.083Z] pytz==2020.1 [2020-10-11T15:20:48.083Z] PyYAML==5.3 [2020-10-11T15:20:48.083Z] requests==2.23.0 [2020-10-11T15:20:48.083Z] requests-oauthlib==1.3.0 [2020-10-11T15:20:48.083Z] requestsexceptions==1.4.0 [2020-10-11T15:20:48.083Z] rfc3986==1.4.0 [2020-10-11T15:20:48.083Z] rpm==4.11.3 [2020-10-11T15:20:48.083Z] rsa==4.0 [2020-10-11T15:20:48.083Z] ruamel.yaml==0.16.10 [2020-10-11T15:20:48.083Z] ruamel.yaml.clib==0.2.0 [2020-10-11T15:20:48.083Z] s3transfer==0.3.3 [2020-10-11T15:20:48.083Z] shade==1.27.2 [2020-10-11T15:20:48.083Z] simplejson==3.17.2 [2020-10-11T15:20:48.083Z] six==1.14.0 [2020-10-11T15:20:48.083Z] soupsieve==2.0 [2020-10-11T15:20:48.083Z] stevedore==3.2.2 [2020-10-11T15:20:48.083Z] tabulate==0.8.6 [2020-10-11T15:20:48.083Z] toml==0.10.0 [2020-10-11T15:20:48.083Z] tox==3.20.1 [2020-10-11T15:20:48.083Z] tqdm==4.43.0 [2020-10-11T15:20:48.083Z] urllib3==1.25.8 [2020-10-11T15:20:48.083Z] virtualenv==20.0.33 [2020-10-11T15:20:48.083Z] wcwidth==0.2.5 [2020-10-11T15:20:48.083Z] websocket-client==0.57.0 [2020-10-11T15:20:48.083Z] wrapt==1.12.1 [2020-10-11T15:20:48.083Z] xdg==3.0.2 [2020-10-11T15:20:48.083Z] xmltodict==0.12.0 [2020-10-11T15:20:48.083Z] yq==2.11.1 [2020-10-11T15:20:48.083Z] zipp==3.3.0 [2020-10-11T15:20:48.083Z] Cache entry deserialization failed, entry ignored [2020-10-11T15:20:48.083Z] 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-11T15:20:48.083Z] Python 2.7.5 [2020-10-11T15:20:48.083Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-11T15:20:48.083Z] 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-11T15:20:48.083Z] ansible==2.9.7 [2020-10-11T15:20:48.083Z] Babel==0.9.6 [2020-10-11T15:20:48.083Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-11T15:20:48.083Z] beautifulsoup4==4.4.1 [2020-10-11T15:20:48.083Z] bodhi==2.11.0 [2020-10-11T15:20:48.083Z] bodhi-client==2.11.0 [2020-10-11T15:20:48.083Z] CCColUtils==1.4 [2020-10-11T15:20:48.083Z] cffi==1.6.0 [2020-10-11T15:20:48.083Z] chardet==2.2.1 [2020-10-11T15:20:48.083Z] click==6.7 [2020-10-11T15:20:48.083Z] cloud-init==18.5 [2020-10-11T15:20:48.083Z] configobj==4.7.2 [2020-10-11T15:20:48.083Z] cryptography==1.7.2 [2020-10-11T15:20:48.083Z] decorator==3.4.0 [2020-10-11T15:20:48.083Z] distro==1.2.0 [2020-10-11T15:20:48.083Z] enum34==1.0.4 [2020-10-11T15:20:48.083Z] fedpkg==1.38 [2020-10-11T15:20:48.083Z] futures==3.1.1 [2020-10-11T15:20:48.083Z] gitdb==0.6.4 [2020-10-11T15:20:48.083Z] GitPython==1.0.1 [2020-10-11T15:20:48.083Z] html5lib==0.999 [2020-10-11T15:20:48.083Z] httplib2==0.9.2 [2020-10-11T15:20:48.083Z] idna==2.4 [2020-10-11T15:20:48.083Z] iniparse==0.4 [2020-10-11T15:20:48.083Z] ipaddress==1.0.16 [2020-10-11T15:20:48.083Z] IPy==0.75 [2020-10-11T15:20:48.083Z] javapackages==1.0.0 [2020-10-11T15:20:48.083Z] Jinja2==2.7.2 [2020-10-11T15:20:48.083Z] jmespath==0.9.4 [2020-10-11T15:20:48.083Z] jsonpatch==1.2 [2020-10-11T15:20:48.083Z] jsonpointer==1.9 [2020-10-11T15:20:48.083Z] kerberos==1.1 [2020-10-11T15:20:48.083Z] kitchen==1.1.1 [2020-10-11T15:20:48.083Z] langtable==0.0.31 [2020-10-11T15:20:48.083Z] lockfile==0.9.1 [2020-10-11T15:20:48.083Z] lxml==3.2.1 [2020-10-11T15:20:48.083Z] MarkupSafe==0.11 [2020-10-11T15:20:48.083Z] munch==2.0.2 [2020-10-11T15:20:48.083Z] offtrac==0.1.0 [2020-10-11T15:20:48.083Z] openidc-client==0.6.0 [2020-10-11T15:20:48.083Z] packagedb-cli==2.14.1 [2020-10-11T15:20:48.083Z] paramiko==2.1.1 [2020-10-11T15:20:48.083Z] perf==0.1 [2020-10-11T15:20:48.083Z] ply==3.4 [2020-10-11T15:20:48.083Z] policycoreutils-default-encoding==0.1 [2020-10-11T15:20:48.083Z] prettytable==0.7.2 [2020-10-11T15:20:48.083Z] pyasn1==0.1.9 [2020-10-11T15:20:48.083Z] pycparser==2.14 [2020-10-11T15:20:48.083Z] pycurl==7.19.0 [2020-10-11T15:20:48.083Z] pygobject==3.22.0 [2020-10-11T15:20:48.083Z] pygpgme==0.3 [2020-10-11T15:20:48.083Z] pyliblzma==0.5.3 [2020-10-11T15:20:48.083Z] pyOpenSSL==0.13.1 [2020-10-11T15:20:48.083Z] pyparsing==1.5.6 [2020-10-11T15:20:48.083Z] pyserial==2.6 [2020-10-11T15:20:48.083Z] python-augeas==0.5.0 [2020-10-11T15:20:48.083Z] python-bugzilla==2.3.0 [2020-10-11T15:20:48.083Z] python-dateutil==1.5 [2020-10-11T15:20:48.084Z] python-fedora==0.10.0 [2020-10-11T15:20:48.084Z] python-linux-procfs==0.4.9 [2020-10-11T15:20:48.084Z] python-yubico==1.2.3 [2020-10-11T15:20:48.084Z] pyudev==0.15 [2020-10-11T15:20:48.084Z] pyusb==1.0.0b1 [2020-10-11T15:20:48.084Z] pyxattr==0.5.1 [2020-10-11T15:20:48.084Z] PyYAML==3.10 [2020-10-11T15:20:48.084Z] requests==2.6.0 [2020-10-11T15:20:48.084Z] requests-kerberos==0.7.0 [2020-10-11T15:20:48.084Z] rpkg==1.60 [2020-10-11T15:20:48.084Z] schedutils==0.4 [2020-10-11T15:20:48.084Z] seobject==0.1 [2020-10-11T15:20:48.084Z] sepolicy==1.1 [2020-10-11T15:20:48.084Z] six==1.9.0 [2020-10-11T15:20:48.084Z] smmap==0.9.0 [2020-10-11T15:20:48.084Z] urlgrabber==3.10 [2020-10-11T15:20:48.084Z] urllib3==1.10.2 [2020-10-11T15:20:48.084Z] virtualenv==15.1.0 [2020-10-11T15:20:48.084Z] yum-langpacks==0.4.2 [2020-10-11T15:20:48.084Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-11T15:20:48.097Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-11T15:20:48.413Z] ---> sudo-logs.sh [2020-10-11T15:20:48.413Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-11T15:20:48.685Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-11T15:20:48.982Z] ---> job-cost.sh [2020-10-11T15:20:48.982Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-dhg5 [2020-10-11T15:20:59.007Z] Cache entry deserialization failed, entry ignored [2020-10-11T15:20:59.007Z] Cache entry deserialization failed, entry ignored [2020-10-11T15:20:59.274Z] Cache entry deserialization failed, entry ignored [2020-10-11T15:20:59.536Z] Cache entry deserialization failed, entry ignored [2020-10-11T15:20:59.536Z] Cache entry deserialization failed, entry ignored [2020-10-11T15:20:59.798Z] Cache entry deserialization failed, entry ignored [2020-10-11T15:20:59.798Z] Cache entry deserialization failed, entry ignored [2020-10-11T15:20:59.798Z] Cache entry deserialization failed, entry ignored [2020-10-11T15:21:00.061Z] Cache entry deserialization failed, entry ignored [2020-10-11T15:21:00.323Z] Cache entry deserialization failed, entry ignored [2020-10-11T15:21:00.323Z] Cache entry deserialization failed, entry ignored [2020-10-11T15:21:00.323Z] Cache entry deserialization failed, entry ignored [2020-10-11T15:21:00.323Z] Cache entry deserialization failed, entry ignored [2020-10-11T15:21:04.549Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-11T15:21:31.165Z] lf-activate-venv(): INFO: Adding /tmp/venv-dhg5/bin to PATH [2020-10-11T15:21:31.165Z] INFO: No Stack... [2020-10-11T15:21:31.165Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-11T15:21:31.740Z] INFO: Archiving Costs [Pipeline] echo [2020-10-11T15:21:31.757Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-11T15:21:32.375Z] ---> logs-deploy.sh [2020-10-11T15:21:32.375Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-622/2 [2020-10-11T15:21:32.375Z] INFO: archiving workspace using pattern(s): [2020-10-11T15:21:35.691Z] Archives upload complete. [2020-10-11T15:21:35.691Z] INFO: archiving logs to Nexus