Pull request #603 opened 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 3ccd6247f9f387f0c9668272060ad741d43f917b+4a1412fe3679be6652f13296ba45411ccc085237 (f3d540736135f53c4eb7fc67e5fdcac79b5db640) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-603/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-603/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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] ========================================================= [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: false SWAGGER_API_FOLDERS: openapi/v1 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-2158 in /w/workspace/dgexfoundry_device-sdk-go_PR-603 [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-603 # 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 4a1412fe3679be6652f13296ba45411ccc085237 into PR head commit 3ccd6247f9f387f0c9668272060ad741d43f917b Merge succeeded, producing 3ccd6247f9f387f0c9668272060ad741d43f917b Checking out Revision 3ccd6247f9f387f0c9668272060ad741d43f917b (PR-603) > 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/603/head:refs/remotes/origin/PR-603 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3ccd6247f9f387f0c9668272060ad741d43f917b # 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 4a1412fe3679be6652f13296ba45411ccc085237 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3ccd6247f9f387f0c9668272060ad741d43f917b # timeout=10 Commit message: "feat: implement v2 discovery API" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:50:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:50:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:50:28 ========================================================= 05:50:28 EdgeX Global Pipelines Version Info 05:50:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:50:30 ------------------- 05:50:30 stable info: 05:50:30 ------------------- 05:50:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:50:30 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 05:50:30 Message: update stable to v1.0.131 05:50:31 ------------------- 05:50:31 experimental info: 05:50:31 ------------------- 05:50:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:50:31 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 05:50:31 Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 05:50:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:50:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:50:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:50:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:50:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:50:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:50:32 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:50:32 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:50:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:50:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:50:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:50:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:50:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:50:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:50:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:50:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:50:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:50:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-603 [Pipeline] echo 05:50:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-603 [Pipeline] echo 05:50:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-603 [Pipeline] echo 05:50:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3ccd6247f9f387f0c9668272060ad741d43f917b [Pipeline] echo 05:50:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3ccd624 [Pipeline] echo 05:50:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:50:36 + git log --format=format:%s -1 3ccd6247f9f387f0c9668272060ad741d43f917b [Pipeline] echo 05:50:36 GIT_COMMIT: 3ccd6247f9f387f0c9668272060ad741d43f917b, Commit Message: feat: implement v2 discovery API [Pipeline] echo 05:50:36 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:50:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:50:38 05:50:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:50:38 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:50:38 latest: Pulling from edgex-devops/git-semver 05:50:38 31603596830f: Pulling fs layer 05:50:38 2a8b12db71e7: Pulling fs layer 05:50:38 6ca5941a6612: Pulling fs layer 05:50:38 ecc8261a40a4: Pulling fs layer 05:50:38 ecc8261a40a4: Waiting 05:50:38 2a8b12db71e7: Verifying Checksum 05:50:38 2a8b12db71e7: Download complete 05:50:38 31603596830f: Verifying Checksum 05:50:38 31603596830f: Download complete 05:50:38 ecc8261a40a4: Verifying Checksum 05:50:38 ecc8261a40a4: Download complete 05:50:38 6ca5941a6612: Verifying Checksum 05:50:38 6ca5941a6612: Download complete 05:50:39 31603596830f: Pull complete 05:50:39 2a8b12db71e7: Pull complete 05:50:40 6ca5941a6612: Pull complete 05:50:40 ecc8261a40a4: Pull complete 05:50:40 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:50:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:50:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:50:40 prd-centos7-docker-4c-2g-2158 does not seem to be running inside a container 05:50:40 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-603 -v /w/workspace/dgexfoundry_device-sdk-go_PR-603:/w/workspace/dgexfoundry_device-sdk-go_PR-603:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-603@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 05:50:42 $ docker top 8fd7d87376b128d1bcd5114771a50d27e0ae471a3c930867b8a806f7d20410c4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:50:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:50:43 [ssh-agent] Looking for ssh-agent implementation... 05:50:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:50:43 $ docker exec 8fd7d87376b128d1bcd5114771a50d27e0ae471a3c930867b8a806f7d20410c4 ssh-agent 05:50:43 SSH_AUTH_SOCK=/tmp/ssh-3rFaTX4fepzF/agent.12 05:50:43 SSH_AGENT_PID=18 05:50:43 Running ssh-add (command line suppressed) 05:50:44 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp/private_key_2269859668315412614.key (/w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp/private_key_2269859668315412614.key) 05:50:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:50:44 + git describe --exact-match --tags HEAD 05:50:44 fatal: no tag exactly matches '3ccd6247f9f387f0c9668272060ad741d43f917b' [Pipeline] } 05:50:44 $ docker exec --env ******** --env ******** 8fd7d87376b128d1bcd5114771a50d27e0ae471a3c930867b8a806f7d20410c4 ssh-agent -k 05:50:44 unset SSH_AUTH_SOCK; 05:50:44 unset SSH_AGENT_PID; 05:50:44 echo Agent pid 18 killed; 05:50:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:50:44 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:50:44 This usually means this commit has not been tagged. [Pipeline] sshagent 05:50:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:50:45 [ssh-agent] Looking for ssh-agent implementation... 05:50:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:50:45 $ docker exec 8fd7d87376b128d1bcd5114771a50d27e0ae471a3c930867b8a806f7d20410c4 ssh-agent 05:50:45 SSH_AUTH_SOCK=/tmp/ssh-TwxjC6PQZwzd/agent.47 05:50:45 SSH_AGENT_PID=53 05:50:45 Running ssh-add (command line suppressed) 05:50:45 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp/private_key_8229538053939111843.key (/w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp/private_key_8229538053939111843.key) 05:50:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:50:45 + git semver init 05:50:45 # -> Open(): unable to determine branch for HEAD 05:50:45 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-603/.git 05:50:45 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-603 05:50:45 # $SEMVER_REMOTE_NAME = origin 05:50:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:50:45 # $SEMVER_USER_NAME = edgex-jenkins 05:50:45 # $SEMVER_BRANCH = PR-603 05:50:45 # $SEMVER_TEMP = /tmp/semver-282714994 05:50:45 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:50:46 # '/tmp/semver-282714994' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-603/.semver' 05:50:46 # -> Force: false 05:50:46 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-603/.semver [Pipeline] } 05:50:46 $ docker exec --env ******** --env ******** 8fd7d87376b128d1bcd5114771a50d27e0ae471a3c930867b8a806f7d20410c4 ssh-agent -k 05:50:46 unset SSH_AUTH_SOCK; 05:50:46 unset SSH_AGENT_PID; 05:50:46 echo Agent pid 53 killed; 05:50:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:50:47 + git semver [Pipeline] } 05:50:47 $ docker stop --time=1 8fd7d87376b128d1bcd5114771a50d27e0ae471a3c930867b8a806f7d20410c4 05:50:48 $ docker rm -f 8fd7d87376b128d1bcd5114771a50d27e0ae471a3c930867b8a806f7d20410c4 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:50:49 Stashed 40 file(s) [Pipeline] echo 05:50:49 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 05:50:49 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 05:51:05 Still waiting to schedule task 05:51:05 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:51:05 Still waiting to schedule task 05:51:05 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:53:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2159 in /w/workspace/dgexfoundry_device-sdk-go_PR-603 [Pipeline] { [Pipeline] ws 05:53:05 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:53:10 using credential edgex-jenkins-ssh 05:53:10 Cloning the remote Git repository 05:53:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:53:10 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:53:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:53:10 > git --version # timeout=10 05:53:10 > git --version # 'git version 2.17.1' 05:53:10 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:53:12 Merging remotes/origin/master commit 4a1412fe3679be6652f13296ba45411ccc085237 into PR head commit 3ccd6247f9f387f0c9668272060ad741d43f917b 05:53:12 Merge succeeded, producing 3ccd6247f9f387f0c9668272060ad741d43f917b 05:53:12 Checking out Revision 3ccd6247f9f387f0c9668272060ad741d43f917b (PR-603) 05:53:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:53:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:53:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:53:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:53:11 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/603/head:refs/remotes/origin/PR-603 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:53:12 > git config core.sparsecheckout # timeout=10 05:53:12 > git checkout -f 3ccd6247f9f387f0c9668272060ad741d43f917b # timeout=10 05:53:12 > git remote # timeout=10 05:53:12 > git config --get remote.origin.url # timeout=10 05:53:12 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:12 > git merge 4a1412fe3679be6652f13296ba45411ccc085237 # timeout=10 05:53:12 > git rev-parse HEAD^{commit} # timeout=10 05:53:12 > git config core.sparsecheckout # timeout=10 05:53:12 > git checkout -f 3ccd6247f9f387f0c9668272060ad741d43f917b # timeout=10 05:53:15 Running on prd-centos7-docker-4c-2g-2160 in /w/workspace/dgexfoundry_device-sdk-go_PR-603 [Pipeline] { [Pipeline] ws 05:53:15 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:53:17 Commit message: "feat: implement v2 discovery API" 05:53:17 > git --version # timeout=10 05:53:17 > git --version # 'git version 2.17.1' 05:53:17 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:53:18 ========================================================= 05:53:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:53:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:53:18 using credential edgex-jenkins-ssh 05:53:18 Cloning the remote Git repository 05:53:18 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:53:18 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:53:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:53:18 > git --version # timeout=10 05:53:19 > git --version # 'git version 2.16.5' 05:53:19 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:53:19 + 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 . 05:53:20 Merging remotes/origin/master commit 4a1412fe3679be6652f13296ba45411ccc085237 into PR head commit 3ccd6247f9f387f0c9668272060ad741d43f917b 05:53:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:53:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:53:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:53:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:53:19 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/603/head:refs/remotes/origin/PR-603 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:53:20 > git config core.sparsecheckout # timeout=10 05:53:20 > git checkout -f 3ccd6247f9f387f0c9668272060ad741d43f917b # timeout=10 05:53:20 Merge succeeded, producing 3ccd6247f9f387f0c9668272060ad741d43f917b 05:53:20 Checking out Revision 3ccd6247f9f387f0c9668272060ad741d43f917b (PR-603) 05:53:20 Sending build context to Docker daemon 3.443MB 05:53:20 Step 1/8 : ARG BASE=golang:1.15-alpine 05:53:20 Step 2/8 : FROM ${BASE} 05:53:21 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:53:21 b538f80385f9: Pulling fs layer 05:53:21 74f711af9a0d: Pulling fs layer 05:53:21 99f96fe45779: Pulling fs layer 05:53:21 8529a6b9a6be: Pulling fs layer 05:53:21 45590311c82a: Pulling fs layer 05:53:21 69ca0ff8b7b3: Pulling fs layer 05:53:21 209524e5b208: Pulling fs layer 05:53:21 69ca0ff8b7b3: Waiting 05:53:21 209524e5b208: Waiting 05:53:21 45590311c82a: Waiting 05:53:21 99f96fe45779: Verifying Checksum 05:53:21 99f96fe45779: Download complete 05:53:21 74f711af9a0d: Verifying Checksum 05:53:21 74f711af9a0d: Download complete 05:53:21 45590311c82a: Verifying Checksum 05:53:21 45590311c82a: Download complete 05:53:21 69ca0ff8b7b3: Verifying Checksum 05:53:21 69ca0ff8b7b3: Download complete 05:53:20 > git remote # timeout=10 05:53:20 > git config --get remote.origin.url # timeout=10 05:53:20 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:20 > git merge 4a1412fe3679be6652f13296ba45411ccc085237 # timeout=10 05:53:20 > git rev-parse HEAD^{commit} # timeout=10 05:53:20 > git config core.sparsecheckout # timeout=10 05:53:20 > git checkout -f 3ccd6247f9f387f0c9668272060ad741d43f917b # timeout=10 05:53:21 b538f80385f9: Verifying Checksum 05:53:21 b538f80385f9: Download complete 05:53:22 b538f80385f9: Pull complete 05:53:22 74f711af9a0d: Pull complete 05:53:23 99f96fe45779: Pull complete 05:53:23 Commit message: "feat: implement v2 discovery API" 05:53:24 > git --version # timeout=10 05:53:24 > git --version # 'git version 2.16.5' 05:53:24 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d 05:53:24 209524e5b208: Verifying Checksum 05:53:24 209524e5b208: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:53:25 ========================================================= 05:53:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:53:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:53:25 8529a6b9a6be: Verifying Checksum 05:53:25 8529a6b9a6be: Download complete 05:53:25 + 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 . 05:53:26 Sending build context to Docker daemon 3.443MB 05:53:26 Step 1/8 : ARG BASE=golang:1.15-alpine 05:53:26 Step 2/8 : FROM ${BASE} 05:53:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:53:26 df20fa9351a1: Pulling fs layer 05:53:26 ed8968b2872e: Pulling fs layer 05:53:26 a92cc7c5fd73: Pulling fs layer 05:53:26 e871e8e8d7a9: Pulling fs layer 05:53:26 e73272ec9a57: Pulling fs layer 05:53:26 1e910a182e73: Pulling fs layer 05:53:26 4e634b169226: Pulling fs layer 05:53:26 4e634b169226: Waiting 05:53:26 1e910a182e73: Waiting 05:53:26 e871e8e8d7a9: Waiting 05:53:26 e73272ec9a57: Waiting 05:53:26 a92cc7c5fd73: Verifying Checksum 05:53:26 a92cc7c5fd73: Download complete 05:53:26 ed8968b2872e: Verifying Checksum 05:53:26 ed8968b2872e: Download complete 05:53:26 e73272ec9a57: Download complete 05:53:26 1e910a182e73: Verifying Checksum 05:53:26 1e910a182e73: Download complete 05:53:26 df20fa9351a1: Verifying Checksum 05:53:26 df20fa9351a1: Download complete 05:53:26 df20fa9351a1: Pull complete 05:53:26 ed8968b2872e: Pull complete 05:53:26 a92cc7c5fd73: Pull complete 05:53:27 4e634b169226: Verifying Checksum 05:53:27 4e634b169226: Download complete 05:53:28 e871e8e8d7a9: Verifying Checksum 05:53:28 e871e8e8d7a9: Download complete 05:53:34 e871e8e8d7a9: Pull complete 05:53:34 e73272ec9a57: Pull complete 05:53:34 1e910a182e73: Pull complete 05:53:35 8529a6b9a6be: Pull complete 05:53:35 45590311c82a: Pull complete 05:53:36 69ca0ff8b7b3: Pull complete 05:53:40 209524e5b208: Pull complete 05:53:40 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 05:53:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:53:40 ---> 5bddaf1c2fca 05:53:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:53:40 4e634b169226: Pull complete 05:53:40 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 05:53:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:53:40 ---> f7629b54cfaa 05:53:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:53:41 ---> Running in f443a03198ef 05:53:41 Removing intermediate container f443a03198ef 05:53:41 ---> 294054cc8026 05:53:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:53:41 ---> Running in 3a85a39fb770 05:53:42 Removing intermediate container 3a85a39fb770 05:53:42 ---> 1e2e66d66f02 05:53:42 Step 5/8 : RUN apk add --no-cache make git 05:53:43 ---> Running in 7419b374ca02 05:53:43 ---> Running in 704de996820e 05:53:43 Removing intermediate container 704de996820e 05:53:43 ---> 940d1d352703 05:53:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:53:43 ---> Running in 731e69cf5e18 05:53:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:53:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:53:44 OK: 166 MiB in 39 packages 05:53:45 Removing intermediate container 7419b374ca02 05:53:45 ---> 07c9d696f8ee 05:53:45 Step 6/8 : WORKDIR /device-sdk-go 05:53:45 ---> Running in 166c26d94223 05:53:45 Removing intermediate container 166c26d94223 05:53:45 ---> 3112d533edc3 05:53:45 Step 7/8 : COPY . . 05:53:46 Removing intermediate container 731e69cf5e18 05:53:46 ---> 9fce6cac7f9e 05:53:46 Step 5/8 : RUN apk add --no-cache make git 05:53:46 ---> Running in 0bc7e76fd0fe 05:53:46 ---> a3bfdc33ff2c 05:53:46 Step 8/8 : RUN go mod download 05:53:46 ---> Running in bde2346feffa 05:53:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:53:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:53:49 OK: 142 MiB in 39 packages 05:53:50 Removing intermediate container 0bc7e76fd0fe 05:53:50 ---> 8cdad8b41701 05:53:50 Step 6/8 : WORKDIR /device-sdk-go 05:53:50 ---> Running in 31be415fc5ff 05:53:50 Removing intermediate container 31be415fc5ff 05:53:50 ---> e66adaaed67c 05:53:50 Step 7/8 : COPY . . 05:53:52 ---> a10c63a486fa 05:53:52 Step 8/8 : RUN go mod download 05:53:52 ---> Running in 3961e8981506 05:54:04 Removing intermediate container bde2346feffa 05:54:04 ---> f355cc55c8bd 05:54:04 Successfully built f355cc55c8bd 05:54:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:54:05 + docker inspect -f . ci-base-image-x86_64 05:54:05 . [Pipeline] withDockerContainer 05:54:05 prd-centos7-docker-4c-2g-2160 does not seem to be running inside a container 05:54:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 05:54:06 $ docker top 444833281c361d5f648eb69631a23889a4f1b3af0d51dd0021921b7d7b43a8c5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:06 + go version 05:54:06 go version go1.15.2 linux/amd64 [Pipeline] } 05:54:06 $ docker stop --time=1 444833281c361d5f648eb69631a23889a4f1b3af0d51dd0021921b7d7b43a8c5 05:54:08 $ docker rm -f 444833281c361d5f648eb69631a23889a4f1b3af0d51dd0021921b7d7b43a8c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:54:09 + docker inspect -f . ci-base-image-x86_64 05:54:09 . [Pipeline] withDockerContainer 05:54:09 prd-centos7-docker-4c-2g-2160 does not seem to be running inside a container 05:54:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 05:54:10 $ docker top 4fdf36071b6db937ffd7fbfed4d944b94af095c99e707a1d3349a97e5eac14a9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:10 + make test 05:54:10 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:54:14 Removing intermediate container 3961e8981506 05:54:14 ---> 5f81ee1da651 05:54:14 Successfully built 5f81ee1da651 05:54:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:54:14 + docker inspect -f . ci-base-image-arm64 05:54:14 . [Pipeline] withDockerContainer 05:54:15 prd-ubuntu18.04-docker-arm64-4c-16g-2159 does not seem to be running inside a container 05:54:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:54:17 $ docker top 2a3e24c107b38e749e18c76e6e5f8061640660976d691ff7ca6b29ac0b60ac89 -eo pid,comm [Pipeline] { 05:54:17 ? github.com/edgexfoundry/device-sdk-go [no test files] [Pipeline] sh 05:54:18 + go version 05:54:18 go version go1.15.2 linux/arm64 [Pipeline] } 05:54:18 $ docker stop --time=1 2a3e24c107b38e749e18c76e6e5f8061640660976d691ff7ca6b29ac0b60ac89 05:54:20 $ docker rm -f 2a3e24c107b38e749e18c76e6e5f8061640660976d691ff7ca6b29ac0b60ac89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:54:21 + docker inspect -f . ci-base-image-arm64 05:54:21 . [Pipeline] withDockerContainer 05:54:22 prd-ubuntu18.04-docker-arm64-4c-16g-2159 does not seem to be running inside a container 05:54:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:54:24 $ docker top 36f3237baa401a02bf249465522f0cc88ccc6c0a79caea662e0329ea7e3179c3 -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:25 + make test 05:54:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:54:32 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:54:32 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:54:32 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:54:32 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.057s coverage: 21.6% of statements 05:54:32 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.443s coverage: 97.1% of statements 05:54:47 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:55:04 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 9.4% of statements 05:55:04 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.054s coverage: 21.9% of statements 05:55:04 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:55:04 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.200s coverage: 39.9% of statements 05:55:04 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:55:04 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.288s coverage: 65.4% of statements 05:55:04 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:55:04 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:55:04 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:55:04 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 05:55:04 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.064s coverage: 52.6% of statements 05:55:04 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 05:55:04 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.318s coverage: 68.9% of statements 05:55:04 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:55:04 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:55:04 GO111MODULE=on go vet ./... 05:55:13 gofmt -l . 05:55:13 [ "`gofmt -l .`" = "" ] 05:55:13 ./bin/test-attribution-txt.sh 05:55:13 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:55:13 Stashed 1 file(s) [Pipeline] } 05:55:13 $ docker stop --time=1 4fdf36071b6db937ffd7fbfed4d944b94af095c99e707a1d3349a97e5eac14a9 05:55:15 $ docker rm -f 4fdf36071b6db937ffd7fbfed4d944b94af095c99e707a1d3349a97e5eac14a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:55:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:55:19 + ls -al . 05:55:19 total 192 05:55:19 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 30 05:55 . 05:55:19 drwxrwxr-x. 4 jenkins jenkins 28 Sep 30 05:53 .. 05:55:19 drwxrwxr-x. 2 jenkins jenkins 64 Sep 30 05:53 bin 05:55:19 -rw-r--r--. 1 jenkins jenkins 111043 Sep 30 05:55 coverage.out 05:55:19 -rw-rw-r--. 1 jenkins jenkins 936 Sep 30 05:53 Dockerfile.build 05:55:19 -rw-rw-r--. 1 jenkins jenkins 140 Sep 30 05:53 .dockerignore 05:55:19 drwxrwxr-x. 4 jenkins jenkins 48 Sep 30 05:53 example 05:55:19 drwxrwxr-x. 8 jenkins jenkins 179 Sep 30 05:53 .git 05:55:19 drwxrwxr-x. 2 jenkins jenkins 60 Sep 30 05:53 .github 05:55:19 -rw-rw-r--. 1 jenkins jenkins 138 Sep 30 05:53 .gitignore 05:55:19 -rw-r--r--. 1 jenkins jenkins 517 Sep 30 05:55 go.mod 05:55:19 -rw-r--r--. 1 jenkins jenkins 13464 Sep 30 05:55 go.sum 05:55:19 drwxrwxr-x. 15 jenkins jenkins 211 Sep 30 05:53 internal 05:55:19 -rw-rw-r--. 1 jenkins jenkins 785 Sep 30 05:53 Jenkinsfile 05:55:19 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 30 05:53 LICENSE 05:55:19 -rw-rw-r--. 1 jenkins jenkins 1013 Sep 30 05:53 Makefile 05:55:19 drwxrwxr-x. 4 jenkins jenkins 26 Sep 30 05:53 openapi 05:55:19 drwxrwxr-x. 5 jenkins jenkins 50 Sep 30 05:53 pkg 05:55:19 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 30 05:53 README.md 05:55:19 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 30 05:53 RELEASE-NOTES.txt 05:55:19 drwxrwxr-x. 3 jenkins jenkins 58 Sep 30 05:53 .semver 05:55:19 drwxrwxr-x. 4 jenkins jenkins 54 Sep 30 05:53 snap 05:55:19 -rw-rw-r--. 1 jenkins jenkins 5 Sep 30 05:50 VERSION 05:55:19 -rw-rw-r--. 1 jenkins jenkins 222 Sep 30 05:53 version.go [Pipeline] isUnix [Pipeline] sh 05:55:19 + 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=3ccd6247f9f387f0c9668272060ad741d43f917b --label arch=amd64 --label version=0.0.0 . 05:55:19 Sending build context to Docker daemon 3.554MB 05:55:19 Step 1/24 : ARG BASE=golang:1.15-alpine 05:55:19 Step 2/24 : FROM ${BASE} AS builder 05:55:19 ---> f355cc55c8bd 05:55:19 Step 3/24 : ARG MAKE='make build' 05:55:20 ---> Running in 874f7a895750 05:55:20 Removing intermediate container 874f7a895750 05:55:20 ---> 8ab99cbd584f 05:55:20 Step 4/24 : WORKDIR /device-sdk-go 05:55:20 ---> Running in 8c1545fa9492 05:55:20 Removing intermediate container 8c1545fa9492 05:55:20 ---> 316e56ac7188 05:55:20 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:55:20 ---> Running in 1749db757e6b 05:55:20 Removing intermediate container 1749db757e6b 05:55:20 ---> d809b486803e 05:55:20 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:55:20 ---> Running in ba9edafac9f4 05:55:21 Removing intermediate container ba9edafac9f4 05:55:21 ---> 7163edabd2b4 05:55:21 Step 7/24 : RUN apk add --update --no-cache make git 05:55:21 ---> Running in 4919c72e0fee 05:55:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:55:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:55:23 OK: 166 MiB in 39 packages 05:55:23 Removing intermediate container 4919c72e0fee 05:55:23 ---> 818f2143a5fe 05:55:23 Step 8/24 : COPY . . 05:55:24 ---> 4c483c3d0139 05:55:24 Step 9/24 : RUN ${MAKE} 05:55:24 ---> Running in 52a8e331b075 05:55:25 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 05:55:26 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:55:26 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:55:26 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:55:26 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.145s coverage: 21.6% of statements 05:55:28 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.224s coverage: 97.1% of statements 05:55:33 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:55:35 Removing intermediate container 52a8e331b075 05:55:35 ---> 00dbe6cae655 05:55:35 Step 10/24 : FROM scratch 05:55:35 ---> 05:55:35 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:55:35 ---> Running in 6e5c99c235ea 05:55:35 Removing intermediate container 6e5c99c235ea 05:55:35 ---> 44c78f0d284a 05:55:35 Step 12/24 : ENV APP_PORT=49990 05:55:35 ---> Running in b588265e37ad 05:55:35 Removing intermediate container b588265e37ad 05:55:35 ---> b0f338225cff 05:55:35 Step 13/24 : EXPOSE $APP_PORT 05:55:35 ---> Running in c71a8d5327b5 05:55:35 Removing intermediate container c71a8d5327b5 05:55:35 ---> d4637d00ef6d 05:55:35 Step 14/24 : WORKDIR / 05:55:35 ---> Running in f82f584b6f61 05:55:35 Removing intermediate container f82f584b6f61 05:55:35 ---> fda5a9d1bb48 05:55:35 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:55:36 ---> e22ca50d2e2e 05:55:36 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:55:36 ---> b95275520456 05:55:36 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:55:36 ---> bb7d8660cb23 05:55:36 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:55:37 ---> d6843596b2b3 05:55:37 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:55:37 ---> 89e7cdbbd949 05:55:37 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:55:37 ---> Running in dc16bfe39c5c 05:55:37 Removing intermediate container dc16bfe39c5c 05:55:37 ---> 66993bf6d255 05:55:37 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:55:37 ---> Running in 1a0e23180a11 05:55:37 Removing intermediate container 1a0e23180a11 05:55:37 ---> 225992ce139f 05:55:37 Step 22/24 : LABEL arch=amd64 05:55:37 ---> Running in 62ebb8fa9263 05:55:38 Removing intermediate container 62ebb8fa9263 05:55:38 ---> 46ef632a165a 05:55:38 Step 23/24 : LABEL git_sha=3ccd6247f9f387f0c9668272060ad741d43f917b 05:55:38 ---> Running in 51bf52ac6e39 05:55:38 Removing intermediate container 51bf52ac6e39 05:55:38 ---> baa5a1ca03bb 05:55:38 Step 24/24 : LABEL version=0.0.0 05:55:38 ---> Running in 3e9cae580c21 05:55:38 Removing intermediate container 3e9cae580c21 05:55:38 ---> ee4c00aff360 05:55:38 [Warning] One or more build-args [ARCH] were not consumed 05:55:38 Successfully built ee4c00aff360 05:55:38 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] } 05:56:01 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.129s coverage: 9.4% of statements 05:56:01 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.111s coverage: 21.9% of statements 05:56:01 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:56:01 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.575s coverage: 39.9% of statements 05:56:01 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:56:01 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.800s coverage: 65.4% of statements 05:56:01 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:56:01 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:56:01 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:56:01 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 05:56:01 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.182s coverage: 52.6% of statements 05:56:01 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 05:56:01 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.693s coverage: 68.9% of statements 05:56:01 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:56:01 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:56:01 GO111MODULE=on go vet ./... 05:56:28 gofmt -l . 05:56:28 [ "`gofmt -l .`" = "" ] 05:56:28 ./bin/test-attribution-txt.sh 05:56:28 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:56:29 Warning: overwriting stash ‘coverage-report’ 05:56:30 Stashed 1 file(s) [Pipeline] } 05:56:30 $ docker stop --time=1 36f3237baa401a02bf249465522f0cc88ccc6c0a79caea662e0329ea7e3179c3 05:56:32 $ docker rm -f 36f3237baa401a02bf249465522f0cc88ccc6c0a79caea662e0329ea7e3179c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:56:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:56:34 + ls -al . 05:56:34 total 232 05:56:34 drwxrwxr-x 11 jenkins jenkins 4096 Sep 30 05:56 . 05:56:34 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 05:53 .. 05:56:34 -rw-rw-r-- 1 jenkins jenkins 140 Sep 30 05:53 .dockerignore 05:56:34 drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 05:53 .git 05:56:34 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 05:53 .github 05:56:34 -rw-rw-r-- 1 jenkins jenkins 138 Sep 30 05:53 .gitignore 05:56:34 drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 05:53 .semver 05:56:34 -rw-rw-r-- 1 jenkins jenkins 936 Sep 30 05:53 Dockerfile.build 05:56:34 -rw-rw-r-- 1 jenkins jenkins 785 Sep 30 05:53 Jenkinsfile 05:56:34 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 30 05:53 LICENSE 05:56:34 -rw-rw-r-- 1 jenkins jenkins 1013 Sep 30 05:53 Makefile 05:56:34 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 30 05:53 README.md 05:56:34 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 30 05:53 RELEASE-NOTES.txt 05:56:34 -rw-rw-r-- 1 jenkins jenkins 5 Sep 30 05:50 VERSION 05:56:34 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 05:53 bin 05:56:34 -rw-r--r-- 1 jenkins jenkins 111043 Sep 30 05:55 coverage.out 05:56:34 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 05:53 example 05:56:34 -rw-r--r-- 1 jenkins jenkins 517 Sep 30 05:56 go.mod 05:56:34 -rw-r--r-- 1 jenkins jenkins 13464 Sep 30 05:56 go.sum 05:56:34 drwxrwxr-x 15 jenkins jenkins 4096 Sep 30 05:53 internal 05:56:34 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 05:53 openapi 05:56:34 drwxrwxr-x 5 jenkins jenkins 4096 Sep 30 05:53 pkg 05:56:34 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 05:53 snap 05:56:34 -rw-rw-r-- 1 jenkins jenkins 222 Sep 30 05:53 version.go [Pipeline] isUnix [Pipeline] sh 05:56:34 + 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=3ccd6247f9f387f0c9668272060ad741d43f917b --label arch=arm64 --label version=0.0.0 . 05:56:35 Sending build context to Docker daemon 3.554MB 05:56:35 Step 1/24 : ARG BASE=golang:1.15-alpine 05:56:35 Step 2/24 : FROM ${BASE} AS builder 05:56:35 ---> 5f81ee1da651 05:56:35 Step 3/24 : ARG MAKE='make build' 05:56:35 ---> Running in a2c4306667fc 05:56:36 Removing intermediate container a2c4306667fc 05:56:36 ---> fda46efe1225 05:56:36 Step 4/24 : WORKDIR /device-sdk-go 05:56:36 ---> Running in b641a99ce866 05:56:36 Removing intermediate container b641a99ce866 05:56:36 ---> 981aeac16203 05:56:36 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:56:36 ---> Running in 081b26bf4bb7 05:56:37 Removing intermediate container 081b26bf4bb7 05:56:37 ---> a588684f0876 05:56:37 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:56:37 ---> Running in ca935781ab70 05:56:40 Removing intermediate container ca935781ab70 05:56:40 ---> 635ad0538829 05:56:40 Step 7/24 : RUN apk add --update --no-cache make git 05:56:40 ---> Running in c52d33a73477 05:56:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:56:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:56:42 OK: 142 MiB in 39 packages 05:56:44 Removing intermediate container c52d33a73477 05:56:44 ---> 2fce7931c827 05:56:44 Step 8/24 : COPY . . 05:56:45 ---> 7fb75d430b7f 05:56:45 Step 9/24 : RUN ${MAKE} 05:56:45 ---> Running in eaf71307b4d0 05:56:46 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 05:57:09 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:57:12 Removing intermediate container eaf71307b4d0 05:57:12 ---> e2e7e1db7214 05:57:12 Step 10/24 : FROM scratch 05:57:12 ---> 05:57:12 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:57:12 ---> Running in b3b99cd2fbb7 05:57:12 Removing intermediate container b3b99cd2fbb7 05:57:12 ---> f31398e542f7 05:57:12 Step 12/24 : ENV APP_PORT=49990 05:57:12 ---> Running in eb8e109b2bb6 05:57:12 Removing intermediate container eb8e109b2bb6 05:57:12 ---> a40e596b7675 05:57:12 Step 13/24 : EXPOSE $APP_PORT 05:57:12 ---> Running in fb4ccd9a8b53 05:57:13 Removing intermediate container fb4ccd9a8b53 05:57:13 ---> 9e140f6475f1 05:57:13 Step 14/24 : WORKDIR / 05:57:13 ---> Running in 77d014502861 05:57:14 Removing intermediate container 77d014502861 05:57:14 ---> 408a9a133ba2 05:57:14 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:57:15 ---> 2aefba9dad65 05:57:15 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:57:15 ---> 87978839a091 05:57:15 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:57:16 ---> 55d344d9c317 05:57:16 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:57:17 ---> 74c5fff7e533 05:57:17 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:57:17 ---> 65d2d49650b5 05:57:17 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:57:18 ---> Running in 8773de9474ba 05:57:18 Removing intermediate container 8773de9474ba 05:57:18 ---> b72d6c01ff80 05:57:18 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:57:18 ---> Running in 4176f61da155 05:57:18 Removing intermediate container 4176f61da155 05:57:18 ---> 21b82f639156 05:57:18 Step 22/24 : LABEL arch=arm64 05:57:19 ---> Running in f25c0905e8db 05:57:19 Removing intermediate container f25c0905e8db 05:57:19 ---> 36a8fbf09b65 05:57:19 Step 23/24 : LABEL git_sha=3ccd6247f9f387f0c9668272060ad741d43f917b 05:57:19 ---> Running in 908cfdfede9d 05:57:20 Removing intermediate container 908cfdfede9d 05:57:20 ---> b87832c144fc 05:57:20 Step 24/24 : LABEL version=0.0.0 05:57:20 ---> Running in b591fed2768c 05:57:20 Removing intermediate container b591fed2768c 05:57:20 ---> e8b205dd4f32 05:57:20 [Warning] One or more build-args [ARCH] were not consumed 05:57:20 Successfully built e8b205dd4f32 05:57:20 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 05:57:23 provisioning config files... 05:57:23 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp/config702558981308028001tmp [Pipeline] { [Pipeline] sh 05:57:24 + set +x 05:57:24 + curl -s https://codecov.io/bash 05:57:24 + bash -s -- 05:57:24 05:57:24 _____ _ 05:57:24 / ____| | | 05:57:24 | | ___ __| | ___ ___ _____ __ 05:57:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:57:24 | |___| (_) | (_| | __/ (_| (_) \ V / 05:57:24 \_____\___/ \__,_|\___|\___\___/ \_/ 05:57:24 Bash-20200917-4e8f14b 05:57:24 05:57:24 05:57:24 ==> Jenkins CI detected. 05:57:24 project root: . 05:57:24 --> token set from env 05:57:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:57:24 ==> Running gcov in . (disable via -X gcov) 05:57:24 ==> Python coveragepy not found 05:57:24 ==> Searching for coverage reports in: 05:57:24 + . 05:57:24 -> Found 1 reports 05:57:24 ==> Detecting git/mercurial file structure 05:57:24 ==> Reading reports 05:57:24 + ./coverage.out bytes=111043 05:57:24 ==> Appending adjustments 05:57:24 https://docs.codecov.io/docs/fixing-reports 05:57:25 + Found adjustments 05:57:25 ==> Gzipping contents 05:57:25 ==> Uploading reports 05:57:25 url: https://codecov.io 05:57:25 query: branch=PR-603&commit=3ccd6247f9f387f0c9668272060ad741d43f917b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-603%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=603&job=&cmd_args= 05:57:25 -> Pinging Codecov 05:57:25 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-603&commit=3ccd6247f9f387f0c9668272060ad741d43f917b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-603%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=603&job=&cmd_args= 05:57:25 -> Uploading to 05:57:25 https://storage.googleapis.com/codecov/v4/raw/2020-09-30/7E55EF52A471D76F132DFD9A03CDDE97/3ccd6247f9f387f0c9668272060ad741d43f917b/1cf780fc-badf-4c0d-b6df-95d559f27d9d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200930%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200930T055725Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d1097b0dc1088ed2ccd34c1794baf285ff5ad9abaf3c68de23ea65da7c35c2d 05:57:25 % Total % Received % Xferd Average Speed Time Time Time Current 05:57:25 Dload Upload Total Spent Left Speed 05:57:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18358 0 0 100 18358 0 44212 --:--:-- --:--:-- --:--:-- 44236 05:57:26 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3ccd6247f9f387f0c9668272060ad741d43f917b [Pipeline] } 05:57:26 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 05:57:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:57:30 ---> package-listing.sh 05:57:30 ++ facter osfamily 05:57:30 ++ tr '[:upper:]' '[:lower:]' 05:57:30 + OS_FAMILY=redhat 05:57:30 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-603 05:57:30 + START_PACKAGES=/tmp/packages_start.txt 05:57:30 + END_PACKAGES=/tmp/packages_end.txt 05:57:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:57:30 + PACKAGES=/tmp/packages_start.txt 05:57:30 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-603 ']' 05:57:30 + PACKAGES=/tmp/packages_end.txt 05:57:30 + case "${OS_FAMILY}" in 05:57:30 + rpm -qa 05:57:30 + sort 05:57:34 + '[' -f /tmp/packages_start.txt ']' 05:57:34 + '[' -f /tmp/packages_end.txt ']' 05:57:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:57:34 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-603 ']' 05:57:34 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-603/archives/ 05:57:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-603/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:57:34 provisioning config files... 05:57:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp/config4203178386775728991tmp [Pipeline] { [Pipeline] echo 05:57:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:57:35 ---> create-netrc.sh [Pipeline] } 05:57:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:57:35 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:57:36 ---> python-tools-install.sh 05:57:36 Generating Requirements File 05:58:57 Python 3.6.8 05:58:57 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 05:58:57 aiohttp==3.6.2 05:58:57 appdirs==1.4.3 05:58:57 argcomplete==1.12.1 05:58:57 aspy.yaml==1.3.0 05:58:57 async-timeout==3.0.1 05:58:57 attrs==19.3.0 05:58:57 Babel==2.8.0 05:58:57 beautifulsoup4==4.8.2 05:58:57 boto3==1.11.6 05:58:57 botocore==1.14.6 05:58:57 bs4==0.0.1 05:58:57 cachetools==4.1.1 05:58:57 certifi==2019.11.28 05:58:57 cffi==1.14.3 05:58:57 cfgv==2.0.1 05:58:57 chardet==3.0.4 05:58:57 click==7.1 05:58:57 cliff==3.4.0 05:58:57 cmd2==1.3.10 05:58:57 colorama==0.4.3 05:58:57 cryptography==3.1.1 05:58:57 debtcollector==2.2.0 05:58:57 decorator==4.4.2 05:58:57 defusedxml==0.6.0 05:58:57 Deprecated==1.2.7 05:58:57 distlib==0.3.1 05:58:57 distro==1.2.0 05:58:57 dnspython==1.16.0 05:58:57 docker==4.2.0 05:58:57 docutils==0.15.2 05:58:57 dogpile.cache==1.0.2 05:58:57 email-validator==1.0.5 05:58:57 filelock==3.0.12 05:58:57 future==0.18.2 05:58:57 google-auth==1.22.0 05:58:57 httplib2==0.17.0 05:58:57 identify==1.4.11 05:58:57 idna==2.9 05:58:57 idna-ssl==1.1.0 05:58:57 importlib-metadata==1.7.0 05:58:57 importlib-resources==1.5.0 05:58:57 iso8601==0.1.13 05:58:57 Jinja2==2.11.1 05:58:57 jmespath==0.10.0 05:58:57 jsonpatch==1.26 05:58:57 jsonpointer==2.0 05:58:57 jsonschema==3.2.0 05:58:57 keystoneauth1==4.2.1 05:58:57 kubernetes==11.0.0 05:58:57 lftools==0.34.2 05:58:57 lxml==4.5.0 05:58:57 MarkupSafe==0.23 05:58:57 msgpack==1.0.0 05:58:57 multi-key-dict==2.0.3 05:58:57 multidict==4.7.6 05:58:57 munch==2.5.0 05:58:57 netaddr==0.8.0 05:58:57 netifaces==0.10.9 05:58:57 niet==1.4.2 05:58:57 nodeenv==1.3.5 05:58:57 oauth2client==4.1.3 05:58:57 oauthlib==3.1.0 05:58:57 openstacksdk==0.50.0 05:58:57 os-client-config==2.1.0 05:58:57 os-service-types==1.7.0 05:58:57 osc-lib==2.2.1 05:58:57 oslo.config==8.3.2 05:58:57 oslo.context==3.1.1 05:58:57 oslo.i18n==5.0.1 05:58:57 oslo.log==4.4.0 05:58:57 oslo.serialization==4.0.1 05:58:57 oslo.utils==4.6.0 05:58:57 packaging==20.4 05:58:57 pbr==5.4.4 05:58:57 pluggy==0.13.1 05:58:57 prettytable==0.7.2 05:58:57 py==1.9.0 05:58:57 pyasn1==0.4.8 05:58:57 pyasn1-modules==0.2.8 05:58:57 pycparser==2.20 05:58:57 pygerrit2==2.0.10 05:58:57 PyGithub==1.46 05:58:57 pyinotify==0.9.6 05:58:57 PyJWT==1.7.1 05:58:57 pyparsing==2.4.7 05:58:57 pyperclip==1.8.0 05:58:57 pyroute2==0.4.13 05:58:57 pyrsistent==0.15.7 05:58:57 PySocks==1.6.8 05:58:57 python-cinderclient==7.2.0 05:58:57 python-dateutil==2.8.1 05:58:57 python-heatclient==2.2.1 05:58:57 python-jenkins==1.7.0 05:58:57 python-keystoneclient==4.1.1 05:58:57 python-magnumclient==3.2.1 05:58:57 python-novaclient==17.2.1 05:58:57 python-openstackclient==5.3.1 05:58:57 python-swiftclient==3.10.1 05:58:57 pytz==2020.1 05:58:57 PyYAML==5.3 05:58:57 requests==2.23.0 05:58:57 requests-oauthlib==1.3.0 05:58:57 requestsexceptions==1.4.0 05:58:57 rfc3986==1.4.0 05:58:57 rpm==4.11.3 05:58:57 rsa==4.0 05:58:57 ruamel.yaml==0.16.10 05:58:57 ruamel.yaml.clib==0.2.0 05:58:57 s3transfer==0.3.3 05:58:57 shade==1.27.2 05:58:57 simplejson==3.17.2 05:58:57 six==1.14.0 05:58:57 soupsieve==2.0 05:58:57 stevedore==3.2.2 05:58:57 tabulate==0.8.6 05:58:57 toml==0.10.0 05:58:57 tox==3.20.0 05:58:57 tqdm==4.43.0 05:58:57 typing-extensions==3.7.4.3 05:58:57 urllib3==1.25.8 05:58:57 virtualenv==20.0.31 05:58:57 wcwidth==0.2.5 05:58:57 websocket-client==0.57.0 05:58:57 wrapt==1.12.1 05:58:57 xdg==3.0.2 05:58:57 xmltodict==0.12.0 05:58:57 yarl==1.6.0 05:58:57 yq==2.11.1 05:58:57 zipp==3.2.0 05:58:57 Cache entry deserialization failed, entry ignored 05:58:57 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. 05:58:57 Python 2.7.5 05:58:57 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 05:58:57 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. 05:58:57 ansible==2.9.7 05:58:57 Babel==0.9.6 05:58:57 backports.ssl-match-hostname==3.5.0.1 05:58:57 beautifulsoup4==4.4.1 05:58:57 bodhi==2.11.0 05:58:57 bodhi-client==2.11.0 05:58:57 CCColUtils==1.4 05:58:57 cffi==1.6.0 05:58:57 chardet==2.2.1 05:58:57 click==6.7 05:58:57 cloud-init==18.5 05:58:57 configobj==4.7.2 05:58:57 cryptography==1.7.2 05:58:57 decorator==3.4.0 05:58:57 distro==1.2.0 05:58:57 enum34==1.0.4 05:58:57 fedpkg==1.38 05:58:57 futures==3.1.1 05:58:57 gitdb==0.6.4 05:58:57 GitPython==1.0.1 05:58:57 html5lib==0.999 05:58:57 httplib2==0.9.2 05:58:57 idna==2.4 05:58:57 iniparse==0.4 05:58:57 ipaddress==1.0.16 05:58:57 IPy==0.75 05:58:57 javapackages==1.0.0 05:58:57 Jinja2==2.7.2 05:58:57 jmespath==0.9.4 05:58:57 jsonpatch==1.2 05:58:57 jsonpointer==1.9 05:58:57 kerberos==1.1 05:58:57 kitchen==1.1.1 05:58:57 langtable==0.0.31 05:58:57 lockfile==0.9.1 05:58:57 lxml==3.2.1 05:58:57 MarkupSafe==0.11 05:58:57 munch==2.0.2 05:58:57 offtrac==0.1.0 05:58:57 openidc-client==0.6.0 05:58:57 packagedb-cli==2.14.1 05:58:57 paramiko==2.1.1 05:58:57 perf==0.1 05:58:57 ply==3.4 05:58:57 policycoreutils-default-encoding==0.1 05:58:57 prettytable==0.7.2 05:58:57 pyasn1==0.1.9 05:58:57 pycparser==2.14 05:58:57 pycurl==7.19.0 05:58:57 pygobject==3.22.0 05:58:57 pygpgme==0.3 05:58:57 pyliblzma==0.5.3 05:58:57 pyOpenSSL==0.13.1 05:58:57 pyparsing==1.5.6 05:58:57 pyserial==2.6 05:58:57 python-augeas==0.5.0 05:58:57 python-bugzilla==2.3.0 05:58:57 python-dateutil==1.5 05:58:57 python-fedora==0.10.0 05:58:57 python-linux-procfs==0.4.9 05:58:57 python-yubico==1.2.3 05:58:57 pyudev==0.15 05:58:57 pyusb==1.0.0b1 05:58:57 pyxattr==0.5.1 05:58:57 PyYAML==3.10 05:58:57 requests==2.6.0 05:58:57 requests-kerberos==0.7.0 05:58:57 rpkg==1.60 05:58:57 schedutils==0.4 05:58:57 seobject==0.1 05:58:57 sepolicy==1.1 05:58:57 six==1.9.0 05:58:57 smmap==0.9.0 05:58:57 urlgrabber==3.10 05:58:57 urllib3==1.10.2 05:58:57 virtualenv==15.1.0 05:58:57 yum-langpacks==0.4.2 05:58:57 yum-metadata-parser==1.1.4 [Pipeline] echo 05:58:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:58:57 ---> sudo-logs.sh 05:58:57 Archiving 'sudo' log.. [Pipeline] echo 05:58:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:58:58 ---> job-cost.sh 05:58:58 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-YAJF 05:59:13 Cache entry deserialization failed, entry ignored 05:59:13 Cache entry deserialization failed, entry ignored 05:59:13 Cache entry deserialization failed, entry ignored 05:59:13 Cache entry deserialization failed, entry ignored 05:59:13 Cache entry deserialization failed, entry ignored 05:59:13 Cache entry deserialization failed, entry ignored 05:59:13 Cache entry deserialization failed, entry ignored 05:59:13 Cache entry deserialization failed, entry ignored 05:59:13 Cache entry deserialization failed, entry ignored 05:59:13 Cache entry deserialization failed, entry ignored 05:59:13 Cache entry deserialization failed, entry ignored 05:59:13 Cache entry deserialization failed, entry ignored 05:59:13 Cache entry deserialization failed, entry ignored 05:59:16 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:59:42 ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. 05:59:42 05:59:42 We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. 05:59:42 05:59:42 virtualenv 20.0.31 requires importlib-metadata<2,>=0.12; python_version < "3.8", but you'll have importlib-metadata 2.0.0 which is incompatible. 05:59:45 lf-activate-venv(): INFO: Adding /tmp/venv-YAJF/bin to PATH 05:59:45 INFO: No Stack... 05:59:46 INFO: Retrieving Pricing Info for: v1-standard-2 05:59:46 INFO: Archiving Costs [Pipeline] echo 05:59:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:59:47 ---> logs-deploy.sh 05:59:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-603/1 05:59:47 INFO: archiving workspace using pattern(s): 05:59:48 Archives upload complete. 05:59:48 INFO: archiving logs to Nexus