Pull request #613 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2b0b0efc103cec1bfb7b235f5940e3a9be187a9a+51b10ba24d09b5e22132647652f16c288a0af487 (d990d6dfda3b0831a99c0f9c26c7e9123cb4c64d) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-3649 in /w/workspace/dgexfoundry_device-sdk-go_PR-613 [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-613 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 51b10ba24d09b5e22132647652f16c288a0af487 into PR head commit 2b0b0efc103cec1bfb7b235f5940e3a9be187a9a Merge succeeded, producing ad7e010f5db4368a96d4b2eba2d5eda65c192113 Checking out Revision ad7e010f5db4368a96d4b2eba2d5eda65c192113 (PR-613) > 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/613/head:refs/remotes/origin/PR-613 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b0b0efc103cec1bfb7b235f5940e3a9be187a9a # 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 51b10ba24d09b5e22132647652f16c288a0af487 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ad7e010f5db4368a96d4b2eba2d5eda65c192113 # timeout=10 Commit message: "Merge commit '51b10ba24d09b5e22132647652f16c288a0af487' into HEAD" > git rev-list --no-walk 2b0b0efc103cec1bfb7b235f5940e3a9be187a9a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-06T05:18:45.780Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-06T05:18:46.004Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-06T05:18:46.102Z] ========================================================= [2020-10-06T05:18:46.103Z] EdgeX Global Pipelines Version Info [2020-10-06T05:18:46.103Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:18:50.143Z] ------------------- [2020-10-06T05:18:50.143Z] stable info: [2020-10-06T05:18:50.143Z] ------------------- [2020-10-06T05:18:50.143Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-06T05:18:50.143Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-06T05:18:50.143Z] Message: update stable to v1.0.131 [2020-10-06T05:18:51.243Z] ------------------- [2020-10-06T05:18:51.243Z] experimental info: [2020-10-06T05:18:51.243Z] ------------------- [2020-10-06T05:18:51.243Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-06T05:18:51.243Z] Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a [2020-10-06T05:18:51.243Z] Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-06T05:18:51.720Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-06T05:18:51.811Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-06T05:18:51.920Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-06T05:18:52.008Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-06T05:18:52.097Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-06T05:18:52.208Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-06T05:18:52.309Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-06T05:18:52.460Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-06T05:18:52.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-06T05:18:52.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-06T05:18:52.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-06T05:18:52.923Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-06T05:18:53.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-06T05:18:53.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-06T05:18:53.293Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-06T05:18:53.425Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T05:18:53.550Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T05:18:53.653Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T05:18:53.753Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-06T05:18:53.867Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-06T05:18:53.967Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-06T05:18:54.062Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-06T05:18:54.169Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-06T05:18:54.280Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-06T05:18:54.397Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-06T05:18:54.491Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-613 [Pipeline] echo [2020-10-06T05:18:54.586Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-613 [Pipeline] echo [2020-10-06T05:18:54.676Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-613 [Pipeline] echo [2020-10-06T05:18:54.788Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ad7e010f5db4368a96d4b2eba2d5eda65c192113 [Pipeline] echo [2020-10-06T05:18:54.878Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ad7e010 [Pipeline] echo [2020-10-06T05:18:54.975Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-06T05:18:55.621Z] + git log --format=format:%s -1 ad7e010f5db4368a96d4b2eba2d5eda65c192113 [Pipeline] echo [2020-10-06T05:18:55.728Z] GIT_COMMIT: ad7e010f5db4368a96d4b2eba2d5eda65c192113, Commit Message: Merge commit '51b10ba24d09b5e22132647652f16c288a0af487' into HEAD [Pipeline] echo [2020-10-06T05:18:55.776Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:18:56.404Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T05:18:56.673Z] [2020-10-06T05:18:56.673Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:18:57.124Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T05:18:57.124Z] latest: Pulling from edgex-devops/git-semver [2020-10-06T05:18:57.124Z] 31603596830f: Pulling fs layer [2020-10-06T05:18:57.124Z] 2a8b12db71e7: Pulling fs layer [2020-10-06T05:18:57.124Z] 6ca5941a6612: Pulling fs layer [2020-10-06T05:18:57.124Z] ecc8261a40a4: Pulling fs layer [2020-10-06T05:18:57.124Z] ecc8261a40a4: Waiting [2020-10-06T05:18:57.396Z] 2a8b12db71e7: Verifying Checksum [2020-10-06T05:18:57.396Z] 2a8b12db71e7: Download complete [2020-10-06T05:18:57.681Z] 31603596830f: Verifying Checksum [2020-10-06T05:18:57.681Z] 31603596830f: Download complete [2020-10-06T05:18:57.681Z] ecc8261a40a4: Verifying Checksum [2020-10-06T05:18:57.681Z] ecc8261a40a4: Download complete [2020-10-06T05:18:58.343Z] 6ca5941a6612: Verifying Checksum [2020-10-06T05:18:58.343Z] 6ca5941a6612: Download complete [2020-10-06T05:18:58.343Z] 31603596830f: Pull complete [2020-10-06T05:18:58.663Z] 2a8b12db71e7: Pull complete [2020-10-06T05:19:00.122Z] 6ca5941a6612: Pull complete [2020-10-06T05:19:00.122Z] ecc8261a40a4: Pull complete [2020-10-06T05:19:00.122Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-06T05:19:00.122Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T05:19:00.122Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-06T05:19:00.310Z] prd-centos7-docker-4c-2g-3649 does not seem to be running inside a container [2020-10-06T05:19:00.383Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-613 -v /w/workspace/dgexfoundry_device-sdk-go_PR-613:/w/workspace/dgexfoundry_device-sdk-go_PR-613:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-613@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-613@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-06T05:19:02.897Z] $ docker top afe131013781dd1dbc505d383176cd9aee22586493ae7b61b98a703ae5d2ff72 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-06T05:19:03.286Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-06T05:19:03.286Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-06T05:19:03.781Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-06T05:19:03.778Z] $ docker exec afe131013781dd1dbc505d383176cd9aee22586493ae7b61b98a703ae5d2ff72 ssh-agent [2020-10-06T05:19:04.581Z] SSH_AUTH_SOCK=/tmp/ssh-GdjuF83bCcxI/agent.12 [2020-10-06T05:19:04.581Z] SSH_AGENT_PID=17 [2020-10-06T05:19:04.599Z] Running ssh-add (command line suppressed) [2020-10-06T05:19:04.981Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-613@tmp/private_key_2026218336976119091.key (/w/workspace/dgexfoundry_device-sdk-go_PR-613@tmp/private_key_2026218336976119091.key) [2020-10-06T05:19:05.104Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-06T05:19:05.951Z] + git describe --exact-match --tags HEAD [2020-10-06T05:19:05.951Z] fatal: no tag exactly matches 'ad7e010f5db4368a96d4b2eba2d5eda65c192113' [Pipeline] } [2020-10-06T05:19:06.008Z] $ docker exec --env ******** --env ******** afe131013781dd1dbc505d383176cd9aee22586493ae7b61b98a703ae5d2ff72 ssh-agent -k [2020-10-06T05:19:06.299Z] unset SSH_AUTH_SOCK; [2020-10-06T05:19:06.299Z] unset SSH_AGENT_PID; [2020-10-06T05:19:06.300Z] echo Agent pid 17 killed; [2020-10-06T05:19:06.394Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-06T05:19:06.524Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-06T05:19:06.524Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-06T05:19:06.627Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-06T05:19:06.627Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-06T05:19:06.923Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-06T05:19:06.923Z] $ docker exec afe131013781dd1dbc505d383176cd9aee22586493ae7b61b98a703ae5d2ff72 ssh-agent [2020-10-06T05:19:07.306Z] SSH_AUTH_SOCK=/tmp/ssh-ciRBlp1YwkHg/agent.47 [2020-10-06T05:19:07.306Z] SSH_AGENT_PID=52 [2020-10-06T05:19:07.317Z] Running ssh-add (command line suppressed) [2020-10-06T05:19:07.600Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-613@tmp/private_key_3036850208363268236.key (/w/workspace/dgexfoundry_device-sdk-go_PR-613@tmp/private_key_3036850208363268236.key) [2020-10-06T05:19:07.700Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-06T05:19:08.172Z] + git semver init [2020-10-06T05:19:08.172Z] # -> Open(): unable to determine branch for HEAD [2020-10-06T05:19:08.172Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-613/.git [2020-10-06T05:19:08.172Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-613 [2020-10-06T05:19:08.172Z] # $SEMVER_REMOTE_NAME = origin [2020-10-06T05:19:08.172Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-06T05:19:08.172Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-06T05:19:08.172Z] # $SEMVER_BRANCH = PR-613 [2020-10-06T05:19:08.172Z] # $SEMVER_TEMP = /tmp/semver-954332437 [2020-10-06T05:19:08.172Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-06T05:19:09.206Z] # '/tmp/semver-954332437' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-613/.semver' [2020-10-06T05:19:09.206Z] # -> Force: false [2020-10-06T05:19:09.206Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-613/.semver [Pipeline] } [2020-10-06T05:19:09.221Z] $ docker exec --env ******** --env ******** afe131013781dd1dbc505d383176cd9aee22586493ae7b61b98a703ae5d2ff72 ssh-agent -k [2020-10-06T05:19:09.416Z] unset SSH_AUTH_SOCK; [2020-10-06T05:19:09.416Z] unset SSH_AGENT_PID; [2020-10-06T05:19:09.416Z] echo Agent pid 52 killed; [2020-10-06T05:19:09.557Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-06T05:19:10.420Z] + git semver [Pipeline] } [2020-10-06T05:19:10.468Z] $ docker stop --time=1 afe131013781dd1dbc505d383176cd9aee22586493ae7b61b98a703ae5d2ff72 [2020-10-06T05:19:12.142Z] $ docker rm -f afe131013781dd1dbc505d383176cd9aee22586493ae7b61b98a703ae5d2ff72 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-06T05:19:13.759Z] Stashed 44 file(s) [Pipeline] echo [2020-10-06T05:19:13.763Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-06T05:19:13.860Z] 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-06T05:19:29.342Z] Still waiting to schedule task [2020-10-06T05:19:29.343Z] ‘prd-centos7-docker-4c-2g-3640’ is offline; ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-3653’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3652’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-06T05:19:29.345Z] Still waiting to schedule task [2020-10-06T05:19:29.345Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3652’ is offline [2020-10-06T05:22:14.949Z] Running on prd-centos7-docker-4c-2g-3661 in /w/workspace/dgexfoundry_device-sdk-go_PR-613 [Pipeline] { [Pipeline] ws [2020-10-06T05:22:15.040Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-06T05:22:25.842Z] using credential edgex-jenkins-ssh [2020-10-06T05:22:26.001Z] Cloning the remote Git repository [2020-10-06T05:22:25.571Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T05:22:25.684Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-10-06T05:22:25.979Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T05:22:25.979Z] > git --version # timeout=10 [2020-10-06T05:22:26.005Z] > git --version # 'git version 2.16.5' [2020-10-06T05:22:26.006Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T05:22:26.071Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T05:22:28.675Z] Merging remotes/origin/master commit 51b10ba24d09b5e22132647652f16c288a0af487 into PR head commit 2b0b0efc103cec1bfb7b235f5940e3a9be187a9a [2020-10-06T05:22:27.347Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T05:22:27.511Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T05:22:27.565Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T05:22:27.613Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T05:22:27.614Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T05:22:27.678Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/613/head:refs/remotes/origin/PR-613 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-06T05:22:28.266Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T05:22:28.328Z] > git checkout -f 2b0b0efc103cec1bfb7b235f5940e3a9be187a9a # timeout=10 [2020-10-06T05:22:28.524Z] > git remote # timeout=10 [2020-10-06T05:22:28.588Z] > git config --get remote.origin.url # timeout=10 [2020-10-06T05:22:28.670Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T05:22:28.675Z] > git merge 51b10ba24d09b5e22132647652f16c288a0af487 # timeout=10 [2020-10-06T05:22:29.403Z] Merge succeeded, producing 4df40fc3f4fa617bfd1aded6087880320dd03fc9 [2020-10-06T05:22:29.403Z] Checking out Revision 4df40fc3f4fa617bfd1aded6087880320dd03fc9 (PR-613) [2020-10-06T05:22:28.831Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-06T05:22:29.045Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T05:22:29.181Z] > git checkout -f 4df40fc3f4fa617bfd1aded6087880320dd03fc9 # timeout=10 [2020-10-06T05:22:33.507Z] Commit message: "Merge commit '51b10ba24d09b5e22132647652f16c288a0af487' into HEAD" [2020-10-06T05:22:33.494Z] > git rev-list --no-walk 2b0b0efc103cec1bfb7b235f5940e3a9be187a9a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-06T05:22:34.951Z] ========================================================= [2020-10-06T05:22:34.951Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-06T05:22:34.951Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:22:36.566Z] + 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-06T05:22:36.866Z] Sending build context to Docker daemon 3.516MB [2020-10-06T05:22:36.867Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-06T05:22:36.867Z] Step 2/8 : FROM ${BASE} [2020-10-06T05:22:37.148Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-06T05:22:37.148Z] df20fa9351a1: Pulling fs layer [2020-10-06T05:22:37.148Z] ed8968b2872e: Pulling fs layer [2020-10-06T05:22:37.148Z] a92cc7c5fd73: Pulling fs layer [2020-10-06T05:22:37.148Z] e871e8e8d7a9: Pulling fs layer [2020-10-06T05:22:37.148Z] e73272ec9a57: Pulling fs layer [2020-10-06T05:22:37.148Z] 1e910a182e73: Pulling fs layer [2020-10-06T05:22:37.148Z] 4e634b169226: Pulling fs layer [2020-10-06T05:22:37.148Z] e73272ec9a57: Waiting [2020-10-06T05:22:37.148Z] 1e910a182e73: Waiting [2020-10-06T05:22:37.148Z] 4e634b169226: Waiting [2020-10-06T05:22:37.148Z] e871e8e8d7a9: Waiting [2020-10-06T05:22:37.148Z] a92cc7c5fd73: Verifying Checksum [2020-10-06T05:22:37.148Z] a92cc7c5fd73: Download complete [2020-10-06T05:22:37.440Z] ed8968b2872e: Download complete [2020-10-06T05:22:37.440Z] e73272ec9a57: Verifying Checksum [2020-10-06T05:22:37.440Z] e73272ec9a57: Download complete [2020-10-06T05:22:38.094Z] 1e910a182e73: Verifying Checksum [2020-10-06T05:22:38.094Z] 1e910a182e73: Download complete [2020-10-06T05:22:38.417Z] df20fa9351a1: Verifying Checksum [2020-10-06T05:22:38.417Z] df20fa9351a1: Download complete [2020-10-06T05:22:39.599Z] df20fa9351a1: Pull complete [2020-10-06T05:22:39.908Z] ed8968b2872e: Pull complete [2020-10-06T05:22:40.198Z] a92cc7c5fd73: Pull complete [2020-10-06T05:22:43.325Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3666 in /w/workspace/dgexfoundry_device-sdk-go_PR-613 [Pipeline] { [Pipeline] ws [2020-10-06T05:22:43.404Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-06T05:22:43.705Z] 4e634b169226: Verifying Checksum [2020-10-06T05:22:43.705Z] 4e634b169226: Download complete [2020-10-06T05:22:47.300Z] e871e8e8d7a9: Download complete [2020-10-06T05:22:49.094Z] using credential edgex-jenkins-ssh [2020-10-06T05:22:49.161Z] Cloning the remote Git repository [2020-10-06T05:22:49.230Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T05:22:49.366Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-10-06T05:22:49.450Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T05:22:49.451Z] > git --version # timeout=10 [2020-10-06T05:22:49.474Z] > git --version # 'git version 2.17.1' [2020-10-06T05:22:49.476Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T05:22:49.565Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T05:22:50.635Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T05:22:50.652Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T05:22:50.686Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T05:22:50.726Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T05:22:50.727Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T05:22:50.741Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/613/head:refs/remotes/origin/PR-613 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-06T05:22:51.265Z] Merging remotes/origin/master commit 51b10ba24d09b5e22132647652f16c288a0af487 into PR head commit 2b0b0efc103cec1bfb7b235f5940e3a9be187a9a [2020-10-06T05:22:51.593Z] Merge succeeded, producing 18e4d523dae520684b67179334538cf4149f7694 [2020-10-06T05:22:51.594Z] Checking out Revision 18e4d523dae520684b67179334538cf4149f7694 (PR-613) [2020-10-06T05:22:51.289Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T05:22:51.312Z] > git checkout -f 2b0b0efc103cec1bfb7b235f5940e3a9be187a9a # timeout=10 [2020-10-06T05:22:51.435Z] > git remote # timeout=10 [2020-10-06T05:22:51.459Z] > git config --get remote.origin.url # timeout=10 [2020-10-06T05:22:51.472Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T05:22:51.484Z] > git merge 51b10ba24d09b5e22132647652f16c288a0af487 # timeout=10 [2020-10-06T05:22:51.577Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-06T05:22:51.602Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T05:22:51.615Z] > git checkout -f 18e4d523dae520684b67179334538cf4149f7694 # timeout=10 [2020-10-06T05:22:56.068Z] Commit message: "Merge commit '51b10ba24d09b5e22132647652f16c288a0af487' into HEAD" [2020-10-06T05:22:56.082Z] > git rev-list --no-walk 2b0b0efc103cec1bfb7b235f5940e3a9be187a9a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-06T05:22:57.391Z] ========================================================= [2020-10-06T05:22:57.391Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-06T05:22:57.391Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:22:58.686Z] + 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-06T05:22:59.677Z] Sending build context to Docker daemon 3.516MB [2020-10-06T05:22:59.677Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-06T05:22:59.677Z] Step 2/8 : FROM ${BASE} [2020-10-06T05:22:59.953Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-06T05:22:59.953Z] b538f80385f9: Pulling fs layer [2020-10-06T05:22:59.953Z] 74f711af9a0d: Pulling fs layer [2020-10-06T05:22:59.953Z] 99f96fe45779: Pulling fs layer [2020-10-06T05:22:59.953Z] 8529a6b9a6be: Pulling fs layer [2020-10-06T05:22:59.953Z] 45590311c82a: Pulling fs layer [2020-10-06T05:22:59.953Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-06T05:22:59.953Z] 209524e5b208: Pulling fs layer [2020-10-06T05:22:59.953Z] 45590311c82a: Waiting [2020-10-06T05:22:59.953Z] 8529a6b9a6be: Waiting [2020-10-06T05:22:59.953Z] 69ca0ff8b7b3: Waiting [2020-10-06T05:22:59.953Z] 209524e5b208: Waiting [2020-10-06T05:22:59.953Z] 99f96fe45779: Verifying Checksum [2020-10-06T05:22:59.953Z] 99f96fe45779: Download complete [2020-10-06T05:22:59.953Z] 74f711af9a0d: Verifying Checksum [2020-10-06T05:22:59.953Z] 74f711af9a0d: Download complete [2020-10-06T05:22:59.953Z] 45590311c82a: Verifying Checksum [2020-10-06T05:22:59.953Z] 45590311c82a: Download complete [2020-10-06T05:22:59.953Z] 69ca0ff8b7b3: Download complete [2020-10-06T05:23:00.092Z] e871e8e8d7a9: Pull complete [2020-10-06T05:23:00.093Z] e73272ec9a57: Pull complete [2020-10-06T05:23:00.093Z] 1e910a182e73: Pull complete [2020-10-06T05:23:00.230Z] b538f80385f9: Download complete [2020-10-06T05:23:00.837Z] b538f80385f9: Pull complete [2020-10-06T05:23:01.439Z] 74f711af9a0d: Pull complete [2020-10-06T05:23:01.713Z] 99f96fe45779: Pull complete [2020-10-06T05:23:02.738Z] 209524e5b208: Verifying Checksum [2020-10-06T05:23:02.738Z] 209524e5b208: Download complete [2020-10-06T05:23:03.727Z] 8529a6b9a6be: Verifying Checksum [2020-10-06T05:23:03.727Z] 8529a6b9a6be: Download complete [2020-10-06T05:23:04.548Z] 4e634b169226: Pull complete [2020-10-06T05:23:04.548Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-06T05:23:04.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-06T05:23:04.548Z] ---> f7629b54cfaa [2020-10-06T05:23:04.548Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T05:23:04.548Z] ---> Running in 80a050238a03 [2020-10-06T05:23:04.838Z] Removing intermediate container 80a050238a03 [2020-10-06T05:23:04.838Z] ---> 0beba9145bc4 [2020-10-06T05:23:04.838Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T05:23:04.838Z] ---> Running in 1aed5292bdd1 [2020-10-06T05:23:06.935Z] Removing intermediate container 1aed5292bdd1 [2020-10-06T05:23:06.935Z] ---> be53fb4d7506 [2020-10-06T05:23:06.935Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-06T05:23:07.295Z] ---> Running in 87bc6a4f0779 [2020-10-06T05:23:08.334Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-06T05:23:09.803Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-06T05:23:11.299Z] OK: 166 MiB in 39 packages [2020-10-06T05:23:11.895Z] Removing intermediate container 87bc6a4f0779 [2020-10-06T05:23:11.895Z] ---> e63b003c6d71 [2020-10-06T05:23:11.895Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-06T05:23:11.895Z] ---> Running in a2298512f3b4 [2020-10-06T05:23:12.164Z] Removing intermediate container a2298512f3b4 [2020-10-06T05:23:12.164Z] ---> 1b143b9010f1 [2020-10-06T05:23:12.164Z] Step 7/8 : COPY . . [2020-10-06T05:23:13.615Z] ---> 5170b04a4df4 [2020-10-06T05:23:13.615Z] Step 8/8 : RUN go mod download [2020-10-06T05:23:13.615Z] ---> Running in 3d493dda2efd [2020-10-06T05:23:13.919Z] 8529a6b9a6be: Pull complete [2020-10-06T05:23:14.525Z] 45590311c82a: Pull complete [2020-10-06T05:23:14.798Z] 69ca0ff8b7b3: Pull complete [2020-10-06T05:23:18.202Z] 209524e5b208: Pull complete [2020-10-06T05:23:18.202Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-06T05:23:18.203Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-06T05:23:18.203Z] ---> 5bddaf1c2fca [2020-10-06T05:23:18.203Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T05:23:21.592Z] ---> Running in 013b1046018d [2020-10-06T05:23:21.592Z] Removing intermediate container 013b1046018d [2020-10-06T05:23:21.592Z] ---> ac5f3693b6cb [2020-10-06T05:23:21.592Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T05:23:21.592Z] ---> Running in c868c1f3e875 [2020-10-06T05:23:24.215Z] Removing intermediate container c868c1f3e875 [2020-10-06T05:23:24.215Z] ---> 4ae24816ef84 [2020-10-06T05:23:24.215Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-06T05:23:24.489Z] ---> Running in 1ba1c89bec1a [2020-10-06T05:23:25.929Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-06T05:23:26.907Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-06T05:23:27.893Z] OK: 142 MiB in 39 packages [2020-10-06T05:23:28.872Z] Removing intermediate container 1ba1c89bec1a [2020-10-06T05:23:28.872Z] ---> 9c24f9ace2c3 [2020-10-06T05:23:28.872Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-06T05:23:28.872Z] ---> Running in f29d4dfbb394 [2020-10-06T05:23:29.478Z] Removing intermediate container f29d4dfbb394 [2020-10-06T05:23:29.478Z] ---> a89918e65ca7 [2020-10-06T05:23:29.478Z] Step 7/8 : COPY . . [2020-10-06T05:23:30.909Z] ---> f3e2e906c15d [2020-10-06T05:23:30.909Z] Step 8/8 : RUN go mod download [2020-10-06T05:23:31.184Z] ---> Running in 950f091dd949 [2020-10-06T05:23:40.827Z] Removing intermediate container 3d493dda2efd [2020-10-06T05:23:40.827Z] ---> 6d5209d2fb72 [2020-10-06T05:23:40.827Z] Successfully built 6d5209d2fb72 [2020-10-06T05:23:40.827Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:23:41.228Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-06T05:23:41.229Z] . [Pipeline] withDockerContainer [2020-10-06T05:23:41.489Z] prd-centos7-docker-4c-2g-3661 does not seem to be running inside a container [2020-10-06T05:23:41.722Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-x86_64 cat [2020-10-06T05:23:43.151Z] $ docker top 57ae8146ee6822fde743e2ad7da2e81e51638f8ae70c09e75b6791b98a8eeb6b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T05:23:43.764Z] + go version [2020-10-06T05:23:43.764Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-06T05:23:43.782Z] $ docker stop --time=1 57ae8146ee6822fde743e2ad7da2e81e51638f8ae70c09e75b6791b98a8eeb6b [2020-10-06T05:23:45.227Z] $ docker rm -f 57ae8146ee6822fde743e2ad7da2e81e51638f8ae70c09e75b6791b98a8eeb6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:23:46.306Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-06T05:23:46.306Z] . [Pipeline] withDockerContainer [2020-10-06T05:23:46.620Z] prd-centos7-docker-4c-2g-3661 does not seem to be running inside a container [2020-10-06T05:23:46.741Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-x86_64 cat [2020-10-06T05:23:47.858Z] $ docker top a4107ea298a2bace72863b697a7bf1e6eb37ba1cd8c5eb5405f8c3f53582f106 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T05:23:48.516Z] + make test [2020-10-06T05:23:48.516Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-06T05:23:53.370Z] Removing intermediate container 950f091dd949 [2020-10-06T05:23:53.370Z] ---> 132d815a1802 [2020-10-06T05:23:53.370Z] Successfully built 132d815a1802 [2020-10-06T05:23:53.641Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:23:54.055Z] + docker inspect -f . ci-base-image-arm64 [2020-10-06T05:23:54.055Z] . [Pipeline] withDockerContainer [2020-10-06T05:23:54.338Z] prd-ubuntu18.04-docker-arm64-4c-16g-3666 does not seem to be running inside a container [2020-10-06T05:23:54.448Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat [2020-10-06T05:23:56.248Z] $ docker top ff4c32bfe01345cd3dccf7cb7dc0594ad97fa4232b861eef2cbc5346142a79ae -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T05:23:57.653Z] + go version [2020-10-06T05:23:57.653Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-06T05:23:57.704Z] $ docker stop --time=1 ff4c32bfe01345cd3dccf7cb7dc0594ad97fa4232b861eef2cbc5346142a79ae [2020-10-06T05:23:59.680Z] $ docker rm -f ff4c32bfe01345cd3dccf7cb7dc0594ad97fa4232b861eef2cbc5346142a79ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:24:00.845Z] + docker inspect -f . ci-base-image-arm64 [2020-10-06T05:24:00.845Z] . [Pipeline] withDockerContainer [2020-10-06T05:24:01.107Z] prd-ubuntu18.04-docker-arm64-4c-16g-3666 does not seem to be running inside a container [2020-10-06T05:24:01.227Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat [2020-10-06T05:24:01.423Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-06T05:24:03.169Z] $ docker top 9be22d6306834f2550f03d44914b35c5cc72573f61637df55fabe85735bba5f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T05:24:04.554Z] + make test [2020-10-06T05:24:04.555Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-06T05:24:26.750Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-06T05:24:29.617Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-06T05:24:29.617Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-06T05:24:29.617Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-06T05:24:29.617Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.076s coverage: 21.6% of statements [2020-10-06T05:24:30.477Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.862s coverage: 97.1% of statements [2020-10-06T05:25:04.233Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.180s coverage: 9.4% of statements [2020-10-06T05:25:04.233Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.193s coverage: 21.9% of statements [2020-10-06T05:25:04.233Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-06T05:25:04.233Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.295s coverage: 39.9% of statements [2020-10-06T05:25:04.233Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-06T05:25:04.233Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.670s coverage: 65.4% of statements [2020-10-06T05:25:04.233Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-06T05:25:04.233Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-06T05:25:04.233Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-06T05:25:04.233Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-06T05:25:04.233Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.182s coverage: 52.6% of statements [2020-10-06T05:25:04.233Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-06T05:25:04.233Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 4.275s coverage: 68.9% of statements [2020-10-06T05:25:04.233Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-06T05:25:04.233Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-06T05:25:04.233Z] GO111MODULE=on go vet ./... [2020-10-06T05:25:13.791Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-06T05:25:13.791Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-06T05:25:13.791Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-06T05:25:13.791Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.160s coverage: 21.6% of statements [2020-10-06T05:25:15.229Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.205s coverage: 97.1% of statements [2020-10-06T05:25:20.248Z] gofmt -l . [2020-10-06T05:25:20.248Z] [ "`gofmt -l .`" = "" ] [2020-10-06T05:25:20.248Z] ./bin/test-attribution-txt.sh [2020-10-06T05:25:21.837Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-06T05:25:23.513Z] Stashed 1 file(s) [Pipeline] } [2020-10-06T05:25:23.547Z] $ docker stop --time=1 a4107ea298a2bace72863b697a7bf1e6eb37ba1cd8c5eb5405f8c3f53582f106 [2020-10-06T05:25:25.715Z] $ docker rm -f a4107ea298a2bace72863b697a7bf1e6eb37ba1cd8c5eb5405f8c3f53582f106 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-06T05:25:27.414Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-06T05:25:27.733Z] + ls -al . [2020-10-06T05:25:27.733Z] total 192 [2020-10-06T05:25:27.733Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 6 05:25 . [2020-10-06T05:25:27.733Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 6 05:22 .. [2020-10-06T05:25:27.733Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 6 05:22 bin [2020-10-06T05:25:27.733Z] -rw-r--r--. 1 jenkins jenkins 111040 Oct 6 05:24 coverage.out [2020-10-06T05:25:27.733Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 6 05:22 Dockerfile.build [2020-10-06T05:25:27.733Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 6 05:22 .dockerignore [2020-10-06T05:25:27.733Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 6 05:22 example [2020-10-06T05:25:27.733Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 6 05:22 .git [2020-10-06T05:25:27.733Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 6 05:22 .github [2020-10-06T05:25:27.733Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 6 05:22 .gitignore [2020-10-06T05:25:27.733Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 6 05:25 go.mod [2020-10-06T05:25:27.733Z] -rw-r--r--. 1 jenkins jenkins 13652 Oct 6 05:25 go.sum [2020-10-06T05:25:27.733Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 6 05:22 internal [2020-10-06T05:25:27.733Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 6 05:22 Jenkinsfile [2020-10-06T05:25:27.733Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 6 05:22 LICENSE [2020-10-06T05:25:27.733Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 6 05:22 Makefile [2020-10-06T05:25:27.733Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 6 05:22 openapi [2020-10-06T05:25:27.733Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 6 05:22 pkg [2020-10-06T05:25:27.733Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 6 05:22 README.md [2020-10-06T05:25:27.733Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 6 05:22 RELEASE-NOTES.txt [2020-10-06T05:25:27.733Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 6 05:22 .semver [2020-10-06T05:25:27.733Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 6 05:22 snap [2020-10-06T05:25:27.733Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 6 05:19 VERSION [2020-10-06T05:25:27.733Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 6 05:22 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:25:28.090Z] + 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=ad7e010f5db4368a96d4b2eba2d5eda65c192113 --label arch=amd64 --label version=0.0.0 . [2020-10-06T05:25:28.367Z] Sending build context to Docker daemon 3.628MB [2020-10-06T05:25:28.367Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-06T05:25:28.367Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-06T05:25:28.367Z] ---> 6d5209d2fb72 [2020-10-06T05:25:28.367Z] Step 3/24 : ARG MAKE='make build' [2020-10-06T05:25:29.033Z] ---> Running in 8533671ea7ce [2020-10-06T05:25:29.033Z] Removing intermediate container 8533671ea7ce [2020-10-06T05:25:29.033Z] ---> 5791b9af6fbc [2020-10-06T05:25:29.033Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-06T05:25:29.033Z] ---> Running in 12ad98a3608f [2020-10-06T05:25:29.345Z] Removing intermediate container 12ad98a3608f [2020-10-06T05:25:29.345Z] ---> 9172b9c32493 [2020-10-06T05:25:29.345Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T05:25:29.345Z] ---> Running in 3d620ba1c2f8 [2020-10-06T05:25:29.653Z] Removing intermediate container 3d620ba1c2f8 [2020-10-06T05:25:29.653Z] ---> 08c9a4cb7450 [2020-10-06T05:25:29.653Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T05:25:29.653Z] ---> Running in 23669191f37b [2020-10-06T05:25:30.644Z] Removing intermediate container 23669191f37b [2020-10-06T05:25:30.644Z] ---> 2c176554d7a6 [2020-10-06T05:25:30.644Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-06T05:25:30.644Z] ---> Running in 9276093704e1 [2020-10-06T05:25:31.641Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-06T05:25:32.280Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-06T05:25:33.013Z] OK: 166 MiB in 39 packages [2020-10-06T05:25:33.668Z] Removing intermediate container 9276093704e1 [2020-10-06T05:25:33.668Z] ---> 551f14d1919e [2020-10-06T05:25:33.668Z] Step 8/24 : COPY . . [2020-10-06T05:25:34.744Z] ---> f694c3c93bf4 [2020-10-06T05:25:34.744Z] Step 9/24 : RUN ${MAKE} [2020-10-06T05:25:34.744Z] ---> Running in d611ae27bff0 [2020-10-06T05:25:35.365Z] 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-06T05:25:47.643Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.119s coverage: 9.4% of statements [2020-10-06T05:25:47.643Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.128s coverage: 21.9% of statements [2020-10-06T05:25:47.643Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-06T05:25:47.643Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.544s coverage: 39.9% of statements [2020-10-06T05:25:47.643Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-06T05:25:47.643Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.812s coverage: 65.4% of statements [2020-10-06T05:25:47.643Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-06T05:25:47.643Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-06T05:25:47.643Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-06T05:25:47.643Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-06T05:25:47.643Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.192s coverage: 52.6% of statements [2020-10-06T05:25:47.643Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-06T05:25:47.643Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.870s coverage: 68.9% of statements [2020-10-06T05:25:47.643Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-06T05:25:47.643Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-06T05:25:47.643Z] GO111MODULE=on go vet ./... [2020-10-06T05:25:50.986Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-06T05:25:54.550Z] Removing intermediate container d611ae27bff0 [2020-10-06T05:25:54.550Z] ---> 78e1456e0fdc [2020-10-06T05:25:54.551Z] Step 10/24 : FROM scratch [2020-10-06T05:25:54.551Z] ---> [2020-10-06T05:25:54.551Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T05:25:54.551Z] ---> Running in 8b1b1b772202 [2020-10-06T05:25:54.551Z] Removing intermediate container 8b1b1b772202 [2020-10-06T05:25:54.551Z] ---> c48e7bf0f0e2 [2020-10-06T05:25:54.551Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-06T05:25:54.551Z] ---> Running in d45cdd1915e2 [2020-10-06T05:25:54.551Z] Removing intermediate container d45cdd1915e2 [2020-10-06T05:25:54.551Z] ---> d7f40d753eb4 [2020-10-06T05:25:54.551Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-06T05:25:54.551Z] ---> Running in bbf989c266a1 [2020-10-06T05:25:54.860Z] Removing intermediate container bbf989c266a1 [2020-10-06T05:25:54.860Z] ---> 16771b2aab8d [2020-10-06T05:25:54.860Z] Step 14/24 : WORKDIR / [2020-10-06T05:25:54.860Z] ---> Running in bd3a33739bbf [2020-10-06T05:25:55.525Z] Removing intermediate container bd3a33739bbf [2020-10-06T05:25:55.525Z] ---> 1c2171d8eb82 [2020-10-06T05:25:55.525Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-06T05:25:56.209Z] ---> e134b053dc1e [2020-10-06T05:25:56.209Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-06T05:25:56.920Z] ---> 3b27b6cdfb88 [2020-10-06T05:25:56.920Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-06T05:25:57.644Z] ---> 31bb63789654 [2020-10-06T05:25:57.644Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-06T05:25:58.312Z] ---> fa9edcf1dbcd [2020-10-06T05:25:58.312Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-06T05:25:58.981Z] ---> 36c66f7543ab [2020-10-06T05:25:58.981Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-06T05:25:58.981Z] ---> Running in 3a34f930cc17 [2020-10-06T05:25:58.981Z] Removing intermediate container 3a34f930cc17 [2020-10-06T05:25:58.981Z] ---> 5b410d7b887f [2020-10-06T05:25:58.981Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-06T05:25:58.981Z] ---> Running in 920e1304f454 [2020-10-06T05:25:59.581Z] Removing intermediate container 920e1304f454 [2020-10-06T05:25:59.581Z] ---> 9aa46c85fd56 [2020-10-06T05:25:59.581Z] Step 22/24 : LABEL arch=amd64 [2020-10-06T05:25:59.581Z] ---> Running in d2672d443ec8 [2020-10-06T05:25:59.847Z] Removing intermediate container d2672d443ec8 [2020-10-06T05:25:59.847Z] ---> f5570b0357dc [2020-10-06T05:25:59.847Z] Step 23/24 : LABEL git_sha=ad7e010f5db4368a96d4b2eba2d5eda65c192113 [2020-10-06T05:25:59.847Z] ---> Running in 2b1a3afc20a1 [2020-10-06T05:26:00.180Z] Removing intermediate container 2b1a3afc20a1 [2020-10-06T05:26:00.180Z] ---> 51cc6ded8fa8 [2020-10-06T05:26:00.180Z] Step 24/24 : LABEL version=0.0.0 [2020-10-06T05:26:00.180Z] ---> Running in 1a2173734e8f [2020-10-06T05:26:00.486Z] Removing intermediate container 1a2173734e8f [2020-10-06T05:26:00.486Z] ---> 4090a508484d [2020-10-06T05:26:00.486Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-06T05:26:00.486Z] Successfully built 4090a508484d [2020-10-06T05:26:00.486Z] 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-06T05:26:14.502Z] gofmt -l . [2020-10-06T05:26:14.502Z] [ "`gofmt -l .`" = "" ] [2020-10-06T05:26:14.502Z] ./bin/test-attribution-txt.sh [2020-10-06T05:26:14.502Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-06T05:26:14.572Z] Warning: overwriting stash ‘coverage-report’ [2020-10-06T05:26:15.465Z] Stashed 1 file(s) [Pipeline] } [2020-10-06T05:26:15.551Z] $ docker stop --time=1 9be22d6306834f2550f03d44914b35c5cc72573f61637df55fabe85735bba5f1 [2020-10-06T05:26:17.861Z] $ docker rm -f 9be22d6306834f2550f03d44914b35c5cc72573f61637df55fabe85735bba5f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-06T05:26:19.211Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-06T05:26:19.630Z] + ls -al . [2020-10-06T05:26:19.630Z] total 232 [2020-10-06T05:26:19.630Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 05:26 . [2020-10-06T05:26:19.630Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 05:22 .. [2020-10-06T05:26:19.630Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 6 05:22 .dockerignore [2020-10-06T05:26:19.630Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 05:22 .git [2020-10-06T05:26:19.630Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 05:22 .github [2020-10-06T05:26:19.630Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 6 05:22 .gitignore [2020-10-06T05:26:19.630Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 05:22 .semver [2020-10-06T05:26:19.630Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 6 05:22 Dockerfile.build [2020-10-06T05:26:19.630Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 6 05:22 Jenkinsfile [2020-10-06T05:26:19.630Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 6 05:22 LICENSE [2020-10-06T05:26:19.630Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 6 05:22 Makefile [2020-10-06T05:26:19.630Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 6 05:22 README.md [2020-10-06T05:26:19.630Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 6 05:22 RELEASE-NOTES.txt [2020-10-06T05:26:19.630Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 05:19 VERSION [2020-10-06T05:26:19.630Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 05:22 bin [2020-10-06T05:26:19.630Z] -rw-r--r-- 1 jenkins jenkins 111040 Oct 6 05:25 coverage.out [2020-10-06T05:26:19.630Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 05:22 example [2020-10-06T05:26:19.630Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 6 05:26 go.mod [2020-10-06T05:26:19.630Z] -rw-r--r-- 1 jenkins jenkins 13652 Oct 6 05:26 go.sum [2020-10-06T05:26:19.630Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 6 05:22 internal [2020-10-06T05:26:19.630Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 05:22 openapi [2020-10-06T05:26:19.630Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 6 05:22 pkg [2020-10-06T05:26:19.630Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 05:22 snap [2020-10-06T05:26:19.630Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 6 05:22 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:26:19.977Z] + 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=ad7e010f5db4368a96d4b2eba2d5eda65c192113 --label arch=arm64 --label version=0.0.0 . [2020-10-06T05:26:20.587Z] Sending build context to Docker daemon 3.628MB [2020-10-06T05:26:20.587Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-06T05:26:20.587Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-06T05:26:20.587Z] ---> 132d815a1802 [2020-10-06T05:26:20.587Z] Step 3/24 : ARG MAKE='make build' [2020-10-06T05:26:20.856Z] ---> Running in 877093549f08 [2020-10-06T05:26:21.126Z] Removing intermediate container 877093549f08 [2020-10-06T05:26:21.126Z] ---> 35bb8a38eb24 [2020-10-06T05:26:21.126Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-06T05:26:21.397Z] ---> Running in 540ec548894d [2020-10-06T05:26:21.671Z] Removing intermediate container 540ec548894d [2020-10-06T05:26:21.671Z] ---> 73ed890b5283 [2020-10-06T05:26:21.671Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T05:26:21.948Z] ---> Running in bde220acdb73 [2020-10-06T05:26:22.220Z] Removing intermediate container bde220acdb73 [2020-10-06T05:26:22.220Z] ---> 01cb96bf9563 [2020-10-06T05:26:22.220Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T05:26:22.510Z] ---> Running in 3810488e792e [2020-10-06T05:26:25.137Z] Removing intermediate container 3810488e792e [2020-10-06T05:26:25.137Z] ---> 26715f5a4df9 [2020-10-06T05:26:25.137Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-06T05:26:25.137Z] ---> Running in 71f057e71f52 [2020-10-06T05:26:26.571Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-06T05:26:27.171Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-06T05:26:28.158Z] OK: 142 MiB in 39 packages [2020-10-06T05:26:29.143Z] Removing intermediate container 71f057e71f52 [2020-10-06T05:26:29.143Z] ---> d775410a02e3 [2020-10-06T05:26:29.143Z] Step 8/24 : COPY . . [2020-10-06T05:26:30.583Z] ---> 4788d7f5f33e [2020-10-06T05:26:30.583Z] Step 9/24 : RUN ${MAKE} [2020-10-06T05:26:30.583Z] ---> Running in abb610cf35b4 [2020-10-06T05:26:32.016Z] 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-06T05:26:58.883Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-06T05:26:58.884Z] Removing intermediate container abb610cf35b4 [2020-10-06T05:26:58.884Z] ---> 89185672bb4f [2020-10-06T05:26:58.884Z] Step 10/24 : FROM scratch [2020-10-06T05:26:58.884Z] ---> [2020-10-06T05:26:58.884Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T05:26:58.884Z] ---> Running in 64d71bb43331 [2020-10-06T05:26:59.156Z] Removing intermediate container 64d71bb43331 [2020-10-06T05:26:59.156Z] ---> 85183cfd628e [2020-10-06T05:26:59.156Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-06T05:26:59.156Z] ---> Running in 9866bc667f14 [2020-10-06T05:26:59.758Z] Removing intermediate container 9866bc667f14 [2020-10-06T05:26:59.758Z] ---> fecc45f174e9 [2020-10-06T05:26:59.758Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-06T05:26:59.758Z] ---> Running in 828b3e748e59 [2020-10-06T05:27:00.356Z] Removing intermediate container 828b3e748e59 [2020-10-06T05:27:00.356Z] ---> 952dc0381483 [2020-10-06T05:27:00.356Z] Step 14/24 : WORKDIR / [2020-10-06T05:27:00.356Z] ---> Running in 2a380dc856a6 [2020-10-06T05:27:00.961Z] Removing intermediate container 2a380dc856a6 [2020-10-06T05:27:00.961Z] ---> f611d883415c [2020-10-06T05:27:00.961Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-06T05:27:01.936Z] ---> d15def8e6a94 [2020-10-06T05:27:01.936Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-06T05:27:02.913Z] ---> d499fa5298a0 [2020-10-06T05:27:02.913Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-06T05:27:03.507Z] ---> c266f9659558 [2020-10-06T05:27:03.507Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-06T05:27:04.490Z] ---> 1f0b1a34a8cc [2020-10-06T05:27:04.490Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-06T05:27:05.085Z] ---> 5ecfa8c65a96 [2020-10-06T05:27:05.085Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-06T05:27:05.085Z] ---> Running in 404d20d3d1fe [2020-10-06T05:27:05.681Z] Removing intermediate container 404d20d3d1fe [2020-10-06T05:27:05.681Z] ---> 65ea68d45b95 [2020-10-06T05:27:05.681Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-06T05:27:05.681Z] ---> Running in 4c9026b6e3a4 [2020-10-06T05:27:06.316Z] Removing intermediate container 4c9026b6e3a4 [2020-10-06T05:27:06.317Z] ---> 0db2a4d8d239 [2020-10-06T05:27:06.317Z] Step 22/24 : LABEL arch=arm64 [2020-10-06T05:27:06.317Z] ---> Running in 18ac13e708f2 [2020-10-06T05:27:06.590Z] Removing intermediate container 18ac13e708f2 [2020-10-06T05:27:06.590Z] ---> 6f7d464f0c1c [2020-10-06T05:27:06.590Z] Step 23/24 : LABEL git_sha=ad7e010f5db4368a96d4b2eba2d5eda65c192113 [2020-10-06T05:27:06.863Z] ---> Running in ecc5cbf2d878 [2020-10-06T05:27:07.138Z] Removing intermediate container ecc5cbf2d878 [2020-10-06T05:27:07.138Z] ---> 46f42f953c3c [2020-10-06T05:27:07.138Z] Step 24/24 : LABEL version=0.0.0 [2020-10-06T05:27:07.412Z] ---> Running in b5964032afb6 [2020-10-06T05:27:08.006Z] Removing intermediate container b5964032afb6 [2020-10-06T05:27:08.006Z] ---> 3a3b497cee50 [2020-10-06T05:27:08.006Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-06T05:27:08.006Z] Successfully built 3a3b497cee50 [2020-10-06T05:27:08.006Z] 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-06T05:27:10.274Z] provisioning config files... [2020-10-06T05:27:10.302Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-613@tmp/config9092539777692985882tmp [Pipeline] { [Pipeline] sh [2020-10-06T05:27:10.797Z] + set +x [2020-10-06T05:27:10.797Z] + curl -s https://codecov.io/bash [2020-10-06T05:27:10.797Z] + bash -s -- [2020-10-06T05:27:11.102Z] [2020-10-06T05:27:11.102Z] _____ _ [2020-10-06T05:27:11.102Z] / ____| | | [2020-10-06T05:27:11.102Z] | | ___ __| | ___ ___ _____ __ [2020-10-06T05:27:11.102Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-06T05:27:11.102Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-06T05:27:11.102Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-06T05:27:11.102Z] Bash-20200917-4e8f14b [2020-10-06T05:27:11.102Z] [2020-10-06T05:27:11.102Z] [2020-10-06T05:27:11.102Z] ==> Jenkins CI detected. [2020-10-06T05:27:11.102Z] project root: . [2020-10-06T05:27:11.102Z] Fixing merge commit SHA [2020-10-06T05:27:11.102Z] --> token set from env [2020-10-06T05:27:11.102Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-06T05:27:11.102Z] ==> Running gcov in . (disable via -X gcov) [2020-10-06T05:27:11.102Z] ==> Python coveragepy not found [2020-10-06T05:27:11.102Z] ==> Searching for coverage reports in: [2020-10-06T05:27:11.102Z] + . [2020-10-06T05:27:11.102Z] -> Found 1 reports [2020-10-06T05:27:11.102Z] ==> Detecting git/mercurial file structure [2020-10-06T05:27:11.102Z] ==> Reading reports [2020-10-06T05:27:11.102Z] + ./coverage.out bytes=111040 [2020-10-06T05:27:11.408Z] ==> Appending adjustments [2020-10-06T05:27:11.408Z] https://docs.codecov.io/docs/fixing-reports [2020-10-06T05:27:11.689Z] + Found adjustments [2020-10-06T05:27:11.689Z] ==> Gzipping contents [2020-10-06T05:27:11.689Z] ==> Uploading reports [2020-10-06T05:27:11.689Z] url: https://codecov.io [2020-10-06T05:27:11.689Z] query: branch=PR-613&commit=51b10ba24d09b5e22132647652f16c288a0af487&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-613%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=613&job=&cmd_args= [2020-10-06T05:27:11.689Z] -> Pinging Codecov [2020-10-06T05:27:11.689Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-613&commit=51b10ba24d09b5e22132647652f16c288a0af487&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-613%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=613&job=&cmd_args= [2020-10-06T05:27:12.329Z] -> Uploading to [2020-10-06T05:27:12.329Z] https://storage.googleapis.com/codecov/v4/raw/2020-10-06/7E55EF52A471D76F132DFD9A03CDDE97/51b10ba24d09b5e22132647652f16c288a0af487/9c726842-cff0-4e58-9396-2fcb40647f01.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201006T052712Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5ef75c7f62016ec4b2c5560f46e719d17ab7cfb9862b3ea9b1b1185239970467 [2020-10-06T05:27:12.329Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-06T05:27:12.329Z] Dload Upload Total Spent Left Speed [2020-10-06T05:27:12.865Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18300 0 0 100 18300 0 34997 --:--:-- --:--:-- --:--:-- 34990 [2020-10-06T05:27:12.865Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/51b10ba24d09b5e22132647652f16c288a0af487 [Pipeline] } [2020-10-06T05:27:12.878Z] 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-06T05:27:15.785Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:27:16.483Z] ---> package-listing.sh [2020-10-06T05:27:16.483Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-06T05:27:16.483Z] ++ facter osfamily [2020-10-06T05:27:16.764Z] + OS_FAMILY=redhat [2020-10-06T05:27:16.764Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-613 [2020-10-06T05:27:16.764Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-06T05:27:16.764Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-06T05:27:16.764Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-06T05:27:16.764Z] + PACKAGES=/tmp/packages_start.txt [2020-10-06T05:27:16.764Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-613 ']' [2020-10-06T05:27:16.764Z] + PACKAGES=/tmp/packages_end.txt [2020-10-06T05:27:16.764Z] + case "${OS_FAMILY}" in [2020-10-06T05:27:16.764Z] + rpm -qa [2020-10-06T05:27:16.764Z] + sort [2020-10-06T05:27:25.066Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-06T05:27:25.066Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-06T05:27:25.066Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-06T05:27:25.066Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-613 ']' [2020-10-06T05:27:25.066Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-613/archives/ [2020-10-06T05:27:25.066Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-613/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-06T05:27:25.264Z] provisioning config files... [2020-10-06T05:27:25.291Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-613@tmp/config3038988718648699677tmp [Pipeline] { [Pipeline] echo [2020-10-06T05:27:25.391Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:27:25.858Z] ---> create-netrc.sh [Pipeline] } [2020-10-06T05:27:25.903Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-06T05:27:25.992Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:27:26.429Z] ---> python-tools-install.sh [2020-10-06T05:27:26.429Z] Generating Requirements File [2020-10-06T05:29:03.401Z] Python 3.6.8 [2020-10-06T05:29:03.401Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-06T05:29:03.401Z] appdirs==1.4.3 [2020-10-06T05:29:03.401Z] argcomplete==1.12.1 [2020-10-06T05:29:03.401Z] aspy.yaml==1.3.0 [2020-10-06T05:29:03.401Z] attrs==19.3.0 [2020-10-06T05:29:03.401Z] Babel==2.8.0 [2020-10-06T05:29:03.401Z] beautifulsoup4==4.8.2 [2020-10-06T05:29:03.401Z] boto3==1.11.6 [2020-10-06T05:29:03.401Z] botocore==1.14.6 [2020-10-06T05:29:03.401Z] bs4==0.0.1 [2020-10-06T05:29:03.401Z] cachetools==4.1.1 [2020-10-06T05:29:03.401Z] certifi==2019.11.28 [2020-10-06T05:29:03.401Z] cffi==1.14.3 [2020-10-06T05:29:03.401Z] cfgv==2.0.1 [2020-10-06T05:29:03.401Z] chardet==3.0.4 [2020-10-06T05:29:03.401Z] click==7.1 [2020-10-06T05:29:03.401Z] cliff==3.4.0 [2020-10-06T05:29:03.401Z] cmd2==1.3.11 [2020-10-06T05:29:03.401Z] colorama==0.4.3 [2020-10-06T05:29:03.401Z] cryptography==3.1.1 [2020-10-06T05:29:03.401Z] debtcollector==2.2.0 [2020-10-06T05:29:03.401Z] decorator==4.4.2 [2020-10-06T05:29:03.401Z] defusedxml==0.6.0 [2020-10-06T05:29:03.401Z] Deprecated==1.2.7 [2020-10-06T05:29:03.401Z] distlib==0.3.1 [2020-10-06T05:29:03.401Z] distro==1.2.0 [2020-10-06T05:29:03.401Z] dnspython==1.16.0 [2020-10-06T05:29:03.401Z] docker==4.2.0 [2020-10-06T05:29:03.401Z] docutils==0.15.2 [2020-10-06T05:29:03.401Z] dogpile.cache==1.0.2 [2020-10-06T05:29:03.401Z] email-validator==1.0.5 [2020-10-06T05:29:03.401Z] filelock==3.0.12 [2020-10-06T05:29:03.401Z] future==0.18.2 [2020-10-06T05:29:03.401Z] google-auth==1.22.1 [2020-10-06T05:29:03.401Z] httplib2==0.17.0 [2020-10-06T05:29:03.401Z] identify==1.4.11 [2020-10-06T05:29:03.401Z] idna==2.9 [2020-10-06T05:29:03.401Z] importlib-metadata==1.7.0 [2020-10-06T05:29:03.401Z] importlib-resources==1.5.0 [2020-10-06T05:29:03.401Z] iso8601==0.1.13 [2020-10-06T05:29:03.401Z] Jinja2==2.11.1 [2020-10-06T05:29:03.401Z] jmespath==0.10.0 [2020-10-06T05:29:03.401Z] jsonpatch==1.26 [2020-10-06T05:29:03.401Z] jsonpointer==2.0 [2020-10-06T05:29:03.401Z] jsonschema==3.2.0 [2020-10-06T05:29:03.401Z] keystoneauth1==4.2.1 [2020-10-06T05:29:03.401Z] kubernetes==11.0.0 [2020-10-06T05:29:03.401Z] lftools==0.34.2 [2020-10-06T05:29:03.401Z] lxml==4.5.0 [2020-10-06T05:29:03.401Z] MarkupSafe==0.23 [2020-10-06T05:29:03.401Z] msgpack==1.0.0 [2020-10-06T05:29:03.401Z] multi-key-dict==2.0.3 [2020-10-06T05:29:03.401Z] munch==2.5.0 [2020-10-06T05:29:03.401Z] netaddr==0.8.0 [2020-10-06T05:29:03.401Z] netifaces==0.10.9 [2020-10-06T05:29:03.401Z] niet==1.4.2 [2020-10-06T05:29:03.401Z] nodeenv==1.3.5 [2020-10-06T05:29:03.401Z] oauth2client==4.1.3 [2020-10-06T05:29:03.401Z] oauthlib==3.1.0 [2020-10-06T05:29:03.401Z] openstacksdk==0.50.0 [2020-10-06T05:29:03.401Z] os-client-config==2.1.0 [2020-10-06T05:29:03.401Z] os-service-types==1.7.0 [2020-10-06T05:29:03.401Z] osc-lib==2.2.1 [2020-10-06T05:29:03.401Z] oslo.config==8.3.2 [2020-10-06T05:29:03.401Z] oslo.context==3.1.1 [2020-10-06T05:29:03.401Z] oslo.i18n==5.0.1 [2020-10-06T05:29:03.401Z] oslo.log==4.4.0 [2020-10-06T05:29:03.401Z] oslo.serialization==4.0.1 [2020-10-06T05:29:03.401Z] oslo.utils==4.6.0 [2020-10-06T05:29:03.401Z] packaging==20.4 [2020-10-06T05:29:03.401Z] pbr==5.4.4 [2020-10-06T05:29:03.401Z] pluggy==0.13.1 [2020-10-06T05:29:03.401Z] prettytable==0.7.2 [2020-10-06T05:29:03.401Z] py==1.9.0 [2020-10-06T05:29:03.401Z] pyasn1==0.4.8 [2020-10-06T05:29:03.401Z] pyasn1-modules==0.2.8 [2020-10-06T05:29:03.401Z] pycparser==2.20 [2020-10-06T05:29:03.401Z] pygerrit2==2.0.10 [2020-10-06T05:29:03.401Z] PyGithub==1.46 [2020-10-06T05:29:03.401Z] pyinotify==0.9.6 [2020-10-06T05:29:03.401Z] PyJWT==1.7.1 [2020-10-06T05:29:03.401Z] pyparsing==2.4.7 [2020-10-06T05:29:03.401Z] pyperclip==1.8.0 [2020-10-06T05:29:03.401Z] pyroute2==0.4.13 [2020-10-06T05:29:03.401Z] pyrsistent==0.15.7 [2020-10-06T05:29:03.401Z] PySocks==1.6.8 [2020-10-06T05:29:03.401Z] python-cinderclient==7.2.0 [2020-10-06T05:29:03.401Z] python-dateutil==2.8.1 [2020-10-06T05:29:03.401Z] python-heatclient==2.2.1 [2020-10-06T05:29:03.401Z] python-jenkins==1.7.0 [2020-10-06T05:29:03.401Z] python-keystoneclient==4.1.1 [2020-10-06T05:29:03.401Z] python-magnumclient==3.2.1 [2020-10-06T05:29:03.401Z] python-novaclient==17.2.1 [2020-10-06T05:29:03.401Z] python-openstackclient==5.4.0 [2020-10-06T05:29:03.401Z] python-swiftclient==3.10.1 [2020-10-06T05:29:03.401Z] pytz==2020.1 [2020-10-06T05:29:03.401Z] PyYAML==5.3 [2020-10-06T05:29:03.401Z] requests==2.23.0 [2020-10-06T05:29:03.401Z] requests-oauthlib==1.3.0 [2020-10-06T05:29:03.401Z] requestsexceptions==1.4.0 [2020-10-06T05:29:03.401Z] rfc3986==1.4.0 [2020-10-06T05:29:03.401Z] rpm==4.11.3 [2020-10-06T05:29:03.401Z] rsa==4.0 [2020-10-06T05:29:03.401Z] ruamel.yaml==0.16.10 [2020-10-06T05:29:03.401Z] ruamel.yaml.clib==0.2.0 [2020-10-06T05:29:03.401Z] s3transfer==0.3.3 [2020-10-06T05:29:03.401Z] shade==1.27.2 [2020-10-06T05:29:03.401Z] simplejson==3.17.2 [2020-10-06T05:29:03.401Z] six==1.14.0 [2020-10-06T05:29:03.401Z] soupsieve==2.0 [2020-10-06T05:29:03.401Z] stevedore==3.2.2 [2020-10-06T05:29:03.401Z] tabulate==0.8.6 [2020-10-06T05:29:03.401Z] toml==0.10.0 [2020-10-06T05:29:03.401Z] tox==3.20.0 [2020-10-06T05:29:03.401Z] tqdm==4.43.0 [2020-10-06T05:29:03.401Z] urllib3==1.25.8 [2020-10-06T05:29:03.401Z] virtualenv==20.0.33 [2020-10-06T05:29:03.401Z] wcwidth==0.2.5 [2020-10-06T05:29:03.401Z] websocket-client==0.57.0 [2020-10-06T05:29:03.401Z] wrapt==1.12.1 [2020-10-06T05:29:03.401Z] xdg==3.0.2 [2020-10-06T05:29:03.401Z] xmltodict==0.12.0 [2020-10-06T05:29:03.401Z] yq==2.11.1 [2020-10-06T05:29:03.401Z] zipp==3.3.0 [2020-10-06T05:29:04.903Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:29:08.439Z] 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-06T05:29:12.903Z] Python 2.7.5 [2020-10-06T05:29:12.903Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-06T05:29:13.552Z] 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-06T05:29:13.552Z] ansible==2.9.7 [2020-10-06T05:29:13.552Z] Babel==0.9.6 [2020-10-06T05:29:13.552Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-06T05:29:13.552Z] beautifulsoup4==4.4.1 [2020-10-06T05:29:13.552Z] bodhi==2.11.0 [2020-10-06T05:29:13.552Z] bodhi-client==2.11.0 [2020-10-06T05:29:13.552Z] CCColUtils==1.4 [2020-10-06T05:29:13.552Z] cffi==1.6.0 [2020-10-06T05:29:13.552Z] chardet==2.2.1 [2020-10-06T05:29:13.552Z] click==6.7 [2020-10-06T05:29:13.552Z] cloud-init==18.5 [2020-10-06T05:29:13.552Z] configobj==4.7.2 [2020-10-06T05:29:13.552Z] cryptography==1.7.2 [2020-10-06T05:29:13.552Z] decorator==3.4.0 [2020-10-06T05:29:13.552Z] distro==1.2.0 [2020-10-06T05:29:13.552Z] enum34==1.0.4 [2020-10-06T05:29:13.552Z] fedpkg==1.38 [2020-10-06T05:29:13.552Z] futures==3.1.1 [2020-10-06T05:29:13.552Z] gitdb==0.6.4 [2020-10-06T05:29:13.553Z] GitPython==1.0.1 [2020-10-06T05:29:13.553Z] html5lib==0.999 [2020-10-06T05:29:13.553Z] httplib2==0.9.2 [2020-10-06T05:29:13.553Z] idna==2.4 [2020-10-06T05:29:13.553Z] iniparse==0.4 [2020-10-06T05:29:13.553Z] ipaddress==1.0.16 [2020-10-06T05:29:13.553Z] IPy==0.75 [2020-10-06T05:29:13.553Z] javapackages==1.0.0 [2020-10-06T05:29:13.553Z] Jinja2==2.7.2 [2020-10-06T05:29:13.553Z] jmespath==0.9.4 [2020-10-06T05:29:13.553Z] jsonpatch==1.2 [2020-10-06T05:29:13.553Z] jsonpointer==1.9 [2020-10-06T05:29:13.553Z] kerberos==1.1 [2020-10-06T05:29:13.553Z] kitchen==1.1.1 [2020-10-06T05:29:13.553Z] langtable==0.0.31 [2020-10-06T05:29:13.553Z] lockfile==0.9.1 [2020-10-06T05:29:13.553Z] lxml==3.2.1 [2020-10-06T05:29:13.553Z] MarkupSafe==0.11 [2020-10-06T05:29:13.553Z] munch==2.0.2 [2020-10-06T05:29:13.553Z] offtrac==0.1.0 [2020-10-06T05:29:13.553Z] openidc-client==0.6.0 [2020-10-06T05:29:13.553Z] packagedb-cli==2.14.1 [2020-10-06T05:29:13.553Z] paramiko==2.1.1 [2020-10-06T05:29:13.553Z] perf==0.1 [2020-10-06T05:29:13.553Z] ply==3.4 [2020-10-06T05:29:13.553Z] policycoreutils-default-encoding==0.1 [2020-10-06T05:29:13.553Z] prettytable==0.7.2 [2020-10-06T05:29:13.553Z] pyasn1==0.1.9 [2020-10-06T05:29:13.553Z] pycparser==2.14 [2020-10-06T05:29:13.553Z] pycurl==7.19.0 [2020-10-06T05:29:13.553Z] pygobject==3.22.0 [2020-10-06T05:29:13.553Z] pygpgme==0.3 [2020-10-06T05:29:13.553Z] pyliblzma==0.5.3 [2020-10-06T05:29:13.553Z] pyOpenSSL==0.13.1 [2020-10-06T05:29:13.553Z] pyparsing==1.5.6 [2020-10-06T05:29:13.553Z] pyserial==2.6 [2020-10-06T05:29:13.553Z] python-augeas==0.5.0 [2020-10-06T05:29:13.553Z] python-bugzilla==2.3.0 [2020-10-06T05:29:13.553Z] python-dateutil==1.5 [2020-10-06T05:29:13.553Z] python-fedora==0.10.0 [2020-10-06T05:29:13.553Z] python-linux-procfs==0.4.9 [2020-10-06T05:29:13.553Z] python-yubico==1.2.3 [2020-10-06T05:29:13.553Z] pyudev==0.15 [2020-10-06T05:29:13.553Z] pyusb==1.0.0b1 [2020-10-06T05:29:13.553Z] pyxattr==0.5.1 [2020-10-06T05:29:13.553Z] PyYAML==3.10 [2020-10-06T05:29:13.553Z] requests==2.6.0 [2020-10-06T05:29:13.553Z] requests-kerberos==0.7.0 [2020-10-06T05:29:13.553Z] rpkg==1.60 [2020-10-06T05:29:13.553Z] schedutils==0.4 [2020-10-06T05:29:13.553Z] seobject==0.1 [2020-10-06T05:29:13.553Z] sepolicy==1.1 [2020-10-06T05:29:13.553Z] six==1.9.0 [2020-10-06T05:29:13.553Z] smmap==0.9.0 [2020-10-06T05:29:13.553Z] urlgrabber==3.10 [2020-10-06T05:29:13.553Z] urllib3==1.10.2 [2020-10-06T05:29:13.553Z] virtualenv==15.1.0 [2020-10-06T05:29:13.553Z] yum-langpacks==0.4.2 [2020-10-06T05:29:13.553Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-06T05:29:13.567Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:29:13.905Z] ---> sudo-logs.sh [2020-10-06T05:29:13.905Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-06T05:29:14.527Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:29:15.104Z] ---> job-cost.sh [2020-10-06T05:29:15.104Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-MqCj [2020-10-06T05:29:30.192Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:29:30.192Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:29:30.192Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:29:30.469Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:29:30.469Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:29:30.469Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:29:30.734Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:29:31.024Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:29:31.292Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:29:31.292Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:29:31.561Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:29:31.561Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:29:35.844Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-06T05:30:14.956Z] lf-activate-venv(): INFO: Adding /tmp/venv-MqCj/bin to PATH [2020-10-06T05:30:14.956Z] INFO: No Stack... [2020-10-06T05:30:15.544Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-06T05:30:16.515Z] INFO: Archiving Costs [Pipeline] echo [2020-10-06T05:30:16.535Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:30:16.858Z] ---> logs-deploy.sh [2020-10-06T05:30:16.858Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-613/2 [2020-10-06T05:30:16.858Z] INFO: archiving workspace using pattern(s): [2020-10-06T05:30:19.496Z] Archives upload complete. [2020-10-06T05:30:19.496Z] INFO: archiving logs to Nexus