Pull request #624 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 3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1+833c05b782f270c396ee40879762f076aaf9331e (839daeec738b3c7994f85a853f8777dfdeffcaa1) 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 ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-4237 in /w/workspace/dgexfoundry_device-sdk-go_PR-624 [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-624 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1 > 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/624/head:refs/remotes/origin/PR-624 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 Merge succeeded, producing 3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1 Checking out Revision 3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1 (PR-624) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1 # timeout=10 Commit message: "refactor(sdk): release lock after discovery complete" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:23:28 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 1ad5bff171402c01e136b41b63c15df401bca220 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:23:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:23:28 ========================================================= 15:23:28 EdgeX Global Pipelines Version Info 15:23:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:23:32 ------------------- 15:23:32 stable info: 15:23:32 ------------------- 15:23:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:23:32 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 15:23:32 Message: update stable to v1.0.131 15:23:33 ------------------- 15:23:33 experimental info: 15:23:33 ------------------- 15:23:33 Commited By: **** collab-it+edgex@linuxfoundation.org 15:23:33 Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a 15:23:33 Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 15:23:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:23:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:23:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:23:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:23:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:23:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 15:23:36 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:23:36 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 15:23:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:23:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:23:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:23:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 15:23:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:23:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:23:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:23:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:23:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:23:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:23:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:23:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:23:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:23:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 15:23:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:23:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:23:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:23:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-624 [Pipeline] echo 15:23:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-624 [Pipeline] echo 15:23:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-624 [Pipeline] echo 15:23:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1 [Pipeline] echo 15:23:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3b7bdf6 [Pipeline] echo 15:23:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:23:40 + git log --format=format:%s -1 3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1 [Pipeline] echo 15:23:40 GIT_COMMIT: 3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1, Commit Message: refactor(sdk): release lock after discovery complete [Pipeline] echo 15:23:40 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:23:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:23:42 15:23:42 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:23:42 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:23:43 latest: Pulling from edgex-devops/git-semver 15:23:43 31603596830f: Pulling fs layer 15:23:43 2a8b12db71e7: Pulling fs layer 15:23:43 6ca5941a6612: Pulling fs layer 15:23:43 ecc8261a40a4: Pulling fs layer 15:23:43 ecc8261a40a4: Waiting 15:23:43 2a8b12db71e7: Verifying Checksum 15:23:43 2a8b12db71e7: Download complete 15:23:43 31603596830f: Verifying Checksum 15:23:43 31603596830f: Download complete 15:23:43 ecc8261a40a4: Verifying Checksum 15:23:43 ecc8261a40a4: Download complete 15:23:43 6ca5941a6612: Verifying Checksum 15:23:43 6ca5941a6612: Download complete 15:23:44 31603596830f: Pull complete 15:23:44 2a8b12db71e7: Pull complete 15:23:45 6ca5941a6612: Pull complete 15:23:45 ecc8261a40a4: Pull complete 15:23:45 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 15:23:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:23:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:23:46 prd-centos7-docker-4c-2g-4237 does not seem to be running inside a container 15:23:46 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-624 -v /w/workspace/dgexfoundry_device-sdk-go_PR-624:/w/workspace/dgexfoundry_device-sdk-go_PR-624:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-624@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-624@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 15:23:48 $ docker top 2b6b583688c51e881f65a9773fafeef44ab6ff0ae21420b40b4660dde9867a9e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:23:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:23:49 [ssh-agent] Looking for ssh-agent implementation... 15:23:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:23:49 $ docker exec 2b6b583688c51e881f65a9773fafeef44ab6ff0ae21420b40b4660dde9867a9e ssh-agent 15:23:49 SSH_AUTH_SOCK=/tmp/ssh-7N2C0DQPWzeH/agent.12 15:23:49 SSH_AGENT_PID=17 15:23:50 Running ssh-add (command line suppressed) 15:23:50 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-624@tmp/private_key_8002659129589445079.key (/w/workspace/dgexfoundry_device-sdk-go_PR-624@tmp/private_key_8002659129589445079.key) 15:23:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:23:51 + git describe --exact-match --tags HEAD 15:23:51 fatal: no tag exactly matches '3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1' [Pipeline] } 15:23:51 $ docker exec --env ******** --env ******** 2b6b583688c51e881f65a9773fafeef44ab6ff0ae21420b40b4660dde9867a9e ssh-agent -k 15:23:51 unset SSH_AUTH_SOCK; 15:23:51 unset SSH_AGENT_PID; 15:23:51 echo Agent pid 17 killed; 15:23:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 15:23:51 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 15:23:51 This usually means this commit has not been tagged. [Pipeline] sshagent 15:23:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:23:51 [ssh-agent] Looking for ssh-agent implementation... 15:23:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:23:52 $ docker exec 2b6b583688c51e881f65a9773fafeef44ab6ff0ae21420b40b4660dde9867a9e ssh-agent 15:23:52 SSH_AUTH_SOCK=/tmp/ssh-nNnWGw6wHmJb/agent.46 15:23:52 SSH_AGENT_PID=52 15:23:52 Running ssh-add (command line suppressed) 15:23:52 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-624@tmp/private_key_1068043428505103667.key (/w/workspace/dgexfoundry_device-sdk-go_PR-624@tmp/private_key_1068043428505103667.key) 15:23:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:23:53 + git semver init 15:23:53 # -> Open(): unable to determine branch for HEAD 15:23:53 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-624/.git 15:23:53 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-624 15:23:53 # $SEMVER_REMOTE_NAME = origin 15:23:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:23:53 # $SEMVER_USER_NAME = edgex-jenkins 15:23:53 # $SEMVER_BRANCH = PR-624 15:23:53 # $SEMVER_TEMP = /tmp/semver-067733081 15:23:53 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 15:23:54 # '/tmp/semver-067733081' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-624/.semver' 15:23:54 # -> Force: false 15:23:54 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-624/.semver [Pipeline] } 15:23:54 $ docker exec --env ******** --env ******** 2b6b583688c51e881f65a9773fafeef44ab6ff0ae21420b40b4660dde9867a9e ssh-agent -k 15:23:55 unset SSH_AUTH_SOCK; 15:23:55 unset SSH_AGENT_PID; 15:23:55 echo Agent pid 52 killed; 15:23:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:23:55 + git semver [Pipeline] } 15:23:55 $ docker stop --time=1 2b6b583688c51e881f65a9773fafeef44ab6ff0ae21420b40b4660dde9867a9e 15:23:57 $ docker rm -f 2b6b583688c51e881f65a9773fafeef44ab6ff0ae21420b40b4660dde9867a9e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 15:23:58 Stashed 46 file(s) [Pipeline] echo 15:23:58 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 15:23:58 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 15:24:14 Still waiting to schedule task 15:24:14 Waiting for next available executor on ‘centos7-docker-4c-2g’ 15:24:14 Still waiting to schedule task 15:24:14 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 15:26:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4238 in /w/workspace/dgexfoundry_device-sdk-go_PR-624 [Pipeline] { [Pipeline] ws 15:26:27 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 15:26:33 using credential edgex-jenkins-ssh 15:26:33 Cloning the remote Git repository 15:26:33 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:26:33 > git init /w/workspace/device-sdk-go/3 # timeout=10 15:26:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:26:33 > git --version # timeout=10 15:26:33 > git --version # 'git version 2.17.1' 15:26:33 using GIT_SSH to set credentials SSH Credentials for GitHub 15:26:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:26:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:26:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:26:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:26:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:26:34 using GIT_SSH to set credentials SSH Credentials for GitHub 15:26:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/624/head:refs/remotes/origin/PR-624 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:26:35 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1 15:26:35 Merge succeeded, producing 3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1 15:26:35 Checking out Revision 3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1 (PR-624) 15:26:35 > git config core.sparsecheckout # timeout=10 15:26:35 > git checkout -f 3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1 # timeout=10 15:26:35 > git remote # timeout=10 15:26:35 > git config --get remote.origin.url # timeout=10 15:26:35 using GIT_SSH to set credentials SSH Credentials for GitHub 15:26:35 > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 15:26:35 > git rev-parse HEAD^{commit} # timeout=10 15:26:35 > git config core.sparsecheckout # timeout=10 15:26:35 > git checkout -f 3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1 # timeout=10 15:26:40 Commit message: "refactor(sdk): release lock after discovery complete" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:26:42 ========================================================= 15:26:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 15:26:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:26:43 + 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 . 15:26:44 Sending build context to Docker daemon 3.52MB 15:26:44 Step 1/8 : ARG BASE=golang:1.15-alpine 15:26:44 Step 2/8 : FROM ${BASE} 15:26:44 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:26:44 b538f80385f9: Pulling fs layer 15:26:44 74f711af9a0d: Pulling fs layer 15:26:44 99f96fe45779: Pulling fs layer 15:26:44 8529a6b9a6be: Pulling fs layer 15:26:44 45590311c82a: Pulling fs layer 15:26:44 69ca0ff8b7b3: Pulling fs layer 15:26:44 209524e5b208: Pulling fs layer 15:26:44 8529a6b9a6be: Waiting 15:26:44 45590311c82a: Waiting 15:26:44 69ca0ff8b7b3: Waiting 15:26:44 209524e5b208: Waiting 15:26:44 99f96fe45779: Verifying Checksum 15:26:44 99f96fe45779: Download complete 15:26:44 74f711af9a0d: Verifying Checksum 15:26:44 74f711af9a0d: Download complete 15:26:44 45590311c82a: Download complete 15:26:44 69ca0ff8b7b3: Download complete 15:26:45 b538f80385f9: Verifying Checksum 15:26:45 b538f80385f9: Download complete 15:26:46 b538f80385f9: Pull complete 15:26:46 74f711af9a0d: Pull complete 15:26:47 99f96fe45779: Pull complete 15:26:48 209524e5b208: Verifying Checksum 15:26:48 209524e5b208: Download complete 15:26:49 8529a6b9a6be: Verifying Checksum 15:26:49 8529a6b9a6be: Download complete 15:27:02 8529a6b9a6be: Pull complete 15:27:02 45590311c82a: Pull complete 15:27:02 69ca0ff8b7b3: Pull complete 15:27:05 209524e5b208: Pull complete 15:27:05 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 15:27:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 15:27:05 ---> 5bddaf1c2fca 15:27:05 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:27:07 ---> Running in 54f1dbf6a134 15:27:07 Removing intermediate container 54f1dbf6a134 15:27:07 ---> d6a3d082bc70 15:27:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:27:08 ---> Running in 86902a9739c2 15:27:10 Removing intermediate container 86902a9739c2 15:27:10 ---> 4c475f719cd7 15:27:10 Step 5/8 : RUN apk add --no-cache make git 15:27:10 ---> Running in e6af6e9c3f82 15:27:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:27:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:27:14 OK: 142 MiB in 39 packages 15:27:15 Removing intermediate container e6af6e9c3f82 15:27:15 ---> 5bea5241dcd3 15:27:15 Step 6/8 : WORKDIR /device-sdk-go 15:27:15 ---> Running in fbfec2f5bb3d 15:27:16 Removing intermediate container fbfec2f5bb3d 15:27:16 ---> fe062ad8c354 15:27:16 Step 7/8 : COPY . . 15:27:17 Running on prd-centos7-docker-4c-2g-4239 in /w/workspace/dgexfoundry_device-sdk-go_PR-624 [Pipeline] { [Pipeline] ws 15:27:17 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 15:27:17 ---> d424feb9fd24 15:27:17 Step 8/8 : RUN go mod download 15:27:17 ---> Running in 72cbd552a5ac 15:27:20 using credential edgex-jenkins-ssh 15:27:20 Cloning the remote Git repository 15:27:20 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:27:20 > git init /w/workspace/device-sdk-go/3 # timeout=10 15:27:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:27:20 > git --version # timeout=10 15:27:20 > git --version # 'git version 2.16.5' 15:27:20 using GIT_SSH to set credentials SSH Credentials for GitHub 15:27:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:27:22 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1 15:27:22 Merge succeeded, producing 3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1 15:27:22 Checking out Revision 3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1 (PR-624) 15:27:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:27:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:27:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:27:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:27:22 using GIT_SSH to set credentials SSH Credentials for GitHub 15:27:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/624/head:refs/remotes/origin/PR-624 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:27:22 > git config core.sparsecheckout # timeout=10 15:27:22 > git checkout -f 3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1 # timeout=10 15:27:22 > git remote # timeout=10 15:27:22 > git config --get remote.origin.url # timeout=10 15:27:22 using GIT_SSH to set credentials SSH Credentials for GitHub 15:27:22 > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 15:27:22 > git rev-parse HEAD^{commit} # timeout=10 15:27:22 > git config core.sparsecheckout # timeout=10 15:27:22 > git checkout -f 3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1 # timeout=10 15:27:27 Commit message: "refactor(sdk): release lock after discovery complete" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:27:28 ========================================================= 15:27:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 15:27:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:27:29 + 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 . 15:27:29 Sending build context to Docker daemon 3.518MB 15:27:29 Step 1/8 : ARG BASE=golang:1.15-alpine 15:27:29 Step 2/8 : FROM ${BASE} 15:27:29 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 15:27:29 df20fa9351a1: Pulling fs layer 15:27:29 ed8968b2872e: Pulling fs layer 15:27:29 a92cc7c5fd73: Pulling fs layer 15:27:29 e871e8e8d7a9: Pulling fs layer 15:27:29 e73272ec9a57: Pulling fs layer 15:27:29 1e910a182e73: Pulling fs layer 15:27:29 4e634b169226: Pulling fs layer 15:27:29 e73272ec9a57: Waiting 15:27:29 1e910a182e73: Waiting 15:27:29 4e634b169226: Waiting 15:27:29 e871e8e8d7a9: Waiting 15:27:29 a92cc7c5fd73: Verifying Checksum 15:27:29 a92cc7c5fd73: Download complete 15:27:29 ed8968b2872e: Download complete 15:27:29 e73272ec9a57: Download complete 15:27:30 1e910a182e73: Verifying Checksum 15:27:30 1e910a182e73: Download complete 15:27:30 df20fa9351a1: Verifying Checksum 15:27:30 df20fa9351a1: Download complete 15:27:30 df20fa9351a1: Pull complete 15:27:31 ed8968b2872e: Pull complete 15:27:31 a92cc7c5fd73: Pull complete 15:27:33 4e634b169226: Verifying Checksum 15:27:33 4e634b169226: Download complete 15:27:33 e871e8e8d7a9: Verifying Checksum 15:27:33 e871e8e8d7a9: Download complete 15:27:39 e871e8e8d7a9: Pull complete 15:27:39 e73272ec9a57: Pull complete 15:27:39 1e910a182e73: Pull complete 15:27:40 Removing intermediate container 72cbd552a5ac 15:27:40 ---> 9bb5477492d1 15:27:40 Successfully built 9bb5477492d1 15:27:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:27:40 + docker inspect -f . ci-base-image-arm64 15:27:40 . [Pipeline] withDockerContainer 15:27:41 prd-ubuntu18.04-docker-arm64-4c-16g-4238 does not seem to be running inside a container 15:27:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 15:27:43 $ docker top 7289e5d4028bb3d7aa13497452cee402fbcbdb7d3d02daea64a325e0ecacf068 -eo pid,comm [Pipeline] { [Pipeline] sh 15:27:44 + go version 15:27:44 go version go1.15.2 linux/arm64 [Pipeline] } 15:27:44 $ docker stop --time=1 7289e5d4028bb3d7aa13497452cee402fbcbdb7d3d02daea64a325e0ecacf068 15:27:46 $ docker rm -f 7289e5d4028bb3d7aa13497452cee402fbcbdb7d3d02daea64a325e0ecacf068 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:27:47 + docker inspect -f . ci-base-image-arm64 15:27:47 . [Pipeline] withDockerContainer 15:27:48 4e634b169226: Pull complete 15:27:48 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 15:27:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 15:27:48 ---> f7629b54cfaa 15:27:48 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:27:48 prd-ubuntu18.04-docker-arm64-4c-16g-4238 does not seem to be running inside a container 15:27:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 15:27:48 ---> Running in bf870f8188da 15:27:48 Removing intermediate container bf870f8188da 15:27:48 ---> 58c17919ac73 15:27:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:27:48 ---> Running in 201490a57029 15:27:49 Removing intermediate container 201490a57029 15:27:49 ---> 84e8496cce36 15:27:49 Step 5/8 : RUN apk add --no-cache make git 15:27:49 ---> Running in 3b14b19fc128 15:27:50 $ docker top 7754b283ed9e415e693360ae54851390ffc9e8932097c95a71e0c3fd6e5c9d51 -eo pid,comm 15:27:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] { [Pipeline] sh 15:27:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:27:51 + make test 15:27:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:27:52 OK: 166 MiB in 39 packages 15:27:52 Removing intermediate container 3b14b19fc128 15:27:52 ---> e2c73f99efcb 15:27:52 Step 6/8 : WORKDIR /device-sdk-go 15:27:52 ---> Running in f3b5e0bace3b 15:27:52 Removing intermediate container f3b5e0bace3b 15:27:52 ---> 54c9b6156d91 15:27:52 Step 7/8 : COPY . . 15:27:54 ---> ec918808c093 15:27:54 Step 8/8 : RUN go mod download 15:27:54 ---> Running in e33c55be13b5 15:28:13 Removing intermediate container e33c55be13b5 15:28:13 ---> 40713945235b 15:28:13 Successfully built 40713945235b 15:28:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:28:13 + docker inspect -f . ci-base-image-x86_64 15:28:13 . [Pipeline] withDockerContainer 15:28:13 prd-centos7-docker-4c-2g-4239 does not seem to be running inside a container 15:28:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 15:28:14 ? github.com/edgexfoundry/device-sdk-go [no test files] 15:28:14 $ docker top c07287c31100991075e8cba1f0318d6419e6e6e419f3de947df4625c845206eb -eo pid,comm [Pipeline] { [Pipeline] sh 15:28:15 + go version 15:28:15 go version go1.15.2 linux/amd64 [Pipeline] } 15:28:15 $ docker stop --time=1 c07287c31100991075e8cba1f0318d6419e6e6e419f3de947df4625c845206eb 15:28:16 $ docker rm -f c07287c31100991075e8cba1f0318d6419e6e6e419f3de947df4625c845206eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:28:17 + docker inspect -f . ci-base-image-x86_64 15:28:17 . [Pipeline] withDockerContainer 15:28:17 prd-centos7-docker-4c-2g-4239 does not seem to be running inside a container 15:28:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 15:28:18 $ docker top 40820c4d5a578cdb0af865360d42edfaf4be29e66372573ac69cd4bc0762bb6a -eo pid,comm [Pipeline] { [Pipeline] sh 15:28:19 + make test 15:28:19 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:28:25 ? github.com/edgexfoundry/device-sdk-go [no test files] 15:28:41 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 15:28:41 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 15:28:41 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 15:28:41 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.051s coverage: 21.6% of statements 15:28:42 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.738s coverage: 97.1% of statements 15:28:53 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 15:28:53 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 15:28:53 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 15:28:53 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.143s coverage: 21.6% of statements 15:28:56 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.166s coverage: 97.1% of statements 15:29:14 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.057s coverage: 9.4% of statements 15:29:14 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 21.9% of statements 15:29:14 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 15:29:14 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.582s coverage: 40.0% of statements 15:29:14 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 15:29:14 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.267s coverage: 68.9% of statements 15:29:14 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 15:29:14 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 15:29:14 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 15:29:14 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 15:29:14 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.064s coverage: 52.6% of statements 15:29:14 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 15:29:14 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.263s coverage: 68.9% of statements 15:29:14 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 15:29:14 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 15:29:14 GO111MODULE=on go vet ./... 15:29:19 gofmt -l . 15:29:19 [ "`gofmt -l .`" = "" ] 15:29:19 ./bin/test-attribution-txt.sh 15:29:20 ./bin/test-go-mod-tidy.sh [Pipeline] stash 15:29:20 Stashed 1 file(s) [Pipeline] } 15:29:20 $ docker stop --time=1 40820c4d5a578cdb0af865360d42edfaf4be29e66372573ac69cd4bc0762bb6a 15:29:22 $ docker rm -f 40820c4d5a578cdb0af865360d42edfaf4be29e66372573ac69cd4bc0762bb6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 15:29:23 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.144s coverage: 9.4% of statements 15:29:23 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.117s coverage: 21.9% of statements 15:29:23 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 15:29:23 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.576s coverage: 40.0% of statements 15:29:23 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 15:29:23 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.780s coverage: 68.9% of statements 15:29:23 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 15:29:23 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 15:29:23 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 15:29:23 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 15:29:23 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.174s coverage: 52.6% of statements 15:29:23 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 15:29:23 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.642s coverage: 68.9% of statements 15:29:23 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 15:29:23 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 15:29:24 GO111MODULE=on go vet ./... [Pipeline] sh 15:29:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:29:26 + ls -al . 15:29:26 total 188 15:29:26 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 8 15:29 . 15:29:26 drwxrwxr-x. 4 jenkins jenkins 28 Oct 8 15:27 .. 15:29:26 drwxrwxr-x. 2 jenkins jenkins 64 Oct 8 15:27 bin 15:29:26 -rw-r--r--. 1 jenkins jenkins 110392 Oct 8 15:29 coverage.out 15:29:26 -rw-rw-r--. 1 jenkins jenkins 936 Oct 8 15:27 Dockerfile.build 15:29:26 -rw-rw-r--. 1 jenkins jenkins 140 Oct 8 15:27 .dockerignore 15:29:26 drwxrwxr-x. 4 jenkins jenkins 48 Oct 8 15:27 example 15:29:26 drwxrwxr-x. 8 jenkins jenkins 179 Oct 8 15:27 .git 15:29:26 drwxrwxr-x. 2 jenkins jenkins 60 Oct 8 15:27 .github 15:29:26 -rw-rw-r--. 1 jenkins jenkins 138 Oct 8 15:27 .gitignore 15:29:26 -rw-r--r--. 1 jenkins jenkins 517 Oct 8 15:29 go.mod 15:29:26 -rw-r--r--. 1 jenkins jenkins 13652 Oct 8 15:29 go.sum 15:29:26 drwxrwxr-x. 15 jenkins jenkins 211 Oct 8 15:27 internal 15:29:26 -rw-rw-r--. 1 jenkins jenkins 901 Oct 8 15:27 Jenkinsfile 15:29:26 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 8 15:27 LICENSE 15:29:26 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 8 15:27 Makefile 15:29:26 drwxrwxr-x. 4 jenkins jenkins 26 Oct 8 15:27 openapi 15:29:26 drwxrwxr-x. 5 jenkins jenkins 50 Oct 8 15:27 pkg 15:29:26 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 8 15:27 README.md 15:29:26 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 8 15:27 RELEASE-NOTES.txt 15:29:26 drwxrwxr-x. 3 jenkins jenkins 58 Oct 8 15:27 .semver 15:29:26 drwxrwxr-x. 4 jenkins jenkins 54 Oct 8 15:27 snap 15:29:26 -rw-rw-r--. 1 jenkins jenkins 5 Oct 8 15:23 VERSION 15:29:26 -rw-rw-r--. 1 jenkins jenkins 222 Oct 8 15:27 version.go [Pipeline] isUnix [Pipeline] sh 15:29:26 + 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=3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1 --label arch=amd64 --label version=0.0.0 . 15:29:27 Sending build context to Docker daemon 3.63MB 15:29:27 Step 1/24 : ARG BASE=golang:1.15-alpine 15:29:27 Step 2/24 : FROM ${BASE} AS builder 15:29:27 ---> 40713945235b 15:29:27 Step 3/24 : ARG MAKE='make build' 15:29:27 ---> Running in fe101a363be2 15:29:27 Removing intermediate container fe101a363be2 15:29:27 ---> 5781cb1f4ab8 15:29:27 Step 4/24 : WORKDIR /device-sdk-go 15:29:27 ---> Running in 518668041c73 15:29:27 Removing intermediate container 518668041c73 15:29:27 ---> d0559954f524 15:29:27 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:29:28 ---> Running in 82b27cc7cd92 15:29:28 Removing intermediate container 82b27cc7cd92 15:29:28 ---> aae4e082410a 15:29:28 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:29:28 ---> Running in fa7d19e73eea 15:29:29 Removing intermediate container fa7d19e73eea 15:29:29 ---> c7d4396dac37 15:29:29 Step 7/24 : RUN apk add --update --no-cache make git 15:29:29 ---> Running in 779f26004a3c 15:29:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:29:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:29:31 OK: 166 MiB in 39 packages 15:29:31 Removing intermediate container 779f26004a3c 15:29:31 ---> 862c0398d5cb 15:29:31 Step 8/24 : COPY . . 15:29:32 ---> 5b0d8241b17d 15:29:32 Step 9/24 : RUN ${MAKE} 15:29:32 ---> Running in 443f6b053dd9 15:29:33 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 15:29:41 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 15:29:42 Removing intermediate container 443f6b053dd9 15:29:42 ---> 0503baf57ac8 15:29:42 Step 10/24 : FROM scratch 15:29:42 ---> 15:29:42 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:29:42 ---> Running in 2c7c55fdcd55 15:29:42 Removing intermediate container 2c7c55fdcd55 15:29:42 ---> 79f1cecb84d2 15:29:42 Step 12/24 : ENV APP_PORT=49990 15:29:42 ---> Running in c86645dd791b 15:29:42 Removing intermediate container c86645dd791b 15:29:42 ---> 24e5f17db3ea 15:29:42 Step 13/24 : EXPOSE $APP_PORT 15:29:42 ---> Running in 3cfee4930eff 15:29:42 Removing intermediate container 3cfee4930eff 15:29:42 ---> 51c0c9d00a20 15:29:42 Step 14/24 : WORKDIR / 15:29:43 ---> Running in 5a006c3f610b 15:29:43 Removing intermediate container 5a006c3f610b 15:29:43 ---> 53eb119d8fbf 15:29:43 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 15:29:43 ---> 74c41b2f128a 15:29:43 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 15:29:44 ---> 88c68830a930 15:29:44 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 15:29:44 ---> ef0944d1aa42 15:29:44 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 15:29:44 ---> bee028d8a684 15:29:44 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 15:29:44 ---> a835558884ed 15:29:44 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 15:29:44 ---> Running in 3428ba657af6 15:29:44 Removing intermediate container 3428ba657af6 15:29:44 ---> 110d33416493 15:29:44 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:29:44 ---> Running in 6f667fd222ba 15:29:45 Removing intermediate container 6f667fd222ba 15:29:45 ---> 6b529c76d365 15:29:45 Step 22/24 : LABEL arch=amd64 15:29:45 ---> Running in ddaa7573c9eb 15:29:45 Removing intermediate container ddaa7573c9eb 15:29:45 ---> b44e25ef9024 15:29:45 Step 23/24 : LABEL git_sha=3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1 15:29:45 ---> Running in 5666db190377 15:29:45 Removing intermediate container 5666db190377 15:29:45 ---> c85fe026ec8a 15:29:45 Step 24/24 : LABEL version=0.0.0 15:29:45 ---> Running in 3a3de48e099a 15:29:45 Removing intermediate container 3a3de48e099a 15:29:45 ---> c478748c4c8c 15:29:45 [Warning] One or more build-args [ARCH] were not consumed 15:29:45 Successfully built c478748c4c8c 15:29:45 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] } 15:29:56 gofmt -l . 15:29:56 [ "`gofmt -l .`" = "" ] 15:29:56 ./bin/test-attribution-txt.sh 15:29:56 ./bin/test-go-mod-tidy.sh [Pipeline] stash 15:29:56 Warning: overwriting stash ‘coverage-report’ 15:29:57 Stashed 1 file(s) [Pipeline] } 15:29:57 $ docker stop --time=1 7754b283ed9e415e693360ae54851390ffc9e8932097c95a71e0c3fd6e5c9d51 15:29:59 $ docker rm -f 7754b283ed9e415e693360ae54851390ffc9e8932097c95a71e0c3fd6e5c9d51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:30:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:30:01 + ls -al . 15:30:01 total 228 15:30:01 drwxrwxr-x 11 jenkins jenkins 4096 Oct 8 15:29 . 15:30:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 15:26 .. 15:30:01 -rw-rw-r-- 1 jenkins jenkins 140 Oct 8 15:26 .dockerignore 15:30:01 drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 15:26 .git 15:30:01 drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 15:26 .github 15:30:01 -rw-rw-r-- 1 jenkins jenkins 138 Oct 8 15:26 .gitignore 15:30:01 drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 15:26 .semver 15:30:01 -rw-rw-r-- 1 jenkins jenkins 936 Oct 8 15:26 Dockerfile.build 15:30:01 -rw-rw-r-- 1 jenkins jenkins 901 Oct 8 15:26 Jenkinsfile 15:30:01 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 8 15:26 LICENSE 15:30:01 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 8 15:26 Makefile 15:30:01 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 8 15:26 README.md 15:30:01 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 8 15:26 RELEASE-NOTES.txt 15:30:01 -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 15:23 VERSION 15:30:01 drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 15:26 bin 15:30:01 -rw-r--r-- 1 jenkins jenkins 110392 Oct 8 15:29 coverage.out 15:30:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 15:26 example 15:30:01 -rw-r--r-- 1 jenkins jenkins 517 Oct 8 15:29 go.mod 15:30:01 -rw-r--r-- 1 jenkins jenkins 13652 Oct 8 15:29 go.sum 15:30:01 drwxrwxr-x 15 jenkins jenkins 4096 Oct 8 15:26 internal 15:30:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 15:26 openapi 15:30:01 drwxrwxr-x 5 jenkins jenkins 4096 Oct 8 15:26 pkg 15:30:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 15:26 snap 15:30:01 -rw-rw-r-- 1 jenkins jenkins 222 Oct 8 15:26 version.go [Pipeline] isUnix [Pipeline] sh 15:30:02 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1 --label arch=arm64 --label version=0.0.0 . 15:30:02 Sending build context to Docker daemon 3.631MB 15:30:02 Step 1/24 : ARG BASE=golang:1.15-alpine 15:30:02 Step 2/24 : FROM ${BASE} AS builder 15:30:02 ---> 9bb5477492d1 15:30:02 Step 3/24 : ARG MAKE='make build' 15:30:02 ---> Running in 25a09bc6f191 15:30:03 Removing intermediate container 25a09bc6f191 15:30:03 ---> e5495d0d9cf3 15:30:03 Step 4/24 : WORKDIR /device-sdk-go 15:30:03 ---> Running in a2d9872e770b 15:30:04 Removing intermediate container a2d9872e770b 15:30:04 ---> c039d1887035 15:30:04 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:30:04 ---> Running in d8aa178141b3 15:30:04 Removing intermediate container d8aa178141b3 15:30:04 ---> 516342a1909a 15:30:04 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:30:04 ---> Running in d24c8bb89f77 15:30:07 Removing intermediate container d24c8bb89f77 15:30:07 ---> e7e4a1cd67c4 15:30:07 Step 7/24 : RUN apk add --update --no-cache make git 15:30:07 ---> Running in 9f43b2acdad4 15:30:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:30:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:30:11 OK: 142 MiB in 39 packages 15:30:12 Removing intermediate container 9f43b2acdad4 15:30:12 ---> 60dfe99259b0 15:30:12 Step 8/24 : COPY . . 15:30:13 ---> 619f2757ea87 15:30:13 Step 9/24 : RUN ${MAKE} 15:30:13 ---> Running in 5f8b96e99424 15:30:15 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:30:42 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 15:30:42 Removing intermediate container 5f8b96e99424 15:30:42 ---> 98c9143ff586 15:30:42 Step 10/24 : FROM scratch 15:30:42 ---> 15:30:42 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:30:42 ---> Running in a316345c93c1 15:30:42 Removing intermediate container a316345c93c1 15:30:42 ---> af7c5ad95572 15:30:42 Step 12/24 : ENV APP_PORT=49990 15:30:42 ---> Running in 2314ae98779d 15:30:42 Removing intermediate container 2314ae98779d 15:30:42 ---> f091f23500e5 15:30:42 Step 13/24 : EXPOSE $APP_PORT 15:30:42 ---> Running in d1e31e580dd1 15:30:43 Removing intermediate container d1e31e580dd1 15:30:43 ---> 00119e9b9d4f 15:30:43 Step 14/24 : WORKDIR / 15:30:43 ---> Running in 5dfb28dd1483 15:30:44 Removing intermediate container 5dfb28dd1483 15:30:44 ---> 19b28c2e873b 15:30:44 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 15:30:45 ---> 8c898caa7dcc 15:30:45 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 15:30:46 ---> 7f9071e9fa91 15:30:46 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 15:30:46 ---> f6d30f9c919a 15:30:46 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 15:30:47 ---> 849c20e6dd7a 15:30:47 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 15:30:48 ---> f976d7be7b36 15:30:48 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 15:30:48 ---> Running in 79f15438611e 15:30:48 Removing intermediate container 79f15438611e 15:30:48 ---> 9fd3e58e16d4 15:30:48 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:30:48 ---> Running in 2ba77a9ce9ed 15:30:49 Removing intermediate container 2ba77a9ce9ed 15:30:49 ---> c3196093212b 15:30:49 Step 22/24 : LABEL arch=arm64 15:30:49 ---> Running in 2ff96a0924e6 15:30:50 Removing intermediate container 2ff96a0924e6 15:30:50 ---> ae9f285b3b47 15:30:50 Step 23/24 : LABEL git_sha=3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1 15:30:50 ---> Running in 919d83d35de0 15:30:50 Removing intermediate container 919d83d35de0 15:30:50 ---> b35778b8f646 15:30:50 Step 24/24 : LABEL version=0.0.0 15:30:50 ---> Running in ad741da65aa9 15:30:51 Removing intermediate container ad741da65aa9 15:30:51 ---> 214a43f1b9e4 15:30:51 [Warning] One or more build-args [ARCH] were not consumed 15:30:51 Successfully built 214a43f1b9e4 15:30:51 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 15:30:53 provisioning config files... 15:30:53 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-624@tmp/config7988226560227837315tmp [Pipeline] { [Pipeline] sh 15:30:54 + set +x 15:30:54 + curl -s https://codecov.io/bash 15:30:54 + bash -s -- 15:30:54 15:30:54 _____ _ 15:30:54 / ____| | | 15:30:54 | | ___ __| | ___ ___ _____ __ 15:30:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:30:54 | |___| (_) | (_| | __/ (_| (_) \ V / 15:30:54 \_____\___/ \__,_|\___|\___\___/ \_/ 15:30:54 Bash-20201007-7e25d0a 15:30:54 15:30:54 15:30:54 ==> Jenkins CI detected. 15:30:54 project root: . 15:30:54 --> token set from env 15:30:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:30:54 ==> Running gcov in . (disable via -X gcov) 15:30:54 ==> Python coveragepy not found 15:30:54 ==> Searching for coverage reports in: 15:30:54 + . 15:30:54 -> Found 1 reports 15:30:54 ==> Detecting git/mercurial file structure 15:30:54 ==> Reading reports 15:30:54 + ./coverage.out bytes=110392 15:30:54 ==> Appending adjustments 15:30:54 https://docs.codecov.io/docs/fixing-reports 15:30:54 + Found adjustments 15:30:54 ==> Gzipping contents 15:30:54 ==> Uploading reports 15:30:54 url: https://codecov.io 15:30:54 query: branch=PR-624&commit=3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-624%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=624&job=&cmd_args= 15:30:54 -> Pinging Codecov 15:30:54 https://codecov.io/upload/v4?package=bash-20201007-7e25d0a&token=secret&branch=PR-624&commit=3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-624%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=624&job=&cmd_args= 15:30:55 -> Uploading to 15:30:55 15:30:55 % Total % Received % Xferd Average Speed Time Time Time Current 15:30:55 Dload Upload Total Spent Left Speed 15:30:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 15:30:55 X> Failed to upload 15:30:55 ==> Uploading to Codecov 15:30:55 % Total % Received % Xferd Average Speed Time Time Time Current 15:30:55 Dload Upload Total Spent Left Speed 15:30:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19672 100 110 100 19562 143 25583 --:--:-- --:--:-- --:--:-- 25604 15:30:56 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3b7bdf68c6152a5815cebe1ed98ca8a9b46609f1 [Pipeline] } 15:30:56 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 15:30:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:30:59 ---> package-listing.sh 15:30:59 ++ facter osfamily 15:30:59 ++ tr '[:upper:]' '[:lower:]' 15:30:59 + OS_FAMILY=redhat 15:30:59 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-624 15:30:59 + START_PACKAGES=/tmp/packages_start.txt 15:30:59 + END_PACKAGES=/tmp/packages_end.txt 15:30:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:30:59 + PACKAGES=/tmp/packages_start.txt 15:30:59 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-624 ']' 15:30:59 + PACKAGES=/tmp/packages_end.txt 15:30:59 + case "${OS_FAMILY}" in 15:30:59 + rpm -qa 15:30:59 + sort 15:31:04 + '[' -f /tmp/packages_start.txt ']' 15:31:04 + '[' -f /tmp/packages_end.txt ']' 15:31:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:31:04 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-624 ']' 15:31:04 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-624/archives/ 15:31:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-624/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:31:04 provisioning config files... 15:31:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-624@tmp/config4964913582562736547tmp [Pipeline] { [Pipeline] echo 15:31:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:31:05 ---> create-netrc.sh [Pipeline] } 15:31:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 15:31:05 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 15:31:05 ---> python-tools-install.sh 15:31:05 Generating Requirements File 15:32:42 Python 3.6.8 15:32:42 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 15:32:42 appdirs==1.4.3 15:32:42 argcomplete==1.12.1 15:32:42 aspy.yaml==1.3.0 15:32:42 attrs==19.3.0 15:32:42 Babel==2.8.0 15:32:42 beautifulsoup4==4.8.2 15:32:42 boto3==1.11.6 15:32:42 botocore==1.14.6 15:32:42 bs4==0.0.1 15:32:42 cachetools==4.1.1 15:32:42 certifi==2019.11.28 15:32:42 cffi==1.14.3 15:32:42 cfgv==2.0.1 15:32:42 chardet==3.0.4 15:32:42 click==7.1 15:32:42 cliff==3.4.0 15:32:42 cmd2==1.3.11 15:32:42 colorama==0.4.3 15:32:42 cryptography==3.1.1 15:32:42 debtcollector==2.2.0 15:32:42 decorator==4.4.2 15:32:42 defusedxml==0.6.0 15:32:42 Deprecated==1.2.7 15:32:42 distlib==0.3.1 15:32:42 distro==1.2.0 15:32:42 dnspython==1.16.0 15:32:42 docker==4.2.0 15:32:42 docutils==0.15.2 15:32:42 dogpile.cache==1.0.2 15:32:42 email-validator==1.0.5 15:32:42 filelock==3.0.12 15:32:42 future==0.18.2 15:32:42 google-auth==1.22.1 15:32:42 httplib2==0.17.0 15:32:42 identify==1.4.11 15:32:42 idna==2.9 15:32:42 importlib-metadata==1.7.0 15:32:42 importlib-resources==1.5.0 15:32:42 iso8601==0.1.13 15:32:42 Jinja2==2.11.1 15:32:42 jmespath==0.10.0 15:32:42 jsonpatch==1.26 15:32:42 jsonpointer==2.0 15:32:42 jsonschema==3.2.0 15:32:42 keystoneauth1==4.2.1 15:32:42 kubernetes==11.0.0 15:32:42 lftools==0.34.2 15:32:42 lxml==4.5.0 15:32:42 MarkupSafe==0.23 15:32:42 msgpack==1.0.0 15:32:42 multi-key-dict==2.0.3 15:32:42 munch==2.5.0 15:32:42 netaddr==0.8.0 15:32:42 netifaces==0.10.9 15:32:42 niet==1.4.2 15:32:42 nodeenv==1.3.5 15:32:42 oauth2client==4.1.3 15:32:42 oauthlib==3.1.0 15:32:42 openstacksdk==0.50.0 15:32:42 os-client-config==2.1.0 15:32:42 os-service-types==1.7.0 15:32:42 osc-lib==2.2.1 15:32:42 oslo.config==8.3.2 15:32:42 oslo.context==3.1.1 15:32:42 oslo.i18n==5.0.1 15:32:42 oslo.log==4.4.0 15:32:42 oslo.serialization==4.0.1 15:32:42 oslo.utils==4.6.0 15:32:42 packaging==20.4 15:32:42 pbr==5.4.4 15:32:42 pluggy==0.13.1 15:32:42 prettytable==0.7.2 15:32:42 py==1.9.0 15:32:42 pyasn1==0.4.8 15:32:42 pyasn1-modules==0.2.8 15:32:42 pycparser==2.20 15:32:42 pygerrit2==2.0.10 15:32:42 PyGithub==1.46 15:32:42 pyinotify==0.9.6 15:32:42 PyJWT==1.7.1 15:32:42 pyparsing==2.4.7 15:32:42 pyperclip==1.8.0 15:32:42 pyroute2==0.4.13 15:32:42 pyrsistent==0.15.7 15:32:42 PySocks==1.6.8 15:32:42 python-cinderclient==7.2.0 15:32:42 python-dateutil==2.8.1 15:32:42 python-heatclient==2.2.1 15:32:42 python-jenkins==1.7.0 15:32:42 python-keystoneclient==4.1.1 15:32:42 python-magnumclient==3.2.1 15:32:42 python-novaclient==17.2.1 15:32:42 python-openstackclient==5.4.0 15:32:42 python-swiftclient==3.10.1 15:32:42 pytz==2020.1 15:32:42 PyYAML==5.3 15:32:42 requests==2.23.0 15:32:42 requests-oauthlib==1.3.0 15:32:42 requestsexceptions==1.4.0 15:32:42 rfc3986==1.4.0 15:32:42 rpm==4.11.3 15:32:42 rsa==4.0 15:32:42 ruamel.yaml==0.16.10 15:32:42 ruamel.yaml.clib==0.2.0 15:32:42 s3transfer==0.3.3 15:32:42 shade==1.27.2 15:32:42 simplejson==3.17.2 15:32:42 six==1.14.0 15:32:42 soupsieve==2.0 15:32:42 stevedore==3.2.2 15:32:42 tabulate==0.8.6 15:32:42 toml==0.10.0 15:32:42 tox==3.20.0 15:32:42 tqdm==4.43.0 15:32:42 urllib3==1.25.8 15:32:42 virtualenv==20.0.33 15:32:42 wcwidth==0.2.5 15:32:42 websocket-client==0.57.0 15:32:42 wrapt==1.12.1 15:32:42 xdg==3.0.2 15:32:42 xmltodict==0.12.0 15:32:42 yq==2.11.1 15:32:42 zipp==3.3.0 15:32:42 Cache entry deserialization failed, entry ignored 15:32:44 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. 15:32:49 Python 2.7.5 15:32:49 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 15:32:50 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. 15:32:50 ansible==2.9.7 15:32:50 Babel==0.9.6 15:32:50 backports.ssl-match-hostname==3.5.0.1 15:32:50 beautifulsoup4==4.4.1 15:32:50 bodhi==2.11.0 15:32:50 bodhi-client==2.11.0 15:32:50 CCColUtils==1.4 15:32:50 cffi==1.6.0 15:32:50 chardet==2.2.1 15:32:50 click==6.7 15:32:50 cloud-init==18.5 15:32:50 configobj==4.7.2 15:32:50 cryptography==1.7.2 15:32:50 decorator==3.4.0 15:32:50 distro==1.2.0 15:32:50 enum34==1.0.4 15:32:50 fedpkg==1.38 15:32:50 futures==3.1.1 15:32:50 gitdb==0.6.4 15:32:50 GitPython==1.0.1 15:32:50 html5lib==0.999 15:32:50 httplib2==0.9.2 15:32:50 idna==2.4 15:32:50 iniparse==0.4 15:32:50 ipaddress==1.0.16 15:32:50 IPy==0.75 15:32:50 javapackages==1.0.0 15:32:50 Jinja2==2.7.2 15:32:50 jmespath==0.9.4 15:32:50 jsonpatch==1.2 15:32:50 jsonpointer==1.9 15:32:50 kerberos==1.1 15:32:50 kitchen==1.1.1 15:32:50 langtable==0.0.31 15:32:50 lockfile==0.9.1 15:32:50 lxml==3.2.1 15:32:50 MarkupSafe==0.11 15:32:50 munch==2.0.2 15:32:50 offtrac==0.1.0 15:32:50 openidc-client==0.6.0 15:32:50 packagedb-cli==2.14.1 15:32:50 paramiko==2.1.1 15:32:50 perf==0.1 15:32:50 ply==3.4 15:32:50 policycoreutils-default-encoding==0.1 15:32:50 prettytable==0.7.2 15:32:50 pyasn1==0.1.9 15:32:50 pycparser==2.14 15:32:50 pycurl==7.19.0 15:32:50 pygobject==3.22.0 15:32:50 pygpgme==0.3 15:32:50 pyliblzma==0.5.3 15:32:50 pyOpenSSL==0.13.1 15:32:50 pyparsing==1.5.6 15:32:50 pyserial==2.6 15:32:50 python-augeas==0.5.0 15:32:50 python-bugzilla==2.3.0 15:32:50 python-dateutil==1.5 15:32:50 python-fedora==0.10.0 15:32:50 python-linux-procfs==0.4.9 15:32:50 python-yubico==1.2.3 15:32:50 pyudev==0.15 15:32:50 pyusb==1.0.0b1 15:32:50 pyxattr==0.5.1 15:32:50 PyYAML==3.10 15:32:50 requests==2.6.0 15:32:50 requests-kerberos==0.7.0 15:32:50 rpkg==1.60 15:32:50 schedutils==0.4 15:32:50 seobject==0.1 15:32:50 sepolicy==1.1 15:32:50 six==1.9.0 15:32:50 smmap==0.9.0 15:32:50 urlgrabber==3.10 15:32:50 urllib3==1.10.2 15:32:50 virtualenv==15.1.0 15:32:50 yum-langpacks==0.4.2 15:32:50 yum-metadata-parser==1.1.4 [Pipeline] echo 15:32:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:32:50 ---> sudo-logs.sh 15:32:50 Archiving 'sudo' log.. [Pipeline] echo 15:32:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:32:51 ---> job-cost.sh 15:32:51 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7ZeT 15:33:03 Cache entry deserialization failed, entry ignored 15:33:04 Cache entry deserialization failed, entry ignored 15:33:05 Cache entry deserialization failed, entry ignored 15:33:05 Cache entry deserialization failed, entry ignored 15:33:05 Cache entry deserialization failed, entry ignored 15:33:05 Cache entry deserialization failed, entry ignored 15:33:06 Cache entry deserialization failed, entry ignored 15:33:06 Cache entry deserialization failed, entry ignored 15:33:06 Cache entry deserialization failed, entry ignored 15:33:06 Cache entry deserialization failed, entry ignored 15:33:06 Cache entry deserialization failed, entry ignored 15:33:06 Cache entry deserialization failed, entry ignored 15:33:10 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 15:33:49 lf-activate-venv(): INFO: Adding /tmp/venv-7ZeT/bin to PATH 15:33:49 INFO: No Stack... 15:33:49 INFO: Retrieving Pricing Info for: v1-standard-2 15:33:50 INFO: Archiving Costs [Pipeline] echo 15:33:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:33:51 ---> logs-deploy.sh 15:33:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-624/3 15:33:51 INFO: archiving workspace using pattern(s): 15:33:53 Archives upload complete. 15:33:53 INFO: archiving logs to Nexus 15:33:54 ---> uname -a: 15:33:54 Linux prd-centos7-docker-4c-2g-4237.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux 15:33:54 15:33:54