Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b548679428654ee0dca8f5b5dc3d7fcaeb119b73+153a43e7e060228c1df4c616c423a5b384e52518 (ba5390c1f73f7d49d4ce21d12e8074766da6f68c) 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-4672 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [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-582 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit b548679428654ee0dca8f5b5dc3d7fcaeb119b73 Merge succeeded, producing 818d6e32d39a44fa0348641b45de1d8d37d10b77 Checking out Revision 818d6e32d39a44fa0348641b45de1d8d37d10b77 (PR-582) > git config core.sparsecheckout # timeout=10 > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # 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 818d6e32d39a44fa0348641b45de1d8d37d10b77 # timeout=10 Commit message: "Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD" > git rev-list --no-walk b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:43:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:43:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:43:29 ========================================================= 02:43:29 EdgeX Global Pipelines Version Info 02:43:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:43:30 ------------------- 02:43:30 stable info: 02:43:30 ------------------- 02:43:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:30 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 02:43:30 Message: update stable to v1.0.131 02:43:31 ------------------- 02:43:31 experimental info: 02:43:31 ------------------- 02:43:31 Commited By: **** collab-it+edgex@linuxfoundation.org 02:43:31 Commit SHA: 2e6d42a532571151575c80d72899821df0f9b0af 02:43:31 Message: update experimental to v1.0.135 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:43:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:43:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:43:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:43:32 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:43:32 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:43:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:43:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:43:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:43:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:43:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:43:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo 02:43:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo 02:43:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo 02:43:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 818d6e32d39a44fa0348641b45de1d8d37d10b77 [Pipeline] echo 02:43:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 818d6e3 [Pipeline] echo 02:43:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:36 + git log --format=format:%s -1 818d6e32d39a44fa0348641b45de1d8d37d10b77 [Pipeline] echo 02:43:36 GIT_COMMIT: 818d6e32d39a44fa0348641b45de1d8d37d10b77, Commit Message: Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD [Pipeline] echo 02:43:36 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:38 02:43:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:38 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:38 latest: Pulling from edgex-devops/git-semver 02:43:38 31603596830f: Pulling fs layer 02:43:38 2a8b12db71e7: Pulling fs layer 02:43:38 6ca5941a6612: Pulling fs layer 02:43:38 ecc8261a40a4: Pulling fs layer 02:43:38 ecc8261a40a4: Waiting 02:43:38 2a8b12db71e7: Verifying Checksum 02:43:38 2a8b12db71e7: Download complete 02:43:38 31603596830f: Verifying Checksum 02:43:38 31603596830f: Download complete 02:43:38 6ca5941a6612: Verifying Checksum 02:43:38 6ca5941a6612: Download complete 02:43:38 ecc8261a40a4: Verifying Checksum 02:43:38 ecc8261a40a4: Download complete 02:43:39 31603596830f: Pull complete 02:43:39 2a8b12db71e7: Pull complete 02:43:39 6ca5941a6612: Pull complete 02:43:40 ecc8261a40a4: Pull complete 02:43:40 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:40 prd-centos7-docker-4c-2g-4672 does not seem to be running inside a container 02:43:40 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:43:42 $ docker top 18a8a2089fdc603c570df6960d9beac5c94a3a9cb550063c7cb5a62f34d96eda -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:43 [ssh-agent] Looking for ssh-agent implementation... 02:43:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:43 $ docker exec 18a8a2089fdc603c570df6960d9beac5c94a3a9cb550063c7cb5a62f34d96eda ssh-agent 02:43:43 SSH_AUTH_SOCK=/tmp/ssh-cnNtvgQ8QIwP/agent.11 02:43:43 SSH_AGENT_PID=16 02:43:43 Running ssh-add (command line suppressed) 02:43:43 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_1519344877537946845.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_1519344877537946845.key) 02:43:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:43 + git describe --exact-match --tags HEAD 02:43:43 fatal: no tag exactly matches '818d6e32d39a44fa0348641b45de1d8d37d10b77' [Pipeline] } 02:43:43 $ docker exec --env ******** --env ******** 18a8a2089fdc603c570df6960d9beac5c94a3a9cb550063c7cb5a62f34d96eda ssh-agent -k 02:43:44 unset SSH_AUTH_SOCK; 02:43:44 unset SSH_AGENT_PID; 02:43:44 echo Agent pid 16 killed; 02:43:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 02:43:44 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 02:43:44 This usually means this commit has not been tagged. [Pipeline] sshagent 02:43:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:44 [ssh-agent] Looking for ssh-agent implementation... 02:43:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:44 $ docker exec 18a8a2089fdc603c570df6960d9beac5c94a3a9cb550063c7cb5a62f34d96eda ssh-agent 02:43:44 SSH_AUTH_SOCK=/tmp/ssh-tlOqmpjvht4t/agent.46 02:43:44 SSH_AGENT_PID=51 02:43:44 Running ssh-add (command line suppressed) 02:43:44 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_4709909416527385791.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_4709909416527385791.key) 02:43:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:45 + git semver init 02:43:45 # -> Open(): unable to determine branch for HEAD 02:43:45 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git 02:43:45 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 02:43:45 # $SEMVER_REMOTE_NAME = origin 02:43:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:45 # $SEMVER_USER_NAME = edgex-jenkins 02:43:45 # $SEMVER_BRANCH = PR-582 02:43:45 # $SEMVER_TEMP = /tmp/semver-289459226 02:43:45 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:45 # '/tmp/semver-289459226' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' 02:43:45 # -> Force: false 02:43:45 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } 02:43:45 $ docker exec --env ******** --env ******** 18a8a2089fdc603c570df6960d9beac5c94a3a9cb550063c7cb5a62f34d96eda ssh-agent -k 02:43:45 unset SSH_AUTH_SOCK; 02:43:45 unset SSH_AGENT_PID; 02:43:45 echo Agent pid 51 killed; 02:43:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:46 + git semver [Pipeline] } 02:43:46 $ docker stop --time=1 18a8a2089fdc603c570df6960d9beac5c94a3a9cb550063c7cb5a62f34d96eda 02:43:47 $ docker rm -f 18a8a2089fdc603c570df6960d9beac5c94a3a9cb550063c7cb5a62f34d96eda [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:43:48 Stashed 48 file(s) [Pipeline] echo 02:43:48 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 02:43:48 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:44:04 Still waiting to schedule task 02:44:04 Executor slot already in use; ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-4675’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4673’ doesn’t have label ‘centos7-docker-4c-2g’ 02:44:04 Still waiting to schedule task 02:44:04 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:47:39 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4686 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws 02:47:39 Running in /w/workspace/device-sdk-go/19 [Pipeline] { [Pipeline] checkout 02:47:45 using credential edgex-jenkins-ssh 02:47:45 Cloning the remote Git repository 02:47:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:47:46 > git init /w/workspace/device-sdk-go/19 # timeout=10 02:47:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:46 > git --version # timeout=10 02:47:46 > git --version # 'git version 2.17.1' 02:47:46 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:47 Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit b548679428654ee0dca8f5b5dc3d7fcaeb119b73 02:47:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:47 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:47:47 > git config core.sparsecheckout # timeout=10 02:47:48 > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 02:47:48 > git remote # timeout=10 02:47:48 > git config --get remote.origin.url # timeout=10 02:47:48 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:48 > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 02:47:48 Merge succeeded, producing e9aecc84da60c34cc7b18326bded6cf45bc84c3f 02:47:48 Checking out Revision e9aecc84da60c34cc7b18326bded6cf45bc84c3f (PR-582) 02:47:48 > git rev-parse HEAD^{commit} # timeout=10 02:47:48 > git config core.sparsecheckout # timeout=10 02:47:48 > git checkout -f e9aecc84da60c34cc7b18326bded6cf45bc84c3f # timeout=10 02:47:52 Commit message: "Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD" 02:47:52 > git rev-list --no-walk b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:47:54 ========================================================= 02:47:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:47:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:47:55 + 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:47:56 Sending build context to Docker daemon 3.529MB 02:47:56 Step 1/8 : ARG BASE=golang:1.15-alpine 02:47:56 Step 2/8 : FROM ${BASE} 02:47:57 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:47:57 b538f80385f9: Pulling fs layer 02:47:57 74f711af9a0d: Pulling fs layer 02:47:57 99f96fe45779: Pulling fs layer 02:47:57 8529a6b9a6be: Pulling fs layer 02:47:57 45590311c82a: Pulling fs layer 02:47:57 69ca0ff8b7b3: Pulling fs layer 02:47:57 209524e5b208: Pulling fs layer 02:47:57 8529a6b9a6be: Waiting 02:47:57 45590311c82a: Waiting 02:47:57 69ca0ff8b7b3: Waiting 02:47:57 209524e5b208: Waiting 02:47:57 99f96fe45779: Verifying Checksum 02:47:57 99f96fe45779: Download complete 02:47:57 74f711af9a0d: Download complete 02:47:57 45590311c82a: Verifying Checksum 02:47:57 45590311c82a: Download complete 02:47:57 69ca0ff8b7b3: Verifying Checksum 02:47:57 69ca0ff8b7b3: Download complete 02:47:57 b538f80385f9: Verifying Checksum 02:47:57 b538f80385f9: Download complete 02:47:58 b538f80385f9: Pull complete 02:47:58 74f711af9a0d: Pull complete 02:47:59 99f96fe45779: Pull complete 02:47:59 209524e5b208: Verifying Checksum 02:47:59 209524e5b208: Download complete 02:48:01 8529a6b9a6be: Verifying Checksum 02:48:01 8529a6b9a6be: Download complete 02:48:11 8529a6b9a6be: Pull complete 02:48:11 45590311c82a: Pull complete 02:48:11 69ca0ff8b7b3: Pull complete 02:48:15 209524e5b208: Pull complete 02:48:15 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 02:48:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:48:15 ---> 5bddaf1c2fca 02:48:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:19 ---> Running in fc7a078b7da8 02:48:19 Removing intermediate container fc7a078b7da8 02:48:19 ---> 3b2603403e3f 02:48:19 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:19 ---> Running in 8b37bb729e52 02:48:22 Removing intermediate container 8b37bb729e52 02:48:22 ---> 07586bc2d718 02:48:22 Step 5/8 : RUN apk add --no-cache make git 02:48:22 ---> Running in f8d68dc9a042 02:48:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:48:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:48:25 OK: 142 MiB in 39 packages 02:48:26 Removing intermediate container f8d68dc9a042 02:48:26 ---> ee6182070e33 02:48:26 Step 6/8 : WORKDIR /device-sdk-go 02:48:27 ---> Running in d54c2074976b 02:48:27 Removing intermediate container d54c2074976b 02:48:27 ---> eb0110583d0f 02:48:27 Step 7/8 : COPY . . 02:48:29 ---> 22e9581eefce 02:48:29 Step 8/8 : RUN go mod download 02:48:29 ---> Running in d57c25dfa394 02:48:55 Removing intermediate container d57c25dfa394 02:48:55 ---> 752ca8f57dcc 02:48:55 Successfully built 752ca8f57dcc 02:48:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:48:56 + docker inspect -f . ci-base-image-arm64 02:48:56 . [Pipeline] withDockerContainer 02:48:56 prd-ubuntu18.04-docker-arm64-4c-16g-4686 does not seem to be running inside a container 02:48:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/19 -v /w/workspace/device-sdk-go/19:/w/workspace/device-sdk-go/19:rw,z -v /w/workspace/device-sdk-go/19@tmp:/w/workspace/device-sdk-go/19@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 ******** ci-base-image-arm64 cat 02:48:58 $ docker top b35921bfe1131d37a1c6eecc57c93036033e0133814140d6d6c3f6fd920481ea -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:00 + go version 02:49:00 go version go1.15.2 linux/arm64 [Pipeline] } 02:49:00 $ docker stop --time=1 b35921bfe1131d37a1c6eecc57c93036033e0133814140d6d6c3f6fd920481ea 02:49:02 $ docker rm -f b35921bfe1131d37a1c6eecc57c93036033e0133814140d6d6c3f6fd920481ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:49:03 + docker inspect -f . ci-base-image-arm64 02:49:03 . [Pipeline] withDockerContainer 02:49:03 prd-ubuntu18.04-docker-arm64-4c-16g-4686 does not seem to be running inside a container 02:49:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/19 -v /w/workspace/device-sdk-go/19:/w/workspace/device-sdk-go/19:rw,z -v /w/workspace/device-sdk-go/19@tmp:/w/workspace/device-sdk-go/19@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 ******** ci-base-image-arm64 cat 02:49:06 $ docker top 6748a4497575b226b7f5b9ed30cfa1bb250d0cc8fa83a3620ced1a16f9fee468 -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:07 + make test 02:49:07 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:49:34 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:50:21 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:50:21 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:50:21 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:50:21 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.159s coverage: 21.6% of statements 02:50:23 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.322s coverage: 97.1% of statements 02:50:50 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.135s coverage: 9.4% of statements 02:50:50 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.148s coverage: 21.9% of statements 02:50:50 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:50:50 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.608s coverage: 40.0% of statements 02:50:50 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:50:50 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.803s coverage: 68.9% of statements 02:50:50 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:50:50 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:50:50 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:50:50 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:50:50 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.183s coverage: 52.6% of statements 02:50:50 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:50:50 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.407s coverage: 68.9% of statements 02:50:50 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:50:50 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:50:50 GO111MODULE=on go vet ./... 02:51:06 Running on prd-centos7-docker-4c-2g-4689 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws 02:51:06 Running in /w/workspace/device-sdk-go/19 [Pipeline] { [Pipeline] checkout 02:51:10 using credential edgex-jenkins-ssh 02:51:10 Cloning the remote Git repository 02:51:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:51:10 > git init /w/workspace/device-sdk-go/19 # timeout=10 02:51:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:51:10 > git --version # timeout=10 02:51:10 > git --version # 'git version 2.16.5' 02:51:10 using GIT_SSH to set credentials SSH Credentials for GitHub 02:51:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:51:11 Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit b548679428654ee0dca8f5b5dc3d7fcaeb119b73 02:51:11 Merge succeeded, producing 081caa7058a7555b986260026f18282c66b68143 02:51:11 Checking out Revision 081caa7058a7555b986260026f18282c66b68143 (PR-582) 02:51:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:51:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:51:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:51:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:51:11 using GIT_SSH to set credentials SSH Credentials for GitHub 02:51:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:51:11 > git config core.sparsecheckout # timeout=10 02:51:11 > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 02:51:11 > git remote # timeout=10 02:51:11 > git config --get remote.origin.url # timeout=10 02:51:11 using GIT_SSH to set credentials SSH Credentials for GitHub 02:51:11 > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 02:51:11 > git rev-parse HEAD^{commit} # timeout=10 02:51:11 > git config core.sparsecheckout # timeout=10 02:51:11 > git checkout -f 081caa7058a7555b986260026f18282c66b68143 # timeout=10 02:51:15 Commit message: "Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD" 02:51:15 > git rev-list --no-walk b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:51:16 ========================================================= 02:51:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:51:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:51:17 + 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:51:17 Sending build context to Docker daemon 3.529MB 02:51:17 Step 1/8 : ARG BASE=golang:1.15-alpine 02:51:17 Step 2/8 : FROM ${BASE} 02:51:17 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:51:17 df20fa9351a1: Pulling fs layer 02:51:17 ed8968b2872e: Pulling fs layer 02:51:17 a92cc7c5fd73: Pulling fs layer 02:51:17 e871e8e8d7a9: Pulling fs layer 02:51:17 e73272ec9a57: Pulling fs layer 02:51:17 1e910a182e73: Pulling fs layer 02:51:17 4e634b169226: Pulling fs layer 02:51:17 e73272ec9a57: Waiting 02:51:17 1e910a182e73: Waiting 02:51:17 4e634b169226: Waiting 02:51:17 e871e8e8d7a9: Waiting 02:51:17 a92cc7c5fd73: Verifying Checksum 02:51:17 a92cc7c5fd73: Download complete 02:51:17 ed8968b2872e: Download complete 02:51:17 e73272ec9a57: Verifying Checksum 02:51:17 e73272ec9a57: Download complete 02:51:17 1e910a182e73: Verifying Checksum 02:51:17 1e910a182e73: Download complete 02:51:18 df20fa9351a1: Verifying Checksum 02:51:18 df20fa9351a1: Download complete 02:51:18 df20fa9351a1: Pull complete 02:51:18 ed8968b2872e: Pull complete 02:51:19 a92cc7c5fd73: Pull complete 02:51:20 4e634b169226: Verifying Checksum 02:51:20 4e634b169226: Download complete 02:51:21 e871e8e8d7a9: Verifying Checksum 02:51:21 e871e8e8d7a9: Download complete 02:51:22 gofmt -l . 02:51:22 [ "`gofmt -l .`" = "" ] 02:51:23 ./bin/test-attribution-txt.sh 02:51:23 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:51:25 Stashed 1 file(s) [Pipeline] } 02:51:25 $ docker stop --time=1 6748a4497575b226b7f5b9ed30cfa1bb250d0cc8fa83a3620ced1a16f9fee468 02:51:27 e871e8e8d7a9: Pull complete 02:51:27 e73272ec9a57: Pull complete 02:51:27 1e910a182e73: Pull complete 02:51:27 $ docker rm -f 6748a4497575b226b7f5b9ed30cfa1bb250d0cc8fa83a3620ced1a16f9fee468 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:51:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:51:31 + ls -al . 02:51:31 total 228 02:51:31 drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 02:51 . 02:51:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:47 .. 02:51:31 -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 02:47 .dockerignore 02:51:31 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 02:47 .git 02:51:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:47 .github 02:51:31 -rw-rw-r-- 1 jenkins jenkins 138 Oct 12 02:47 .gitignore 02:51:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:47 .semver 02:51:31 -rw-rw-r-- 1 jenkins jenkins 936 Oct 12 02:47 Dockerfile.build 02:51:31 -rw-rw-r-- 1 jenkins jenkins 901 Oct 12 02:47 Jenkinsfile 02:51:31 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 02:47 LICENSE 02:51:31 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 12 02:47 Makefile 02:51:31 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 12 02:47 README.md 02:51:31 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 12 02:47 RELEASE-NOTES.txt 02:51:31 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 02:43 VERSION 02:51:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:47 bin 02:51:31 -rw-r--r-- 1 jenkins jenkins 110392 Oct 12 02:50 coverage.out 02:51:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:47 example 02:51:31 -rw-r--r-- 1 jenkins jenkins 517 Oct 12 02:51 go.mod 02:51:31 -rw-r--r-- 1 jenkins jenkins 13731 Oct 12 02:51 go.sum 02:51:31 drwxrwxr-x 15 jenkins jenkins 4096 Oct 12 02:47 internal 02:51:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:47 openapi 02:51:31 drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 02:47 pkg 02:51:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:47 snap 02:51:31 -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 02:47 version.go [Pipeline] isUnix [Pipeline] sh 02:51:31 + 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=818d6e32d39a44fa0348641b45de1d8d37d10b77 --label arch=arm64 --label version=0.0.0 . 02:51:31 4e634b169226: Pull complete 02:51:31 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 02:51:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:51:31 ---> f7629b54cfaa 02:51:31 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:32 Sending build context to Docker daemon 3.64MB 02:51:32 ---> Running in 2526356cd58e 02:51:32 Removing intermediate container 2526356cd58e 02:51:32 ---> 03a07142ab66 02:51:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:51:32 Step 1/24 : ARG BASE=golang:1.15-alpine 02:51:32 Step 2/24 : FROM ${BASE} AS builder 02:51:32 ---> 752ca8f57dcc 02:51:32 Step 3/24 : ARG MAKE='make build' 02:51:32 ---> Running in 5efe438678bd 02:51:32 ---> Running in 97f302c29281 02:51:32 Removing intermediate container 97f302c29281 02:51:32 ---> 67da2b84a569 02:51:32 Step 4/24 : WORKDIR /device-sdk-go 02:51:33 ---> Running in 18ba2d41016e 02:51:33 Removing intermediate container 18ba2d41016e 02:51:33 ---> 06b59932f96e 02:51:33 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:33 ---> Running in 6b1d7ba04e77 02:51:33 Removing intermediate container 5efe438678bd 02:51:33 ---> 638d9c06cf96 02:51:33 Step 5/8 : RUN apk add --no-cache make git 02:51:33 ---> Running in 3be4371acb61 02:51:34 Removing intermediate container 6b1d7ba04e77 02:51:34 ---> c77a5e0a274f 02:51:34 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:51:34 ---> Running in f22a040a7a8e 02:51:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:51:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:51:35 OK: 166 MiB in 39 packages 02:51:36 Removing intermediate container 3be4371acb61 02:51:36 ---> e9520fcc032a 02:51:36 Step 6/8 : WORKDIR /device-sdk-go 02:51:36 ---> Running in 620e6c29da8c 02:51:36 Removing intermediate container 620e6c29da8c 02:51:36 ---> fa9471788159 02:51:36 Step 7/8 : COPY . . 02:51:36 Removing intermediate container f22a040a7a8e 02:51:36 ---> 104d11206352 02:51:36 Step 7/24 : RUN apk add --update --no-cache make git 02:51:36 ---> Running in d6568a0d9da7 02:51:37 ---> 802726d0e3e0 02:51:37 Step 8/8 : RUN go mod download 02:51:37 ---> Running in 2b7398b2ee24 02:51:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:51:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:51:39 OK: 142 MiB in 39 packages 02:51:40 Removing intermediate container d6568a0d9da7 02:51:40 ---> b64e8d087bd2 02:51:40 Step 8/24 : COPY . . 02:51:41 ---> 3d25f0e86c34 02:51:41 Step 9/24 : RUN ${MAKE} 02:51:42 ---> Running in d5179f92b1e3 02:51:43 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:51:59 Removing intermediate container 2b7398b2ee24 02:51:59 ---> 87ecb2a50966 02:51:59 Successfully built 87ecb2a50966 02:51:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:52:00 + docker inspect -f . ci-base-image-x86_64 02:52:00 . [Pipeline] withDockerContainer 02:52:00 prd-centos7-docker-4c-2g-4689 does not seem to be running inside a container 02:52:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/19 -v /w/workspace/device-sdk-go/19:/w/workspace/device-sdk-go/19:rw,z -v /w/workspace/device-sdk-go/19@tmp:/w/workspace/device-sdk-go/19@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:52:01 $ docker top 40e95978d484a63d0fba050a864244eea240ef065ef6b692184951039eda1f4e -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:01 + go version 02:52:01 go version go1.15.2 linux/amd64 [Pipeline] } 02:52:01 $ docker stop --time=1 40e95978d484a63d0fba050a864244eea240ef065ef6b692184951039eda1f4e 02:52:03 $ docker rm -f 40e95978d484a63d0fba050a864244eea240ef065ef6b692184951039eda1f4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:52:04 + docker inspect -f . ci-base-image-x86_64 02:52:04 . [Pipeline] withDockerContainer 02:52:04 prd-centos7-docker-4c-2g-4689 does not seem to be running inside a container 02:52:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/19 -v /w/workspace/device-sdk-go/19:/w/workspace/device-sdk-go/19:rw,z -v /w/workspace/device-sdk-go/19@tmp:/w/workspace/device-sdk-go/19@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:52:04 $ docker top d6279b8a787b0946842ffb84f685426d75ed2a39c3409d399ad7666edec9c6e1 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:05 + make test 02:52:05 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:52:10 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:52:10 Removing intermediate container d5179f92b1e3 02:52:10 ---> 50268a110ddf 02:52:10 Step 10/24 : FROM scratch 02:52:10 ---> 02:52:10 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:52:10 ---> Running in 02b81d36ec27 02:52:10 Removing intermediate container 02b81d36ec27 02:52:10 ---> 2bee9bfb6083 02:52:10 Step 12/24 : ENV APP_PORT=49990 02:52:10 ---> Running in 19d946464bce 02:52:10 Removing intermediate container 19d946464bce 02:52:10 ---> fdc1e63c7053 02:52:10 Step 13/24 : EXPOSE $APP_PORT 02:52:10 ---> Running in c1db6b7d8b61 02:52:10 Removing intermediate container c1db6b7d8b61 02:52:10 ---> 1fdd511b8622 02:52:10 Step 14/24 : WORKDIR / 02:52:10 ---> Running in 499c253f2dbc 02:52:11 Removing intermediate container 499c253f2dbc 02:52:11 ---> 2b8d6ab1cfbe 02:52:11 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:52:12 ---> 96d386312dbf 02:52:12 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:52:13 ---> 549372555186 02:52:13 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:52:13 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:52:13 ---> 6228c7c7401f 02:52:13 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:52:14 ---> 7f81f6bb74b5 02:52:14 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:52:15 ---> 117f07d10381 02:52:15 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:52:15 ---> Running in 46a4f741f434 02:52:15 Removing intermediate container 46a4f741f434 02:52:15 ---> 068bc504bb78 02:52:15 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:52:15 ---> Running in 02bbff02a1d6 02:52:16 Removing intermediate container 02bbff02a1d6 02:52:16 ---> a5acc6bd15e4 02:52:16 Step 22/24 : LABEL arch=arm64 02:52:16 ---> Running in 5274c679d7ca 02:52:17 Removing intermediate container 5274c679d7ca 02:52:17 ---> b74752b75d99 02:52:17 Step 23/24 : LABEL git_sha=818d6e32d39a44fa0348641b45de1d8d37d10b77 02:52:17 ---> Running in 1aab69b0c13b 02:52:17 Removing intermediate container 1aab69b0c13b 02:52:17 ---> 8f187330cbc2 02:52:17 Step 24/24 : LABEL version=0.0.0 02:52:17 ---> Running in 6f9e75192139 02:52:18 Removing intermediate container 6f9e75192139 02:52:18 ---> 8afcf1625f8e 02:52:18 [Warning] One or more build-args [ARCH] were not consumed 02:52:18 Successfully built 8afcf1625f8e 02:52:18 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] } 02:52:28 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:52:28 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:52:28 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:52:28 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.060s coverage: 21.6% of statements 02:52:29 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.523s coverage: 97.1% of statements 02:53:01 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.054s coverage: 9.4% of statements 02:53:01 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.059s coverage: 21.9% of statements 02:53:01 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:53:01 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.228s coverage: 40.0% of statements 02:53:01 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:53:01 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.299s coverage: 68.9% of statements 02:53:01 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:53:01 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:53:01 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:53:01 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:53:01 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements 02:53:01 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:53:01 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.465s coverage: 68.9% of statements 02:53:01 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:53:01 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:53:01 GO111MODULE=on go vet ./... 02:53:10 gofmt -l . 02:53:10 [ "`gofmt -l .`" = "" ] 02:53:10 ./bin/test-attribution-txt.sh 02:53:10 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:53:10 Warning: overwriting stash ‘coverage-report’ 02:53:10 Stashed 1 file(s) [Pipeline] } 02:53:10 $ docker stop --time=1 d6279b8a787b0946842ffb84f685426d75ed2a39c3409d399ad7666edec9c6e1 02:53:12 $ docker rm -f d6279b8a787b0946842ffb84f685426d75ed2a39c3409d399ad7666edec9c6e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:53:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:53:14 + ls -al . 02:53:14 total 188 02:53:14 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 12 02:53 . 02:53:14 drwxrwxr-x. 4 jenkins jenkins 30 Oct 12 02:51 .. 02:53:14 drwxrwxr-x. 2 jenkins jenkins 64 Oct 12 02:51 bin 02:53:14 -rw-r--r--. 1 jenkins jenkins 110392 Oct 12 02:52 coverage.out 02:53:14 -rw-rw-r--. 1 jenkins jenkins 936 Oct 12 02:51 Dockerfile.build 02:53:14 -rw-rw-r--. 1 jenkins jenkins 140 Oct 12 02:51 .dockerignore 02:53:14 drwxrwxr-x. 4 jenkins jenkins 48 Oct 12 02:51 example 02:53:14 drwxrwxr-x. 8 jenkins jenkins 179 Oct 12 02:51 .git 02:53:14 drwxrwxr-x. 2 jenkins jenkins 60 Oct 12 02:51 .github 02:53:14 -rw-rw-r--. 1 jenkins jenkins 138 Oct 12 02:51 .gitignore 02:53:14 -rw-r--r--. 1 jenkins jenkins 517 Oct 12 02:53 go.mod 02:53:14 -rw-r--r--. 1 jenkins jenkins 13731 Oct 12 02:53 go.sum 02:53:14 drwxrwxr-x. 15 jenkins jenkins 211 Oct 12 02:51 internal 02:53:14 -rw-rw-r--. 1 jenkins jenkins 901 Oct 12 02:51 Jenkinsfile 02:53:14 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 12 02:51 LICENSE 02:53:14 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 12 02:51 Makefile 02:53:14 drwxrwxr-x. 4 jenkins jenkins 26 Oct 12 02:51 openapi 02:53:14 drwxrwxr-x. 5 jenkins jenkins 50 Oct 12 02:51 pkg 02:53:14 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 12 02:51 README.md 02:53:14 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 12 02:51 RELEASE-NOTES.txt 02:53:14 drwxrwxr-x. 3 jenkins jenkins 58 Oct 12 02:51 .semver 02:53:14 drwxrwxr-x. 4 jenkins jenkins 54 Oct 12 02:51 snap 02:53:14 -rw-rw-r--. 1 jenkins jenkins 5 Oct 12 02:43 VERSION 02:53:14 -rw-rw-r--. 1 jenkins jenkins 222 Oct 12 02:51 version.go [Pipeline] isUnix [Pipeline] sh 02:53:14 + 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=818d6e32d39a44fa0348641b45de1d8d37d10b77 --label arch=amd64 --label version=0.0.0 . 02:53:14 Sending build context to Docker daemon 3.64MB 02:53:14 Step 1/24 : ARG BASE=golang:1.15-alpine 02:53:14 Step 2/24 : FROM ${BASE} AS builder 02:53:14 ---> 87ecb2a50966 02:53:14 Step 3/24 : ARG MAKE='make build' 02:53:15 ---> Running in 2535044a767e 02:53:15 Removing intermediate container 2535044a767e 02:53:15 ---> 3914befa4124 02:53:15 Step 4/24 : WORKDIR /device-sdk-go 02:53:15 ---> Running in 771d3cc3aa9e 02:53:15 Removing intermediate container 771d3cc3aa9e 02:53:15 ---> 09d53d5a2926 02:53:15 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:53:15 ---> Running in 3f3187040130 02:53:15 Removing intermediate container 3f3187040130 02:53:15 ---> 746e6622b9bb 02:53:15 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:53:16 ---> Running in 87706ee174b5 02:53:17 Removing intermediate container 87706ee174b5 02:53:17 ---> fc9e9018a64f 02:53:17 Step 7/24 : RUN apk add --update --no-cache make git 02:53:17 ---> Running in bf25cfbb682e 02:53:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:53:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:53:18 OK: 166 MiB in 39 packages 02:53:19 Removing intermediate container bf25cfbb682e 02:53:19 ---> a1dca11a1e1f 02:53:19 Step 8/24 : COPY . . 02:53:20 ---> 230fac0a48af 02:53:20 Step 9/24 : RUN ${MAKE} 02:53:20 ---> Running in 0662291f67b0 02:53:20 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:53:29 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:53:31 Removing intermediate container 0662291f67b0 02:53:31 ---> 698be21afe5c 02:53:31 Step 10/24 : FROM scratch 02:53:31 ---> 02:53:31 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:53:31 ---> Running in 9282abf657e9 02:53:31 Removing intermediate container 9282abf657e9 02:53:31 ---> 891a4de9e445 02:53:31 Step 12/24 : ENV APP_PORT=49990 02:53:31 ---> Running in 83d2c13a3693 02:53:31 Removing intermediate container 83d2c13a3693 02:53:31 ---> 22c33ba8d99d 02:53:31 Step 13/24 : EXPOSE $APP_PORT 02:53:31 ---> Running in 82ab5902743b 02:53:32 Removing intermediate container 82ab5902743b 02:53:32 ---> 9152a07b9f21 02:53:32 Step 14/24 : WORKDIR / 02:53:32 ---> Running in b1d5cbef1077 02:53:32 Removing intermediate container b1d5cbef1077 02:53:32 ---> 0181ac3f0756 02:53:32 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:53:32 ---> 0e29b99751f9 02:53:32 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:53:32 ---> 8a113213a623 02:53:32 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:53:33 ---> 8ff1aa93acfd 02:53:33 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:53:33 ---> 38b172babe35 02:53:33 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:53:33 ---> d94e471d928c 02:53:33 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:53:33 ---> Running in 98474dd78ff7 02:53:33 Removing intermediate container 98474dd78ff7 02:53:33 ---> 8ef146bd3b03 02:53:33 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:53:33 ---> Running in cda41dcd03e9 02:53:34 Removing intermediate container cda41dcd03e9 02:53:34 ---> 1b7d113a4d22 02:53:34 Step 22/24 : LABEL arch=amd64 02:53:34 ---> Running in 87cdf71108bc 02:53:34 Removing intermediate container 87cdf71108bc 02:53:34 ---> 7d1ae4804ae7 02:53:34 Step 23/24 : LABEL git_sha=818d6e32d39a44fa0348641b45de1d8d37d10b77 02:53:34 ---> Running in 9f1c245523ea 02:53:34 Removing intermediate container 9f1c245523ea 02:53:34 ---> f30b561bd2f2 02:53:34 Step 24/24 : LABEL version=0.0.0 02:53:34 ---> Running in 4b43ab5f50a0 02:53:34 Removing intermediate container 4b43ab5f50a0 02:53:34 ---> be0e0f16f1e2 02:53:34 [Warning] One or more build-args [ARCH] were not consumed 02:53:34 Successfully built be0e0f16f1e2 02:53:34 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:53:36 provisioning config files... 02:53:36 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config4159708319460574685tmp [Pipeline] { [Pipeline] sh 02:53:37 + set +x 02:53:37 + curl -s https://codecov.io/bash 02:53:37 + bash -s -- 02:53:37 02:53:37 _____ _ 02:53:37 / ____| | | 02:53:37 | | ___ __| | ___ ___ _____ __ 02:53:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:53:37 | |___| (_) | (_| | __/ (_| (_) \ V / 02:53:37 \_____\___/ \__,_|\___|\___\___/ \_/ 02:53:37 Bash-20201009-048fee3 02:53:37 02:53:37 02:53:37 ==> Jenkins CI detected. 02:53:37 project root: . 02:53:37 Fixing merge commit SHA 02:53:37 --> token set from env 02:53:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:53:37 ==> Running gcov in . (disable via -X gcov) 02:53:37 ==> Python coveragepy not found 02:53:37 ==> Searching for coverage reports in: 02:53:37 + . 02:53:37 -> Found 1 reports 02:53:37 ==> Detecting git/mercurial file structure 02:53:37 ==> Reading reports 02:53:37 + ./coverage.out bytes=110392 02:53:37 ==> Appending adjustments 02:53:37 https://docs.codecov.io/docs/fixing-reports 02:53:37 + Found adjustments 02:53:37 ==> Gzipping contents 02:53:37 ==> Uploading reports 02:53:37 url: https://codecov.io 02:53:37 query: branch=PR-582&commit=153a43e7e060228c1df4c616c423a5b384e52518&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= 02:53:37 -> Pinging Codecov 02:53:37 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-582&commit=153a43e7e060228c1df4c616c423a5b384e52518&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= 02:53:38 -> Uploading to 02:53:38 02:53:38 % Total % Received % Xferd Average Speed Time Time Time Current 02:53:38 Dload Upload Total Spent Left Speed 02:53:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 02:53:38 X> Failed to upload 02:53:38 ==> Uploading to Codecov 02:53:38 % Total % Received % Xferd Average Speed Time Time Time Current 02:53:38 Dload Upload Total Spent Left Speed 02:53:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18404 100 110 100 18294 233 38763 --:--:-- --:--:-- --:--:-- 38840 02:53:38 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/153a43e7e060228c1df4c616c423a5b384e52518 [Pipeline] } 02:53:38 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:53:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:53:42 ---> package-listing.sh 02:53:42 ++ facter osfamily 02:53:42 ++ tr '[:upper:]' '[:lower:]' 02:53:42 + OS_FAMILY=redhat 02:53:42 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 02:53:42 + START_PACKAGES=/tmp/packages_start.txt 02:53:42 + END_PACKAGES=/tmp/packages_end.txt 02:53:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:53:42 + PACKAGES=/tmp/packages_start.txt 02:53:42 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 02:53:42 + PACKAGES=/tmp/packages_end.txt 02:53:42 + case "${OS_FAMILY}" in 02:53:42 + rpm -qa 02:53:42 + sort 02:53:46 + '[' -f /tmp/packages_start.txt ']' 02:53:46 + '[' -f /tmp/packages_end.txt ']' 02:53:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:53:46 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 02:53:46 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ 02:53:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:53:46 provisioning config files... 02:53:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config4665555816687955698tmp [Pipeline] { [Pipeline] echo 02:53:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:53:47 ---> create-netrc.sh [Pipeline] } 02:53:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:53:48 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:53:48 ---> python-tools-install.sh 02:53:48 Generating Requirements File 02:55:10 Python 3.6.8 02:55:10 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 02:55:10 appdirs==1.4.3 02:55:10 argcomplete==1.12.1 02:55:10 aspy.yaml==1.3.0 02:55:10 attrs==19.3.0 02:55:10 Babel==2.8.0 02:55:10 beautifulsoup4==4.8.2 02:55:10 boto3==1.11.6 02:55:10 botocore==1.14.6 02:55:10 bs4==0.0.1 02:55:10 cachetools==4.1.1 02:55:10 certifi==2019.11.28 02:55:10 cffi==1.14.3 02:55:10 cfgv==2.0.1 02:55:10 chardet==3.0.4 02:55:10 click==7.1 02:55:10 cliff==3.4.0 02:55:10 cmd2==1.3.11 02:55:10 colorama==0.4.3 02:55:10 cryptography==3.1.1 02:55:10 debtcollector==2.2.0 02:55:10 decorator==4.4.2 02:55:10 defusedxml==0.6.0 02:55:10 Deprecated==1.2.7 02:55:10 distlib==0.3.1 02:55:10 distro==1.2.0 02:55:10 dnspython==1.16.0 02:55:10 docker==4.2.0 02:55:10 docutils==0.15.2 02:55:10 dogpile.cache==1.0.2 02:55:10 email-validator==1.0.5 02:55:10 filelock==3.0.12 02:55:10 future==0.18.2 02:55:10 google-auth==1.22.1 02:55:10 httplib2==0.17.0 02:55:10 identify==1.4.11 02:55:10 idna==2.9 02:55:10 importlib-metadata==2.0.0 02:55:10 importlib-resources==1.5.0 02:55:10 iso8601==0.1.13 02:55:10 Jinja2==2.11.1 02:55:10 jmespath==0.10.0 02:55:10 jsonpatch==1.26 02:55:10 jsonpointer==2.0 02:55:10 jsonschema==3.2.0 02:55:10 keystoneauth1==4.2.1 02:55:10 kubernetes==11.0.0 02:55:10 lftools==0.34.2 02:55:10 lxml==4.5.0 02:55:10 MarkupSafe==0.23 02:55:10 msgpack==1.0.0 02:55:10 multi-key-dict==2.0.3 02:55:10 munch==2.5.0 02:55:10 netaddr==0.8.0 02:55:10 netifaces==0.10.9 02:55:10 niet==1.4.2 02:55:10 nodeenv==1.3.5 02:55:10 oauth2client==4.1.3 02:55:10 oauthlib==3.1.0 02:55:10 openstacksdk==0.50.0 02:55:10 os-client-config==2.1.0 02:55:10 os-service-types==1.7.0 02:55:10 osc-lib==2.2.1 02:55:10 oslo.config==8.3.2 02:55:10 oslo.context==3.1.1 02:55:10 oslo.i18n==5.0.1 02:55:10 oslo.log==4.4.0 02:55:10 oslo.serialization==4.0.1 02:55:10 oslo.utils==4.6.0 02:55:10 packaging==20.4 02:55:10 pbr==5.4.4 02:55:10 pluggy==0.13.1 02:55:10 prettytable==0.7.2 02:55:10 py==1.9.0 02:55:10 pyasn1==0.4.8 02:55:10 pyasn1-modules==0.2.8 02:55:10 pycparser==2.20 02:55:10 pygerrit2==2.0.10 02:55:10 PyGithub==1.46 02:55:10 pyinotify==0.9.6 02:55:10 PyJWT==1.7.1 02:55:10 pyparsing==2.4.7 02:55:10 pyperclip==1.8.1 02:55:10 pyroute2==0.4.13 02:55:10 pyrsistent==0.15.7 02:55:10 PySocks==1.6.8 02:55:10 python-cinderclient==7.2.0 02:55:10 python-dateutil==2.8.1 02:55:10 python-heatclient==2.2.1 02:55:10 python-jenkins==1.7.0 02:55:10 python-keystoneclient==4.1.1 02:55:10 python-magnumclient==3.2.1 02:55:10 python-novaclient==17.2.1 02:55:10 python-openstackclient==5.4.0 02:55:10 python-swiftclient==3.10.1 02:55:10 pytz==2020.1 02:55:10 PyYAML==5.3 02:55:10 requests==2.23.0 02:55:10 requests-oauthlib==1.3.0 02:55:10 requestsexceptions==1.4.0 02:55:10 rfc3986==1.4.0 02:55:10 rpm==4.11.3 02:55:10 rsa==4.0 02:55:10 ruamel.yaml==0.16.10 02:55:10 ruamel.yaml.clib==0.2.0 02:55:10 s3transfer==0.3.3 02:55:10 shade==1.27.2 02:55:10 simplejson==3.17.2 02:55:10 six==1.14.0 02:55:10 soupsieve==2.0 02:55:10 stevedore==3.2.2 02:55:10 tabulate==0.8.6 02:55:10 toml==0.10.0 02:55:10 tox==3.20.1 02:55:10 tqdm==4.43.0 02:55:10 urllib3==1.25.8 02:55:10 virtualenv==20.0.33 02:55:10 wcwidth==0.2.5 02:55:10 websocket-client==0.57.0 02:55:10 wrapt==1.12.1 02:55:10 xdg==3.0.2 02:55:10 xmltodict==0.12.0 02:55:10 yq==2.11.1 02:55:10 zipp==3.3.0 02:55:10 Cache entry deserialization failed, entry ignored 02:55:10 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:55:10 Python 2.7.5 02:55:10 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 02:55:10 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:55:10 ansible==2.9.7 02:55:10 Babel==0.9.6 02:55:10 backports.ssl-match-hostname==3.5.0.1 02:55:10 beautifulsoup4==4.4.1 02:55:10 bodhi==2.11.0 02:55:10 bodhi-client==2.11.0 02:55:10 CCColUtils==1.4 02:55:10 cffi==1.6.0 02:55:10 chardet==2.2.1 02:55:10 click==6.7 02:55:10 cloud-init==18.5 02:55:10 configobj==4.7.2 02:55:10 cryptography==1.7.2 02:55:10 decorator==3.4.0 02:55:10 distro==1.2.0 02:55:10 enum34==1.0.4 02:55:10 fedpkg==1.38 02:55:10 futures==3.1.1 02:55:10 gitdb==0.6.4 02:55:10 GitPython==1.0.1 02:55:10 html5lib==0.999 02:55:10 httplib2==0.9.2 02:55:10 idna==2.4 02:55:10 iniparse==0.4 02:55:10 ipaddress==1.0.16 02:55:10 IPy==0.75 02:55:10 javapackages==1.0.0 02:55:10 Jinja2==2.7.2 02:55:10 jmespath==0.9.4 02:55:10 jsonpatch==1.2 02:55:10 jsonpointer==1.9 02:55:10 kerberos==1.1 02:55:10 kitchen==1.1.1 02:55:10 langtable==0.0.31 02:55:10 lockfile==0.9.1 02:55:10 lxml==3.2.1 02:55:10 MarkupSafe==0.11 02:55:10 munch==2.0.2 02:55:10 offtrac==0.1.0 02:55:10 openidc-client==0.6.0 02:55:10 packagedb-cli==2.14.1 02:55:10 paramiko==2.1.1 02:55:10 perf==0.1 02:55:10 ply==3.4 02:55:10 policycoreutils-default-encoding==0.1 02:55:10 prettytable==0.7.2 02:55:10 pyasn1==0.1.9 02:55:10 pycparser==2.14 02:55:10 pycurl==7.19.0 02:55:10 pygobject==3.22.0 02:55:10 pygpgme==0.3 02:55:10 pyliblzma==0.5.3 02:55:10 pyOpenSSL==0.13.1 02:55:10 pyparsing==1.5.6 02:55:10 pyserial==2.6 02:55:10 python-augeas==0.5.0 02:55:10 python-bugzilla==2.3.0 02:55:10 python-dateutil==1.5 02:55:10 python-fedora==0.10.0 02:55:10 python-linux-procfs==0.4.9 02:55:10 python-yubico==1.2.3 02:55:10 pyudev==0.15 02:55:10 pyusb==1.0.0b1 02:55:10 pyxattr==0.5.1 02:55:10 PyYAML==3.10 02:55:10 requests==2.6.0 02:55:10 requests-kerberos==0.7.0 02:55:10 rpkg==1.60 02:55:10 schedutils==0.4 02:55:10 seobject==0.1 02:55:10 sepolicy==1.1 02:55:10 six==1.9.0 02:55:10 smmap==0.9.0 02:55:10 urlgrabber==3.10 02:55:10 urllib3==1.10.2 02:55:10 virtualenv==15.1.0 02:55:10 yum-langpacks==0.4.2 02:55:10 yum-metadata-parser==1.1.4 [Pipeline] echo 02:55:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:55:11 ---> sudo-logs.sh 02:55:11 Archiving 'sudo' log.. [Pipeline] echo 02:55:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:55:11 ---> job-cost.sh 02:55:11 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-YL5p 02:55:21 Cache entry deserialization failed, entry ignored 02:55:21 Cache entry deserialization failed, entry ignored 02:55:22 Cache entry deserialization failed, entry ignored 02:55:22 Cache entry deserialization failed, entry ignored 02:55:23 Cache entry deserialization failed, entry ignored 02:55:23 Cache entry deserialization failed, entry ignored 02:55:23 Cache entry deserialization failed, entry ignored 02:55:23 Cache entry deserialization failed, entry ignored 02:55:23 Cache entry deserialization failed, entry ignored 02:55:23 Cache entry deserialization failed, entry ignored 02:55:23 Cache entry deserialization failed, entry ignored 02:55:23 Cache entry deserialization failed, entry ignored 02:55:23 Cache entry deserialization failed, entry ignored 02:55:29 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:55:55 lf-activate-venv(): INFO: Adding /tmp/venv-YL5p/bin to PATH 02:55:55 INFO: No Stack... 02:55:56 INFO: Retrieving Pricing Info for: v1-standard-2 02:55:57 INFO: Archiving Costs [Pipeline] echo 02:55:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:55:58 ---> logs-deploy.sh 02:55:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/19 02:55:58 INFO: archiving workspace using pattern(s): 02:55:59 Archives upload complete. 02:55:59 INFO: archiving logs to Nexus 02:56:00 ---> uname -a: 02:56:00 Linux prd-centos7-docker-4c-2g-4672.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux 02:56:00 02:56:00