hahattan commented: recheck 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 92d9b9363a8ebd500e3f02f4518af66d5213e1c0+833c05b782f270c396ee40879762f076aaf9331e (79d27107eba305d04aa9d6d0cebbc30b909b25bb) 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, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [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: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-3900 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [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-605 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > 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/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 92d9b9363a8ebd500e3f02f4518af66d5213e1c0 Merge succeeded, producing 92d9b9363a8ebd500e3f02f4518af66d5213e1c0 Checking out Revision 92d9b9363a8ebd500e3f02f4518af66d5213e1c0 (PR-605) > git config core.sparsecheckout # timeout=10 > git checkout -f 92d9b9363a8ebd500e3f02f4518af66d5213e1c0 # 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 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 92d9b9363a8ebd500e3f02f4518af66d5213e1c0 # timeout=10 Commit message: "feat: implement v2 callback api" > git rev-list --no-walk 92d9b9363a8ebd500e3f02f4518af66d5213e1c0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:13:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:13:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:13:54 ========================================================= 05:13:54 EdgeX Global Pipelines Version Info 05:13:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:13:56 ------------------- 05:13:56 stable info: 05:13:56 ------------------- 05:13:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:13:56 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 05:13:56 Message: update stable to v1.0.131 05:13:57 ------------------- 05:13:57 experimental info: 05:13:57 ------------------- 05:13:57 Commited By: **** collab-it+edgex@linuxfoundation.org 05:13:57 Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a 05:13:57 Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 05:13:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:13:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:13:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:13:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:13:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:13:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:13:58 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:13:58 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:13:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:13:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:13:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:13:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:13:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:13:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:13:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:13:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:13:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:13:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:13:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:13:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:13:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:13:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:13:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:13:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:13:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:14:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-605 [Pipeline] echo 05:14:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-605 [Pipeline] echo 05:14:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-605 [Pipeline] echo 05:14:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 92d9b9363a8ebd500e3f02f4518af66d5213e1c0 [Pipeline] echo 05:14:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 92d9b93 [Pipeline] echo 05:14:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:14:01 + git log --format=format:%s -1 92d9b9363a8ebd500e3f02f4518af66d5213e1c0 [Pipeline] echo 05:14:01 GIT_COMMIT: 92d9b9363a8ebd500e3f02f4518af66d5213e1c0, Commit Message: feat: implement v2 callback api [Pipeline] echo 05:14:01 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:14:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:14:02 05:14:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:14:02 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:14:02 latest: Pulling from edgex-devops/git-semver 05:14:02 31603596830f: Pulling fs layer 05:14:02 2a8b12db71e7: Pulling fs layer 05:14:02 6ca5941a6612: Pulling fs layer 05:14:02 ecc8261a40a4: Pulling fs layer 05:14:02 ecc8261a40a4: Waiting 05:14:02 2a8b12db71e7: Verifying Checksum 05:14:02 2a8b12db71e7: Download complete 05:14:03 31603596830f: Verifying Checksum 05:14:03 31603596830f: Download complete 05:14:03 ecc8261a40a4: Verifying Checksum 05:14:03 ecc8261a40a4: Download complete 05:14:03 6ca5941a6612: Verifying Checksum 05:14:03 6ca5941a6612: Download complete 05:14:03 31603596830f: Pull complete 05:14:03 2a8b12db71e7: Pull complete 05:14:04 6ca5941a6612: Pull complete 05:14:04 ecc8261a40a4: Pull complete 05:14:04 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:14:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:14:04 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:14:04 prd-centos7-docker-4c-2g-3900 does not seem to be running inside a container 05:14:04 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-605 -v /w/workspace/dgexfoundry_device-sdk-go_PR-605:/w/workspace/dgexfoundry_device-sdk-go_PR-605:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-605@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:14:07 $ docker top bc772a78bc8495c01e1ad7a3f83cd6e23f0595fa255b5279bea93fe43fded8f7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:14:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:14:07 [ssh-agent] Looking for ssh-agent implementation... 05:14:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:14:07 $ docker exec bc772a78bc8495c01e1ad7a3f83cd6e23f0595fa255b5279bea93fe43fded8f7 ssh-agent 05:14:08 SSH_AUTH_SOCK=/tmp/ssh-VYx1PGq5wcVv/agent.12 05:14:08 SSH_AGENT_PID=17 05:14:08 Running ssh-add (command line suppressed) 05:14:08 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_6206702846064329126.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_6206702846064329126.key) 05:14:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:14:08 + git describe --exact-match --tags HEAD 05:14:08 fatal: no tag exactly matches '92d9b9363a8ebd500e3f02f4518af66d5213e1c0' [Pipeline] } 05:14:08 $ docker exec --env ******** --env ******** bc772a78bc8495c01e1ad7a3f83cd6e23f0595fa255b5279bea93fe43fded8f7 ssh-agent -k 05:14:08 unset SSH_AUTH_SOCK; 05:14:08 unset SSH_AGENT_PID; 05:14:08 echo Agent pid 17 killed; 05:14:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:14:08 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:14:08 This usually means this commit has not been tagged. [Pipeline] sshagent 05:14:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:14:08 [ssh-agent] Looking for ssh-agent implementation... 05:14:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:14:09 $ docker exec bc772a78bc8495c01e1ad7a3f83cd6e23f0595fa255b5279bea93fe43fded8f7 ssh-agent 05:14:09 SSH_AUTH_SOCK=/tmp/ssh-yM8GSm5CdqhI/agent.46 05:14:09 SSH_AGENT_PID=51 05:14:09 Running ssh-add (command line suppressed) 05:14:09 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_7044202606913220536.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_7044202606913220536.key) 05:14:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:14:09 + git semver init 05:14:09 # -> Open(): unable to determine branch for HEAD 05:14:09 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.git 05:14:09 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-605 05:14:09 # $SEMVER_REMOTE_NAME = origin 05:14:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:14:09 # $SEMVER_USER_NAME = edgex-jenkins 05:14:09 # $SEMVER_BRANCH = PR-605 05:14:09 # $SEMVER_TEMP = /tmp/semver-077474807 05:14:09 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:14:10 # '/tmp/semver-077474807' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver' 05:14:10 # -> Force: false 05:14:10 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver [Pipeline] } 05:14:10 $ docker exec --env ******** --env ******** bc772a78bc8495c01e1ad7a3f83cd6e23f0595fa255b5279bea93fe43fded8f7 ssh-agent -k 05:14:10 unset SSH_AUTH_SOCK; 05:14:10 unset SSH_AGENT_PID; 05:14:10 echo Agent pid 51 killed; 05:14:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:14:11 + git semver [Pipeline] } 05:14:11 $ docker stop --time=1 bc772a78bc8495c01e1ad7a3f83cd6e23f0595fa255b5279bea93fe43fded8f7 05:14:12 $ docker rm -f bc772a78bc8495c01e1ad7a3f83cd6e23f0595fa255b5279bea93fe43fded8f7 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:14:13 Stashed 46 file(s) [Pipeline] echo 05:14:13 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 05:14:13 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 05:14:28 Still waiting to schedule task 05:14:28 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:14:28 Still waiting to schedule task 05:14:28 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:16:23 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3901 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [Pipeline] { [Pipeline] ws 05:16:23 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 05:16:28 using credential edgex-jenkins-ssh 05:16:28 Cloning the remote Git repository 05:16:28 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:16:28 > git init /w/workspace/device-sdk-go/8 # timeout=10 05:16:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:16:28 > git --version # timeout=10 05:16:28 > git --version # 'git version 2.17.1' 05:16:28 using GIT_SSH to set credentials SSH Credentials for GitHub 05:16:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:16:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:16:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:16:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:16:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:16:29 using GIT_SSH to set credentials SSH Credentials for GitHub 05:16:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:16:30 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 92d9b9363a8ebd500e3f02f4518af66d5213e1c0 05:16:30 Merge succeeded, producing 92d9b9363a8ebd500e3f02f4518af66d5213e1c0 05:16:30 Checking out Revision 92d9b9363a8ebd500e3f02f4518af66d5213e1c0 (PR-605) 05:16:30 > git config core.sparsecheckout # timeout=10 05:16:30 > git checkout -f 92d9b9363a8ebd500e3f02f4518af66d5213e1c0 # timeout=10 05:16:30 > git remote # timeout=10 05:16:30 > git config --get remote.origin.url # timeout=10 05:16:30 using GIT_SSH to set credentials SSH Credentials for GitHub 05:16:30 > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 05:16:30 > git rev-parse HEAD^{commit} # timeout=10 05:16:30 > git config core.sparsecheckout # timeout=10 05:16:30 > git checkout -f 92d9b9363a8ebd500e3f02f4518af66d5213e1c0 # timeout=10 05:16:35 Commit message: "feat: implement v2 callback api" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:16:37 ========================================================= 05:16:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:16:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:16:38 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 05:16:39 Sending build context to Docker daemon 3.521MB 05:16:39 Step 1/8 : ARG BASE=golang:1.15-alpine 05:16:39 Step 2/8 : FROM ${BASE} 05:16:39 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:16:39 b538f80385f9: Pulling fs layer 05:16:39 74f711af9a0d: Pulling fs layer 05:16:39 99f96fe45779: Pulling fs layer 05:16:39 8529a6b9a6be: Pulling fs layer 05:16:39 45590311c82a: Pulling fs layer 05:16:39 69ca0ff8b7b3: Pulling fs layer 05:16:39 209524e5b208: Pulling fs layer 05:16:39 45590311c82a: Waiting 05:16:39 69ca0ff8b7b3: Waiting 05:16:39 209524e5b208: Waiting 05:16:39 8529a6b9a6be: Waiting 05:16:39 99f96fe45779: Verifying Checksum 05:16:39 99f96fe45779: Download complete 05:16:39 74f711af9a0d: Verifying Checksum 05:16:39 74f711af9a0d: Download complete 05:16:39 45590311c82a: Verifying Checksum 05:16:39 45590311c82a: Download complete 05:16:39 69ca0ff8b7b3: Verifying Checksum 05:16:39 69ca0ff8b7b3: Download complete 05:16:39 b538f80385f9: Verifying Checksum 05:16:39 b538f80385f9: Download complete 05:16:40 b538f80385f9: Pull complete 05:16:41 74f711af9a0d: Pull complete 05:16:41 99f96fe45779: Pull complete 05:16:42 209524e5b208: Verifying Checksum 05:16:42 209524e5b208: Download complete 05:16:43 8529a6b9a6be: Verifying Checksum 05:16:43 8529a6b9a6be: Download complete 05:16:53 8529a6b9a6be: Pull complete 05:16:54 45590311c82a: Pull complete 05:16:54 69ca0ff8b7b3: Pull complete 05:16:58 209524e5b208: Pull complete 05:16:58 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 05:16:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:16:58 ---> 5bddaf1c2fca 05:16:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:17:00 ---> Running in 7e1aa57e9835 05:17:01 Running on prd-centos7-docker-4c-2g-3902 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [Pipeline] { [Pipeline] ws 05:17:01 Running in /w/workspace/device-sdk-go/8 [Pipeline] { 05:17:01 Removing intermediate container 7e1aa57e9835 05:17:01 ---> 1f59819ed510 05:17:01 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:17:01 ---> Running in d9b4e38dcbc5 [Pipeline] checkout 05:17:04 Removing intermediate container d9b4e38dcbc5 05:17:04 ---> 5dc03a975361 05:17:04 Step 5/8 : RUN apk add --no-cache make git 05:17:04 using credential edgex-jenkins-ssh 05:17:04 Cloning the remote Git repository 05:17:04 ---> Running in 5867bc692814 05:17:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:17:04 > git init /w/workspace/device-sdk-go/8 # timeout=10 05:17:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:17:04 > git --version # timeout=10 05:17:04 > git --version # 'git version 2.16.5' 05:17:04 using GIT_SSH to set credentials SSH Credentials for GitHub 05:17:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:17:05 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 92d9b9363a8ebd500e3f02f4518af66d5213e1c0 05:17:05 Merge succeeded, producing 92d9b9363a8ebd500e3f02f4518af66d5213e1c0 05:17:05 Checking out Revision 92d9b9363a8ebd500e3f02f4518af66d5213e1c0 (PR-605) 05:17:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:17:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:17:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:17:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:17:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:17:05 using GIT_SSH to set credentials SSH Credentials for GitHub 05:17:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:17:05 > git config core.sparsecheckout # timeout=10 05:17:05 > git checkout -f 92d9b9363a8ebd500e3f02f4518af66d5213e1c0 # timeout=10 05:17:05 > git remote # timeout=10 05:17:05 > git config --get remote.origin.url # timeout=10 05:17:05 using GIT_SSH to set credentials SSH Credentials for GitHub 05:17:05 > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 05:17:05 > git rev-parse HEAD^{commit} # timeout=10 05:17:05 > git config core.sparsecheckout # timeout=10 05:17:05 > git checkout -f 92d9b9363a8ebd500e3f02f4518af66d5213e1c0 # timeout=10 05:17:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:17:06 OK: 142 MiB in 39 packages 05:17:08 Removing intermediate container 5867bc692814 05:17:08 ---> 62a471fe21e8 05:17:08 Step 6/8 : WORKDIR /device-sdk-go 05:17:08 ---> Running in 96ecd99ac72a 05:17:08 Removing intermediate container 96ecd99ac72a 05:17:08 ---> ad66e9c6acb4 05:17:08 Step 7/8 : COPY . . 05:17:09 Commit message: "feat: implement v2 callback api" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:17:10 ========================================================= 05:17:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:17:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:17:10 ---> fde974c63b9b 05:17:10 Step 8/8 : RUN go mod download 05:17:10 ---> Running in 9e9b81edafc8 05:17:10 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 05:17:11 Sending build context to Docker daemon 3.524MB 05:17:11 Step 1/8 : ARG BASE=golang:1.15-alpine 05:17:11 Step 2/8 : FROM ${BASE} 05:17:11 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:17:11 df20fa9351a1: Pulling fs layer 05:17:11 ed8968b2872e: Pulling fs layer 05:17:11 a92cc7c5fd73: Pulling fs layer 05:17:11 e871e8e8d7a9: Pulling fs layer 05:17:11 e73272ec9a57: Pulling fs layer 05:17:11 1e910a182e73: Pulling fs layer 05:17:11 4e634b169226: Pulling fs layer 05:17:11 e73272ec9a57: Waiting 05:17:11 1e910a182e73: Waiting 05:17:11 4e634b169226: Waiting 05:17:11 e871e8e8d7a9: Waiting 05:17:11 a92cc7c5fd73: Verifying Checksum 05:17:11 a92cc7c5fd73: Download complete 05:17:11 ed8968b2872e: Download complete 05:17:11 e73272ec9a57: Verifying Checksum 05:17:11 e73272ec9a57: Download complete 05:17:11 1e910a182e73: Verifying Checksum 05:17:11 1e910a182e73: Download complete 05:17:11 df20fa9351a1: Verifying Checksum 05:17:11 df20fa9351a1: Download complete 05:17:12 df20fa9351a1: Pull complete 05:17:12 ed8968b2872e: Pull complete 05:17:12 a92cc7c5fd73: Pull complete 05:17:13 4e634b169226: Verifying Checksum 05:17:13 4e634b169226: Download complete 05:17:14 e871e8e8d7a9: Verifying Checksum 05:17:14 e871e8e8d7a9: Download complete 05:17:19 e871e8e8d7a9: Pull complete 05:17:19 e73272ec9a57: Pull complete 05:17:19 1e910a182e73: Pull complete 05:17:24 4e634b169226: Pull complete 05:17:24 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 05:17:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:17:24 ---> f7629b54cfaa 05:17:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:17:24 ---> Running in ad9bb1466e87 05:17:24 Removing intermediate container ad9bb1466e87 05:17:24 ---> 97a40ed3142f 05:17:24 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:17:24 ---> Running in 88607674f1d9 05:17:25 Removing intermediate container 88607674f1d9 05:17:25 ---> 04bad9f02407 05:17:25 Step 5/8 : RUN apk add --no-cache make git 05:17:25 ---> Running in 9156eb6b3aec 05:17:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:17:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:17:27 OK: 166 MiB in 39 packages 05:17:27 Removing intermediate container 9156eb6b3aec 05:17:27 ---> 0d0438eb778e 05:17:27 Step 6/8 : WORKDIR /device-sdk-go 05:17:28 ---> Running in b20e67e53bb4 05:17:28 Removing intermediate container b20e67e53bb4 05:17:28 ---> f48dc4793d0f 05:17:28 Step 7/8 : COPY . . 05:17:29 ---> 483a60e5eaa1 05:17:29 Step 8/8 : RUN go mod download 05:17:29 ---> Running in dcdb21d2a294 05:17:32 Removing intermediate container 9e9b81edafc8 05:17:32 ---> 9197579210a9 05:17:32 Successfully built 9197579210a9 05:17:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:17:33 + docker inspect -f . ci-base-image-arm64 05:17:33 . [Pipeline] withDockerContainer 05:17:33 prd-ubuntu18.04-docker-arm64-4c-16g-3901 does not seem to be running inside a container 05:17:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 05:17:35 $ docker top 0e8e8fcebe9017b7558ede4892e543ceb1355b0b1b62e6ae94390e146fd933f1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:36 + go version 05:17:36 go version go1.15.2 linux/arm64 [Pipeline] } 05:17:36 $ docker stop --time=1 0e8e8fcebe9017b7558ede4892e543ceb1355b0b1b62e6ae94390e146fd933f1 05:17:38 $ docker rm -f 0e8e8fcebe9017b7558ede4892e543ceb1355b0b1b62e6ae94390e146fd933f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:17:39 + docker inspect -f . ci-base-image-arm64 05:17:39 . [Pipeline] withDockerContainer 05:17:40 prd-ubuntu18.04-docker-arm64-4c-16g-3901 does not seem to be running inside a container 05:17:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 05:17:42 $ docker top eac6231a6c1bdbabc8fcfb548c1cfcf22658b4cd5b84d776a291d5e88d82c7ea -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:43 + make test 05:17:43 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:17:47 Removing intermediate container dcdb21d2a294 05:17:47 ---> 40ecbdb3f14e 05:17:47 Successfully built 40ecbdb3f14e 05:17:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:17:48 + docker inspect -f . ci-base-image-x86_64 05:17:48 . [Pipeline] withDockerContainer 05:17:48 prd-centos7-docker-4c-2g-3902 does not seem to be running inside a container 05:17:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 ******** -e ******** ci-base-image-x86_64 cat 05:17:48 $ docker top 213aa62d0c018aaae5007c06fde1b3fd850a81a557a8c5e9ef6dc0d806d5f3e1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:49 + go version 05:17:49 go version go1.15.2 linux/amd64 [Pipeline] } 05:17:49 $ docker stop --time=1 213aa62d0c018aaae5007c06fde1b3fd850a81a557a8c5e9ef6dc0d806d5f3e1 05:17:50 $ docker rm -f 213aa62d0c018aaae5007c06fde1b3fd850a81a557a8c5e9ef6dc0d806d5f3e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:17:51 + docker inspect -f . ci-base-image-x86_64 05:17:51 . [Pipeline] withDockerContainer 05:17:51 prd-centos7-docker-4c-2g-3902 does not seem to be running inside a container 05:17:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 ******** -e ******** ci-base-image-x86_64 cat 05:17:52 $ docker top 9c45d57014f46b254f7c4c8cc47c603a5f99a91f8e2e6b404e7ccb5d3c55d626 -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:52 + make test 05:17:52 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:17:59 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:18:05 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:18:14 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:18:14 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:18:14 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:18:14 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.059s coverage: 21.6% of statements 05:18:14 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.421s coverage: 97.1% of statements 05:18:44 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:18:44 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:18:44 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:18:44 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.149s coverage: 21.6% of statements 05:18:45 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.151s coverage: 97.1% of statements 05:18:46 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.071s coverage: 9.4% of statements 05:18:46 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.052s coverage: 21.9% of statements 05:18:46 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:18:46 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.202s coverage: 42.5% of statements 05:18:46 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:18:46 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.281s coverage: 65.4% of statements 05:18:46 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:18:46 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:18:46 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:18:46 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 05:18:46 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements 05:18:46 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 05:18:46 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 05:18:46 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.809s coverage: 68.9% of statements 05:18:46 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:18:46 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:18:46 GO111MODULE=on go vet ./... 05:18:52 gofmt -l . 05:18:52 [ "`gofmt -l .`" = "" ] 05:18:52 ./bin/test-attribution-txt.sh 05:18:52 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:18:53 Stashed 1 file(s) [Pipeline] } 05:18:53 $ docker stop --time=1 9c45d57014f46b254f7c4c8cc47c603a5f99a91f8e2e6b404e7ccb5d3c55d626 05:18:55 $ docker rm -f 9c45d57014f46b254f7c4c8cc47c603a5f99a91f8e2e6b404e7ccb5d3c55d626 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:18:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:18:59 + ls -al . 05:18:59 total 192 05:18:59 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 7 05:18 . 05:18:59 drwxrwxr-x. 4 jenkins jenkins 28 Oct 7 05:17 .. 05:18:59 drwxrwxr-x. 2 jenkins jenkins 64 Oct 7 05:17 bin 05:18:59 -rw-r--r--. 1 jenkins jenkins 111047 Oct 7 05:18 coverage.out 05:18:59 -rw-rw-r--. 1 jenkins jenkins 936 Oct 7 05:17 Dockerfile.build 05:18:59 -rw-rw-r--. 1 jenkins jenkins 140 Oct 7 05:17 .dockerignore 05:18:59 drwxrwxr-x. 4 jenkins jenkins 48 Oct 7 05:17 example 05:18:59 drwxrwxr-x. 8 jenkins jenkins 179 Oct 7 05:17 .git 05:18:59 drwxrwxr-x. 2 jenkins jenkins 60 Oct 7 05:17 .github 05:18:59 -rw-rw-r--. 1 jenkins jenkins 138 Oct 7 05:17 .gitignore 05:18:59 -rw-r--r--. 1 jenkins jenkins 517 Oct 7 05:18 go.mod 05:18:59 -rw-r--r--. 1 jenkins jenkins 13652 Oct 7 05:18 go.sum 05:18:59 drwxrwxr-x. 15 jenkins jenkins 211 Oct 7 05:17 internal 05:18:59 -rw-rw-r--. 1 jenkins jenkins 901 Oct 7 05:17 Jenkinsfile 05:18:59 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 7 05:17 LICENSE 05:18:59 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 7 05:17 Makefile 05:18:59 drwxrwxr-x. 4 jenkins jenkins 26 Oct 7 05:17 openapi 05:18:59 drwxrwxr-x. 5 jenkins jenkins 50 Oct 7 05:17 pkg 05:18:59 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 7 05:17 README.md 05:18:59 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 7 05:17 RELEASE-NOTES.txt 05:18:59 drwxrwxr-x. 3 jenkins jenkins 58 Oct 7 05:17 .semver 05:18:59 drwxrwxr-x. 4 jenkins jenkins 54 Oct 7 05:17 snap 05:18:59 -rw-rw-r--. 1 jenkins jenkins 5 Oct 7 05:14 VERSION 05:18:59 -rw-rw-r--. 1 jenkins jenkins 222 Oct 7 05:17 version.go [Pipeline] isUnix [Pipeline] sh 05:18:59 + 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=92d9b9363a8ebd500e3f02f4518af66d5213e1c0 --label arch=amd64 --label version=0.0.0 . 05:18:59 Sending build context to Docker daemon 3.635MB 05:18:59 Step 1/24 : ARG BASE=golang:1.15-alpine 05:18:59 Step 2/24 : FROM ${BASE} AS builder 05:18:59 ---> 40ecbdb3f14e 05:18:59 Step 3/24 : ARG MAKE='make build' 05:19:00 ---> Running in 7979b59b7f85 05:19:00 Removing intermediate container 7979b59b7f85 05:19:00 ---> 63e10b5dcd10 05:19:00 Step 4/24 : WORKDIR /device-sdk-go 05:19:00 ---> Running in f947ecef536a 05:19:00 Removing intermediate container f947ecef536a 05:19:00 ---> 319c6ed989e9 05:19:00 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:19:00 ---> Running in 89bbfe530f16 05:19:00 Removing intermediate container 89bbfe530f16 05:19:00 ---> 7c3f09a8c2ce 05:19:00 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:19:00 ---> Running in 0382e05f5d8e 05:19:01 Removing intermediate container 0382e05f5d8e 05:19:01 ---> 59e1586d6b76 05:19:01 Step 7/24 : RUN apk add --update --no-cache make git 05:19:01 ---> Running in e120a8e9f095 05:19:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:19:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:19:03 OK: 166 MiB in 39 packages 05:19:03 Removing intermediate container e120a8e9f095 05:19:03 ---> a65fb34a7f8d 05:19:03 Step 8/24 : COPY . . 05:19:04 ---> c05ea392289c 05:19:04 Step 9/24 : RUN ${MAKE} 05:19:04 ---> Running in c2049bc2282f 05:19:05 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:19:11 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:19:14 Removing intermediate container c2049bc2282f 05:19:14 ---> 9a474c4af7c0 05:19:14 Step 10/24 : FROM scratch 05:19:14 ---> 05:19:14 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:19:14 ---> Running in be6de9c6e314 05:19:14 Removing intermediate container be6de9c6e314 05:19:14 ---> 37c89fecdf30 05:19:14 Step 12/24 : ENV APP_PORT=49990 05:19:14 ---> Running in b0ac7479c00c 05:19:14 Removing intermediate container b0ac7479c00c 05:19:14 ---> 557fe44310c7 05:19:14 Step 13/24 : EXPOSE $APP_PORT 05:19:14 ---> Running in b5ff01abbe7b 05:19:14 Removing intermediate container b5ff01abbe7b 05:19:14 ---> a7a7e7961d12 05:19:14 Step 14/24 : WORKDIR / 05:19:14 ---> Running in 4353f5f46d78 05:19:14 Removing intermediate container 4353f5f46d78 05:19:14 ---> befc177b6c5a 05:19:14 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:19:15 ---> 2281e3c7f6ee 05:19:15 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:19:15 ---> 794efe43f5d9 05:19:15 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:19:15 ---> 822043d23847 05:19:15 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:19:15 ---> 1ce572d12d5e 05:19:15 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:19:16 ---> 7bd561328379 05:19:16 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:19:16 ---> Running in 9289ec33d9fb 05:19:16 Removing intermediate container 9289ec33d9fb 05:19:16 ---> bc976d61be7b 05:19:16 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:19:16 ---> Running in f752b03728a3 05:19:16 Removing intermediate container f752b03728a3 05:19:16 ---> 7edd03ac21f4 05:19:16 Step 22/24 : LABEL arch=amd64 05:19:16 ---> Running in 53d6bc9e69a7 05:19:17 Removing intermediate container 53d6bc9e69a7 05:19:17 ---> 18ec71d58b2e 05:19:17 Step 23/24 : LABEL git_sha=92d9b9363a8ebd500e3f02f4518af66d5213e1c0 05:19:17 ---> Running in f951dbc08fa1 05:19:17 Removing intermediate container f951dbc08fa1 05:19:17 ---> 2309b3e9ebd2 05:19:17 Step 24/24 : LABEL version=0.0.0 05:19:17 ---> Running in 35c3353fda2e 05:19:17 Removing intermediate container 35c3353fda2e 05:19:17 ---> dde35adec3af 05:19:17 [Warning] One or more build-args [ARCH] were not consumed 05:19:17 Successfully built dde35adec3af 05:19:17 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } 05:19:17 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.159s coverage: 9.4% of statements 05:19:17 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.109s coverage: 21.9% of statements 05:19:17 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:19:17 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.537s coverage: 42.5% of statements 05:19:17 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:19:17 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.724s coverage: 65.4% of statements 05:19:17 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:19:17 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:19:17 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:19:17 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 05:19:17 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.157s coverage: 52.6% of statements 05:19:17 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 05:19:17 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 05:19:17 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.626s coverage: 68.9% of statements 05:19:17 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:19:17 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:19:17 GO111MODULE=on go vet ./... [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:19:44 gofmt -l . 05:19:44 [ "`gofmt -l .`" = "" ] 05:19:44 ./bin/test-attribution-txt.sh 05:19:45 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:19:45 Warning: overwriting stash ‘coverage-report’ 05:19:46 Stashed 1 file(s) [Pipeline] } 05:19:46 $ docker stop --time=1 eac6231a6c1bdbabc8fcfb548c1cfcf22658b4cd5b84d776a291d5e88d82c7ea 05:19:48 $ docker rm -f eac6231a6c1bdbabc8fcfb548c1cfcf22658b4cd5b84d776a291d5e88d82c7ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:19:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:19:50 + ls -al . 05:19:50 total 232 05:19:50 drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 05:19 . 05:19:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 05:16 .. 05:19:50 -rw-rw-r-- 1 jenkins jenkins 140 Oct 7 05:16 .dockerignore 05:19:50 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 05:16 .git 05:19:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 05:16 .github 05:19:50 -rw-rw-r-- 1 jenkins jenkins 138 Oct 7 05:16 .gitignore 05:19:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 05:16 .semver 05:19:50 -rw-rw-r-- 1 jenkins jenkins 936 Oct 7 05:16 Dockerfile.build 05:19:50 -rw-rw-r-- 1 jenkins jenkins 901 Oct 7 05:16 Jenkinsfile 05:19:50 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 7 05:16 LICENSE 05:19:50 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 7 05:16 Makefile 05:19:50 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 7 05:16 README.md 05:19:50 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 7 05:16 RELEASE-NOTES.txt 05:19:50 -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 05:14 VERSION 05:19:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 05:16 bin 05:19:50 -rw-r--r-- 1 jenkins jenkins 111047 Oct 7 05:19 coverage.out 05:19:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 05:16 example 05:19:50 -rw-r--r-- 1 jenkins jenkins 517 Oct 7 05:19 go.mod 05:19:50 -rw-r--r-- 1 jenkins jenkins 13652 Oct 7 05:19 go.sum 05:19:50 drwxrwxr-x 15 jenkins jenkins 4096 Oct 7 05:16 internal 05:19:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 05:16 openapi 05:19:50 drwxrwxr-x 5 jenkins jenkins 4096 Oct 7 05:16 pkg 05:19:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 05:16 snap 05:19:50 -rw-rw-r-- 1 jenkins jenkins 222 Oct 7 05:16 version.go [Pipeline] isUnix [Pipeline] sh 05:19:51 + 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=92d9b9363a8ebd500e3f02f4518af66d5213e1c0 --label arch=arm64 --label version=0.0.0 . 05:19:51 Sending build context to Docker daemon 3.633MB 05:19:51 Step 1/24 : ARG BASE=golang:1.15-alpine 05:19:51 Step 2/24 : FROM ${BASE} AS builder 05:19:51 ---> 9197579210a9 05:19:51 Step 3/24 : ARG MAKE='make build' 05:19:52 ---> Running in 2764b54b5f63 05:19:52 Removing intermediate container 2764b54b5f63 05:19:52 ---> 7f55851dc8e8 05:19:52 Step 4/24 : WORKDIR /device-sdk-go 05:19:52 ---> Running in 2a8583995c69 05:19:52 Removing intermediate container 2a8583995c69 05:19:52 ---> d75ebbe8c603 05:19:52 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:19:53 ---> Running in f55af6f3e97a 05:19:53 Removing intermediate container f55af6f3e97a 05:19:53 ---> eb12e7529f66 05:19:53 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:19:53 ---> Running in 6045e8282b31 05:19:56 Removing intermediate container 6045e8282b31 05:19:56 ---> bc2e64bf39f7 05:19:56 Step 7/24 : RUN apk add --update --no-cache make git 05:19:56 ---> Running in 2b9b5023bdc5 05:19:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:19:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:19:58 OK: 142 MiB in 39 packages 05:19:59 Removing intermediate container 2b9b5023bdc5 05:19:59 ---> 4e31d409d8fb 05:19:59 Step 8/24 : COPY . . 05:20:01 ---> f3002f3f0cb3 05:20:01 Step 9/24 : RUN ${MAKE} 05:20:01 ---> Running in 662014358dd1 05:20:03 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:20:29 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:20:29 Removing intermediate container 662014358dd1 05:20:29 ---> 79809fcc4041 05:20:29 Step 10/24 : FROM scratch 05:20:29 ---> 05:20:29 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:20:29 ---> Running in 279030e220be 05:20:29 Removing intermediate container 279030e220be 05:20:29 ---> 2554343615f4 05:20:29 Step 12/24 : ENV APP_PORT=49990 05:20:29 ---> Running in b612d346e7e2 05:20:29 Removing intermediate container b612d346e7e2 05:20:29 ---> 0af63618a45f 05:20:29 Step 13/24 : EXPOSE $APP_PORT 05:20:30 ---> Running in 5dba71b6f319 05:20:30 Removing intermediate container 5dba71b6f319 05:20:30 ---> 0b375b2fbbd7 05:20:30 Step 14/24 : WORKDIR / 05:20:30 ---> Running in c27e453db981 05:20:30 Removing intermediate container c27e453db981 05:20:30 ---> 3775e62aecb5 05:20:30 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:20:32 ---> 1d82328dba1d 05:20:32 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:20:32 ---> f4b64b035980 05:20:32 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:20:33 ---> 623f2902b758 05:20:33 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:20:34 ---> 0817491e2628 05:20:34 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:20:35 ---> e56d018ced44 05:20:35 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:20:35 ---> Running in b1be3fe9c58c 05:20:35 Removing intermediate container b1be3fe9c58c 05:20:35 ---> 882b94512796 05:20:35 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:20:35 ---> Running in 361cb7f6c842 05:20:36 Removing intermediate container 361cb7f6c842 05:20:36 ---> 6afbfb888e31 05:20:36 Step 22/24 : LABEL arch=arm64 05:20:36 ---> Running in 4459058e30e7 05:20:36 Removing intermediate container 4459058e30e7 05:20:36 ---> ae4fc295681a 05:20:36 Step 23/24 : LABEL git_sha=92d9b9363a8ebd500e3f02f4518af66d5213e1c0 05:20:36 ---> Running in 98b96df81293 05:20:37 Removing intermediate container 98b96df81293 05:20:37 ---> 8ad6a14d23c9 05:20:37 Step 24/24 : LABEL version=0.0.0 05:20:37 ---> Running in 2d6cc482629f 05:20:37 Removing intermediate container 2d6cc482629f 05:20:37 ---> f6ba4fb59bc1 05:20:37 [Warning] One or more build-args [ARCH] were not consumed 05:20:37 Successfully built f6ba4fb59bc1 05:20:37 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 05:20:39 provisioning config files... 05:20:39 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config5192208080275655947tmp [Pipeline] { [Pipeline] sh 05:20:40 + set +x 05:20:40 + curl -s https://codecov.io/bash 05:20:40 + bash -s -- 05:20:42 05:20:42 _____ _ 05:20:42 / ____| | | 05:20:42 | | ___ __| | ___ ___ _____ __ 05:20:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:20:42 | |___| (_) | (_| | __/ (_| (_) \ V / 05:20:42 \_____\___/ \__,_|\___|\___\___/ \_/ 05:20:42 Bash-20200917-4e8f14b 05:20:42 05:20:42 05:20:42 ==> Jenkins CI detected. 05:20:42 project root: . 05:20:42 --> token set from env 05:20:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:20:42 ==> Running gcov in . (disable via -X gcov) 05:20:42 ==> Python coveragepy not found 05:20:42 ==> Searching for coverage reports in: 05:20:42 + . 05:20:42 -> Found 1 reports 05:20:42 ==> Detecting git/mercurial file structure 05:20:42 ==> Reading reports 05:20:42 + ./coverage.out bytes=111047 05:20:42 ==> Appending adjustments 05:20:42 https://docs.codecov.io/docs/fixing-reports 05:20:42 + Found adjustments 05:20:42 ==> Gzipping contents 05:20:42 ==> Uploading reports 05:20:42 url: https://codecov.io 05:20:42 query: branch=PR-605&commit=92d9b9363a8ebd500e3f02f4518af66d5213e1c0&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-605%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=605&job=&cmd_args= 05:20:42 -> Pinging Codecov 05:20:42 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-605&commit=92d9b9363a8ebd500e3f02f4518af66d5213e1c0&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-605%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=605&job=&cmd_args= 05:20:42 -> Uploading to 05:20:42 05:20:42 % Total % Received % Xferd Average Speed Time Time Time Current 05:20:42 Dload Upload Total Spent Left Speed 05:20:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 05:20:42 X> Failed to upload 05:20:42 ==> Uploading to Codecov 05:20:42 % Total % Received % Xferd Average Speed Time Time Time Current 05:20:42 Dload Upload Total Spent Left Speed 05:20:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18567 100 110 100 18457 165 27690 --:--:-- --:--:-- --:--:-- 27671 05:20:43 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/92d9b9363a8ebd500e3f02f4518af66d5213e1c0 [Pipeline] } 05:20:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 05:20:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:20:47 ---> package-listing.sh 05:20:47 ++ facter osfamily 05:20:47 ++ tr '[:upper:]' '[:lower:]' 05:20:47 + OS_FAMILY=redhat 05:20:47 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-605 05:20:47 + START_PACKAGES=/tmp/packages_start.txt 05:20:47 + END_PACKAGES=/tmp/packages_end.txt 05:20:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:20:47 + PACKAGES=/tmp/packages_start.txt 05:20:47 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' 05:20:47 + PACKAGES=/tmp/packages_end.txt 05:20:47 + case "${OS_FAMILY}" in 05:20:47 + rpm -qa 05:20:47 + sort 05:20:51 + '[' -f /tmp/packages_start.txt ']' 05:20:51 + '[' -f /tmp/packages_end.txt ']' 05:20:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:20:51 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' 05:20:51 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ 05:20:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:20:52 provisioning config files... 05:20:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config30703679818534838tmp [Pipeline] { [Pipeline] echo 05:20:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:20:52 ---> create-netrc.sh [Pipeline] } 05:20:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:20:52 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:20:53 ---> python-tools-install.sh 05:20:53 Generating Requirements File 05:22:14 Python 3.6.8 05:22:14 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 05:22:14 appdirs==1.4.3 05:22:14 argcomplete==1.12.1 05:22:14 aspy.yaml==1.3.0 05:22:14 attrs==19.3.0 05:22:14 Babel==2.8.0 05:22:14 beautifulsoup4==4.8.2 05:22:14 boto3==1.11.6 05:22:14 botocore==1.14.6 05:22:14 bs4==0.0.1 05:22:14 cachetools==4.1.1 05:22:14 certifi==2019.11.28 05:22:14 cffi==1.14.3 05:22:14 cfgv==2.0.1 05:22:14 chardet==3.0.4 05:22:14 click==7.1 05:22:14 cliff==3.4.0 05:22:14 cmd2==1.3.11 05:22:14 colorama==0.4.3 05:22:14 cryptography==3.1.1 05:22:14 debtcollector==2.2.0 05:22:14 decorator==4.4.2 05:22:14 defusedxml==0.6.0 05:22:14 Deprecated==1.2.7 05:22:14 distlib==0.3.1 05:22:14 distro==1.2.0 05:22:14 dnspython==1.16.0 05:22:14 docker==4.2.0 05:22:14 docutils==0.15.2 05:22:14 dogpile.cache==1.0.2 05:22:14 email-validator==1.0.5 05:22:14 filelock==3.0.12 05:22:14 future==0.18.2 05:22:14 google-auth==1.22.1 05:22:14 httplib2==0.17.0 05:22:14 identify==1.4.11 05:22:14 idna==2.9 05:22:14 importlib-metadata==1.7.0 05:22:14 importlib-resources==1.5.0 05:22:14 iso8601==0.1.13 05:22:14 Jinja2==2.11.1 05:22:14 jmespath==0.10.0 05:22:14 jsonpatch==1.26 05:22:14 jsonpointer==2.0 05:22:14 jsonschema==3.2.0 05:22:14 keystoneauth1==4.2.1 05:22:14 kubernetes==11.0.0 05:22:14 lftools==0.34.2 05:22:14 lxml==4.5.0 05:22:14 MarkupSafe==0.23 05:22:14 msgpack==1.0.0 05:22:14 multi-key-dict==2.0.3 05:22:14 munch==2.5.0 05:22:14 netaddr==0.8.0 05:22:14 netifaces==0.10.9 05:22:14 niet==1.4.2 05:22:14 nodeenv==1.3.5 05:22:14 oauth2client==4.1.3 05:22:14 oauthlib==3.1.0 05:22:14 openstacksdk==0.50.0 05:22:14 os-client-config==2.1.0 05:22:14 os-service-types==1.7.0 05:22:14 osc-lib==2.2.1 05:22:14 oslo.config==8.3.2 05:22:14 oslo.context==3.1.1 05:22:14 oslo.i18n==5.0.1 05:22:14 oslo.log==4.4.0 05:22:14 oslo.serialization==4.0.1 05:22:14 oslo.utils==4.6.0 05:22:14 packaging==20.4 05:22:14 pbr==5.4.4 05:22:14 pluggy==0.13.1 05:22:14 prettytable==0.7.2 05:22:14 py==1.9.0 05:22:14 pyasn1==0.4.8 05:22:14 pyasn1-modules==0.2.8 05:22:14 pycparser==2.20 05:22:14 pygerrit2==2.0.10 05:22:14 PyGithub==1.46 05:22:14 pyinotify==0.9.6 05:22:14 PyJWT==1.7.1 05:22:14 pyparsing==2.4.7 05:22:14 pyperclip==1.8.0 05:22:14 pyroute2==0.4.13 05:22:14 pyrsistent==0.15.7 05:22:14 PySocks==1.6.8 05:22:14 python-cinderclient==7.2.0 05:22:14 python-dateutil==2.8.1 05:22:14 python-heatclient==2.2.1 05:22:14 python-jenkins==1.7.0 05:22:14 python-keystoneclient==4.1.1 05:22:14 python-magnumclient==3.2.1 05:22:14 python-novaclient==17.2.1 05:22:14 python-openstackclient==5.4.0 05:22:14 python-swiftclient==3.10.1 05:22:14 pytz==2020.1 05:22:14 PyYAML==5.3 05:22:14 requests==2.23.0 05:22:14 requests-oauthlib==1.3.0 05:22:14 requestsexceptions==1.4.0 05:22:14 rfc3986==1.4.0 05:22:14 rpm==4.11.3 05:22:14 rsa==4.0 05:22:14 ruamel.yaml==0.16.10 05:22:14 ruamel.yaml.clib==0.2.0 05:22:14 s3transfer==0.3.3 05:22:14 shade==1.27.2 05:22:14 simplejson==3.17.2 05:22:14 six==1.14.0 05:22:14 soupsieve==2.0 05:22:14 stevedore==3.2.2 05:22:14 tabulate==0.8.6 05:22:14 toml==0.10.0 05:22:14 tox==3.20.0 05:22:14 tqdm==4.43.0 05:22:14 urllib3==1.25.8 05:22:14 virtualenv==20.0.33 05:22:14 wcwidth==0.2.5 05:22:14 websocket-client==0.57.0 05:22:14 wrapt==1.12.1 05:22:14 xdg==3.0.2 05:22:14 xmltodict==0.12.0 05:22:14 yq==2.11.1 05:22:14 zipp==3.3.0 05:22:14 Cache entry deserialization failed, entry ignored 05:22:14 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 05:22:14 Python 2.7.5 05:22:14 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 05:22:14 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 05:22:14 ansible==2.9.7 05:22:14 Babel==0.9.6 05:22:14 backports.ssl-match-hostname==3.5.0.1 05:22:14 beautifulsoup4==4.4.1 05:22:14 bodhi==2.11.0 05:22:14 bodhi-client==2.11.0 05:22:14 CCColUtils==1.4 05:22:14 cffi==1.6.0 05:22:14 chardet==2.2.1 05:22:14 click==6.7 05:22:14 cloud-init==18.5 05:22:14 configobj==4.7.2 05:22:14 cryptography==1.7.2 05:22:14 decorator==3.4.0 05:22:14 distro==1.2.0 05:22:14 enum34==1.0.4 05:22:14 fedpkg==1.38 05:22:14 futures==3.1.1 05:22:14 gitdb==0.6.4 05:22:14 GitPython==1.0.1 05:22:14 html5lib==0.999 05:22:14 httplib2==0.9.2 05:22:14 idna==2.4 05:22:14 iniparse==0.4 05:22:14 ipaddress==1.0.16 05:22:14 IPy==0.75 05:22:14 javapackages==1.0.0 05:22:14 Jinja2==2.7.2 05:22:14 jmespath==0.9.4 05:22:14 jsonpatch==1.2 05:22:14 jsonpointer==1.9 05:22:14 kerberos==1.1 05:22:14 kitchen==1.1.1 05:22:14 langtable==0.0.31 05:22:14 lockfile==0.9.1 05:22:14 lxml==3.2.1 05:22:14 MarkupSafe==0.11 05:22:14 munch==2.0.2 05:22:14 offtrac==0.1.0 05:22:14 openidc-client==0.6.0 05:22:14 packagedb-cli==2.14.1 05:22:14 paramiko==2.1.1 05:22:14 perf==0.1 05:22:14 ply==3.4 05:22:14 policycoreutils-default-encoding==0.1 05:22:14 prettytable==0.7.2 05:22:14 pyasn1==0.1.9 05:22:14 pycparser==2.14 05:22:14 pycurl==7.19.0 05:22:14 pygobject==3.22.0 05:22:14 pygpgme==0.3 05:22:14 pyliblzma==0.5.3 05:22:14 pyOpenSSL==0.13.1 05:22:14 pyparsing==1.5.6 05:22:14 pyserial==2.6 05:22:14 python-augeas==0.5.0 05:22:14 python-bugzilla==2.3.0 05:22:14 python-dateutil==1.5 05:22:14 python-fedora==0.10.0 05:22:14 python-linux-procfs==0.4.9 05:22:14 python-yubico==1.2.3 05:22:14 pyudev==0.15 05:22:14 pyusb==1.0.0b1 05:22:14 pyxattr==0.5.1 05:22:14 PyYAML==3.10 05:22:14 requests==2.6.0 05:22:14 requests-kerberos==0.7.0 05:22:14 rpkg==1.60 05:22:14 schedutils==0.4 05:22:14 seobject==0.1 05:22:14 sepolicy==1.1 05:22:14 six==1.9.0 05:22:14 smmap==0.9.0 05:22:14 urlgrabber==3.10 05:22:14 urllib3==1.10.2 05:22:14 virtualenv==15.1.0 05:22:14 yum-langpacks==0.4.2 05:22:14 yum-metadata-parser==1.1.4 [Pipeline] echo 05:22:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:22:15 ---> sudo-logs.sh 05:22:15 Archiving 'sudo' log.. [Pipeline] echo 05:22:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:22:15 ---> job-cost.sh 05:22:15 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bcZk 05:22:23 Cache entry deserialization failed, entry ignored 05:22:23 Cache entry deserialization failed, entry ignored 05:22:25 Cache entry deserialization failed, entry ignored 05:22:25 Cache entry deserialization failed, entry ignored 05:22:25 Cache entry deserialization failed, entry ignored 05:22:25 Cache entry deserialization failed, entry ignored 05:22:26 Cache entry deserialization failed, entry ignored 05:22:26 Cache entry deserialization failed, entry ignored 05:22:26 Cache entry deserialization failed, entry ignored 05:22:26 Cache entry deserialization failed, entry ignored 05:22:26 Cache entry deserialization failed, entry ignored 05:22:26 Cache entry deserialization failed, entry ignored 05:22:30 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:23:02 lf-activate-venv(): INFO: Adding /tmp/venv-bcZk/bin to PATH 05:23:02 INFO: No Stack... 05:23:02 INFO: Retrieving Pricing Info for: v1-standard-2 05:23:02 INFO: Archiving Costs [Pipeline] echo 05:23:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:23:03 ---> logs-deploy.sh 05:23:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-605/8 05:23:03 INFO: archiving workspace using pattern(s): 05:23:05 Archives upload complete. 05:23:05 INFO: archiving logs to Nexus