Pull request #614 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6d170b70e1a04a00d380c7c5d579fc072917eff5+833c05b782f270c396ee40879762f076aaf9331e (660e8087489dd35c29982b926b32e5bd3359e430) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3697 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [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-614 # 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 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 6d170b70e1a04a00d380c7c5d579fc072917eff5 Merge succeeded, producing 6d170b70e1a04a00d380c7c5d579fc072917eff5 Checking out Revision 6d170b70e1a04a00d380c7c5d579fc072917eff5 (PR-614) > 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/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d170b70e1a04a00d380c7c5d579fc072917eff5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d170b70e1a04a00d380c7c5d579fc072917eff5 # timeout=10 Commit message: "build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-06T06:37:22.017Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-06T06:37:22.248Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-06T06:37:22.346Z] ========================================================= [2020-10-06T06:37:22.346Z] EdgeX Global Pipelines Version Info [2020-10-06T06:37:22.346Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1179726d2677d63f569ab050fb83b666aaf36d55 # timeout=10 [2020-10-06T06:37:25.315Z] ------------------- [2020-10-06T06:37:25.315Z] stable info: [2020-10-06T06:37:25.315Z] ------------------- [2020-10-06T06:37:25.315Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-06T06:37:25.315Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-06T06:37:25.315Z] Message: update stable to v1.0.131 [2020-10-06T06:37:26.316Z] ------------------- [2020-10-06T06:37:26.316Z] experimental info: [2020-10-06T06:37:26.316Z] ------------------- [2020-10-06T06:37:26.316Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-06T06:37:26.316Z] Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a [2020-10-06T06:37:26.316Z] Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-06T06:37:26.670Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-06T06:37:26.765Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-06T06:37:26.853Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-06T06:37:26.951Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-06T06:37:27.041Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-06T06:37:27.161Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-06T06:37:27.256Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-06T06:37:27.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-06T06:37:27.462Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-06T06:37:27.553Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-06T06:37:27.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-06T06:37:27.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-06T06:37:27.844Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-06T06:37:27.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-06T06:37:28.022Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-06T06:37:28.111Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T06:37:28.222Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T06:37:28.312Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T06:37:28.402Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-06T06:37:28.500Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-06T06:37:28.628Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-06T06:37:28.770Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-06T06:37:28.875Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-06T06:37:28.970Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-06T06:37:29.096Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-06T06:37:29.184Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-614 [Pipeline] echo [2020-10-06T06:37:29.278Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-614 [Pipeline] echo [2020-10-06T06:37:29.366Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-614 [Pipeline] echo [2020-10-06T06:37:29.455Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6d170b70e1a04a00d380c7c5d579fc072917eff5 [Pipeline] echo [2020-10-06T06:37:29.565Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6d170b7 [Pipeline] echo [2020-10-06T06:37:29.654Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-06T06:37:30.321Z] + git log --format=format:%s -1 6d170b70e1a04a00d380c7c5d579fc072917eff5 [Pipeline] echo [2020-10-06T06:37:30.381Z] GIT_COMMIT: 6d170b70e1a04a00d380c7c5d579fc072917eff5, Commit Message: build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1 [Pipeline] echo [2020-10-06T06:37:30.440Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:37:30.991Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T06:37:31.259Z] [2020-10-06T06:37:31.259Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:37:31.631Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T06:37:31.631Z] latest: Pulling from edgex-devops/git-semver [2020-10-06T06:37:31.631Z] 31603596830f: Pulling fs layer [2020-10-06T06:37:31.631Z] 2a8b12db71e7: Pulling fs layer [2020-10-06T06:37:31.631Z] 6ca5941a6612: Pulling fs layer [2020-10-06T06:37:31.631Z] ecc8261a40a4: Pulling fs layer [2020-10-06T06:37:31.631Z] ecc8261a40a4: Waiting [2020-10-06T06:37:31.631Z] 2a8b12db71e7: Verifying Checksum [2020-10-06T06:37:31.631Z] 2a8b12db71e7: Download complete [2020-10-06T06:37:31.914Z] 31603596830f: Verifying Checksum [2020-10-06T06:37:31.914Z] 31603596830f: Download complete [2020-10-06T06:37:32.181Z] ecc8261a40a4: Verifying Checksum [2020-10-06T06:37:32.181Z] ecc8261a40a4: Download complete [2020-10-06T06:37:32.181Z] 6ca5941a6612: Verifying Checksum [2020-10-06T06:37:32.181Z] 6ca5941a6612: Download complete [2020-10-06T06:37:32.455Z] 31603596830f: Pull complete [2020-10-06T06:37:32.738Z] 2a8b12db71e7: Pull complete [2020-10-06T06:37:34.210Z] 6ca5941a6612: Pull complete [2020-10-06T06:37:34.494Z] ecc8261a40a4: Pull complete [2020-10-06T06:37:34.494Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-06T06:37:34.494Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T06:37:34.494Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-06T06:37:34.965Z] prd-centos7-docker-4c-2g-3697 does not seem to be running inside a container [2020-10-06T06:37:35.043Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-06T06:37:37.661Z] $ docker top dd27db9f2e6f7cb3e8ec6cf2a0550e4aeeac7046604c501877441df3e99b4580 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-06T06:37:38.062Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-06T06:37:38.063Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-06T06:37:38.433Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-06T06:37:38.440Z] $ docker exec dd27db9f2e6f7cb3e8ec6cf2a0550e4aeeac7046604c501877441df3e99b4580 ssh-agent [2020-10-06T06:37:38.910Z] SSH_AUTH_SOCK=/tmp/ssh-uj8rUiQf5T57/agent.11 [2020-10-06T06:37:38.910Z] SSH_AGENT_PID=16 [2020-10-06T06:37:38.950Z] Running ssh-add (command line suppressed) [2020-10-06T06:37:39.138Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_7462900265923732306.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_7462900265923732306.key) [2020-10-06T06:37:39.194Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-06T06:37:39.551Z] + git describe --exact-match --tags HEAD [2020-10-06T06:37:39.563Z] fatal: no tag exactly matches '6d170b70e1a04a00d380c7c5d579fc072917eff5' [Pipeline] } [2020-10-06T06:37:39.613Z] $ docker exec --env ******** --env ******** dd27db9f2e6f7cb3e8ec6cf2a0550e4aeeac7046604c501877441df3e99b4580 ssh-agent -k [2020-10-06T06:37:39.916Z] unset SSH_AUTH_SOCK; [2020-10-06T06:37:39.916Z] unset SSH_AGENT_PID; [2020-10-06T06:37:39.916Z] echo Agent pid 16 killed; [2020-10-06T06:37:40.011Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-06T06:37:40.149Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-06T06:37:40.149Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-06T06:37:40.249Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-06T06:37:40.249Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-06T06:37:40.590Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-06T06:37:40.599Z] $ docker exec dd27db9f2e6f7cb3e8ec6cf2a0550e4aeeac7046604c501877441df3e99b4580 ssh-agent [2020-10-06T06:37:41.087Z] SSH_AUTH_SOCK=/tmp/ssh-jzh6aSZ2anmX/agent.45 [2020-10-06T06:37:41.087Z] SSH_AGENT_PID=50 [2020-10-06T06:37:41.095Z] Running ssh-add (command line suppressed) [2020-10-06T06:37:41.341Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_7650241008090753337.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_7650241008090753337.key) [2020-10-06T06:37:41.422Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-06T06:37:41.806Z] + git semver init [2020-10-06T06:37:41.806Z] # -> Open(): unable to determine branch for HEAD [2020-10-06T06:37:41.806Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.git [2020-10-06T06:37:41.806Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-614 [2020-10-06T06:37:41.806Z] # $SEMVER_REMOTE_NAME = origin [2020-10-06T06:37:41.806Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-06T06:37:41.806Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-06T06:37:41.806Z] # $SEMVER_BRANCH = PR-614 [2020-10-06T06:37:41.806Z] # $SEMVER_TEMP = /tmp/semver-196849135 [2020-10-06T06:37:41.806Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-06T06:37:43.240Z] # '/tmp/semver-196849135' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver' [2020-10-06T06:37:43.240Z] # -> Force: false [2020-10-06T06:37:43.240Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver [Pipeline] } [2020-10-06T06:37:43.264Z] $ docker exec --env ******** --env ******** dd27db9f2e6f7cb3e8ec6cf2a0550e4aeeac7046604c501877441df3e99b4580 ssh-agent -k [2020-10-06T06:37:43.582Z] unset SSH_AUTH_SOCK; [2020-10-06T06:37:43.584Z] unset SSH_AGENT_PID; [2020-10-06T06:37:43.584Z] echo Agent pid 50 killed; [2020-10-06T06:37:43.716Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-06T06:37:44.248Z] + git semver [Pipeline] } [2020-10-06T06:37:44.271Z] $ docker stop --time=1 dd27db9f2e6f7cb3e8ec6cf2a0550e4aeeac7046604c501877441df3e99b4580 [2020-10-06T06:37:45.875Z] $ docker rm -f dd27db9f2e6f7cb3e8ec6cf2a0550e4aeeac7046604c501877441df3e99b4580 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-06T06:37:48.376Z] Stashed 46 file(s) [Pipeline] echo [2020-10-06T06:37:48.379Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-06T06:37:48.482Z] Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-10-06T06:38:04.076Z] Still waiting to schedule task [2020-10-06T06:38:04.076Z] ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-3682’ is offline; ‘prd-centos7-docker-4c-2g-3684’ is offline; ‘prd-centos7-docker-4c-2g-3688’ is offline; ‘prd-centos7-docker-4c-2g-3701’ is offline; ‘prd-centos7-docker-8c-8g-3692’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3683’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3693’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-06T06:38:04.078Z] Still waiting to schedule task [2020-10-06T06:38:04.078Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-06T06:39:20.006Z] Running on prd-centos7-docker-4c-2g-3703 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws [2020-10-06T06:39:20.063Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-10-06T06:39:24.155Z] using credential edgex-jenkins-ssh [2020-10-06T06:39:24.211Z] Cloning the remote Git repository [2020-10-06T06:39:24.251Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:39:24.332Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-10-06T06:39:24.420Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:39:24.421Z] > git --version # timeout=10 [2020-10-06T06:39:24.435Z] > git --version # 'git version 2.16.5' [2020-10-06T06:39:24.435Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:39:24.509Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T06:39:26.200Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T06:39:26.209Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T06:39:26.227Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T06:39:26.250Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:39:26.251Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:39:26.260Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-06T06:39:26.741Z] Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 6d170b70e1a04a00d380c7c5d579fc072917eff5 [2020-10-06T06:39:26.921Z] Merge succeeded, producing 6d170b70e1a04a00d380c7c5d579fc072917eff5 [2020-10-06T06:39:26.921Z] Checking out Revision 6d170b70e1a04a00d380c7c5d579fc072917eff5 (PR-614) [2020-10-06T06:39:26.797Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T06:39:26.814Z] > git checkout -f 6d170b70e1a04a00d380c7c5d579fc072917eff5 # timeout=10 [2020-10-06T06:39:26.879Z] > git remote # timeout=10 [2020-10-06T06:39:26.891Z] > git config --get remote.origin.url # timeout=10 [2020-10-06T06:39:26.897Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:39:26.902Z] > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 [2020-10-06T06:39:26.915Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-06T06:39:26.926Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T06:39:26.932Z] > git checkout -f 6d170b70e1a04a00d380c7c5d579fc072917eff5 # timeout=10 [2020-10-06T06:39:30.658Z] Commit message: "build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-06T06:39:31.554Z] ========================================================= [2020-10-06T06:39:31.554Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-06T06:39:31.554Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:39:32.119Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-10-06T06:39:32.700Z] Sending build context to Docker daemon 3.489MB [2020-10-06T06:39:32.700Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-06T06:39:32.700Z] Step 2/8 : FROM ${BASE} [2020-10-06T06:39:32.700Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-06T06:39:32.700Z] df20fa9351a1: Pulling fs layer [2020-10-06T06:39:32.700Z] ed8968b2872e: Pulling fs layer [2020-10-06T06:39:32.700Z] a92cc7c5fd73: Pulling fs layer [2020-10-06T06:39:32.700Z] e871e8e8d7a9: Pulling fs layer [2020-10-06T06:39:32.700Z] e73272ec9a57: Pulling fs layer [2020-10-06T06:39:32.700Z] 1e910a182e73: Pulling fs layer [2020-10-06T06:39:32.700Z] 4e634b169226: Pulling fs layer [2020-10-06T06:39:32.700Z] e73272ec9a57: Waiting [2020-10-06T06:39:32.700Z] 1e910a182e73: Waiting [2020-10-06T06:39:32.700Z] 4e634b169226: Waiting [2020-10-06T06:39:32.700Z] e871e8e8d7a9: Waiting [2020-10-06T06:39:32.700Z] a92cc7c5fd73: Verifying Checksum [2020-10-06T06:39:32.700Z] a92cc7c5fd73: Download complete [2020-10-06T06:39:32.700Z] ed8968b2872e: Download complete [2020-10-06T06:39:32.974Z] e73272ec9a57: Verifying Checksum [2020-10-06T06:39:32.974Z] e73272ec9a57: Download complete [2020-10-06T06:39:32.974Z] 1e910a182e73: Verifying Checksum [2020-10-06T06:39:32.974Z] 1e910a182e73: Download complete [2020-10-06T06:39:33.242Z] df20fa9351a1: Verifying Checksum [2020-10-06T06:39:33.242Z] df20fa9351a1: Download complete [2020-10-06T06:39:33.509Z] df20fa9351a1: Pull complete [2020-10-06T06:39:33.775Z] ed8968b2872e: Pull complete [2020-10-06T06:39:34.360Z] a92cc7c5fd73: Pull complete [2020-10-06T06:39:35.323Z] 4e634b169226: Verifying Checksum [2020-10-06T06:39:35.323Z] 4e634b169226: Download complete [2020-10-06T06:39:36.282Z] e871e8e8d7a9: Verifying Checksum [2020-10-06T06:39:36.282Z] e871e8e8d7a9: Download complete [2020-10-06T06:39:41.632Z] e871e8e8d7a9: Pull complete [2020-10-06T06:39:41.898Z] e73272ec9a57: Pull complete [2020-10-06T06:39:42.165Z] 1e910a182e73: Pull complete [2020-10-06T06:39:52.234Z] 4e634b169226: Pull complete [2020-10-06T06:39:52.234Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-06T06:39:52.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-06T06:39:52.234Z] ---> f7629b54cfaa [2020-10-06T06:39:52.234Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:39:52.815Z] ---> Running in 0c1a0f40d708 [2020-10-06T06:39:52.815Z] Removing intermediate container 0c1a0f40d708 [2020-10-06T06:39:52.815Z] ---> 8b3d071d7ec7 [2020-10-06T06:39:52.815Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T06:39:53.078Z] ---> Running in cde6377f0c7a [2020-10-06T06:39:54.036Z] Removing intermediate container cde6377f0c7a [2020-10-06T06:39:54.036Z] ---> 6c73b3afebb0 [2020-10-06T06:39:54.036Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-06T06:39:54.299Z] ---> Running in fe448083e670 [2020-10-06T06:39:55.252Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-06T06:39:56.204Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-06T06:39:58.780Z] OK: 166 MiB in 39 packages [2020-10-06T06:39:59.046Z] Removing intermediate container fe448083e670 [2020-10-06T06:39:59.046Z] ---> ca8abb11071d [2020-10-06T06:39:59.046Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-06T06:39:59.312Z] ---> Running in 10da1565f0e7 [2020-10-06T06:39:59.312Z] Removing intermediate container 10da1565f0e7 [2020-10-06T06:39:59.312Z] ---> 5339079c6fe1 [2020-10-06T06:39:59.312Z] Step 7/8 : COPY . . [2020-10-06T06:40:00.720Z] ---> cd795b9d69e6 [2020-10-06T06:40:00.720Z] Step 8/8 : RUN go mod download [2020-10-06T06:40:00.720Z] ---> Running in 129329b8fe9e [2020-10-06T06:40:20.822Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3704 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws [2020-10-06T06:40:20.879Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-10-06T06:40:23.029Z] Removing intermediate container 129329b8fe9e [2020-10-06T06:40:23.029Z] ---> 5c38f8ecb6a5 [2020-10-06T06:40:23.029Z] Successfully built 5c38f8ecb6a5 [2020-10-06T06:40:23.029Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:40:23.568Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-06T06:40:23.568Z] . [Pipeline] withDockerContainer [2020-10-06T06:40:23.766Z] prd-centos7-docker-4c-2g-3703 does not seem to be running inside a container [2020-10-06T06:40:23.820Z] $ 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 ******** ci-base-image-x86_64 cat [2020-10-06T06:40:24.643Z] $ docker top e47531b6f464afc19d6359216888153e47cc5fbbf8a89c0634a2279093ebce24 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T06:40:25.188Z] + go version [2020-10-06T06:40:25.188Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-06T06:40:25.206Z] $ docker stop --time=1 e47531b6f464afc19d6359216888153e47cc5fbbf8a89c0634a2279093ebce24 [2020-10-06T06:40:26.573Z] $ docker rm -f e47531b6f464afc19d6359216888153e47cc5fbbf8a89c0634a2279093ebce24 [Pipeline] // withDockerContainer [2020-10-06T06:40:26.746Z] using credential edgex-jenkins-ssh [Pipeline] } [2020-10-06T06:40:26.830Z] Cloning the remote Git repository [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:40:27.463Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-06T06:40:27.463Z] . [Pipeline] withDockerContainer [2020-10-06T06:40:26.900Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:40:27.029Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-10-06T06:40:27.139Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:40:27.140Z] > git --version # timeout=10 [2020-10-06T06:40:27.187Z] > git --version # 'git version 2.17.1' [2020-10-06T06:40:27.189Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:40:27.282Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T06:40:27.567Z] prd-centos7-docker-4c-2g-3703 does not seem to be running inside a container [2020-10-06T06:40:27.631Z] $ 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 ******** ci-base-image-x86_64 cat [2020-10-06T06:40:28.254Z] $ docker top aea0be5edab93282c853290e426244897dfc0b23ef612cc054bcbc1eb2d9216c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T06:40:28.734Z] + make test [2020-10-06T06:40:28.734Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-06T06:40:29.440Z] Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 6d170b70e1a04a00d380c7c5d579fc072917eff5 [2020-10-06T06:40:29.687Z] Merge succeeded, producing 6d170b70e1a04a00d380c7c5d579fc072917eff5 [2020-10-06T06:40:29.688Z] Checking out Revision 6d170b70e1a04a00d380c7c5d579fc072917eff5 (PR-614) [2020-10-06T06:40:28.826Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T06:40:28.841Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T06:40:28.874Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T06:40:28.911Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:40:28.912Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:40:28.926Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-06T06:40:29.471Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T06:40:29.487Z] > git checkout -f 6d170b70e1a04a00d380c7c5d579fc072917eff5 # timeout=10 [2020-10-06T06:40:29.605Z] > git remote # timeout=10 [2020-10-06T06:40:29.626Z] > git config --get remote.origin.url # timeout=10 [2020-10-06T06:40:29.650Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:40:29.661Z] > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 [2020-10-06T06:40:29.683Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-06T06:40:29.704Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T06:40:29.719Z] > git checkout -f 6d170b70e1a04a00d380c7c5d579fc072917eff5 # timeout=10 [2020-10-06T06:40:34.216Z] Commit message: "build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-06T06:40:35.456Z] ========================================================= [2020-10-06T06:40:35.456Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-06T06:40:35.456Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:40:36.593Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-10-06T06:40:36.953Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-06T06:40:37.586Z] Sending build context to Docker daemon 3.489MB [2020-10-06T06:40:37.586Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-06T06:40:37.586Z] Step 2/8 : FROM ${BASE} [2020-10-06T06:40:37.869Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-06T06:40:37.869Z] b538f80385f9: Pulling fs layer [2020-10-06T06:40:37.869Z] 74f711af9a0d: Pulling fs layer [2020-10-06T06:40:37.869Z] 99f96fe45779: Pulling fs layer [2020-10-06T06:40:37.869Z] 8529a6b9a6be: Pulling fs layer [2020-10-06T06:40:37.869Z] 45590311c82a: Pulling fs layer [2020-10-06T06:40:37.869Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-06T06:40:37.869Z] 209524e5b208: Pulling fs layer [2020-10-06T06:40:37.869Z] 45590311c82a: Waiting [2020-10-06T06:40:37.869Z] 69ca0ff8b7b3: Waiting [2020-10-06T06:40:37.869Z] 8529a6b9a6be: Waiting [2020-10-06T06:40:37.869Z] 209524e5b208: Waiting [2020-10-06T06:40:37.869Z] 99f96fe45779: Verifying Checksum [2020-10-06T06:40:37.869Z] 99f96fe45779: Download complete [2020-10-06T06:40:37.869Z] 74f711af9a0d: Verifying Checksum [2020-10-06T06:40:37.869Z] 74f711af9a0d: Download complete [2020-10-06T06:40:37.869Z] 45590311c82a: Verifying Checksum [2020-10-06T06:40:37.869Z] 45590311c82a: Download complete [2020-10-06T06:40:38.145Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-06T06:40:38.145Z] 69ca0ff8b7b3: Download complete [2020-10-06T06:40:38.145Z] b538f80385f9: Verifying Checksum [2020-10-06T06:40:38.145Z] b538f80385f9: Download complete [2020-10-06T06:40:39.135Z] b538f80385f9: Pull complete [2020-10-06T06:40:39.740Z] 74f711af9a0d: Pull complete [2020-10-06T06:40:40.347Z] 99f96fe45779: Pull complete [2020-10-06T06:40:40.951Z] 209524e5b208: Verifying Checksum [2020-10-06T06:40:40.951Z] 209524e5b208: Download complete [2020-10-06T06:40:41.551Z] 8529a6b9a6be: Verifying Checksum [2020-10-06T06:40:41.551Z] 8529a6b9a6be: Download complete [2020-10-06T06:40:51.717Z] 8529a6b9a6be: Pull complete [2020-10-06T06:40:51.717Z] 45590311c82a: Pull complete [2020-10-06T06:40:51.990Z] 69ca0ff8b7b3: Pull complete [2020-10-06T06:40:52.053Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-06T06:40:52.053Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-06T06:40:52.053Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-06T06:40:52.053Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.047s coverage: 21.6% of statements [2020-10-06T06:40:53.018Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.439s coverage: 97.1% of statements [2020-10-06T06:40:55.416Z] 209524e5b208: Pull complete [2020-10-06T06:40:55.416Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-06T06:40:55.416Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-06T06:40:55.416Z] ---> 5bddaf1c2fca [2020-10-06T06:40:55.416Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:40:58.818Z] ---> Running in 7f87ce76b22a [2020-10-06T06:40:59.092Z] Removing intermediate container 7f87ce76b22a [2020-10-06T06:40:59.092Z] ---> f0319f624453 [2020-10-06T06:40:59.092Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T06:40:59.368Z] ---> Running in 0f3c0ec52d95 [2020-10-06T06:41:02.769Z] Removing intermediate container 0f3c0ec52d95 [2020-10-06T06:41:02.769Z] ---> f833f0187b88 [2020-10-06T06:41:02.769Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-06T06:41:02.769Z] ---> Running in 001e1c63d1fc [2020-10-06T06:41:03.749Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-06T06:41:05.187Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-06T06:41:07.190Z] OK: 142 MiB in 39 packages [2020-10-06T06:41:08.191Z] Removing intermediate container 001e1c63d1fc [2020-10-06T06:41:08.191Z] ---> b0ba4013baf6 [2020-10-06T06:41:08.191Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-06T06:41:08.470Z] ---> Running in 21753e4bf876 [2020-10-06T06:41:09.067Z] Removing intermediate container 21753e4bf876 [2020-10-06T06:41:09.067Z] ---> e2943986e491 [2020-10-06T06:41:09.067Z] Step 7/8 : COPY . . [2020-10-06T06:41:10.516Z] ---> f4e0089942be [2020-10-06T06:41:10.516Z] Step 8/8 : RUN go mod download [2020-10-06T06:41:10.810Z] ---> Running in 8ef67d0bc895 [2020-10-06T06:41:25.203Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.058s coverage: 9.4% of statements [2020-10-06T06:41:25.203Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.056s coverage: 21.9% of statements [2020-10-06T06:41:25.203Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-06T06:41:25.203Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.198s coverage: 40.3% of statements [2020-10-06T06:41:25.203Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-06T06:41:25.203Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.276s coverage: 65.4% of statements [2020-10-06T06:41:25.203Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-06T06:41:25.203Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-06T06:41:25.203Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-06T06:41:25.203Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-06T06:41:25.203Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.076s coverage: 52.6% of statements [2020-10-06T06:41:25.203Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-06T06:41:25.203Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.410s coverage: 68.9% of statements [2020-10-06T06:41:25.203Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-06T06:41:25.203Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-06T06:41:25.203Z] GO111MODULE=on go vet ./... [2020-10-06T06:41:31.908Z] gofmt -l . [2020-10-06T06:41:31.908Z] [ "`gofmt -l .`" = "" ] [2020-10-06T06:41:31.908Z] ./bin/test-attribution-txt.sh [2020-10-06T06:41:32.177Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-06T06:41:33.085Z] Removing intermediate container 8ef67d0bc895 [2020-10-06T06:41:33.085Z] ---> f8e0575ec6d6 [2020-10-06T06:41:33.088Z] Stashed 1 file(s) [Pipeline] } [2020-10-06T06:41:33.098Z] $ docker stop --time=1 aea0be5edab93282c853290e426244897dfc0b23ef612cc054bcbc1eb2d9216c [2020-10-06T06:41:33.363Z] Successfully built f8e0575ec6d6 [2020-10-06T06:41:33.364Z] Successfully tagged ci-base-image-arm64:latest [2020-10-06T06:41:36.096Z] $ docker rm -f aea0be5edab93282c853290e426244897dfc0b23ef612cc054bcbc1eb2d9216c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:41:36.995Z] + docker inspect -f . ci-base-image-arm64 [2020-10-06T06:41:36.995Z] . [Pipeline] sh [Pipeline] withDockerContainer [2020-10-06T06:41:37.607Z] prd-ubuntu18.04-docker-arm64-4c-16g-3704 does not seem to be running inside a container [2020-10-06T06:41:37.612Z] + sudo chown -R jenkins:jenkins . [2020-10-06T06:41:37.723Z] $ 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 ******** ci-base-image-arm64 cat [2020-10-06T06:41:39.521Z] $ docker top 0c1750dc1fbb2df705865c7e6150979e0496da393c4416e81fa1249c77919b0b -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2020-10-06T06:41:40.172Z] + ls -al . [2020-10-06T06:41:40.172Z] total 192 [2020-10-06T06:41:40.172Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 6 06:41 . [2020-10-06T06:41:40.172Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 6 06:39 .. [2020-10-06T06:41:40.172Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 6 06:39 bin [2020-10-06T06:41:40.172Z] -rw-r--r--. 1 jenkins jenkins 111041 Oct 6 06:41 coverage.out [2020-10-06T06:41:40.172Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 6 06:39 Dockerfile.build [2020-10-06T06:41:40.172Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 6 06:39 .dockerignore [2020-10-06T06:41:40.172Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 6 06:39 example [2020-10-06T06:41:40.172Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 6 06:39 .git [2020-10-06T06:41:40.172Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 6 06:39 .github [2020-10-06T06:41:40.172Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 6 06:39 .gitignore [2020-10-06T06:41:40.172Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 6 06:41 go.mod [2020-10-06T06:41:40.172Z] -rw-r--r--. 1 jenkins jenkins 13736 Oct 6 06:41 go.sum [2020-10-06T06:41:40.172Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 6 06:39 internal [2020-10-06T06:41:40.172Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 6 06:39 Jenkinsfile [2020-10-06T06:41:40.172Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 6 06:39 LICENSE [2020-10-06T06:41:40.172Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 6 06:39 Makefile [2020-10-06T06:41:40.172Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 6 06:39 openapi [2020-10-06T06:41:40.172Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 6 06:39 pkg [2020-10-06T06:41:40.172Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 6 06:39 README.md [2020-10-06T06:41:40.172Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 6 06:39 RELEASE-NOTES.txt [2020-10-06T06:41:40.172Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 6 06:39 .semver [2020-10-06T06:41:40.172Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 6 06:39 snap [2020-10-06T06:41:40.172Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 6 06:37 VERSION [2020-10-06T06:41:40.172Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 6 06:39 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:41:40.481Z] + 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=6d170b70e1a04a00d380c7c5d579fc072917eff5 --label arch=amd64 --label version=0.0.0 . [2020-10-06T06:41:40.743Z] Sending build context to Docker daemon 3.6MB [2020-10-06T06:41:40.743Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-06T06:41:40.743Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-06T06:41:40.743Z] ---> 5c38f8ecb6a5 [2020-10-06T06:41:40.743Z] Step 3/24 : ARG MAKE='make build' [2020-10-06T06:41:40.943Z] + go version [2020-10-06T06:41:40.943Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-06T06:41:40.996Z] $ docker stop --time=1 0c1750dc1fbb2df705865c7e6150979e0496da393c4416e81fa1249c77919b0b [2020-10-06T06:41:41.317Z] ---> Running in 3112768240f0 [2020-10-06T06:41:41.579Z] Removing intermediate container 3112768240f0 [2020-10-06T06:41:41.579Z] ---> 5c14a0a5372e [2020-10-06T06:41:41.579Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-06T06:41:41.579Z] ---> Running in f069b845c159 [2020-10-06T06:41:41.841Z] Removing intermediate container f069b845c159 [2020-10-06T06:41:41.841Z] ---> fb2751c882d6 [2020-10-06T06:41:41.841Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:41:41.841Z] ---> Running in c47489c67837 [2020-10-06T06:41:42.104Z] Removing intermediate container c47489c67837 [2020-10-06T06:41:42.104Z] ---> 4bbf6e75e1a4 [2020-10-06T06:41:42.104Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T06:41:42.104Z] ---> Running in a4f48e3ab1d0 [2020-10-06T06:41:42.933Z] $ docker rm -f 0c1750dc1fbb2df705865c7e6150979e0496da393c4416e81fa1249c77919b0b [2020-10-06T06:41:43.052Z] Removing intermediate container a4f48e3ab1d0 [2020-10-06T06:41:43.052Z] ---> e6f7b50f88cc [2020-10-06T06:41:43.052Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-06T06:41:43.052Z] ---> Running in 10c9434f90b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2020-10-06T06:41:43.637Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:41:43.970Z] + docker inspect -f . ci-base-image-arm64 [2020-10-06T06:41:43.970Z] . [Pipeline] withDockerContainer [2020-10-06T06:41:44.212Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-06T06:41:44.231Z] prd-ubuntu18.04-docker-arm64-4c-16g-3704 does not seem to be running inside a container [2020-10-06T06:41:44.357Z] $ 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 ******** ci-base-image-arm64 cat [2020-10-06T06:41:45.163Z] OK: 166 MiB in 39 packages [2020-10-06T06:41:45.741Z] Removing intermediate container 10c9434f90b5 [2020-10-06T06:41:45.741Z] ---> 3bd2e37cf847 [2020-10-06T06:41:45.741Z] Step 8/24 : COPY . . [2020-10-06T06:41:46.325Z] $ docker top 7f4f2778459e4318560a063970d3f8b4414dd73336281f6466a8a75bd33d72d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T06:41:47.134Z] ---> 4975c1ec1fc5 [2020-10-06T06:41:47.134Z] Step 9/24 : RUN ${MAKE} [2020-10-06T06:41:47.134Z] ---> Running in 0c7c8aa4774b [2020-10-06T06:41:47.401Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-10-06T06:41:47.700Z] + make test [2020-10-06T06:41:47.701Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-06T06:41:55.622Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-06T06:41:57.016Z] Removing intermediate container 0c7c8aa4774b [2020-10-06T06:41:57.016Z] ---> 198e527e9200 [2020-10-06T06:41:57.016Z] Step 10/24 : FROM scratch [2020-10-06T06:41:57.016Z] ---> [2020-10-06T06:41:57.016Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:41:57.016Z] ---> Running in 07e4088df157 [2020-10-06T06:41:57.016Z] Removing intermediate container 07e4088df157 [2020-10-06T06:41:57.016Z] ---> fc608ce4e74c [2020-10-06T06:41:57.016Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-06T06:41:57.016Z] ---> Running in 0780b00ce8af [2020-10-06T06:41:57.278Z] Removing intermediate container 0780b00ce8af [2020-10-06T06:41:57.278Z] ---> 3d2c1a73c9f7 [2020-10-06T06:41:57.278Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-06T06:41:57.278Z] ---> Running in 1ab58c87afe7 [2020-10-06T06:41:57.278Z] Removing intermediate container 1ab58c87afe7 [2020-10-06T06:41:57.278Z] ---> 5fbf1c8e56e9 [2020-10-06T06:41:57.278Z] Step 14/24 : WORKDIR / [2020-10-06T06:41:57.542Z] ---> Running in 22a77c99def8 [2020-10-06T06:41:57.542Z] Removing intermediate container 22a77c99def8 [2020-10-06T06:41:57.542Z] ---> bd001beca34b [2020-10-06T06:41:57.542Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-06T06:41:58.115Z] ---> 1c4889b3a05c [2020-10-06T06:41:58.115Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-06T06:41:58.377Z] ---> 7824a3189dde [2020-10-06T06:41:58.377Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-06T06:41:58.377Z] ---> e57c54698409 [2020-10-06T06:41:58.377Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-06T06:41:58.644Z] ---> d5a4beb78632 [2020-10-06T06:41:58.644Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-06T06:41:58.914Z] ---> 8de2c7f1e061 [2020-10-06T06:41:58.914Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-06T06:41:58.914Z] ---> Running in e44abeeef4e6 [2020-10-06T06:41:59.177Z] Removing intermediate container e44abeeef4e6 [2020-10-06T06:41:59.177Z] ---> 2fce57cc8983 [2020-10-06T06:41:59.177Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-06T06:41:59.177Z] ---> Running in 9675c9af4b79 [2020-10-06T06:41:59.439Z] Removing intermediate container 9675c9af4b79 [2020-10-06T06:41:59.439Z] ---> c9c532d3b81d [2020-10-06T06:41:59.439Z] Step 22/24 : LABEL arch=amd64 [2020-10-06T06:41:59.439Z] ---> Running in 73167f5fabb2 [2020-10-06T06:41:59.701Z] Removing intermediate container 73167f5fabb2 [2020-10-06T06:41:59.701Z] ---> d3752b4812fc [2020-10-06T06:41:59.701Z] Step 23/24 : LABEL git_sha=6d170b70e1a04a00d380c7c5d579fc072917eff5 [2020-10-06T06:41:59.701Z] ---> Running in d58ff6d70eb8 [2020-10-06T06:41:59.963Z] Removing intermediate container d58ff6d70eb8 [2020-10-06T06:41:59.963Z] ---> d56f186aeef9 [2020-10-06T06:41:59.963Z] Step 24/24 : LABEL version=0.0.0 [2020-10-06T06:41:59.963Z] ---> Running in 87453c2ac0b3 [2020-10-06T06:41:59.963Z] Removing intermediate container 87453c2ac0b3 [2020-10-06T06:41:59.963Z] ---> e6ca587cb181 [2020-10-06T06:41:59.963Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-06T06:41:59.963Z] Successfully built e6ca587cb181 [2020-10-06T06:42:00.232Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-06T06:42:09.909Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-06T06:42:56.942Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-06T06:42:56.942Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-06T06:42:56.942Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-06T06:42:56.942Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.121s coverage: 21.6% of statements [2020-10-06T06:42:56.942Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.308s coverage: 97.1% of statements [2020-10-06T06:43:23.741Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.140s coverage: 9.4% of statements [2020-10-06T06:43:23.741Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.118s coverage: 21.9% of statements [2020-10-06T06:43:23.741Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-06T06:43:23.741Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.613s coverage: 40.3% of statements [2020-10-06T06:43:23.741Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-06T06:43:23.741Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.798s coverage: 65.4% of statements [2020-10-06T06:43:23.741Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-06T06:43:23.741Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-06T06:43:23.741Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-06T06:43:23.741Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-06T06:43:23.741Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.188s coverage: 52.6% of statements [2020-10-06T06:43:23.741Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-06T06:43:23.741Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.772s coverage: 68.9% of statements [2020-10-06T06:43:23.741Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-06T06:43:23.741Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-06T06:43:23.741Z] GO111MODULE=on go vet ./... [2020-10-06T06:43:56.153Z] gofmt -l . [2020-10-06T06:43:56.153Z] [ "`gofmt -l .`" = "" ] [2020-10-06T06:43:56.153Z] ./bin/test-attribution-txt.sh [2020-10-06T06:43:56.153Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-06T06:43:56.174Z] Warning: overwriting stash ‘coverage-report’ [2020-10-06T06:43:57.002Z] Stashed 1 file(s) [Pipeline] } [2020-10-06T06:43:57.087Z] $ docker stop --time=1 7f4f2778459e4318560a063970d3f8b4414dd73336281f6466a8a75bd33d72d6 [2020-10-06T06:43:59.408Z] $ docker rm -f 7f4f2778459e4318560a063970d3f8b4414dd73336281f6466a8a75bd33d72d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-06T06:44:01.115Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-06T06:44:01.470Z] + ls -al . [2020-10-06T06:44:01.470Z] total 232 [2020-10-06T06:44:01.470Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 06:43 . [2020-10-06T06:44:01.470Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:40 .. [2020-10-06T06:44:01.470Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 6 06:40 .dockerignore [2020-10-06T06:44:01.470Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 06:40 .git [2020-10-06T06:44:01.470Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 06:40 .github [2020-10-06T06:44:01.470Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 6 06:40 .gitignore [2020-10-06T06:44:01.470Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 06:40 .semver [2020-10-06T06:44:01.470Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 6 06:40 Dockerfile.build [2020-10-06T06:44:01.470Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 6 06:40 Jenkinsfile [2020-10-06T06:44:01.470Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 6 06:40 LICENSE [2020-10-06T06:44:01.470Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 6 06:40 Makefile [2020-10-06T06:44:01.470Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 6 06:40 README.md [2020-10-06T06:44:01.470Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 6 06:40 RELEASE-NOTES.txt [2020-10-06T06:44:01.470Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 06:37 VERSION [2020-10-06T06:44:01.470Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 06:40 bin [2020-10-06T06:44:01.470Z] -rw-r--r-- 1 jenkins jenkins 111041 Oct 6 06:43 coverage.out [2020-10-06T06:44:01.470Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:40 example [2020-10-06T06:44:01.470Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 6 06:43 go.mod [2020-10-06T06:44:01.470Z] -rw-r--r-- 1 jenkins jenkins 13736 Oct 6 06:43 go.sum [2020-10-06T06:44:01.470Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 6 06:40 internal [2020-10-06T06:44:01.470Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:40 openapi [2020-10-06T06:44:01.470Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 6 06:40 pkg [2020-10-06T06:44:01.470Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:40 snap [2020-10-06T06:44:01.470Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 6 06:40 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:44:01.915Z] + 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=6d170b70e1a04a00d380c7c5d579fc072917eff5 --label arch=arm64 --label version=0.0.0 . [2020-10-06T06:44:02.521Z] Sending build context to Docker daemon 3.601MB [2020-10-06T06:44:02.521Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-06T06:44:02.521Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-06T06:44:02.521Z] ---> f8e0575ec6d6 [2020-10-06T06:44:02.521Z] Step 3/24 : ARG MAKE='make build' [2020-10-06T06:44:03.120Z] ---> Running in 55de924eaf9d [2020-10-06T06:44:03.394Z] Removing intermediate container 55de924eaf9d [2020-10-06T06:44:03.394Z] ---> e9cccc072e2b [2020-10-06T06:44:03.394Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-06T06:44:03.671Z] ---> Running in 2644efa35380 [2020-10-06T06:44:04.272Z] Removing intermediate container 2644efa35380 [2020-10-06T06:44:04.272Z] ---> 46f6e05ab094 [2020-10-06T06:44:04.272Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:44:04.272Z] ---> Running in 59b57ea9988c [2020-10-06T06:44:04.871Z] Removing intermediate container 59b57ea9988c [2020-10-06T06:44:04.871Z] ---> 91fe74480bb8 [2020-10-06T06:44:04.871Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T06:44:04.871Z] ---> Running in 14e7a3746268 [2020-10-06T06:44:07.535Z] Removing intermediate container 14e7a3746268 [2020-10-06T06:44:07.535Z] ---> f6fe50c376c7 [2020-10-06T06:44:07.535Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-06T06:44:07.813Z] ---> Running in 25fda10cf8b4 [2020-10-06T06:44:09.255Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-06T06:44:10.240Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-06T06:44:11.231Z] OK: 142 MiB in 39 packages [2020-10-06T06:44:12.678Z] Removing intermediate container 25fda10cf8b4 [2020-10-06T06:44:12.678Z] ---> a088e760ce53 [2020-10-06T06:44:12.678Z] Step 8/24 : COPY . . [2020-10-06T06:44:14.117Z] ---> 2cbccc918cea [2020-10-06T06:44:14.117Z] Step 9/24 : RUN ${MAKE} [2020-10-06T06:44:14.117Z] ---> Running in a205e086f364 [2020-10-06T06:44:16.100Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-10-06T06:44:42.961Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-06T06:44:43.961Z] Removing intermediate container a205e086f364 [2020-10-06T06:44:43.961Z] ---> 8fae62849620 [2020-10-06T06:44:43.961Z] Step 10/24 : FROM scratch [2020-10-06T06:44:43.961Z] ---> [2020-10-06T06:44:43.961Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:44:44.237Z] ---> Running in ba8f7e53f3f1 [2020-10-06T06:44:44.514Z] Removing intermediate container ba8f7e53f3f1 [2020-10-06T06:44:44.514Z] ---> cbacb741b0ff [2020-10-06T06:44:44.514Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-06T06:44:44.794Z] ---> Running in cb1b901bafca [2020-10-06T06:44:45.390Z] Removing intermediate container cb1b901bafca [2020-10-06T06:44:45.390Z] ---> a36d4bedae04 [2020-10-06T06:44:45.390Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-06T06:44:45.390Z] ---> Running in fee50b712b0f [2020-10-06T06:44:45.666Z] Removing intermediate container fee50b712b0f [2020-10-06T06:44:45.666Z] ---> 3ac625c9950b [2020-10-06T06:44:45.666Z] Step 14/24 : WORKDIR / [2020-10-06T06:44:45.938Z] ---> Running in 78ac7707ec1a [2020-10-06T06:44:46.532Z] Removing intermediate container 78ac7707ec1a [2020-10-06T06:44:46.532Z] ---> 5eda241f256e [2020-10-06T06:44:46.532Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-06T06:44:47.549Z] ---> 20a5480f82af [2020-10-06T06:44:47.549Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-06T06:44:48.147Z] ---> c3166335ac64 [2020-10-06T06:44:48.147Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-06T06:44:49.137Z] ---> a6ca8177b1e9 [2020-10-06T06:44:49.137Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-06T06:44:49.731Z] ---> 3569beb0d494 [2020-10-06T06:44:49.731Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-06T06:44:50.339Z] ---> 63c18675149b [2020-10-06T06:44:50.339Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-06T06:44:50.339Z] ---> Running in 75579bec88a4 [2020-10-06T06:44:50.936Z] Removing intermediate container 75579bec88a4 [2020-10-06T06:44:50.936Z] ---> 150c7a79e01c [2020-10-06T06:44:50.936Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-06T06:44:50.936Z] ---> Running in 23ba4a34a167 [2020-10-06T06:44:51.531Z] Removing intermediate container 23ba4a34a167 [2020-10-06T06:44:51.531Z] ---> 5b3de177e7dd [2020-10-06T06:44:51.531Z] Step 22/24 : LABEL arch=arm64 [2020-10-06T06:44:51.531Z] ---> Running in ce6940ce8a48 [2020-10-06T06:44:52.127Z] Removing intermediate container ce6940ce8a48 [2020-10-06T06:44:52.127Z] ---> ce7532f986ba [2020-10-06T06:44:52.127Z] Step 23/24 : LABEL git_sha=6d170b70e1a04a00d380c7c5d579fc072917eff5 [2020-10-06T06:44:52.127Z] ---> Running in 290384d044a8 [2020-10-06T06:44:52.722Z] Removing intermediate container 290384d044a8 [2020-10-06T06:44:52.722Z] ---> 4410271576e3 [2020-10-06T06:44:52.722Z] Step 24/24 : LABEL version=0.0.0 [2020-10-06T06:44:52.722Z] ---> Running in b68afa02d042 [2020-10-06T06:44:53.319Z] Removing intermediate container b68afa02d042 [2020-10-06T06:44:53.319Z] ---> fe1507687970 [2020-10-06T06:44:53.319Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-06T06:44:53.319Z] Successfully built fe1507687970 [2020-10-06T06:44:53.319Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-10-06T06:44:54.984Z] provisioning config files... [2020-10-06T06:44:55.006Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config1090319313700004500tmp [Pipeline] { [Pipeline] sh [2020-10-06T06:44:55.390Z] + set +x [2020-10-06T06:44:55.390Z] + curl -s https://codecov.io/bash [2020-10-06T06:44:55.390Z] + bash -s -- [2020-10-06T06:44:55.660Z] [2020-10-06T06:44:55.660Z] _____ _ [2020-10-06T06:44:55.660Z] / ____| | | [2020-10-06T06:44:55.660Z] | | ___ __| | ___ ___ _____ __ [2020-10-06T06:44:55.660Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-06T06:44:55.660Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-06T06:44:55.660Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-06T06:44:55.660Z] Bash-20200917-4e8f14b [2020-10-06T06:44:55.660Z] [2020-10-06T06:44:55.660Z] [2020-10-06T06:44:55.660Z] ==> Jenkins CI detected. [2020-10-06T06:44:55.660Z] project root: . [2020-10-06T06:44:55.660Z] --> token set from env [2020-10-06T06:44:55.660Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-06T06:44:55.660Z] ==> Running gcov in . (disable via -X gcov) [2020-10-06T06:44:55.660Z] ==> Python coveragepy not found [2020-10-06T06:44:55.660Z] ==> Searching for coverage reports in: [2020-10-06T06:44:55.660Z] + . [2020-10-06T06:44:55.660Z] -> Found 1 reports [2020-10-06T06:44:55.660Z] ==> Detecting git/mercurial file structure [2020-10-06T06:44:55.660Z] ==> Reading reports [2020-10-06T06:44:55.660Z] + ./coverage.out bytes=111041 [2020-10-06T06:44:55.660Z] ==> Appending adjustments [2020-10-06T06:44:55.660Z] https://docs.codecov.io/docs/fixing-reports [2020-10-06T06:44:56.250Z] + Found adjustments [2020-10-06T06:44:56.250Z] ==> Gzipping contents [2020-10-06T06:44:56.250Z] ==> Uploading reports [2020-10-06T06:44:56.250Z] url: https://codecov.io [2020-10-06T06:44:56.250Z] query: branch=PR-614&commit=6d170b70e1a04a00d380c7c5d579fc072917eff5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= [2020-10-06T06:44:56.250Z] -> Pinging Codecov [2020-10-06T06:44:56.250Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-614&commit=6d170b70e1a04a00d380c7c5d579fc072917eff5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= [2020-10-06T06:44:56.837Z] -> Uploading to [2020-10-06T06:44:56.837Z] https://storage.googleapis.com/codecov/v4/raw/2020-10-06/7E55EF52A471D76F132DFD9A03CDDE97/6d170b70e1a04a00d380c7c5d579fc072917eff5/97280e4f-62a1-4987-9a0b-c58074f9d91c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201006T064456Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b89b0d6b2a106dfce66aaa88920bbacd9d3d7b63a2581e5f7b156447d4b15537 [2020-10-06T06:44:56.837Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-06T06:44:56.837Z] Dload Upload Total Spent Left Speed [2020-10-06T06:44:57.424Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18349 0 0 100 18349 0 37034 --:--:-- --:--:-- --:--:-- 37068 [2020-10-06T06:44:57.424Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6d170b70e1a04a00d380c7c5d579fc072917eff5 [Pipeline] } [2020-10-06T06:44:57.435Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:45:00.044Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:45:00.633Z] ---> package-listing.sh [2020-10-06T06:45:00.633Z] ++ facter osfamily [2020-10-06T06:45:00.633Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-06T06:45:00.896Z] + OS_FAMILY=redhat [2020-10-06T06:45:00.896Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-614 [2020-10-06T06:45:00.896Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-06T06:45:00.896Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-06T06:45:00.896Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-06T06:45:00.896Z] + PACKAGES=/tmp/packages_start.txt [2020-10-06T06:45:00.896Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' [2020-10-06T06:45:00.896Z] + PACKAGES=/tmp/packages_end.txt [2020-10-06T06:45:00.896Z] + case "${OS_FAMILY}" in [2020-10-06T06:45:00.896Z] + rpm -qa [2020-10-06T06:45:00.896Z] + sort [2020-10-06T06:45:05.203Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-06T06:45:05.203Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-06T06:45:05.203Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-06T06:45:05.203Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' [2020-10-06T06:45:05.203Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [2020-10-06T06:45:05.203Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-06T06:45:05.499Z] provisioning config files... [2020-10-06T06:45:05.518Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config1250782820317447037tmp [Pipeline] { [Pipeline] echo [2020-10-06T06:45:05.601Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:45:05.982Z] ---> create-netrc.sh [Pipeline] } [2020-10-06T06:45:05.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-06T06:45:06.093Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:45:06.416Z] ---> python-tools-install.sh [2020-10-06T06:45:06.416Z] Generating Requirements File [2020-10-06T06:46:43.351Z] Python 3.6.8 [2020-10-06T06:46:43.351Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-06T06:46:43.939Z] appdirs==1.4.3 [2020-10-06T06:46:43.939Z] argcomplete==1.12.1 [2020-10-06T06:46:43.939Z] aspy.yaml==1.3.0 [2020-10-06T06:46:43.939Z] attrs==19.3.0 [2020-10-06T06:46:43.939Z] Babel==2.8.0 [2020-10-06T06:46:43.939Z] beautifulsoup4==4.8.2 [2020-10-06T06:46:43.939Z] boto3==1.11.6 [2020-10-06T06:46:43.939Z] botocore==1.14.6 [2020-10-06T06:46:43.939Z] bs4==0.0.1 [2020-10-06T06:46:43.939Z] cachetools==4.1.1 [2020-10-06T06:46:43.939Z] certifi==2019.11.28 [2020-10-06T06:46:43.939Z] cffi==1.14.3 [2020-10-06T06:46:43.939Z] cfgv==2.0.1 [2020-10-06T06:46:43.939Z] chardet==3.0.4 [2020-10-06T06:46:43.939Z] click==7.1 [2020-10-06T06:46:43.939Z] cliff==3.4.0 [2020-10-06T06:46:43.939Z] cmd2==1.3.11 [2020-10-06T06:46:43.939Z] colorama==0.4.3 [2020-10-06T06:46:43.939Z] cryptography==3.1.1 [2020-10-06T06:46:43.939Z] debtcollector==2.2.0 [2020-10-06T06:46:43.939Z] decorator==4.4.2 [2020-10-06T06:46:43.939Z] defusedxml==0.6.0 [2020-10-06T06:46:43.939Z] Deprecated==1.2.7 [2020-10-06T06:46:43.939Z] distlib==0.3.1 [2020-10-06T06:46:43.939Z] distro==1.2.0 [2020-10-06T06:46:43.939Z] dnspython==1.16.0 [2020-10-06T06:46:43.939Z] docker==4.2.0 [2020-10-06T06:46:43.939Z] docutils==0.15.2 [2020-10-06T06:46:43.939Z] dogpile.cache==1.0.2 [2020-10-06T06:46:43.939Z] email-validator==1.0.5 [2020-10-06T06:46:43.939Z] filelock==3.0.12 [2020-10-06T06:46:43.939Z] future==0.18.2 [2020-10-06T06:46:43.939Z] google-auth==1.22.1 [2020-10-06T06:46:43.939Z] httplib2==0.17.0 [2020-10-06T06:46:43.939Z] identify==1.4.11 [2020-10-06T06:46:43.939Z] idna==2.9 [2020-10-06T06:46:43.939Z] importlib-metadata==1.7.0 [2020-10-06T06:46:43.939Z] importlib-resources==1.5.0 [2020-10-06T06:46:43.939Z] iso8601==0.1.13 [2020-10-06T06:46:43.939Z] Jinja2==2.11.1 [2020-10-06T06:46:43.939Z] jmespath==0.10.0 [2020-10-06T06:46:43.939Z] jsonpatch==1.26 [2020-10-06T06:46:43.939Z] jsonpointer==2.0 [2020-10-06T06:46:43.939Z] jsonschema==3.2.0 [2020-10-06T06:46:43.939Z] keystoneauth1==4.2.1 [2020-10-06T06:46:43.939Z] kubernetes==11.0.0 [2020-10-06T06:46:43.939Z] lftools==0.34.2 [2020-10-06T06:46:43.939Z] lxml==4.5.0 [2020-10-06T06:46:43.939Z] MarkupSafe==0.23 [2020-10-06T06:46:43.939Z] msgpack==1.0.0 [2020-10-06T06:46:43.939Z] multi-key-dict==2.0.3 [2020-10-06T06:46:43.939Z] munch==2.5.0 [2020-10-06T06:46:43.939Z] netaddr==0.8.0 [2020-10-06T06:46:43.939Z] netifaces==0.10.9 [2020-10-06T06:46:43.939Z] niet==1.4.2 [2020-10-06T06:46:43.939Z] nodeenv==1.3.5 [2020-10-06T06:46:43.939Z] oauth2client==4.1.3 [2020-10-06T06:46:43.939Z] oauthlib==3.1.0 [2020-10-06T06:46:43.939Z] openstacksdk==0.50.0 [2020-10-06T06:46:43.939Z] os-client-config==2.1.0 [2020-10-06T06:46:43.939Z] os-service-types==1.7.0 [2020-10-06T06:46:43.939Z] osc-lib==2.2.1 [2020-10-06T06:46:43.939Z] oslo.config==8.3.2 [2020-10-06T06:46:43.939Z] oslo.context==3.1.1 [2020-10-06T06:46:43.939Z] oslo.i18n==5.0.1 [2020-10-06T06:46:43.939Z] oslo.log==4.4.0 [2020-10-06T06:46:43.939Z] oslo.serialization==4.0.1 [2020-10-06T06:46:43.939Z] oslo.utils==4.6.0 [2020-10-06T06:46:43.939Z] packaging==20.4 [2020-10-06T06:46:43.939Z] pbr==5.4.4 [2020-10-06T06:46:43.939Z] pluggy==0.13.1 [2020-10-06T06:46:43.939Z] prettytable==0.7.2 [2020-10-06T06:46:43.939Z] py==1.9.0 [2020-10-06T06:46:43.939Z] pyasn1==0.4.8 [2020-10-06T06:46:43.939Z] pyasn1-modules==0.2.8 [2020-10-06T06:46:43.939Z] pycparser==2.20 [2020-10-06T06:46:43.939Z] pygerrit2==2.0.10 [2020-10-06T06:46:43.939Z] PyGithub==1.46 [2020-10-06T06:46:43.939Z] pyinotify==0.9.6 [2020-10-06T06:46:43.939Z] PyJWT==1.7.1 [2020-10-06T06:46:43.939Z] pyparsing==2.4.7 [2020-10-06T06:46:43.939Z] pyperclip==1.8.0 [2020-10-06T06:46:43.939Z] pyroute2==0.4.13 [2020-10-06T06:46:43.939Z] pyrsistent==0.15.7 [2020-10-06T06:46:43.939Z] PySocks==1.6.8 [2020-10-06T06:46:43.939Z] python-cinderclient==7.2.0 [2020-10-06T06:46:43.939Z] python-dateutil==2.8.1 [2020-10-06T06:46:43.939Z] python-heatclient==2.2.1 [2020-10-06T06:46:43.939Z] python-jenkins==1.7.0 [2020-10-06T06:46:43.939Z] python-keystoneclient==4.1.1 [2020-10-06T06:46:43.939Z] python-magnumclient==3.2.1 [2020-10-06T06:46:43.939Z] python-novaclient==17.2.1 [2020-10-06T06:46:43.939Z] python-openstackclient==5.4.0 [2020-10-06T06:46:43.939Z] python-swiftclient==3.10.1 [2020-10-06T06:46:43.939Z] pytz==2020.1 [2020-10-06T06:46:43.939Z] PyYAML==5.3 [2020-10-06T06:46:43.939Z] requests==2.23.0 [2020-10-06T06:46:43.939Z] requests-oauthlib==1.3.0 [2020-10-06T06:46:43.939Z] requestsexceptions==1.4.0 [2020-10-06T06:46:43.939Z] rfc3986==1.4.0 [2020-10-06T06:46:43.939Z] rpm==4.11.3 [2020-10-06T06:46:43.939Z] rsa==4.0 [2020-10-06T06:46:43.939Z] ruamel.yaml==0.16.10 [2020-10-06T06:46:43.939Z] ruamel.yaml.clib==0.2.0 [2020-10-06T06:46:43.939Z] s3transfer==0.3.3 [2020-10-06T06:46:43.939Z] shade==1.27.2 [2020-10-06T06:46:43.939Z] simplejson==3.17.2 [2020-10-06T06:46:43.939Z] six==1.14.0 [2020-10-06T06:46:43.939Z] soupsieve==2.0 [2020-10-06T06:46:43.939Z] stevedore==3.2.2 [2020-10-06T06:46:43.939Z] tabulate==0.8.6 [2020-10-06T06:46:43.939Z] toml==0.10.0 [2020-10-06T06:46:43.939Z] tox==3.20.0 [2020-10-06T06:46:43.939Z] tqdm==4.43.0 [2020-10-06T06:46:43.939Z] urllib3==1.25.8 [2020-10-06T06:46:43.939Z] virtualenv==20.0.33 [2020-10-06T06:46:43.939Z] wcwidth==0.2.5 [2020-10-06T06:46:43.939Z] websocket-client==0.57.0 [2020-10-06T06:46:43.939Z] wrapt==1.12.1 [2020-10-06T06:46:43.939Z] xdg==3.0.2 [2020-10-06T06:46:43.939Z] xmltodict==0.12.0 [2020-10-06T06:46:43.939Z] yq==2.11.1 [2020-10-06T06:46:43.939Z] zipp==3.3.0 [2020-10-06T06:46:45.406Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:46:48.827Z] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [2020-10-06T06:46:53.271Z] Python 2.7.5 [2020-10-06T06:46:53.271Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-06T06:46:53.540Z] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [2020-10-06T06:46:53.541Z] ansible==2.9.7 [2020-10-06T06:46:53.541Z] Babel==0.9.6 [2020-10-06T06:46:53.541Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-06T06:46:53.541Z] beautifulsoup4==4.4.1 [2020-10-06T06:46:53.541Z] bodhi==2.11.0 [2020-10-06T06:46:53.541Z] bodhi-client==2.11.0 [2020-10-06T06:46:53.541Z] CCColUtils==1.4 [2020-10-06T06:46:53.541Z] cffi==1.6.0 [2020-10-06T06:46:53.541Z] chardet==2.2.1 [2020-10-06T06:46:53.541Z] click==6.7 [2020-10-06T06:46:53.541Z] cloud-init==18.5 [2020-10-06T06:46:53.541Z] configobj==4.7.2 [2020-10-06T06:46:53.541Z] cryptography==1.7.2 [2020-10-06T06:46:53.541Z] decorator==3.4.0 [2020-10-06T06:46:53.541Z] distro==1.2.0 [2020-10-06T06:46:53.541Z] enum34==1.0.4 [2020-10-06T06:46:53.541Z] fedpkg==1.38 [2020-10-06T06:46:53.541Z] futures==3.1.1 [2020-10-06T06:46:53.541Z] gitdb==0.6.4 [2020-10-06T06:46:53.541Z] GitPython==1.0.1 [2020-10-06T06:46:53.541Z] html5lib==0.999 [2020-10-06T06:46:53.541Z] httplib2==0.9.2 [2020-10-06T06:46:53.541Z] idna==2.4 [2020-10-06T06:46:53.541Z] iniparse==0.4 [2020-10-06T06:46:53.541Z] ipaddress==1.0.16 [2020-10-06T06:46:53.541Z] IPy==0.75 [2020-10-06T06:46:53.541Z] javapackages==1.0.0 [2020-10-06T06:46:53.541Z] Jinja2==2.7.2 [2020-10-06T06:46:53.541Z] jmespath==0.9.4 [2020-10-06T06:46:53.541Z] jsonpatch==1.2 [2020-10-06T06:46:53.541Z] jsonpointer==1.9 [2020-10-06T06:46:53.541Z] kerberos==1.1 [2020-10-06T06:46:53.541Z] kitchen==1.1.1 [2020-10-06T06:46:53.541Z] langtable==0.0.31 [2020-10-06T06:46:53.541Z] lockfile==0.9.1 [2020-10-06T06:46:53.541Z] lxml==3.2.1 [2020-10-06T06:46:53.541Z] MarkupSafe==0.11 [2020-10-06T06:46:53.541Z] munch==2.0.2 [2020-10-06T06:46:53.541Z] offtrac==0.1.0 [2020-10-06T06:46:53.541Z] openidc-client==0.6.0 [2020-10-06T06:46:53.541Z] packagedb-cli==2.14.1 [2020-10-06T06:46:53.541Z] paramiko==2.1.1 [2020-10-06T06:46:53.541Z] perf==0.1 [2020-10-06T06:46:53.541Z] ply==3.4 [2020-10-06T06:46:53.541Z] policycoreutils-default-encoding==0.1 [2020-10-06T06:46:53.541Z] prettytable==0.7.2 [2020-10-06T06:46:53.541Z] pyasn1==0.1.9 [2020-10-06T06:46:53.541Z] pycparser==2.14 [2020-10-06T06:46:53.541Z] pycurl==7.19.0 [2020-10-06T06:46:53.541Z] pygobject==3.22.0 [2020-10-06T06:46:53.541Z] pygpgme==0.3 [2020-10-06T06:46:53.541Z] pyliblzma==0.5.3 [2020-10-06T06:46:53.541Z] pyOpenSSL==0.13.1 [2020-10-06T06:46:53.541Z] pyparsing==1.5.6 [2020-10-06T06:46:53.541Z] pyserial==2.6 [2020-10-06T06:46:53.541Z] python-augeas==0.5.0 [2020-10-06T06:46:53.541Z] python-bugzilla==2.3.0 [2020-10-06T06:46:53.541Z] python-dateutil==1.5 [2020-10-06T06:46:53.541Z] python-fedora==0.10.0 [2020-10-06T06:46:53.541Z] python-linux-procfs==0.4.9 [2020-10-06T06:46:53.541Z] python-yubico==1.2.3 [2020-10-06T06:46:53.541Z] pyudev==0.15 [2020-10-06T06:46:53.541Z] pyusb==1.0.0b1 [2020-10-06T06:46:53.541Z] pyxattr==0.5.1 [2020-10-06T06:46:53.541Z] PyYAML==3.10 [2020-10-06T06:46:53.541Z] requests==2.6.0 [2020-10-06T06:46:53.541Z] requests-kerberos==0.7.0 [2020-10-06T06:46:53.541Z] rpkg==1.60 [2020-10-06T06:46:53.541Z] schedutils==0.4 [2020-10-06T06:46:53.541Z] seobject==0.1 [2020-10-06T06:46:53.541Z] sepolicy==1.1 [2020-10-06T06:46:53.541Z] six==1.9.0 [2020-10-06T06:46:53.541Z] smmap==0.9.0 [2020-10-06T06:46:53.541Z] urlgrabber==3.10 [2020-10-06T06:46:53.541Z] urllib3==1.10.2 [2020-10-06T06:46:53.541Z] virtualenv==15.1.0 [2020-10-06T06:46:53.541Z] yum-langpacks==0.4.2 [2020-10-06T06:46:53.541Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-06T06:46:53.553Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:46:53.889Z] ---> sudo-logs.sh [2020-10-06T06:46:53.889Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-06T06:46:54.170Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:46:54.509Z] ---> job-cost.sh [2020-10-06T06:46:54.509Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KvVx [2020-10-06T06:47:06.945Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:47:06.945Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:47:07.967Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:47:07.967Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:47:07.967Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:47:07.967Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:47:08.252Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:47:08.542Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:47:08.542Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:47:08.866Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:47:08.866Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:47:08.866Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:47:15.618Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-06T06:47:54.748Z] lf-activate-venv(): INFO: Adding /tmp/venv-KvVx/bin to PATH [2020-10-06T06:47:54.748Z] INFO: No Stack... [2020-10-06T06:47:54.748Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-06T06:47:54.748Z] INFO: Archiving Costs [Pipeline] echo [2020-10-06T06:47:54.804Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:47:55.134Z] ---> logs-deploy.sh [2020-10-06T06:47:55.134Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-614/3 [2020-10-06T06:47:55.134Z] INFO: archiving workspace using pattern(s): [2020-10-06T06:47:57.745Z] Archives upload complete. [2020-10-06T06:47:57.745Z] INFO: archiving logs to Nexus [2020-10-06T06:47:59.191Z] ---> uname -a: [2020-10-06T06:47:59.191Z] Linux prd-centos7-docker-4c-2g-3697.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux [2020-10-06T06:47:59.191Z] [2020-10-06T06:47:59.191Z]