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 a544bf50c5d948c619930f4b3c273d7df07b4b86+9121cb4fd2f17f024cc2e84f36967dd0fb0597df (603425c40203a7bbd7f0faa7c29b13e28a93bbf3) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5380 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 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit a544bf50c5d948c619930f4b3c273d7df07b4b86 Merge succeeded, producing a544bf50c5d948c619930f4b3c273d7df07b4b86 Checking out Revision a544bf50c5d948c619930f4b3c273d7df07b4b86 (PR-605) > git config core.sparsecheckout # timeout=10 > git checkout -f a544bf50c5d948c619930f4b3c273d7df07b4b86 # 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 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a544bf50c5d948c619930f4b3c273d7df07b4b86 # timeout=10 Commit message: "feat(sdk): delete unused profile in callback" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-14T10:01:42.611Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 7362c5a394dc75f394f886bec3dc4856d1c01bde # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-14T10:01:43.129Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-14T10:01:43.293Z] ========================================================= [2020-10-14T10:01:43.293Z] EdgeX Global Pipelines Version Info [2020-10-14T10:01:43.293Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-14T10:01:45.108Z] ------------------- [2020-10-14T10:01:45.108Z] stable info: [2020-10-14T10:01:45.108Z] ------------------- [2020-10-14T10:01:45.108Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-14T10:01:45.108Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-14T10:01:45.108Z] Message: update stable to v1.0.131 [2020-10-14T10:01:46.084Z] ------------------- [2020-10-14T10:01:46.084Z] experimental info: [2020-10-14T10:01:46.084Z] ------------------- [2020-10-14T10:01:46.084Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-14T10:01:46.084Z] Commit SHA: a2275391807e67b7600a554c2b5f26031cb9c010 [2020-10-14T10:01:46.084Z] Message: update experimental to v1.0.141 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-14T10:01:46.557Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-14T10:01:46.663Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-14T10:01:46.767Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-14T10:01:46.882Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-14T10:01:46.983Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-14T10:01:47.082Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-14T10:01:47.193Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-14T10:01:47.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-14T10:01:47.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-14T10:01:47.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-14T10:01:47.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-14T10:01:47.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-14T10:01:47.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-14T10:01:47.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-14T10:01:48.046Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-14T10:01:48.157Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-14T10:01:48.261Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-14T10:01:48.362Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-14T10:01:48.473Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-14T10:01:48.566Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-14T10:01:48.667Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-14T10:01:48.779Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-14T10:01:48.886Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-14T10:01:48.999Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-14T10:01:49.103Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-14T10:01:49.194Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-605 [Pipeline] echo [2020-10-14T10:01:49.277Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-605 [Pipeline] echo [2020-10-14T10:01:49.388Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-605 [Pipeline] echo [2020-10-14T10:01:49.487Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a544bf50c5d948c619930f4b3c273d7df07b4b86 [Pipeline] echo [2020-10-14T10:01:49.571Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a544bf5 [Pipeline] echo [2020-10-14T10:01:49.677Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-14T10:01:50.270Z] + git log --format=format:%s -1 a544bf50c5d948c619930f4b3c273d7df07b4b86 [Pipeline] echo [2020-10-14T10:01:50.328Z] GIT_COMMIT: a544bf50c5d948c619930f4b3c273d7df07b4b86, Commit Message: feat(sdk): delete unused profile in callback [Pipeline] echo [2020-10-14T10:01:50.412Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-14T10:01:51.023Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-14T10:01:51.023Z] [2020-10-14T10:01:51.023Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-14T10:01:51.436Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-14T10:01:51.436Z] latest: Pulling from edgex-devops/git-semver [2020-10-14T10:01:51.436Z] 31603596830f: Pulling fs layer [2020-10-14T10:01:51.436Z] 2a8b12db71e7: Pulling fs layer [2020-10-14T10:01:51.436Z] 6ca5941a6612: Pulling fs layer [2020-10-14T10:01:51.436Z] ecc8261a40a4: Pulling fs layer [2020-10-14T10:01:51.436Z] ecc8261a40a4: Waiting [2020-10-14T10:01:51.436Z] 2a8b12db71e7: Download complete [2020-10-14T10:01:51.697Z] 31603596830f: Verifying Checksum [2020-10-14T10:01:51.697Z] 31603596830f: Download complete [2020-10-14T10:01:51.697Z] ecc8261a40a4: Verifying Checksum [2020-10-14T10:01:51.697Z] ecc8261a40a4: Download complete [2020-10-14T10:01:51.697Z] 6ca5941a6612: Verifying Checksum [2020-10-14T10:01:51.697Z] 6ca5941a6612: Download complete [2020-10-14T10:01:51.960Z] 31603596830f: Pull complete [2020-10-14T10:01:51.960Z] 2a8b12db71e7: Pull complete [2020-10-14T10:01:52.904Z] 6ca5941a6612: Pull complete [2020-10-14T10:01:52.904Z] ecc8261a40a4: Pull complete [2020-10-14T10:01:52.904Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-14T10:01:52.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-14T10:01:52.904Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-14T10:01:53.011Z] prd-centos7-docker-4c-2g-5380 does not seem to be running inside a container [2020-10-14T10:01:53.057Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-14T10:01:54.787Z] $ docker top 20241581892dde04e30a03af0c00c11ef6f4d5bef55f72fae7c32e37c6ad64d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-14T10:01:55.082Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-14T10:01:55.082Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-14T10:01:55.277Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-14T10:01:55.282Z] $ docker exec 20241581892dde04e30a03af0c00c11ef6f4d5bef55f72fae7c32e37c6ad64d7 ssh-agent [2020-10-14T10:01:55.423Z] SSH_AUTH_SOCK=/tmp/ssh-MQYUYS1exp9G/agent.12 [2020-10-14T10:01:55.423Z] SSH_AGENT_PID=17 [2020-10-14T10:01:55.435Z] Running ssh-add (command line suppressed) [2020-10-14T10:01:55.561Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_6827838984975649018.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_6827838984975649018.key) [2020-10-14T10:01:55.607Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-14T10:01:55.941Z] + git describe --exact-match --tags HEAD [2020-10-14T10:01:55.941Z] fatal: no tag exactly matches 'a544bf50c5d948c619930f4b3c273d7df07b4b86' [Pipeline] } [2020-10-14T10:01:55.964Z] $ docker exec --env ******** --env ******** 20241581892dde04e30a03af0c00c11ef6f4d5bef55f72fae7c32e37c6ad64d7 ssh-agent -k [2020-10-14T10:01:56.066Z] unset SSH_AUTH_SOCK; [2020-10-14T10:01:56.067Z] unset SSH_AGENT_PID; [2020-10-14T10:01:56.067Z] echo Agent pid 17 killed; [2020-10-14T10:01:56.110Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-14T10:01:56.234Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-14T10:01:56.234Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-14T10:01:56.339Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-14T10:01:56.339Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-14T10:01:56.492Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-14T10:01:56.498Z] $ docker exec 20241581892dde04e30a03af0c00c11ef6f4d5bef55f72fae7c32e37c6ad64d7 ssh-agent [2020-10-14T10:01:56.644Z] SSH_AUTH_SOCK=/tmp/ssh-IUVkSCiCcsXB/agent.47 [2020-10-14T10:01:56.644Z] SSH_AGENT_PID=52 [2020-10-14T10:01:56.650Z] Running ssh-add (command line suppressed) [2020-10-14T10:01:56.768Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_5286645873557452281.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_5286645873557452281.key) [2020-10-14T10:01:56.820Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-14T10:01:57.156Z] + git semver init [2020-10-14T10:01:57.156Z] # -> Open(): unable to determine branch for HEAD [2020-10-14T10:01:57.156Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.git [2020-10-14T10:01:57.156Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-605 [2020-10-14T10:01:57.156Z] # $SEMVER_REMOTE_NAME = origin [2020-10-14T10:01:57.156Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-14T10:01:57.156Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-14T10:01:57.156Z] # $SEMVER_BRANCH = PR-605 [2020-10-14T10:01:57.156Z] # $SEMVER_TEMP = /tmp/semver-002375439 [2020-10-14T10:01:57.156Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-14T10:01:57.730Z] # '/tmp/semver-002375439' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver' [2020-10-14T10:01:57.730Z] # -> Force: false [2020-10-14T10:01:57.730Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver [Pipeline] } [2020-10-14T10:01:57.744Z] $ docker exec --env ******** --env ******** 20241581892dde04e30a03af0c00c11ef6f4d5bef55f72fae7c32e37c6ad64d7 ssh-agent -k [2020-10-14T10:01:57.857Z] unset SSH_AUTH_SOCK; [2020-10-14T10:01:57.857Z] unset SSH_AGENT_PID; [2020-10-14T10:01:57.857Z] echo Agent pid 52 killed; [2020-10-14T10:01:57.893Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-14T10:01:58.389Z] + git semver [Pipeline] } [2020-10-14T10:01:58.408Z] $ docker stop --time=1 20241581892dde04e30a03af0c00c11ef6f4d5bef55f72fae7c32e37c6ad64d7 [2020-10-14T10:01:59.739Z] $ docker rm -f 20241581892dde04e30a03af0c00c11ef6f4d5bef55f72fae7c32e37c6ad64d7 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-14T10:02:00.612Z] Stashed 49 file(s) [Pipeline] echo [2020-10-14T10:02:00.616Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-14T10:02:00.720Z] 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-14T10:02:16.218Z] Still waiting to schedule task [2020-10-14T10:02:16.218Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-14T10:02:16.221Z] Still waiting to schedule task [2020-10-14T10:02:16.221Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-14T10:05:03.675Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5382 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [Pipeline] { [Pipeline] ws [2020-10-14T10:05:03.744Z] Running in /w/workspace/device-sdk-go/14 [Pipeline] { [Pipeline] checkout [2020-10-14T10:05:09.369Z] using credential edgex-jenkins-ssh [2020-10-14T10:05:09.425Z] Cloning the remote Git repository [2020-10-14T10:05:09.503Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-14T10:05:09.629Z] > git init /w/workspace/device-sdk-go/14 # timeout=10 [2020-10-14T10:05:09.731Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-14T10:05:09.731Z] > git --version # timeout=10 [2020-10-14T10:05:09.771Z] > git --version # 'git version 2.17.1' [2020-10-14T10:05:09.773Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-14T10:05:09.860Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-14T10:05:10.983Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-14T10:05:11.020Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-14T10:05:11.059Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-14T10:05:11.140Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-14T10:05:11.141Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-14T10:05:11.156Z] > 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-14T10:05:11.772Z] Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit a544bf50c5d948c619930f4b3c273d7df07b4b86 [2020-10-14T10:05:12.061Z] Merge succeeded, producing a544bf50c5d948c619930f4b3c273d7df07b4b86 [2020-10-14T10:05:12.062Z] Checking out Revision a544bf50c5d948c619930f4b3c273d7df07b4b86 (PR-605) [2020-10-14T10:05:11.798Z] > git config core.sparsecheckout # timeout=10 [2020-10-14T10:05:11.826Z] > git checkout -f a544bf50c5d948c619930f4b3c273d7df07b4b86 # timeout=10 [2020-10-14T10:05:11.955Z] > git remote # timeout=10 [2020-10-14T10:05:11.975Z] > git config --get remote.origin.url # timeout=10 [2020-10-14T10:05:12.002Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-14T10:05:12.016Z] > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 [2020-10-14T10:05:12.044Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-14T10:05:12.077Z] > git config core.sparsecheckout # timeout=10 [2020-10-14T10:05:12.089Z] > git checkout -f a544bf50c5d948c619930f4b3c273d7df07b4b86 # timeout=10 [2020-10-14T10:05:16.608Z] Commit message: "feat(sdk): delete unused profile in callback" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-14T10:05:18.027Z] ========================================================= [2020-10-14T10:05:18.027Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-14T10:05:18.027Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-14T10:05:19.379Z] + 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-14T10:05:20.368Z] Sending build context to Docker daemon 3.653MB [2020-10-14T10:05:20.368Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-14T10:05:20.368Z] Step 2/8 : FROM ${BASE} [2020-10-14T10:05:20.971Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-14T10:05:20.971Z] b538f80385f9: Pulling fs layer [2020-10-14T10:05:20.971Z] 74f711af9a0d: Pulling fs layer [2020-10-14T10:05:20.971Z] 99f96fe45779: Pulling fs layer [2020-10-14T10:05:20.971Z] 8529a6b9a6be: Pulling fs layer [2020-10-14T10:05:20.971Z] 45590311c82a: Pulling fs layer [2020-10-14T10:05:20.971Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-14T10:05:20.971Z] 209524e5b208: Pulling fs layer [2020-10-14T10:05:20.971Z] 45590311c82a: Waiting [2020-10-14T10:05:20.971Z] 8529a6b9a6be: Waiting [2020-10-14T10:05:20.971Z] 69ca0ff8b7b3: Waiting [2020-10-14T10:05:20.971Z] 209524e5b208: Waiting [2020-10-14T10:05:20.971Z] 99f96fe45779: Verifying Checksum [2020-10-14T10:05:20.971Z] 99f96fe45779: Download complete [2020-10-14T10:05:20.971Z] 74f711af9a0d: Verifying Checksum [2020-10-14T10:05:20.971Z] 74f711af9a0d: Download complete [2020-10-14T10:05:20.971Z] 45590311c82a: Download complete [2020-10-14T10:05:20.971Z] 69ca0ff8b7b3: Download complete [2020-10-14T10:05:20.971Z] b538f80385f9: Verifying Checksum [2020-10-14T10:05:20.971Z] b538f80385f9: Download complete [2020-10-14T10:05:21.976Z] b538f80385f9: Pull complete [2020-10-14T10:05:22.251Z] 74f711af9a0d: Pull complete [2020-10-14T10:05:22.867Z] 99f96fe45779: Pull complete [2020-10-14T10:05:23.864Z] 209524e5b208: Download complete [2020-10-14T10:05:25.309Z] 8529a6b9a6be: Verifying Checksum [2020-10-14T10:05:25.309Z] 8529a6b9a6be: Download complete [2020-10-14T10:05:27.087Z] Running on prd-centos7-docker-4c-2g-5384 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [Pipeline] { [Pipeline] ws [2020-10-14T10:05:27.139Z] Running in /w/workspace/device-sdk-go/14 [Pipeline] { [Pipeline] checkout [2020-10-14T10:05:29.613Z] using credential edgex-jenkins-ssh [2020-10-14T10:05:29.702Z] Cloning the remote Git repository [2020-10-14T10:05:29.726Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-14T10:05:29.793Z] > git init /w/workspace/device-sdk-go/14 # timeout=10 [2020-10-14T10:05:29.843Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-14T10:05:29.843Z] > git --version # timeout=10 [2020-10-14T10:05:29.850Z] > git --version # 'git version 2.16.5' [2020-10-14T10:05:29.850Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-14T10:05:29.875Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-14T10:05:30.691Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-14T10:05:30.696Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-14T10:05:30.707Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-14T10:05:31.216Z] Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit a544bf50c5d948c619930f4b3c273d7df07b4b86 [2020-10-14T10:05:31.314Z] Merge succeeded, producing a544bf50c5d948c619930f4b3c273d7df07b4b86 [2020-10-14T10:05:31.314Z] Checking out Revision a544bf50c5d948c619930f4b3c273d7df07b4b86 (PR-605) [2020-10-14T10:05:30.720Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-14T10:05:30.720Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-14T10:05:30.724Z] > 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-14T10:05:31.225Z] > git config core.sparsecheckout # timeout=10 [2020-10-14T10:05:31.230Z] > git checkout -f a544bf50c5d948c619930f4b3c273d7df07b4b86 # timeout=10 [2020-10-14T10:05:31.283Z] > git remote # timeout=10 [2020-10-14T10:05:31.287Z] > git config --get remote.origin.url # timeout=10 [2020-10-14T10:05:31.294Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-14T10:05:31.299Z] > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 [2020-10-14T10:05:31.309Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-14T10:05:31.318Z] > git config core.sparsecheckout # timeout=10 [2020-10-14T10:05:31.323Z] > git checkout -f a544bf50c5d948c619930f4b3c273d7df07b4b86 # timeout=10 [2020-10-14T10:05:34.941Z] Commit message: "feat(sdk): delete unused profile in callback" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2020-10-14T10:05:35.523Z] 8529a6b9a6be: Pull complete [Pipeline] unstash [2020-10-14T10:05:35.802Z] 45590311c82a: Pull complete [Pipeline] echo [2020-10-14T10:05:35.824Z] ========================================================= [2020-10-14T10:05:35.824Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-14T10:05:35.824Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-14T10:05:36.404Z] 69ca0ff8b7b3: Pull complete [2020-10-14T10:05:36.452Z] + 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-14T10:05:36.717Z] Sending build context to Docker daemon 3.652MB [2020-10-14T10:05:36.717Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-14T10:05:36.717Z] Step 2/8 : FROM ${BASE} [2020-10-14T10:05:36.717Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-14T10:05:36.717Z] df20fa9351a1: Pulling fs layer [2020-10-14T10:05:36.717Z] ed8968b2872e: Pulling fs layer [2020-10-14T10:05:36.717Z] a92cc7c5fd73: Pulling fs layer [2020-10-14T10:05:36.717Z] e871e8e8d7a9: Pulling fs layer [2020-10-14T10:05:36.717Z] e73272ec9a57: Pulling fs layer [2020-10-14T10:05:36.717Z] 1e910a182e73: Pulling fs layer [2020-10-14T10:05:36.717Z] 4e634b169226: Pulling fs layer [2020-10-14T10:05:36.717Z] e871e8e8d7a9: Waiting [2020-10-14T10:05:36.717Z] e73272ec9a57: Waiting [2020-10-14T10:05:36.717Z] 4e634b169226: Waiting [2020-10-14T10:05:36.717Z] 1e910a182e73: Waiting [2020-10-14T10:05:36.717Z] a92cc7c5fd73: Verifying Checksum [2020-10-14T10:05:36.717Z] a92cc7c5fd73: Download complete [2020-10-14T10:05:36.983Z] ed8968b2872e: Verifying Checksum [2020-10-14T10:05:36.983Z] ed8968b2872e: Download complete [2020-10-14T10:05:36.983Z] e73272ec9a57: Verifying Checksum [2020-10-14T10:05:36.983Z] e73272ec9a57: Download complete [2020-10-14T10:05:36.983Z] 1e910a182e73: Download complete [2020-10-14T10:05:36.983Z] df20fa9351a1: Verifying Checksum [2020-10-14T10:05:36.983Z] df20fa9351a1: Download complete [2020-10-14T10:05:37.251Z] df20fa9351a1: Pull complete [2020-10-14T10:05:37.251Z] ed8968b2872e: Pull complete [2020-10-14T10:05:37.516Z] a92cc7c5fd73: Pull complete [2020-10-14T10:05:39.446Z] 4e634b169226: Verifying Checksum [2020-10-14T10:05:39.446Z] 4e634b169226: Download complete [2020-10-14T10:05:39.711Z] e871e8e8d7a9: Verifying Checksum [2020-10-14T10:05:39.711Z] e871e8e8d7a9: Download complete [2020-10-14T10:05:40.742Z] 209524e5b208: Pull complete [2020-10-14T10:05:40.743Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-14T10:05:40.743Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-14T10:05:40.743Z] ---> 5bddaf1c2fca [2020-10-14T10:05:40.743Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-14T10:05:43.365Z] ---> Running in b5edb00abca0 [2020-10-14T10:05:43.976Z] Removing intermediate container b5edb00abca0 [2020-10-14T10:05:43.976Z] ---> 9f2422c04b7d [2020-10-14T10:05:43.976Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-14T10:05:43.976Z] ---> Running in 047c843d1642 [2020-10-14T10:05:45.060Z] e871e8e8d7a9: Pull complete [2020-10-14T10:05:45.060Z] e73272ec9a57: Pull complete [2020-10-14T10:05:45.060Z] 1e910a182e73: Pull complete [2020-10-14T10:05:47.379Z] Removing intermediate container 047c843d1642 [2020-10-14T10:05:47.379Z] ---> 5814ac8a5f87 [2020-10-14T10:05:47.379Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-14T10:05:47.379Z] ---> Running in d531b54e2738 [2020-10-14T10:05:48.817Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-14T10:05:49.285Z] 4e634b169226: Pull complete [2020-10-14T10:05:49.286Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-14T10:05:49.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-14T10:05:49.286Z] ---> f7629b54cfaa [2020-10-14T10:05:49.286Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-14T10:05:49.549Z] ---> Running in c97066d5c2cc [2020-10-14T10:05:49.549Z] Removing intermediate container c97066d5c2cc [2020-10-14T10:05:49.549Z] ---> 5712259109b9 [2020-10-14T10:05:49.549Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-14T10:05:49.795Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-14T10:05:49.814Z] ---> Running in 3d4608de4466 [2020-10-14T10:05:50.772Z] Removing intermediate container 3d4608de4466 [2020-10-14T10:05:50.772Z] ---> 64e9b5304558 [2020-10-14T10:05:50.772Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-14T10:05:50.772Z] ---> Running in 7d4c26a7f986 [2020-10-14T10:05:51.233Z] OK: 142 MiB in 39 packages [2020-10-14T10:05:51.719Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-14T10:05:52.218Z] Removing intermediate container d531b54e2738 [2020-10-14T10:05:52.218Z] ---> d844029e0609 [2020-10-14T10:05:52.218Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-14T10:05:52.494Z] ---> Running in cfa6c83f9efd [2020-10-14T10:05:52.665Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-14T10:05:53.092Z] Removing intermediate container cfa6c83f9efd [2020-10-14T10:05:53.092Z] ---> c52e6425f329 [2020-10-14T10:05:53.092Z] Step 7/8 : COPY . . [2020-10-14T10:05:53.614Z] OK: 166 MiB in 39 packages [2020-10-14T10:05:53.881Z] Removing intermediate container 7d4c26a7f986 [2020-10-14T10:05:53.881Z] ---> 31123277e22c [2020-10-14T10:05:53.881Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-14T10:05:53.881Z] ---> Running in c5a97a31715b [2020-10-14T10:05:54.145Z] Removing intermediate container c5a97a31715b [2020-10-14T10:05:54.145Z] ---> 39aebc33486c [2020-10-14T10:05:54.145Z] Step 7/8 : COPY . . [2020-10-14T10:05:55.077Z] ---> c36532531dd3 [2020-10-14T10:05:55.077Z] Step 8/8 : RUN go mod download [2020-10-14T10:05:55.077Z] ---> Running in 0b33033bbf2d [2020-10-14T10:05:55.538Z] ---> b7d9133b7573 [2020-10-14T10:05:55.538Z] Step 8/8 : RUN go mod download [2020-10-14T10:05:55.538Z] ---> Running in 4d9cfeadf4f9 [2020-10-14T10:06:13.684Z] Removing intermediate container 4d9cfeadf4f9 [2020-10-14T10:06:13.684Z] ---> 2f43436b379a [2020-10-14T10:06:13.684Z] Successfully built 2f43436b379a [2020-10-14T10:06:13.684Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-14T10:06:14.029Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-14T10:06:14.029Z] . [Pipeline] withDockerContainer [2020-10-14T10:06:14.134Z] prd-centos7-docker-4c-2g-5384 does not seem to be running inside a container [2020-10-14T10:06:14.183Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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 [2020-10-14T10:06:15.420Z] $ docker top bb627fb15f67a2d44d8bbe9b95f36605313c954de9fdc9dac5fa02a68efaa77a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-14T10:06:15.932Z] + go version [2020-10-14T10:06:15.932Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-14T10:06:15.946Z] $ docker stop --time=1 bb627fb15f67a2d44d8bbe9b95f36605313c954de9fdc9dac5fa02a68efaa77a [2020-10-14T10:06:17.276Z] $ docker rm -f bb627fb15f67a2d44d8bbe9b95f36605313c954de9fdc9dac5fa02a68efaa77a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-14T10:06:18.114Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-14T10:06:18.114Z] . [Pipeline] withDockerContainer [2020-10-14T10:06:18.267Z] prd-centos7-docker-4c-2g-5384 does not seem to be running inside a container [2020-10-14T10:06:18.354Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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 [2020-10-14T10:06:18.976Z] $ docker top dd79c560f8ab4d87600cfd8b028975699b5945c35cc879c37f87e7fd8177cd7f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-14T10:06:19.490Z] + make test [2020-10-14T10:06:19.490Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-14T10:06:21.959Z] Removing intermediate container 0b33033bbf2d [2020-10-14T10:06:21.959Z] ---> 3e70f40136e3 [2020-10-14T10:06:21.959Z] Successfully built 3e70f40136e3 [2020-10-14T10:06:21.959Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-14T10:06:22.408Z] + docker inspect -f . ci-base-image-arm64 [2020-10-14T10:06:22.408Z] . [Pipeline] withDockerContainer [2020-10-14T10:06:22.737Z] prd-ubuntu18.04-docker-arm64-4c-16g-5382 does not seem to be running inside a container [2020-10-14T10:06:22.838Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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 [2020-10-14T10:06:25.044Z] $ docker top 89c35bc39fc6d319f2654aaf65d11042fc9eede4d5499aff799308367aed1a0e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-14T10:06:26.119Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-14T10:06:26.573Z] + go version [2020-10-14T10:06:26.573Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-14T10:06:26.606Z] $ docker stop --time=1 89c35bc39fc6d319f2654aaf65d11042fc9eede4d5499aff799308367aed1a0e [2020-10-14T10:06:28.774Z] $ docker rm -f 89c35bc39fc6d319f2654aaf65d11042fc9eede4d5499aff799308367aed1a0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-14T10:06:29.923Z] + docker inspect -f . ci-base-image-arm64 [2020-10-14T10:06:29.923Z] . [Pipeline] withDockerContainer [2020-10-14T10:06:30.224Z] prd-ubuntu18.04-docker-arm64-4c-16g-5382 does not seem to be running inside a container [2020-10-14T10:06:30.329Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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 [2020-10-14T10:06:32.477Z] $ docker top 0e7bca1a32ff487820a0e55a4b0f5ce4f8067d69ae5dac56ba3c4c2e0b59d873 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-14T10:06:33.921Z] + make test [2020-10-14T10:06:33.921Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-14T10:06:41.110Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-14T10:06:41.110Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-14T10:06:41.110Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-14T10:06:41.110Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.051s coverage: 21.6% of statements [2020-10-14T10:06:41.110Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.438s coverage: 97.1% of statements [2020-10-14T10:07:00.760Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-14T10:07:13.258Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 9.4% of statements [2020-10-14T10:07:13.258Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.056s coverage: 21.9% of statements [2020-10-14T10:07:13.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-14T10:07:13.258Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.203s coverage: 41.5% of statements [2020-10-14T10:07:13.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-14T10:07:13.258Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.258s coverage: 68.9% of statements [2020-10-14T10:07:13.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-14T10:07:13.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-14T10:07:13.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-14T10:07:13.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-14T10:07:13.258Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements [2020-10-14T10:07:13.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-14T10:07:13.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-14T10:07:13.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-14T10:07:13.258Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.614s coverage: 68.9% of statements [2020-10-14T10:07:13.258Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-14T10:07:13.258Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-14T10:07:13.258Z] GO111MODULE=on go vet ./... [2020-10-14T10:07:19.918Z] gofmt -l . [2020-10-14T10:07:19.918Z] [ "`gofmt -l .`" = "" ] [2020-10-14T10:07:19.918Z] ./bin/test-attribution-txt.sh [2020-10-14T10:07:19.918Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-14T10:07:20.263Z] Stashed 1 file(s) [Pipeline] } [2020-10-14T10:07:20.272Z] $ docker stop --time=1 dd79c560f8ab4d87600cfd8b028975699b5945c35cc879c37f87e7fd8177cd7f [2020-10-14T10:07:22.123Z] $ docker rm -f dd79c560f8ab4d87600cfd8b028975699b5945c35cc879c37f87e7fd8177cd7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-14T10:07:26.078Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-14T10:07:26.378Z] + ls -al . [2020-10-14T10:07:26.378Z] total 188 [2020-10-14T10:07:26.378Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 14 10:07 . [2020-10-14T10:07:26.378Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 14 10:05 .. [2020-10-14T10:07:26.378Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 14 10:05 bin [2020-10-14T10:07:26.378Z] -rw-r--r--. 1 jenkins jenkins 110397 Oct 14 10:07 coverage.out [2020-10-14T10:07:26.378Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 14 10:05 Dockerfile.build [2020-10-14T10:07:26.378Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 14 10:05 .dockerignore [2020-10-14T10:07:26.378Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 14 10:05 example [2020-10-14T10:07:26.378Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 14 10:05 .git [2020-10-14T10:07:26.378Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 14 10:05 .github [2020-10-14T10:07:26.378Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 14 10:05 .gitignore [2020-10-14T10:07:26.378Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 14 10:07 go.mod [2020-10-14T10:07:26.378Z] -rw-r--r--. 1 jenkins jenkins 13652 Oct 14 10:07 go.sum [2020-10-14T10:07:26.378Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 14 10:05 internal [2020-10-14T10:07:26.378Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 14 10:05 Jenkinsfile [2020-10-14T10:07:26.378Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 14 10:05 LICENSE [2020-10-14T10:07:26.378Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 14 10:05 Makefile [2020-10-14T10:07:26.378Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 14 10:05 openapi [2020-10-14T10:07:26.378Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 14 10:05 pkg [2020-10-14T10:07:26.378Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 14 10:05 README.md [2020-10-14T10:07:26.378Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 14 10:05 RELEASE-NOTES.txt [2020-10-14T10:07:26.378Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 14 10:05 .semver [2020-10-14T10:07:26.378Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 14 10:05 snap [2020-10-14T10:07:26.378Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 14 10:01 VERSION [2020-10-14T10:07:26.378Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 14 10:05 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-14T10:07:26.682Z] + 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=a544bf50c5d948c619930f4b3c273d7df07b4b86 --label arch=amd64 --label version=0.0.0 . [2020-10-14T10:07:26.943Z] Sending build context to Docker daemon 3.763MB [2020-10-14T10:07:26.943Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-14T10:07:26.943Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-14T10:07:26.943Z] ---> 2f43436b379a [2020-10-14T10:07:26.943Z] Step 3/24 : ARG MAKE='make build' [2020-10-14T10:07:27.515Z] ---> Running in 691ffdc204c9 [2020-10-14T10:07:27.775Z] Removing intermediate container 691ffdc204c9 [2020-10-14T10:07:27.775Z] ---> 392d301914a5 [2020-10-14T10:07:27.775Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-14T10:07:27.775Z] ---> Running in 648973fd385b [2020-10-14T10:07:27.775Z] Removing intermediate container 648973fd385b [2020-10-14T10:07:27.775Z] ---> 256226e57456 [2020-10-14T10:07:27.775Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-14T10:07:28.036Z] ---> Running in cd99f01f16b2 [2020-10-14T10:07:28.036Z] Removing intermediate container cd99f01f16b2 [2020-10-14T10:07:28.036Z] ---> d969676d8c4b [2020-10-14T10:07:28.036Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-14T10:07:28.297Z] ---> Running in b8edd891fdca [2020-10-14T10:07:28.869Z] Removing intermediate container b8edd891fdca [2020-10-14T10:07:28.869Z] ---> 172b9fab0974 [2020-10-14T10:07:28.869Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-14T10:07:29.133Z] ---> Running in 2c0cd8bea8a8 [2020-10-14T10:07:29.395Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-14T10:07:30.339Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-14T10:07:31.733Z] OK: 166 MiB in 39 packages [2020-10-14T10:07:31.733Z] Removing intermediate container 2c0cd8bea8a8 [2020-10-14T10:07:31.733Z] ---> 4558cd89449d [2020-10-14T10:07:31.733Z] Step 8/24 : COPY . . [2020-10-14T10:07:33.129Z] ---> f5246797e965 [2020-10-14T10:07:33.129Z] Step 9/24 : RUN ${MAKE} [2020-10-14T10:07:33.129Z] ---> Running in 4cd66acbc119 [2020-10-14T10:07:33.394Z] 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-14T10:07:41.652Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-14T10:07:42.605Z] Removing intermediate container 4cd66acbc119 [2020-10-14T10:07:42.605Z] ---> 10f9ed633ae7 [2020-10-14T10:07:42.605Z] Step 10/24 : FROM scratch [2020-10-14T10:07:42.605Z] ---> [2020-10-14T10:07:42.605Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-14T10:07:42.605Z] ---> Running in f20dec988a46 [2020-10-14T10:07:42.867Z] Removing intermediate container f20dec988a46 [2020-10-14T10:07:42.867Z] ---> d9eef86b4573 [2020-10-14T10:07:42.867Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-14T10:07:42.867Z] ---> Running in 2be89433f1a3 [2020-10-14T10:07:43.128Z] Removing intermediate container 2be89433f1a3 [2020-10-14T10:07:43.128Z] ---> 5f859220fb64 [2020-10-14T10:07:43.128Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-14T10:07:43.128Z] ---> Running in dce1ad1ae6e2 [2020-10-14T10:07:43.128Z] Removing intermediate container dce1ad1ae6e2 [2020-10-14T10:07:43.128Z] ---> 48fefd5e8cf6 [2020-10-14T10:07:43.128Z] Step 14/24 : WORKDIR / [2020-10-14T10:07:43.388Z] ---> Running in 065c95f75b83 [2020-10-14T10:07:43.388Z] Removing intermediate container 065c95f75b83 [2020-10-14T10:07:43.388Z] ---> a91bb2bc4c0a [2020-10-14T10:07:43.388Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-14T10:07:43.961Z] ---> 9a5a98aa7135 [2020-10-14T10:07:43.961Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-14T10:07:44.223Z] ---> 2289f42312ce [2020-10-14T10:07:44.223Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-14T10:07:44.223Z] ---> 7b8899ec36ea [2020-10-14T10:07:44.223Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-14T10:07:44.485Z] ---> ecf7c19d15dc [2020-10-14T10:07:44.485Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-14T10:07:45.428Z] ---> 9594c44af930 [2020-10-14T10:07:45.428Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-14T10:07:45.428Z] ---> Running in cd9e96978b18 [2020-10-14T10:07:45.690Z] Removing intermediate container cd9e96978b18 [2020-10-14T10:07:45.690Z] ---> 457e7e1eef9d [2020-10-14T10:07:45.690Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-14T10:07:45.690Z] ---> Running in cea9ab55829f [2020-10-14T10:07:45.952Z] Removing intermediate container cea9ab55829f [2020-10-14T10:07:45.952Z] ---> 15b2d8eb761a [2020-10-14T10:07:45.952Z] Step 22/24 : LABEL arch=amd64 [2020-10-14T10:07:45.952Z] ---> Running in d92ffd4eab53 [2020-10-14T10:07:45.952Z] Removing intermediate container d92ffd4eab53 [2020-10-14T10:07:45.952Z] ---> fa403090fc09 [2020-10-14T10:07:45.952Z] Step 23/24 : LABEL git_sha=a544bf50c5d948c619930f4b3c273d7df07b4b86 [2020-10-14T10:07:46.213Z] ---> Running in c374957be957 [2020-10-14T10:07:46.213Z] Removing intermediate container c374957be957 [2020-10-14T10:07:46.213Z] ---> 7c76a881f7fb [2020-10-14T10:07:46.213Z] Step 24/24 : LABEL version=0.0.0 [2020-10-14T10:07:46.474Z] ---> Running in c403113a52d2 [2020-10-14T10:07:46.474Z] Removing intermediate container c403113a52d2 [2020-10-14T10:07:46.474Z] ---> 027a383e318b [2020-10-14T10:07:46.474Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-14T10:07:46.474Z] Successfully built 027a383e318b [2020-10-14T10:07:46.474Z] 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-14T10:07:47.804Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-14T10:07:47.804Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-14T10:07:47.804Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-14T10:07:47.804Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.219s coverage: 21.6% of statements [2020-10-14T10:07:53.248Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.267s coverage: 97.1% of statements [2020-10-14T10:08:20.201Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.145s coverage: 9.4% of statements [2020-10-14T10:08:20.202Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.141s coverage: 21.9% of statements [2020-10-14T10:08:20.202Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-14T10:08:20.202Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.675s coverage: 41.5% of statements [2020-10-14T10:08:20.202Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-14T10:08:20.202Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.909s coverage: 68.9% of statements [2020-10-14T10:08:20.202Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-14T10:08:20.202Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-14T10:08:20.202Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-14T10:08:20.202Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-14T10:08:20.202Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.198s coverage: 52.6% of statements [2020-10-14T10:08:20.202Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-14T10:08:20.202Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-14T10:08:20.202Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-14T10:08:20.202Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.245s coverage: 68.9% of statements [2020-10-14T10:08:20.202Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-14T10:08:20.202Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-14T10:08:20.202Z] GO111MODULE=on go vet ./... [2020-10-14T10:08:59.760Z] gofmt -l . [2020-10-14T10:08:59.760Z] [ "`gofmt -l .`" = "" ] [2020-10-14T10:08:59.760Z] ./bin/test-attribution-txt.sh [2020-10-14T10:08:59.760Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-14T10:08:59.789Z] Warning: overwriting stash ‘coverage-report’ [2020-10-14T10:09:00.802Z] Stashed 1 file(s) [Pipeline] } [2020-10-14T10:09:00.823Z] $ docker stop --time=1 0e7bca1a32ff487820a0e55a4b0f5ce4f8067d69ae5dac56ba3c4c2e0b59d873 [2020-10-14T10:09:03.382Z] $ docker rm -f 0e7bca1a32ff487820a0e55a4b0f5ce4f8067d69ae5dac56ba3c4c2e0b59d873 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-14T10:09:04.935Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-14T10:09:05.320Z] + ls -al . [2020-10-14T10:09:05.320Z] total 228 [2020-10-14T10:09:05.320Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 14 10:08 . [2020-10-14T10:09:05.320Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 10:05 .. [2020-10-14T10:09:05.320Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 10:05 .dockerignore [2020-10-14T10:09:05.320Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 10:05 .git [2020-10-14T10:09:05.320Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 10:05 .github [2020-10-14T10:09:05.320Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 14 10:05 .gitignore [2020-10-14T10:09:05.320Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 10:05 .semver [2020-10-14T10:09:05.320Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 14 10:05 Dockerfile.build [2020-10-14T10:09:05.320Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 14 10:05 Jenkinsfile [2020-10-14T10:09:05.320Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 14 10:05 LICENSE [2020-10-14T10:09:05.320Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 14 10:05 Makefile [2020-10-14T10:09:05.320Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 14 10:05 README.md [2020-10-14T10:09:05.320Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 14 10:05 RELEASE-NOTES.txt [2020-10-14T10:09:05.320Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 10:01 VERSION [2020-10-14T10:09:05.320Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 10:05 bin [2020-10-14T10:09:05.320Z] -rw-r--r-- 1 jenkins jenkins 110397 Oct 14 10:08 coverage.out [2020-10-14T10:09:05.320Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 10:05 example [2020-10-14T10:09:05.320Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 14 10:08 go.mod [2020-10-14T10:09:05.320Z] -rw-r--r-- 1 jenkins jenkins 13652 Oct 14 10:08 go.sum [2020-10-14T10:09:05.320Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 14 10:05 internal [2020-10-14T10:09:05.320Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 10:05 openapi [2020-10-14T10:09:05.320Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 10:05 pkg [2020-10-14T10:09:05.320Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 10:05 snap [2020-10-14T10:09:05.320Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 14 10:05 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-14T10:09:05.717Z] + 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=a544bf50c5d948c619930f4b3c273d7df07b4b86 --label arch=arm64 --label version=0.0.0 . [2020-10-14T10:09:06.340Z] Sending build context to Docker daemon 3.764MB [2020-10-14T10:09:06.340Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-14T10:09:06.340Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-14T10:09:06.340Z] ---> 3e70f40136e3 [2020-10-14T10:09:06.340Z] Step 3/24 : ARG MAKE='make build' [2020-10-14T10:09:06.615Z] ---> Running in 968f2068e69f [2020-10-14T10:09:07.602Z] Removing intermediate container 968f2068e69f [2020-10-14T10:09:07.602Z] ---> c9dc9d73b37a [2020-10-14T10:09:07.602Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-14T10:09:07.881Z] ---> Running in 417697b8a8c2 [2020-10-14T10:09:08.869Z] Removing intermediate container 417697b8a8c2 [2020-10-14T10:09:08.869Z] ---> 145b01fae2cd [2020-10-14T10:09:08.869Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-14T10:09:08.869Z] ---> Running in 1d1b2e4f4fa7 [2020-10-14T10:09:09.472Z] Removing intermediate container 1d1b2e4f4fa7 [2020-10-14T10:09:09.472Z] ---> 4d5c5bd500c4 [2020-10-14T10:09:09.472Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-14T10:09:09.472Z] ---> Running in 64fef3afff51 [2020-10-14T10:09:12.880Z] Removing intermediate container 64fef3afff51 [2020-10-14T10:09:12.880Z] ---> 81a95ecbd024 [2020-10-14T10:09:12.880Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-14T10:09:12.880Z] ---> Running in 009185a6778d [2020-10-14T10:09:14.333Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-14T10:09:14.930Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-14T10:09:15.912Z] OK: 142 MiB in 39 packages [2020-10-14T10:09:17.891Z] Removing intermediate container 009185a6778d [2020-10-14T10:09:17.891Z] ---> 909ff1628f07 [2020-10-14T10:09:17.891Z] Step 8/24 : COPY . . [2020-10-14T10:09:19.369Z] ---> b19a72ca76a7 [2020-10-14T10:09:19.369Z] Step 9/24 : RUN ${MAKE} [2020-10-14T10:09:19.644Z] ---> Running in 762c1075a725 [2020-10-14T10:09:21.093Z] 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-14T10:09:53.487Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-14T10:09:53.487Z] Removing intermediate container 762c1075a725 [2020-10-14T10:09:53.487Z] ---> aba594e79126 [2020-10-14T10:09:53.487Z] Step 10/24 : FROM scratch [2020-10-14T10:09:53.487Z] ---> [2020-10-14T10:09:53.487Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-14T10:09:53.487Z] ---> Running in eaa4757e1e85 [2020-10-14T10:09:53.487Z] Removing intermediate container eaa4757e1e85 [2020-10-14T10:09:53.487Z] ---> 46f7db26b083 [2020-10-14T10:09:53.487Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-14T10:09:53.487Z] ---> Running in 063e4585317c [2020-10-14T10:09:54.085Z] Removing intermediate container 063e4585317c [2020-10-14T10:09:54.085Z] ---> 7196aaaf17c8 [2020-10-14T10:09:54.085Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-14T10:09:54.085Z] ---> Running in 235491c05c72 [2020-10-14T10:09:54.360Z] Removing intermediate container 235491c05c72 [2020-10-14T10:09:54.360Z] ---> c83415c430f1 [2020-10-14T10:09:54.360Z] Step 14/24 : WORKDIR / [2020-10-14T10:09:54.635Z] ---> Running in 6b2bd1ada162 [2020-10-14T10:09:55.233Z] Removing intermediate container 6b2bd1ada162 [2020-10-14T10:09:55.233Z] ---> a2e2100dfa09 [2020-10-14T10:09:55.233Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-14T10:09:56.215Z] ---> 34fcf84c6e75 [2020-10-14T10:09:56.216Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-14T10:09:57.199Z] ---> d4053ebc6f57 [2020-10-14T10:09:57.199Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-14T10:09:57.796Z] ---> fa93261b8e00 [2020-10-14T10:09:57.796Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-14T10:09:58.779Z] ---> cccfc964642f [2020-10-14T10:09:58.779Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-14T10:09:59.375Z] ---> cd416969184e [2020-10-14T10:09:59.375Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-14T10:09:59.375Z] ---> Running in 14d8acd0da96 [2020-10-14T10:09:59.969Z] Removing intermediate container 14d8acd0da96 [2020-10-14T10:09:59.969Z] ---> 99de005ba54d [2020-10-14T10:09:59.969Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-14T10:09:59.969Z] ---> Running in 834b5a9b5e71 [2020-10-14T10:10:00.567Z] Removing intermediate container 834b5a9b5e71 [2020-10-14T10:10:00.567Z] ---> c0d4221a240c [2020-10-14T10:10:00.567Z] Step 22/24 : LABEL arch=arm64 [2020-10-14T10:10:00.567Z] ---> Running in af5fd270466e [2020-10-14T10:10:01.174Z] Removing intermediate container af5fd270466e [2020-10-14T10:10:01.174Z] ---> 9e423b1c536e [2020-10-14T10:10:01.174Z] Step 23/24 : LABEL git_sha=a544bf50c5d948c619930f4b3c273d7df07b4b86 [2020-10-14T10:10:01.174Z] ---> Running in e825465d93a2 [2020-10-14T10:10:01.773Z] Removing intermediate container e825465d93a2 [2020-10-14T10:10:01.773Z] ---> 5b3015b46cd3 [2020-10-14T10:10:01.773Z] Step 24/24 : LABEL version=0.0.0 [2020-10-14T10:10:02.048Z] ---> Running in 1addf2bd5b05 [2020-10-14T10:10:02.320Z] Removing intermediate container 1addf2bd5b05 [2020-10-14T10:10:02.320Z] ---> a1ce07faf50b [2020-10-14T10:10:02.320Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-14T10:10:02.320Z] Successfully built a1ce07faf50b [2020-10-14T10:10:02.593Z] 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-14T10:10:05.341Z] provisioning config files... [2020-10-14T10:10:05.354Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config2418803224246083501tmp [Pipeline] { [Pipeline] sh [2020-10-14T10:10:05.729Z] + set +x [2020-10-14T10:10:05.729Z] + curl -s https://codecov.io/bash [2020-10-14T10:10:05.729Z] + bash -s -- [2020-10-14T10:10:05.991Z] [2020-10-14T10:10:05.991Z] _____ _ [2020-10-14T10:10:05.991Z] / ____| | | [2020-10-14T10:10:05.991Z] | | ___ __| | ___ ___ _____ __ [2020-10-14T10:10:05.991Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-14T10:10:05.991Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-14T10:10:05.991Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-14T10:10:05.991Z] Bash-20201009-048fee3 [2020-10-14T10:10:05.991Z] [2020-10-14T10:10:05.991Z] [2020-10-14T10:10:05.991Z] ==> Jenkins CI detected. [2020-10-14T10:10:05.991Z] project root: . [2020-10-14T10:10:05.991Z] --> token set from env [2020-10-14T10:10:05.991Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-14T10:10:05.991Z] ==> Running gcov in . (disable via -X gcov) [2020-10-14T10:10:05.991Z] ==> Python coveragepy not found [2020-10-14T10:10:05.991Z] ==> Searching for coverage reports in: [2020-10-14T10:10:05.991Z] + . [2020-10-14T10:10:05.991Z] -> Found 1 reports [2020-10-14T10:10:05.991Z] ==> Detecting git/mercurial file structure [2020-10-14T10:10:05.991Z] ==> Reading reports [2020-10-14T10:10:05.991Z] + ./coverage.out bytes=110397 [2020-10-14T10:10:05.991Z] ==> Appending adjustments [2020-10-14T10:10:05.991Z] https://docs.codecov.io/docs/fixing-reports [2020-10-14T10:10:06.564Z] + Found adjustments [2020-10-14T10:10:06.564Z] ==> Gzipping contents [2020-10-14T10:10:06.564Z] ==> Uploading reports [2020-10-14T10:10:06.564Z] url: https://codecov.io [2020-10-14T10:10:06.564Z] query: branch=PR-605&commit=a544bf50c5d948c619930f4b3c273d7df07b4b86&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-605%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=605&job=&cmd_args= [2020-10-14T10:10:06.564Z] -> Pinging Codecov [2020-10-14T10:10:06.565Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-605&commit=a544bf50c5d948c619930f4b3c273d7df07b4b86&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-605%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=605&job=&cmd_args= [2020-10-14T10:10:06.565Z] -> Uploading to [2020-10-14T10:10:06.565Z] [2020-10-14T10:10:06.565Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-14T10:10:06.565Z] Dload Upload Total Spent Left Speed [2020-10-14T10:10:06.565Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-14T10:10:06.565Z] X> Failed to upload [2020-10-14T10:10:06.565Z] ==> Uploading to Codecov [2020-10-14T10:10:06.565Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-14T10:10:06.565Z] Dload Upload Total Spent Left Speed [2020-10-14T10:10:07.138Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18809 100 110 100 18699 186 31686 --:--:-- --:--:-- --:--:-- 31693 [2020-10-14T10:10:07.138Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a544bf50c5d948c619930f4b3c273d7df07b4b86 [Pipeline] } [2020-10-14T10:10:07.148Z] 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-14T10:10:09.988Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-14T10:10:10.565Z] ---> package-listing.sh [2020-10-14T10:10:10.565Z] ++ facter osfamily [2020-10-14T10:10:10.565Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-14T10:10:10.565Z] + OS_FAMILY=redhat [2020-10-14T10:10:10.565Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-605 [2020-10-14T10:10:10.565Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-14T10:10:10.565Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-14T10:10:10.565Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-14T10:10:10.565Z] + PACKAGES=/tmp/packages_start.txt [2020-10-14T10:10:10.565Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' [2020-10-14T10:10:10.565Z] + PACKAGES=/tmp/packages_end.txt [2020-10-14T10:10:10.565Z] + case "${OS_FAMILY}" in [2020-10-14T10:10:10.565Z] + rpm -qa [2020-10-14T10:10:10.565Z] + sort [2020-10-14T10:10:14.791Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-14T10:10:14.791Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-14T10:10:14.791Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-14T10:10:14.791Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' [2020-10-14T10:10:14.791Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ [2020-10-14T10:10:14.791Z] + 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-14T10:10:15.403Z] provisioning config files... [2020-10-14T10:10:15.418Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config2371282693075034220tmp [Pipeline] { [Pipeline] echo [2020-10-14T10:10:15.495Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-14T10:10:15.789Z] ---> create-netrc.sh [Pipeline] } [2020-10-14T10:10:15.797Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-14T10:10:15.895Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-14T10:10:16.189Z] ---> python-tools-install.sh [2020-10-14T10:10:16.189Z] Generating Requirements File [2020-10-14T10:11:23.970Z] Python 3.6.8 [2020-10-14T10:11:23.970Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-14T10:11:23.970Z] appdirs==1.4.3 [2020-10-14T10:11:23.970Z] argcomplete==1.12.1 [2020-10-14T10:11:23.970Z] aspy.yaml==1.3.0 [2020-10-14T10:11:23.970Z] attrs==19.3.0 [2020-10-14T10:11:23.970Z] Babel==2.8.0 [2020-10-14T10:11:23.970Z] beautifulsoup4==4.8.2 [2020-10-14T10:11:23.970Z] boto3==1.11.6 [2020-10-14T10:11:23.970Z] botocore==1.14.6 [2020-10-14T10:11:23.970Z] bs4==0.0.1 [2020-10-14T10:11:23.970Z] cachetools==4.1.1 [2020-10-14T10:11:23.970Z] certifi==2019.11.28 [2020-10-14T10:11:23.970Z] cffi==1.14.3 [2020-10-14T10:11:23.970Z] cfgv==2.0.1 [2020-10-14T10:11:23.970Z] chardet==3.0.4 [2020-10-14T10:11:23.970Z] click==7.1 [2020-10-14T10:11:23.970Z] cliff==3.4.0 [2020-10-14T10:11:23.970Z] cmd2==1.3.11 [2020-10-14T10:11:23.970Z] colorama==0.4.4 [2020-10-14T10:11:23.970Z] cryptography==3.1.1 [2020-10-14T10:11:23.970Z] debtcollector==2.2.0 [2020-10-14T10:11:23.970Z] decorator==4.4.2 [2020-10-14T10:11:23.970Z] defusedxml==0.6.0 [2020-10-14T10:11:23.970Z] Deprecated==1.2.7 [2020-10-14T10:11:23.970Z] distlib==0.3.1 [2020-10-14T10:11:23.970Z] distro==1.2.0 [2020-10-14T10:11:23.970Z] dnspython==1.16.0 [2020-10-14T10:11:23.970Z] docker==4.2.0 [2020-10-14T10:11:23.970Z] docutils==0.15.2 [2020-10-14T10:11:23.970Z] dogpile.cache==1.0.2 [2020-10-14T10:11:23.970Z] email-validator==1.0.5 [2020-10-14T10:11:23.970Z] filelock==3.0.12 [2020-10-14T10:11:23.970Z] future==0.18.2 [2020-10-14T10:11:23.970Z] google-auth==1.22.1 [2020-10-14T10:11:23.970Z] httplib2==0.17.0 [2020-10-14T10:11:23.970Z] identify==1.4.11 [2020-10-14T10:11:23.970Z] idna==2.9 [2020-10-14T10:11:23.970Z] importlib-metadata==2.0.0 [2020-10-14T10:11:23.970Z] importlib-resources==1.5.0 [2020-10-14T10:11:23.970Z] iso8601==0.1.13 [2020-10-14T10:11:23.970Z] Jinja2==2.11.1 [2020-10-14T10:11:23.970Z] jmespath==0.10.0 [2020-10-14T10:11:23.970Z] jsonpatch==1.26 [2020-10-14T10:11:23.970Z] jsonpointer==2.0 [2020-10-14T10:11:23.970Z] jsonschema==3.2.0 [2020-10-14T10:11:23.970Z] keystoneauth1==4.2.1 [2020-10-14T10:11:23.970Z] kubernetes==11.0.0 [2020-10-14T10:11:23.970Z] lftools==0.34.2 [2020-10-14T10:11:23.970Z] lxml==4.5.0 [2020-10-14T10:11:23.970Z] MarkupSafe==0.23 [2020-10-14T10:11:23.970Z] msgpack==1.0.0 [2020-10-14T10:11:23.970Z] multi-key-dict==2.0.3 [2020-10-14T10:11:23.970Z] munch==2.5.0 [2020-10-14T10:11:23.970Z] netaddr==0.8.0 [2020-10-14T10:11:23.970Z] netifaces==0.10.9 [2020-10-14T10:11:23.970Z] niet==1.4.2 [2020-10-14T10:11:23.970Z] nodeenv==1.3.5 [2020-10-14T10:11:23.970Z] oauth2client==4.1.3 [2020-10-14T10:11:23.970Z] oauthlib==3.1.0 [2020-10-14T10:11:23.970Z] openstacksdk==0.50.0 [2020-10-14T10:11:23.970Z] os-client-config==2.1.0 [2020-10-14T10:11:23.970Z] os-service-types==1.7.0 [2020-10-14T10:11:23.970Z] osc-lib==2.2.1 [2020-10-14T10:11:23.970Z] oslo.config==8.3.2 [2020-10-14T10:11:23.970Z] oslo.context==3.1.1 [2020-10-14T10:11:23.970Z] oslo.i18n==5.0.1 [2020-10-14T10:11:23.970Z] oslo.log==4.4.0 [2020-10-14T10:11:23.970Z] oslo.serialization==4.0.1 [2020-10-14T10:11:23.970Z] oslo.utils==4.6.0 [2020-10-14T10:11:23.970Z] packaging==20.4 [2020-10-14T10:11:23.970Z] pbr==5.4.4 [2020-10-14T10:11:23.970Z] pluggy==0.13.1 [2020-10-14T10:11:23.970Z] prettytable==0.7.2 [2020-10-14T10:11:23.970Z] py==1.9.0 [2020-10-14T10:11:23.970Z] pyasn1==0.4.8 [2020-10-14T10:11:23.970Z] pyasn1-modules==0.2.8 [2020-10-14T10:11:23.970Z] pycparser==2.20 [2020-10-14T10:11:23.970Z] pygerrit2==2.0.10 [2020-10-14T10:11:23.970Z] PyGithub==1.46 [2020-10-14T10:11:23.970Z] pyinotify==0.9.6 [2020-10-14T10:11:23.970Z] PyJWT==1.7.1 [2020-10-14T10:11:23.970Z] pyparsing==2.4.7 [2020-10-14T10:11:23.970Z] pyperclip==1.8.1 [2020-10-14T10:11:23.970Z] pyroute2==0.4.13 [2020-10-14T10:11:23.970Z] pyrsistent==0.15.7 [2020-10-14T10:11:23.970Z] PySocks==1.6.8 [2020-10-14T10:11:23.970Z] python-cinderclient==7.2.0 [2020-10-14T10:11:23.970Z] python-dateutil==2.8.1 [2020-10-14T10:11:23.970Z] python-heatclient==2.2.1 [2020-10-14T10:11:23.970Z] python-jenkins==1.7.0 [2020-10-14T10:11:23.970Z] python-keystoneclient==4.1.1 [2020-10-14T10:11:23.970Z] python-magnumclient==3.2.1 [2020-10-14T10:11:23.970Z] python-novaclient==17.2.1 [2020-10-14T10:11:23.970Z] python-openstackclient==5.4.0 [2020-10-14T10:11:23.970Z] python-swiftclient==3.10.1 [2020-10-14T10:11:23.970Z] pytz==2020.1 [2020-10-14T10:11:23.970Z] PyYAML==5.3 [2020-10-14T10:11:23.970Z] requests==2.23.0 [2020-10-14T10:11:23.970Z] requests-oauthlib==1.3.0 [2020-10-14T10:11:23.970Z] requestsexceptions==1.4.0 [2020-10-14T10:11:23.970Z] rfc3986==1.4.0 [2020-10-14T10:11:23.970Z] rpm==4.11.3 [2020-10-14T10:11:23.970Z] rsa==4.0 [2020-10-14T10:11:23.970Z] ruamel.yaml==0.16.10 [2020-10-14T10:11:23.970Z] ruamel.yaml.clib==0.2.0 [2020-10-14T10:11:23.970Z] s3transfer==0.3.3 [2020-10-14T10:11:23.970Z] shade==1.27.2 [2020-10-14T10:11:23.970Z] simplejson==3.17.2 [2020-10-14T10:11:23.970Z] six==1.14.0 [2020-10-14T10:11:23.970Z] soupsieve==2.0 [2020-10-14T10:11:23.970Z] stevedore==3.2.2 [2020-10-14T10:11:23.970Z] tabulate==0.8.6 [2020-10-14T10:11:23.970Z] toml==0.10.0 [2020-10-14T10:11:23.970Z] tox==3.20.1 [2020-10-14T10:11:23.970Z] tqdm==4.43.0 [2020-10-14T10:11:23.970Z] urllib3==1.25.8 [2020-10-14T10:11:23.970Z] virtualenv==20.0.34 [2020-10-14T10:11:23.970Z] wcwidth==0.2.5 [2020-10-14T10:11:23.970Z] websocket-client==0.57.0 [2020-10-14T10:11:23.970Z] wrapt==1.12.1 [2020-10-14T10:11:23.970Z] xdg==3.0.2 [2020-10-14T10:11:23.970Z] xmltodict==0.12.0 [2020-10-14T10:11:23.970Z] yq==2.11.1 [2020-10-14T10:11:23.970Z] zipp==3.3.0 [2020-10-14T10:11:24.285Z] Cache entry deserialization failed, entry ignored [2020-10-14T10:11:26.345Z] 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-14T10:11:29.680Z] Python 2.7.5 [2020-10-14T10:11:29.680Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-14T10:11:29.680Z] 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-14T10:11:29.951Z] ansible==2.9.7 [2020-10-14T10:11:29.951Z] Babel==0.9.6 [2020-10-14T10:11:29.951Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-14T10:11:29.951Z] beautifulsoup4==4.4.1 [2020-10-14T10:11:29.951Z] bodhi==2.11.0 [2020-10-14T10:11:29.951Z] bodhi-client==2.11.0 [2020-10-14T10:11:29.951Z] CCColUtils==1.4 [2020-10-14T10:11:29.951Z] cffi==1.6.0 [2020-10-14T10:11:29.951Z] chardet==2.2.1 [2020-10-14T10:11:29.951Z] click==6.7 [2020-10-14T10:11:29.951Z] cloud-init==18.5 [2020-10-14T10:11:29.951Z] configobj==4.7.2 [2020-10-14T10:11:29.951Z] cryptography==1.7.2 [2020-10-14T10:11:29.951Z] decorator==3.4.0 [2020-10-14T10:11:29.951Z] distro==1.2.0 [2020-10-14T10:11:29.951Z] enum34==1.0.4 [2020-10-14T10:11:29.951Z] fedpkg==1.38 [2020-10-14T10:11:29.951Z] futures==3.1.1 [2020-10-14T10:11:29.951Z] gitdb==0.6.4 [2020-10-14T10:11:29.951Z] GitPython==1.0.1 [2020-10-14T10:11:29.951Z] html5lib==0.999 [2020-10-14T10:11:29.951Z] httplib2==0.9.2 [2020-10-14T10:11:29.951Z] idna==2.4 [2020-10-14T10:11:29.951Z] iniparse==0.4 [2020-10-14T10:11:29.951Z] ipaddress==1.0.16 [2020-10-14T10:11:29.951Z] IPy==0.75 [2020-10-14T10:11:29.951Z] javapackages==1.0.0 [2020-10-14T10:11:29.951Z] Jinja2==2.7.2 [2020-10-14T10:11:29.951Z] jmespath==0.9.4 [2020-10-14T10:11:29.951Z] jsonpatch==1.2 [2020-10-14T10:11:29.951Z] jsonpointer==1.9 [2020-10-14T10:11:29.951Z] kerberos==1.1 [2020-10-14T10:11:29.951Z] kitchen==1.1.1 [2020-10-14T10:11:29.951Z] langtable==0.0.31 [2020-10-14T10:11:29.951Z] lockfile==0.9.1 [2020-10-14T10:11:29.951Z] lxml==3.2.1 [2020-10-14T10:11:29.951Z] MarkupSafe==0.11 [2020-10-14T10:11:29.951Z] munch==2.0.2 [2020-10-14T10:11:29.951Z] offtrac==0.1.0 [2020-10-14T10:11:29.951Z] openidc-client==0.6.0 [2020-10-14T10:11:29.951Z] packagedb-cli==2.14.1 [2020-10-14T10:11:29.951Z] paramiko==2.1.1 [2020-10-14T10:11:29.951Z] perf==0.1 [2020-10-14T10:11:29.951Z] ply==3.4 [2020-10-14T10:11:29.951Z] policycoreutils-default-encoding==0.1 [2020-10-14T10:11:29.951Z] prettytable==0.7.2 [2020-10-14T10:11:29.951Z] pyasn1==0.1.9 [2020-10-14T10:11:29.951Z] pycparser==2.14 [2020-10-14T10:11:29.951Z] pycurl==7.19.0 [2020-10-14T10:11:29.951Z] pygobject==3.22.0 [2020-10-14T10:11:29.951Z] pygpgme==0.3 [2020-10-14T10:11:29.951Z] pyliblzma==0.5.3 [2020-10-14T10:11:29.951Z] pyOpenSSL==0.13.1 [2020-10-14T10:11:29.951Z] pyparsing==1.5.6 [2020-10-14T10:11:29.951Z] pyserial==2.6 [2020-10-14T10:11:29.951Z] python-augeas==0.5.0 [2020-10-14T10:11:29.951Z] python-bugzilla==2.3.0 [2020-10-14T10:11:29.951Z] python-dateutil==1.5 [2020-10-14T10:11:29.951Z] python-fedora==0.10.0 [2020-10-14T10:11:29.951Z] python-linux-procfs==0.4.9 [2020-10-14T10:11:29.951Z] python-yubico==1.2.3 [2020-10-14T10:11:29.951Z] pyudev==0.15 [2020-10-14T10:11:29.951Z] pyusb==1.0.0b1 [2020-10-14T10:11:29.951Z] pyxattr==0.5.1 [2020-10-14T10:11:29.951Z] PyYAML==3.10 [2020-10-14T10:11:29.951Z] requests==2.6.0 [2020-10-14T10:11:29.951Z] requests-kerberos==0.7.0 [2020-10-14T10:11:29.951Z] rpkg==1.60 [2020-10-14T10:11:29.951Z] schedutils==0.4 [2020-10-14T10:11:29.951Z] seobject==0.1 [2020-10-14T10:11:29.951Z] sepolicy==1.1 [2020-10-14T10:11:29.951Z] six==1.9.0 [2020-10-14T10:11:29.951Z] smmap==0.9.0 [2020-10-14T10:11:29.951Z] urlgrabber==3.10 [2020-10-14T10:11:29.951Z] urllib3==1.10.2 [2020-10-14T10:11:29.951Z] virtualenv==15.1.0 [2020-10-14T10:11:29.951Z] yum-langpacks==0.4.2 [2020-10-14T10:11:29.951Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-14T10:11:29.964Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-14T10:11:30.273Z] ---> sudo-logs.sh [2020-10-14T10:11:30.273Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-14T10:11:30.571Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-14T10:11:30.888Z] ---> job-cost.sh [2020-10-14T10:11:30.888Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ij4z [2020-10-14T10:11:39.094Z] Cache entry deserialization failed, entry ignored [2020-10-14T10:11:39.094Z] Cache entry deserialization failed, entry ignored [2020-10-14T10:11:39.673Z] Cache entry deserialization failed, entry ignored [2020-10-14T10:11:40.251Z] Cache entry deserialization failed, entry ignored [2020-10-14T10:11:41.221Z] Cache entry deserialization failed, entry ignored [2020-10-14T10:11:41.221Z] Cache entry deserialization failed, entry ignored [2020-10-14T10:11:41.221Z] Cache entry deserialization failed, entry ignored [2020-10-14T10:11:41.500Z] Cache entry deserialization failed, entry ignored [2020-10-14T10:11:41.500Z] Cache entry deserialization failed, entry ignored [2020-10-14T10:11:41.500Z] Cache entry deserialization failed, entry ignored [2020-10-14T10:11:41.771Z] Cache entry deserialization failed, entry ignored [2020-10-14T10:11:41.771Z] Cache entry deserialization failed, entry ignored [2020-10-14T10:11:42.039Z] Cache entry deserialization failed, entry ignored [2020-10-14T10:11:47.365Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-14T10:12:13.979Z] lf-activate-venv(): INFO: Adding /tmp/venv-Ij4z/bin to PATH [2020-10-14T10:12:13.979Z] INFO: No Stack... [2020-10-14T10:12:13.979Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-14T10:12:13.979Z] INFO: Archiving Costs [Pipeline] echo [2020-10-14T10:12:13.996Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-14T10:12:14.298Z] ---> logs-deploy.sh [2020-10-14T10:12:14.298Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-605/14 [2020-10-14T10:12:14.298Z] INFO: archiving workspace using pattern(s): [2020-10-14T10:12:16.844Z] Archives upload complete. [2020-10-14T10:12:16.844Z] INFO: archiving logs to Nexus