Pull request #615 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 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9+7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 (7d8f004f44b72208dd218381027fab6dd034caa7) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3469 in /w/workspace/dgexfoundry_device-sdk-go_PR-615 [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-615 # 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 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 into PR head commit 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 > 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/615/head:refs/remotes/origin/PR-615 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merge succeeded, producing 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 Checking out Revision 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 (PR-615) > git config core.sparsecheckout # timeout=10 > git checkout -f 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 # 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 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 # timeout=10 Commit message: "fix: improve device discovery flow and whitelist logic" First time build. Skipping changelog. > git rev-list --no-walk 65307dba2872cfcd4df5135b09467a8f4a57ce44 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:09:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:09:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:09:08 ========================================================= 15:09:08 EdgeX Global Pipelines Version Info 15:09:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:09:09 ------------------- 15:09:09 stable info: 15:09:09 ------------------- 15:09:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:09:09 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 15:09:09 Message: update stable to v1.0.131 15:09:10 ------------------- 15:09:10 experimental info: 15:09:10 ------------------- 15:09:10 Commited By: **** collab-it+edgex@linuxfoundation.org 15:09:10 Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a 15:09:10 Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 15:09:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:09:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:09:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:09:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:09:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:09:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 15:09:11 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:09:11 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 15:09:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:09:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:09:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:09:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 15:09:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:09:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:09:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:09:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:09:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:09:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:09:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:09:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:09:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:09:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:09:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:09:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:09:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:09:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-615 [Pipeline] echo 15:09:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-615 [Pipeline] echo 15:09:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-615 [Pipeline] echo 15:09:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 [Pipeline] echo 15:09:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e0b041 [Pipeline] echo 15:09:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:09:14 + git log --format=format:%s -1 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 [Pipeline] echo 15:09:14 GIT_COMMIT: 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9, Commit Message: fix: improve device discovery flow and whitelist logic [Pipeline] echo 15:09:15 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:09:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:09:15 15:09:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:09:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:09:16 latest: Pulling from edgex-devops/git-semver 15:09:16 31603596830f: Pulling fs layer 15:09:16 2a8b12db71e7: Pulling fs layer 15:09:16 6ca5941a6612: Pulling fs layer 15:09:16 ecc8261a40a4: Pulling fs layer 15:09:16 ecc8261a40a4: Waiting 15:09:16 2a8b12db71e7: Verifying Checksum 15:09:16 2a8b12db71e7: Download complete 15:09:16 31603596830f: Download complete 15:09:16 6ca5941a6612: Verifying Checksum 15:09:16 6ca5941a6612: Download complete 15:09:16 31603596830f: Pull complete 15:09:16 ecc8261a40a4: Verifying Checksum 15:09:16 ecc8261a40a4: Download complete 15:09:17 2a8b12db71e7: Pull complete 15:09:17 6ca5941a6612: Pull complete 15:09:18 ecc8261a40a4: Pull complete 15:09:18 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 15:09:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:09:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:09:18 prd-centos7-docker-4c-2g-3469 does not seem to be running inside a container 15:09:18 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-615 -v /w/workspace/dgexfoundry_device-sdk-go_PR-615:/w/workspace/dgexfoundry_device-sdk-go_PR-615:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-615@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-615@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:09:20 $ docker top 58b98427ba4aaf1c6f93585551abd1f50eb91c1005d6a1fcfe1da2ab837fe71e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:09:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:09:20 [ssh-agent] Looking for ssh-agent implementation... 15:09:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:09:20 $ docker exec 58b98427ba4aaf1c6f93585551abd1f50eb91c1005d6a1fcfe1da2ab837fe71e ssh-agent 15:09:20 SSH_AUTH_SOCK=/tmp/ssh-KEt2DXLSg4Cl/agent.11 15:09:20 SSH_AGENT_PID=16 15:09:20 Running ssh-add (command line suppressed) 15:09:21 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-615@tmp/private_key_4207378727572688479.key (/w/workspace/dgexfoundry_device-sdk-go_PR-615@tmp/private_key_4207378727572688479.key) 15:09:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:09:21 + git describe --exact-match --tags HEAD 15:09:21 fatal: no tag exactly matches '0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9' [Pipeline] } 15:09:21 $ docker exec --env ******** --env ******** 58b98427ba4aaf1c6f93585551abd1f50eb91c1005d6a1fcfe1da2ab837fe71e ssh-agent -k 15:09:21 unset SSH_AUTH_SOCK; 15:09:21 unset SSH_AGENT_PID; 15:09:21 echo Agent pid 16 killed; 15:09:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 15:09:21 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 15:09:21 This usually means this commit has not been tagged. [Pipeline] sshagent 15:09:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:09:21 [ssh-agent] Looking for ssh-agent implementation... 15:09:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:09:22 $ docker exec 58b98427ba4aaf1c6f93585551abd1f50eb91c1005d6a1fcfe1da2ab837fe71e ssh-agent 15:09:22 SSH_AUTH_SOCK=/tmp/ssh-82cT8qQ2H54O/agent.44 15:09:22 SSH_AGENT_PID=49 15:09:22 Running ssh-add (command line suppressed) 15:09:22 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-615@tmp/private_key_1659537430761627375.key (/w/workspace/dgexfoundry_device-sdk-go_PR-615@tmp/private_key_1659537430761627375.key) 15:09:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:09:22 + git semver init 15:09:22 # -> Open(): unable to determine branch for HEAD 15:09:22 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-615/.git 15:09:22 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-615 15:09:22 # $SEMVER_REMOTE_NAME = origin 15:09:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:09:22 # $SEMVER_USER_NAME = edgex-jenkins 15:09:22 # $SEMVER_BRANCH = PR-615 15:09:22 # $SEMVER_TEMP = /tmp/semver-910178401 15:09:22 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 15:09:23 # '/tmp/semver-910178401' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-615/.semver' 15:09:23 # -> Force: false 15:09:23 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-615/.semver [Pipeline] } 15:09:23 $ docker exec --env ******** --env ******** 58b98427ba4aaf1c6f93585551abd1f50eb91c1005d6a1fcfe1da2ab837fe71e ssh-agent -k 15:09:23 unset SSH_AUTH_SOCK; 15:09:23 unset SSH_AGENT_PID; 15:09:23 echo Agent pid 49 killed; 15:09:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:09:24 + git semver [Pipeline] } 15:09:24 $ docker stop --time=1 58b98427ba4aaf1c6f93585551abd1f50eb91c1005d6a1fcfe1da2ab837fe71e 15:09:25 $ docker rm -f 58b98427ba4aaf1c6f93585551abd1f50eb91c1005d6a1fcfe1da2ab837fe71e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 15:09:26 Stashed 43 file(s) [Pipeline] echo 15:09:26 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 15:09:26 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 15:09:42 Still waiting to schedule task 15:09:42 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3469’ 15:09:42 Still waiting to schedule task 15:09:42 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 15:11:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3470 in /w/workspace/dgexfoundry_device-sdk-go_PR-615 [Pipeline] { [Pipeline] ws 15:11:37 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 15:11:42 using credential edgex-jenkins-ssh 15:11:42 Cloning the remote Git repository 15:11:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:11:42 > git init /w/workspace/device-sdk-go/2 # timeout=10 15:11:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:11:42 > git --version # timeout=10 15:11:42 > git --version # 'git version 2.17.1' 15:11:42 using GIT_SSH to set credentials SSH Credentials for GitHub 15:11:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:11:44 Merging remotes/origin/master commit 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 into PR head commit 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 15:11:44 Merge succeeded, producing 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 15:11:44 Checking out Revision 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 (PR-615) 15:11:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:11:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:11:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:11:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:11:43 using GIT_SSH to set credentials SSH Credentials for GitHub 15:11:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/615/head:refs/remotes/origin/PR-615 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:11:44 > git config core.sparsecheckout # timeout=10 15:11:44 > git checkout -f 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 # timeout=10 15:11:44 > git remote # timeout=10 15:11:44 > git config --get remote.origin.url # timeout=10 15:11:44 using GIT_SSH to set credentials SSH Credentials for GitHub 15:11:44 > git merge 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 # timeout=10 15:11:44 > git rev-parse HEAD^{commit} # timeout=10 15:11:44 > git config core.sparsecheckout # timeout=10 15:11:44 > git checkout -f 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 # timeout=10 15:11:49 Commit message: "fix: improve device discovery flow and whitelist logic" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:11:50 ========================================================= 15:11:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 15:11:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:11: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 . 15:11:52 Sending build context to Docker daemon 3.51MB 15:11:52 Step 1/8 : ARG BASE=golang:1.15-alpine 15:11:52 Step 2/8 : FROM ${BASE} 15:11:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:11:52 b538f80385f9: Pulling fs layer 15:11:52 74f711af9a0d: Pulling fs layer 15:11:52 99f96fe45779: Pulling fs layer 15:11:52 8529a6b9a6be: Pulling fs layer 15:11:52 45590311c82a: Pulling fs layer 15:11:52 69ca0ff8b7b3: Pulling fs layer 15:11:52 209524e5b208: Pulling fs layer 15:11:52 8529a6b9a6be: Waiting 15:11:52 45590311c82a: Waiting 15:11:52 69ca0ff8b7b3: Waiting 15:11:52 209524e5b208: Waiting 15:11:52 99f96fe45779: Verifying Checksum 15:11:52 99f96fe45779: Download complete 15:11:52 74f711af9a0d: Download complete 15:11:52 45590311c82a: Verifying Checksum 15:11:52 45590311c82a: Download complete 15:11:53 69ca0ff8b7b3: Verifying Checksum 15:11:53 69ca0ff8b7b3: Download complete 15:11:53 b538f80385f9: Download complete 15:11:53 b538f80385f9: Pull complete 15:11:54 74f711af9a0d: Pull complete 15:11:54 99f96fe45779: Pull complete 15:11:55 209524e5b208: Verifying Checksum 15:11:55 209524e5b208: Download complete 15:11:56 8529a6b9a6be: Verifying Checksum 15:11:56 8529a6b9a6be: Download complete 15:12:07 8529a6b9a6be: Pull complete 15:12:07 45590311c82a: Pull complete 15:12:07 69ca0ff8b7b3: Pull complete 15:12:11 209524e5b208: Pull complete 15:12:11 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 15:12:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 15:12:11 ---> 5bddaf1c2fca 15:12:11 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:12:14 ---> Running in df8674c68256 15:12:14 Removing intermediate container df8674c68256 15:12:14 ---> 60ad72378a78 15:12:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:12:14 ---> Running in c5f071aa81bb 15:12:18 Removing intermediate container c5f071aa81bb 15:12:18 ---> daa38b98add2 15:12:18 Step 5/8 : RUN apk add --no-cache make git 15:12:18 ---> Running in d6e8fa0a7d08 15:12:18 Running on prd-centos7-docker-4c-2g-3471 in /w/workspace/dgexfoundry_device-sdk-go_PR-615 [Pipeline] { [Pipeline] ws 15:12:18 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 15:12:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:12:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:12:20 OK: 142 MiB in 39 packages 15:12:21 using credential edgex-jenkins-ssh 15:12:21 Cloning the remote Git repository 15:12:22 Removing intermediate container d6e8fa0a7d08 15:12:22 ---> 08a70baac745 15:12:22 Step 6/8 : WORKDIR /device-sdk-go 15:12:22 ---> Running in 9f40a6ef1583 15:12:22 Removing intermediate container 9f40a6ef1583 15:12:22 ---> 8c77def0af95 15:12:22 Step 7/8 : COPY . . 15:12:21 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:12:21 > git init /w/workspace/device-sdk-go/2 # timeout=10 15:12:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:12:21 > git --version # timeout=10 15:12:21 > git --version # 'git version 2.16.5' 15:12:21 using GIT_SSH to set credentials SSH Credentials for GitHub 15:12:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:12:22 Merging remotes/origin/master commit 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 into PR head commit 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 15:12:23 Merge succeeded, producing 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 15:12:23 Checking out Revision 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 (PR-615) 15:12:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:12:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:12:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:12:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:12:22 using GIT_SSH to set credentials SSH Credentials for GitHub 15:12:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/615/head:refs/remotes/origin/PR-615 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:12:22 > git config core.sparsecheckout # timeout=10 15:12:22 > git checkout -f 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 # timeout=10 15:12:23 > git remote # timeout=10 15:12:23 > git config --get remote.origin.url # timeout=10 15:12:23 using GIT_SSH to set credentials SSH Credentials for GitHub 15:12:23 > git merge 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 # timeout=10 15:12:23 > git rev-parse HEAD^{commit} # timeout=10 15:12:23 > git config core.sparsecheckout # timeout=10 15:12:23 > git checkout -f 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 # timeout=10 15:12:24 ---> f058dfc0b692 15:12:24 Step 8/8 : RUN go mod download 15:12:24 ---> Running in 6586469ddf45 15:12:26 Commit message: "fix: improve device discovery flow and whitelist logic" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:12:27 ========================================================= 15:12:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 15:12:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:12:28 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 15:12:28 Sending build context to Docker daemon 3.51MB 15:12:28 Step 1/8 : ARG BASE=golang:1.15-alpine 15:12:28 Step 2/8 : FROM ${BASE} 15:12:28 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 15:12:28 df20fa9351a1: Pulling fs layer 15:12:28 ed8968b2872e: Pulling fs layer 15:12:28 a92cc7c5fd73: Pulling fs layer 15:12:28 e871e8e8d7a9: Pulling fs layer 15:12:28 e73272ec9a57: Pulling fs layer 15:12:28 1e910a182e73: Pulling fs layer 15:12:28 4e634b169226: Pulling fs layer 15:12:28 e73272ec9a57: Waiting 15:12:28 4e634b169226: Waiting 15:12:28 1e910a182e73: Waiting 15:12:28 e871e8e8d7a9: Waiting 15:12:28 a92cc7c5fd73: Verifying Checksum 15:12:28 a92cc7c5fd73: Download complete 15:12:28 ed8968b2872e: Verifying Checksum 15:12:28 ed8968b2872e: Download complete 15:12:28 e73272ec9a57: Verifying Checksum 15:12:28 e73272ec9a57: Download complete 15:12:28 1e910a182e73: Verifying Checksum 15:12:28 1e910a182e73: Download complete 15:12:28 df20fa9351a1: Verifying Checksum 15:12:28 df20fa9351a1: Download complete 15:12:29 df20fa9351a1: Pull complete 15:12:29 ed8968b2872e: Pull complete 15:12:29 a92cc7c5fd73: Pull complete 15:12:30 4e634b169226: Verifying Checksum 15:12:30 4e634b169226: Download complete 15:12:31 e871e8e8d7a9: Verifying Checksum 15:12:31 e871e8e8d7a9: Download complete 15:12:37 e871e8e8d7a9: Pull complete 15:12:37 e73272ec9a57: Pull complete 15:12:37 1e910a182e73: Pull complete 15:12:42 4e634b169226: Pull complete 15:12:42 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 15:12:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 15:12:42 ---> f7629b54cfaa 15:12:42 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:12:42 ---> Running in 17f0d975fe4d 15:12:42 Removing intermediate container 17f0d975fe4d 15:12:42 ---> 0760861d2847 15:12:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:12:42 ---> Running in aafbe4802356 15:12:43 Removing intermediate container aafbe4802356 15:12:43 ---> 2deeb8d9c06c 15:12:43 Step 5/8 : RUN apk add --no-cache make git 15:12:43 ---> Running in fc1410991a65 15:12:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:12:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:12:45 OK: 166 MiB in 39 packages 15:12:46 Removing intermediate container fc1410991a65 15:12:46 ---> b3a3547198c1 15:12:46 Step 6/8 : WORKDIR /device-sdk-go 15:12:46 ---> Running in 861fb961693d 15:12:46 Removing intermediate container 861fb961693d 15:12:46 ---> 215eecfc5c24 15:12:46 Step 7/8 : COPY . . 15:12:46 Removing intermediate container 6586469ddf45 15:12:46 ---> 49736bf02692 15:12:46 Successfully built 49736bf02692 15:12:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:12:46 + docker inspect -f . ci-base-image-arm64 15:12:46 . [Pipeline] withDockerContainer 15:12:47 prd-ubuntu18.04-docker-arm64-4c-16g-3470 does not seem to be running inside a container 15:12:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:12:47 ---> 039d6f3a48a9 15:12:47 Step 8/8 : RUN go mod download 15:12:47 ---> Running in 9221fe187943 15:12:49 $ docker top 3108dab1a20605345fba1f390efccfc7d896e20910c68a89740cb33616f1c154 -eo pid,comm [Pipeline] { [Pipeline] sh 15:12:50 + go version 15:12:50 go version go1.15.2 linux/arm64 [Pipeline] } 15:12:50 $ docker stop --time=1 3108dab1a20605345fba1f390efccfc7d896e20910c68a89740cb33616f1c154 15:12:52 $ docker rm -f 3108dab1a20605345fba1f390efccfc7d896e20910c68a89740cb33616f1c154 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:12:54 + docker inspect -f . ci-base-image-arm64 15:12:54 . [Pipeline] withDockerContainer 15:12:54 prd-ubuntu18.04-docker-arm64-4c-16g-3470 does not seem to be running inside a container 15:12:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:12:56 $ docker top 95946ca2d719d5125c93909a3874254d6925a9e22c8162f15d902da39aa516a2 -eo pid,comm [Pipeline] { [Pipeline] sh 15:12:57 + make test 15:12:57 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:13:09 Removing intermediate container 9221fe187943 15:13:09 ---> 0bd7374dae0d 15:13:09 Successfully built 0bd7374dae0d 15:13:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:13:10 + docker inspect -f . ci-base-image-x86_64 15:13:10 . [Pipeline] withDockerContainer 15:13:10 prd-centos7-docker-4c-2g-3471 does not seem to be running inside a container 15:13:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:13:11 $ docker top 2543c1bee098dd2f81950b2948c88a51e176603e070293b93d13c9496aa46d05 -eo pid,comm [Pipeline] { [Pipeline] sh 15:13:11 + go version 15:13:11 go version go1.15.2 linux/amd64 [Pipeline] } 15:13:11 $ docker stop --time=1 2543c1bee098dd2f81950b2948c88a51e176603e070293b93d13c9496aa46d05 15:13:13 $ docker rm -f 2543c1bee098dd2f81950b2948c88a51e176603e070293b93d13c9496aa46d05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:13:13 + docker inspect -f . ci-base-image-x86_64 15:13:13 . [Pipeline] withDockerContainer 15:13:14 prd-centos7-docker-4c-2g-3471 does not seem to be running inside a container 15:13:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:13:14 $ docker top c3d23868cb9616d7c1ba94a6c2379e0e342ce6b250b8efa2bcb6e5eba52bbf52 -eo pid,comm [Pipeline] { [Pipeline] sh 15:13:15 + make test 15:13:15 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:13:19 ? github.com/edgexfoundry/device-sdk-go [no test files] 15:13:21 ? github.com/edgexfoundry/device-sdk-go [no test files] 15:13:36 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 15:13:36 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 15:13:36 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 15:13:36 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.060s coverage: 21.6% of statements 15:13:36 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.441s coverage: 97.1% of statements 15:13:58 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 15:13:58 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 15:13:58 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 15:13:58 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.175s coverage: 21.6% of statements 15:14:00 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.293s coverage: 97.1% of statements 15:14:09 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.057s coverage: 9.4% of statements 15:14:09 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.048s coverage: 21.9% of statements 15:14:09 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 15:14:09 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.208s coverage: 39.9% of statements 15:14:09 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 15:14:09 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.276s coverage: 65.4% of statements 15:14:09 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 15:14:09 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 15:14:09 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 15:14:09 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 15:14:09 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.068s coverage: 52.6% of statements 15:14:09 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 15:14:09 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.329s coverage: 68.9% of statements 15:14:09 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 15:14:09 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 15:14:09 GO111MODULE=on go vet ./... 15:14:15 gofmt -l . 15:14:15 [ "`gofmt -l .`" = "" ] 15:14:15 ./bin/test-attribution-txt.sh 15:14:15 ./bin/test-go-mod-tidy.sh [Pipeline] stash 15:14:16 Stashed 1 file(s) [Pipeline] } 15:14:16 $ docker stop --time=1 c3d23868cb9616d7c1ba94a6c2379e0e342ce6b250b8efa2bcb6e5eba52bbf52 15:14:18 $ docker rm -f c3d23868cb9616d7c1ba94a6c2379e0e342ce6b250b8efa2bcb6e5eba52bbf52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:14:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:14:21 + ls -al . 15:14:21 total 192 15:14:21 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 5 15:14 . 15:14:21 drwxrwxr-x. 4 jenkins jenkins 28 Oct 5 15:12 .. 15:14:21 drwxrwxr-x. 2 jenkins jenkins 64 Oct 5 15:12 bin 15:14:21 -rw-r--r--. 1 jenkins jenkins 111040 Oct 5 15:14 coverage.out 15:14:21 -rw-rw-r--. 1 jenkins jenkins 936 Oct 5 15:12 Dockerfile.build 15:14:21 -rw-rw-r--. 1 jenkins jenkins 140 Oct 5 15:12 .dockerignore 15:14:21 drwxrwxr-x. 4 jenkins jenkins 48 Oct 5 15:12 example 15:14:21 drwxrwxr-x. 8 jenkins jenkins 179 Oct 5 15:12 .git 15:14:21 drwxrwxr-x. 2 jenkins jenkins 60 Oct 5 15:12 .github 15:14:21 -rw-rw-r--. 1 jenkins jenkins 138 Oct 5 15:12 .gitignore 15:14:21 -rw-r--r--. 1 jenkins jenkins 517 Oct 5 15:14 go.mod 15:14:21 -rw-r--r--. 1 jenkins jenkins 13652 Oct 5 15:14 go.sum 15:14:21 drwxrwxr-x. 15 jenkins jenkins 211 Oct 5 15:12 internal 15:14:21 -rw-rw-r--. 1 jenkins jenkins 785 Oct 5 15:12 Jenkinsfile 15:14:21 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 5 15:12 LICENSE 15:14:21 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 5 15:12 Makefile 15:14:21 drwxrwxr-x. 4 jenkins jenkins 26 Oct 5 15:12 openapi 15:14:21 drwxrwxr-x. 5 jenkins jenkins 50 Oct 5 15:12 pkg 15:14:21 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 5 15:12 README.md 15:14:21 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 5 15:12 RELEASE-NOTES.txt 15:14:21 drwxrwxr-x. 3 jenkins jenkins 58 Oct 5 15:12 .semver 15:14:21 drwxrwxr-x. 4 jenkins jenkins 54 Oct 5 15:12 snap 15:14:21 -rw-rw-r--. 1 jenkins jenkins 5 Oct 5 15:09 VERSION 15:14:21 -rw-rw-r--. 1 jenkins jenkins 222 Oct 5 15:12 version.go [Pipeline] isUnix [Pipeline] sh 15:14:22 + 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=0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 --label arch=amd64 --label version=0.0.0 . 15:14:22 Sending build context to Docker daemon 3.622MB 15:14:22 Step 1/24 : ARG BASE=golang:1.15-alpine 15:14:22 Step 2/24 : FROM ${BASE} AS builder 15:14:22 ---> 0bd7374dae0d 15:14:22 Step 3/24 : ARG MAKE='make build' 15:14:22 ---> Running in 42a576b41573 15:14:22 Removing intermediate container 42a576b41573 15:14:22 ---> 4242247f14ef 15:14:22 Step 4/24 : WORKDIR /device-sdk-go 15:14:22 ---> Running in dc71335139a8 15:14:23 Removing intermediate container dc71335139a8 15:14:23 ---> e70433d57e6a 15:14:23 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:14:23 ---> Running in adf28c22d2f8 15:14:23 Removing intermediate container adf28c22d2f8 15:14:23 ---> 67c30c96df5a 15:14:23 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:14:23 ---> Running in ee621cce6d94 15:14:24 Removing intermediate container ee621cce6d94 15:14:24 ---> 30fdb23c82f2 15:14:24 Step 7/24 : RUN apk add --update --no-cache make git 15:14:24 ---> Running in e65242e058e4 15:14:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:14:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:14:25 OK: 166 MiB in 39 packages 15:14:26 Removing intermediate container e65242e058e4 15:14:26 ---> bec9ec732cae 15:14:26 Step 8/24 : COPY . . 15:14:27 ---> 328e68d6c6b5 15:14:27 Step 9/24 : RUN ${MAKE} 15:14:27 ---> Running in e93334995718 15:14:27 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:14:32 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.116s coverage: 9.4% of statements 15:14:32 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.131s coverage: 21.9% of statements 15:14:32 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 15:14:32 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.541s coverage: 39.9% of statements 15:14:32 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 15:14:32 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.736s coverage: 65.4% of statements 15:14:32 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 15:14:32 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 15:14:32 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 15:14:32 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 15:14:32 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.207s coverage: 52.6% of statements 15:14:32 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 15:14:32 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.630s coverage: 68.9% of statements 15:14:32 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 15:14:32 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 15:14:32 GO111MODULE=on go vet ./... 15:14:35 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 15:14:37 Removing intermediate container e93334995718 15:14:37 ---> d683e49c596c 15:14:37 Step 10/24 : FROM scratch 15:14:37 ---> 15:14:37 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:14:37 ---> Running in b3f008f3c496 15:14:37 Removing intermediate container b3f008f3c496 15:14:37 ---> be7e86405bbc 15:14:37 Step 12/24 : ENV APP_PORT=49990 15:14:37 ---> Running in 669a252b2b93 15:14:37 Removing intermediate container 669a252b2b93 15:14:37 ---> 5d016d3b4b6c 15:14:37 Step 13/24 : EXPOSE $APP_PORT 15:14:37 ---> Running in 347a0df2778e 15:14:37 Removing intermediate container 347a0df2778e 15:14:37 ---> 83a2fe5e9b8d 15:14:37 Step 14/24 : WORKDIR / 15:14:37 ---> Running in 92ac5097ca87 15:14:38 Removing intermediate container 92ac5097ca87 15:14:38 ---> e050fb48d8dd 15:14:38 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 15:14:38 ---> 298885d6ebe3 15:14:38 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 15:14:38 ---> 7e6590f3f260 15:14:38 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 15:14:39 ---> 58bfd1f1e8fc 15:14:39 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 15:14:39 ---> fb749feeec4e 15:14:39 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 15:14:39 ---> 39abdab0fc94 15:14:39 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 15:14:39 ---> Running in 4bb375f47a11 15:14:39 Removing intermediate container 4bb375f47a11 15:14:39 ---> 27c003896ee6 15:14:39 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:14:39 ---> Running in 892b25d659e4 15:14:39 Removing intermediate container 892b25d659e4 15:14:39 ---> 48a05f9f2e8b 15:14:39 Step 22/24 : LABEL arch=amd64 15:14:40 ---> Running in ffee4f940169 15:14:40 Removing intermediate container ffee4f940169 15:14:40 ---> ce4f90e624ab 15:14:40 Step 23/24 : LABEL git_sha=0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 15:14:40 ---> Running in 7d5b7a7cd3cc 15:14:40 Removing intermediate container 7d5b7a7cd3cc 15:14:40 ---> 91675a4f98ef 15:14:40 Step 24/24 : LABEL version=0.0.0 15:14:40 ---> Running in 66ba99e1d4f5 15:14:40 Removing intermediate container 66ba99e1d4f5 15:14:40 ---> f4eca6f7295b 15:14:40 [Warning] One or more build-args [ARCH] were not consumed 15:14:40 Successfully built f4eca6f7295b 15:14:40 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] } 15:14:59 gofmt -l . 15:14:59 [ "`gofmt -l .`" = "" ] 15:14:59 ./bin/test-attribution-txt.sh 15:15:00 ./bin/test-go-mod-tidy.sh [Pipeline] stash 15:15:00 Warning: overwriting stash ‘coverage-report’ 15:15:01 Stashed 1 file(s) [Pipeline] } 15:15:01 $ docker stop --time=1 95946ca2d719d5125c93909a3874254d6925a9e22c8162f15d902da39aa516a2 15:15:03 $ docker rm -f 95946ca2d719d5125c93909a3874254d6925a9e22c8162f15d902da39aa516a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:15:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:15:05 + ls -al . 15:15:05 total 232 15:15:05 drwxrwxr-x 11 jenkins jenkins 4096 Oct 5 15:15 . 15:15:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 15:11 .. 15:15:05 -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 15:11 .dockerignore 15:15:05 drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 15:11 .git 15:15:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 15:11 .github 15:15:05 -rw-rw-r-- 1 jenkins jenkins 138 Oct 5 15:11 .gitignore 15:15:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 15:11 .semver 15:15:05 -rw-rw-r-- 1 jenkins jenkins 936 Oct 5 15:11 Dockerfile.build 15:15:05 -rw-rw-r-- 1 jenkins jenkins 785 Oct 5 15:11 Jenkinsfile 15:15:05 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 5 15:11 LICENSE 15:15:05 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 5 15:11 Makefile 15:15:05 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 5 15:11 README.md 15:15:05 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 5 15:11 RELEASE-NOTES.txt 15:15:05 -rw-rw-r-- 1 jenkins jenkins 5 Oct 5 15:09 VERSION 15:15:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 15:11 bin 15:15:05 -rw-r--r-- 1 jenkins jenkins 111040 Oct 5 15:14 coverage.out 15:15:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 15:11 example 15:15:05 -rw-r--r-- 1 jenkins jenkins 517 Oct 5 15:15 go.mod 15:15:05 -rw-r--r-- 1 jenkins jenkins 13652 Oct 5 15:15 go.sum 15:15:05 drwxrwxr-x 15 jenkins jenkins 4096 Oct 5 15:11 internal 15:15:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 15:11 openapi 15:15:05 drwxrwxr-x 5 jenkins jenkins 4096 Oct 5 15:11 pkg 15:15:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 15:11 snap 15:15:05 -rw-rw-r-- 1 jenkins jenkins 222 Oct 5 15:11 version.go [Pipeline] isUnix [Pipeline] sh 15:15:05 + 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=0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 --label arch=arm64 --label version=0.0.0 . 15:15:06 Sending build context to Docker daemon 3.622MB 15:15:06 Step 1/24 : ARG BASE=golang:1.15-alpine 15:15:06 Step 2/24 : FROM ${BASE} AS builder 15:15:06 ---> 49736bf02692 15:15:06 Step 3/24 : ARG MAKE='make build' 15:15:06 ---> Running in 093a7b52507d 15:15:07 Removing intermediate container 093a7b52507d 15:15:07 ---> b9d93ead409a 15:15:07 Step 4/24 : WORKDIR /device-sdk-go 15:15:07 ---> Running in 2c6455154ef9 15:15:07 Removing intermediate container 2c6455154ef9 15:15:07 ---> 930e31e220b7 15:15:07 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:15:07 ---> Running in d4504412b445 15:15:08 Removing intermediate container d4504412b445 15:15:08 ---> c796fd98f73e 15:15:08 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:15:08 ---> Running in 2f1f7bf2baa8 15:15:11 Removing intermediate container 2f1f7bf2baa8 15:15:11 ---> 5e1e5fb529c7 15:15:11 Step 7/24 : RUN apk add --update --no-cache make git 15:15:11 ---> Running in 5d7882b7d348 15:15:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:15:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:15:13 OK: 142 MiB in 39 packages 15:15:14 Removing intermediate container 5d7882b7d348 15:15:14 ---> 21af02761010 15:15:14 Step 8/24 : COPY . . 15:15:16 ---> 5fa44736ec2c 15:15:16 Step 9/24 : RUN ${MAKE} 15:15:16 ---> Running in 83ee315d9579 15:15:18 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:15:45 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 15:15:45 Removing intermediate container 83ee315d9579 15:15:45 ---> ca52607a43d6 15:15:45 Step 10/24 : FROM scratch 15:15:45 ---> 15:15:45 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:15:45 ---> Running in 6605151ae4e0 15:15:45 Removing intermediate container 6605151ae4e0 15:15:45 ---> d633c16ef057 15:15:45 Step 12/24 : ENV APP_PORT=49990 15:15:45 ---> Running in c753de372d3a 15:15:45 Removing intermediate container c753de372d3a 15:15:45 ---> 2d6a1a7ffeeb 15:15:45 Step 13/24 : EXPOSE $APP_PORT 15:15:45 ---> Running in 74b89952353e 15:15:45 Removing intermediate container 74b89952353e 15:15:45 ---> 83dea5d128df 15:15:45 Step 14/24 : WORKDIR / 15:15:45 ---> Running in 04a5ada9ea8a 15:15:46 Removing intermediate container 04a5ada9ea8a 15:15:46 ---> 8884d39295e4 15:15:46 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 15:15:47 ---> 291335e4b98a 15:15:47 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 15:15:48 ---> d37e10c38e92 15:15:48 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 15:15:49 ---> d7ff5d21439b 15:15:49 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 15:15:50 ---> b9216ba4e882 15:15:50 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 15:15:50 ---> c1cc6a4ba798 15:15:50 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 15:15:50 ---> Running in b56c7e8b2de0 15:15:51 Removing intermediate container b56c7e8b2de0 15:15:51 ---> 5cb82cc74397 15:15:51 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:15:51 ---> Running in 9c99c0099c54 15:15:51 Removing intermediate container 9c99c0099c54 15:15:51 ---> afc0c1889d49 15:15:51 Step 22/24 : LABEL arch=arm64 15:15:51 ---> Running in 877d73c123a6 15:15:52 Removing intermediate container 877d73c123a6 15:15:52 ---> 60264c9daec0 15:15:52 Step 23/24 : LABEL git_sha=0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 15:15:52 ---> Running in a8c3f80a2b57 15:15:52 Removing intermediate container a8c3f80a2b57 15:15:52 ---> f6b7a54b4674 15:15:52 Step 24/24 : LABEL version=0.0.0 15:15:52 ---> Running in e1f9b849d389 15:15:53 Removing intermediate container e1f9b849d389 15:15:53 ---> 45dc1c1f72ba 15:15:53 [Warning] One or more build-args [ARCH] were not consumed 15:15:53 Successfully built 45dc1c1f72ba 15:15:53 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 15:15:54 provisioning config files... 15:15:54 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-615@tmp/config4500757012129845598tmp [Pipeline] { [Pipeline] sh 15:15:55 + set +x 15:15:55 + bash -s -- 15:15:55 + curl -s https://codecov.io/bash 15:15:55 15:15:55 _____ _ 15:15:55 / ____| | | 15:15:55 | | ___ __| | ___ ___ _____ __ 15:15:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:15:55 | |___| (_) | (_| | __/ (_| (_) \ V / 15:15:55 \_____\___/ \__,_|\___|\___\___/ \_/ 15:15:55 Bash-20200917-4e8f14b 15:15:55 15:15:55 15:15:55 ==> Jenkins CI detected. 15:15:55 project root: . 15:15:55 --> token set from env 15:15:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:15:55 ==> Running gcov in . (disable via -X gcov) 15:15:55 ==> Python coveragepy not found 15:15:55 ==> Searching for coverage reports in: 15:15:55 + . 15:15:55 -> Found 1 reports 15:15:55 ==> Detecting git/mercurial file structure 15:15:55 ==> Reading reports 15:15:55 + ./coverage.out bytes=111040 15:15:55 ==> Appending adjustments 15:15:55 https://docs.codecov.io/docs/fixing-reports 15:15:56 + Found adjustments 15:15:56 ==> Gzipping contents 15:15:56 ==> Uploading reports 15:15:56 url: https://codecov.io 15:15:56 query: branch=PR-615&commit=0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-615%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=615&job=&cmd_args= 15:15:56 -> Pinging Codecov 15:15:56 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-615&commit=0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-615%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=615&job=&cmd_args= 15:15:56 -> Uploading to 15:15:56 https://storage.googleapis.com/codecov/v4/raw/2020-10-05/7E55EF52A471D76F132DFD9A03CDDE97/0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9/293ca7b1-13b3-437a-b7d5-ce272deefd99.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201005%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201005T151556Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=31b505680df657d91b73747b2c60c7be21fc3fc6e8986e697509338d6cb3bacd 15:15:56 % Total % Received % Xferd Average Speed Time Time Time Current 15:15:56 Dload Upload Total Spent Left Speed 15:15:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 18326 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18326 0 0 100 18326 0 39714 --:--:-- --:--:-- --:--:-- 39666 15:15:57 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 [Pipeline] } 15:15:57 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 15:15:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:16:00 ---> package-listing.sh 15:16:00 ++ facter osfamily 15:16:00 ++ tr '[:upper:]' '[:lower:]' 15:16:00 + OS_FAMILY=redhat 15:16:00 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-615 15:16:00 + START_PACKAGES=/tmp/packages_start.txt 15:16:00 + END_PACKAGES=/tmp/packages_end.txt 15:16:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:16:00 + PACKAGES=/tmp/packages_start.txt 15:16:00 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-615 ']' 15:16:00 + PACKAGES=/tmp/packages_end.txt 15:16:00 + case "${OS_FAMILY}" in 15:16:00 + rpm -qa 15:16:00 + sort 15:16:04 + '[' -f /tmp/packages_start.txt ']' 15:16:04 + '[' -f /tmp/packages_end.txt ']' 15:16:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:16:04 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-615 ']' 15:16:04 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-615/archives/ 15:16:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-615/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:16:04 provisioning config files... 15:16:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-615@tmp/config657017319038585384tmp [Pipeline] { [Pipeline] echo 15:16:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:16:05 ---> create-netrc.sh [Pipeline] } 15:16:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 15:16:05 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 15:16:05 ---> python-tools-install.sh 15:16:05 Generating Requirements File 15:17:27 Python 3.6.8 15:17:27 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 15:17:27 aiohttp==3.6.2 15:17:27 appdirs==1.4.3 15:17:27 argcomplete==1.12.1 15:17:27 aspy.yaml==1.3.0 15:17:27 async-timeout==3.0.1 15:17:27 attrs==19.3.0 15:17:27 Babel==2.8.0 15:17:27 beautifulsoup4==4.8.2 15:17:27 boto3==1.11.6 15:17:27 botocore==1.14.6 15:17:27 bs4==0.0.1 15:17:27 cachetools==4.1.1 15:17:27 certifi==2019.11.28 15:17:27 cffi==1.14.3 15:17:27 cfgv==2.0.1 15:17:27 chardet==3.0.4 15:17:27 click==7.1 15:17:27 cliff==3.4.0 15:17:27 cmd2==1.3.11 15:17:27 colorama==0.4.3 15:17:27 cryptography==3.1.1 15:17:27 debtcollector==2.2.0 15:17:27 decorator==4.4.2 15:17:27 defusedxml==0.6.0 15:17:27 Deprecated==1.2.7 15:17:27 distlib==0.3.1 15:17:27 distro==1.2.0 15:17:27 dnspython==1.16.0 15:17:27 docker==4.2.0 15:17:27 docutils==0.15.2 15:17:27 dogpile.cache==1.0.2 15:17:27 email-validator==1.0.5 15:17:27 filelock==3.0.12 15:17:27 future==0.18.2 15:17:27 google-auth==1.22.0 15:17:27 httplib2==0.17.0 15:17:27 identify==1.4.11 15:17:27 idna==2.9 15:17:27 idna-ssl==1.1.0 15:17:27 importlib-metadata==1.7.0 15:17:27 importlib-resources==1.5.0 15:17:27 iso8601==0.1.13 15:17:27 Jinja2==2.11.1 15:17:27 jmespath==0.10.0 15:17:27 jsonpatch==1.26 15:17:27 jsonpointer==2.0 15:17:27 jsonschema==3.2.0 15:17:27 keystoneauth1==4.2.1 15:17:27 kubernetes==11.0.0 15:17:27 lftools==0.34.2 15:17:27 lxml==4.5.0 15:17:27 MarkupSafe==0.23 15:17:27 msgpack==1.0.0 15:17:27 multi-key-dict==2.0.3 15:17:27 multidict==4.7.6 15:17:27 munch==2.5.0 15:17:27 netaddr==0.8.0 15:17:27 netifaces==0.10.9 15:17:27 niet==1.4.2 15:17:27 nodeenv==1.3.5 15:17:27 oauth2client==4.1.3 15:17:27 oauthlib==3.1.0 15:17:27 openstacksdk==0.50.0 15:17:27 os-client-config==2.1.0 15:17:27 os-service-types==1.7.0 15:17:27 osc-lib==2.2.1 15:17:27 oslo.config==8.3.2 15:17:27 oslo.context==3.1.1 15:17:27 oslo.i18n==5.0.1 15:17:27 oslo.log==4.4.0 15:17:27 oslo.serialization==4.0.1 15:17:27 oslo.utils==4.6.0 15:17:27 packaging==20.4 15:17:27 pbr==5.4.4 15:17:27 pluggy==0.13.1 15:17:27 prettytable==0.7.2 15:17:27 py==1.9.0 15:17:27 pyasn1==0.4.8 15:17:27 pyasn1-modules==0.2.8 15:17:27 pycparser==2.20 15:17:27 pygerrit2==2.0.10 15:17:27 PyGithub==1.46 15:17:27 pyinotify==0.9.6 15:17:27 PyJWT==1.7.1 15:17:27 pyparsing==2.4.7 15:17:27 pyperclip==1.8.0 15:17:27 pyroute2==0.4.13 15:17:27 pyrsistent==0.15.7 15:17:27 PySocks==1.6.8 15:17:27 python-cinderclient==7.2.0 15:17:27 python-dateutil==2.8.1 15:17:27 python-heatclient==2.2.1 15:17:27 python-jenkins==1.7.0 15:17:27 python-keystoneclient==4.1.1 15:17:27 python-magnumclient==3.2.1 15:17:27 python-novaclient==17.2.1 15:17:27 python-openstackclient==5.4.0 15:17:27 python-swiftclient==3.10.1 15:17:27 pytz==2020.1 15:17:27 PyYAML==5.3 15:17:27 requests==2.23.0 15:17:27 requests-oauthlib==1.3.0 15:17:27 requestsexceptions==1.4.0 15:17:27 rfc3986==1.4.0 15:17:27 rpm==4.11.3 15:17:27 rsa==4.0 15:17:27 ruamel.yaml==0.16.10 15:17:27 ruamel.yaml.clib==0.2.0 15:17:27 s3transfer==0.3.3 15:17:27 shade==1.27.2 15:17:27 simplejson==3.17.2 15:17:27 six==1.14.0 15:17:27 soupsieve==2.0 15:17:27 stevedore==3.2.2 15:17:27 tabulate==0.8.6 15:17:27 toml==0.10.0 15:17:27 tox==3.20.0 15:17:27 tqdm==4.43.0 15:17:27 typing-extensions==3.7.4.3 15:17:27 urllib3==1.25.8 15:17:27 virtualenv==20.0.33 15:17:27 wcwidth==0.2.5 15:17:27 websocket-client==0.57.0 15:17:27 wrapt==1.12.1 15:17:27 xdg==3.0.2 15:17:27 xmltodict==0.12.0 15:17:27 yarl==1.6.0 15:17:27 yq==2.11.1 15:17:27 zipp==3.3.0 15:17:27 Cache entry deserialization failed, entry ignored 15:17:27 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 15:17:27 Python 2.7.5 15:17:27 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 15:17:27 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 15:17:27 ansible==2.9.7 15:17:27 Babel==0.9.6 15:17:27 backports.ssl-match-hostname==3.5.0.1 15:17:27 beautifulsoup4==4.4.1 15:17:27 bodhi==2.11.0 15:17:27 bodhi-client==2.11.0 15:17:27 CCColUtils==1.4 15:17:27 cffi==1.6.0 15:17:27 chardet==2.2.1 15:17:27 click==6.7 15:17:27 cloud-init==18.5 15:17:27 configobj==4.7.2 15:17:27 cryptography==1.7.2 15:17:27 decorator==3.4.0 15:17:27 distro==1.2.0 15:17:27 enum34==1.0.4 15:17:27 fedpkg==1.38 15:17:27 futures==3.1.1 15:17:27 gitdb==0.6.4 15:17:27 GitPython==1.0.1 15:17:27 html5lib==0.999 15:17:27 httplib2==0.9.2 15:17:27 idna==2.4 15:17:27 iniparse==0.4 15:17:27 ipaddress==1.0.16 15:17:27 IPy==0.75 15:17:27 javapackages==1.0.0 15:17:27 Jinja2==2.7.2 15:17:27 jmespath==0.9.4 15:17:27 jsonpatch==1.2 15:17:27 jsonpointer==1.9 15:17:27 kerberos==1.1 15:17:27 kitchen==1.1.1 15:17:27 langtable==0.0.31 15:17:27 lockfile==0.9.1 15:17:27 lxml==3.2.1 15:17:27 MarkupSafe==0.11 15:17:27 munch==2.0.2 15:17:27 offtrac==0.1.0 15:17:27 openidc-client==0.6.0 15:17:27 packagedb-cli==2.14.1 15:17:27 paramiko==2.1.1 15:17:27 perf==0.1 15:17:27 ply==3.4 15:17:27 policycoreutils-default-encoding==0.1 15:17:27 prettytable==0.7.2 15:17:27 pyasn1==0.1.9 15:17:27 pycparser==2.14 15:17:27 pycurl==7.19.0 15:17:27 pygobject==3.22.0 15:17:27 pygpgme==0.3 15:17:27 pyliblzma==0.5.3 15:17:27 pyOpenSSL==0.13.1 15:17:27 pyparsing==1.5.6 15:17:27 pyserial==2.6 15:17:27 python-augeas==0.5.0 15:17:27 python-bugzilla==2.3.0 15:17:27 python-dateutil==1.5 15:17:27 python-fedora==0.10.0 15:17:27 python-linux-procfs==0.4.9 15:17:27 python-yubico==1.2.3 15:17:27 pyudev==0.15 15:17:27 pyusb==1.0.0b1 15:17:27 pyxattr==0.5.1 15:17:27 PyYAML==3.10 15:17:27 requests==2.6.0 15:17:27 requests-kerberos==0.7.0 15:17:27 rpkg==1.60 15:17:27 schedutils==0.4 15:17:27 seobject==0.1 15:17:27 sepolicy==1.1 15:17:27 six==1.9.0 15:17:27 smmap==0.9.0 15:17:27 urlgrabber==3.10 15:17:27 urllib3==1.10.2 15:17:27 virtualenv==15.1.0 15:17:27 yum-langpacks==0.4.2 15:17:27 yum-metadata-parser==1.1.4 [Pipeline] echo 15:17:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:17:27 ---> sudo-logs.sh 15:17:27 Archiving 'sudo' log.. [Pipeline] echo 15:17:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:17:28 ---> job-cost.sh 15:17:28 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-FbYw 15:17:38 Cache entry deserialization failed, entry ignored 15:17:38 Cache entry deserialization failed, entry ignored 15:17:38 Cache entry deserialization failed, entry ignored 15:17:38 Cache entry deserialization failed, entry ignored 15:17:40 Cache entry deserialization failed, entry ignored 15:17:40 Cache entry deserialization failed, entry ignored 15:17:40 Cache entry deserialization failed, entry ignored 15:17:40 Cache entry deserialization failed, entry ignored 15:17:40 Cache entry deserialization failed, entry ignored 15:17:40 Cache entry deserialization failed, entry ignored 15:17:40 Cache entry deserialization failed, entry ignored 15:17:40 Cache entry deserialization failed, entry ignored 15:17:43 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 15:18:10 lf-activate-venv(): INFO: Adding /tmp/venv-FbYw/bin to PATH 15:18:10 INFO: No Stack... 15:18:10 INFO: Retrieving Pricing Info for: v1-standard-2 15:18:12 INFO: Archiving Costs [Pipeline] echo 15:18:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:18:13 ---> logs-deploy.sh 15:18:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-615/2 15:18:13 INFO: archiving workspace using pattern(s): 15:18:14 Archives upload complete. 15:18:15 INFO: archiving logs to Nexus