Pull request #584 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a0136f4ab48c04aea383df6fc9b835c730cf6549+833c05b782f270c396ee40879762f076aaf9331e (b0569ef68d4d9589ca4921ec05b5742bb44edac7) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3696 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [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-584 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit a0136f4ab48c04aea383df6fc9b835c730cf6549 Merge succeeded, producing a0136f4ab48c04aea383df6fc9b835c730cf6549 Checking out Revision a0136f4ab48c04aea383df6fc9b835c730cf6549 (PR-584) > git config core.sparsecheckout # timeout=10 > git checkout -f a0136f4ab48c04aea383df6fc9b835c730cf6549 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0136f4ab48c04aea383df6fc9b835c730cf6549 # timeout=10 Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-06T06:36:49.028Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-06T06:36:49.243Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-06T06:36:49.337Z] ========================================================= [2020-10-06T06:36:49.337Z] EdgeX Global Pipelines Version Info [2020-10-06T06:36:49.337Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 68605fd35c412c9b43cfded5eb7574eb4aec4b8b # timeout=10 [2020-10-06T06:36:50.850Z] ------------------- [2020-10-06T06:36:50.850Z] stable info: [2020-10-06T06:36:50.850Z] ------------------- [2020-10-06T06:36:50.850Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-06T06:36:50.850Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-06T06:36:50.850Z] Message: update stable to v1.0.131 [2020-10-06T06:36:51.794Z] ------------------- [2020-10-06T06:36:51.794Z] experimental info: [2020-10-06T06:36:51.794Z] ------------------- [2020-10-06T06:36:51.794Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-06T06:36:51.794Z] Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a [2020-10-06T06:36:51.794Z] Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-06T06:36:52.141Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-06T06:36:52.233Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-06T06:36:52.330Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-06T06:36:52.433Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-06T06:36:52.527Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-06T06:36:52.620Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-06T06:36:52.715Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-06T06:36:52.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-06T06:36:52.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-06T06:36:53.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-06T06:36:53.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-06T06:36:53.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-06T06:36:53.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-06T06:36:53.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-06T06:36:53.488Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-06T06:36:53.578Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T06:36:53.664Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T06:36:53.749Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T06:36:53.835Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-06T06:36:53.935Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-06T06:36:54.031Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-06T06:36:54.121Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-06T06:36:54.212Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-06T06:36:54.320Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-06T06:36:54.409Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-06T06:36:54.495Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo [2020-10-06T06:36:54.583Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo [2020-10-06T06:36:54.694Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo [2020-10-06T06:36:54.783Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a0136f4ab48c04aea383df6fc9b835c730cf6549 [Pipeline] echo [2020-10-06T06:36:54.882Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a0136f4 [Pipeline] echo [2020-10-06T06:36:54.987Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-06T06:36:55.635Z] + git log --format=format:%s -1 a0136f4ab48c04aea383df6fc9b835c730cf6549 [Pipeline] echo [2020-10-06T06:36:55.700Z] GIT_COMMIT: a0136f4ab48c04aea383df6fc9b835c730cf6549, Commit Message: build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0 [Pipeline] echo [2020-10-06T06:36:55.746Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:36:56.293Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T06:36:56.293Z] [2020-10-06T06:36:56.293Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:36:56.651Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T06:36:56.651Z] latest: Pulling from edgex-devops/git-semver [2020-10-06T06:36:56.651Z] 31603596830f: Pulling fs layer [2020-10-06T06:36:56.651Z] 2a8b12db71e7: Pulling fs layer [2020-10-06T06:36:56.651Z] 6ca5941a6612: Pulling fs layer [2020-10-06T06:36:56.651Z] ecc8261a40a4: Pulling fs layer [2020-10-06T06:36:56.651Z] ecc8261a40a4: Waiting [2020-10-06T06:36:56.651Z] 2a8b12db71e7: Verifying Checksum [2020-10-06T06:36:56.651Z] 2a8b12db71e7: Download complete [2020-10-06T06:36:56.911Z] 31603596830f: Verifying Checksum [2020-10-06T06:36:56.911Z] 31603596830f: Download complete [2020-10-06T06:36:56.911Z] ecc8261a40a4: Verifying Checksum [2020-10-06T06:36:56.911Z] ecc8261a40a4: Download complete [2020-10-06T06:36:57.174Z] 31603596830f: Pull complete [2020-10-06T06:36:57.174Z] 6ca5941a6612: Verifying Checksum [2020-10-06T06:36:57.174Z] 6ca5941a6612: Download complete [2020-10-06T06:36:57.174Z] 2a8b12db71e7: Pull complete [2020-10-06T06:36:58.119Z] 6ca5941a6612: Pull complete [2020-10-06T06:36:58.119Z] ecc8261a40a4: Pull complete [2020-10-06T06:36:58.119Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-06T06:36:58.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T06:36:58.119Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-06T06:36:58.217Z] prd-centos7-docker-4c-2g-3696 does not seem to be running inside a container [2020-10-06T06:36:58.260Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@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-06T06:37:00.483Z] $ docker top 173f6c8921ef57fcf2007687cec72340a2437c61e799d958bf0cfa4affa054e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-06T06:37:00.793Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-06T06:37:00.793Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-06T06:37:00.978Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-06T06:37:00.984Z] $ docker exec 173f6c8921ef57fcf2007687cec72340a2437c61e799d958bf0cfa4affa054e3 ssh-agent [2020-10-06T06:37:01.134Z] SSH_AUTH_SOCK=/tmp/ssh-lPU3vZ6WQRcP/agent.12 [2020-10-06T06:37:01.134Z] SSH_AGENT_PID=17 [2020-10-06T06:37:01.145Z] Running ssh-add (command line suppressed) [2020-10-06T06:37:01.252Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_305629659683084950.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_305629659683084950.key) [2020-10-06T06:37:01.294Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-06T06:37:01.630Z] + git describe --exact-match --tags HEAD [2020-10-06T06:37:01.630Z] fatal: no tag exactly matches 'a0136f4ab48c04aea383df6fc9b835c730cf6549' [Pipeline] } [2020-10-06T06:37:01.657Z] $ docker exec --env ******** --env ******** 173f6c8921ef57fcf2007687cec72340a2437c61e799d958bf0cfa4affa054e3 ssh-agent -k [2020-10-06T06:37:01.787Z] unset SSH_AUTH_SOCK; [2020-10-06T06:37:01.787Z] unset SSH_AGENT_PID; [2020-10-06T06:37:01.787Z] echo Agent pid 17 killed; [2020-10-06T06:37:01.827Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-06T06:37:01.920Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-06T06:37:01.920Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-06T06:37:02.031Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-06T06:37:02.031Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-06T06:37:02.183Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-06T06:37:02.189Z] $ docker exec 173f6c8921ef57fcf2007687cec72340a2437c61e799d958bf0cfa4affa054e3 ssh-agent [2020-10-06T06:37:02.332Z] SSH_AUTH_SOCK=/tmp/ssh-1kerOxLtXOXN/agent.46 [2020-10-06T06:37:02.332Z] SSH_AGENT_PID=51 [2020-10-06T06:37:02.338Z] Running ssh-add (command line suppressed) [2020-10-06T06:37:02.446Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_2775014507856565110.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_2775014507856565110.key) [2020-10-06T06:37:02.488Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-06T06:37:02.840Z] + git semver init [2020-10-06T06:37:02.840Z] # -> Open(): unable to determine branch for HEAD [2020-10-06T06:37:02.840Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git [2020-10-06T06:37:02.840Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-06T06:37:02.840Z] # $SEMVER_REMOTE_NAME = origin [2020-10-06T06:37:02.840Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-06T06:37:02.840Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-06T06:37:02.840Z] # $SEMVER_BRANCH = PR-584 [2020-10-06T06:37:02.840Z] # $SEMVER_TEMP = /tmp/semver-886870638 [2020-10-06T06:37:02.840Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-06T06:37:04.229Z] # '/tmp/semver-886870638' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' [2020-10-06T06:37:04.229Z] # -> Force: false [2020-10-06T06:37:04.229Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } [2020-10-06T06:37:04.243Z] $ docker exec --env ******** --env ******** 173f6c8921ef57fcf2007687cec72340a2437c61e799d958bf0cfa4affa054e3 ssh-agent -k [2020-10-06T06:37:04.350Z] unset SSH_AUTH_SOCK; [2020-10-06T06:37:04.351Z] unset SSH_AGENT_PID; [2020-10-06T06:37:04.351Z] echo Agent pid 51 killed; [2020-10-06T06:37:04.400Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-06T06:37:04.883Z] + git semver [Pipeline] } [2020-10-06T06:37:04.905Z] $ docker stop --time=1 173f6c8921ef57fcf2007687cec72340a2437c61e799d958bf0cfa4affa054e3 [2020-10-06T06:37:06.241Z] $ docker rm -f 173f6c8921ef57fcf2007687cec72340a2437c61e799d958bf0cfa4affa054e3 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-06T06:37:07.047Z] Stashed 46 file(s) [Pipeline] echo [2020-10-06T06:37:07.050Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-06T06:37:07.158Z] 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-06T06:37:22.853Z] Still waiting to schedule task [2020-10-06T06:37:22.853Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-06T06:37:22.856Z] Still waiting to schedule task [2020-10-06T06:37:22.856Z] ‘prd-centos7-docker-4c-2g-3642’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3682’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3684’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3688’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-8c-8g-3692’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3683’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3693’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3698’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3699’ is offline [2020-10-06T06:39:09.166Z] Running on prd-centos7-docker-4c-2g-3702 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-10-06T06:39:09.222Z] Running in /w/workspace/device-sdk-go/18 [Pipeline] { [Pipeline] checkout [2020-10-06T06:39:12.406Z] using credential edgex-jenkins-ssh [2020-10-06T06:39:12.477Z] Cloning the remote Git repository [2020-10-06T06:39:12.513Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:39:12.593Z] > git init /w/workspace/device-sdk-go/18 # timeout=10 [2020-10-06T06:39:13.286Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:39:13.287Z] > git --version # timeout=10 [2020-10-06T06:39:13.294Z] > git --version # 'git version 2.16.5' [2020-10-06T06:39:13.296Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:39:13.331Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T06:39:14.054Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T06:39:14.448Z] Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit a0136f4ab48c04aea383df6fc9b835c730cf6549 [2020-10-06T06:39:14.550Z] Merge succeeded, producing a0136f4ab48c04aea383df6fc9b835c730cf6549 [2020-10-06T06:39:14.550Z] Checking out Revision a0136f4ab48c04aea383df6fc9b835c730cf6549 (PR-584) [2020-10-06T06:39:14.059Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T06:39:14.073Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T06:39:14.087Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:39:14.088Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:39:14.092Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-06T06:39:14.458Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T06:39:14.462Z] > git checkout -f a0136f4ab48c04aea383df6fc9b835c730cf6549 # timeout=10 [2020-10-06T06:39:14.515Z] > git remote # timeout=10 [2020-10-06T06:39:14.520Z] > git config --get remote.origin.url # timeout=10 [2020-10-06T06:39:14.528Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:39:14.534Z] > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 [2020-10-06T06:39:14.545Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-06T06:39:14.555Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T06:39:14.560Z] > git checkout -f a0136f4ab48c04aea383df6fc9b835c730cf6549 # timeout=10 [2020-10-06T06:39:18.297Z] Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-06T06:39:19.235Z] ========================================================= [2020-10-06T06:39:19.235Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-06T06:39:19.235Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:39:19.863Z] + 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-06T06:39:20.446Z] Sending build context to Docker daemon 3.489MB [2020-10-06T06:39:20.446Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-06T06:39:20.446Z] Step 2/8 : FROM ${BASE} [2020-10-06T06:39:20.446Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-06T06:39:20.446Z] df20fa9351a1: Pulling fs layer [2020-10-06T06:39:20.446Z] ed8968b2872e: Pulling fs layer [2020-10-06T06:39:20.446Z] a92cc7c5fd73: Pulling fs layer [2020-10-06T06:39:20.446Z] e871e8e8d7a9: Pulling fs layer [2020-10-06T06:39:20.446Z] e73272ec9a57: Pulling fs layer [2020-10-06T06:39:20.446Z] 1e910a182e73: Pulling fs layer [2020-10-06T06:39:20.446Z] 4e634b169226: Pulling fs layer [2020-10-06T06:39:20.446Z] e73272ec9a57: Waiting [2020-10-06T06:39:20.446Z] 1e910a182e73: Waiting [2020-10-06T06:39:20.446Z] 4e634b169226: Waiting [2020-10-06T06:39:20.446Z] e871e8e8d7a9: Waiting [2020-10-06T06:39:20.712Z] a92cc7c5fd73: Verifying Checksum [2020-10-06T06:39:20.712Z] a92cc7c5fd73: Download complete [2020-10-06T06:39:20.712Z] ed8968b2872e: Download complete [2020-10-06T06:39:20.712Z] e73272ec9a57: Download complete [2020-10-06T06:39:20.712Z] 1e910a182e73: Verifying Checksum [2020-10-06T06:39:20.712Z] 1e910a182e73: Download complete [2020-10-06T06:39:20.712Z] df20fa9351a1: Verifying Checksum [2020-10-06T06:39:20.712Z] df20fa9351a1: Download complete [2020-10-06T06:39:20.976Z] df20fa9351a1: Pull complete [2020-10-06T06:39:21.255Z] ed8968b2872e: Pull complete [2020-10-06T06:39:21.520Z] a92cc7c5fd73: Pull complete [2020-10-06T06:39:23.444Z] 4e634b169226: Verifying Checksum [2020-10-06T06:39:23.444Z] 4e634b169226: Download complete [2020-10-06T06:39:25.373Z] e871e8e8d7a9: Verifying Checksum [2020-10-06T06:39:25.373Z] e871e8e8d7a9: Download complete [2020-10-06T06:39:29.616Z] e871e8e8d7a9: Pull complete [2020-10-06T06:39:29.616Z] e73272ec9a57: Pull complete [2020-10-06T06:39:29.882Z] 1e910a182e73: Pull complete [2020-10-06T06:39:35.214Z] 4e634b169226: Pull complete [2020-10-06T06:39:35.214Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-06T06:39:35.214Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-06T06:39:35.214Z] ---> f7629b54cfaa [2020-10-06T06:39:35.214Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:39:35.214Z] ---> Running in e1e748e58f7f [2020-10-06T06:39:35.214Z] Removing intermediate container e1e748e58f7f [2020-10-06T06:39:35.214Z] ---> 1f198e990f67 [2020-10-06T06:39:35.214Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T06:39:35.214Z] ---> Running in b8a2f29b5822 [2020-10-06T06:39:36.616Z] Removing intermediate container b8a2f29b5822 [2020-10-06T06:39:36.616Z] ---> cc5495b93d8c [2020-10-06T06:39:36.616Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-06T06:39:36.880Z] ---> Running in 76f455f96965 [2020-10-06T06:39:37.143Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-06T06:39:39.067Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-06T06:39:44.400Z] OK: 166 MiB in 39 packages [2020-10-06T06:39:44.674Z] Removing intermediate container 76f455f96965 [2020-10-06T06:39:44.674Z] ---> fd23ce387ec4 [2020-10-06T06:39:44.674Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-06T06:39:44.674Z] ---> Running in 97f9c4f46a99 [2020-10-06T06:39:44.938Z] Removing intermediate container 97f9c4f46a99 [2020-10-06T06:39:44.938Z] ---> b65fc4841370 [2020-10-06T06:39:44.938Z] Step 7/8 : COPY . . [2020-10-06T06:39:46.344Z] ---> 4a8a74f41d66 [2020-10-06T06:39:46.344Z] Step 8/8 : RUN go mod download [2020-10-06T06:39:46.344Z] ---> Running in 28e8e3e16c3c [2020-10-06T06:40:04.532Z] Removing intermediate container 28e8e3e16c3c [2020-10-06T06:40:04.532Z] ---> 838d06906614 [2020-10-06T06:40:04.532Z] Successfully built 838d06906614 [2020-10-06T06:40:04.532Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:40:04.971Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-06T06:40:04.971Z] . [Pipeline] withDockerContainer [2020-10-06T06:40:05.137Z] prd-centos7-docker-4c-2g-3702 does not seem to be running inside a container [2020-10-06T06:40:05.300Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@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-06T06:40:06.068Z] $ docker top eb14414f6c7024ba704c2b16f6c114067e9fc009991cf0776a066ea260330454 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T06:40:06.556Z] + go version [2020-10-06T06:40:06.556Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-06T06:40:06.572Z] $ docker stop --time=1 eb14414f6c7024ba704c2b16f6c114067e9fc009991cf0776a066ea260330454 [2020-10-06T06:40:07.921Z] $ docker rm -f eb14414f6c7024ba704c2b16f6c114067e9fc009991cf0776a066ea260330454 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:40:08.944Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-06T06:40:08.944Z] . [Pipeline] withDockerContainer [2020-10-06T06:40:09.053Z] prd-centos7-docker-4c-2g-3702 does not seem to be running inside a container [2020-10-06T06:40:09.133Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@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-06T06:40:09.689Z] $ docker top 3220e52a1851bd29917c1b02473c124e569ed052170ad870a01611bd37e4275d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T06:40:10.214Z] + make test [2020-10-06T06:40:10.214Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-06T06:40:13.745Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3705 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-10-06T06:40:13.826Z] Running in /w/workspace/device-sdk-go/18 [Pipeline] { [Pipeline] checkout [2020-10-06T06:40:18.426Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-06T06:40:19.344Z] using credential edgex-jenkins-ssh [2020-10-06T06:40:19.398Z] Cloning the remote Git repository [2020-10-06T06:40:19.464Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:40:19.588Z] > git init /w/workspace/device-sdk-go/18 # timeout=10 [2020-10-06T06:40:19.676Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:40:19.677Z] > git --version # timeout=10 [2020-10-06T06:40:19.697Z] > git --version # 'git version 2.17.1' [2020-10-06T06:40:19.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:40:19.774Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T06:40:21.387Z] Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit a0136f4ab48c04aea383df6fc9b835c730cf6549 [2020-10-06T06:40:20.778Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T06:40:20.795Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T06:40:20.822Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T06:40:20.866Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:40:20.867Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:40:20.884Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-06T06:40:21.405Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T06:40:21.420Z] > git checkout -f a0136f4ab48c04aea383df6fc9b835c730cf6549 # timeout=10 [2020-10-06T06:40:21.660Z] > git remote # timeout=10 [2020-10-06T06:40:21.802Z] Merge succeeded, producing a0136f4ab48c04aea383df6fc9b835c730cf6549 [2020-10-06T06:40:21.803Z] Checking out Revision a0136f4ab48c04aea383df6fc9b835c730cf6549 (PR-584) [2020-10-06T06:40:21.699Z] > git config --get remote.origin.url # timeout=10 [2020-10-06T06:40:21.726Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:40:21.737Z] > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 [2020-10-06T06:40:21.777Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-06T06:40:21.808Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T06:40:21.844Z] > git checkout -f a0136f4ab48c04aea383df6fc9b835c730cf6549 # timeout=10 [2020-10-06T06:40:26.183Z] Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-06T06:40:27.367Z] ========================================================= [2020-10-06T06:40:27.367Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-06T06:40:27.367Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:40:28.511Z] + 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-06T06:40:29.501Z] Sending build context to Docker daemon 3.489MB [2020-10-06T06:40:29.501Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-06T06:40:29.501Z] Step 2/8 : FROM ${BASE} [2020-10-06T06:40:29.778Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-06T06:40:29.778Z] b538f80385f9: Pulling fs layer [2020-10-06T06:40:29.778Z] 74f711af9a0d: Pulling fs layer [2020-10-06T06:40:29.778Z] 99f96fe45779: Pulling fs layer [2020-10-06T06:40:29.778Z] 8529a6b9a6be: Pulling fs layer [2020-10-06T06:40:29.778Z] 45590311c82a: Pulling fs layer [2020-10-06T06:40:29.778Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-06T06:40:29.778Z] 209524e5b208: Pulling fs layer [2020-10-06T06:40:29.778Z] 8529a6b9a6be: Waiting [2020-10-06T06:40:29.778Z] 45590311c82a: Waiting [2020-10-06T06:40:29.778Z] 69ca0ff8b7b3: Waiting [2020-10-06T06:40:29.778Z] 99f96fe45779: Verifying Checksum [2020-10-06T06:40:29.778Z] 99f96fe45779: Download complete [2020-10-06T06:40:29.778Z] 74f711af9a0d: Download complete [2020-10-06T06:40:29.778Z] 45590311c82a: Verifying Checksum [2020-10-06T06:40:29.778Z] 45590311c82a: Download complete [2020-10-06T06:40:29.778Z] 69ca0ff8b7b3: Download complete [2020-10-06T06:40:30.055Z] b538f80385f9: Verifying Checksum [2020-10-06T06:40:30.055Z] b538f80385f9: Download complete [2020-10-06T06:40:30.664Z] b538f80385f9: Pull complete [2020-10-06T06:40:30.876Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-06T06:40:30.876Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-06T06:40:30.876Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-06T06:40:31.269Z] 74f711af9a0d: Pull complete [2020-10-06T06:40:31.460Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.064s coverage: 21.6% of statements [2020-10-06T06:40:31.551Z] 99f96fe45779: Pull complete [2020-10-06T06:40:32.875Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.440s coverage: 97.1% of statements [2020-10-06T06:40:32.991Z] 209524e5b208: Verifying Checksum [2020-10-06T06:40:32.991Z] 209524e5b208: Download complete [2020-10-06T06:40:35.624Z] 8529a6b9a6be: Download complete [2020-10-06T06:40:45.834Z] 8529a6b9a6be: Pull complete [2020-10-06T06:40:46.110Z] 45590311c82a: Pull complete [2020-10-06T06:40:46.710Z] 69ca0ff8b7b3: Pull complete [2020-10-06T06:40:51.050Z] 209524e5b208: Pull complete [2020-10-06T06:40:51.050Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-06T06:40:51.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-06T06:40:51.050Z] ---> 5bddaf1c2fca [2020-10-06T06:40:51.050Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:40:53.021Z] ---> Running in 02a324a0f75a [2020-10-06T06:40:53.294Z] Removing intermediate container 02a324a0f75a [2020-10-06T06:40:53.294Z] ---> a034fd271c78 [2020-10-06T06:40:53.294Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T06:40:53.571Z] ---> Running in 7176cd48533b [2020-10-06T06:40:56.195Z] Removing intermediate container 7176cd48533b [2020-10-06T06:40:56.195Z] ---> e1e8aa4165bb [2020-10-06T06:40:56.195Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-06T06:40:56.472Z] ---> Running in e61b16041993 [2020-10-06T06:40:57.919Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-06T06:40:58.893Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-06T06:41:00.329Z] OK: 142 MiB in 39 packages [2020-10-06T06:41:01.307Z] Removing intermediate container e61b16041993 [2020-10-06T06:41:01.307Z] ---> 3b683afc364b [2020-10-06T06:41:01.307Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-06T06:41:01.307Z] ---> Running in 02affe1ba2a0 [2020-10-06T06:41:01.908Z] Removing intermediate container 02affe1ba2a0 [2020-10-06T06:41:01.908Z] ---> 87427891f364 [2020-10-06T06:41:01.908Z] Step 7/8 : COPY . . [2020-10-06T06:41:03.364Z] ---> 28e34a034cc0 [2020-10-06T06:41:03.364Z] Step 8/8 : RUN go mod download [2020-10-06T06:41:03.662Z] ---> Running in 6e9534a197aa [2020-10-06T06:41:05.096Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 9.4% of statements [2020-10-06T06:41:05.096Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.047s coverage: 21.9% of statements [2020-10-06T06:41:05.096Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-06T06:41:05.096Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.188s coverage: 40.3% of statements [2020-10-06T06:41:05.096Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-06T06:41:05.096Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.269s coverage: 65.4% of statements [2020-10-06T06:41:05.096Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-06T06:41:05.096Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-06T06:41:05.096Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-06T06:41:05.096Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-06T06:41:05.096Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.076s coverage: 52.6% of statements [2020-10-06T06:41:05.096Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-06T06:41:05.096Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.346s coverage: 68.9% of statements [2020-10-06T06:41:05.096Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-06T06:41:05.096Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-06T06:41:05.096Z] GO111MODULE=on go vet ./... [2020-10-06T06:41:11.834Z] gofmt -l . [2020-10-06T06:41:11.835Z] [ "`gofmt -l .`" = "" ] [2020-10-06T06:41:11.835Z] ./bin/test-attribution-txt.sh [2020-10-06T06:41:11.835Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-06T06:41:12.488Z] Stashed 1 file(s) [Pipeline] } [2020-10-06T06:41:12.496Z] $ docker stop --time=1 3220e52a1851bd29917c1b02473c124e569ed052170ad870a01611bd37e4275d [2020-10-06T06:41:14.409Z] $ docker rm -f 3220e52a1851bd29917c1b02473c124e569ed052170ad870a01611bd37e4275d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-06T06:41:17.783Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-06T06:41:18.099Z] + ls -al . [2020-10-06T06:41:18.099Z] total 192 [2020-10-06T06:41:18.099Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 6 06:41 . [2020-10-06T06:41:18.099Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 6 06:39 .. [2020-10-06T06:41:18.099Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 6 06:39 bin [2020-10-06T06:41:18.099Z] -rw-r--r--. 1 jenkins jenkins 111041 Oct 6 06:41 coverage.out [2020-10-06T06:41:18.099Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 6 06:39 Dockerfile.build [2020-10-06T06:41:18.099Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 6 06:39 .dockerignore [2020-10-06T06:41:18.099Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 6 06:39 example [2020-10-06T06:41:18.099Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 6 06:39 .git [2020-10-06T06:41:18.099Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 6 06:39 .github [2020-10-06T06:41:18.099Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 6 06:39 .gitignore [2020-10-06T06:41:18.099Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 6 06:41 go.mod [2020-10-06T06:41:18.099Z] -rw-r--r--. 1 jenkins jenkins 13737 Oct 6 06:41 go.sum [2020-10-06T06:41:18.099Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 6 06:39 internal [2020-10-06T06:41:18.099Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 6 06:39 Jenkinsfile [2020-10-06T06:41:18.099Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 6 06:39 LICENSE [2020-10-06T06:41:18.099Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 6 06:39 Makefile [2020-10-06T06:41:18.099Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 6 06:39 openapi [2020-10-06T06:41:18.099Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 6 06:39 pkg [2020-10-06T06:41:18.099Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 6 06:39 README.md [2020-10-06T06:41:18.099Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 6 06:39 RELEASE-NOTES.txt [2020-10-06T06:41:18.099Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 6 06:39 .semver [2020-10-06T06:41:18.099Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 6 06:39 snap [2020-10-06T06:41:18.099Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 6 06:37 VERSION [2020-10-06T06:41:18.099Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 6 06:39 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:41:18.423Z] + 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=a0136f4ab48c04aea383df6fc9b835c730cf6549 --label arch=amd64 --label version=0.0.0 . [2020-10-06T06:41:18.686Z] Sending build context to Docker daemon 3.6MB [2020-10-06T06:41:18.686Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-06T06:41:18.686Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-06T06:41:18.686Z] ---> 838d06906614 [2020-10-06T06:41:18.686Z] Step 3/24 : ARG MAKE='make build' [2020-10-06T06:41:19.264Z] ---> Running in f7a94fa78fd1 [2020-10-06T06:41:19.264Z] Removing intermediate container f7a94fa78fd1 [2020-10-06T06:41:19.264Z] ---> c555cc95140e [2020-10-06T06:41:19.264Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-06T06:41:19.531Z] ---> Running in d31006ce2f00 [2020-10-06T06:41:19.531Z] Removing intermediate container d31006ce2f00 [2020-10-06T06:41:19.531Z] ---> 184b6b78225f [2020-10-06T06:41:19.531Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:41:19.531Z] ---> Running in fc644486995f [2020-10-06T06:41:19.800Z] Removing intermediate container fc644486995f [2020-10-06T06:41:19.800Z] ---> e21c62158403 [2020-10-06T06:41:19.800Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T06:41:19.800Z] ---> Running in de68d89390a2 [2020-10-06T06:41:20.757Z] Removing intermediate container de68d89390a2 [2020-10-06T06:41:20.757Z] ---> 7878baca3996 [2020-10-06T06:41:20.757Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-06T06:41:20.757Z] ---> Running in 8e6a59a29ca1 [2020-10-06T06:41:21.338Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-06T06:41:22.288Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-06T06:41:23.682Z] OK: 166 MiB in 39 packages [2020-10-06T06:41:23.961Z] Removing intermediate container 8e6a59a29ca1 [2020-10-06T06:41:23.961Z] ---> 50ae159754a8 [2020-10-06T06:41:23.961Z] Step 8/24 : COPY . . [2020-10-06T06:41:25.364Z] ---> 06433f0c92fb [2020-10-06T06:41:25.364Z] Step 9/24 : RUN ${MAKE} [2020-10-06T06:41:25.626Z] ---> Running in 8539468db097 [2020-10-06T06:41:25.850Z] Removing intermediate container 6e9534a197aa [2020-10-06T06:41:25.850Z] ---> cd4e4302a624 [2020-10-06T06:41:25.850Z] Successfully built cd4e4302a624 [2020-10-06T06:41:25.850Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:41:26.206Z] 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-06T06:41:26.260Z] + docker inspect -f . ci-base-image-arm64 [2020-10-06T06:41:26.260Z] . [Pipeline] withDockerContainer [2020-10-06T06:41:26.541Z] prd-ubuntu18.04-docker-arm64-4c-16g-3705 does not seem to be running inside a container [2020-10-06T06:41:26.623Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@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 ******** ci-base-image-arm64 cat [2020-10-06T06:41:28.581Z] $ docker top 7386856be3e0aed487fe36ddddb6feea8dbffeb68b5f9adc9f5de68db397a2a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T06:41:30.009Z] + go version [2020-10-06T06:41:30.009Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-06T06:41:30.035Z] $ docker stop --time=1 7386856be3e0aed487fe36ddddb6feea8dbffeb68b5f9adc9f5de68db397a2a8 [2020-10-06T06:41:32.054Z] $ docker rm -f 7386856be3e0aed487fe36ddddb6feea8dbffeb68b5f9adc9f5de68db397a2a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:41:33.108Z] + docker inspect -f . ci-base-image-arm64 [2020-10-06T06:41:33.108Z] . [Pipeline] withDockerContainer [2020-10-06T06:41:33.354Z] prd-ubuntu18.04-docker-arm64-4c-16g-3705 does not seem to be running inside a container [2020-10-06T06:41:33.440Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@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 ******** ci-base-image-arm64 cat [2020-10-06T06:41:34.426Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-06T06:41:35.364Z] $ docker top 4433d52662615ec1bf5ea38dacaacded10e38fd6fdaf77618d25f2e01525d510 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T06:41:35.818Z] Removing intermediate container 8539468db097 [2020-10-06T06:41:35.818Z] ---> d035087a87a2 [2020-10-06T06:41:35.818Z] Step 10/24 : FROM scratch [2020-10-06T06:41:35.818Z] ---> [2020-10-06T06:41:35.818Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:41:35.818Z] ---> Running in 4945bc01601b [2020-10-06T06:41:35.818Z] Removing intermediate container 4945bc01601b [2020-10-06T06:41:35.818Z] ---> 95382465c997 [2020-10-06T06:41:35.818Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-06T06:41:35.818Z] ---> Running in 14cf4cd905e2 [2020-10-06T06:41:35.818Z] Removing intermediate container 14cf4cd905e2 [2020-10-06T06:41:35.818Z] ---> 3dd1ce55e930 [2020-10-06T06:41:35.818Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-06T06:41:36.081Z] ---> Running in c8724044421b [2020-10-06T06:41:36.081Z] Removing intermediate container c8724044421b [2020-10-06T06:41:36.081Z] ---> 29060a6d9d53 [2020-10-06T06:41:36.081Z] Step 14/24 : WORKDIR / [2020-10-06T06:41:36.081Z] ---> Running in 8b5617aefc3d [2020-10-06T06:41:36.345Z] Removing intermediate container 8b5617aefc3d [2020-10-06T06:41:36.345Z] ---> b6ee1565e11c [2020-10-06T06:41:36.345Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-06T06:41:36.725Z] + make test [2020-10-06T06:41:36.725Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-06T06:41:36.924Z] ---> a5acb1b0b129 [2020-10-06T06:41:36.924Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-06T06:41:36.924Z] ---> 049c655b0700 [2020-10-06T06:41:36.924Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-06T06:41:37.186Z] ---> 4a38d0273c34 [2020-10-06T06:41:37.186Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-06T06:41:37.448Z] ---> 574f2b1d932e [2020-10-06T06:41:37.448Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-06T06:41:37.709Z] ---> f433583fef34 [2020-10-06T06:41:37.709Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-06T06:41:37.709Z] ---> Running in 52f2b38f1283 [2020-10-06T06:41:37.972Z] Removing intermediate container 52f2b38f1283 [2020-10-06T06:41:37.972Z] ---> 93ea903abaa0 [2020-10-06T06:41:37.972Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-06T06:41:37.972Z] ---> Running in 3a1e68a029e8 [2020-10-06T06:41:37.972Z] Removing intermediate container 3a1e68a029e8 [2020-10-06T06:41:37.972Z] ---> bc0c96546d7d [2020-10-06T06:41:37.972Z] Step 22/24 : LABEL arch=amd64 [2020-10-06T06:41:38.234Z] ---> Running in 6b0d5e4e8a89 [2020-10-06T06:41:38.234Z] Removing intermediate container 6b0d5e4e8a89 [2020-10-06T06:41:38.234Z] ---> ffd32dbb158b [2020-10-06T06:41:38.234Z] Step 23/24 : LABEL git_sha=a0136f4ab48c04aea383df6fc9b835c730cf6549 [2020-10-06T06:41:38.498Z] ---> Running in 6b951691e5bf [2020-10-06T06:41:38.498Z] Removing intermediate container 6b951691e5bf [2020-10-06T06:41:38.498Z] ---> b7947ef20c41 [2020-10-06T06:41:38.498Z] Step 24/24 : LABEL version=0.0.0 [2020-10-06T06:41:38.498Z] ---> Running in 8409f880021c [2020-10-06T06:41:38.761Z] Removing intermediate container 8409f880021c [2020-10-06T06:41:38.761Z] ---> 29ddb4899f45 [2020-10-06T06:41:38.761Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-06T06:41:38.761Z] Successfully built 29ddb4899f45 [2020-10-06T06:41:38.761Z] 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-06T06:41:58.925Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-06T06:42:38.014Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-06T06:42:38.014Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-06T06:42:38.014Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-06T06:42:38.014Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.152s coverage: 21.6% of statements [2020-10-06T06:42:40.650Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.179s coverage: 97.1% of statements [2020-10-06T06:43:07.462Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.132s coverage: 9.4% of statements [2020-10-06T06:43:07.462Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.125s coverage: 21.9% of statements [2020-10-06T06:43:07.462Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-06T06:43:07.462Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.562s coverage: 40.3% of statements [2020-10-06T06:43:07.462Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-06T06:43:07.462Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.703s coverage: 65.4% of statements [2020-10-06T06:43:07.462Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-06T06:43:07.462Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-06T06:43:07.462Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-06T06:43:07.462Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-06T06:43:07.462Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.170s coverage: 52.6% of statements [2020-10-06T06:43:07.462Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-06T06:43:07.462Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.639s coverage: 68.9% of statements [2020-10-06T06:43:07.462Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-06T06:43:07.462Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-06T06:43:08.056Z] GO111MODULE=on go vet ./... [2020-10-06T06:43:40.977Z] gofmt -l . [2020-10-06T06:43:40.977Z] [ "`gofmt -l .`" = "" ] [2020-10-06T06:43:40.977Z] ./bin/test-attribution-txt.sh [2020-10-06T06:43:40.977Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-06T06:43:40.996Z] Warning: overwriting stash ‘coverage-report’ [2020-10-06T06:43:41.709Z] Stashed 1 file(s) [Pipeline] } [2020-10-06T06:43:41.713Z] $ docker stop --time=1 4433d52662615ec1bf5ea38dacaacded10e38fd6fdaf77618d25f2e01525d510 [2020-10-06T06:43:43.970Z] $ docker rm -f 4433d52662615ec1bf5ea38dacaacded10e38fd6fdaf77618d25f2e01525d510 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-06T06:43:45.533Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-06T06:43:45.873Z] + ls -al . [2020-10-06T06:43:45.873Z] total 232 [2020-10-06T06:43:45.873Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 06:43 . [2020-10-06T06:43:45.873Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:40 .. [2020-10-06T06:43:45.873Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 6 06:40 .dockerignore [2020-10-06T06:43:45.873Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 06:40 .git [2020-10-06T06:43:45.873Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 06:40 .github [2020-10-06T06:43:45.873Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 6 06:40 .gitignore [2020-10-06T06:43:45.873Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 06:40 .semver [2020-10-06T06:43:45.873Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 6 06:40 Dockerfile.build [2020-10-06T06:43:45.873Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 6 06:40 Jenkinsfile [2020-10-06T06:43:45.873Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 6 06:40 LICENSE [2020-10-06T06:43:45.873Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 6 06:40 Makefile [2020-10-06T06:43:45.873Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 6 06:40 README.md [2020-10-06T06:43:45.874Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 6 06:40 RELEASE-NOTES.txt [2020-10-06T06:43:45.874Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 06:37 VERSION [2020-10-06T06:43:45.874Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 06:40 bin [2020-10-06T06:43:45.874Z] -rw-r--r-- 1 jenkins jenkins 111041 Oct 6 06:43 coverage.out [2020-10-06T06:43:45.874Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:40 example [2020-10-06T06:43:45.874Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 6 06:43 go.mod [2020-10-06T06:43:45.874Z] -rw-r--r-- 1 jenkins jenkins 13737 Oct 6 06:43 go.sum [2020-10-06T06:43:45.874Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 6 06:40 internal [2020-10-06T06:43:45.874Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:40 openapi [2020-10-06T06:43:45.874Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 6 06:40 pkg [2020-10-06T06:43:45.874Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:40 snap [2020-10-06T06:43:45.874Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 6 06:40 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:43:46.235Z] + 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=a0136f4ab48c04aea383df6fc9b835c730cf6549 --label arch=arm64 --label version=0.0.0 . [2020-10-06T06:43:46.833Z] Sending build context to Docker daemon 3.601MB [2020-10-06T06:43:46.833Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-06T06:43:46.833Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-06T06:43:46.833Z] ---> cd4e4302a624 [2020-10-06T06:43:46.833Z] Step 3/24 : ARG MAKE='make build' [2020-10-06T06:43:47.106Z] ---> Running in 9918e22c2c1d [2020-10-06T06:43:47.701Z] Removing intermediate container 9918e22c2c1d [2020-10-06T06:43:47.701Z] ---> 31147bf2e964 [2020-10-06T06:43:47.701Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-06T06:43:47.701Z] ---> Running in 2f99b42e27ef [2020-10-06T06:43:48.296Z] Removing intermediate container 2f99b42e27ef [2020-10-06T06:43:48.296Z] ---> c253c4aef721 [2020-10-06T06:43:48.296Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:43:48.296Z] ---> Running in f61bd62f9ce3 [2020-10-06T06:43:48.890Z] Removing intermediate container f61bd62f9ce3 [2020-10-06T06:43:48.890Z] ---> 9c3a53593be6 [2020-10-06T06:43:48.890Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T06:43:48.890Z] ---> Running in 071404f0eaa3 [2020-10-06T06:43:51.507Z] Removing intermediate container 071404f0eaa3 [2020-10-06T06:43:51.507Z] ---> adf3f501cdc3 [2020-10-06T06:43:51.507Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-06T06:43:51.507Z] ---> Running in 02d8a7da7a82 [2020-10-06T06:43:52.948Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-06T06:43:54.385Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-06T06:43:56.996Z] OK: 142 MiB in 39 packages [2020-10-06T06:43:57.973Z] Removing intermediate container 02d8a7da7a82 [2020-10-06T06:43:57.973Z] ---> d90addd7e48e [2020-10-06T06:43:57.973Z] Step 8/24 : COPY . . [2020-10-06T06:43:59.439Z] ---> 80e7f786769b [2020-10-06T06:43:59.440Z] Step 9/24 : RUN ${MAKE} [2020-10-06T06:43:59.440Z] ---> Running in 2f7ac82d0b26 [2020-10-06T06:44:01.422Z] 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-06T06:44:28.285Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-06T06:44:28.285Z] Removing intermediate container 2f7ac82d0b26 [2020-10-06T06:44:28.285Z] ---> dd80fbaf3b86 [2020-10-06T06:44:28.285Z] Step 10/24 : FROM scratch [2020-10-06T06:44:28.285Z] ---> [2020-10-06T06:44:28.285Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:44:28.285Z] ---> Running in 799411de5590 [2020-10-06T06:44:28.558Z] Removing intermediate container 799411de5590 [2020-10-06T06:44:28.558Z] ---> c2ebbce1bc3f [2020-10-06T06:44:28.558Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-06T06:44:28.558Z] ---> Running in b169a203a63d [2020-10-06T06:44:28.830Z] Removing intermediate container b169a203a63d [2020-10-06T06:44:28.830Z] ---> 245dae326afb [2020-10-06T06:44:28.830Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-06T06:44:29.104Z] ---> Running in 90d052ccc3f9 [2020-10-06T06:44:29.377Z] Removing intermediate container 90d052ccc3f9 [2020-10-06T06:44:29.377Z] ---> b3b76408e48e [2020-10-06T06:44:29.377Z] Step 14/24 : WORKDIR / [2020-10-06T06:44:29.377Z] ---> Running in 5cf24738c4e6 [2020-10-06T06:44:29.976Z] Removing intermediate container 5cf24738c4e6 [2020-10-06T06:44:29.976Z] ---> 191825b21789 [2020-10-06T06:44:29.976Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-06T06:44:31.411Z] ---> a041e7d6a484 [2020-10-06T06:44:31.411Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-06T06:44:31.690Z] ---> 0540d78f7b1e [2020-10-06T06:44:31.690Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-06T06:44:32.676Z] ---> e671a1292d7b [2020-10-06T06:44:32.676Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-06T06:44:33.270Z] ---> 3dd4498e2879 [2020-10-06T06:44:33.270Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-06T06:44:33.864Z] ---> 5e07c41cb4c1 [2020-10-06T06:44:33.864Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-06T06:44:34.138Z] ---> Running in 6fcd23c5c374 [2020-10-06T06:44:34.411Z] Removing intermediate container 6fcd23c5c374 [2020-10-06T06:44:34.411Z] ---> 3c9acc74a760 [2020-10-06T06:44:34.411Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-06T06:44:34.685Z] ---> Running in 5a1dd22baba7 [2020-10-06T06:44:34.959Z] Removing intermediate container 5a1dd22baba7 [2020-10-06T06:44:34.959Z] ---> fa01246095bf [2020-10-06T06:44:34.959Z] Step 22/24 : LABEL arch=arm64 [2020-10-06T06:44:35.232Z] ---> Running in 748015004e98 [2020-10-06T06:44:35.507Z] Removing intermediate container 748015004e98 [2020-10-06T06:44:35.507Z] ---> 59b7ef82592b [2020-10-06T06:44:35.507Z] Step 23/24 : LABEL git_sha=a0136f4ab48c04aea383df6fc9b835c730cf6549 [2020-10-06T06:44:35.781Z] ---> Running in e6b82b2508e3 [2020-10-06T06:44:36.052Z] Removing intermediate container e6b82b2508e3 [2020-10-06T06:44:36.052Z] ---> 3d295a93b425 [2020-10-06T06:44:36.052Z] Step 24/24 : LABEL version=0.0.0 [2020-10-06T06:44:36.326Z] ---> Running in c47fc6115a91 [2020-10-06T06:44:36.601Z] Removing intermediate container c47fc6115a91 [2020-10-06T06:44:36.601Z] ---> f919772cf38b [2020-10-06T06:44:36.601Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-06T06:44:36.871Z] Successfully built f919772cf38b [2020-10-06T06:44:36.871Z] 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-06T06:44:38.656Z] provisioning config files... [2020-10-06T06:44:38.668Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config803678255536844088tmp [Pipeline] { [Pipeline] sh [2020-10-06T06:44:39.061Z] + set +x [2020-10-06T06:44:39.061Z] + curl -s https://codecov.io/bash [2020-10-06T06:44:39.061Z] + bash -s -- [2020-10-06T06:44:39.322Z] [2020-10-06T06:44:39.322Z] _____ _ [2020-10-06T06:44:39.322Z] / ____| | | [2020-10-06T06:44:39.322Z] | | ___ __| | ___ ___ _____ __ [2020-10-06T06:44:39.322Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-06T06:44:39.322Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-06T06:44:39.322Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-06T06:44:39.322Z] Bash-20200917-4e8f14b [2020-10-06T06:44:39.322Z] [2020-10-06T06:44:39.322Z] [2020-10-06T06:44:39.322Z] ==> Jenkins CI detected. [2020-10-06T06:44:39.322Z] project root: . [2020-10-06T06:44:39.322Z] --> token set from env [2020-10-06T06:44:39.322Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-06T06:44:39.322Z] ==> Running gcov in . (disable via -X gcov) [2020-10-06T06:44:39.322Z] ==> Python coveragepy not found [2020-10-06T06:44:39.322Z] ==> Searching for coverage reports in: [2020-10-06T06:44:39.322Z] + . [2020-10-06T06:44:39.322Z] -> Found 1 reports [2020-10-06T06:44:39.322Z] ==> Detecting git/mercurial file structure [2020-10-06T06:44:39.322Z] ==> Reading reports [2020-10-06T06:44:39.322Z] + ./coverage.out bytes=111041 [2020-10-06T06:44:39.322Z] ==> Appending adjustments [2020-10-06T06:44:39.322Z] https://docs.codecov.io/docs/fixing-reports [2020-10-06T06:44:39.583Z] + Found adjustments [2020-10-06T06:44:39.583Z] ==> Gzipping contents [2020-10-06T06:44:39.583Z] ==> Uploading reports [2020-10-06T06:44:39.583Z] url: https://codecov.io [2020-10-06T06:44:39.583Z] query: branch=PR-584&commit=a0136f4ab48c04aea383df6fc9b835c730cf6549&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2020-10-06T06:44:39.583Z] -> Pinging Codecov [2020-10-06T06:44:39.583Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-584&commit=a0136f4ab48c04aea383df6fc9b835c730cf6549&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2020-10-06T06:44:40.157Z] -> Uploading to [2020-10-06T06:44:40.157Z] https://storage.googleapis.com/codecov/v4/raw/2020-10-06/7E55EF52A471D76F132DFD9A03CDDE97/a0136f4ab48c04aea383df6fc9b835c730cf6549/7cea4c85-46c9-4773-8ded-4a4f5615941b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201006T064440Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=13879d06e08d3b6affe307b6fd0ba96f3fc98ddc7d6c89bb0f33e519c6843928 [2020-10-06T06:44:40.157Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-06T06:44:40.157Z] Dload Upload Total Spent Left Speed [2020-10-06T06:44:40.729Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18336 0 0 100 18336 0 42147 --:--:-- --:--:-- --:--:-- 42248 [2020-10-06T06:44:40.729Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a0136f4ab48c04aea383df6fc9b835c730cf6549 [Pipeline] } [2020-10-06T06:44:40.740Z] 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-06T06:44:43.246Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:44:43.816Z] ---> package-listing.sh [2020-10-06T06:44:43.816Z] ++ facter osfamily [2020-10-06T06:44:43.816Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-06T06:44:43.816Z] + OS_FAMILY=redhat [2020-10-06T06:44:43.816Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-06T06:44:43.816Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-06T06:44:43.816Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-06T06:44:43.816Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-06T06:44:43.816Z] + PACKAGES=/tmp/packages_start.txt [2020-10-06T06:44:43.816Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-10-06T06:44:43.816Z] + PACKAGES=/tmp/packages_end.txt [2020-10-06T06:44:43.816Z] + case "${OS_FAMILY}" in [2020-10-06T06:44:43.816Z] + rpm -qa [2020-10-06T06:44:43.816Z] + sort [2020-10-06T06:44:47.124Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-06T06:44:47.124Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-06T06:44:47.124Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-06T06:44:47.124Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-10-06T06:44:47.124Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [2020-10-06T06:44:47.124Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-06T06:44:47.356Z] provisioning config files... [2020-10-06T06:44:47.381Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config1351948084681668315tmp [Pipeline] { [Pipeline] echo [2020-10-06T06:44:47.449Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:44:47.748Z] ---> create-netrc.sh [Pipeline] } [2020-10-06T06:44:47.756Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-06T06:44:47.851Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:44:48.140Z] ---> python-tools-install.sh [2020-10-06T06:44:48.141Z] Generating Requirements File [2020-10-06T06:45:55.910Z] Python 3.6.8 [2020-10-06T06:45:55.910Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-06T06:45:55.910Z] appdirs==1.4.3 [2020-10-06T06:45:55.910Z] argcomplete==1.12.1 [2020-10-06T06:45:55.910Z] aspy.yaml==1.3.0 [2020-10-06T06:45:55.910Z] attrs==19.3.0 [2020-10-06T06:45:55.910Z] Babel==2.8.0 [2020-10-06T06:45:55.910Z] beautifulsoup4==4.8.2 [2020-10-06T06:45:55.910Z] boto3==1.11.6 [2020-10-06T06:45:55.910Z] botocore==1.14.6 [2020-10-06T06:45:55.910Z] bs4==0.0.1 [2020-10-06T06:45:55.910Z] cachetools==4.1.1 [2020-10-06T06:45:55.910Z] certifi==2019.11.28 [2020-10-06T06:45:55.910Z] cffi==1.14.3 [2020-10-06T06:45:55.910Z] cfgv==2.0.1 [2020-10-06T06:45:55.910Z] chardet==3.0.4 [2020-10-06T06:45:55.910Z] click==7.1 [2020-10-06T06:45:55.910Z] cliff==3.4.0 [2020-10-06T06:45:55.910Z] cmd2==1.3.11 [2020-10-06T06:45:55.910Z] colorama==0.4.3 [2020-10-06T06:45:55.910Z] cryptography==3.1.1 [2020-10-06T06:45:55.910Z] debtcollector==2.2.0 [2020-10-06T06:45:55.910Z] decorator==4.4.2 [2020-10-06T06:45:55.910Z] defusedxml==0.6.0 [2020-10-06T06:45:55.910Z] Deprecated==1.2.7 [2020-10-06T06:45:55.910Z] distlib==0.3.1 [2020-10-06T06:45:55.910Z] distro==1.2.0 [2020-10-06T06:45:55.910Z] dnspython==1.16.0 [2020-10-06T06:45:55.910Z] docker==4.2.0 [2020-10-06T06:45:55.910Z] docutils==0.15.2 [2020-10-06T06:45:55.910Z] dogpile.cache==1.0.2 [2020-10-06T06:45:55.910Z] email-validator==1.0.5 [2020-10-06T06:45:55.910Z] filelock==3.0.12 [2020-10-06T06:45:55.910Z] future==0.18.2 [2020-10-06T06:45:55.910Z] google-auth==1.22.1 [2020-10-06T06:45:55.910Z] httplib2==0.17.0 [2020-10-06T06:45:55.910Z] identify==1.4.11 [2020-10-06T06:45:55.910Z] idna==2.9 [2020-10-06T06:45:55.910Z] importlib-metadata==1.7.0 [2020-10-06T06:45:55.910Z] importlib-resources==1.5.0 [2020-10-06T06:45:55.910Z] iso8601==0.1.13 [2020-10-06T06:45:55.910Z] Jinja2==2.11.1 [2020-10-06T06:45:55.910Z] jmespath==0.10.0 [2020-10-06T06:45:55.910Z] jsonpatch==1.26 [2020-10-06T06:45:55.910Z] jsonpointer==2.0 [2020-10-06T06:45:55.910Z] jsonschema==3.2.0 [2020-10-06T06:45:55.910Z] keystoneauth1==4.2.1 [2020-10-06T06:45:55.910Z] kubernetes==11.0.0 [2020-10-06T06:45:55.910Z] lftools==0.34.2 [2020-10-06T06:45:55.910Z] lxml==4.5.0 [2020-10-06T06:45:55.910Z] MarkupSafe==0.23 [2020-10-06T06:45:55.910Z] msgpack==1.0.0 [2020-10-06T06:45:55.910Z] multi-key-dict==2.0.3 [2020-10-06T06:45:55.910Z] munch==2.5.0 [2020-10-06T06:45:55.910Z] netaddr==0.8.0 [2020-10-06T06:45:55.910Z] netifaces==0.10.9 [2020-10-06T06:45:55.910Z] niet==1.4.2 [2020-10-06T06:45:55.910Z] nodeenv==1.3.5 [2020-10-06T06:45:55.910Z] oauth2client==4.1.3 [2020-10-06T06:45:55.910Z] oauthlib==3.1.0 [2020-10-06T06:45:55.910Z] openstacksdk==0.50.0 [2020-10-06T06:45:55.910Z] os-client-config==2.1.0 [2020-10-06T06:45:55.910Z] os-service-types==1.7.0 [2020-10-06T06:45:55.910Z] osc-lib==2.2.1 [2020-10-06T06:45:55.910Z] oslo.config==8.3.2 [2020-10-06T06:45:55.910Z] oslo.context==3.1.1 [2020-10-06T06:45:55.910Z] oslo.i18n==5.0.1 [2020-10-06T06:45:55.910Z] oslo.log==4.4.0 [2020-10-06T06:45:55.910Z] oslo.serialization==4.0.1 [2020-10-06T06:45:55.910Z] oslo.utils==4.6.0 [2020-10-06T06:45:55.910Z] packaging==20.4 [2020-10-06T06:45:55.910Z] pbr==5.4.4 [2020-10-06T06:45:55.910Z] pluggy==0.13.1 [2020-10-06T06:45:55.910Z] prettytable==0.7.2 [2020-10-06T06:45:55.910Z] py==1.9.0 [2020-10-06T06:45:55.910Z] pyasn1==0.4.8 [2020-10-06T06:45:55.910Z] pyasn1-modules==0.2.8 [2020-10-06T06:45:55.910Z] pycparser==2.20 [2020-10-06T06:45:55.910Z] pygerrit2==2.0.10 [2020-10-06T06:45:55.910Z] PyGithub==1.46 [2020-10-06T06:45:55.910Z] pyinotify==0.9.6 [2020-10-06T06:45:55.910Z] PyJWT==1.7.1 [2020-10-06T06:45:55.910Z] pyparsing==2.4.7 [2020-10-06T06:45:55.910Z] pyperclip==1.8.0 [2020-10-06T06:45:55.910Z] pyroute2==0.4.13 [2020-10-06T06:45:55.910Z] pyrsistent==0.15.7 [2020-10-06T06:45:55.910Z] PySocks==1.6.8 [2020-10-06T06:45:55.910Z] python-cinderclient==7.2.0 [2020-10-06T06:45:55.910Z] python-dateutil==2.8.1 [2020-10-06T06:45:55.910Z] python-heatclient==2.2.1 [2020-10-06T06:45:55.910Z] python-jenkins==1.7.0 [2020-10-06T06:45:55.910Z] python-keystoneclient==4.1.1 [2020-10-06T06:45:55.910Z] python-magnumclient==3.2.1 [2020-10-06T06:45:55.910Z] python-novaclient==17.2.1 [2020-10-06T06:45:55.910Z] python-openstackclient==5.4.0 [2020-10-06T06:45:55.910Z] python-swiftclient==3.10.1 [2020-10-06T06:45:55.910Z] pytz==2020.1 [2020-10-06T06:45:55.910Z] PyYAML==5.3 [2020-10-06T06:45:55.910Z] requests==2.23.0 [2020-10-06T06:45:55.910Z] requests-oauthlib==1.3.0 [2020-10-06T06:45:55.910Z] requestsexceptions==1.4.0 [2020-10-06T06:45:55.910Z] rfc3986==1.4.0 [2020-10-06T06:45:55.910Z] rpm==4.11.3 [2020-10-06T06:45:55.910Z] rsa==4.0 [2020-10-06T06:45:55.910Z] ruamel.yaml==0.16.10 [2020-10-06T06:45:55.910Z] ruamel.yaml.clib==0.2.0 [2020-10-06T06:45:55.910Z] s3transfer==0.3.3 [2020-10-06T06:45:55.910Z] shade==1.27.2 [2020-10-06T06:45:55.910Z] simplejson==3.17.2 [2020-10-06T06:45:55.910Z] six==1.14.0 [2020-10-06T06:45:55.910Z] soupsieve==2.0 [2020-10-06T06:45:55.910Z] stevedore==3.2.2 [2020-10-06T06:45:55.910Z] tabulate==0.8.6 [2020-10-06T06:45:55.910Z] toml==0.10.0 [2020-10-06T06:45:55.910Z] tox==3.20.0 [2020-10-06T06:45:55.910Z] tqdm==4.43.0 [2020-10-06T06:45:55.910Z] urllib3==1.25.8 [2020-10-06T06:45:55.910Z] virtualenv==20.0.33 [2020-10-06T06:45:55.910Z] wcwidth==0.2.5 [2020-10-06T06:45:55.910Z] websocket-client==0.57.0 [2020-10-06T06:45:55.910Z] wrapt==1.12.1 [2020-10-06T06:45:55.910Z] xdg==3.0.2 [2020-10-06T06:45:55.910Z] xmltodict==0.12.0 [2020-10-06T06:45:55.911Z] yq==2.11.1 [2020-10-06T06:45:55.911Z] zipp==3.3.0 [2020-10-06T06:45:55.911Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:45:55.911Z] 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-06T06:45:59.224Z] Python 2.7.5 [2020-10-06T06:45:59.224Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-06T06:45:59.224Z] 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-06T06:45:59.224Z] ansible==2.9.7 [2020-10-06T06:45:59.224Z] Babel==0.9.6 [2020-10-06T06:45:59.224Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-06T06:45:59.224Z] beautifulsoup4==4.4.1 [2020-10-06T06:45:59.224Z] bodhi==2.11.0 [2020-10-06T06:45:59.224Z] bodhi-client==2.11.0 [2020-10-06T06:45:59.224Z] CCColUtils==1.4 [2020-10-06T06:45:59.224Z] cffi==1.6.0 [2020-10-06T06:45:59.224Z] chardet==2.2.1 [2020-10-06T06:45:59.224Z] click==6.7 [2020-10-06T06:45:59.224Z] cloud-init==18.5 [2020-10-06T06:45:59.224Z] configobj==4.7.2 [2020-10-06T06:45:59.224Z] cryptography==1.7.2 [2020-10-06T06:45:59.224Z] decorator==3.4.0 [2020-10-06T06:45:59.224Z] distro==1.2.0 [2020-10-06T06:45:59.224Z] enum34==1.0.4 [2020-10-06T06:45:59.224Z] fedpkg==1.38 [2020-10-06T06:45:59.224Z] futures==3.1.1 [2020-10-06T06:45:59.224Z] gitdb==0.6.4 [2020-10-06T06:45:59.224Z] GitPython==1.0.1 [2020-10-06T06:45:59.224Z] html5lib==0.999 [2020-10-06T06:45:59.224Z] httplib2==0.9.2 [2020-10-06T06:45:59.224Z] idna==2.4 [2020-10-06T06:45:59.224Z] iniparse==0.4 [2020-10-06T06:45:59.224Z] ipaddress==1.0.16 [2020-10-06T06:45:59.224Z] IPy==0.75 [2020-10-06T06:45:59.224Z] javapackages==1.0.0 [2020-10-06T06:45:59.224Z] Jinja2==2.7.2 [2020-10-06T06:45:59.224Z] jmespath==0.9.4 [2020-10-06T06:45:59.224Z] jsonpatch==1.2 [2020-10-06T06:45:59.224Z] jsonpointer==1.9 [2020-10-06T06:45:59.224Z] kerberos==1.1 [2020-10-06T06:45:59.224Z] kitchen==1.1.1 [2020-10-06T06:45:59.224Z] langtable==0.0.31 [2020-10-06T06:45:59.224Z] lockfile==0.9.1 [2020-10-06T06:45:59.224Z] lxml==3.2.1 [2020-10-06T06:45:59.224Z] MarkupSafe==0.11 [2020-10-06T06:45:59.224Z] munch==2.0.2 [2020-10-06T06:45:59.224Z] offtrac==0.1.0 [2020-10-06T06:45:59.224Z] openidc-client==0.6.0 [2020-10-06T06:45:59.224Z] packagedb-cli==2.14.1 [2020-10-06T06:45:59.224Z] paramiko==2.1.1 [2020-10-06T06:45:59.224Z] perf==0.1 [2020-10-06T06:45:59.224Z] ply==3.4 [2020-10-06T06:45:59.224Z] policycoreutils-default-encoding==0.1 [2020-10-06T06:45:59.224Z] prettytable==0.7.2 [2020-10-06T06:45:59.224Z] pyasn1==0.1.9 [2020-10-06T06:45:59.224Z] pycparser==2.14 [2020-10-06T06:45:59.224Z] pycurl==7.19.0 [2020-10-06T06:45:59.224Z] pygobject==3.22.0 [2020-10-06T06:45:59.224Z] pygpgme==0.3 [2020-10-06T06:45:59.224Z] pyliblzma==0.5.3 [2020-10-06T06:45:59.224Z] pyOpenSSL==0.13.1 [2020-10-06T06:45:59.224Z] pyparsing==1.5.6 [2020-10-06T06:45:59.224Z] pyserial==2.6 [2020-10-06T06:45:59.224Z] python-augeas==0.5.0 [2020-10-06T06:45:59.224Z] python-bugzilla==2.3.0 [2020-10-06T06:45:59.224Z] python-dateutil==1.5 [2020-10-06T06:45:59.224Z] python-fedora==0.10.0 [2020-10-06T06:45:59.224Z] python-linux-procfs==0.4.9 [2020-10-06T06:45:59.224Z] python-yubico==1.2.3 [2020-10-06T06:45:59.224Z] pyudev==0.15 [2020-10-06T06:45:59.224Z] pyusb==1.0.0b1 [2020-10-06T06:45:59.224Z] pyxattr==0.5.1 [2020-10-06T06:45:59.224Z] PyYAML==3.10 [2020-10-06T06:45:59.224Z] requests==2.6.0 [2020-10-06T06:45:59.224Z] requests-kerberos==0.7.0 [2020-10-06T06:45:59.224Z] rpkg==1.60 [2020-10-06T06:45:59.224Z] schedutils==0.4 [2020-10-06T06:45:59.224Z] seobject==0.1 [2020-10-06T06:45:59.224Z] sepolicy==1.1 [2020-10-06T06:45:59.224Z] six==1.9.0 [2020-10-06T06:45:59.224Z] smmap==0.9.0 [2020-10-06T06:45:59.224Z] urlgrabber==3.10 [2020-10-06T06:45:59.224Z] urllib3==1.10.2 [2020-10-06T06:45:59.224Z] virtualenv==15.1.0 [2020-10-06T06:45:59.224Z] yum-langpacks==0.4.2 [2020-10-06T06:45:59.224Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-06T06:45:59.235Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:45:59.535Z] ---> sudo-logs.sh [2020-10-06T06:45:59.535Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-06T06:45:59.809Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:46:00.496Z] ---> job-cost.sh [2020-10-06T06:46:00.496Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-vA2z [2020-10-06T06:46:10.514Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:46:10.514Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:46:11.088Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:46:11.350Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:46:11.350Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:46:11.350Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:46:11.611Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:46:11.611Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:46:11.876Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:46:11.876Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:46:11.876Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:46:11.876Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:46:17.163Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-06T06:46:43.770Z] lf-activate-venv(): INFO: Adding /tmp/venv-vA2z/bin to PATH [2020-10-06T06:46:43.770Z] INFO: No Stack... [2020-10-06T06:46:43.770Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-06T06:46:45.166Z] INFO: Archiving Costs [Pipeline] echo [2020-10-06T06:46:45.179Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:46:45.475Z] ---> logs-deploy.sh [2020-10-06T06:46:45.475Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/18 [2020-10-06T06:46:45.475Z] INFO: archiving workspace using pattern(s): [2020-10-06T06:46:46.867Z] Archives upload complete. [2020-10-06T06:46:46.867Z] INFO: archiving logs to Nexus