Branch indexing 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 e195a974d22094be0b338e2aaad815c4000e728c+153a43e7e060228c1df4c616c423a5b384e52518 (a63e2f5d4225363df59b5b13b97d7c2bb5b7d8a9) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4671 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 Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit e195a974d22094be0b338e2aaad815c4000e728c > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f e195a974d22094be0b338e2aaad815c4000e728c # timeout=10 Merge succeeded, producing b354501cd91d68af18eb3d29231f62cefc412e89 Checking out Revision b354501cd91d68af18eb3d29231f62cefc412e89 (PR-605) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b354501cd91d68af18eb3d29231f62cefc412e89 # timeout=10 Commit message: "Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD" > git rev-list --no-walk e195a974d22094be0b338e2aaad815c4000e728c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:43:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:43:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:43:01 ========================================================= 02:43:01 EdgeX Global Pipelines Version Info 02:43:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:43:03 ------------------- 02:43:03 stable info: 02:43:03 ------------------- 02:43:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:03 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 02:43:03 Message: update stable to v1.0.131 02:43:04 ------------------- 02:43:04 experimental info: 02:43:04 ------------------- 02:43:04 Commited By: **** collab-it+edgex@linuxfoundation.org 02:43:04 Commit SHA: 2e6d42a532571151575c80d72899821df0f9b0af 02:43:04 Message: update experimental to v1.0.135 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:43:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:43:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:43:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-605 [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-605 [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-605 [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b354501cd91d68af18eb3d29231f62cefc412e89 [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b354501 [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:08 + git log --format=format:%s -1 b354501cd91d68af18eb3d29231f62cefc412e89 [Pipeline] echo 02:43:08 GIT_COMMIT: b354501cd91d68af18eb3d29231f62cefc412e89, Commit Message: Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD [Pipeline] echo 02:43:08 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:09 02:43:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:09 latest: Pulling from edgex-devops/git-semver 02:43:09 31603596830f: Pulling fs layer 02:43:09 2a8b12db71e7: Pulling fs layer 02:43:09 6ca5941a6612: Pulling fs layer 02:43:09 ecc8261a40a4: Pulling fs layer 02:43:09 ecc8261a40a4: Waiting 02:43:09 2a8b12db71e7: Verifying Checksum 02:43:09 2a8b12db71e7: Download complete 02:43:09 31603596830f: Verifying Checksum 02:43:09 31603596830f: Download complete 02:43:09 ecc8261a40a4: Verifying Checksum 02:43:09 ecc8261a40a4: Download complete 02:43:09 6ca5941a6612: Verifying Checksum 02:43:09 6ca5941a6612: Download complete 02:43:10 31603596830f: Pull complete 02:43:10 2a8b12db71e7: Pull complete 02:43:10 6ca5941a6612: Pull complete 02:43:10 ecc8261a40a4: Pull complete 02:43:10 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:11 prd-centos7-docker-4c-2g-4671 does not seem to be running inside a container 02:43:11 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:43:12 $ docker top 72952cb181675e3d0d3f96998618845a3ff5fd870a704052e4c563c4e8622b83 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:13 [ssh-agent] Looking for ssh-agent implementation... 02:43:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:13 $ docker exec 72952cb181675e3d0d3f96998618845a3ff5fd870a704052e4c563c4e8622b83 ssh-agent 02:43:13 SSH_AUTH_SOCK=/tmp/ssh-ip661bqRNhgc/agent.12 02:43:13 SSH_AGENT_PID=17 02:43:13 Running ssh-add (command line suppressed) 02:43:13 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_3141866608200718072.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_3141866608200718072.key) 02:43:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:14 + git describe --exact-match --tags HEAD 02:43:14 fatal: no tag exactly matches 'b354501cd91d68af18eb3d29231f62cefc412e89' [Pipeline] } 02:43:14 $ docker exec --env ******** --env ******** 72952cb181675e3d0d3f96998618845a3ff5fd870a704052e4c563c4e8622b83 ssh-agent -k 02:43:14 unset SSH_AUTH_SOCK; 02:43:14 unset SSH_AGENT_PID; 02:43:14 echo Agent pid 17 killed; 02:43:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 02:43:14 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 02:43:14 This usually means this commit has not been tagged. [Pipeline] sshagent 02:43:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:14 [ssh-agent] Looking for ssh-agent implementation... 02:43:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:14 $ docker exec 72952cb181675e3d0d3f96998618845a3ff5fd870a704052e4c563c4e8622b83 ssh-agent 02:43:15 SSH_AUTH_SOCK=/tmp/ssh-6ad2zmhLmp9n/agent.46 02:43:15 SSH_AGENT_PID=51 02:43:15 Running ssh-add (command line suppressed) 02:43:15 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_7971286657659250251.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_7971286657659250251.key) 02:43:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:15 + git semver init 02:43:15 # -> Open(): unable to determine branch for HEAD 02:43:15 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.git 02:43:15 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-605 02:43:15 # $SEMVER_REMOTE_NAME = origin 02:43:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:15 # $SEMVER_USER_NAME = edgex-jenkins 02:43:15 # $SEMVER_BRANCH = PR-605 02:43:15 # $SEMVER_TEMP = /tmp/semver-398352088 02:43:15 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:16 # '/tmp/semver-398352088' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver' 02:43:16 # -> Force: false 02:43:16 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver [Pipeline] } 02:43:16 $ docker exec --env ******** --env ******** 72952cb181675e3d0d3f96998618845a3ff5fd870a704052e4c563c4e8622b83 ssh-agent -k 02:43:16 unset SSH_AUTH_SOCK; 02:43:16 unset SSH_AGENT_PID; 02:43:16 echo Agent pid 51 killed; 02:43:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:16 + git semver [Pipeline] } 02:43:16 $ docker stop --time=1 72952cb181675e3d0d3f96998618845a3ff5fd870a704052e4c563c4e8622b83 02:43:18 $ docker rm -f 72952cb181675e3d0d3f96998618845a3ff5fd870a704052e4c563c4e8622b83 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:43:19 Stashed 48 file(s) [Pipeline] echo 02:43:19 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 02:43:19 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 02:43:34 Still waiting to schedule task 02:43:34 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:43:34 Still waiting to schedule task 02:43:34 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline 02:44:16 Running on prd-centos7-docker-4c-2g-4675 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [Pipeline] { [Pipeline] ws 02:44:16 Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout 02:44:22 using credential edgex-jenkins-ssh 02:44:22 Cloning the remote Git repository 02:44:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:22 > git init /w/workspace/device-sdk-go/10 # timeout=10 02:44:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:22 > git --version # timeout=10 02:44:22 > git --version # 'git version 2.16.5' 02:44:22 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:25 Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit e195a974d22094be0b338e2aaad815c4000e728c 02:44:25 Merge succeeded, producing 7f4879b11fecd17a5cb1833ca209d07c16a0822c 02:44:25 Checking out Revision 7f4879b11fecd17a5cb1833ca209d07c16a0822c (PR-605) 02:44:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:24 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:24 > 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 02:44:25 > git config core.sparsecheckout # timeout=10 02:44:25 > git checkout -f e195a974d22094be0b338e2aaad815c4000e728c # timeout=10 02:44:25 > git remote # timeout=10 02:44:25 > git config --get remote.origin.url # timeout=10 02:44:25 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:25 > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 02:44:25 > git rev-parse HEAD^{commit} # timeout=10 02:44:25 > git config core.sparsecheckout # timeout=10 02:44:25 > git checkout -f 7f4879b11fecd17a5cb1833ca209d07c16a0822c # timeout=10 02:44:29 Commit message: "Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD" 02:44:29 > git rev-list --no-walk e195a974d22094be0b338e2aaad815c4000e728c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:44:31 ========================================================= 02:44:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:44:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:32 + 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 . 02:44:32 Sending build context to Docker daemon 3.59MB 02:44:32 Step 1/8 : ARG BASE=golang:1.15-alpine 02:44:32 Step 2/8 : FROM ${BASE} 02:44:33 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:44:33 df20fa9351a1: Pulling fs layer 02:44:33 ed8968b2872e: Pulling fs layer 02:44:33 a92cc7c5fd73: Pulling fs layer 02:44:33 e871e8e8d7a9: Pulling fs layer 02:44:33 e73272ec9a57: Pulling fs layer 02:44:33 1e910a182e73: Pulling fs layer 02:44:33 4e634b169226: Pulling fs layer 02:44:33 e73272ec9a57: Waiting 02:44:33 1e910a182e73: Waiting 02:44:33 4e634b169226: Waiting 02:44:33 e871e8e8d7a9: Waiting 02:44:33 a92cc7c5fd73: Verifying Checksum 02:44:33 a92cc7c5fd73: Download complete 02:44:33 ed8968b2872e: Verifying Checksum 02:44:33 ed8968b2872e: Download complete 02:44:33 e73272ec9a57: Verifying Checksum 02:44:33 e73272ec9a57: Download complete 02:44:33 1e910a182e73: Verifying Checksum 02:44:33 1e910a182e73: Download complete 02:44:33 df20fa9351a1: Verifying Checksum 02:44:33 df20fa9351a1: Download complete 02:44:33 df20fa9351a1: Pull complete 02:44:34 ed8968b2872e: Pull complete 02:44:34 a92cc7c5fd73: Pull complete 02:44:37 4e634b169226: Verifying Checksum 02:44:37 4e634b169226: Download complete 02:44:39 e871e8e8d7a9: Verifying Checksum 02:44:39 e871e8e8d7a9: Download complete 02:44:48 e871e8e8d7a9: Pull complete 02:44:48 e73272ec9a57: Pull complete 02:44:49 1e910a182e73: Pull complete 02:44:53 4e634b169226: Pull complete 02:44:53 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 02:44:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:44:53 ---> f7629b54cfaa 02:44:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:54 ---> Running in f69a1f1814a9 02:44:54 Removing intermediate container f69a1f1814a9 02:44:54 ---> 540a43f934f2 02:44:54 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:54 ---> Running in d70ba70cfff5 02:44:56 Removing intermediate container d70ba70cfff5 02:44:56 ---> 26bd70861334 02:44:56 Step 5/8 : RUN apk add --no-cache make git 02:44:56 ---> Running in 2a1f0b817566 02:44:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:44:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:44:58 OK: 166 MiB in 39 packages 02:44:59 Removing intermediate container 2a1f0b817566 02:44:59 ---> a9cb5250ad22 02:44:59 Step 6/8 : WORKDIR /device-sdk-go 02:44:59 ---> Running in e1b91e8c43cb 02:44:59 Removing intermediate container e1b91e8c43cb 02:44:59 ---> 993baf2842bb 02:44:59 Step 7/8 : COPY . . 02:45:01 ---> 4ab454b7748f 02:45:01 Step 8/8 : RUN go mod download 02:45:01 ---> Running in 93a6c34ecd5b 02:45:23 Removing intermediate container 93a6c34ecd5b 02:45:23 ---> e557527063a8 02:45:23 Successfully built e557527063a8 02:45:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:45:24 + docker inspect -f . ci-base-image-x86_64 02:45:24 . [Pipeline] withDockerContainer 02:45:24 prd-centos7-docker-4c-2g-4675 does not seem to be running inside a container 02:45:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:25 $ docker top 2d7c827faa50b16ca5d12faaa4f3276509d2bf4e9c481da8021c186da601547b -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:26 + go version 02:45:26 go version go1.15.2 linux/amd64 [Pipeline] } 02:45:26 $ docker stop --time=1 2d7c827faa50b16ca5d12faaa4f3276509d2bf4e9c481da8021c186da601547b 02:45:28 $ docker rm -f 2d7c827faa50b16ca5d12faaa4f3276509d2bf4e9c481da8021c186da601547b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:29 + docker inspect -f . ci-base-image-x86_64 02:45:29 . [Pipeline] withDockerContainer 02:45:29 prd-centos7-docker-4c-2g-4675 does not seem to be running inside a container 02:45:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:30 $ docker top 03e05d6e7e7c60343dabe64069bfb92eda37da3b7559e22f013133f8ce3c3633 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:31 + make test 02:45:31 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:44 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:46:12 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:46:12 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:46:12 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:46:12 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.118s coverage: 21.6% of statements 02:46:13 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.728s coverage: 97.1% of statements 02:46:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4683 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [Pipeline] { [Pipeline] ws 02:46:29 Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout 02:46:36 using credential edgex-jenkins-ssh 02:46:36 Cloning the remote Git repository 02:46:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:36 > git init /w/workspace/device-sdk-go/10 # timeout=10 02:46:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:36 > git --version # timeout=10 02:46:36 > git --version # 'git version 2.17.1' 02:46:36 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:38 Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit e195a974d22094be0b338e2aaad815c4000e728c 02:46:38 Merge succeeded, producing 564cec6e99cb8fd44195d7ca16a756f455322bd1 02:46:38 Checking out Revision 564cec6e99cb8fd44195d7ca16a756f455322bd1 (PR-605) 02:46:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:37 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:37 > 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 02:46:38 > git config core.sparsecheckout # timeout=10 02:46:38 > git checkout -f e195a974d22094be0b338e2aaad815c4000e728c # timeout=10 02:46:38 > git remote # timeout=10 02:46:38 > git config --get remote.origin.url # timeout=10 02:46:38 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:38 > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 02:46:38 > git rev-parse HEAD^{commit} # timeout=10 02:46:38 > git config core.sparsecheckout # timeout=10 02:46:38 > git checkout -f 564cec6e99cb8fd44195d7ca16a756f455322bd1 # timeout=10 02:46:43 Commit message: "Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD" 02:46:43 > git rev-list --no-walk e195a974d22094be0b338e2aaad815c4000e728c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:46:45 ========================================================= 02:46:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:46:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:46 + 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 . 02:46:46 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.061s coverage: 9.4% of statements 02:46:46 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.095s coverage: 21.9% of statements 02:46:46 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:46:46 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.276s coverage: 42.2% of statements 02:46:46 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:46:46 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.514s coverage: 68.9% of statements 02:46:46 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:46:46 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:46:46 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:46:46 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:46:46 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.191s coverage: 52.6% of statements 02:46:46 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:46:46 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:46:46 ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.595s coverage: 68.9% of statements 02:46:46 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:46:46 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:46:46 GO111MODULE=on go vet ./... 02:46:47 Sending build context to Docker daemon 3.592MB 02:46:47 Step 1/8 : ARG BASE=golang:1.15-alpine 02:46:47 Step 2/8 : FROM ${BASE} 02:46:47 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:46:47 b538f80385f9: Pulling fs layer 02:46:47 74f711af9a0d: Pulling fs layer 02:46:47 99f96fe45779: Pulling fs layer 02:46:47 8529a6b9a6be: Pulling fs layer 02:46:47 45590311c82a: Pulling fs layer 02:46:47 69ca0ff8b7b3: Pulling fs layer 02:46:47 209524e5b208: Pulling fs layer 02:46:47 8529a6b9a6be: Waiting 02:46:47 45590311c82a: Waiting 02:46:47 69ca0ff8b7b3: Waiting 02:46:47 209524e5b208: Waiting 02:46:47 99f96fe45779: Verifying Checksum 02:46:47 99f96fe45779: Download complete 02:46:47 74f711af9a0d: Verifying Checksum 02:46:47 74f711af9a0d: Download complete 02:46:47 45590311c82a: Verifying Checksum 02:46:47 45590311c82a: Download complete 02:46:48 69ca0ff8b7b3: Verifying Checksum 02:46:48 69ca0ff8b7b3: Download complete 02:46:48 b538f80385f9: Verifying Checksum 02:46:48 b538f80385f9: Download complete 02:46:48 b538f80385f9: Pull complete 02:46:49 74f711af9a0d: Pull complete 02:46:50 99f96fe45779: Pull complete 02:46:51 209524e5b208: Verifying Checksum 02:46:51 209524e5b208: Download complete 02:46:52 8529a6b9a6be: Verifying Checksum 02:46:52 8529a6b9a6be: Download complete 02:46:59 gofmt -l . 02:46:59 [ "`gofmt -l .`" = "" ] 02:46:59 ./bin/test-attribution-txt.sh 02:47:00 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:47:01 Stashed 1 file(s) [Pipeline] } 02:47:01 $ docker stop --time=1 03e05d6e7e7c60343dabe64069bfb92eda37da3b7559e22f013133f8ce3c3633 02:47:03 8529a6b9a6be: Pull complete 02:47:03 45590311c82a: Pull complete 02:47:03 $ docker rm -f 03e05d6e7e7c60343dabe64069bfb92eda37da3b7559e22f013133f8ce3c3633 02:47:03 69ca0ff8b7b3: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:47:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:05 + ls -al . 02:47:05 total 188 02:47:05 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 12 02:47 . 02:47:05 drwxrwxr-x. 4 jenkins jenkins 30 Oct 12 02:44 .. 02:47:05 drwxrwxr-x. 2 jenkins jenkins 64 Oct 12 02:44 bin 02:47:05 -rw-r--r--. 1 jenkins jenkins 110398 Oct 12 02:46 coverage.out 02:47:05 -rw-rw-r--. 1 jenkins jenkins 936 Oct 12 02:44 Dockerfile.build 02:47:05 -rw-rw-r--. 1 jenkins jenkins 140 Oct 12 02:44 .dockerignore 02:47:05 drwxrwxr-x. 4 jenkins jenkins 48 Oct 12 02:44 example 02:47:05 drwxrwxr-x. 8 jenkins jenkins 179 Oct 12 02:44 .git 02:47:05 drwxrwxr-x. 2 jenkins jenkins 60 Oct 12 02:44 .github 02:47:05 -rw-rw-r--. 1 jenkins jenkins 138 Oct 12 02:44 .gitignore 02:47:05 -rw-r--r--. 1 jenkins jenkins 517 Oct 12 02:46 go.mod 02:47:05 -rw-r--r--. 1 jenkins jenkins 13652 Oct 12 02:47 go.sum 02:47:05 drwxrwxr-x. 15 jenkins jenkins 211 Oct 12 02:44 internal 02:47:05 -rw-rw-r--. 1 jenkins jenkins 901 Oct 12 02:44 Jenkinsfile 02:47:05 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 12 02:44 LICENSE 02:47:05 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 12 02:44 Makefile 02:47:05 drwxrwxr-x. 4 jenkins jenkins 26 Oct 12 02:44 openapi 02:47:05 drwxrwxr-x. 5 jenkins jenkins 50 Oct 12 02:44 pkg 02:47:05 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 12 02:44 README.md 02:47:05 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 12 02:44 RELEASE-NOTES.txt 02:47:05 drwxrwxr-x. 3 jenkins jenkins 58 Oct 12 02:44 .semver 02:47:05 drwxrwxr-x. 4 jenkins jenkins 54 Oct 12 02:44 snap 02:47:05 -rw-rw-r--. 1 jenkins jenkins 5 Oct 12 02:43 VERSION 02:47:05 -rw-rw-r--. 1 jenkins jenkins 222 Oct 12 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:47:06 + 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=b354501cd91d68af18eb3d29231f62cefc412e89 --label arch=amd64 --label version=0.0.0 . 02:47:06 Sending build context to Docker daemon 3.701MB 02:47:06 Step 1/24 : ARG BASE=golang:1.15-alpine 02:47:06 Step 2/24 : FROM ${BASE} AS builder 02:47:06 ---> e557527063a8 02:47:06 Step 3/24 : ARG MAKE='make build' 02:47:07 ---> Running in d9c45b2b83ce 02:47:07 Removing intermediate container d9c45b2b83ce 02:47:07 ---> 580f48bccf53 02:47:07 Step 4/24 : WORKDIR /device-sdk-go 02:47:07 ---> Running in 9ceedf02c1d4 02:47:07 Removing intermediate container 9ceedf02c1d4 02:47:07 ---> b205fda7add5 02:47:07 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:07 ---> Running in 87f130e46925 02:47:07 Removing intermediate container 87f130e46925 02:47:07 ---> a8b3779a0d8e 02:47:07 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:08 209524e5b208: Pull complete 02:47:08 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 02:47:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:47:08 ---> 5bddaf1c2fca 02:47:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:08 ---> Running in 8960912101e5 02:47:09 Removing intermediate container 8960912101e5 02:47:09 ---> 0e96ec09c5b8 02:47:09 Step 7/24 : RUN apk add --update --no-cache make git 02:47:09 ---> Running in 09fb14471c4d 02:47:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:47:10 ---> Running in 6f3988dcc5b4 02:47:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:47:10 Removing intermediate container 6f3988dcc5b4 02:47:10 ---> 0a1cbafb6b74 02:47:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:10 ---> Running in ef645eeb55e1 02:47:11 OK: 166 MiB in 39 packages 02:47:12 Removing intermediate container 09fb14471c4d 02:47:12 ---> fcf00cb23069 02:47:12 Step 8/24 : COPY . . 02:47:13 Removing intermediate container ef645eeb55e1 02:47:13 ---> 7e15667aa3b4 02:47:13 Step 5/8 : RUN apk add --no-cache make git 02:47:13 ---> Running in faec84117caf 02:47:13 ---> bf5440ca64ff 02:47:13 Step 9/24 : RUN ${MAKE} 02:47:13 ---> Running in b7a28e05869a 02:47:14 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 02:47:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:47:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:47:17 OK: 142 MiB in 39 packages 02:47:18 Removing intermediate container faec84117caf 02:47:18 ---> 78635d042fe4 02:47:18 Step 6/8 : WORKDIR /device-sdk-go 02:47:18 ---> Running in a4f0f2889676 02:47:18 Removing intermediate container a4f0f2889676 02:47:18 ---> 29d68838b182 02:47:18 Step 7/8 : COPY . . 02:47:20 ---> 6d88d9129b65 02:47:20 Step 8/8 : RUN go mod download 02:47:20 ---> Running in 8e1022070c56 02:47:30 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:47:30 Removing intermediate container b7a28e05869a 02:47:30 ---> 3fda0d92461a 02:47:30 Step 10/24 : FROM scratch 02:47:30 ---> 02:47:30 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:30 ---> Running in 2b61f2d378bd 02:47:31 Removing intermediate container 2b61f2d378bd 02:47:31 ---> 5f88ca36ea85 02:47:31 Step 12/24 : ENV APP_PORT=49990 02:47:31 ---> Running in 8797f97c82eb 02:47:31 Removing intermediate container 8797f97c82eb 02:47:31 ---> 911ace51626c 02:47:31 Step 13/24 : EXPOSE $APP_PORT 02:47:31 ---> Running in 157107296e51 02:47:31 Removing intermediate container 157107296e51 02:47:31 ---> 9ae756cdfc9f 02:47:31 Step 14/24 : WORKDIR / 02:47:31 ---> Running in a4aa03b804e0 02:47:31 Removing intermediate container a4aa03b804e0 02:47:31 ---> e6d1b4de7e5c 02:47:31 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:47:32 ---> 511bd8fd9701 02:47:32 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:47:32 ---> 090980cab60a 02:47:32 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:47:33 ---> ab96d368bf9f 02:47:33 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:47:33 ---> fe6c77fe9ad8 02:47:33 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:47:33 ---> efe679a1cd4d 02:47:33 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:47:33 ---> Running in abc873942af7 02:47:33 Removing intermediate container abc873942af7 02:47:33 ---> 24a136892dd6 02:47:33 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:47:34 ---> Running in a32397b6fcf5 02:47:34 Removing intermediate container a32397b6fcf5 02:47:34 ---> aa496ec8d393 02:47:34 Step 22/24 : LABEL arch=amd64 02:47:34 ---> Running in 3bee24a48666 02:47:34 Removing intermediate container 3bee24a48666 02:47:34 ---> 2c9b42cd260b 02:47:34 Step 23/24 : LABEL git_sha=b354501cd91d68af18eb3d29231f62cefc412e89 02:47:34 ---> Running in c72c7a27cae5 02:47:34 Removing intermediate container c72c7a27cae5 02:47:34 ---> 6abc5e4a3c9e 02:47:34 Step 24/24 : LABEL version=0.0.0 02:47:34 ---> Running in 702cfe9e7c6f 02:47:34 Removing intermediate container 702cfe9e7c6f 02:47:34 ---> 59d978a303e1 02:47:34 [Warning] One or more build-args [ARCH] were not consumed 02:47:34 Successfully built 59d978a303e1 02:47:34 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] } 02:47:42 Removing intermediate container 8e1022070c56 02:47:42 ---> 2b568b15770a 02:47:42 Successfully built 2b568b15770a 02:47:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:47:43 + docker inspect -f . ci-base-image-arm64 02:47:43 . [Pipeline] withDockerContainer 02:47:43 prd-ubuntu18.04-docker-arm64-4c-16g-4683 does not seem to be running inside a container 02:47:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:47:45 $ docker top 4ce8aefdb0bbca80151930226453197a072184a9924096efaa2592ec058758f6 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:47 + go version 02:47:47 go version go1.15.2 linux/arm64 [Pipeline] } 02:47:47 $ docker stop --time=1 4ce8aefdb0bbca80151930226453197a072184a9924096efaa2592ec058758f6 02:47:49 $ docker rm -f 4ce8aefdb0bbca80151930226453197a072184a9924096efaa2592ec058758f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:50 + docker inspect -f . ci-base-image-arm64 02:47:50 . [Pipeline] withDockerContainer 02:47:50 prd-ubuntu18.04-docker-arm64-4c-16g-4683 does not seem to be running inside a container 02:47:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:47:52 $ docker top 37f1b6d34bd567433aa427d54b990feb98e48f3756ad133d9e8f820201028a74 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:54 + make test 02:47:54 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:48:16 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:49:03 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:49:03 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:49:03 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:49:03 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.194s coverage: 21.6% of statements 02:49:04 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.197s coverage: 97.1% of statements 02:49:37 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.136s coverage: 9.4% of statements 02:49:37 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.129s coverage: 21.9% of statements 02:49:37 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:49:37 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.555s coverage: 42.2% of statements 02:49:37 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:49:37 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.760s coverage: 68.9% of statements 02:49:37 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:49:37 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:49:37 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:49:37 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:49:37 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.183s coverage: 52.6% of statements 02:49:37 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:49:37 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:49:37 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.653s coverage: 68.9% of statements 02:49:37 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:49:37 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:49:37 GO111MODULE=on go vet ./... 02:50:04 gofmt -l . 02:50:04 [ "`gofmt -l .`" = "" ] 02:50:04 ./bin/test-attribution-txt.sh 02:50:04 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:50:04 Warning: overwriting stash ‘coverage-report’ 02:50:05 Stashed 1 file(s) [Pipeline] } 02:50:05 $ docker stop --time=1 37f1b6d34bd567433aa427d54b990feb98e48f3756ad133d9e8f820201028a74 02:50:07 $ docker rm -f 37f1b6d34bd567433aa427d54b990feb98e48f3756ad133d9e8f820201028a74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:50:09 + ls -al . 02:50:09 total 228 02:50:09 drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 02:50 . 02:50:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:46 .. 02:50:09 -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 02:46 .dockerignore 02:50:09 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 02:46 .git 02:50:09 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:46 .github 02:50:09 -rw-rw-r-- 1 jenkins jenkins 138 Oct 12 02:46 .gitignore 02:50:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:46 .semver 02:50:09 -rw-rw-r-- 1 jenkins jenkins 936 Oct 12 02:46 Dockerfile.build 02:50:09 -rw-rw-r-- 1 jenkins jenkins 901 Oct 12 02:46 Jenkinsfile 02:50:09 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 02:46 LICENSE 02:50:09 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 12 02:46 Makefile 02:50:09 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 12 02:46 README.md 02:50:09 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 12 02:46 RELEASE-NOTES.txt 02:50:09 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 02:43 VERSION 02:50:09 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:46 bin 02:50:09 -rw-r--r-- 1 jenkins jenkins 110398 Oct 12 02:49 coverage.out 02:50:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:46 example 02:50:09 -rw-r--r-- 1 jenkins jenkins 517 Oct 12 02:50 go.mod 02:50:09 -rw-r--r-- 1 jenkins jenkins 13652 Oct 12 02:50 go.sum 02:50:09 drwxrwxr-x 15 jenkins jenkins 4096 Oct 12 02:46 internal 02:50:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:46 openapi 02:50:09 drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 02:46 pkg 02:50:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:46 snap 02:50:09 -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 02:46 version.go [Pipeline] isUnix [Pipeline] sh 02:50:09 + 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=b354501cd91d68af18eb3d29231f62cefc412e89 --label arch=arm64 --label version=0.0.0 . 02:50:10 Sending build context to Docker daemon 3.703MB 02:50:10 Step 1/24 : ARG BASE=golang:1.15-alpine 02:50:10 Step 2/24 : FROM ${BASE} AS builder 02:50:10 ---> 2b568b15770a 02:50:10 Step 3/24 : ARG MAKE='make build' 02:50:10 ---> Running in 04a187580b08 02:50:11 Removing intermediate container 04a187580b08 02:50:11 ---> 25c471b9d6ea 02:50:11 Step 4/24 : WORKDIR /device-sdk-go 02:50:11 ---> Running in 4e43de3ec428 02:50:11 Removing intermediate container 4e43de3ec428 02:50:11 ---> 08ca961c9e43 02:50:11 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:11 ---> Running in de7a73ee64f8 02:50:12 Removing intermediate container de7a73ee64f8 02:50:12 ---> 8a526a30cd6f 02:50:12 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:50:12 ---> Running in c1424815adba 02:50:14 Removing intermediate container c1424815adba 02:50:14 ---> 80e75099c0fa 02:50:14 Step 7/24 : RUN apk add --update --no-cache make git 02:50:14 ---> Running in d38051c3e95c 02:50:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:50:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:50:17 OK: 142 MiB in 39 packages 02:50:19 Removing intermediate container d38051c3e95c 02:50:19 ---> 531e6751aeb0 02:50:19 Step 8/24 : COPY . . 02:50:20 ---> 1bb1da595e88 02:50:20 Step 9/24 : RUN ${MAKE} 02:50:20 ---> Running in 4140a77ecf8d 02:50:22 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:50:49 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:50:49 Removing intermediate container 4140a77ecf8d 02:50:49 ---> a09aa25184e6 02:50:49 Step 10/24 : FROM scratch 02:50:49 ---> 02:50:49 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:49 ---> Running in 3477ea2cdc68 02:50:49 Removing intermediate container 3477ea2cdc68 02:50:49 ---> 277cfcd92c41 02:50:49 Step 12/24 : ENV APP_PORT=49990 02:50:49 ---> Running in 4323d78d84d6 02:50:50 Removing intermediate container 4323d78d84d6 02:50:50 ---> 6d2eed363e58 02:50:50 Step 13/24 : EXPOSE $APP_PORT 02:50:50 ---> Running in bdc94e8f63a3 02:50:50 Removing intermediate container bdc94e8f63a3 02:50:50 ---> 68ab6f36c8b7 02:50:50 Step 14/24 : WORKDIR / 02:50:51 ---> Running in 9dbba2e7c5eb 02:50:51 Removing intermediate container 9dbba2e7c5eb 02:50:51 ---> 6134edb2518a 02:50:51 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:50:52 ---> 652b3fa34e06 02:50:52 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:50:53 ---> 9671d0fc9398 02:50:53 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:50:54 ---> 5ea406f3ac94 02:50:54 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:50:54 ---> 5ce3c3977e40 02:50:54 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:50:55 ---> 3b89cf872bfe 02:50:55 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:50:55 ---> Running in daf725b8ea09 02:50:56 Removing intermediate container daf725b8ea09 02:50:56 ---> d0c8f1bcef7c 02:50:56 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:50:56 ---> Running in ae271272a6ff 02:50:56 Removing intermediate container ae271272a6ff 02:50:56 ---> d103401a39aa 02:50:56 Step 22/24 : LABEL arch=arm64 02:50:56 ---> Running in de675c37dbd5 02:50:57 Removing intermediate container de675c37dbd5 02:50:57 ---> 5ce137f0a487 02:50:57 Step 23/24 : LABEL git_sha=b354501cd91d68af18eb3d29231f62cefc412e89 02:50:57 ---> Running in c8a2948d716b 02:50:58 Removing intermediate container c8a2948d716b 02:50:58 ---> 28ba770eed5d 02:50:58 Step 24/24 : LABEL version=0.0.0 02:50:58 ---> Running in 2eb6983a5389 02:50:58 Removing intermediate container 2eb6983a5389 02:50:58 ---> b239ae994f3b 02:50:58 [Warning] One or more build-args [ARCH] were not consumed 02:50:58 Successfully built b239ae994f3b 02:50:58 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 02:51:00 provisioning config files... 02:51:00 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config3804380725198233929tmp [Pipeline] { [Pipeline] sh 02:51:00 + set +x 02:51:00 + bash -s -- 02:51:00 + curl -s https://codecov.io/bash 02:51:00 02:51:00 _____ _ 02:51:00 / ____| | | 02:51:00 | | ___ __| | ___ ___ _____ __ 02:51:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:51:00 | |___| (_) | (_| | __/ (_| (_) \ V / 02:51:00 \_____\___/ \__,_|\___|\___\___/ \_/ 02:51:00 Bash-20201009-048fee3 02:51:00 02:51:00 02:51:00 ==> Jenkins CI detected. 02:51:01 project root: . 02:51:01 Fixing merge commit SHA 02:51:01 --> token set from env 02:51:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:51:01 ==> Running gcov in . (disable via -X gcov) 02:51:01 ==> Python coveragepy not found 02:51:01 ==> Searching for coverage reports in: 02:51:01 + . 02:51:01 -> Found 1 reports 02:51:01 ==> Detecting git/mercurial file structure 02:51:01 ==> Reading reports 02:51:01 + ./coverage.out bytes=110398 02:51:01 ==> Appending adjustments 02:51:01 https://docs.codecov.io/docs/fixing-reports 02:51:01 + Found adjustments 02:51:01 ==> Gzipping contents 02:51:01 ==> Uploading reports 02:51:01 url: https://codecov.io 02:51:01 query: branch=PR-605&commit=153a43e7e060228c1df4c616c423a5b384e52518&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-605%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=605&job=&cmd_args= 02:51:01 -> Pinging Codecov 02:51:01 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-605&commit=153a43e7e060228c1df4c616c423a5b384e52518&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-605%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=605&job=&cmd_args= 02:51:01 -> Uploading to 02:51:01 02:51:01 % Total % Received % Xferd Average Speed Time Time Time Current 02:51:01 Dload Upload Total Spent Left Speed 02:51:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 02:51:01 X> Failed to upload 02:51:01 ==> Uploading to Codecov 02:51:01 % Total % Received % Xferd Average Speed Time Time Time Current 02:51:01 Dload Upload Total Spent Left Speed 02:51:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18586 100 110 100 18476 219 36941 --:--:-- --:--:-- --:--:-- 36952 02:51:02 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/153a43e7e060228c1df4c616c423a5b384e52518 [Pipeline] } 02:51:02 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 02:51:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:51:05 ---> package-listing.sh 02:51:05 ++ facter osfamily 02:51:05 ++ tr '[:upper:]' '[:lower:]' 02:51:05 + OS_FAMILY=redhat 02:51:05 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-605 02:51:05 + START_PACKAGES=/tmp/packages_start.txt 02:51:05 + END_PACKAGES=/tmp/packages_end.txt 02:51:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:51:05 + PACKAGES=/tmp/packages_start.txt 02:51:05 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' 02:51:05 + PACKAGES=/tmp/packages_end.txt 02:51:05 + case "${OS_FAMILY}" in 02:51:05 + rpm -qa 02:51:05 + sort 02:51:08 + '[' -f /tmp/packages_start.txt ']' 02:51:08 + '[' -f /tmp/packages_end.txt ']' 02:51:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:51:08 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' 02:51:08 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ 02:51:08 + 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 02:51:08 provisioning config files... 02:51:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config6908646059132219627tmp [Pipeline] { [Pipeline] echo 02:51:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:51:09 ---> create-netrc.sh [Pipeline] } 02:51:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:51:09 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:51:09 ---> python-tools-install.sh 02:51:09 Generating Requirements File 02:52:17 Python 3.6.8 02:52:17 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 02:52:17 appdirs==1.4.3 02:52:17 argcomplete==1.12.1 02:52:17 aspy.yaml==1.3.0 02:52:17 attrs==19.3.0 02:52:17 Babel==2.8.0 02:52:17 beautifulsoup4==4.8.2 02:52:17 boto3==1.11.6 02:52:17 botocore==1.14.6 02:52:17 bs4==0.0.1 02:52:17 cachetools==4.1.1 02:52:17 certifi==2019.11.28 02:52:17 cffi==1.14.3 02:52:17 cfgv==2.0.1 02:52:17 chardet==3.0.4 02:52:17 click==7.1 02:52:17 cliff==3.4.0 02:52:17 cmd2==1.3.11 02:52:17 colorama==0.4.3 02:52:17 cryptography==3.1.1 02:52:17 debtcollector==2.2.0 02:52:17 decorator==4.4.2 02:52:17 defusedxml==0.6.0 02:52:17 Deprecated==1.2.7 02:52:17 distlib==0.3.1 02:52:17 distro==1.2.0 02:52:17 dnspython==1.16.0 02:52:17 docker==4.2.0 02:52:17 docutils==0.15.2 02:52:17 dogpile.cache==1.0.2 02:52:17 email-validator==1.0.5 02:52:17 filelock==3.0.12 02:52:17 future==0.18.2 02:52:17 google-auth==1.22.1 02:52:17 httplib2==0.17.0 02:52:17 identify==1.4.11 02:52:17 idna==2.9 02:52:17 importlib-metadata==2.0.0 02:52:17 importlib-resources==1.5.0 02:52:17 iso8601==0.1.13 02:52:17 Jinja2==2.11.1 02:52:17 jmespath==0.10.0 02:52:17 jsonpatch==1.26 02:52:17 jsonpointer==2.0 02:52:17 jsonschema==3.2.0 02:52:17 keystoneauth1==4.2.1 02:52:17 kubernetes==11.0.0 02:52:17 lftools==0.34.2 02:52:17 lxml==4.5.0 02:52:17 MarkupSafe==0.23 02:52:17 msgpack==1.0.0 02:52:17 multi-key-dict==2.0.3 02:52:17 munch==2.5.0 02:52:17 netaddr==0.8.0 02:52:17 netifaces==0.10.9 02:52:17 niet==1.4.2 02:52:17 nodeenv==1.3.5 02:52:17 oauth2client==4.1.3 02:52:17 oauthlib==3.1.0 02:52:17 openstacksdk==0.50.0 02:52:17 os-client-config==2.1.0 02:52:17 os-service-types==1.7.0 02:52:17 osc-lib==2.2.1 02:52:17 oslo.config==8.3.2 02:52:17 oslo.context==3.1.1 02:52:17 oslo.i18n==5.0.1 02:52:17 oslo.log==4.4.0 02:52:17 oslo.serialization==4.0.1 02:52:17 oslo.utils==4.6.0 02:52:17 packaging==20.4 02:52:17 pbr==5.4.4 02:52:17 pluggy==0.13.1 02:52:17 prettytable==0.7.2 02:52:17 py==1.9.0 02:52:17 pyasn1==0.4.8 02:52:17 pyasn1-modules==0.2.8 02:52:17 pycparser==2.20 02:52:17 pygerrit2==2.0.10 02:52:17 PyGithub==1.46 02:52:17 pyinotify==0.9.6 02:52:17 PyJWT==1.7.1 02:52:17 pyparsing==2.4.7 02:52:17 pyperclip==1.8.1 02:52:17 pyroute2==0.4.13 02:52:17 pyrsistent==0.15.7 02:52:17 PySocks==1.6.8 02:52:17 python-cinderclient==7.2.0 02:52:17 python-dateutil==2.8.1 02:52:17 python-heatclient==2.2.1 02:52:17 python-jenkins==1.7.0 02:52:17 python-keystoneclient==4.1.1 02:52:17 python-magnumclient==3.2.1 02:52:17 python-novaclient==17.2.1 02:52:17 python-openstackclient==5.4.0 02:52:17 python-swiftclient==3.10.1 02:52:17 pytz==2020.1 02:52:17 PyYAML==5.3 02:52:17 requests==2.23.0 02:52:17 requests-oauthlib==1.3.0 02:52:17 requestsexceptions==1.4.0 02:52:17 rfc3986==1.4.0 02:52:17 rpm==4.11.3 02:52:17 rsa==4.0 02:52:17 ruamel.yaml==0.16.10 02:52:17 ruamel.yaml.clib==0.2.0 02:52:17 s3transfer==0.3.3 02:52:17 shade==1.27.2 02:52:17 simplejson==3.17.2 02:52:17 six==1.14.0 02:52:17 soupsieve==2.0 02:52:17 stevedore==3.2.2 02:52:17 tabulate==0.8.6 02:52:17 toml==0.10.0 02:52:17 tox==3.20.1 02:52:17 tqdm==4.43.0 02:52:17 urllib3==1.25.8 02:52:17 virtualenv==20.0.33 02:52:17 wcwidth==0.2.5 02:52:17 websocket-client==0.57.0 02:52:17 wrapt==1.12.1 02:52:17 xdg==3.0.2 02:52:17 xmltodict==0.12.0 02:52:17 yq==2.11.1 02:52:17 zipp==3.3.0 02:52:17 Cache entry deserialization failed, entry ignored 02:52:19 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. 02:52:21 Python 2.7.5 02:52:21 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 02:52:22 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. 02:52:22 ansible==2.9.7 02:52:22 Babel==0.9.6 02:52:22 backports.ssl-match-hostname==3.5.0.1 02:52:22 beautifulsoup4==4.4.1 02:52:22 bodhi==2.11.0 02:52:22 bodhi-client==2.11.0 02:52:22 CCColUtils==1.4 02:52:22 cffi==1.6.0 02:52:22 chardet==2.2.1 02:52:22 click==6.7 02:52:22 cloud-init==18.5 02:52:22 configobj==4.7.2 02:52:22 cryptography==1.7.2 02:52:22 decorator==3.4.0 02:52:22 distro==1.2.0 02:52:22 enum34==1.0.4 02:52:22 fedpkg==1.38 02:52:22 futures==3.1.1 02:52:22 gitdb==0.6.4 02:52:22 GitPython==1.0.1 02:52:22 html5lib==0.999 02:52:22 httplib2==0.9.2 02:52:22 idna==2.4 02:52:22 iniparse==0.4 02:52:22 ipaddress==1.0.16 02:52:22 IPy==0.75 02:52:22 javapackages==1.0.0 02:52:22 Jinja2==2.7.2 02:52:22 jmespath==0.9.4 02:52:22 jsonpatch==1.2 02:52:22 jsonpointer==1.9 02:52:22 kerberos==1.1 02:52:22 kitchen==1.1.1 02:52:22 langtable==0.0.31 02:52:22 lockfile==0.9.1 02:52:22 lxml==3.2.1 02:52:22 MarkupSafe==0.11 02:52:22 munch==2.0.2 02:52:22 offtrac==0.1.0 02:52:22 openidc-client==0.6.0 02:52:22 packagedb-cli==2.14.1 02:52:22 paramiko==2.1.1 02:52:22 perf==0.1 02:52:22 ply==3.4 02:52:22 policycoreutils-default-encoding==0.1 02:52:22 prettytable==0.7.2 02:52:22 pyasn1==0.1.9 02:52:22 pycparser==2.14 02:52:22 pycurl==7.19.0 02:52:22 pygobject==3.22.0 02:52:22 pygpgme==0.3 02:52:22 pyliblzma==0.5.3 02:52:22 pyOpenSSL==0.13.1 02:52:22 pyparsing==1.5.6 02:52:22 pyserial==2.6 02:52:22 python-augeas==0.5.0 02:52:22 python-bugzilla==2.3.0 02:52:22 python-dateutil==1.5 02:52:22 python-fedora==0.10.0 02:52:22 python-linux-procfs==0.4.9 02:52:22 python-yubico==1.2.3 02:52:22 pyudev==0.15 02:52:22 pyusb==1.0.0b1 02:52:22 pyxattr==0.5.1 02:52:22 PyYAML==3.10 02:52:22 requests==2.6.0 02:52:22 requests-kerberos==0.7.0 02:52:22 rpkg==1.60 02:52:22 schedutils==0.4 02:52:22 seobject==0.1 02:52:22 sepolicy==1.1 02:52:22 six==1.9.0 02:52:22 smmap==0.9.0 02:52:22 urlgrabber==3.10 02:52:22 urllib3==1.10.2 02:52:22 virtualenv==15.1.0 02:52:22 yum-langpacks==0.4.2 02:52:22 yum-metadata-parser==1.1.4 [Pipeline] echo 02:52:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:52:22 ---> sudo-logs.sh 02:52:22 Archiving 'sudo' log.. [Pipeline] echo 02:52:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:52:23 ---> job-cost.sh 02:52:23 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-CKjV 02:52:33 Cache entry deserialization failed, entry ignored 02:52:33 Cache entry deserialization failed, entry ignored 02:52:34 Cache entry deserialization failed, entry ignored 02:52:34 Cache entry deserialization failed, entry ignored 02:52:35 Cache entry deserialization failed, entry ignored 02:52:35 Cache entry deserialization failed, entry ignored 02:52:35 Cache entry deserialization failed, entry ignored 02:52:35 Cache entry deserialization failed, entry ignored 02:52:35 Cache entry deserialization failed, entry ignored 02:52:35 Cache entry deserialization failed, entry ignored 02:52:35 Cache entry deserialization failed, entry ignored 02:52:35 Cache entry deserialization failed, entry ignored 02:52:35 Cache entry deserialization failed, entry ignored 02:52:38 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:53:05 lf-activate-venv(): INFO: Adding /tmp/venv-CKjV/bin to PATH 02:53:05 INFO: No Stack... 02:53:05 INFO: Retrieving Pricing Info for: v1-standard-2 02:53:05 INFO: Archiving Costs [Pipeline] echo 02:53:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:53:05 ---> logs-deploy.sh 02:53:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-605/10 02:53:05 INFO: archiving workspace using pattern(s): 02:53:06 Archives upload complete. 02:53:06 INFO: archiving logs to Nexus