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 15:12:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:12:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:12:06 ========================================================= 15:12:06 EdgeX Global Pipelines Version Info 15:12:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:12:08 ------------------- 15:12:08 stable info: 15:12:08 ------------------- 15:12:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:12:08 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 15:12:08 Message: update stable to v1.0.131 15:12:09 ------------------- 15:12:09 experimental info: 15:12:09 ------------------- 15:12:09 Commited By: **** collab-it+edgex@linuxfoundation.org 15:12:09 Commit SHA: 2e6d42a532571151575c80d72899821df0f9b0af 15:12:09 Message: update experimental to v1.0.135 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 15:12:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:12:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:12:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:12:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:12:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:12:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 15:12:10 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:12:10 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 15:12:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:12:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:12:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:12:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 15:12:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:12:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:12:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:12:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:12:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:12:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:12:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:12:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:12:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:12:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 15:12:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:12:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:12:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:12:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-622 [Pipeline] echo 15:12:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-622 [Pipeline] echo 15:12:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-622 [Pipeline] echo 15:12:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 38ec482b070c805fd64ecf849190c6abdd066d8d [Pipeline] echo 15:12:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 38ec482 [Pipeline] echo 15:12:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:12:13 + git log --format=format:%s -1 38ec482b070c805fd64ecf849190c6abdd066d8d [Pipeline] echo 15:12:13 GIT_COMMIT: 38ec482b070c805fd64ecf849190c6abdd066d8d, Commit Message: Merge branch 'master' into master [Pipeline] echo 15:12:13 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:12:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:12:14 15:12:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:12:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:12:15 latest: Pulling from edgex-devops/git-semver 15:12:15 31603596830f: Pulling fs layer 15:12:15 2a8b12db71e7: Pulling fs layer 15:12:15 6ca5941a6612: Pulling fs layer 15:12:15 ecc8261a40a4: Pulling fs layer 15:12:15 ecc8261a40a4: Waiting 15:12:15 2a8b12db71e7: Verifying Checksum 15:12:15 2a8b12db71e7: Download complete 15:12:15 31603596830f: Download complete 15:12:15 6ca5941a6612: Verifying Checksum 15:12:15 6ca5941a6612: Download complete 15:12:15 ecc8261a40a4: Verifying Checksum 15:12:15 ecc8261a40a4: Download complete 15:12:15 31603596830f: Pull complete 15:12:15 2a8b12db71e7: Pull complete 15:12:16 6ca5941a6612: Pull complete 15:12:17 ecc8261a40a4: Pull complete 15:12:17 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 15:12:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:12:17 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:12:17 prd-centos7-docker-4c-2g-4620 does not seem to be running inside a container 15:12:17 $ 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 15:12:19 $ docker top 2b952a890909665af3fca2ef9239b5cfd53db2c99ceeafe7585555c8a7eca8d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:12:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:12:19 [ssh-agent] Looking for ssh-agent implementation... 15:12:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:12:19 $ docker exec 2b952a890909665af3fca2ef9239b5cfd53db2c99ceeafe7585555c8a7eca8d4 ssh-agent 15:12:20 SSH_AUTH_SOCK=/tmp/ssh-F6pOOTWkPjwH/agent.12 15:12:20 SSH_AGENT_PID=17 15:12:20 Running ssh-add (command line suppressed) 15:12:20 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) 15:12:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:12:20 + git describe --exact-match --tags HEAD 15:12:20 fatal: no tag exactly matches '38ec482b070c805fd64ecf849190c6abdd066d8d' [Pipeline] } 15:12:20 $ docker exec --env ******** --env ******** 2b952a890909665af3fca2ef9239b5cfd53db2c99ceeafe7585555c8a7eca8d4 ssh-agent -k 15:12:20 unset SSH_AUTH_SOCK; 15:12:20 unset SSH_AGENT_PID; 15:12:20 echo Agent pid 17 killed; 15:12:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 15:12:20 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 15:12:20 This usually means this commit has not been tagged. [Pipeline] sshagent 15:12:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:12:20 [ssh-agent] Looking for ssh-agent implementation... 15:12:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:12:21 $ docker exec 2b952a890909665af3fca2ef9239b5cfd53db2c99ceeafe7585555c8a7eca8d4 ssh-agent 15:12:21 SSH_AUTH_SOCK=/tmp/ssh-S0nnKa2mR0Ke/agent.46 15:12:21 SSH_AGENT_PID=51 15:12:21 Running ssh-add (command line suppressed) 15:12:21 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) 15:12:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:12:21 + git semver init 15:12:21 # -> Open(): unable to determine branch for HEAD 15:12:21 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-622/.git 15:12:21 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-622 15:12:21 # $SEMVER_REMOTE_NAME = origin 15:12:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:12:21 # $SEMVER_USER_NAME = edgex-jenkins 15:12:21 # $SEMVER_BRANCH = PR-622 15:12:21 # $SEMVER_TEMP = /tmp/semver-691334122 15:12:21 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 15:12:22 # '/tmp/semver-691334122' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-622/.semver' 15:12:22 # -> Force: false 15:12:22 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-622/.semver [Pipeline] } 15:12:22 $ docker exec --env ******** --env ******** 2b952a890909665af3fca2ef9239b5cfd53db2c99ceeafe7585555c8a7eca8d4 ssh-agent -k 15:12:22 unset SSH_AUTH_SOCK; 15:12:22 unset SSH_AGENT_PID; 15:12:22 echo Agent pid 51 killed; 15:12:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:12:23 + git semver [Pipeline] } 15:12:23 $ docker stop --time=1 2b952a890909665af3fca2ef9239b5cfd53db2c99ceeafe7585555c8a7eca8d4 15:12:24 $ docker rm -f 2b952a890909665af3fca2ef9239b5cfd53db2c99ceeafe7585555c8a7eca8d4 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 15:12:25 Stashed 47 file(s) [Pipeline] echo 15:12:25 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 15:12:25 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 15:12:41 Still waiting to schedule task 15:12:41 Waiting for next available executor on ‘centos7-docker-4c-2g’ 15:12:41 Still waiting to schedule task 15:12:41 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline 15:14:26 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4621 in /w/workspace/dgexfoundry_device-sdk-go_PR-622 [Pipeline] { [Pipeline] ws 15:14:26 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 15:14:31 using credential edgex-jenkins-ssh 15:14:31 Cloning the remote Git repository 15:14:31 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:14:31 > git init /w/workspace/device-sdk-go/2 # timeout=10 15:14:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:14:31 > git --version # timeout=10 15:14:31 > git --version # 'git version 2.17.1' 15:14:31 using GIT_SSH to set credentials SSH Credentials for GitHub 15:14:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:14:33 Merging remotes/origin/master commit d88b1cbf40a2b76841607f61ed40214ca5f9d347 into PR head commit 38ec482b070c805fd64ecf849190c6abdd066d8d 15:14:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:14:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:14:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:14:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:14:33 using GIT_SSH to set credentials SSH Credentials for GitHub 15:14:33 > 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 15:14:33 > git config core.sparsecheckout # timeout=10 15:14:33 Merge succeeded, producing 38ec482b070c805fd64ecf849190c6abdd066d8d 15:14:33 Checking out Revision 38ec482b070c805fd64ecf849190c6abdd066d8d (PR-622) 15:14:33 > git checkout -f 38ec482b070c805fd64ecf849190c6abdd066d8d # timeout=10 15:14:33 > git remote # timeout=10 15:14:33 > git config --get remote.origin.url # timeout=10 15:14:33 using GIT_SSH to set credentials SSH Credentials for GitHub 15:14:33 > git merge d88b1cbf40a2b76841607f61ed40214ca5f9d347 # timeout=10 15:14:33 > git rev-parse HEAD^{commit} # timeout=10 15:14:33 > git config core.sparsecheckout # timeout=10 15:14:34 > git checkout -f 38ec482b070c805fd64ecf849190c6abdd066d8d # timeout=10 15:14:38 Commit message: "Merge branch 'master' into master" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:14:39 ========================================================= 15:14:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 15:14:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:14:41 + 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 . 15:14:42 Sending build context to Docker daemon 3.53MB 15:14:42 Step 1/8 : ARG BASE=golang:1.15-alpine 15:14:42 Step 2/8 : FROM ${BASE} 15:14:42 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:14:42 b538f80385f9: Pulling fs layer 15:14:42 74f711af9a0d: Pulling fs layer 15:14:42 99f96fe45779: Pulling fs layer 15:14:42 8529a6b9a6be: Pulling fs layer 15:14:42 45590311c82a: Pulling fs layer 15:14:42 69ca0ff8b7b3: Pulling fs layer 15:14:42 209524e5b208: Pulling fs layer 15:14:42 45590311c82a: Waiting 15:14:42 69ca0ff8b7b3: Waiting 15:14:42 8529a6b9a6be: Waiting 15:14:42 209524e5b208: Waiting 15:14:42 99f96fe45779: Verifying Checksum 15:14:42 99f96fe45779: Download complete 15:14:42 74f711af9a0d: Verifying Checksum 15:14:42 74f711af9a0d: Download complete 15:14:42 45590311c82a: Verifying Checksum 15:14:42 45590311c82a: Download complete 15:14:42 69ca0ff8b7b3: Download complete 15:14:43 b538f80385f9: Download complete 15:14:43 b538f80385f9: Pull complete 15:14:44 74f711af9a0d: Pull complete 15:14:45 99f96fe45779: Pull complete 15:14:45 209524e5b208: Verifying Checksum 15:14:45 209524e5b208: Download complete 15:14:46 8529a6b9a6be: Verifying Checksum 15:14:46 8529a6b9a6be: Download complete 15:14:57 8529a6b9a6be: Pull complete 15:14:57 45590311c82a: Pull complete 15:14:57 69ca0ff8b7b3: Pull complete 15:15:01 209524e5b208: Pull complete 15:15:01 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 15:15:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 15:15:01 ---> 5bddaf1c2fca 15:15:01 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:15:04 ---> Running in a0a1bb62eb96 15:15:04 Removing intermediate container a0a1bb62eb96 15:15:04 ---> f746f68dafb6 15:15:04 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:15:04 ---> Running in 0029310e145f 15:15:07 Removing intermediate container 0029310e145f 15:15:07 ---> 6edc79395223 15:15:07 Step 5/8 : RUN apk add --no-cache make git 15:15:07 ---> Running in e29460e73498 15:15:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:15:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:15:10 OK: 142 MiB in 39 packages 15:15:11 Removing intermediate container e29460e73498 15:15:11 ---> 057d2f709448 15:15:11 Step 6/8 : WORKDIR /device-sdk-go 15:15:11 ---> Running in 4416b65c2361 15:15:12 Removing intermediate container 4416b65c2361 15:15:12 ---> b14b5b132a29 15:15:12 Step 7/8 : COPY . . 15:15:13 ---> 93bee6d8ff85 15:15:13 Step 8/8 : RUN go mod download 15:15:13 ---> Running in c4d7e6b95805 15:15:29 Running on prd-centos7-docker-4c-2g-4622 in /w/workspace/dgexfoundry_device-sdk-go_PR-622 [Pipeline] { [Pipeline] ws 15:15:29 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 15:15:36 Removing intermediate container c4d7e6b95805 15:15:36 ---> 04071da7afe5 15:15:36 Successfully built 04071da7afe5 15:15:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:15:36 + docker inspect -f . ci-base-image-arm64 15:15:36 . [Pipeline] withDockerContainer 15:15:36 prd-ubuntu18.04-docker-arm64-4c-16g-4621 does not seem to be running inside a container 15:15:36 $ 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 15:15:38 $ docker top f0b6ea04c4780181e22e4410699354e513be089a7d4a03b7d2ea30ef18633e09 -eo pid,comm [Pipeline] { [Pipeline] sh 15:15:39 using credential edgex-jenkins-ssh 15:15:39 Cloning the remote Git repository 15:15:40 + go version 15:15:40 go version go1.15.2 linux/arm64 [Pipeline] } 15:15:40 $ docker stop --time=1 f0b6ea04c4780181e22e4410699354e513be089a7d4a03b7d2ea30ef18633e09 15:15:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:15:39 > git init /w/workspace/device-sdk-go/2 # timeout=10 15:15:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:15:39 > git --version # timeout=10 15:15:39 > git --version # 'git version 2.16.5' 15:15:39 using GIT_SSH to set credentials SSH Credentials for GitHub 15:15:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:15:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:15:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:15:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:15:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:15:40 using GIT_SSH to set credentials SSH Credentials for GitHub 15:15:40 > 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 15:15:41 Merging remotes/origin/master commit d88b1cbf40a2b76841607f61ed40214ca5f9d347 into PR head commit 38ec482b070c805fd64ecf849190c6abdd066d8d 15:15:41 Merge succeeded, producing 38ec482b070c805fd64ecf849190c6abdd066d8d 15:15:41 Checking out Revision 38ec482b070c805fd64ecf849190c6abdd066d8d (PR-622) 15:15:42 $ docker rm -f f0b6ea04c4780181e22e4410699354e513be089a7d4a03b7d2ea30ef18633e09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:15:41 > git config core.sparsecheckout # timeout=10 15:15:41 > git checkout -f 38ec482b070c805fd64ecf849190c6abdd066d8d # timeout=10 15:15:41 > git remote # timeout=10 15:15:41 > git config --get remote.origin.url # timeout=10 15:15:41 using GIT_SSH to set credentials SSH Credentials for GitHub 15:15:41 > git merge d88b1cbf40a2b76841607f61ed40214ca5f9d347 # timeout=10 15:15:41 > git rev-parse HEAD^{commit} # timeout=10 15:15:41 > git config core.sparsecheckout # timeout=10 15:15:41 > git checkout -f 38ec482b070c805fd64ecf849190c6abdd066d8d # timeout=10 15:15:43 + docker inspect -f . ci-base-image-arm64 15:15:43 . [Pipeline] withDockerContainer 15:15:43 prd-ubuntu18.04-docker-arm64-4c-16g-4621 does not seem to be running inside a container 15:15:43 $ 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 15:15:45 $ docker top 751c63e0c6e980849eb92410767e638ecd7efed739f6e46a80fc7f17b8a7edfe -eo pid,comm [Pipeline] { [Pipeline] sh 15:15:46 + make test 15:15:46 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:15:46 Commit message: "Merge branch 'master' into master" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:15:48 ========================================================= 15:15:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 15:15:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:15:50 + 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 . 15:15:51 Sending build context to Docker daemon 3.532MB 15:15:51 Step 1/8 : ARG BASE=golang:1.15-alpine 15:15:51 Step 2/8 : FROM ${BASE} 15:15:51 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 15:15:51 df20fa9351a1: Pulling fs layer 15:15:51 ed8968b2872e: Pulling fs layer 15:15:51 a92cc7c5fd73: Pulling fs layer 15:15:51 e871e8e8d7a9: Pulling fs layer 15:15:51 e73272ec9a57: Pulling fs layer 15:15:51 1e910a182e73: Pulling fs layer 15:15:51 4e634b169226: Pulling fs layer 15:15:51 e871e8e8d7a9: Waiting 15:15:51 e73272ec9a57: Waiting 15:15:51 1e910a182e73: Waiting 15:15:51 4e634b169226: Waiting 15:15:51 a92cc7c5fd73: Verifying Checksum 15:15:51 a92cc7c5fd73: Download complete 15:15:51 ed8968b2872e: Download complete 15:15:51 e73272ec9a57: Verifying Checksum 15:15:51 e73272ec9a57: Download complete 15:15:51 1e910a182e73: Verifying Checksum 15:15:51 1e910a182e73: Download complete 15:15:52 df20fa9351a1: Verifying Checksum 15:15:52 df20fa9351a1: Download complete 15:15:53 df20fa9351a1: Pull complete 15:15:53 ed8968b2872e: Pull complete 15:15:54 a92cc7c5fd73: Pull complete 15:16:00 4e634b169226: Verifying Checksum 15:16:00 4e634b169226: Download complete 15:16:02 e871e8e8d7a9: Download complete 15:16:08 ? github.com/edgexfoundry/device-sdk-go [no test files] 15:16:11 e871e8e8d7a9: Pull complete 15:16:11 e73272ec9a57: Pull complete 15:16:11 1e910a182e73: Pull complete 15:16:16 4e634b169226: Pull complete 15:16:16 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 15:16:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 15:16:16 ---> f7629b54cfaa 15:16:16 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:16:16 ---> Running in 90f0edf3b505 15:16:17 Removing intermediate container 90f0edf3b505 15:16:17 ---> 0fa2bfd2b2c4 15:16:17 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:16:17 ---> Running in f8255ff50abc 15:16:19 Removing intermediate container f8255ff50abc 15:16:19 ---> f9b84b0a08e1 15:16:19 Step 5/8 : RUN apk add --no-cache make git 15:16:19 ---> Running in 30f52508114f 15:16:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:16:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:16:22 OK: 166 MiB in 39 packages 15:16:22 Removing intermediate container 30f52508114f 15:16:22 ---> b30505ab3cac 15:16:22 Step 6/8 : WORKDIR /device-sdk-go 15:16:22 ---> Running in e4e43640b6c2 15:16:23 Removing intermediate container e4e43640b6c2 15:16:23 ---> 29ab163d5708 15:16:23 Step 7/8 : COPY . . 15:16:25 ---> a2178884adc8 15:16:25 Step 8/8 : RUN go mod download 15:16:25 ---> Running in 57eb0d1d871e 15:16:47 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 15:16:47 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 15:16:47 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 15:16:47 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.126s coverage: 21.6% of statements 15:16:48 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.204s coverage: 97.1% of statements 15:16:52 Removing intermediate container 57eb0d1d871e 15:16:52 ---> cd779bd80042 15:16:52 Successfully built cd779bd80042 15:16:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:16:53 + docker inspect -f . ci-base-image-x86_64 15:16:53 . [Pipeline] withDockerContainer 15:16:53 prd-centos7-docker-4c-2g-4622 does not seem to be running inside a container 15:16:53 $ 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 15:16:55 $ docker top 6889a771594125cc8652483ef5822b7d99d5f583ee376f1ab606a849e083e303 -eo pid,comm [Pipeline] { [Pipeline] sh 15:16:55 + go version 15:16:55 go version go1.15.2 linux/amd64 [Pipeline] } 15:16:55 $ docker stop --time=1 6889a771594125cc8652483ef5822b7d99d5f583ee376f1ab606a849e083e303 15:16:57 $ docker rm -f 6889a771594125cc8652483ef5822b7d99d5f583ee376f1ab606a849e083e303 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:17:02 + docker inspect -f . ci-base-image-x86_64 15:17:02 . [Pipeline] withDockerContainer 15:17:02 prd-centos7-docker-4c-2g-4622 does not seem to be running inside a container 15:17:03 $ 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 15:17:04 $ docker top 433ccb6a90f19777425690c3bec492a8de928fc96165381a8561a231a339a84d -eo pid,comm [Pipeline] { [Pipeline] sh 15:17:04 + make test 15:17:04 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:17:20 ? github.com/edgexfoundry/device-sdk-go [no test files] 15:17:20 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.120s coverage: 9.4% of statements 15:17:20 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.120s coverage: 21.9% of statements 15:17:20 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 15:17:20 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.559s coverage: 40.0% of statements 15:17:20 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 15:17:20 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.742s coverage: 68.9% of statements 15:17:20 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 15:17:20 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 15:17:20 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 15:17:20 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 15:17:20 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.185s coverage: 52.6% of statements 15:17:20 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 15:17:20 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.627s coverage: 68.9% of statements 15:17:20 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 15:17:20 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 15:17:20 GO111MODULE=on go vet ./... 15:17:43 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 15:17:43 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 15:17:43 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 15:17:43 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.086s coverage: 21.6% of statements 15:17:46 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.633s coverage: 97.1% of statements 15:17:47 gofmt -l . 15:17:47 [ "`gofmt -l .`" = "" ] 15:17:47 ./bin/test-attribution-txt.sh 15:17:47 ./bin/test-go-mod-tidy.sh [Pipeline] stash 15:17:48 Stashed 1 file(s) [Pipeline] } 15:17:48 $ docker stop --time=1 751c63e0c6e980849eb92410767e638ecd7efed739f6e46a80fc7f17b8a7edfe 15:17:51 $ docker rm -f 751c63e0c6e980849eb92410767e638ecd7efed739f6e46a80fc7f17b8a7edfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:17:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:17:55 + ls -al . 15:17:55 total 228 15:17:55 drwxrwxr-x 11 jenkins jenkins 4096 Oct 11 15:17 . 15:17:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 15:14 .. 15:17:55 -rw-rw-r-- 1 jenkins jenkins 140 Oct 11 15:14 .dockerignore 15:17:55 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 15:14 .git 15:17:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 15:14 .github 15:17:55 -rw-rw-r-- 1 jenkins jenkins 138 Oct 11 15:14 .gitignore 15:17:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 15:14 .semver 15:17:55 -rw-rw-r-- 1 jenkins jenkins 936 Oct 11 15:14 Dockerfile.build 15:17:55 -rw-rw-r-- 1 jenkins jenkins 901 Oct 11 15:14 Jenkinsfile 15:17:55 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 11 15:14 LICENSE 15:17:55 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 11 15:14 Makefile 15:17:55 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 11 15:14 README.md 15:17:55 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 11 15:14 RELEASE-NOTES.txt 15:17:55 -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 15:12 VERSION 15:17:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 15:14 bin 15:17:55 -rw-r--r-- 1 jenkins jenkins 110392 Oct 11 15:17 coverage.out 15:17:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 15:14 example 15:17:55 -rw-r--r-- 1 jenkins jenkins 517 Oct 11 15:17 go.mod 15:17:55 -rw-r--r-- 1 jenkins jenkins 13652 Oct 11 15:17 go.sum 15:17:55 drwxrwxr-x 15 jenkins jenkins 4096 Oct 11 15:14 internal 15:17:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 15:14 openapi 15:17:55 drwxrwxr-x 5 jenkins jenkins 4096 Oct 11 15:14 pkg 15:17:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 15:14 snap 15:17:55 -rw-rw-r-- 1 jenkins jenkins 222 Oct 11 15:14 version.go [Pipeline] isUnix [Pipeline] sh 15:17:55 + 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 . 15:17:56 Sending build context to Docker daemon 3.641MB 15:17:56 Step 1/24 : ARG BASE=golang:1.15-alpine 15:17:56 Step 2/24 : FROM ${BASE} AS builder 15:17:56 ---> 04071da7afe5 15:17:56 Step 3/24 : ARG MAKE='make build' 15:17:56 ---> Running in e0adf1e02b2a 15:17:56 Removing intermediate container e0adf1e02b2a 15:17:56 ---> adff4b2cc537 15:17:56 Step 4/24 : WORKDIR /device-sdk-go 15:17:56 ---> Running in 3fa2497a39f0 15:17:57 Removing intermediate container 3fa2497a39f0 15:17:57 ---> 938ac3fad1bc 15:17:57 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:17:57 ---> Running in 35055c6cc4e7 15:17:57 Removing intermediate container 35055c6cc4e7 15:17:57 ---> 9c7eca099ecd 15:17:57 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:17:58 ---> Running in cce9bdefac67 15:18:00 Removing intermediate container cce9bdefac67 15:18:00 ---> b9fc7b01665c 15:18:00 Step 7/24 : RUN apk add --update --no-cache make git 15:18:00 ---> Running in 0e2a23da37cd 15:18:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:18:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:18:03 OK: 142 MiB in 39 packages 15:18:04 Removing intermediate container 0e2a23da37cd 15:18:04 ---> 582a9c095a05 15:18:04 Step 8/24 : COPY . . 15:18:06 ---> 2de5ac088ad4 15:18:06 Step 9/24 : RUN ${MAKE} 15:18:06 ---> Running in 9787abc1c585 15:18:07 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 15:18:19 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.078s coverage: 9.4% of statements 15:18:19 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.054s coverage: 21.9% of statements 15:18:19 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 15:18:19 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.322s coverage: 40.0% of statements 15:18:19 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 15:18:19 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.388s coverage: 68.9% of statements 15:18:19 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 15:18:19 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 15:18:19 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 15:18:19 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 15:18:19 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.163s coverage: 52.6% of statements 15:18:19 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 15:18:19 ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.750s coverage: 68.9% of statements 15:18:19 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 15:18:19 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 15:18:19 GO111MODULE=on go vet ./... 15:18:34 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 15:18:34 Removing intermediate container 9787abc1c585 15:18:34 ---> 272e9c41cb2a 15:18:34 Step 10/24 : FROM scratch 15:18:34 ---> 15:18:34 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:18:34 ---> Running in dabed4262330 15:18:34 Removing intermediate container dabed4262330 15:18:34 ---> 1138b02cec71 15:18:34 Step 12/24 : ENV APP_PORT=49990 15:18:34 ---> Running in 8a02703e4ac1 15:18:34 Removing intermediate container 8a02703e4ac1 15:18:34 ---> b44eef55e294 15:18:34 Step 13/24 : EXPOSE $APP_PORT 15:18:34 ---> Running in 000d817fe249 15:18:34 Removing intermediate container 000d817fe249 15:18:34 ---> 43ad57a1dd8b 15:18:34 Step 14/24 : WORKDIR / 15:18:34 ---> Running in 96e39cd4c6e4 15:18:35 gofmt -l . 15:18:35 Removing intermediate container 96e39cd4c6e4 15:18:35 ---> a0ee22091bcc 15:18:35 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 15:18:35 [ "`gofmt -l .`" = "" ] 15:18:35 ./bin/test-attribution-txt.sh 15:18:36 ./bin/test-go-mod-tidy.sh 15:18:36 ---> a955561a2580 15:18:36 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [Pipeline] stash 15:18:36 Warning: overwriting stash ‘coverage-report’ 15:18:37 ---> 6ce6ce889668 15:18:37 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 15:18:37 Stashed 1 file(s) [Pipeline] } 15:18:37 $ docker stop --time=1 433ccb6a90f19777425690c3bec492a8de928fc96165381a8561a231a339a84d 15:18:38 ---> fe9b8f720fc3 15:18:38 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 15:18:38 ---> bdb6798786c3 15:18:38 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 15:18:39 ---> 5d307c47abeb 15:18:39 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 15:18:39 ---> Running in 0f11f64ece34 15:18:39 $ docker rm -f 433ccb6a90f19777425690c3bec492a8de928fc96165381a8561a231a339a84d [Pipeline] // withDockerContainer 15:18:40 Removing intermediate container 0f11f64ece34 15:18:40 ---> bc56480bb3fc 15:18:40 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:18:40 ---> Running in 2f629a029838 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:18:40 Removing intermediate container 2f629a029838 15:18:40 ---> d2479faa8c17 15:18:40 Step 22/24 : LABEL arch=arm64 15:18:40 ---> Running in da5e3a4cbefa 15:18:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:18:41 + ls -al . 15:18:41 total 188 15:18:41 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 11 15:18 . 15:18:41 drwxrwxr-x. 4 jenkins jenkins 28 Oct 11 15:15 .. 15:18:41 drwxrwxr-x. 2 jenkins jenkins 64 Oct 11 15:15 bin 15:18:41 -rw-r--r--. 1 jenkins jenkins 110392 Oct 11 15:18 coverage.out 15:18:41 -rw-rw-r--. 1 jenkins jenkins 936 Oct 11 15:15 Dockerfile.build 15:18:41 -rw-rw-r--. 1 jenkins jenkins 140 Oct 11 15:15 .dockerignore 15:18:41 drwxrwxr-x. 4 jenkins jenkins 48 Oct 11 15:15 example 15:18:41 drwxrwxr-x. 8 jenkins jenkins 179 Oct 11 15:15 .git 15:18:41 drwxrwxr-x. 2 jenkins jenkins 60 Oct 11 15:15 .github 15:18:41 -rw-rw-r--. 1 jenkins jenkins 138 Oct 11 15:15 .gitignore 15:18:41 -rw-r--r--. 1 jenkins jenkins 517 Oct 11 15:18 go.mod 15:18:41 -rw-r--r--. 1 jenkins jenkins 13652 Oct 11 15:18 go.sum 15:18:41 drwxrwxr-x. 15 jenkins jenkins 211 Oct 11 15:15 internal 15:18:41 -rw-rw-r--. 1 jenkins jenkins 901 Oct 11 15:15 Jenkinsfile 15:18:41 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 11 15:15 LICENSE 15:18:41 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 11 15:15 Makefile 15:18:41 drwxrwxr-x. 4 jenkins jenkins 26 Oct 11 15:15 openapi 15:18:41 drwxrwxr-x. 5 jenkins jenkins 50 Oct 11 15:15 pkg 15:18:41 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 11 15:15 README.md 15:18:41 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 11 15:15 RELEASE-NOTES.txt 15:18:41 drwxrwxr-x. 3 jenkins jenkins 58 Oct 11 15:15 .semver 15:18:41 drwxrwxr-x. 4 jenkins jenkins 54 Oct 11 15:15 snap 15:18:41 -rw-rw-r--. 1 jenkins jenkins 5 Oct 11 15:12 VERSION 15:18:41 -rw-rw-r--. 1 jenkins jenkins 222 Oct 11 15:15 version.go [Pipeline] isUnix [Pipeline] sh 15:18:41 Removing intermediate container da5e3a4cbefa 15:18:41 ---> 7f5674bf3aec 15:18:41 Step 23/24 : LABEL git_sha=38ec482b070c805fd64ecf849190c6abdd066d8d 15:18:41 ---> Running in 3eb09d0d251a 15:18:41 + 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 . 15:18:41 Removing intermediate container 3eb09d0d251a 15:18:41 ---> ce17bcb41f9d 15:18:41 Step 24/24 : LABEL version=0.0.0 15:18:41 ---> Running in dc041f6d7597 15:18:42 Sending build context to Docker daemon 3.643MB 15:18:42 Step 1/24 : ARG BASE=golang:1.15-alpine 15:18:42 Step 2/24 : FROM ${BASE} AS builder 15:18:42 ---> cd779bd80042 15:18:42 Step 3/24 : ARG MAKE='make build' 15:18:42 ---> Running in dfdd53f5b3e0 15:18:42 Removing intermediate container dc041f6d7597 15:18:42 ---> 5ac9e5e7e91f 15:18:42 [Warning] One or more build-args [ARCH] were not consumed 15:18:42 Successfully built 5ac9e5e7e91f 15:18:42 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 15:18:42 Removing intermediate container dfdd53f5b3e0 15:18:42 ---> 8c6a1624f07c 15:18:42 Step 4/24 : WORKDIR /device-sdk-go 15:18:42 ---> Running in bf2b97001846 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 15:18:42 Removing intermediate container bf2b97001846 15:18:42 ---> 9e86b9a48a67 15:18:42 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 15:18:43 ---> Running in a63dfccee48a 15:18:43 Removing intermediate container a63dfccee48a 15:18:43 ---> 2140ce293f8c 15:18:43 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] } 15:18:43 ---> Running in e6f9abe7ae80 [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:18:44 Removing intermediate container e6f9abe7ae80 15:18:44 ---> 97c13aace9ae 15:18:44 Step 7/24 : RUN apk add --update --no-cache make git 15:18:44 ---> Running in fe48270a11ee 15:18:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:18:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:18:46 OK: 166 MiB in 39 packages 15:18:47 Removing intermediate container fe48270a11ee 15:18:47 ---> ec2e176a397f 15:18:47 Step 8/24 : COPY . . 15:18:48 ---> f8eb0ff06907 15:18:48 Step 9/24 : RUN ${MAKE} 15:18:48 ---> Running in 0ecd7b5da6ec 15:18:49 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 15:19:04 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 15:19:08 Removing intermediate container 0ecd7b5da6ec 15:19:08 ---> d87c2c5db528 15:19:08 Step 10/24 : FROM scratch 15:19:08 ---> 15:19:08 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:19:08 ---> Running in 8ae5062f6d37 15:19:08 Removing intermediate container 8ae5062f6d37 15:19:08 ---> 6a34f30505c9 15:19:08 Step 12/24 : ENV APP_PORT=49990 15:19:08 ---> Running in e3aa9d324201 15:19:08 Removing intermediate container e3aa9d324201 15:19:08 ---> 3400003fd02d 15:19:08 Step 13/24 : EXPOSE $APP_PORT 15:19:08 ---> Running in 6da3ecf2b755 15:19:08 Removing intermediate container 6da3ecf2b755 15:19:08 ---> 48aafc29bb2b 15:19:08 Step 14/24 : WORKDIR / 15:19:08 ---> Running in c47e61e3413f 15:19:09 Removing intermediate container c47e61e3413f 15:19:09 ---> 96d148096e6d 15:19:09 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 15:19:09 ---> da0622b03c11 15:19:09 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 15:19:10 ---> 55c8349d67f6 15:19:10 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 15:19:10 ---> 9c34e3bc9658 15:19:10 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 15:19:10 ---> 83ee08d59bb0 15:19:10 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 15:19:11 ---> 4093f4ea8d0e 15:19:11 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 15:19:11 ---> Running in 1d9ee7b8541a 15:19:11 Removing intermediate container 1d9ee7b8541a 15:19:11 ---> 06e18bc57528 15:19:11 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:19:11 ---> Running in 97060d6a14de 15:19:12 Removing intermediate container 97060d6a14de 15:19:12 ---> 0ac36882c4b5 15:19:12 Step 22/24 : LABEL arch=amd64 15:19:12 ---> Running in 750a8dff445e 15:19:12 Removing intermediate container 750a8dff445e 15:19:12 ---> eb3c21ca4026 15:19:12 Step 23/24 : LABEL git_sha=38ec482b070c805fd64ecf849190c6abdd066d8d 15:19:12 ---> Running in 5a52c8fb7a7a 15:19:12 Removing intermediate container 5a52c8fb7a7a 15:19:12 ---> 108ae78557d2 15:19:12 Step 24/24 : LABEL version=0.0.0 15:19:12 ---> Running in 9d4e98aaff2e 15:19:13 Removing intermediate container 9d4e98aaff2e 15:19:13 ---> 3687f528783f 15:19:13 [Warning] One or more build-args [ARCH] were not consumed 15:19:13 Successfully built 3687f528783f 15:19:13 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 15:19:15 provisioning config files... 15:19:15 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-622@tmp/config4405989534162342868tmp [Pipeline] { [Pipeline] sh 15:19:16 + set +x 15:19:16 + bash -s -- 15:19:16 + curl -s https://codecov.io/bash 15:19:16 15:19:16 _____ _ 15:19:16 / ____| | | 15:19:16 | | ___ __| | ___ ___ _____ __ 15:19:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:19:16 | |___| (_) | (_| | __/ (_| (_) \ V / 15:19:16 \_____\___/ \__,_|\___|\___\___/ \_/ 15:19:16 Bash-20201009-048fee3 15:19:16 15:19:16 15:19:16 ==> Jenkins CI detected. 15:19:16 project root: . 15:19:16 Fixing merge commit SHA 15:19:16 --> token set from env 15:19:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:19:16 ==> Running gcov in . (disable via -X gcov) 15:19:16 ==> Python coveragepy not found 15:19:16 ==> Searching for coverage reports in: 15:19:16 + . 15:19:16 -> Found 1 reports 15:19:16 ==> Detecting git/mercurial file structure 15:19:16 ==> Reading reports 15:19:16 + ./coverage.out bytes=110392 15:19:16 ==> Appending adjustments 15:19:16 https://docs.codecov.io/docs/fixing-reports 15:19:16 + Found adjustments 15:19:16 ==> Gzipping contents 15:19:16 ==> Uploading reports 15:19:16 url: https://codecov.io 15:19:16 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= 15:19:16 -> Pinging Codecov 15:19:16 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= 15:19:17 -> Uploading to 15:19:17 15:19:17 % Total % Received % Xferd Average Speed Time Time Time Current 15:19:17 Dload Upload Total Spent Left Speed 15:19:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 15:19:17 X> Failed to upload 15:19:17 ==> Uploading to Codecov 15:19:17 % Total % Received % Xferd Average Speed Time Time Time Current 15:19:17 Dload Upload Total Spent Left Speed 15:19:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18453 100 110 100 18343 203 34014 --:--:-- --:--:-- --:--:-- 34031 15:19:17 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d88b1cbf40a2b76841607f61ed40214ca5f9d347 [Pipeline] } 15:19:17 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 15:19:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:19:20 ---> package-listing.sh 15:19:20 ++ facter osfamily 15:19:20 ++ tr '[:upper:]' '[:lower:]' 15:19:20 + OS_FAMILY=redhat 15:19:20 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-622 15:19:20 + START_PACKAGES=/tmp/packages_start.txt 15:19:20 + END_PACKAGES=/tmp/packages_end.txt 15:19:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:19:20 + PACKAGES=/tmp/packages_start.txt 15:19:20 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-622 ']' 15:19:20 + PACKAGES=/tmp/packages_end.txt 15:19:20 + case "${OS_FAMILY}" in 15:19:20 + rpm -qa 15:19:20 + sort 15:19:25 + '[' -f /tmp/packages_start.txt ']' 15:19:25 + '[' -f /tmp/packages_end.txt ']' 15:19:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:19:25 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-622 ']' 15:19:25 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-622/archives/ 15:19:25 + 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 15:19:25 provisioning config files... 15:19:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-622@tmp/config489637689060256595tmp [Pipeline] { [Pipeline] echo 15:19:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:19:26 ---> create-netrc.sh [Pipeline] } 15:19:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 15:19:26 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 15:19:26 ---> python-tools-install.sh 15:19:26 Generating Requirements File 15:20:48 Python 3.6.8 15:20:48 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 15:20:48 appdirs==1.4.3 15:20:48 argcomplete==1.12.1 15:20:48 aspy.yaml==1.3.0 15:20:48 attrs==19.3.0 15:20:48 Babel==2.8.0 15:20:48 beautifulsoup4==4.8.2 15:20:48 boto3==1.11.6 15:20:48 botocore==1.14.6 15:20:48 bs4==0.0.1 15:20:48 cachetools==4.1.1 15:20:48 certifi==2019.11.28 15:20:48 cffi==1.14.3 15:20:48 cfgv==2.0.1 15:20:48 chardet==3.0.4 15:20:48 click==7.1 15:20:48 cliff==3.4.0 15:20:48 cmd2==1.3.11 15:20:48 colorama==0.4.3 15:20:48 cryptography==3.1.1 15:20:48 debtcollector==2.2.0 15:20:48 decorator==4.4.2 15:20:48 defusedxml==0.6.0 15:20:48 Deprecated==1.2.7 15:20:48 distlib==0.3.1 15:20:48 distro==1.2.0 15:20:48 dnspython==1.16.0 15:20:48 docker==4.2.0 15:20:48 docutils==0.15.2 15:20:48 dogpile.cache==1.0.2 15:20:48 email-validator==1.0.5 15:20:48 filelock==3.0.12 15:20:48 future==0.18.2 15:20:48 google-auth==1.22.1 15:20:48 httplib2==0.17.0 15:20:48 identify==1.4.11 15:20:48 idna==2.9 15:20:48 importlib-metadata==2.0.0 15:20:48 importlib-resources==1.5.0 15:20:48 iso8601==0.1.13 15:20:48 Jinja2==2.11.1 15:20:48 jmespath==0.10.0 15:20:48 jsonpatch==1.26 15:20:48 jsonpointer==2.0 15:20:48 jsonschema==3.2.0 15:20:48 keystoneauth1==4.2.1 15:20:48 kubernetes==11.0.0 15:20:48 lftools==0.34.2 15:20:48 lxml==4.5.0 15:20:48 MarkupSafe==0.23 15:20:48 msgpack==1.0.0 15:20:48 multi-key-dict==2.0.3 15:20:48 munch==2.5.0 15:20:48 netaddr==0.8.0 15:20:48 netifaces==0.10.9 15:20:48 niet==1.4.2 15:20:48 nodeenv==1.3.5 15:20:48 oauth2client==4.1.3 15:20:48 oauthlib==3.1.0 15:20:48 openstacksdk==0.50.0 15:20:48 os-client-config==2.1.0 15:20:48 os-service-types==1.7.0 15:20:48 osc-lib==2.2.1 15:20:48 oslo.config==8.3.2 15:20:48 oslo.context==3.1.1 15:20:48 oslo.i18n==5.0.1 15:20:48 oslo.log==4.4.0 15:20:48 oslo.serialization==4.0.1 15:20:48 oslo.utils==4.6.0 15:20:48 packaging==20.4 15:20:48 pbr==5.4.4 15:20:48 pluggy==0.13.1 15:20:48 prettytable==0.7.2 15:20:48 py==1.9.0 15:20:48 pyasn1==0.4.8 15:20:48 pyasn1-modules==0.2.8 15:20:48 pycparser==2.20 15:20:48 pygerrit2==2.0.10 15:20:48 PyGithub==1.46 15:20:48 pyinotify==0.9.6 15:20:48 PyJWT==1.7.1 15:20:48 pyparsing==2.4.7 15:20:48 pyperclip==1.8.1 15:20:48 pyroute2==0.4.13 15:20:48 pyrsistent==0.15.7 15:20:48 PySocks==1.6.8 15:20:48 python-cinderclient==7.2.0 15:20:48 python-dateutil==2.8.1 15:20:48 python-heatclient==2.2.1 15:20:48 python-jenkins==1.7.0 15:20:48 python-keystoneclient==4.1.1 15:20:48 python-magnumclient==3.2.1 15:20:48 python-novaclient==17.2.1 15:20:48 python-openstackclient==5.4.0 15:20:48 python-swiftclient==3.10.1 15:20:48 pytz==2020.1 15:20:48 PyYAML==5.3 15:20:48 requests==2.23.0 15:20:48 requests-oauthlib==1.3.0 15:20:48 requestsexceptions==1.4.0 15:20:48 rfc3986==1.4.0 15:20:48 rpm==4.11.3 15:20:48 rsa==4.0 15:20:48 ruamel.yaml==0.16.10 15:20:48 ruamel.yaml.clib==0.2.0 15:20:48 s3transfer==0.3.3 15:20:48 shade==1.27.2 15:20:48 simplejson==3.17.2 15:20:48 six==1.14.0 15:20:48 soupsieve==2.0 15:20:48 stevedore==3.2.2 15:20:48 tabulate==0.8.6 15:20:48 toml==0.10.0 15:20:48 tox==3.20.1 15:20:48 tqdm==4.43.0 15:20:48 urllib3==1.25.8 15:20:48 virtualenv==20.0.33 15:20:48 wcwidth==0.2.5 15:20:48 websocket-client==0.57.0 15:20:48 wrapt==1.12.1 15:20:48 xdg==3.0.2 15:20:48 xmltodict==0.12.0 15:20:48 yq==2.11.1 15:20:48 zipp==3.3.0 15:20:48 Cache entry deserialization failed, entry ignored 15:20:48 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. 15:20:48 Python 2.7.5 15:20:48 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 15:20:48 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. 15:20:48 ansible==2.9.7 15:20:48 Babel==0.9.6 15:20:48 backports.ssl-match-hostname==3.5.0.1 15:20:48 beautifulsoup4==4.4.1 15:20:48 bodhi==2.11.0 15:20:48 bodhi-client==2.11.0 15:20:48 CCColUtils==1.4 15:20:48 cffi==1.6.0 15:20:48 chardet==2.2.1 15:20:48 click==6.7 15:20:48 cloud-init==18.5 15:20:48 configobj==4.7.2 15:20:48 cryptography==1.7.2 15:20:48 decorator==3.4.0 15:20:48 distro==1.2.0 15:20:48 enum34==1.0.4 15:20:48 fedpkg==1.38 15:20:48 futures==3.1.1 15:20:48 gitdb==0.6.4 15:20:48 GitPython==1.0.1 15:20:48 html5lib==0.999 15:20:48 httplib2==0.9.2 15:20:48 idna==2.4 15:20:48 iniparse==0.4 15:20:48 ipaddress==1.0.16 15:20:48 IPy==0.75 15:20:48 javapackages==1.0.0 15:20:48 Jinja2==2.7.2 15:20:48 jmespath==0.9.4 15:20:48 jsonpatch==1.2 15:20:48 jsonpointer==1.9 15:20:48 kerberos==1.1 15:20:48 kitchen==1.1.1 15:20:48 langtable==0.0.31 15:20:48 lockfile==0.9.1 15:20:48 lxml==3.2.1 15:20:48 MarkupSafe==0.11 15:20:48 munch==2.0.2 15:20:48 offtrac==0.1.0 15:20:48 openidc-client==0.6.0 15:20:48 packagedb-cli==2.14.1 15:20:48 paramiko==2.1.1 15:20:48 perf==0.1 15:20:48 ply==3.4 15:20:48 policycoreutils-default-encoding==0.1 15:20:48 prettytable==0.7.2 15:20:48 pyasn1==0.1.9 15:20:48 pycparser==2.14 15:20:48 pycurl==7.19.0 15:20:48 pygobject==3.22.0 15:20:48 pygpgme==0.3 15:20:48 pyliblzma==0.5.3 15:20:48 pyOpenSSL==0.13.1 15:20:48 pyparsing==1.5.6 15:20:48 pyserial==2.6 15:20:48 python-augeas==0.5.0 15:20:48 python-bugzilla==2.3.0 15:20:48 python-dateutil==1.5 15:20:48 python-fedora==0.10.0 15:20:48 python-linux-procfs==0.4.9 15:20:48 python-yubico==1.2.3 15:20:48 pyudev==0.15 15:20:48 pyusb==1.0.0b1 15:20:48 pyxattr==0.5.1 15:20:48 PyYAML==3.10 15:20:48 requests==2.6.0 15:20:48 requests-kerberos==0.7.0 15:20:48 rpkg==1.60 15:20:48 schedutils==0.4 15:20:48 seobject==0.1 15:20:48 sepolicy==1.1 15:20:48 six==1.9.0 15:20:48 smmap==0.9.0 15:20:48 urlgrabber==3.10 15:20:48 urllib3==1.10.2 15:20:48 virtualenv==15.1.0 15:20:48 yum-langpacks==0.4.2 15:20:48 yum-metadata-parser==1.1.4 [Pipeline] echo 15:20:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:20:48 ---> sudo-logs.sh 15:20:48 Archiving 'sudo' log.. [Pipeline] echo 15:20:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:20:48 ---> job-cost.sh 15:20:48 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-dhg5 15:20:59 Cache entry deserialization failed, entry ignored 15:20:59 Cache entry deserialization failed, entry ignored 15:20:59 Cache entry deserialization failed, entry ignored 15:20:59 Cache entry deserialization failed, entry ignored 15:20:59 Cache entry deserialization failed, entry ignored 15:20:59 Cache entry deserialization failed, entry ignored 15:20:59 Cache entry deserialization failed, entry ignored 15:20:59 Cache entry deserialization failed, entry ignored 15:21:00 Cache entry deserialization failed, entry ignored 15:21:00 Cache entry deserialization failed, entry ignored 15:21:00 Cache entry deserialization failed, entry ignored 15:21:00 Cache entry deserialization failed, entry ignored 15:21:00 Cache entry deserialization failed, entry ignored 15:21:04 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 15:21:31 lf-activate-venv(): INFO: Adding /tmp/venv-dhg5/bin to PATH 15:21:31 INFO: No Stack... 15:21:31 INFO: Retrieving Pricing Info for: v1-standard-2 15:21:31 INFO: Archiving Costs [Pipeline] echo 15:21:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:21:32 ---> logs-deploy.sh 15:21:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-622/2 15:21:32 INFO: archiving workspace using pattern(s): 15:21:35 Archives upload complete. 15:21:35 INFO: archiving logs to Nexus