Pull request #582 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b2c68ec273215b3839fa79913927ed9c700821ef+4a1412fe3679be6652f13296ba45411ccc085237 (f486ab1f42085f67cb3bb30398b98cdbf1442d8f) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh 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-582/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 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 ‘prd-centos7-docker-4c-2g-2143’ Running on prd-centos7-docker-4c-2g-2146 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [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-582 # 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 4a1412fe3679be6652f13296ba45411ccc085237 into PR head commit b2c68ec273215b3839fa79913927ed9c700821ef Merge succeeded, producing 4bdbb9adb96e09f506774f7ea2e77baab7449e26 Checking out Revision 4bdbb9adb96e09f506774f7ea2e77baab7449e26 (PR-582) > 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/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2c68ec273215b3839fa79913927ed9c700821ef # 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 4a1412fe3679be6652f13296ba45411ccc085237 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4bdbb9adb96e09f506774f7ea2e77baab7449e26 # timeout=10 Commit message: "Merge commit '4a1412fe3679be6652f13296ba45411ccc085237' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk f3ce4c967237eb22ffcb45cae18f55080ad66748 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:38:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:38:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:38:25 ========================================================= 05:38:25 EdgeX Global Pipelines Version Info 05:38:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:38:26 ------------------- 05:38:26 stable info: 05:38:26 ------------------- 05:38:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:38:26 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 05:38:26 Message: update stable to v1.0.131 05:38:27 ------------------- 05:38:27 experimental info: 05:38:27 ------------------- 05:38:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:38:27 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 05:38:27 Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 05:38:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:38:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:38:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:38:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:38:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:38:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:38:28 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:38:28 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:38:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:38:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:38:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:38:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:38:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:38:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:38:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:38:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:38:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:38:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:38:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:38:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:38:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:38:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:38:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:38:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:38:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:38:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo 05:38:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo 05:38:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo 05:38:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4bdbb9adb96e09f506774f7ea2e77baab7449e26 [Pipeline] echo 05:38:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4bdbb9a [Pipeline] echo 05:38:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:38:31 + git log --format=format:%s -1 4bdbb9adb96e09f506774f7ea2e77baab7449e26 [Pipeline] echo 05:38:31 GIT_COMMIT: 4bdbb9adb96e09f506774f7ea2e77baab7449e26, Commit Message: Merge commit '4a1412fe3679be6652f13296ba45411ccc085237' into HEAD [Pipeline] echo 05:38:31 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:38:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:38:32 05:38:32 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:38:32 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:38:32 latest: Pulling from edgex-devops/git-semver 05:38:32 31603596830f: Pulling fs layer 05:38:32 2a8b12db71e7: Pulling fs layer 05:38:32 6ca5941a6612: Pulling fs layer 05:38:32 ecc8261a40a4: Pulling fs layer 05:38:32 ecc8261a40a4: Waiting 05:38:32 2a8b12db71e7: Download complete 05:38:33 31603596830f: Verifying Checksum 05:38:33 31603596830f: Download complete 05:38:33 ecc8261a40a4: Verifying Checksum 05:38:33 ecc8261a40a4: Download complete 05:38:33 6ca5941a6612: Verifying Checksum 05:38:33 6ca5941a6612: Download complete 05:38:33 31603596830f: Pull complete 05:38:33 2a8b12db71e7: Pull complete 05:38:34 6ca5941a6612: Pull complete 05:38:34 ecc8261a40a4: Pull complete 05:38:34 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:38:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:38:34 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:38:34 prd-centos7-docker-4c-2g-2146 does not seem to be running inside a container 05:38:34 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@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 05:38:36 $ docker top 14910375d0c57d558dc6a09e30e1822abab166d9c67c398a93caba7a98fe3b24 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:38:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:38:36 [ssh-agent] Looking for ssh-agent implementation... 05:38:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:38:37 $ docker exec 14910375d0c57d558dc6a09e30e1822abab166d9c67c398a93caba7a98fe3b24 ssh-agent 05:38:37 SSH_AUTH_SOCK=/tmp/ssh-lkkpMjvhq6gY/agent.11 05:38:37 SSH_AGENT_PID=16 05:38:37 Running ssh-add (command line suppressed) 05:38:37 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_6189030676766537348.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_6189030676766537348.key) 05:38:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:38:37 + git describe --exact-match --tags HEAD 05:38:37 fatal: no tag exactly matches '4bdbb9adb96e09f506774f7ea2e77baab7449e26' [Pipeline] } 05:38:37 $ docker exec --env ******** --env ******** 14910375d0c57d558dc6a09e30e1822abab166d9c67c398a93caba7a98fe3b24 ssh-agent -k 05:38:37 unset SSH_AUTH_SOCK; 05:38:37 unset SSH_AGENT_PID; 05:38:37 echo Agent pid 16 killed; 05:38:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:38:38 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:38:38 This usually means this commit has not been tagged. [Pipeline] sshagent 05:38:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:38:38 [ssh-agent] Looking for ssh-agent implementation... 05:38:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:38:38 $ docker exec 14910375d0c57d558dc6a09e30e1822abab166d9c67c398a93caba7a98fe3b24 ssh-agent 05:38:38 SSH_AUTH_SOCK=/tmp/ssh-sDxqKWqbpTxt/agent.46 05:38:38 SSH_AGENT_PID=51 05:38:38 Running ssh-add (command line suppressed) 05:38:38 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_8105215873081132870.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_8105215873081132870.key) 05:38:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:38:39 + git semver init 05:38:39 # -> Open(): unable to determine branch for HEAD 05:38:39 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git 05:38:39 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 05:38:39 # $SEMVER_REMOTE_NAME = origin 05:38:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:38:39 # $SEMVER_USER_NAME = edgex-jenkins 05:38:39 # $SEMVER_BRANCH = PR-582 05:38:39 # $SEMVER_TEMP = /tmp/semver-077674856 05:38:39 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:38:39 # '/tmp/semver-077674856' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' 05:38:39 # -> Force: false 05:38:39 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } 05:38:39 $ docker exec --env ******** --env ******** 14910375d0c57d558dc6a09e30e1822abab166d9c67c398a93caba7a98fe3b24 ssh-agent -k 05:38:39 unset SSH_AUTH_SOCK; 05:38:39 unset SSH_AGENT_PID; 05:38:39 echo Agent pid 51 killed; 05:38:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:38:40 + git semver [Pipeline] } 05:38:40 $ docker stop --time=1 14910375d0c57d558dc6a09e30e1822abab166d9c67c398a93caba7a98fe3b24 05:38:41 $ docker rm -f 14910375d0c57d558dc6a09e30e1822abab166d9c67c398a93caba7a98fe3b24 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:38:42 Stashed 40 file(s) [Pipeline] echo 05:38:42 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 05:38:42 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 05:38:58 Still waiting to schedule task 05:38:58 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:38:58 Still waiting to schedule task 05:38:58 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2144’ 05:40:16 Running on prd-centos7-docker-4c-2g-2151 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws 05:40:16 Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout 05:40:19 using credential edgex-jenkins-ssh 05:40:19 Cloning the remote Git repository 05:40:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:40:19 > git init /w/workspace/device-sdk-go/10 # timeout=10 05:40:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:40:19 > git --version # timeout=10 05:40:19 > git --version # 'git version 2.16.5' 05:40:19 using GIT_SSH to set credentials SSH Credentials for GitHub 05:40:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:40:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:40:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:40:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:40:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:40:19 using GIT_SSH to set credentials SSH Credentials for GitHub 05:40:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:40:20 Merging remotes/origin/master commit 4a1412fe3679be6652f13296ba45411ccc085237 into PR head commit b2c68ec273215b3839fa79913927ed9c700821ef 05:40:20 Merge succeeded, producing e85f6457e7f5715086f374920909cbfab1929bf4 05:40:20 Checking out Revision e85f6457e7f5715086f374920909cbfab1929bf4 (PR-582) 05:40:20 > git config core.sparsecheckout # timeout=10 05:40:20 > git checkout -f b2c68ec273215b3839fa79913927ed9c700821ef # timeout=10 05:40:20 > git remote # timeout=10 05:40:20 > git config --get remote.origin.url # timeout=10 05:40:20 using GIT_SSH to set credentials SSH Credentials for GitHub 05:40:20 > git merge 4a1412fe3679be6652f13296ba45411ccc085237 # timeout=10 05:40:20 > git rev-parse HEAD^{commit} # timeout=10 05:40:20 > git config core.sparsecheckout # timeout=10 05:40:20 > git checkout -f e85f6457e7f5715086f374920909cbfab1929bf4 # timeout=10 05:40:24 Commit message: "Merge commit '4a1412fe3679be6652f13296ba45411ccc085237' into HEAD" 05:40:24 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 05:40:24 > git rev-list --no-walk f3ce4c967237eb22ffcb45cae18f55080ad66748 # timeout=10 [Pipeline] echo 05:40:25 ========================================================= 05:40:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:40:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:40:25 + 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 . 05:40:26 Sending build context to Docker daemon 3.428MB 05:40:26 Step 1/8 : ARG BASE=golang:1.15-alpine 05:40:26 Step 2/8 : FROM ${BASE} 05:40:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:40:26 df20fa9351a1: Pulling fs layer 05:40:26 ed8968b2872e: Pulling fs layer 05:40:26 a92cc7c5fd73: Pulling fs layer 05:40:26 e871e8e8d7a9: Pulling fs layer 05:40:26 e73272ec9a57: Pulling fs layer 05:40:26 1e910a182e73: Pulling fs layer 05:40:26 4e634b169226: Pulling fs layer 05:40:26 e871e8e8d7a9: Waiting 05:40:26 e73272ec9a57: Waiting 05:40:26 1e910a182e73: Waiting 05:40:26 4e634b169226: Waiting 05:40:26 a92cc7c5fd73: Verifying Checksum 05:40:26 a92cc7c5fd73: Download complete 05:40:26 ed8968b2872e: Download complete 05:40:26 e73272ec9a57: Verifying Checksum 05:40:26 e73272ec9a57: Download complete 05:40:26 1e910a182e73: Verifying Checksum 05:40:26 1e910a182e73: Download complete 05:40:26 df20fa9351a1: Verifying Checksum 05:40:26 df20fa9351a1: Download complete 05:40:26 df20fa9351a1: Pull complete 05:40:27 ed8968b2872e: Pull complete 05:40:27 a92cc7c5fd73: Pull complete 05:40:28 4e634b169226: Verifying Checksum 05:40:28 4e634b169226: Download complete 05:40:29 e871e8e8d7a9: Verifying Checksum 05:40:29 e871e8e8d7a9: Download complete 05:40:34 e871e8e8d7a9: Pull complete 05:40:34 e73272ec9a57: Pull complete 05:40:34 1e910a182e73: Pull complete 05:40:38 4e634b169226: Pull complete 05:40:38 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 05:40:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:40:38 ---> f7629b54cfaa 05:40:38 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:40:38 ---> Running in f0f62c234e4e 05:40:38 Removing intermediate container f0f62c234e4e 05:40:38 ---> e7101347fda0 05:40:38 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:40:39 ---> Running in 668a61e71633 05:40:40 Removing intermediate container 668a61e71633 05:40:40 ---> a5dfd8f90719 05:40:40 Step 5/8 : RUN apk add --no-cache make git 05:40:40 ---> Running in 66df0996c250 05:40:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:40:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:40:42 OK: 166 MiB in 39 packages 05:40:42 Removing intermediate container 66df0996c250 05:40:42 ---> 8b53477e5a23 05:40:42 Step 6/8 : WORKDIR /device-sdk-go 05:40:42 ---> Running in 3ce543dcf224 05:40:42 Removing intermediate container 3ce543dcf224 05:40:42 ---> cedd23e39e4c 05:40:42 Step 7/8 : COPY . . 05:40:44 ---> 9b3de4477f04 05:40:44 Step 8/8 : RUN go mod download 05:40:44 ---> Running in b6788f71a42d 05:41:02 Removing intermediate container b6788f71a42d 05:41:02 ---> 535f7651c817 05:41:02 Successfully built 535f7651c817 05:41:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:41:02 + docker inspect -f . ci-base-image-x86_64 05:41:02 . [Pipeline] withDockerContainer 05:41:02 prd-centos7-docker-4c-2g-2151 does not seem to be running inside a container 05:41:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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-x86_64 cat 05:41:04 $ docker top 1e8fb843653ba347d7e9e7524c1c89fbd133c6cf32a5b71ed155b9b118bdbe01 -eo pid,comm [Pipeline] { [Pipeline] sh 05:41:04 + go version 05:41:04 go version go1.15.2 linux/amd64 [Pipeline] } 05:41:04 $ docker stop --time=1 1e8fb843653ba347d7e9e7524c1c89fbd133c6cf32a5b71ed155b9b118bdbe01 05:41:06 $ docker rm -f 1e8fb843653ba347d7e9e7524c1c89fbd133c6cf32a5b71ed155b9b118bdbe01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:41:07 + docker inspect -f . ci-base-image-x86_64 05:41:07 . [Pipeline] withDockerContainer 05:41:07 prd-centos7-docker-4c-2g-2151 does not seem to be running inside a container 05:41:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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-x86_64 cat 05:41:07 $ docker top 6b60841a3ff8d12d31d1fc40000b965a84eef02aa3819332d1971caa0b46c7f5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:41:08 + make test 05:41:08 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:41:16 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:41:31 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:41:31 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:41:31 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:41:31 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.062s coverage: 21.6% of statements 05:41:32 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.431s coverage: 97.1% of statements 05:42:04 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.052s coverage: 9.4% of statements 05:42:04 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.056s coverage: 21.9% of statements 05:42:04 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:42:04 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.223s coverage: 39.5% of statements 05:42:04 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:42:04 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.325s coverage: 65.4% of statements 05:42:04 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:42:04 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:42:04 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:42:04 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 05:42:04 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements 05:42:04 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 05:42:04 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.473s coverage: 68.9% of statements 05:42:04 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:42:04 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:42:04 GO111MODULE=on go vet ./... 05:42:09 gofmt -l . 05:42:09 [ "`gofmt -l .`" = "" ] 05:42:09 ./bin/test-attribution-txt.sh 05:42:09 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:42:10 Stashed 1 file(s) [Pipeline] } 05:42:10 $ docker stop --time=1 6b60841a3ff8d12d31d1fc40000b965a84eef02aa3819332d1971caa0b46c7f5 05:42:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2155 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 05:42:12 $ docker rm -f 6b60841a3ff8d12d31d1fc40000b965a84eef02aa3819332d1971caa0b46c7f5 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws 05:42:12 Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] checkout [Pipeline] sh 05:42:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:42:14 + ls -al . 05:42:14 total 192 05:42:14 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 30 05:42 . 05:42:14 drwxrwxr-x. 4 jenkins jenkins 30 Sep 30 05:40 .. 05:42:14 drwxrwxr-x. 2 jenkins jenkins 64 Sep 30 05:40 bin 05:42:14 -rw-r--r--. 1 jenkins jenkins 111041 Sep 30 05:42 coverage.out 05:42:14 -rw-rw-r--. 1 jenkins jenkins 936 Sep 30 05:40 Dockerfile.build 05:42:14 -rw-rw-r--. 1 jenkins jenkins 140 Sep 30 05:40 .dockerignore 05:42:14 drwxrwxr-x. 4 jenkins jenkins 48 Sep 30 05:40 example 05:42:14 drwxrwxr-x. 8 jenkins jenkins 179 Sep 30 05:40 .git 05:42:14 drwxrwxr-x. 2 jenkins jenkins 60 Sep 30 05:40 .github 05:42:14 -rw-rw-r--. 1 jenkins jenkins 138 Sep 30 05:40 .gitignore 05:42:14 -rw-r--r--. 1 jenkins jenkins 517 Sep 30 05:42 go.mod 05:42:14 -rw-r--r--. 1 jenkins jenkins 13543 Sep 30 05:42 go.sum 05:42:14 drwxrwxr-x. 15 jenkins jenkins 211 Sep 30 05:40 internal 05:42:14 -rw-rw-r--. 1 jenkins jenkins 785 Sep 30 05:40 Jenkinsfile 05:42:14 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 30 05:40 LICENSE 05:42:14 -rw-rw-r--. 1 jenkins jenkins 1013 Sep 30 05:40 Makefile 05:42:14 drwxrwxr-x. 4 jenkins jenkins 26 Sep 30 05:40 openapi 05:42:14 drwxrwxr-x. 5 jenkins jenkins 50 Sep 30 05:40 pkg 05:42:14 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 30 05:40 README.md 05:42:14 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 30 05:40 RELEASE-NOTES.txt 05:42:14 drwxrwxr-x. 3 jenkins jenkins 58 Sep 30 05:40 .semver 05:42:14 drwxrwxr-x. 4 jenkins jenkins 54 Sep 30 05:40 snap 05:42:14 -rw-rw-r--. 1 jenkins jenkins 5 Sep 30 05:38 VERSION 05:42:14 -rw-rw-r--. 1 jenkins jenkins 222 Sep 30 05:40 version.go [Pipeline] isUnix [Pipeline] sh 05:42: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=4bdbb9adb96e09f506774f7ea2e77baab7449e26 --label arch=amd64 --label version=0.0.0 . 05:42:14 Sending build context to Docker daemon 3.54MB 05:42:14 Step 1/24 : ARG BASE=golang:1.15-alpine 05:42:14 Step 2/24 : FROM ${BASE} AS builder 05:42:14 ---> 535f7651c817 05:42:14 Step 3/24 : ARG MAKE='make build' 05:42:15 ---> Running in 22d57d86c0d4 05:42:15 Removing intermediate container 22d57d86c0d4 05:42:15 ---> 25224b0a0dba 05:42:15 Step 4/24 : WORKDIR /device-sdk-go 05:42:15 ---> Running in 597ea6b3b05a 05:42:15 Removing intermediate container 597ea6b3b05a 05:42:15 ---> 303c19311a24 05:42:15 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:42:15 ---> Running in 6be0d18d8406 05:42:15 Removing intermediate container 6be0d18d8406 05:42:15 ---> 0448030da69b 05:42:15 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:42:15 ---> Running in 5e4ae152f21a 05:42:16 Removing intermediate container 5e4ae152f21a 05:42:16 ---> 100e2e83ecb5 05:42:16 Step 7/24 : RUN apk add --update --no-cache make git 05:42:17 ---> Running in 782e0ecea520 05:42:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:42:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:42:18 using credential edgex-jenkins-ssh 05:42:18 Cloning the remote Git repository 05:42:18 OK: 166 MiB in 39 packages 05:42:19 Removing intermediate container 782e0ecea520 05:42:19 ---> 85f35c9556a4 05:42:19 Step 8/24 : COPY . . 05:42:18 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:42:18 > git init /w/workspace/device-sdk-go/10 # timeout=10 05:42:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:42:18 > git --version # timeout=10 05:42:18 > git --version # 'git version 2.17.1' 05:42:18 using GIT_SSH to set credentials SSH Credentials for GitHub 05:42:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:42:20 ---> 0f57577691fe 05:42:20 Step 9/24 : RUN ${MAKE} 05:42:20 ---> Running in 15aca78cbc9f 05:42:20 Merging remotes/origin/master commit 4a1412fe3679be6652f13296ba45411ccc085237 into PR head commit b2c68ec273215b3839fa79913927ed9c700821ef 05:42:20 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 05:42:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:42:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:42:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:42:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:42:19 using GIT_SSH to set credentials SSH Credentials for GitHub 05:42:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:42:20 > git config core.sparsecheckout # timeout=10 05:42:20 > git checkout -f b2c68ec273215b3839fa79913927ed9c700821ef # timeout=10 05:42:20 > git remote # timeout=10 05:42:20 > git config --get remote.origin.url # timeout=10 05:42:20 using GIT_SSH to set credentials SSH Credentials for GitHub 05:42:20 > git merge 4a1412fe3679be6652f13296ba45411ccc085237 # timeout=10 05:42:20 Merge succeeded, producing 3dc2548d9b7ca3bba5dce1c7ddf0338443614ac1 05:42:20 Checking out Revision 3dc2548d9b7ca3bba5dce1c7ddf0338443614ac1 (PR-582) 05:42:20 > git rev-parse HEAD^{commit} # timeout=10 05:42:20 > git config core.sparsecheckout # timeout=10 05:42:20 > git checkout -f 3dc2548d9b7ca3bba5dce1c7ddf0338443614ac1 # timeout=10 05:42:25 Commit message: "Merge commit '4a1412fe3679be6652f13296ba45411ccc085237' into HEAD" 05:42:25 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 05:42:25 > git rev-list --no-walk f3ce4c967237eb22ffcb45cae18f55080ad66748 # timeout=10 [Pipeline] echo 05:42:26 ========================================================= 05:42:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:42:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:42:27 + 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 . 05:42:28 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:42:28 Sending build context to Docker daemon 3.428MB 05:42:28 Step 1/8 : ARG BASE=golang:1.15-alpine 05:42:28 Step 2/8 : FROM ${BASE} 05:42:28 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:42:28 b538f80385f9: Pulling fs layer 05:42:28 74f711af9a0d: Pulling fs layer 05:42:28 99f96fe45779: Pulling fs layer 05:42:28 8529a6b9a6be: Pulling fs layer 05:42:28 45590311c82a: Pulling fs layer 05:42:28 69ca0ff8b7b3: Pulling fs layer 05:42:28 209524e5b208: Pulling fs layer 05:42:28 8529a6b9a6be: Waiting 05:42:28 45590311c82a: Waiting 05:42:28 69ca0ff8b7b3: Waiting 05:42:28 209524e5b208: Waiting 05:42:28 99f96fe45779: Verifying Checksum 05:42:28 99f96fe45779: Download complete 05:42:28 74f711af9a0d: Download complete 05:42:28 45590311c82a: Download complete 05:42:28 69ca0ff8b7b3: Verifying Checksum 05:42:28 69ca0ff8b7b3: Download complete 05:42:29 b538f80385f9: Verifying Checksum 05:42:29 b538f80385f9: Download complete 05:42:29 Removing intermediate container 15aca78cbc9f 05:42:29 ---> 704eccf78629 05:42:29 Step 10/24 : FROM scratch 05:42:29 ---> 05:42:29 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:42:29 ---> Running in aaeb90f63219 05:42:29 Removing intermediate container aaeb90f63219 05:42:29 ---> 5464364053ac 05:42:29 Step 12/24 : ENV APP_PORT=49990 05:42:29 ---> Running in 04d5bd4970a5 05:42:30 Removing intermediate container 04d5bd4970a5 05:42:30 ---> 816626b08a48 05:42:30 Step 13/24 : EXPOSE $APP_PORT 05:42:30 ---> Running in 86c35d4a260c 05:42:30 Removing intermediate container 86c35d4a260c 05:42:30 ---> 9c9d7e80d4b4 05:42:30 Step 14/24 : WORKDIR / 05:42:30 b538f80385f9: Pull complete 05:42:30 ---> Running in 5bd29cf7168a 05:42:30 Removing intermediate container 5bd29cf7168a 05:42:30 ---> 867b512d444c 05:42:30 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:42:30 74f711af9a0d: Pull complete 05:42:30 ---> 8c117c532d5c 05:42:30 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:42:30 ---> 1456b6d0cd6d 05:42:30 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:42:31 99f96fe45779: Pull complete 05:42:31 ---> 39342bbe9ed3 05:42:31 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:42:31 209524e5b208: Verifying Checksum 05:42:31 209524e5b208: Download complete 05:42:31 ---> bdcf978fcf30 05:42:31 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:42:31 ---> 49268cc1e7ef 05:42:31 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:42:31 ---> Running in 1dd8f4965d71 05:42:32 Removing intermediate container 1dd8f4965d71 05:42:32 ---> d9bd6dffded6 05:42:32 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:42:32 ---> Running in d2ffd6f30815 05:42:32 Removing intermediate container d2ffd6f30815 05:42:32 ---> 5c75e38bc133 05:42:32 Step 22/24 : LABEL arch=amd64 05:42:32 ---> Running in 3c13911a6cea 05:42:32 Removing intermediate container 3c13911a6cea 05:42:32 ---> 840728308744 05:42:32 Step 23/24 : LABEL git_sha=4bdbb9adb96e09f506774f7ea2e77baab7449e26 05:42:32 ---> Running in 69d3a86d1d39 05:42:32 Removing intermediate container 69d3a86d1d39 05:42:32 ---> bb03bfe204d4 05:42:32 Step 24/24 : LABEL version=0.0.0 05:42:32 8529a6b9a6be: Verifying Checksum 05:42:32 8529a6b9a6be: Download complete 05:42:33 ---> Running in d977edb9db5e 05:42:33 Removing intermediate container d977edb9db5e 05:42:33 ---> a9ff6750e561 05:42:33 [Warning] One or more build-args [ARCH] were not consumed 05:42:33 Successfully built a9ff6750e561 05:42:33 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:42:43 8529a6b9a6be: Pull complete 05:42:43 45590311c82a: Pull complete 05:42:43 69ca0ff8b7b3: Pull complete 05:42:47 209524e5b208: Pull complete 05:42:47 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 05:42:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:42:47 ---> 5bddaf1c2fca 05:42:47 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:42:50 ---> Running in 0177f24908d1 05:42:50 Removing intermediate container 0177f24908d1 05:42:50 ---> 4f9be25676d4 05:42:50 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:42:50 ---> Running in c9369de9a058 05:42:52 Removing intermediate container c9369de9a058 05:42:52 ---> 69dc7ffdedcf 05:42:52 Step 5/8 : RUN apk add --no-cache make git 05:42:53 ---> Running in 6070b50ffad9 05:42:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:42:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:42:56 OK: 142 MiB in 39 packages 05:42:57 Removing intermediate container 6070b50ffad9 05:42:57 ---> fb168c078fbb 05:42:57 Step 6/8 : WORKDIR /device-sdk-go 05:42:57 ---> Running in 80ad7360e4ae 05:42:58 Removing intermediate container 80ad7360e4ae 05:42:58 ---> 825a70c6e287 05:42:58 Step 7/8 : COPY . . 05:42:59 ---> ce7bac10718d 05:42:59 Step 8/8 : RUN go mod download 05:42:59 ---> Running in 97956a4b8f5a 05:43:21 Removing intermediate container 97956a4b8f5a 05:43:21 ---> 9657a9760201 05:43:21 Successfully built 9657a9760201 05:43:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:43:22 + docker inspect -f . ci-base-image-arm64 05:43:22 . [Pipeline] withDockerContainer 05:43:22 prd-ubuntu18.04-docker-arm64-4c-16g-2155 does not seem to be running inside a container 05:43:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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 05:43:24 $ docker top da84c57e4febd6a0dfd6283aa8fabadd4d2c7ae1542f3542a5964f2ac8b8597c -eo pid,comm [Pipeline] { [Pipeline] sh 05:43:26 + go version 05:43:26 go version go1.15.2 linux/arm64 [Pipeline] } 05:43:26 $ docker stop --time=1 da84c57e4febd6a0dfd6283aa8fabadd4d2c7ae1542f3542a5964f2ac8b8597c 05:43:28 $ docker rm -f da84c57e4febd6a0dfd6283aa8fabadd4d2c7ae1542f3542a5964f2ac8b8597c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:43:29 + docker inspect -f . ci-base-image-arm64 05:43:29 . [Pipeline] withDockerContainer 05:43:29 prd-ubuntu18.04-docker-arm64-4c-16g-2155 does not seem to be running inside a container 05:43:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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 05:43:31 $ docker top 6ece801bed46690237c4535d1da0e8385c0484fc0e6af76fabf2c694b57e328d -eo pid,comm [Pipeline] { [Pipeline] sh 05:43:33 + make test 05:43:33 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:43:55 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:44:34 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:44:34 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:44:34 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:44:34 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.149s coverage: 21.6% of statements 05:44:39 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.296s coverage: 97.1% of statements 05:45:06 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.123s coverage: 9.4% of statements 05:45:06 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.109s coverage: 21.9% of statements 05:45:06 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:45:06 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.592s coverage: 39.5% of statements 05:45:06 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:45:06 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.753s coverage: 65.4% of statements 05:45:06 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:45:06 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:45:06 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:45:06 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 05:45:06 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.177s coverage: 52.6% of statements 05:45:06 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 05:45:06 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.845s coverage: 68.9% of statements 05:45:06 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:45:06 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:45:06 GO111MODULE=on go vet ./... 05:45:39 gofmt -l . 05:45:39 [ "`gofmt -l .`" = "" ] 05:45:39 ./bin/test-attribution-txt.sh 05:45:39 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:45:40 Warning: overwriting stash ‘coverage-report’ 05:45:41 Stashed 1 file(s) [Pipeline] } 05:45:41 $ docker stop --time=1 6ece801bed46690237c4535d1da0e8385c0484fc0e6af76fabf2c694b57e328d 05:45:43 $ docker rm -f 6ece801bed46690237c4535d1da0e8385c0484fc0e6af76fabf2c694b57e328d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:45:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:45:45 + ls -al . 05:45:45 total 232 05:45:45 drwxrwxr-x 11 jenkins jenkins 4096 Sep 30 05:45 . 05:45:45 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 05:42 .. 05:45:45 -rw-rw-r-- 1 jenkins jenkins 140 Sep 30 05:42 .dockerignore 05:45:45 drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 05:42 .git 05:45:45 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 05:42 .github 05:45:45 -rw-rw-r-- 1 jenkins jenkins 138 Sep 30 05:42 .gitignore 05:45:45 drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 05:42 .semver 05:45:45 -rw-rw-r-- 1 jenkins jenkins 936 Sep 30 05:42 Dockerfile.build 05:45:45 -rw-rw-r-- 1 jenkins jenkins 785 Sep 30 05:42 Jenkinsfile 05:45:45 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 30 05:42 LICENSE 05:45:45 -rw-rw-r-- 1 jenkins jenkins 1013 Sep 30 05:42 Makefile 05:45:45 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 30 05:42 README.md 05:45:45 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 30 05:42 RELEASE-NOTES.txt 05:45:45 -rw-rw-r-- 1 jenkins jenkins 5 Sep 30 05:38 VERSION 05:45:45 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 05:42 bin 05:45:45 -rw-r--r-- 1 jenkins jenkins 111041 Sep 30 05:45 coverage.out 05:45:45 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 05:42 example 05:45:45 -rw-r--r-- 1 jenkins jenkins 517 Sep 30 05:45 go.mod 05:45:45 -rw-r--r-- 1 jenkins jenkins 13543 Sep 30 05:45 go.sum 05:45:45 drwxrwxr-x 15 jenkins jenkins 4096 Sep 30 05:42 internal 05:45:45 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 05:42 openapi 05:45:45 drwxrwxr-x 5 jenkins jenkins 4096 Sep 30 05:42 pkg 05:45:45 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 05:42 snap 05:45:45 -rw-rw-r-- 1 jenkins jenkins 222 Sep 30 05:42 version.go [Pipeline] isUnix [Pipeline] sh 05:45:45 + 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=4bdbb9adb96e09f506774f7ea2e77baab7449e26 --label arch=arm64 --label version=0.0.0 . 05:45:46 Sending build context to Docker daemon 3.54MB 05:45:46 Step 1/24 : ARG BASE=golang:1.15-alpine 05:45:46 Step 2/24 : FROM ${BASE} AS builder 05:45:46 ---> 9657a9760201 05:45:46 Step 3/24 : ARG MAKE='make build' 05:45:46 ---> Running in 7b34f5143e7d 05:45:47 Removing intermediate container 7b34f5143e7d 05:45:47 ---> 2c2a979ea970 05:45:47 Step 4/24 : WORKDIR /device-sdk-go 05:45:47 ---> Running in 011aab943b5c 05:45:47 Removing intermediate container 011aab943b5c 05:45:47 ---> c1b4870cd6e9 05:45:47 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:45:47 ---> Running in 52761e0128bf 05:45:48 Removing intermediate container 52761e0128bf 05:45:48 ---> d69e748496ca 05:45:48 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:45:48 ---> Running in 99e50cc217d2 05:45:51 Removing intermediate container 99e50cc217d2 05:45:51 ---> 2bd13e5323d4 05:45:51 Step 7/24 : RUN apk add --update --no-cache make git 05:45:51 ---> Running in 91e904f25c43 05:45:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:45:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:45:54 OK: 142 MiB in 39 packages 05:45:55 Removing intermediate container 91e904f25c43 05:45:55 ---> f60fbad752d8 05:45:55 Step 8/24 : COPY . . 05:45:56 ---> 88b69508081b 05:45:56 Step 9/24 : RUN ${MAKE} 05:45:56 ---> Running in 5748b29b8ec7 05:45:58 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 05:46:24 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:46:26 Removing intermediate container 5748b29b8ec7 05:46:26 ---> 4256de9fa3b7 05:46:26 Step 10/24 : FROM scratch 05:46:26 ---> 05:46:26 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:46:26 ---> Running in a48144afb59e 05:46:27 Removing intermediate container a48144afb59e 05:46:27 ---> 95d67e0b402b 05:46:27 Step 12/24 : ENV APP_PORT=49990 05:46:27 ---> Running in 638450b6a8eb 05:46:27 Removing intermediate container 638450b6a8eb 05:46:27 ---> f9bbe6b061e5 05:46:27 Step 13/24 : EXPOSE $APP_PORT 05:46:27 ---> Running in e25a8cdb5d4e 05:46:28 Removing intermediate container e25a8cdb5d4e 05:46:28 ---> f8ac196e781f 05:46:28 Step 14/24 : WORKDIR / 05:46:28 ---> Running in cacc7c0f77b1 05:46:28 Removing intermediate container cacc7c0f77b1 05:46:28 ---> 25c539649361 05:46:28 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:46:29 ---> 0c7f014e9da8 05:46:29 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:46:30 ---> 2bdc711d524d 05:46:30 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:46:31 ---> 36d8fec4e3ab 05:46:31 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:46:32 ---> f209092b8ec7 05:46:32 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:46:33 ---> ea582de09fe1 05:46:33 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:46:33 ---> Running in 6b29c4a35dc1 05:46:33 Removing intermediate container 6b29c4a35dc1 05:46:33 ---> 9c4e688e8625 05:46:33 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:46:33 ---> Running in d96d107fade8 05:46:34 Removing intermediate container d96d107fade8 05:46:34 ---> 007c76acf710 05:46:34 Step 22/24 : LABEL arch=arm64 05:46:34 ---> Running in 5aa326f4d4af 05:46:34 Removing intermediate container 5aa326f4d4af 05:46:34 ---> 24107518e3cf 05:46:34 Step 23/24 : LABEL git_sha=4bdbb9adb96e09f506774f7ea2e77baab7449e26 05:46:35 ---> Running in 5e998e2a6b99 05:46:35 Removing intermediate container 5e998e2a6b99 05:46:35 ---> 8d401f9c45d9 05:46:35 Step 24/24 : LABEL version=0.0.0 05:46:35 ---> Running in 8f90ff114330 05:46:36 Removing intermediate container 8f90ff114330 05:46:36 ---> 9e1d3039b48f 05:46:36 [Warning] One or more build-args [ARCH] were not consumed 05:46:36 Successfully built 9e1d3039b48f 05:46:36 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 05:46:38 provisioning config files... 05:46:38 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config8277135195496158878tmp [Pipeline] { [Pipeline] sh 05:46:38 + set +x 05:46:38 + curl -s https://codecov.io/bash 05:46:38 + bash -s -- 05:46:38 05:46:38 _____ _ 05:46:38 / ____| | | 05:46:38 | | ___ __| | ___ ___ _____ __ 05:46:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:46:38 | |___| (_) | (_| | __/ (_| (_) \ V / 05:46:38 \_____\___/ \__,_|\___|\___\___/ \_/ 05:46:38 Bash-20200917-4e8f14b 05:46:38 05:46:38 05:46:38 ==> Jenkins CI detected. 05:46:38 project root: . 05:46:38 Fixing merge commit SHA 05:46:38 --> token set from env 05:46:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:46:38 ==> Running gcov in . (disable via -X gcov) 05:46:38 ==> Python coveragepy not found 05:46:38 ==> Searching for coverage reports in: 05:46:38 + . 05:46:38 -> Found 1 reports 05:46:38 ==> Detecting git/mercurial file structure 05:46:38 ==> Reading reports 05:46:38 + ./coverage.out bytes=111041 05:46:38 ==> Appending adjustments 05:46:38 https://docs.codecov.io/docs/fixing-reports 05:46:39 + Found adjustments 05:46:39 ==> Gzipping contents 05:46:39 ==> Uploading reports 05:46:39 url: https://codecov.io 05:46:39 query: branch=PR-582&commit=4a1412fe3679be6652f13296ba45411ccc085237&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= 05:46:39 -> Pinging Codecov 05:46:39 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-582&commit=4a1412fe3679be6652f13296ba45411ccc085237&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= 05:46:39 -> Uploading to 05:46:39 https://storage.googleapis.com/codecov/v4/raw/2020-09-30/7E55EF52A471D76F132DFD9A03CDDE97/4a1412fe3679be6652f13296ba45411ccc085237/61f83d8b-2f5d-4b37-8a58-d42800faa3be.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200930%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200930T054639Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8e28774440a1ab3a5c1b833786f2567cf3a7c4c183d6f6b2a76ab51a7d855bd6 05:46:39 % Total % Received % Xferd Average Speed Time Time Time Current 05:46:39 Dload Upload Total Spent Left Speed 05:46:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18315 0 0 100 18315 0 43373 --:--:-- --:--:-- --:--:-- 43297 05:46:40 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4a1412fe3679be6652f13296ba45411ccc085237 [Pipeline] } 05:46:40 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 05:46:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:46:43 ---> package-listing.sh 05:46:43 ++ facter osfamily 05:46:43 ++ tr '[:upper:]' '[:lower:]' 05:46:43 + OS_FAMILY=redhat 05:46:43 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 05:46:43 + START_PACKAGES=/tmp/packages_start.txt 05:46:43 + END_PACKAGES=/tmp/packages_end.txt 05:46:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:46:43 + PACKAGES=/tmp/packages_start.txt 05:46:43 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 05:46:43 + PACKAGES=/tmp/packages_end.txt 05:46:43 + case "${OS_FAMILY}" in 05:46:43 + rpm -qa 05:46:43 + sort 05:46:47 + '[' -f /tmp/packages_start.txt ']' 05:46:47 + '[' -f /tmp/packages_end.txt ']' 05:46:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:46:47 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 05:46:47 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ 05:46:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:46:47 provisioning config files... 05:46:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config7570430829316940729tmp [Pipeline] { [Pipeline] echo 05:46:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:46:48 ---> create-netrc.sh [Pipeline] } 05:46:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:46:48 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:46:48 ---> python-tools-install.sh 05:46:48 Generating Requirements File 05:48:10 Python 3.6.8 05:48:10 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 05:48:10 aiohttp==3.6.2 05:48:10 appdirs==1.4.3 05:48:10 argcomplete==1.12.1 05:48:10 aspy.yaml==1.3.0 05:48:10 async-timeout==3.0.1 05:48:10 attrs==19.3.0 05:48:10 Babel==2.8.0 05:48:10 beautifulsoup4==4.8.2 05:48:10 boto3==1.11.6 05:48:10 botocore==1.14.6 05:48:10 bs4==0.0.1 05:48:10 cachetools==4.1.1 05:48:10 certifi==2019.11.28 05:48:10 cffi==1.14.3 05:48:10 cfgv==2.0.1 05:48:10 chardet==3.0.4 05:48:10 click==7.1 05:48:10 cliff==3.4.0 05:48:10 cmd2==1.3.10 05:48:10 colorama==0.4.3 05:48:10 cryptography==3.1.1 05:48:10 debtcollector==2.2.0 05:48:10 decorator==4.4.2 05:48:10 defusedxml==0.6.0 05:48:10 Deprecated==1.2.7 05:48:10 distlib==0.3.1 05:48:10 distro==1.2.0 05:48:10 dnspython==1.16.0 05:48:10 docker==4.2.0 05:48:10 docutils==0.15.2 05:48:10 dogpile.cache==1.0.2 05:48:10 email-validator==1.0.5 05:48:10 filelock==3.0.12 05:48:10 future==0.18.2 05:48:10 google-auth==1.22.0 05:48:10 httplib2==0.17.0 05:48:10 identify==1.4.11 05:48:10 idna==2.9 05:48:10 idna-ssl==1.1.0 05:48:10 importlib-metadata==1.7.0 05:48:10 importlib-resources==1.5.0 05:48:10 iso8601==0.1.13 05:48:10 Jinja2==2.11.1 05:48:10 jmespath==0.10.0 05:48:10 jsonpatch==1.26 05:48:10 jsonpointer==2.0 05:48:10 jsonschema==3.2.0 05:48:10 keystoneauth1==4.2.1 05:48:10 kubernetes==11.0.0 05:48:10 lftools==0.34.2 05:48:10 lxml==4.5.0 05:48:10 MarkupSafe==0.23 05:48:10 msgpack==1.0.0 05:48:10 multi-key-dict==2.0.3 05:48:10 multidict==4.7.6 05:48:10 munch==2.5.0 05:48:10 netaddr==0.8.0 05:48:10 netifaces==0.10.9 05:48:10 niet==1.4.2 05:48:10 nodeenv==1.3.5 05:48:10 oauth2client==4.1.3 05:48:10 oauthlib==3.1.0 05:48:10 openstacksdk==0.50.0 05:48:10 os-client-config==2.1.0 05:48:10 os-service-types==1.7.0 05:48:10 osc-lib==2.2.1 05:48:10 oslo.config==8.3.2 05:48:10 oslo.context==3.1.1 05:48:10 oslo.i18n==5.0.1 05:48:10 oslo.log==4.4.0 05:48:10 oslo.serialization==4.0.1 05:48:10 oslo.utils==4.6.0 05:48:10 packaging==20.4 05:48:10 pbr==5.4.4 05:48:10 pluggy==0.13.1 05:48:10 prettytable==0.7.2 05:48:10 py==1.9.0 05:48:10 pyasn1==0.4.8 05:48:10 pyasn1-modules==0.2.8 05:48:10 pycparser==2.20 05:48:10 pygerrit2==2.0.10 05:48:10 PyGithub==1.46 05:48:10 pyinotify==0.9.6 05:48:10 PyJWT==1.7.1 05:48:10 pyparsing==2.4.7 05:48:10 pyperclip==1.8.0 05:48:10 pyroute2==0.4.13 05:48:10 pyrsistent==0.15.7 05:48:10 PySocks==1.6.8 05:48:10 python-cinderclient==7.2.0 05:48:10 python-dateutil==2.8.1 05:48:10 python-heatclient==2.2.1 05:48:10 python-jenkins==1.7.0 05:48:10 python-keystoneclient==4.1.1 05:48:10 python-magnumclient==3.2.1 05:48:10 python-novaclient==17.2.1 05:48:10 python-openstackclient==5.3.1 05:48:10 python-swiftclient==3.10.1 05:48:10 pytz==2020.1 05:48:10 PyYAML==5.3 05:48:10 requests==2.23.0 05:48:10 requests-oauthlib==1.3.0 05:48:10 requestsexceptions==1.4.0 05:48:10 rfc3986==1.4.0 05:48:10 rpm==4.11.3 05:48:10 rsa==4.0 05:48:10 ruamel.yaml==0.16.10 05:48:10 ruamel.yaml.clib==0.2.0 05:48:10 s3transfer==0.3.3 05:48:10 shade==1.27.2 05:48:10 simplejson==3.17.2 05:48:10 six==1.14.0 05:48:10 soupsieve==2.0 05:48:10 stevedore==3.2.2 05:48:10 tabulate==0.8.6 05:48:10 toml==0.10.0 05:48:10 tox==3.20.0 05:48:10 tqdm==4.43.0 05:48:10 typing-extensions==3.7.4.3 05:48:10 urllib3==1.25.8 05:48:10 virtualenv==20.0.31 05:48:10 wcwidth==0.2.5 05:48:10 websocket-client==0.57.0 05:48:10 wrapt==1.12.1 05:48:10 xdg==3.0.2 05:48:10 xmltodict==0.12.0 05:48:10 yarl==1.6.0 05:48:10 yq==2.11.1 05:48:10 zipp==3.2.0 05:48:10 Cache entry deserialization failed, entry ignored 05:48:10 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. 05:48:10 Python 2.7.5 05:48:10 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 05:48:10 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. 05:48:10 ansible==2.9.7 05:48:10 Babel==0.9.6 05:48:10 backports.ssl-match-hostname==3.5.0.1 05:48:10 beautifulsoup4==4.4.1 05:48:10 bodhi==2.11.0 05:48:10 bodhi-client==2.11.0 05:48:10 CCColUtils==1.4 05:48:10 cffi==1.6.0 05:48:10 chardet==2.2.1 05:48:10 click==6.7 05:48:10 cloud-init==18.5 05:48:10 configobj==4.7.2 05:48:10 cryptography==1.7.2 05:48:10 decorator==3.4.0 05:48:10 distro==1.2.0 05:48:10 enum34==1.0.4 05:48:10 fedpkg==1.38 05:48:10 futures==3.1.1 05:48:10 gitdb==0.6.4 05:48:10 GitPython==1.0.1 05:48:10 html5lib==0.999 05:48:10 httplib2==0.9.2 05:48:10 idna==2.4 05:48:10 iniparse==0.4 05:48:10 ipaddress==1.0.16 05:48:10 IPy==0.75 05:48:10 javapackages==1.0.0 05:48:10 Jinja2==2.7.2 05:48:10 jmespath==0.9.4 05:48:10 jsonpatch==1.2 05:48:10 jsonpointer==1.9 05:48:10 kerberos==1.1 05:48:10 kitchen==1.1.1 05:48:10 langtable==0.0.31 05:48:10 lockfile==0.9.1 05:48:10 lxml==3.2.1 05:48:10 MarkupSafe==0.11 05:48:10 munch==2.0.2 05:48:10 offtrac==0.1.0 05:48:10 openidc-client==0.6.0 05:48:10 packagedb-cli==2.14.1 05:48:10 paramiko==2.1.1 05:48:10 perf==0.1 05:48:10 ply==3.4 05:48:10 policycoreutils-default-encoding==0.1 05:48:10 prettytable==0.7.2 05:48:10 pyasn1==0.1.9 05:48:10 pycparser==2.14 05:48:10 pycurl==7.19.0 05:48:10 pygobject==3.22.0 05:48:10 pygpgme==0.3 05:48:10 pyliblzma==0.5.3 05:48:10 pyOpenSSL==0.13.1 05:48:10 pyparsing==1.5.6 05:48:10 pyserial==2.6 05:48:10 python-augeas==0.5.0 05:48:10 python-bugzilla==2.3.0 05:48:10 python-dateutil==1.5 05:48:10 python-fedora==0.10.0 05:48:10 python-linux-procfs==0.4.9 05:48:10 python-yubico==1.2.3 05:48:10 pyudev==0.15 05:48:10 pyusb==1.0.0b1 05:48:10 pyxattr==0.5.1 05:48:10 PyYAML==3.10 05:48:10 requests==2.6.0 05:48:10 requests-kerberos==0.7.0 05:48:10 rpkg==1.60 05:48:10 schedutils==0.4 05:48:10 seobject==0.1 05:48:10 sepolicy==1.1 05:48:10 six==1.9.0 05:48:10 smmap==0.9.0 05:48:10 urlgrabber==3.10 05:48:10 urllib3==1.10.2 05:48:10 virtualenv==15.1.0 05:48:10 yum-langpacks==0.4.2 05:48:10 yum-metadata-parser==1.1.4 [Pipeline] echo 05:48:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:48:10 ---> sudo-logs.sh 05:48:10 Archiving 'sudo' log.. [Pipeline] echo 05:48:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:48:11 ---> job-cost.sh 05:48:11 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Zf7y 05:48:23 Cache entry deserialization failed, entry ignored 05:48:23 Cache entry deserialization failed, entry ignored 05:48:23 Cache entry deserialization failed, entry ignored 05:48:23 Cache entry deserialization failed, entry ignored 05:48:23 Cache entry deserialization failed, entry ignored 05:48:23 Cache entry deserialization failed, entry ignored 05:48:23 Cache entry deserialization failed, entry ignored 05:48:23 Cache entry deserialization failed, entry ignored 05:48:23 Cache entry deserialization failed, entry ignored 05:48:23 Cache entry deserialization failed, entry ignored 05:48:23 Cache entry deserialization failed, entry ignored 05:48:23 Cache entry deserialization failed, entry ignored 05:48:23 Cache entry deserialization failed, entry ignored 05:48:25 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:48:52 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. 05:48:52 05:48:52 We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. 05:48:52 05:48:52 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. 05:48:53 lf-activate-venv(): INFO: Adding /tmp/venv-Zf7y/bin to PATH 05:48:53 INFO: No Stack... 05:48:54 INFO: Retrieving Pricing Info for: v1-standard-2 05:48:55 INFO: Archiving Costs [Pipeline] echo 05:48:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:48:55 ---> logs-deploy.sh 05:48:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/10 05:48:55 INFO: archiving workspace using pattern(s): 05:48:56 Archives upload complete. 05:48:57 INFO: archiving logs to Nexus