Pull request #619 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 94b886a23a0bf02234eb0faf53f26584ce8520af+833c05b782f270c396ee40879762f076aaf9331e (03dbf57cff764df8d096765da6bc4854dbb7d292) 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-3916 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [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-619 # 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 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 94b886a23a0bf02234eb0faf53f26584ce8520af Merge succeeded, producing 94b886a23a0bf02234eb0faf53f26584ce8520af Checking out Revision 94b886a23a0bf02234eb0faf53f26584ce8520af (PR-619) > 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/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 94b886a23a0bf02234eb0faf53f26584ce8520af # 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 94b886a23a0bf02234eb0faf53f26584ce8520af # timeout=10 Commit message: "feat: update requested chagnes in PR" > git rev-list --no-walk 14a705dd23cc4d0b9f21bc0cf06a165c8906fa41 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:33:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:33:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:33:57 ========================================================= 06:33:57 EdgeX Global Pipelines Version Info 06:33:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:33:59 ------------------- 06:33:59 stable info: 06:33:59 ------------------- 06:33:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:33:59 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 06:33:59 Message: update stable to v1.0.131 06:34:00 ------------------- 06:34:00 experimental info: 06:34:00 ------------------- 06:34:00 Commited By: **** collab-it+edgex@linuxfoundation.org 06:34:00 Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a 06:34:00 Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:34:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:34:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:34:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:34:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:34:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:34:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:34:01 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:34:01 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:34:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:34:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:34:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:34:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:34:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:34:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:34:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:34:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:34:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:34:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:34:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:34:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:34:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:34:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:34:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:34:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:34:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:34:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-619 [Pipeline] echo 06:34:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-619 [Pipeline] echo 06:34:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-619 [Pipeline] echo 06:34:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 94b886a23a0bf02234eb0faf53f26584ce8520af [Pipeline] echo 06:34:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 94b886a [Pipeline] echo 06:34:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:34:04 + git log --format=format:%s -1 94b886a23a0bf02234eb0faf53f26584ce8520af [Pipeline] echo 06:34:04 GIT_COMMIT: 94b886a23a0bf02234eb0faf53f26584ce8520af, Commit Message: feat: update requested chagnes in PR [Pipeline] echo 06:34:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:34:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:34:05 06:34:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:34:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:34:05 latest: Pulling from edgex-devops/git-semver 06:34:05 31603596830f: Pulling fs layer 06:34:05 2a8b12db71e7: Pulling fs layer 06:34:05 6ca5941a6612: Pulling fs layer 06:34:05 ecc8261a40a4: Pulling fs layer 06:34:05 ecc8261a40a4: Waiting 06:34:05 2a8b12db71e7: Verifying Checksum 06:34:05 2a8b12db71e7: Download complete 06:34:05 31603596830f: Verifying Checksum 06:34:05 31603596830f: Download complete 06:34:05 ecc8261a40a4: Verifying Checksum 06:34:05 ecc8261a40a4: Download complete 06:34:05 6ca5941a6612: Verifying Checksum 06:34:05 6ca5941a6612: Download complete 06:34:06 31603596830f: Pull complete 06:34:06 2a8b12db71e7: Pull complete 06:34:06 6ca5941a6612: Pull complete 06:34:06 ecc8261a40a4: Pull complete 06:34:06 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:34:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:34:06 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:34:07 prd-centos7-docker-4c-2g-3916 does not seem to be running inside a container 06:34:07 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-619 -v /w/workspace/dgexfoundry_device-sdk-go_PR-619:/w/workspace/dgexfoundry_device-sdk-go_PR-619:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:34:09 $ docker top 4f4804389649a72a427b620f79b8ce12e7c4414e6923f5e5bdc839bbb287589c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:34:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:34:09 [ssh-agent] Looking for ssh-agent implementation... 06:34:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:34:09 $ docker exec 4f4804389649a72a427b620f79b8ce12e7c4414e6923f5e5bdc839bbb287589c ssh-agent 06:34:09 SSH_AUTH_SOCK=/tmp/ssh-eNPT5yUdpyyM/agent.11 06:34:09 SSH_AGENT_PID=16 06:34:09 Running ssh-add (command line suppressed) 06:34:10 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_4173627706490663651.key (/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_4173627706490663651.key) 06:34:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:34:10 + git describe --exact-match --tags HEAD 06:34:10 fatal: no tag exactly matches '94b886a23a0bf02234eb0faf53f26584ce8520af' [Pipeline] } 06:34:10 $ docker exec --env ******** --env ******** 4f4804389649a72a427b620f79b8ce12e7c4414e6923f5e5bdc839bbb287589c ssh-agent -k 06:34:10 unset SSH_AUTH_SOCK; 06:34:10 unset SSH_AGENT_PID; 06:34:10 echo Agent pid 16 killed; 06:34:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:34:10 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 06:34:10 This usually means this commit has not been tagged. [Pipeline] sshagent 06:34:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:34:10 [ssh-agent] Looking for ssh-agent implementation... 06:34:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:34:11 $ docker exec 4f4804389649a72a427b620f79b8ce12e7c4414e6923f5e5bdc839bbb287589c ssh-agent 06:34:11 SSH_AUTH_SOCK=/tmp/ssh-ppkJXYYqHVoB/agent.45 06:34:11 SSH_AGENT_PID=50 06:34:11 Running ssh-add (command line suppressed) 06:34:11 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_4001620344537160936.key (/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_4001620344537160936.key) 06:34:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:34:11 + git semver init 06:34:11 # -> Open(): unable to determine branch for HEAD 06:34:11 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-619/.git 06:34:11 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-619 06:34:11 # $SEMVER_REMOTE_NAME = origin 06:34:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:34:11 # $SEMVER_USER_NAME = edgex-jenkins 06:34:11 # $SEMVER_BRANCH = PR-619 06:34:11 # $SEMVER_TEMP = /tmp/semver-754895920 06:34:11 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:34:12 # '/tmp/semver-754895920' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-619/.semver' 06:34:12 # -> Force: false 06:34:12 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-619/.semver [Pipeline] } 06:34:12 $ docker exec --env ******** --env ******** 4f4804389649a72a427b620f79b8ce12e7c4414e6923f5e5bdc839bbb287589c ssh-agent -k 06:34:12 unset SSH_AUTH_SOCK; 06:34:12 unset SSH_AGENT_PID; 06:34:12 echo Agent pid 50 killed; 06:34:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:34:12 + git semver [Pipeline] } 06:34:13 $ docker stop --time=1 4f4804389649a72a427b620f79b8ce12e7c4414e6923f5e5bdc839bbb287589c 06:34:14 $ docker rm -f 4f4804389649a72a427b620f79b8ce12e7c4414e6923f5e5bdc839bbb287589c [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:34:15 Stashed 46 file(s) [Pipeline] echo 06:34:15 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 06:34:15 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 06:34:30 Still waiting to schedule task 06:34:30 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:34:30 Still waiting to schedule task 06:34:30 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-3915’ 06:37:14 Running on prd-centos7-docker-4c-2g-3917 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] ws 06:37:14 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 06:37:17 using credential edgex-jenkins-ssh 06:37:17 Cloning the remote Git repository 06:37:17 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:37:17 > git init /w/workspace/device-sdk-go/4 # timeout=10 06:37:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:37:17 > git --version # timeout=10 06:37:17 > git --version # 'git version 2.16.5' 06:37:17 using GIT_SSH to set credentials SSH Credentials for GitHub 06:37:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:37:18 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 94b886a23a0bf02234eb0faf53f26584ce8520af 06:37:18 Merge succeeded, producing 94b886a23a0bf02234eb0faf53f26584ce8520af 06:37:18 Checking out Revision 94b886a23a0bf02234eb0faf53f26584ce8520af (PR-619) 06:37:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:37:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:37:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:37:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:37:18 using GIT_SSH to set credentials SSH Credentials for GitHub 06:37:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:37:18 > git config core.sparsecheckout # timeout=10 06:37:18 > git checkout -f 94b886a23a0bf02234eb0faf53f26584ce8520af # timeout=10 06:37:18 > git remote # timeout=10 06:37:18 > git config --get remote.origin.url # timeout=10 06:37:18 using GIT_SSH to set credentials SSH Credentials for GitHub 06:37:18 > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 06:37:18 > git rev-parse HEAD^{commit} # timeout=10 06:37:19 > git config core.sparsecheckout # timeout=10 06:37:19 > git checkout -f 94b886a23a0bf02234eb0faf53f26584ce8520af # timeout=10 06:37:22 Commit message: "feat: update requested chagnes in PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:37:23 ========================================================= 06:37:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:37:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:37:24 + 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 . 06:37:24 Sending build context to Docker daemon 3.581MB 06:37:24 Step 1/8 : ARG BASE=golang:1.15-alpine 06:37:24 Step 2/8 : FROM ${BASE} 06:37:24 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:37:24 df20fa9351a1: Pulling fs layer 06:37:24 ed8968b2872e: Pulling fs layer 06:37:24 a92cc7c5fd73: Pulling fs layer 06:37:24 e871e8e8d7a9: Pulling fs layer 06:37:24 e73272ec9a57: Pulling fs layer 06:37:24 1e910a182e73: Pulling fs layer 06:37:24 4e634b169226: Pulling fs layer 06:37:24 e871e8e8d7a9: Waiting 06:37:24 e73272ec9a57: Waiting 06:37:24 a92cc7c5fd73: Verifying Checksum 06:37:24 a92cc7c5fd73: Download complete 06:37:24 ed8968b2872e: Verifying Checksum 06:37:24 ed8968b2872e: Download complete 06:37:24 e73272ec9a57: Download complete 06:37:24 1e910a182e73: Verifying Checksum 06:37:24 1e910a182e73: Download complete 06:37:25 df20fa9351a1: Verifying Checksum 06:37:25 df20fa9351a1: Download complete 06:37:25 df20fa9351a1: Pull complete 06:37:25 ed8968b2872e: Pull complete 06:37:25 a92cc7c5fd73: Pull complete 06:37:27 4e634b169226: Verifying Checksum 06:37:27 4e634b169226: Download complete 06:37:28 e871e8e8d7a9: Verifying Checksum 06:37:28 e871e8e8d7a9: Download complete 06:37:33 e871e8e8d7a9: Pull complete 06:37:33 e73272ec9a57: Pull complete 06:37:33 1e910a182e73: Pull complete 06:37:38 4e634b169226: Pull complete 06:37:38 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:37:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:37:38 ---> f7629b54cfaa 06:37:38 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:37:38 ---> Running in 618d56c0113c 06:37:38 Removing intermediate container 618d56c0113c 06:37:38 ---> d9ac967eb9ba 06:37:38 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:37:38 ---> Running in 77e55109fcdd 06:37:39 Removing intermediate container 77e55109fcdd 06:37:39 ---> ae4606e4f8a3 06:37:39 Step 5/8 : RUN apk add --no-cache make git 06:37:39 ---> Running in 4d31bd911c03 06:37:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:37:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:37:41 OK: 166 MiB in 39 packages 06:37:41 Removing intermediate container 4d31bd911c03 06:37:41 ---> 4e5dc54b02f1 06:37:41 Step 6/8 : WORKDIR /device-sdk-go 06:37:41 ---> Running in 85b338d8839b 06:37:41 Removing intermediate container 85b338d8839b 06:37:41 ---> a8232900c637 06:37:41 Step 7/8 : COPY . . 06:37:43 ---> 270cd27195f3 06:37:43 Step 8/8 : RUN go mod download 06:37:43 ---> Running in 1cdd4f853a00 06:38:03 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3918 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] ws 06:38:03 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 06:38:05 Removing intermediate container 1cdd4f853a00 06:38:05 ---> 36023a94b60c 06:38:05 Successfully built 36023a94b60c 06:38:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:38:05 + docker inspect -f . ci-base-image-x86_64 06:38:05 . [Pipeline] withDockerContainer 06:38:05 prd-centos7-docker-4c-2g-3917 does not seem to be running inside a container 06:38:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:38:06 $ docker top b0af303b049a96e3a9ff7bc6d146ec834deaad243444041901df020eb9f856d3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:38:07 + go version 06:38:07 go version go1.15.2 linux/amd64 [Pipeline] } 06:38:07 $ docker stop --time=1 b0af303b049a96e3a9ff7bc6d146ec834deaad243444041901df020eb9f856d3 06:38:08 $ docker rm -f b0af303b049a96e3a9ff7bc6d146ec834deaad243444041901df020eb9f856d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 06:38:09 using credential edgex-jenkins-ssh 06:38:09 Cloning the remote Git repository [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:38:09 + docker inspect -f . ci-base-image-x86_64 06:38:09 . [Pipeline] withDockerContainer 06:38:09 prd-centos7-docker-4c-2g-3917 does not seem to be running inside a container 06:38:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:38:10 $ docker top cd4b05aa1c20482a97385f0d5f2642a56aeca4f7d74b670d13a4787ee17fbd43 -eo pid,comm [Pipeline] { 06:38:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:38:09 > git init /w/workspace/device-sdk-go/4 # timeout=10 06:38:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:38:09 > git --version # timeout=10 06:38:09 > git --version # 'git version 2.17.1' 06:38:09 using GIT_SSH to set credentials SSH Credentials for GitHub 06:38:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] sh 06:38:10 + make test 06:38:10 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:38:11 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 94b886a23a0bf02234eb0faf53f26584ce8520af 06:38:11 Merge succeeded, producing 94b886a23a0bf02234eb0faf53f26584ce8520af 06:38:11 Checking out Revision 94b886a23a0bf02234eb0faf53f26584ce8520af (PR-619) 06:38:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:38:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:38:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:38:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:38:10 using GIT_SSH to set credentials SSH Credentials for GitHub 06:38:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:38:11 > git config core.sparsecheckout # timeout=10 06:38:11 > git checkout -f 94b886a23a0bf02234eb0faf53f26584ce8520af # timeout=10 06:38:11 > git remote # timeout=10 06:38:11 > git config --get remote.origin.url # timeout=10 06:38:11 using GIT_SSH to set credentials SSH Credentials for GitHub 06:38:11 > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 06:38:11 > git rev-parse HEAD^{commit} # timeout=10 06:38:11 > git config core.sparsecheckout # timeout=10 06:38:11 > git checkout -f 94b886a23a0bf02234eb0faf53f26584ce8520af # timeout=10 06:38:15 Commit message: "feat: update requested chagnes in PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:38:17 ========================================================= 06:38:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:38:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:38:17 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:38:18 + 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 . 06:38:19 Sending build context to Docker daemon 3.58MB 06:38:19 Step 1/8 : ARG BASE=golang:1.15-alpine 06:38:19 Step 2/8 : FROM ${BASE} 06:38:19 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:38:19 b538f80385f9: Pulling fs layer 06:38:19 74f711af9a0d: Pulling fs layer 06:38:19 99f96fe45779: Pulling fs layer 06:38:19 8529a6b9a6be: Pulling fs layer 06:38:19 45590311c82a: Pulling fs layer 06:38:19 69ca0ff8b7b3: Pulling fs layer 06:38:19 209524e5b208: Pulling fs layer 06:38:19 45590311c82a: Waiting 06:38:19 69ca0ff8b7b3: Waiting 06:38:19 8529a6b9a6be: Waiting 06:38:19 209524e5b208: Waiting 06:38:19 99f96fe45779: Verifying Checksum 06:38:19 99f96fe45779: Download complete 06:38:19 74f711af9a0d: Verifying Checksum 06:38:19 74f711af9a0d: Download complete 06:38:19 45590311c82a: Verifying Checksum 06:38:19 45590311c82a: Download complete 06:38:19 69ca0ff8b7b3: Verifying Checksum 06:38:19 69ca0ff8b7b3: Download complete 06:38:19 b538f80385f9: Verifying Checksum 06:38:19 b538f80385f9: Download complete 06:38:20 b538f80385f9: Pull complete 06:38:20 74f711af9a0d: Pull complete 06:38:21 99f96fe45779: Pull complete 06:38:21 209524e5b208: Download complete 06:38:23 8529a6b9a6be: Verifying Checksum 06:38:23 8529a6b9a6be: Download complete 06:38:32 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:38:32 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:38:32 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:38:32 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.068s coverage: 21.6% of statements 06:38:33 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.430s coverage: 97.1% of statements 06:38:35 8529a6b9a6be: Pull complete 06:38:35 45590311c82a: Pull complete 06:38:35 69ca0ff8b7b3: Pull complete 06:38:38 209524e5b208: Pull complete 06:38:38 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:38:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:38:38 ---> 5bddaf1c2fca 06:38:38 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:38:40 ---> Running in 0cbde2e4e90e 06:38:41 Removing intermediate container 0cbde2e4e90e 06:38:41 ---> 80db9d94604f 06:38:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:38:41 ---> Running in 8e322de69ea4 06:38:43 Removing intermediate container 8e322de69ea4 06:38:43 ---> 7c0cfd907486 06:38:43 Step 5/8 : RUN apk add --no-cache make git 06:38:44 ---> Running in 4c15d8ad92be 06:38:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:38:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:38:47 OK: 142 MiB in 39 packages 06:38:48 Removing intermediate container 4c15d8ad92be 06:38:48 ---> 7baaf794b6d1 06:38:48 Step 6/8 : WORKDIR /device-sdk-go 06:38:48 ---> Running in dc49ed667b78 06:38:48 Removing intermediate container dc49ed667b78 06:38:48 ---> 49cbd75343af 06:38:48 Step 7/8 : COPY . . 06:38:50 ---> e5e5b08ecbcb 06:38:50 Step 8/8 : RUN go mod download 06:38:50 ---> Running in 1e4e284a60d6 06:39:05 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.065s coverage: 9.4% of statements 06:39:05 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.046s coverage: 21.9% of statements 06:39:05 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:39:05 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.206s coverage: 41.0% of statements 06:39:05 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:39:05 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.283s coverage: 65.4% of statements 06:39:05 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:39:05 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:39:05 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:39:05 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:39:05 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.059s coverage: 52.6% of statements 06:39:05 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:39:05 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:39:05 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.384s coverage: 68.9% of statements 06:39:05 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:39:05 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:39:05 GO111MODULE=on go vet ./... 06:39:12 gofmt -l . 06:39:12 [ "`gofmt -l .`" = "" ] 06:39:12 ./bin/test-attribution-txt.sh 06:39:12 ./bin/test-go-mod-tidy.sh 06:39:12 Removing intermediate container 1e4e284a60d6 06:39:12 ---> 6ac352f6cb7d 06:39:12 Successfully built 6ac352f6cb7d 06:39:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] stash [Pipeline] isUnix [Pipeline] sh 06:39:13 Stashed 1 file(s) [Pipeline] } 06:39:13 $ docker stop --time=1 cd4b05aa1c20482a97385f0d5f2642a56aeca4f7d74b670d13a4787ee17fbd43 06:39:13 + docker inspect -f . ci-base-image-arm64 06:39:13 . 06:39:15 $ docker rm -f cd4b05aa1c20482a97385f0d5f2642a56aeca4f7d74b670d13a4787ee17fbd43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer 06:39:15 prd-ubuntu18.04-docker-arm64-4c-16g-3918 does not seem to be running inside a container 06:39:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:39:17 $ docker top c86a3457d3369456bf8c1fa9a72a2c400ca75e12b74c901ba305440be8a52f38 -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:39:19 + go version 06:39:19 go version go1.15.2 linux/arm64 [Pipeline] } 06:39:19 $ docker stop --time=1 c86a3457d3369456bf8c1fa9a72a2c400ca75e12b74c901ba305440be8a52f38 06:39:19 + sudo chown -R jenkins:jenkins . 06:39:21 $ docker rm -f c86a3457d3369456bf8c1fa9a72a2c400ca75e12b74c901ba305440be8a52f38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 06:39:21 + ls -al . 06:39:21 total 192 06:39:21 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 7 06:39 . 06:39:21 drwxrwxr-x. 4 jenkins jenkins 28 Oct 7 06:37 .. 06:39:21 drwxrwxr-x. 2 jenkins jenkins 64 Oct 7 06:37 bin 06:39:21 -rw-r--r--. 1 jenkins jenkins 111045 Oct 7 06:39 coverage.out 06:39:21 -rw-rw-r--. 1 jenkins jenkins 936 Oct 7 06:37 Dockerfile.build 06:39:21 -rw-rw-r--. 1 jenkins jenkins 140 Oct 7 06:37 .dockerignore 06:39:21 drwxrwxr-x. 4 jenkins jenkins 48 Oct 7 06:37 example 06:39:21 drwxrwxr-x. 8 jenkins jenkins 179 Oct 7 06:37 .git 06:39:21 drwxrwxr-x. 2 jenkins jenkins 60 Oct 7 06:37 .github 06:39:21 -rw-rw-r--. 1 jenkins jenkins 138 Oct 7 06:37 .gitignore 06:39:21 -rw-r--r--. 1 jenkins jenkins 517 Oct 7 06:39 go.mod 06:39:21 -rw-r--r--. 1 jenkins jenkins 13652 Oct 7 06:39 go.sum 06:39:21 drwxrwxr-x. 15 jenkins jenkins 211 Oct 7 06:37 internal 06:39:21 -rw-rw-r--. 1 jenkins jenkins 901 Oct 7 06:37 Jenkinsfile 06:39:21 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 7 06:37 LICENSE 06:39:21 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 7 06:37 Makefile 06:39:21 drwxrwxr-x. 4 jenkins jenkins 26 Oct 7 06:37 openapi 06:39:21 drwxrwxr-x. 5 jenkins jenkins 50 Oct 7 06:37 pkg 06:39:21 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 7 06:37 README.md 06:39:21 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 7 06:37 RELEASE-NOTES.txt 06:39:21 drwxrwxr-x. 3 jenkins jenkins 58 Oct 7 06:37 .semver 06:39:21 drwxrwxr-x. 4 jenkins jenkins 54 Oct 7 06:37 snap 06:39:21 -rw-rw-r--. 1 jenkins jenkins 5 Oct 7 06:34 VERSION 06:39:21 -rw-rw-r--. 1 jenkins jenkins 222 Oct 7 06:37 version.go [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:39:22 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=94b886a23a0bf02234eb0faf53f26584ce8520af --label arch=amd64 --label version=0.0.0 . 06:39:22 + docker inspect -f . ci-base-image-arm64 06:39:22 . [Pipeline] withDockerContainer 06:39:22 Sending build context to Docker daemon 3.693MB 06:39:22 Step 1/24 : ARG BASE=golang:1.15-alpine 06:39:22 Step 2/24 : FROM ${BASE} AS builder 06:39:22 ---> 36023a94b60c 06:39:22 Step 3/24 : ARG MAKE='make build' 06:39:22 prd-ubuntu18.04-docker-arm64-4c-16g-3918 does not seem to be running inside a container 06:39:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:39:22 ---> Running in 323527a73e5d 06:39:23 Removing intermediate container 323527a73e5d 06:39:23 ---> abc0bb19f652 06:39:23 Step 4/24 : WORKDIR /device-sdk-go 06:39:23 ---> Running in ea82b10ac2ba 06:39:23 Removing intermediate container ea82b10ac2ba 06:39:23 ---> 352b23aedab8 06:39:23 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:39:23 ---> Running in 7e9c65ede0a2 06:39:23 Removing intermediate container 7e9c65ede0a2 06:39:23 ---> e8de4b4fb102 06:39:23 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:39:23 ---> Running in c4d3d65c6468 06:39:24 $ docker top 30b6f89290d0f9e1249e9d6868907aaaf2f28c3fe4b0d6ae8438a3e1a156723e -eo pid,comm 06:39:24 Removing intermediate container c4d3d65c6468 06:39:24 ---> f56eff861278 06:39:24 Step 7/24 : RUN apk add --update --no-cache make git 06:39:24 ---> Running in add5a80f0e09 [Pipeline] { [Pipeline] sh 06:39:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:39:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:39:25 + make test 06:39:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:39:26 OK: 166 MiB in 39 packages 06:39:26 Removing intermediate container add5a80f0e09 06:39:26 ---> 298905195453 06:39:26 Step 8/24 : COPY . . 06:39:28 ---> 2d38624641fd 06:39:28 Step 9/24 : RUN ${MAKE} 06:39:28 ---> Running in 5b6b46c7a6fc 06:39:28 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 06:39:36 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:39:37 Removing intermediate container 5b6b46c7a6fc 06:39:37 ---> f7ff4d443eb9 06:39:37 Step 10/24 : FROM scratch 06:39:37 ---> 06:39:37 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:39:37 ---> Running in 221f22b8011b 06:39:37 Removing intermediate container 221f22b8011b 06:39:37 ---> 35a100e194c8 06:39:37 Step 12/24 : ENV APP_PORT=49990 06:39:37 ---> Running in 1f05f72b7c16 06:39:37 Removing intermediate container 1f05f72b7c16 06:39:37 ---> 44615329ac3c 06:39:37 Step 13/24 : EXPOSE $APP_PORT 06:39:37 ---> Running in 38e01dfa8a9a 06:39:38 Removing intermediate container 38e01dfa8a9a 06:39:38 ---> 8d95a0d71547 06:39:38 Step 14/24 : WORKDIR / 06:39:38 ---> Running in 676e633db963 06:39:38 Removing intermediate container 676e633db963 06:39:38 ---> 9e981a37daa6 06:39:38 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:39:38 ---> 341f4a55fc4a 06:39:38 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:39:39 ---> fface8498ae5 06:39:39 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:39:39 ---> 7401ab9f62b9 06:39:39 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:39:39 ---> eadcda79965a 06:39:39 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:39:39 ---> bd16e8c3b412 06:39:39 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:39:39 ---> Running in 924361994c1d 06:39:39 Removing intermediate container 924361994c1d 06:39:39 ---> 65ccb927df99 06:39:39 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:39:39 ---> Running in e2fb532ceabf 06:39:40 Removing intermediate container e2fb532ceabf 06:39:40 ---> b3a3feeacfa3 06:39:40 Step 22/24 : LABEL arch=amd64 06:39:40 ---> Running in a123d4c03c37 06:39:40 Removing intermediate container a123d4c03c37 06:39:40 ---> f773a049ef27 06:39:40 Step 23/24 : LABEL git_sha=94b886a23a0bf02234eb0faf53f26584ce8520af 06:39:40 ---> Running in 26aedfc1c1e5 06:39:40 Removing intermediate container 26aedfc1c1e5 06:39:40 ---> 7bad27897fcd 06:39:40 Step 24/24 : LABEL version=0.0.0 06:39:40 ---> Running in 5ac37b40ad04 06:39:40 Removing intermediate container 5ac37b40ad04 06:39:40 ---> 548a465bb99f 06:39:40 [Warning] One or more build-args [ARCH] were not consumed 06:39:40 Successfully built 548a465bb99f 06:39:40 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:39:48 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:40:27 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:40:27 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:40:27 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:40:27 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.133s coverage: 21.6% of statements 06:40:30 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.173s coverage: 97.1% of statements 06:41:02 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.135s coverage: 9.4% of statements 06:41:02 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.131s coverage: 21.9% of statements 06:41:02 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:41:02 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.594s coverage: 41.0% of statements 06:41:02 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:41:02 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.759s coverage: 65.4% of statements 06:41:02 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:41:02 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:41:02 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:41:02 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:41:02 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.195s coverage: 52.6% of statements 06:41:02 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:41:02 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:41:02 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.849s coverage: 68.9% of statements 06:41:02 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:41:02 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:41:02 GO111MODULE=on go vet ./... 06:41:29 gofmt -l . 06:41:29 [ "`gofmt -l .`" = "" ] 06:41:29 ./bin/test-attribution-txt.sh 06:41:29 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:41:29 Warning: overwriting stash ‘coverage-report’ 06:41:30 Stashed 1 file(s) [Pipeline] } 06:41:30 $ docker stop --time=1 30b6f89290d0f9e1249e9d6868907aaaf2f28c3fe4b0d6ae8438a3e1a156723e 06:41:32 $ docker rm -f 30b6f89290d0f9e1249e9d6868907aaaf2f28c3fe4b0d6ae8438a3e1a156723e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:41:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:41:34 + ls -al . 06:41:34 total 232 06:41:34 drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 06:41 . 06:41:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 06:38 .. 06:41:34 -rw-rw-r-- 1 jenkins jenkins 140 Oct 7 06:38 .dockerignore 06:41:34 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 06:38 .git 06:41:34 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 06:38 .github 06:41:34 -rw-rw-r-- 1 jenkins jenkins 138 Oct 7 06:38 .gitignore 06:41:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 06:38 .semver 06:41:34 -rw-rw-r-- 1 jenkins jenkins 936 Oct 7 06:38 Dockerfile.build 06:41:34 -rw-rw-r-- 1 jenkins jenkins 901 Oct 7 06:38 Jenkinsfile 06:41:34 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 7 06:38 LICENSE 06:41:34 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 7 06:38 Makefile 06:41:34 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 7 06:38 README.md 06:41:34 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 7 06:38 RELEASE-NOTES.txt 06:41:34 -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 06:34 VERSION 06:41:34 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 06:38 bin 06:41:34 -rw-r--r-- 1 jenkins jenkins 111045 Oct 7 06:40 coverage.out 06:41:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 06:38 example 06:41:34 -rw-r--r-- 1 jenkins jenkins 517 Oct 7 06:41 go.mod 06:41:34 -rw-r--r-- 1 jenkins jenkins 13652 Oct 7 06:41 go.sum 06:41:34 drwxrwxr-x 15 jenkins jenkins 4096 Oct 7 06:38 internal 06:41:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 06:38 openapi 06:41:34 drwxrwxr-x 5 jenkins jenkins 4096 Oct 7 06:38 pkg 06:41:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 06:38 snap 06:41:34 -rw-rw-r-- 1 jenkins jenkins 222 Oct 7 06:38 version.go [Pipeline] isUnix [Pipeline] sh 06:41:35 + 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=94b886a23a0bf02234eb0faf53f26584ce8520af --label arch=arm64 --label version=0.0.0 . 06:41:35 Sending build context to Docker daemon 3.692MB 06:41:35 Step 1/24 : ARG BASE=golang:1.15-alpine 06:41:35 Step 2/24 : FROM ${BASE} AS builder 06:41:35 ---> 6ac352f6cb7d 06:41:35 Step 3/24 : ARG MAKE='make build' 06:41:36 ---> Running in ec049d6e367f 06:41:36 Removing intermediate container ec049d6e367f 06:41:36 ---> 153adb02a819 06:41:36 Step 4/24 : WORKDIR /device-sdk-go 06:41:36 ---> Running in c52b2f8314aa 06:41:36 Removing intermediate container c52b2f8314aa 06:41:36 ---> aa366c30edd7 06:41:36 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:41:37 ---> Running in 188675217a4f 06:41:37 Removing intermediate container 188675217a4f 06:41:37 ---> 7a33c603b3f1 06:41:37 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:41:37 ---> Running in 10e4c4f62a5b 06:41:40 Removing intermediate container 10e4c4f62a5b 06:41:40 ---> eef991ec20a2 06:41:40 Step 7/24 : RUN apk add --update --no-cache make git 06:41:40 ---> Running in 9129207b985b 06:41:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:41:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:41:43 OK: 142 MiB in 39 packages 06:41:44 Removing intermediate container 9129207b985b 06:41:44 ---> 6c52df97b97c 06:41:44 Step 8/24 : COPY . . 06:41:45 ---> 68ca7803a5d2 06:41:45 Step 9/24 : RUN ${MAKE} 06:41:45 ---> Running in 24e902d49404 06:41:47 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 06:42:14 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:42:14 Removing intermediate container 24e902d49404 06:42:14 ---> b854b4b2dfdb 06:42:14 Step 10/24 : FROM scratch 06:42:14 ---> 06:42:14 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:42:14 ---> Running in f88ffb2e1bc4 06:42:14 Removing intermediate container f88ffb2e1bc4 06:42:14 ---> 7663587dd8af 06:42:14 Step 12/24 : ENV APP_PORT=49990 06:42:14 ---> Running in 001fa1e76cfe 06:42:14 Removing intermediate container 001fa1e76cfe 06:42:14 ---> a45f442053e7 06:42:14 Step 13/24 : EXPOSE $APP_PORT 06:42:14 ---> Running in 0baa9dd5e2f6 06:42:14 Removing intermediate container 0baa9dd5e2f6 06:42:14 ---> b89354f825a9 06:42:14 Step 14/24 : WORKDIR / 06:42:14 ---> Running in b79706392e23 06:42:15 Removing intermediate container b79706392e23 06:42:15 ---> a931a0589c79 06:42:15 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:42:16 ---> d37adea21923 06:42:16 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:42:17 ---> 14cb947d4ad8 06:42:17 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:42:17 ---> 5b8ccdac24c2 06:42:17 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:42:18 ---> e0969428c89b 06:42:18 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:42:19 ---> 021ff3607a15 06:42:19 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:42:19 ---> Running in 9a5b0a4e5cf8 06:42:19 Removing intermediate container 9a5b0a4e5cf8 06:42:19 ---> d5767af886c5 06:42:19 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:42:19 ---> Running in 90ea35650315 06:42:20 Removing intermediate container 90ea35650315 06:42:20 ---> caae08e3e8dc 06:42:20 Step 22/24 : LABEL arch=arm64 06:42:20 ---> Running in 6bb980c61d63 06:42:20 Removing intermediate container 6bb980c61d63 06:42:20 ---> b0a118ff4469 06:42:20 Step 23/24 : LABEL git_sha=94b886a23a0bf02234eb0faf53f26584ce8520af 06:42:20 ---> Running in 0a85bdb20ecc 06:42:21 Removing intermediate container 0a85bdb20ecc 06:42:21 ---> a7569bd92234 06:42:21 Step 24/24 : LABEL version=0.0.0 06:42:21 ---> Running in 9a2f8dd8b996 06:42:21 Removing intermediate container 9a2f8dd8b996 06:42:21 ---> e4a97dafc02c 06:42:21 [Warning] One or more build-args [ARCH] were not consumed 06:42:22 Successfully built e4a97dafc02c 06:42:22 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 06:42:24 provisioning config files... 06:42:24 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/config3750138587934719628tmp [Pipeline] { [Pipeline] sh 06:42:24 + set +x 06:42:24 + curl -s https://codecov.io/bash 06:42:24 + bash -s -- 06:42:25 06:42:25 _____ _ 06:42:25 / ____| | | 06:42:25 | | ___ __| | ___ ___ _____ __ 06:42:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:42:25 | |___| (_) | (_| | __/ (_| (_) \ V / 06:42:25 \_____\___/ \__,_|\___|\___\___/ \_/ 06:42:25 Bash-20200917-4e8f14b 06:42:25 06:42:25 06:42:25 ==> Jenkins CI detected. 06:42:25 project root: . 06:42:25 --> token set from env 06:42:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:42:25 ==> Running gcov in . (disable via -X gcov) 06:42:25 ==> Python coveragepy not found 06:42:25 ==> Searching for coverage reports in: 06:42:25 + . 06:42:25 -> Found 1 reports 06:42:25 ==> Detecting git/mercurial file structure 06:42:25 ==> Reading reports 06:42:25 + ./coverage.out bytes=111045 06:42:25 ==> Appending adjustments 06:42:25 https://docs.codecov.io/docs/fixing-reports 06:42:25 + Found adjustments 06:42:25 ==> Gzipping contents 06:42:25 ==> Uploading reports 06:42:25 url: https://codecov.io 06:42:25 query: branch=PR-619&commit=94b886a23a0bf02234eb0faf53f26584ce8520af&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-619%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=619&job=&cmd_args= 06:42:25 -> Pinging Codecov 06:42:25 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-619&commit=94b886a23a0bf02234eb0faf53f26584ce8520af&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-619%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=619&job=&cmd_args= 06:42:25 -> Uploading to 06:42:25 06:42:25 % Total % Received % Xferd Average Speed Time Time Time Current 06:42:25 Dload Upload Total Spent Left Speed 06:42:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 06:42:25 X> Failed to upload 06:42:25 ==> Uploading to Codecov 06:42:25 % Total % Received % Xferd Average Speed Time Time Time Current 06:42:25 Dload Upload Total Spent Left Speed 06:42:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18797 100 110 100 18687 181 30828 --:--:-- --:--:-- --:--:-- 30785 06:42:26 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/94b886a23a0bf02234eb0faf53f26584ce8520af [Pipeline] } 06:42:26 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 06:42:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:42:29 ---> package-listing.sh 06:42:29 ++ facter osfamily 06:42:29 ++ tr '[:upper:]' '[:lower:]' 06:42:29 + OS_FAMILY=redhat 06:42:29 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-619 06:42:29 + START_PACKAGES=/tmp/packages_start.txt 06:42:29 + END_PACKAGES=/tmp/packages_end.txt 06:42:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:42:29 + PACKAGES=/tmp/packages_start.txt 06:42:29 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-619 ']' 06:42:29 + PACKAGES=/tmp/packages_end.txt 06:42:29 + case "${OS_FAMILY}" in 06:42:29 + rpm -qa 06:42:29 + sort 06:42:35 + '[' -f /tmp/packages_start.txt ']' 06:42:35 + '[' -f /tmp/packages_end.txt ']' 06:42:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:42:35 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-619 ']' 06:42:35 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-619/archives/ 06:42:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-619/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:42:35 provisioning config files... 06:42:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/config5801193631054717425tmp [Pipeline] { [Pipeline] echo 06:42:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:42:36 ---> create-netrc.sh [Pipeline] } 06:42:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:42:36 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:42:36 ---> python-tools-install.sh 06:42:36 Generating Requirements File 06:43:58 Python 3.6.8 06:43:58 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 06:43:58 appdirs==1.4.3 06:43:58 argcomplete==1.12.1 06:43:58 aspy.yaml==1.3.0 06:43:58 attrs==19.3.0 06:43:58 Babel==2.8.0 06:43:58 beautifulsoup4==4.8.2 06:43:58 boto3==1.11.6 06:43:58 botocore==1.14.6 06:43:58 bs4==0.0.1 06:43:58 cachetools==4.1.1 06:43:58 certifi==2019.11.28 06:43:58 cffi==1.14.3 06:43:58 cfgv==2.0.1 06:43:58 chardet==3.0.4 06:43:58 click==7.1 06:43:58 cliff==3.4.0 06:43:58 cmd2==1.3.11 06:43:58 colorama==0.4.3 06:43:58 cryptography==3.1.1 06:43:58 debtcollector==2.2.0 06:43:58 decorator==4.4.2 06:43:58 defusedxml==0.6.0 06:43:58 Deprecated==1.2.7 06:43:58 distlib==0.3.1 06:43:58 distro==1.2.0 06:43:58 dnspython==1.16.0 06:43:58 docker==4.2.0 06:43:58 docutils==0.15.2 06:43:58 dogpile.cache==1.0.2 06:43:58 email-validator==1.0.5 06:43:58 filelock==3.0.12 06:43:58 future==0.18.2 06:43:58 google-auth==1.22.1 06:43:58 httplib2==0.17.0 06:43:58 identify==1.4.11 06:43:58 idna==2.9 06:43:58 importlib-metadata==1.7.0 06:43:58 importlib-resources==1.5.0 06:43:58 iso8601==0.1.13 06:43:58 Jinja2==2.11.1 06:43:58 jmespath==0.10.0 06:43:58 jsonpatch==1.26 06:43:58 jsonpointer==2.0 06:43:58 jsonschema==3.2.0 06:43:58 keystoneauth1==4.2.1 06:43:58 kubernetes==11.0.0 06:43:58 lftools==0.34.2 06:43:58 lxml==4.5.0 06:43:58 MarkupSafe==0.23 06:43:58 msgpack==1.0.0 06:43:58 multi-key-dict==2.0.3 06:43:58 munch==2.5.0 06:43:58 netaddr==0.8.0 06:43:58 netifaces==0.10.9 06:43:58 niet==1.4.2 06:43:58 nodeenv==1.3.5 06:43:58 oauth2client==4.1.3 06:43:58 oauthlib==3.1.0 06:43:58 openstacksdk==0.50.0 06:43:58 os-client-config==2.1.0 06:43:58 os-service-types==1.7.0 06:43:58 osc-lib==2.2.1 06:43:58 oslo.config==8.3.2 06:43:58 oslo.context==3.1.1 06:43:58 oslo.i18n==5.0.1 06:43:58 oslo.log==4.4.0 06:43:58 oslo.serialization==4.0.1 06:43:58 oslo.utils==4.6.0 06:43:58 packaging==20.4 06:43:58 pbr==5.4.4 06:43:58 pluggy==0.13.1 06:43:58 prettytable==0.7.2 06:43:58 py==1.9.0 06:43:58 pyasn1==0.4.8 06:43:58 pyasn1-modules==0.2.8 06:43:58 pycparser==2.20 06:43:58 pygerrit2==2.0.10 06:43:58 PyGithub==1.46 06:43:58 pyinotify==0.9.6 06:43:58 PyJWT==1.7.1 06:43:58 pyparsing==2.4.7 06:43:58 pyperclip==1.8.0 06:43:58 pyroute2==0.4.13 06:43:58 pyrsistent==0.15.7 06:43:58 PySocks==1.6.8 06:43:58 python-cinderclient==7.2.0 06:43:58 python-dateutil==2.8.1 06:43:58 python-heatclient==2.2.1 06:43:58 python-jenkins==1.7.0 06:43:58 python-keystoneclient==4.1.1 06:43:58 python-magnumclient==3.2.1 06:43:58 python-novaclient==17.2.1 06:43:58 python-openstackclient==5.4.0 06:43:58 python-swiftclient==3.10.1 06:43:58 pytz==2020.1 06:43:58 PyYAML==5.3 06:43:58 requests==2.23.0 06:43:58 requests-oauthlib==1.3.0 06:43:58 requestsexceptions==1.4.0 06:43:58 rfc3986==1.4.0 06:43:58 rpm==4.11.3 06:43:58 rsa==4.0 06:43:58 ruamel.yaml==0.16.10 06:43:58 ruamel.yaml.clib==0.2.0 06:43:58 s3transfer==0.3.3 06:43:58 shade==1.27.2 06:43:58 simplejson==3.17.2 06:43:58 six==1.14.0 06:43:58 soupsieve==2.0 06:43:58 stevedore==3.2.2 06:43:58 tabulate==0.8.6 06:43:58 toml==0.10.0 06:43:58 tox==3.20.0 06:43:58 tqdm==4.43.0 06:43:58 urllib3==1.25.8 06:43:58 virtualenv==20.0.33 06:43:58 wcwidth==0.2.5 06:43:58 websocket-client==0.57.0 06:43:58 wrapt==1.12.1 06:43:58 xdg==3.0.2 06:43:58 xmltodict==0.12.0 06:43:58 yq==2.11.1 06:43:58 zipp==3.3.0 06:43:58 Cache entry deserialization failed, entry ignored 06:43:58 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. 06:43:58 Python 2.7.5 06:43:58 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 06:43:58 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. 06:43:58 ansible==2.9.7 06:43:58 Babel==0.9.6 06:43:58 backports.ssl-match-hostname==3.5.0.1 06:43:58 beautifulsoup4==4.4.1 06:43:58 bodhi==2.11.0 06:43:58 bodhi-client==2.11.0 06:43:58 CCColUtils==1.4 06:43:58 cffi==1.6.0 06:43:58 chardet==2.2.1 06:43:58 click==6.7 06:43:58 cloud-init==18.5 06:43:58 configobj==4.7.2 06:43:58 cryptography==1.7.2 06:43:58 decorator==3.4.0 06:43:58 distro==1.2.0 06:43:58 enum34==1.0.4 06:43:58 fedpkg==1.38 06:43:58 futures==3.1.1 06:43:58 gitdb==0.6.4 06:43:58 GitPython==1.0.1 06:43:58 html5lib==0.999 06:43:58 httplib2==0.9.2 06:43:58 idna==2.4 06:43:58 iniparse==0.4 06:43:58 ipaddress==1.0.16 06:43:58 IPy==0.75 06:43:58 javapackages==1.0.0 06:43:58 Jinja2==2.7.2 06:43:58 jmespath==0.9.4 06:43:58 jsonpatch==1.2 06:43:58 jsonpointer==1.9 06:43:58 kerberos==1.1 06:43:58 kitchen==1.1.1 06:43:58 langtable==0.0.31 06:43:58 lockfile==0.9.1 06:43:58 lxml==3.2.1 06:43:58 MarkupSafe==0.11 06:43:58 munch==2.0.2 06:43:58 offtrac==0.1.0 06:43:58 openidc-client==0.6.0 06:43:58 packagedb-cli==2.14.1 06:43:58 paramiko==2.1.1 06:43:58 perf==0.1 06:43:58 ply==3.4 06:43:58 policycoreutils-default-encoding==0.1 06:43:58 prettytable==0.7.2 06:43:58 pyasn1==0.1.9 06:43:58 pycparser==2.14 06:43:58 pycurl==7.19.0 06:43:58 pygobject==3.22.0 06:43:58 pygpgme==0.3 06:43:58 pyliblzma==0.5.3 06:43:58 pyOpenSSL==0.13.1 06:43:58 pyparsing==1.5.6 06:43:58 pyserial==2.6 06:43:58 python-augeas==0.5.0 06:43:58 python-bugzilla==2.3.0 06:43:58 python-dateutil==1.5 06:43:58 python-fedora==0.10.0 06:43:58 python-linux-procfs==0.4.9 06:43:58 python-yubico==1.2.3 06:43:58 pyudev==0.15 06:43:58 pyusb==1.0.0b1 06:43:58 pyxattr==0.5.1 06:43:58 PyYAML==3.10 06:43:58 requests==2.6.0 06:43:58 requests-kerberos==0.7.0 06:43:58 rpkg==1.60 06:43:58 schedutils==0.4 06:43:58 seobject==0.1 06:43:58 sepolicy==1.1 06:43:58 six==1.9.0 06:43:58 smmap==0.9.0 06:43:58 urlgrabber==3.10 06:43:58 urllib3==1.10.2 06:43:58 virtualenv==15.1.0 06:43:58 yum-langpacks==0.4.2 06:43:58 yum-metadata-parser==1.1.4 [Pipeline] echo 06:43:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:43:58 ---> sudo-logs.sh 06:43:58 Archiving 'sudo' log.. [Pipeline] echo 06:43:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:43:59 ---> job-cost.sh 06:43:59 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TQyt 06:44:09 Cache entry deserialization failed, entry ignored 06:44:09 Cache entry deserialization failed, entry ignored 06:44:11 Cache entry deserialization failed, entry ignored 06:44:11 Cache entry deserialization failed, entry ignored 06:44:11 Cache entry deserialization failed, entry ignored 06:44:11 Cache entry deserialization failed, entry ignored 06:44:11 Cache entry deserialization failed, entry ignored 06:44:11 Cache entry deserialization failed, entry ignored 06:44:11 Cache entry deserialization failed, entry ignored 06:44:12 Cache entry deserialization failed, entry ignored 06:44:12 Cache entry deserialization failed, entry ignored 06:44:12 Cache entry deserialization failed, entry ignored 06:44:15 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:44:41 lf-activate-venv(): INFO: Adding /tmp/venv-TQyt/bin to PATH 06:44:41 INFO: No Stack... 06:44:42 INFO: Retrieving Pricing Info for: v1-standard-2 06:44:43 INFO: Archiving Costs [Pipeline] echo 06:44:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:44:45 ---> logs-deploy.sh 06:44:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-619/4 06:44:45 INFO: archiving workspace using pattern(s): 06:44:46 Archives upload complete. 06:44:46 INFO: archiving logs to Nexus