Pull request #602 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from fa7ee706912a0374fffe18411a0469524eb76af6+fb7330ff9bf92f9fa1366cf6687914141b9e28cd (18e52c0ba7ed5fc9e0aee71c36da6f028fcbfd9a) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2139 in /w/workspace/dgexfoundry_device-sdk-go_PR-602 [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-602 # 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/602/head:refs/remotes/origin/PR-602 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit fb7330ff9bf92f9fa1366cf6687914141b9e28cd into PR head commit fa7ee706912a0374fffe18411a0469524eb76af6 Merge succeeded, producing fa7ee706912a0374fffe18411a0469524eb76af6 Checking out Revision fa7ee706912a0374fffe18411a0469524eb76af6 (PR-602) > git config core.sparsecheckout # timeout=10 > git checkout -f fa7ee706912a0374fffe18411a0469524eb76af6 # 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 fb7330ff9bf92f9fa1366cf6687914141b9e28cd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa7ee706912a0374fffe18411a0469524eb76af6 # timeout=10 Commit message: "feat: implement Device SDK v2 common API" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-30T05:09:54.648Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 276e169bbc00b810e76808b3fa76b69a46b3a00c # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-30T05:09:54.952Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-30T05:09:55.102Z] ========================================================= [2020-09-30T05:09:55.102Z] EdgeX Global Pipelines Version Info [2020-09-30T05:09:55.102Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-30T05:09:56.555Z] ------------------- [2020-09-30T05:09:56.555Z] stable info: [2020-09-30T05:09:56.555Z] ------------------- [2020-09-30T05:09:56.555Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-30T05:09:56.555Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-09-30T05:09:56.555Z] Message: update stable to v1.0.131 [2020-09-30T05:09:57.498Z] ------------------- [2020-09-30T05:09:57.498Z] experimental info: [2020-09-30T05:09:57.498Z] ------------------- [2020-09-30T05:09:57.498Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-30T05:09:57.498Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-09-30T05:09:57.498Z] Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-30T05:09:57.859Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-30T05:09:57.961Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-30T05:09:58.064Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-30T05:09:58.162Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-30T05:09:58.285Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-30T05:09:58.385Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-30T05:09:58.509Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-30T05:09:58.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-30T05:09:58.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-30T05:09:58.803Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-30T05:09:58.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-30T05:09:58.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-30T05:09:59.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-30T05:09:59.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-30T05:09:59.277Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-30T05:09:59.377Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-30T05:09:59.470Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-30T05:09:59.567Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-30T05:09:59.746Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-30T05:09:59.839Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-30T05:09:59.952Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-30T05:10:00.044Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-30T05:10:00.137Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-09-30T05:10:00.288Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-09-30T05:10:00.410Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-09-30T05:10:00.523Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-602 [Pipeline] echo [2020-09-30T05:10:00.634Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-602 [Pipeline] echo [2020-09-30T05:10:00.788Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-602 [Pipeline] echo [2020-09-30T05:10:00.931Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa7ee706912a0374fffe18411a0469524eb76af6 [Pipeline] echo [2020-09-30T05:10:01.031Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa7ee70 [Pipeline] echo [2020-09-30T05:10:01.130Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-30T05:10:01.778Z] + git log --format=format:%s -1 fa7ee706912a0374fffe18411a0469524eb76af6 [Pipeline] echo [2020-09-30T05:10:01.839Z] GIT_COMMIT: fa7ee706912a0374fffe18411a0469524eb76af6, Commit Message: feat: implement Device SDK v2 common API [Pipeline] echo [2020-09-30T05:10:01.892Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-30T05:10:02.694Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-30T05:10:02.956Z] [2020-09-30T05:10:02.956Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-30T05:10:03.308Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-30T05:10:03.308Z] latest: Pulling from edgex-devops/git-semver [2020-09-30T05:10:03.308Z] 31603596830f: Pulling fs layer [2020-09-30T05:10:03.308Z] 2a8b12db71e7: Pulling fs layer [2020-09-30T05:10:03.308Z] 6ca5941a6612: Pulling fs layer [2020-09-30T05:10:03.308Z] ecc8261a40a4: Pulling fs layer [2020-09-30T05:10:03.308Z] ecc8261a40a4: Waiting [2020-09-30T05:10:03.308Z] 2a8b12db71e7: Verifying Checksum [2020-09-30T05:10:03.308Z] 2a8b12db71e7: Download complete [2020-09-30T05:10:03.569Z] 31603596830f: Verifying Checksum [2020-09-30T05:10:03.569Z] 31603596830f: Download complete [2020-09-30T05:10:03.569Z] ecc8261a40a4: Verifying Checksum [2020-09-30T05:10:03.569Z] ecc8261a40a4: Download complete [2020-09-30T05:10:03.569Z] 6ca5941a6612: Verifying Checksum [2020-09-30T05:10:03.569Z] 6ca5941a6612: Download complete [2020-09-30T05:10:03.832Z] 31603596830f: Pull complete [2020-09-30T05:10:03.832Z] 2a8b12db71e7: Pull complete [2020-09-30T05:10:04.786Z] 6ca5941a6612: Pull complete [2020-09-30T05:10:05.049Z] ecc8261a40a4: Pull complete [2020-09-30T05:10:05.049Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-30T05:10:05.049Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-30T05:10:05.049Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-30T05:10:05.161Z] prd-centos7-docker-4c-2g-2139 does not seem to be running inside a container [2020-09-30T05:10:05.213Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-602 -v /w/workspace/dgexfoundry_device-sdk-go_PR-602:/w/workspace/dgexfoundry_device-sdk-go_PR-602:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-30T05:10:07.511Z] $ docker top f95a64de66dff3e6d79a0412287a4529911a3dc3f422e2038e607a6f373e8e65 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-30T05:10:07.829Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-30T05:10:07.829Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-30T05:10:08.032Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-30T05:10:08.037Z] $ docker exec f95a64de66dff3e6d79a0412287a4529911a3dc3f422e2038e607a6f373e8e65 ssh-agent [2020-09-30T05:10:08.197Z] SSH_AUTH_SOCK=/tmp/ssh-a0YxSwAFUv42/agent.11 [2020-09-30T05:10:08.197Z] SSH_AGENT_PID=16 [2020-09-30T05:10:08.208Z] Running ssh-add (command line suppressed) [2020-09-30T05:10:08.325Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_8056669557964301781.key (/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_8056669557964301781.key) [2020-09-30T05:10:08.370Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-30T05:10:08.705Z] + git describe --exact-match --tags HEAD [2020-09-30T05:10:08.705Z] fatal: no tag exactly matches 'fa7ee706912a0374fffe18411a0469524eb76af6' [Pipeline] } [2020-09-30T05:10:08.730Z] $ docker exec --env ******** --env ******** f95a64de66dff3e6d79a0412287a4529911a3dc3f422e2038e607a6f373e8e65 ssh-agent -k [2020-09-30T05:10:08.840Z] unset SSH_AUTH_SOCK; [2020-09-30T05:10:08.840Z] unset SSH_AGENT_PID; [2020-09-30T05:10:08.840Z] echo Agent pid 16 killed; [2020-09-30T05:10:08.882Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-30T05:10:09.012Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-30T05:10:09.012Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-30T05:10:09.115Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-30T05:10:09.115Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-30T05:10:09.270Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-30T05:10:09.275Z] $ docker exec f95a64de66dff3e6d79a0412287a4529911a3dc3f422e2038e607a6f373e8e65 ssh-agent [2020-09-30T05:10:09.425Z] SSH_AUTH_SOCK=/tmp/ssh-Lpbpwf9aC1Zd/agent.44 [2020-09-30T05:10:09.425Z] SSH_AGENT_PID=50 [2020-09-30T05:10:09.431Z] Running ssh-add (command line suppressed) [2020-09-30T05:10:09.548Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_6697543212793551465.key (/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_6697543212793551465.key) [2020-09-30T05:10:09.591Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-30T05:10:09.928Z] + git semver init [2020-09-30T05:10:09.928Z] # -> Open(): unable to determine branch for HEAD [2020-09-30T05:10:09.928Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-602/.git [2020-09-30T05:10:09.928Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-602 [2020-09-30T05:10:09.928Z] # $SEMVER_REMOTE_NAME = origin [2020-09-30T05:10:09.928Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-30T05:10:09.928Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-30T05:10:09.928Z] # $SEMVER_BRANCH = PR-602 [2020-09-30T05:10:09.928Z] # $SEMVER_TEMP = /tmp/semver-094405756 [2020-09-30T05:10:09.928Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-30T05:10:10.504Z] # '/tmp/semver-094405756' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-602/.semver' [2020-09-30T05:10:10.504Z] # -> Force: false [2020-09-30T05:10:10.504Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-602/.semver [Pipeline] } [2020-09-30T05:10:10.518Z] $ docker exec --env ******** --env ******** f95a64de66dff3e6d79a0412287a4529911a3dc3f422e2038e607a6f373e8e65 ssh-agent -k [2020-09-30T05:10:10.639Z] unset SSH_AUTH_SOCK; [2020-09-30T05:10:10.640Z] unset SSH_AGENT_PID; [2020-09-30T05:10:10.640Z] echo Agent pid 50 killed; [2020-09-30T05:10:10.685Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-30T05:10:11.177Z] + git semver [Pipeline] } [2020-09-30T05:10:11.195Z] $ docker stop --time=1 f95a64de66dff3e6d79a0412287a4529911a3dc3f422e2038e607a6f373e8e65 [2020-09-30T05:10:12.576Z] $ docker rm -f f95a64de66dff3e6d79a0412287a4529911a3dc3f422e2038e607a6f373e8e65 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-30T05:10:13.524Z] Stashed 40 file(s) [Pipeline] echo [2020-09-30T05:10:13.527Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-30T05:10:13.626Z] 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-09-30T05:10:29.098Z] Still waiting to schedule task [2020-09-30T05:10:29.098Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2139’ [2020-09-30T05:10:29.111Z] Still waiting to schedule task [2020-09-30T05:10:29.111Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-30T05:12:29.834Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2140 in /w/workspace/dgexfoundry_device-sdk-go_PR-602 [Pipeline] { [Pipeline] ws [2020-09-30T05:12:29.903Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2020-09-30T05:12:34.952Z] using credential edgex-jenkins-ssh [2020-09-30T05:12:35.015Z] Cloning the remote Git repository [2020-09-30T05:12:35.072Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-30T05:12:35.177Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2020-09-30T05:12:35.247Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-30T05:12:35.248Z] > git --version # timeout=10 [2020-09-30T05:12:35.264Z] > git --version # 'git version 2.17.1' [2020-09-30T05:12:35.265Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-30T05:12:35.343Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-30T05:12:37.207Z] Merging remotes/origin/master commit fb7330ff9bf92f9fa1366cf6687914141b9e28cd into PR head commit fa7ee706912a0374fffe18411a0469524eb76af6 [2020-09-30T05:12:37.426Z] Merge succeeded, producing fa7ee706912a0374fffe18411a0469524eb76af6 [2020-09-30T05:12:37.427Z] Checking out Revision fa7ee706912a0374fffe18411a0469524eb76af6 (PR-602) [2020-09-30T05:12:36.484Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-30T05:12:36.498Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-30T05:12:36.534Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-30T05:12:36.567Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-30T05:12:36.568Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-30T05:12:36.580Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/602/head:refs/remotes/origin/PR-602 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-30T05:12:37.228Z] > git config core.sparsecheckout # timeout=10 [2020-09-30T05:12:37.242Z] > git checkout -f fa7ee706912a0374fffe18411a0469524eb76af6 # timeout=10 [2020-09-30T05:12:37.355Z] > git remote # timeout=10 [2020-09-30T05:12:37.371Z] > git config --get remote.origin.url # timeout=10 [2020-09-30T05:12:37.383Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-30T05:12:37.393Z] > git merge fb7330ff9bf92f9fa1366cf6687914141b9e28cd # timeout=10 [2020-09-30T05:12:37.414Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-30T05:12:37.434Z] > git config core.sparsecheckout # timeout=10 [2020-09-30T05:12:37.448Z] > git checkout -f fa7ee706912a0374fffe18411a0469524eb76af6 # timeout=10 [2020-09-30T05:12:41.773Z] Commit message: "feat: implement Device SDK v2 common API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-30T05:12:43.070Z] ========================================================= [2020-09-30T05:12:43.070Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-30T05:12:43.070Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-30T05:12:44.141Z] + 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-09-30T05:12:45.128Z] Sending build context to Docker daemon 3.469MB [2020-09-30T05:12:45.128Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-30T05:12:45.128Z] Step 2/8 : FROM ${BASE} [2020-09-30T05:12:45.403Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-30T05:12:45.403Z] b538f80385f9: Pulling fs layer [2020-09-30T05:12:45.403Z] 74f711af9a0d: Pulling fs layer [2020-09-30T05:12:45.403Z] 99f96fe45779: Pulling fs layer [2020-09-30T05:12:45.403Z] 8529a6b9a6be: Pulling fs layer [2020-09-30T05:12:45.403Z] 45590311c82a: Pulling fs layer [2020-09-30T05:12:45.403Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-30T05:12:45.403Z] 209524e5b208: Pulling fs layer [2020-09-30T05:12:45.403Z] 8529a6b9a6be: Waiting [2020-09-30T05:12:45.403Z] 45590311c82a: Waiting [2020-09-30T05:12:45.403Z] 69ca0ff8b7b3: Waiting [2020-09-30T05:12:45.403Z] 209524e5b208: Waiting [2020-09-30T05:12:45.403Z] 99f96fe45779: Verifying Checksum [2020-09-30T05:12:45.403Z] 99f96fe45779: Download complete [2020-09-30T05:12:45.403Z] 74f711af9a0d: Verifying Checksum [2020-09-30T05:12:45.403Z] 74f711af9a0d: Download complete [2020-09-30T05:12:45.403Z] 45590311c82a: Download complete [2020-09-30T05:12:45.403Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-30T05:12:45.403Z] 69ca0ff8b7b3: Download complete [2020-09-30T05:12:45.675Z] b538f80385f9: Verifying Checksum [2020-09-30T05:12:45.675Z] b538f80385f9: Download complete [2020-09-30T05:12:46.272Z] b538f80385f9: Pull complete [2020-09-30T05:12:46.874Z] 74f711af9a0d: Pull complete [2020-09-30T05:12:47.476Z] 99f96fe45779: Pull complete [2020-09-30T05:12:48.076Z] 209524e5b208: Verifying Checksum [2020-09-30T05:12:48.076Z] 209524e5b208: Download complete [2020-09-30T05:12:49.529Z] 8529a6b9a6be: Verifying Checksum [2020-09-30T05:12:49.529Z] 8529a6b9a6be: Download complete [2020-09-30T05:12:59.696Z] 8529a6b9a6be: Pull complete [2020-09-30T05:12:59.970Z] 45590311c82a: Pull complete [2020-09-30T05:13:00.246Z] 69ca0ff8b7b3: Pull complete [2020-09-30T05:13:04.582Z] 209524e5b208: Pull complete [2020-09-30T05:13:04.582Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-30T05:13:04.582Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-30T05:13:04.582Z] ---> 5bddaf1c2fca [2020-09-30T05:13:04.582Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-30T05:13:06.560Z] ---> Running in eb1011850184 [2020-09-30T05:13:07.160Z] Removing intermediate container eb1011850184 [2020-09-30T05:13:07.160Z] ---> 49663c0ef7b2 [2020-09-30T05:13:07.160Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-30T05:13:07.160Z] ---> Running in dcca1a370d6b [2020-09-30T05:13:09.805Z] Removing intermediate container dcca1a370d6b [2020-09-30T05:13:09.805Z] ---> a8ae7ea0ab1d [2020-09-30T05:13:09.805Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-30T05:13:10.089Z] ---> Running in 4ede4337f051 [2020-09-30T05:13:11.528Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-30T05:13:12.512Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-30T05:13:12.791Z] OK: 142 MiB in 39 packages [2020-09-30T05:13:14.240Z] Removing intermediate container 4ede4337f051 [2020-09-30T05:13:14.240Z] ---> aea6428ebef4 [2020-09-30T05:13:14.240Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-30T05:13:14.240Z] ---> Running in 55185accf4a5 [2020-09-30T05:13:14.515Z] Removing intermediate container 55185accf4a5 [2020-09-30T05:13:14.515Z] ---> 0630e9ca0e52 [2020-09-30T05:13:14.515Z] Step 7/8 : COPY . . [2020-09-30T05:13:15.950Z] ---> 597038d35f5c [2020-09-30T05:13:15.950Z] Step 8/8 : RUN go mod download [2020-09-30T05:13:16.047Z] Running on prd-centos7-docker-4c-2g-2141 in /w/workspace/dgexfoundry_device-sdk-go_PR-602 [Pipeline] { [Pipeline] ws [2020-09-30T05:13:16.104Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2020-09-30T05:13:16.245Z] ---> Running in cc3170b0db06 [2020-09-30T05:13:19.010Z] using credential edgex-jenkins-ssh [2020-09-30T05:13:19.065Z] Cloning the remote Git repository [2020-09-30T05:13:19.091Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-30T05:13:19.158Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2020-09-30T05:13:19.213Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-30T05:13:19.214Z] > git --version # timeout=10 [2020-09-30T05:13:19.228Z] > git --version # 'git version 2.16.5' [2020-09-30T05:13:19.228Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-30T05:13:19.271Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-30T05:13:20.416Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-30T05:13:20.423Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-30T05:13:20.436Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-30T05:13:20.449Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-30T05:13:20.449Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-30T05:13:20.453Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/602/head:refs/remotes/origin/PR-602 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-30T05:13:20.968Z] Merging remotes/origin/master commit fb7330ff9bf92f9fa1366cf6687914141b9e28cd into PR head commit fa7ee706912a0374fffe18411a0469524eb76af6 [2020-09-30T05:13:21.058Z] Merge succeeded, producing fa7ee706912a0374fffe18411a0469524eb76af6 [2020-09-30T05:13:21.059Z] Checking out Revision fa7ee706912a0374fffe18411a0469524eb76af6 (PR-602) [2020-09-30T05:13:20.979Z] > git config core.sparsecheckout # timeout=10 [2020-09-30T05:13:20.984Z] > git checkout -f fa7ee706912a0374fffe18411a0469524eb76af6 # timeout=10 [2020-09-30T05:13:21.032Z] > git remote # timeout=10 [2020-09-30T05:13:21.037Z] > git config --get remote.origin.url # timeout=10 [2020-09-30T05:13:21.041Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-30T05:13:21.045Z] > git merge fb7330ff9bf92f9fa1366cf6687914141b9e28cd # timeout=10 [2020-09-30T05:13:21.055Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-30T05:13:21.064Z] > git config core.sparsecheckout # timeout=10 [2020-09-30T05:13:21.068Z] > git checkout -f fa7ee706912a0374fffe18411a0469524eb76af6 # timeout=10 [2020-09-30T05:13:24.711Z] Commit message: "feat: implement Device SDK v2 common API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-30T05:13:25.660Z] ========================================================= [2020-09-30T05:13:25.660Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-30T05:13:25.660Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-30T05:13:26.322Z] + 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-09-30T05:13:27.720Z] Sending build context to Docker daemon 3.469MB [2020-09-30T05:13:27.720Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-30T05:13:27.720Z] Step 2/8 : FROM ${BASE} [2020-09-30T05:13:27.720Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-30T05:13:27.720Z] df20fa9351a1: Pulling fs layer [2020-09-30T05:13:27.720Z] ed8968b2872e: Pulling fs layer [2020-09-30T05:13:27.720Z] a92cc7c5fd73: Pulling fs layer [2020-09-30T05:13:27.720Z] e871e8e8d7a9: Pulling fs layer [2020-09-30T05:13:27.720Z] e73272ec9a57: Pulling fs layer [2020-09-30T05:13:27.720Z] 1e910a182e73: Pulling fs layer [2020-09-30T05:13:27.720Z] 4e634b169226: Pulling fs layer [2020-09-30T05:13:27.720Z] e73272ec9a57: Waiting [2020-09-30T05:13:27.720Z] 1e910a182e73: Waiting [2020-09-30T05:13:27.720Z] 4e634b169226: Waiting [2020-09-30T05:13:27.720Z] e871e8e8d7a9: Waiting [2020-09-30T05:13:27.720Z] a92cc7c5fd73: Verifying Checksum [2020-09-30T05:13:27.720Z] a92cc7c5fd73: Download complete [2020-09-30T05:13:27.720Z] ed8968b2872e: Verifying Checksum [2020-09-30T05:13:27.721Z] ed8968b2872e: Download complete [2020-09-30T05:13:27.721Z] e73272ec9a57: Verifying Checksum [2020-09-30T05:13:27.721Z] e73272ec9a57: Download complete [2020-09-30T05:13:27.721Z] df20fa9351a1: Verifying Checksum [2020-09-30T05:13:27.721Z] df20fa9351a1: Download complete [2020-09-30T05:13:27.721Z] 1e910a182e73: Verifying Checksum [2020-09-30T05:13:27.721Z] 1e910a182e73: Download complete [2020-09-30T05:13:27.982Z] df20fa9351a1: Pull complete [2020-09-30T05:13:28.244Z] ed8968b2872e: Pull complete [2020-09-30T05:13:28.244Z] a92cc7c5fd73: Pull complete [2020-09-30T05:13:30.172Z] 4e634b169226: Verifying Checksum [2020-09-30T05:13:30.172Z] 4e634b169226: Download complete [2020-09-30T05:13:30.751Z] e871e8e8d7a9: Verifying Checksum [2020-09-30T05:13:30.751Z] e871e8e8d7a9: Download complete [2020-09-30T05:13:36.073Z] e871e8e8d7a9: Pull complete [2020-09-30T05:13:36.073Z] e73272ec9a57: Pull complete [2020-09-30T05:13:36.073Z] 1e910a182e73: Pull complete [2020-09-30T05:13:38.436Z] Removing intermediate container cc3170b0db06 [2020-09-30T05:13:38.436Z] ---> 41d517111b23 [2020-09-30T05:13:38.436Z] Successfully built 41d517111b23 [2020-09-30T05:13:38.436Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-30T05:13:38.838Z] + docker inspect -f . ci-base-image-arm64 [2020-09-30T05:13:38.838Z] . [Pipeline] withDockerContainer [2020-09-30T05:13:39.090Z] prd-ubuntu18.04-docker-arm64-4c-16g-2140 does not seem to be running inside a container [2020-09-30T05:13:39.166Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-30T05:13:40.923Z] $ docker top eda218f50675b70f411d9cd4638a0681693c375d371cce339bd6472f62cd1deb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-30T05:13:42.383Z] + go version [2020-09-30T05:13:42.383Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-30T05:13:42.401Z] $ docker stop --time=1 eda218f50675b70f411d9cd4638a0681693c375d371cce339bd6472f62cd1deb [2020-09-30T05:13:42.695Z] 4e634b169226: Pull complete [2020-09-30T05:13:42.696Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-30T05:13:42.696Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-30T05:13:42.696Z] ---> f7629b54cfaa [2020-09-30T05:13:42.696Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-30T05:13:42.696Z] ---> Running in 815ba04a946c [2020-09-30T05:13:42.959Z] Removing intermediate container 815ba04a946c [2020-09-30T05:13:42.959Z] ---> 6c1275692f30 [2020-09-30T05:13:42.959Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-30T05:13:42.959Z] ---> Running in 155cdad13d3a [2020-09-30T05:13:44.256Z] $ docker rm -f eda218f50675b70f411d9cd4638a0681693c375d371cce339bd6472f62cd1deb [2020-09-30T05:13:44.356Z] Removing intermediate container 155cdad13d3a [2020-09-30T05:13:44.356Z] ---> 1395f17e2822 [2020-09-30T05:13:44.356Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-30T05:13:44.356Z] ---> Running in 16381fbd567f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2020-09-30T05:13:44.943Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-30T05:13:45.335Z] + docker inspect -f . ci-base-image-arm64 [2020-09-30T05:13:45.335Z] . [Pipeline] withDockerContainer [2020-09-30T05:13:45.519Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-30T05:13:45.601Z] prd-ubuntu18.04-docker-arm64-4c-16g-2140 does not seem to be running inside a container [2020-09-30T05:13:45.677Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-30T05:13:46.094Z] OK: 166 MiB in 39 packages [2020-09-30T05:13:46.357Z] Removing intermediate container 16381fbd567f [2020-09-30T05:13:46.357Z] ---> 0efa5c9bc260 [2020-09-30T05:13:46.357Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-30T05:13:46.357Z] ---> Running in eea99e4ab1a3 [2020-09-30T05:13:46.621Z] Removing intermediate container eea99e4ab1a3 [2020-09-30T05:13:46.621Z] ---> 2cb066f7505d [2020-09-30T05:13:46.621Z] Step 7/8 : COPY . . [2020-09-30T05:13:47.497Z] $ docker top 1c4449139f2af3a3ee96b80acf085c707fb9a4cba0fbd7f6578ee0d6125379f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-30T05:13:48.016Z] ---> 3efb2211e7a2 [2020-09-30T05:13:48.016Z] Step 8/8 : RUN go mod download [2020-09-30T05:13:48.016Z] ---> Running in 51063ce48703 [2020-09-30T05:13:48.920Z] + make test [2020-09-30T05:13:48.920Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-30T05:14:06.193Z] Removing intermediate container 51063ce48703 [2020-09-30T05:14:06.193Z] ---> 33bde1bc94bf [2020-09-30T05:14:06.193Z] Successfully built 33bde1bc94bf [2020-09-30T05:14:06.193Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-30T05:14:06.547Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-30T05:14:06.548Z] . [Pipeline] withDockerContainer [2020-09-30T05:14:06.675Z] prd-centos7-docker-4c-2g-2141 does not seem to be running inside a container [2020-09-30T05:14:06.883Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-30T05:14:07.656Z] $ docker top 06a838e0994b812b550cf9aeffe2944daf8a6343180d4d637ca295b3831a630b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-30T05:14:08.158Z] + go version [2020-09-30T05:14:08.158Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-30T05:14:08.175Z] $ docker stop --time=1 06a838e0994b812b550cf9aeffe2944daf8a6343180d4d637ca295b3831a630b [2020-09-30T05:14:09.527Z] $ docker rm -f 06a838e0994b812b550cf9aeffe2944daf8a6343180d4d637ca295b3831a630b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-30T05:14:10.389Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-30T05:14:10.389Z] . [Pipeline] withDockerContainer [2020-09-30T05:14:10.553Z] prd-centos7-docker-4c-2g-2141 does not seem to be running inside a container [2020-09-30T05:14:10.603Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-30T05:14:11.087Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-30T05:14:11.157Z] $ docker top af2878ac0476342b4cf2533ea6ae244b18187debb7d75218fbda8b0fc6f17515 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-30T05:14:11.638Z] + make test [2020-09-30T05:14:11.638Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-30T05:14:18.264Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-30T05:14:33.268Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-30T05:14:33.268Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-30T05:14:33.268Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-30T05:14:33.268Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.060s coverage: 21.6% of statements [2020-09-30T05:14:33.853Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.468s coverage: 97.1% of statements [2020-09-30T05:14:50.112Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-30T05:14:50.112Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-30T05:14:50.112Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-30T05:14:50.112Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.108s coverage: 21.6% of statements [2020-09-30T05:14:52.754Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.155s coverage: 97.1% of statements [2020-09-30T05:15:06.015Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.060s coverage: 9.4% of statements [2020-09-30T05:15:06.015Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.063s coverage: 21.9% of statements [2020-09-30T05:15:06.015Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-30T05:15:06.015Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.245s coverage: 39.5% of statements [2020-09-30T05:15:06.015Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-30T05:15:06.015Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.306s coverage: 65.4% of statements [2020-09-30T05:15:06.015Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-30T05:15:06.015Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-30T05:15:06.015Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-30T05:15:06.015Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-09-30T05:15:06.015Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.067s coverage: 52.6% of statements [2020-09-30T05:15:06.015Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-09-30T05:15:06.015Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.308s coverage: 68.9% of statements [2020-09-30T05:15:06.015Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-30T05:15:06.015Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-30T05:15:06.015Z] GO111MODULE=on go vet ./... [2020-09-30T05:15:12.693Z] gofmt -l . [2020-09-30T05:15:12.693Z] [ "`gofmt -l .`" = "" ] [2020-09-30T05:15:12.693Z] ./bin/test-attribution-txt.sh [2020-09-30T05:15:12.962Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-30T05:15:13.582Z] Stashed 1 file(s) [Pipeline] } [2020-09-30T05:15:13.592Z] $ docker stop --time=1 af2878ac0476342b4cf2533ea6ae244b18187debb7d75218fbda8b0fc6f17515 [2020-09-30T05:15:15.458Z] $ docker rm -f af2878ac0476342b4cf2533ea6ae244b18187debb7d75218fbda8b0fc6f17515 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-09-30T05:15:18.862Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-30T05:15:19.162Z] + ls -al . [2020-09-30T05:15:19.162Z] total 192 [2020-09-30T05:15:19.162Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 30 05:15 . [2020-09-30T05:15:19.162Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 30 05:13 .. [2020-09-30T05:15:19.162Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 30 05:13 bin [2020-09-30T05:15:19.162Z] -rw-r--r--. 1 jenkins jenkins 111041 Sep 30 05:15 coverage.out [2020-09-30T05:15:19.162Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 30 05:13 Dockerfile.build [2020-09-30T05:15:19.162Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 30 05:13 .dockerignore [2020-09-30T05:15:19.162Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 30 05:13 example [2020-09-30T05:15:19.162Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 30 05:13 .git [2020-09-30T05:15:19.162Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 30 05:13 .github [2020-09-30T05:15:19.162Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 30 05:13 .gitignore [2020-09-30T05:15:19.162Z] -rw-r--r--. 1 jenkins jenkins 517 Sep 30 05:15 go.mod [2020-09-30T05:15:19.162Z] -rw-r--r--. 1 jenkins jenkins 13464 Sep 30 05:15 go.sum [2020-09-30T05:15:19.162Z] drwxrwxr-x. 15 jenkins jenkins 211 Sep 30 05:13 internal [2020-09-30T05:15:19.162Z] -rw-rw-r--. 1 jenkins jenkins 785 Sep 30 05:13 Jenkinsfile [2020-09-30T05:15:19.162Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 30 05:13 LICENSE [2020-09-30T05:15:19.162Z] -rw-rw-r--. 1 jenkins jenkins 1013 Sep 30 05:13 Makefile [2020-09-30T05:15:19.162Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 30 05:13 openapi [2020-09-30T05:15:19.162Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 30 05:13 pkg [2020-09-30T05:15:19.163Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 30 05:13 README.md [2020-09-30T05:15:19.163Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 30 05:13 RELEASE-NOTES.txt [2020-09-30T05:15:19.163Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 30 05:13 .semver [2020-09-30T05:15:19.163Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 30 05:13 snap [2020-09-30T05:15:19.163Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 30 05:10 VERSION [2020-09-30T05:15:19.163Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 30 05:13 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-30T05:15:19.472Z] + 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=fa7ee706912a0374fffe18411a0469524eb76af6 --label arch=amd64 --label version=0.0.0 . [2020-09-30T05:15:19.551Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.163s coverage: 9.4% of statements [2020-09-30T05:15:19.552Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.122s coverage: 21.9% of statements [2020-09-30T05:15:19.552Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-30T05:15:19.552Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.592s coverage: 39.5% of statements [2020-09-30T05:15:19.552Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-30T05:15:19.552Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.770s coverage: 65.4% of statements [2020-09-30T05:15:19.552Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-30T05:15:19.552Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-30T05:15:19.552Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-30T05:15:19.552Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-09-30T05:15:19.552Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.170s coverage: 52.6% of statements [2020-09-30T05:15:19.552Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-09-30T05:15:19.552Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.866s coverage: 68.9% of statements [2020-09-30T05:15:19.552Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-30T05:15:19.552Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-30T05:15:19.735Z] Sending build context to Docker daemon 3.581MB [2020-09-30T05:15:19.736Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-30T05:15:19.736Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-30T05:15:19.736Z] ---> 33bde1bc94bf [2020-09-30T05:15:19.736Z] Step 3/24 : ARG MAKE='make build' [2020-09-30T05:15:19.825Z] GO111MODULE=on go vet ./... [2020-09-30T05:15:20.312Z] ---> Running in 467ebf94de9a [2020-09-30T05:15:20.575Z] Removing intermediate container 467ebf94de9a [2020-09-30T05:15:20.575Z] ---> f12403237577 [2020-09-30T05:15:20.575Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-30T05:15:20.575Z] ---> Running in 0ac2cba0d9d4 [2020-09-30T05:15:20.837Z] Removing intermediate container 0ac2cba0d9d4 [2020-09-30T05:15:20.837Z] ---> 0d3c0a609b3a [2020-09-30T05:15:20.837Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-30T05:15:20.837Z] ---> Running in 06dd6ab1f87f [2020-09-30T05:15:20.837Z] Removing intermediate container 06dd6ab1f87f [2020-09-30T05:15:20.837Z] ---> b9439220b863 [2020-09-30T05:15:20.837Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-30T05:15:21.100Z] ---> Running in 875cab6098e9 [2020-09-30T05:15:22.048Z] Removing intermediate container 875cab6098e9 [2020-09-30T05:15:22.048Z] ---> 7743036ccefd [2020-09-30T05:15:22.048Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-30T05:15:22.048Z] ---> Running in 74b3386210e9 [2020-09-30T05:15:22.311Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-30T05:15:22.885Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-30T05:15:23.461Z] OK: 166 MiB in 39 packages [2020-09-30T05:15:23.723Z] Removing intermediate container 74b3386210e9 [2020-09-30T05:15:23.723Z] ---> 4bf110e94f71 [2020-09-30T05:15:23.723Z] Step 8/24 : COPY . . [2020-09-30T05:15:25.116Z] ---> d9be839aa376 [2020-09-30T05:15:25.116Z] Step 9/24 : RUN ${MAKE} [2020-09-30T05:15:25.116Z] ---> Running in 48c56ad3fa85 [2020-09-30T05:15:25.382Z] 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-09-30T05:15:33.630Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-30T05:15:36.192Z] Removing intermediate container 48c56ad3fa85 [2020-09-30T05:15:36.192Z] ---> be2d2abde629 [2020-09-30T05:15:36.192Z] Step 10/24 : FROM scratch [2020-09-30T05:15:36.192Z] ---> [2020-09-30T05:15:36.192Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-30T05:15:36.192Z] ---> Running in 3f6aa7e09cf8 [2020-09-30T05:15:36.192Z] Removing intermediate container 3f6aa7e09cf8 [2020-09-30T05:15:36.192Z] ---> 232660fb6a4d [2020-09-30T05:15:36.192Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-30T05:15:36.192Z] ---> Running in 57b516673162 [2020-09-30T05:15:36.454Z] Removing intermediate container 57b516673162 [2020-09-30T05:15:36.454Z] ---> 1dbd8471b193 [2020-09-30T05:15:36.454Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-30T05:15:36.454Z] ---> Running in 4ff616ea639a [2020-09-30T05:15:36.454Z] Removing intermediate container 4ff616ea639a [2020-09-30T05:15:36.454Z] ---> 621046995226 [2020-09-30T05:15:36.454Z] Step 14/24 : WORKDIR / [2020-09-30T05:15:36.454Z] ---> Running in 96950001924c [2020-09-30T05:15:36.720Z] Removing intermediate container 96950001924c [2020-09-30T05:15:36.720Z] ---> fc6375192d98 [2020-09-30T05:15:36.720Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-30T05:15:37.295Z] ---> 4e8b1e3547a1 [2020-09-30T05:15:37.295Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-30T05:15:37.295Z] ---> cca9b2ce033a [2020-09-30T05:15:37.295Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-30T05:15:37.559Z] ---> 4ccc0a264596 [2020-09-30T05:15:37.559Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-30T05:15:37.822Z] ---> 6ed95a125d15 [2020-09-30T05:15:37.822Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-30T05:15:38.083Z] ---> f0172dff4982 [2020-09-30T05:15:38.083Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-30T05:15:38.083Z] ---> Running in 9fcd54512dd3 [2020-09-30T05:15:38.347Z] Removing intermediate container 9fcd54512dd3 [2020-09-30T05:15:38.347Z] ---> 4427b090d008 [2020-09-30T05:15:38.347Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-30T05:15:38.347Z] ---> Running in 15726712b3b8 [2020-09-30T05:15:38.609Z] Removing intermediate container 15726712b3b8 [2020-09-30T05:15:38.609Z] ---> b9bf9e0c3b92 [2020-09-30T05:15:38.609Z] Step 22/24 : LABEL arch=amd64 [2020-09-30T05:15:38.609Z] ---> Running in 10c512d3907d [2020-09-30T05:15:38.874Z] Removing intermediate container 10c512d3907d [2020-09-30T05:15:38.874Z] ---> 68afc146d008 [2020-09-30T05:15:38.874Z] Step 23/24 : LABEL git_sha=fa7ee706912a0374fffe18411a0469524eb76af6 [2020-09-30T05:15:38.874Z] ---> Running in 99adfe1ef1e0 [2020-09-30T05:15:38.874Z] Removing intermediate container 99adfe1ef1e0 [2020-09-30T05:15:38.874Z] ---> 482f8cc5a482 [2020-09-30T05:15:38.874Z] Step 24/24 : LABEL version=0.0.0 [2020-09-30T05:15:39.136Z] ---> Running in a59040d41079 [2020-09-30T05:15:39.136Z] Removing intermediate container a59040d41079 [2020-09-30T05:15:39.136Z] ---> e8b64e7a2f59 [2020-09-30T05:15:39.136Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-30T05:15:39.136Z] Successfully built e8b64e7a2f59 [2020-09-30T05:15:39.399Z] 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-09-30T05:15:52.201Z] gofmt -l . [2020-09-30T05:15:52.201Z] [ "`gofmt -l .`" = "" ] [2020-09-30T05:15:52.201Z] ./bin/test-attribution-txt.sh [2020-09-30T05:15:52.201Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-30T05:15:52.221Z] Warning: overwriting stash ‘coverage-report’ [2020-09-30T05:15:53.087Z] Stashed 1 file(s) [Pipeline] } [2020-09-30T05:15:53.085Z] $ docker stop --time=1 1c4449139f2af3a3ee96b80acf085c707fb9a4cba0fbd7f6578ee0d6125379f1 [2020-09-30T05:15:55.401Z] $ docker rm -f 1c4449139f2af3a3ee96b80acf085c707fb9a4cba0fbd7f6578ee0d6125379f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-30T05:15:56.943Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-30T05:15:57.309Z] + ls -al . [2020-09-30T05:15:57.309Z] total 232 [2020-09-30T05:15:57.309Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 30 05:15 . [2020-09-30T05:15:57.309Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 05:12 .. [2020-09-30T05:15:57.309Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 30 05:12 .dockerignore [2020-09-30T05:15:57.309Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 05:12 .git [2020-09-30T05:15:57.309Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 05:12 .github [2020-09-30T05:15:57.309Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 30 05:12 .gitignore [2020-09-30T05:15:57.309Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 05:12 .semver [2020-09-30T05:15:57.309Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 30 05:12 Dockerfile.build [2020-09-30T05:15:57.309Z] -rw-rw-r-- 1 jenkins jenkins 785 Sep 30 05:12 Jenkinsfile [2020-09-30T05:15:57.309Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 30 05:12 LICENSE [2020-09-30T05:15:57.309Z] -rw-rw-r-- 1 jenkins jenkins 1013 Sep 30 05:12 Makefile [2020-09-30T05:15:57.309Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 30 05:12 README.md [2020-09-30T05:15:57.309Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 30 05:12 RELEASE-NOTES.txt [2020-09-30T05:15:57.309Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 30 05:10 VERSION [2020-09-30T05:15:57.309Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 05:12 bin [2020-09-30T05:15:57.309Z] -rw-r--r-- 1 jenkins jenkins 111041 Sep 30 05:15 coverage.out [2020-09-30T05:15:57.309Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 05:12 example [2020-09-30T05:15:57.309Z] -rw-r--r-- 1 jenkins jenkins 517 Sep 30 05:15 go.mod [2020-09-30T05:15:57.309Z] -rw-r--r-- 1 jenkins jenkins 13464 Sep 30 05:15 go.sum [2020-09-30T05:15:57.309Z] drwxrwxr-x 15 jenkins jenkins 4096 Sep 30 05:12 internal [2020-09-30T05:15:57.309Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 05:12 openapi [2020-09-30T05:15:57.309Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 30 05:12 pkg [2020-09-30T05:15:57.309Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 05:12 snap [2020-09-30T05:15:57.309Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 30 05:12 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-30T05:15:57.770Z] + 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=fa7ee706912a0374fffe18411a0469524eb76af6 --label arch=arm64 --label version=0.0.0 . [2020-09-30T05:15:58.380Z] Sending build context to Docker daemon 3.581MB [2020-09-30T05:15:58.380Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-30T05:15:58.380Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-30T05:15:58.380Z] ---> 41d517111b23 [2020-09-30T05:15:58.380Z] Step 3/24 : ARG MAKE='make build' [2020-09-30T05:15:58.657Z] ---> Running in 861f57caf9ee [2020-09-30T05:15:58.928Z] Removing intermediate container 861f57caf9ee [2020-09-30T05:15:58.928Z] ---> 5bccaddc9447 [2020-09-30T05:15:58.928Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-30T05:15:59.201Z] ---> Running in e25802a7aadb [2020-09-30T05:15:59.489Z] Removing intermediate container e25802a7aadb [2020-09-30T05:15:59.489Z] ---> 84f26e724780 [2020-09-30T05:15:59.489Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-30T05:15:59.764Z] ---> Running in 1b27c5e1721c [2020-09-30T05:16:00.361Z] Removing intermediate container 1b27c5e1721c [2020-09-30T05:16:00.361Z] ---> 5d78a45b9be9 [2020-09-30T05:16:00.361Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-30T05:16:00.361Z] ---> Running in 0105a84d762c [2020-09-30T05:16:02.982Z] Removing intermediate container 0105a84d762c [2020-09-30T05:16:02.982Z] ---> f9b9a8a5b572 [2020-09-30T05:16:02.982Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-30T05:16:02.982Z] ---> Running in fbf519dbd0aa [2020-09-30T05:16:04.414Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-30T05:16:05.008Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-30T05:16:05.598Z] OK: 142 MiB in 39 packages [2020-09-30T05:16:06.579Z] Removing intermediate container fbf519dbd0aa [2020-09-30T05:16:06.579Z] ---> e3cafa98d2cd [2020-09-30T05:16:06.579Z] Step 8/24 : COPY . . [2020-09-30T05:16:08.554Z] ---> e2f1f0e73991 [2020-09-30T05:16:08.554Z] Step 9/24 : RUN ${MAKE} [2020-09-30T05:16:08.554Z] ---> Running in 438dbc83f3fa [2020-09-30T05:16:10.015Z] 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-09-30T05:16:32.388Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-30T05:16:35.802Z] Removing intermediate container 438dbc83f3fa [2020-09-30T05:16:35.802Z] ---> 68a875780f8a [2020-09-30T05:16:35.802Z] Step 10/24 : FROM scratch [2020-09-30T05:16:35.802Z] ---> [2020-09-30T05:16:35.802Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-30T05:16:35.802Z] ---> Running in cd043497462e [2020-09-30T05:16:35.802Z] Removing intermediate container cd043497462e [2020-09-30T05:16:35.802Z] ---> 05243de821e0 [2020-09-30T05:16:35.802Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-30T05:16:35.802Z] ---> Running in 9dc4c95e62af [2020-09-30T05:16:36.082Z] Removing intermediate container 9dc4c95e62af [2020-09-30T05:16:36.082Z] ---> eff3c630ba91 [2020-09-30T05:16:36.082Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-30T05:16:36.357Z] ---> Running in 2e40725f25f4 [2020-09-30T05:16:36.637Z] Removing intermediate container 2e40725f25f4 [2020-09-30T05:16:36.637Z] ---> 4d87a7b74710 [2020-09-30T05:16:36.637Z] Step 14/24 : WORKDIR / [2020-09-30T05:16:36.919Z] ---> Running in aa1d3e41a482 [2020-09-30T05:16:37.203Z] Removing intermediate container aa1d3e41a482 [2020-09-30T05:16:37.203Z] ---> 4cab2cfedb10 [2020-09-30T05:16:37.203Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-30T05:16:38.198Z] ---> 093e4777beee [2020-09-30T05:16:38.198Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-30T05:16:39.194Z] ---> 42205c2c0dbc [2020-09-30T05:16:39.194Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-30T05:16:39.796Z] ---> 744fc58491a4 [2020-09-30T05:16:39.796Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-30T05:16:40.398Z] ---> 72eb9f356cd7 [2020-09-30T05:16:40.398Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-30T05:16:40.997Z] ---> d8985e067630 [2020-09-30T05:16:40.997Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-30T05:16:41.270Z] ---> Running in a92acaec1196 [2020-09-30T05:16:41.543Z] Removing intermediate container a92acaec1196 [2020-09-30T05:16:41.543Z] ---> dee461960530 [2020-09-30T05:16:41.543Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-30T05:16:41.819Z] ---> Running in a44b15101cd4 [2020-09-30T05:16:42.094Z] Removing intermediate container a44b15101cd4 [2020-09-30T05:16:42.094Z] ---> 312cbbe532f4 [2020-09-30T05:16:42.094Z] Step 22/24 : LABEL arch=arm64 [2020-09-30T05:16:42.368Z] ---> Running in 55e4df4290ca [2020-09-30T05:16:42.641Z] Removing intermediate container 55e4df4290ca [2020-09-30T05:16:42.641Z] ---> 814712413b29 [2020-09-30T05:16:42.642Z] Step 23/24 : LABEL git_sha=fa7ee706912a0374fffe18411a0469524eb76af6 [2020-09-30T05:16:42.917Z] ---> Running in bad23bf34bd7 [2020-09-30T05:16:43.192Z] Removing intermediate container bad23bf34bd7 [2020-09-30T05:16:43.192Z] ---> a04dd960e3d8 [2020-09-30T05:16:43.192Z] Step 24/24 : LABEL version=0.0.0 [2020-09-30T05:16:43.466Z] ---> Running in ccb482076b9a [2020-09-30T05:16:44.056Z] Removing intermediate container ccb482076b9a [2020-09-30T05:16:44.056Z] ---> 196e1ea7c32a [2020-09-30T05:16:44.056Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-30T05:16:44.056Z] Successfully built 196e1ea7c32a [2020-09-30T05:16:44.056Z] 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-09-30T05:16:45.942Z] provisioning config files... [2020-09-30T05:16:45.954Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/config205263019756757480tmp [Pipeline] { [Pipeline] sh [2020-09-30T05:16:46.340Z] + set +x [2020-09-30T05:16:46.341Z] + curl -s https://codecov.io/bash [2020-09-30T05:16:46.341Z] + bash -s -- [2020-09-30T05:16:46.605Z] [2020-09-30T05:16:46.605Z] _____ _ [2020-09-30T05:16:46.605Z] / ____| | | [2020-09-30T05:16:46.605Z] | | ___ __| | ___ ___ _____ __ [2020-09-30T05:16:46.605Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-09-30T05:16:46.605Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-09-30T05:16:46.605Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-09-30T05:16:46.605Z] Bash-20200917-4e8f14b [2020-09-30T05:16:46.605Z] [2020-09-30T05:16:46.605Z] [2020-09-30T05:16:46.605Z] ==> Jenkins CI detected. [2020-09-30T05:16:46.605Z] project root: . [2020-09-30T05:16:46.605Z] --> token set from env [2020-09-30T05:16:46.605Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-09-30T05:16:46.605Z] ==> Running gcov in . (disable via -X gcov) [2020-09-30T05:16:46.605Z] ==> Python coveragepy not found [2020-09-30T05:16:46.605Z] ==> Searching for coverage reports in: [2020-09-30T05:16:46.605Z] + . [2020-09-30T05:16:46.605Z] -> Found 1 reports [2020-09-30T05:16:46.605Z] ==> Detecting git/mercurial file structure [2020-09-30T05:16:46.605Z] ==> Reading reports [2020-09-30T05:16:46.605Z] + ./coverage.out bytes=111041 [2020-09-30T05:16:46.605Z] ==> Appending adjustments [2020-09-30T05:16:46.605Z] https://docs.codecov.io/docs/fixing-reports [2020-09-30T05:16:47.179Z] + Found adjustments [2020-09-30T05:16:47.179Z] ==> Gzipping contents [2020-09-30T05:16:47.179Z] ==> Uploading reports [2020-09-30T05:16:47.179Z] url: https://codecov.io [2020-09-30T05:16:47.179Z] query: branch=PR-602&commit=fa7ee706912a0374fffe18411a0469524eb76af6&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-602%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=602&job=&cmd_args= [2020-09-30T05:16:47.179Z] -> Pinging Codecov [2020-09-30T05:16:47.179Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-602&commit=fa7ee706912a0374fffe18411a0469524eb76af6&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-602%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=602&job=&cmd_args= [2020-09-30T05:16:47.440Z] -> Uploading to [2020-09-30T05:16:47.440Z] https://storage.googleapis.com/codecov/v4/raw/2020-09-30/7E55EF52A471D76F132DFD9A03CDDE97/fa7ee706912a0374fffe18411a0469524eb76af6/48eee55a-3e3e-4f17-b1c5-b86f4d1089bb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200930%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200930T051647Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=10124b1f1f24af40dd2c76a8b0b3d75eed98ce844eb13ee6f04512a0af78ff99 [2020-09-30T05:16:47.440Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-09-30T05:16:47.440Z] Dload Upload Total Spent Left Speed [2020-09-30T05:16:48.013Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18310 0 0 100 18310 0 44549 --:--:-- --:--:-- --:--:-- 44658 [2020-09-30T05:16:48.013Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fa7ee706912a0374fffe18411a0469524eb76af6 [Pipeline] } [2020-09-30T05:16:48.022Z] 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-09-30T05:16:50.784Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-30T05:16:51.353Z] ---> package-listing.sh [2020-09-30T05:16:51.353Z] ++ facter osfamily [2020-09-30T05:16:51.353Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-30T05:16:51.353Z] + OS_FAMILY=redhat [2020-09-30T05:16:51.353Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-602 [2020-09-30T05:16:51.353Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-30T05:16:51.353Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-30T05:16:51.353Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-30T05:16:51.353Z] + PACKAGES=/tmp/packages_start.txt [2020-09-30T05:16:51.353Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-602 ']' [2020-09-30T05:16:51.353Z] + PACKAGES=/tmp/packages_end.txt [2020-09-30T05:16:51.353Z] + case "${OS_FAMILY}" in [2020-09-30T05:16:51.353Z] + rpm -qa [2020-09-30T05:16:51.353Z] + sort [2020-09-30T05:16:55.586Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-30T05:16:55.586Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-30T05:16:55.586Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-30T05:16:55.586Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-602 ']' [2020-09-30T05:16:55.586Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-602/archives/ [2020-09-30T05:16:55.586Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-602/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-30T05:16:57.515Z] provisioning config files... [2020-09-30T05:16:57.530Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/config3917840437350523162tmp [Pipeline] { [Pipeline] echo [2020-09-30T05:16:57.602Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-30T05:16:57.898Z] ---> create-netrc.sh [Pipeline] } [2020-09-30T05:16:57.907Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-09-30T05:16:58.001Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-30T05:16:58.293Z] ---> python-tools-install.sh [2020-09-30T05:16:58.294Z] Generating Requirements File [2020-09-30T05:18:19.830Z] Python 3.6.8 [2020-09-30T05:18:19.830Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-09-30T05:18:19.830Z] aiohttp==3.6.2 [2020-09-30T05:18:19.830Z] appdirs==1.4.3 [2020-09-30T05:18:19.830Z] argcomplete==1.12.1 [2020-09-30T05:18:19.830Z] aspy.yaml==1.3.0 [2020-09-30T05:18:19.830Z] async-timeout==3.0.1 [2020-09-30T05:18:19.830Z] attrs==19.3.0 [2020-09-30T05:18:19.830Z] Babel==2.8.0 [2020-09-30T05:18:19.830Z] beautifulsoup4==4.8.2 [2020-09-30T05:18:19.830Z] boto3==1.11.6 [2020-09-30T05:18:19.830Z] botocore==1.14.6 [2020-09-30T05:18:19.830Z] bs4==0.0.1 [2020-09-30T05:18:19.830Z] cachetools==4.1.1 [2020-09-30T05:18:19.830Z] certifi==2019.11.28 [2020-09-30T05:18:19.830Z] cffi==1.14.3 [2020-09-30T05:18:19.830Z] cfgv==2.0.1 [2020-09-30T05:18:19.830Z] chardet==3.0.4 [2020-09-30T05:18:19.830Z] click==7.1 [2020-09-30T05:18:19.830Z] cliff==3.4.0 [2020-09-30T05:18:19.830Z] cmd2==1.3.10 [2020-09-30T05:18:19.830Z] colorama==0.4.3 [2020-09-30T05:18:19.830Z] cryptography==3.1.1 [2020-09-30T05:18:19.830Z] debtcollector==2.2.0 [2020-09-30T05:18:19.830Z] decorator==4.4.2 [2020-09-30T05:18:19.830Z] defusedxml==0.6.0 [2020-09-30T05:18:19.830Z] Deprecated==1.2.7 [2020-09-30T05:18:19.830Z] distlib==0.3.1 [2020-09-30T05:18:19.830Z] distro==1.2.0 [2020-09-30T05:18:19.830Z] dnspython==1.16.0 [2020-09-30T05:18:19.830Z] docker==4.2.0 [2020-09-30T05:18:19.830Z] docutils==0.15.2 [2020-09-30T05:18:19.830Z] dogpile.cache==1.0.2 [2020-09-30T05:18:19.830Z] email-validator==1.0.5 [2020-09-30T05:18:19.830Z] filelock==3.0.12 [2020-09-30T05:18:19.830Z] future==0.18.2 [2020-09-30T05:18:19.830Z] google-auth==1.22.0 [2020-09-30T05:18:19.830Z] httplib2==0.17.0 [2020-09-30T05:18:19.830Z] identify==1.4.11 [2020-09-30T05:18:19.830Z] idna==2.9 [2020-09-30T05:18:19.830Z] idna-ssl==1.1.0 [2020-09-30T05:18:19.830Z] importlib-metadata==1.7.0 [2020-09-30T05:18:19.830Z] importlib-resources==1.5.0 [2020-09-30T05:18:19.830Z] iso8601==0.1.13 [2020-09-30T05:18:19.830Z] Jinja2==2.11.1 [2020-09-30T05:18:19.830Z] jmespath==0.10.0 [2020-09-30T05:18:19.830Z] jsonpatch==1.26 [2020-09-30T05:18:19.830Z] jsonpointer==2.0 [2020-09-30T05:18:19.830Z] jsonschema==3.2.0 [2020-09-30T05:18:19.830Z] keystoneauth1==4.2.1 [2020-09-30T05:18:19.830Z] kubernetes==11.0.0 [2020-09-30T05:18:19.830Z] lftools==0.34.2 [2020-09-30T05:18:19.830Z] lxml==4.5.0 [2020-09-30T05:18:19.830Z] MarkupSafe==0.23 [2020-09-30T05:18:19.830Z] msgpack==1.0.0 [2020-09-30T05:18:19.830Z] multi-key-dict==2.0.3 [2020-09-30T05:18:19.830Z] multidict==4.7.6 [2020-09-30T05:18:19.830Z] munch==2.5.0 [2020-09-30T05:18:19.830Z] netaddr==0.8.0 [2020-09-30T05:18:19.830Z] netifaces==0.10.9 [2020-09-30T05:18:19.830Z] niet==1.4.2 [2020-09-30T05:18:19.830Z] nodeenv==1.3.5 [2020-09-30T05:18:19.830Z] oauth2client==4.1.3 [2020-09-30T05:18:19.830Z] oauthlib==3.1.0 [2020-09-30T05:18:19.830Z] openstacksdk==0.50.0 [2020-09-30T05:18:19.830Z] os-client-config==2.1.0 [2020-09-30T05:18:19.830Z] os-service-types==1.7.0 [2020-09-30T05:18:19.830Z] osc-lib==2.2.1 [2020-09-30T05:18:19.830Z] oslo.config==8.3.2 [2020-09-30T05:18:19.830Z] oslo.context==3.1.1 [2020-09-30T05:18:19.830Z] oslo.i18n==5.0.1 [2020-09-30T05:18:19.830Z] oslo.log==4.4.0 [2020-09-30T05:18:19.830Z] oslo.serialization==4.0.1 [2020-09-30T05:18:19.830Z] oslo.utils==4.6.0 [2020-09-30T05:18:19.830Z] packaging==20.4 [2020-09-30T05:18:19.830Z] pbr==5.4.4 [2020-09-30T05:18:19.830Z] pluggy==0.13.1 [2020-09-30T05:18:19.830Z] prettytable==0.7.2 [2020-09-30T05:18:19.830Z] py==1.9.0 [2020-09-30T05:18:19.830Z] pyasn1==0.4.8 [2020-09-30T05:18:19.830Z] pyasn1-modules==0.2.8 [2020-09-30T05:18:19.830Z] pycparser==2.20 [2020-09-30T05:18:19.830Z] pygerrit2==2.0.10 [2020-09-30T05:18:19.830Z] PyGithub==1.46 [2020-09-30T05:18:19.830Z] pyinotify==0.9.6 [2020-09-30T05:18:19.830Z] PyJWT==1.7.1 [2020-09-30T05:18:19.830Z] pyparsing==2.4.7 [2020-09-30T05:18:19.830Z] pyperclip==1.8.0 [2020-09-30T05:18:19.830Z] pyroute2==0.4.13 [2020-09-30T05:18:19.830Z] pyrsistent==0.15.7 [2020-09-30T05:18:19.830Z] PySocks==1.6.8 [2020-09-30T05:18:19.830Z] python-cinderclient==7.2.0 [2020-09-30T05:18:19.830Z] python-dateutil==2.8.1 [2020-09-30T05:18:19.830Z] python-heatclient==2.2.1 [2020-09-30T05:18:19.830Z] python-jenkins==1.7.0 [2020-09-30T05:18:19.830Z] python-keystoneclient==4.1.1 [2020-09-30T05:18:19.830Z] python-magnumclient==3.2.1 [2020-09-30T05:18:19.830Z] python-novaclient==17.2.1 [2020-09-30T05:18:19.830Z] python-openstackclient==5.3.1 [2020-09-30T05:18:19.830Z] python-swiftclient==3.10.1 [2020-09-30T05:18:19.830Z] pytz==2020.1 [2020-09-30T05:18:19.830Z] PyYAML==5.3 [2020-09-30T05:18:19.830Z] requests==2.23.0 [2020-09-30T05:18:19.830Z] requests-oauthlib==1.3.0 [2020-09-30T05:18:19.830Z] requestsexceptions==1.4.0 [2020-09-30T05:18:19.830Z] rfc3986==1.4.0 [2020-09-30T05:18:19.830Z] rpm==4.11.3 [2020-09-30T05:18:19.830Z] rsa==4.0 [2020-09-30T05:18:19.830Z] ruamel.yaml==0.16.10 [2020-09-30T05:18:19.830Z] ruamel.yaml.clib==0.2.0 [2020-09-30T05:18:19.830Z] s3transfer==0.3.3 [2020-09-30T05:18:19.831Z] shade==1.27.2 [2020-09-30T05:18:19.831Z] simplejson==3.17.2 [2020-09-30T05:18:19.831Z] six==1.14.0 [2020-09-30T05:18:19.831Z] soupsieve==2.0 [2020-09-30T05:18:19.831Z] stevedore==3.2.2 [2020-09-30T05:18:19.831Z] tabulate==0.8.6 [2020-09-30T05:18:19.831Z] toml==0.10.0 [2020-09-30T05:18:19.831Z] tox==3.20.0 [2020-09-30T05:18:19.831Z] tqdm==4.43.0 [2020-09-30T05:18:19.831Z] typing-extensions==3.7.4.3 [2020-09-30T05:18:19.831Z] urllib3==1.25.8 [2020-09-30T05:18:19.831Z] virtualenv==20.0.31 [2020-09-30T05:18:19.831Z] wcwidth==0.2.5 [2020-09-30T05:18:19.831Z] websocket-client==0.57.0 [2020-09-30T05:18:19.831Z] wrapt==1.12.1 [2020-09-30T05:18:19.831Z] xdg==3.0.2 [2020-09-30T05:18:19.831Z] xmltodict==0.12.0 [2020-09-30T05:18:19.831Z] yarl==1.6.0 [2020-09-30T05:18:19.831Z] yq==2.11.1 [2020-09-30T05:18:19.831Z] zipp==3.2.0 [2020-09-30T05:18:19.831Z] Cache entry deserialization failed, entry ignored [2020-09-30T05:18:19.831Z] 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-09-30T05:18:19.831Z] Python 2.7.5 [2020-09-30T05:18:19.831Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-09-30T05:18:19.831Z] 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-09-30T05:18:19.831Z] ansible==2.9.7 [2020-09-30T05:18:19.831Z] Babel==0.9.6 [2020-09-30T05:18:19.831Z] backports.ssl-match-hostname==3.5.0.1 [2020-09-30T05:18:19.831Z] beautifulsoup4==4.4.1 [2020-09-30T05:18:19.831Z] bodhi==2.11.0 [2020-09-30T05:18:19.831Z] bodhi-client==2.11.0 [2020-09-30T05:18:19.831Z] CCColUtils==1.4 [2020-09-30T05:18:19.831Z] cffi==1.6.0 [2020-09-30T05:18:19.831Z] chardet==2.2.1 [2020-09-30T05:18:19.831Z] click==6.7 [2020-09-30T05:18:19.831Z] cloud-init==18.5 [2020-09-30T05:18:19.831Z] configobj==4.7.2 [2020-09-30T05:18:19.831Z] cryptography==1.7.2 [2020-09-30T05:18:19.831Z] decorator==3.4.0 [2020-09-30T05:18:19.831Z] distro==1.2.0 [2020-09-30T05:18:19.831Z] enum34==1.0.4 [2020-09-30T05:18:19.831Z] fedpkg==1.38 [2020-09-30T05:18:19.831Z] futures==3.1.1 [2020-09-30T05:18:19.831Z] gitdb==0.6.4 [2020-09-30T05:18:19.831Z] GitPython==1.0.1 [2020-09-30T05:18:19.831Z] html5lib==0.999 [2020-09-30T05:18:19.831Z] httplib2==0.9.2 [2020-09-30T05:18:19.831Z] idna==2.4 [2020-09-30T05:18:19.831Z] iniparse==0.4 [2020-09-30T05:18:19.831Z] ipaddress==1.0.16 [2020-09-30T05:18:19.831Z] IPy==0.75 [2020-09-30T05:18:19.831Z] javapackages==1.0.0 [2020-09-30T05:18:19.831Z] Jinja2==2.7.2 [2020-09-30T05:18:19.831Z] jmespath==0.9.4 [2020-09-30T05:18:19.831Z] jsonpatch==1.2 [2020-09-30T05:18:19.831Z] jsonpointer==1.9 [2020-09-30T05:18:19.831Z] kerberos==1.1 [2020-09-30T05:18:19.831Z] kitchen==1.1.1 [2020-09-30T05:18:19.831Z] langtable==0.0.31 [2020-09-30T05:18:19.831Z] lockfile==0.9.1 [2020-09-30T05:18:19.831Z] lxml==3.2.1 [2020-09-30T05:18:19.831Z] MarkupSafe==0.11 [2020-09-30T05:18:19.831Z] munch==2.0.2 [2020-09-30T05:18:19.831Z] offtrac==0.1.0 [2020-09-30T05:18:19.831Z] openidc-client==0.6.0 [2020-09-30T05:18:19.831Z] packagedb-cli==2.14.1 [2020-09-30T05:18:19.831Z] paramiko==2.1.1 [2020-09-30T05:18:19.831Z] perf==0.1 [2020-09-30T05:18:19.831Z] ply==3.4 [2020-09-30T05:18:19.831Z] policycoreutils-default-encoding==0.1 [2020-09-30T05:18:19.831Z] prettytable==0.7.2 [2020-09-30T05:18:19.831Z] pyasn1==0.1.9 [2020-09-30T05:18:19.831Z] pycparser==2.14 [2020-09-30T05:18:19.831Z] pycurl==7.19.0 [2020-09-30T05:18:19.831Z] pygobject==3.22.0 [2020-09-30T05:18:19.831Z] pygpgme==0.3 [2020-09-30T05:18:19.831Z] pyliblzma==0.5.3 [2020-09-30T05:18:19.831Z] pyOpenSSL==0.13.1 [2020-09-30T05:18:19.831Z] pyparsing==1.5.6 [2020-09-30T05:18:19.831Z] pyserial==2.6 [2020-09-30T05:18:19.831Z] python-augeas==0.5.0 [2020-09-30T05:18:19.831Z] python-bugzilla==2.3.0 [2020-09-30T05:18:19.831Z] python-dateutil==1.5 [2020-09-30T05:18:19.831Z] python-fedora==0.10.0 [2020-09-30T05:18:19.831Z] python-linux-procfs==0.4.9 [2020-09-30T05:18:19.831Z] python-yubico==1.2.3 [2020-09-30T05:18:19.831Z] pyudev==0.15 [2020-09-30T05:18:19.831Z] pyusb==1.0.0b1 [2020-09-30T05:18:19.831Z] pyxattr==0.5.1 [2020-09-30T05:18:19.831Z] PyYAML==3.10 [2020-09-30T05:18:19.831Z] requests==2.6.0 [2020-09-30T05:18:19.831Z] requests-kerberos==0.7.0 [2020-09-30T05:18:19.831Z] rpkg==1.60 [2020-09-30T05:18:19.831Z] schedutils==0.4 [2020-09-30T05:18:19.831Z] seobject==0.1 [2020-09-30T05:18:19.831Z] sepolicy==1.1 [2020-09-30T05:18:19.831Z] six==1.9.0 [2020-09-30T05:18:19.831Z] smmap==0.9.0 [2020-09-30T05:18:19.831Z] urlgrabber==3.10 [2020-09-30T05:18:19.831Z] urllib3==1.10.2 [2020-09-30T05:18:19.831Z] virtualenv==15.1.0 [2020-09-30T05:18:19.831Z] yum-langpacks==0.4.2 [2020-09-30T05:18:19.831Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-09-30T05:18:19.842Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-30T05:18:20.148Z] ---> sudo-logs.sh [2020-09-30T05:18:20.148Z] Archiving 'sudo' log.. [Pipeline] echo [2020-09-30T05:18:20.425Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-30T05:18:20.725Z] ---> job-cost.sh [2020-09-30T05:18:20.725Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-iJIA [2020-09-30T05:18:32.965Z] Cache entry deserialization failed, entry ignored [2020-09-30T05:18:32.965Z] Cache entry deserialization failed, entry ignored [2020-09-30T05:18:32.965Z] Cache entry deserialization failed, entry ignored [2020-09-30T05:18:32.965Z] Cache entry deserialization failed, entry ignored [2020-09-30T05:18:32.965Z] Cache entry deserialization failed, entry ignored [2020-09-30T05:18:32.965Z] Cache entry deserialization failed, entry ignored [2020-09-30T05:18:32.965Z] Cache entry deserialization failed, entry ignored [2020-09-30T05:18:32.965Z] Cache entry deserialization failed, entry ignored [2020-09-30T05:18:32.965Z] Cache entry deserialization failed, entry ignored [2020-09-30T05:18:33.227Z] Cache entry deserialization failed, entry ignored [2020-09-30T05:18:33.227Z] Cache entry deserialization failed, entry ignored [2020-09-30T05:18:33.227Z] Cache entry deserialization failed, entry ignored [2020-09-30T05:18:33.489Z] Cache entry deserialization failed, entry ignored [2020-09-30T05:18:36.803Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-09-30T05:19:03.417Z] ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. [2020-09-30T05:19:03.417Z] [2020-09-30T05:19:03.417Z] We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. [2020-09-30T05:19:03.417Z] [2020-09-30T05:19:03.417Z] virtualenv 20.0.31 requires importlib-metadata<2,>=0.12; python_version < "3.8", but you'll have importlib-metadata 2.0.0 which is incompatible. [2020-09-30T05:19:03.417Z] lf-activate-venv(): INFO: Adding /tmp/venv-iJIA/bin to PATH [2020-09-30T05:19:03.417Z] INFO: No Stack... [2020-09-30T05:19:03.417Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-09-30T05:19:03.417Z] INFO: Archiving Costs [Pipeline] echo [2020-09-30T05:19:03.437Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-30T05:19:04.824Z] ---> logs-deploy.sh [2020-09-30T05:19:04.824Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-602/5 [2020-09-30T05:19:04.824Z] INFO: archiving workspace using pattern(s): [2020-09-30T05:19:06.746Z] Archives upload complete. [2020-09-30T05:19:07.007Z] INFO: archiving logs to Nexus