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 9eb8018d87c3a2d7e647304da7998b6311e1e846+0cafa7decaaa0dab3b86f836c2c615e8e839d11b (8ac4ff691522729942c1782242fafbf3fa529da5) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-1767 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 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 9eb8018d87c3a2d7e647304da7998b6311e1e846 Merge succeeded, producing 9eb8018d87c3a2d7e647304da7998b6311e1e846 Checking out Revision 9eb8018d87c3a2d7e647304da7998b6311e1e846 (PR-602) > git config core.sparsecheckout # timeout=10 > git checkout -f 9eb8018d87c3a2d7e647304da7998b6311e1e846 # 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 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9eb8018d87c3a2d7e647304da7998b6311e1e846 # 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-28T07:44:33.583Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk 6b42d374f1c82bd9ac510ed29be637f4c5788665 # timeout=10 [Pipeline] withCredentials [2020-09-28T07:44:33.837Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-28T07:44:33.949Z] ========================================================= [2020-09-28T07:44:33.949Z] EdgeX Global Pipelines Version Info [2020-09-28T07:44:33.949Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-28T07:44:35.894Z] ------------------- [2020-09-28T07:44:35.894Z] stable info: [2020-09-28T07:44:35.894Z] ------------------- [2020-09-28T07:44:35.894Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-28T07:44:35.894Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-09-28T07:44:35.894Z] Message: update stable to v1.0.131 [2020-09-28T07:44:36.470Z] ------------------- [2020-09-28T07:44:36.470Z] experimental info: [2020-09-28T07:44:36.470Z] ------------------- [2020-09-28T07:44:36.470Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-28T07:44:36.470Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-09-28T07:44:36.470Z] Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-28T07:44:36.906Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-28T07:44:37.010Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-28T07:44:37.117Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-28T07:44:37.219Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-28T07:44:37.323Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-28T07:44:37.435Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-28T07:44:37.575Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-28T07:44:37.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-28T07:44:37.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-28T07:44:37.971Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-28T07:44:38.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-28T07:44:38.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-28T07:44:38.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-28T07:44:38.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-28T07:44:38.670Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-28T07:44:38.770Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-28T07:44:38.869Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-28T07:44:38.976Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-28T07:44:39.099Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-28T07:44:39.194Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-28T07:44:39.288Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-28T07:44:39.382Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-28T07:44:39.481Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-09-28T07:44:39.577Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-09-28T07:44:39.674Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-09-28T07:44:39.769Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-602 [Pipeline] echo [2020-09-28T07:44:39.872Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-602 [Pipeline] echo [2020-09-28T07:44:40.220Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-602 [Pipeline] echo [2020-09-28T07:44:40.350Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9eb8018d87c3a2d7e647304da7998b6311e1e846 [Pipeline] echo [2020-09-28T07:44:40.472Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9eb8018 [Pipeline] echo [2020-09-28T07:44:40.574Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-28T07:44:41.194Z] + git log --format=format:%s -1 9eb8018d87c3a2d7e647304da7998b6311e1e846 [Pipeline] echo [2020-09-28T07:44:41.259Z] GIT_COMMIT: 9eb8018d87c3a2d7e647304da7998b6311e1e846, Commit Message: feat: implement Device SDK v2 common API [Pipeline] echo [2020-09-28T07:44:41.312Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-28T07:44:42.121Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-28T07:44:42.383Z] [2020-09-28T07:44:42.383Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-28T07:44:42.732Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-28T07:44:42.732Z] latest: Pulling from edgex-devops/git-semver [2020-09-28T07:44:42.732Z] 31603596830f: Pulling fs layer [2020-09-28T07:44:42.732Z] 2a8b12db71e7: Pulling fs layer [2020-09-28T07:44:42.732Z] 6ca5941a6612: Pulling fs layer [2020-09-28T07:44:42.732Z] ecc8261a40a4: Pulling fs layer [2020-09-28T07:44:42.732Z] ecc8261a40a4: Waiting [2020-09-28T07:44:42.732Z] 2a8b12db71e7: Verifying Checksum [2020-09-28T07:44:42.732Z] 2a8b12db71e7: Download complete [2020-09-28T07:44:42.994Z] 31603596830f: Verifying Checksum [2020-09-28T07:44:42.994Z] 31603596830f: Download complete [2020-09-28T07:44:42.994Z] ecc8261a40a4: Verifying Checksum [2020-09-28T07:44:42.994Z] ecc8261a40a4: Download complete [2020-09-28T07:44:42.994Z] 6ca5941a6612: Verifying Checksum [2020-09-28T07:44:42.994Z] 6ca5941a6612: Download complete [2020-09-28T07:44:43.258Z] 31603596830f: Pull complete [2020-09-28T07:44:43.520Z] 2a8b12db71e7: Pull complete [2020-09-28T07:44:44.094Z] 6ca5941a6612: Pull complete [2020-09-28T07:44:44.355Z] ecc8261a40a4: Pull complete [2020-09-28T07:44:44.355Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-28T07:44:44.355Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-28T07:44:44.355Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-28T07:44:44.459Z] prd-centos7-docker-4c-2g-1767 does not seem to be running inside a container [2020-09-28T07:44:44.511Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-28T07:44:47.091Z] $ docker top d138fb56f20918c06b7044a3af30a41381c25cad6c8ac0fd1b035e12b4042111 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-28T07:44:47.388Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-28T07:44:47.388Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-28T07:44:47.581Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-28T07:44:47.586Z] $ docker exec d138fb56f20918c06b7044a3af30a41381c25cad6c8ac0fd1b035e12b4042111 ssh-agent [2020-09-28T07:44:47.740Z] SSH_AUTH_SOCK=/tmp/ssh-zDiicDBSLrvb/agent.11 [2020-09-28T07:44:47.740Z] SSH_AGENT_PID=16 [2020-09-28T07:44:47.751Z] Running ssh-add (command line suppressed) [2020-09-28T07:44:47.866Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_5983097083349120143.key (/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_5983097083349120143.key) [2020-09-28T07:44:47.913Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-28T07:44:48.252Z] + git describe --exact-match --tags HEAD [2020-09-28T07:44:48.252Z] fatal: no tag exactly matches '9eb8018d87c3a2d7e647304da7998b6311e1e846' [Pipeline] } [2020-09-28T07:44:48.275Z] $ docker exec --env ******** --env ******** d138fb56f20918c06b7044a3af30a41381c25cad6c8ac0fd1b035e12b4042111 ssh-agent -k [2020-09-28T07:44:48.383Z] unset SSH_AUTH_SOCK; [2020-09-28T07:44:48.383Z] unset SSH_AGENT_PID; [2020-09-28T07:44:48.383Z] echo Agent pid 16 killed; [2020-09-28T07:44:48.424Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-28T07:44:48.531Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-28T07:44:48.531Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-28T07:44:48.652Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-28T07:44:48.652Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-28T07:44:48.810Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-28T07:44:48.816Z] $ docker exec d138fb56f20918c06b7044a3af30a41381c25cad6c8ac0fd1b035e12b4042111 ssh-agent [2020-09-28T07:44:48.964Z] SSH_AUTH_SOCK=/tmp/ssh-Vz19h9Xhle9I/agent.45 [2020-09-28T07:44:48.965Z] SSH_AGENT_PID=50 [2020-09-28T07:44:48.971Z] Running ssh-add (command line suppressed) [2020-09-28T07:44:49.086Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_1776189000536778480.key (/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_1776189000536778480.key) [2020-09-28T07:44:49.130Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-28T07:44:49.463Z] + git semver init [2020-09-28T07:44:49.463Z] # -> Open(): unable to determine branch for HEAD [2020-09-28T07:44:49.463Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-602/.git [2020-09-28T07:44:49.463Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-602 [2020-09-28T07:44:49.463Z] # $SEMVER_REMOTE_NAME = origin [2020-09-28T07:44:49.463Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-28T07:44:49.463Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-28T07:44:49.463Z] # $SEMVER_BRANCH = PR-602 [2020-09-28T07:44:49.463Z] # $SEMVER_TEMP = /tmp/semver-896733326 [2020-09-28T07:44:49.464Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-28T07:44:50.036Z] # '/tmp/semver-896733326' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-602/.semver' [2020-09-28T07:44:50.036Z] # -> Force: false [2020-09-28T07:44:50.036Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-602/.semver [Pipeline] } [2020-09-28T07:44:50.050Z] $ docker exec --env ******** --env ******** d138fb56f20918c06b7044a3af30a41381c25cad6c8ac0fd1b035e12b4042111 ssh-agent -k [2020-09-28T07:44:50.155Z] unset SSH_AUTH_SOCK; [2020-09-28T07:44:50.156Z] unset SSH_AGENT_PID; [2020-09-28T07:44:50.156Z] echo Agent pid 50 killed; [2020-09-28T07:44:50.198Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-28T07:44:50.706Z] + git semver [Pipeline] } [2020-09-28T07:44:50.724Z] $ docker stop --time=1 d138fb56f20918c06b7044a3af30a41381c25cad6c8ac0fd1b035e12b4042111 [2020-09-28T07:44:52.105Z] $ docker rm -f d138fb56f20918c06b7044a3af30a41381c25cad6c8ac0fd1b035e12b4042111 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-28T07:44:53.134Z] Stashed 39 file(s) [Pipeline] echo [2020-09-28T07:44:53.138Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-28T07:44:53.256Z] 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-28T07:45:08.848Z] Still waiting to schedule task [2020-09-28T07:45:08.848Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1767’ [2020-09-28T07:45:08.851Z] Still waiting to schedule task [2020-09-28T07:45:08.851Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-28T07:47:09.253Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1768 in /w/workspace/dgexfoundry_device-sdk-go_PR-602 [Pipeline] { [Pipeline] ws [2020-09-28T07:47:09.317Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-09-28T07:47:14.300Z] using credential edgex-jenkins-ssh [2020-09-28T07:47:14.362Z] Cloning the remote Git repository [2020-09-28T07:47:14.436Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-28T07:47:14.560Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-09-28T07:47:14.639Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-28T07:47:14.640Z] > git --version # timeout=10 [2020-09-28T07:47:14.667Z] > git --version # 'git version 2.17.1' [2020-09-28T07:47:14.669Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-28T07:47:14.752Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-28T07:47:16.432Z] Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 9eb8018d87c3a2d7e647304da7998b6311e1e846 [2020-09-28T07:47:16.667Z] Merge succeeded, producing 9eb8018d87c3a2d7e647304da7998b6311e1e846 [2020-09-28T07:47:16.667Z] Checking out Revision 9eb8018d87c3a2d7e647304da7998b6311e1e846 (PR-602) [2020-09-28T07:47:15.711Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-28T07:47:15.728Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-28T07:47:15.753Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-28T07:47:15.783Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-28T07:47:15.784Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-28T07:47:15.796Z] > 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-28T07:47:16.456Z] > git config core.sparsecheckout # timeout=10 [2020-09-28T07:47:16.479Z] > git checkout -f 9eb8018d87c3a2d7e647304da7998b6311e1e846 # timeout=10 [2020-09-28T07:47:16.593Z] > git remote # timeout=10 [2020-09-28T07:47:16.610Z] > git config --get remote.origin.url # timeout=10 [2020-09-28T07:47:16.626Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-28T07:47:16.636Z] > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 [2020-09-28T07:47:16.658Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-28T07:47:16.677Z] > git config core.sparsecheckout # timeout=10 [2020-09-28T07:47:16.693Z] > git checkout -f 9eb8018d87c3a2d7e647304da7998b6311e1e846 # timeout=10 [2020-09-28T07:47:21.335Z] 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-28T07:47:22.784Z] ========================================================= [2020-09-28T07:47:22.784Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-28T07:47:22.784Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-28T07:47:23.942Z] + 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-28T07:47:24.933Z] Sending build context to Docker daemon 3.446MB [2020-09-28T07:47:24.933Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-28T07:47:24.933Z] Step 2/8 : FROM ${BASE} [2020-09-28T07:47:25.207Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-28T07:47:25.207Z] b538f80385f9: Pulling fs layer [2020-09-28T07:47:25.207Z] 74f711af9a0d: Pulling fs layer [2020-09-28T07:47:25.207Z] 99f96fe45779: Pulling fs layer [2020-09-28T07:47:25.207Z] 8529a6b9a6be: Pulling fs layer [2020-09-28T07:47:25.207Z] 45590311c82a: Pulling fs layer [2020-09-28T07:47:25.207Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-28T07:47:25.207Z] 209524e5b208: Pulling fs layer [2020-09-28T07:47:25.207Z] 8529a6b9a6be: Waiting [2020-09-28T07:47:25.207Z] 69ca0ff8b7b3: Waiting [2020-09-28T07:47:25.207Z] 209524e5b208: Waiting [2020-09-28T07:47:25.207Z] 45590311c82a: Waiting [2020-09-28T07:47:25.207Z] 99f96fe45779: Download complete [2020-09-28T07:47:25.207Z] 74f711af9a0d: Verifying Checksum [2020-09-28T07:47:25.207Z] 74f711af9a0d: Download complete [2020-09-28T07:47:25.207Z] 45590311c82a: Download complete [2020-09-28T07:47:25.207Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-28T07:47:25.207Z] 69ca0ff8b7b3: Download complete [2020-09-28T07:47:25.804Z] b538f80385f9: Verifying Checksum [2020-09-28T07:47:25.804Z] b538f80385f9: Download complete [2020-09-28T07:47:26.408Z] b538f80385f9: Pull complete [2020-09-28T07:47:27.015Z] 74f711af9a0d: Pull complete [2020-09-28T07:47:27.618Z] 99f96fe45779: Pull complete [2020-09-28T07:47:28.221Z] 209524e5b208: Verifying Checksum [2020-09-28T07:47:28.221Z] 209524e5b208: Download complete [2020-09-28T07:47:29.665Z] 8529a6b9a6be: Verifying Checksum [2020-09-28T07:47:29.665Z] 8529a6b9a6be: Download complete [2020-09-28T07:47:39.861Z] 8529a6b9a6be: Pull complete [2020-09-28T07:47:39.861Z] 45590311c82a: Pull complete [2020-09-28T07:47:40.461Z] 69ca0ff8b7b3: Pull complete [2020-09-28T07:47:43.865Z] 209524e5b208: Pull complete [2020-09-28T07:47:43.865Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-28T07:47:43.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-28T07:47:43.865Z] ---> 5bddaf1c2fca [2020-09-28T07:47:43.865Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-28T07:47:46.505Z] ---> Running in 23d2e2f6eacc [2020-09-28T07:47:46.780Z] Removing intermediate container 23d2e2f6eacc [2020-09-28T07:47:46.780Z] ---> db549cfa6768 [2020-09-28T07:47:46.780Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-28T07:47:46.780Z] ---> Running in b9a093db735e [2020-09-28T07:47:50.175Z] Removing intermediate container b9a093db735e [2020-09-28T07:47:50.175Z] ---> 8192bee52dc1 [2020-09-28T07:47:50.175Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-28T07:47:50.175Z] ---> Running in a7c5f258a454 [2020-09-28T07:47:51.158Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-28T07:47:52.132Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-28T07:47:53.116Z] OK: 142 MiB in 39 packages [2020-09-28T07:47:54.099Z] Removing intermediate container a7c5f258a454 [2020-09-28T07:47:54.099Z] ---> 7574842cefcf [2020-09-28T07:47:54.099Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-28T07:47:54.099Z] ---> Running in 7b34f930428e [2020-09-28T07:47:54.695Z] Removing intermediate container 7b34f930428e [2020-09-28T07:47:54.695Z] ---> b3cb68b472d1 [2020-09-28T07:47:54.695Z] Step 7/8 : COPY . . [2020-09-28T07:47:56.140Z] ---> c1f6276b4438 [2020-09-28T07:47:56.140Z] Step 8/8 : RUN go mod download [2020-09-28T07:47:56.140Z] ---> Running in efb7091d104f [2020-09-28T07:48:02.346Z] Running on prd-centos7-docker-4c-2g-1769 in /w/workspace/dgexfoundry_device-sdk-go_PR-602 [Pipeline] { [Pipeline] ws [2020-09-28T07:48:02.409Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-09-28T07:48:09.161Z] using credential edgex-jenkins-ssh [2020-09-28T07:48:09.216Z] Cloning the remote Git repository [2020-09-28T07:48:09.261Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-28T07:48:09.339Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-09-28T07:48:09.437Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-28T07:48:09.437Z] > git --version # timeout=10 [2020-09-28T07:48:09.467Z] > git --version # 'git version 2.16.5' [2020-09-28T07:48:09.468Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-28T07:48:09.517Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-28T07:48:11.726Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-28T07:48:11.793Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-28T07:48:11.835Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-28T07:48:11.868Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-28T07:48:11.868Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-28T07:48:11.874Z] > 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-28T07:48:12.343Z] Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 9eb8018d87c3a2d7e647304da7998b6311e1e846 [2020-09-28T07:48:12.720Z] Merge succeeded, producing 9eb8018d87c3a2d7e647304da7998b6311e1e846 [2020-09-28T07:48:12.720Z] Checking out Revision 9eb8018d87c3a2d7e647304da7998b6311e1e846 (PR-602) [2020-09-28T07:48:12.355Z] > git config core.sparsecheckout # timeout=10 [2020-09-28T07:48:12.388Z] > git checkout -f 9eb8018d87c3a2d7e647304da7998b6311e1e846 # timeout=10 [2020-09-28T07:48:12.509Z] > git remote # timeout=10 [2020-09-28T07:48:12.536Z] > git config --get remote.origin.url # timeout=10 [2020-09-28T07:48:12.617Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-28T07:48:12.624Z] > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 [2020-09-28T07:48:12.689Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-28T07:48:12.733Z] > git config core.sparsecheckout # timeout=10 [2020-09-28T07:48:12.745Z] > git checkout -f 9eb8018d87c3a2d7e647304da7998b6311e1e846 # timeout=10 [2020-09-28T07:48:16.582Z] 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-28T07:48:17.725Z] ========================================================= [2020-09-28T07:48:17.725Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-28T07:48:17.725Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-28T07:48:18.333Z] Removing intermediate container efb7091d104f [2020-09-28T07:48:18.333Z] ---> bd095627d3cb [2020-09-28T07:48:18.333Z] Successfully built bd095627d3cb [2020-09-28T07:48:18.333Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-28T07:48:18.535Z] + 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-28T07:48:18.744Z] + docker inspect -f . ci-base-image-arm64 [2020-09-28T07:48:18.744Z] . [Pipeline] withDockerContainer [2020-09-28T07:48:19.025Z] prd-ubuntu18.04-docker-arm64-4c-16g-1768 does not seem to be running inside a container [2020-09-28T07:48:19.117Z] Sending build context to Docker daemon 3.444MB [2020-09-28T07:48:19.117Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-28T07:48:19.117Z] Step 2/8 : FROM ${BASE} [2020-09-28T07:48:19.117Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-28T07:48:19.117Z] df20fa9351a1: Pulling fs layer [2020-09-28T07:48:19.117Z] ed8968b2872e: Pulling fs layer [2020-09-28T07:48:19.117Z] a92cc7c5fd73: Pulling fs layer [2020-09-28T07:48:19.117Z] e871e8e8d7a9: Pulling fs layer [2020-09-28T07:48:19.117Z] e73272ec9a57: Pulling fs layer [2020-09-28T07:48:19.117Z] 1e910a182e73: Pulling fs layer [2020-09-28T07:48:19.117Z] 4e634b169226: Pulling fs layer [2020-09-28T07:48:19.117Z] e73272ec9a57: Waiting [2020-09-28T07:48:19.117Z] 1e910a182e73: Waiting [2020-09-28T07:48:19.117Z] 4e634b169226: Waiting [2020-09-28T07:48:19.117Z] e871e8e8d7a9: Waiting [2020-09-28T07:48:19.126Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-28T07:48:19.393Z] a92cc7c5fd73: Verifying Checksum [2020-09-28T07:48:19.393Z] a92cc7c5fd73: Download complete [2020-09-28T07:48:19.393Z] ed8968b2872e: Download complete [2020-09-28T07:48:19.393Z] e73272ec9a57: Verifying Checksum [2020-09-28T07:48:19.393Z] e73272ec9a57: Download complete [2020-09-28T07:48:19.393Z] 1e910a182e73: Verifying Checksum [2020-09-28T07:48:19.393Z] 1e910a182e73: Download complete [2020-09-28T07:48:19.393Z] df20fa9351a1: Download complete [2020-09-28T07:48:19.677Z] df20fa9351a1: Pull complete [2020-09-28T07:48:19.950Z] ed8968b2872e: Pull complete [2020-09-28T07:48:20.221Z] a92cc7c5fd73: Pull complete [2020-09-28T07:48:20.987Z] $ docker top ba0680f4ba6fdfaaad46c2318fdea33cdaee96dca30a140539ebcf8ce1890869 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-28T07:48:22.233Z] 4e634b169226: Download complete [2020-09-28T07:48:22.421Z] + go version [2020-09-28T07:48:22.421Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-28T07:48:22.449Z] $ docker stop --time=1 ba0680f4ba6fdfaaad46c2318fdea33cdaee96dca30a140539ebcf8ce1890869 [2020-09-28T07:48:22.825Z] e871e8e8d7a9: Verifying Checksum [2020-09-28T07:48:22.825Z] e871e8e8d7a9: Download complete [2020-09-28T07:48:24.338Z] $ docker rm -f ba0680f4ba6fdfaaad46c2318fdea33cdaee96dca30a140539ebcf8ce1890869 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-28T07:48:25.361Z] + docker inspect -f . ci-base-image-arm64 [2020-09-28T07:48:25.361Z] . [Pipeline] withDockerContainer [2020-09-28T07:48:25.592Z] prd-ubuntu18.04-docker-arm64-4c-16g-1768 does not seem to be running inside a container [2020-09-28T07:48:25.672Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-28T07:48:27.514Z] $ docker top 1e10a3b1750f6316e337f9e6e662202716be71aae582f59d1ed694b6caf7bbeb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-28T07:48:28.931Z] + make test [2020-09-28T07:48:28.931Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-28T07:48:31.221Z] e871e8e8d7a9: Pull complete [2020-09-28T07:48:31.487Z] e73272ec9a57: Pull complete [2020-09-28T07:48:31.487Z] 1e910a182e73: Pull complete [2020-09-28T07:48:39.781Z] 4e634b169226: Pull complete [2020-09-28T07:48:40.058Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-28T07:48:40.058Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-28T07:48:40.058Z] ---> f7629b54cfaa [2020-09-28T07:48:40.058Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-28T07:48:40.644Z] ---> Running in aa21d88af404 [2020-09-28T07:48:40.912Z] Removing intermediate container aa21d88af404 [2020-09-28T07:48:40.912Z] ---> f9eeec9289ad [2020-09-28T07:48:40.912Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-28T07:48:40.912Z] ---> Running in 97f21c62e0c7 [2020-09-28T07:48:42.349Z] Removing intermediate container 97f21c62e0c7 [2020-09-28T07:48:42.349Z] ---> 184b3ae08891 [2020-09-28T07:48:42.349Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-28T07:48:42.349Z] ---> Running in d75a77922492 [2020-09-28T07:48:43.315Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-28T07:48:43.906Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-28T07:48:44.923Z] OK: 166 MiB in 39 packages [2020-09-28T07:48:45.228Z] Removing intermediate container d75a77922492 [2020-09-28T07:48:45.228Z] ---> a81d5712d825 [2020-09-28T07:48:45.228Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-28T07:48:45.228Z] ---> Running in c7403763c650 [2020-09-28T07:48:45.523Z] Removing intermediate container c7403763c650 [2020-09-28T07:48:45.523Z] ---> 7af50eb7da6d [2020-09-28T07:48:45.523Z] Step 7/8 : COPY . . [2020-09-28T07:48:46.939Z] ---> dd278449c8b1 [2020-09-28T07:48:46.939Z] Step 8/8 : RUN go mod download [2020-09-28T07:48:46.939Z] ---> Running in 0e045c19bea6 [2020-09-28T07:48:51.163Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-28T07:49:09.151Z] Removing intermediate container 0e045c19bea6 [2020-09-28T07:49:09.152Z] ---> 2ad6e83f9453 [2020-09-28T07:49:09.152Z] Successfully built 2ad6e83f9453 [2020-09-28T07:49:09.152Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-28T07:49:09.538Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-28T07:49:09.803Z] . [Pipeline] withDockerContainer [2020-09-28T07:49:09.959Z] prd-centos7-docker-4c-2g-1769 does not seem to be running inside a container [2020-09-28T07:49:10.190Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-28T07:49:11.821Z] $ docker top 36b6966c0c8ed4922146d66a81f97e5b9134848f3be84361b16be3e2a39e5fb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-28T07:49:12.743Z] + go version [2020-09-28T07:49:12.743Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-28T07:49:12.765Z] $ docker stop --time=1 36b6966c0c8ed4922146d66a81f97e5b9134848f3be84361b16be3e2a39e5fb2 [2020-09-28T07:49:14.244Z] $ docker rm -f 36b6966c0c8ed4922146d66a81f97e5b9134848f3be84361b16be3e2a39e5fb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-28T07:49:15.185Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-28T07:49:15.185Z] . [Pipeline] withDockerContainer [2020-09-28T07:49:15.326Z] prd-centos7-docker-4c-2g-1769 does not seem to be running inside a container [2020-09-28T07:49:15.425Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-28T07:49:16.175Z] $ docker top 7523920edb99cebf718e45b78f1e33855b610385461687d3d6d1ed898816a82f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-28T07:49:16.730Z] + make test [2020-09-28T07:49:16.731Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-28T07:49:29.143Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-28T07:49:30.208Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-28T07:49:30.208Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-28T07:49:30.208Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-28T07:49:30.208Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.160s coverage: 21.9% of statements [2020-09-28T07:49:33.611Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.187s coverage: 95.7% of statements [2020-09-28T07:49:51.857Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-28T07:49:51.857Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-28T07:49:51.857Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-28T07:49:51.857Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.096s coverage: 21.9% of statements [2020-09-28T07:49:54.623Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.708s coverage: 95.7% of statements [2020-09-28T07:50:05.954Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.140s coverage: 8.6% of statements [2020-09-28T07:50:05.954Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.161s coverage: 21.7% of statements [2020-09-28T07:50:05.954Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-28T07:50:05.954Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.535s coverage: 39.5% of statements [2020-09-28T07:50:05.954Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-28T07:50:05.954Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.800s coverage: 65.4% of statements [2020-09-28T07:50:05.954Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-28T07:50:05.954Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-28T07:50:05.954Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-28T07:50:05.954Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-09-28T07:50:05.954Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.191s coverage: 52.6% of statements [2020-09-28T07:50:05.954Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-09-28T07:50:05.954Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.651s coverage: 68.9% of statements [2020-09-28T07:50:05.954Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-28T07:50:05.954Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-28T07:50:05.954Z] GO111MODULE=on go vet ./... [2020-09-28T07:50:27.081Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.077s coverage: 8.6% of statements [2020-09-28T07:50:27.081Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.049s coverage: 21.7% of statements [2020-09-28T07:50:27.081Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-28T07:50:27.081Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.276s coverage: 39.5% of statements [2020-09-28T07:50:27.081Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-28T07:50:27.081Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.457s coverage: 65.4% of statements [2020-09-28T07:50:27.081Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-28T07:50:27.081Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-28T07:50:27.081Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-28T07:50:27.081Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-09-28T07:50:27.081Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.193s coverage: 52.6% of statements [2020-09-28T07:50:27.081Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-09-28T07:50:27.081Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 4.047s coverage: 68.9% of statements [2020-09-28T07:50:27.081Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-28T07:50:27.081Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-28T07:50:27.081Z] GO111MODULE=on go vet ./... [2020-09-28T07:50:32.809Z] gofmt -l . [2020-09-28T07:50:32.809Z] [ "`gofmt -l .`" = "" ] [2020-09-28T07:50:32.809Z] ./bin/test-attribution-txt.sh [2020-09-28T07:50:32.809Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-28T07:50:33.985Z] Stashed 1 file(s) [Pipeline] } [2020-09-28T07:50:33.997Z] $ docker stop --time=1 1e10a3b1750f6316e337f9e6e662202716be71aae582f59d1ed694b6caf7bbeb [2020-09-28T07:50:36.299Z] $ docker rm -f 1e10a3b1750f6316e337f9e6e662202716be71aae582f59d1ed694b6caf7bbeb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-09-28T07:50:37.414Z] gofmt -l . [2020-09-28T07:50:37.414Z] [ "`gofmt -l .`" = "" ] [Pipeline] script [Pipeline] { [2020-09-28T07:50:37.692Z] ./bin/test-attribution-txt.sh [2020-09-28T07:50:38.699Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-28T07:50:39.586Z] Warning: overwriting stash ‘coverage-report’ [Pipeline] sh [2020-09-28T07:50:39.975Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-28T07:50:40.037Z] Stashed 1 file(s) [Pipeline] } [2020-09-28T07:50:40.207Z] $ docker stop --time=1 7523920edb99cebf718e45b78f1e33855b610385461687d3d6d1ed898816a82f [2020-09-28T07:50:40.358Z] + ls -al . [2020-09-28T07:50:40.358Z] total 232 [2020-09-28T07:50:40.358Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 07:50 . [2020-09-28T07:50:40.358Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 07:47 .. [2020-09-28T07:50:40.358Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 28 07:47 .dockerignore [2020-09-28T07:50:40.358Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 07:47 .git [2020-09-28T07:50:40.358Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 07:47 .github [2020-09-28T07:50:40.358Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 28 07:47 .gitignore [2020-09-28T07:50:40.358Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 07:47 .semver [2020-09-28T07:50:40.358Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 28 07:47 Dockerfile.build [2020-09-28T07:50:40.358Z] -rw-rw-r-- 1 jenkins jenkins 785 Sep 28 07:47 Jenkinsfile [2020-09-28T07:50:40.358Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 28 07:47 LICENSE [2020-09-28T07:50:40.358Z] -rw-rw-r-- 1 jenkins jenkins 1013 Sep 28 07:47 Makefile [2020-09-28T07:50:40.358Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 28 07:47 README.md [2020-09-28T07:50:40.358Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 28 07:47 RELEASE-NOTES.txt [2020-09-28T07:50:40.358Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 07:44 VERSION [2020-09-28T07:50:40.358Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 07:47 bin [2020-09-28T07:50:40.358Z] -rw-r--r-- 1 jenkins jenkins 111789 Sep 28 07:50 coverage.out [2020-09-28T07:50:40.358Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 07:47 example [2020-09-28T07:50:40.358Z] -rw-r--r-- 1 jenkins jenkins 517 Sep 28 07:50 go.mod [2020-09-28T07:50:40.358Z] -rw-r--r-- 1 jenkins jenkins 13650 Sep 28 07:50 go.sum [2020-09-28T07:50:40.358Z] drwxrwxr-x 15 jenkins jenkins 4096 Sep 28 07:47 internal [2020-09-28T07:50:40.358Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 07:47 openapi [2020-09-28T07:50:40.358Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 28 07:47 pkg [2020-09-28T07:50:40.358Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 07:47 snap [2020-09-28T07:50:40.358Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 28 07:47 version.go [2020-09-28T07:50:42.589Z] $ docker rm -f 7523920edb99cebf718e45b78f1e33855b610385461687d3d6d1ed898816a82f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] isUnix [Pipeline] sh [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-09-28T07:50:43.518Z] + 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=9eb8018d87c3a2d7e647304da7998b6311e1e846 --label arch=arm64 --label version=0.0.0 . [2020-09-28T07:50:43.746Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-28T07:50:44.071Z] + ls -al . [2020-09-28T07:50:44.071Z] total 192 [2020-09-28T07:50:44.071Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 28 07:50 . [2020-09-28T07:50:44.071Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 28 07:48 .. [2020-09-28T07:50:44.071Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 28 07:48 bin [2020-09-28T07:50:44.071Z] -rw-r--r--. 1 jenkins jenkins 111789 Sep 28 07:50 coverage.out [2020-09-28T07:50:44.071Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 28 07:48 Dockerfile.build [2020-09-28T07:50:44.071Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 28 07:48 .dockerignore [2020-09-28T07:50:44.071Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 28 07:48 example [2020-09-28T07:50:44.071Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 28 07:48 .git [2020-09-28T07:50:44.071Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 28 07:48 .github [2020-09-28T07:50:44.071Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 28 07:48 .gitignore [2020-09-28T07:50:44.071Z] -rw-r--r--. 1 jenkins jenkins 517 Sep 28 07:50 go.mod [2020-09-28T07:50:44.071Z] -rw-r--r--. 1 jenkins jenkins 13650 Sep 28 07:50 go.sum [2020-09-28T07:50:44.071Z] drwxrwxr-x. 15 jenkins jenkins 211 Sep 28 07:48 internal [2020-09-28T07:50:44.071Z] -rw-rw-r--. 1 jenkins jenkins 785 Sep 28 07:48 Jenkinsfile [2020-09-28T07:50:44.071Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 28 07:48 LICENSE [2020-09-28T07:50:44.071Z] -rw-rw-r--. 1 jenkins jenkins 1013 Sep 28 07:48 Makefile [2020-09-28T07:50:44.071Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 28 07:48 openapi [2020-09-28T07:50:44.071Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 28 07:48 pkg [2020-09-28T07:50:44.071Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 28 07:48 README.md [2020-09-28T07:50:44.071Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 28 07:48 RELEASE-NOTES.txt [2020-09-28T07:50:44.071Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 28 07:48 .semver [2020-09-28T07:50:44.071Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 28 07:48 snap [2020-09-28T07:50:44.071Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 28 07:44 VERSION [2020-09-28T07:50:44.071Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 28 07:48 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-28T07:50:44.122Z] Sending build context to Docker daemon 3.56MB [2020-09-28T07:50:44.122Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-28T07:50:44.122Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-28T07:50:44.122Z] ---> bd095627d3cb [2020-09-28T07:50:44.122Z] Step 3/24 : ARG MAKE='make build' [2020-09-28T07:50:44.388Z] + 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=9eb8018d87c3a2d7e647304da7998b6311e1e846 --label arch=amd64 --label version=0.0.0 . [2020-09-28T07:50:44.396Z] ---> Running in c4d6abcf83ce [2020-09-28T07:50:44.658Z] Sending build context to Docker daemon 3.558MB [2020-09-28T07:50:44.658Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-28T07:50:44.658Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-28T07:50:44.658Z] ---> 2ad6e83f9453 [2020-09-28T07:50:44.658Z] Step 3/24 : ARG MAKE='make build' [2020-09-28T07:50:44.670Z] Removing intermediate container c4d6abcf83ce [2020-09-28T07:50:44.670Z] ---> 876f0d97110c [2020-09-28T07:50:44.670Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-28T07:50:44.946Z] ---> Running in 18ad5bf17033 [2020-09-28T07:50:45.220Z] Removing intermediate container 18ad5bf17033 [2020-09-28T07:50:45.220Z] ---> fb4aad05df53 [2020-09-28T07:50:45.220Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-28T07:50:45.236Z] ---> Running in b27713cdb0fa [2020-09-28T07:50:45.500Z] ---> Running in a3d22faf2517 [2020-09-28T07:50:45.519Z] Removing intermediate container b27713cdb0fa [2020-09-28T07:50:45.519Z] ---> a1c97dd1ea4b [2020-09-28T07:50:45.519Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-28T07:50:45.519Z] ---> Running in 8843fd8d273a [2020-09-28T07:50:45.796Z] Removing intermediate container 8843fd8d273a [2020-09-28T07:50:45.796Z] ---> 44115c0593c8 [2020-09-28T07:50:45.796Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-28T07:50:45.796Z] ---> Running in 46faaaa2972d [2020-09-28T07:50:46.060Z] Removing intermediate container 46faaaa2972d [2020-09-28T07:50:46.060Z] ---> a3f3fc7a4c22 [2020-09-28T07:50:46.060Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-28T07:50:46.104Z] Removing intermediate container a3d22faf2517 [2020-09-28T07:50:46.105Z] ---> 45f6694c2d37 [2020-09-28T07:50:46.105Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-28T07:50:46.105Z] ---> Running in d857abfff159 [2020-09-28T07:50:46.323Z] ---> Running in 1b9ff19a5067 [2020-09-28T07:50:47.283Z] Removing intermediate container 1b9ff19a5067 [2020-09-28T07:50:47.283Z] ---> 97664519ede7 [2020-09-28T07:50:47.283Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-28T07:50:47.549Z] ---> Running in 286e51cddbe3 [2020-09-28T07:50:48.131Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-28T07:50:48.707Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-28T07:50:48.725Z] Removing intermediate container d857abfff159 [2020-09-28T07:50:48.725Z] ---> c8a0381ad4d4 [2020-09-28T07:50:48.725Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-28T07:50:48.725Z] ---> Running in 2513ca7cbe22 [2020-09-28T07:50:49.292Z] OK: 166 MiB in 39 packages [2020-09-28T07:50:50.165Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-28T07:50:50.265Z] Removing intermediate container 286e51cddbe3 [2020-09-28T07:50:50.265Z] ---> eeea42dc3118 [2020-09-28T07:50:50.265Z] Step 8/24 : COPY . . [2020-09-28T07:50:51.141Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-28T07:50:51.222Z] ---> cf995cd53c0b [2020-09-28T07:50:51.222Z] Step 9/24 : RUN ${MAKE} [2020-09-28T07:50:51.503Z] ---> Running in 475edf1b2cdc [2020-09-28T07:50:52.085Z] 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-28T07:50:52.114Z] OK: 142 MiB in 39 packages [2020-09-28T07:50:53.096Z] Removing intermediate container 2513ca7cbe22 [2020-09-28T07:50:53.096Z] ---> 7ea239077054 [2020-09-28T07:50:53.096Z] Step 8/24 : COPY . . [2020-09-28T07:50:55.075Z] ---> ea7e28341625 [2020-09-28T07:50:55.075Z] Step 9/24 : RUN ${MAKE} [2020-09-28T07:50:55.075Z] ---> Running in 0c64e03d2e63 [2020-09-28T07:50:56.505Z] 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-28T07:51:07.309Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-28T07:51:09.254Z] Removing intermediate container 475edf1b2cdc [2020-09-28T07:51:09.254Z] ---> ae36ea58d0cc [2020-09-28T07:51:09.254Z] Step 10/24 : FROM scratch [2020-09-28T07:51:09.254Z] ---> [2020-09-28T07:51:09.254Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-28T07:51:09.254Z] ---> Running in a464cada63af [2020-09-28T07:51:09.254Z] Removing intermediate container a464cada63af [2020-09-28T07:51:09.254Z] ---> 31f2d5004eee [2020-09-28T07:51:09.254Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-28T07:51:09.254Z] ---> Running in 97367ad9ad8c [2020-09-28T07:51:09.528Z] Removing intermediate container 97367ad9ad8c [2020-09-28T07:51:09.528Z] ---> bb4ec2ad6eb0 [2020-09-28T07:51:09.528Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-28T07:51:09.528Z] ---> Running in 653ec2a3d8b2 [2020-09-28T07:51:09.794Z] Removing intermediate container 653ec2a3d8b2 [2020-09-28T07:51:09.794Z] ---> b9d7b705ef8e [2020-09-28T07:51:09.794Z] Step 14/24 : WORKDIR / [2020-09-28T07:51:09.794Z] ---> Running in 49830af35e71 [2020-09-28T07:51:10.086Z] Removing intermediate container 49830af35e71 [2020-09-28T07:51:10.086Z] ---> 23e6da0561eb [2020-09-28T07:51:10.086Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-28T07:51:11.495Z] ---> be997266ba95 [2020-09-28T07:51:11.495Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-28T07:51:11.761Z] ---> 9eac1612c995 [2020-09-28T07:51:11.761Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-28T07:51:12.041Z] ---> b7cb704d3252 [2020-09-28T07:51:12.041Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-28T07:51:12.307Z] ---> c79590ea0086 [2020-09-28T07:51:12.307Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-28T07:51:12.571Z] ---> c107ddc0c0ad [2020-09-28T07:51:12.571Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-28T07:51:12.837Z] ---> Running in 3a539871ab1f [2020-09-28T07:51:12.837Z] Removing intermediate container 3a539871ab1f [2020-09-28T07:51:12.837Z] ---> a3d602e5f1c8 [2020-09-28T07:51:12.837Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-28T07:51:12.837Z] ---> Running in 4d7b54d95b15 [2020-09-28T07:51:13.103Z] Removing intermediate container 4d7b54d95b15 [2020-09-28T07:51:13.103Z] ---> 500f8a496ef4 [2020-09-28T07:51:13.103Z] Step 22/24 : LABEL arch=amd64 [2020-09-28T07:51:13.103Z] ---> Running in e59043b4c68c [2020-09-28T07:51:13.371Z] Removing intermediate container e59043b4c68c [2020-09-28T07:51:13.371Z] ---> 9f7c23d8de95 [2020-09-28T07:51:13.371Z] Step 23/24 : LABEL git_sha=9eb8018d87c3a2d7e647304da7998b6311e1e846 [2020-09-28T07:51:13.371Z] ---> Running in 76bbf4cc785f [2020-09-28T07:51:13.633Z] Removing intermediate container 76bbf4cc785f [2020-09-28T07:51:13.633Z] ---> fcf4dc66afc0 [2020-09-28T07:51:13.633Z] Step 24/24 : LABEL version=0.0.0 [2020-09-28T07:51:13.633Z] ---> Running in 18c2d738565d [2020-09-28T07:51:13.896Z] Removing intermediate container 18c2d738565d [2020-09-28T07:51:13.896Z] ---> 6f7be900880d [2020-09-28T07:51:13.897Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-28T07:51:13.897Z] Successfully built 6f7be900880d [2020-09-28T07:51:13.897Z] 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-28T07:51:23.314Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-28T07:51:23.314Z] Removing intermediate container 0c64e03d2e63 [2020-09-28T07:51:23.314Z] ---> c1ec76ae948d [2020-09-28T07:51:23.314Z] Step 10/24 : FROM scratch [2020-09-28T07:51:23.314Z] ---> [2020-09-28T07:51:23.314Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-28T07:51:23.314Z] ---> Running in 97f857bc5b9e [2020-09-28T07:51:23.588Z] Removing intermediate container 97f857bc5b9e [2020-09-28T07:51:23.588Z] ---> e45c8188466a [2020-09-28T07:51:23.588Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-28T07:51:23.588Z] ---> Running in 3396bf057461 [2020-09-28T07:51:23.862Z] Removing intermediate container 3396bf057461 [2020-09-28T07:51:23.862Z] ---> 0940be8b1a6b [2020-09-28T07:51:23.862Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-28T07:51:24.137Z] ---> Running in c024e3ad0183 [2020-09-28T07:51:24.409Z] Removing intermediate container c024e3ad0183 [2020-09-28T07:51:24.409Z] ---> 63a913fbe11b [2020-09-28T07:51:24.409Z] Step 14/24 : WORKDIR / [2020-09-28T07:51:24.682Z] ---> Running in a3f81dbf23f5 [2020-09-28T07:51:24.956Z] Removing intermediate container a3f81dbf23f5 [2020-09-28T07:51:24.956Z] ---> 3cddd5ccda34 [2020-09-28T07:51:24.956Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-28T07:51:26.392Z] ---> f12b37a38398 [2020-09-28T07:51:26.392Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-28T07:51:26.988Z] ---> 124e22beb3c5 [2020-09-28T07:51:26.988Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-28T07:51:27.585Z] ---> f33ad16f4831 [2020-09-28T07:51:27.585Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-28T07:51:28.566Z] ---> 5fd3714302bc [2020-09-28T07:51:28.566Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-28T07:51:29.162Z] ---> 5802876dc4e2 [2020-09-28T07:51:29.162Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-28T07:51:29.434Z] ---> Running in 302bc486a26c [2020-09-28T07:51:29.717Z] Removing intermediate container 302bc486a26c [2020-09-28T07:51:29.717Z] ---> fb76ee6e137b [2020-09-28T07:51:29.717Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-28T07:51:29.991Z] ---> Running in 89f2779f8bdb [2020-09-28T07:51:30.265Z] Removing intermediate container 89f2779f8bdb [2020-09-28T07:51:30.265Z] ---> 4ac336a7f758 [2020-09-28T07:51:30.265Z] Step 22/24 : LABEL arch=arm64 [2020-09-28T07:51:30.538Z] ---> Running in bea22ffbbfcf [2020-09-28T07:51:30.811Z] Removing intermediate container bea22ffbbfcf [2020-09-28T07:51:30.811Z] ---> d347e2257335 [2020-09-28T07:51:30.811Z] Step 23/24 : LABEL git_sha=9eb8018d87c3a2d7e647304da7998b6311e1e846 [2020-09-28T07:51:31.085Z] ---> Running in c86bd9726177 [2020-09-28T07:51:31.360Z] Removing intermediate container c86bd9726177 [2020-09-28T07:51:31.360Z] ---> 262aa9f606f6 [2020-09-28T07:51:31.360Z] Step 24/24 : LABEL version=0.0.0 [2020-09-28T07:51:31.637Z] ---> Running in 12ea79d1a05f [2020-09-28T07:51:31.911Z] Removing intermediate container 12ea79d1a05f [2020-09-28T07:51:31.911Z] ---> 5c6af8b5ef9b [2020-09-28T07:51:31.911Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-28T07:51:32.184Z] Successfully built 5c6af8b5ef9b [2020-09-28T07:51:32.184Z] 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-28T07:51:34.305Z] provisioning config files... [2020-09-28T07:51:34.316Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/config4999474195331841968tmp [Pipeline] { [Pipeline] sh [2020-09-28T07:51:34.706Z] + set +x [2020-09-28T07:51:34.706Z] + curl -s https://codecov.io/bash [2020-09-28T07:51:34.706Z] + bash -s -- [2020-09-28T07:51:34.967Z] [2020-09-28T07:51:34.967Z] _____ _ [2020-09-28T07:51:34.967Z] / ____| | | [2020-09-28T07:51:34.967Z] | | ___ __| | ___ ___ _____ __ [2020-09-28T07:51:34.967Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-09-28T07:51:34.967Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-09-28T07:51:34.967Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-09-28T07:51:34.967Z] Bash-20200917-4e8f14b [2020-09-28T07:51:34.967Z] [2020-09-28T07:51:34.967Z] [2020-09-28T07:51:34.967Z] ==> Jenkins CI detected. [2020-09-28T07:51:34.967Z] project root: . [2020-09-28T07:51:34.967Z] --> token set from env [2020-09-28T07:51:34.967Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-09-28T07:51:34.967Z] ==> Running gcov in . (disable via -X gcov) [2020-09-28T07:51:34.967Z] ==> Python coveragepy not found [2020-09-28T07:51:34.967Z] ==> Searching for coverage reports in: [2020-09-28T07:51:34.967Z] + . [2020-09-28T07:51:34.967Z] -> Found 1 reports [2020-09-28T07:51:34.967Z] ==> Detecting git/mercurial file structure [2020-09-28T07:51:34.967Z] ==> Reading reports [2020-09-28T07:51:34.967Z] + ./coverage.out bytes=111789 [2020-09-28T07:51:34.967Z] ==> Appending adjustments [2020-09-28T07:51:34.967Z] https://docs.codecov.io/docs/fixing-reports [2020-09-28T07:51:35.539Z] + Found adjustments [2020-09-28T07:51:35.539Z] ==> Gzipping contents [2020-09-28T07:51:35.539Z] ==> Uploading reports [2020-09-28T07:51:35.539Z] url: https://codecov.io [2020-09-28T07:51:35.539Z] query: branch=PR-602&commit=9eb8018d87c3a2d7e647304da7998b6311e1e846&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-602%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=602&job=&cmd_args= [2020-09-28T07:51:35.539Z] -> Pinging Codecov [2020-09-28T07:51:35.539Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-602&commit=9eb8018d87c3a2d7e647304da7998b6311e1e846&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-602%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=602&job=&cmd_args= [2020-09-28T07:51:35.800Z] -> Uploading to [2020-09-28T07:51:35.800Z] https://storage.googleapis.com/codecov/v4/raw/2020-09-28/7E55EF52A471D76F132DFD9A03CDDE97/9eb8018d87c3a2d7e647304da7998b6311e1e846/88b40c7d-5bfd-4142-a083-6e775e731f23.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200928T075135Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=63a54709c03e5b936ac1d70ea17dad9567c6ee5d2a426d90b46c9eb647142070 [2020-09-28T07:51:35.800Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-09-28T07:51:35.800Z] Dload Upload Total Spent Left Speed [2020-09-28T07:51:36.374Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18526 0 0 100 18526 0 42379 --:--:-- --:--:-- --:--:-- 42393 [2020-09-28T07:51:36.374Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9eb8018d87c3a2d7e647304da7998b6311e1e846 [Pipeline] } [2020-09-28T07:51:36.384Z] 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-28T07:51:39.215Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-28T07:51:39.784Z] ---> package-listing.sh [2020-09-28T07:51:39.784Z] ++ facter osfamily [2020-09-28T07:51:39.784Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-28T07:51:39.784Z] + OS_FAMILY=redhat [2020-09-28T07:51:39.784Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-602 [2020-09-28T07:51:39.784Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-28T07:51:39.784Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-28T07:51:39.784Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-28T07:51:39.784Z] + PACKAGES=/tmp/packages_start.txt [2020-09-28T07:51:39.784Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-602 ']' [2020-09-28T07:51:39.784Z] + PACKAGES=/tmp/packages_end.txt [2020-09-28T07:51:39.784Z] + case "${OS_FAMILY}" in [2020-09-28T07:51:39.784Z] + rpm -qa [2020-09-28T07:51:39.784Z] + sort [2020-09-28T07:51:44.005Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-28T07:51:44.005Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-28T07:51:44.005Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-28T07:51:44.005Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-602 ']' [2020-09-28T07:51:44.005Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-602/archives/ [2020-09-28T07:51:44.005Z] + 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-28T07:51:44.669Z] provisioning config files... [2020-09-28T07:51:44.694Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/config3074788429713649351tmp [Pipeline] { [Pipeline] echo [2020-09-28T07:51:44.764Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-28T07:51:45.066Z] ---> create-netrc.sh [Pipeline] } [2020-09-28T07:51:45.076Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-09-28T07:51:45.181Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-28T07:51:45.476Z] ---> python-tools-install.sh [2020-09-28T07:51:45.476Z] Generating Requirements File [2020-09-28T07:52:53.284Z] Python 3.6.8 [2020-09-28T07:52:53.284Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-09-28T07:52:53.284Z] appdirs==1.4.3 [2020-09-28T07:52:53.284Z] argcomplete==1.12.1 [2020-09-28T07:52:53.284Z] aspy.yaml==1.3.0 [2020-09-28T07:52:53.284Z] attrs==19.3.0 [2020-09-28T07:52:53.284Z] Babel==2.8.0 [2020-09-28T07:52:53.284Z] beautifulsoup4==4.8.2 [2020-09-28T07:52:53.284Z] boto3==1.11.6 [2020-09-28T07:52:53.284Z] botocore==1.14.6 [2020-09-28T07:52:53.284Z] bs4==0.0.1 [2020-09-28T07:52:53.284Z] cachetools==4.1.1 [2020-09-28T07:52:53.284Z] certifi==2019.11.28 [2020-09-28T07:52:53.284Z] cffi==1.14.3 [2020-09-28T07:52:53.284Z] cfgv==2.0.1 [2020-09-28T07:52:53.284Z] chardet==3.0.4 [2020-09-28T07:52:53.284Z] click==7.1 [2020-09-28T07:52:53.284Z] cliff==3.4.0 [2020-09-28T07:52:53.284Z] cmd2==1.3.10 [2020-09-28T07:52:53.284Z] colorama==0.4.3 [2020-09-28T07:52:53.284Z] cryptography==3.1.1 [2020-09-28T07:52:53.284Z] debtcollector==2.2.0 [2020-09-28T07:52:53.284Z] decorator==4.4.2 [2020-09-28T07:52:53.284Z] defusedxml==0.6.0 [2020-09-28T07:52:53.284Z] Deprecated==1.2.7 [2020-09-28T07:52:53.284Z] distlib==0.3.1 [2020-09-28T07:52:53.284Z] distro==1.2.0 [2020-09-28T07:52:53.284Z] dnspython==1.16.0 [2020-09-28T07:52:53.284Z] docker==4.2.0 [2020-09-28T07:52:53.284Z] docutils==0.15.2 [2020-09-28T07:52:53.284Z] dogpile.cache==1.0.2 [2020-09-28T07:52:53.284Z] email-validator==1.0.5 [2020-09-28T07:52:53.284Z] filelock==3.0.12 [2020-09-28T07:52:53.284Z] future==0.18.2 [2020-09-28T07:52:53.284Z] google-auth==1.21.3 [2020-09-28T07:52:53.284Z] httplib2==0.17.0 [2020-09-28T07:52:53.284Z] identify==1.4.11 [2020-09-28T07:52:53.284Z] idna==2.9 [2020-09-28T07:52:53.284Z] importlib-metadata==1.7.0 [2020-09-28T07:52:53.284Z] importlib-resources==1.5.0 [2020-09-28T07:52:53.284Z] iso8601==0.1.13 [2020-09-28T07:52:53.284Z] Jinja2==2.11.1 [2020-09-28T07:52:53.284Z] jmespath==0.10.0 [2020-09-28T07:52:53.284Z] jsonpatch==1.26 [2020-09-28T07:52:53.284Z] jsonpointer==2.0 [2020-09-28T07:52:53.284Z] jsonschema==3.2.0 [2020-09-28T07:52:53.284Z] keystoneauth1==4.2.1 [2020-09-28T07:52:53.284Z] kubernetes==11.0.0 [2020-09-28T07:52:53.284Z] lftools==0.34.2 [2020-09-28T07:52:53.284Z] lxml==4.5.0 [2020-09-28T07:52:53.284Z] MarkupSafe==0.23 [2020-09-28T07:52:53.284Z] msgpack==1.0.0 [2020-09-28T07:52:53.284Z] multi-key-dict==2.0.3 [2020-09-28T07:52:53.284Z] munch==2.5.0 [2020-09-28T07:52:53.284Z] netaddr==0.8.0 [2020-09-28T07:52:53.284Z] netifaces==0.10.9 [2020-09-28T07:52:53.284Z] niet==1.4.2 [2020-09-28T07:52:53.284Z] nodeenv==1.3.5 [2020-09-28T07:52:53.284Z] oauth2client==4.1.3 [2020-09-28T07:52:53.284Z] oauthlib==3.1.0 [2020-09-28T07:52:53.284Z] openstacksdk==0.50.0 [2020-09-28T07:52:53.284Z] os-client-config==2.1.0 [2020-09-28T07:52:53.284Z] os-service-types==1.7.0 [2020-09-28T07:52:53.284Z] osc-lib==2.2.1 [2020-09-28T07:52:53.284Z] oslo.config==8.3.2 [2020-09-28T07:52:53.284Z] oslo.context==3.1.1 [2020-09-28T07:52:53.284Z] oslo.i18n==5.0.1 [2020-09-28T07:52:53.284Z] oslo.log==4.4.0 [2020-09-28T07:52:53.284Z] oslo.serialization==4.0.1 [2020-09-28T07:52:53.284Z] oslo.utils==4.6.0 [2020-09-28T07:52:53.284Z] packaging==20.4 [2020-09-28T07:52:53.284Z] pbr==5.4.4 [2020-09-28T07:52:53.284Z] pluggy==0.13.1 [2020-09-28T07:52:53.284Z] prettytable==0.7.2 [2020-09-28T07:52:53.284Z] py==1.9.0 [2020-09-28T07:52:53.284Z] pyasn1==0.4.8 [2020-09-28T07:52:53.284Z] pyasn1-modules==0.2.8 [2020-09-28T07:52:53.284Z] pycparser==2.20 [2020-09-28T07:52:53.284Z] pygerrit2==2.0.10 [2020-09-28T07:52:53.284Z] PyGithub==1.46 [2020-09-28T07:52:53.284Z] pyinotify==0.9.6 [2020-09-28T07:52:53.284Z] PyJWT==1.7.1 [2020-09-28T07:52:53.284Z] pyparsing==2.4.7 [2020-09-28T07:52:53.284Z] pyperclip==1.8.0 [2020-09-28T07:52:53.284Z] pyroute2==0.4.13 [2020-09-28T07:52:53.284Z] pyrsistent==0.15.7 [2020-09-28T07:52:53.284Z] PySocks==1.6.8 [2020-09-28T07:52:53.284Z] python-cinderclient==7.2.0 [2020-09-28T07:52:53.284Z] python-dateutil==2.8.1 [2020-09-28T07:52:53.284Z] python-heatclient==2.2.1 [2020-09-28T07:52:53.284Z] python-jenkins==1.7.0 [2020-09-28T07:52:53.285Z] python-keystoneclient==4.1.1 [2020-09-28T07:52:53.285Z] python-magnumclient==3.2.1 [2020-09-28T07:52:53.285Z] python-novaclient==17.2.1 [2020-09-28T07:52:53.285Z] python-openstackclient==5.3.1 [2020-09-28T07:52:53.285Z] python-swiftclient==3.10.1 [2020-09-28T07:52:53.285Z] pytz==2020.1 [2020-09-28T07:52:53.285Z] PyYAML==5.3 [2020-09-28T07:52:53.285Z] requests==2.23.0 [2020-09-28T07:52:53.285Z] requests-oauthlib==1.3.0 [2020-09-28T07:52:53.285Z] requestsexceptions==1.4.0 [2020-09-28T07:52:53.285Z] rfc3986==1.4.0 [2020-09-28T07:52:53.285Z] rpm==4.11.3 [2020-09-28T07:52:53.285Z] rsa==4.0 [2020-09-28T07:52:53.285Z] ruamel.yaml==0.16.10 [2020-09-28T07:52:53.285Z] ruamel.yaml.clib==0.2.0 [2020-09-28T07:52:53.285Z] s3transfer==0.3.3 [2020-09-28T07:52:53.285Z] shade==1.27.2 [2020-09-28T07:52:53.285Z] simplejson==3.17.2 [2020-09-28T07:52:53.285Z] six==1.14.0 [2020-09-28T07:52:53.285Z] soupsieve==2.0 [2020-09-28T07:52:53.285Z] stevedore==3.2.2 [2020-09-28T07:52:53.285Z] tabulate==0.8.6 [2020-09-28T07:52:53.285Z] toml==0.10.0 [2020-09-28T07:52:53.285Z] tox==3.20.0 [2020-09-28T07:52:53.285Z] tqdm==4.43.0 [2020-09-28T07:52:53.285Z] urllib3==1.25.8 [2020-09-28T07:52:53.285Z] virtualenv==20.0.31 [2020-09-28T07:52:53.285Z] wcwidth==0.2.5 [2020-09-28T07:52:53.285Z] websocket-client==0.57.0 [2020-09-28T07:52:53.285Z] wrapt==1.12.1 [2020-09-28T07:52:53.285Z] xdg==3.0.2 [2020-09-28T07:52:53.285Z] xmltodict==0.12.0 [2020-09-28T07:52:53.285Z] yq==2.11.1 [2020-09-28T07:52:53.285Z] zipp==3.2.0 [2020-09-28T07:52:53.552Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:52:56.111Z] 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-28T07:52:58.668Z] Python 2.7.5 [2020-09-28T07:52:58.668Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-09-28T07:52:59.243Z] 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-28T07:52:59.243Z] ansible==2.9.7 [2020-09-28T07:52:59.243Z] Babel==0.9.6 [2020-09-28T07:52:59.243Z] backports.ssl-match-hostname==3.5.0.1 [2020-09-28T07:52:59.243Z] beautifulsoup4==4.4.1 [2020-09-28T07:52:59.243Z] bodhi==2.11.0 [2020-09-28T07:52:59.243Z] bodhi-client==2.11.0 [2020-09-28T07:52:59.243Z] CCColUtils==1.4 [2020-09-28T07:52:59.243Z] cffi==1.6.0 [2020-09-28T07:52:59.243Z] chardet==2.2.1 [2020-09-28T07:52:59.243Z] click==6.7 [2020-09-28T07:52:59.243Z] cloud-init==18.5 [2020-09-28T07:52:59.243Z] configobj==4.7.2 [2020-09-28T07:52:59.243Z] cryptography==1.7.2 [2020-09-28T07:52:59.243Z] decorator==3.4.0 [2020-09-28T07:52:59.243Z] distro==1.2.0 [2020-09-28T07:52:59.243Z] enum34==1.0.4 [2020-09-28T07:52:59.243Z] fedpkg==1.38 [2020-09-28T07:52:59.243Z] futures==3.1.1 [2020-09-28T07:52:59.243Z] gitdb==0.6.4 [2020-09-28T07:52:59.243Z] GitPython==1.0.1 [2020-09-28T07:52:59.243Z] html5lib==0.999 [2020-09-28T07:52:59.243Z] httplib2==0.9.2 [2020-09-28T07:52:59.243Z] idna==2.4 [2020-09-28T07:52:59.243Z] iniparse==0.4 [2020-09-28T07:52:59.243Z] ipaddress==1.0.16 [2020-09-28T07:52:59.243Z] IPy==0.75 [2020-09-28T07:52:59.243Z] javapackages==1.0.0 [2020-09-28T07:52:59.243Z] Jinja2==2.7.2 [2020-09-28T07:52:59.243Z] jmespath==0.9.4 [2020-09-28T07:52:59.243Z] jsonpatch==1.2 [2020-09-28T07:52:59.243Z] jsonpointer==1.9 [2020-09-28T07:52:59.243Z] kerberos==1.1 [2020-09-28T07:52:59.243Z] kitchen==1.1.1 [2020-09-28T07:52:59.243Z] langtable==0.0.31 [2020-09-28T07:52:59.243Z] lockfile==0.9.1 [2020-09-28T07:52:59.243Z] lxml==3.2.1 [2020-09-28T07:52:59.243Z] MarkupSafe==0.11 [2020-09-28T07:52:59.243Z] munch==2.0.2 [2020-09-28T07:52:59.243Z] offtrac==0.1.0 [2020-09-28T07:52:59.243Z] openidc-client==0.6.0 [2020-09-28T07:52:59.243Z] packagedb-cli==2.14.1 [2020-09-28T07:52:59.243Z] paramiko==2.1.1 [2020-09-28T07:52:59.243Z] perf==0.1 [2020-09-28T07:52:59.243Z] ply==3.4 [2020-09-28T07:52:59.243Z] policycoreutils-default-encoding==0.1 [2020-09-28T07:52:59.243Z] prettytable==0.7.2 [2020-09-28T07:52:59.243Z] pyasn1==0.1.9 [2020-09-28T07:52:59.243Z] pycparser==2.14 [2020-09-28T07:52:59.243Z] pycurl==7.19.0 [2020-09-28T07:52:59.243Z] pygobject==3.22.0 [2020-09-28T07:52:59.243Z] pygpgme==0.3 [2020-09-28T07:52:59.243Z] pyliblzma==0.5.3 [2020-09-28T07:52:59.243Z] pyOpenSSL==0.13.1 [2020-09-28T07:52:59.243Z] pyparsing==1.5.6 [2020-09-28T07:52:59.243Z] pyserial==2.6 [2020-09-28T07:52:59.243Z] python-augeas==0.5.0 [2020-09-28T07:52:59.243Z] python-bugzilla==2.3.0 [2020-09-28T07:52:59.243Z] python-dateutil==1.5 [2020-09-28T07:52:59.243Z] python-fedora==0.10.0 [2020-09-28T07:52:59.243Z] python-linux-procfs==0.4.9 [2020-09-28T07:52:59.243Z] python-yubico==1.2.3 [2020-09-28T07:52:59.243Z] pyudev==0.15 [2020-09-28T07:52:59.243Z] pyusb==1.0.0b1 [2020-09-28T07:52:59.243Z] pyxattr==0.5.1 [2020-09-28T07:52:59.243Z] PyYAML==3.10 [2020-09-28T07:52:59.243Z] requests==2.6.0 [2020-09-28T07:52:59.243Z] requests-kerberos==0.7.0 [2020-09-28T07:52:59.243Z] rpkg==1.60 [2020-09-28T07:52:59.243Z] schedutils==0.4 [2020-09-28T07:52:59.243Z] seobject==0.1 [2020-09-28T07:52:59.243Z] sepolicy==1.1 [2020-09-28T07:52:59.243Z] six==1.9.0 [2020-09-28T07:52:59.243Z] smmap==0.9.0 [2020-09-28T07:52:59.243Z] urlgrabber==3.10 [2020-09-28T07:52:59.243Z] urllib3==1.10.2 [2020-09-28T07:52:59.243Z] virtualenv==15.1.0 [2020-09-28T07:52:59.243Z] yum-langpacks==0.4.2 [2020-09-28T07:52:59.243Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-09-28T07:52:59.258Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-28T07:52:59.564Z] ---> sudo-logs.sh [2020-09-28T07:52:59.564Z] Archiving 'sudo' log.. [Pipeline] echo [2020-09-28T07:52:59.839Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-28T07:53:00.156Z] ---> job-cost.sh [2020-09-28T07:53:00.156Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-XKk5 [2020-09-28T07:53:08.351Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:53:08.351Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:53:08.925Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:53:08.925Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:53:09.194Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:53:09.194Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:53:09.194Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:53:09.459Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:53:09.459Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:53:09.724Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:53:09.724Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:53:09.724Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:53:09.724Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:53:15.026Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-09-28T07:53:41.719Z] 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-28T07:53:41.719Z] [2020-09-28T07:53:41.719Z] We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. [2020-09-28T07:53:41.719Z] [2020-09-28T07:53:41.719Z] 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-28T07:53:41.719Z] lf-activate-venv(): INFO: Adding /tmp/venv-XKk5/bin to PATH [2020-09-28T07:53:41.719Z] INFO: No Stack... [2020-09-28T07:53:41.719Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-09-28T07:53:41.719Z] INFO: Archiving Costs [Pipeline] echo [2020-09-28T07:53:41.735Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-28T07:53:42.039Z] ---> logs-deploy.sh [2020-09-28T07:53:42.039Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-602/2 [2020-09-28T07:53:42.039Z] INFO: archiving workspace using pattern(s): [2020-09-28T07:53:46.260Z] Archives upload complete. [2020-09-28T07:53:46.260Z] INFO: archiving logs to Nexus