Pull request #595 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 jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 6a644f195f70d064d428f19fecf7196d621efa3d rather than 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 Obtained Jenkinsfile from 6a644f195f70d064d428f19fecf7196d621efa3d Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3355 in /w/workspace/dgexfoundry_device-sdk-go_PR-595 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-595 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 6a644f195f70d064d428f19fecf7196d621efa3d into PR head commit 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 Merge succeeded, producing 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 Checking out Revision 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 (PR-595) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/595/head:refs/remotes/origin/PR-595 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 # 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 6a644f195f70d064d428f19fecf7196d621efa3d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 # timeout=10 Commit message: "Update V2 Swagger file callback API status code" First time build. Skipping changelog. > git rev-list --no-walk 2b6ab6c3102fb4c0ce85907a4de0815987b4bca6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-05T01:50:22.084Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-05T01:50:22.364Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-05T01:50:22.465Z] ========================================================= [2020-10-05T01:50:22.465Z] EdgeX Global Pipelines Version Info [2020-10-05T01:50:22.465Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-05T01:50:23.983Z] ------------------- [2020-10-05T01:50:23.983Z] stable info: [2020-10-05T01:50:23.983Z] ------------------- [2020-10-05T01:50:23.983Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-05T01:50:23.984Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-05T01:50:23.984Z] Message: update stable to v1.0.131 [2020-10-05T01:50:24.928Z] ------------------- [2020-10-05T01:50:24.928Z] experimental info: [2020-10-05T01:50:24.928Z] ------------------- [2020-10-05T01:50:24.928Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-05T01:50:24.928Z] Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a [2020-10-05T01:50:24.928Z] Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-05T01:50:25.313Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-05T01:50:25.405Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-05T01:50:25.503Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-05T01:50:25.586Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-05T01:50:25.669Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-05T01:50:25.767Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-05T01:50:25.855Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-05T01:50:25.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-05T01:50:26.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-05T01:50:26.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-05T01:50:26.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-05T01:50:26.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-05T01:50:26.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-05T01:50:26.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-05T01:50:26.617Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-05T01:50:26.777Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-05T01:50:26.867Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-05T01:50:26.960Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-05T01:50:27.064Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-05T01:50:27.178Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-05T01:50:27.263Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-05T01:50:27.348Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-05T01:50:27.433Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-05T01:50:27.519Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-05T01:50:27.604Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-05T01:50:27.702Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-595 [Pipeline] echo [2020-10-05T01:50:27.798Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-595 [Pipeline] echo [2020-10-05T01:50:27.886Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-595 [Pipeline] echo [2020-10-05T01:50:27.995Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 [Pipeline] echo [2020-10-05T01:50:28.087Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0dc4d2d [Pipeline] echo [2020-10-05T01:50:28.184Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-05T01:50:28.759Z] + git log --format=format:%s -1 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 [Pipeline] echo [2020-10-05T01:50:28.820Z] GIT_COMMIT: 0dc4d2d1e043e31bd397e0f9b0e73245f1554204, Commit Message: Update V2 Swagger file callback API status code [Pipeline] echo [2020-10-05T01:50:28.866Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-05T01:50:29.407Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-05T01:50:29.407Z] [2020-10-05T01:50:29.407Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-05T01:50:29.772Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-05T01:50:29.772Z] latest: Pulling from edgex-devops/git-semver [2020-10-05T01:50:29.772Z] 31603596830f: Pulling fs layer [2020-10-05T01:50:29.772Z] 2a8b12db71e7: Pulling fs layer [2020-10-05T01:50:29.772Z] 6ca5941a6612: Pulling fs layer [2020-10-05T01:50:29.772Z] ecc8261a40a4: Pulling fs layer [2020-10-05T01:50:29.772Z] ecc8261a40a4: Waiting [2020-10-05T01:50:29.772Z] 2a8b12db71e7: Download complete [2020-10-05T01:50:29.772Z] 31603596830f: Verifying Checksum [2020-10-05T01:50:29.772Z] 31603596830f: Download complete [2020-10-05T01:50:30.035Z] ecc8261a40a4: Verifying Checksum [2020-10-05T01:50:30.035Z] ecc8261a40a4: Download complete [2020-10-05T01:50:30.035Z] 6ca5941a6612: Verifying Checksum [2020-10-05T01:50:30.035Z] 6ca5941a6612: Download complete [2020-10-05T01:50:30.035Z] 31603596830f: Pull complete [2020-10-05T01:50:30.298Z] 2a8b12db71e7: Pull complete [2020-10-05T01:50:30.874Z] 6ca5941a6612: Pull complete [2020-10-05T01:50:31.136Z] ecc8261a40a4: Pull complete [2020-10-05T01:50:31.137Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-05T01:50:31.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-05T01:50:31.137Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-05T01:50:31.244Z] prd-centos7-docker-4c-2g-3355 does not seem to be running inside a container [2020-10-05T01:50:31.298Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-595 -v /w/workspace/dgexfoundry_device-sdk-go_PR-595:/w/workspace/dgexfoundry_device-sdk-go_PR-595:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-05T01:50:33.499Z] $ docker top 6589316e3509684b6828ab421d5fc69bfc50974436c6dfce6fd3227721a8ec90 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-05T01:50:33.789Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-05T01:50:33.789Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-05T01:50:33.994Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-05T01:50:34.000Z] $ docker exec 6589316e3509684b6828ab421d5fc69bfc50974436c6dfce6fd3227721a8ec90 ssh-agent [2020-10-05T01:50:34.155Z] SSH_AUTH_SOCK=/tmp/ssh-epyq7wrLFuQ5/agent.12 [2020-10-05T01:50:34.155Z] SSH_AGENT_PID=17 [2020-10-05T01:50:34.167Z] Running ssh-add (command line suppressed) [2020-10-05T01:50:34.288Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/private_key_2319769144441618968.key (/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/private_key_2319769144441618968.key) [2020-10-05T01:50:34.341Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-05T01:50:34.679Z] + git describe --exact-match --tags HEAD [2020-10-05T01:50:34.679Z] fatal: no tag exactly matches '0dc4d2d1e043e31bd397e0f9b0e73245f1554204' [Pipeline] } [2020-10-05T01:50:34.703Z] $ docker exec --env ******** --env ******** 6589316e3509684b6828ab421d5fc69bfc50974436c6dfce6fd3227721a8ec90 ssh-agent -k [2020-10-05T01:50:34.813Z] unset SSH_AUTH_SOCK; [2020-10-05T01:50:34.814Z] unset SSH_AGENT_PID; [2020-10-05T01:50:34.814Z] echo Agent pid 17 killed; [2020-10-05T01:50:34.856Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-05T01:50:34.957Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-05T01:50:34.957Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-05T01:50:35.076Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-05T01:50:35.076Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-05T01:50:35.234Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-05T01:50:35.239Z] $ docker exec 6589316e3509684b6828ab421d5fc69bfc50974436c6dfce6fd3227721a8ec90 ssh-agent [2020-10-05T01:50:35.395Z] SSH_AUTH_SOCK=/tmp/ssh-BMfY6BqaZHbu/agent.46 [2020-10-05T01:50:35.396Z] SSH_AGENT_PID=51 [2020-10-05T01:50:35.403Z] Running ssh-add (command line suppressed) [2020-10-05T01:50:35.519Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/private_key_6411959156471428701.key (/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/private_key_6411959156471428701.key) [2020-10-05T01:50:35.569Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-05T01:50:35.922Z] + git semver init [2020-10-05T01:50:35.922Z] # -> Open(): unable to determine branch for HEAD [2020-10-05T01:50:35.922Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-595/.git [2020-10-05T01:50:35.922Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-595 [2020-10-05T01:50:35.922Z] # $SEMVER_REMOTE_NAME = origin [2020-10-05T01:50:35.922Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-05T01:50:35.922Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-05T01:50:35.922Z] # $SEMVER_BRANCH = PR-595 [2020-10-05T01:50:35.922Z] # $SEMVER_TEMP = /tmp/semver-191846785 [2020-10-05T01:50:35.922Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-05T01:50:36.500Z] # '/tmp/semver-191846785' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-595/.semver' [2020-10-05T01:50:36.500Z] # -> Force: false [2020-10-05T01:50:36.500Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-595/.semver [Pipeline] } [2020-10-05T01:50:36.515Z] $ docker exec --env ******** --env ******** 6589316e3509684b6828ab421d5fc69bfc50974436c6dfce6fd3227721a8ec90 ssh-agent -k [2020-10-05T01:50:36.628Z] unset SSH_AUTH_SOCK; [2020-10-05T01:50:36.629Z] unset SSH_AGENT_PID; [2020-10-05T01:50:36.629Z] echo Agent pid 51 killed; [2020-10-05T01:50:36.672Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-05T01:50:37.165Z] + git semver [Pipeline] } [2020-10-05T01:50:37.184Z] $ docker stop --time=1 6589316e3509684b6828ab421d5fc69bfc50974436c6dfce6fd3227721a8ec90 [2020-10-05T01:50:38.686Z] $ docker rm -f 6589316e3509684b6828ab421d5fc69bfc50974436c6dfce6fd3227721a8ec90 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-05T01:50:39.632Z] Stashed 42 file(s) [Pipeline] echo [2020-10-05T01:50:39.635Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-05T01:50:39.727Z] Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-10-05T01:50:55.217Z] Still waiting to schedule task [2020-10-05T01:50:55.217Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-05T01:50:55.219Z] Still waiting to schedule task [2020-10-05T01:50:55.219Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-3353’ [2020-10-05T01:53:25.409Z] Running on prd-centos7-docker-4c-2g-3357 in /w/workspace/dgexfoundry_device-sdk-go_PR-595 [Pipeline] { [Pipeline] ws [2020-10-05T01:53:25.564Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2020-10-05T01:53:29.230Z] using credential edgex-jenkins-ssh [2020-10-05T01:53:29.289Z] Cloning the remote Git repository [2020-10-05T01:53:29.341Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-05T01:53:29.427Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2020-10-05T01:53:29.490Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-05T01:53:29.490Z] > git --version # timeout=10 [2020-10-05T01:53:29.497Z] > git --version # 'git version 2.16.5' [2020-10-05T01:53:29.497Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-05T01:53:29.530Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-05T01:53:30.190Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-05T01:53:30.197Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-05T01:53:30.212Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-05T01:53:30.229Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-05T01:53:30.229Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-05T01:53:30.235Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/595/head:refs/remotes/origin/PR-595 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-05T01:53:30.735Z] Merging remotes/origin/master commit 6a644f195f70d064d428f19fecf7196d621efa3d into PR head commit 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 [2020-10-05T01:53:30.875Z] Merge succeeded, producing 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 [2020-10-05T01:53:30.875Z] Checking out Revision 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 (PR-595) [2020-10-05T01:53:30.748Z] > git config core.sparsecheckout # timeout=10 [2020-10-05T01:53:30.754Z] > git checkout -f 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 # timeout=10 [2020-10-05T01:53:30.816Z] > git remote # timeout=10 [2020-10-05T01:53:30.823Z] > git config --get remote.origin.url # timeout=10 [2020-10-05T01:53:30.827Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-05T01:53:30.831Z] > git merge 6a644f195f70d064d428f19fecf7196d621efa3d # timeout=10 [2020-10-05T01:53:30.841Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-05T01:53:30.886Z] > git config core.sparsecheckout # timeout=10 [2020-10-05T01:53:30.891Z] > git checkout -f 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 # timeout=10 [2020-10-05T01:53:34.932Z] Commit message: "Update V2 Swagger file callback API status code" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-05T01:53:36.261Z] ========================================================= [2020-10-05T01:53:36.262Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-05T01:53:36.262Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-05T01:53:39.223Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-10-05T01:53:39.815Z] Sending build context to Docker daemon 3.486MB [2020-10-05T01:53:39.815Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-05T01:53:39.815Z] Step 2/8 : FROM ${BASE} [2020-10-05T01:53:39.815Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-05T01:53:39.815Z] df20fa9351a1: Pulling fs layer [2020-10-05T01:53:39.815Z] ed8968b2872e: Pulling fs layer [2020-10-05T01:53:39.815Z] a92cc7c5fd73: Pulling fs layer [2020-10-05T01:53:39.815Z] e871e8e8d7a9: Pulling fs layer [2020-10-05T01:53:39.815Z] e73272ec9a57: Pulling fs layer [2020-10-05T01:53:39.815Z] 1e910a182e73: Pulling fs layer [2020-10-05T01:53:39.815Z] 4e634b169226: Pulling fs layer [2020-10-05T01:53:39.815Z] e871e8e8d7a9: Waiting [2020-10-05T01:53:39.815Z] e73272ec9a57: Waiting [2020-10-05T01:53:39.815Z] 1e910a182e73: Waiting [2020-10-05T01:53:39.815Z] 4e634b169226: Waiting [2020-10-05T01:53:39.815Z] a92cc7c5fd73: Verifying Checksum [2020-10-05T01:53:39.816Z] a92cc7c5fd73: Download complete [2020-10-05T01:53:39.816Z] ed8968b2872e: Verifying Checksum [2020-10-05T01:53:39.816Z] ed8968b2872e: Download complete [2020-10-05T01:53:39.816Z] e73272ec9a57: Verifying Checksum [2020-10-05T01:53:39.816Z] e73272ec9a57: Download complete [2020-10-05T01:53:39.816Z] 1e910a182e73: Verifying Checksum [2020-10-05T01:53:39.816Z] 1e910a182e73: Download complete [2020-10-05T01:53:39.816Z] df20fa9351a1: Verifying Checksum [2020-10-05T01:53:39.816Z] df20fa9351a1: Download complete [2020-10-05T01:53:40.086Z] df20fa9351a1: Pull complete [2020-10-05T01:53:40.360Z] ed8968b2872e: Pull complete [2020-10-05T01:53:40.360Z] a92cc7c5fd73: Pull complete [2020-10-05T01:53:42.294Z] 4e634b169226: Verifying Checksum [2020-10-05T01:53:42.294Z] 4e634b169226: Download complete [2020-10-05T01:53:42.569Z] e871e8e8d7a9: Verifying Checksum [2020-10-05T01:53:42.569Z] e871e8e8d7a9: Download complete [2020-10-05T01:53:48.219Z] e871e8e8d7a9: Pull complete [2020-10-05T01:53:48.219Z] e73272ec9a57: Pull complete [2020-10-05T01:53:48.219Z] 1e910a182e73: Pull complete [2020-10-05T01:53:53.655Z] 4e634b169226: Pull complete [2020-10-05T01:53:53.655Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-05T01:53:53.655Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-05T01:53:53.655Z] ---> f7629b54cfaa [2020-10-05T01:53:53.655Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-05T01:53:53.655Z] ---> Running in 9e597184d6d2 [2020-10-05T01:53:53.655Z] Removing intermediate container 9e597184d6d2 [2020-10-05T01:53:53.655Z] ---> cfe9aadd48b7 [2020-10-05T01:53:53.655Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-05T01:53:53.655Z] ---> Running in 6040918d55c9 [2020-10-05T01:53:55.056Z] Removing intermediate container 6040918d55c9 [2020-10-05T01:53:55.056Z] ---> bbd1b3a45677 [2020-10-05T01:53:55.056Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-05T01:53:55.056Z] ---> Running in e7dfc00b4fb6 [2020-10-05T01:53:55.650Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-05T01:53:56.241Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-05T01:53:56.840Z] OK: 166 MiB in 39 packages [2020-10-05T01:53:57.112Z] Removing intermediate container e7dfc00b4fb6 [2020-10-05T01:53:57.112Z] ---> 6ee5a1832a4e [2020-10-05T01:53:57.112Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-05T01:53:57.380Z] ---> Running in 7a666398395a [2020-10-05T01:53:57.380Z] Removing intermediate container 7a666398395a [2020-10-05T01:53:57.380Z] ---> 445478e01988 [2020-10-05T01:53:57.380Z] Step 7/8 : COPY . . [2020-10-05T01:53:58.788Z] ---> f398233535ed [2020-10-05T01:53:58.788Z] Step 8/8 : RUN go mod download [2020-10-05T01:53:58.788Z] ---> Running in 3dbccb150c57 [2020-10-05T01:54:17.008Z] Removing intermediate container 3dbccb150c57 [2020-10-05T01:54:17.008Z] ---> ad6dce2c6d30 [2020-10-05T01:54:17.008Z] Successfully built ad6dce2c6d30 [2020-10-05T01:54:17.008Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-05T01:54:17.368Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-05T01:54:17.368Z] . [Pipeline] withDockerContainer [2020-10-05T01:54:17.480Z] prd-centos7-docker-4c-2g-3357 does not seem to be running inside a container [2020-10-05T01:54:17.538Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-10-05T01:54:18.366Z] $ docker top 69d84ec0952c23074a167c89aed201f68fb0d53e144419bfde00c8b6bbc08d43 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-05T01:54:18.906Z] + go version [2020-10-05T01:54:18.906Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-05T01:54:18.924Z] $ docker stop --time=1 69d84ec0952c23074a167c89aed201f68fb0d53e144419bfde00c8b6bbc08d43 [2020-10-05T01:54:20.284Z] $ docker rm -f 69d84ec0952c23074a167c89aed201f68fb0d53e144419bfde00c8b6bbc08d43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-05T01:54:21.229Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-05T01:54:21.229Z] . [Pipeline] withDockerContainer [2020-10-05T01:54:21.329Z] prd-centos7-docker-4c-2g-3357 does not seem to be running inside a container [2020-10-05T01:54:21.383Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-10-05T01:54:22.020Z] $ docker top f31fe35b0c38ceee2cd8a260554d6805369c78bb75a5f71ad7de2e3e9dfb0586 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-05T01:54:22.585Z] + make test [2020-10-05T01:54:22.585Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-05T01:54:30.773Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-05T01:54:32.573Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3358 in /w/workspace/dgexfoundry_device-sdk-go_PR-595 [Pipeline] { [Pipeline] ws [2020-10-05T01:54:32.630Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2020-10-05T01:54:37.543Z] using credential edgex-jenkins-ssh [2020-10-05T01:54:37.618Z] Cloning the remote Git repository [2020-10-05T01:54:37.690Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-05T01:54:37.791Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2020-10-05T01:54:37.859Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-05T01:54:37.859Z] > git --version # timeout=10 [2020-10-05T01:54:37.880Z] > git --version # 'git version 2.17.1' [2020-10-05T01:54:37.882Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-05T01:54:37.934Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-05T01:54:38.856Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-05T01:54:38.869Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-05T01:54:38.905Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-05T01:54:38.935Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-05T01:54:38.935Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-05T01:54:38.945Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/595/head:refs/remotes/origin/PR-595 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-05T01:54:39.503Z] Merging remotes/origin/master commit 6a644f195f70d064d428f19fecf7196d621efa3d into PR head commit 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 [2020-10-05T01:54:39.721Z] Merge succeeded, producing 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 [2020-10-05T01:54:39.721Z] Checking out Revision 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 (PR-595) [2020-10-05T01:54:39.524Z] > git config core.sparsecheckout # timeout=10 [2020-10-05T01:54:39.544Z] > git checkout -f 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 # timeout=10 [2020-10-05T01:54:39.653Z] > git remote # timeout=10 [2020-10-05T01:54:39.668Z] > git config --get remote.origin.url # timeout=10 [2020-10-05T01:54:39.679Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-05T01:54:39.689Z] > git merge 6a644f195f70d064d428f19fecf7196d621efa3d # timeout=10 [2020-10-05T01:54:39.709Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-05T01:54:39.732Z] > git config core.sparsecheckout # timeout=10 [2020-10-05T01:54:39.744Z] > git checkout -f 0dc4d2d1e043e31bd397e0f9b0e73245f1554204 # timeout=10 [2020-10-05T01:54:44.262Z] Commit message: "Update V2 Swagger file callback API status code" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-05T01:54:45.584Z] ========================================================= [2020-10-05T01:54:45.584Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-05T01:54:45.584Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-05T01:54:45.846Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-05T01:54:45.846Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-05T01:54:45.846Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-05T01:54:45.846Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.059s coverage: 21.6% of statements [2020-10-05T01:54:46.435Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.436s coverage: 97.1% of statements [2020-10-05T01:54:46.766Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-10-05T01:54:47.764Z] Sending build context to Docker daemon 3.484MB [2020-10-05T01:54:47.764Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-05T01:54:47.764Z] Step 2/8 : FROM ${BASE} [2020-10-05T01:54:48.041Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-05T01:54:48.041Z] b538f80385f9: Pulling fs layer [2020-10-05T01:54:48.041Z] 74f711af9a0d: Pulling fs layer [2020-10-05T01:54:48.041Z] 99f96fe45779: Pulling fs layer [2020-10-05T01:54:48.041Z] 8529a6b9a6be: Pulling fs layer [2020-10-05T01:54:48.041Z] 45590311c82a: Pulling fs layer [2020-10-05T01:54:48.041Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-05T01:54:48.041Z] 209524e5b208: Pulling fs layer [2020-10-05T01:54:48.041Z] 45590311c82a: Waiting [2020-10-05T01:54:48.041Z] 69ca0ff8b7b3: Waiting [2020-10-05T01:54:48.041Z] 209524e5b208: Waiting [2020-10-05T01:54:48.041Z] 8529a6b9a6be: Waiting [2020-10-05T01:54:48.041Z] 99f96fe45779: Download complete [2020-10-05T01:54:48.041Z] 74f711af9a0d: Verifying Checksum [2020-10-05T01:54:48.041Z] 74f711af9a0d: Download complete [2020-10-05T01:54:48.041Z] 45590311c82a: Verifying Checksum [2020-10-05T01:54:48.041Z] 45590311c82a: Download complete [2020-10-05T01:54:48.041Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-05T01:54:48.041Z] 69ca0ff8b7b3: Download complete [2020-10-05T01:54:48.323Z] b538f80385f9: Verifying Checksum [2020-10-05T01:54:48.323Z] b538f80385f9: Download complete [2020-10-05T01:54:48.922Z] b538f80385f9: Pull complete [2020-10-05T01:54:49.529Z] 74f711af9a0d: Pull complete [2020-10-05T01:54:49.808Z] 99f96fe45779: Pull complete [2020-10-05T01:54:50.804Z] 209524e5b208: Verifying Checksum [2020-10-05T01:54:50.804Z] 209524e5b208: Download complete [2020-10-05T01:54:51.793Z] 8529a6b9a6be: Verifying Checksum [2020-10-05T01:54:51.793Z] 8529a6b9a6be: Download complete [2020-10-05T01:55:01.968Z] 8529a6b9a6be: Pull complete [2020-10-05T01:55:01.968Z] 45590311c82a: Pull complete [2020-10-05T01:55:01.968Z] 69ca0ff8b7b3: Pull complete [2020-10-05T01:55:05.366Z] 209524e5b208: Pull complete [2020-10-05T01:55:05.366Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-05T01:55:05.366Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-05T01:55:05.366Z] ---> 5bddaf1c2fca [2020-10-05T01:55:05.366Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-05T01:55:08.756Z] ---> Running in 437b4fe3cdb0 [2020-10-05T01:55:08.756Z] Removing intermediate container 437b4fe3cdb0 [2020-10-05T01:55:08.756Z] ---> 09e56af83b00 [2020-10-05T01:55:08.756Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-05T01:55:08.756Z] ---> Running in 1290926d5005 [2020-10-05T01:55:11.379Z] Removing intermediate container 1290926d5005 [2020-10-05T01:55:11.379Z] ---> f186b983f138 [2020-10-05T01:55:11.379Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-05T01:55:11.379Z] ---> Running in 1ff480fa33f6 [2020-10-05T01:55:12.840Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-05T01:55:14.284Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-05T01:55:16.258Z] OK: 142 MiB in 39 packages [2020-10-05T01:55:17.704Z] Removing intermediate container 1ff480fa33f6 [2020-10-05T01:55:17.704Z] ---> 2a716af23222 [2020-10-05T01:55:17.704Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-05T01:55:17.704Z] ---> Running in 2406aed442cf [2020-10-05T01:55:18.309Z] Removing intermediate container 2406aed442cf [2020-10-05T01:55:18.309Z] ---> 6bbc8fbb7836 [2020-10-05T01:55:18.309Z] Step 7/8 : COPY . . [2020-10-05T01:55:18.611Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.058s coverage: 9.4% of statements [2020-10-05T01:55:18.611Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.051s coverage: 21.9% of statements [2020-10-05T01:55:18.611Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-05T01:55:18.611Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.207s coverage: 39.9% of statements [2020-10-05T01:55:18.611Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-05T01:55:18.611Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.288s coverage: 65.4% of statements [2020-10-05T01:55:18.611Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-05T01:55:18.611Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-05T01:55:18.611Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-05T01:55:18.611Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-05T01:55:18.611Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.067s coverage: 52.6% of statements [2020-10-05T01:55:18.611Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-05T01:55:18.611Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.301s coverage: 68.9% of statements [2020-10-05T01:55:18.611Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-05T01:55:18.611Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-05T01:55:18.611Z] GO111MODULE=on go vet ./... [2020-10-05T01:55:19.750Z] ---> 0e613130c83d [2020-10-05T01:55:19.750Z] Step 8/8 : RUN go mod download [2020-10-05T01:55:19.750Z] ---> Running in 6bbf8fe12798 [2020-10-05T01:55:25.280Z] gofmt -l . [2020-10-05T01:55:25.281Z] [ "`gofmt -l .`" = "" ] [2020-10-05T01:55:25.281Z] ./bin/test-attribution-txt.sh [2020-10-05T01:55:25.858Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-05T01:55:26.288Z] Stashed 1 file(s) [Pipeline] } [2020-10-05T01:55:26.296Z] $ docker stop --time=1 f31fe35b0c38ceee2cd8a260554d6805369c78bb75a5f71ad7de2e3e9dfb0586 [2020-10-05T01:55:28.188Z] $ docker rm -f f31fe35b0c38ceee2cd8a260554d6805369c78bb75a5f71ad7de2e3e9dfb0586 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-05T01:55:31.571Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-05T01:55:31.873Z] + ls -al . [2020-10-05T01:55:31.873Z] total 192 [2020-10-05T01:55:31.873Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 5 01:55 . [2020-10-05T01:55:31.873Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 5 01:53 .. [2020-10-05T01:55:31.873Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 5 01:53 bin [2020-10-05T01:55:31.873Z] -rw-r--r--. 1 jenkins jenkins 111040 Oct 5 01:55 coverage.out [2020-10-05T01:55:31.873Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 5 01:53 Dockerfile.build [2020-10-05T01:55:31.873Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 5 01:53 .dockerignore [2020-10-05T01:55:31.873Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 5 01:53 example [2020-10-05T01:55:31.873Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 5 01:53 .git [2020-10-05T01:55:31.873Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 5 01:53 .github [2020-10-05T01:55:31.873Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 5 01:53 .gitignore [2020-10-05T01:55:31.873Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 5 01:55 go.mod [2020-10-05T01:55:31.873Z] -rw-r--r--. 1 jenkins jenkins 13652 Oct 5 01:55 go.sum [2020-10-05T01:55:31.873Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 5 01:53 internal [2020-10-05T01:55:31.873Z] -rw-rw-r--. 1 jenkins jenkins 785 Oct 5 01:53 Jenkinsfile [2020-10-05T01:55:31.873Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 5 01:53 LICENSE [2020-10-05T01:55:31.873Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 5 01:53 Makefile [2020-10-05T01:55:31.873Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 5 01:53 openapi [2020-10-05T01:55:31.873Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 5 01:53 pkg [2020-10-05T01:55:31.873Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 5 01:53 README.md [2020-10-05T01:55:31.873Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 5 01:53 RELEASE-NOTES.txt [2020-10-05T01:55:31.873Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 5 01:53 .semver [2020-10-05T01:55:31.873Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 5 01:53 snap [2020-10-05T01:55:31.873Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 5 01:50 VERSION [2020-10-05T01:55:31.873Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 5 01:53 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-05T01:55:32.184Z] + 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=0dc4d2d1e043e31bd397e0f9b0e73245f1554204 --label arch=amd64 --label version=0.0.0 . [2020-10-05T01:55:32.447Z] Sending build context to Docker daemon 3.598MB [2020-10-05T01:55:32.447Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-05T01:55:32.447Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-05T01:55:32.447Z] ---> ad6dce2c6d30 [2020-10-05T01:55:32.447Z] Step 3/24 : ARG MAKE='make build' [2020-10-05T01:55:33.021Z] ---> Running in de009f5789f4 [2020-10-05T01:55:33.283Z] Removing intermediate container de009f5789f4 [2020-10-05T01:55:33.283Z] ---> 9a47c2b221d2 [2020-10-05T01:55:33.283Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-05T01:55:33.283Z] ---> Running in 67d464069f3c [2020-10-05T01:55:33.283Z] Removing intermediate container 67d464069f3c [2020-10-05T01:55:33.283Z] ---> d39ea5d7291c [2020-10-05T01:55:33.283Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-05T01:55:33.547Z] ---> Running in 2b93da5a3807 [2020-10-05T01:55:33.547Z] Removing intermediate container 2b93da5a3807 [2020-10-05T01:55:33.547Z] ---> b5428f56d8d4 [2020-10-05T01:55:33.547Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-05T01:55:33.547Z] ---> Running in 5d49fc31968e [2020-10-05T01:55:34.496Z] Removing intermediate container 5d49fc31968e [2020-10-05T01:55:34.496Z] ---> f22f0d440687 [2020-10-05T01:55:34.496Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-05T01:55:34.496Z] ---> Running in ffb522c1f5c2 [2020-10-05T01:55:35.071Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-05T01:55:36.018Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-05T01:55:36.592Z] OK: 166 MiB in 39 packages [2020-10-05T01:55:37.179Z] Removing intermediate container ffb522c1f5c2 [2020-10-05T01:55:37.179Z] ---> 205c347d5bd3 [2020-10-05T01:55:37.179Z] Step 8/24 : COPY . . [2020-10-05T01:55:38.127Z] ---> e84bccc441e3 [2020-10-05T01:55:38.127Z] Step 9/24 : RUN ${MAKE} [2020-10-05T01:55:38.127Z] ---> Running in 4fd8f29f25fc [2020-10-05T01:55:38.711Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-10-05T01:55:46.584Z] Removing intermediate container 6bbf8fe12798 [2020-10-05T01:55:46.584Z] ---> 4d7bbd06f08f [2020-10-05T01:55:46.584Z] Successfully built 4d7bbd06f08f [2020-10-05T01:55:46.584Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-05T01:55:46.944Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-05T01:55:47.011Z] + docker inspect -f . ci-base-image-arm64 [2020-10-05T01:55:47.011Z] . [Pipeline] withDockerContainer [2020-10-05T01:55:47.326Z] prd-ubuntu18.04-docker-arm64-4c-16g-3358 does not seem to be running inside a container [2020-10-05T01:55:47.421Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-05T01:55:48.875Z] Removing intermediate container 4fd8f29f25fc [2020-10-05T01:55:48.875Z] ---> 40f9f517f22f [2020-10-05T01:55:48.875Z] Step 10/24 : FROM scratch [2020-10-05T01:55:48.875Z] ---> [2020-10-05T01:55:48.875Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-05T01:55:48.875Z] ---> Running in 14e65a7d7de7 [2020-10-05T01:55:48.875Z] Removing intermediate container 14e65a7d7de7 [2020-10-05T01:55:48.875Z] ---> 4a376df63c16 [2020-10-05T01:55:48.875Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-05T01:55:48.875Z] ---> Running in 3b7a477413b1 [2020-10-05T01:55:49.137Z] Removing intermediate container 3b7a477413b1 [2020-10-05T01:55:49.137Z] ---> 4cb4dd1551a8 [2020-10-05T01:55:49.137Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-05T01:55:49.137Z] ---> Running in becc5d7a721e [2020-10-05T01:55:49.399Z] Removing intermediate container becc5d7a721e [2020-10-05T01:55:49.399Z] ---> dc556c7be41f [2020-10-05T01:55:49.399Z] Step 14/24 : WORKDIR / [2020-10-05T01:55:49.399Z] ---> Running in d1b83d43582c [2020-10-05T01:55:49.493Z] $ docker top ed43c7b708068858cfcdde661771d47d3110a6e8c5ce80d6013615b0cd341164 -eo pid,comm [2020-10-05T01:55:49.662Z] Removing intermediate container d1b83d43582c [2020-10-05T01:55:49.662Z] ---> 1068f225da56 [2020-10-05T01:55:49.662Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-05T01:55:49.933Z] ---> 74233db530dd [2020-10-05T01:55:49.933Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [Pipeline] { [Pipeline] sh [2020-10-05T01:55:50.194Z] ---> f35ec3dface9 [2020-10-05T01:55:50.195Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-05T01:55:50.457Z] ---> 15709fc73f65 [2020-10-05T01:55:50.457Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-05T01:55:50.720Z] ---> 83db92059d30 [2020-10-05T01:55:50.720Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-05T01:55:50.983Z] ---> 5a8586d4adb5 [2020-10-05T01:55:50.983Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-05T01:55:50.983Z] ---> Running in 811e6a6d22da [2020-10-05T01:55:51.050Z] + go version [2020-10-05T01:55:51.050Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-05T01:55:51.080Z] $ docker stop --time=1 ed43c7b708068858cfcdde661771d47d3110a6e8c5ce80d6013615b0cd341164 [2020-10-05T01:55:51.245Z] Removing intermediate container 811e6a6d22da [2020-10-05T01:55:51.245Z] ---> 2f3d8e583e38 [2020-10-05T01:55:51.245Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-05T01:55:51.245Z] ---> Running in 6cbb77a19c36 [2020-10-05T01:55:51.508Z] Removing intermediate container 6cbb77a19c36 [2020-10-05T01:55:51.508Z] ---> 2a50451b47ca [2020-10-05T01:55:51.508Z] Step 22/24 : LABEL arch=amd64 [2020-10-05T01:55:51.508Z] ---> Running in e2aa3056ca42 [2020-10-05T01:55:51.770Z] Removing intermediate container e2aa3056ca42 [2020-10-05T01:55:51.770Z] ---> d788c2765371 [2020-10-05T01:55:51.770Z] Step 23/24 : LABEL git_sha=0dc4d2d1e043e31bd397e0f9b0e73245f1554204 [2020-10-05T01:55:51.770Z] ---> Running in 850ee9c9943a [2020-10-05T01:55:52.031Z] Removing intermediate container 850ee9c9943a [2020-10-05T01:55:52.031Z] ---> dda3b69d18ba [2020-10-05T01:55:52.031Z] Step 24/24 : LABEL version=0.0.0 [2020-10-05T01:55:52.031Z] ---> Running in 6442a8e4088c [2020-10-05T01:55:52.031Z] Removing intermediate container 6442a8e4088c [2020-10-05T01:55:52.031Z] ---> bf1e4355803b [2020-10-05T01:55:52.031Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-05T01:55:52.031Z] Successfully built bf1e4355803b [2020-10-05T01:55:52.294Z] Successfully tagged docker-device-sdk-simple:latest [2020-10-05T01:55:53.026Z] $ docker rm -f ed43c7b708068858cfcdde661771d47d3110a6e8c5ce80d6013615b0cd341164 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Test) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-10-05T01:55:54.337Z] + docker inspect -f . ci-base-image-arm64 [2020-10-05T01:55:54.337Z] . [Pipeline] // withEnv [Pipeline] } [Pipeline] withDockerContainer [2020-10-05T01:55:54.674Z] prd-ubuntu18.04-docker-arm64-4c-16g-3358 does not seem to be running inside a container [2020-10-05T01:55:54.761Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-05T01:55:56.704Z] $ docker top 84b0d257d6dac6dd60582e4bbbe5838aac1dcec6db3ffc8b206b7f3af2ff90b7 -eo pid,comm [Pipeline] { [Pipeline] // ws [Pipeline] } [Pipeline] sh [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-05T01:55:58.191Z] + make test [2020-10-05T01:55:58.191Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-05T01:56:20.379Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-05T01:57:07.442Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-05T01:57:07.442Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-05T01:57:07.442Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-05T01:57:07.442Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.130s coverage: 21.6% of statements [2020-10-05T01:57:07.719Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.193s coverage: 97.1% of statements [2020-10-05T01:57:34.532Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.134s coverage: 9.4% of statements [2020-10-05T01:57:34.532Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.124s coverage: 21.9% of statements [2020-10-05T01:57:34.532Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-05T01:57:34.532Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.548s coverage: 39.9% of statements [2020-10-05T01:57:34.533Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-05T01:57:34.533Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.878s coverage: 65.4% of statements [2020-10-05T01:57:34.533Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-05T01:57:34.533Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-05T01:57:34.533Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-05T01:57:34.533Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-05T01:57:34.533Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.171s coverage: 52.6% of statements [2020-10-05T01:57:34.533Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-05T01:57:34.533Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.027s coverage: 68.9% of statements [2020-10-05T01:57:34.533Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-05T01:57:34.533Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-05T01:57:34.533Z] GO111MODULE=on go vet ./... [2020-10-05T01:58:06.929Z] gofmt -l . [2020-10-05T01:58:06.929Z] [ "`gofmt -l .`" = "" ] [2020-10-05T01:58:06.929Z] ./bin/test-attribution-txt.sh [2020-10-05T01:58:06.929Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-05T01:58:06.952Z] Warning: overwriting stash ‘coverage-report’ [2020-10-05T01:58:07.834Z] Stashed 1 file(s) [Pipeline] } [2020-10-05T01:58:07.840Z] $ docker stop --time=1 84b0d257d6dac6dd60582e4bbbe5838aac1dcec6db3ffc8b206b7f3af2ff90b7 [2020-10-05T01:58:10.168Z] $ docker rm -f 84b0d257d6dac6dd60582e4bbbe5838aac1dcec6db3ffc8b206b7f3af2ff90b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-05T01:58:11.683Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-05T01:58:12.022Z] + ls -al . [2020-10-05T01:58:12.022Z] total 232 [2020-10-05T01:58:12.022Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 5 01:58 . [2020-10-05T01:58:12.022Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 01:54 .. [2020-10-05T01:58:12.022Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 01:54 .dockerignore [2020-10-05T01:58:12.022Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 01:54 .git [2020-10-05T01:58:12.022Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 01:54 .github [2020-10-05T01:58:12.022Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 5 01:54 .gitignore [2020-10-05T01:58:12.022Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 01:54 .semver [2020-10-05T01:58:12.022Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 5 01:54 Dockerfile.build [2020-10-05T01:58:12.022Z] -rw-rw-r-- 1 jenkins jenkins 785 Oct 5 01:54 Jenkinsfile [2020-10-05T01:58:12.022Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 5 01:54 LICENSE [2020-10-05T01:58:12.022Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 5 01:54 Makefile [2020-10-05T01:58:12.022Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 5 01:54 README.md [2020-10-05T01:58:12.022Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 5 01:54 RELEASE-NOTES.txt [2020-10-05T01:58:12.022Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 5 01:50 VERSION [2020-10-05T01:58:12.022Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 01:54 bin [2020-10-05T01:58:12.022Z] -rw-r--r-- 1 jenkins jenkins 111040 Oct 5 01:57 coverage.out [2020-10-05T01:58:12.022Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 01:54 example [2020-10-05T01:58:12.022Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 5 01:58 go.mod [2020-10-05T01:58:12.022Z] -rw-r--r-- 1 jenkins jenkins 13652 Oct 5 01:58 go.sum [2020-10-05T01:58:12.022Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 5 01:54 internal [2020-10-05T01:58:12.022Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 01:54 openapi [2020-10-05T01:58:12.022Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 5 01:54 pkg [2020-10-05T01:58:12.022Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 01:54 snap [2020-10-05T01:58:12.022Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 5 01:54 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-05T01:58:12.370Z] + 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=0dc4d2d1e043e31bd397e0f9b0e73245f1554204 --label arch=arm64 --label version=0.0.0 . [2020-10-05T01:58:12.968Z] Sending build context to Docker daemon 3.596MB [2020-10-05T01:58:12.968Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-05T01:58:12.968Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-05T01:58:12.968Z] ---> 4d7bbd06f08f [2020-10-05T01:58:12.968Z] Step 3/24 : ARG MAKE='make build' [2020-10-05T01:58:13.241Z] ---> Running in 6ff7f3219f1a [2020-10-05T01:58:13.515Z] Removing intermediate container 6ff7f3219f1a [2020-10-05T01:58:13.515Z] ---> 06a05871fe63 [2020-10-05T01:58:13.515Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-05T01:58:13.790Z] ---> Running in 9f5ee0d22788 [2020-10-05T01:58:14.398Z] Removing intermediate container 9f5ee0d22788 [2020-10-05T01:58:14.398Z] ---> 7b41692b226e [2020-10-05T01:58:14.398Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-05T01:58:14.398Z] ---> Running in cbf9defb7543 [2020-10-05T01:58:14.678Z] Removing intermediate container cbf9defb7543 [2020-10-05T01:58:14.678Z] ---> 4465dc34ce85 [2020-10-05T01:58:14.678Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-05T01:58:14.953Z] ---> Running in 3dd303526f84 [2020-10-05T01:58:17.571Z] Removing intermediate container 3dd303526f84 [2020-10-05T01:58:17.571Z] ---> bc69ecadc90a [2020-10-05T01:58:17.571Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-05T01:58:17.571Z] ---> Running in c92fd1ac6eb6 [2020-10-05T01:58:19.001Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-05T01:58:19.592Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-05T01:58:20.191Z] OK: 142 MiB in 39 packages [2020-10-05T01:58:21.623Z] Removing intermediate container c92fd1ac6eb6 [2020-10-05T01:58:21.623Z] ---> c3555979566a [2020-10-05T01:58:21.623Z] Step 8/24 : COPY . . [2020-10-05T01:58:23.052Z] ---> 53b3309f91e2 [2020-10-05T01:58:23.052Z] Step 9/24 : RUN ${MAKE} [2020-10-05T01:58:23.052Z] ---> Running in dbc723ad73b2 [2020-10-05T01:58:24.478Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-10-05T01:58:51.298Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-05T01:58:51.298Z] Removing intermediate container dbc723ad73b2 [2020-10-05T01:58:51.298Z] ---> f625753c2bef [2020-10-05T01:58:51.298Z] Step 10/24 : FROM scratch [2020-10-05T01:58:51.298Z] ---> [2020-10-05T01:58:51.298Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-05T01:58:51.298Z] ---> Running in c16c1df886ce [2020-10-05T01:58:51.298Z] Removing intermediate container c16c1df886ce [2020-10-05T01:58:51.298Z] ---> a5685f7ca767 [2020-10-05T01:58:51.298Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-05T01:58:51.298Z] ---> Running in 00e515120742 [2020-10-05T01:58:51.298Z] Removing intermediate container 00e515120742 [2020-10-05T01:58:51.298Z] ---> 6f8b4ab776d4 [2020-10-05T01:58:51.298Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-05T01:58:51.298Z] ---> Running in d8ada2304e2b [2020-10-05T01:58:51.298Z] Removing intermediate container d8ada2304e2b [2020-10-05T01:58:51.298Z] ---> ebd578cc631f [2020-10-05T01:58:51.298Z] Step 14/24 : WORKDIR / [2020-10-05T01:58:51.298Z] ---> Running in fd4255a3b84f [2020-10-05T01:58:51.891Z] Removing intermediate container fd4255a3b84f [2020-10-05T01:58:51.891Z] ---> 51a557053b43 [2020-10-05T01:58:51.891Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-05T01:58:52.872Z] ---> ae85ec34b979 [2020-10-05T01:58:52.872Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-05T01:58:53.850Z] ---> fe8751e11cb6 [2020-10-05T01:58:53.850Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-05T01:58:54.446Z] ---> 99fac35a94f5 [2020-10-05T01:58:54.446Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-05T01:58:55.043Z] ---> 5d639d1280bb [2020-10-05T01:58:55.043Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-05T01:58:56.036Z] ---> b126ebb21895 [2020-10-05T01:58:56.036Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-05T01:58:56.036Z] ---> Running in 0f83c105584b [2020-10-05T01:58:56.634Z] Removing intermediate container 0f83c105584b [2020-10-05T01:58:56.634Z] ---> 17ebfeae97a4 [2020-10-05T01:58:56.634Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-05T01:58:56.634Z] ---> Running in dcb08c604b83 [2020-10-05T01:58:56.911Z] Removing intermediate container dcb08c604b83 [2020-10-05T01:58:56.911Z] ---> da4e32bc8ede [2020-10-05T01:58:56.911Z] Step 22/24 : LABEL arch=arm64 [2020-10-05T01:58:57.185Z] ---> Running in 7f1c3b94aa61 [2020-10-05T01:58:57.457Z] Removing intermediate container 7f1c3b94aa61 [2020-10-05T01:58:57.457Z] ---> d7542be50bd4 [2020-10-05T01:58:57.457Z] Step 23/24 : LABEL git_sha=0dc4d2d1e043e31bd397e0f9b0e73245f1554204 [2020-10-05T01:58:57.736Z] ---> Running in 23a8042b79e8 [2020-10-05T01:58:58.014Z] Removing intermediate container 23a8042b79e8 [2020-10-05T01:58:58.014Z] ---> 7d5d6a7c9e7e [2020-10-05T01:58:58.014Z] Step 24/24 : LABEL version=0.0.0 [2020-10-05T01:58:58.288Z] ---> Running in ec42ad384d9c [2020-10-05T01:58:58.883Z] Removing intermediate container ec42ad384d9c [2020-10-05T01:58:58.883Z] ---> 353d29dee759 [2020-10-05T01:58:58.883Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-05T01:58:58.883Z] Successfully built 353d29dee759 [2020-10-05T01:58:58.883Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-10-05T01:59:01.365Z] provisioning config files... [2020-10-05T01:59:01.382Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/config7834017213788651060tmp [Pipeline] { [Pipeline] sh [2020-10-05T01:59:01.823Z] + set +x [2020-10-05T01:59:01.823Z] + curl -s https://codecov.io/bash [2020-10-05T01:59:01.823Z] + bash -s -- [2020-10-05T01:59:02.085Z] [2020-10-05T01:59:02.085Z] _____ _ [2020-10-05T01:59:02.085Z] / ____| | | [2020-10-05T01:59:02.085Z] | | ___ __| | ___ ___ _____ __ [2020-10-05T01:59:02.085Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-05T01:59:02.085Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-05T01:59:02.085Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-05T01:59:02.085Z] Bash-20200917-4e8f14b [2020-10-05T01:59:02.085Z] [2020-10-05T01:59:02.085Z] [2020-10-05T01:59:02.085Z] ==> Jenkins CI detected. [2020-10-05T01:59:02.085Z] project root: . [2020-10-05T01:59:02.085Z] --> token set from env [2020-10-05T01:59:02.085Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-05T01:59:02.085Z] ==> Running gcov in . (disable via -X gcov) [2020-10-05T01:59:02.085Z] ==> Python coveragepy not found [2020-10-05T01:59:02.085Z] ==> Searching for coverage reports in: [2020-10-05T01:59:02.085Z] + . [2020-10-05T01:59:02.085Z] -> Found 1 reports [2020-10-05T01:59:02.085Z] ==> Detecting git/mercurial file structure [2020-10-05T01:59:02.085Z] ==> Reading reports [2020-10-05T01:59:02.085Z] + ./coverage.out bytes=111040 [2020-10-05T01:59:02.085Z] ==> Appending adjustments [2020-10-05T01:59:02.085Z] https://docs.codecov.io/docs/fixing-reports [2020-10-05T01:59:02.661Z] + Found adjustments [2020-10-05T01:59:02.661Z] ==> Gzipping contents [2020-10-05T01:59:02.661Z] ==> Uploading reports [2020-10-05T01:59:02.661Z] url: https://codecov.io [2020-10-05T01:59:02.661Z] query: branch=PR-595&commit=0dc4d2d1e043e31bd397e0f9b0e73245f1554204&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-595%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=595&job=&cmd_args= [2020-10-05T01:59:02.661Z] -> Pinging Codecov [2020-10-05T01:59:02.661Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-595&commit=0dc4d2d1e043e31bd397e0f9b0e73245f1554204&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-595%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=595&job=&cmd_args= [2020-10-05T01:59:03.235Z] -> Uploading to [2020-10-05T01:59:03.235Z] https://storage.googleapis.com/codecov/v4/raw/2020-10-05/7E55EF52A471D76F132DFD9A03CDDE97/0dc4d2d1e043e31bd397e0f9b0e73245f1554204/946c4dfb-ec2b-4fc7-9af5-f4fb275f2b3a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201005%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201005T015902Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=67700c24f8e67220ef637ff666676629913aa7eedb81bca25fc964e5ef3bfeac [2020-10-05T01:59:03.235Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-05T01:59:03.235Z] Dload Upload Total Spent Left Speed [2020-10-05T01:59:03.496Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18337 0 0 100 18337 0 42871 --:--:-- --:--:-- --:--:-- 42943 [2020-10-05T01:59:03.496Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0dc4d2d1e043e31bd397e0f9b0e73245f1554204 [Pipeline] } [2020-10-05T01:59:03.505Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-10-05T01:59:06.219Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-05T01:59:06.791Z] ---> package-listing.sh [2020-10-05T01:59:06.791Z] ++ facter osfamily [2020-10-05T01:59:06.791Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-05T01:59:06.791Z] + OS_FAMILY=redhat [2020-10-05T01:59:06.791Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-595 [2020-10-05T01:59:06.791Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-05T01:59:06.791Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-05T01:59:06.791Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-05T01:59:06.791Z] + PACKAGES=/tmp/packages_start.txt [2020-10-05T01:59:06.791Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-595 ']' [2020-10-05T01:59:06.791Z] + PACKAGES=/tmp/packages_end.txt [2020-10-05T01:59:06.791Z] + case "${OS_FAMILY}" in [2020-10-05T01:59:06.791Z] + rpm -qa [2020-10-05T01:59:06.791Z] + sort [2020-10-05T01:59:11.017Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-05T01:59:11.017Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-05T01:59:11.017Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-05T01:59:11.017Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-595 ']' [2020-10-05T01:59:11.017Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-595/archives/ [2020-10-05T01:59:11.017Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-595/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-05T01:59:11.279Z] provisioning config files... [2020-10-05T01:59:11.298Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/config5477781865283756295tmp [Pipeline] { [Pipeline] echo [2020-10-05T01:59:11.385Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-05T01:59:11.690Z] ---> create-netrc.sh [Pipeline] } [2020-10-05T01:59:11.701Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-05T01:59:11.793Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-05T01:59:12.090Z] ---> python-tools-install.sh [2020-10-05T01:59:12.090Z] Generating Requirements File [2020-10-05T02:00:33.688Z] Python 3.6.8 [2020-10-05T02:00:33.688Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-05T02:00:33.688Z] aiohttp==3.6.2 [2020-10-05T02:00:33.688Z] appdirs==1.4.3 [2020-10-05T02:00:33.688Z] argcomplete==1.12.1 [2020-10-05T02:00:33.688Z] aspy.yaml==1.3.0 [2020-10-05T02:00:33.688Z] async-timeout==3.0.1 [2020-10-05T02:00:33.688Z] attrs==19.3.0 [2020-10-05T02:00:33.688Z] Babel==2.8.0 [2020-10-05T02:00:33.688Z] beautifulsoup4==4.8.2 [2020-10-05T02:00:33.688Z] boto3==1.11.6 [2020-10-05T02:00:33.688Z] botocore==1.14.6 [2020-10-05T02:00:33.688Z] bs4==0.0.1 [2020-10-05T02:00:33.688Z] cachetools==4.1.1 [2020-10-05T02:00:33.688Z] certifi==2019.11.28 [2020-10-05T02:00:33.688Z] cffi==1.14.3 [2020-10-05T02:00:33.688Z] cfgv==2.0.1 [2020-10-05T02:00:33.688Z] chardet==3.0.4 [2020-10-05T02:00:33.688Z] click==7.1 [2020-10-05T02:00:33.688Z] cliff==3.4.0 [2020-10-05T02:00:33.688Z] cmd2==1.3.11 [2020-10-05T02:00:33.688Z] colorama==0.4.3 [2020-10-05T02:00:33.688Z] cryptography==3.1.1 [2020-10-05T02:00:33.688Z] debtcollector==2.2.0 [2020-10-05T02:00:33.688Z] decorator==4.4.2 [2020-10-05T02:00:33.688Z] defusedxml==0.6.0 [2020-10-05T02:00:33.688Z] Deprecated==1.2.7 [2020-10-05T02:00:33.688Z] distlib==0.3.1 [2020-10-05T02:00:33.688Z] distro==1.2.0 [2020-10-05T02:00:33.688Z] dnspython==1.16.0 [2020-10-05T02:00:33.688Z] docker==4.2.0 [2020-10-05T02:00:33.688Z] docutils==0.15.2 [2020-10-05T02:00:33.688Z] dogpile.cache==1.0.2 [2020-10-05T02:00:33.688Z] email-validator==1.0.5 [2020-10-05T02:00:33.688Z] filelock==3.0.12 [2020-10-05T02:00:33.688Z] future==0.18.2 [2020-10-05T02:00:33.688Z] google-auth==1.22.0 [2020-10-05T02:00:33.688Z] httplib2==0.17.0 [2020-10-05T02:00:33.688Z] identify==1.4.11 [2020-10-05T02:00:33.688Z] idna==2.9 [2020-10-05T02:00:33.688Z] idna-ssl==1.1.0 [2020-10-05T02:00:33.688Z] importlib-metadata==1.7.0 [2020-10-05T02:00:33.688Z] importlib-resources==1.5.0 [2020-10-05T02:00:33.688Z] iso8601==0.1.13 [2020-10-05T02:00:33.688Z] Jinja2==2.11.1 [2020-10-05T02:00:33.688Z] jmespath==0.10.0 [2020-10-05T02:00:33.688Z] jsonpatch==1.26 [2020-10-05T02:00:33.688Z] jsonpointer==2.0 [2020-10-05T02:00:33.688Z] jsonschema==3.2.0 [2020-10-05T02:00:33.688Z] keystoneauth1==4.2.1 [2020-10-05T02:00:33.688Z] kubernetes==11.0.0 [2020-10-05T02:00:33.688Z] lftools==0.34.2 [2020-10-05T02:00:33.688Z] lxml==4.5.0 [2020-10-05T02:00:33.688Z] MarkupSafe==0.23 [2020-10-05T02:00:33.688Z] msgpack==1.0.0 [2020-10-05T02:00:33.688Z] multi-key-dict==2.0.3 [2020-10-05T02:00:33.688Z] multidict==4.7.6 [2020-10-05T02:00:33.688Z] munch==2.5.0 [2020-10-05T02:00:33.688Z] netaddr==0.8.0 [2020-10-05T02:00:33.688Z] netifaces==0.10.9 [2020-10-05T02:00:33.688Z] niet==1.4.2 [2020-10-05T02:00:33.688Z] nodeenv==1.3.5 [2020-10-05T02:00:33.688Z] oauth2client==4.1.3 [2020-10-05T02:00:33.688Z] oauthlib==3.1.0 [2020-10-05T02:00:33.688Z] openstacksdk==0.50.0 [2020-10-05T02:00:33.688Z] os-client-config==2.1.0 [2020-10-05T02:00:33.688Z] os-service-types==1.7.0 [2020-10-05T02:00:33.688Z] osc-lib==2.2.1 [2020-10-05T02:00:33.688Z] oslo.config==8.3.2 [2020-10-05T02:00:33.688Z] oslo.context==3.1.1 [2020-10-05T02:00:33.688Z] oslo.i18n==5.0.1 [2020-10-05T02:00:33.688Z] oslo.log==4.4.0 [2020-10-05T02:00:33.688Z] oslo.serialization==4.0.1 [2020-10-05T02:00:33.688Z] oslo.utils==4.6.0 [2020-10-05T02:00:33.688Z] packaging==20.4 [2020-10-05T02:00:33.688Z] pbr==5.4.4 [2020-10-05T02:00:33.688Z] pluggy==0.13.1 [2020-10-05T02:00:33.688Z] prettytable==0.7.2 [2020-10-05T02:00:33.688Z] py==1.9.0 [2020-10-05T02:00:33.688Z] pyasn1==0.4.8 [2020-10-05T02:00:33.688Z] pyasn1-modules==0.2.8 [2020-10-05T02:00:33.688Z] pycparser==2.20 [2020-10-05T02:00:33.688Z] pygerrit2==2.0.10 [2020-10-05T02:00:33.688Z] PyGithub==1.46 [2020-10-05T02:00:33.688Z] pyinotify==0.9.6 [2020-10-05T02:00:33.688Z] PyJWT==1.7.1 [2020-10-05T02:00:33.688Z] pyparsing==2.4.7 [2020-10-05T02:00:33.688Z] pyperclip==1.8.0 [2020-10-05T02:00:33.688Z] pyroute2==0.4.13 [2020-10-05T02:00:33.688Z] pyrsistent==0.15.7 [2020-10-05T02:00:33.688Z] PySocks==1.6.8 [2020-10-05T02:00:33.688Z] python-cinderclient==7.2.0 [2020-10-05T02:00:33.688Z] python-dateutil==2.8.1 [2020-10-05T02:00:33.688Z] python-heatclient==2.2.1 [2020-10-05T02:00:33.688Z] python-jenkins==1.7.0 [2020-10-05T02:00:33.688Z] python-keystoneclient==4.1.1 [2020-10-05T02:00:33.688Z] python-magnumclient==3.2.1 [2020-10-05T02:00:33.688Z] python-novaclient==17.2.1 [2020-10-05T02:00:33.688Z] python-openstackclient==5.4.0 [2020-10-05T02:00:33.688Z] python-swiftclient==3.10.1 [2020-10-05T02:00:33.688Z] pytz==2020.1 [2020-10-05T02:00:33.688Z] PyYAML==5.3 [2020-10-05T02:00:33.688Z] requests==2.23.0 [2020-10-05T02:00:33.688Z] requests-oauthlib==1.3.0 [2020-10-05T02:00:33.688Z] requestsexceptions==1.4.0 [2020-10-05T02:00:33.688Z] rfc3986==1.4.0 [2020-10-05T02:00:33.688Z] rpm==4.11.3 [2020-10-05T02:00:33.688Z] rsa==4.0 [2020-10-05T02:00:33.688Z] ruamel.yaml==0.16.10 [2020-10-05T02:00:33.688Z] ruamel.yaml.clib==0.2.0 [2020-10-05T02:00:33.688Z] s3transfer==0.3.3 [2020-10-05T02:00:33.688Z] shade==1.27.2 [2020-10-05T02:00:33.688Z] simplejson==3.17.2 [2020-10-05T02:00:33.689Z] six==1.14.0 [2020-10-05T02:00:33.689Z] soupsieve==2.0 [2020-10-05T02:00:33.689Z] stevedore==3.2.2 [2020-10-05T02:00:33.689Z] tabulate==0.8.6 [2020-10-05T02:00:33.689Z] toml==0.10.0 [2020-10-05T02:00:33.689Z] tox==3.20.0 [2020-10-05T02:00:33.689Z] tqdm==4.43.0 [2020-10-05T02:00:33.689Z] typing-extensions==3.7.4.3 [2020-10-05T02:00:33.689Z] urllib3==1.25.8 [2020-10-05T02:00:33.689Z] virtualenv==20.0.33 [2020-10-05T02:00:33.689Z] wcwidth==0.2.5 [2020-10-05T02:00:33.689Z] websocket-client==0.57.0 [2020-10-05T02:00:33.689Z] wrapt==1.12.1 [2020-10-05T02:00:33.689Z] xdg==3.0.2 [2020-10-05T02:00:33.689Z] xmltodict==0.12.0 [2020-10-05T02:00:33.689Z] yarl==1.6.0 [2020-10-05T02:00:33.689Z] yq==2.11.1 [2020-10-05T02:00:33.689Z] zipp==3.3.0 [2020-10-05T02:00:33.689Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:00:33.689Z] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [2020-10-05T02:00:33.689Z] Python 2.7.5 [2020-10-05T02:00:33.689Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-05T02:00:33.689Z] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [2020-10-05T02:00:33.689Z] ansible==2.9.7 [2020-10-05T02:00:33.689Z] Babel==0.9.6 [2020-10-05T02:00:33.689Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-05T02:00:33.689Z] beautifulsoup4==4.4.1 [2020-10-05T02:00:33.689Z] bodhi==2.11.0 [2020-10-05T02:00:33.689Z] bodhi-client==2.11.0 [2020-10-05T02:00:33.689Z] CCColUtils==1.4 [2020-10-05T02:00:33.689Z] cffi==1.6.0 [2020-10-05T02:00:33.689Z] chardet==2.2.1 [2020-10-05T02:00:33.689Z] click==6.7 [2020-10-05T02:00:33.689Z] cloud-init==18.5 [2020-10-05T02:00:33.689Z] configobj==4.7.2 [2020-10-05T02:00:33.689Z] cryptography==1.7.2 [2020-10-05T02:00:33.689Z] decorator==3.4.0 [2020-10-05T02:00:33.689Z] distro==1.2.0 [2020-10-05T02:00:33.689Z] enum34==1.0.4 [2020-10-05T02:00:33.689Z] fedpkg==1.38 [2020-10-05T02:00:33.689Z] futures==3.1.1 [2020-10-05T02:00:33.689Z] gitdb==0.6.4 [2020-10-05T02:00:33.689Z] GitPython==1.0.1 [2020-10-05T02:00:33.689Z] html5lib==0.999 [2020-10-05T02:00:33.689Z] httplib2==0.9.2 [2020-10-05T02:00:33.689Z] idna==2.4 [2020-10-05T02:00:33.689Z] iniparse==0.4 [2020-10-05T02:00:33.689Z] ipaddress==1.0.16 [2020-10-05T02:00:33.689Z] IPy==0.75 [2020-10-05T02:00:33.689Z] javapackages==1.0.0 [2020-10-05T02:00:33.689Z] Jinja2==2.7.2 [2020-10-05T02:00:33.689Z] jmespath==0.9.4 [2020-10-05T02:00:33.689Z] jsonpatch==1.2 [2020-10-05T02:00:33.689Z] jsonpointer==1.9 [2020-10-05T02:00:33.689Z] kerberos==1.1 [2020-10-05T02:00:33.689Z] kitchen==1.1.1 [2020-10-05T02:00:33.689Z] langtable==0.0.31 [2020-10-05T02:00:33.689Z] lockfile==0.9.1 [2020-10-05T02:00:33.689Z] lxml==3.2.1 [2020-10-05T02:00:33.689Z] MarkupSafe==0.11 [2020-10-05T02:00:33.689Z] munch==2.0.2 [2020-10-05T02:00:33.689Z] offtrac==0.1.0 [2020-10-05T02:00:33.689Z] openidc-client==0.6.0 [2020-10-05T02:00:33.689Z] packagedb-cli==2.14.1 [2020-10-05T02:00:33.689Z] paramiko==2.1.1 [2020-10-05T02:00:33.689Z] perf==0.1 [2020-10-05T02:00:33.689Z] ply==3.4 [2020-10-05T02:00:33.689Z] policycoreutils-default-encoding==0.1 [2020-10-05T02:00:33.689Z] prettytable==0.7.2 [2020-10-05T02:00:33.689Z] pyasn1==0.1.9 [2020-10-05T02:00:33.689Z] pycparser==2.14 [2020-10-05T02:00:33.689Z] pycurl==7.19.0 [2020-10-05T02:00:33.689Z] pygobject==3.22.0 [2020-10-05T02:00:33.689Z] pygpgme==0.3 [2020-10-05T02:00:33.689Z] pyliblzma==0.5.3 [2020-10-05T02:00:33.689Z] pyOpenSSL==0.13.1 [2020-10-05T02:00:33.689Z] pyparsing==1.5.6 [2020-10-05T02:00:33.689Z] pyserial==2.6 [2020-10-05T02:00:33.689Z] python-augeas==0.5.0 [2020-10-05T02:00:33.689Z] python-bugzilla==2.3.0 [2020-10-05T02:00:33.689Z] python-dateutil==1.5 [2020-10-05T02:00:33.689Z] python-fedora==0.10.0 [2020-10-05T02:00:33.689Z] python-linux-procfs==0.4.9 [2020-10-05T02:00:33.689Z] python-yubico==1.2.3 [2020-10-05T02:00:33.689Z] pyudev==0.15 [2020-10-05T02:00:33.689Z] pyusb==1.0.0b1 [2020-10-05T02:00:33.689Z] pyxattr==0.5.1 [2020-10-05T02:00:33.689Z] PyYAML==3.10 [2020-10-05T02:00:33.689Z] requests==2.6.0 [2020-10-05T02:00:33.689Z] requests-kerberos==0.7.0 [2020-10-05T02:00:33.689Z] rpkg==1.60 [2020-10-05T02:00:33.689Z] schedutils==0.4 [2020-10-05T02:00:33.689Z] seobject==0.1 [2020-10-05T02:00:33.689Z] sepolicy==1.1 [2020-10-05T02:00:33.689Z] six==1.9.0 [2020-10-05T02:00:33.689Z] smmap==0.9.0 [2020-10-05T02:00:33.689Z] urlgrabber==3.10 [2020-10-05T02:00:33.689Z] urllib3==1.10.2 [2020-10-05T02:00:33.689Z] virtualenv==15.1.0 [2020-10-05T02:00:33.689Z] yum-langpacks==0.4.2 [2020-10-05T02:00:33.689Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-05T02:00:33.702Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-05T02:00:34.027Z] ---> sudo-logs.sh [2020-10-05T02:00:34.028Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-05T02:00:34.305Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-05T02:00:34.611Z] ---> job-cost.sh [2020-10-05T02:00:34.611Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-eLw6 [2020-10-05T02:00:46.901Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:00:46.901Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:00:46.901Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:00:46.901Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:00:46.901Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:00:46.901Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:00:46.901Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:00:47.170Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:00:47.435Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:00:47.435Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:00:47.705Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:00:47.705Z] Cache entry deserialization failed, entry ignored [2020-10-05T02:00:51.051Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-05T02:01:23.730Z] lf-activate-venv(): INFO: Adding /tmp/venv-eLw6/bin to PATH [2020-10-05T02:01:23.730Z] INFO: No Stack... [2020-10-05T02:01:23.730Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-05T02:01:23.730Z] INFO: Archiving Costs [Pipeline] echo [2020-10-05T02:01:23.750Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-05T02:01:24.086Z] ---> logs-deploy.sh [2020-10-05T02:01:24.086Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-595/7 [2020-10-05T02:01:24.086Z] INFO: archiving workspace using pattern(s): [2020-10-05T02:01:25.509Z] Archives upload complete. [2020-10-05T02:01:25.778Z] INFO: archiving logs to Nexus