Branch indexing 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 jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 5d943473fe8cb7b2263b29163a15a9eda06ca963 rather than 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd Obtained Jenkinsfile from 5d943473fe8cb7b2263b29163a15a9eda06ca963 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2965 in /w/workspace/dgexfoundry_device-sdk-go_PR-595 [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-595 # 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 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd Merge succeeded, producing 0f961d1745574fd78ea5265a8c6a2827eb98d466 Checking out Revision 0f961d1745574fd78ea5265a8c6a2827eb98d466 (PR-595) > 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/595/head:refs/remotes/origin/PR-595 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd # 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 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f961d1745574fd78ea5265a8c6a2827eb98d466 # timeout=10 Commit message: "Merge commit '5d943473fe8cb7b2263b29163a15a9eda06ca963' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 4c239c565a541293b80eec60416db80ec9ad37f0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-02T02:43:50.997Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-02T02:43:51.348Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-02T02:43:51.484Z] ========================================================= [2020-10-02T02:43:51.484Z] EdgeX Global Pipelines Version Info [2020-10-02T02:43:51.485Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-02T02:43:54.283Z] ------------------- [2020-10-02T02:43:54.283Z] stable info: [2020-10-02T02:43:54.283Z] ------------------- [2020-10-02T02:43:54.283Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-02T02:43:54.283Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-02T02:43:54.283Z] Message: update stable to v1.0.131 [2020-10-02T02:43:55.294Z] ------------------- [2020-10-02T02:43:55.294Z] experimental info: [2020-10-02T02:43:55.294Z] ------------------- [2020-10-02T02:43:55.294Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-10-02T02:43:55.294Z] Commit SHA: 037048ec40675a742bbe4f4e63335516fc22ae8d [2020-10-02T02:43:55.294Z] Message: update experimental to v1.0.133 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-02T02:43:55.667Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-02T02:43:55.751Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-02T02:43:55.840Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-02T02:43:55.926Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-02T02:43:56.014Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-02T02:43:56.119Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-02T02:43:56.286Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-02T02:43:56.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-02T02:43:56.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-02T02:43:56.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-02T02:43:56.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-02T02:43:56.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-02T02:43:56.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-02T02:43:56.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-02T02:43:57.043Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-02T02:43:57.132Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-02T02:43:57.224Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-02T02:43:57.345Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-02T02:43:57.467Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-02T02:43:57.548Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-02T02:43:57.635Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-02T02:43:57.719Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-02T02:43:57.846Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-02T02:43:57.950Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-02T02:43:58.040Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-02T02:43:58.181Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-595 [Pipeline] echo [2020-10-02T02:43:58.276Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-595 [Pipeline] echo [2020-10-02T02:43:58.364Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-595 [Pipeline] echo [2020-10-02T02:43:58.480Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0f961d1745574fd78ea5265a8c6a2827eb98d466 [Pipeline] echo [2020-10-02T02:43:58.574Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0f961d1 [Pipeline] echo [2020-10-02T02:43:58.664Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-02T02:43:59.305Z] + git log --format=format:%s -1 0f961d1745574fd78ea5265a8c6a2827eb98d466 [Pipeline] echo [2020-10-02T02:43:59.415Z] GIT_COMMIT: 0f961d1745574fd78ea5265a8c6a2827eb98d466, Commit Message: Merge commit '5d943473fe8cb7b2263b29163a15a9eda06ca963' into HEAD [Pipeline] echo [2020-10-02T02:43:59.463Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:44:00.054Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-02T02:44:00.357Z] [2020-10-02T02:44:00.357Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:44:00.730Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-02T02:44:00.730Z] latest: Pulling from edgex-devops/git-semver [2020-10-02T02:44:00.730Z] 31603596830f: Pulling fs layer [2020-10-02T02:44:00.730Z] 2a8b12db71e7: Pulling fs layer [2020-10-02T02:44:00.730Z] 6ca5941a6612: Pulling fs layer [2020-10-02T02:44:00.730Z] ecc8261a40a4: Pulling fs layer [2020-10-02T02:44:00.730Z] ecc8261a40a4: Waiting [2020-10-02T02:44:00.730Z] 2a8b12db71e7: Verifying Checksum [2020-10-02T02:44:00.730Z] 2a8b12db71e7: Download complete [2020-10-02T02:44:00.999Z] 31603596830f: Verifying Checksum [2020-10-02T02:44:00.999Z] 31603596830f: Download complete [2020-10-02T02:44:01.273Z] ecc8261a40a4: Verifying Checksum [2020-10-02T02:44:01.273Z] ecc8261a40a4: Download complete [2020-10-02T02:44:01.273Z] 6ca5941a6612: Download complete [2020-10-02T02:44:01.552Z] 31603596830f: Pull complete [2020-10-02T02:44:01.552Z] 2a8b12db71e7: Pull complete [2020-10-02T02:44:03.051Z] 6ca5941a6612: Pull complete [2020-10-02T02:44:03.318Z] ecc8261a40a4: Pull complete [2020-10-02T02:44:03.318Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-02T02:44:03.318Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-02T02:44:03.318Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-02T02:44:03.485Z] prd-centos7-docker-4c-2g-2965 does not seem to be running inside a container [2020-10-02T02:44:03.561Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-595 -v /w/workspace/dgexfoundry_device-sdk-go_PR-595:/w/workspace/dgexfoundry_device-sdk-go_PR-595:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-02T02:44:05.842Z] $ docker top 060af027a80daf89fc94332b00a85bedefc12f971966bf8e77b9671be96104bb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-02T02:44:06.229Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-02T02:44:06.229Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-02T02:44:06.483Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-02T02:44:06.489Z] $ docker exec 060af027a80daf89fc94332b00a85bedefc12f971966bf8e77b9671be96104bb ssh-agent [2020-10-02T02:44:06.703Z] SSH_AUTH_SOCK=/tmp/ssh-LgDH1DFZZUbL/agent.11 [2020-10-02T02:44:06.703Z] SSH_AGENT_PID=17 [2020-10-02T02:44:06.717Z] Running ssh-add (command line suppressed) [2020-10-02T02:44:06.880Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/private_key_232425699862452671.key (/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/private_key_232425699862452671.key) [2020-10-02T02:44:06.952Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-02T02:44:07.298Z] + git describe --exact-match --tags HEAD [2020-10-02T02:44:07.298Z] fatal: no tag exactly matches '0f961d1745574fd78ea5265a8c6a2827eb98d466' [Pipeline] } [2020-10-02T02:44:07.329Z] $ docker exec --env ******** --env ******** 060af027a80daf89fc94332b00a85bedefc12f971966bf8e77b9671be96104bb ssh-agent -k [2020-10-02T02:44:07.501Z] unset SSH_AUTH_SOCK; [2020-10-02T02:44:07.502Z] unset SSH_AGENT_PID; [2020-10-02T02:44:07.502Z] echo Agent pid 17 killed; [2020-10-02T02:44:07.573Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-02T02:44:07.666Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-02T02:44:07.666Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-02T02:44:07.823Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-02T02:44:07.823Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-02T02:44:08.034Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-02T02:44:08.041Z] $ docker exec 060af027a80daf89fc94332b00a85bedefc12f971966bf8e77b9671be96104bb ssh-agent [2020-10-02T02:44:08.270Z] SSH_AUTH_SOCK=/tmp/ssh-uXFRLcFDdbot/agent.46 [2020-10-02T02:44:08.270Z] SSH_AGENT_PID=51 [2020-10-02T02:44:08.277Z] Running ssh-add (command line suppressed) [2020-10-02T02:44:08.433Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/private_key_8135953669099115625.key (/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/private_key_8135953669099115625.key) [2020-10-02T02:44:08.530Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-02T02:44:08.873Z] + git semver init [2020-10-02T02:44:08.873Z] # -> Open(): unable to determine branch for HEAD [2020-10-02T02:44:08.873Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-595/.git [2020-10-02T02:44:08.873Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-595 [2020-10-02T02:44:08.873Z] # $SEMVER_REMOTE_NAME = origin [2020-10-02T02:44:08.873Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-02T02:44:08.873Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-02T02:44:08.873Z] # $SEMVER_BRANCH = PR-595 [2020-10-02T02:44:08.873Z] # $SEMVER_TEMP = /tmp/semver-037026882 [2020-10-02T02:44:08.873Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-02T02:44:09.839Z] # '/tmp/semver-037026882' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-595/.semver' [2020-10-02T02:44:09.839Z] # -> Force: false [2020-10-02T02:44:09.839Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-595/.semver [Pipeline] } [2020-10-02T02:44:09.861Z] $ docker exec --env ******** --env ******** 060af027a80daf89fc94332b00a85bedefc12f971966bf8e77b9671be96104bb ssh-agent -k [2020-10-02T02:44:10.052Z] unset SSH_AUTH_SOCK; [2020-10-02T02:44:10.053Z] unset SSH_AGENT_PID; [2020-10-02T02:44:10.053Z] echo Agent pid 51 killed; [2020-10-02T02:44:10.110Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-02T02:44:10.644Z] + git semver [Pipeline] } [2020-10-02T02:44:10.690Z] $ docker stop --time=1 060af027a80daf89fc94332b00a85bedefc12f971966bf8e77b9671be96104bb [2020-10-02T02:44:12.431Z] $ docker rm -f 060af027a80daf89fc94332b00a85bedefc12f971966bf8e77b9671be96104bb [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-02T02:44:13.946Z] Stashed 41 file(s) [Pipeline] echo [2020-10-02T02:44:13.949Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-02T02:44:14.065Z] 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-02T02:44:29.607Z] Still waiting to schedule task [2020-10-02T02:44:29.607Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-02T02:44:29.610Z] Still waiting to schedule task [2020-10-02T02:44:29.610Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-02T02:45:39.334Z] Running on prd-centos7-docker-4c-2g-2968 in /w/workspace/dgexfoundry_device-sdk-go_PR-595 [Pipeline] { [Pipeline] ws [2020-10-02T02:45:39.392Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2020-10-02T02:45:41.850Z] using credential edgex-jenkins-ssh [2020-10-02T02:45:41.902Z] Cloning the remote Git repository [2020-10-02T02:45:41.932Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-02T02:45:42.001Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2020-10-02T02:45:42.059Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-02T02:45:42.059Z] > git --version # timeout=10 [2020-10-02T02:45:42.067Z] > git --version # 'git version 2.16.5' [2020-10-02T02:45:42.068Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-02T02:45:42.097Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-02T02:45:42.813Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-02T02:45:42.821Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-02T02:45:42.832Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-02T02:45:42.846Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-02T02:45:42.847Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-02T02:45:42.851Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/595/head:refs/remotes/origin/PR-595 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-02T02:45:43.367Z] Merging remotes/origin/master commit 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd [2020-10-02T02:45:43.505Z] Merge succeeded, producing deeb878201e046cca9a7dcfbec66f53e8e52aa0e [2020-10-02T02:45:43.505Z] Checking out Revision deeb878201e046cca9a7dcfbec66f53e8e52aa0e (PR-595) [2020-10-02T02:45:43.379Z] > git config core.sparsecheckout # timeout=10 [2020-10-02T02:45:43.385Z] > git checkout -f 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd # timeout=10 [2020-10-02T02:45:43.433Z] > git remote # timeout=10 [2020-10-02T02:45:43.439Z] > git config --get remote.origin.url # timeout=10 [2020-10-02T02:45:43.445Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-02T02:45:43.448Z] > git merge 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 [2020-10-02T02:45:43.501Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-02T02:45:43.510Z] > git config core.sparsecheckout # timeout=10 [2020-10-02T02:45:43.517Z] > git checkout -f deeb878201e046cca9a7dcfbec66f53e8e52aa0e # timeout=10 [2020-10-02T02:45:47.133Z] Commit message: "Merge commit '5d943473fe8cb7b2263b29163a15a9eda06ca963' into HEAD" [2020-10-02T02:45:47.148Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-10-02T02:45:47.139Z] > git rev-list --no-walk 4c239c565a541293b80eec60416db80ec9ad37f0 # timeout=10 [Pipeline] echo [2020-10-02T02:45:48.042Z] ========================================================= [2020-10-02T02:45:48.042Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-02T02:45:48.042Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:45:48.758Z] + 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-02T02:45:49.334Z] Sending build context to Docker daemon 3.458MB [2020-10-02T02:45:49.334Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-02T02:45:49.334Z] Step 2/8 : FROM ${BASE} [2020-10-02T02:45:49.334Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-02T02:45:49.334Z] df20fa9351a1: Pulling fs layer [2020-10-02T02:45:49.334Z] ed8968b2872e: Pulling fs layer [2020-10-02T02:45:49.334Z] a92cc7c5fd73: Pulling fs layer [2020-10-02T02:45:49.334Z] e871e8e8d7a9: Pulling fs layer [2020-10-02T02:45:49.334Z] e73272ec9a57: Pulling fs layer [2020-10-02T02:45:49.334Z] 1e910a182e73: Pulling fs layer [2020-10-02T02:45:49.334Z] 4e634b169226: Pulling fs layer [2020-10-02T02:45:49.334Z] e73272ec9a57: Waiting [2020-10-02T02:45:49.334Z] 1e910a182e73: Waiting [2020-10-02T02:45:49.334Z] 4e634b169226: Waiting [2020-10-02T02:45:49.334Z] e871e8e8d7a9: Waiting [2020-10-02T02:45:49.334Z] a92cc7c5fd73: Verifying Checksum [2020-10-02T02:45:49.334Z] a92cc7c5fd73: Download complete [2020-10-02T02:45:49.334Z] ed8968b2872e: Download complete [2020-10-02T02:45:49.334Z] e73272ec9a57: Verifying Checksum [2020-10-02T02:45:49.334Z] e73272ec9a57: Download complete [2020-10-02T02:45:49.334Z] 1e910a182e73: Verifying Checksum [2020-10-02T02:45:49.334Z] 1e910a182e73: Download complete [2020-10-02T02:45:49.334Z] df20fa9351a1: Verifying Checksum [2020-10-02T02:45:49.334Z] df20fa9351a1: Download complete [2020-10-02T02:45:49.599Z] df20fa9351a1: Pull complete [2020-10-02T02:45:49.861Z] ed8968b2872e: Pull complete [2020-10-02T02:45:49.861Z] a92cc7c5fd73: Pull complete [2020-10-02T02:45:51.793Z] 4e634b169226: Verifying Checksum [2020-10-02T02:45:51.793Z] 4e634b169226: Download complete [2020-10-02T02:45:51.793Z] e871e8e8d7a9: Verifying Checksum [2020-10-02T02:45:51.793Z] e871e8e8d7a9: Download complete [2020-10-02T02:45:57.111Z] e871e8e8d7a9: Pull complete [2020-10-02T02:45:57.111Z] e73272ec9a57: Pull complete [2020-10-02T02:45:57.111Z] 1e910a182e73: Pull complete [2020-10-02T02:46:05.274Z] 4e634b169226: Pull complete [2020-10-02T02:46:05.274Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-02T02:46:05.274Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-02T02:46:05.274Z] ---> f7629b54cfaa [2020-10-02T02:46:05.274Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-02T02:46:05.536Z] ---> Running in 3e8afb0dcf42 [2020-10-02T02:46:05.799Z] Removing intermediate container 3e8afb0dcf42 [2020-10-02T02:46:05.799Z] ---> 6495bb94c4e2 [2020-10-02T02:46:05.800Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-02T02:46:05.800Z] ---> Running in 27f2fc2cad24 [2020-10-02T02:46:07.198Z] Removing intermediate container 27f2fc2cad24 [2020-10-02T02:46:07.198Z] ---> 605a39245350 [2020-10-02T02:46:07.198Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-02T02:46:07.459Z] ---> Running in c17daf34b9c5 [2020-10-02T02:46:07.723Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-02T02:46:08.667Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-02T02:46:09.613Z] OK: 166 MiB in 39 packages [2020-10-02T02:46:09.878Z] Removing intermediate container c17daf34b9c5 [2020-10-02T02:46:09.878Z] ---> 799b5a58aaad [2020-10-02T02:46:09.878Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-02T02:46:10.146Z] ---> Running in a1326e4af740 [2020-10-02T02:46:10.146Z] Removing intermediate container a1326e4af740 [2020-10-02T02:46:10.146Z] ---> b66a5976347c [2020-10-02T02:46:10.146Z] Step 7/8 : COPY . . [2020-10-02T02:46:11.535Z] ---> 35cad1b01f06 [2020-10-02T02:46:11.535Z] Step 8/8 : RUN go mod download [2020-10-02T02:46:11.535Z] ---> Running in 631bc423a0d3 [2020-10-02T02:46:29.726Z] Removing intermediate container 631bc423a0d3 [2020-10-02T02:46:29.726Z] ---> eae2ee155ce2 [2020-10-02T02:46:29.726Z] Successfully built eae2ee155ce2 [2020-10-02T02:46:29.726Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:46:30.078Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-02T02:46:30.078Z] . [Pipeline] withDockerContainer [2020-10-02T02:46:30.189Z] prd-centos7-docker-4c-2g-2968 does not seem to be running inside a container [2020-10-02T02:46:30.242Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-02T02:46:31.033Z] $ docker top 84a8e9f3bbaf51a1aa9579f3d13ec57a45fcb061a7b3d69a756dd9a32a8fca52 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-02T02:46:31.556Z] + go version [2020-10-02T02:46:31.556Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-02T02:46:31.573Z] $ docker stop --time=1 84a8e9f3bbaf51a1aa9579f3d13ec57a45fcb061a7b3d69a756dd9a32a8fca52 [2020-10-02T02:46:32.934Z] $ docker rm -f 84a8e9f3bbaf51a1aa9579f3d13ec57a45fcb061a7b3d69a756dd9a32a8fca52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:46:33.844Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-02T02:46:33.844Z] . [Pipeline] withDockerContainer [2020-10-02T02:46:34.071Z] prd-centos7-docker-4c-2g-2968 does not seem to be running inside a container [2020-10-02T02:46:34.122Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-02T02:46:34.709Z] $ docker top 5dae14170cd5a50f50b76705db416c929749331617f62e7f339965ce9e0077a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-02T02:46:35.182Z] + make test [2020-10-02T02:46:35.182Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-02T02:46:41.828Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-02T02:46:56.869Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-02T02:46:56.869Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-02T02:46:56.869Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-02T02:46:56.869Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.063s coverage: 21.6% of statements [2020-10-02T02:46:56.869Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.443s coverage: 97.1% of statements [2020-10-02T02:47:29.039Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.050s coverage: 9.4% of statements [2020-10-02T02:47:29.039Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.056s coverage: 21.9% of statements [2020-10-02T02:47:29.039Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-02T02:47:29.039Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.204s coverage: 39.5% of statements [2020-10-02T02:47:29.039Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-02T02:47:29.039Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.274s coverage: 65.4% of statements [2020-10-02T02:47:29.039Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-02T02:47:29.039Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-02T02:47:29.039Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-02T02:47:29.039Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-02T02:47:29.039Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.066s coverage: 52.6% of statements [2020-10-02T02:47:29.039Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-02T02:47:29.039Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.516s coverage: 68.9% of statements [2020-10-02T02:47:29.039Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-02T02:47:29.039Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-02T02:47:29.039Z] GO111MODULE=on go vet ./... [2020-10-02T02:47:35.712Z] gofmt -l . [2020-10-02T02:47:35.712Z] [ "`gofmt -l .`" = "" ] [2020-10-02T02:47:35.712Z] ./bin/test-attribution-txt.sh [2020-10-02T02:47:35.712Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-02T02:47:36.026Z] Stashed 1 file(s) [Pipeline] } [2020-10-02T02:47:36.035Z] $ docker stop --time=1 5dae14170cd5a50f50b76705db416c929749331617f62e7f339965ce9e0077a4 [2020-10-02T02:47:37.974Z] $ docker rm -f 5dae14170cd5a50f50b76705db416c929749331617f62e7f339965ce9e0077a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-02T02:47:39.627Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-02T02:47:39.923Z] + ls -al . [2020-10-02T02:47:39.923Z] total 192 [2020-10-02T02:47:39.923Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 2 02:47 . [2020-10-02T02:47:39.923Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 2 02:45 .. [2020-10-02T02:47:39.923Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 2 02:45 bin [2020-10-02T02:47:39.923Z] -rw-r--r--. 1 jenkins jenkins 111041 Oct 2 02:47 coverage.out [2020-10-02T02:47:39.923Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 2 02:45 Dockerfile.build [2020-10-02T02:47:39.923Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 2 02:45 .dockerignore [2020-10-02T02:47:39.923Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 2 02:45 example [2020-10-02T02:47:39.923Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 2 02:45 .git [2020-10-02T02:47:39.923Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 2 02:45 .github [2020-10-02T02:47:39.923Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 2 02:45 .gitignore [2020-10-02T02:47:39.923Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 2 02:47 go.mod [2020-10-02T02:47:39.923Z] -rw-r--r--. 1 jenkins jenkins 13567 Oct 2 02:47 go.sum [2020-10-02T02:47:39.923Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 2 02:45 internal [2020-10-02T02:47:39.923Z] -rw-rw-r--. 1 jenkins jenkins 785 Oct 2 02:45 Jenkinsfile [2020-10-02T02:47:39.923Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 2 02:45 LICENSE [2020-10-02T02:47:39.923Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 2 02:45 Makefile [2020-10-02T02:47:39.923Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 2 02:45 openapi [2020-10-02T02:47:39.923Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 2 02:45 pkg [2020-10-02T02:47:39.923Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 2 02:45 README.md [2020-10-02T02:47:39.923Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 2 02:45 RELEASE-NOTES.txt [2020-10-02T02:47:39.923Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 2 02:45 .semver [2020-10-02T02:47:39.923Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 2 02:45 snap [2020-10-02T02:47:39.923Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 2 02:44 VERSION [2020-10-02T02:47:39.923Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 2 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:47:40.228Z] + 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=0f961d1745574fd78ea5265a8c6a2827eb98d466 --label arch=amd64 --label version=0.0.0 . [2020-10-02T02:47:40.490Z] Sending build context to Docker daemon 3.569MB [2020-10-02T02:47:40.490Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-02T02:47:40.490Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-02T02:47:40.490Z] ---> eae2ee155ce2 [2020-10-02T02:47:40.490Z] Step 3/24 : ARG MAKE='make build' [2020-10-02T02:47:41.065Z] ---> Running in c1baaa167141 [2020-10-02T02:47:41.328Z] Removing intermediate container c1baaa167141 [2020-10-02T02:47:41.328Z] ---> 3d9274770381 [2020-10-02T02:47:41.328Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-02T02:47:41.328Z] ---> Running in a31d5ce52e45 [2020-10-02T02:47:41.328Z] Removing intermediate container a31d5ce52e45 [2020-10-02T02:47:41.328Z] ---> 3bcaccb401d7 [2020-10-02T02:47:41.328Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-02T02:47:41.591Z] ---> Running in 92a1836858cf [2020-10-02T02:47:41.591Z] Removing intermediate container 92a1836858cf [2020-10-02T02:47:41.591Z] ---> 6c5e09701204 [2020-10-02T02:47:41.591Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-02T02:47:41.854Z] ---> Running in 5251493eec35 [2020-10-02T02:47:42.806Z] Removing intermediate container 5251493eec35 [2020-10-02T02:47:42.806Z] ---> 69234de438e6 [2020-10-02T02:47:42.806Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-02T02:47:42.806Z] ---> Running in 9dad7f5390b3 [2020-10-02T02:47:43.071Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-02T02:47:44.017Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-02T02:47:44.592Z] OK: 166 MiB in 39 packages [2020-10-02T02:47:45.169Z] Removing intermediate container 9dad7f5390b3 [2020-10-02T02:47:45.169Z] ---> 9121ca8cc24b [2020-10-02T02:47:45.169Z] Step 8/24 : COPY . . [2020-10-02T02:47:46.116Z] ---> 6fad3fbbafd7 [2020-10-02T02:47:46.116Z] Step 9/24 : RUN ${MAKE} [2020-10-02T02:47:46.116Z] ---> Running in 1b48411ae746 [2020-10-02T02:47:46.694Z] 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-02T02:47:54.956Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-02T02:47:56.885Z] Removing intermediate container 1b48411ae746 [2020-10-02T02:47:56.885Z] ---> 3203b6441625 [2020-10-02T02:47:56.885Z] Step 10/24 : FROM scratch [2020-10-02T02:47:56.885Z] ---> [2020-10-02T02:47:56.885Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-02T02:47:56.885Z] ---> Running in 0e8251f677c9 [2020-10-02T02:47:56.885Z] Removing intermediate container 0e8251f677c9 [2020-10-02T02:47:56.885Z] ---> 91cf23350fa1 [2020-10-02T02:47:56.885Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-02T02:47:56.885Z] ---> Running in 06eb98d036c7 [2020-10-02T02:47:56.885Z] Removing intermediate container 06eb98d036c7 [2020-10-02T02:47:56.885Z] ---> 9886eeda9ddd [2020-10-02T02:47:56.885Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-02T02:47:57.150Z] ---> Running in cd89abff8368 [2020-10-02T02:47:57.150Z] Removing intermediate container cd89abff8368 [2020-10-02T02:47:57.150Z] ---> a727cf6c0ee7 [2020-10-02T02:47:57.150Z] Step 14/24 : WORKDIR / [2020-10-02T02:47:57.413Z] ---> Running in 49ec641adab8 [2020-10-02T02:47:57.413Z] Removing intermediate container 49ec641adab8 [2020-10-02T02:47:57.413Z] ---> a4a3a5885cc3 [2020-10-02T02:47:57.413Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-02T02:47:57.986Z] ---> 4dde5a00ea29 [2020-10-02T02:47:57.986Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-02T02:47:58.252Z] ---> 8fc87f1ed368 [2020-10-02T02:47:58.252Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-02T02:47:58.252Z] ---> bd3aa76f1de9 [2020-10-02T02:47:58.252Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-02T02:47:58.516Z] ---> a5c7205eb070 [2020-10-02T02:47:58.516Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-02T02:47:58.778Z] ---> 81afcca00e11 [2020-10-02T02:47:58.778Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-02T02:47:59.041Z] ---> Running in c18e8386f7e4 [2020-10-02T02:47:59.041Z] Removing intermediate container c18e8386f7e4 [2020-10-02T02:47:59.041Z] ---> 5f78e1f47ee0 [2020-10-02T02:47:59.041Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-02T02:47:59.041Z] ---> Running in 983ad118b0ae [2020-10-02T02:47:59.306Z] Removing intermediate container 983ad118b0ae [2020-10-02T02:47:59.306Z] ---> 7c7ab6e1f493 [2020-10-02T02:47:59.306Z] Step 22/24 : LABEL arch=amd64 [2020-10-02T02:47:59.306Z] ---> Running in 8fcb77ddebc6 [2020-10-02T02:47:59.570Z] Removing intermediate container 8fcb77ddebc6 [2020-10-02T02:47:59.570Z] ---> f9e9d5f7307a [2020-10-02T02:47:59.570Z] Step 23/24 : LABEL git_sha=0f961d1745574fd78ea5265a8c6a2827eb98d466 [2020-10-02T02:47:59.570Z] ---> Running in 090d674d6eb9 [2020-10-02T02:47:59.833Z] Removing intermediate container 090d674d6eb9 [2020-10-02T02:47:59.833Z] ---> 1a6cbbb98a56 [2020-10-02T02:47:59.833Z] Step 24/24 : LABEL version=0.0.0 [2020-10-02T02:47:59.833Z] ---> Running in cc7a45a812e6 [2020-10-02T02:48:00.096Z] Removing intermediate container cc7a45a812e6 [2020-10-02T02:48:00.096Z] ---> 4246ca314057 [2020-10-02T02:48:00.096Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-02T02:48:00.096Z] Successfully built 4246ca314057 [2020-10-02T02:48:00.096Z] 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-02T02:49:05.437Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2970 in /w/workspace/dgexfoundry_device-sdk-go_PR-595 [Pipeline] { [Pipeline] ws [2020-10-02T02:49:05.493Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2020-10-02T02:49:10.784Z] using credential edgex-jenkins-ssh [2020-10-02T02:49:10.838Z] Cloning the remote Git repository [2020-10-02T02:49:10.894Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-02T02:49:11.008Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2020-10-02T02:49:11.099Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-02T02:49:11.100Z] > git --version # timeout=10 [2020-10-02T02:49:11.121Z] > git --version # 'git version 2.17.1' [2020-10-02T02:49:11.122Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-02T02:49:11.208Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-02T02:49:12.999Z] Merging remotes/origin/master commit 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd [2020-10-02T02:49:12.279Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-02T02:49:12.294Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-02T02:49:12.324Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-02T02:49:12.361Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-02T02:49:12.362Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-02T02:49:12.375Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/595/head:refs/remotes/origin/PR-595 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-02T02:49:13.023Z] > git config core.sparsecheckout # timeout=10 [2020-10-02T02:49:13.047Z] > git checkout -f 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd # timeout=10 [2020-10-02T02:49:13.484Z] Merge succeeded, producing 976985332a6b286867cd7e57a9224cf52e35b04f [2020-10-02T02:49:13.484Z] Checking out Revision 976985332a6b286867cd7e57a9224cf52e35b04f (PR-595) [2020-10-02T02:49:13.168Z] > git remote # timeout=10 [2020-10-02T02:49:13.189Z] > git config --get remote.origin.url # timeout=10 [2020-10-02T02:49:13.274Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-02T02:49:13.291Z] > git merge 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 [2020-10-02T02:49:13.439Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-02T02:49:13.501Z] > git config core.sparsecheckout # timeout=10 [2020-10-02T02:49:13.534Z] > git checkout -f 976985332a6b286867cd7e57a9224cf52e35b04f # timeout=10 [2020-10-02T02:49:17.837Z] Commit message: "Merge commit '5d943473fe8cb7b2263b29163a15a9eda06ca963' into HEAD" [2020-10-02T02:49:17.863Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-10-02T02:49:17.847Z] > git rev-list --no-walk 4c239c565a541293b80eec60416db80ec9ad37f0 # timeout=10 [Pipeline] echo [2020-10-02T02:49:19.303Z] ========================================================= [2020-10-02T02:49:19.303Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-02T02:49:19.303Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:49:20.533Z] + 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-02T02:49:21.522Z] Sending build context to Docker daemon 3.458MB [2020-10-02T02:49:21.522Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-02T02:49:21.522Z] Step 2/8 : FROM ${BASE} [2020-10-02T02:49:21.800Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-02T02:49:21.800Z] b538f80385f9: Pulling fs layer [2020-10-02T02:49:21.800Z] 74f711af9a0d: Pulling fs layer [2020-10-02T02:49:21.800Z] 99f96fe45779: Pulling fs layer [2020-10-02T02:49:21.800Z] 8529a6b9a6be: Pulling fs layer [2020-10-02T02:49:21.800Z] 45590311c82a: Pulling fs layer [2020-10-02T02:49:21.800Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-02T02:49:21.800Z] 209524e5b208: Pulling fs layer [2020-10-02T02:49:21.800Z] 45590311c82a: Waiting [2020-10-02T02:49:21.800Z] 8529a6b9a6be: Waiting [2020-10-02T02:49:21.800Z] 209524e5b208: Waiting [2020-10-02T02:49:21.800Z] 99f96fe45779: Verifying Checksum [2020-10-02T02:49:21.800Z] 99f96fe45779: Download complete [2020-10-02T02:49:21.800Z] 74f711af9a0d: Verifying Checksum [2020-10-02T02:49:21.800Z] 74f711af9a0d: Download complete [2020-10-02T02:49:21.800Z] 45590311c82a: Verifying Checksum [2020-10-02T02:49:21.800Z] 45590311c82a: Download complete [2020-10-02T02:49:21.800Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-02T02:49:21.800Z] 69ca0ff8b7b3: Download complete [2020-10-02T02:49:21.800Z] b538f80385f9: Verifying Checksum [2020-10-02T02:49:21.800Z] b538f80385f9: Download complete [2020-10-02T02:49:22.405Z] b538f80385f9: Pull complete [2020-10-02T02:49:23.397Z] 74f711af9a0d: Pull complete [2020-10-02T02:49:23.675Z] 99f96fe45779: Pull complete [2020-10-02T02:49:24.667Z] 209524e5b208: Verifying Checksum [2020-10-02T02:49:24.667Z] 209524e5b208: Download complete [2020-10-02T02:49:25.663Z] 8529a6b9a6be: Verifying Checksum [2020-10-02T02:49:25.663Z] 8529a6b9a6be: Download complete [2020-10-02T02:49:35.857Z] 8529a6b9a6be: Pull complete [2020-10-02T02:49:35.857Z] 45590311c82a: Pull complete [2020-10-02T02:49:36.137Z] 69ca0ff8b7b3: Pull complete [2020-10-02T02:49:39.552Z] 209524e5b208: Pull complete [2020-10-02T02:49:39.552Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-02T02:49:39.552Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-02T02:49:39.552Z] ---> 5bddaf1c2fca [2020-10-02T02:49:39.552Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-02T02:49:42.971Z] ---> Running in 4932ebe080be [2020-10-02T02:49:42.971Z] Removing intermediate container 4932ebe080be [2020-10-02T02:49:42.971Z] ---> 7905ae03691b [2020-10-02T02:49:42.971Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-02T02:49:42.971Z] ---> Running in 6f3594e942ab [2020-10-02T02:49:45.606Z] Removing intermediate container 6f3594e942ab [2020-10-02T02:49:45.606Z] ---> a4d7ace20bdb [2020-10-02T02:49:45.607Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-02T02:49:45.888Z] ---> Running in 2a9250e15a14 [2020-10-02T02:49:47.341Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-02T02:49:47.941Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-02T02:49:48.924Z] OK: 142 MiB in 39 packages [2020-10-02T02:49:49.913Z] Removing intermediate container 2a9250e15a14 [2020-10-02T02:49:49.913Z] ---> e44f6c109c9b [2020-10-02T02:49:49.913Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-02T02:49:49.913Z] ---> Running in fadbbae596ff [2020-10-02T02:49:50.521Z] Removing intermediate container fadbbae596ff [2020-10-02T02:49:50.521Z] ---> b7b7db15fa5e [2020-10-02T02:49:50.521Z] Step 7/8 : COPY . . [2020-10-02T02:49:51.983Z] ---> 4eb53fb6843d [2020-10-02T02:49:51.983Z] Step 8/8 : RUN go mod download [2020-10-02T02:49:52.258Z] ---> Running in 5aa546a42fb7 [2020-10-02T02:50:14.447Z] Removing intermediate container 5aa546a42fb7 [2020-10-02T02:50:14.447Z] ---> 1916788d436b [2020-10-02T02:50:14.447Z] Successfully built 1916788d436b [2020-10-02T02:50:14.447Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:50:14.873Z] + docker inspect -f . ci-base-image-arm64 [2020-10-02T02:50:14.873Z] . [Pipeline] withDockerContainer [2020-10-02T02:50:15.163Z] prd-ubuntu18.04-docker-arm64-4c-16g-2970 does not seem to be running inside a container [2020-10-02T02:50:15.253Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-02T02:50:17.145Z] $ docker top beaeb997ab51e1f1f0b735d44af76c528a0e61738b774e7c84611c21ab8477b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-02T02:50:18.516Z] + go version [2020-10-02T02:50:18.516Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-02T02:50:18.540Z] $ docker stop --time=1 beaeb997ab51e1f1f0b735d44af76c528a0e61738b774e7c84611c21ab8477b7 [2020-10-02T02:50:20.418Z] $ docker rm -f beaeb997ab51e1f1f0b735d44af76c528a0e61738b774e7c84611c21ab8477b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:50:21.417Z] + docker inspect -f . ci-base-image-arm64 [2020-10-02T02:50:21.417Z] . [Pipeline] withDockerContainer [2020-10-02T02:50:21.686Z] prd-ubuntu18.04-docker-arm64-4c-16g-2970 does not seem to be running inside a container [2020-10-02T02:50:21.774Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-02T02:50:23.581Z] $ docker top 09394ddace3fc4aefb2117e96b33597373bafb851917b6099f0d5874e797cafe -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-02T02:50:24.989Z] + make test [2020-10-02T02:50:24.989Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-02T02:50:47.181Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-02T02:51:26.241Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-02T02:51:26.241Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-02T02:51:26.241Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-02T02:51:26.241Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.165s coverage: 21.6% of statements [2020-10-02T02:51:30.584Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.179s coverage: 97.1% of statements [2020-10-02T02:51:57.427Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.119s coverage: 9.4% of statements [2020-10-02T02:51:57.427Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.120s coverage: 21.9% of statements [2020-10-02T02:51:57.427Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-02T02:51:57.427Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.548s coverage: 39.5% of statements [2020-10-02T02:51:57.427Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-02T02:51:57.427Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.782s coverage: 65.4% of statements [2020-10-02T02:51:57.427Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-02T02:51:57.427Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-02T02:51:57.427Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-02T02:51:57.427Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-02T02:51:57.427Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.179s coverage: 52.6% of statements [2020-10-02T02:51:57.427Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-02T02:51:57.427Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.883s coverage: 68.9% of statements [2020-10-02T02:51:57.427Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-02T02:51:57.427Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-02T02:51:58.022Z] GO111MODULE=on go vet ./... [2020-10-02T02:52:30.711Z] gofmt -l . [2020-10-02T02:52:30.711Z] [ "`gofmt -l .`" = "" ] [2020-10-02T02:52:30.711Z] ./bin/test-attribution-txt.sh [2020-10-02T02:52:30.711Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-02T02:52:30.734Z] Warning: overwriting stash ‘coverage-report’ [2020-10-02T02:52:31.560Z] Stashed 1 file(s) [Pipeline] } [2020-10-02T02:52:31.568Z] $ docker stop --time=1 09394ddace3fc4aefb2117e96b33597373bafb851917b6099f0d5874e797cafe [2020-10-02T02:52:33.727Z] $ docker rm -f 09394ddace3fc4aefb2117e96b33597373bafb851917b6099f0d5874e797cafe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-02T02:52:35.177Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-02T02:52:35.519Z] + ls -al . [2020-10-02T02:52:35.519Z] total 232 [2020-10-02T02:52:35.519Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 2 02:52 . [2020-10-02T02:52:35.519Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:49 .. [2020-10-02T02:52:35.519Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 2 02:49 .dockerignore [2020-10-02T02:52:35.519Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 02:49 .git [2020-10-02T02:52:35.519Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 02:49 .github [2020-10-02T02:52:35.519Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 2 02:49 .gitignore [2020-10-02T02:52:35.519Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 02:49 .semver [2020-10-02T02:52:35.519Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 2 02:49 Dockerfile.build [2020-10-02T02:52:35.519Z] -rw-rw-r-- 1 jenkins jenkins 785 Oct 2 02:49 Jenkinsfile [2020-10-02T02:52:35.519Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 2 02:49 LICENSE [2020-10-02T02:52:35.519Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 2 02:49 Makefile [2020-10-02T02:52:35.519Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 2 02:49 README.md [2020-10-02T02:52:35.519Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 2 02:49 RELEASE-NOTES.txt [2020-10-02T02:52:35.519Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 02:44 VERSION [2020-10-02T02:52:35.519Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 02:49 bin [2020-10-02T02:52:35.519Z] -rw-r--r-- 1 jenkins jenkins 111041 Oct 2 02:51 coverage.out [2020-10-02T02:52:35.519Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:49 example [2020-10-02T02:52:35.519Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 2 02:52 go.mod [2020-10-02T02:52:35.519Z] -rw-r--r-- 1 jenkins jenkins 13567 Oct 2 02:52 go.sum [2020-10-02T02:52:35.519Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 2 02:49 internal [2020-10-02T02:52:35.519Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:49 openapi [2020-10-02T02:52:35.519Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 2 02:49 pkg [2020-10-02T02:52:35.519Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:49 snap [2020-10-02T02:52:35.519Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 2 02:49 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:52:35.868Z] + 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=0f961d1745574fd78ea5265a8c6a2827eb98d466 --label arch=arm64 --label version=0.0.0 . [2020-10-02T02:52:36.467Z] Sending build context to Docker daemon 3.569MB [2020-10-02T02:52:36.467Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-02T02:52:36.467Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-02T02:52:36.467Z] ---> 1916788d436b [2020-10-02T02:52:36.467Z] Step 3/24 : ARG MAKE='make build' [2020-10-02T02:52:36.741Z] ---> Running in 4db962f0345c [2020-10-02T02:52:37.019Z] Removing intermediate container 4db962f0345c [2020-10-02T02:52:37.019Z] ---> 7738ae315415 [2020-10-02T02:52:37.019Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-02T02:52:37.296Z] ---> Running in bcdf225f13b0 [2020-10-02T02:52:37.574Z] Removing intermediate container bcdf225f13b0 [2020-10-02T02:52:37.574Z] ---> 150ff7aa88da [2020-10-02T02:52:37.574Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-02T02:52:37.847Z] ---> Running in 21052df8852e [2020-10-02T02:52:38.125Z] Removing intermediate container 21052df8852e [2020-10-02T02:52:38.125Z] ---> 8c10fa78dc39 [2020-10-02T02:52:38.125Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-02T02:52:38.405Z] ---> Running in 230a2890484d [2020-10-02T02:52:41.046Z] Removing intermediate container 230a2890484d [2020-10-02T02:52:41.046Z] ---> b1538b28a658 [2020-10-02T02:52:41.046Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-02T02:52:41.046Z] ---> Running in 87238afd27ae [2020-10-02T02:52:42.493Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-02T02:52:43.099Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-02T02:52:43.702Z] OK: 142 MiB in 39 packages [2020-10-02T02:52:45.148Z] Removing intermediate container 87238afd27ae [2020-10-02T02:52:45.148Z] ---> 94cb50b3b0f9 [2020-10-02T02:52:45.148Z] Step 8/24 : COPY . . [2020-10-02T02:52:46.596Z] ---> df09b4cd5cde [2020-10-02T02:52:46.596Z] Step 9/24 : RUN ${MAKE} [2020-10-02T02:52:46.596Z] ---> Running in 8bd2d2cf18c9 [2020-10-02T02:52:48.034Z] 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-02T02:53:14.864Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-02T02:53:14.864Z] Removing intermediate container 8bd2d2cf18c9 [2020-10-02T02:53:14.864Z] ---> 4987851b43b2 [2020-10-02T02:53:14.864Z] Step 10/24 : FROM scratch [2020-10-02T02:53:14.864Z] ---> [2020-10-02T02:53:14.864Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-02T02:53:14.864Z] ---> Running in 7de340f1a144 [2020-10-02T02:53:14.864Z] Removing intermediate container 7de340f1a144 [2020-10-02T02:53:14.864Z] ---> 56ae3505f1e3 [2020-10-02T02:53:14.864Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-02T02:53:14.864Z] ---> Running in 6778a853fea2 [2020-10-02T02:53:14.864Z] Removing intermediate container 6778a853fea2 [2020-10-02T02:53:14.864Z] ---> 0b9c2492c5b6 [2020-10-02T02:53:14.864Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-02T02:53:15.139Z] ---> Running in c7574a065999 [2020-10-02T02:53:15.413Z] Removing intermediate container c7574a065999 [2020-10-02T02:53:15.413Z] ---> 38c353a2fbce [2020-10-02T02:53:15.413Z] Step 14/24 : WORKDIR / [2020-10-02T02:53:15.685Z] ---> Running in 944a0abcd119 [2020-10-02T02:53:15.959Z] Removing intermediate container 944a0abcd119 [2020-10-02T02:53:15.959Z] ---> 09151cb215f8 [2020-10-02T02:53:15.959Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-02T02:53:17.395Z] ---> ea68d0837a48 [2020-10-02T02:53:17.395Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-02T02:53:17.993Z] ---> f9a1fed387f7 [2020-10-02T02:53:17.993Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-02T02:53:18.590Z] ---> d5046b222c9c [2020-10-02T02:53:18.590Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-02T02:53:19.569Z] ---> b6115e76ff2f [2020-10-02T02:53:19.569Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-02T02:53:20.170Z] ---> df88e8317c51 [2020-10-02T02:53:20.170Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-02T02:53:20.444Z] ---> Running in e7f23ac20517 [2020-10-02T02:53:20.717Z] Removing intermediate container e7f23ac20517 [2020-10-02T02:53:20.717Z] ---> d7379e43079c [2020-10-02T02:53:20.717Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-02T02:53:20.990Z] ---> Running in 30d2634c30af [2020-10-02T02:53:21.267Z] Removing intermediate container 30d2634c30af [2020-10-02T02:53:21.267Z] ---> 6d31689937d0 [2020-10-02T02:53:21.267Z] Step 22/24 : LABEL arch=arm64 [2020-10-02T02:53:21.540Z] ---> Running in d1bd71f6cae3 [2020-10-02T02:53:22.141Z] Removing intermediate container d1bd71f6cae3 [2020-10-02T02:53:22.141Z] ---> bcd32a53b8f3 [2020-10-02T02:53:22.141Z] Step 23/24 : LABEL git_sha=0f961d1745574fd78ea5265a8c6a2827eb98d466 [2020-10-02T02:53:22.417Z] ---> Running in 7f3bd94a40ea [2020-10-02T02:53:22.692Z] Removing intermediate container 7f3bd94a40ea [2020-10-02T02:53:22.692Z] ---> 9b0a403c3b4f [2020-10-02T02:53:22.692Z] Step 24/24 : LABEL version=0.0.0 [2020-10-02T02:53:22.965Z] ---> Running in 5a32f6829d07 [2020-10-02T02:53:23.245Z] Removing intermediate container 5a32f6829d07 [2020-10-02T02:53:23.245Z] ---> 5c7c961336d9 [2020-10-02T02:53:23.245Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-02T02:53:23.519Z] Successfully built 5c7c961336d9 [2020-10-02T02:53:23.519Z] 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-02T02:53:25.500Z] provisioning config files... [2020-10-02T02:53:25.516Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/config836595570664586644tmp [Pipeline] { [Pipeline] sh [2020-10-02T02:53:25.931Z] + set +x [2020-10-02T02:53:25.931Z] + curl -s https://codecov.io/bash [2020-10-02T02:53:25.931Z] + bash -s -- [2020-10-02T02:53:26.201Z] [2020-10-02T02:53:26.201Z] _____ _ [2020-10-02T02:53:26.201Z] / ____| | | [2020-10-02T02:53:26.201Z] | | ___ __| | ___ ___ _____ __ [2020-10-02T02:53:26.201Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-02T02:53:26.201Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-02T02:53:26.201Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-02T02:53:26.201Z] Bash-20200917-4e8f14b [2020-10-02T02:53:26.201Z] [2020-10-02T02:53:26.201Z] [2020-10-02T02:53:26.201Z] ==> Jenkins CI detected. [2020-10-02T02:53:26.201Z] project root: . [2020-10-02T02:53:26.201Z] Fixing merge commit SHA [2020-10-02T02:53:26.201Z] --> token set from env [2020-10-02T02:53:26.201Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-02T02:53:26.201Z] ==> Running gcov in . (disable via -X gcov) [2020-10-02T02:53:26.201Z] ==> Python coveragepy not found [2020-10-02T02:53:26.201Z] ==> Searching for coverage reports in: [2020-10-02T02:53:26.201Z] + . [2020-10-02T02:53:26.201Z] -> Found 1 reports [2020-10-02T02:53:26.201Z] ==> Detecting git/mercurial file structure [2020-10-02T02:53:26.477Z] ==> Reading reports [2020-10-02T02:53:26.477Z] + ./coverage.out bytes=111041 [2020-10-02T02:53:26.477Z] ==> Appending adjustments [2020-10-02T02:53:26.477Z] https://docs.codecov.io/docs/fixing-reports [2020-10-02T02:53:27.060Z] + Found adjustments [2020-10-02T02:53:27.060Z] ==> Gzipping contents [2020-10-02T02:53:27.060Z] ==> Uploading reports [2020-10-02T02:53:27.060Z] url: https://codecov.io [2020-10-02T02:53:27.060Z] query: branch=PR-595&commit=5d943473fe8cb7b2263b29163a15a9eda06ca963&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-595%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=595&job=&cmd_args= [2020-10-02T02:53:27.060Z] -> Pinging Codecov [2020-10-02T02:53:27.060Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-595&commit=5d943473fe8cb7b2263b29163a15a9eda06ca963&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-595%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=595&job=&cmd_args= [2020-10-02T02:53:27.329Z] -> Uploading to [2020-10-02T02:53:27.330Z] https://storage.googleapis.com/codecov/v4/raw/2020-10-02/7E55EF52A471D76F132DFD9A03CDDE97/5d943473fe8cb7b2263b29163a15a9eda06ca963/65e761dd-e81e-4c8b-8a35-4167fd301e79.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201002%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201002T025327Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=596eba1f93c9992b471f30411a36f7d46bc0d31a959745837e93a6281e5b6252 [2020-10-02T02:53:27.330Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-02T02:53:27.330Z] Dload Upload Total Spent Left Speed [2020-10-02T02:53:27.920Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18315 0 0 100 18315 0 37548 --:--:-- --:--:-- --:--:-- 37607 [2020-10-02T02:53:27.920Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5d943473fe8cb7b2263b29163a15a9eda06ca963 [Pipeline] } [2020-10-02T02:53:27.932Z] 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-02T02:53:30.678Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-02T02:53:31.351Z] ---> package-listing.sh [2020-10-02T02:53:31.351Z] ++ facter osfamily [2020-10-02T02:53:31.351Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-02T02:53:31.351Z] + OS_FAMILY=redhat [2020-10-02T02:53:31.620Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-595 [2020-10-02T02:53:31.620Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-02T02:53:31.620Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-02T02:53:31.620Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-02T02:53:31.620Z] + PACKAGES=/tmp/packages_start.txt [2020-10-02T02:53:31.620Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-595 ']' [2020-10-02T02:53:31.620Z] + PACKAGES=/tmp/packages_end.txt [2020-10-02T02:53:31.620Z] + case "${OS_FAMILY}" in [2020-10-02T02:53:31.620Z] + rpm -qa [2020-10-02T02:53:31.620Z] + sort [2020-10-02T02:53:35.863Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-02T02:53:35.863Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-02T02:53:35.863Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-02T02:53:35.863Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-595 ']' [2020-10-02T02:53:35.863Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-595/archives/ [2020-10-02T02:53:35.863Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-595/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-02T02:53:36.069Z] provisioning config files... [2020-10-02T02:53:36.086Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/config4792909249865783402tmp [Pipeline] { [Pipeline] echo [2020-10-02T02:53:36.182Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-02T02:53:36.510Z] ---> create-netrc.sh [Pipeline] } [2020-10-02T02:53:36.524Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-02T02:53:36.624Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-02T02:53:36.932Z] ---> python-tools-install.sh [2020-10-02T02:53:36.932Z] Generating Requirements File [2020-10-02T02:55:13.677Z] Python 3.6.8 [2020-10-02T02:55:13.677Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-02T02:55:13.677Z] aiohttp==3.6.2 [2020-10-02T02:55:13.677Z] appdirs==1.4.3 [2020-10-02T02:55:13.677Z] argcomplete==1.12.1 [2020-10-02T02:55:13.677Z] aspy.yaml==1.3.0 [2020-10-02T02:55:13.677Z] async-timeout==3.0.1 [2020-10-02T02:55:13.677Z] attrs==19.3.0 [2020-10-02T02:55:13.677Z] Babel==2.8.0 [2020-10-02T02:55:13.677Z] beautifulsoup4==4.8.2 [2020-10-02T02:55:13.677Z] boto3==1.11.6 [2020-10-02T02:55:13.677Z] botocore==1.14.6 [2020-10-02T02:55:13.677Z] bs4==0.0.1 [2020-10-02T02:55:13.677Z] cachetools==4.1.1 [2020-10-02T02:55:13.677Z] certifi==2019.11.28 [2020-10-02T02:55:13.677Z] cffi==1.14.3 [2020-10-02T02:55:13.677Z] cfgv==2.0.1 [2020-10-02T02:55:13.677Z] chardet==3.0.4 [2020-10-02T02:55:13.677Z] click==7.1 [2020-10-02T02:55:13.677Z] cliff==3.4.0 [2020-10-02T02:55:13.677Z] cmd2==1.3.11 [2020-10-02T02:55:13.677Z] colorama==0.4.3 [2020-10-02T02:55:13.677Z] cryptography==3.1.1 [2020-10-02T02:55:13.677Z] debtcollector==2.2.0 [2020-10-02T02:55:13.677Z] decorator==4.4.2 [2020-10-02T02:55:13.677Z] defusedxml==0.6.0 [2020-10-02T02:55:13.677Z] Deprecated==1.2.7 [2020-10-02T02:55:13.677Z] distlib==0.3.1 [2020-10-02T02:55:13.677Z] distro==1.2.0 [2020-10-02T02:55:13.677Z] dnspython==1.16.0 [2020-10-02T02:55:13.677Z] docker==4.2.0 [2020-10-02T02:55:13.677Z] docutils==0.15.2 [2020-10-02T02:55:13.677Z] dogpile.cache==1.0.2 [2020-10-02T02:55:13.677Z] email-validator==1.0.5 [2020-10-02T02:55:13.677Z] filelock==3.0.12 [2020-10-02T02:55:13.677Z] future==0.18.2 [2020-10-02T02:55:13.677Z] google-auth==1.22.0 [2020-10-02T02:55:13.677Z] httplib2==0.17.0 [2020-10-02T02:55:13.677Z] identify==1.4.11 [2020-10-02T02:55:13.677Z] idna==2.9 [2020-10-02T02:55:13.677Z] idna-ssl==1.1.0 [2020-10-02T02:55:13.677Z] importlib-metadata==1.7.0 [2020-10-02T02:55:13.677Z] importlib-resources==1.5.0 [2020-10-02T02:55:13.677Z] iso8601==0.1.13 [2020-10-02T02:55:13.677Z] Jinja2==2.11.1 [2020-10-02T02:55:13.677Z] jmespath==0.10.0 [2020-10-02T02:55:13.677Z] jsonpatch==1.26 [2020-10-02T02:55:13.677Z] jsonpointer==2.0 [2020-10-02T02:55:13.677Z] jsonschema==3.2.0 [2020-10-02T02:55:13.677Z] keystoneauth1==4.2.1 [2020-10-02T02:55:13.677Z] kubernetes==11.0.0 [2020-10-02T02:55:13.677Z] lftools==0.34.2 [2020-10-02T02:55:13.677Z] lxml==4.5.0 [2020-10-02T02:55:13.677Z] MarkupSafe==0.23 [2020-10-02T02:55:13.677Z] msgpack==1.0.0 [2020-10-02T02:55:13.677Z] multi-key-dict==2.0.3 [2020-10-02T02:55:13.677Z] multidict==4.7.6 [2020-10-02T02:55:13.677Z] munch==2.5.0 [2020-10-02T02:55:13.677Z] netaddr==0.8.0 [2020-10-02T02:55:13.677Z] netifaces==0.10.9 [2020-10-02T02:55:13.677Z] niet==1.4.2 [2020-10-02T02:55:13.677Z] nodeenv==1.3.5 [2020-10-02T02:55:13.677Z] oauth2client==4.1.3 [2020-10-02T02:55:13.677Z] oauthlib==3.1.0 [2020-10-02T02:55:13.677Z] openstacksdk==0.50.0 [2020-10-02T02:55:13.677Z] os-client-config==2.1.0 [2020-10-02T02:55:13.677Z] os-service-types==1.7.0 [2020-10-02T02:55:13.677Z] osc-lib==2.2.1 [2020-10-02T02:55:13.677Z] oslo.config==8.3.2 [2020-10-02T02:55:13.677Z] oslo.context==3.1.1 [2020-10-02T02:55:13.677Z] oslo.i18n==5.0.1 [2020-10-02T02:55:13.677Z] oslo.log==4.4.0 [2020-10-02T02:55:13.677Z] oslo.serialization==4.0.1 [2020-10-02T02:55:13.677Z] oslo.utils==4.6.0 [2020-10-02T02:55:13.677Z] packaging==20.4 [2020-10-02T02:55:13.677Z] pbr==5.4.4 [2020-10-02T02:55:13.677Z] pluggy==0.13.1 [2020-10-02T02:55:13.677Z] prettytable==0.7.2 [2020-10-02T02:55:13.677Z] py==1.9.0 [2020-10-02T02:55:13.677Z] pyasn1==0.4.8 [2020-10-02T02:55:13.677Z] pyasn1-modules==0.2.8 [2020-10-02T02:55:13.677Z] pycparser==2.20 [2020-10-02T02:55:13.677Z] pygerrit2==2.0.10 [2020-10-02T02:55:13.677Z] PyGithub==1.46 [2020-10-02T02:55:13.677Z] pyinotify==0.9.6 [2020-10-02T02:55:13.677Z] PyJWT==1.7.1 [2020-10-02T02:55:13.677Z] pyparsing==2.4.7 [2020-10-02T02:55:13.677Z] pyperclip==1.8.0 [2020-10-02T02:55:13.677Z] pyroute2==0.4.13 [2020-10-02T02:55:13.677Z] pyrsistent==0.15.7 [2020-10-02T02:55:13.677Z] PySocks==1.6.8 [2020-10-02T02:55:13.677Z] python-cinderclient==7.2.0 [2020-10-02T02:55:13.677Z] python-dateutil==2.8.1 [2020-10-02T02:55:13.677Z] python-heatclient==2.2.1 [2020-10-02T02:55:13.677Z] python-jenkins==1.7.0 [2020-10-02T02:55:13.677Z] python-keystoneclient==4.1.1 [2020-10-02T02:55:13.677Z] python-magnumclient==3.2.1 [2020-10-02T02:55:13.677Z] python-novaclient==17.2.1 [2020-10-02T02:55:13.677Z] python-openstackclient==5.3.1 [2020-10-02T02:55:13.677Z] python-swiftclient==3.10.1 [2020-10-02T02:55:13.677Z] pytz==2020.1 [2020-10-02T02:55:13.677Z] PyYAML==5.3 [2020-10-02T02:55:13.677Z] requests==2.23.0 [2020-10-02T02:55:13.677Z] requests-oauthlib==1.3.0 [2020-10-02T02:55:13.677Z] requestsexceptions==1.4.0 [2020-10-02T02:55:13.677Z] rfc3986==1.4.0 [2020-10-02T02:55:13.677Z] rpm==4.11.3 [2020-10-02T02:55:13.677Z] rsa==4.0 [2020-10-02T02:55:13.677Z] ruamel.yaml==0.16.10 [2020-10-02T02:55:13.677Z] ruamel.yaml.clib==0.2.0 [2020-10-02T02:55:13.677Z] s3transfer==0.3.3 [2020-10-02T02:55:13.677Z] shade==1.27.2 [2020-10-02T02:55:13.677Z] simplejson==3.17.2 [2020-10-02T02:55:13.677Z] six==1.14.0 [2020-10-02T02:55:13.677Z] soupsieve==2.0 [2020-10-02T02:55:13.677Z] stevedore==3.2.2 [2020-10-02T02:55:13.677Z] tabulate==0.8.6 [2020-10-02T02:55:13.677Z] toml==0.10.0 [2020-10-02T02:55:13.677Z] tox==3.20.0 [2020-10-02T02:55:13.677Z] tqdm==4.43.0 [2020-10-02T02:55:13.677Z] typing-extensions==3.7.4.3 [2020-10-02T02:55:13.677Z] urllib3==1.25.8 [2020-10-02T02:55:13.677Z] virtualenv==20.0.32 [2020-10-02T02:55:13.677Z] wcwidth==0.2.5 [2020-10-02T02:55:13.677Z] websocket-client==0.57.0 [2020-10-02T02:55:13.677Z] wrapt==1.12.1 [2020-10-02T02:55:13.677Z] xdg==3.0.2 [2020-10-02T02:55:13.677Z] xmltodict==0.12.0 [2020-10-02T02:55:13.677Z] yarl==1.6.0 [2020-10-02T02:55:13.677Z] yq==2.11.1 [2020-10-02T02:55:13.677Z] zipp==3.2.0 [2020-10-02T02:55:13.677Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:55:13.677Z] 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-02T02:55:15.633Z] Python 2.7.5 [2020-10-02T02:55:15.633Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-02T02:55:16.213Z] 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-02T02:55:16.479Z] ansible==2.9.7 [2020-10-02T02:55:16.479Z] Babel==0.9.6 [2020-10-02T02:55:16.479Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-02T02:55:16.479Z] beautifulsoup4==4.4.1 [2020-10-02T02:55:16.479Z] bodhi==2.11.0 [2020-10-02T02:55:16.479Z] bodhi-client==2.11.0 [2020-10-02T02:55:16.479Z] CCColUtils==1.4 [2020-10-02T02:55:16.479Z] cffi==1.6.0 [2020-10-02T02:55:16.479Z] chardet==2.2.1 [2020-10-02T02:55:16.479Z] click==6.7 [2020-10-02T02:55:16.479Z] cloud-init==18.5 [2020-10-02T02:55:16.479Z] configobj==4.7.2 [2020-10-02T02:55:16.479Z] cryptography==1.7.2 [2020-10-02T02:55:16.479Z] decorator==3.4.0 [2020-10-02T02:55:16.479Z] distro==1.2.0 [2020-10-02T02:55:16.479Z] enum34==1.0.4 [2020-10-02T02:55:16.479Z] fedpkg==1.38 [2020-10-02T02:55:16.479Z] futures==3.1.1 [2020-10-02T02:55:16.479Z] gitdb==0.6.4 [2020-10-02T02:55:16.479Z] GitPython==1.0.1 [2020-10-02T02:55:16.479Z] html5lib==0.999 [2020-10-02T02:55:16.479Z] httplib2==0.9.2 [2020-10-02T02:55:16.479Z] idna==2.4 [2020-10-02T02:55:16.479Z] iniparse==0.4 [2020-10-02T02:55:16.479Z] ipaddress==1.0.16 [2020-10-02T02:55:16.479Z] IPy==0.75 [2020-10-02T02:55:16.479Z] javapackages==1.0.0 [2020-10-02T02:55:16.479Z] Jinja2==2.7.2 [2020-10-02T02:55:16.479Z] jmespath==0.9.4 [2020-10-02T02:55:16.479Z] jsonpatch==1.2 [2020-10-02T02:55:16.479Z] jsonpointer==1.9 [2020-10-02T02:55:16.479Z] kerberos==1.1 [2020-10-02T02:55:16.479Z] kitchen==1.1.1 [2020-10-02T02:55:16.479Z] langtable==0.0.31 [2020-10-02T02:55:16.479Z] lockfile==0.9.1 [2020-10-02T02:55:16.479Z] lxml==3.2.1 [2020-10-02T02:55:16.479Z] MarkupSafe==0.11 [2020-10-02T02:55:16.479Z] munch==2.0.2 [2020-10-02T02:55:16.479Z] offtrac==0.1.0 [2020-10-02T02:55:16.479Z] openidc-client==0.6.0 [2020-10-02T02:55:16.479Z] packagedb-cli==2.14.1 [2020-10-02T02:55:16.479Z] paramiko==2.1.1 [2020-10-02T02:55:16.479Z] perf==0.1 [2020-10-02T02:55:16.479Z] ply==3.4 [2020-10-02T02:55:16.479Z] policycoreutils-default-encoding==0.1 [2020-10-02T02:55:16.479Z] prettytable==0.7.2 [2020-10-02T02:55:16.479Z] pyasn1==0.1.9 [2020-10-02T02:55:16.479Z] pycparser==2.14 [2020-10-02T02:55:16.479Z] pycurl==7.19.0 [2020-10-02T02:55:16.479Z] pygobject==3.22.0 [2020-10-02T02:55:16.479Z] pygpgme==0.3 [2020-10-02T02:55:16.479Z] pyliblzma==0.5.3 [2020-10-02T02:55:16.479Z] pyOpenSSL==0.13.1 [2020-10-02T02:55:16.479Z] pyparsing==1.5.6 [2020-10-02T02:55:16.479Z] pyserial==2.6 [2020-10-02T02:55:16.479Z] python-augeas==0.5.0 [2020-10-02T02:55:16.479Z] python-bugzilla==2.3.0 [2020-10-02T02:55:16.479Z] python-dateutil==1.5 [2020-10-02T02:55:16.479Z] python-fedora==0.10.0 [2020-10-02T02:55:16.479Z] python-linux-procfs==0.4.9 [2020-10-02T02:55:16.479Z] python-yubico==1.2.3 [2020-10-02T02:55:16.479Z] pyudev==0.15 [2020-10-02T02:55:16.479Z] pyusb==1.0.0b1 [2020-10-02T02:55:16.479Z] pyxattr==0.5.1 [2020-10-02T02:55:16.479Z] PyYAML==3.10 [2020-10-02T02:55:16.479Z] requests==2.6.0 [2020-10-02T02:55:16.479Z] requests-kerberos==0.7.0 [2020-10-02T02:55:16.479Z] rpkg==1.60 [2020-10-02T02:55:16.479Z] schedutils==0.4 [2020-10-02T02:55:16.479Z] seobject==0.1 [2020-10-02T02:55:16.479Z] sepolicy==1.1 [2020-10-02T02:55:16.479Z] six==1.9.0 [2020-10-02T02:55:16.479Z] smmap==0.9.0 [2020-10-02T02:55:16.479Z] urlgrabber==3.10 [2020-10-02T02:55:16.479Z] urllib3==1.10.2 [2020-10-02T02:55:16.479Z] virtualenv==15.1.0 [2020-10-02T02:55:16.479Z] yum-langpacks==0.4.2 [2020-10-02T02:55:16.479Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-02T02:55:16.493Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-02T02:55:16.824Z] ---> sudo-logs.sh [2020-10-02T02:55:16.824Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-02T02:55:17.103Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-02T02:55:17.427Z] ---> job-cost.sh [2020-10-02T02:55:17.427Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qlPS [2020-10-02T02:55:29.728Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:55:29.728Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:55:30.345Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:55:30.617Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:55:30.617Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:55:30.895Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:55:30.895Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:55:30.895Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:55:31.167Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:55:31.432Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:55:31.432Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:55:31.432Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:55:34.784Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-02T02:56:13.677Z] lf-activate-venv(): INFO: Adding /tmp/venv-qlPS/bin to PATH [2020-10-02T02:56:13.677Z] INFO: No Stack... [2020-10-02T02:56:13.677Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-02T02:56:13.677Z] INFO: Archiving Costs [Pipeline] echo [2020-10-02T02:56:13.697Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-02T02:56:14.019Z] ---> logs-deploy.sh [2020-10-02T02:56:14.019Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-595/5 [2020-10-02T02:56:14.019Z] INFO: archiving workspace using pattern(s): [2020-10-02T02:56:16.635Z] Archives upload complete. [2020-10-02T02:56:16.635Z] INFO: archiving logs to Nexus