Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b78e5cf9de3cc6fa28de1827cbb2be8560d972a2+153a43e7e060228c1df4c616c423a5b384e52518 (75cd7badb2d9ff155c8fb95f268b1180b50d542d) 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-4666 in /w/workspace/dgexfoundry_device-sdk-go_PR-623 [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-623 # 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 b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 Merge succeeded, producing 205ccd980acf5f0bd9bb286500b73f64744d76e5 Checking out Revision 205ccd980acf5f0bd9bb286500b73f64744d76e5 (PR-623) > 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/623/head:refs/remotes/origin/PR-623 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 # 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 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 205ccd980acf5f0bd9bb286500b73f64744d76e5 # timeout=10 Commit message: "Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD" > git rev-list --no-walk b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:41:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:41:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:41:58 ========================================================= 02:41:58 EdgeX Global Pipelines Version Info 02:41:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:41:59 ------------------- 02:41:59 stable info: 02:41:59 ------------------- 02:41:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:41:59 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 02:41:59 Message: update stable to v1.0.131 02:42:00 ------------------- 02:42:00 experimental info: 02:42:00 ------------------- 02:42:00 Commited By: **** collab-it+edgex@linuxfoundation.org 02:42:00 Commit SHA: 2e6d42a532571151575c80d72899821df0f9b0af 02:42:00 Message: update experimental to v1.0.135 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:42:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:42:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:42:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:42:01 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:42:02 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:42:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:42:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:42:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:42:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:42:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:42:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-623 [Pipeline] echo 02:42:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-623 [Pipeline] echo 02:42:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-623 [Pipeline] echo 02:42:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 205ccd980acf5f0bd9bb286500b73f64744d76e5 [Pipeline] echo 02:42:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 205ccd9 [Pipeline] echo 02:42:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:42:04 + git log --format=format:%s -1 205ccd980acf5f0bd9bb286500b73f64744d76e5 [Pipeline] echo 02:42:04 GIT_COMMIT: 205ccd980acf5f0bd9bb286500b73f64744d76e5, Commit Message: Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD [Pipeline] echo 02:42:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:42:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:05 02:42:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:42:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:06 latest: Pulling from edgex-devops/git-semver 02:42:06 31603596830f: Pulling fs layer 02:42:06 2a8b12db71e7: Pulling fs layer 02:42:06 6ca5941a6612: Pulling fs layer 02:42:06 ecc8261a40a4: Pulling fs layer 02:42:06 ecc8261a40a4: Waiting 02:42:06 2a8b12db71e7: Verifying Checksum 02:42:06 2a8b12db71e7: Download complete 02:42:06 31603596830f: Verifying Checksum 02:42:06 31603596830f: Download complete 02:42:06 6ca5941a6612: Verifying Checksum 02:42:06 6ca5941a6612: Download complete 02:42:06 ecc8261a40a4: Verifying Checksum 02:42:06 ecc8261a40a4: Download complete 02:42:06 31603596830f: Pull complete 02:42:06 2a8b12db71e7: Pull complete 02:42:07 6ca5941a6612: Pull complete 02:42:07 ecc8261a40a4: Pull complete 02:42:07 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:42:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:42:07 prd-centos7-docker-4c-2g-4666 does not seem to be running inside a container 02:42:07 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-623 -v /w/workspace/dgexfoundry_device-sdk-go_PR-623:/w/workspace/dgexfoundry_device-sdk-go_PR-623:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-623@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-623@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:42:09 $ docker top 50301ea31d710f4903714398aa0581d0fd8d60a37135eea408ee0834a7c46c92 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:42:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:10 [ssh-agent] Looking for ssh-agent implementation... 02:42:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:10 $ docker exec 50301ea31d710f4903714398aa0581d0fd8d60a37135eea408ee0834a7c46c92 ssh-agent 02:42:10 SSH_AUTH_SOCK=/tmp/ssh-djiakFU0nga2/agent.11 02:42:10 SSH_AGENT_PID=16 02:42:10 Running ssh-add (command line suppressed) 02:42:10 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-623@tmp/private_key_3674002963778583430.key (/w/workspace/dgexfoundry_device-sdk-go_PR-623@tmp/private_key_3674002963778583430.key) 02:42:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:11 + git describe --exact-match --tags HEAD 02:42:11 fatal: no tag exactly matches '205ccd980acf5f0bd9bb286500b73f64744d76e5' [Pipeline] } 02:42:11 $ docker exec --env ******** --env ******** 50301ea31d710f4903714398aa0581d0fd8d60a37135eea408ee0834a7c46c92 ssh-agent -k 02:42:11 unset SSH_AUTH_SOCK; 02:42:11 unset SSH_AGENT_PID; 02:42:11 echo Agent pid 16 killed; 02:42:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 02:42:11 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 02:42:11 This usually means this commit has not been tagged. [Pipeline] sshagent 02:42:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:11 [ssh-agent] Looking for ssh-agent implementation... 02:42:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:11 $ docker exec 50301ea31d710f4903714398aa0581d0fd8d60a37135eea408ee0834a7c46c92 ssh-agent 02:42:11 SSH_AUTH_SOCK=/tmp/ssh-dyrjnR49QC3Q/agent.46 02:42:11 SSH_AGENT_PID=51 02:42:11 Running ssh-add (command line suppressed) 02:42:11 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-623@tmp/private_key_3347529459492116949.key (/w/workspace/dgexfoundry_device-sdk-go_PR-623@tmp/private_key_3347529459492116949.key) 02:42:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:12 + git semver init 02:42:12 # -> Open(): unable to determine branch for HEAD 02:42:12 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-623/.git 02:42:12 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-623 02:42:12 # $SEMVER_REMOTE_NAME = origin 02:42:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:42:12 # $SEMVER_USER_NAME = edgex-jenkins 02:42:12 # $SEMVER_BRANCH = PR-623 02:42:12 # $SEMVER_TEMP = /tmp/semver-366821202 02:42:12 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:42:12 # '/tmp/semver-366821202' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-623/.semver' 02:42:12 # -> Force: false 02:42:12 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-623/.semver [Pipeline] } 02:42:12 $ docker exec --env ******** --env ******** 50301ea31d710f4903714398aa0581d0fd8d60a37135eea408ee0834a7c46c92 ssh-agent -k 02:42:13 unset SSH_AUTH_SOCK; 02:42:13 unset SSH_AGENT_PID; 02:42:13 echo Agent pid 51 killed; 02:42:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:42:13 + git semver [Pipeline] } 02:42:13 $ docker stop --time=1 50301ea31d710f4903714398aa0581d0fd8d60a37135eea408ee0834a7c46c92 02:42:15 $ docker rm -f 50301ea31d710f4903714398aa0581d0fd8d60a37135eea408ee0834a7c46c92 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:42:15 Stashed 48 file(s) [Pipeline] echo 02:42:15 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 02:42: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 02:42:31 Still waiting to schedule task 02:42:31 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:42:31 Still waiting to schedule task 02:42:31 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:43:49 Running on prd-centos7-docker-4c-2g-4674 in /w/workspace/dgexfoundry_device-sdk-go_PR-623 [Pipeline] { [Pipeline] ws 02:43:49 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 02:43:52 using credential edgex-jenkins-ssh 02:43:52 Cloning the remote Git repository 02:43:52 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:43:52 > git init /w/workspace/device-sdk-go/2 # timeout=10 02:43:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:52 > git --version # timeout=10 02:43:52 > git --version # 'git version 2.16.5' 02:43:52 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:54 Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 02:43:54 Merge succeeded, producing 57031f85de38dbe9b97febd9f81d4af125424c58 02:43:54 Checking out Revision 57031f85de38dbe9b97febd9f81d4af125424c58 (PR-623) 02:43:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:53 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/623/head:refs/remotes/origin/PR-623 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:43:54 > git config core.sparsecheckout # timeout=10 02:43:54 > git checkout -f b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 # timeout=10 02:43:54 > git remote # timeout=10 02:43:54 > git config --get remote.origin.url # timeout=10 02:43:54 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:54 > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 02:43:54 > git rev-parse HEAD^{commit} # timeout=10 02:43:54 > git config core.sparsecheckout # timeout=10 02:43:54 > git checkout -f 57031f85de38dbe9b97febd9f81d4af125424c58 # timeout=10 02:43:57 Commit message: "Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD" 02:43:57 > git rev-list --no-walk b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:43:58 ========================================================= 02:43:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:43:58 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:43:59 + 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:00 Sending build context to Docker daemon 3.529MB 02:44:00 Step 1/8 : ARG BASE=golang:1.15-alpine 02:44:00 Step 2/8 : FROM ${BASE} 02:44:00 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:44:00 df20fa9351a1: Pulling fs layer 02:44:00 ed8968b2872e: Pulling fs layer 02:44:00 a92cc7c5fd73: Pulling fs layer 02:44:00 e871e8e8d7a9: Pulling fs layer 02:44:00 e73272ec9a57: Pulling fs layer 02:44:00 1e910a182e73: Pulling fs layer 02:44:00 4e634b169226: Pulling fs layer 02:44:00 e73272ec9a57: Waiting 02:44:00 1e910a182e73: Waiting 02:44:00 4e634b169226: Waiting 02:44:00 e871e8e8d7a9: Waiting 02:44:00 a92cc7c5fd73: Verifying Checksum 02:44:00 a92cc7c5fd73: Download complete 02:44:00 ed8968b2872e: Download complete 02:44:00 e73272ec9a57: Download complete 02:44:00 1e910a182e73: Verifying Checksum 02:44:00 1e910a182e73: Download complete 02:44:00 df20fa9351a1: Verifying Checksum 02:44:00 df20fa9351a1: Download complete 02:44:00 df20fa9351a1: Pull complete 02:44:00 ed8968b2872e: Pull complete 02:44:00 a92cc7c5fd73: Pull complete 02:44:02 4e634b169226: Verifying Checksum 02:44:02 4e634b169226: Download complete 02:44:03 e871e8e8d7a9: Verifying Checksum 02:44:03 e871e8e8d7a9: Download complete 02:44:10 e871e8e8d7a9: Pull complete 02:44:10 e73272ec9a57: Pull complete 02:44:10 1e910a182e73: Pull complete 02:44:13 4e634b169226: Pull complete 02:44:13 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 02:44:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:44:13 ---> f7629b54cfaa 02:44:13 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:13 ---> Running in 47571afd3825 02:44:13 Removing intermediate container 47571afd3825 02:44:13 ---> 206d886ca832 02:44:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:13 ---> Running in 81e65846edd6 02:44:15 Removing intermediate container 81e65846edd6 02:44:15 ---> fc7423e0f8a4 02:44:15 Step 5/8 : RUN apk add --no-cache make git 02:44:15 ---> Running in d5b29c05eeaa 02:44:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:44:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:44:17 OK: 166 MiB in 39 packages 02:44:18 Removing intermediate container d5b29c05eeaa 02:44:18 ---> 859b6cd9a101 02:44:18 Step 6/8 : WORKDIR /device-sdk-go 02:44:18 ---> Running in e603e43a03c3 02:44:18 Removing intermediate container e603e43a03c3 02:44:18 ---> 17733f2a9ec0 02:44:18 Step 7/8 : COPY . . 02:44:19 ---> 229cfef25b74 02:44:19 Step 8/8 : RUN go mod download 02:44:19 ---> Running in 0c9ac461d117 02:44:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4673 in /w/workspace/dgexfoundry_device-sdk-go_PR-623 [Pipeline] { [Pipeline] ws 02:44:29 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 02:44:34 using credential edgex-jenkins-ssh 02:44:35 Cloning the remote Git repository 02:44:35 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:35 > git init /w/workspace/device-sdk-go/2 # timeout=10 02:44:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:35 > git --version # timeout=10 02:44:35 > git --version # 'git version 2.17.1' 02:44:35 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:37 Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 02:44:37 Merge succeeded, producing 5edfee7bad5befac76fa84a49b5dddef3627ecad 02:44:37 Checking out Revision 5edfee7bad5befac76fa84a49b5dddef3627ecad (PR-623) 02:44:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:36 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/623/head:refs/remotes/origin/PR-623 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:37 > git config core.sparsecheckout # timeout=10 02:44:37 > git checkout -f b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 # timeout=10 02:44:37 > git remote # timeout=10 02:44:37 > git config --get remote.origin.url # timeout=10 02:44:37 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:37 > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 02:44:37 > git rev-parse HEAD^{commit} # timeout=10 02:44:37 > git config core.sparsecheckout # timeout=10 02:44:37 > git checkout -f 5edfee7bad5befac76fa84a49b5dddef3627ecad # timeout=10 02:44:37 Removing intermediate container 0c9ac461d117 02:44:37 ---> f592bcbad966 02:44:37 Successfully built f592bcbad966 02:44:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:44:38 + docker inspect -f . ci-base-image-x86_64 02:44:38 . [Pipeline] withDockerContainer 02:44:38 prd-centos7-docker-4c-2g-4674 does not seem to be running inside a container 02:44:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:44:40 $ docker top 1263c3559a0d26f0bcfd74231dca9c3872e5e31fa51ab6f1fd83ac65636a4b42 -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:40 + go version 02:44:40 go version go1.15.2 linux/amd64 [Pipeline] } 02:44:40 $ docker stop --time=1 1263c3559a0d26f0bcfd74231dca9c3872e5e31fa51ab6f1fd83ac65636a4b42 02:44:41 Commit message: "Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD" 02:44:41 > git rev-list --no-walk b78e5cf9de3cc6fa28de1827cbb2be8560d972a2 # timeout=10 02:44:42 $ docker rm -f 1263c3559a0d26f0bcfd74231dca9c3872e5e31fa51ab6f1fd83ac65636a4b42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] unstash 02:44:43 + docker inspect -f . ci-base-image-x86_64 02:44:43 . [Pipeline] withDockerContainer 02:44:43 prd-centos7-docker-4c-2g-4674 does not seem to be running inside a container 02:44:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:44:44 $ docker top 1b6ec8d506929514a6472e6d26d7e96fc82284bca6de9b63c700e8fe3f4109a4 -eo pid,comm [Pipeline] { [Pipeline] echo 02:44:44 ========================================================= 02:44:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:44:44 ========================================================= [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 02:44:44 + make test 02:44:44 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:44:45 + 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:44:46 Sending build context to Docker daemon 3.529MB 02:44:46 Step 1/8 : ARG BASE=golang:1.15-alpine 02:44:46 Step 2/8 : FROM ${BASE} 02:44:46 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:44:46 b538f80385f9: Pulling fs layer 02:44:46 74f711af9a0d: Pulling fs layer 02:44:46 99f96fe45779: Pulling fs layer 02:44:46 8529a6b9a6be: Pulling fs layer 02:44:46 45590311c82a: Pulling fs layer 02:44:46 69ca0ff8b7b3: Pulling fs layer 02:44:46 209524e5b208: Pulling fs layer 02:44:46 8529a6b9a6be: Waiting 02:44:46 45590311c82a: Waiting 02:44:46 69ca0ff8b7b3: Waiting 02:44:46 209524e5b208: Waiting 02:44:46 99f96fe45779: Download complete 02:44:46 74f711af9a0d: Verifying Checksum 02:44:46 74f711af9a0d: Download complete 02:44:46 45590311c82a: Verifying Checksum 02:44:46 45590311c82a: Download complete 02:44:47 69ca0ff8b7b3: Verifying Checksum 02:44:47 69ca0ff8b7b3: Download complete 02:44:47 b538f80385f9: Verifying Checksum 02:44:47 b538f80385f9: Download complete 02:44:47 b538f80385f9: Pull complete 02:44:48 74f711af9a0d: Pull complete 02:44:48 99f96fe45779: Pull complete 02:44:49 209524e5b208: Verifying Checksum 02:44:49 209524e5b208: Download complete 02:44:50 8529a6b9a6be: Verifying Checksum 02:44:50 8529a6b9a6be: Download complete 02:44:52 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:45:01 8529a6b9a6be: Pull complete 02:45:01 45590311c82a: Pull complete 02:45:01 69ca0ff8b7b3: Pull complete 02:45:04 209524e5b208: Pull complete 02:45:04 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 02:45:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:45:04 ---> 5bddaf1c2fca 02:45:04 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:07 ---> Running in 980252d1570f 02:45:07 Removing intermediate container 980252d1570f 02:45:07 ---> aaaa1bdb46b1 02:45:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:07 ---> Running in fb8459f9deee 02:45:07 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:45:07 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:45:07 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:45:07 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.083s coverage: 21.6% of statements 02:45:09 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.497s coverage: 97.1% of statements 02:45:10 Removing intermediate container fb8459f9deee 02:45:10 ---> 2f1e04c123b4 02:45:10 Step 5/8 : RUN apk add --no-cache make git 02:45:10 ---> Running in 7a004670ce43 02:45:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:45:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:45:13 OK: 142 MiB in 39 packages 02:45:15 Removing intermediate container 7a004670ce43 02:45:15 ---> d8dd404e6a5c 02:45:15 Step 6/8 : WORKDIR /device-sdk-go 02:45:15 ---> Running in a71e62dfb481 02:45:15 Removing intermediate container a71e62dfb481 02:45:15 ---> 164ecdd6ab6c 02:45:15 Step 7/8 : COPY . . 02:45:17 ---> 9121d2093555 02:45:17 Step 8/8 : RUN go mod download 02:45:17 ---> Running in a974e0ca0e36 02:45:39 Removing intermediate container a974e0ca0e36 02:45:39 ---> 108d637175ec 02:45:39 Successfully built 108d637175ec 02:45:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:45:39 + docker inspect -f . ci-base-image-arm64 02:45:39 . [Pipeline] withDockerContainer 02:45:40 prd-ubuntu18.04-docker-arm64-4c-16g-4673 does not seem to be running inside a container 02:45:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:45:41 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.061s coverage: 9.4% of statements 02:45:41 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.054s coverage: 21.9% of statements 02:45:41 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:45:41 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.275s coverage: 40.0% of statements 02:45:41 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:45:41 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.323s coverage: 68.9% of statements 02:45:41 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:45:41 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:45:41 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:45:41 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:45:41 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.076s coverage: 52.6% of statements 02:45:41 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:45:41 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.574s coverage: 68.9% of statements 02:45:41 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:45:41 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:45:41 GO111MODULE=on go vet ./... 02:45:42 $ docker top 14206f3be6e980addd78e63ee371f6201d443eec13f36aac298c89a35dd60753 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:43 + go version 02:45:43 go version go1.15.2 linux/arm64 [Pipeline] } 02:45:43 $ docker stop --time=1 14206f3be6e980addd78e63ee371f6201d443eec13f36aac298c89a35dd60753 02:45:45 $ docker rm -f 14206f3be6e980addd78e63ee371f6201d443eec13f36aac298c89a35dd60753 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:46 + docker inspect -f . ci-base-image-arm64 02:45:46 . [Pipeline] withDockerContainer 02:45:47 prd-ubuntu18.04-docker-arm64-4c-16g-4673 does not seem to be running inside a container 02:45:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:45:48 gofmt -l . 02:45:48 [ "`gofmt -l .`" = "" ] 02:45:48 ./bin/test-attribution-txt.sh 02:45:48 ./bin/test-go-mod-tidy.sh 02:45:49 $ docker top f3df610f6414ca47593b7ac014faaf6f038c226a30af4278905f404b324e441d -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] sh 02:45:49 Stashed 1 file(s) [Pipeline] } 02:45:49 $ docker stop --time=1 1b6ec8d506929514a6472e6d26d7e96fc82284bca6de9b63c700e8fe3f4109a4 02:45:50 + make test 02:45:50 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:51 $ docker rm -f 1b6ec8d506929514a6472e6d26d7e96fc82284bca6de9b63c700e8fe3f4109a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:45:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:45:53 + ls -al . 02:45:53 total 188 02:45:53 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 12 02:45 . 02:45:53 drwxrwxr-x. 4 jenkins jenkins 28 Oct 12 02:43 .. 02:45:53 drwxrwxr-x. 2 jenkins jenkins 64 Oct 12 02:43 bin 02:45:53 -rw-r--r--. 1 jenkins jenkins 110392 Oct 12 02:45 coverage.out 02:45:53 -rw-rw-r--. 1 jenkins jenkins 936 Oct 12 02:43 Dockerfile.build 02:45:53 -rw-rw-r--. 1 jenkins jenkins 140 Oct 12 02:43 .dockerignore 02:45:53 drwxrwxr-x. 4 jenkins jenkins 48 Oct 12 02:43 example 02:45:53 drwxrwxr-x. 8 jenkins jenkins 179 Oct 12 02:43 .git 02:45:53 drwxrwxr-x. 2 jenkins jenkins 60 Oct 12 02:43 .github 02:45:53 -rw-rw-r--. 1 jenkins jenkins 138 Oct 12 02:43 .gitignore 02:45:53 -rw-r--r--. 1 jenkins jenkins 517 Oct 12 02:45 go.mod 02:45:53 -rw-r--r--. 1 jenkins jenkins 13549 Oct 12 02:45 go.sum 02:45:53 drwxrwxr-x. 15 jenkins jenkins 211 Oct 12 02:43 internal 02:45:53 -rw-rw-r--. 1 jenkins jenkins 901 Oct 12 02:43 Jenkinsfile 02:45:53 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 12 02:43 LICENSE 02:45:53 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 12 02:43 Makefile 02:45:53 drwxrwxr-x. 4 jenkins jenkins 26 Oct 12 02:43 openapi 02:45:53 drwxrwxr-x. 5 jenkins jenkins 50 Oct 12 02:43 pkg 02:45:53 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 12 02:43 README.md 02:45:53 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 12 02:43 RELEASE-NOTES.txt 02:45:53 drwxrwxr-x. 3 jenkins jenkins 58 Oct 12 02:43 .semver 02:45:53 drwxrwxr-x. 4 jenkins jenkins 54 Oct 12 02:43 snap 02:45:53 -rw-rw-r--. 1 jenkins jenkins 5 Oct 12 02:42 VERSION 02:45:53 -rw-rw-r--. 1 jenkins jenkins 222 Oct 12 02:43 version.go [Pipeline] isUnix [Pipeline] sh 02:45:54 + 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=205ccd980acf5f0bd9bb286500b73f64744d76e5 --label arch=amd64 --label version=0.0.0 . 02:45:54 Sending build context to Docker daemon 3.64MB 02:45:54 Step 1/24 : ARG BASE=golang:1.15-alpine 02:45:54 Step 2/24 : FROM ${BASE} AS builder 02:45:54 ---> f592bcbad966 02:45:54 Step 3/24 : ARG MAKE='make build' 02:45:55 ---> Running in a668b530da47 02:45:55 Removing intermediate container a668b530da47 02:45:55 ---> 862a2b2ed4bf 02:45:55 Step 4/24 : WORKDIR /device-sdk-go 02:45:55 ---> Running in 0d5e399260c4 02:45:55 Removing intermediate container 0d5e399260c4 02:45:55 ---> dcfcfc1234c4 02:45:55 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:55 ---> Running in 43b8cd8a19b6 02:45:55 Removing intermediate container 43b8cd8a19b6 02:45:55 ---> e4d4c8792e1b 02:45:55 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:55 ---> Running in 6a76f152ad76 02:45:56 Removing intermediate container 6a76f152ad76 02:45:56 ---> be25b8e7b15a 02:45:56 Step 7/24 : RUN apk add --update --no-cache make git 02:45:56 ---> Running in a371c8f600d8 02:45:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:45:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:45:58 OK: 166 MiB in 39 packages 02:45:58 Removing intermediate container a371c8f600d8 02:45:58 ---> b21f9a61ba18 02:45:58 Step 8/24 : COPY . . 02:45:59 ---> 87012dfb6496 02:45:59 Step 9/24 : RUN ${MAKE} 02:45:59 ---> Running in 25ea456ad83a 02:46:00 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:46:08 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:46:11 Removing intermediate container 25ea456ad83a 02:46:11 ---> 930453d9c1e1 02:46:11 Step 10/24 : FROM scratch 02:46:11 ---> 02:46:11 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:11 ---> Running in d36eab985808 02:46:11 Removing intermediate container d36eab985808 02:46:11 ---> 812b3f0d74d2 02:46:11 Step 12/24 : ENV APP_PORT=49990 02:46:11 ---> Running in b3f2d47e0f7f 02:46:11 Removing intermediate container b3f2d47e0f7f 02:46:11 ---> 71b8b25b92aa 02:46:11 Step 13/24 : EXPOSE $APP_PORT 02:46:11 ---> Running in b6214a654049 02:46:11 Removing intermediate container b6214a654049 02:46:11 ---> 0df6b8ef7c26 02:46:11 Step 14/24 : WORKDIR / 02:46:11 ---> Running in e105fcd70b9e 02:46:11 Removing intermediate container e105fcd70b9e 02:46:11 ---> 51eb301afe89 02:46:11 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:46:12 ---> 7034f1e4659a 02:46:12 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:46:12 ---> ffa670731e07 02:46:12 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:46:12 ---> d1bd36e90e62 02:46:12 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:46:12 ---> 8542f30cb7e7 02:46:12 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:46:12 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:46:13 ---> 78983ed285ca 02:46:13 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:46:13 ---> Running in 4c051e0ef5fc 02:46:13 Removing intermediate container 4c051e0ef5fc 02:46:13 ---> fe9542290c9e 02:46:13 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:46:13 ---> Running in 43f49867d89c 02:46:13 Removing intermediate container 43f49867d89c 02:46:13 ---> 7b673469163d 02:46:13 Step 22/24 : LABEL arch=amd64 02:46:13 ---> Running in 55d1acedfe8f 02:46:13 Removing intermediate container 55d1acedfe8f 02:46:13 ---> f45dbc982aa1 02:46:13 Step 23/24 : LABEL git_sha=205ccd980acf5f0bd9bb286500b73f64744d76e5 02:46:13 ---> Running in be56fe8626ca 02:46:14 Removing intermediate container be56fe8626ca 02:46:14 ---> a1ef002af1e2 02:46:14 Step 24/24 : LABEL version=0.0.0 02:46:14 ---> Running in 7d753cf7b66c 02:46:14 Removing intermediate container 7d753cf7b66c 02:46:14 ---> a4b0c98e556e 02:46:14 [Warning] One or more build-args [ARCH] were not consumed 02:46:14 Successfully built a4b0c98e556e 02:46:14 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:46:52 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:46:52 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:46:52 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:46:52 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.177s coverage: 21.6% of statements 02:46:57 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.212s coverage: 97.1% of statements 02:47:24 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.151s coverage: 9.4% of statements 02:47:24 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.122s coverage: 21.9% of statements 02:47:24 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:47:24 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.564s coverage: 40.0% of statements 02:47:24 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:47:24 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.868s coverage: 68.9% of statements 02:47:24 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:47:24 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:47:24 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:47:24 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:47:24 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.189s coverage: 52.6% of statements 02:47:24 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:47:24 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.058s coverage: 68.9% of statements 02:47:24 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:47:24 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:47:24 GO111MODULE=on go vet ./... 02:47:57 gofmt -l . 02:47:57 [ "`gofmt -l .`" = "" ] 02:47:57 ./bin/test-attribution-txt.sh 02:47:57 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:47:57 Warning: overwriting stash ‘coverage-report’ 02:47:58 Stashed 1 file(s) [Pipeline] } 02:47:58 $ docker stop --time=1 f3df610f6414ca47593b7ac014faaf6f038c226a30af4278905f404b324e441d 02:48:00 $ docker rm -f f3df610f6414ca47593b7ac014faaf6f038c226a30af4278905f404b324e441d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:48:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:48:02 + ls -al . 02:48:02 total 228 02:48:02 drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 02:47 . 02:48:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:44 .. 02:48:02 -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 02:44 .dockerignore 02:48:02 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 02:44 .git 02:48:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:44 .github 02:48:02 -rw-rw-r-- 1 jenkins jenkins 138 Oct 12 02:44 .gitignore 02:48:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:44 .semver 02:48:02 -rw-rw-r-- 1 jenkins jenkins 936 Oct 12 02:44 Dockerfile.build 02:48:02 -rw-rw-r-- 1 jenkins jenkins 901 Oct 12 02:44 Jenkinsfile 02:48:02 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 02:44 LICENSE 02:48:02 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 12 02:44 Makefile 02:48:02 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 12 02:44 README.md 02:48:02 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 12 02:44 RELEASE-NOTES.txt 02:48:02 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 02:42 VERSION 02:48:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:44 bin 02:48:02 -rw-r--r-- 1 jenkins jenkins 110392 Oct 12 02:47 coverage.out 02:48:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:44 example 02:48:02 -rw-r--r-- 1 jenkins jenkins 517 Oct 12 02:47 go.mod 02:48:02 -rw-r--r-- 1 jenkins jenkins 13549 Oct 12 02:47 go.sum 02:48:02 drwxrwxr-x 15 jenkins jenkins 4096 Oct 12 02:44 internal 02:48:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:44 openapi 02:48:02 drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 02:44 pkg 02:48:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:44 snap 02:48:02 -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:48:02 + 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=205ccd980acf5f0bd9bb286500b73f64744d76e5 --label arch=arm64 --label version=0.0.0 . 02:48:03 Sending build context to Docker daemon 3.64MB 02:48:03 Step 1/24 : ARG BASE=golang:1.15-alpine 02:48:03 Step 2/24 : FROM ${BASE} AS builder 02:48:03 ---> 108d637175ec 02:48:03 Step 3/24 : ARG MAKE='make build' 02:48:03 ---> Running in 302438e32662 02:48:04 Removing intermediate container 302438e32662 02:48:04 ---> 7e79f616961a 02:48:04 Step 4/24 : WORKDIR /device-sdk-go 02:48:04 ---> Running in b8ab6acb6926 02:48:04 Removing intermediate container b8ab6acb6926 02:48:04 ---> 6e006383b5b5 02:48:04 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:04 ---> Running in d76cf142c90e 02:48:05 Removing intermediate container d76cf142c90e 02:48:05 ---> 9dc0494fff75 02:48:05 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:05 ---> Running in 278f31b8fb7f 02:48:07 Removing intermediate container 278f31b8fb7f 02:48:07 ---> e9412f23bab5 02:48:07 Step 7/24 : RUN apk add --update --no-cache make git 02:48:07 ---> Running in 52e74b4d6726 02:48:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:48:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:48:11 OK: 142 MiB in 39 packages 02:48:12 Removing intermediate container 52e74b4d6726 02:48:12 ---> 88b3192ee353 02:48:12 Step 8/24 : COPY . . 02:48:14 ---> 0ef9e988a0a0 02:48:14 Step 9/24 : RUN ${MAKE} 02:48:14 ---> Running in c4fb4ffe73df 02:48:15 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:48:42 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:48:44 Removing intermediate container c4fb4ffe73df 02:48:44 ---> 7691424dfa4d 02:48:44 Step 10/24 : FROM scratch 02:48:44 ---> 02:48:44 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:44 ---> Running in 4dc6ffce9228 02:48:44 Removing intermediate container 4dc6ffce9228 02:48:44 ---> a33ca361eb77 02:48:44 Step 12/24 : ENV APP_PORT=49990 02:48:44 ---> Running in efb9e720bed0 02:48:45 Removing intermediate container efb9e720bed0 02:48:45 ---> 0f311f3481c2 02:48:45 Step 13/24 : EXPOSE $APP_PORT 02:48:45 ---> Running in d1f3709fc51f 02:48:45 Removing intermediate container d1f3709fc51f 02:48:45 ---> d5577e00438a 02:48:45 Step 14/24 : WORKDIR / 02:48:45 ---> Running in 962fff263e74 02:48:46 Removing intermediate container 962fff263e74 02:48:46 ---> d6e1f1153458 02:48:46 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:48:47 ---> 6e369ef169ea 02:48:47 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:48:48 ---> bc949ea37f48 02:48:48 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:48:49 ---> 5712963beea8 02:48:49 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:48:50 ---> 535ae51cc6e2 02:48:50 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:48:50 ---> bae9bbceb47d 02:48:50 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:48:50 ---> Running in 65018cf51a9c 02:48:51 Removing intermediate container 65018cf51a9c 02:48:51 ---> 18a6b2a40cba 02:48:51 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:48:51 ---> Running in d6aa4cfe54d8 02:48:51 Removing intermediate container d6aa4cfe54d8 02:48:51 ---> a64202e2f086 02:48:51 Step 22/24 : LABEL arch=arm64 02:48:52 ---> Running in d1aab118aad6 02:48:52 Removing intermediate container d1aab118aad6 02:48:52 ---> 5c1c4fea9415 02:48:52 Step 23/24 : LABEL git_sha=205ccd980acf5f0bd9bb286500b73f64744d76e5 02:48:52 ---> Running in 6923fa3db829 02:48:53 Removing intermediate container 6923fa3db829 02:48:53 ---> 5a7cc78c5f6d 02:48:53 Step 24/24 : LABEL version=0.0.0 02:48:53 ---> Running in a20a6f089841 02:48:53 Removing intermediate container a20a6f089841 02:48:53 ---> b62533fb74e4 02:48:53 [Warning] One or more build-args [ARCH] were not consumed 02:48:53 Successfully built b62533fb74e4 02:48:53 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:48:55 provisioning config files... 02:48:55 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-623@tmp/config6139640879726090613tmp [Pipeline] { [Pipeline] sh 02:48:56 + set +x 02:48:56 + curl -s https://codecov.io/bash 02:48:56 + bash -s -- 02:48:56 02:48:56 _____ _ 02:48:56 / ____| | | 02:48:56 | | ___ __| | ___ ___ _____ __ 02:48:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:48:56 | |___| (_) | (_| | __/ (_| (_) \ V / 02:48:56 \_____\___/ \__,_|\___|\___\___/ \_/ 02:48:56 Bash-20201009-048fee3 02:48:56 02:48:56 02:48:56 ==> Jenkins CI detected. 02:48:56 project root: . 02:48:56 Fixing merge commit SHA 02:48:56 --> token set from env 02:48:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:48:56 ==> Running gcov in . (disable via -X gcov) 02:48:56 ==> Python coveragepy not found 02:48:56 ==> Searching for coverage reports in: 02:48:56 + . 02:48:56 -> Found 1 reports 02:48:56 ==> Detecting git/mercurial file structure 02:48:56 ==> Reading reports 02:48:56 + ./coverage.out bytes=110392 02:48:56 ==> Appending adjustments 02:48:56 https://docs.codecov.io/docs/fixing-reports 02:48:56 + Found adjustments 02:48:56 ==> Gzipping contents 02:48:56 ==> Uploading reports 02:48:56 url: https://codecov.io 02:48:56 query: branch=PR-623&commit=153a43e7e060228c1df4c616c423a5b384e52518&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-623%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=623&job=&cmd_args= 02:48:56 -> Pinging Codecov 02:48:56 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-623&commit=153a43e7e060228c1df4c616c423a5b384e52518&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-623%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=623&job=&cmd_args= 02:48:56 -> Uploading to 02:48:56 02:48:56 % Total % Received % Xferd Average Speed Time Time Time Current 02:48:56 Dload Upload Total Spent Left Speed 02:48:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 02:48:56 X> Failed to upload 02:48:56 ==> Uploading to Codecov 02:48:56 % Total % Received % Xferd Average Speed Time Time Time Current 02:48:56 Dload Upload Total Spent Left Speed 02:48:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18418 100 110 100 18308 164 27390 --:--:-- --:--:-- --:--:-- 27366 02:48:57 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/153a43e7e060228c1df4c616c423a5b384e52518 [Pipeline] } 02:48:57 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 02:49:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:49:00 ---> package-listing.sh 02:49:00 ++ facter osfamily 02:49:00 ++ tr '[:upper:]' '[:lower:]' 02:49:00 + OS_FAMILY=redhat 02:49:00 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-623 02:49:00 + START_PACKAGES=/tmp/packages_start.txt 02:49:00 + END_PACKAGES=/tmp/packages_end.txt 02:49:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:49:00 + PACKAGES=/tmp/packages_start.txt 02:49:00 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-623 ']' 02:49:00 + PACKAGES=/tmp/packages_end.txt 02:49:00 + case "${OS_FAMILY}" in 02:49:00 + rpm -qa 02:49:00 + sort 02:49:04 + '[' -f /tmp/packages_start.txt ']' 02:49:04 + '[' -f /tmp/packages_end.txt ']' 02:49:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:49:04 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-623 ']' 02:49:04 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-623/archives/ 02:49:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-623/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:49:04 provisioning config files... 02:49:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-623@tmp/config1754944616256881299tmp [Pipeline] { [Pipeline] echo 02:49:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:49:05 ---> create-netrc.sh [Pipeline] } 02:49:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:49:05 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:49:05 ---> python-tools-install.sh 02:49:05 Generating Requirements File 02:50:13 Python 3.6.8 02:50:13 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 02:50:14 appdirs==1.4.3 02:50:14 argcomplete==1.12.1 02:50:14 aspy.yaml==1.3.0 02:50:14 attrs==19.3.0 02:50:14 Babel==2.8.0 02:50:14 beautifulsoup4==4.8.2 02:50:14 boto3==1.11.6 02:50:14 botocore==1.14.6 02:50:14 bs4==0.0.1 02:50:14 cachetools==4.1.1 02:50:14 certifi==2019.11.28 02:50:14 cffi==1.14.3 02:50:14 cfgv==2.0.1 02:50:14 chardet==3.0.4 02:50:14 click==7.1 02:50:14 cliff==3.4.0 02:50:14 cmd2==1.3.11 02:50:14 colorama==0.4.3 02:50:14 cryptography==3.1.1 02:50:14 debtcollector==2.2.0 02:50:14 decorator==4.4.2 02:50:14 defusedxml==0.6.0 02:50:14 Deprecated==1.2.7 02:50:14 distlib==0.3.1 02:50:14 distro==1.2.0 02:50:14 dnspython==1.16.0 02:50:14 docker==4.2.0 02:50:14 docutils==0.15.2 02:50:14 dogpile.cache==1.0.2 02:50:14 email-validator==1.0.5 02:50:14 filelock==3.0.12 02:50:14 future==0.18.2 02:50:14 google-auth==1.22.1 02:50:14 httplib2==0.17.0 02:50:14 identify==1.4.11 02:50:14 idna==2.9 02:50:14 importlib-metadata==2.0.0 02:50:14 importlib-resources==1.5.0 02:50:14 iso8601==0.1.13 02:50:14 Jinja2==2.11.1 02:50:14 jmespath==0.10.0 02:50:14 jsonpatch==1.26 02:50:14 jsonpointer==2.0 02:50:14 jsonschema==3.2.0 02:50:14 keystoneauth1==4.2.1 02:50:14 kubernetes==11.0.0 02:50:14 lftools==0.34.2 02:50:14 lxml==4.5.0 02:50:14 MarkupSafe==0.23 02:50:14 msgpack==1.0.0 02:50:14 multi-key-dict==2.0.3 02:50:14 munch==2.5.0 02:50:14 netaddr==0.8.0 02:50:14 netifaces==0.10.9 02:50:14 niet==1.4.2 02:50:14 nodeenv==1.3.5 02:50:14 oauth2client==4.1.3 02:50:14 oauthlib==3.1.0 02:50:14 openstacksdk==0.50.0 02:50:14 os-client-config==2.1.0 02:50:14 os-service-types==1.7.0 02:50:14 osc-lib==2.2.1 02:50:14 oslo.config==8.3.2 02:50:14 oslo.context==3.1.1 02:50:14 oslo.i18n==5.0.1 02:50:14 oslo.log==4.4.0 02:50:14 oslo.serialization==4.0.1 02:50:14 oslo.utils==4.6.0 02:50:14 packaging==20.4 02:50:14 pbr==5.4.4 02:50:14 pluggy==0.13.1 02:50:14 prettytable==0.7.2 02:50:14 py==1.9.0 02:50:14 pyasn1==0.4.8 02:50:14 pyasn1-modules==0.2.8 02:50:14 pycparser==2.20 02:50:14 pygerrit2==2.0.10 02:50:14 PyGithub==1.46 02:50:14 pyinotify==0.9.6 02:50:14 PyJWT==1.7.1 02:50:14 pyparsing==2.4.7 02:50:14 pyperclip==1.8.1 02:50:14 pyroute2==0.4.13 02:50:14 pyrsistent==0.15.7 02:50:14 PySocks==1.6.8 02:50:14 python-cinderclient==7.2.0 02:50:14 python-dateutil==2.8.1 02:50:14 python-heatclient==2.2.1 02:50:14 python-jenkins==1.7.0 02:50:14 python-keystoneclient==4.1.1 02:50:14 python-magnumclient==3.2.1 02:50:14 python-novaclient==17.2.1 02:50:14 python-openstackclient==5.4.0 02:50:14 python-swiftclient==3.10.1 02:50:14 pytz==2020.1 02:50:14 PyYAML==5.3 02:50:14 requests==2.23.0 02:50:14 requests-oauthlib==1.3.0 02:50:14 requestsexceptions==1.4.0 02:50:14 rfc3986==1.4.0 02:50:14 rpm==4.11.3 02:50:14 rsa==4.0 02:50:14 ruamel.yaml==0.16.10 02:50:14 ruamel.yaml.clib==0.2.0 02:50:14 s3transfer==0.3.3 02:50:14 shade==1.27.2 02:50:14 simplejson==3.17.2 02:50:14 six==1.14.0 02:50:14 soupsieve==2.0 02:50:14 stevedore==3.2.2 02:50:14 tabulate==0.8.6 02:50:14 toml==0.10.0 02:50:14 tox==3.20.1 02:50:14 tqdm==4.43.0 02:50:14 urllib3==1.25.8 02:50:14 virtualenv==20.0.33 02:50:14 wcwidth==0.2.5 02:50:14 websocket-client==0.57.0 02:50:14 wrapt==1.12.1 02:50:14 xdg==3.0.2 02:50:14 xmltodict==0.12.0 02:50:14 yq==2.11.1 02:50:14 zipp==3.3.0 02:50:15 Cache entry deserialization failed, entry ignored 02:50:17 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:50:20 Python 2.7.5 02:50:20 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 02:50:21 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:50:21 ansible==2.9.7 02:50:21 Babel==0.9.6 02:50:21 backports.ssl-match-hostname==3.5.0.1 02:50:21 beautifulsoup4==4.4.1 02:50:21 bodhi==2.11.0 02:50:21 bodhi-client==2.11.0 02:50:21 CCColUtils==1.4 02:50:21 cffi==1.6.0 02:50:21 chardet==2.2.1 02:50:21 click==6.7 02:50:21 cloud-init==18.5 02:50:21 configobj==4.7.2 02:50:21 cryptography==1.7.2 02:50:21 decorator==3.4.0 02:50:21 distro==1.2.0 02:50:21 enum34==1.0.4 02:50:21 fedpkg==1.38 02:50:21 futures==3.1.1 02:50:21 gitdb==0.6.4 02:50:21 GitPython==1.0.1 02:50:21 html5lib==0.999 02:50:21 httplib2==0.9.2 02:50:21 idna==2.4 02:50:21 iniparse==0.4 02:50:21 ipaddress==1.0.16 02:50:21 IPy==0.75 02:50:21 javapackages==1.0.0 02:50:21 Jinja2==2.7.2 02:50:21 jmespath==0.9.4 02:50:21 jsonpatch==1.2 02:50:21 jsonpointer==1.9 02:50:21 kerberos==1.1 02:50:21 kitchen==1.1.1 02:50:21 langtable==0.0.31 02:50:21 lockfile==0.9.1 02:50:21 lxml==3.2.1 02:50:21 MarkupSafe==0.11 02:50:21 munch==2.0.2 02:50:21 offtrac==0.1.0 02:50:21 openidc-client==0.6.0 02:50:21 packagedb-cli==2.14.1 02:50:21 paramiko==2.1.1 02:50:21 perf==0.1 02:50:21 ply==3.4 02:50:21 policycoreutils-default-encoding==0.1 02:50:21 prettytable==0.7.2 02:50:21 pyasn1==0.1.9 02:50:21 pycparser==2.14 02:50:21 pycurl==7.19.0 02:50:21 pygobject==3.22.0 02:50:21 pygpgme==0.3 02:50:21 pyliblzma==0.5.3 02:50:21 pyOpenSSL==0.13.1 02:50:21 pyparsing==1.5.6 02:50:21 pyserial==2.6 02:50:21 python-augeas==0.5.0 02:50:21 python-bugzilla==2.3.0 02:50:21 python-dateutil==1.5 02:50:21 python-fedora==0.10.0 02:50:21 python-linux-procfs==0.4.9 02:50:21 python-yubico==1.2.3 02:50:21 pyudev==0.15 02:50:21 pyusb==1.0.0b1 02:50:21 pyxattr==0.5.1 02:50:21 PyYAML==3.10 02:50:21 requests==2.6.0 02:50:21 requests-kerberos==0.7.0 02:50:21 rpkg==1.60 02:50:21 schedutils==0.4 02:50:21 seobject==0.1 02:50:21 sepolicy==1.1 02:50:21 six==1.9.0 02:50:21 smmap==0.9.0 02:50:21 urlgrabber==3.10 02:50:21 urllib3==1.10.2 02:50:21 virtualenv==15.1.0 02:50:21 yum-langpacks==0.4.2 02:50:21 yum-metadata-parser==1.1.4 [Pipeline] echo 02:50:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:50:21 ---> sudo-logs.sh 02:50:21 Archiving 'sudo' log.. [Pipeline] echo 02:50:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:50:21 ---> job-cost.sh 02:50:21 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zL7E 02:50:31 Cache entry deserialization failed, entry ignored 02:50:31 Cache entry deserialization failed, entry ignored 02:50:32 Cache entry deserialization failed, entry ignored 02:50:32 Cache entry deserialization failed, entry ignored 02:50:32 Cache entry deserialization failed, entry ignored 02:50:34 Cache entry deserialization failed, entry ignored 02:50:34 Cache entry deserialization failed, entry ignored 02:50:34 Cache entry deserialization failed, entry ignored 02:50:34 Cache entry deserialization failed, entry ignored 02:50:34 Cache entry deserialization failed, entry ignored 02:50:34 Cache entry deserialization failed, entry ignored 02:50:34 Cache entry deserialization failed, entry ignored 02:50:34 Cache entry deserialization failed, entry ignored 02:50:37 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:51:03 lf-activate-venv(): INFO: Adding /tmp/venv-zL7E/bin to PATH 02:51:03 INFO: No Stack... 02:51:04 INFO: Retrieving Pricing Info for: v1-standard-2 02:51:06 INFO: Archiving Costs [Pipeline] echo 02:51:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:51:06 ---> logs-deploy.sh 02:51:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-623/2 02:51:06 INFO: archiving workspace using pattern(s): 02:51:08 Archives upload complete. 02:51:08 INFO: archiving logs to Nexus