Pull request #612 opened 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 cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7+5d943473fe8cb7b2263b29163a15a9eda06ca963 (a382230519e64ef3b8480f2675771fa5eed78073) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-612/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-612/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3185 in /w/workspace/dgexfoundry_device-sdk-go_PR-612 [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-612 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Merging remotes/origin/master commit 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit 5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7 Merge succeeded, producing 5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7 Checking out Revision 5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7 (PR-612) > 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/612/head:refs/remotes/origin/PR-612 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7 # timeout=10 Commit message: "refactor:Simplify controller signatures" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:32:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:32:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:32:58 ========================================================= 04:32:58 EdgeX Global Pipelines Version Info 04:32:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:32:59 ------------------- 04:32:59 stable info: 04:32:59 ------------------- 04:32:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:32:59 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 04:32:59 Message: update stable to v1.0.131 04:33:01 ------------------- 04:33:01 experimental info: 04:33:01 ------------------- 04:33:01 Commited By: **** collab-it+edgex@linuxfoundation.org 04:33:01 Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a 04:33:01 Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 04:33:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:33:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:33:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:33:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:33:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:33:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 04:33:02 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 04:33:02 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 04:33:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:33:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:33:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:33:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 04:33:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:33:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:33:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:33:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:33:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:33:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:33:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:33:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:33:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:33:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:33:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:33:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:33:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:33:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-612 [Pipeline] echo 04:33:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-612 [Pipeline] echo 04:33:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-612 [Pipeline] echo 04:33:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7 [Pipeline] echo 04:33:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5334000 [Pipeline] echo 04:33:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:33:07 + git log --format=format:%s -1 5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7 [Pipeline] echo 04:33:07 GIT_COMMIT: 5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7, Commit Message: refactor:Simplify controller signatures [Pipeline] echo 04:33:07 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:33:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:33:08 04:33:08 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:33:08 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:33:08 latest: Pulling from edgex-devops/git-semver 04:33:08 31603596830f: Pulling fs layer 04:33:08 2a8b12db71e7: Pulling fs layer 04:33:08 6ca5941a6612: Pulling fs layer 04:33:08 ecc8261a40a4: Pulling fs layer 04:33:08 ecc8261a40a4: Waiting 04:33:08 2a8b12db71e7: Download complete 04:33:08 31603596830f: Download complete 04:33:08 6ca5941a6612: Verifying Checksum 04:33:08 6ca5941a6612: Download complete 04:33:09 31603596830f: Pull complete 04:33:09 ecc8261a40a4: Download complete 04:33:09 2a8b12db71e7: Pull complete 04:33:10 6ca5941a6612: Pull complete 04:33:10 ecc8261a40a4: Pull complete 04:33:10 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 04:33:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:33:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:33:10 prd-centos7-docker-4c-2g-3185 does not seem to be running inside a container 04:33:10 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-612 -v /w/workspace/dgexfoundry_device-sdk-go_PR-612:/w/workspace/dgexfoundry_device-sdk-go_PR-612:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-612@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-612@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:33:12 $ docker top 52fc24a3814aa978da439111081ca264d60990a2c34731a4c4c70284a9a2b76b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:33:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:33:13 [ssh-agent] Looking for ssh-agent implementation... 04:33:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:33:13 $ docker exec 52fc24a3814aa978da439111081ca264d60990a2c34731a4c4c70284a9a2b76b ssh-agent 04:33:13 SSH_AUTH_SOCK=/tmp/ssh-VNPIcy2ezqNZ/agent.11 04:33:13 SSH_AGENT_PID=16 04:33:13 Running ssh-add (command line suppressed) 04:33:13 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-612@tmp/private_key_9103186777652694064.key (/w/workspace/dgexfoundry_device-sdk-go_PR-612@tmp/private_key_9103186777652694064.key) 04:33:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:33:14 + git describe --exact-match --tags HEAD 04:33:14 fatal: no tag exactly matches '5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7' [Pipeline] } 04:33:14 $ docker exec --env ******** --env ******** 52fc24a3814aa978da439111081ca264d60990a2c34731a4c4c70284a9a2b76b ssh-agent -k 04:33:14 unset SSH_AUTH_SOCK; 04:33:14 unset SSH_AGENT_PID; 04:33:14 echo Agent pid 16 killed; 04:33:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 04:33:14 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 04:33:14 This usually means this commit has not been tagged. [Pipeline] sshagent 04:33:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:33:14 [ssh-agent] Looking for ssh-agent implementation... 04:33:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:33:14 $ docker exec 52fc24a3814aa978da439111081ca264d60990a2c34731a4c4c70284a9a2b76b ssh-agent 04:33:15 SSH_AUTH_SOCK=/tmp/ssh-hpSHtwhnstEx/agent.45 04:33:15 SSH_AGENT_PID=50 04:33:15 Running ssh-add (command line suppressed) 04:33:15 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-612@tmp/private_key_8323141908211264282.key (/w/workspace/dgexfoundry_device-sdk-go_PR-612@tmp/private_key_8323141908211264282.key) 04:33:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:33:15 + git semver init 04:33:15 # -> Open(): unable to determine branch for HEAD 04:33:15 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-612/.git 04:33:15 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-612 04:33:15 # $SEMVER_REMOTE_NAME = origin 04:33:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:33:15 # $SEMVER_USER_NAME = edgex-jenkins 04:33:15 # $SEMVER_BRANCH = PR-612 04:33:15 # $SEMVER_TEMP = /tmp/semver-171496474 04:33:15 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:33:16 # '/tmp/semver-171496474' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-612/.semver' 04:33:16 # -> Force: false 04:33:16 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-612/.semver [Pipeline] } 04:33:16 $ docker exec --env ******** --env ******** 52fc24a3814aa978da439111081ca264d60990a2c34731a4c4c70284a9a2b76b ssh-agent -k 04:33:16 unset SSH_AUTH_SOCK; 04:33:16 unset SSH_AGENT_PID; 04:33:16 echo Agent pid 50 killed; 04:33:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:33:17 + git semver [Pipeline] } 04:33:17 $ docker stop --time=1 52fc24a3814aa978da439111081ca264d60990a2c34731a4c4c70284a9a2b76b 04:33:18 $ docker rm -f 52fc24a3814aa978da439111081ca264d60990a2c34731a4c4c70284a9a2b76b [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 04:33:19 Stashed 41 file(s) [Pipeline] echo 04:33:19 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 04:33:19 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 04:33:35 Still waiting to schedule task 04:33:35 Waiting for next available executor on ‘centos7-docker-4c-2g’ 04:33:35 Still waiting to schedule task 04:33:35 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-3183’ 04:36:44 Running on prd-centos7-docker-4c-2g-3191 in /w/workspace/dgexfoundry_device-sdk-go_PR-612 [Pipeline] { [Pipeline] ws 04:36:44 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:36:44 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3190 in /w/workspace/dgexfoundry_device-sdk-go_PR-612 [Pipeline] { [Pipeline] ws 04:36:44 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:36:47 using credential edgex-jenkins-ssh 04:36:47 Cloning the remote Git repository 04:36:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:36:47 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:36:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:36:47 > git --version # timeout=10 04:36:47 > git --version # 'git version 2.16.5' 04:36:47 using GIT_SSH to set credentials SSH Credentials for GitHub 04:36:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:36:48 Merging remotes/origin/master commit 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit 5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7 04:36:48 Merge succeeded, producing 5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7 04:36:48 Checking out Revision 5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7 (PR-612) 04:36:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:36:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:36:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:36:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:36:48 using GIT_SSH to set credentials SSH Credentials for GitHub 04:36:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/612/head:refs/remotes/origin/PR-612 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:36:48 > git config core.sparsecheckout # timeout=10 04:36:48 > git checkout -f 5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7 # timeout=10 04:36:48 > git remote # timeout=10 04:36:48 > git config --get remote.origin.url # timeout=10 04:36:48 using GIT_SSH to set credentials SSH Credentials for GitHub 04:36:48 > git merge 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 04:36:48 > git rev-parse HEAD^{commit} # timeout=10 04:36:48 > git config core.sparsecheckout # timeout=10 04:36:48 > git checkout -f 5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7 # timeout=10 04:36:50 using credential edgex-jenkins-ssh 04:36:50 Cloning the remote Git repository 04:36:50 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:36:50 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:36:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:36:50 > git --version # timeout=10 04:36:50 > git --version # 'git version 2.17.1' 04:36:50 using GIT_SSH to set credentials SSH Credentials for GitHub 04:36:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:36:52 Merging remotes/origin/master commit 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit 5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7 04:36:52 Commit message: "refactor:Simplify controller signatures" 04:36:52 Merge succeeded, producing 5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7 04:36:52 Checking out Revision 5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7 (PR-612) 04:36:52 > git --version # timeout=10 04:36:52 > git --version # 'git version 2.16.5' 04:36:52 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d 04:36:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:36:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:36:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:36:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:36:51 using GIT_SSH to set credentials SSH Credentials for GitHub 04:36:51 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/612/head:refs/remotes/origin/PR-612 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:36:52 > git config core.sparsecheckout # timeout=10 04:36:52 > git checkout -f 5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7 # timeout=10 04:36:52 > git remote # timeout=10 04:36:52 > git config --get remote.origin.url # timeout=10 04:36:52 using GIT_SSH to set credentials SSH Credentials for GitHub 04:36:52 > git merge 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 04:36:52 > git rev-parse HEAD^{commit} # timeout=10 04:36:52 > git config core.sparsecheckout # timeout=10 04:36:52 > git checkout -f 5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:36:53 ========================================================= 04:36:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 04:36:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:36:54 + 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 . 04:36:54 Sending build context to Docker daemon 3.485MB 04:36:54 Step 1/8 : ARG BASE=golang:1.15-alpine 04:36:54 Step 2/8 : FROM ${BASE} 04:36:54 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 04:36:54 df20fa9351a1: Pulling fs layer 04:36:54 ed8968b2872e: Pulling fs layer 04:36:54 a92cc7c5fd73: Pulling fs layer 04:36:54 e871e8e8d7a9: Pulling fs layer 04:36:54 e73272ec9a57: Pulling fs layer 04:36:54 1e910a182e73: Pulling fs layer 04:36:54 4e634b169226: Pulling fs layer 04:36:54 e871e8e8d7a9: Waiting 04:36:54 e73272ec9a57: Waiting 04:36:54 1e910a182e73: Waiting 04:36:54 a92cc7c5fd73: Verifying Checksum 04:36:54 a92cc7c5fd73: Download complete 04:36:54 ed8968b2872e: Verifying Checksum 04:36:54 ed8968b2872e: Download complete 04:36:54 e73272ec9a57: Download complete 04:36:54 1e910a182e73: Verifying Checksum 04:36:54 1e910a182e73: Download complete 04:36:54 df20fa9351a1: Download complete 04:36:55 df20fa9351a1: Pull complete 04:36:55 ed8968b2872e: Pull complete 04:36:55 a92cc7c5fd73: Pull complete 04:36:56 4e634b169226: Verifying Checksum 04:36:56 4e634b169226: Download complete 04:36:57 Commit message: "refactor:Simplify controller signatures" 04:36:57 > git --version # timeout=10 04:36:57 > git --version # 'git version 2.17.1' 04:36:57 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d 04:36:57 e871e8e8d7a9: Verifying Checksum 04:36:57 e871e8e8d7a9: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:36:58 ========================================================= 04:36:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 04:36:58 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:36:59 + 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 . 04:37:00 Sending build context to Docker daemon 3.485MB 04:37:00 Step 1/8 : ARG BASE=golang:1.15-alpine 04:37:00 Step 2/8 : FROM ${BASE} 04:37:01 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:37:01 b538f80385f9: Pulling fs layer 04:37:01 74f711af9a0d: Pulling fs layer 04:37:01 99f96fe45779: Pulling fs layer 04:37:01 8529a6b9a6be: Pulling fs layer 04:37:01 45590311c82a: Pulling fs layer 04:37:01 69ca0ff8b7b3: Pulling fs layer 04:37:01 209524e5b208: Pulling fs layer 04:37:01 8529a6b9a6be: Waiting 04:37:01 45590311c82a: Waiting 04:37:01 69ca0ff8b7b3: Waiting 04:37:01 209524e5b208: Waiting 04:37:01 99f96fe45779: Download complete 04:37:01 74f711af9a0d: Download complete 04:37:01 45590311c82a: Verifying Checksum 04:37:01 45590311c82a: Download complete 04:37:01 69ca0ff8b7b3: Verifying Checksum 04:37:01 69ca0ff8b7b3: Download complete 04:37:01 b538f80385f9: Verifying Checksum 04:37:01 b538f80385f9: Download complete 04:37:01 b538f80385f9: Pull complete 04:37:02 74f711af9a0d: Pull complete 04:37:02 e871e8e8d7a9: Pull complete 04:37:02 e73272ec9a57: Pull complete 04:37:02 1e910a182e73: Pull complete 04:37:02 99f96fe45779: Pull complete 04:37:03 209524e5b208: Verifying Checksum 04:37:03 209524e5b208: Download complete 04:37:04 8529a6b9a6be: Verifying Checksum 04:37:04 8529a6b9a6be: Download complete 04:37:08 4e634b169226: Pull complete 04:37:08 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 04:37:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 04:37:08 ---> f7629b54cfaa 04:37:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:37:08 ---> Running in 15084ce9a9d6 04:37:08 Removing intermediate container 15084ce9a9d6 04:37:08 ---> ca3857e97923 04:37:08 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:37:08 ---> Running in 475d50f7bd10 04:37:09 Removing intermediate container 475d50f7bd10 04:37:09 ---> 430f971b8d10 04:37:09 Step 5/8 : RUN apk add --no-cache make git 04:37:09 ---> Running in 056bc6329366 04:37:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:37:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:37:11 OK: 166 MiB in 39 packages 04:37:12 Removing intermediate container 056bc6329366 04:37:12 ---> 05b4ef4657a1 04:37:12 Step 6/8 : WORKDIR /device-sdk-go 04:37:12 ---> Running in 2619344f92b2 04:37:12 Removing intermediate container 2619344f92b2 04:37:12 ---> c85c7a174c68 04:37:12 Step 7/8 : COPY . . 04:37:13 ---> a24b9174fedd 04:37:13 Step 8/8 : RUN go mod download 04:37:13 ---> Running in 07a9228cf5fb 04:37:14 8529a6b9a6be: Pull complete 04:37:15 45590311c82a: Pull complete 04:37:15 69ca0ff8b7b3: Pull complete 04:37:19 209524e5b208: Pull complete 04:37:19 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 04:37:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 04:37:19 ---> 5bddaf1c2fca 04:37:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:37:22 ---> Running in 437b132bd545 04:37:22 Removing intermediate container 437b132bd545 04:37:22 ---> b6d7b20d1e91 04:37:22 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:37:22 ---> Running in 6c9d633ce1bc 04:37:25 Removing intermediate container 6c9d633ce1bc 04:37:25 ---> ab795f96b2a0 04:37:25 Step 5/8 : RUN apk add --no-cache make git 04:37:25 ---> Running in ad4a6bc33f69 04:37:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:37:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:37:27 OK: 142 MiB in 39 packages 04:37:29 Removing intermediate container ad4a6bc33f69 04:37:29 ---> 69941aa27b86 04:37:29 Step 6/8 : WORKDIR /device-sdk-go 04:37:29 ---> Running in a3be3d34f894 04:37:29 Removing intermediate container a3be3d34f894 04:37:29 ---> 8423f8b40352 04:37:29 Step 7/8 : COPY . . 04:37:31 ---> 7a3befe2aed6 04:37:31 Step 8/8 : RUN go mod download 04:37:31 ---> Running in 437005a960bf 04:37:31 Removing intermediate container 07a9228cf5fb 04:37:31 ---> bca59fbb8fda 04:37:31 Successfully built bca59fbb8fda 04:37:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:37:32 + docker inspect -f . ci-base-image-x86_64 04:37:32 . [Pipeline] withDockerContainer 04:37:32 prd-centos7-docker-4c-2g-3191 does not seem to be running inside a container 04:37:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:37:33 $ docker top c7f5736e5b769fc3fa93d074751a0e2f9410d0aa1724806b64d0d1965b45bf8b -eo pid,comm [Pipeline] { [Pipeline] sh 04:37:33 + go version 04:37:33 go version go1.15.2 linux/amd64 [Pipeline] } 04:37:33 $ docker stop --time=1 c7f5736e5b769fc3fa93d074751a0e2f9410d0aa1724806b64d0d1965b45bf8b 04:37:35 $ docker rm -f c7f5736e5b769fc3fa93d074751a0e2f9410d0aa1724806b64d0d1965b45bf8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:37:36 + docker inspect -f . ci-base-image-x86_64 04:37:36 . [Pipeline] withDockerContainer 04:37:36 prd-centos7-docker-4c-2g-3191 does not seem to be running inside a container 04:37:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:37:37 $ docker top 2b009fca22576145840d5a0928ca466555246755deb058b596332407866f8468 -eo pid,comm [Pipeline] { [Pipeline] sh 04:37:37 + make test 04:37:37 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:37:44 ? github.com/edgexfoundry/device-sdk-go [no test files] 04:37:53 Removing intermediate container 437005a960bf 04:37:53 ---> 23d708d672bd 04:37:53 Successfully built 23d708d672bd 04:37:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:37:54 + docker inspect -f . ci-base-image-arm64 04:37:54 . [Pipeline] withDockerContainer 04:37:54 prd-ubuntu18.04-docker-arm64-4c-16g-3190 does not seem to be running inside a container 04:37:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:37:56 $ docker top 0492496c46d656c40e6051f3e95b99b485dc6423cf214482295395bf7891f9c2 -eo pid,comm [Pipeline] { [Pipeline] sh 04:37:57 + go version 04:37:57 go version go1.15.2 linux/arm64 [Pipeline] } 04:37:57 $ docker stop --time=1 0492496c46d656c40e6051f3e95b99b485dc6423cf214482295395bf7891f9c2 04:37:59 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 04:37:59 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 04:37:59 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 04:37:59 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.048s coverage: 21.6% of statements 04:37:59 $ docker rm -f 0492496c46d656c40e6051f3e95b99b485dc6423cf214482295395bf7891f9c2 [Pipeline] // withDockerContainer [Pipeline] } 04:38:00 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.438s coverage: 97.1% of statements [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:38:01 + docker inspect -f . ci-base-image-arm64 04:38:01 . [Pipeline] withDockerContainer 04:38:01 prd-ubuntu18.04-docker-arm64-4c-16g-3190 does not seem to be running inside a container 04:38:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:38:03 $ docker top 1f0332170d7419599b0a81940933b134d31c1c3ed36eaf9f8419dbea43b97234 -eo pid,comm [Pipeline] { [Pipeline] sh 04:38:04 + make test 04:38:04 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:38:26 ? github.com/edgexfoundry/device-sdk-go [no test files] 04:38:32 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.054s coverage: 9.4% of statements 04:38:32 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.049s coverage: 21.9% of statements 04:38:32 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 04:38:32 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.199s coverage: 39.9% of statements 04:38:32 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 04:38:32 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.314s coverage: 65.4% of statements 04:38:32 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 04:38:32 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 04:38:32 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 04:38:32 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 04:38:32 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements 04:38:32 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 04:38:32 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.261s coverage: 68.9% of statements 04:38:32 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 04:38:32 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 04:38:32 GO111MODULE=on go vet ./... 04:38:37 gofmt -l . 04:38:37 [ "`gofmt -l .`" = "" ] 04:38:37 ./bin/test-attribution-txt.sh 04:38:38 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:38:38 Stashed 1 file(s) [Pipeline] } 04:38:38 $ docker stop --time=1 2b009fca22576145840d5a0928ca466555246755deb058b596332407866f8468 04:38:40 $ docker rm -f 2b009fca22576145840d5a0928ca466555246755deb058b596332407866f8468 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:38:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:38:44 + ls -al . 04:38:44 total 192 04:38:44 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 3 04:38 . 04:38:44 drwxrwxr-x. 4 jenkins jenkins 28 Oct 3 04:36 .. 04:38:44 drwxrwxr-x. 2 jenkins jenkins 64 Oct 3 04:36 bin 04:38:44 -rw-r--r--. 1 jenkins jenkins 111040 Oct 3 04:38 coverage.out 04:38:44 -rw-rw-r--. 1 jenkins jenkins 936 Oct 3 04:36 Dockerfile.build 04:38:44 -rw-rw-r--. 1 jenkins jenkins 140 Oct 3 04:36 .dockerignore 04:38:44 drwxrwxr-x. 4 jenkins jenkins 48 Oct 3 04:36 example 04:38:44 drwxrwxr-x. 8 jenkins jenkins 179 Oct 3 04:36 .git 04:38:44 drwxrwxr-x. 2 jenkins jenkins 60 Oct 3 04:36 .github 04:38:44 -rw-rw-r--. 1 jenkins jenkins 138 Oct 3 04:36 .gitignore 04:38:44 -rw-r--r--. 1 jenkins jenkins 517 Oct 3 04:38 go.mod 04:38:44 -rw-r--r--. 1 jenkins jenkins 13652 Oct 3 04:38 go.sum 04:38:44 drwxrwxr-x. 15 jenkins jenkins 211 Oct 3 04:36 internal 04:38:44 -rw-rw-r--. 1 jenkins jenkins 785 Oct 3 04:36 Jenkinsfile 04:38:44 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 3 04:36 LICENSE 04:38:44 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 3 04:36 Makefile 04:38:44 drwxrwxr-x. 4 jenkins jenkins 26 Oct 3 04:36 openapi 04:38:44 drwxrwxr-x. 5 jenkins jenkins 50 Oct 3 04:36 pkg 04:38:44 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 3 04:36 README.md 04:38:44 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 3 04:36 RELEASE-NOTES.txt 04:38:44 drwxrwxr-x. 3 jenkins jenkins 58 Oct 3 04:36 .semver 04:38:44 drwxrwxr-x. 4 jenkins jenkins 54 Oct 3 04:36 snap 04:38:44 -rw-rw-r--. 1 jenkins jenkins 5 Oct 3 04:33 VERSION 04:38:44 -rw-rw-r--. 1 jenkins jenkins 222 Oct 3 04:36 version.go [Pipeline] isUnix [Pipeline] sh 04:38:44 + 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=5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7 --label arch=amd64 --label version=0.0.0 . 04:38:45 Sending build context to Docker daemon 3.597MB 04:38:45 Step 1/24 : ARG BASE=golang:1.15-alpine 04:38:45 Step 2/24 : FROM ${BASE} AS builder 04:38:45 ---> bca59fbb8fda 04:38:45 Step 3/24 : ARG MAKE='make build' 04:38:45 ---> Running in 6550d1c12847 04:38:45 Removing intermediate container 6550d1c12847 04:38:45 ---> d785ada26410 04:38:45 Step 4/24 : WORKDIR /device-sdk-go 04:38:45 ---> Running in 8b46fc923e85 04:38:45 Removing intermediate container 8b46fc923e85 04:38:45 ---> aa3ca4da5881 04:38:45 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:38:46 ---> Running in 220a7a4abaea 04:38:46 Removing intermediate container 220a7a4abaea 04:38:46 ---> 4b6236e95f86 04:38:46 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:38:46 ---> Running in 360dc44f4c84 04:38:47 Removing intermediate container 360dc44f4c84 04:38:47 ---> ed315183462b 04:38:47 Step 7/24 : RUN apk add --update --no-cache make git 04:38:47 ---> Running in 4ad9a79c426e 04:38:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:38:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:38:48 OK: 166 MiB in 39 packages 04:38:49 Removing intermediate container 4ad9a79c426e 04:38:49 ---> e6999fb8d28b 04:38:49 Step 8/24 : COPY . . 04:38:50 ---> 00f910087c94 04:38:50 Step 9/24 : RUN ${MAKE} 04:38:50 ---> Running in a3854625b05b 04:38:50 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 04:38:58 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:39:00 Removing intermediate container a3854625b05b 04:39:00 ---> 30600fdeed9d 04:39:00 Step 10/24 : FROM scratch 04:39:00 ---> 04:39:00 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:39:00 ---> Running in d94eb6de6080 04:39:00 Removing intermediate container d94eb6de6080 04:39:00 ---> d7fbbb2197d1 04:39:00 Step 12/24 : ENV APP_PORT=49990 04:39:00 ---> Running in 9a35754e1c4d 04:39:00 Removing intermediate container 9a35754e1c4d 04:39:00 ---> 68da71fdd8bd 04:39:00 Step 13/24 : EXPOSE $APP_PORT 04:39:00 ---> Running in d805e83a2368 04:39:00 Removing intermediate container d805e83a2368 04:39:00 ---> abce7c038c6a 04:39:00 Step 14/24 : WORKDIR / 04:39:00 ---> Running in 152d7583c40a 04:39:00 Removing intermediate container 152d7583c40a 04:39:00 ---> ba502a288ae5 04:39:00 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:39:01 ---> 6ea06838b036 04:39:01 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:39:01 ---> 350e25e34432 04:39:01 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:39:01 ---> bb52c1a269e1 04:39:01 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:39:01 ---> b5f2f6275671 04:39:01 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:39:02 ---> 56269e4b6f90 04:39:02 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:39:02 ---> Running in 2babc7e59ecd 04:39:02 Removing intermediate container 2babc7e59ecd 04:39:02 ---> e9401cc400b0 04:39:02 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:39:02 ---> Running in 37dc2a93dc39 04:39:02 Removing intermediate container 37dc2a93dc39 04:39:02 ---> 0a02780ca2cb 04:39:02 Step 22/24 : LABEL arch=amd64 04:39:03 ---> Running in 468f5acffeee 04:39:03 Removing intermediate container 468f5acffeee 04:39:03 ---> dd9f659e61aa 04:39:03 Step 23/24 : LABEL git_sha=5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7 04:39:03 ---> Running in ed6849d3ea9a 04:39:03 Removing intermediate container ed6849d3ea9a 04:39:03 ---> 9f4b4e7a4c46 04:39:03 Step 24/24 : LABEL version=0.0.0 04:39:03 ---> Running in e925d5d2a4d9 04:39:03 Removing intermediate container e925d5d2a4d9 04:39:03 ---> 096f3d9ecc13 04:39:03 [Warning] One or more build-args [ARCH] were not consumed 04:39:03 Successfully built 096f3d9ecc13 04:39:03 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 04:39:05 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 04:39:05 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 04:39:05 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 04:39:05 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.113s coverage: 21.6% of statements [Pipeline] } 04:39:07 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.197s coverage: 97.1% of statements 04:39:40 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.127s coverage: 9.4% of statements 04:39:40 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.118s coverage: 21.9% of statements 04:39:40 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 04:39:40 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.537s coverage: 39.9% of statements 04:39:40 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 04:39:40 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.751s coverage: 65.4% of statements 04:39:40 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 04:39:40 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 04:39:40 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 04:39:40 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 04:39:40 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.191s coverage: 52.6% of statements 04:39:40 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 04:39:40 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.851s coverage: 68.9% of statements 04:39:40 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 04:39:40 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 04:39:40 GO111MODULE=on go vet ./... 04:40:07 gofmt -l . 04:40:07 [ "`gofmt -l .`" = "" ] 04:40:07 ./bin/test-attribution-txt.sh 04:40:08 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:40:08 Warning: overwriting stash ‘coverage-report’ 04:40:09 Stashed 1 file(s) [Pipeline] } 04:40:09 $ docker stop --time=1 1f0332170d7419599b0a81940933b134d31c1c3ed36eaf9f8419dbea43b97234 04:40:12 $ docker rm -f 1f0332170d7419599b0a81940933b134d31c1c3ed36eaf9f8419dbea43b97234 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:40:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:40:14 + ls -al . 04:40:14 total 232 04:40:14 drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 04:40 . 04:40:14 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 04:36 .. 04:40:14 -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 04:36 .dockerignore 04:40:14 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 04:36 .git 04:40:14 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 04:36 .github 04:40:14 -rw-rw-r-- 1 jenkins jenkins 138 Oct 3 04:36 .gitignore 04:40:14 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 04:36 .semver 04:40:14 -rw-rw-r-- 1 jenkins jenkins 936 Oct 3 04:36 Dockerfile.build 04:40:14 -rw-rw-r-- 1 jenkins jenkins 785 Oct 3 04:36 Jenkinsfile 04:40:14 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 3 04:36 LICENSE 04:40:14 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 3 04:36 Makefile 04:40:14 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 3 04:36 README.md 04:40:14 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 3 04:36 RELEASE-NOTES.txt 04:40:14 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 04:33 VERSION 04:40:14 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 04:36 bin 04:40:14 -rw-r--r-- 1 jenkins jenkins 111040 Oct 3 04:39 coverage.out 04:40:14 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 04:36 example 04:40:14 -rw-r--r-- 1 jenkins jenkins 517 Oct 3 04:40 go.mod 04:40:14 -rw-r--r-- 1 jenkins jenkins 13652 Oct 3 04:40 go.sum 04:40:14 drwxrwxr-x 15 jenkins jenkins 4096 Oct 3 04:36 internal 04:40:14 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 04:36 openapi 04:40:14 drwxrwxr-x 5 jenkins jenkins 4096 Oct 3 04:36 pkg 04:40:14 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 04:36 snap 04:40:14 -rw-rw-r-- 1 jenkins jenkins 222 Oct 3 04:36 version.go [Pipeline] isUnix [Pipeline] sh 04:40:14 + 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=5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7 --label arch=arm64 --label version=0.0.0 . 04:40:15 Sending build context to Docker daemon 3.597MB 04:40:15 Step 1/24 : ARG BASE=golang:1.15-alpine 04:40:15 Step 2/24 : FROM ${BASE} AS builder 04:40:15 ---> 23d708d672bd 04:40:15 Step 3/24 : ARG MAKE='make build' 04:40:15 ---> Running in e050f2de0e02 04:40:15 Removing intermediate container e050f2de0e02 04:40:15 ---> a8031213fb86 04:40:15 Step 4/24 : WORKDIR /device-sdk-go 04:40:15 ---> Running in 7d22f24aceb2 04:40:16 Removing intermediate container 7d22f24aceb2 04:40:16 ---> 4b93e4debba4 04:40:16 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:40:16 ---> Running in 4bf86a0c8e37 04:40:16 Removing intermediate container 4bf86a0c8e37 04:40:16 ---> bbfbcc94f196 04:40:16 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:40:17 ---> Running in b03cb95a57ea 04:40:19 Removing intermediate container b03cb95a57ea 04:40:19 ---> fa400dacac70 04:40:19 Step 7/24 : RUN apk add --update --no-cache make git 04:40:19 ---> Running in 881958af4fd1 04:40:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:40:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:40:22 OK: 142 MiB in 39 packages 04:40:23 Removing intermediate container 881958af4fd1 04:40:23 ---> 7b6f9313205f 04:40:23 Step 8/24 : COPY . . 04:40:25 ---> 6f91cae622ac 04:40:25 Step 9/24 : RUN ${MAKE} 04:40:25 ---> Running in eb498e90af83 04:40:26 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 04:40:53 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:40:53 Removing intermediate container eb498e90af83 04:40:53 ---> b3d02f9e2510 04:40:53 Step 10/24 : FROM scratch 04:40:53 ---> 04:40:53 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:40:53 ---> Running in e52829e42e68 04:40:53 Removing intermediate container e52829e42e68 04:40:53 ---> 9cf64794334f 04:40:53 Step 12/24 : ENV APP_PORT=49990 04:40:53 ---> Running in d9a754f1db6b 04:40:53 Removing intermediate container d9a754f1db6b 04:40:53 ---> f88ae6b21168 04:40:53 Step 13/24 : EXPOSE $APP_PORT 04:40:53 ---> Running in 0e9b5680e6b3 04:40:53 Removing intermediate container 0e9b5680e6b3 04:40:53 ---> 210b8a722786 04:40:53 Step 14/24 : WORKDIR / 04:40:53 ---> Running in 2d3619c8c805 04:40:54 Removing intermediate container 2d3619c8c805 04:40:54 ---> 20badc93fe70 04:40:54 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:40:55 ---> b70ba9176de6 04:40:55 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:40:56 ---> 08ac9ed49544 04:40:56 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:40:56 ---> e01f6a2d9e0f 04:40:56 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:40:57 ---> 8c7bc47dd756 04:40:57 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:40:58 ---> eaa8cef0177e 04:40:58 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:40:58 ---> Running in b9cd880489f8 04:40:58 Removing intermediate container b9cd880489f8 04:40:58 ---> 2f1fd94b22bd 04:40:58 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:40:58 ---> Running in ef8987a15d00 04:40:59 Removing intermediate container ef8987a15d00 04:40:59 ---> a60f3cb8e8e9 04:40:59 Step 22/24 : LABEL arch=arm64 04:40:59 ---> Running in b31b7c2b218f 04:40:59 Removing intermediate container b31b7c2b218f 04:40:59 ---> 5b8c980ad513 04:40:59 Step 23/24 : LABEL git_sha=5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7 04:41:00 ---> Running in f30180a1f7aa 04:41:00 Removing intermediate container f30180a1f7aa 04:41:00 ---> 2e129635cceb 04:41:00 Step 24/24 : LABEL version=0.0.0 04:41:00 ---> Running in d7ce384bdd9c 04:41:01 Removing intermediate container d7ce384bdd9c 04:41:01 ---> 918f02fa537c 04:41:01 [Warning] One or more build-args [ARCH] were not consumed 04:41:01 Successfully built 918f02fa537c 04:41:01 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 04:41:04 provisioning config files... 04:41:04 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-612@tmp/config1927906867119986848tmp [Pipeline] { [Pipeline] sh 04:41:04 + set +x 04:41:04 + curl -s https://codecov.io/bash 04:41:04 + bash -s -- 04:41:04 04:41:04 _____ _ 04:41:04 / ____| | | 04:41:04 | | ___ __| | ___ ___ _____ __ 04:41:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:41:04 | |___| (_) | (_| | __/ (_| (_) \ V / 04:41:04 \_____\___/ \__,_|\___|\___\___/ \_/ 04:41:04 Bash-20200917-4e8f14b 04:41:04 04:41:04 04:41:04 ==> Jenkins CI detected. 04:41:04 project root: . 04:41:04 --> token set from env 04:41:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:41:04 ==> Running gcov in . (disable via -X gcov) 04:41:04 ==> Python coveragepy not found 04:41:04 ==> Searching for coverage reports in: 04:41:04 + . 04:41:04 -> Found 1 reports 04:41:04 ==> Detecting git/mercurial file structure 04:41:04 ==> Reading reports 04:41:04 + ./coverage.out bytes=111040 04:41:04 ==> Appending adjustments 04:41:04 https://docs.codecov.io/docs/fixing-reports 04:41:05 + Found adjustments 04:41:05 ==> Gzipping contents 04:41:05 ==> Uploading reports 04:41:05 url: https://codecov.io 04:41:05 query: branch=PR-612&commit=5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-612%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=612&job=&cmd_args= 04:41:05 -> Pinging Codecov 04:41:05 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-612&commit=5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-612%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=612&job=&cmd_args= 04:41:05 -> Uploading to 04:41:05 https://storage.googleapis.com/codecov/v4/raw/2020-10-03/7E55EF52A471D76F132DFD9A03CDDE97/5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7/0444e3a6-bb4e-4ce6-84d5-49050abb59b0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201003T044105Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=642c66816e78168ee2d41d2da2e04e49522708e2ba9ff92ffc7d67ff8172c70e 04:41:05 % Total % Received % Xferd Average Speed Time Time Time Current 04:41:05 Dload Upload Total Spent Left Speed 04:41:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18313 0 0 100 18313 0 46383 --:--:-- --:--:-- --:--:-- 46479 04:41:06 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5334000ba4cea7ee4bdb2c9b3a87ed03a73fc9e7 [Pipeline] } 04:41:06 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 04:41:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:41:10 ---> package-listing.sh 04:41:10 ++ facter osfamily 04:41:10 ++ tr '[:upper:]' '[:lower:]' 04:41:10 + OS_FAMILY=redhat 04:41:10 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-612 04:41:10 + START_PACKAGES=/tmp/packages_start.txt 04:41:10 + END_PACKAGES=/tmp/packages_end.txt 04:41:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:41:10 + PACKAGES=/tmp/packages_start.txt 04:41:10 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-612 ']' 04:41:10 + PACKAGES=/tmp/packages_end.txt 04:41:10 + case "${OS_FAMILY}" in 04:41:10 + rpm -qa 04:41:10 + sort 04:41:14 + '[' -f /tmp/packages_start.txt ']' 04:41:14 + '[' -f /tmp/packages_end.txt ']' 04:41:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:41:14 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-612 ']' 04:41:14 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-612/archives/ 04:41:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-612/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:41:14 provisioning config files... 04:41:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-612@tmp/config4722168042207917826tmp [Pipeline] { [Pipeline] echo 04:41:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:41:15 ---> create-netrc.sh [Pipeline] } 04:41:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 04:41:15 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 04:41:15 ---> python-tools-install.sh 04:41:15 Generating Requirements File 04:42:37 Python 3.6.8 04:42:37 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 04:42:37 aiohttp==3.6.2 04:42:37 appdirs==1.4.3 04:42:37 argcomplete==1.12.1 04:42:37 aspy.yaml==1.3.0 04:42:37 async-timeout==3.0.1 04:42:37 attrs==19.3.0 04:42:37 Babel==2.8.0 04:42:37 beautifulsoup4==4.8.2 04:42:37 boto3==1.11.6 04:42:37 botocore==1.14.6 04:42:37 bs4==0.0.1 04:42:37 cachetools==4.1.1 04:42:37 certifi==2019.11.28 04:42:37 cffi==1.14.3 04:42:37 cfgv==2.0.1 04:42:37 chardet==3.0.4 04:42:37 click==7.1 04:42:37 cliff==3.4.0 04:42:37 cmd2==1.3.11 04:42:37 colorama==0.4.3 04:42:37 cryptography==3.1.1 04:42:37 debtcollector==2.2.0 04:42:37 decorator==4.4.2 04:42:37 defusedxml==0.6.0 04:42:37 Deprecated==1.2.7 04:42:37 distlib==0.3.1 04:42:37 distro==1.2.0 04:42:37 dnspython==1.16.0 04:42:37 docker==4.2.0 04:42:37 docutils==0.15.2 04:42:37 dogpile.cache==1.0.2 04:42:37 email-validator==1.0.5 04:42:37 filelock==3.0.12 04:42:37 future==0.18.2 04:42:37 google-auth==1.22.0 04:42:37 httplib2==0.17.0 04:42:37 identify==1.4.11 04:42:37 idna==2.9 04:42:37 idna-ssl==1.1.0 04:42:37 importlib-metadata==1.7.0 04:42:37 importlib-resources==1.5.0 04:42:37 iso8601==0.1.13 04:42:37 Jinja2==2.11.1 04:42:37 jmespath==0.10.0 04:42:37 jsonpatch==1.26 04:42:37 jsonpointer==2.0 04:42:37 jsonschema==3.2.0 04:42:37 keystoneauth1==4.2.1 04:42:37 kubernetes==11.0.0 04:42:37 lftools==0.34.2 04:42:37 lxml==4.5.0 04:42:37 MarkupSafe==0.23 04:42:37 msgpack==1.0.0 04:42:37 multi-key-dict==2.0.3 04:42:37 multidict==4.7.6 04:42:37 munch==2.5.0 04:42:37 netaddr==0.8.0 04:42:37 netifaces==0.10.9 04:42:37 niet==1.4.2 04:42:37 nodeenv==1.3.5 04:42:37 oauth2client==4.1.3 04:42:37 oauthlib==3.1.0 04:42:37 openstacksdk==0.50.0 04:42:37 os-client-config==2.1.0 04:42:37 os-service-types==1.7.0 04:42:37 osc-lib==2.2.1 04:42:37 oslo.config==8.3.2 04:42:37 oslo.context==3.1.1 04:42:37 oslo.i18n==5.0.1 04:42:37 oslo.log==4.4.0 04:42:37 oslo.serialization==4.0.1 04:42:37 oslo.utils==4.6.0 04:42:37 packaging==20.4 04:42:37 pbr==5.4.4 04:42:37 pluggy==0.13.1 04:42:37 prettytable==0.7.2 04:42:37 py==1.9.0 04:42:37 pyasn1==0.4.8 04:42:37 pyasn1-modules==0.2.8 04:42:37 pycparser==2.20 04:42:37 pygerrit2==2.0.10 04:42:37 PyGithub==1.46 04:42:37 pyinotify==0.9.6 04:42:37 PyJWT==1.7.1 04:42:37 pyparsing==2.4.7 04:42:37 pyperclip==1.8.0 04:42:37 pyroute2==0.4.13 04:42:37 pyrsistent==0.15.7 04:42:37 PySocks==1.6.8 04:42:37 python-cinderclient==7.2.0 04:42:37 python-dateutil==2.8.1 04:42:37 python-heatclient==2.2.1 04:42:37 python-jenkins==1.7.0 04:42:37 python-keystoneclient==4.1.1 04:42:37 python-magnumclient==3.2.1 04:42:37 python-novaclient==17.2.1 04:42:37 python-openstackclient==5.4.0 04:42:37 python-swiftclient==3.10.1 04:42:37 pytz==2020.1 04:42:37 PyYAML==5.3 04:42:37 requests==2.23.0 04:42:37 requests-oauthlib==1.3.0 04:42:37 requestsexceptions==1.4.0 04:42:37 rfc3986==1.4.0 04:42:37 rpm==4.11.3 04:42:37 rsa==4.0 04:42:37 ruamel.yaml==0.16.10 04:42:37 ruamel.yaml.clib==0.2.0 04:42:37 s3transfer==0.3.3 04:42:37 shade==1.27.2 04:42:37 simplejson==3.17.2 04:42:37 six==1.14.0 04:42:37 soupsieve==2.0 04:42:37 stevedore==3.2.2 04:42:37 tabulate==0.8.6 04:42:37 toml==0.10.0 04:42:37 tox==3.20.0 04:42:37 tqdm==4.43.0 04:42:37 typing-extensions==3.7.4.3 04:42:37 urllib3==1.25.8 04:42:37 virtualenv==20.0.32 04:42:37 wcwidth==0.2.5 04:42:37 websocket-client==0.57.0 04:42:37 wrapt==1.12.1 04:42:37 xdg==3.0.2 04:42:37 xmltodict==0.12.0 04:42:37 yarl==1.6.0 04:42:37 yq==2.11.1 04:42:37 zipp==3.2.0 04:42:37 Cache entry deserialization failed, entry ignored 04:42:37 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. 04:42:37 Python 2.7.5 04:42:37 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 04:42:37 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. 04:42:37 ansible==2.9.7 04:42:37 Babel==0.9.6 04:42:37 backports.ssl-match-hostname==3.5.0.1 04:42:37 beautifulsoup4==4.4.1 04:42:37 bodhi==2.11.0 04:42:37 bodhi-client==2.11.0 04:42:37 CCColUtils==1.4 04:42:37 cffi==1.6.0 04:42:37 chardet==2.2.1 04:42:37 click==6.7 04:42:37 cloud-init==18.5 04:42:37 configobj==4.7.2 04:42:37 cryptography==1.7.2 04:42:37 decorator==3.4.0 04:42:37 distro==1.2.0 04:42:37 enum34==1.0.4 04:42:37 fedpkg==1.38 04:42:37 futures==3.1.1 04:42:37 gitdb==0.6.4 04:42:37 GitPython==1.0.1 04:42:37 html5lib==0.999 04:42:37 httplib2==0.9.2 04:42:37 idna==2.4 04:42:37 iniparse==0.4 04:42:37 ipaddress==1.0.16 04:42:37 IPy==0.75 04:42:37 javapackages==1.0.0 04:42:37 Jinja2==2.7.2 04:42:37 jmespath==0.9.4 04:42:37 jsonpatch==1.2 04:42:37 jsonpointer==1.9 04:42:37 kerberos==1.1 04:42:37 kitchen==1.1.1 04:42:37 langtable==0.0.31 04:42:37 lockfile==0.9.1 04:42:37 lxml==3.2.1 04:42:37 MarkupSafe==0.11 04:42:37 munch==2.0.2 04:42:37 offtrac==0.1.0 04:42:37 openidc-client==0.6.0 04:42:37 packagedb-cli==2.14.1 04:42:37 paramiko==2.1.1 04:42:37 perf==0.1 04:42:37 ply==3.4 04:42:37 policycoreutils-default-encoding==0.1 04:42:37 prettytable==0.7.2 04:42:37 pyasn1==0.1.9 04:42:37 pycparser==2.14 04:42:37 pycurl==7.19.0 04:42:37 pygobject==3.22.0 04:42:37 pygpgme==0.3 04:42:37 pyliblzma==0.5.3 04:42:37 pyOpenSSL==0.13.1 04:42:37 pyparsing==1.5.6 04:42:37 pyserial==2.6 04:42:37 python-augeas==0.5.0 04:42:37 python-bugzilla==2.3.0 04:42:37 python-dateutil==1.5 04:42:37 python-fedora==0.10.0 04:42:37 python-linux-procfs==0.4.9 04:42:37 python-yubico==1.2.3 04:42:37 pyudev==0.15 04:42:37 pyusb==1.0.0b1 04:42:37 pyxattr==0.5.1 04:42:37 PyYAML==3.10 04:42:37 requests==2.6.0 04:42:37 requests-kerberos==0.7.0 04:42:37 rpkg==1.60 04:42:37 schedutils==0.4 04:42:37 seobject==0.1 04:42:37 sepolicy==1.1 04:42:37 six==1.9.0 04:42:37 smmap==0.9.0 04:42:37 urlgrabber==3.10 04:42:37 urllib3==1.10.2 04:42:37 virtualenv==15.1.0 04:42:37 yum-langpacks==0.4.2 04:42:37 yum-metadata-parser==1.1.4 [Pipeline] echo 04:42:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:42:37 ---> sudo-logs.sh 04:42:37 Archiving 'sudo' log.. [Pipeline] echo 04:42:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:42:39 ---> job-cost.sh 04:42:39 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GMFh 04:42:49 Cache entry deserialization failed, entry ignored 04:42:49 Cache entry deserialization failed, entry ignored 04:42:49 Cache entry deserialization failed, entry ignored 04:42:49 Cache entry deserialization failed, entry ignored 04:42:49 Cache entry deserialization failed, entry ignored 04:42:49 Cache entry deserialization failed, entry ignored 04:42:49 Cache entry deserialization failed, entry ignored 04:42:49 Cache entry deserialization failed, entry ignored 04:42:49 Cache entry deserialization failed, entry ignored 04:42:49 Cache entry deserialization failed, entry ignored 04:42:49 Cache entry deserialization failed, entry ignored 04:42:49 Cache entry deserialization failed, entry ignored 04:42:52 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:43:24 lf-activate-venv(): INFO: Adding /tmp/venv-GMFh/bin to PATH 04:43:24 INFO: No Stack... 04:43:24 INFO: Retrieving Pricing Info for: v1-standard-2 04:43:24 INFO: Archiving Costs [Pipeline] echo 04:43:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:43:25 ---> logs-deploy.sh 04:43:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-612/1 04:43:25 INFO: archiving workspace using pattern(s): 04:43:26 Archives upload complete. 04:43:26 INFO: archiving logs to Nexus