Pull request #602 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 6b42d374f1c82bd9ac510ed29be637f4c5788665+0cafa7decaaa0dab3b86f836c2c615e8e839d11b (924d611d5526b627f8e9244449787cf8bb42e254) 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-602/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-602/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-1756 in /w/workspace/dgexfoundry_device-sdk-go_PR-602 [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-602 # 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 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 6b42d374f1c82bd9ac510ed29be637f4c5788665 Merge succeeded, producing 6b42d374f1c82bd9ac510ed29be637f4c5788665 Checking out Revision 6b42d374f1c82bd9ac510ed29be637f4c5788665 (PR-602) > 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/602/head:refs/remotes/origin/PR-602 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6b42d374f1c82bd9ac510ed29be637f4c5788665 # 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 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6b42d374f1c82bd9ac510ed29be637f4c5788665 # timeout=10 Commit message: "feat: implement Device SDK v2 common API" 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 06:53:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:53:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:53:46 ========================================================= 06:53:46 EdgeX Global Pipelines Version Info 06:53:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:53:48 ------------------- 06:53:48 stable info: 06:53:48 ------------------- 06:53:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:53:48 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 06:53:48 Message: update stable to v1.0.131 06:53:49 ------------------- 06:53:49 experimental info: 06:53:49 ------------------- 06:53:49 Commited By: **** collab-it+edgex@linuxfoundation.org 06:53:49 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 06:53:49 Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:53:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:53:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:53:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:53:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:53:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:53:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:53:50 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:53:50 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:53:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:53:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:53:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:53:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:53:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:53:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:53:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:53:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:53:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:53:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:53:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:53:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:53:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:53:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:53:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:53:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:53:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:53:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-602 [Pipeline] echo 06:53:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-602 [Pipeline] echo 06:53:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-602 [Pipeline] echo 06:53:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6b42d374f1c82bd9ac510ed29be637f4c5788665 [Pipeline] echo 06:53:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6b42d37 [Pipeline] echo 06:53:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:53:54 + git log --format=format:%s -1 6b42d374f1c82bd9ac510ed29be637f4c5788665 [Pipeline] echo 06:53:55 GIT_COMMIT: 6b42d374f1c82bd9ac510ed29be637f4c5788665, Commit Message: feat: implement Device SDK v2 common API [Pipeline] echo 06:53:55 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:53:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:53:56 06:53:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:53:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:53:56 latest: Pulling from edgex-devops/git-semver 06:53:56 31603596830f: Pulling fs layer 06:53:56 2a8b12db71e7: Pulling fs layer 06:53:56 6ca5941a6612: Pulling fs layer 06:53:56 ecc8261a40a4: Pulling fs layer 06:53:56 ecc8261a40a4: Waiting 06:53:57 2a8b12db71e7: Verifying Checksum 06:53:57 2a8b12db71e7: Download complete 06:53:57 31603596830f: Verifying Checksum 06:53:57 31603596830f: Download complete 06:53:57 ecc8261a40a4: Verifying Checksum 06:53:57 ecc8261a40a4: Download complete 06:53:57 6ca5941a6612: Verifying Checksum 06:53:57 6ca5941a6612: Download complete 06:53:57 31603596830f: Pull complete 06:53:57 2a8b12db71e7: Pull complete 06:53:59 6ca5941a6612: Pull complete 06:53:59 ecc8261a40a4: Pull complete 06:53:59 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:53:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:53:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:53:59 prd-centos7-docker-4c-2g-1756 does not seem to be running inside a container 06:53:59 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-602 -v /w/workspace/dgexfoundry_device-sdk-go_PR-602:/w/workspace/dgexfoundry_device-sdk-go_PR-602:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-602@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:54:01 $ docker top 5070cce8cb1eab7b6f9419bf3ea29bc31576b782934b5640f259e8c293de8289 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:54:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:54:02 [ssh-agent] Looking for ssh-agent implementation... 06:54:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:54:02 $ docker exec 5070cce8cb1eab7b6f9419bf3ea29bc31576b782934b5640f259e8c293de8289 ssh-agent 06:54:03 SSH_AUTH_SOCK=/tmp/ssh-Ethg9rKVlx9t/agent.12 06:54:03 SSH_AGENT_PID=18 06:54:03 Running ssh-add (command line suppressed) 06:54:03 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_2771190246687379751.key (/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_2771190246687379751.key) 06:54:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:54:03 + git describe --exact-match --tags HEAD 06:54:03 fatal: no tag exactly matches '6b42d374f1c82bd9ac510ed29be637f4c5788665' [Pipeline] } 06:54:03 $ docker exec --env ******** --env ******** 5070cce8cb1eab7b6f9419bf3ea29bc31576b782934b5640f259e8c293de8289 ssh-agent -k 06:54:03 unset SSH_AUTH_SOCK; 06:54:03 unset SSH_AGENT_PID; 06:54:03 echo Agent pid 18 killed; 06:54:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:54:04 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 06:54:04 This usually means this commit has not been tagged. [Pipeline] sshagent 06:54:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:54:04 [ssh-agent] Looking for ssh-agent implementation... 06:54:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:54:04 $ docker exec 5070cce8cb1eab7b6f9419bf3ea29bc31576b782934b5640f259e8c293de8289 ssh-agent 06:54:04 SSH_AUTH_SOCK=/tmp/ssh-6MsQWk8xcD6R/agent.47 06:54:04 SSH_AGENT_PID=53 06:54:04 Running ssh-add (command line suppressed) 06:54:05 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_3784938403018790949.key (/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_3784938403018790949.key) 06:54:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:54:05 + git semver init 06:54:05 # -> Open(): unable to determine branch for HEAD 06:54:05 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-602/.git 06:54:05 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-602 06:54:05 # $SEMVER_REMOTE_NAME = origin 06:54:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:54:05 # $SEMVER_USER_NAME = edgex-jenkins 06:54:05 # $SEMVER_BRANCH = PR-602 06:54:05 # $SEMVER_TEMP = /tmp/semver-736014551 06:54:05 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:54:06 # '/tmp/semver-736014551' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-602/.semver' 06:54:06 # -> Force: false 06:54:06 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-602/.semver [Pipeline] } 06:54:06 $ docker exec --env ******** --env ******** 5070cce8cb1eab7b6f9419bf3ea29bc31576b782934b5640f259e8c293de8289 ssh-agent -k 06:54:06 unset SSH_AUTH_SOCK; 06:54:06 unset SSH_AGENT_PID; 06:54:06 echo Agent pid 53 killed; 06:54:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:54:07 + git semver [Pipeline] } 06:54:07 $ docker stop --time=1 5070cce8cb1eab7b6f9419bf3ea29bc31576b782934b5640f259e8c293de8289 06:54:08 $ docker rm -f 5070cce8cb1eab7b6f9419bf3ea29bc31576b782934b5640f259e8c293de8289 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:54:10 Stashed 39 file(s) [Pipeline] echo 06:54:10 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 06:54:10 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 06:54:26 Still waiting to schedule task 06:54:26 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:54:26 Still waiting to schedule task 06:54:26 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:57:23 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1760 in /w/workspace/dgexfoundry_device-sdk-go_PR-602 [Pipeline] { [Pipeline] ws 06:57:23 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:57:28 using credential edgex-jenkins-ssh 06:57:28 Cloning the remote Git repository 06:57:28 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:57:28 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:57:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:57:28 > git --version # timeout=10 06:57:28 > git --version # 'git version 2.17.1' 06:57:28 using GIT_SSH to set credentials SSH Credentials for GitHub 06:57:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:57:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:57:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:57:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:57:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:57:29 using GIT_SSH to set credentials SSH Credentials for GitHub 06:57:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/602/head:refs/remotes/origin/PR-602 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:57:30 Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 6b42d374f1c82bd9ac510ed29be637f4c5788665 06:57:30 Merge succeeded, producing 6b42d374f1c82bd9ac510ed29be637f4c5788665 06:57:30 Checking out Revision 6b42d374f1c82bd9ac510ed29be637f4c5788665 (PR-602) 06:57:30 > git config core.sparsecheckout # timeout=10 06:57:30 > git checkout -f 6b42d374f1c82bd9ac510ed29be637f4c5788665 # timeout=10 06:57:30 > git remote # timeout=10 06:57:30 > git config --get remote.origin.url # timeout=10 06:57:30 using GIT_SSH to set credentials SSH Credentials for GitHub 06:57:30 > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 06:57:30 > git rev-parse HEAD^{commit} # timeout=10 06:57:30 > git config core.sparsecheckout # timeout=10 06:57:30 > git checkout -f 6b42d374f1c82bd9ac510ed29be637f4c5788665 # timeout=10 06:57:35 Commit message: "feat: implement Device SDK v2 common API" 06:57:35 > git --version # timeout=10 06:57:35 > git --version # 'git version 2.17.1' 06:57:35 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:57:36 ========================================================= 06:57:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:57:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:57:37 + 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 . 06:57:38 Sending build context to Docker daemon 3.446MB 06:57:38 Step 1/8 : ARG BASE=golang:1.15-alpine 06:57:38 Step 2/8 : FROM ${BASE} 06:57:39 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:57:39 b538f80385f9: Pulling fs layer 06:57:39 74f711af9a0d: Pulling fs layer 06:57:39 99f96fe45779: Pulling fs layer 06:57:39 8529a6b9a6be: Pulling fs layer 06:57:39 45590311c82a: Pulling fs layer 06:57:39 69ca0ff8b7b3: Pulling fs layer 06:57:39 209524e5b208: Pulling fs layer 06:57:39 45590311c82a: Waiting 06:57:39 8529a6b9a6be: Waiting 06:57:39 209524e5b208: Waiting 06:57:39 69ca0ff8b7b3: Waiting 06:57:39 99f96fe45779: Verifying Checksum 06:57:39 99f96fe45779: Download complete 06:57:39 74f711af9a0d: Verifying Checksum 06:57:39 74f711af9a0d: Download complete 06:57:39 45590311c82a: Verifying Checksum 06:57:39 45590311c82a: Download complete 06:57:39 69ca0ff8b7b3: Verifying Checksum 06:57:39 69ca0ff8b7b3: Download complete 06:57:39 b538f80385f9: Verifying Checksum 06:57:39 b538f80385f9: Download complete 06:57:39 b538f80385f9: Pull complete 06:57:40 74f711af9a0d: Pull complete 06:57:41 99f96fe45779: Pull complete 06:57:41 209524e5b208: Verifying Checksum 06:57:41 209524e5b208: Download complete 06:57:43 8529a6b9a6be: Verifying Checksum 06:57:43 8529a6b9a6be: Download complete 06:57:53 8529a6b9a6be: Pull complete 06:57:53 45590311c82a: Pull complete 06:57:53 69ca0ff8b7b3: Pull complete 06:57:57 209524e5b208: Pull complete 06:57:57 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:57:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:57:57 ---> 5bddaf1c2fca 06:57:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:58:00 ---> Running in d64747c4776e 06:58:00 Removing intermediate container d64747c4776e 06:58:00 ---> 3ce855f2bd1f 06:58:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:58:00 ---> Running in 1e562c9a14e5 06:58:04 Removing intermediate container 1e562c9a14e5 06:58:04 ---> f3b8de2a89ef 06:58:04 Step 5/8 : RUN apk add --no-cache make git 06:58:04 ---> Running in cb12c56b172f 06:58:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:58:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:58:06 OK: 142 MiB in 39 packages 06:58:07 Removing intermediate container cb12c56b172f 06:58:07 ---> c1c4e780ba4e 06:58:07 Step 6/8 : WORKDIR /device-sdk-go 06:58:07 ---> Running in 8b3674738d96 06:58:08 Removing intermediate container 8b3674738d96 06:58:08 ---> 19992e7a9b34 06:58:08 Step 7/8 : COPY . . 06:58:09 ---> b06f68400252 06:58:09 Step 8/8 : RUN go mod download 06:58:09 ---> Running in 7328612bca3c 06:58:32 Removing intermediate container 7328612bca3c 06:58:32 ---> eaeeef95e0e6 06:58:32 Successfully built eaeeef95e0e6 06:58:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:58:32 + docker inspect -f . ci-base-image-arm64 06:58:32 . [Pipeline] withDockerContainer 06:58:32 prd-ubuntu18.04-docker-arm64-4c-16g-1760 does not seem to be running inside a container 06:58:33 $ 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 06:58:34 $ docker top 23fd9435796629664621139c2637e464fc05e398e3336e6e8ce47b45851d2bec -eo pid,comm [Pipeline] { [Pipeline] sh 06:58:36 + go version 06:58:36 go version go1.15.2 linux/arm64 [Pipeline] } 06:58:36 $ docker stop --time=1 23fd9435796629664621139c2637e464fc05e398e3336e6e8ce47b45851d2bec 06:58:38 $ docker rm -f 23fd9435796629664621139c2637e464fc05e398e3336e6e8ce47b45851d2bec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:58:39 + docker inspect -f . ci-base-image-arm64 06:58:39 . [Pipeline] withDockerContainer 06:58:39 prd-ubuntu18.04-docker-arm64-4c-16g-1760 does not seem to be running inside a container 06:58:39 $ 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 06:58:41 $ docker top 328bace7cbeef6459fdf789e8650e3af0c1220f1122664a2abe536de4dcaa463 -eo pid,comm [Pipeline] { [Pipeline] sh 06:58:43 + make test 06:58:43 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:59:04 Running on prd-centos7-docker-4c-2g-1761 in /w/workspace/dgexfoundry_device-sdk-go_PR-602 [Pipeline] { [Pipeline] ws 06:59:04 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:59:05 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:59:07 using credential edgex-jenkins-ssh 06:59:07 Cloning the remote Git repository 06:59:07 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:59:07 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:59:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:59:07 > git --version # timeout=10 06:59:07 > git --version # 'git version 2.16.5' 06:59:07 using GIT_SSH to set credentials SSH Credentials for GitHub 06:59:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:59:09 Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 6b42d374f1c82bd9ac510ed29be637f4c5788665 06:59:09 Merge succeeded, producing 6b42d374f1c82bd9ac510ed29be637f4c5788665 06:59:09 Checking out Revision 6b42d374f1c82bd9ac510ed29be637f4c5788665 (PR-602) 06:59:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:59:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:59:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:59:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:59:09 using GIT_SSH to set credentials SSH Credentials for GitHub 06:59:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/602/head:refs/remotes/origin/PR-602 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:59:09 > git config core.sparsecheckout # timeout=10 06:59:09 > git checkout -f 6b42d374f1c82bd9ac510ed29be637f4c5788665 # timeout=10 06:59:09 > git remote # timeout=10 06:59:09 > git config --get remote.origin.url # timeout=10 06:59:09 using GIT_SSH to set credentials SSH Credentials for GitHub 06:59:09 > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 06:59:09 > git rev-parse HEAD^{commit} # timeout=10 06:59:09 > git config core.sparsecheckout # timeout=10 06:59:09 > git checkout -f 6b42d374f1c82bd9ac510ed29be637f4c5788665 # timeout=10 06:59:13 Commit message: "feat: implement Device SDK v2 common API" 06:59:13 > git --version # timeout=10 06:59:13 > git --version # 'git version 2.16.5' 06:59:13 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:59:14 ========================================================= 06:59:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:59:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:59:15 + 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 . 06:59:15 Sending build context to Docker daemon 3.446MB 06:59:15 Step 1/8 : ARG BASE=golang:1.15-alpine 06:59:15 Step 2/8 : FROM ${BASE} 06:59:15 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:59:15 df20fa9351a1: Pulling fs layer 06:59:15 ed8968b2872e: Pulling fs layer 06:59:15 a92cc7c5fd73: Pulling fs layer 06:59:15 e871e8e8d7a9: Pulling fs layer 06:59:15 e73272ec9a57: Pulling fs layer 06:59:15 1e910a182e73: Pulling fs layer 06:59:15 4e634b169226: Pulling fs layer 06:59:15 e73272ec9a57: Waiting 06:59:15 4e634b169226: Waiting 06:59:15 1e910a182e73: Waiting 06:59:15 e871e8e8d7a9: Waiting 06:59:15 a92cc7c5fd73: Verifying Checksum 06:59:15 a92cc7c5fd73: Download complete 06:59:15 ed8968b2872e: Download complete 06:59:15 e73272ec9a57: Download complete 06:59:15 1e910a182e73: Verifying Checksum 06:59:15 1e910a182e73: Download complete 06:59:15 df20fa9351a1: Verifying Checksum 06:59:15 df20fa9351a1: Download complete 06:59:16 df20fa9351a1: Pull complete 06:59:16 ed8968b2872e: Pull complete 06:59:16 a92cc7c5fd73: Pull complete 06:59:18 4e634b169226: Verifying Checksum 06:59:18 4e634b169226: Download complete 06:59:19 e871e8e8d7a9: Download complete 06:59:24 e871e8e8d7a9: Pull complete 06:59:24 e73272ec9a57: Pull complete 06:59:24 1e910a182e73: Pull complete 06:59:34 4e634b169226: Pull complete 06:59:34 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:59:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:59:34 ---> f7629b54cfaa 06:59:34 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:59:34 ---> Running in bd13f232b42e 06:59:34 Removing intermediate container bd13f232b42e 06:59:34 ---> b9f10b55456a 06:59:34 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:59:34 ---> Running in 35a073825e3e 06:59:36 Removing intermediate container 35a073825e3e 06:59:36 ---> c5821e6e2aa9 06:59:36 Step 5/8 : RUN apk add --no-cache make git 06:59:36 ---> Running in 1454574bd5f5 06:59:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:59:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:59:38 OK: 166 MiB in 39 packages 06:59:38 Removing intermediate container 1454574bd5f5 06:59:38 ---> 3014d3e676bc 06:59:38 Step 6/8 : WORKDIR /device-sdk-go 06:59:38 ---> Running in 544095542e81 06:59:38 Removing intermediate container 544095542e81 06:59:38 ---> 8635caa9404b 06:59:38 Step 7/8 : COPY . . 06:59:40 ---> 981fa3a12483 06:59:40 Step 8/8 : RUN go mod download 06:59:40 ---> Running in d87244305b06 06:59:44 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:59:44 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:59:44 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:59:44 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.167s coverage: 21.9% of statements 06:59:47 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.231s coverage: 95.7% of statements 07:00:02 Removing intermediate container d87244305b06 07:00:02 ---> a75d1ada936e 07:00:02 Successfully built a75d1ada936e 07:00:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:00:02 + docker inspect -f . ci-base-image-x86_64 07:00:02 . [Pipeline] withDockerContainer 07:00:02 prd-centos7-docker-4c-2g-1761 does not seem to be running inside a container 07:00:02 $ 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 ******** -e ******** ci-base-image-x86_64 cat 07:00:03 $ docker top 5a231da3576e6e4a20ce2b612f15f54cca2565a209f537acf34ba650026faa04 -eo pid,comm [Pipeline] { [Pipeline] sh 07:00:04 + go version 07:00:04 go version go1.15.2 linux/amd64 [Pipeline] } 07:00:04 $ docker stop --time=1 5a231da3576e6e4a20ce2b612f15f54cca2565a209f537acf34ba650026faa04 07:00:05 $ docker rm -f 5a231da3576e6e4a20ce2b612f15f54cca2565a209f537acf34ba650026faa04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:00:06 + docker inspect -f . ci-base-image-x86_64 07:00:06 . [Pipeline] withDockerContainer 07:00:06 prd-centos7-docker-4c-2g-1761 does not seem to be running inside a container 07:00:07 $ 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 ******** -e ******** ci-base-image-x86_64 cat 07:00:07 $ docker top 1ad172139676d4b401ed6ed196feab5628346c329b4f19228e2d6c221ca9b2d4 -eo pid,comm [Pipeline] { [Pipeline] sh 07:00:08 + make test 07:00:08 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:00:16 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:00:20 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.124s coverage: 8.6% of statements 07:00:20 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.106s coverage: 21.7% of statements 07:00:20 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:00:20 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.583s coverage: 39.5% of statements 07:00:20 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:00:20 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.792s coverage: 65.4% of statements 07:00:20 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:00:20 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:00:20 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:00:20 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 07:00:20 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.323s coverage: 52.6% of statements 07:00:20 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 07:00:20 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.641s coverage: 68.9% of statements 07:00:20 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:00:20 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:00:20 GO111MODULE=on go vet ./... 07:00:31 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:00:31 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:00:31 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:00:31 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.059s coverage: 21.9% of statements 07:00:31 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.441s coverage: 95.7% of statements 07:00:47 gofmt -l . 07:00:47 [ "`gofmt -l .`" = "" ] 07:00:47 ./bin/test-attribution-txt.sh 07:00:47 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:00:48 Stashed 1 file(s) [Pipeline] } 07:00:48 $ docker stop --time=1 328bace7cbeef6459fdf789e8650e3af0c1220f1122664a2abe536de4dcaa463 07:00:50 $ docker rm -f 328bace7cbeef6459fdf789e8650e3af0c1220f1122664a2abe536de4dcaa463 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:00:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:00:53 + ls -al . 07:00:53 total 232 07:00:53 drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 07:00 . 07:00:53 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 06:57 .. 07:00:53 -rw-rw-r-- 1 jenkins jenkins 140 Sep 28 06:57 .dockerignore 07:00:53 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 06:57 .git 07:00:53 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 06:57 .github 07:00:53 -rw-rw-r-- 1 jenkins jenkins 138 Sep 28 06:57 .gitignore 07:00:53 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 06:57 .semver 07:00:53 -rw-rw-r-- 1 jenkins jenkins 936 Sep 28 06:57 Dockerfile.build 07:00:53 -rw-rw-r-- 1 jenkins jenkins 785 Sep 28 06:57 Jenkinsfile 07:00:53 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 28 06:57 LICENSE 07:00:53 -rw-rw-r-- 1 jenkins jenkins 1013 Sep 28 06:57 Makefile 07:00:53 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 28 06:57 README.md 07:00:53 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 28 06:57 RELEASE-NOTES.txt 07:00:53 -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 06:54 VERSION 07:00:53 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 06:57 bin 07:00:53 -rw-r--r-- 1 jenkins jenkins 111789 Sep 28 07:00 coverage.out 07:00:53 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 06:57 example 07:00:53 -rw-r--r-- 1 jenkins jenkins 517 Sep 28 07:00 go.mod 07:00:53 -rw-r--r-- 1 jenkins jenkins 13650 Sep 28 07:00 go.sum 07:00:53 drwxrwxr-x 15 jenkins jenkins 4096 Sep 28 06:57 internal 07:00:53 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 06:57 openapi 07:00:53 drwxrwxr-x 5 jenkins jenkins 4096 Sep 28 06:57 pkg 07:00:53 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 06:57 snap 07:00:53 -rw-rw-r-- 1 jenkins jenkins 222 Sep 28 06:57 version.go [Pipeline] isUnix [Pipeline] sh 07:00:54 + 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=6b42d374f1c82bd9ac510ed29be637f4c5788665 --label arch=arm64 --label version=0.0.0 . 07:00:54 Sending build context to Docker daemon 3.56MB 07:00:54 Step 1/24 : ARG BASE=golang:1.15-alpine 07:00:54 Step 2/24 : FROM ${BASE} AS builder 07:00:54 ---> eaeeef95e0e6 07:00:54 Step 3/24 : ARG MAKE='make build' 07:00:55 ---> Running in c3c909446ae8 07:00:55 Removing intermediate container c3c909446ae8 07:00:55 ---> 33ec445c6aa8 07:00:55 Step 4/24 : WORKDIR /device-sdk-go 07:00:55 ---> Running in a6a8716bd673 07:00:56 Removing intermediate container a6a8716bd673 07:00:56 ---> e1ef20228d61 07:00:56 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:00:56 ---> Running in 051174a4de5e 07:00:56 Removing intermediate container 051174a4de5e 07:00:56 ---> d23b1729247d 07:00:56 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:00:56 ---> Running in a23ce464dcec 07:00:59 Removing intermediate container a23ce464dcec 07:00:59 ---> d3e878a53ef9 07:00:59 Step 7/24 : RUN apk add --update --no-cache make git 07:00:59 ---> Running in 07b8656af29e 07:01:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:01:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:01:02 OK: 142 MiB in 39 packages 07:01:03 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.055s coverage: 8.6% of statements 07:01:03 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.056s coverage: 21.7% of statements 07:01:03 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:01:03 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.224s coverage: 39.5% of statements 07:01:03 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:01:03 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.289s coverage: 65.4% of statements 07:01:03 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:01:03 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:01:03 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:01:03 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 07:01:03 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.129s coverage: 52.6% of statements 07:01:03 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 07:01:03 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.413s coverage: 68.9% of statements 07:01:03 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:01:03 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:01:03 GO111MODULE=on go vet ./... 07:01:03 Removing intermediate container 07b8656af29e 07:01:03 ---> 019d31e2f12a 07:01:03 Step 8/24 : COPY . . 07:01:04 ---> 9ca78ac3b04c 07:01:04 Step 9/24 : RUN ${MAKE} 07:01:04 ---> Running in 929c4798850c 07:01:06 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 07:01:10 gofmt -l . 07:01:10 [ "`gofmt -l .`" = "" ] 07:01:10 ./bin/test-attribution-txt.sh 07:01:10 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:01:10 Warning: overwriting stash ‘coverage-report’ 07:01:11 Stashed 1 file(s) [Pipeline] } 07:01:11 $ docker stop --time=1 1ad172139676d4b401ed6ed196feab5628346c329b4f19228e2d6c221ca9b2d4 07:01:12 $ docker rm -f 1ad172139676d4b401ed6ed196feab5628346c329b4f19228e2d6c221ca9b2d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:01:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:01:14 + ls -al . 07:01:14 total 192 07:01:14 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 28 07:01 . 07:01:14 drwxrwxr-x. 4 jenkins jenkins 28 Sep 28 06:59 .. 07:01:14 drwxrwxr-x. 2 jenkins jenkins 64 Sep 28 06:59 bin 07:01:14 -rw-r--r--. 1 jenkins jenkins 111789 Sep 28 07:01 coverage.out 07:01:14 -rw-rw-r--. 1 jenkins jenkins 936 Sep 28 06:59 Dockerfile.build 07:01:14 -rw-rw-r--. 1 jenkins jenkins 140 Sep 28 06:59 .dockerignore 07:01:14 drwxrwxr-x. 4 jenkins jenkins 48 Sep 28 06:59 example 07:01:14 drwxrwxr-x. 8 jenkins jenkins 179 Sep 28 06:59 .git 07:01:14 drwxrwxr-x. 2 jenkins jenkins 60 Sep 28 06:59 .github 07:01:14 -rw-rw-r--. 1 jenkins jenkins 138 Sep 28 06:59 .gitignore 07:01:14 -rw-r--r--. 1 jenkins jenkins 517 Sep 28 07:01 go.mod 07:01:14 -rw-r--r--. 1 jenkins jenkins 13650 Sep 28 07:01 go.sum 07:01:14 drwxrwxr-x. 15 jenkins jenkins 211 Sep 28 06:59 internal 07:01:14 -rw-rw-r--. 1 jenkins jenkins 785 Sep 28 06:59 Jenkinsfile 07:01:14 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 28 06:59 LICENSE 07:01:14 -rw-rw-r--. 1 jenkins jenkins 1013 Sep 28 06:59 Makefile 07:01:14 drwxrwxr-x. 4 jenkins jenkins 26 Sep 28 06:59 openapi 07:01:14 drwxrwxr-x. 5 jenkins jenkins 50 Sep 28 06:59 pkg 07:01:14 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 28 06:59 README.md 07:01:14 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 28 06:59 RELEASE-NOTES.txt 07:01:14 drwxrwxr-x. 3 jenkins jenkins 58 Sep 28 06:59 .semver 07:01:14 drwxrwxr-x. 4 jenkins jenkins 54 Sep 28 06:59 snap 07:01:14 -rw-rw-r--. 1 jenkins jenkins 5 Sep 28 06:54 VERSION 07:01:14 -rw-rw-r--. 1 jenkins jenkins 222 Sep 28 06:59 version.go [Pipeline] isUnix [Pipeline] sh 07:01:14 + 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=6b42d374f1c82bd9ac510ed29be637f4c5788665 --label arch=amd64 --label version=0.0.0 . 07:01:15 Sending build context to Docker daemon 3.56MB 07:01:15 Step 1/24 : ARG BASE=golang:1.15-alpine 07:01:15 Step 2/24 : FROM ${BASE} AS builder 07:01:15 ---> a75d1ada936e 07:01:15 Step 3/24 : ARG MAKE='make build' 07:01:15 ---> Running in 024ad025b81b 07:01:16 Removing intermediate container 024ad025b81b 07:01:16 ---> c4fc0a91d45c 07:01:16 Step 4/24 : WORKDIR /device-sdk-go 07:01:16 ---> Running in 9e7eb658666e 07:01:16 Removing intermediate container 9e7eb658666e 07:01:16 ---> 2ca303e17bfb 07:01:16 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:01:16 ---> Running in 22345c99abbb 07:01:16 Removing intermediate container 22345c99abbb 07:01:16 ---> 29367f667867 07:01:16 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:01:16 ---> Running in a2d284b42bce 07:01:17 Removing intermediate container a2d284b42bce 07:01:17 ---> ec1ed84cba16 07:01:17 Step 7/24 : RUN apk add --update --no-cache make git 07:01:17 ---> Running in 8f02ad5119be 07:01:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:01:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:01:20 OK: 166 MiB in 39 packages 07:01:20 Removing intermediate container 8f02ad5119be 07:01:20 ---> f5181d6f433b 07:01:20 Step 8/24 : COPY . . 07:01:21 ---> ebc067b9ef18 07:01:21 Step 9/24 : RUN ${MAKE} 07:01:22 ---> Running in 44dfb8558b28 07:01:22 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 07:01:30 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:01:32 Removing intermediate container 44dfb8558b28 07:01:32 ---> 861809b32c58 07:01:32 Step 10/24 : FROM scratch 07:01:32 ---> 07:01:32 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:01:32 ---> Running in e6dd8f573b35 07:01:32 Removing intermediate container e6dd8f573b35 07:01:32 ---> c30e8bcf1669 07:01:32 Step 12/24 : ENV APP_PORT=49990 07:01:32 ---> Running in c02022a5e081 07:01:32 Removing intermediate container c02022a5e081 07:01:32 ---> 1b425d3e3605 07:01:32 Step 13/24 : EXPOSE $APP_PORT 07:01:32 ---> Running in f6ef3c9e1dc6 07:01:32 Removing intermediate container f6ef3c9e1dc6 07:01:32 ---> 0a53bc6855f5 07:01:32 Step 14/24 : WORKDIR / 07:01:32 ---> Running in 19314eca5de9 07:01:33 Removing intermediate container 19314eca5de9 07:01:33 ---> 4bc96929f240 07:01:33 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:01:33 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:01:33 Removing intermediate container 929c4798850c 07:01:33 ---> f4a88881a16b 07:01:33 Step 10/24 : FROM scratch 07:01:33 ---> 07:01:33 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:01:33 ---> Running in aae9baab5b62 07:01:33 Removing intermediate container aae9baab5b62 07:01:33 ---> 99887cead7e4 07:01:33 Step 12/24 : ENV APP_PORT=49990 07:01:33 ---> Running in 4a285595af9c 07:01:33 Removing intermediate container 4a285595af9c 07:01:33 ---> 44ee93126004 07:01:33 Step 13/24 : EXPOSE $APP_PORT 07:01:33 ---> Running in 871933c4590a 07:01:33 ---> e3c990478219 07:01:33 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:01:33 ---> c65c6dbda80f 07:01:33 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:01:33 Removing intermediate container 871933c4590a 07:01:33 ---> 781aea02ec29 07:01:33 Step 14/24 : WORKDIR / 07:01:34 ---> 800aa73885aa 07:01:34 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:01:34 ---> Running in 747c915981a0 07:01:34 ---> f6659bc581b7 07:01:34 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:01:34 Removing intermediate container 747c915981a0 07:01:34 ---> a5945995c4ec 07:01:34 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:01:34 ---> 4d6ec34a3c93 07:01:34 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:01:34 ---> Running in 9a5d8ae59cf9 07:01:34 Removing intermediate container 9a5d8ae59cf9 07:01:34 ---> e63399353cd7 07:01:34 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:01:34 ---> Running in 1ca4785df6ca 07:01:35 Removing intermediate container 1ca4785df6ca 07:01:35 ---> ea3aa7e862e3 07:01:35 Step 22/24 : LABEL arch=amd64 07:01:35 ---> Running in 43d9016cc0b5 07:01:35 Removing intermediate container 43d9016cc0b5 07:01:35 ---> e42ef9f4d407 07:01:35 Step 23/24 : LABEL git_sha=6b42d374f1c82bd9ac510ed29be637f4c5788665 07:01:35 ---> Running in 30b04370fee8 07:01:35 Removing intermediate container 30b04370fee8 07:01:35 ---> 8daac7c6eb7a 07:01:35 Step 24/24 : LABEL version=0.0.0 07:01:35 ---> Running in df7beb08725f 07:01:35 Removing intermediate container df7beb08725f 07:01:35 ---> c30ea03944f2 07:01:35 [Warning] One or more build-args [ARCH] were not consumed 07:01:35 Successfully built c30ea03944f2 07:01:35 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage 07:01:35 ---> c9fb23f98d8f 07:01:35 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [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] } 07:01:36 ---> e4ff1e6a2380 07:01:36 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws 07:01:37 ---> bfeb09b8bdf0 07:01:37 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:01:38 ---> 30b0b45f3ad2 07:01:38 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:01:38 ---> aed96844d627 07:01:38 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:01:39 ---> Running in 24bcb780a83f 07:01:39 Removing intermediate container 24bcb780a83f 07:01:39 ---> a622d167627e 07:01:39 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:01:39 ---> Running in 7fa76295cdd5 07:01:39 Removing intermediate container 7fa76295cdd5 07:01:39 ---> 1dd9a9e348f5 07:01:39 Step 22/24 : LABEL arch=arm64 07:01:40 ---> Running in 2167fce344c7 07:01:40 Removing intermediate container 2167fce344c7 07:01:40 ---> 2c9b0cca958e 07:01:40 Step 23/24 : LABEL git_sha=6b42d374f1c82bd9ac510ed29be637f4c5788665 07:01:40 ---> Running in 14a05f09c2a3 07:01:41 Removing intermediate container 14a05f09c2a3 07:01:41 ---> b8dd3bde2d2a 07:01:41 Step 24/24 : LABEL version=0.0.0 07:01:41 ---> Running in 6b3aeaa9451d 07:01:41 Removing intermediate container 6b3aeaa9451d 07:01:41 ---> 452526325fab 07:01:41 [Warning] One or more build-args [ARCH] were not consumed 07:01:41 Successfully built 452526325fab 07:01:41 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 07:01:44 provisioning config files... 07:01:44 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/config4188745327107358215tmp [Pipeline] { [Pipeline] sh 07:01:45 + set +x 07:01:45 + bash -s -- 07:01:45 + curl -s https://codecov.io/bash 07:01:45 07:01:45 _____ _ 07:01:45 / ____| | | 07:01:45 | | ___ __| | ___ ___ _____ __ 07:01:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:01:45 | |___| (_) | (_| | __/ (_| (_) \ V / 07:01:45 \_____\___/ \__,_|\___|\___\___/ \_/ 07:01:45 Bash-20200917-4e8f14b 07:01:45 07:01:45 07:01:45 ==> Jenkins CI detected. 07:01:45 project root: . 07:01:45 --> token set from env 07:01:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:01:45 ==> Running gcov in . (disable via -X gcov) 07:01:45 ==> Python coveragepy not found 07:01:45 ==> Searching for coverage reports in: 07:01:45 + . 07:01:45 -> Found 1 reports 07:01:45 ==> Detecting git/mercurial file structure 07:01:45 ==> Reading reports 07:01:45 + ./coverage.out bytes=111789 07:01:45 ==> Appending adjustments 07:01:45 https://docs.codecov.io/docs/fixing-reports 07:01:46 + Found adjustments 07:01:46 ==> Gzipping contents 07:01:46 ==> Uploading reports 07:01:46 url: https://codecov.io 07:01:46 query: branch=PR-602&commit=6b42d374f1c82bd9ac510ed29be637f4c5788665&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-602%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=602&job=&cmd_args= 07:01:46 -> Pinging Codecov 07:01:46 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-602&commit=6b42d374f1c82bd9ac510ed29be637f4c5788665&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-602%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=602&job=&cmd_args= 07:01:47 -> Uploading to 07:01:47 https://storage.googleapis.com/codecov/v4/raw/2020-09-28/7E55EF52A471D76F132DFD9A03CDDE97/6b42d374f1c82bd9ac510ed29be637f4c5788665/7f52bc8d-5474-47c9-bdcf-e07f1197ab43.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200928T070146Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ef2b26777c29718ea704c0a72d9eced14eb97d6a8e771e75f132cf949fe7517f 07:01:47 % Total % Received % Xferd Average Speed Time Time Time Current 07:01:47 Dload Upload Total Spent Left Speed 07:01:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18508 0 0 100 18508 0 38742 --:--:-- --:--:-- --:--:-- 38800 07:01:47 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6b42d374f1c82bd9ac510ed29be637f4c5788665 [Pipeline] } 07:01:47 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 07:01:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:01:52 ---> package-listing.sh 07:01:52 ++ facter osfamily 07:01:52 ++ tr '[:upper:]' '[:lower:]' 07:01:52 + OS_FAMILY=redhat 07:01:52 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-602 07:01:52 + START_PACKAGES=/tmp/packages_start.txt 07:01:52 + END_PACKAGES=/tmp/packages_end.txt 07:01:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:01:52 + PACKAGES=/tmp/packages_start.txt 07:01:52 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-602 ']' 07:01:52 + PACKAGES=/tmp/packages_end.txt 07:01:52 + case "${OS_FAMILY}" in 07:01:52 + rpm -qa 07:01:52 + sort 07:01:57 + '[' -f /tmp/packages_start.txt ']' 07:01:57 + '[' -f /tmp/packages_end.txt ']' 07:01:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:01:57 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-602 ']' 07:01:57 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-602/archives/ 07:01:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-602/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:01:58 provisioning config files... 07:01:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/config8262615654232082924tmp [Pipeline] { [Pipeline] echo 07:01:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:01:58 ---> create-netrc.sh [Pipeline] } 07:01:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:01:58 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:01:59 ---> python-tools-install.sh 07:01:59 Generating Requirements File 07:03:51 Python 3.6.8 07:03:51 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 07:03:51 appdirs==1.4.3 07:03:51 argcomplete==1.12.1 07:03:51 aspy.yaml==1.3.0 07:03:51 attrs==19.3.0 07:03:51 Babel==2.8.0 07:03:51 beautifulsoup4==4.8.2 07:03:51 boto3==1.11.6 07:03:51 botocore==1.14.6 07:03:51 bs4==0.0.1 07:03:51 cachetools==4.1.1 07:03:51 certifi==2019.11.28 07:03:51 cffi==1.14.3 07:03:51 cfgv==2.0.1 07:03:51 chardet==3.0.4 07:03:51 click==7.1 07:03:51 cliff==3.4.0 07:03:51 cmd2==1.3.10 07:03:51 colorama==0.4.3 07:03:51 cryptography==3.1.1 07:03:51 debtcollector==2.2.0 07:03:51 decorator==4.4.2 07:03:51 defusedxml==0.6.0 07:03:51 Deprecated==1.2.7 07:03:51 distlib==0.3.1 07:03:51 distro==1.2.0 07:03:51 dnspython==1.16.0 07:03:51 docker==4.2.0 07:03:51 docutils==0.15.2 07:03:51 dogpile.cache==1.0.2 07:03:51 email-validator==1.0.5 07:03:51 filelock==3.0.12 07:03:51 future==0.18.2 07:03:51 google-auth==1.21.3 07:03:51 httplib2==0.17.0 07:03:51 identify==1.4.11 07:03:51 idna==2.9 07:03:51 importlib-metadata==1.7.0 07:03:51 importlib-resources==1.5.0 07:03:51 iso8601==0.1.13 07:03:51 Jinja2==2.11.1 07:03:51 jmespath==0.10.0 07:03:51 jsonpatch==1.26 07:03:51 jsonpointer==2.0 07:03:51 jsonschema==3.2.0 07:03:51 keystoneauth1==4.2.1 07:03:51 kubernetes==11.0.0 07:03:51 lftools==0.34.2 07:03:51 lxml==4.5.0 07:03:51 MarkupSafe==0.23 07:03:51 msgpack==1.0.0 07:03:51 multi-key-dict==2.0.3 07:03:51 munch==2.5.0 07:03:51 netaddr==0.8.0 07:03:51 netifaces==0.10.9 07:03:51 niet==1.4.2 07:03:51 nodeenv==1.3.5 07:03:51 oauth2client==4.1.3 07:03:51 oauthlib==3.1.0 07:03:51 openstacksdk==0.50.0 07:03:51 os-client-config==2.1.0 07:03:51 os-service-types==1.7.0 07:03:51 osc-lib==2.2.1 07:03:51 oslo.config==8.3.2 07:03:51 oslo.context==3.1.1 07:03:51 oslo.i18n==5.0.1 07:03:51 oslo.log==4.4.0 07:03:51 oslo.serialization==4.0.1 07:03:51 oslo.utils==4.6.0 07:03:51 packaging==20.4 07:03:51 pbr==5.4.4 07:03:51 pluggy==0.13.1 07:03:51 prettytable==0.7.2 07:03:51 py==1.9.0 07:03:51 pyasn1==0.4.8 07:03:51 pyasn1-modules==0.2.8 07:03:51 pycparser==2.20 07:03:51 pygerrit2==2.0.10 07:03:51 PyGithub==1.46 07:03:51 pyinotify==0.9.6 07:03:51 PyJWT==1.7.1 07:03:51 pyparsing==2.4.7 07:03:51 pyperclip==1.8.0 07:03:51 pyroute2==0.4.13 07:03:51 pyrsistent==0.15.7 07:03:51 PySocks==1.6.8 07:03:51 python-cinderclient==7.2.0 07:03:51 python-dateutil==2.8.1 07:03:51 python-heatclient==2.2.1 07:03:51 python-jenkins==1.7.0 07:03:51 python-keystoneclient==4.1.1 07:03:51 python-magnumclient==3.2.1 07:03:51 python-novaclient==17.2.1 07:03:51 python-openstackclient==5.3.1 07:03:51 python-swiftclient==3.10.1 07:03:51 pytz==2020.1 07:03:51 PyYAML==5.3 07:03:51 requests==2.23.0 07:03:51 requests-oauthlib==1.3.0 07:03:51 requestsexceptions==1.4.0 07:03:51 rfc3986==1.4.0 07:03:51 rpm==4.11.3 07:03:51 rsa==4.0 07:03:51 ruamel.yaml==0.16.10 07:03:51 ruamel.yaml.clib==0.2.0 07:03:51 s3transfer==0.3.3 07:03:51 shade==1.27.2 07:03:51 simplejson==3.17.2 07:03:51 six==1.14.0 07:03:51 soupsieve==2.0 07:03:51 stevedore==3.2.2 07:03:51 tabulate==0.8.6 07:03:51 toml==0.10.0 07:03:51 tox==3.20.0 07:03:51 tqdm==4.43.0 07:03:51 urllib3==1.25.8 07:03:51 virtualenv==20.0.31 07:03:51 wcwidth==0.2.5 07:03:51 websocket-client==0.57.0 07:03:51 wrapt==1.12.1 07:03:51 xdg==3.0.2 07:03:51 xmltodict==0.12.0 07:03:51 yq==2.11.1 07:03:51 zipp==3.2.0 07:03:51 Cache entry deserialization failed, entry ignored 07:03:51 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. 07:03:51 Python 2.7.5 07:03:51 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 07:03:51 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. 07:03:51 ansible==2.9.7 07:03:51 Babel==0.9.6 07:03:51 backports.ssl-match-hostname==3.5.0.1 07:03:51 beautifulsoup4==4.4.1 07:03:51 bodhi==2.11.0 07:03:51 bodhi-client==2.11.0 07:03:51 CCColUtils==1.4 07:03:51 cffi==1.6.0 07:03:51 chardet==2.2.1 07:03:51 click==6.7 07:03:51 cloud-init==18.5 07:03:51 configobj==4.7.2 07:03:51 cryptography==1.7.2 07:03:51 decorator==3.4.0 07:03:51 distro==1.2.0 07:03:51 enum34==1.0.4 07:03:51 fedpkg==1.38 07:03:51 futures==3.1.1 07:03:51 gitdb==0.6.4 07:03:51 GitPython==1.0.1 07:03:51 html5lib==0.999 07:03:51 httplib2==0.9.2 07:03:51 idna==2.4 07:03:51 iniparse==0.4 07:03:51 ipaddress==1.0.16 07:03:51 IPy==0.75 07:03:51 javapackages==1.0.0 07:03:51 Jinja2==2.7.2 07:03:51 jmespath==0.9.4 07:03:51 jsonpatch==1.2 07:03:51 jsonpointer==1.9 07:03:51 kerberos==1.1 07:03:51 kitchen==1.1.1 07:03:51 langtable==0.0.31 07:03:51 lockfile==0.9.1 07:03:51 lxml==3.2.1 07:03:51 MarkupSafe==0.11 07:03:51 munch==2.0.2 07:03:51 offtrac==0.1.0 07:03:51 openidc-client==0.6.0 07:03:51 packagedb-cli==2.14.1 07:03:51 paramiko==2.1.1 07:03:51 perf==0.1 07:03:51 ply==3.4 07:03:51 policycoreutils-default-encoding==0.1 07:03:51 prettytable==0.7.2 07:03:51 pyasn1==0.1.9 07:03:51 pycparser==2.14 07:03:51 pycurl==7.19.0 07:03:51 pygobject==3.22.0 07:03:51 pygpgme==0.3 07:03:51 pyliblzma==0.5.3 07:03:51 pyOpenSSL==0.13.1 07:03:51 pyparsing==1.5.6 07:03:51 pyserial==2.6 07:03:51 python-augeas==0.5.0 07:03:51 python-bugzilla==2.3.0 07:03:51 python-dateutil==1.5 07:03:51 python-fedora==0.10.0 07:03:51 python-linux-procfs==0.4.9 07:03:51 python-yubico==1.2.3 07:03:51 pyudev==0.15 07:03:51 pyusb==1.0.0b1 07:03:51 pyxattr==0.5.1 07:03:51 PyYAML==3.10 07:03:51 requests==2.6.0 07:03:51 requests-kerberos==0.7.0 07:03:51 rpkg==1.60 07:03:51 schedutils==0.4 07:03:51 seobject==0.1 07:03:51 sepolicy==1.1 07:03:51 six==1.9.0 07:03:51 smmap==0.9.0 07:03:51 urlgrabber==3.10 07:03:51 urllib3==1.10.2 07:03:51 virtualenv==15.1.0 07:03:51 yum-langpacks==0.4.2 07:03:51 yum-metadata-parser==1.1.4 [Pipeline] echo 07:03:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:03:51 ---> sudo-logs.sh 07:03:51 Archiving 'sudo' log.. [Pipeline] echo 07:03:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:03:52 ---> job-cost.sh 07:03:52 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mnva 07:04:04 Cache entry deserialization failed, entry ignored 07:04:04 Cache entry deserialization failed, entry ignored 07:04:05 Cache entry deserialization failed, entry ignored 07:04:05 Cache entry deserialization failed, entry ignored 07:04:06 Cache entry deserialization failed, entry ignored 07:04:07 Cache entry deserialization failed, entry ignored 07:04:07 Cache entry deserialization failed, entry ignored 07:04:07 Cache entry deserialization failed, entry ignored 07:04:07 Cache entry deserialization failed, entry ignored 07:04:07 Cache entry deserialization failed, entry ignored 07:04:07 Cache entry deserialization failed, entry ignored 07:04:07 Cache entry deserialization failed, entry ignored 07:04:07 Cache entry deserialization failed, entry ignored 07:04:12 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:04:51 ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. 07:04:51 07:04:51 We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. 07:04:51 07:04:51 virtualenv 20.0.31 requires importlib-metadata<2,>=0.12; python_version < "3.8", but you'll have importlib-metadata 2.0.0 which is incompatible. 07:04:51 lf-activate-venv(): INFO: Adding /tmp/venv-mnva/bin to PATH 07:04:51 INFO: No Stack... 07:04:51 INFO: Retrieving Pricing Info for: v1-standard-2 07:04:52 INFO: Archiving Costs [Pipeline] echo 07:04:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:04:52 ---> logs-deploy.sh 07:04:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-602/1 07:04:52 INFO: archiving workspace using pattern(s): 07:04:54 Archives upload complete. 07:04:54 INFO: archiving logs to Nexus