Pull request #605 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 979a2feb14f7cafdf809837b6537c9b7851a7575+7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 (ace4cb21848d6d647156a4ca1ebc8b02b500fe4b) 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] ========================================================= [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 ‘prd-centos7-docker-4c-2g-3415’ Running on prd-centos7-docker-4c-2g-3416 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [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-605 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 into PR head commit 979a2feb14f7cafdf809837b6537c9b7851a7575 Merge succeeded, producing 979a2feb14f7cafdf809837b6537c9b7851a7575 Checking out Revision 979a2feb14f7cafdf809837b6537c9b7851a7575 (PR-605) > git config core.sparsecheckout # timeout=10 > git checkout -f 979a2feb14f7cafdf809837b6537c9b7851a7575 # 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 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 979a2feb14f7cafdf809837b6537c9b7851a7575 # timeout=10 Commit message: "feat: implement v2 callback api" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-05T06:49:38.736Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-05T06:49:39.022Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk ac7dac17a9308f82da781b63d358e385c5d26887 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-05T06:49:39.124Z] ========================================================= [2020-10-05T06:49:39.124Z] EdgeX Global Pipelines Version Info [2020-10-05T06:49:39.124Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-05T06:49:40.614Z] ------------------- [2020-10-05T06:49:40.614Z] stable info: [2020-10-05T06:49:40.614Z] ------------------- [2020-10-05T06:49:40.614Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-05T06:49:40.615Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-05T06:49:40.615Z] Message: update stable to v1.0.131 [2020-10-05T06:49:41.561Z] ------------------- [2020-10-05T06:49:41.561Z] experimental info: [2020-10-05T06:49:41.561Z] ------------------- [2020-10-05T06:49:41.561Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-05T06:49:41.561Z] Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a [2020-10-05T06:49:41.561Z] Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-05T06:49:41.954Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-05T06:49:42.061Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-05T06:49:42.159Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-05T06:49:42.258Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-05T06:49:42.364Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-05T06:49:42.470Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-05T06:49:42.565Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-05T06:49:42.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-05T06:49:42.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-05T06:49:42.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-05T06:49:42.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-05T06:49:43.083Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-05T06:49:43.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-05T06:49:43.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-05T06:49:43.481Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-05T06:49:43.590Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-05T06:49:43.683Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-05T06:49:43.790Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-05T06:49:43.886Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-05T06:49:44.001Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-05T06:49:44.100Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-05T06:49:44.200Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-05T06:49:44.295Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-05T06:49:44.399Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-05T06:49:44.515Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-05T06:49:44.612Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-605 [Pipeline] echo [2020-10-05T06:49:44.704Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-605 [Pipeline] echo [2020-10-05T06:49:44.799Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-605 [Pipeline] echo [2020-10-05T06:49:44.892Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 979a2feb14f7cafdf809837b6537c9b7851a7575 [Pipeline] echo [2020-10-05T06:49:44.999Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 979a2fe [Pipeline] echo [2020-10-05T06:49:45.097Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-05T06:49:45.700Z] + git log --format=format:%s -1 979a2feb14f7cafdf809837b6537c9b7851a7575 [Pipeline] echo [2020-10-05T06:49:45.764Z] GIT_COMMIT: 979a2feb14f7cafdf809837b6537c9b7851a7575, Commit Message: feat: implement v2 callback api [Pipeline] echo [2020-10-05T06:49:45.810Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-05T06:49:46.375Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-05T06:49:46.957Z] [2020-10-05T06:49:46.957Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-05T06:49:47.328Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-05T06:49:47.329Z] latest: Pulling from edgex-devops/git-semver [2020-10-05T06:49:47.329Z] 31603596830f: Pulling fs layer [2020-10-05T06:49:47.329Z] 2a8b12db71e7: Pulling fs layer [2020-10-05T06:49:47.329Z] 6ca5941a6612: Pulling fs layer [2020-10-05T06:49:47.329Z] ecc8261a40a4: Pulling fs layer [2020-10-05T06:49:47.329Z] ecc8261a40a4: Waiting [2020-10-05T06:49:47.329Z] 2a8b12db71e7: Verifying Checksum [2020-10-05T06:49:47.329Z] 2a8b12db71e7: Download complete [2020-10-05T06:49:47.595Z] 31603596830f: Verifying Checksum [2020-10-05T06:49:47.595Z] 31603596830f: Download complete [2020-10-05T06:49:47.595Z] ecc8261a40a4: Verifying Checksum [2020-10-05T06:49:47.595Z] ecc8261a40a4: Download complete [2020-10-05T06:49:47.595Z] 6ca5941a6612: Verifying Checksum [2020-10-05T06:49:47.595Z] 6ca5941a6612: Download complete [2020-10-05T06:49:47.861Z] 31603596830f: Pull complete [2020-10-05T06:49:47.861Z] 2a8b12db71e7: Pull complete [2020-10-05T06:49:48.814Z] 6ca5941a6612: Pull complete [2020-10-05T06:49:48.814Z] ecc8261a40a4: Pull complete [2020-10-05T06:49:49.076Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-05T06:49:49.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-05T06:49:49.076Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-05T06:49:49.190Z] prd-centos7-docker-4c-2g-3416 does not seem to be running inside a container [2020-10-05T06:49:49.245Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-605 -v /w/workspace/dgexfoundry_device-sdk-go_PR-605:/w/workspace/dgexfoundry_device-sdk-go_PR-605:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-605@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-05T06:49:51.428Z] $ docker top cd84fea0f3461a73e0c513a4a5195ab4e07d31ad7131f5ece96080ffed171aa5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-05T06:49:51.817Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-05T06:49:51.817Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-05T06:49:52.025Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-05T06:49:52.031Z] $ docker exec cd84fea0f3461a73e0c513a4a5195ab4e07d31ad7131f5ece96080ffed171aa5 ssh-agent [2020-10-05T06:49:52.238Z] SSH_AUTH_SOCK=/tmp/ssh-FWlIgpVfclFS/agent.12 [2020-10-05T06:49:52.238Z] SSH_AGENT_PID=17 [2020-10-05T06:49:52.251Z] Running ssh-add (command line suppressed) [2020-10-05T06:49:52.370Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_2769221900562895005.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_2769221900562895005.key) [2020-10-05T06:49:52.425Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-05T06:49:52.783Z] + git describe --exact-match --tags HEAD [2020-10-05T06:49:52.783Z] fatal: no tag exactly matches '979a2feb14f7cafdf809837b6537c9b7851a7575' [Pipeline] } [2020-10-05T06:49:52.812Z] $ docker exec --env ******** --env ******** cd84fea0f3461a73e0c513a4a5195ab4e07d31ad7131f5ece96080ffed171aa5 ssh-agent -k [2020-10-05T06:49:52.924Z] unset SSH_AUTH_SOCK; [2020-10-05T06:49:52.924Z] unset SSH_AGENT_PID; [2020-10-05T06:49:52.924Z] echo Agent pid 17 killed; [2020-10-05T06:49:52.968Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-05T06:49:53.063Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-05T06:49:53.063Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-05T06:49:53.158Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-05T06:49:53.158Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-05T06:49:53.322Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-05T06:49:53.328Z] $ docker exec cd84fea0f3461a73e0c513a4a5195ab4e07d31ad7131f5ece96080ffed171aa5 ssh-agent [2020-10-05T06:49:53.480Z] SSH_AUTH_SOCK=/tmp/ssh-Y7WEfNPOXbgl/agent.45 [2020-10-05T06:49:53.480Z] SSH_AGENT_PID=50 [2020-10-05T06:49:53.488Z] Running ssh-add (command line suppressed) [2020-10-05T06:49:53.620Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_3632961319913513362.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_3632961319913513362.key) [2020-10-05T06:49:53.667Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-05T06:49:54.024Z] + git semver init [2020-10-05T06:49:54.024Z] # -> Open(): unable to determine branch for HEAD [2020-10-05T06:49:54.024Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.git [2020-10-05T06:49:54.024Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-605 [2020-10-05T06:49:54.024Z] # $SEMVER_REMOTE_NAME = origin [2020-10-05T06:49:54.024Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-05T06:49:54.024Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-05T06:49:54.024Z] # $SEMVER_BRANCH = PR-605 [2020-10-05T06:49:54.024Z] # $SEMVER_TEMP = /tmp/semver-022053719 [2020-10-05T06:49:54.024Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-05T06:49:54.600Z] # '/tmp/semver-022053719' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver' [2020-10-05T06:49:54.600Z] # -> Force: false [2020-10-05T06:49:54.600Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver [Pipeline] } [2020-10-05T06:49:54.615Z] $ docker exec --env ******** --env ******** cd84fea0f3461a73e0c513a4a5195ab4e07d31ad7131f5ece96080ffed171aa5 ssh-agent -k [2020-10-05T06:49:54.732Z] unset SSH_AUTH_SOCK; [2020-10-05T06:49:54.733Z] unset SSH_AGENT_PID; [2020-10-05T06:49:54.733Z] echo Agent pid 50 killed; [2020-10-05T06:49:54.772Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-05T06:49:55.247Z] + git semver [Pipeline] } [2020-10-05T06:49:55.267Z] $ docker stop --time=1 cd84fea0f3461a73e0c513a4a5195ab4e07d31ad7131f5ece96080ffed171aa5 [2020-10-05T06:49:56.624Z] $ docker rm -f cd84fea0f3461a73e0c513a4a5195ab4e07d31ad7131f5ece96080ffed171aa5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-05T06:49:57.663Z] Stashed 43 file(s) [Pipeline] echo [2020-10-05T06:49:57.665Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-05T06:49:57.755Z] 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 [2020-10-05T06:50:13.242Z] Still waiting to schedule task [2020-10-05T06:50:13.243Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-05T06:50:13.245Z] Still waiting to schedule task [2020-10-05T06:50:13.245Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-3414’ [2020-10-05T06:51:44.114Z] Running on prd-centos7-docker-4c-2g-3418 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [Pipeline] { [Pipeline] ws [2020-10-05T06:51:44.168Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2020-10-05T06:51:48.385Z] using credential edgex-jenkins-ssh [2020-10-05T06:51:48.439Z] Cloning the remote Git repository [2020-10-05T06:51:48.472Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-05T06:51:48.540Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2020-10-05T06:51:48.596Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-05T06:51:48.596Z] > git --version # timeout=10 [2020-10-05T06:51:48.604Z] > git --version # 'git version 2.16.5' [2020-10-05T06:51:48.605Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-05T06:51:48.632Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-05T06:51:50.372Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-05T06:51:50.381Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-05T06:51:50.395Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-05T06:51:50.422Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-05T06:51:50.422Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-05T06:51:50.426Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-05T06:51:50.922Z] Merging remotes/origin/master commit 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 into PR head commit 979a2feb14f7cafdf809837b6537c9b7851a7575 [2020-10-05T06:51:51.034Z] Merge succeeded, producing 979a2feb14f7cafdf809837b6537c9b7851a7575 [2020-10-05T06:51:51.035Z] Checking out Revision 979a2feb14f7cafdf809837b6537c9b7851a7575 (PR-605) [2020-10-05T06:51:50.935Z] > git config core.sparsecheckout # timeout=10 [2020-10-05T06:51:50.941Z] > git checkout -f 979a2feb14f7cafdf809837b6537c9b7851a7575 # timeout=10 [2020-10-05T06:51:50.997Z] > git remote # timeout=10 [2020-10-05T06:51:51.004Z] > git config --get remote.origin.url # timeout=10 [2020-10-05T06:51:51.012Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-05T06:51:51.016Z] > git merge 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 # timeout=10 [2020-10-05T06:51:51.028Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-05T06:51:51.041Z] > git config core.sparsecheckout # timeout=10 [2020-10-05T06:51:51.048Z] > git checkout -f 979a2feb14f7cafdf809837b6537c9b7851a7575 # timeout=10 [2020-10-05T06:51:54.699Z] Commit message: "feat: implement v2 callback api" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-05T06:51:55.552Z] ========================================================= [2020-10-05T06:51:55.552Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-05T06:51:55.552Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-05T06:51:56.174Z] + 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 . [2020-10-05T06:51:56.444Z] Sending build context to Docker daemon 3.526MB [2020-10-05T06:51:56.444Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-05T06:51:56.444Z] Step 2/8 : FROM ${BASE} [2020-10-05T06:51:56.707Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-05T06:51:56.707Z] df20fa9351a1: Pulling fs layer [2020-10-05T06:51:56.707Z] ed8968b2872e: Pulling fs layer [2020-10-05T06:51:56.707Z] a92cc7c5fd73: Pulling fs layer [2020-10-05T06:51:56.707Z] e871e8e8d7a9: Pulling fs layer [2020-10-05T06:51:56.707Z] e73272ec9a57: Pulling fs layer [2020-10-05T06:51:56.707Z] 1e910a182e73: Pulling fs layer [2020-10-05T06:51:56.707Z] 4e634b169226: Pulling fs layer [2020-10-05T06:51:56.707Z] e871e8e8d7a9: Waiting [2020-10-05T06:51:56.707Z] e73272ec9a57: Waiting [2020-10-05T06:51:56.707Z] 1e910a182e73: Waiting [2020-10-05T06:51:56.707Z] 4e634b169226: Waiting [2020-10-05T06:51:56.707Z] ed8968b2872e: Verifying Checksum [2020-10-05T06:51:56.707Z] ed8968b2872e: Download complete [2020-10-05T06:51:56.707Z] e73272ec9a57: Verifying Checksum [2020-10-05T06:51:56.707Z] e73272ec9a57: Download complete [2020-10-05T06:51:56.707Z] 1e910a182e73: Verifying Checksum [2020-10-05T06:51:56.707Z] 1e910a182e73: Download complete [2020-10-05T06:51:56.707Z] df20fa9351a1: Verifying Checksum [2020-10-05T06:51:56.707Z] df20fa9351a1: Download complete [2020-10-05T06:51:56.972Z] df20fa9351a1: Pull complete [2020-10-05T06:51:57.235Z] ed8968b2872e: Pull complete [2020-10-05T06:51:57.235Z] a92cc7c5fd73: Pull complete [2020-10-05T06:51:58.629Z] 4e634b169226: Verifying Checksum [2020-10-05T06:51:58.629Z] 4e634b169226: Download complete [2020-10-05T06:51:59.579Z] e871e8e8d7a9: Verifying Checksum [2020-10-05T06:51:59.579Z] e871e8e8d7a9: Download complete [2020-10-05T06:52:04.923Z] e871e8e8d7a9: Pull complete [2020-10-05T06:52:04.923Z] e73272ec9a57: Pull complete [2020-10-05T06:52:04.923Z] 1e910a182e73: Pull complete [2020-10-05T06:52:10.248Z] 4e634b169226: Pull complete [2020-10-05T06:52:10.248Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-05T06:52:10.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-05T06:52:10.248Z] ---> f7629b54cfaa [2020-10-05T06:52:10.248Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-05T06:52:10.518Z] ---> Running in 3e1ea5c55142 [2020-10-05T06:52:10.782Z] Removing intermediate container 3e1ea5c55142 [2020-10-05T06:52:10.782Z] ---> 8c9051a58634 [2020-10-05T06:52:10.782Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-05T06:52:10.782Z] ---> Running in de1805a3b798 [2020-10-05T06:52:12.707Z] Removing intermediate container de1805a3b798 [2020-10-05T06:52:12.707Z] ---> b8716d87957f [2020-10-05T06:52:12.707Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-05T06:52:12.707Z] ---> Running in d497f4440f97 [2020-10-05T06:52:13.284Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-05T06:52:13.859Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-05T06:52:14.437Z] OK: 166 MiB in 39 packages [2020-10-05T06:52:15.014Z] Removing intermediate container d497f4440f97 [2020-10-05T06:52:15.014Z] ---> cce2edf9bfb6 [2020-10-05T06:52:15.014Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-05T06:52:15.014Z] ---> Running in d12b9afa9578 [2020-10-05T06:52:15.275Z] Removing intermediate container d12b9afa9578 [2020-10-05T06:52:15.275Z] ---> 87ae70e2e584 [2020-10-05T06:52:15.275Z] Step 7/8 : COPY . . [2020-10-05T06:52:16.674Z] ---> 0f30bf06e624 [2020-10-05T06:52:16.674Z] Step 8/8 : RUN go mod download [2020-10-05T06:52:16.674Z] ---> Running in a51790aae0e7 [2020-10-05T06:52:34.872Z] Removing intermediate container a51790aae0e7 [2020-10-05T06:52:34.872Z] ---> d7e8fefa610c [2020-10-05T06:52:34.872Z] Successfully built d7e8fefa610c [2020-10-05T06:52:34.872Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-05T06:52:35.225Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-05T06:52:35.225Z] . [Pipeline] withDockerContainer [2020-10-05T06:52:35.335Z] prd-centos7-docker-4c-2g-3418 does not seem to be running inside a container [2020-10-05T06:52:35.396Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-x86_64 cat [2020-10-05T06:52:36.084Z] $ docker top 4900651d1fad663ad35097b959a72378c8dacd581955297516777d71caf68da6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-05T06:52:36.597Z] + go version [2020-10-05T06:52:36.597Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-05T06:52:36.614Z] $ docker stop --time=1 4900651d1fad663ad35097b959a72378c8dacd581955297516777d71caf68da6 [2020-10-05T06:52:37.972Z] $ docker rm -f 4900651d1fad663ad35097b959a72378c8dacd581955297516777d71caf68da6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-05T06:52:38.831Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-05T06:52:38.831Z] . [Pipeline] withDockerContainer [2020-10-05T06:52:39.080Z] prd-centos7-docker-4c-2g-3418 does not seem to be running inside a container [2020-10-05T06:52:39.134Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-x86_64 cat [2020-10-05T06:52:39.816Z] $ docker top 4cdddfe0fb1c8003f47e182ec0a16a5b31d3cdf61df56eff31c858b53a742a87 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-05T06:52:40.358Z] + make test [2020-10-05T06:52:40.358Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-05T06:52:48.587Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-05T06:53:03.666Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-05T06:53:03.666Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-05T06:53:03.666Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-05T06:53:03.666Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.058s coverage: 21.6% of statements [2020-10-05T06:53:03.666Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.424s coverage: 97.1% of statements [2020-10-05T06:53:35.882Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.075s coverage: 9.4% of statements [2020-10-05T06:53:35.882Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.049s coverage: 21.9% of statements [2020-10-05T06:53:35.882Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-05T06:53:35.882Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.210s coverage: 42.1% of statements [2020-10-05T06:53:35.882Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-05T06:53:35.882Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.275s coverage: 65.4% of statements [2020-10-05T06:53:35.882Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-05T06:53:35.882Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-05T06:53:35.882Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-05T06:53:35.882Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-05T06:53:35.882Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.064s coverage: 52.6% of statements [2020-10-05T06:53:35.882Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-05T06:53:35.882Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-05T06:53:35.882Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.336s coverage: 68.9% of statements [2020-10-05T06:53:35.882Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-05T06:53:35.882Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-05T06:53:35.882Z] GO111MODULE=on go vet ./... [2020-10-05T06:53:42.658Z] gofmt -l . [2020-10-05T06:53:42.658Z] [ "`gofmt -l .`" = "" ] [2020-10-05T06:53:42.658Z] ./bin/test-attribution-txt.sh [2020-10-05T06:53:42.929Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-05T06:53:43.756Z] Stashed 1 file(s) [Pipeline] } [2020-10-05T06:53:43.764Z] $ docker stop --time=1 4cdddfe0fb1c8003f47e182ec0a16a5b31d3cdf61df56eff31c858b53a742a87 [2020-10-05T06:53:45.937Z] $ docker rm -f 4cdddfe0fb1c8003f47e182ec0a16a5b31d3cdf61df56eff31c858b53a742a87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-05T06:53:48.060Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-05T06:53:48.403Z] + ls -al . [2020-10-05T06:53:48.403Z] total 192 [2020-10-05T06:53:48.403Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 5 06:53 . [2020-10-05T06:53:48.403Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 5 06:51 .. [2020-10-05T06:53:48.403Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 5 06:51 bin [2020-10-05T06:53:48.403Z] -rw-r--r--. 1 jenkins jenkins 111046 Oct 5 06:53 coverage.out [2020-10-05T06:53:48.403Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 5 06:51 Dockerfile.build [2020-10-05T06:53:48.403Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 5 06:51 .dockerignore [2020-10-05T06:53:48.403Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 5 06:51 example [2020-10-05T06:53:48.403Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 5 06:51 .git [2020-10-05T06:53:48.403Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 5 06:51 .github [2020-10-05T06:53:48.403Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 5 06:51 .gitignore [2020-10-05T06:53:48.403Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 5 06:53 go.mod [2020-10-05T06:53:48.403Z] -rw-r--r--. 1 jenkins jenkins 13652 Oct 5 06:53 go.sum [2020-10-05T06:53:48.403Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 5 06:51 internal [2020-10-05T06:53:48.403Z] -rw-rw-r--. 1 jenkins jenkins 785 Oct 5 06:51 Jenkinsfile [2020-10-05T06:53:48.403Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 5 06:51 LICENSE [2020-10-05T06:53:48.403Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 5 06:51 Makefile [2020-10-05T06:53:48.403Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 5 06:51 openapi [2020-10-05T06:53:48.403Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 5 06:51 pkg [2020-10-05T06:53:48.403Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 5 06:51 README.md [2020-10-05T06:53:48.403Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 5 06:51 RELEASE-NOTES.txt [2020-10-05T06:53:48.403Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 5 06:51 .semver [2020-10-05T06:53:48.403Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 5 06:51 snap [2020-10-05T06:53:48.403Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 5 06:49 VERSION [2020-10-05T06:53:48.403Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 5 06:51 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-05T06:53:48.828Z] + 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=979a2feb14f7cafdf809837b6537c9b7851a7575 --label arch=amd64 --label version=0.0.0 . [2020-10-05T06:53:48.828Z] Sending build context to Docker daemon 3.638MB [2020-10-05T06:53:48.828Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-05T06:53:48.828Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-05T06:53:48.828Z] ---> d7e8fefa610c [2020-10-05T06:53:48.828Z] Step 3/24 : ARG MAKE='make build' [2020-10-05T06:53:49.890Z] ---> Running in 88e94dc8fd6c [2020-10-05T06:53:49.890Z] Removing intermediate container 88e94dc8fd6c [2020-10-05T06:53:49.890Z] ---> 808dab5196ec [2020-10-05T06:53:49.890Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-05T06:53:49.890Z] ---> Running in e5f472a6fc71 [2020-10-05T06:53:50.366Z] Removing intermediate container e5f472a6fc71 [2020-10-05T06:53:50.366Z] ---> 40beff545029 [2020-10-05T06:53:50.367Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-05T06:53:50.367Z] ---> Running in 78210de7c2a7 [2020-10-05T06:53:50.367Z] Removing intermediate container 78210de7c2a7 [2020-10-05T06:53:50.367Z] ---> d881b71af077 [2020-10-05T06:53:50.367Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-05T06:53:50.367Z] ---> Running in b28cf7501362 [2020-10-05T06:53:51.398Z] Removing intermediate container b28cf7501362 [2020-10-05T06:53:51.398Z] ---> 768147bc6351 [2020-10-05T06:53:51.398Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-05T06:53:51.663Z] ---> Running in 12b72a3ee8f1 [2020-10-05T06:53:51.928Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-05T06:53:52.923Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-05T06:53:53.203Z] OK: 166 MiB in 39 packages [2020-10-05T06:53:53.825Z] Removing intermediate container 12b72a3ee8f1 [2020-10-05T06:53:53.825Z] ---> 85918afe2185 [2020-10-05T06:53:53.825Z] Step 8/24 : COPY . . [2020-10-05T06:53:55.276Z] ---> 9659a761b11a [2020-10-05T06:53:55.276Z] Step 9/24 : RUN ${MAKE} [2020-10-05T06:53:55.276Z] ---> Running in b2d57acbf052 [2020-10-05T06:53:55.582Z] 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 [2020-10-05T06:54:01.167Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3419 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [Pipeline] { [Pipeline] ws [2020-10-05T06:54:01.224Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2020-10-05T06:54:04.002Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-05T06:54:05.952Z] Removing intermediate container b2d57acbf052 [2020-10-05T06:54:05.952Z] ---> bc82469372b5 [2020-10-05T06:54:05.952Z] Step 10/24 : FROM scratch [2020-10-05T06:54:05.952Z] ---> [2020-10-05T06:54:05.952Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-05T06:54:05.952Z] ---> Running in 9b115fbb303a [2020-10-05T06:54:05.952Z] Removing intermediate container 9b115fbb303a [2020-10-05T06:54:05.952Z] ---> 70d8a92c350c [2020-10-05T06:54:05.952Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-05T06:54:06.013Z] using credential edgex-jenkins-ssh [2020-10-05T06:54:06.073Z] Cloning the remote Git repository [2020-10-05T06:54:06.216Z] ---> Running in 72e13b0c66f5 [2020-10-05T06:54:06.216Z] Removing intermediate container 72e13b0c66f5 [2020-10-05T06:54:06.216Z] ---> b1fd741d1b16 [2020-10-05T06:54:06.216Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-05T06:54:06.216Z] ---> Running in 9bd60aa176c5 [2020-10-05T06:54:06.165Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-05T06:54:06.287Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2020-10-05T06:54:06.481Z] Removing intermediate container 9bd60aa176c5 [2020-10-05T06:54:06.481Z] ---> ba2a4be7b204 [2020-10-05T06:54:06.481Z] Step 14/24 : WORKDIR / [2020-10-05T06:54:06.481Z] ---> Running in f86a79d790df [2020-10-05T06:54:06.746Z] Removing intermediate container f86a79d790df [2020-10-05T06:54:06.746Z] ---> 99b6470539df [2020-10-05T06:54:06.746Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-05T06:54:07.324Z] ---> 90ca77dfd827 [2020-10-05T06:54:07.324Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-05T06:54:07.324Z] ---> f0501d6a1caa [2020-10-05T06:54:07.324Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-05T06:54:06.401Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-05T06:54:06.401Z] > git --version # timeout=10 [2020-10-05T06:54:06.423Z] > git --version # 'git version 2.17.1' [2020-10-05T06:54:06.425Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-05T06:54:06.509Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-05T06:54:07.433Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-05T06:54:07.452Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-05T06:54:07.478Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-05T06:54:07.511Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-05T06:54:07.512Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-05T06:54:07.602Z] ---> 138441c5d4bc [2020-10-05T06:54:07.602Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-05T06:54:07.867Z] ---> f3d4ec2df99a [2020-10-05T06:54:07.868Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-05T06:54:08.115Z] Merging remotes/origin/master commit 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 into PR head commit 979a2feb14f7cafdf809837b6537c9b7851a7575 [2020-10-05T06:54:08.132Z] ---> 50685ff84bc0 [2020-10-05T06:54:08.132Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-05T06:54:08.132Z] ---> Running in 03b9cad278ac [2020-10-05T06:54:08.326Z] Merge succeeded, producing 979a2feb14f7cafdf809837b6537c9b7851a7575 [2020-10-05T06:54:08.327Z] Checking out Revision 979a2feb14f7cafdf809837b6537c9b7851a7575 (PR-605) [2020-10-05T06:54:08.397Z] Removing intermediate container 03b9cad278ac [2020-10-05T06:54:08.397Z] ---> 519d6daed0a3 [2020-10-05T06:54:08.397Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-05T06:54:08.397Z] ---> Running in b37eeb270751 [2020-10-05T06:54:08.720Z] Removing intermediate container b37eeb270751 [2020-10-05T06:54:08.720Z] ---> 52a2855efc30 [2020-10-05T06:54:08.720Z] Step 22/24 : LABEL arch=amd64 [2020-10-05T06:54:08.720Z] ---> Running in 71ebad466045 [2020-10-05T06:54:07.526Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-05T06:54:08.155Z] > git config core.sparsecheckout # timeout=10 [2020-10-05T06:54:08.169Z] > git checkout -f 979a2feb14f7cafdf809837b6537c9b7851a7575 # timeout=10 [2020-10-05T06:54:08.278Z] > git remote # timeout=10 [2020-10-05T06:54:08.292Z] > git config --get remote.origin.url # timeout=10 [2020-10-05T06:54:08.303Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-05T06:54:08.313Z] > git merge 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 # timeout=10 [2020-10-05T06:54:08.334Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-05T06:54:08.353Z] > git config core.sparsecheckout # timeout=10 [2020-10-05T06:54:08.374Z] > git checkout -f 979a2feb14f7cafdf809837b6537c9b7851a7575 # timeout=10 [2020-10-05T06:54:08.985Z] Removing intermediate container 71ebad466045 [2020-10-05T06:54:08.985Z] ---> 20a907c01e4f [2020-10-05T06:54:08.985Z] Step 23/24 : LABEL git_sha=979a2feb14f7cafdf809837b6537c9b7851a7575 [2020-10-05T06:54:08.985Z] ---> Running in c5bb38a328b6 [2020-10-05T06:54:08.985Z] Removing intermediate container c5bb38a328b6 [2020-10-05T06:54:08.985Z] ---> 6ac16aefc088 [2020-10-05T06:54:08.985Z] Step 24/24 : LABEL version=0.0.0 [2020-10-05T06:54:08.985Z] ---> Running in 40b1d3088552 [2020-10-05T06:54:09.249Z] Removing intermediate container 40b1d3088552 [2020-10-05T06:54:09.249Z] ---> 9dacb56ef272 [2020-10-05T06:54:09.249Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-05T06:54:09.249Z] Successfully built 9dacb56ef272 [2020-10-05T06:54:09.249Z] 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] } [2020-10-05T06:54:12.942Z] Commit message: "feat: implement v2 callback api" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-05T06:54:14.306Z] ========================================================= [2020-10-05T06:54:14.306Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-05T06:54:14.306Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-05T06:54:15.367Z] + 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 . [2020-10-05T06:54:16.354Z] Sending build context to Docker daemon 3.526MB [2020-10-05T06:54:16.354Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-05T06:54:16.354Z] Step 2/8 : FROM ${BASE} [2020-10-05T06:54:16.627Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-05T06:54:16.627Z] b538f80385f9: Pulling fs layer [2020-10-05T06:54:16.627Z] 74f711af9a0d: Pulling fs layer [2020-10-05T06:54:16.627Z] 99f96fe45779: Pulling fs layer [2020-10-05T06:54:16.627Z] 8529a6b9a6be: Pulling fs layer [2020-10-05T06:54:16.627Z] 45590311c82a: Pulling fs layer [2020-10-05T06:54:16.627Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-05T06:54:16.627Z] 209524e5b208: Pulling fs layer [2020-10-05T06:54:16.627Z] 8529a6b9a6be: Waiting [2020-10-05T06:54:16.627Z] 45590311c82a: Waiting [2020-10-05T06:54:16.627Z] 69ca0ff8b7b3: Waiting [2020-10-05T06:54:16.627Z] 209524e5b208: Waiting [2020-10-05T06:54:16.627Z] 99f96fe45779: Download complete [2020-10-05T06:54:16.627Z] 74f711af9a0d: Verifying Checksum [2020-10-05T06:54:16.627Z] 74f711af9a0d: Download complete [2020-10-05T06:54:16.627Z] 45590311c82a: Verifying Checksum [2020-10-05T06:54:16.627Z] 45590311c82a: Download complete [2020-10-05T06:54:17.223Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-05T06:54:17.223Z] 69ca0ff8b7b3: Download complete [2020-10-05T06:54:17.223Z] b538f80385f9: Verifying Checksum [2020-10-05T06:54:17.223Z] b538f80385f9: Download complete [2020-10-05T06:54:17.830Z] b538f80385f9: Pull complete [2020-10-05T06:54:18.438Z] 74f711af9a0d: Pull complete [2020-10-05T06:54:19.043Z] 99f96fe45779: Pull complete [2020-10-05T06:54:19.320Z] 209524e5b208: Verifying Checksum [2020-10-05T06:54:19.320Z] 209524e5b208: Download complete [2020-10-05T06:54:20.798Z] 8529a6b9a6be: Verifying Checksum [2020-10-05T06:54:20.798Z] 8529a6b9a6be: Download complete [2020-10-05T06:54:30.976Z] 8529a6b9a6be: Pull complete [2020-10-05T06:54:31.252Z] 45590311c82a: Pull complete [2020-10-05T06:54:31.529Z] 69ca0ff8b7b3: Pull complete [2020-10-05T06:54:35.860Z] 209524e5b208: Pull complete [2020-10-05T06:54:35.860Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-05T06:54:35.860Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-05T06:54:35.860Z] ---> 5bddaf1c2fca [2020-10-05T06:54:35.860Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-05T06:54:37.839Z] ---> Running in 1e6803642dd8 [2020-10-05T06:54:38.435Z] Removing intermediate container 1e6803642dd8 [2020-10-05T06:54:38.435Z] ---> 7136529d7c82 [2020-10-05T06:54:38.435Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-05T06:54:38.435Z] ---> Running in 0d614df09205 [2020-10-05T06:54:41.836Z] Removing intermediate container 0d614df09205 [2020-10-05T06:54:41.836Z] ---> 462a7f004d1f [2020-10-05T06:54:41.836Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-05T06:54:41.836Z] ---> Running in 4cdc09f80866 [2020-10-05T06:54:43.283Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-05T06:54:43.883Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-05T06:54:44.478Z] OK: 142 MiB in 39 packages [2020-10-05T06:54:45.902Z] Removing intermediate container 4cdc09f80866 [2020-10-05T06:54:45.902Z] ---> 5460dc522603 [2020-10-05T06:54:45.902Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-05T06:54:45.902Z] ---> Running in bd562e4e2488 [2020-10-05T06:54:46.173Z] Removing intermediate container bd562e4e2488 [2020-10-05T06:54:46.173Z] ---> e670113ddd1c [2020-10-05T06:54:46.173Z] Step 7/8 : COPY . . [2020-10-05T06:54:47.616Z] ---> 1e9033a7c831 [2020-10-05T06:54:47.616Z] Step 8/8 : RUN go mod download [2020-10-05T06:54:47.616Z] ---> Running in 893331770cfc [2020-10-05T06:55:09.785Z] Removing intermediate container 893331770cfc [2020-10-05T06:55:09.785Z] ---> acbe0aa0318b [2020-10-05T06:55:09.785Z] Successfully built acbe0aa0318b [2020-10-05T06:55:09.785Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-05T06:55:10.192Z] + docker inspect -f . ci-base-image-arm64 [2020-10-05T06:55:10.192Z] . [Pipeline] withDockerContainer [2020-10-05T06:55:10.433Z] prd-ubuntu18.04-docker-arm64-4c-16g-3419 does not seem to be running inside a container [2020-10-05T06:55:10.526Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-arm64 cat [2020-10-05T06:55:12.414Z] $ docker top 361475e38e0784e424b90f846cffe3ddb9f5e05653268ca156a546da9fd396aa -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-05T06:55:13.847Z] + go version [2020-10-05T06:55:13.847Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-05T06:55:13.884Z] $ docker stop --time=1 361475e38e0784e424b90f846cffe3ddb9f5e05653268ca156a546da9fd396aa [2020-10-05T06:55:15.827Z] $ docker rm -f 361475e38e0784e424b90f846cffe3ddb9f5e05653268ca156a546da9fd396aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-05T06:55:16.859Z] + docker inspect -f . ci-base-image-arm64 [2020-10-05T06:55:16.859Z] . [Pipeline] withDockerContainer [2020-10-05T06:55:17.127Z] prd-ubuntu18.04-docker-arm64-4c-16g-3419 does not seem to be running inside a container [2020-10-05T06:55:17.218Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-arm64 cat [2020-10-05T06:55:19.120Z] $ docker top 64d3b6dba940000c9ae7ecc3e9a4752fefa7702c908dfa3dcc61a9574d48cfbb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-05T06:55:20.512Z] + make test [2020-10-05T06:55:20.512Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-05T06:55:42.713Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-05T06:56:21.749Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-05T06:56:21.749Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-05T06:56:21.749Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-05T06:56:21.749Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.141s coverage: 21.6% of statements [2020-10-05T06:56:23.751Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.282s coverage: 97.1% of statements [2020-10-05T06:56:56.148Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.137s coverage: 9.4% of statements [2020-10-05T06:56:56.148Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.113s coverage: 21.9% of statements [2020-10-05T06:56:56.148Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-05T06:56:56.148Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.603s coverage: 42.1% of statements [2020-10-05T06:56:56.148Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-05T06:56:56.148Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.823s coverage: 65.4% of statements [2020-10-05T06:56:56.148Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-05T06:56:56.148Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-05T06:56:56.148Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-05T06:56:56.148Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-05T06:56:56.148Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.190s coverage: 52.6% of statements [2020-10-05T06:56:56.148Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-05T06:56:56.148Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-05T06:56:56.148Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.850s coverage: 68.9% of statements [2020-10-05T06:56:56.148Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-05T06:56:56.148Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-05T06:56:56.148Z] GO111MODULE=on go vet ./... [2020-10-05T06:57:22.964Z] gofmt -l . [2020-10-05T06:57:22.964Z] [ "`gofmt -l .`" = "" ] [2020-10-05T06:57:22.964Z] ./bin/test-attribution-txt.sh [2020-10-05T06:57:23.641Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-05T06:57:24.309Z] Warning: overwriting stash ‘coverage-report’ [2020-10-05T06:57:25.367Z] Stashed 1 file(s) [Pipeline] } [2020-10-05T06:57:25.393Z] $ docker stop --time=1 64d3b6dba940000c9ae7ecc3e9a4752fefa7702c908dfa3dcc61a9574d48cfbb [2020-10-05T06:57:27.723Z] $ docker rm -f 64d3b6dba940000c9ae7ecc3e9a4752fefa7702c908dfa3dcc61a9574d48cfbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-05T06:57:29.158Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-05T06:57:29.490Z] + ls -al . [2020-10-05T06:57:29.490Z] total 232 [2020-10-05T06:57:29.490Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 5 06:57 . [2020-10-05T06:57:29.490Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 06:54 .. [2020-10-05T06:57:29.490Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 06:54 .dockerignore [2020-10-05T06:57:29.490Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 06:54 .git [2020-10-05T06:57:29.490Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 06:54 .github [2020-10-05T06:57:29.490Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 5 06:54 .gitignore [2020-10-05T06:57:29.490Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 06:54 .semver [2020-10-05T06:57:29.490Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 5 06:54 Dockerfile.build [2020-10-05T06:57:29.490Z] -rw-rw-r-- 1 jenkins jenkins 785 Oct 5 06:54 Jenkinsfile [2020-10-05T06:57:29.490Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 5 06:54 LICENSE [2020-10-05T06:57:29.490Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 5 06:54 Makefile [2020-10-05T06:57:29.490Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 5 06:54 README.md [2020-10-05T06:57:29.490Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 5 06:54 RELEASE-NOTES.txt [2020-10-05T06:57:29.490Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 5 06:49 VERSION [2020-10-05T06:57:29.490Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 06:54 bin [2020-10-05T06:57:29.490Z] -rw-r--r-- 1 jenkins jenkins 111046 Oct 5 06:56 coverage.out [2020-10-05T06:57:29.490Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 06:54 example [2020-10-05T06:57:29.490Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 5 06:57 go.mod [2020-10-05T06:57:29.490Z] -rw-r--r-- 1 jenkins jenkins 13652 Oct 5 06:57 go.sum [2020-10-05T06:57:29.490Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 5 06:54 internal [2020-10-05T06:57:29.490Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 06:54 openapi [2020-10-05T06:57:29.490Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 5 06:54 pkg [2020-10-05T06:57:29.490Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 06:54 snap [2020-10-05T06:57:29.490Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 5 06:54 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-05T06:57:29.831Z] + 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=979a2feb14f7cafdf809837b6537c9b7851a7575 --label arch=arm64 --label version=0.0.0 . [2020-10-05T06:57:30.448Z] Sending build context to Docker daemon 3.638MB [2020-10-05T06:57:30.448Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-05T06:57:30.448Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-05T06:57:30.448Z] ---> acbe0aa0318b [2020-10-05T06:57:30.448Z] Step 3/24 : ARG MAKE='make build' [2020-10-05T06:57:30.721Z] ---> Running in b071db958555 [2020-10-05T06:57:30.994Z] Removing intermediate container b071db958555 [2020-10-05T06:57:30.994Z] ---> ee87faaaae17 [2020-10-05T06:57:30.994Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-05T06:57:31.267Z] ---> Running in 058a8891ce92 [2020-10-05T06:57:31.540Z] Removing intermediate container 058a8891ce92 [2020-10-05T06:57:31.540Z] ---> 579a6c83b2c5 [2020-10-05T06:57:31.540Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-05T06:57:31.816Z] ---> Running in 51ac37ebec5a [2020-10-05T06:57:32.411Z] Removing intermediate container 51ac37ebec5a [2020-10-05T06:57:32.411Z] ---> fe5b82f41b7d [2020-10-05T06:57:32.411Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-05T06:57:32.411Z] ---> Running in 89beb2230c1e [2020-10-05T06:57:35.030Z] Removing intermediate container 89beb2230c1e [2020-10-05T06:57:35.030Z] ---> 00be7bb43663 [2020-10-05T06:57:35.030Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-05T06:57:35.030Z] ---> Running in 2cfa514ec14b [2020-10-05T06:57:36.462Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-05T06:57:37.437Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-05T06:57:38.031Z] OK: 142 MiB in 39 packages [2020-10-05T06:57:39.024Z] Removing intermediate container 2cfa514ec14b [2020-10-05T06:57:39.024Z] ---> 6f2c29bf2865 [2020-10-05T06:57:39.024Z] Step 8/24 : COPY . . [2020-10-05T06:57:40.456Z] ---> 5b6c9604136e [2020-10-05T06:57:40.456Z] Step 9/24 : RUN ${MAKE} [2020-10-05T06:57:40.731Z] ---> Running in 5f9069e7da2c [2020-10-05T06:57:42.164Z] 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 [2020-10-05T06:58:08.986Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-05T06:58:08.986Z] Removing intermediate container 5f9069e7da2c [2020-10-05T06:58:08.986Z] ---> 46e9234ca7a7 [2020-10-05T06:58:08.986Z] Step 10/24 : FROM scratch [2020-10-05T06:58:08.986Z] ---> [2020-10-05T06:58:08.986Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-05T06:58:08.986Z] ---> Running in 659d4ac9ce31 [2020-10-05T06:58:08.986Z] Removing intermediate container 659d4ac9ce31 [2020-10-05T06:58:08.986Z] ---> d713e0d65c57 [2020-10-05T06:58:08.986Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-05T06:58:08.986Z] ---> Running in fcef92424092 [2020-10-05T06:58:08.986Z] Removing intermediate container fcef92424092 [2020-10-05T06:58:08.986Z] ---> 3bbd1f73e0e4 [2020-10-05T06:58:08.986Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-05T06:58:08.986Z] ---> Running in df153b79d1bf [2020-10-05T06:58:09.259Z] Removing intermediate container df153b79d1bf [2020-10-05T06:58:09.259Z] ---> 88f3c9500f8e [2020-10-05T06:58:09.259Z] Step 14/24 : WORKDIR / [2020-10-05T06:58:09.532Z] ---> Running in 1ebcaf2f1eb4 [2020-10-05T06:58:09.809Z] Removing intermediate container 1ebcaf2f1eb4 [2020-10-05T06:58:09.809Z] ---> e13c84089690 [2020-10-05T06:58:09.809Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-05T06:58:11.240Z] ---> 629dbf088cb9 [2020-10-05T06:58:11.240Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-05T06:58:11.850Z] ---> eafebbf575b9 [2020-10-05T06:58:11.850Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-05T06:58:12.832Z] ---> c0ac4390c595 [2020-10-05T06:58:12.832Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-05T06:58:13.427Z] ---> c87b6147f7b2 [2020-10-05T06:58:13.428Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-05T06:58:14.023Z] ---> dd21bdcaaac2 [2020-10-05T06:58:14.023Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-05T06:58:14.294Z] ---> Running in f2f6a0417bc6 [2020-10-05T06:58:14.566Z] Removing intermediate container f2f6a0417bc6 [2020-10-05T06:58:14.566Z] ---> 71f42773006d [2020-10-05T06:58:14.566Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-05T06:58:14.838Z] ---> Running in cb5289bb1327 [2020-10-05T06:58:15.109Z] Removing intermediate container cb5289bb1327 [2020-10-05T06:58:15.109Z] ---> 052f7828d6fc [2020-10-05T06:58:15.109Z] Step 22/24 : LABEL arch=arm64 [2020-10-05T06:58:15.383Z] ---> Running in 2a3319de290d [2020-10-05T06:58:15.656Z] Removing intermediate container 2a3319de290d [2020-10-05T06:58:15.656Z] ---> 7a6e4fc95670 [2020-10-05T06:58:15.656Z] Step 23/24 : LABEL git_sha=979a2feb14f7cafdf809837b6537c9b7851a7575 [2020-10-05T06:58:15.929Z] ---> Running in 7139f18e3168 [2020-10-05T06:58:16.201Z] Removing intermediate container 7139f18e3168 [2020-10-05T06:58:16.201Z] ---> 420aa58e9b0a [2020-10-05T06:58:16.201Z] Step 24/24 : LABEL version=0.0.0 [2020-10-05T06:58:16.475Z] ---> Running in 4afc31ced4fc [2020-10-05T06:58:16.748Z] Removing intermediate container 4afc31ced4fc [2020-10-05T06:58:16.748Z] ---> f3527bf29836 [2020-10-05T06:58:16.748Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-05T06:58:17.019Z] Successfully built f3527bf29836 [2020-10-05T06:58:17.019Z] 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 [2020-10-05T06:58:18.757Z] provisioning config files... [2020-10-05T06:58:18.770Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config6366059355379052327tmp [Pipeline] { [Pipeline] sh [2020-10-05T06:58:19.152Z] + set +x [2020-10-05T06:58:19.152Z] + curl -s https://codecov.io/bash [2020-10-05T06:58:19.152Z] + bash -s -- [2020-10-05T06:58:19.413Z] [2020-10-05T06:58:19.413Z] _____ _ [2020-10-05T06:58:19.413Z] / ____| | | [2020-10-05T06:58:19.413Z] | | ___ __| | ___ ___ _____ __ [2020-10-05T06:58:19.413Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-05T06:58:19.413Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-05T06:58:19.413Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-05T06:58:19.413Z] Bash-20200917-4e8f14b [2020-10-05T06:58:19.413Z] [2020-10-05T06:58:19.413Z] [2020-10-05T06:58:19.413Z] ==> Jenkins CI detected. [2020-10-05T06:58:19.413Z] project root: . [2020-10-05T06:58:19.413Z] --> token set from env [2020-10-05T06:58:19.413Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-05T06:58:19.413Z] ==> Running gcov in . (disable via -X gcov) [2020-10-05T06:58:19.413Z] ==> Python coveragepy not found [2020-10-05T06:58:19.413Z] ==> Searching for coverage reports in: [2020-10-05T06:58:19.413Z] + . [2020-10-05T06:58:19.413Z] -> Found 1 reports [2020-10-05T06:58:19.413Z] ==> Detecting git/mercurial file structure [2020-10-05T06:58:19.413Z] ==> Reading reports [2020-10-05T06:58:19.413Z] + ./coverage.out bytes=111046 [2020-10-05T06:58:19.413Z] ==> Appending adjustments [2020-10-05T06:58:19.413Z] https://docs.codecov.io/docs/fixing-reports [2020-10-05T06:58:19.988Z] + Found adjustments [2020-10-05T06:58:19.988Z] ==> Gzipping contents [2020-10-05T06:58:19.988Z] ==> Uploading reports [2020-10-05T06:58:19.988Z] url: https://codecov.io [2020-10-05T06:58:19.988Z] query: branch=PR-605&commit=979a2feb14f7cafdf809837b6537c9b7851a7575&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-605%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=605&job=&cmd_args= [2020-10-05T06:58:19.988Z] -> Pinging Codecov [2020-10-05T06:58:19.988Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-605&commit=979a2feb14f7cafdf809837b6537c9b7851a7575&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-605%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=605&job=&cmd_args= [2020-10-05T06:58:21.374Z] -> Uploading to [2020-10-05T06:58:21.374Z] https://storage.googleapis.com/codecov/v4/raw/2020-10-05/7E55EF52A471D76F132DFD9A03CDDE97/979a2feb14f7cafdf809837b6537c9b7851a7575/1ba07f59-4a1e-4c81-a425-4c6829f5e714.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201005%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201005T065821Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=aea2b6df102c6aa8dd676092e313cda6a93541b3226210f8d04f7989c88fcc80 [2020-10-05T06:58:21.374Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-05T06:58:21.374Z] Dload Upload Total Spent Left Speed [2020-10-05T06:58:21.948Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18424 0 0 100 18424 0 49668 --:--:-- --:--:-- --:--:-- 49794 [2020-10-05T06:58:21.948Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/979a2feb14f7cafdf809837b6537c9b7851a7575 [Pipeline] } [2020-10-05T06:58:21.957Z] 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 [2020-10-05T06:58:24.439Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-05T06:58:25.004Z] ---> package-listing.sh [2020-10-05T06:58:25.004Z] ++ facter osfamily [2020-10-05T06:58:25.004Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-05T06:58:25.004Z] + OS_FAMILY=redhat [2020-10-05T06:58:25.004Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-605 [2020-10-05T06:58:25.004Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-05T06:58:25.004Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-05T06:58:25.004Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-05T06:58:25.004Z] + PACKAGES=/tmp/packages_start.txt [2020-10-05T06:58:25.004Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' [2020-10-05T06:58:25.004Z] + PACKAGES=/tmp/packages_end.txt [2020-10-05T06:58:25.004Z] + case "${OS_FAMILY}" in [2020-10-05T06:58:25.004Z] + rpm -qa [2020-10-05T06:58:25.004Z] + sort [2020-10-05T06:58:29.223Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-05T06:58:29.223Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-05T06:58:29.223Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-05T06:58:29.223Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' [2020-10-05T06:58:29.223Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ [2020-10-05T06:58:29.223Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-05T06:58:29.410Z] provisioning config files... [2020-10-05T06:58:29.424Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config7066965450506559281tmp [Pipeline] { [Pipeline] echo [2020-10-05T06:58:29.498Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-05T06:58:29.797Z] ---> create-netrc.sh [Pipeline] } [2020-10-05T06:58:29.806Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-05T06:58:29.894Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-05T06:58:30.191Z] ---> python-tools-install.sh [2020-10-05T06:58:30.191Z] Generating Requirements File [2020-10-05T06:59:51.730Z] Python 3.6.8 [2020-10-05T06:59:51.730Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-05T06:59:51.730Z] aiohttp==3.6.2 [2020-10-05T06:59:51.730Z] appdirs==1.4.3 [2020-10-05T06:59:51.730Z] argcomplete==1.12.1 [2020-10-05T06:59:51.730Z] aspy.yaml==1.3.0 [2020-10-05T06:59:51.730Z] async-timeout==3.0.1 [2020-10-05T06:59:51.730Z] attrs==19.3.0 [2020-10-05T06:59:51.730Z] Babel==2.8.0 [2020-10-05T06:59:51.730Z] beautifulsoup4==4.8.2 [2020-10-05T06:59:51.730Z] boto3==1.11.6 [2020-10-05T06:59:51.730Z] botocore==1.14.6 [2020-10-05T06:59:51.730Z] bs4==0.0.1 [2020-10-05T06:59:51.730Z] cachetools==4.1.1 [2020-10-05T06:59:51.730Z] certifi==2019.11.28 [2020-10-05T06:59:51.730Z] cffi==1.14.3 [2020-10-05T06:59:51.730Z] cfgv==2.0.1 [2020-10-05T06:59:51.730Z] chardet==3.0.4 [2020-10-05T06:59:51.730Z] click==7.1 [2020-10-05T06:59:51.730Z] cliff==3.4.0 [2020-10-05T06:59:51.730Z] cmd2==1.3.11 [2020-10-05T06:59:51.730Z] colorama==0.4.3 [2020-10-05T06:59:51.730Z] cryptography==3.1.1 [2020-10-05T06:59:51.730Z] debtcollector==2.2.0 [2020-10-05T06:59:51.730Z] decorator==4.4.2 [2020-10-05T06:59:51.730Z] defusedxml==0.6.0 [2020-10-05T06:59:51.730Z] Deprecated==1.2.7 [2020-10-05T06:59:51.730Z] distlib==0.3.1 [2020-10-05T06:59:51.730Z] distro==1.2.0 [2020-10-05T06:59:51.730Z] dnspython==1.16.0 [2020-10-05T06:59:51.730Z] docker==4.2.0 [2020-10-05T06:59:51.730Z] docutils==0.15.2 [2020-10-05T06:59:51.730Z] dogpile.cache==1.0.2 [2020-10-05T06:59:51.730Z] email-validator==1.0.5 [2020-10-05T06:59:51.730Z] filelock==3.0.12 [2020-10-05T06:59:51.730Z] future==0.18.2 [2020-10-05T06:59:51.730Z] google-auth==1.22.0 [2020-10-05T06:59:51.730Z] httplib2==0.17.0 [2020-10-05T06:59:51.730Z] identify==1.4.11 [2020-10-05T06:59:51.730Z] idna==2.9 [2020-10-05T06:59:51.730Z] idna-ssl==1.1.0 [2020-10-05T06:59:51.730Z] importlib-metadata==1.7.0 [2020-10-05T06:59:51.730Z] importlib-resources==1.5.0 [2020-10-05T06:59:51.730Z] iso8601==0.1.13 [2020-10-05T06:59:51.730Z] Jinja2==2.11.1 [2020-10-05T06:59:51.730Z] jmespath==0.10.0 [2020-10-05T06:59:51.730Z] jsonpatch==1.26 [2020-10-05T06:59:51.730Z] jsonpointer==2.0 [2020-10-05T06:59:51.730Z] jsonschema==3.2.0 [2020-10-05T06:59:51.730Z] keystoneauth1==4.2.1 [2020-10-05T06:59:51.730Z] kubernetes==11.0.0 [2020-10-05T06:59:51.730Z] lftools==0.34.2 [2020-10-05T06:59:51.730Z] lxml==4.5.0 [2020-10-05T06:59:51.730Z] MarkupSafe==0.23 [2020-10-05T06:59:51.730Z] msgpack==1.0.0 [2020-10-05T06:59:51.730Z] multi-key-dict==2.0.3 [2020-10-05T06:59:51.730Z] multidict==4.7.6 [2020-10-05T06:59:51.730Z] munch==2.5.0 [2020-10-05T06:59:51.730Z] netaddr==0.8.0 [2020-10-05T06:59:51.730Z] netifaces==0.10.9 [2020-10-05T06:59:51.730Z] niet==1.4.2 [2020-10-05T06:59:51.730Z] nodeenv==1.3.5 [2020-10-05T06:59:51.730Z] oauth2client==4.1.3 [2020-10-05T06:59:51.730Z] oauthlib==3.1.0 [2020-10-05T06:59:51.730Z] openstacksdk==0.50.0 [2020-10-05T06:59:51.730Z] os-client-config==2.1.0 [2020-10-05T06:59:51.730Z] os-service-types==1.7.0 [2020-10-05T06:59:51.730Z] osc-lib==2.2.1 [2020-10-05T06:59:51.730Z] oslo.config==8.3.2 [2020-10-05T06:59:51.730Z] oslo.context==3.1.1 [2020-10-05T06:59:51.730Z] oslo.i18n==5.0.1 [2020-10-05T06:59:51.730Z] oslo.log==4.4.0 [2020-10-05T06:59:51.730Z] oslo.serialization==4.0.1 [2020-10-05T06:59:51.730Z] oslo.utils==4.6.0 [2020-10-05T06:59:51.730Z] packaging==20.4 [2020-10-05T06:59:51.730Z] pbr==5.4.4 [2020-10-05T06:59:51.730Z] pluggy==0.13.1 [2020-10-05T06:59:51.730Z] prettytable==0.7.2 [2020-10-05T06:59:51.730Z] py==1.9.0 [2020-10-05T06:59:51.730Z] pyasn1==0.4.8 [2020-10-05T06:59:51.730Z] pyasn1-modules==0.2.8 [2020-10-05T06:59:51.730Z] pycparser==2.20 [2020-10-05T06:59:51.730Z] pygerrit2==2.0.10 [2020-10-05T06:59:51.730Z] PyGithub==1.46 [2020-10-05T06:59:51.730Z] pyinotify==0.9.6 [2020-10-05T06:59:51.730Z] PyJWT==1.7.1 [2020-10-05T06:59:51.730Z] pyparsing==2.4.7 [2020-10-05T06:59:51.730Z] pyperclip==1.8.0 [2020-10-05T06:59:51.730Z] pyroute2==0.4.13 [2020-10-05T06:59:51.730Z] pyrsistent==0.15.7 [2020-10-05T06:59:51.730Z] PySocks==1.6.8 [2020-10-05T06:59:51.730Z] python-cinderclient==7.2.0 [2020-10-05T06:59:51.730Z] python-dateutil==2.8.1 [2020-10-05T06:59:51.730Z] python-heatclient==2.2.1 [2020-10-05T06:59:51.730Z] python-jenkins==1.7.0 [2020-10-05T06:59:51.730Z] python-keystoneclient==4.1.1 [2020-10-05T06:59:51.730Z] python-magnumclient==3.2.1 [2020-10-05T06:59:51.730Z] python-novaclient==17.2.1 [2020-10-05T06:59:51.730Z] python-openstackclient==5.4.0 [2020-10-05T06:59:51.730Z] python-swiftclient==3.10.1 [2020-10-05T06:59:51.730Z] pytz==2020.1 [2020-10-05T06:59:51.730Z] PyYAML==5.3 [2020-10-05T06:59:51.730Z] requests==2.23.0 [2020-10-05T06:59:51.730Z] requests-oauthlib==1.3.0 [2020-10-05T06:59:51.730Z] requestsexceptions==1.4.0 [2020-10-05T06:59:51.730Z] rfc3986==1.4.0 [2020-10-05T06:59:51.730Z] rpm==4.11.3 [2020-10-05T06:59:51.730Z] rsa==4.0 [2020-10-05T06:59:51.730Z] ruamel.yaml==0.16.10 [2020-10-05T06:59:51.730Z] ruamel.yaml.clib==0.2.0 [2020-10-05T06:59:51.730Z] s3transfer==0.3.3 [2020-10-05T06:59:51.730Z] shade==1.27.2 [2020-10-05T06:59:51.730Z] simplejson==3.17.2 [2020-10-05T06:59:51.730Z] six==1.14.0 [2020-10-05T06:59:51.730Z] soupsieve==2.0 [2020-10-05T06:59:51.730Z] stevedore==3.2.2 [2020-10-05T06:59:51.730Z] tabulate==0.8.6 [2020-10-05T06:59:51.730Z] toml==0.10.0 [2020-10-05T06:59:51.730Z] tox==3.20.0 [2020-10-05T06:59:51.730Z] tqdm==4.43.0 [2020-10-05T06:59:51.730Z] typing-extensions==3.7.4.3 [2020-10-05T06:59:51.730Z] urllib3==1.25.8 [2020-10-05T06:59:51.730Z] virtualenv==20.0.33 [2020-10-05T06:59:51.730Z] wcwidth==0.2.5 [2020-10-05T06:59:51.730Z] websocket-client==0.57.0 [2020-10-05T06:59:51.730Z] wrapt==1.12.1 [2020-10-05T06:59:51.730Z] xdg==3.0.2 [2020-10-05T06:59:51.730Z] xmltodict==0.12.0 [2020-10-05T06:59:51.730Z] yarl==1.6.0 [2020-10-05T06:59:51.730Z] yq==2.11.1 [2020-10-05T06:59:51.730Z] zipp==3.3.0 [2020-10-05T06:59:51.730Z] Cache entry deserialization failed, entry ignored [2020-10-05T06:59:51.730Z] 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. [2020-10-05T06:59:51.730Z] Python 2.7.5 [2020-10-05T06:59:51.730Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-05T06:59:51.730Z] 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. [2020-10-05T06:59:51.730Z] ansible==2.9.7 [2020-10-05T06:59:51.730Z] Babel==0.9.6 [2020-10-05T06:59:51.730Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-05T06:59:51.730Z] beautifulsoup4==4.4.1 [2020-10-05T06:59:51.730Z] bodhi==2.11.0 [2020-10-05T06:59:51.731Z] bodhi-client==2.11.0 [2020-10-05T06:59:51.731Z] CCColUtils==1.4 [2020-10-05T06:59:51.731Z] cffi==1.6.0 [2020-10-05T06:59:51.731Z] chardet==2.2.1 [2020-10-05T06:59:51.731Z] click==6.7 [2020-10-05T06:59:51.731Z] cloud-init==18.5 [2020-10-05T06:59:51.731Z] configobj==4.7.2 [2020-10-05T06:59:51.731Z] cryptography==1.7.2 [2020-10-05T06:59:51.731Z] decorator==3.4.0 [2020-10-05T06:59:51.731Z] distro==1.2.0 [2020-10-05T06:59:51.731Z] enum34==1.0.4 [2020-10-05T06:59:51.731Z] fedpkg==1.38 [2020-10-05T06:59:51.731Z] futures==3.1.1 [2020-10-05T06:59:51.731Z] gitdb==0.6.4 [2020-10-05T06:59:51.731Z] GitPython==1.0.1 [2020-10-05T06:59:51.731Z] html5lib==0.999 [2020-10-05T06:59:51.731Z] httplib2==0.9.2 [2020-10-05T06:59:51.731Z] idna==2.4 [2020-10-05T06:59:51.731Z] iniparse==0.4 [2020-10-05T06:59:51.731Z] ipaddress==1.0.16 [2020-10-05T06:59:51.731Z] IPy==0.75 [2020-10-05T06:59:51.731Z] javapackages==1.0.0 [2020-10-05T06:59:51.731Z] Jinja2==2.7.2 [2020-10-05T06:59:51.731Z] jmespath==0.9.4 [2020-10-05T06:59:51.731Z] jsonpatch==1.2 [2020-10-05T06:59:51.731Z] jsonpointer==1.9 [2020-10-05T06:59:51.731Z] kerberos==1.1 [2020-10-05T06:59:51.731Z] kitchen==1.1.1 [2020-10-05T06:59:51.731Z] langtable==0.0.31 [2020-10-05T06:59:51.731Z] lockfile==0.9.1 [2020-10-05T06:59:51.731Z] lxml==3.2.1 [2020-10-05T06:59:51.731Z] MarkupSafe==0.11 [2020-10-05T06:59:51.731Z] munch==2.0.2 [2020-10-05T06:59:51.731Z] offtrac==0.1.0 [2020-10-05T06:59:51.731Z] openidc-client==0.6.0 [2020-10-05T06:59:51.731Z] packagedb-cli==2.14.1 [2020-10-05T06:59:51.731Z] paramiko==2.1.1 [2020-10-05T06:59:51.731Z] perf==0.1 [2020-10-05T06:59:51.731Z] ply==3.4 [2020-10-05T06:59:51.731Z] policycoreutils-default-encoding==0.1 [2020-10-05T06:59:51.731Z] prettytable==0.7.2 [2020-10-05T06:59:51.731Z] pyasn1==0.1.9 [2020-10-05T06:59:51.731Z] pycparser==2.14 [2020-10-05T06:59:51.731Z] pycurl==7.19.0 [2020-10-05T06:59:51.731Z] pygobject==3.22.0 [2020-10-05T06:59:51.731Z] pygpgme==0.3 [2020-10-05T06:59:51.731Z] pyliblzma==0.5.3 [2020-10-05T06:59:51.731Z] pyOpenSSL==0.13.1 [2020-10-05T06:59:51.731Z] pyparsing==1.5.6 [2020-10-05T06:59:51.731Z] pyserial==2.6 [2020-10-05T06:59:51.731Z] python-augeas==0.5.0 [2020-10-05T06:59:51.731Z] python-bugzilla==2.3.0 [2020-10-05T06:59:51.731Z] python-dateutil==1.5 [2020-10-05T06:59:51.731Z] python-fedora==0.10.0 [2020-10-05T06:59:51.731Z] python-linux-procfs==0.4.9 [2020-10-05T06:59:51.731Z] python-yubico==1.2.3 [2020-10-05T06:59:51.731Z] pyudev==0.15 [2020-10-05T06:59:51.731Z] pyusb==1.0.0b1 [2020-10-05T06:59:51.731Z] pyxattr==0.5.1 [2020-10-05T06:59:51.731Z] PyYAML==3.10 [2020-10-05T06:59:51.731Z] requests==2.6.0 [2020-10-05T06:59:51.731Z] requests-kerberos==0.7.0 [2020-10-05T06:59:51.731Z] rpkg==1.60 [2020-10-05T06:59:51.731Z] schedutils==0.4 [2020-10-05T06:59:51.731Z] seobject==0.1 [2020-10-05T06:59:51.731Z] sepolicy==1.1 [2020-10-05T06:59:51.731Z] six==1.9.0 [2020-10-05T06:59:51.731Z] smmap==0.9.0 [2020-10-05T06:59:51.731Z] urlgrabber==3.10 [2020-10-05T06:59:51.731Z] urllib3==1.10.2 [2020-10-05T06:59:51.731Z] virtualenv==15.1.0 [2020-10-05T06:59:51.731Z] yum-langpacks==0.4.2 [2020-10-05T06:59:51.731Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-05T06:59:51.742Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-05T06:59:52.042Z] ---> sudo-logs.sh [2020-10-05T06:59:52.042Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-05T06:59:52.316Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-05T06:59:52.614Z] ---> job-cost.sh [2020-10-05T06:59:52.614Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-o8yG [2020-10-05T07:00:02.647Z] Cache entry deserialization failed, entry ignored [2020-10-05T07:00:02.647Z] Cache entry deserialization failed, entry ignored [2020-10-05T07:00:02.918Z] Cache entry deserialization failed, entry ignored [2020-10-05T07:00:02.918Z] Cache entry deserialization failed, entry ignored [2020-10-05T07:00:02.918Z] Cache entry deserialization failed, entry ignored [2020-10-05T07:00:03.191Z] Cache entry deserialization failed, entry ignored [2020-10-05T07:00:03.191Z] Cache entry deserialization failed, entry ignored [2020-10-05T07:00:03.191Z] Cache entry deserialization failed, entry ignored [2020-10-05T07:00:03.459Z] Cache entry deserialization failed, entry ignored [2020-10-05T07:00:03.459Z] Cache entry deserialization failed, entry ignored [2020-10-05T07:00:03.722Z] Cache entry deserialization failed, entry ignored [2020-10-05T07:00:03.722Z] Cache entry deserialization failed, entry ignored [2020-10-05T07:00:06.288Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-05T07:00:32.923Z] lf-activate-venv(): INFO: Adding /tmp/venv-o8yG/bin to PATH [2020-10-05T07:00:32.923Z] INFO: No Stack... [2020-10-05T07:00:32.923Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-05T07:00:33.505Z] INFO: Archiving Costs [Pipeline] echo [2020-10-05T07:00:33.521Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-05T07:00:33.836Z] ---> logs-deploy.sh [2020-10-05T07:00:33.836Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-605/5 [2020-10-05T07:00:33.836Z] INFO: archiving workspace using pattern(s): [2020-10-05T07:00:36.403Z] Archives upload complete. [2020-10-05T07:00:36.403Z] INFO: archiving logs to Nexus