Pull request #602 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 276e169bbc00b810e76808b3fa76b69a46b3a00c+fb7330ff9bf92f9fa1366cf6687914141b9e28cd (880dece33d0eca5b73086efdbd9439ce6d2d4b4e) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [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-2132 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 fb7330ff9bf92f9fa1366cf6687914141b9e28cd into PR head commit 276e169bbc00b810e76808b3fa76b69a46b3a00c Merge succeeded, producing 276e169bbc00b810e76808b3fa76b69a46b3a00c Checking out Revision 276e169bbc00b810e76808b3fa76b69a46b3a00c (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 276e169bbc00b810e76808b3fa76b69a46b3a00c # 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 fb7330ff9bf92f9fa1366cf6687914141b9e28cd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 276e169bbc00b810e76808b3fa76b69a46b3a00c # timeout=10 Commit message: "feat: implement Device SDK v2 common API" First time build. Skipping changelog. > git rev-list --no-walk 973e3351d72c08547700289f4b31505d6abbb4ce # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:35:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:35:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:35:35 ========================================================= 04:35:35 EdgeX Global Pipelines Version Info 04:35:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:35:37 ------------------- 04:35:37 stable info: 04:35:37 ------------------- 04:35:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:35:37 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 04:35:37 Message: update stable to v1.0.131 04:35:38 ------------------- 04:35:38 experimental info: 04:35:38 ------------------- 04:35:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:35:38 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 04:35:38 Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 04:35:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:35:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:35:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:35:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:35:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:35:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 04:35:39 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 04:35:39 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 04:35:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:35:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:35:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:35:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 04:35:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:35:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:35:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:35:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:35:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:35:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:35:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:35:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:35:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:35:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:35:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:35:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:35:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:35:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-602 [Pipeline] echo 04:35:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-602 [Pipeline] echo 04:35:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-602 [Pipeline] echo 04:35:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 276e169bbc00b810e76808b3fa76b69a46b3a00c [Pipeline] echo 04:35:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 276e169 [Pipeline] echo 04:35:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:35:42 + git log --format=format:%s -1 276e169bbc00b810e76808b3fa76b69a46b3a00c [Pipeline] echo 04:35:42 GIT_COMMIT: 276e169bbc00b810e76808b3fa76b69a46b3a00c, Commit Message: feat: implement Device SDK v2 common API [Pipeline] echo 04:35:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:35:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:35:43 04:35:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:35:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:35:43 latest: Pulling from edgex-devops/git-semver 04:35:43 31603596830f: Pulling fs layer 04:35:43 2a8b12db71e7: Pulling fs layer 04:35:43 6ca5941a6612: Pulling fs layer 04:35:43 ecc8261a40a4: Pulling fs layer 04:35:43 ecc8261a40a4: Waiting 04:35:43 2a8b12db71e7: Verifying Checksum 04:35:43 2a8b12db71e7: Download complete 04:35:43 31603596830f: Verifying Checksum 04:35:43 31603596830f: Download complete 04:35:43 ecc8261a40a4: Verifying Checksum 04:35:43 ecc8261a40a4: Download complete 04:35:43 6ca5941a6612: Verifying Checksum 04:35:43 6ca5941a6612: Download complete 04:35:44 31603596830f: Pull complete 04:35:44 2a8b12db71e7: Pull complete 04:35:45 6ca5941a6612: Pull complete 04:35:45 ecc8261a40a4: Pull complete 04:35:45 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 04:35:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:35:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:35:45 prd-centos7-docker-4c-2g-2132 does not seem to be running inside a container 04:35:45 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:35:47 $ docker top ddc8c363ffe23d79b87cecc2ee0c0730ad8bc4edd946405c4cc0ca127d3e8d45 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:35:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:35:47 [ssh-agent] Looking for ssh-agent implementation... 04:35:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:35:48 $ docker exec ddc8c363ffe23d79b87cecc2ee0c0730ad8bc4edd946405c4cc0ca127d3e8d45 ssh-agent 04:35:48 SSH_AUTH_SOCK=/tmp/ssh-qqcQHMIbKxo1/agent.13 04:35:48 SSH_AGENT_PID=18 04:35:48 Running ssh-add (command line suppressed) 04:35:48 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_5586831079247802253.key (/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_5586831079247802253.key) 04:35:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:35:48 + git describe --exact-match --tags HEAD 04:35:48 fatal: no tag exactly matches '276e169bbc00b810e76808b3fa76b69a46b3a00c' [Pipeline] } 04:35:48 $ docker exec --env ******** --env ******** ddc8c363ffe23d79b87cecc2ee0c0730ad8bc4edd946405c4cc0ca127d3e8d45 ssh-agent -k 04:35:49 unset SSH_AUTH_SOCK; 04:35:49 unset SSH_AGENT_PID; 04:35:49 echo Agent pid 18 killed; 04:35:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 04:35:49 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 04:35:49 This usually means this commit has not been tagged. [Pipeline] sshagent 04:35:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:35:49 [ssh-agent] Looking for ssh-agent implementation... 04:35:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:35:49 $ docker exec ddc8c363ffe23d79b87cecc2ee0c0730ad8bc4edd946405c4cc0ca127d3e8d45 ssh-agent 04:35:49 SSH_AUTH_SOCK=/tmp/ssh-AmmqS4dbz0Nm/agent.47 04:35:49 SSH_AGENT_PID=52 04:35:49 Running ssh-add (command line suppressed) 04:35:49 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_4022683259173261116.key (/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_4022683259173261116.key) 04:35:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:35:50 + git semver init 04:35:50 # -> Open(): unable to determine branch for HEAD 04:35:50 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-602/.git 04:35:50 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-602 04:35:50 # $SEMVER_REMOTE_NAME = origin 04:35:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:35:50 # $SEMVER_USER_NAME = edgex-jenkins 04:35:50 # $SEMVER_BRANCH = PR-602 04:35:50 # $SEMVER_TEMP = /tmp/semver-171822577 04:35:50 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:35:51 # '/tmp/semver-171822577' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-602/.semver' 04:35:51 # -> Force: false 04:35:51 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-602/.semver [Pipeline] } 04:35:51 $ docker exec --env ******** --env ******** ddc8c363ffe23d79b87cecc2ee0c0730ad8bc4edd946405c4cc0ca127d3e8d45 ssh-agent -k 04:35:51 unset SSH_AUTH_SOCK; 04:35:51 unset SSH_AGENT_PID; 04:35:51 echo Agent pid 52 killed; 04:35:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:35:51 + git semver [Pipeline] } 04:35:51 $ docker stop --time=1 ddc8c363ffe23d79b87cecc2ee0c0730ad8bc4edd946405c4cc0ca127d3e8d45 04:35:53 $ docker rm -f ddc8c363ffe23d79b87cecc2ee0c0730ad8bc4edd946405c4cc0ca127d3e8d45 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 04:35:54 Stashed 40 file(s) [Pipeline] echo 04:35:54 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 04:35:54 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 04:36:09 Still waiting to schedule task 04:36:09 Waiting for next available executor on ‘centos7-docker-4c-2g’ 04:36:09 Still waiting to schedule task 04:36:09 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:38:25 Running on prd-centos7-docker-4c-2g-2135 in /w/workspace/dgexfoundry_device-sdk-go_PR-602 [Pipeline] { [Pipeline] ws 04:38:25 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 04:38:29 using credential edgex-jenkins-ssh 04:38:29 Cloning the remote Git repository 04:38:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:38:29 > git init /w/workspace/device-sdk-go/4 # timeout=10 04:38:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:38:29 > git --version # timeout=10 04:38:29 > git --version # 'git version 2.16.5' 04:38:29 using GIT_SSH to set credentials SSH Credentials for GitHub 04:38:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:38:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:38:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:38:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:38:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:38:30 using GIT_SSH to set credentials SSH Credentials for GitHub 04:38:30 > 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 04:38:30 Merging remotes/origin/master commit fb7330ff9bf92f9fa1366cf6687914141b9e28cd into PR head commit 276e169bbc00b810e76808b3fa76b69a46b3a00c 04:38:30 Merge succeeded, producing 276e169bbc00b810e76808b3fa76b69a46b3a00c 04:38:30 Checking out Revision 276e169bbc00b810e76808b3fa76b69a46b3a00c (PR-602) 04:38:30 > git config core.sparsecheckout # timeout=10 04:38:30 > git checkout -f 276e169bbc00b810e76808b3fa76b69a46b3a00c # timeout=10 04:38:30 > git remote # timeout=10 04:38:30 > git config --get remote.origin.url # timeout=10 04:38:30 using GIT_SSH to set credentials SSH Credentials for GitHub 04:38:30 > git merge fb7330ff9bf92f9fa1366cf6687914141b9e28cd # timeout=10 04:38:30 > git rev-parse HEAD^{commit} # timeout=10 04:38:30 > git config core.sparsecheckout # timeout=10 04:38:30 > git checkout -f 276e169bbc00b810e76808b3fa76b69a46b3a00c # timeout=10 04:38:34 Commit message: "feat: implement Device SDK v2 common API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:38:35 ========================================================= 04:38:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 04:38:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:38:36 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 04:38:36 Sending build context to Docker daemon 3.468MB 04:38:36 Step 1/8 : ARG BASE=golang:1.15-alpine 04:38:36 Step 2/8 : FROM ${BASE} 04:38:36 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 04:38:36 df20fa9351a1: Pulling fs layer 04:38:36 ed8968b2872e: Pulling fs layer 04:38:36 a92cc7c5fd73: Pulling fs layer 04:38:36 e871e8e8d7a9: Pulling fs layer 04:38:36 e73272ec9a57: Pulling fs layer 04:38:36 1e910a182e73: Pulling fs layer 04:38:36 4e634b169226: Pulling fs layer 04:38:36 e73272ec9a57: Waiting 04:38:36 1e910a182e73: Waiting 04:38:36 4e634b169226: Waiting 04:38:36 e871e8e8d7a9: Waiting 04:38:36 a92cc7c5fd73: Verifying Checksum 04:38:36 a92cc7c5fd73: Download complete 04:38:36 ed8968b2872e: Download complete 04:38:36 e73272ec9a57: Verifying Checksum 04:38:36 e73272ec9a57: Download complete 04:38:36 1e910a182e73: Verifying Checksum 04:38:36 1e910a182e73: Download complete 04:38:36 df20fa9351a1: Verifying Checksum 04:38:36 df20fa9351a1: Download complete 04:38:36 df20fa9351a1: Pull complete 04:38:36 ed8968b2872e: Pull complete 04:38:37 a92cc7c5fd73: Pull complete 04:38:38 4e634b169226: Verifying Checksum 04:38:38 4e634b169226: Download complete 04:38:39 e871e8e8d7a9: Verifying Checksum 04:38:39 e871e8e8d7a9: Download complete 04:38:44 e871e8e8d7a9: Pull complete 04:38:44 e73272ec9a57: Pull complete 04:38:44 1e910a182e73: Pull complete 04:38:48 4e634b169226: Pull complete 04:38:48 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 04:38:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 04:38:48 ---> f7629b54cfaa 04:38:48 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:38:48 ---> Running in 8bc2310cb4ab 04:38:48 Removing intermediate container 8bc2310cb4ab 04:38:48 ---> e11bed5f053d 04:38:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:38:48 ---> Running in 05cbc271096e 04:38:50 Removing intermediate container 05cbc271096e 04:38:50 ---> 0e1ddce17a3a 04:38:50 Step 5/8 : RUN apk add --no-cache make git 04:38:50 ---> Running in 70496ea36174 04:38:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:38:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:38:52 OK: 166 MiB in 39 packages 04:38:52 Removing intermediate container 70496ea36174 04:38:52 ---> 64289af9b96d 04:38:52 Step 6/8 : WORKDIR /device-sdk-go 04:38:52 ---> Running in e610a2807c0e 04:38:52 Removing intermediate container e610a2807c0e 04:38:52 ---> d6d7975ec9c3 04:38:52 Step 7/8 : COPY . . 04:38:54 ---> 91dc0aa61492 04:38:54 Step 8/8 : RUN go mod download 04:38:54 ---> Running in 0d058fed3fee 04:39:12 Removing intermediate container 0d058fed3fee 04:39:12 ---> 0ab3fa2f8054 04:39:12 Successfully built 0ab3fa2f8054 04:39:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:39:12 + docker inspect -f . ci-base-image-x86_64 04:39:12 . [Pipeline] withDockerContainer 04:39:12 prd-centos7-docker-4c-2g-2135 does not seem to be running inside a container 04:39:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:39:14 $ docker top f4b09f40d69a03b11ea9d6a873e4d81b60a491aaa55e72864d2ee2e3f230e7fc -eo pid,comm [Pipeline] { [Pipeline] sh 04:39:14 + go version 04:39:14 go version go1.15.2 linux/amd64 [Pipeline] } 04:39:14 $ docker stop --time=1 f4b09f40d69a03b11ea9d6a873e4d81b60a491aaa55e72864d2ee2e3f230e7fc 04:39:16 $ docker rm -f f4b09f40d69a03b11ea9d6a873e4d81b60a491aaa55e72864d2ee2e3f230e7fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:39:17 + docker inspect -f . ci-base-image-x86_64 04:39:17 . [Pipeline] withDockerContainer 04:39:17 prd-centos7-docker-4c-2g-2135 does not seem to be running inside a container 04:39:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:39:17 $ docker top 4af1a23a12bc49e3480266a0c9e8aa96c3b92ccdb0385eade70a86e2dfaa2533 -eo pid,comm [Pipeline] { [Pipeline] sh 04:39:18 + make test 04:39:18 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:39:24 ? github.com/edgexfoundry/device-sdk-go [no test files] 04:39:39 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 04:39:39 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 04:39:39 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 04:39:39 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.069s coverage: 21.6% of statements 04:39:39 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.417s coverage: 97.1% of statements 04:40:12 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.052s coverage: 9.4% of statements 04:40:12 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.047s coverage: 21.9% of statements 04:40:12 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 04:40:12 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.183s coverage: 39.5% of statements 04:40:12 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 04:40:12 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.272s coverage: 65.4% of statements 04:40:12 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 04:40:12 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 04:40:12 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 04:40:12 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 04:40:12 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.061s coverage: 52.6% of statements 04:40:12 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 04:40:12 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.538s coverage: 68.9% of statements 04:40:12 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 04:40:12 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 04:40:12 GO111MODULE=on go vet ./... 04:40:17 gofmt -l . 04:40:17 [ "`gofmt -l .`" = "" ] 04:40:17 ./bin/test-attribution-txt.sh 04:40:18 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:40:18 Stashed 1 file(s) [Pipeline] } 04:40:18 $ docker stop --time=1 4af1a23a12bc49e3480266a0c9e8aa96c3b92ccdb0385eade70a86e2dfaa2533 04:40:20 $ docker rm -f 4af1a23a12bc49e3480266a0c9e8aa96c3b92ccdb0385eade70a86e2dfaa2533 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:40:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:40:23 + ls -al . 04:40:23 total 192 04:40:23 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 30 04:40 . 04:40:23 drwxrwxr-x. 4 jenkins jenkins 28 Sep 30 04:38 .. 04:40:23 drwxrwxr-x. 2 jenkins jenkins 64 Sep 30 04:38 bin 04:40:23 -rw-r--r--. 1 jenkins jenkins 111041 Sep 30 04:40 coverage.out 04:40:23 -rw-rw-r--. 1 jenkins jenkins 936 Sep 30 04:38 Dockerfile.build 04:40:23 -rw-rw-r--. 1 jenkins jenkins 140 Sep 30 04:38 .dockerignore 04:40:23 drwxrwxr-x. 4 jenkins jenkins 48 Sep 30 04:38 example 04:40:23 drwxrwxr-x. 8 jenkins jenkins 179 Sep 30 04:38 .git 04:40:23 drwxrwxr-x. 2 jenkins jenkins 60 Sep 30 04:38 .github 04:40:23 -rw-rw-r--. 1 jenkins jenkins 138 Sep 30 04:38 .gitignore 04:40:23 -rw-r--r--. 1 jenkins jenkins 517 Sep 30 04:40 go.mod 04:40:23 -rw-r--r--. 1 jenkins jenkins 13650 Sep 30 04:40 go.sum 04:40:23 drwxrwxr-x. 15 jenkins jenkins 211 Sep 30 04:38 internal 04:40:23 -rw-rw-r--. 1 jenkins jenkins 785 Sep 30 04:38 Jenkinsfile 04:40:23 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 30 04:38 LICENSE 04:40:23 -rw-rw-r--. 1 jenkins jenkins 1013 Sep 30 04:38 Makefile 04:40:23 drwxrwxr-x. 4 jenkins jenkins 26 Sep 30 04:38 openapi 04:40:23 drwxrwxr-x. 5 jenkins jenkins 50 Sep 30 04:38 pkg 04:40:23 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 30 04:38 README.md 04:40:23 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 30 04:38 RELEASE-NOTES.txt 04:40:23 drwxrwxr-x. 3 jenkins jenkins 58 Sep 30 04:38 .semver 04:40:23 drwxrwxr-x. 4 jenkins jenkins 54 Sep 30 04:38 snap 04:40:23 -rw-rw-r--. 1 jenkins jenkins 5 Sep 30 04:35 VERSION 04:40:23 -rw-rw-r--. 1 jenkins jenkins 222 Sep 30 04:38 version.go [Pipeline] isUnix [Pipeline] sh 04:40:23 + 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=276e169bbc00b810e76808b3fa76b69a46b3a00c --label arch=amd64 --label version=0.0.0 . 04:40:23 Sending build context to Docker daemon 3.579MB 04:40:23 Step 1/24 : ARG BASE=golang:1.15-alpine 04:40:23 Step 2/24 : FROM ${BASE} AS builder 04:40:23 ---> 0ab3fa2f8054 04:40:23 Step 3/24 : ARG MAKE='make build' 04:40:24 ---> Running in e4ecba77da49 04:40:24 Removing intermediate container e4ecba77da49 04:40:24 ---> 09e620543c53 04:40:24 Step 4/24 : WORKDIR /device-sdk-go 04:40:24 ---> Running in 9d85bf36873c 04:40:24 Removing intermediate container 9d85bf36873c 04:40:24 ---> 4825b58709d1 04:40:24 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:40:24 ---> Running in 52cb7289d5d5 04:40:24 Removing intermediate container 52cb7289d5d5 04:40:24 ---> 8b26ff6a336a 04:40:24 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:40:24 ---> Running in 8b6a127389aa 04:40:25 Removing intermediate container 8b6a127389aa 04:40:25 ---> 7aa8e4342685 04:40:25 Step 7/24 : RUN apk add --update --no-cache make git 04:40:25 ---> Running in 49b30bc62572 04:40:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:40:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:40:27 OK: 166 MiB in 39 packages 04:40:27 Removing intermediate container 49b30bc62572 04:40:27 ---> 88be0f5f6f9e 04:40:27 Step 8/24 : COPY . . 04:40:28 ---> a4920d6143e1 04:40:28 Step 9/24 : RUN ${MAKE} 04:40:28 ---> Running in ca2238a2489c 04:40:29 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:40:36 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2136 in /w/workspace/dgexfoundry_device-sdk-go_PR-602 [Pipeline] { [Pipeline] ws 04:40:36 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 04:40:37 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:40:38 Removing intermediate container ca2238a2489c 04:40:38 ---> d9b182cc2b2e 04:40:38 Step 10/24 : FROM scratch 04:40:38 ---> 04:40:38 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:40:38 ---> Running in 30a0df8a9bda 04:40:38 Removing intermediate container 30a0df8a9bda 04:40:38 ---> fa63042ddaca 04:40:38 Step 12/24 : ENV APP_PORT=49990 04:40:38 ---> Running in 0e0872ab4b88 04:40:39 Removing intermediate container 0e0872ab4b88 04:40:39 ---> a091486218d9 04:40:39 Step 13/24 : EXPOSE $APP_PORT 04:40:39 ---> Running in 08f4b3c0eb98 04:40:39 Removing intermediate container 08f4b3c0eb98 04:40:39 ---> 5f90dbf37e0a 04:40:39 Step 14/24 : WORKDIR / 04:40:39 ---> Running in f147dd77c160 04:40:39 Removing intermediate container f147dd77c160 04:40:39 ---> e2b0deadfa7f 04:40:39 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:40:40 ---> 0671d9c497ca 04:40:40 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:40:40 ---> f46d9ff15067 04:40:40 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:40:40 ---> 5ff2fb3f156d 04:40:40 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:40:40 ---> 4dae200bdd2d 04:40:40 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:40:40 ---> 8d29d798b812 04:40:40 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:40:40 ---> Running in e1b56e2d45d9 04:40:41 Removing intermediate container e1b56e2d45d9 04:40:41 ---> 52bee139f43e 04:40:41 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:40:41 ---> Running in 934a0724d1e9 04:40:41 Removing intermediate container 934a0724d1e9 04:40:41 ---> 3a9d2e66002a 04:40:41 Step 22/24 : LABEL arch=amd64 04:40:41 ---> Running in 01288853a52f 04:40:41 Removing intermediate container 01288853a52f 04:40:41 ---> 3e5a00084b25 04:40:41 Step 23/24 : LABEL git_sha=276e169bbc00b810e76808b3fa76b69a46b3a00c 04:40:41 using credential edgex-jenkins-ssh 04:40:41 Cloning the remote Git repository 04:40:41 ---> Running in cefb2d9671f1 04:40:41 Removing intermediate container cefb2d9671f1 04:40:41 ---> fa80befdbf4a 04:40:41 Step 24/24 : LABEL version=0.0.0 04:40:41 ---> Running in b66578d2318e 04:40:42 Removing intermediate container b66578d2318e 04:40:42 ---> 1e685eb54a43 04:40:42 [Warning] One or more build-args [ARCH] were not consumed 04:40:42 Successfully built 1e685eb54a43 04:40:42 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] } 04:40:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:40:42 > git init /w/workspace/device-sdk-go/4 # timeout=10 04:40:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:40:42 > git --version # timeout=10 04:40:42 > git --version # 'git version 2.17.1' 04:40:42 using GIT_SSH to set credentials SSH Credentials for GitHub 04:40:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:40:44 Merging remotes/origin/master commit fb7330ff9bf92f9fa1366cf6687914141b9e28cd into PR head commit 276e169bbc00b810e76808b3fa76b69a46b3a00c 04:40:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:40:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:40:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:40:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:40:43 using GIT_SSH to set credentials SSH Credentials for GitHub 04:40:43 > 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 04:40:44 > git config core.sparsecheckout # timeout=10 04:40:44 > git checkout -f 276e169bbc00b810e76808b3fa76b69a46b3a00c # timeout=10 04:40:44 Merge succeeded, producing 276e169bbc00b810e76808b3fa76b69a46b3a00c 04:40:44 Checking out Revision 276e169bbc00b810e76808b3fa76b69a46b3a00c (PR-602) 04:40:44 > git remote # timeout=10 04:40:44 > git config --get remote.origin.url # timeout=10 04:40:44 using GIT_SSH to set credentials SSH Credentials for GitHub 04:40:44 > git merge fb7330ff9bf92f9fa1366cf6687914141b9e28cd # timeout=10 04:40:44 > git rev-parse HEAD^{commit} # timeout=10 04:40:44 > git config core.sparsecheckout # timeout=10 04:40:44 > git checkout -f 276e169bbc00b810e76808b3fa76b69a46b3a00c # timeout=10 04:40:48 Commit message: "feat: implement Device SDK v2 common API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:40:50 ========================================================= 04:40:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 04:40:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:40:51 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 04:40:52 Sending build context to Docker daemon 3.467MB 04:40:52 Step 1/8 : ARG BASE=golang:1.15-alpine 04:40:52 Step 2/8 : FROM ${BASE} 04:40:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:40:52 b538f80385f9: Pulling fs layer 04:40:52 74f711af9a0d: Pulling fs layer 04:40:52 99f96fe45779: Pulling fs layer 04:40:52 8529a6b9a6be: Pulling fs layer 04:40:52 45590311c82a: Pulling fs layer 04:40:52 69ca0ff8b7b3: Pulling fs layer 04:40:52 209524e5b208: Pulling fs layer 04:40:52 45590311c82a: Waiting 04:40:52 69ca0ff8b7b3: Waiting 04:40:52 209524e5b208: Waiting 04:40:52 8529a6b9a6be: Waiting 04:40:52 99f96fe45779: Verifying Checksum 04:40:52 99f96fe45779: Download complete 04:40:52 74f711af9a0d: Verifying Checksum 04:40:52 74f711af9a0d: Download complete 04:40:52 45590311c82a: Verifying Checksum 04:40:52 45590311c82a: Download complete 04:40:52 69ca0ff8b7b3: Verifying Checksum 04:40:52 69ca0ff8b7b3: Download complete 04:40:52 b538f80385f9: Verifying Checksum 04:40:52 b538f80385f9: Download complete 04:40:53 b538f80385f9: Pull complete 04:40:53 74f711af9a0d: Pull complete 04:40:54 99f96fe45779: Pull complete 04:40:58 209524e5b208: Verifying Checksum 04:40:58 209524e5b208: Download complete 04:40:59 8529a6b9a6be: Verifying Checksum 04:40:59 8529a6b9a6be: Download complete 04:41:10 8529a6b9a6be: Pull complete 04:41:10 45590311c82a: Pull complete 04:41:10 69ca0ff8b7b3: Pull complete 04:41:14 209524e5b208: Pull complete 04:41:14 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 04:41:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 04:41:14 ---> 5bddaf1c2fca 04:41:14 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:41:17 ---> Running in ffe08ae04391 04:41:17 Removing intermediate container ffe08ae04391 04:41:17 ---> 6ea665032a54 04:41:17 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:41:17 ---> Running in 5b24ec64d923 04:41:20 Removing intermediate container 5b24ec64d923 04:41:20 ---> 2a0d35285c91 04:41:20 Step 5/8 : RUN apk add --no-cache make git 04:41:20 ---> Running in 3bf0429dd09f 04:41:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:41:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:41:23 OK: 142 MiB in 39 packages 04:41:24 Removing intermediate container 3bf0429dd09f 04:41:24 ---> dc4345559d2b 04:41:24 Step 6/8 : WORKDIR /device-sdk-go 04:41:24 ---> Running in 7445309e3101 04:41:25 Removing intermediate container 7445309e3101 04:41:25 ---> e96de712341c 04:41:25 Step 7/8 : COPY . . 04:41:26 ---> 8c083bee0dd9 04:41:26 Step 8/8 : RUN go mod download 04:41:26 ---> Running in 9ea5336a3e33 04:41:48 Removing intermediate container 9ea5336a3e33 04:41:48 ---> efc2465eca5d 04:41:48 Successfully built efc2465eca5d 04:41:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:41:49 + docker inspect -f . ci-base-image-arm64 04:41:49 . [Pipeline] withDockerContainer 04:41:49 prd-ubuntu18.04-docker-arm64-4c-16g-2136 does not seem to be running inside a container 04:41:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:41:51 $ docker top 29a5f7466659fe0a164a2894289847e17a9545ac9ae52799734d0b21227e5829 -eo pid,comm [Pipeline] { [Pipeline] sh 04:41:52 + go version 04:41:52 go version go1.15.2 linux/arm64 [Pipeline] } 04:41:52 $ docker stop --time=1 29a5f7466659fe0a164a2894289847e17a9545ac9ae52799734d0b21227e5829 04:41:54 $ docker rm -f 29a5f7466659fe0a164a2894289847e17a9545ac9ae52799734d0b21227e5829 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:41:55 + docker inspect -f . ci-base-image-arm64 04:41:55 . [Pipeline] withDockerContainer 04:41:55 prd-ubuntu18.04-docker-arm64-4c-16g-2136 does not seem to be running inside a container 04:41:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:41:57 $ docker top 530b89b7214eb84e383e183c1ee5fb04be2dc26345d51cdfdc8751937e84c290 -eo pid,comm [Pipeline] { [Pipeline] sh 04:41:59 + make test 04:41:59 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:42:21 ? github.com/edgexfoundry/device-sdk-go [no test files] 04:43:00 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 04:43:00 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 04:43:00 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 04:43:00 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.132s coverage: 21.6% of statements 04:43:00 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.292s coverage: 97.1% of statements 04:43:33 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.124s coverage: 9.4% of statements 04:43:33 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.121s coverage: 21.9% of statements 04:43:33 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 04:43:33 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.551s coverage: 39.5% of statements 04:43:33 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 04:43:33 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.809s coverage: 65.4% of statements 04:43:33 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 04:43:33 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 04:43:33 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 04:43:33 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 04:43:33 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.173s coverage: 52.6% of statements 04:43:33 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 04:43:33 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.635s coverage: 68.9% of statements 04:43:33 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 04:43:33 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 04:43:33 GO111MODULE=on go vet ./... 04:44:00 gofmt -l . 04:44:00 [ "`gofmt -l .`" = "" ] 04:44:01 ./bin/test-attribution-txt.sh 04:44:02 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:44:02 Warning: overwriting stash ‘coverage-report’ 04:44:03 Stashed 1 file(s) [Pipeline] } 04:44:03 $ docker stop --time=1 530b89b7214eb84e383e183c1ee5fb04be2dc26345d51cdfdc8751937e84c290 04:44:05 $ docker rm -f 530b89b7214eb84e383e183c1ee5fb04be2dc26345d51cdfdc8751937e84c290 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:44:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:44:07 + ls -al . 04:44:07 total 232 04:44:07 drwxrwxr-x 11 jenkins jenkins 4096 Sep 30 04:44 . 04:44:07 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 04:40 .. 04:44:07 -rw-rw-r-- 1 jenkins jenkins 140 Sep 30 04:40 .dockerignore 04:44:07 drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 04:40 .git 04:44:07 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 04:40 .github 04:44:07 -rw-rw-r-- 1 jenkins jenkins 138 Sep 30 04:40 .gitignore 04:44:07 drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 04:40 .semver 04:44:07 -rw-rw-r-- 1 jenkins jenkins 936 Sep 30 04:40 Dockerfile.build 04:44:07 -rw-rw-r-- 1 jenkins jenkins 785 Sep 30 04:40 Jenkinsfile 04:44:07 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 30 04:40 LICENSE 04:44:07 -rw-rw-r-- 1 jenkins jenkins 1013 Sep 30 04:40 Makefile 04:44:07 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 30 04:40 README.md 04:44:07 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 30 04:40 RELEASE-NOTES.txt 04:44:07 -rw-rw-r-- 1 jenkins jenkins 5 Sep 30 04:35 VERSION 04:44:07 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 04:40 bin 04:44:07 -rw-r--r-- 1 jenkins jenkins 111041 Sep 30 04:43 coverage.out 04:44:07 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 04:40 example 04:44:07 -rw-r--r-- 1 jenkins jenkins 517 Sep 30 04:44 go.mod 04:44:07 -rw-r--r-- 1 jenkins jenkins 13650 Sep 30 04:44 go.sum 04:44:07 drwxrwxr-x 15 jenkins jenkins 4096 Sep 30 04:40 internal 04:44:07 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 04:40 openapi 04:44:07 drwxrwxr-x 5 jenkins jenkins 4096 Sep 30 04:40 pkg 04:44:07 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 04:40 snap 04:44:07 -rw-rw-r-- 1 jenkins jenkins 222 Sep 30 04:40 version.go [Pipeline] isUnix [Pipeline] sh 04:44:07 + 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=276e169bbc00b810e76808b3fa76b69a46b3a00c --label arch=arm64 --label version=0.0.0 . 04:44:08 Sending build context to Docker daemon 3.579MB 04:44:08 Step 1/24 : ARG BASE=golang:1.15-alpine 04:44:08 Step 2/24 : FROM ${BASE} AS builder 04:44:08 ---> efc2465eca5d 04:44:08 Step 3/24 : ARG MAKE='make build' 04:44:08 ---> Running in f2b8de35163c 04:44:09 Removing intermediate container f2b8de35163c 04:44:09 ---> 2a44ffb12053 04:44:09 Step 4/24 : WORKDIR /device-sdk-go 04:44:09 ---> Running in 26c8a9bcb46f 04:44:09 Removing intermediate container 26c8a9bcb46f 04:44:09 ---> b8d8364f2c6e 04:44:09 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:44:09 ---> Running in a1c5a93dd167 04:44:10 Removing intermediate container a1c5a93dd167 04:44:10 ---> 5ff862f53f9e 04:44:10 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:44:10 ---> Running in fd20bc81610c 04:44:13 Removing intermediate container fd20bc81610c 04:44:13 ---> ccfc248c1b42 04:44:13 Step 7/24 : RUN apk add --update --no-cache make git 04:44:13 ---> Running in eb359f717c99 04:44:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:44:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:44:16 OK: 142 MiB in 39 packages 04:44:17 Removing intermediate container eb359f717c99 04:44:17 ---> be15f9c6944a 04:44:17 Step 8/24 : COPY . . 04:44:18 ---> 9df0c5d14f9b 04:44:18 Step 9/24 : RUN ${MAKE} 04:44:18 ---> Running in 37a2b9ac726f 04:44: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 04:44:47 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:44:47 Removing intermediate container 37a2b9ac726f 04:44:47 ---> 51ff4dfeb271 04:44:47 Step 10/24 : FROM scratch 04:44:47 ---> 04:44:47 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:44:47 ---> Running in a0cf3e57fbf6 04:44:47 Removing intermediate container a0cf3e57fbf6 04:44:47 ---> dc1989c5f862 04:44:47 Step 12/24 : ENV APP_PORT=49990 04:44:47 ---> Running in a387e55164cf 04:44:47 Removing intermediate container a387e55164cf 04:44:47 ---> a6188c83971d 04:44:47 Step 13/24 : EXPOSE $APP_PORT 04:44:47 ---> Running in 09538efc0e4b 04:44:47 Removing intermediate container 09538efc0e4b 04:44:47 ---> 6fb5a0c3a04f 04:44:47 Step 14/24 : WORKDIR / 04:44:47 ---> Running in 895809e8710b 04:44:48 Removing intermediate container 895809e8710b 04:44:48 ---> d3e63d43bb8c 04:44:48 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:44:49 ---> 6b4c5931c7f2 04:44:49 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:44:50 ---> 36210fbcf0be 04:44:50 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:44:50 ---> 7331634cca0a 04:44:50 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:44:51 ---> 8add85de6c70 04:44:51 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:44:52 ---> f4f46ed6931b 04:44:52 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:44:52 ---> Running in fe415f8ce20e 04:44:52 Removing intermediate container fe415f8ce20e 04:44:52 ---> 214d11e8ebd3 04:44:52 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:44:52 ---> Running in 807488b11192 04:44:53 Removing intermediate container 807488b11192 04:44:53 ---> 4beefda85ad7 04:44:53 Step 22/24 : LABEL arch=arm64 04:44:53 ---> Running in b670a81bd020 04:44:53 Removing intermediate container b670a81bd020 04:44:53 ---> 4fc898c879f5 04:44:53 Step 23/24 : LABEL git_sha=276e169bbc00b810e76808b3fa76b69a46b3a00c 04:44:54 ---> Running in 3f7cf5c3050a 04:44:54 Removing intermediate container 3f7cf5c3050a 04:44:54 ---> 659250c7c2fb 04:44:54 Step 24/24 : LABEL version=0.0.0 04:44:54 ---> Running in 210973b7e336 04:44:54 Removing intermediate container 210973b7e336 04:44:54 ---> 9233e97b28c6 04:44:54 [Warning] One or more build-args [ARCH] were not consumed 04:44:55 Successfully built 9233e97b28c6 04:44:55 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 04:44:57 provisioning config files... 04:44:57 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/config5546565984889334786tmp [Pipeline] { [Pipeline] sh 04:44:57 + set +x 04:44:57 + curl -s https://codecov.io/bash 04:44:57 + bash -s -- 04:44:57 04:44:57 _____ _ 04:44:57 / ____| | | 04:44:57 | | ___ __| | ___ ___ _____ __ 04:44:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:44:57 | |___| (_) | (_| | __/ (_| (_) \ V / 04:44:57 \_____\___/ \__,_|\___|\___\___/ \_/ 04:44:57 Bash-20200917-4e8f14b 04:44:57 04:44:57 04:44:57 ==> Jenkins CI detected. 04:44:57 project root: . 04:44:57 --> token set from env 04:44:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:44:57 ==> Running gcov in . (disable via -X gcov) 04:44:57 ==> Python coveragepy not found 04:44:57 ==> Searching for coverage reports in: 04:44:57 + . 04:44:57 -> Found 1 reports 04:44:57 ==> Detecting git/mercurial file structure 04:44:57 ==> Reading reports 04:44:57 + ./coverage.out bytes=111041 04:44:57 ==> Appending adjustments 04:44:57 https://docs.codecov.io/docs/fixing-reports 04:44:58 + Found adjustments 04:44:58 ==> Gzipping contents 04:44:58 ==> Uploading reports 04:44:58 url: https://codecov.io 04:44:58 query: branch=PR-602&commit=276e169bbc00b810e76808b3fa76b69a46b3a00c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-602%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=602&job=&cmd_args= 04:44:58 -> Pinging Codecov 04:44:58 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-602&commit=276e169bbc00b810e76808b3fa76b69a46b3a00c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-602%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=602&job=&cmd_args= 04:44:59 -> Uploading to 04:44:59 https://storage.googleapis.com/codecov/v4/raw/2020-09-30/7E55EF52A471D76F132DFD9A03CDDE97/276e169bbc00b810e76808b3fa76b69a46b3a00c/329beab5-34a6-4cd6-bcda-8fa01fd0fb9c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200930%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200930T044458Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a09e53443de0b00fc93acc0828d87ec47127f37babe96e6036c8426b834d0bf5 04:44:59 % Total % Received % Xferd Average Speed Time Time Time Current 04:44:59 Dload Upload Total Spent Left Speed 04:44:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18307 0 0 100 18307 0 41939 --:--:-- --:--:-- --:--:-- 41988 04:44:59 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/276e169bbc00b810e76808b3fa76b69a46b3a00c [Pipeline] } 04:44:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 04:45:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:45:02 ---> package-listing.sh 04:45:02 ++ facter osfamily 04:45:02 ++ tr '[:upper:]' '[:lower:]' 04:45:02 + OS_FAMILY=redhat 04:45:02 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-602 04:45:02 + START_PACKAGES=/tmp/packages_start.txt 04:45:02 + END_PACKAGES=/tmp/packages_end.txt 04:45:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:45:02 + PACKAGES=/tmp/packages_start.txt 04:45:02 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-602 ']' 04:45:02 + PACKAGES=/tmp/packages_end.txt 04:45:02 + case "${OS_FAMILY}" in 04:45:02 + rpm -qa 04:45:02 + sort 04:45:07 + '[' -f /tmp/packages_start.txt ']' 04:45:07 + '[' -f /tmp/packages_end.txt ']' 04:45:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:45:07 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-602 ']' 04:45:07 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-602/archives/ 04:45:07 + 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 04:45:07 provisioning config files... 04:45:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/config8419453324950595070tmp [Pipeline] { [Pipeline] echo 04:45:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:45:08 ---> create-netrc.sh [Pipeline] } 04:45:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 04:45:08 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 04:45:08 ---> python-tools-install.sh 04:45:08 Generating Requirements File 04:46:30 Python 3.6.8 04:46:30 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 04:46:30 aiohttp==3.6.2 04:46:30 appdirs==1.4.3 04:46:30 argcomplete==1.12.1 04:46:30 aspy.yaml==1.3.0 04:46:30 async-timeout==3.0.1 04:46:30 attrs==19.3.0 04:46:30 Babel==2.8.0 04:46:30 beautifulsoup4==4.8.2 04:46:30 boto3==1.11.6 04:46:30 botocore==1.14.6 04:46:30 bs4==0.0.1 04:46:30 cachetools==4.1.1 04:46:30 certifi==2019.11.28 04:46:30 cffi==1.14.3 04:46:30 cfgv==2.0.1 04:46:30 chardet==3.0.4 04:46:30 click==7.1 04:46:30 cliff==3.4.0 04:46:30 cmd2==1.3.10 04:46:30 colorama==0.4.3 04:46:30 cryptography==3.1.1 04:46:30 debtcollector==2.2.0 04:46:30 decorator==4.4.2 04:46:30 defusedxml==0.6.0 04:46:30 Deprecated==1.2.7 04:46:30 distlib==0.3.1 04:46:30 distro==1.2.0 04:46:30 dnspython==1.16.0 04:46:30 docker==4.2.0 04:46:30 docutils==0.15.2 04:46:30 dogpile.cache==1.0.2 04:46:30 email-validator==1.0.5 04:46:30 filelock==3.0.12 04:46:30 future==0.18.2 04:46:30 google-auth==1.22.0 04:46:30 httplib2==0.17.0 04:46:30 identify==1.4.11 04:46:30 idna==2.9 04:46:30 idna-ssl==1.1.0 04:46:30 importlib-metadata==1.7.0 04:46:30 importlib-resources==1.5.0 04:46:30 iso8601==0.1.13 04:46:30 Jinja2==2.11.1 04:46:30 jmespath==0.10.0 04:46:30 jsonpatch==1.26 04:46:30 jsonpointer==2.0 04:46:30 jsonschema==3.2.0 04:46:30 keystoneauth1==4.2.1 04:46:30 kubernetes==11.0.0 04:46:30 lftools==0.34.2 04:46:30 lxml==4.5.0 04:46:30 MarkupSafe==0.23 04:46:30 msgpack==1.0.0 04:46:30 multi-key-dict==2.0.3 04:46:30 multidict==4.7.6 04:46:30 munch==2.5.0 04:46:30 netaddr==0.8.0 04:46:30 netifaces==0.10.9 04:46:30 niet==1.4.2 04:46:30 nodeenv==1.3.5 04:46:30 oauth2client==4.1.3 04:46:30 oauthlib==3.1.0 04:46:30 openstacksdk==0.50.0 04:46:30 os-client-config==2.1.0 04:46:30 os-service-types==1.7.0 04:46:30 osc-lib==2.2.1 04:46:30 oslo.config==8.3.2 04:46:30 oslo.context==3.1.1 04:46:30 oslo.i18n==5.0.1 04:46:30 oslo.log==4.4.0 04:46:30 oslo.serialization==4.0.1 04:46:30 oslo.utils==4.6.0 04:46:30 packaging==20.4 04:46:30 pbr==5.4.4 04:46:30 pluggy==0.13.1 04:46:30 prettytable==0.7.2 04:46:30 py==1.9.0 04:46:30 pyasn1==0.4.8 04:46:30 pyasn1-modules==0.2.8 04:46:30 pycparser==2.20 04:46:30 pygerrit2==2.0.10 04:46:30 PyGithub==1.46 04:46:30 pyinotify==0.9.6 04:46:30 PyJWT==1.7.1 04:46:30 pyparsing==2.4.7 04:46:30 pyperclip==1.8.0 04:46:30 pyroute2==0.4.13 04:46:30 pyrsistent==0.15.7 04:46:30 PySocks==1.6.8 04:46:30 python-cinderclient==7.2.0 04:46:30 python-dateutil==2.8.1 04:46:30 python-heatclient==2.2.1 04:46:30 python-jenkins==1.7.0 04:46:30 python-keystoneclient==4.1.1 04:46:30 python-magnumclient==3.2.1 04:46:30 python-novaclient==17.2.1 04:46:30 python-openstackclient==5.3.1 04:46:30 python-swiftclient==3.10.1 04:46:30 pytz==2020.1 04:46:30 PyYAML==5.3 04:46:30 requests==2.23.0 04:46:30 requests-oauthlib==1.3.0 04:46:30 requestsexceptions==1.4.0 04:46:30 rfc3986==1.4.0 04:46:30 rpm==4.11.3 04:46:30 rsa==4.0 04:46:30 ruamel.yaml==0.16.10 04:46:30 ruamel.yaml.clib==0.2.0 04:46:30 s3transfer==0.3.3 04:46:30 shade==1.27.2 04:46:30 simplejson==3.17.2 04:46:30 six==1.14.0 04:46:30 soupsieve==2.0 04:46:30 stevedore==3.2.2 04:46:30 tabulate==0.8.6 04:46:30 toml==0.10.0 04:46:30 tox==3.20.0 04:46:30 tqdm==4.43.0 04:46:30 typing-extensions==3.7.4.3 04:46:30 urllib3==1.25.8 04:46:30 virtualenv==20.0.31 04:46:30 wcwidth==0.2.5 04:46:30 websocket-client==0.57.0 04:46:30 wrapt==1.12.1 04:46:30 xdg==3.0.2 04:46:30 xmltodict==0.12.0 04:46:30 yarl==1.6.0 04:46:30 yq==2.11.1 04:46:30 zipp==3.2.0 04:46:30 Cache entry deserialization failed, entry ignored 04:46:30 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 04:46:30 Python 2.7.5 04:46:30 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 04:46:30 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 04:46:30 ansible==2.9.7 04:46:30 Babel==0.9.6 04:46:30 backports.ssl-match-hostname==3.5.0.1 04:46:30 beautifulsoup4==4.4.1 04:46:30 bodhi==2.11.0 04:46:30 bodhi-client==2.11.0 04:46:30 CCColUtils==1.4 04:46:30 cffi==1.6.0 04:46:30 chardet==2.2.1 04:46:30 click==6.7 04:46:30 cloud-init==18.5 04:46:30 configobj==4.7.2 04:46:30 cryptography==1.7.2 04:46:30 decorator==3.4.0 04:46:30 distro==1.2.0 04:46:30 enum34==1.0.4 04:46:30 fedpkg==1.38 04:46:30 futures==3.1.1 04:46:30 gitdb==0.6.4 04:46:30 GitPython==1.0.1 04:46:30 html5lib==0.999 04:46:30 httplib2==0.9.2 04:46:30 idna==2.4 04:46:30 iniparse==0.4 04:46:30 ipaddress==1.0.16 04:46:30 IPy==0.75 04:46:30 javapackages==1.0.0 04:46:30 Jinja2==2.7.2 04:46:30 jmespath==0.9.4 04:46:30 jsonpatch==1.2 04:46:30 jsonpointer==1.9 04:46:30 kerberos==1.1 04:46:30 kitchen==1.1.1 04:46:30 langtable==0.0.31 04:46:30 lockfile==0.9.1 04:46:30 lxml==3.2.1 04:46:30 MarkupSafe==0.11 04:46:30 munch==2.0.2 04:46:30 offtrac==0.1.0 04:46:30 openidc-client==0.6.0 04:46:30 packagedb-cli==2.14.1 04:46:30 paramiko==2.1.1 04:46:30 perf==0.1 04:46:30 ply==3.4 04:46:30 policycoreutils-default-encoding==0.1 04:46:30 prettytable==0.7.2 04:46:30 pyasn1==0.1.9 04:46:30 pycparser==2.14 04:46:30 pycurl==7.19.0 04:46:30 pygobject==3.22.0 04:46:30 pygpgme==0.3 04:46:30 pyliblzma==0.5.3 04:46:30 pyOpenSSL==0.13.1 04:46:30 pyparsing==1.5.6 04:46:30 pyserial==2.6 04:46:30 python-augeas==0.5.0 04:46:30 python-bugzilla==2.3.0 04:46:30 python-dateutil==1.5 04:46:30 python-fedora==0.10.0 04:46:30 python-linux-procfs==0.4.9 04:46:30 python-yubico==1.2.3 04:46:30 pyudev==0.15 04:46:30 pyusb==1.0.0b1 04:46:30 pyxattr==0.5.1 04:46:30 PyYAML==3.10 04:46:30 requests==2.6.0 04:46:30 requests-kerberos==0.7.0 04:46:30 rpkg==1.60 04:46:30 schedutils==0.4 04:46:30 seobject==0.1 04:46:30 sepolicy==1.1 04:46:30 six==1.9.0 04:46:30 smmap==0.9.0 04:46:30 urlgrabber==3.10 04:46:30 urllib3==1.10.2 04:46:30 virtualenv==15.1.0 04:46:30 yum-langpacks==0.4.2 04:46:30 yum-metadata-parser==1.1.4 [Pipeline] echo 04:46:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:46:30 ---> sudo-logs.sh 04:46:30 Archiving 'sudo' log.. [Pipeline] echo 04:46:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:46:30 ---> job-cost.sh 04:46:30 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-xT3H 04:46:43 Cache entry deserialization failed, entry ignored 04:46:43 Cache entry deserialization failed, entry ignored 04:46:44 Cache entry deserialization failed, entry ignored 04:46:44 Cache entry deserialization failed, entry ignored 04:46:44 Cache entry deserialization failed, entry ignored 04:46:44 Cache entry deserialization failed, entry ignored 04:46:44 Cache entry deserialization failed, entry ignored 04:46:44 Cache entry deserialization failed, entry ignored 04:46:44 Cache entry deserialization failed, entry ignored 04:46:44 Cache entry deserialization failed, entry ignored 04:46:44 Cache entry deserialization failed, entry ignored 04:46:44 Cache entry deserialization failed, entry ignored 04:46:44 Cache entry deserialization failed, entry ignored 04:46:47 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:47:13 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. 04:47:13 04:47:13 We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. 04:47:13 04:47:13 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. 04:47:13 lf-activate-venv(): INFO: Adding /tmp/venv-xT3H/bin to PATH 04:47:13 INFO: No Stack... 04:47:13 INFO: Retrieving Pricing Info for: v1-standard-2 04:47:14 INFO: Archiving Costs [Pipeline] echo 04:47:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:47:14 ---> logs-deploy.sh 04:47:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-602/4 04:47:14 INFO: archiving workspace using pattern(s): 04:47:16 Archives upload complete. 04:47:16 INFO: archiving logs to Nexus 04:47:17 ---> uname -a: 04:47:17 Linux prd-centos7-docker-4c-2g-2132.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux 04:47:17 04:47:17