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 973e3351d72c08547700289f4b31505d6abbb4ce+0cafa7decaaa0dab3b86f836c2c615e8e839d11b (33b5f3c47e4fa679ecf2c8d9305fa5ca95db35a4) 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-2039 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 Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 973e3351d72c08547700289f4b31505d6abbb4ce Merge succeeded, producing 973e3351d72c08547700289f4b31505d6abbb4ce Checking out Revision 973e3351d72c08547700289f4b31505d6abbb4ce (PR-602) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 973e3351d72c08547700289f4b31505d6abbb4ce # 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 973e3351d72c08547700289f4b31505d6abbb4ce # 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-29T22:05:17.606Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 9eb8018d87c3a2d7e647304da7998b6311e1e846 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-29T22:05:17.934Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-29T22:05:18.038Z] ========================================================= [2020-09-29T22:05:18.039Z] EdgeX Global Pipelines Version Info [2020-09-29T22:05:18.039Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-29T22:05:20.050Z] ------------------- [2020-09-29T22:05:20.050Z] stable info: [2020-09-29T22:05:20.050Z] ------------------- [2020-09-29T22:05:20.050Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-29T22:05:20.050Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-09-29T22:05:20.050Z] Message: update stable to v1.0.131 [2020-09-29T22:05:21.000Z] ------------------- [2020-09-29T22:05:21.000Z] experimental info: [2020-09-29T22:05:21.000Z] ------------------- [2020-09-29T22:05:21.000Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-29T22:05:21.000Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-09-29T22:05:21.000Z] Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-29T22:05:21.407Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-29T22:05:21.500Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-29T22:05:21.596Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-29T22:05:21.687Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-29T22:05:21.777Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-29T22:05:21.874Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-29T22:05:21.960Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-29T22:05:22.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-29T22:05:22.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-29T22:05:22.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-29T22:05:22.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-29T22:05:22.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-29T22:05:22.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-29T22:05:22.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-29T22:05:22.716Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-29T22:05:22.881Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-29T22:05:22.972Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-29T22:05:23.085Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-29T22:05:23.175Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-29T22:05:23.262Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-29T22:05:23.408Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-29T22:05:23.507Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-29T22:05:23.600Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-09-29T22:05:23.696Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-09-29T22:05:23.819Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-09-29T22:05:23.937Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-602 [Pipeline] echo [2020-09-29T22:05:24.025Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-602 [Pipeline] echo [2020-09-29T22:05:24.111Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-602 [Pipeline] echo [2020-09-29T22:05:24.202Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 973e3351d72c08547700289f4b31505d6abbb4ce [Pipeline] echo [2020-09-29T22:05:24.288Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 973e335 [Pipeline] echo [2020-09-29T22:05:24.376Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-29T22:05:25.039Z] + git log --format=format:%s -1 973e3351d72c08547700289f4b31505d6abbb4ce [Pipeline] echo [2020-09-29T22:05:25.159Z] GIT_COMMIT: 973e3351d72c08547700289f4b31505d6abbb4ce, Commit Message: feat: implement Device SDK v2 common API [Pipeline] echo [2020-09-29T22:05:25.206Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-29T22:05:26.076Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-29T22:05:26.354Z] [2020-09-29T22:05:26.354Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-29T22:05:26.749Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-29T22:05:26.749Z] latest: Pulling from edgex-devops/git-semver [2020-09-29T22:05:26.749Z] 31603596830f: Pulling fs layer [2020-09-29T22:05:26.749Z] 2a8b12db71e7: Pulling fs layer [2020-09-29T22:05:26.749Z] 6ca5941a6612: Pulling fs layer [2020-09-29T22:05:26.749Z] ecc8261a40a4: Pulling fs layer [2020-09-29T22:05:26.749Z] ecc8261a40a4: Waiting [2020-09-29T22:05:27.017Z] 2a8b12db71e7: Verifying Checksum [2020-09-29T22:05:27.017Z] 2a8b12db71e7: Download complete [2020-09-29T22:05:27.017Z] 31603596830f: Download complete [2020-09-29T22:05:27.286Z] ecc8261a40a4: Verifying Checksum [2020-09-29T22:05:27.287Z] ecc8261a40a4: Download complete [2020-09-29T22:05:27.287Z] 6ca5941a6612: Verifying Checksum [2020-09-29T22:05:27.287Z] 6ca5941a6612: Download complete [2020-09-29T22:05:27.551Z] 31603596830f: Pull complete [2020-09-29T22:05:27.551Z] 2a8b12db71e7: Pull complete [2020-09-29T22:05:28.957Z] 6ca5941a6612: Pull complete [2020-09-29T22:05:29.219Z] ecc8261a40a4: Pull complete [2020-09-29T22:05:29.219Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-29T22:05:29.219Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-29T22:05:29.219Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-29T22:05:29.335Z] prd-centos7-docker-4c-2g-2039 does not seem to be running inside a container [2020-09-29T22:05:29.449Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-602 -v /w/workspace/dgexfoundry_device-sdk-go_PR-602:/w/workspace/dgexfoundry_device-sdk-go_PR-602:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-29T22:05:31.578Z] $ docker top ed88e53717d6c03e05bef4844ab7c0e8af242240a5383d82b236507bea0e0f17 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-29T22:05:31.963Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-29T22:05:31.963Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-29T22:05:32.236Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-29T22:05:32.246Z] $ docker exec ed88e53717d6c03e05bef4844ab7c0e8af242240a5383d82b236507bea0e0f17 ssh-agent [2020-09-29T22:05:32.455Z] SSH_AUTH_SOCK=/tmp/ssh-dYTfaTyKLiWF/agent.12 [2020-09-29T22:05:32.455Z] SSH_AGENT_PID=17 [2020-09-29T22:05:32.473Z] Running ssh-add (command line suppressed) [2020-09-29T22:05:32.619Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_6048306929363198619.key (/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_6048306929363198619.key) [2020-09-29T22:05:32.681Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-29T22:05:33.043Z] + git describe --exact-match --tags HEAD [2020-09-29T22:05:33.043Z] fatal: no tag exactly matches '973e3351d72c08547700289f4b31505d6abbb4ce' [Pipeline] } [2020-09-29T22:05:33.087Z] $ docker exec --env ******** --env ******** ed88e53717d6c03e05bef4844ab7c0e8af242240a5383d82b236507bea0e0f17 ssh-agent -k [2020-09-29T22:05:33.286Z] unset SSH_AUTH_SOCK; [2020-09-29T22:05:33.286Z] unset SSH_AGENT_PID; [2020-09-29T22:05:33.287Z] echo Agent pid 17 killed; [2020-09-29T22:05:33.353Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-29T22:05:33.456Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-29T22:05:33.456Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-29T22:05:33.567Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-29T22:05:33.567Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-29T22:05:33.774Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-29T22:05:33.782Z] $ docker exec ed88e53717d6c03e05bef4844ab7c0e8af242240a5383d82b236507bea0e0f17 ssh-agent [2020-09-29T22:05:34.148Z] SSH_AUTH_SOCK=/tmp/ssh-TqXW2o8Orgf8/agent.47 [2020-09-29T22:05:34.148Z] SSH_AGENT_PID=52 [2020-09-29T22:05:34.160Z] Running ssh-add (command line suppressed) [2020-09-29T22:05:34.321Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_7228754484508691707.key (/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/private_key_7228754484508691707.key) [2020-09-29T22:05:34.392Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-29T22:05:34.743Z] + git semver init [2020-09-29T22:05:34.743Z] # -> Open(): unable to determine branch for HEAD [2020-09-29T22:05:34.743Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-602/.git [2020-09-29T22:05:34.743Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-602 [2020-09-29T22:05:34.743Z] # $SEMVER_REMOTE_NAME = origin [2020-09-29T22:05:34.743Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-29T22:05:34.743Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-29T22:05:34.743Z] # $SEMVER_BRANCH = PR-602 [2020-09-29T22:05:34.743Z] # $SEMVER_TEMP = /tmp/semver-324367744 [2020-09-29T22:05:34.743Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-29T22:05:35.699Z] # '/tmp/semver-324367744' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-602/.semver' [2020-09-29T22:05:35.699Z] # -> Force: false [2020-09-29T22:05:35.699Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-602/.semver [Pipeline] } [2020-09-29T22:05:35.720Z] $ docker exec --env ******** --env ******** ed88e53717d6c03e05bef4844ab7c0e8af242240a5383d82b236507bea0e0f17 ssh-agent -k [2020-09-29T22:05:35.857Z] unset SSH_AUTH_SOCK; [2020-09-29T22:05:35.858Z] unset SSH_AGENT_PID; [2020-09-29T22:05:35.858Z] echo Agent pid 52 killed; [2020-09-29T22:05:35.907Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-29T22:05:36.465Z] + git semver [Pipeline] } [2020-09-29T22:05:36.506Z] $ docker stop --time=1 ed88e53717d6c03e05bef4844ab7c0e8af242240a5383d82b236507bea0e0f17 [2020-09-29T22:05:37.991Z] $ docker rm -f ed88e53717d6c03e05bef4844ab7c0e8af242240a5383d82b236507bea0e0f17 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-29T22:05:39.583Z] Stashed 39 file(s) [Pipeline] echo [2020-09-29T22:05:39.586Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-29T22:05:39.676Z] 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-29T22:05:55.099Z] Still waiting to schedule task [2020-09-29T22:05:55.100Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2039’ [2020-09-29T22:05:55.101Z] Still waiting to schedule task [2020-09-29T22:05:55.102Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-29T22:08:09.000Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2040 in /w/workspace/dgexfoundry_device-sdk-go_PR-602 [Pipeline] { [Pipeline] ws [2020-09-29T22:08:09.075Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-09-29T22:08:14.438Z] using credential edgex-jenkins-ssh [2020-09-29T22:08:14.496Z] Cloning the remote Git repository [2020-09-29T22:08:14.544Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-29T22:08:14.658Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-09-29T22:08:14.742Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-29T22:08:14.742Z] > git --version # timeout=10 [2020-09-29T22:08:14.763Z] > git --version # 'git version 2.17.1' [2020-09-29T22:08:14.764Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T22:08:14.845Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-29T22:08:16.586Z] Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 973e3351d72c08547700289f4b31505d6abbb4ce [2020-09-29T22:08:15.828Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-29T22:08:15.849Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-29T22:08:15.875Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-29T22:08:15.928Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-29T22:08:15.929Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T22:08:15.938Z] > 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-29T22:08:16.593Z] > git config core.sparsecheckout # timeout=10 [2020-09-29T22:08:16.607Z] > git checkout -f 973e3351d72c08547700289f4b31505d6abbb4ce # timeout=10 [2020-09-29T22:08:16.826Z] Merge succeeded, producing 973e3351d72c08547700289f4b31505d6abbb4ce [2020-09-29T22:08:16.826Z] Checking out Revision 973e3351d72c08547700289f4b31505d6abbb4ce (PR-602) [2020-09-29T22:08:16.726Z] > git remote # timeout=10 [2020-09-29T22:08:16.744Z] > git config --get remote.origin.url # timeout=10 [2020-09-29T22:08:16.761Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T22:08:16.773Z] > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 [2020-09-29T22:08:16.796Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-29T22:08:16.820Z] > git config core.sparsecheckout # timeout=10 [2020-09-29T22:08:16.831Z] > git checkout -f 973e3351d72c08547700289f4b31505d6abbb4ce # timeout=10 [2020-09-29T22:08:21.315Z] 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-29T22:08:22.858Z] ========================================================= [2020-09-29T22:08:22.858Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-29T22:08:22.858Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-29T22:08:24.166Z] + 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-29T22:08:25.639Z] Sending build context to Docker daemon 3.449MB [2020-09-29T22:08:25.639Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-29T22:08:25.639Z] Step 2/8 : FROM ${BASE} [2020-09-29T22:08:25.639Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-29T22:08:25.639Z] b538f80385f9: Pulling fs layer [2020-09-29T22:08:25.639Z] 74f711af9a0d: Pulling fs layer [2020-09-29T22:08:25.639Z] 99f96fe45779: Pulling fs layer [2020-09-29T22:08:25.639Z] 8529a6b9a6be: Pulling fs layer [2020-09-29T22:08:25.639Z] 45590311c82a: Pulling fs layer [2020-09-29T22:08:25.639Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-29T22:08:25.639Z] 209524e5b208: Pulling fs layer [2020-09-29T22:08:25.639Z] 45590311c82a: Waiting [2020-09-29T22:08:25.639Z] 69ca0ff8b7b3: Waiting [2020-09-29T22:08:25.639Z] 209524e5b208: Waiting [2020-09-29T22:08:25.639Z] 8529a6b9a6be: Waiting [2020-09-29T22:08:25.639Z] 99f96fe45779: Download complete [2020-09-29T22:08:25.639Z] 74f711af9a0d: Verifying Checksum [2020-09-29T22:08:25.639Z] 74f711af9a0d: Download complete [2020-09-29T22:08:25.916Z] 45590311c82a: Verifying Checksum [2020-09-29T22:08:25.916Z] 45590311c82a: Download complete [2020-09-29T22:08:25.916Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-29T22:08:25.916Z] 69ca0ff8b7b3: Download complete [2020-09-29T22:08:25.916Z] b538f80385f9: Download complete [2020-09-29T22:08:26.526Z] b538f80385f9: Pull complete [2020-09-29T22:08:27.123Z] 74f711af9a0d: Pull complete [2020-09-29T22:08:27.396Z] 99f96fe45779: Pull complete [2020-09-29T22:08:28.844Z] 209524e5b208: Verifying Checksum [2020-09-29T22:08:28.844Z] 209524e5b208: Download complete [2020-09-29T22:08:29.443Z] 8529a6b9a6be: Verifying Checksum [2020-09-29T22:08:29.443Z] 8529a6b9a6be: Download complete [2020-09-29T22:08:36.204Z] Running on prd-centos7-docker-4c-2g-2041 in /w/workspace/dgexfoundry_device-sdk-go_PR-602 [Pipeline] { [Pipeline] ws [2020-09-29T22:08:36.263Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-09-29T22:08:38.915Z] using credential edgex-jenkins-ssh [2020-09-29T22:08:38.970Z] Cloning the remote Git repository [2020-09-29T22:08:39.780Z] 8529a6b9a6be: Pull complete [2020-09-29T22:08:39.002Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-29T22:08:39.068Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-09-29T22:08:39.119Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-29T22:08:39.119Z] > git --version # timeout=10 [2020-09-29T22:08:39.125Z] > git --version # 'git version 2.16.5' [2020-09-29T22:08:39.126Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T22:08:39.153Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-29T22:08:39.776Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-29T22:08:39.783Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-29T22:08:39.793Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-29T22:08:39.805Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-29T22:08:39.805Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T22:08:39.810Z] > 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-29T22:08:40.054Z] 45590311c82a: Pull complete [2020-09-29T22:08:40.303Z] Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 973e3351d72c08547700289f4b31505d6abbb4ce [2020-09-29T22:08:40.326Z] 69ca0ff8b7b3: Pull complete [2020-09-29T22:08:40.398Z] Merge succeeded, producing 973e3351d72c08547700289f4b31505d6abbb4ce [2020-09-29T22:08:40.399Z] Checking out Revision 973e3351d72c08547700289f4b31505d6abbb4ce (PR-602) [2020-09-29T22:08:40.314Z] > git config core.sparsecheckout # timeout=10 [2020-09-29T22:08:40.323Z] > git checkout -f 973e3351d72c08547700289f4b31505d6abbb4ce # timeout=10 [2020-09-29T22:08:40.372Z] > git remote # timeout=10 [2020-09-29T22:08:40.378Z] > git config --get remote.origin.url # timeout=10 [2020-09-29T22:08:40.382Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T22:08:40.386Z] > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 [2020-09-29T22:08:40.395Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-29T22:08:40.404Z] > git config core.sparsecheckout # timeout=10 [2020-09-29T22:08:40.411Z] > git checkout -f 973e3351d72c08547700289f4b31505d6abbb4ce # timeout=10 [2020-09-29T22:08:44.062Z] Commit message: "feat: implement Device SDK v2 common API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2020-09-29T22:08:44.644Z] 209524e5b208: Pull complete [2020-09-29T22:08:44.644Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-29T22:08:44.644Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-29T22:08:44.644Z] ---> 5bddaf1c2fca [2020-09-29T22:08:44.644Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] unstash [Pipeline] echo [2020-09-29T22:08:44.952Z] ========================================================= [2020-09-29T22:08:44.952Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-29T22:08:44.952Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-29T22:08:45.588Z] + 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-29T22:08:45.853Z] Sending build context to Docker daemon 3.449MB [2020-09-29T22:08:45.853Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-29T22:08:45.853Z] Step 2/8 : FROM ${BASE} [2020-09-29T22:08:46.118Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-29T22:08:46.118Z] df20fa9351a1: Pulling fs layer [2020-09-29T22:08:46.118Z] ed8968b2872e: Pulling fs layer [2020-09-29T22:08:46.118Z] a92cc7c5fd73: Pulling fs layer [2020-09-29T22:08:46.118Z] e871e8e8d7a9: Pulling fs layer [2020-09-29T22:08:46.118Z] e73272ec9a57: Pulling fs layer [2020-09-29T22:08:46.118Z] 1e910a182e73: Pulling fs layer [2020-09-29T22:08:46.118Z] 4e634b169226: Pulling fs layer [2020-09-29T22:08:46.118Z] e871e8e8d7a9: Waiting [2020-09-29T22:08:46.118Z] e73272ec9a57: Waiting [2020-09-29T22:08:46.118Z] 1e910a182e73: Waiting [2020-09-29T22:08:46.118Z] 4e634b169226: Waiting [2020-09-29T22:08:46.118Z] a92cc7c5fd73: Download complete [2020-09-29T22:08:46.118Z] ed8968b2872e: Verifying Checksum [2020-09-29T22:08:46.118Z] ed8968b2872e: Download complete [2020-09-29T22:08:46.118Z] e73272ec9a57: Verifying Checksum [2020-09-29T22:08:46.118Z] e73272ec9a57: Download complete [2020-09-29T22:08:46.118Z] df20fa9351a1: Verifying Checksum [2020-09-29T22:08:46.118Z] df20fa9351a1: Download complete [2020-09-29T22:08:46.118Z] 1e910a182e73: Verifying Checksum [2020-09-29T22:08:46.118Z] 1e910a182e73: Download complete [2020-09-29T22:08:46.397Z] df20fa9351a1: Pull complete [2020-09-29T22:08:46.659Z] ed8968b2872e: Pull complete [2020-09-29T22:08:46.659Z] a92cc7c5fd73: Pull complete [2020-09-29T22:08:47.262Z] ---> Running in 955e8d44ae72 [2020-09-29T22:08:47.534Z] Removing intermediate container 955e8d44ae72 [2020-09-29T22:08:47.534Z] ---> cfbc92d0df3a [2020-09-29T22:08:47.534Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-29T22:08:47.809Z] ---> Running in c87a7dd894d9 [2020-09-29T22:08:48.591Z] 4e634b169226: Verifying Checksum [2020-09-29T22:08:48.591Z] 4e634b169226: Download complete [2020-09-29T22:08:48.856Z] e871e8e8d7a9: Verifying Checksum [2020-09-29T22:08:48.856Z] e871e8e8d7a9: Download complete [2020-09-29T22:08:50.438Z] Removing intermediate container c87a7dd894d9 [2020-09-29T22:08:50.438Z] ---> 8ef500c36938 [2020-09-29T22:08:50.438Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-29T22:08:50.438Z] ---> Running in 4b6cbdf9aa7e [2020-09-29T22:08:51.875Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-29T22:08:52.855Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-29T22:08:53.448Z] OK: 142 MiB in 39 packages [2020-09-29T22:08:54.180Z] e871e8e8d7a9: Pull complete [2020-09-29T22:08:54.441Z] e73272ec9a57: Pull complete [2020-09-29T22:08:54.441Z] 1e910a182e73: Pull complete [2020-09-29T22:08:54.897Z] Removing intermediate container 4b6cbdf9aa7e [2020-09-29T22:08:54.897Z] ---> a814048418ae [2020-09-29T22:08:54.897Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-29T22:08:54.897Z] ---> Running in cfa6ae6a5e4c [2020-09-29T22:08:55.180Z] Removing intermediate container cfa6ae6a5e4c [2020-09-29T22:08:55.180Z] ---> b88fc97b02df [2020-09-29T22:08:55.180Z] Step 7/8 : COPY . . [2020-09-29T22:08:56.618Z] ---> 31d939d524b1 [2020-09-29T22:08:56.618Z] Step 8/8 : RUN go mod download [2020-09-29T22:08:56.893Z] ---> Running in 93978bef4b64 [2020-09-29T22:08:59.762Z] 4e634b169226: Pull complete [2020-09-29T22:08:59.762Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-29T22:08:59.762Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-29T22:08:59.762Z] ---> f7629b54cfaa [2020-09-29T22:08:59.762Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-29T22:08:59.762Z] ---> Running in eb081048668a [2020-09-29T22:09:00.025Z] Removing intermediate container eb081048668a [2020-09-29T22:09:00.025Z] ---> 16b1c8d92745 [2020-09-29T22:09:00.025Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-29T22:09:00.025Z] ---> Running in 87be0758eddb [2020-09-29T22:09:01.424Z] Removing intermediate container 87be0758eddb [2020-09-29T22:09:01.424Z] ---> bbf89c271d99 [2020-09-29T22:09:01.424Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-29T22:09:01.424Z] ---> Running in 56b44688c0d7 [2020-09-29T22:09:02.005Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-29T22:09:02.582Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-29T22:09:03.157Z] OK: 166 MiB in 39 packages [2020-09-29T22:09:03.735Z] Removing intermediate container 56b44688c0d7 [2020-09-29T22:09:03.735Z] ---> 8829a512e083 [2020-09-29T22:09:03.735Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-29T22:09:03.735Z] ---> Running in 27e5ab976e6a [2020-09-29T22:09:03.735Z] Removing intermediate container 27e5ab976e6a [2020-09-29T22:09:03.735Z] ---> 42fee816acc2 [2020-09-29T22:09:03.735Z] Step 7/8 : COPY . . [2020-09-29T22:09:05.130Z] ---> 85465d24d03b [2020-09-29T22:09:05.130Z] Step 8/8 : RUN go mod download [2020-09-29T22:09:05.130Z] ---> Running in b1e0d50c0e4d [2020-09-29T22:09:19.055Z] Removing intermediate container 93978bef4b64 [2020-09-29T22:09:19.055Z] ---> 95be36ac5ad6 [2020-09-29T22:09:19.055Z] Successfully built 95be36ac5ad6 [2020-09-29T22:09:19.055Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-29T22:09:19.450Z] + docker inspect -f . ci-base-image-arm64 [2020-09-29T22:09:19.450Z] . [Pipeline] withDockerContainer [2020-09-29T22:09:19.684Z] prd-ubuntu18.04-docker-arm64-4c-16g-2040 does not seem to be running inside a container [2020-09-29T22:09:19.749Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-29T22:09:21.606Z] $ docker top b3e5a68f727007474677708484863fe8cc548a69db869080c40635525ce8be19 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-29T22:09:23.034Z] + go version [2020-09-29T22:09:23.034Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-29T22:09:23.039Z] $ docker stop --time=1 b3e5a68f727007474677708484863fe8cc548a69db869080c40635525ce8be19 [2020-09-29T22:09:24.965Z] $ docker rm -f b3e5a68f727007474677708484863fe8cc548a69db869080c40635525ce8be19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-29T22:09:26.112Z] + docker inspect -f . ci-base-image-arm64 [2020-09-29T22:09:26.112Z] . [Pipeline] withDockerContainer [2020-09-29T22:09:26.380Z] prd-ubuntu18.04-docker-arm64-4c-16g-2040 does not seem to be running inside a container [2020-09-29T22:09:26.443Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-29T22:09:27.190Z] Removing intermediate container b1e0d50c0e4d [2020-09-29T22:09:27.190Z] ---> 0547cfe9f303 [2020-09-29T22:09:27.190Z] Successfully built 0547cfe9f303 [2020-09-29T22:09:27.190Z] Successfully tagged ci-base-image-x86_64:latest [2020-09-29T22:09:28.354Z] $ docker top 604ad003ab1268ba8d4c86e03e7f1e40c9f5fbefd77f683523c6529d185b4d26 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-09-29T22:09:29.776Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-29T22:09:29.776Z] . [Pipeline] withDockerContainer [2020-09-29T22:09:29.808Z] + make test [2020-09-29T22:09:29.808Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-29T22:09:29.881Z] prd-centos7-docker-4c-2g-2041 does not seem to be running inside a container [2020-09-29T22:09:29.931Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-29T22:09:30.709Z] $ docker top 587760dcb812359ad197b2ac9c0a342864080830161a75d69bb07c058fe493ac -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-29T22:09:31.228Z] + go version [2020-09-29T22:09:31.228Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-29T22:09:31.247Z] $ docker stop --time=1 587760dcb812359ad197b2ac9c0a342864080830161a75d69bb07c058fe493ac [2020-09-29T22:09:32.582Z] $ docker rm -f 587760dcb812359ad197b2ac9c0a342864080830161a75d69bb07c058fe493ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-29T22:09:33.436Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-29T22:09:33.436Z] . [Pipeline] withDockerContainer [2020-09-29T22:09:33.535Z] prd-centos7-docker-4c-2g-2041 does not seem to be running inside a container [2020-09-29T22:09:33.707Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-29T22:09:34.286Z] $ docker top 702cef51bffcbe1e430591f18d83c7270101c29d4cef518826e274b355cd0cc3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-29T22:09:34.771Z] + make test [2020-09-29T22:09:34.771Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-29T22:09:41.402Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-29T22:09:52.005Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-29T22:09:56.437Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-29T22:09:56.437Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-29T22:09:56.437Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-29T22:09:56.437Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.051s coverage: 21.9% of statements [2020-09-29T22:09:56.712Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.438s coverage: 95.7% of statements [2020-09-29T22:10:28.902Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.047s coverage: 8.6% of statements [2020-09-29T22:10:28.902Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.056s coverage: 21.7% of statements [2020-09-29T22:10:28.902Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-29T22:10:28.902Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.196s coverage: 39.5% of statements [2020-09-29T22:10:28.902Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-29T22:10:28.902Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.280s coverage: 65.4% of statements [2020-09-29T22:10:28.902Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-29T22:10:28.902Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-29T22:10:28.902Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-29T22:10:28.902Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-09-29T22:10:28.902Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.120s coverage: 52.6% of statements [2020-09-29T22:10:28.902Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-09-29T22:10:28.902Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.356s coverage: 68.9% of statements [2020-09-29T22:10:28.902Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-29T22:10:28.902Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-29T22:10:28.902Z] GO111MODULE=on go vet ./... [2020-09-29T22:10:31.024Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-29T22:10:31.024Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-29T22:10:31.024Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-29T22:10:31.024Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.119s coverage: 21.9% of statements [2020-09-29T22:10:33.661Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.183s coverage: 95.7% of statements [2020-09-29T22:10:35.581Z] gofmt -l . [2020-09-29T22:10:35.581Z] [ "`gofmt -l .`" = "" ] [2020-09-29T22:10:35.581Z] ./bin/test-attribution-txt.sh [2020-09-29T22:10:35.843Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-29T22:10:36.433Z] Stashed 1 file(s) [Pipeline] } [2020-09-29T22:10:36.442Z] $ docker stop --time=1 702cef51bffcbe1e430591f18d83c7270101c29d4cef518826e274b355cd0cc3 [2020-09-29T22:10:38.273Z] $ docker rm -f 702cef51bffcbe1e430591f18d83c7270101c29d4cef518826e274b355cd0cc3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-09-29T22:10:41.744Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-29T22:10:42.042Z] + ls -al . [2020-09-29T22:10:42.042Z] total 192 [2020-09-29T22:10:42.042Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 29 22:10 . [2020-09-29T22:10:42.042Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 29 22:08 .. [2020-09-29T22:10:42.042Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 29 22:08 bin [2020-09-29T22:10:42.042Z] -rw-r--r--. 1 jenkins jenkins 111789 Sep 29 22:10 coverage.out [2020-09-29T22:10:42.042Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 29 22:08 Dockerfile.build [2020-09-29T22:10:42.042Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 29 22:08 .dockerignore [2020-09-29T22:10:42.042Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 29 22:08 example [2020-09-29T22:10:42.042Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 29 22:08 .git [2020-09-29T22:10:42.042Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 29 22:08 .github [2020-09-29T22:10:42.042Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 29 22:08 .gitignore [2020-09-29T22:10:42.042Z] -rw-r--r--. 1 jenkins jenkins 517 Sep 29 22:10 go.mod [2020-09-29T22:10:42.042Z] -rw-r--r--. 1 jenkins jenkins 13650 Sep 29 22:10 go.sum [2020-09-29T22:10:42.042Z] drwxrwxr-x. 15 jenkins jenkins 211 Sep 29 22:08 internal [2020-09-29T22:10:42.042Z] -rw-rw-r--. 1 jenkins jenkins 785 Sep 29 22:08 Jenkinsfile [2020-09-29T22:10:42.042Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 29 22:08 LICENSE [2020-09-29T22:10:42.042Z] -rw-rw-r--. 1 jenkins jenkins 1013 Sep 29 22:08 Makefile [2020-09-29T22:10:42.042Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 29 22:08 openapi [2020-09-29T22:10:42.042Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 29 22:08 pkg [2020-09-29T22:10:42.042Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 29 22:08 README.md [2020-09-29T22:10:42.042Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 29 22:08 RELEASE-NOTES.txt [2020-09-29T22:10:42.042Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 29 22:08 .semver [2020-09-29T22:10:42.042Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 29 22:08 snap [2020-09-29T22:10:42.042Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 29 22:05 VERSION [2020-09-29T22:10:42.042Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 29 22:08 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-29T22:10:42.350Z] + 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=973e3351d72c08547700289f4b31505d6abbb4ce --label arch=amd64 --label version=0.0.0 . [2020-09-29T22:10:42.612Z] Sending build context to Docker daemon 3.563MB [2020-09-29T22:10:42.612Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-29T22:10:42.612Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-29T22:10:42.612Z] ---> 0547cfe9f303 [2020-09-29T22:10:42.612Z] Step 3/24 : ARG MAKE='make build' [2020-09-29T22:10:43.185Z] ---> Running in f63fddc36140 [2020-09-29T22:10:43.448Z] Removing intermediate container f63fddc36140 [2020-09-29T22:10:43.448Z] ---> 378ba5abd01b [2020-09-29T22:10:43.448Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-29T22:10:43.448Z] ---> Running in 38cee0111cb5 [2020-09-29T22:10:43.710Z] Removing intermediate container 38cee0111cb5 [2020-09-29T22:10:43.710Z] ---> bac0d7401d03 [2020-09-29T22:10:43.710Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-29T22:10:43.710Z] ---> Running in 3584dd53dfe7 [2020-09-29T22:10:43.973Z] Removing intermediate container 3584dd53dfe7 [2020-09-29T22:10:43.973Z] ---> 1d36cdfaf6bb [2020-09-29T22:10:43.973Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-29T22:10:43.973Z] ---> Running in 09885e062d67 [2020-09-29T22:10:44.920Z] Removing intermediate container 09885e062d67 [2020-09-29T22:10:44.920Z] ---> 11462b2c90dc [2020-09-29T22:10:44.920Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-29T22:10:44.920Z] ---> Running in 416763b74092 [2020-09-29T22:10:45.504Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-29T22:10:46.079Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-29T22:10:47.036Z] OK: 166 MiB in 39 packages [2020-09-29T22:10:47.298Z] Removing intermediate container 416763b74092 [2020-09-29T22:10:47.298Z] ---> f43c8990defc [2020-09-29T22:10:47.298Z] Step 8/24 : COPY . . [2020-09-29T22:10:48.690Z] ---> ff0a181b5f2b [2020-09-29T22:10:48.690Z] Step 9/24 : RUN ${MAKE} [2020-09-29T22:10:48.690Z] ---> Running in 9cd4e4ab1c65 [2020-09-29T22:10:48.951Z] 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-29T22:10:57.187Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-29T22:10:58.579Z] Removing intermediate container 9cd4e4ab1c65 [2020-09-29T22:10:58.579Z] ---> c297a3f2eb9b [2020-09-29T22:10:58.579Z] Step 10/24 : FROM scratch [2020-09-29T22:10:58.579Z] ---> [2020-09-29T22:10:58.579Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-29T22:10:58.841Z] ---> Running in e860bea52046 [2020-09-29T22:10:58.841Z] Removing intermediate container e860bea52046 [2020-09-29T22:10:58.841Z] ---> 0d2cafddcfa7 [2020-09-29T22:10:58.841Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-29T22:10:58.841Z] ---> Running in 1ddffd1feb08 [2020-09-29T22:10:59.103Z] Removing intermediate container 1ddffd1feb08 [2020-09-29T22:10:59.103Z] ---> 4a8d574c9e9e [2020-09-29T22:10:59.103Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-29T22:10:59.103Z] ---> Running in 9c05c1fbc200 [2020-09-29T22:10:59.364Z] Removing intermediate container 9c05c1fbc200 [2020-09-29T22:10:59.365Z] ---> c914897419da [2020-09-29T22:10:59.365Z] Step 14/24 : WORKDIR / [2020-09-29T22:10:59.941Z] ---> Running in 4dc2cf416e1c [2020-09-29T22:11:00.203Z] Removing intermediate container 4dc2cf416e1c [2020-09-29T22:11:00.203Z] ---> 611fc9adb0e0 [2020-09-29T22:11:00.203Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-29T22:11:00.777Z] ---> ea1d507585e8 [2020-09-29T22:11:00.777Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-29T22:11:00.777Z] ---> ceb02a6eafe0 [2020-09-29T22:11:00.777Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-29T22:11:01.038Z] ---> 47ec3a008f5e [2020-09-29T22:11:01.038Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-29T22:11:01.300Z] ---> 66c50f263616 [2020-09-29T22:11:01.300Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-29T22:11:01.561Z] ---> cc1a261dcfbf [2020-09-29T22:11:01.561Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-29T22:11:01.561Z] ---> Running in 86ffc00b51ff [2020-09-29T22:11:01.826Z] Removing intermediate container 86ffc00b51ff [2020-09-29T22:11:01.826Z] ---> ab6c37e8ed73 [2020-09-29T22:11:01.826Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-29T22:11:01.826Z] ---> Running in 470fb648f799 [2020-09-29T22:11:02.092Z] Removing intermediate container 470fb648f799 [2020-09-29T22:11:02.092Z] ---> b40e071d3db2 [2020-09-29T22:11:02.092Z] Step 22/24 : LABEL arch=amd64 [2020-09-29T22:11:02.092Z] ---> Running in f732995d2206 [2020-09-29T22:11:02.354Z] Removing intermediate container f732995d2206 [2020-09-29T22:11:02.354Z] ---> 6fef6acaad89 [2020-09-29T22:11:02.354Z] Step 23/24 : LABEL git_sha=973e3351d72c08547700289f4b31505d6abbb4ce [2020-09-29T22:11:02.354Z] ---> Running in 4deb027c0803 [2020-09-29T22:11:02.616Z] Removing intermediate container 4deb027c0803 [2020-09-29T22:11:02.616Z] ---> 5a721f8f4e81 [2020-09-29T22:11:02.616Z] Step 24/24 : LABEL version=0.0.0 [2020-09-29T22:11:02.616Z] ---> Running in 905559e9dced [2020-09-29T22:11:02.878Z] Removing intermediate container 905559e9dced [2020-09-29T22:11:02.878Z] ---> 807a6243d5f2 [2020-09-29T22:11:02.878Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-29T22:11:02.878Z] Successfully built 807a6243d5f2 [2020-09-29T22:11:02.878Z] 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-29T22:11:06.003Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.135s coverage: 8.6% of statements [2020-09-29T22:11:06.003Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.149s coverage: 21.7% of statements [2020-09-29T22:11:06.003Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-29T22:11:06.003Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.554s coverage: 39.5% of statements [2020-09-29T22:11:06.003Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-29T22:11:06.003Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.810s coverage: 65.4% of statements [2020-09-29T22:11:06.003Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-29T22:11:06.003Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-29T22:11:06.003Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-29T22:11:06.003Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-09-29T22:11:06.003Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.198s coverage: 52.6% of statements [2020-09-29T22:11:06.003Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-09-29T22:11:06.003Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.648s coverage: 68.9% of statements [2020-09-29T22:11:06.003Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-29T22:11:06.003Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-29T22:11:06.003Z] GO111MODULE=on go vet ./... [2020-09-29T22:11:33.072Z] gofmt -l . [2020-09-29T22:11:33.072Z] [ "`gofmt -l .`" = "" ] [2020-09-29T22:11:33.072Z] ./bin/test-attribution-txt.sh [2020-09-29T22:11:33.072Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-29T22:11:33.686Z] Warning: overwriting stash ‘coverage-report’ [2020-09-29T22:11:34.408Z] Stashed 1 file(s) [Pipeline] } [2020-09-29T22:11:34.359Z] $ docker stop --time=1 604ad003ab1268ba8d4c86e03e7f1e40c9f5fbefd77f683523c6529d185b4d26 [2020-09-29T22:11:36.577Z] $ docker rm -f 604ad003ab1268ba8d4c86e03e7f1e40c9f5fbefd77f683523c6529d185b4d26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-29T22:11:38.071Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-29T22:11:38.412Z] + ls -al . [2020-09-29T22:11:38.412Z] total 232 [2020-09-29T22:11:38.412Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 29 22:11 . [2020-09-29T22:11:38.412Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 22:08 .. [2020-09-29T22:11:38.412Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 29 22:08 .dockerignore [2020-09-29T22:11:38.412Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 22:08 .git [2020-09-29T22:11:38.412Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 22:08 .github [2020-09-29T22:11:38.412Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 29 22:08 .gitignore [2020-09-29T22:11:38.412Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 22:08 .semver [2020-09-29T22:11:38.412Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 29 22:08 Dockerfile.build [2020-09-29T22:11:38.412Z] -rw-rw-r-- 1 jenkins jenkins 785 Sep 29 22:08 Jenkinsfile [2020-09-29T22:11:38.412Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 29 22:08 LICENSE [2020-09-29T22:11:38.412Z] -rw-rw-r-- 1 jenkins jenkins 1013 Sep 29 22:08 Makefile [2020-09-29T22:11:38.412Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 29 22:08 README.md [2020-09-29T22:11:38.412Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 29 22:08 RELEASE-NOTES.txt [2020-09-29T22:11:38.412Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 29 22:05 VERSION [2020-09-29T22:11:38.412Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 22:08 bin [2020-09-29T22:11:38.412Z] -rw-r--r-- 1 jenkins jenkins 111789 Sep 29 22:11 coverage.out [2020-09-29T22:11:38.412Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 22:08 example [2020-09-29T22:11:38.412Z] -rw-r--r-- 1 jenkins jenkins 517 Sep 29 22:11 go.mod [2020-09-29T22:11:38.412Z] -rw-r--r-- 1 jenkins jenkins 13650 Sep 29 22:11 go.sum [2020-09-29T22:11:38.412Z] drwxrwxr-x 15 jenkins jenkins 4096 Sep 29 22:08 internal [2020-09-29T22:11:38.412Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 22:08 openapi [2020-09-29T22:11:38.412Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 29 22:08 pkg [2020-09-29T22:11:38.412Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 22:08 snap [2020-09-29T22:11:38.412Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 29 22:08 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-29T22:11:38.764Z] + 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=973e3351d72c08547700289f4b31505d6abbb4ce --label arch=arm64 --label version=0.0.0 . [2020-09-29T22:11:39.367Z] Sending build context to Docker daemon 3.562MB [2020-09-29T22:11:39.367Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-29T22:11:39.367Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-29T22:11:39.367Z] ---> 95be36ac5ad6 [2020-09-29T22:11:39.367Z] Step 3/24 : ARG MAKE='make build' [2020-09-29T22:11:39.645Z] ---> Running in 03ce6bdd4c02 [2020-09-29T22:11:40.240Z] Removing intermediate container 03ce6bdd4c02 [2020-09-29T22:11:40.240Z] ---> 2130b25da6c4 [2020-09-29T22:11:40.240Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-29T22:11:40.240Z] ---> Running in c161dfc2abf6 [2020-09-29T22:11:40.837Z] Removing intermediate container c161dfc2abf6 [2020-09-29T22:11:40.837Z] ---> a978dd111a33 [2020-09-29T22:11:40.837Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-29T22:11:40.837Z] ---> Running in 74a61be6a227 [2020-09-29T22:11:41.431Z] Removing intermediate container 74a61be6a227 [2020-09-29T22:11:41.431Z] ---> 98dcb6a0d788 [2020-09-29T22:11:41.431Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-29T22:11:41.431Z] ---> Running in d8ca0d5c0aed [2020-09-29T22:11:44.052Z] Removing intermediate container d8ca0d5c0aed [2020-09-29T22:11:44.052Z] ---> b9a150e2940a [2020-09-29T22:11:44.052Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-29T22:11:44.052Z] ---> Running in 33dfe7f094a7 [2020-09-29T22:11:45.487Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-29T22:11:46.084Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-29T22:11:47.063Z] OK: 142 MiB in 39 packages [2020-09-29T22:11:48.045Z] Removing intermediate container 33dfe7f094a7 [2020-09-29T22:11:48.045Z] ---> e384bbcd05e5 [2020-09-29T22:11:48.045Z] Step 8/24 : COPY . . [2020-09-29T22:11:49.482Z] ---> 45ef625ac02f [2020-09-29T22:11:49.482Z] Step 9/24 : RUN ${MAKE} [2020-09-29T22:11:49.756Z] ---> Running in 257d774cc2e4 [2020-09-29T22:11:51.188Z] 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-29T22:12:18.022Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-29T22:12:18.022Z] Removing intermediate container 257d774cc2e4 [2020-09-29T22:12:18.022Z] ---> a22d5b7d9e77 [2020-09-29T22:12:18.022Z] Step 10/24 : FROM scratch [2020-09-29T22:12:18.022Z] ---> [2020-09-29T22:12:18.022Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-29T22:12:18.022Z] ---> Running in d11f96541f96 [2020-09-29T22:12:18.022Z] Removing intermediate container d11f96541f96 [2020-09-29T22:12:18.022Z] ---> ac7094e447a6 [2020-09-29T22:12:18.022Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-29T22:12:18.292Z] ---> Running in b81de74381b9 [2020-09-29T22:12:18.564Z] Removing intermediate container b81de74381b9 [2020-09-29T22:12:18.564Z] ---> 6a59cd682e1e [2020-09-29T22:12:18.564Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-29T22:12:18.564Z] ---> Running in 300f25eedc90 [2020-09-29T22:12:19.159Z] Removing intermediate container 300f25eedc90 [2020-09-29T22:12:19.159Z] ---> 1150f35645fc [2020-09-29T22:12:19.159Z] Step 14/24 : WORKDIR / [2020-09-29T22:12:19.159Z] ---> Running in cd737628ac37 [2020-09-29T22:12:19.766Z] Removing intermediate container cd737628ac37 [2020-09-29T22:12:19.767Z] ---> fba9e4342b16 [2020-09-29T22:12:19.767Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-29T22:12:20.746Z] ---> 17cc8f742cad [2020-09-29T22:12:20.746Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-29T22:12:21.724Z] ---> 75f36e5b6356 [2020-09-29T22:12:21.724Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-29T22:12:22.348Z] ---> 91343d413ce0 [2020-09-29T22:12:22.348Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-29T22:12:22.944Z] ---> 56e377451ce7 [2020-09-29T22:12:22.944Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-29T22:12:23.541Z] ---> a7c7e0346252 [2020-09-29T22:12:23.541Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-29T22:12:23.815Z] ---> Running in 697a46540d09 [2020-09-29T22:12:24.417Z] Removing intermediate container 697a46540d09 [2020-09-29T22:12:24.417Z] ---> 09f649aa5e4d [2020-09-29T22:12:24.417Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-29T22:12:24.417Z] ---> Running in dd284f499331 [2020-09-29T22:12:24.704Z] Removing intermediate container dd284f499331 [2020-09-29T22:12:24.704Z] ---> 95ff4bec144c [2020-09-29T22:12:24.704Z] Step 22/24 : LABEL arch=arm64 [2020-09-29T22:12:24.981Z] ---> Running in 957737557c2e [2020-09-29T22:12:25.253Z] Removing intermediate container 957737557c2e [2020-09-29T22:12:25.253Z] ---> 864a251dcc95 [2020-09-29T22:12:25.253Z] Step 23/24 : LABEL git_sha=973e3351d72c08547700289f4b31505d6abbb4ce [2020-09-29T22:12:25.527Z] ---> Running in 3b029122fff6 [2020-09-29T22:12:26.123Z] Removing intermediate container 3b029122fff6 [2020-09-29T22:12:26.123Z] ---> c7ac5150d641 [2020-09-29T22:12:26.123Z] Step 24/24 : LABEL version=0.0.0 [2020-09-29T22:12:26.123Z] ---> Running in a4e75aaa3f7f [2020-09-29T22:12:26.397Z] Removing intermediate container a4e75aaa3f7f [2020-09-29T22:12:26.397Z] ---> 8ac1db8714d5 [2020-09-29T22:12:26.397Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-29T22:12:26.668Z] Successfully built 8ac1db8714d5 [2020-09-29T22:12:26.668Z] 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-29T22:12:28.782Z] provisioning config files... [2020-09-29T22:12:28.800Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/config1240201617651937624tmp [Pipeline] { [Pipeline] sh [2020-09-29T22:12:29.205Z] + set +x [2020-09-29T22:12:29.205Z] + curl -s https://codecov.io/bash [2020-09-29T22:12:29.205Z] + bash -s -- [2020-09-29T22:12:29.472Z] [2020-09-29T22:12:29.472Z] _____ _ [2020-09-29T22:12:29.472Z] / ____| | | [2020-09-29T22:12:29.472Z] | | ___ __| | ___ ___ _____ __ [2020-09-29T22:12:29.472Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-09-29T22:12:29.472Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-09-29T22:12:29.472Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-09-29T22:12:29.472Z] Bash-20200917-4e8f14b [2020-09-29T22:12:29.472Z] [2020-09-29T22:12:29.472Z] [2020-09-29T22:12:29.472Z] ==> Jenkins CI detected. [2020-09-29T22:12:29.472Z] project root: . [2020-09-29T22:12:29.472Z] --> token set from env [2020-09-29T22:12:29.472Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-09-29T22:12:29.472Z] ==> Running gcov in . (disable via -X gcov) [2020-09-29T22:12:29.472Z] ==> Python coveragepy not found [2020-09-29T22:12:29.472Z] ==> Searching for coverage reports in: [2020-09-29T22:12:29.472Z] + . [2020-09-29T22:12:29.472Z] -> Found 1 reports [2020-09-29T22:12:29.472Z] ==> Detecting git/mercurial file structure [2020-09-29T22:12:29.736Z] ==> Reading reports [2020-09-29T22:12:29.736Z] + ./coverage.out bytes=111789 [2020-09-29T22:12:29.736Z] ==> Appending adjustments [2020-09-29T22:12:29.736Z] https://docs.codecov.io/docs/fixing-reports [2020-09-29T22:12:30.004Z] + Found adjustments [2020-09-29T22:12:30.004Z] ==> Gzipping contents [2020-09-29T22:12:30.004Z] ==> Uploading reports [2020-09-29T22:12:30.004Z] url: https://codecov.io [2020-09-29T22:12:30.004Z] query: branch=PR-602&commit=973e3351d72c08547700289f4b31505d6abbb4ce&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-602%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=602&job=&cmd_args= [2020-09-29T22:12:30.004Z] -> Pinging Codecov [2020-09-29T22:12:30.004Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-602&commit=973e3351d72c08547700289f4b31505d6abbb4ce&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-602%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=602&job=&cmd_args= [2020-09-29T22:12:30.582Z] -> Uploading to [2020-09-29T22:12:30.582Z] https://storage.googleapis.com/codecov/v4/raw/2020-09-29/7E55EF52A471D76F132DFD9A03CDDE97/973e3351d72c08547700289f4b31505d6abbb4ce/d0d7d9f1-7d4b-428d-80d2-249e84b01822.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200929%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200929T221230Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e7c4c84a311fddace1ae67936825e15b9c9a657e2477cf6f57f845b6b3013d95 [2020-09-29T22:12:30.582Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-09-29T22:12:30.582Z] Dload Upload Total Spent Left Speed [2020-09-29T22:12:31.165Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18518 0 0 100 18518 0 38032 --:--:-- --:--:-- --:--:-- 38102 [2020-09-29T22:12:31.165Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/973e3351d72c08547700289f4b31505d6abbb4ce [Pipeline] } [2020-09-29T22:12:31.184Z] 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-29T22:12:34.015Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T22:12:34.613Z] ---> package-listing.sh [2020-09-29T22:12:34.613Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-29T22:12:34.613Z] ++ facter osfamily [2020-09-29T22:12:34.879Z] + OS_FAMILY=redhat [2020-09-29T22:12:34.879Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-602 [2020-09-29T22:12:34.879Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-29T22:12:34.879Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-29T22:12:34.879Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-29T22:12:34.879Z] + PACKAGES=/tmp/packages_start.txt [2020-09-29T22:12:34.879Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-602 ']' [2020-09-29T22:12:34.879Z] + PACKAGES=/tmp/packages_end.txt [2020-09-29T22:12:34.879Z] + case "${OS_FAMILY}" in [2020-09-29T22:12:34.879Z] + rpm -qa [2020-09-29T22:12:34.879Z] + sort [2020-09-29T22:12:39.153Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-29T22:12:39.153Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-29T22:12:39.153Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-29T22:12:39.153Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-602 ']' [2020-09-29T22:12:39.153Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-602/archives/ [2020-09-29T22:12:39.153Z] + 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-29T22:12:39.985Z] provisioning config files... [2020-09-29T22:12:40.027Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-602@tmp/config1224246001695242554tmp [Pipeline] { [Pipeline] echo [2020-09-29T22:12:40.114Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T22:12:40.491Z] ---> create-netrc.sh [Pipeline] } [2020-09-29T22:12:40.520Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-09-29T22:12:40.747Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T22:12:41.147Z] ---> python-tools-install.sh [2020-09-29T22:12:41.147Z] Generating Requirements File [2020-09-29T22:14:17.963Z] Python 3.6.8 [2020-09-29T22:14:17.963Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-09-29T22:14:17.963Z] aiohttp==3.6.2 [2020-09-29T22:14:17.963Z] appdirs==1.4.3 [2020-09-29T22:14:17.963Z] argcomplete==1.12.1 [2020-09-29T22:14:17.964Z] aspy.yaml==1.3.0 [2020-09-29T22:14:17.964Z] async-timeout==3.0.1 [2020-09-29T22:14:17.964Z] attrs==19.3.0 [2020-09-29T22:14:17.964Z] Babel==2.8.0 [2020-09-29T22:14:17.964Z] beautifulsoup4==4.8.2 [2020-09-29T22:14:17.964Z] boto3==1.11.6 [2020-09-29T22:14:17.964Z] botocore==1.14.6 [2020-09-29T22:14:17.964Z] bs4==0.0.1 [2020-09-29T22:14:17.964Z] cachetools==4.1.1 [2020-09-29T22:14:17.964Z] certifi==2019.11.28 [2020-09-29T22:14:17.964Z] cffi==1.14.3 [2020-09-29T22:14:17.964Z] cfgv==2.0.1 [2020-09-29T22:14:17.964Z] chardet==3.0.4 [2020-09-29T22:14:17.964Z] click==7.1 [2020-09-29T22:14:17.964Z] cliff==3.4.0 [2020-09-29T22:14:17.964Z] cmd2==1.3.10 [2020-09-29T22:14:17.964Z] colorama==0.4.3 [2020-09-29T22:14:17.964Z] cryptography==3.1.1 [2020-09-29T22:14:17.964Z] debtcollector==2.2.0 [2020-09-29T22:14:17.964Z] decorator==4.4.2 [2020-09-29T22:14:17.964Z] defusedxml==0.6.0 [2020-09-29T22:14:17.964Z] Deprecated==1.2.7 [2020-09-29T22:14:17.964Z] distlib==0.3.1 [2020-09-29T22:14:17.964Z] distro==1.2.0 [2020-09-29T22:14:17.964Z] dnspython==1.16.0 [2020-09-29T22:14:17.964Z] docker==4.2.0 [2020-09-29T22:14:17.964Z] docutils==0.15.2 [2020-09-29T22:14:17.964Z] dogpile.cache==1.0.2 [2020-09-29T22:14:17.964Z] email-validator==1.0.5 [2020-09-29T22:14:17.964Z] filelock==3.0.12 [2020-09-29T22:14:17.964Z] future==0.18.2 [2020-09-29T22:14:17.964Z] google-auth==1.22.0 [2020-09-29T22:14:17.964Z] httplib2==0.17.0 [2020-09-29T22:14:17.964Z] identify==1.4.11 [2020-09-29T22:14:17.964Z] idna==2.9 [2020-09-29T22:14:17.964Z] idna-ssl==1.1.0 [2020-09-29T22:14:17.964Z] importlib-metadata==1.7.0 [2020-09-29T22:14:17.964Z] importlib-resources==1.5.0 [2020-09-29T22:14:17.964Z] iso8601==0.1.13 [2020-09-29T22:14:17.964Z] Jinja2==2.11.1 [2020-09-29T22:14:17.964Z] jmespath==0.10.0 [2020-09-29T22:14:17.964Z] jsonpatch==1.26 [2020-09-29T22:14:17.964Z] jsonpointer==2.0 [2020-09-29T22:14:17.964Z] jsonschema==3.2.0 [2020-09-29T22:14:17.964Z] keystoneauth1==4.2.1 [2020-09-29T22:14:17.964Z] kubernetes==11.0.0 [2020-09-29T22:14:17.964Z] lftools==0.34.2 [2020-09-29T22:14:17.964Z] lxml==4.5.0 [2020-09-29T22:14:17.964Z] MarkupSafe==0.23 [2020-09-29T22:14:17.964Z] msgpack==1.0.0 [2020-09-29T22:14:17.964Z] multi-key-dict==2.0.3 [2020-09-29T22:14:17.964Z] multidict==4.7.6 [2020-09-29T22:14:17.964Z] munch==2.5.0 [2020-09-29T22:14:17.964Z] netaddr==0.8.0 [2020-09-29T22:14:17.964Z] netifaces==0.10.9 [2020-09-29T22:14:17.964Z] niet==1.4.2 [2020-09-29T22:14:17.964Z] nodeenv==1.3.5 [2020-09-29T22:14:17.964Z] oauth2client==4.1.3 [2020-09-29T22:14:17.964Z] oauthlib==3.1.0 [2020-09-29T22:14:17.964Z] openstacksdk==0.50.0 [2020-09-29T22:14:17.964Z] os-client-config==2.1.0 [2020-09-29T22:14:17.964Z] os-service-types==1.7.0 [2020-09-29T22:14:17.964Z] osc-lib==2.2.1 [2020-09-29T22:14:17.964Z] oslo.config==8.3.2 [2020-09-29T22:14:17.964Z] oslo.context==3.1.1 [2020-09-29T22:14:17.964Z] oslo.i18n==5.0.1 [2020-09-29T22:14:17.964Z] oslo.log==4.4.0 [2020-09-29T22:14:17.964Z] oslo.serialization==4.0.1 [2020-09-29T22:14:17.964Z] oslo.utils==4.6.0 [2020-09-29T22:14:17.964Z] packaging==20.4 [2020-09-29T22:14:17.964Z] pbr==5.4.4 [2020-09-29T22:14:17.964Z] pluggy==0.13.1 [2020-09-29T22:14:17.964Z] prettytable==0.7.2 [2020-09-29T22:14:17.964Z] py==1.9.0 [2020-09-29T22:14:17.964Z] pyasn1==0.4.8 [2020-09-29T22:14:17.964Z] pyasn1-modules==0.2.8 [2020-09-29T22:14:17.964Z] pycparser==2.20 [2020-09-29T22:14:17.964Z] pygerrit2==2.0.10 [2020-09-29T22:14:17.964Z] PyGithub==1.46 [2020-09-29T22:14:17.964Z] pyinotify==0.9.6 [2020-09-29T22:14:17.964Z] PyJWT==1.7.1 [2020-09-29T22:14:17.964Z] pyparsing==2.4.7 [2020-09-29T22:14:17.964Z] pyperclip==1.8.0 [2020-09-29T22:14:17.964Z] pyroute2==0.4.13 [2020-09-29T22:14:17.964Z] pyrsistent==0.15.7 [2020-09-29T22:14:17.964Z] PySocks==1.6.8 [2020-09-29T22:14:17.964Z] python-cinderclient==7.2.0 [2020-09-29T22:14:17.964Z] python-dateutil==2.8.1 [2020-09-29T22:14:17.964Z] python-heatclient==2.2.1 [2020-09-29T22:14:17.964Z] python-jenkins==1.7.0 [2020-09-29T22:14:17.964Z] python-keystoneclient==4.1.1 [2020-09-29T22:14:17.964Z] python-magnumclient==3.2.1 [2020-09-29T22:14:17.964Z] python-novaclient==17.2.1 [2020-09-29T22:14:17.964Z] python-openstackclient==5.3.1 [2020-09-29T22:14:17.964Z] python-swiftclient==3.10.1 [2020-09-29T22:14:17.964Z] pytz==2020.1 [2020-09-29T22:14:17.964Z] PyYAML==5.3 [2020-09-29T22:14:17.964Z] requests==2.23.0 [2020-09-29T22:14:17.964Z] requests-oauthlib==1.3.0 [2020-09-29T22:14:17.964Z] requestsexceptions==1.4.0 [2020-09-29T22:14:17.964Z] rfc3986==1.4.0 [2020-09-29T22:14:17.964Z] rpm==4.11.3 [2020-09-29T22:14:17.964Z] rsa==4.0 [2020-09-29T22:14:17.964Z] ruamel.yaml==0.16.10 [2020-09-29T22:14:17.964Z] ruamel.yaml.clib==0.2.0 [2020-09-29T22:14:17.964Z] s3transfer==0.3.3 [2020-09-29T22:14:17.964Z] shade==1.27.2 [2020-09-29T22:14:17.964Z] simplejson==3.17.2 [2020-09-29T22:14:17.964Z] six==1.14.0 [2020-09-29T22:14:17.964Z] soupsieve==2.0 [2020-09-29T22:14:17.964Z] stevedore==3.2.2 [2020-09-29T22:14:17.964Z] tabulate==0.8.6 [2020-09-29T22:14:17.964Z] toml==0.10.0 [2020-09-29T22:14:17.964Z] tox==3.20.0 [2020-09-29T22:14:17.964Z] tqdm==4.43.0 [2020-09-29T22:14:17.964Z] typing-extensions==3.7.4.3 [2020-09-29T22:14:17.964Z] urllib3==1.25.8 [2020-09-29T22:14:17.964Z] virtualenv==20.0.31 [2020-09-29T22:14:17.964Z] wcwidth==0.2.5 [2020-09-29T22:14:17.964Z] websocket-client==0.57.0 [2020-09-29T22:14:17.964Z] wrapt==1.12.1 [2020-09-29T22:14:17.964Z] xdg==3.0.2 [2020-09-29T22:14:17.964Z] xmltodict==0.12.0 [2020-09-29T22:14:17.964Z] yarl==1.6.0 [2020-09-29T22:14:17.964Z] yq==2.11.1 [2020-09-29T22:14:17.964Z] zipp==3.2.0 [2020-09-29T22:14:17.964Z] Cache entry deserialization failed, entry ignored [2020-09-29T22:14:18.547Z] 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-29T22:14:21.884Z] Python 2.7.5 [2020-09-29T22:14:22.468Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-09-29T22:14:23.053Z] 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-29T22:14:23.053Z] ansible==2.9.7 [2020-09-29T22:14:23.053Z] Babel==0.9.6 [2020-09-29T22:14:23.053Z] backports.ssl-match-hostname==3.5.0.1 [2020-09-29T22:14:23.053Z] beautifulsoup4==4.4.1 [2020-09-29T22:14:23.053Z] bodhi==2.11.0 [2020-09-29T22:14:23.053Z] bodhi-client==2.11.0 [2020-09-29T22:14:23.053Z] CCColUtils==1.4 [2020-09-29T22:14:23.053Z] cffi==1.6.0 [2020-09-29T22:14:23.053Z] chardet==2.2.1 [2020-09-29T22:14:23.053Z] click==6.7 [2020-09-29T22:14:23.053Z] cloud-init==18.5 [2020-09-29T22:14:23.053Z] configobj==4.7.2 [2020-09-29T22:14:23.053Z] cryptography==1.7.2 [2020-09-29T22:14:23.053Z] decorator==3.4.0 [2020-09-29T22:14:23.053Z] distro==1.2.0 [2020-09-29T22:14:23.053Z] enum34==1.0.4 [2020-09-29T22:14:23.053Z] fedpkg==1.38 [2020-09-29T22:14:23.053Z] futures==3.1.1 [2020-09-29T22:14:23.053Z] gitdb==0.6.4 [2020-09-29T22:14:23.053Z] GitPython==1.0.1 [2020-09-29T22:14:23.053Z] html5lib==0.999 [2020-09-29T22:14:23.053Z] httplib2==0.9.2 [2020-09-29T22:14:23.053Z] idna==2.4 [2020-09-29T22:14:23.053Z] iniparse==0.4 [2020-09-29T22:14:23.053Z] ipaddress==1.0.16 [2020-09-29T22:14:23.053Z] IPy==0.75 [2020-09-29T22:14:23.053Z] javapackages==1.0.0 [2020-09-29T22:14:23.053Z] Jinja2==2.7.2 [2020-09-29T22:14:23.053Z] jmespath==0.9.4 [2020-09-29T22:14:23.053Z] jsonpatch==1.2 [2020-09-29T22:14:23.053Z] jsonpointer==1.9 [2020-09-29T22:14:23.053Z] kerberos==1.1 [2020-09-29T22:14:23.053Z] kitchen==1.1.1 [2020-09-29T22:14:23.053Z] langtable==0.0.31 [2020-09-29T22:14:23.053Z] lockfile==0.9.1 [2020-09-29T22:14:23.053Z] lxml==3.2.1 [2020-09-29T22:14:23.053Z] MarkupSafe==0.11 [2020-09-29T22:14:23.053Z] munch==2.0.2 [2020-09-29T22:14:23.053Z] offtrac==0.1.0 [2020-09-29T22:14:23.053Z] openidc-client==0.6.0 [2020-09-29T22:14:23.053Z] packagedb-cli==2.14.1 [2020-09-29T22:14:23.053Z] paramiko==2.1.1 [2020-09-29T22:14:23.053Z] perf==0.1 [2020-09-29T22:14:23.053Z] ply==3.4 [2020-09-29T22:14:23.053Z] policycoreutils-default-encoding==0.1 [2020-09-29T22:14:23.053Z] prettytable==0.7.2 [2020-09-29T22:14:23.053Z] pyasn1==0.1.9 [2020-09-29T22:14:23.053Z] pycparser==2.14 [2020-09-29T22:14:23.053Z] pycurl==7.19.0 [2020-09-29T22:14:23.053Z] pygobject==3.22.0 [2020-09-29T22:14:23.053Z] pygpgme==0.3 [2020-09-29T22:14:23.053Z] pyliblzma==0.5.3 [2020-09-29T22:14:23.053Z] pyOpenSSL==0.13.1 [2020-09-29T22:14:23.053Z] pyparsing==1.5.6 [2020-09-29T22:14:23.053Z] pyserial==2.6 [2020-09-29T22:14:23.053Z] python-augeas==0.5.0 [2020-09-29T22:14:23.053Z] python-bugzilla==2.3.0 [2020-09-29T22:14:23.053Z] python-dateutil==1.5 [2020-09-29T22:14:23.053Z] python-fedora==0.10.0 [2020-09-29T22:14:23.053Z] python-linux-procfs==0.4.9 [2020-09-29T22:14:23.053Z] python-yubico==1.2.3 [2020-09-29T22:14:23.053Z] pyudev==0.15 [2020-09-29T22:14:23.053Z] pyusb==1.0.0b1 [2020-09-29T22:14:23.053Z] pyxattr==0.5.1 [2020-09-29T22:14:23.053Z] PyYAML==3.10 [2020-09-29T22:14:23.053Z] requests==2.6.0 [2020-09-29T22:14:23.053Z] requests-kerberos==0.7.0 [2020-09-29T22:14:23.053Z] rpkg==1.60 [2020-09-29T22:14:23.053Z] schedutils==0.4 [2020-09-29T22:14:23.053Z] seobject==0.1 [2020-09-29T22:14:23.053Z] sepolicy==1.1 [2020-09-29T22:14:23.053Z] six==1.9.0 [2020-09-29T22:14:23.053Z] smmap==0.9.0 [2020-09-29T22:14:23.053Z] urlgrabber==3.10 [2020-09-29T22:14:23.053Z] urllib3==1.10.2 [2020-09-29T22:14:23.053Z] virtualenv==15.1.0 [2020-09-29T22:14:23.053Z] yum-langpacks==0.4.2 [2020-09-29T22:14:23.053Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-09-29T22:14:23.072Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T22:14:23.409Z] ---> sudo-logs.sh [2020-09-29T22:14:23.409Z] Archiving 'sudo' log.. [Pipeline] echo [2020-09-29T22:14:23.687Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T22:14:23.997Z] ---> job-cost.sh [2020-09-29T22:14:23.997Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-n3w4 [2020-09-29T22:14:34.058Z] Cache entry deserialization failed, entry ignored [2020-09-29T22:14:34.347Z] Cache entry deserialization failed, entry ignored [2020-09-29T22:14:35.311Z] Cache entry deserialization failed, entry ignored [2020-09-29T22:14:35.311Z] Cache entry deserialization failed, entry ignored [2020-09-29T22:14:35.311Z] Cache entry deserialization failed, entry ignored [2020-09-29T22:14:35.599Z] Cache entry deserialization failed, entry ignored [2020-09-29T22:14:35.599Z] Cache entry deserialization failed, entry ignored [2020-09-29T22:14:35.873Z] Cache entry deserialization failed, entry ignored [2020-09-29T22:14:35.873Z] Cache entry deserialization failed, entry ignored [2020-09-29T22:14:36.141Z] Cache entry deserialization failed, entry ignored [2020-09-29T22:14:36.141Z] Cache entry deserialization failed, entry ignored [2020-09-29T22:14:36.408Z] Cache entry deserialization failed, entry ignored [2020-09-29T22:14:36.408Z] Cache entry deserialization failed, entry ignored [2020-09-29T22:14:40.650Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-09-29T22:15:19.580Z] 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-29T22:15:19.580Z] [2020-09-29T22:15:19.580Z] We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. [2020-09-29T22:15:19.580Z] [2020-09-29T22:15:19.580Z] 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-29T22:15:19.580Z] lf-activate-venv(): INFO: Adding /tmp/venv-n3w4/bin to PATH [2020-09-29T22:15:19.580Z] INFO: No Stack... [2020-09-29T22:15:19.580Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-09-29T22:15:19.580Z] INFO: Archiving Costs [Pipeline] echo [2020-09-29T22:15:19.600Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T22:15:19.913Z] ---> logs-deploy.sh [2020-09-29T22:15:19.913Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-602/3 [2020-09-29T22:15:19.913Z] INFO: archiving workspace using pattern(s): [2020-09-29T22:15:21.845Z] Archives upload complete. [2020-09-29T22:15:21.845Z] INFO: archiving logs to Nexus