Pull request #619 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 5170f4a47c3c9327a8778b26b4877b346eedd69c+153a43e7e060228c1df4c616c423a5b384e52518 (db4ae567d9ae2faede6e2efbc6649c78c2be5c9c) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4769 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-619 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit 5170f4a47c3c9327a8778b26b4877b346eedd69c Merge succeeded, producing 5170f4a47c3c9327a8778b26b4877b346eedd69c Checking out Revision 5170f4a47c3c9327a8778b26b4877b346eedd69c (PR-619) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5170f4a47c3c9327a8778b26b4877b346eedd69c # 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 5170f4a47c3c9327a8778b26b4877b346eedd69c # timeout=10 Commit message: "feat(sdk): fix requested changes in PR" > git rev-list --no-walk ebdeafb0d0ff330beb2a20cbeb14ea995b76909b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:24:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:24:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:24:17 ========================================================= 08:24:17 EdgeX Global Pipelines Version Info 08:24:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:24:18 ------------------- 08:24:18 stable info: 08:24:18 ------------------- 08:24:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:24:18 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 08:24:18 Message: update stable to v1.0.131 08:24:19 ------------------- 08:24:19 experimental info: 08:24:19 ------------------- 08:24:19 Commited By: **** collab-it+edgex@linuxfoundation.org 08:24:19 Commit SHA: 2e6d42a532571151575c80d72899821df0f9b0af 08:24:19 Message: update experimental to v1.0.135 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 08:24:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:24:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:24:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:24:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:24:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:24:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:24:20 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:24:21 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:24:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:24:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:24:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:24:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 08:24:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:24:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:24:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:24:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:24:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:24:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:24:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:24:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:24:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:24:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:24:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:24:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:24:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:24:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-619 [Pipeline] echo 08:24:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-619 [Pipeline] echo 08:24:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-619 [Pipeline] echo 08:24:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5170f4a47c3c9327a8778b26b4877b346eedd69c [Pipeline] echo 08:24:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5170f4a [Pipeline] echo 08:24:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:24:23 + git log --format=format:%s -1 5170f4a47c3c9327a8778b26b4877b346eedd69c [Pipeline] echo 08:24:23 GIT_COMMIT: 5170f4a47c3c9327a8778b26b4877b346eedd69c, Commit Message: feat(sdk): fix requested changes in PR [Pipeline] echo 08:24:23 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:24:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:24:24 08:24:24 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:24:25 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:24:25 latest: Pulling from edgex-devops/git-semver 08:24:25 31603596830f: Pulling fs layer 08:24:25 2a8b12db71e7: Pulling fs layer 08:24:25 6ca5941a6612: Pulling fs layer 08:24:25 ecc8261a40a4: Pulling fs layer 08:24:25 ecc8261a40a4: Waiting 08:24:25 2a8b12db71e7: Verifying Checksum 08:24:25 2a8b12db71e7: Download complete 08:24:25 31603596830f: Verifying Checksum 08:24:25 31603596830f: Download complete 08:24:25 ecc8261a40a4: Verifying Checksum 08:24:25 6ca5941a6612: Verifying Checksum 08:24:25 6ca5941a6612: Download complete 08:24:25 31603596830f: Pull complete 08:24:25 2a8b12db71e7: Pull complete 08:24:26 6ca5941a6612: Pull complete 08:24:26 ecc8261a40a4: Pull complete 08:24:27 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:24:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:24:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:24:27 prd-centos7-docker-4c-2g-4769 does not seem to be running inside a container 08:24:27 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-619 -v /w/workspace/dgexfoundry_device-sdk-go_PR-619:/w/workspace/dgexfoundry_device-sdk-go_PR-619:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:24:29 $ docker top b8b28327489d4fa6a117b45d195ce6838a5cd1eb9e23aeccb882cff570362553 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:24:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:24:29 [ssh-agent] Looking for ssh-agent implementation... 08:24:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:24:29 $ docker exec b8b28327489d4fa6a117b45d195ce6838a5cd1eb9e23aeccb882cff570362553 ssh-agent 08:24:30 SSH_AUTH_SOCK=/tmp/ssh-icZsQ3qNPEcx/agent.12 08:24:30 SSH_AGENT_PID=18 08:24:30 Running ssh-add (command line suppressed) 08:24:30 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_1006191100845681871.key (/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_1006191100845681871.key) 08:24:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:24:30 + git describe --exact-match --tags HEAD 08:24:30 fatal: no tag exactly matches '5170f4a47c3c9327a8778b26b4877b346eedd69c' [Pipeline] } 08:24:30 $ docker exec --env ******** --env ******** b8b28327489d4fa6a117b45d195ce6838a5cd1eb9e23aeccb882cff570362553 ssh-agent -k 08:24:30 unset SSH_AUTH_SOCK; 08:24:30 unset SSH_AGENT_PID; 08:24:30 echo Agent pid 18 killed; 08:24:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:24:30 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:24:30 This usually means this commit has not been tagged. [Pipeline] sshagent 08:24:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:24:31 [ssh-agent] Looking for ssh-agent implementation... 08:24:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:24:31 $ docker exec b8b28327489d4fa6a117b45d195ce6838a5cd1eb9e23aeccb882cff570362553 ssh-agent 08:24:31 SSH_AUTH_SOCK=/tmp/ssh-QekRVYHYvop1/agent.48 08:24:31 SSH_AGENT_PID=54 08:24:31 Running ssh-add (command line suppressed) 08:24:31 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_3468158010406661189.key (/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_3468158010406661189.key) 08:24:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:24:31 + git semver init 08:24:31 # -> Open(): unable to determine branch for HEAD 08:24:31 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-619/.git 08:24:31 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-619 08:24:31 # $SEMVER_REMOTE_NAME = origin 08:24:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:24:31 # $SEMVER_USER_NAME = edgex-jenkins 08:24:31 # $SEMVER_BRANCH = PR-619 08:24:31 # $SEMVER_TEMP = /tmp/semver-811607777 08:24:31 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:24:32 # '/tmp/semver-811607777' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-619/.semver' 08:24:32 # -> Force: false 08:24:32 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-619/.semver [Pipeline] } 08:24:32 $ docker exec --env ******** --env ******** b8b28327489d4fa6a117b45d195ce6838a5cd1eb9e23aeccb882cff570362553 ssh-agent -k 08:24:32 unset SSH_AUTH_SOCK; 08:24:32 unset SSH_AGENT_PID; 08:24:32 echo Agent pid 54 killed; 08:24:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:24:33 + git semver [Pipeline] } 08:24:33 $ docker stop --time=1 b8b28327489d4fa6a117b45d195ce6838a5cd1eb9e23aeccb882cff570362553 08:24:34 $ docker rm -f b8b28327489d4fa6a117b45d195ce6838a5cd1eb9e23aeccb882cff570362553 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:24:35 Stashed 48 file(s) [Pipeline] echo 08:24:35 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 08:24:35 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 08:24:51 Still waiting to schedule task 08:24:51 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:24:51 Still waiting to schedule task 08:24:51 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline 08:26:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4770 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] ws 08:26:48 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 08:26:52 using credential edgex-jenkins-ssh 08:26:53 Cloning the remote Git repository 08:26:53 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:26:53 > git init /w/workspace/device-sdk-go/8 # timeout=10 08:26:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:26:53 > git --version # timeout=10 08:26:53 > git --version # 'git version 2.17.1' 08:26:53 using GIT_SSH to set credentials SSH Credentials for GitHub 08:26:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:26:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:26:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:26:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:26:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:26:55 using GIT_SSH to set credentials SSH Credentials for GitHub 08:26:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:26:55 Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit 5170f4a47c3c9327a8778b26b4877b346eedd69c 08:26:55 Merge succeeded, producing 5170f4a47c3c9327a8778b26b4877b346eedd69c 08:26:55 Checking out Revision 5170f4a47c3c9327a8778b26b4877b346eedd69c (PR-619) 08:26:55 > git config core.sparsecheckout # timeout=10 08:26:55 > git checkout -f 5170f4a47c3c9327a8778b26b4877b346eedd69c # timeout=10 08:26:55 > git remote # timeout=10 08:26:55 > git config --get remote.origin.url # timeout=10 08:26:55 using GIT_SSH to set credentials SSH Credentials for GitHub 08:26:55 > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 08:26:55 > git rev-parse HEAD^{commit} # timeout=10 08:26:55 > git config core.sparsecheckout # timeout=10 08:26:56 > git checkout -f 5170f4a47c3c9327a8778b26b4877b346eedd69c # timeout=10 08:27:00 Commit message: "feat(sdk): fix requested changes in PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:27:01 ========================================================= 08:27:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:27:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:27:02 + 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 . 08:27:03 Sending build context to Docker daemon 3.676MB 08:27:03 Step 1/8 : ARG BASE=golang:1.15-alpine 08:27:03 Step 2/8 : FROM ${BASE} 08:27:04 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:27:04 b538f80385f9: Pulling fs layer 08:27:04 74f711af9a0d: Pulling fs layer 08:27:04 99f96fe45779: Pulling fs layer 08:27:04 8529a6b9a6be: Pulling fs layer 08:27:04 45590311c82a: Pulling fs layer 08:27:04 69ca0ff8b7b3: Pulling fs layer 08:27:04 209524e5b208: Pulling fs layer 08:27:04 8529a6b9a6be: Waiting 08:27:04 45590311c82a: Waiting 08:27:04 69ca0ff8b7b3: Waiting 08:27:04 209524e5b208: Waiting 08:27:04 99f96fe45779: Verifying Checksum 08:27:04 99f96fe45779: Download complete 08:27:04 74f711af9a0d: Verifying Checksum 08:27:04 74f711af9a0d: Download complete 08:27:04 45590311c82a: Verifying Checksum 08:27:04 45590311c82a: Download complete 08:27:04 69ca0ff8b7b3: Verifying Checksum 08:27:04 69ca0ff8b7b3: Download complete 08:27:04 b538f80385f9: Verifying Checksum 08:27:04 b538f80385f9: Download complete 08:27:05 b538f80385f9: Pull complete 08:27:05 74f711af9a0d: Pull complete 08:27:06 99f96fe45779: Pull complete 08:27:07 209524e5b208: Verifying Checksum 08:27:07 209524e5b208: Download complete 08:27:08 8529a6b9a6be: Verifying Checksum 08:27:08 8529a6b9a6be: Download complete 08:27:18 8529a6b9a6be: Pull complete 08:27:18 45590311c82a: Pull complete 08:27:18 69ca0ff8b7b3: Pull complete 08:27:22 209524e5b208: Pull complete 08:27:22 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 08:27:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:27:22 ---> 5bddaf1c2fca 08:27:22 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:27:22 Running on prd-centos7-docker-4c-2g-4771 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] ws 08:27:22 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 08:27:24 ---> Running in bfe00c44a1fb 08:27:25 Removing intermediate container bfe00c44a1fb 08:27:25 ---> 4cbd57bdd466 08:27:25 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:27:25 ---> Running in bf3c81455e23 08:27:25 using credential edgex-jenkins-ssh 08:27:25 Cloning the remote Git repository 08:27:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:27:25 > git init /w/workspace/device-sdk-go/8 # timeout=10 08:27:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:27:25 > git --version # timeout=10 08:27:25 > git --version # 'git version 2.16.5' 08:27:25 using GIT_SSH to set credentials SSH Credentials for GitHub 08:27:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:27:27 Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit 5170f4a47c3c9327a8778b26b4877b346eedd69c 08:27:27 Merge succeeded, producing 5170f4a47c3c9327a8778b26b4877b346eedd69c 08:27:27 Checking out Revision 5170f4a47c3c9327a8778b26b4877b346eedd69c (PR-619) 08:27:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:27:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:27:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:27:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:27:26 using GIT_SSH to set credentials SSH Credentials for GitHub 08:27:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:27:27 > git config core.sparsecheckout # timeout=10 08:27:27 > git checkout -f 5170f4a47c3c9327a8778b26b4877b346eedd69c # timeout=10 08:27:27 > git remote # timeout=10 08:27:27 > git config --get remote.origin.url # timeout=10 08:27:27 using GIT_SSH to set credentials SSH Credentials for GitHub 08:27:27 > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 08:27:27 > git rev-parse HEAD^{commit} # timeout=10 08:27:27 > git config core.sparsecheckout # timeout=10 08:27:27 > git checkout -f 5170f4a47c3c9327a8778b26b4877b346eedd69c # timeout=10 08:27:28 Removing intermediate container bf3c81455e23 08:27:28 ---> 889718f751a8 08:27:28 Step 5/8 : RUN apk add --no-cache make git 08:27:28 ---> Running in e9b402c19032 08:27:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:27:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:27:30 OK: 142 MiB in 39 packages 08:27:30 Commit message: "feat(sdk): fix requested changes in PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 08:27:31 Removing intermediate container e9b402c19032 08:27:31 ---> 6bc18332692d 08:27:31 Step 6/8 : WORKDIR /device-sdk-go [Pipeline] echo 08:27:31 ========================================================= 08:27:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:27:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:27:32 ---> Running in 31a8331d1867 08:27:32 Removing intermediate container 31a8331d1867 08:27:32 ---> 2c23c7fd8f4e 08:27:32 Step 7/8 : COPY . . 08:27:32 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 08:27:33 Sending build context to Docker daemon 3.678MB 08:27:33 Step 1/8 : ARG BASE=golang:1.15-alpine 08:27:33 Step 2/8 : FROM ${BASE} 08:27:33 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:27:33 df20fa9351a1: Pulling fs layer 08:27:33 ed8968b2872e: Pulling fs layer 08:27:33 a92cc7c5fd73: Pulling fs layer 08:27:33 e871e8e8d7a9: Pulling fs layer 08:27:33 e73272ec9a57: Pulling fs layer 08:27:33 1e910a182e73: Pulling fs layer 08:27:33 4e634b169226: Pulling fs layer 08:27:33 e73272ec9a57: Waiting 08:27:33 1e910a182e73: Waiting 08:27:33 4e634b169226: Waiting 08:27:33 e871e8e8d7a9: Waiting 08:27:33 a92cc7c5fd73: Verifying Checksum 08:27:33 a92cc7c5fd73: Download complete 08:27:33 ed8968b2872e: Verifying Checksum 08:27:33 ed8968b2872e: Download complete 08:27:33 e73272ec9a57: Verifying Checksum 08:27:33 e73272ec9a57: Download complete 08:27:33 1e910a182e73: Verifying Checksum 08:27:33 1e910a182e73: Download complete 08:27:33 df20fa9351a1: Verifying Checksum 08:27:33 df20fa9351a1: Download complete 08:27:33 df20fa9351a1: Pull complete 08:27:34 ed8968b2872e: Pull complete 08:27:34 a92cc7c5fd73: Pull complete 08:27:34 ---> 10e840caa1f4 08:27:34 Step 8/8 : RUN go mod download 08:27:34 ---> Running in 0ee657a1bdf0 08:27:35 4e634b169226: Verifying Checksum 08:27:35 4e634b169226: Download complete 08:27:36 e871e8e8d7a9: Verifying Checksum 08:27:36 e871e8e8d7a9: Download complete 08:27:41 e871e8e8d7a9: Pull complete 08:27:41 e73272ec9a57: Pull complete 08:27:41 1e910a182e73: Pull complete 08:27:46 4e634b169226: Pull complete 08:27:46 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 08:27:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:27:46 ---> f7629b54cfaa 08:27:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:27:46 ---> Running in e49fd60666a4 08:27:46 Removing intermediate container e49fd60666a4 08:27:46 ---> 4b34f3f68bbc 08:27:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:27:46 ---> Running in 3ecfb68c5b34 08:27:48 Removing intermediate container 3ecfb68c5b34 08:27:48 ---> 74c71bf7c80b 08:27:48 Step 5/8 : RUN apk add --no-cache make git 08:27:48 ---> Running in 253bd44d14c7 08:27:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:27:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:27:50 OK: 166 MiB in 39 packages 08:27:50 Removing intermediate container 253bd44d14c7 08:27:50 ---> 575dbf6d9cbe 08:27:50 Step 6/8 : WORKDIR /device-sdk-go 08:27:50 ---> Running in 1acc1d7a3f42 08:27:50 Removing intermediate container 1acc1d7a3f42 08:27:50 ---> 211ae6cecca9 08:27:50 Step 7/8 : COPY . . 08:27:52 ---> 3b966ddbe31d 08:27:52 Step 8/8 : RUN go mod download 08:27:52 ---> Running in d4126ea65e24 08:27:56 Removing intermediate container 0ee657a1bdf0 08:27:56 ---> 505688a52535 08:27:56 Successfully built 505688a52535 08:27:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:27:56 + docker inspect -f . ci-base-image-arm64 08:27:56 . [Pipeline] withDockerContainer 08:27:57 prd-ubuntu18.04-docker-arm64-4c-16g-4770 does not seem to be running inside a container 08:27:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:27:59 $ docker top 3a05bc16b266072d32ce6cd5d8ad4282817a255ace0a10d5884c22b5c6deab75 -eo pid,comm [Pipeline] { [Pipeline] sh 08:28:00 + go version 08:28:00 go version go1.15.2 linux/arm64 [Pipeline] } 08:28:00 $ docker stop --time=1 3a05bc16b266072d32ce6cd5d8ad4282817a255ace0a10d5884c22b5c6deab75 08:28:02 $ docker rm -f 3a05bc16b266072d32ce6cd5d8ad4282817a255ace0a10d5884c22b5c6deab75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:28:03 + docker inspect -f . ci-base-image-arm64 08:28:03 . [Pipeline] withDockerContainer 08:28:03 prd-ubuntu18.04-docker-arm64-4c-16g-4770 does not seem to be running inside a container 08:28:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:28:05 $ docker top e48b8c7c471d89ebf2e26fd13186471a6a9a6902f42306fbd4afc6709ef763e9 -eo pid,comm [Pipeline] { [Pipeline] sh 08:28:07 + make test 08:28:07 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:28:10 Removing intermediate container d4126ea65e24 08:28:10 ---> 62826159795c 08:28:10 Successfully built 62826159795c 08:28:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:28:10 + docker inspect -f . ci-base-image-x86_64 08:28:10 . [Pipeline] withDockerContainer 08:28:10 prd-centos7-docker-4c-2g-4771 does not seem to be running inside a container 08:28:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:28:11 $ docker top 75f6d134a8c5134b97452c1575cf942624b99342bc2fce3ad6a0056af99f71b4 -eo pid,comm [Pipeline] { [Pipeline] sh 08:28:11 + go version 08:28:11 go version go1.15.2 linux/amd64 [Pipeline] } 08:28:11 $ docker stop --time=1 75f6d134a8c5134b97452c1575cf942624b99342bc2fce3ad6a0056af99f71b4 08:28:13 $ docker rm -f 75f6d134a8c5134b97452c1575cf942624b99342bc2fce3ad6a0056af99f71b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:28:14 + docker inspect -f . ci-base-image-x86_64 08:28:14 . [Pipeline] withDockerContainer 08:28:14 prd-centos7-docker-4c-2g-4771 does not seem to be running inside a container 08:28:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:28:15 $ docker top fb33ebe42dfb515868485c0267c0acf1d374884b046a4b52699345b1059ea5f1 -eo pid,comm [Pipeline] { [Pipeline] sh 08:28:15 + make test 08:28:15 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:28:22 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:28:29 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:28:37 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:28:37 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:28:37 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 08:28:37 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.085s coverage: 21.6% of statements 08:28:38 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.438s coverage: 97.1% of statements 08:29:08 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:29:08 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:29:08 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 08:29:08 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.122s coverage: 21.6% of statements 08:29:10 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.064s coverage: 9.4% of statements 08:29:10 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.061s coverage: 21.9% of statements 08:29:10 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:29:10 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.207s coverage: 40.8% of statements 08:29:10 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:29:10 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.299s coverage: 68.9% of statements 08:29:10 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:29:10 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:29:10 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:29:10 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 08:29:10 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.066s coverage: 52.6% of statements 08:29:10 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 08:29:10 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 08:29:10 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.380s coverage: 68.9% of statements 08:29:10 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 08:29:10 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:29:10 GO111MODULE=on go vet ./... 08:29:11 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.226s coverage: 97.1% of statements 08:29:17 gofmt -l . 08:29:17 [ "`gofmt -l .`" = "" ] 08:29:17 ./bin/test-attribution-txt.sh 08:29:17 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:29:17 Stashed 1 file(s) [Pipeline] } 08:29:17 $ docker stop --time=1 fb33ebe42dfb515868485c0267c0acf1d374884b046a4b52699345b1059ea5f1 08:29:19 $ docker rm -f fb33ebe42dfb515868485c0267c0acf1d374884b046a4b52699345b1059ea5f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:29:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:29:24 + ls -al . 08:29:24 total 188 08:29:24 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 12 08:29 . 08:29:24 drwxrwxr-x. 4 jenkins jenkins 28 Oct 12 08:27 .. 08:29:24 drwxrwxr-x. 2 jenkins jenkins 64 Oct 12 08:27 bin 08:29:24 -rw-r--r--. 1 jenkins jenkins 110396 Oct 12 08:29 coverage.out 08:29:24 -rw-rw-r--. 1 jenkins jenkins 936 Oct 12 08:27 Dockerfile.build 08:29:24 -rw-rw-r--. 1 jenkins jenkins 140 Oct 12 08:27 .dockerignore 08:29:24 drwxrwxr-x. 4 jenkins jenkins 48 Oct 12 08:27 example 08:29:24 drwxrwxr-x. 8 jenkins jenkins 179 Oct 12 08:27 .git 08:29:24 drwxrwxr-x. 2 jenkins jenkins 60 Oct 12 08:27 .github 08:29:24 -rw-rw-r--. 1 jenkins jenkins 138 Oct 12 08:27 .gitignore 08:29:24 -rw-r--r--. 1 jenkins jenkins 517 Oct 12 08:29 go.mod 08:29:24 -rw-r--r--. 1 jenkins jenkins 13652 Oct 12 08:29 go.sum 08:29:24 drwxrwxr-x. 15 jenkins jenkins 211 Oct 12 08:27 internal 08:29:24 -rw-rw-r--. 1 jenkins jenkins 901 Oct 12 08:27 Jenkinsfile 08:29:24 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 12 08:27 LICENSE 08:29:24 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 12 08:27 Makefile 08:29:24 drwxrwxr-x. 4 jenkins jenkins 26 Oct 12 08:27 openapi 08:29:24 drwxrwxr-x. 5 jenkins jenkins 50 Oct 12 08:27 pkg 08:29:24 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 12 08:27 README.md 08:29:24 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 12 08:27 RELEASE-NOTES.txt 08:29:24 drwxrwxr-x. 3 jenkins jenkins 58 Oct 12 08:27 .semver 08:29:24 drwxrwxr-x. 4 jenkins jenkins 54 Oct 12 08:27 snap 08:29:24 -rw-rw-r--. 1 jenkins jenkins 5 Oct 12 08:24 VERSION 08:29:24 -rw-rw-r--. 1 jenkins jenkins 222 Oct 12 08:27 version.go [Pipeline] isUnix [Pipeline] sh 08:29:24 + 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=5170f4a47c3c9327a8778b26b4877b346eedd69c --label arch=amd64 --label version=0.0.0 . 08:29:24 Sending build context to Docker daemon 3.789MB 08:29:24 Step 1/24 : ARG BASE=golang:1.15-alpine 08:29:24 Step 2/24 : FROM ${BASE} AS builder 08:29:24 ---> 62826159795c 08:29:24 Step 3/24 : ARG MAKE='make build' 08:29:25 ---> Running in 8857098a9bfc 08:29:25 Removing intermediate container 8857098a9bfc 08:29:25 ---> ba34be884172 08:29:25 Step 4/24 : WORKDIR /device-sdk-go 08:29:25 ---> Running in f0d097013f92 08:29:25 Removing intermediate container f0d097013f92 08:29:25 ---> f969db084a4b 08:29:25 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:29:25 ---> Running in 069b9699ca0d 08:29:26 Removing intermediate container 069b9699ca0d 08:29:26 ---> 9c47a7f9c23a 08:29:26 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:29:26 ---> Running in 10e566a26821 08:29:27 Removing intermediate container 10e566a26821 08:29:27 ---> 9fa4e4adb508 08:29:27 Step 7/24 : RUN apk add --update --no-cache make git 08:29:27 ---> Running in daff0f89729f 08:29:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:29:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:29:28 OK: 166 MiB in 39 packages 08:29:29 Removing intermediate container daff0f89729f 08:29:29 ---> 6926744bafbc 08:29:29 Step 8/24 : COPY . . 08:29:30 ---> 3f68bcfa26c9 08:29:30 Step 9/24 : RUN ${MAKE} 08:29:30 ---> Running in e1f15c4701cf 08:29:30 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 08:29:38 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.138s coverage: 9.4% of statements 08:29:38 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.106s coverage: 21.9% of statements 08:29:38 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:29:38 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.592s coverage: 40.8% of statements 08:29:38 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:29:38 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.823s coverage: 68.9% of statements 08:29:38 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:29:38 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:29:38 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:29:38 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 08:29:38 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.172s coverage: 52.6% of statements 08:29:38 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 08:29:38 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 08:29:38 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.648s coverage: 68.9% of statements 08:29:38 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 08:29:38 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:29:38 GO111MODULE=on go vet ./... 08:29:39 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:29:41 Removing intermediate container e1f15c4701cf 08:29:41 ---> f23e51d9e90e 08:29:41 Step 10/24 : FROM scratch 08:29:41 ---> 08:29:41 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:29:41 ---> Running in 607faac95c0f 08:29:41 Removing intermediate container 607faac95c0f 08:29:41 ---> 585964549542 08:29:41 Step 12/24 : ENV APP_PORT=49990 08:29:41 ---> Running in 9676a3eb4ed1 08:29:41 Removing intermediate container 9676a3eb4ed1 08:29:41 ---> 0d1849e38382 08:29:41 Step 13/24 : EXPOSE $APP_PORT 08:29:41 ---> Running in 4377253c1ab1 08:29:41 Removing intermediate container 4377253c1ab1 08:29:41 ---> 4b55d977d1f6 08:29:41 Step 14/24 : WORKDIR / 08:29:41 ---> Running in 48f9c94d5f25 08:29:41 Removing intermediate container 48f9c94d5f25 08:29:41 ---> 731adf8a8614 08:29:41 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:29:41 ---> 6c4348de127e 08:29:41 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:29:42 ---> 53fb9cce502a 08:29:42 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:29:42 ---> 9a70417266f7 08:29:42 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:29:42 ---> 84b5f8bc3814 08:29:42 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:29:42 ---> d4292737ab4c 08:29:42 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:29:42 ---> Running in e5ae0d32d68f 08:29:42 Removing intermediate container e5ae0d32d68f 08:29:42 ---> 0da3c81dd4d9 08:29:42 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:29:43 ---> Running in 449cca7487ef 08:29:43 Removing intermediate container 449cca7487ef 08:29:43 ---> eaff395191de 08:29:43 Step 22/24 : LABEL arch=amd64 08:29:43 ---> Running in a580c96bddd3 08:29:43 Removing intermediate container a580c96bddd3 08:29:43 ---> 40ee69dc4d84 08:29:43 Step 23/24 : LABEL git_sha=5170f4a47c3c9327a8778b26b4877b346eedd69c 08:29:43 ---> Running in 4d229e135f85 08:29:43 Removing intermediate container 4d229e135f85 08:29:43 ---> 4d7746c4c021 08:29:43 Step 24/24 : LABEL version=0.0.0 08:29:43 ---> Running in ed1dbc2427b7 08:29:44 Removing intermediate container ed1dbc2427b7 08:29:44 ---> 82736088e67e 08:29:44 [Warning] One or more build-args [ARCH] were not consumed 08:29:44 Successfully built 82736088e67e 08:29:44 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] } 08:30:11 gofmt -l . 08:30:11 [ "`gofmt -l .`" = "" ] 08:30:11 ./bin/test-attribution-txt.sh 08:30:11 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:30:11 Warning: overwriting stash ‘coverage-report’ 08:30:12 Stashed 1 file(s) [Pipeline] } 08:30:12 $ docker stop --time=1 e48b8c7c471d89ebf2e26fd13186471a6a9a6902f42306fbd4afc6709ef763e9 08:30:14 $ docker rm -f e48b8c7c471d89ebf2e26fd13186471a6a9a6902f42306fbd4afc6709ef763e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:30:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:30:16 + ls -al . 08:30:16 total 228 08:30:16 drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 08:30 . 08:30:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 08:26 .. 08:30:16 -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 08:26 .dockerignore 08:30:16 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 08:26 .git 08:30:16 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 08:26 .github 08:30:16 -rw-rw-r-- 1 jenkins jenkins 138 Oct 12 08:26 .gitignore 08:30:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 08:27 .semver 08:30:16 -rw-rw-r-- 1 jenkins jenkins 936 Oct 12 08:26 Dockerfile.build 08:30:16 -rw-rw-r-- 1 jenkins jenkins 901 Oct 12 08:26 Jenkinsfile 08:30:16 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 08:26 LICENSE 08:30:16 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 12 08:26 Makefile 08:30:16 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 12 08:26 README.md 08:30:16 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 12 08:26 RELEASE-NOTES.txt 08:30:16 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 08:24 VERSION 08:30:16 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 08:26 bin 08:30:16 -rw-r--r-- 1 jenkins jenkins 110396 Oct 12 08:29 coverage.out 08:30:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 08:26 example 08:30:16 -rw-r--r-- 1 jenkins jenkins 517 Oct 12 08:30 go.mod 08:30:16 -rw-r--r-- 1 jenkins jenkins 13652 Oct 12 08:30 go.sum 08:30:16 drwxrwxr-x 15 jenkins jenkins 4096 Oct 12 08:26 internal 08:30:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 08:26 openapi 08:30:16 drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 08:26 pkg 08:30:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 08:26 snap 08:30:16 -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 08:26 version.go [Pipeline] isUnix [Pipeline] sh 08:30:16 + 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=5170f4a47c3c9327a8778b26b4877b346eedd69c --label arch=arm64 --label version=0.0.0 . 08:30:17 Sending build context to Docker daemon 3.787MB 08:30:17 Step 1/24 : ARG BASE=golang:1.15-alpine 08:30:17 Step 2/24 : FROM ${BASE} AS builder 08:30:17 ---> 505688a52535 08:30:17 Step 3/24 : ARG MAKE='make build' 08:30:17 ---> Running in 4d6ba40d9b7d 08:30:17 Removing intermediate container 4d6ba40d9b7d 08:30:17 ---> bdd530038288 08:30:17 Step 4/24 : WORKDIR /device-sdk-go 08:30:18 ---> Running in 46d30d4ccf6c 08:30:18 Removing intermediate container 46d30d4ccf6c 08:30:18 ---> f58eb44afc39 08:30:18 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:30:18 ---> Running in 1d1d436be546 08:30:19 Removing intermediate container 1d1d436be546 08:30:19 ---> 105232ae1f9a 08:30:19 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:30:19 ---> Running in 69b884d4c06d 08:30:21 Removing intermediate container 69b884d4c06d 08:30:21 ---> 794a2d30323c 08:30:21 Step 7/24 : RUN apk add --update --no-cache make git 08:30:21 ---> Running in 51e847692657 08:30:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:30:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:30:24 OK: 142 MiB in 39 packages 08:30:25 Removing intermediate container 51e847692657 08:30:25 ---> 96c3101981a9 08:30:25 Step 8/24 : COPY . . 08:30:27 ---> e1f08f096a9e 08:30:27 Step 9/24 : RUN ${MAKE} 08:30:27 ---> Running in 5f03499cde7a 08:30:29 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 08:30:55 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:30:55 Removing intermediate container 5f03499cde7a 08:30:55 ---> bd6753097590 08:30:55 Step 10/24 : FROM scratch 08:30:55 ---> 08:30:55 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:30:55 ---> Running in c503b91e34af 08:30:55 Removing intermediate container c503b91e34af 08:30:55 ---> 7c82e85a7628 08:30:55 Step 12/24 : ENV APP_PORT=49990 08:30:55 ---> Running in b153df8a4a50 08:30:55 Removing intermediate container b153df8a4a50 08:30:55 ---> ffc930f8afda 08:30:55 Step 13/24 : EXPOSE $APP_PORT 08:30:56 ---> Running in 08854f21fbc1 08:30:56 Removing intermediate container 08854f21fbc1 08:30:56 ---> f24abe166ca2 08:30:56 Step 14/24 : WORKDIR / 08:30:56 ---> Running in a3bf64e83ac9 08:30:57 Removing intermediate container a3bf64e83ac9 08:30:57 ---> 81aed4e6d85a 08:30:57 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:30:58 ---> c258418ba31e 08:30:58 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:30:59 ---> 038c86b805e6 08:30:59 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:30:59 ---> f0f069877b79 08:30:59 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:31:00 ---> 45ae319345e5 08:31:00 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:31:00 ---> f52b40f5eb1b 08:31:00 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:31:01 ---> Running in d5c5e0c9a95f 08:31:01 Removing intermediate container d5c5e0c9a95f 08:31:01 ---> 5fa829b1269e 08:31:01 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:31:01 ---> Running in f2871b84c5ea 08:31:02 Removing intermediate container f2871b84c5ea 08:31:02 ---> 4e23f9b88872 08:31:02 Step 22/24 : LABEL arch=arm64 08:31:02 ---> Running in 84c23beade39 08:31:02 Removing intermediate container 84c23beade39 08:31:02 ---> 09aefbe8918c 08:31:02 Step 23/24 : LABEL git_sha=5170f4a47c3c9327a8778b26b4877b346eedd69c 08:31:02 ---> Running in e7bdff7163af 08:31:03 Removing intermediate container e7bdff7163af 08:31:03 ---> 0a884e305d3d 08:31:03 Step 24/24 : LABEL version=0.0.0 08:31:03 ---> Running in cef2deaaa97b 08:31:04 Removing intermediate container cef2deaaa97b 08:31:04 ---> 8e7cb1a0f250 08:31:04 [Warning] One or more build-args [ARCH] were not consumed 08:31:04 Successfully built 8e7cb1a0f250 08:31:04 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 08:31:06 provisioning config files... 08:31:06 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/config7749394265210479670tmp [Pipeline] { [Pipeline] sh 08:31:06 + set +x 08:31:06 + curl -s https://codecov.io/bash 08:31:06 + bash -s -- 08:31:07 08:31:07 _____ _ 08:31:07 / ____| | | 08:31:07 | | ___ __| | ___ ___ _____ __ 08:31:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:31:07 | |___| (_) | (_| | __/ (_| (_) \ V / 08:31:07 \_____\___/ \__,_|\___|\___\___/ \_/ 08:31:07 Bash-20201009-048fee3 08:31:07 08:31:07 08:31:07 ==> Jenkins CI detected. 08:31:07 project root: . 08:31:07 --> token set from env 08:31:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:31:07 ==> Running gcov in . (disable via -X gcov) 08:31:07 ==> Python coveragepy not found 08:31:07 ==> Searching for coverage reports in: 08:31:07 + . 08:31:07 -> Found 1 reports 08:31:07 ==> Detecting git/mercurial file structure 08:31:07 ==> Reading reports 08:31:07 + ./coverage.out bytes=110396 08:31:07 ==> Appending adjustments 08:31:07 https://docs.codecov.io/docs/fixing-reports 08:31:07 + Found adjustments 08:31:07 ==> Gzipping contents 08:31:07 ==> Uploading reports 08:31:07 url: https://codecov.io 08:31:07 query: branch=PR-619&commit=5170f4a47c3c9327a8778b26b4877b346eedd69c&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-619%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=619&job=&cmd_args= 08:31:07 -> Pinging Codecov 08:31:07 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-619&commit=5170f4a47c3c9327a8778b26b4877b346eedd69c&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-619%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=619&job=&cmd_args= 08:31:07 -> Uploading to 08:31:07 08:31:07 % Total % Received % Xferd Average Speed Time Time Time Current 08:31:07 Dload Upload Total Spent Left Speed 08:31:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 08:31:07 X> Failed to upload 08:31:07 ==> Uploading to Codecov 08:31:07 % Total % Received % Xferd Average Speed Time Time Time Current 08:31:07 Dload Upload Total Spent Left Speed 08:31:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 18759 0 0 100 18649 0 32713 --:--:-- --:--:-- --:--:-- 32717 100 18759 100 110 100 18649 192 32700 --:--:-- --:--:-- --:--:-- 32660 08:31:08 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5170f4a47c3c9327a8778b26b4877b346eedd69c [Pipeline] } 08:31:08 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 08:31:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:31:11 ---> package-listing.sh 08:31:11 ++ facter osfamily 08:31:11 ++ tr '[:upper:]' '[:lower:]' 08:31:11 + OS_FAMILY=redhat 08:31:11 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-619 08:31:11 + START_PACKAGES=/tmp/packages_start.txt 08:31:11 + END_PACKAGES=/tmp/packages_end.txt 08:31:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:31:11 + PACKAGES=/tmp/packages_start.txt 08:31:11 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-619 ']' 08:31:11 + PACKAGES=/tmp/packages_end.txt 08:31:11 + case "${OS_FAMILY}" in 08:31:11 + rpm -qa 08:31:11 + sort 08:31:15 + '[' -f /tmp/packages_start.txt ']' 08:31:15 + '[' -f /tmp/packages_end.txt ']' 08:31:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:31:15 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-619 ']' 08:31:15 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-619/archives/ 08:31:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-619/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:31:16 provisioning config files... 08:31:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/config1893279385367888898tmp [Pipeline] { [Pipeline] echo 08:31:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:31:16 ---> create-netrc.sh [Pipeline] } 08:31:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:31:17 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:31:17 ---> python-tools-install.sh 08:31:17 Generating Requirements File 08:32:25 Python 3.6.8 08:32:25 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 08:32:25 appdirs==1.4.3 08:32:25 argcomplete==1.12.1 08:32:25 aspy.yaml==1.3.0 08:32:25 attrs==19.3.0 08:32:25 Babel==2.8.0 08:32:25 beautifulsoup4==4.8.2 08:32:25 boto3==1.11.6 08:32:25 botocore==1.14.6 08:32:25 bs4==0.0.1 08:32:25 cachetools==4.1.1 08:32:25 certifi==2019.11.28 08:32:25 cffi==1.14.3 08:32:25 cfgv==2.0.1 08:32:25 chardet==3.0.4 08:32:25 click==7.1 08:32:25 cliff==3.4.0 08:32:25 cmd2==1.3.11 08:32:25 colorama==0.4.3 08:32:25 cryptography==3.1.1 08:32:25 debtcollector==2.2.0 08:32:25 decorator==4.4.2 08:32:25 defusedxml==0.6.0 08:32:25 Deprecated==1.2.7 08:32:25 distlib==0.3.1 08:32:25 distro==1.2.0 08:32:25 dnspython==1.16.0 08:32:25 docker==4.2.0 08:32:25 docutils==0.15.2 08:32:25 dogpile.cache==1.0.2 08:32:25 email-validator==1.0.5 08:32:25 filelock==3.0.12 08:32:25 future==0.18.2 08:32:25 google-auth==1.22.1 08:32:25 httplib2==0.17.0 08:32:25 identify==1.4.11 08:32:25 idna==2.9 08:32:25 importlib-metadata==2.0.0 08:32:25 importlib-resources==1.5.0 08:32:25 iso8601==0.1.13 08:32:25 Jinja2==2.11.1 08:32:25 jmespath==0.10.0 08:32:25 jsonpatch==1.26 08:32:25 jsonpointer==2.0 08:32:25 jsonschema==3.2.0 08:32:25 keystoneauth1==4.2.1 08:32:25 kubernetes==11.0.0 08:32:25 lftools==0.34.2 08:32:25 lxml==4.5.0 08:32:25 MarkupSafe==0.23 08:32:25 msgpack==1.0.0 08:32:25 multi-key-dict==2.0.3 08:32:25 munch==2.5.0 08:32:25 netaddr==0.8.0 08:32:25 netifaces==0.10.9 08:32:25 niet==1.4.2 08:32:25 nodeenv==1.3.5 08:32:25 oauth2client==4.1.3 08:32:25 oauthlib==3.1.0 08:32:25 openstacksdk==0.50.0 08:32:25 os-client-config==2.1.0 08:32:25 os-service-types==1.7.0 08:32:25 osc-lib==2.2.1 08:32:25 oslo.config==8.3.2 08:32:25 oslo.context==3.1.1 08:32:25 oslo.i18n==5.0.1 08:32:25 oslo.log==4.4.0 08:32:25 oslo.serialization==4.0.1 08:32:25 oslo.utils==4.6.0 08:32:25 packaging==20.4 08:32:25 pbr==5.4.4 08:32:25 pluggy==0.13.1 08:32:25 prettytable==0.7.2 08:32:25 py==1.9.0 08:32:25 pyasn1==0.4.8 08:32:25 pyasn1-modules==0.2.8 08:32:25 pycparser==2.20 08:32:25 pygerrit2==2.0.10 08:32:25 PyGithub==1.46 08:32:25 pyinotify==0.9.6 08:32:25 PyJWT==1.7.1 08:32:25 pyparsing==2.4.7 08:32:25 pyperclip==1.8.1 08:32:25 pyroute2==0.4.13 08:32:25 pyrsistent==0.15.7 08:32:25 PySocks==1.6.8 08:32:25 python-cinderclient==7.2.0 08:32:25 python-dateutil==2.8.1 08:32:25 python-heatclient==2.2.1 08:32:25 python-jenkins==1.7.0 08:32:25 python-keystoneclient==4.1.1 08:32:25 python-magnumclient==3.2.1 08:32:25 python-novaclient==17.2.1 08:32:25 python-openstackclient==5.4.0 08:32:25 python-swiftclient==3.10.1 08:32:25 pytz==2020.1 08:32:25 PyYAML==5.3 08:32:25 requests==2.23.0 08:32:25 requests-oauthlib==1.3.0 08:32:25 requestsexceptions==1.4.0 08:32:25 rfc3986==1.4.0 08:32:25 rpm==4.11.3 08:32:25 rsa==4.0 08:32:25 ruamel.yaml==0.16.10 08:32:25 ruamel.yaml.clib==0.2.0 08:32:25 s3transfer==0.3.3 08:32:25 shade==1.27.2 08:32:25 simplejson==3.17.2 08:32:25 six==1.14.0 08:32:25 soupsieve==2.0 08:32:25 stevedore==3.2.2 08:32:25 tabulate==0.8.6 08:32:25 toml==0.10.0 08:32:25 tox==3.20.1 08:32:25 tqdm==4.43.0 08:32:25 urllib3==1.25.8 08:32:25 virtualenv==20.0.33 08:32:25 wcwidth==0.2.5 08:32:25 websocket-client==0.57.0 08:32:25 wrapt==1.12.1 08:32:25 xdg==3.0.2 08:32:25 xmltodict==0.12.0 08:32:25 yq==2.11.1 08:32:25 zipp==3.3.0 08:32:26 Cache entry deserialization failed, entry ignored 08:32:28 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. 08:32:31 Python 2.7.5 08:32:31 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 08:32:31 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. 08:32:32 ansible==2.9.7 08:32:32 Babel==0.9.6 08:32:32 backports.ssl-match-hostname==3.5.0.1 08:32:32 beautifulsoup4==4.4.1 08:32:32 bodhi==2.11.0 08:32:32 bodhi-client==2.11.0 08:32:32 CCColUtils==1.4 08:32:32 cffi==1.6.0 08:32:32 chardet==2.2.1 08:32:32 click==6.7 08:32:32 cloud-init==18.5 08:32:32 configobj==4.7.2 08:32:32 cryptography==1.7.2 08:32:32 decorator==3.4.0 08:32:32 distro==1.2.0 08:32:32 enum34==1.0.4 08:32:32 fedpkg==1.38 08:32:32 futures==3.1.1 08:32:32 gitdb==0.6.4 08:32:32 GitPython==1.0.1 08:32:32 html5lib==0.999 08:32:32 httplib2==0.9.2 08:32:32 idna==2.4 08:32:32 iniparse==0.4 08:32:32 ipaddress==1.0.16 08:32:32 IPy==0.75 08:32:32 javapackages==1.0.0 08:32:32 Jinja2==2.7.2 08:32:32 jmespath==0.9.4 08:32:32 jsonpatch==1.2 08:32:32 jsonpointer==1.9 08:32:32 kerberos==1.1 08:32:32 kitchen==1.1.1 08:32:32 langtable==0.0.31 08:32:32 lockfile==0.9.1 08:32:32 lxml==3.2.1 08:32:32 MarkupSafe==0.11 08:32:32 munch==2.0.2 08:32:32 offtrac==0.1.0 08:32:32 openidc-client==0.6.0 08:32:32 packagedb-cli==2.14.1 08:32:32 paramiko==2.1.1 08:32:32 perf==0.1 08:32:32 ply==3.4 08:32:32 policycoreutils-default-encoding==0.1 08:32:32 prettytable==0.7.2 08:32:32 pyasn1==0.1.9 08:32:32 pycparser==2.14 08:32:32 pycurl==7.19.0 08:32:32 pygobject==3.22.0 08:32:32 pygpgme==0.3 08:32:32 pyliblzma==0.5.3 08:32:32 pyOpenSSL==0.13.1 08:32:32 pyparsing==1.5.6 08:32:32 pyserial==2.6 08:32:32 python-augeas==0.5.0 08:32:32 python-bugzilla==2.3.0 08:32:32 python-dateutil==1.5 08:32:32 python-fedora==0.10.0 08:32:32 python-linux-procfs==0.4.9 08:32:32 python-yubico==1.2.3 08:32:32 pyudev==0.15 08:32:32 pyusb==1.0.0b1 08:32:32 pyxattr==0.5.1 08:32:32 PyYAML==3.10 08:32:32 requests==2.6.0 08:32:32 requests-kerberos==0.7.0 08:32:32 rpkg==1.60 08:32:32 schedutils==0.4 08:32:32 seobject==0.1 08:32:32 sepolicy==1.1 08:32:32 six==1.9.0 08:32:32 smmap==0.9.0 08:32:32 urlgrabber==3.10 08:32:32 urllib3==1.10.2 08:32:32 virtualenv==15.1.0 08:32:32 yum-langpacks==0.4.2 08:32:32 yum-metadata-parser==1.1.4 [Pipeline] echo 08:32:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:32:32 ---> sudo-logs.sh 08:32:32 Archiving 'sudo' log.. [Pipeline] echo 08:32:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:32:33 ---> job-cost.sh 08:32:33 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-EbDN 08:32:43 Cache entry deserialization failed, entry ignored 08:32:43 Cache entry deserialization failed, entry ignored 08:32:44 Cache entry deserialization failed, entry ignored 08:32:44 Cache entry deserialization failed, entry ignored 08:32:45 Cache entry deserialization failed, entry ignored 08:32:45 Cache entry deserialization failed, entry ignored 08:32:45 Cache entry deserialization failed, entry ignored 08:32:45 Cache entry deserialization failed, entry ignored 08:32:45 Cache entry deserialization failed, entry ignored 08:32:45 Cache entry deserialization failed, entry ignored 08:32:45 Cache entry deserialization failed, entry ignored 08:32:45 Cache entry deserialization failed, entry ignored 08:32:45 Cache entry deserialization failed, entry ignored 08:32:49 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:33:15 lf-activate-venv(): INFO: Adding /tmp/venv-EbDN/bin to PATH 08:33:15 INFO: No Stack... 08:33:15 INFO: Retrieving Pricing Info for: v1-standard-2 08:33:16 INFO: Archiving Costs [Pipeline] echo 08:33:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:33:16 ---> logs-deploy.sh 08:33:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-619/8 08:33:16 INFO: archiving workspace using pattern(s): 08:33:18 Archives upload complete. 08:33:18 INFO: archiving logs to Nexus