Pull request #619 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 ebdeafb0d0ff330beb2a20cbeb14ea995b76909b+153a43e7e060228c1df4c616c423a5b384e52518 (d78873c33067789427a010c329d2d0e95b25834f) 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-4691 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [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-619 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit ebdeafb0d0ff330beb2a20cbeb14ea995b76909b Merge succeeded, producing ebdeafb0d0ff330beb2a20cbeb14ea995b76909b Checking out Revision ebdeafb0d0ff330beb2a20cbeb14ea995b76909b (PR-619) > git config core.sparsecheckout # timeout=10 > git checkout -f ebdeafb0d0ff330beb2a20cbeb14ea995b76909b # 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 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ebdeafb0d0ff330beb2a20cbeb14ea995b76909b # timeout=10 Commit message: "docs(sdk): update comment" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-12T03:01:19.573Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-12T03:01:19.945Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 5d0c504eae50a1668b527b6ad2bb363c764e8a11 # timeout=10 [Pipeline] echo [2020-10-12T03:01:20.140Z] ========================================================= [2020-10-12T03:01:20.140Z] EdgeX Global Pipelines Version Info [2020-10-12T03:01:20.140Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-12T03:01:22.808Z] ------------------- [2020-10-12T03:01:22.808Z] stable info: [2020-10-12T03:01:22.808Z] ------------------- [2020-10-12T03:01:22.808Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-12T03:01:22.808Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-12T03:01:22.808Z] Message: update stable to v1.0.131 [2020-10-12T03:01:24.062Z] ------------------- [2020-10-12T03:01:24.062Z] experimental info: [2020-10-12T03:01:24.062Z] ------------------- [2020-10-12T03:01:24.062Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-12T03:01:24.062Z] Commit SHA: 2e6d42a532571151575c80d72899821df0f9b0af [2020-10-12T03:01:24.062Z] Message: update experimental to v1.0.135 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-12T03:01:24.564Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-12T03:01:24.670Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-12T03:01:24.772Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-12T03:01:24.883Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-12T03:01:24.984Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-12T03:01:25.099Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-12T03:01:25.196Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-12T03:01:25.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-12T03:01:25.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-12T03:01:25.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-12T03:01:25.687Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-12T03:01:25.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-12T03:01:25.923Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-12T03:01:26.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-12T03:01:26.147Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-12T03:01:26.269Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T03:01:26.383Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T03:01:26.491Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T03:01:26.585Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-12T03:01:26.697Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-12T03:01:26.807Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-12T03:01:26.912Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-12T03:01:27.025Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-12T03:01:27.134Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-12T03:01:27.234Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-12T03:01:27.341Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-619 [Pipeline] echo [2020-10-12T03:01:27.439Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-619 [Pipeline] echo [2020-10-12T03:01:27.563Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-619 [Pipeline] echo [2020-10-12T03:01:27.668Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ebdeafb0d0ff330beb2a20cbeb14ea995b76909b [Pipeline] echo [2020-10-12T03:01:27.769Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ebdeafb [Pipeline] echo [2020-10-12T03:01:27.867Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-12T03:01:28.612Z] + git log --format=format:%s -1 ebdeafb0d0ff330beb2a20cbeb14ea995b76909b [Pipeline] echo [2020-10-12T03:01:28.799Z] GIT_COMMIT: ebdeafb0d0ff330beb2a20cbeb14ea995b76909b, Commit Message: docs(sdk): update comment [Pipeline] echo [2020-10-12T03:01:28.851Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-12T03:01:29.868Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T03:01:30.518Z] [2020-10-12T03:01:30.518Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T03:01:31.031Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T03:01:31.333Z] latest: Pulling from edgex-devops/git-semver [2020-10-12T03:01:31.333Z] 31603596830f: Pulling fs layer [2020-10-12T03:01:31.333Z] 2a8b12db71e7: Pulling fs layer [2020-10-12T03:01:31.333Z] 6ca5941a6612: Pulling fs layer [2020-10-12T03:01:31.333Z] ecc8261a40a4: Pulling fs layer [2020-10-12T03:01:31.333Z] ecc8261a40a4: Waiting [2020-10-12T03:01:31.333Z] 2a8b12db71e7: Verifying Checksum [2020-10-12T03:01:31.333Z] 2a8b12db71e7: Download complete [2020-10-12T03:01:31.333Z] 31603596830f: Verifying Checksum [2020-10-12T03:01:31.333Z] 31603596830f: Download complete [2020-10-12T03:01:31.631Z] ecc8261a40a4: Verifying Checksum [2020-10-12T03:01:31.631Z] ecc8261a40a4: Download complete [2020-10-12T03:01:31.912Z] 6ca5941a6612: Verifying Checksum [2020-10-12T03:01:31.912Z] 6ca5941a6612: Download complete [2020-10-12T03:01:32.182Z] 31603596830f: Pull complete [2020-10-12T03:01:32.457Z] 2a8b12db71e7: Pull complete [2020-10-12T03:01:33.436Z] 6ca5941a6612: Pull complete [2020-10-12T03:01:33.736Z] ecc8261a40a4: Pull complete [2020-10-12T03:01:33.736Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-12T03:01:33.736Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T03:01:33.736Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-12T03:01:33.959Z] prd-centos7-docker-4c-2g-4691 does not seem to be running inside a container [2020-10-12T03:01:34.100Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-619 -v /w/workspace/dgexfoundry_device-sdk-go_PR-619:/w/workspace/dgexfoundry_device-sdk-go_PR-619:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-619@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-10-12T03:01:36.421Z] $ docker top 627f89b4640b27565b3c92e4426ef25aab7cedd7c9d523d547eb5956f1426408 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-12T03:01:36.842Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-12T03:01:36.842Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-12T03:01:37.190Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-12T03:01:37.196Z] $ docker exec 627f89b4640b27565b3c92e4426ef25aab7cedd7c9d523d547eb5956f1426408 ssh-agent [2020-10-12T03:01:37.607Z] SSH_AUTH_SOCK=/tmp/ssh-TMPzqcgbohGe/agent.11 [2020-10-12T03:01:37.607Z] SSH_AGENT_PID=16 [2020-10-12T03:01:37.633Z] Running ssh-add (command line suppressed) [2020-10-12T03:01:37.926Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_4825933164174514145.key (/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_4825933164174514145.key) [2020-10-12T03:01:38.068Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-12T03:01:38.562Z] + git describe --exact-match --tags HEAD [2020-10-12T03:01:38.562Z] fatal: no tag exactly matches 'ebdeafb0d0ff330beb2a20cbeb14ea995b76909b' [Pipeline] } [2020-10-12T03:01:38.649Z] $ docker exec --env ******** --env ******** 627f89b4640b27565b3c92e4426ef25aab7cedd7c9d523d547eb5956f1426408 ssh-agent -k [2020-10-12T03:01:38.824Z] unset SSH_AUTH_SOCK; [2020-10-12T03:01:38.825Z] unset SSH_AGENT_PID; [2020-10-12T03:01:38.825Z] echo Agent pid 16 killed; [2020-10-12T03:01:38.913Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-12T03:01:39.009Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-12T03:01:39.009Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-12T03:01:39.110Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-12T03:01:39.110Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-12T03:01:39.374Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-12T03:01:39.379Z] $ docker exec 627f89b4640b27565b3c92e4426ef25aab7cedd7c9d523d547eb5956f1426408 ssh-agent [2020-10-12T03:01:39.766Z] SSH_AUTH_SOCK=/tmp/ssh-NIPty9FaMnlo/agent.45 [2020-10-12T03:01:39.766Z] SSH_AGENT_PID=51 [2020-10-12T03:01:39.788Z] Running ssh-add (command line suppressed) [2020-10-12T03:01:40.090Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_7699270323381357583.key (/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_7699270323381357583.key) [2020-10-12T03:01:40.190Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-12T03:01:40.613Z] + git semver init [2020-10-12T03:01:40.613Z] # -> Open(): unable to determine branch for HEAD [2020-10-12T03:01:40.613Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-619/.git [2020-10-12T03:01:40.614Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-619 [2020-10-12T03:01:40.614Z] # $SEMVER_REMOTE_NAME = origin [2020-10-12T03:01:40.614Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-12T03:01:40.614Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-12T03:01:40.614Z] # $SEMVER_BRANCH = PR-619 [2020-10-12T03:01:40.614Z] # $SEMVER_TEMP = /tmp/semver-159198393 [2020-10-12T03:01:40.614Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-12T03:01:41.676Z] # '/tmp/semver-159198393' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-619/.semver' [2020-10-12T03:01:41.676Z] # -> Force: false [2020-10-12T03:01:41.676Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-619/.semver [Pipeline] } [2020-10-12T03:01:41.742Z] $ docker exec --env ******** --env ******** 627f89b4640b27565b3c92e4426ef25aab7cedd7c9d523d547eb5956f1426408 ssh-agent -k [2020-10-12T03:01:42.243Z] unset SSH_AUTH_SOCK; [2020-10-12T03:01:42.255Z] unset SSH_AGENT_PID; [2020-10-12T03:01:42.255Z] echo Agent pid 51 killed; [2020-10-12T03:01:42.328Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-12T03:01:43.207Z] + git semver [Pipeline] } [2020-10-12T03:01:43.237Z] $ docker stop --time=1 627f89b4640b27565b3c92e4426ef25aab7cedd7c9d523d547eb5956f1426408 [2020-10-12T03:01:44.906Z] $ docker rm -f 627f89b4640b27565b3c92e4426ef25aab7cedd7c9d523d547eb5956f1426408 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-12T03:01:47.697Z] Stashed 48 file(s) [Pipeline] echo [2020-10-12T03:01:47.701Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-12T03:01:47.805Z] 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-12T03:01:48.538Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4688 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] ws [2020-10-12T03:01:48.600Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2020-10-12T03:01:53.668Z] using credential edgex-jenkins-ssh [2020-10-12T03:01:53.728Z] Cloning the remote Git repository [2020-10-12T03:01:53.793Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T03:01:53.900Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2020-10-12T03:01:53.966Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T03:01:53.967Z] > git --version # timeout=10 [2020-10-12T03:01:53.982Z] > git --version # 'git version 2.17.1' [2020-10-12T03:01:53.984Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T03:01:54.037Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T03:01:55.649Z] Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit ebdeafb0d0ff330beb2a20cbeb14ea995b76909b [2020-10-12T03:01:55.875Z] Merge succeeded, producing ebdeafb0d0ff330beb2a20cbeb14ea995b76909b [2020-10-12T03:01:55.875Z] Checking out Revision ebdeafb0d0ff330beb2a20cbeb14ea995b76909b (PR-619) [2020-10-12T03:01:54.996Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T03:01:55.017Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T03:01:55.044Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T03:01:55.074Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T03:01:55.074Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T03:01:55.086Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-12T03:01:55.683Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T03:01:55.696Z] > git checkout -f ebdeafb0d0ff330beb2a20cbeb14ea995b76909b # timeout=10 [2020-10-12T03:01:55.805Z] > git remote # timeout=10 [2020-10-12T03:01:55.827Z] > git config --get remote.origin.url # timeout=10 [2020-10-12T03:01:55.841Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T03:01:55.851Z] > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 [2020-10-12T03:01:55.874Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-12T03:01:55.896Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T03:01:55.921Z] > git checkout -f ebdeafb0d0ff330beb2a20cbeb14ea995b76909b # timeout=10 [2020-10-12T03:02:01.968Z] Commit message: "docs(sdk): update comment" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-10-12T03:02:03.288Z] Still waiting to schedule task [2020-10-12T03:02:03.289Z] ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-4669’ is offline; ‘prd-centos7-docker-4c-2g-4672’ is offline; ‘prd-centos7-docker-4c-2g-4689’ is offline; ‘prd-centos7-docker-4c-2g-4692’ is offline; ‘prd-centos7-docker-8c-8g-4690’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4687’ doesn’t have label ‘centos7-docker-4c-2g’ [Pipeline] echo [2020-10-12T03:02:03.294Z] ========================================================= [2020-10-12T03:02:03.294Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-12T03:02:03.294Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-12T03:02:04.271Z] + 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-12T03:02:05.255Z] Sending build context to Docker daemon 3.653MB [2020-10-12T03:02:05.255Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-12T03:02:05.255Z] Step 2/8 : FROM ${BASE} [2020-10-12T03:02:05.530Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-12T03:02:05.530Z] b538f80385f9: Pulling fs layer [2020-10-12T03:02:05.530Z] 74f711af9a0d: Pulling fs layer [2020-10-12T03:02:05.530Z] 99f96fe45779: Pulling fs layer [2020-10-12T03:02:05.530Z] 8529a6b9a6be: Pulling fs layer [2020-10-12T03:02:05.530Z] 45590311c82a: Pulling fs layer [2020-10-12T03:02:05.530Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-12T03:02:05.530Z] 209524e5b208: Pulling fs layer [2020-10-12T03:02:05.530Z] 8529a6b9a6be: Waiting [2020-10-12T03:02:05.530Z] 45590311c82a: Waiting [2020-10-12T03:02:05.530Z] 69ca0ff8b7b3: Waiting [2020-10-12T03:02:05.530Z] 209524e5b208: Waiting [2020-10-12T03:02:05.530Z] 99f96fe45779: Download complete [2020-10-12T03:02:05.530Z] 74f711af9a0d: Download complete [2020-10-12T03:02:05.530Z] 45590311c82a: Verifying Checksum [2020-10-12T03:02:05.530Z] 45590311c82a: Download complete [2020-10-12T03:02:05.530Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-12T03:02:05.530Z] 69ca0ff8b7b3: Download complete [2020-10-12T03:02:05.530Z] b538f80385f9: Verifying Checksum [2020-10-12T03:02:05.530Z] b538f80385f9: Download complete [2020-10-12T03:02:06.136Z] b538f80385f9: Pull complete [2020-10-12T03:02:06.740Z] 74f711af9a0d: Pull complete [2020-10-12T03:02:07.348Z] 99f96fe45779: Pull complete [2020-10-12T03:02:08.790Z] 209524e5b208: Verifying Checksum [2020-10-12T03:02:08.791Z] 209524e5b208: Download complete [2020-10-12T03:02:09.781Z] 8529a6b9a6be: Verifying Checksum [2020-10-12T03:02:09.781Z] 8529a6b9a6be: Download complete [2020-10-12T03:02:22.250Z] 8529a6b9a6be: Pull complete [2020-10-12T03:02:22.250Z] 45590311c82a: Pull complete [2020-10-12T03:02:22.250Z] 69ca0ff8b7b3: Pull complete [2020-10-12T03:02:24.885Z] 209524e5b208: Pull complete [2020-10-12T03:02:24.885Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-12T03:02:24.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-12T03:02:24.885Z] ---> 5bddaf1c2fca [2020-10-12T03:02:24.885Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T03:02:27.541Z] ---> Running in 3ae286a8b902 [2020-10-12T03:02:27.816Z] Removing intermediate container 3ae286a8b902 [2020-10-12T03:02:27.816Z] ---> 2562efb937f3 [2020-10-12T03:02:27.816Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T03:02:27.816Z] ---> Running in 3172a7d0d269 [2020-10-12T03:02:30.447Z] Removing intermediate container 3172a7d0d269 [2020-10-12T03:02:30.447Z] ---> c32cc099c62b [2020-10-12T03:02:30.447Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-12T03:02:30.725Z] ---> Running in 16690ef26eac [2020-10-12T03:02:32.164Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-12T03:02:32.759Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-12T03:02:33.751Z] OK: 142 MiB in 39 packages [2020-10-12T03:02:34.740Z] Removing intermediate container 16690ef26eac [2020-10-12T03:02:34.740Z] ---> e31245b67260 [2020-10-12T03:02:34.740Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-12T03:02:35.016Z] ---> Running in cebb86942f27 [2020-10-12T03:02:35.614Z] Removing intermediate container cebb86942f27 [2020-10-12T03:02:35.614Z] ---> b6fe4ee3795f [2020-10-12T03:02:35.614Z] Step 7/8 : COPY . . [2020-10-12T03:02:37.049Z] ---> 1a3d5f4225b7 [2020-10-12T03:02:37.049Z] Step 8/8 : RUN go mod download [2020-10-12T03:02:37.049Z] ---> Running in 37e473978bf7 [2020-10-12T03:02:59.343Z] Removing intermediate container 37e473978bf7 [2020-10-12T03:02:59.343Z] ---> 60956f044a9c [2020-10-12T03:02:59.343Z] Successfully built 60956f044a9c [2020-10-12T03:02:59.343Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T03:02:59.748Z] + docker inspect -f . ci-base-image-arm64 [2020-10-12T03:02:59.748Z] . [Pipeline] withDockerContainer [2020-10-12T03:03:00.021Z] prd-ubuntu18.04-docker-arm64-4c-16g-4688 does not seem to be running inside a container [2020-10-12T03:03:00.117Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-12T03:03:01.984Z] $ docker top c363da3a58b777e6bf651d87e743aef536ac3bd217d0ce30100c9210c31d628b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T03:03:03.384Z] + go version [2020-10-12T03:03:03.384Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-12T03:03:03.422Z] $ docker stop --time=1 c363da3a58b777e6bf651d87e743aef536ac3bd217d0ce30100c9210c31d628b [2020-10-12T03:03:05.372Z] $ docker rm -f c363da3a58b777e6bf651d87e743aef536ac3bd217d0ce30100c9210c31d628b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-12T03:03:06.398Z] + docker inspect -f . ci-base-image-arm64 [2020-10-12T03:03:06.398Z] . [Pipeline] withDockerContainer [2020-10-12T03:03:06.667Z] prd-ubuntu18.04-docker-arm64-4c-16g-4688 does not seem to be running inside a container [2020-10-12T03:03:06.767Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-12T03:03:08.633Z] $ docker top 070716ad1ea0aab54d366d7542ffc11bfcae2fc44f6bf67d555d778e793450cd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T03:03:10.032Z] + make test [2020-10-12T03:03:10.032Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-12T03:03:32.282Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-12T03:04:11.329Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-12T03:04:11.329Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-12T03:04:11.329Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-12T03:04:11.329Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.167s coverage: 21.6% of statements [2020-10-12T03:04:15.657Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.157s coverage: 97.1% of statements [2020-10-12T03:04:42.487Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.144s coverage: 9.4% of statements [2020-10-12T03:04:42.487Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.135s coverage: 21.9% of statements [2020-10-12T03:04:42.487Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-12T03:04:42.487Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.550s coverage: 40.8% of statements [2020-10-12T03:04:42.487Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-12T03:04:42.487Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.735s coverage: 68.9% of statements [2020-10-12T03:04:42.487Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-12T03:04:42.487Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-12T03:04:42.487Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-12T03:04:42.487Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-12T03:04:42.487Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.169s coverage: 52.6% of statements [2020-10-12T03:04:42.487Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-12T03:04:42.487Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-12T03:04:42.487Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.865s coverage: 68.9% of statements [2020-10-12T03:04:42.487Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-12T03:04:42.487Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-12T03:04:42.763Z] GO111MODULE=on go vet ./... [2020-10-12T03:05:15.131Z] gofmt -l . [2020-10-12T03:05:15.131Z] [ "`gofmt -l .`" = "" ] [2020-10-12T03:05:15.131Z] ./bin/test-attribution-txt.sh [2020-10-12T03:05:15.131Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-12T03:05:16.065Z] Stashed 1 file(s) [Pipeline] } [2020-10-12T03:05:16.089Z] $ docker stop --time=1 070716ad1ea0aab54d366d7542ffc11bfcae2fc44f6bf67d555d778e793450cd [2020-10-12T03:05:18.245Z] $ docker rm -f 070716ad1ea0aab54d366d7542ffc11bfcae2fc44f6bf67d555d778e793450cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-12T03:05:21.879Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-12T03:05:22.211Z] + ls -al . [2020-10-12T03:05:22.211Z] total 228 [2020-10-12T03:05:22.211Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 03:05 . [2020-10-12T03:05:22.211Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 03:01 .. [2020-10-12T03:05:22.211Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 03:01 .dockerignore [2020-10-12T03:05:22.211Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 03:02 .git [2020-10-12T03:05:22.211Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 03:01 .github [2020-10-12T03:05:22.211Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 12 03:01 .gitignore [2020-10-12T03:05:22.211Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 03:02 .semver [2020-10-12T03:05:22.211Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 12 03:01 Dockerfile.build [2020-10-12T03:05:22.211Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 12 03:01 Jenkinsfile [2020-10-12T03:05:22.211Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 03:01 LICENSE [2020-10-12T03:05:22.211Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 12 03:01 Makefile [2020-10-12T03:05:22.211Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 12 03:01 README.md [2020-10-12T03:05:22.211Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 12 03:01 RELEASE-NOTES.txt [2020-10-12T03:05:22.211Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 03:01 VERSION [2020-10-12T03:05:22.211Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 03:01 bin [2020-10-12T03:05:22.211Z] -rw-r--r-- 1 jenkins jenkins 110396 Oct 12 03:04 coverage.out [2020-10-12T03:05:22.211Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 03:01 example [2020-10-12T03:05:22.211Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 12 03:05 go.mod [2020-10-12T03:05:22.211Z] -rw-r--r-- 1 jenkins jenkins 13652 Oct 12 03:05 go.sum [2020-10-12T03:05:22.211Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 12 03:01 internal [2020-10-12T03:05:22.211Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 03:01 openapi [2020-10-12T03:05:22.211Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 03:01 pkg [2020-10-12T03:05:22.211Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 03:01 snap [2020-10-12T03:05:22.211Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 03:01 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-12T03:05:22.558Z] + 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=ebdeafb0d0ff330beb2a20cbeb14ea995b76909b --label arch=arm64 --label version=0.0.0 . [2020-10-12T03:05:23.177Z] Sending build context to Docker daemon 3.764MB [2020-10-12T03:05:23.177Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-12T03:05:23.177Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-12T03:05:23.177Z] ---> 60956f044a9c [2020-10-12T03:05:23.177Z] Step 3/24 : ARG MAKE='make build' [2020-10-12T03:05:23.454Z] ---> Running in fe7aecc46780 [2020-10-12T03:05:24.049Z] Removing intermediate container fe7aecc46780 [2020-10-12T03:05:24.049Z] ---> ca2671b0fa56 [2020-10-12T03:05:24.049Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-12T03:05:24.049Z] ---> Running in 0506da374c89 [2020-10-12T03:05:24.647Z] Removing intermediate container 0506da374c89 [2020-10-12T03:05:24.647Z] ---> 44db5ec142bf [2020-10-12T03:05:24.647Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T03:05:24.647Z] ---> Running in f21033cb5e09 [2020-10-12T03:05:24.922Z] Removing intermediate container f21033cb5e09 [2020-10-12T03:05:24.922Z] ---> 1fae8f2f8415 [2020-10-12T03:05:24.922Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T03:05:25.195Z] ---> Running in d3ec56658c58 [2020-10-12T03:05:27.816Z] Removing intermediate container d3ec56658c58 [2020-10-12T03:05:27.816Z] ---> f2331819c98f [2020-10-12T03:05:27.816Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-12T03:05:27.816Z] ---> Running in a0f62595c64c [2020-10-12T03:05:29.257Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-12T03:05:30.228Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-12T03:05:30.300Z] Running on prd-centos7-docker-4c-2g-4694 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] ws [2020-10-12T03:05:30.366Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2020-10-12T03:05:31.217Z] OK: 142 MiB in 39 packages [2020-10-12T03:05:32.218Z] Removing intermediate container a0f62595c64c [2020-10-12T03:05:32.218Z] ---> dc20e668701b [2020-10-12T03:05:32.218Z] Step 8/24 : COPY . . [2020-10-12T03:05:33.285Z] using credential edgex-jenkins-ssh [2020-10-12T03:05:33.375Z] Cloning the remote Git repository [2020-10-12T03:05:33.209Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T03:05:33.330Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2020-10-12T03:05:33.386Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T03:05:33.387Z] > git --version # timeout=10 [2020-10-12T03:05:33.394Z] > git --version # 'git version 2.16.5' [2020-10-12T03:05:33.394Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T03:05:33.422Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T03:05:34.202Z] ---> 1fab81be91bd [2020-10-12T03:05:34.203Z] Step 9/24 : RUN ${MAKE} [2020-10-12T03:05:34.203Z] ---> Running in b1075fbe57d5 [2020-10-12T03:05:34.770Z] Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit ebdeafb0d0ff330beb2a20cbeb14ea995b76909b [2020-10-12T03:05:34.123Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T03:05:34.135Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T03:05:34.146Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T03:05:34.164Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T03:05:34.165Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T03:05:34.170Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-12T03:05:34.687Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T03:05:34.693Z] > git checkout -f ebdeafb0d0ff330beb2a20cbeb14ea995b76909b # timeout=10 [2020-10-12T03:05:35.068Z] Merge succeeded, producing ebdeafb0d0ff330beb2a20cbeb14ea995b76909b [2020-10-12T03:05:35.069Z] Checking out Revision ebdeafb0d0ff330beb2a20cbeb14ea995b76909b (PR-619) [2020-10-12T03:05:35.641Z] 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-12T03:05:34.757Z] > git remote # timeout=10 [2020-10-12T03:05:34.763Z] > git config --get remote.origin.url # timeout=10 [2020-10-12T03:05:34.771Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T03:05:34.875Z] > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 [2020-10-12T03:05:34.987Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-12T03:05:35.006Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T03:05:35.012Z] > git checkout -f ebdeafb0d0ff330beb2a20cbeb14ea995b76909b # timeout=10 [2020-10-12T03:05:38.702Z] Commit message: "docs(sdk): update comment" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-12T03:05:39.582Z] ========================================================= [2020-10-12T03:05:39.583Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-12T03:05:39.583Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-12T03:05:40.243Z] + 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-12T03:05:40.507Z] Sending build context to Docker daemon 3.653MB [2020-10-12T03:05:40.507Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-12T03:05:40.507Z] Step 2/8 : FROM ${BASE} [2020-10-12T03:05:40.771Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-12T03:05:40.771Z] df20fa9351a1: Pulling fs layer [2020-10-12T03:05:40.771Z] ed8968b2872e: Pulling fs layer [2020-10-12T03:05:40.771Z] a92cc7c5fd73: Pulling fs layer [2020-10-12T03:05:40.771Z] e871e8e8d7a9: Pulling fs layer [2020-10-12T03:05:40.771Z] e73272ec9a57: Pulling fs layer [2020-10-12T03:05:40.771Z] 1e910a182e73: Pulling fs layer [2020-10-12T03:05:40.771Z] 4e634b169226: Pulling fs layer [2020-10-12T03:05:40.771Z] e73272ec9a57: Waiting [2020-10-12T03:05:40.771Z] 1e910a182e73: Waiting [2020-10-12T03:05:40.771Z] 4e634b169226: Waiting [2020-10-12T03:05:40.771Z] e871e8e8d7a9: Waiting [2020-10-12T03:05:40.771Z] a92cc7c5fd73: Verifying Checksum [2020-10-12T03:05:40.771Z] a92cc7c5fd73: Download complete [2020-10-12T03:05:40.771Z] ed8968b2872e: Verifying Checksum [2020-10-12T03:05:40.771Z] ed8968b2872e: Download complete [2020-10-12T03:05:40.771Z] e73272ec9a57: Verifying Checksum [2020-10-12T03:05:40.771Z] e73272ec9a57: Download complete [2020-10-12T03:05:40.771Z] 1e910a182e73: Verifying Checksum [2020-10-12T03:05:40.771Z] 1e910a182e73: Download complete [2020-10-12T03:05:40.771Z] df20fa9351a1: Verifying Checksum [2020-10-12T03:05:40.771Z] df20fa9351a1: Download complete [2020-10-12T03:05:41.036Z] df20fa9351a1: Pull complete [2020-10-12T03:05:41.298Z] ed8968b2872e: Pull complete [2020-10-12T03:05:41.298Z] a92cc7c5fd73: Pull complete [2020-10-12T03:05:43.870Z] 4e634b169226: Verifying Checksum [2020-10-12T03:05:43.870Z] 4e634b169226: Download complete [2020-10-12T03:05:44.826Z] e871e8e8d7a9: Verifying Checksum [2020-10-12T03:05:44.826Z] e871e8e8d7a9: Download complete [2020-10-12T03:05:50.162Z] e871e8e8d7a9: Pull complete [2020-10-12T03:05:50.162Z] e73272ec9a57: Pull complete [2020-10-12T03:05:50.426Z] 1e910a182e73: Pull complete [2020-10-12T03:05:54.656Z] 4e634b169226: Pull complete [2020-10-12T03:05:54.656Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-12T03:05:54.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-12T03:05:54.656Z] ---> f7629b54cfaa [2020-10-12T03:05:54.656Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T03:05:54.921Z] ---> Running in 41d984096c80 [2020-10-12T03:05:55.184Z] Removing intermediate container 41d984096c80 [2020-10-12T03:05:55.184Z] ---> a1d9566869ed [2020-10-12T03:05:55.184Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T03:05:55.184Z] ---> Running in 5bc2a88fefaa [2020-10-12T03:05:56.581Z] Removing intermediate container 5bc2a88fefaa [2020-10-12T03:05:56.581Z] ---> af2d1fa3de7d [2020-10-12T03:05:56.581Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-12T03:05:56.581Z] ---> Running in 48290c91c68c [2020-10-12T03:05:57.156Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-12T03:05:58.112Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-12T03:05:58.374Z] OK: 166 MiB in 39 packages [2020-10-12T03:05:58.960Z] Removing intermediate container 48290c91c68c [2020-10-12T03:05:58.960Z] ---> e3efddaf9f19 [2020-10-12T03:05:58.960Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-12T03:05:58.960Z] ---> Running in 91e50bf6c3df [2020-10-12T03:05:58.960Z] Removing intermediate container 91e50bf6c3df [2020-10-12T03:05:58.960Z] ---> 4d64de779ee4 [2020-10-12T03:05:58.960Z] Step 7/8 : COPY . . [2020-10-12T03:06:00.366Z] ---> a16eb51c31cb [2020-10-12T03:06:00.366Z] Step 8/8 : RUN go mod download [2020-10-12T03:06:00.366Z] ---> Running in 59f3359a081e [2020-10-12T03:06:02.471Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-12T03:06:02.471Z] Removing intermediate container b1075fbe57d5 [2020-10-12T03:06:02.471Z] ---> 153354ff4d6a [2020-10-12T03:06:02.471Z] Step 10/24 : FROM scratch [2020-10-12T03:06:02.471Z] ---> [2020-10-12T03:06:02.471Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T03:06:02.471Z] ---> Running in bb2b4ea3ae8b [2020-10-12T03:06:02.471Z] Removing intermediate container bb2b4ea3ae8b [2020-10-12T03:06:02.471Z] ---> 2019bd5833ea [2020-10-12T03:06:02.471Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-12T03:06:02.471Z] ---> Running in 0d045b2d332b [2020-10-12T03:06:02.754Z] Removing intermediate container 0d045b2d332b [2020-10-12T03:06:02.754Z] ---> 8d9547b1653d [2020-10-12T03:06:02.754Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-12T03:06:02.754Z] ---> Running in 0a78484714ef [2020-10-12T03:06:03.351Z] Removing intermediate container 0a78484714ef [2020-10-12T03:06:03.351Z] ---> 52f4b9a963fd [2020-10-12T03:06:03.351Z] Step 14/24 : WORKDIR / [2020-10-12T03:06:03.351Z] ---> Running in 1c50df54eab0 [2020-10-12T03:06:03.947Z] Removing intermediate container 1c50df54eab0 [2020-10-12T03:06:03.947Z] ---> 5b88f01b45e6 [2020-10-12T03:06:03.947Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-12T03:06:04.927Z] ---> dc813ebc1321 [2020-10-12T03:06:04.927Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-12T03:06:05.904Z] ---> fd1005e1a52e [2020-10-12T03:06:05.905Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-12T03:06:06.499Z] ---> a130e2f401a9 [2020-10-12T03:06:06.499Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-12T03:06:07.092Z] ---> 18731e2459ca [2020-10-12T03:06:07.092Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-12T03:06:07.687Z] ---> 9db7b0184bea [2020-10-12T03:06:07.687Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-12T03:06:07.957Z] ---> Running in 2dd7a07a0ad6 [2020-10-12T03:06:08.239Z] Removing intermediate container 2dd7a07a0ad6 [2020-10-12T03:06:08.239Z] ---> a97817c4cf88 [2020-10-12T03:06:08.239Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-12T03:06:08.511Z] ---> Running in 2c33b4d9f10e [2020-10-12T03:06:08.785Z] Removing intermediate container 2c33b4d9f10e [2020-10-12T03:06:08.785Z] ---> e92b843ce8e4 [2020-10-12T03:06:08.785Z] Step 22/24 : LABEL arch=arm64 [2020-10-12T03:06:09.061Z] ---> Running in 59fec77bed81 [2020-10-12T03:06:09.335Z] Removing intermediate container 59fec77bed81 [2020-10-12T03:06:09.335Z] ---> a4e54a900045 [2020-10-12T03:06:09.335Z] Step 23/24 : LABEL git_sha=ebdeafb0d0ff330beb2a20cbeb14ea995b76909b [2020-10-12T03:06:09.610Z] ---> Running in 92bad31f7aba [2020-10-12T03:06:09.884Z] Removing intermediate container 92bad31f7aba [2020-10-12T03:06:09.884Z] ---> 417748f12b27 [2020-10-12T03:06:09.884Z] Step 24/24 : LABEL version=0.0.0 [2020-10-12T03:06:10.163Z] ---> Running in 406351979f6d [2020-10-12T03:06:10.759Z] Removing intermediate container 406351979f6d [2020-10-12T03:06:10.759Z] ---> c69a4c2200c4 [2020-10-12T03:06:10.759Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-12T03:06:10.759Z] Successfully built c69a4c2200c4 [2020-10-12T03:06:10.759Z] 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] } [2020-10-12T03:06:22.400Z] Removing intermediate container 59f3359a081e [2020-10-12T03:06:22.400Z] ---> 8f6b97904b8b [2020-10-12T03:06:22.400Z] Successfully built 8f6b97904b8b [2020-10-12T03:06:22.400Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T03:06:22.900Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-12T03:06:22.900Z] . [Pipeline] withDockerContainer [2020-10-12T03:06:23.009Z] prd-centos7-docker-4c-2g-4694 does not seem to be running inside a container [2020-10-12T03:06:23.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-12T03:06:23.800Z] $ docker top 79e8a7c9122e5c1d59fc5fea73894412576ac9024e948d1ada0507bb88f487c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T03:06:24.286Z] + go version [2020-10-12T03:06:24.286Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-12T03:06:24.300Z] $ docker stop --time=1 79e8a7c9122e5c1d59fc5fea73894412576ac9024e948d1ada0507bb88f487c3 [2020-10-12T03:06:25.637Z] $ docker rm -f 79e8a7c9122e5c1d59fc5fea73894412576ac9024e948d1ada0507bb88f487c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-12T03:06:26.525Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-12T03:06:26.525Z] . [Pipeline] withDockerContainer [2020-10-12T03:06:26.703Z] prd-centos7-docker-4c-2g-4694 does not seem to be running inside a container [2020-10-12T03:06:26.752Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-12T03:06:27.345Z] $ docker top 013ae892eb980023da7b8f32b936b663832e69ab7302d690a2b510cf68e9d739 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T03:06:27.880Z] + make test [2020-10-12T03:06:27.880Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-12T03:06:34.554Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-12T03:06:49.626Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-12T03:06:49.626Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-12T03:06:49.626Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-12T03:06:49.626Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.068s coverage: 21.6% of statements [2020-10-12T03:06:51.041Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.420s coverage: 97.1% of statements [2020-10-12T03:07:23.216Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.057s coverage: 9.4% of statements [2020-10-12T03:07:23.216Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.044s coverage: 21.9% of statements [2020-10-12T03:07:23.216Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-12T03:07:23.216Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.211s coverage: 40.8% of statements [2020-10-12T03:07:23.216Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-12T03:07:23.216Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.277s coverage: 68.9% of statements [2020-10-12T03:07:23.216Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-12T03:07:23.216Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-12T03:07:23.216Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-12T03:07:23.216Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-12T03:07:23.216Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.064s coverage: 52.6% of statements [2020-10-12T03:07:23.216Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-12T03:07:23.216Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-12T03:07:23.216Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.715s coverage: 68.9% of statements [2020-10-12T03:07:23.216Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-12T03:07:23.216Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-12T03:07:23.216Z] GO111MODULE=on go vet ./... [2020-10-12T03:07:29.925Z] gofmt -l . [2020-10-12T03:07:29.925Z] [ "`gofmt -l .`" = "" ] [2020-10-12T03:07:29.925Z] ./bin/test-attribution-txt.sh [2020-10-12T03:07:29.925Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-12T03:07:30.291Z] Warning: overwriting stash ‘coverage-report’ [2020-10-12T03:07:30.598Z] Stashed 1 file(s) [Pipeline] } [2020-10-12T03:07:30.607Z] $ docker stop --time=1 013ae892eb980023da7b8f32b936b663832e69ab7302d690a2b510cf68e9d739 [2020-10-12T03:07:32.495Z] $ docker rm -f 013ae892eb980023da7b8f32b936b663832e69ab7302d690a2b510cf68e9d739 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-12T03:07:33.482Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-12T03:07:33.784Z] + ls -al . [2020-10-12T03:07:33.784Z] total 188 [2020-10-12T03:07:33.784Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 12 03:07 . [2020-10-12T03:07:33.784Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 12 03:05 .. [2020-10-12T03:07:33.784Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 12 03:05 bin [2020-10-12T03:07:33.784Z] -rw-r--r--. 1 jenkins jenkins 110396 Oct 12 03:07 coverage.out [2020-10-12T03:07:33.784Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 12 03:05 Dockerfile.build [2020-10-12T03:07:33.784Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 12 03:05 .dockerignore [2020-10-12T03:07:33.784Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 12 03:05 example [2020-10-12T03:07:33.784Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 12 03:05 .git [2020-10-12T03:07:33.784Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 12 03:05 .github [2020-10-12T03:07:33.784Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 12 03:05 .gitignore [2020-10-12T03:07:33.784Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 12 03:07 go.mod [2020-10-12T03:07:33.784Z] -rw-r--r--. 1 jenkins jenkins 13652 Oct 12 03:07 go.sum [2020-10-12T03:07:33.784Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 12 03:05 internal [2020-10-12T03:07:33.784Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 12 03:05 Jenkinsfile [2020-10-12T03:07:33.784Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 12 03:05 LICENSE [2020-10-12T03:07:33.784Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 12 03:05 Makefile [2020-10-12T03:07:33.784Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 12 03:05 openapi [2020-10-12T03:07:33.784Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 12 03:05 pkg [2020-10-12T03:07:33.784Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 12 03:05 README.md [2020-10-12T03:07:33.784Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 12 03:05 RELEASE-NOTES.txt [2020-10-12T03:07:33.784Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 12 03:05 .semver [2020-10-12T03:07:33.784Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 12 03:05 snap [2020-10-12T03:07:33.784Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 12 03:01 VERSION [2020-10-12T03:07:33.784Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 12 03:05 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-12T03:07:34.104Z] + 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=ebdeafb0d0ff330beb2a20cbeb14ea995b76909b --label arch=amd64 --label version=0.0.0 . [2020-10-12T03:07:34.367Z] Sending build context to Docker daemon 3.764MB [2020-10-12T03:07:34.367Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-12T03:07:34.367Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-12T03:07:34.367Z] ---> 8f6b97904b8b [2020-10-12T03:07:34.367Z] Step 3/24 : ARG MAKE='make build' [2020-10-12T03:07:35.316Z] ---> Running in d15734c30ade [2020-10-12T03:07:35.316Z] Removing intermediate container d15734c30ade [2020-10-12T03:07:35.316Z] ---> 360c276ec274 [2020-10-12T03:07:35.316Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-12T03:07:35.316Z] ---> Running in ca0ac76aa4e8 [2020-10-12T03:07:35.580Z] Removing intermediate container ca0ac76aa4e8 [2020-10-12T03:07:35.580Z] ---> e15a2ab52b70 [2020-10-12T03:07:35.580Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T03:07:35.580Z] ---> Running in c4362c380bb8 [2020-10-12T03:07:35.845Z] Removing intermediate container c4362c380bb8 [2020-10-12T03:07:35.845Z] ---> e45dfb5e3e6e [2020-10-12T03:07:35.845Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T03:07:35.846Z] ---> Running in bb3ef42c0ed9 [2020-10-12T03:07:36.800Z] Removing intermediate container bb3ef42c0ed9 [2020-10-12T03:07:36.800Z] ---> 0555f156cc53 [2020-10-12T03:07:36.800Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-12T03:07:36.800Z] ---> Running in 2ce6f44dba0b [2020-10-12T03:07:37.065Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-12T03:07:38.016Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-12T03:07:38.598Z] OK: 166 MiB in 39 packages [2020-10-12T03:07:38.865Z] Removing intermediate container 2ce6f44dba0b [2020-10-12T03:07:38.865Z] ---> 2ac6efaf0d7f [2020-10-12T03:07:38.865Z] Step 8/24 : COPY . . [2020-10-12T03:07:40.262Z] ---> 62661d8f4c8d [2020-10-12T03:07:40.262Z] Step 9/24 : RUN ${MAKE} [2020-10-12T03:07:40.262Z] ---> Running in b65d3f9ae59b [2020-10-12T03:07:40.533Z] 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-12T03:07:48.803Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-12T03:07:51.377Z] Removing intermediate container b65d3f9ae59b [2020-10-12T03:07:51.377Z] ---> afc7c379b8e8 [2020-10-12T03:07:51.377Z] Step 10/24 : FROM scratch [2020-10-12T03:07:51.377Z] ---> [2020-10-12T03:07:51.377Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T03:07:51.377Z] ---> Running in c66530b35f49 [2020-10-12T03:07:51.377Z] Removing intermediate container c66530b35f49 [2020-10-12T03:07:51.377Z] ---> 047deb8e2fb6 [2020-10-12T03:07:51.377Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-12T03:07:51.377Z] ---> Running in 5d57b93dd8bc [2020-10-12T03:07:51.640Z] Removing intermediate container 5d57b93dd8bc [2020-10-12T03:07:51.640Z] ---> e6d8b604ee1b [2020-10-12T03:07:51.640Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-12T03:07:51.640Z] ---> Running in 519a0d22b82c [2020-10-12T03:07:51.640Z] Removing intermediate container 519a0d22b82c [2020-10-12T03:07:51.641Z] ---> 885ed2d734ee [2020-10-12T03:07:51.641Z] Step 14/24 : WORKDIR / [2020-10-12T03:07:51.908Z] ---> Running in ad6c69e41917 [2020-10-12T03:07:51.908Z] Removing intermediate container ad6c69e41917 [2020-10-12T03:07:51.908Z] ---> 249d7f53ba8c [2020-10-12T03:07:51.908Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-12T03:07:52.484Z] ---> 093515dcd1ec [2020-10-12T03:07:52.484Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-12T03:07:52.752Z] ---> 9cd906c64aa6 [2020-10-12T03:07:52.752Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-12T03:07:53.017Z] ---> cfae8c7d5e70 [2020-10-12T03:07:53.017Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-12T03:07:53.017Z] ---> 2d7d74d7a2fb [2020-10-12T03:07:53.017Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-12T03:07:53.281Z] ---> 93b4560570f4 [2020-10-12T03:07:53.281Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-12T03:07:53.281Z] ---> Running in 6ede7c7b3200 [2020-10-12T03:07:53.547Z] Removing intermediate container 6ede7c7b3200 [2020-10-12T03:07:53.547Z] ---> 8b485287cf31 [2020-10-12T03:07:53.547Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-12T03:07:53.547Z] ---> Running in 819f62a69e5d [2020-10-12T03:07:53.813Z] Removing intermediate container 819f62a69e5d [2020-10-12T03:07:53.813Z] ---> 652f636a7ece [2020-10-12T03:07:53.813Z] Step 22/24 : LABEL arch=amd64 [2020-10-12T03:07:53.813Z] ---> Running in 9cb0247b1ecb [2020-10-12T03:07:54.076Z] Removing intermediate container 9cb0247b1ecb [2020-10-12T03:07:54.076Z] ---> 6af7dba5abd4 [2020-10-12T03:07:54.076Z] Step 23/24 : LABEL git_sha=ebdeafb0d0ff330beb2a20cbeb14ea995b76909b [2020-10-12T03:07:54.076Z] ---> Running in 8c22d3d4b410 [2020-10-12T03:07:54.339Z] Removing intermediate container 8c22d3d4b410 [2020-10-12T03:07:54.339Z] ---> e881c7ecbd33 [2020-10-12T03:07:54.339Z] Step 24/24 : LABEL version=0.0.0 [2020-10-12T03:07:54.339Z] ---> Running in 8a30c76a6b7e [2020-10-12T03:07:54.606Z] Removing intermediate container 8a30c76a6b7e [2020-10-12T03:07:54.606Z] ---> adf381f71956 [2020-10-12T03:07:54.606Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-12T03:07:54.606Z] Successfully built adf381f71956 [2020-10-12T03:07:54.606Z] 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-10-12T03:07:56.722Z] provisioning config files... [2020-10-12T03:07:56.740Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/config6435085142456808752tmp [Pipeline] { [Pipeline] sh [2020-10-12T03:07:57.163Z] + set +x [2020-10-12T03:07:57.163Z] + curl -s https://codecov.io/bash [2020-10-12T03:07:57.163Z] + bash -s -- [2020-10-12T03:07:57.440Z] [2020-10-12T03:07:57.440Z] _____ _ [2020-10-12T03:07:57.440Z] / ____| | | [2020-10-12T03:07:57.440Z] | | ___ __| | ___ ___ _____ __ [2020-10-12T03:07:57.440Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-12T03:07:57.440Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-12T03:07:57.440Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-12T03:07:57.440Z] Bash-20201009-048fee3 [2020-10-12T03:07:57.440Z] [2020-10-12T03:07:57.440Z] [2020-10-12T03:07:57.440Z] ==> Jenkins CI detected. [2020-10-12T03:07:57.440Z] project root: . [2020-10-12T03:07:57.440Z] --> token set from env [2020-10-12T03:07:57.711Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-12T03:07:57.711Z] ==> Running gcov in . (disable via -X gcov) [2020-10-12T03:07:57.711Z] ==> Python coveragepy not found [2020-10-12T03:07:57.711Z] ==> Searching for coverage reports in: [2020-10-12T03:07:57.711Z] + . [2020-10-12T03:07:57.711Z] -> Found 1 reports [2020-10-12T03:07:57.711Z] ==> Detecting git/mercurial file structure [2020-10-12T03:07:57.711Z] ==> Reading reports [2020-10-12T03:07:57.711Z] + ./coverage.out bytes=110396 [2020-10-12T03:07:57.711Z] ==> Appending adjustments [2020-10-12T03:07:57.711Z] https://docs.codecov.io/docs/fixing-reports [2020-10-12T03:07:58.362Z] + Found adjustments [2020-10-12T03:07:58.362Z] ==> Gzipping contents [2020-10-12T03:07:58.362Z] ==> Uploading reports [2020-10-12T03:07:58.362Z] url: https://codecov.io [2020-10-12T03:07:58.362Z] query: branch=PR-619&commit=ebdeafb0d0ff330beb2a20cbeb14ea995b76909b&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-619%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=619&job=&cmd_args= [2020-10-12T03:07:58.362Z] -> Pinging Codecov [2020-10-12T03:07:58.362Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-619&commit=ebdeafb0d0ff330beb2a20cbeb14ea995b76909b&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-619%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=619&job=&cmd_args= [2020-10-12T03:07:58.657Z] -> Uploading to [2020-10-12T03:07:58.657Z] [2020-10-12T03:07:58.657Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-12T03:07:58.657Z] Dload Upload Total Spent Left Speed [2020-10-12T03:07:58.657Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-12T03:07:58.657Z] X> Failed to upload [2020-10-12T03:07:58.657Z] ==> Uploading to Codecov [2020-10-12T03:07:58.657Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-12T03:07:58.657Z] Dload Upload Total Spent Left Speed [2020-10-12T03:07:59.634Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 18764 0 0 100 18654 0 27009 --:--:-- --:--:-- --:--:-- 26995 100 18764 100 110 100 18654 159 27000 --:--:-- --:--:-- --:--:-- 26995 [2020-10-12T03:07:59.634Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ebdeafb0d0ff330beb2a20cbeb14ea995b76909b [Pipeline] } [2020-10-12T03:07:59.650Z] 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-12T03:08:02.593Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T03:08:03.268Z] ---> package-listing.sh [2020-10-12T03:08:03.268Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-12T03:08:03.268Z] ++ facter osfamily [2020-10-12T03:08:03.564Z] + OS_FAMILY=redhat [2020-10-12T03:08:03.564Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-619 [2020-10-12T03:08:03.564Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-12T03:08:03.564Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-12T03:08:03.564Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-12T03:08:03.564Z] + PACKAGES=/tmp/packages_start.txt [2020-10-12T03:08:03.564Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-619 ']' [2020-10-12T03:08:03.564Z] + PACKAGES=/tmp/packages_end.txt [2020-10-12T03:08:03.564Z] + case "${OS_FAMILY}" in [2020-10-12T03:08:03.564Z] + sort [2020-10-12T03:08:03.564Z] + rpm -qa [2020-10-12T03:08:08.075Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-12T03:08:08.075Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-12T03:08:08.075Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-12T03:08:08.075Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-619 ']' [2020-10-12T03:08:08.075Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-619/archives/ [2020-10-12T03:08:08.075Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-619/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-12T03:08:08.328Z] provisioning config files... [2020-10-12T03:08:08.348Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/config236713747170723923tmp [Pipeline] { [Pipeline] echo [2020-10-12T03:08:08.435Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T03:08:08.831Z] ---> create-netrc.sh [Pipeline] } [2020-10-12T03:08:08.851Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-12T03:08:08.977Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T03:08:09.346Z] ---> python-tools-install.sh [2020-10-12T03:08:09.346Z] Generating Requirements File [2020-10-12T03:10:01.673Z] Python 3.6.8 [2020-10-12T03:10:01.673Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-12T03:10:01.673Z] appdirs==1.4.3 [2020-10-12T03:10:01.673Z] argcomplete==1.12.1 [2020-10-12T03:10:01.673Z] aspy.yaml==1.3.0 [2020-10-12T03:10:01.673Z] attrs==19.3.0 [2020-10-12T03:10:01.673Z] Babel==2.8.0 [2020-10-12T03:10:01.673Z] beautifulsoup4==4.8.2 [2020-10-12T03:10:01.673Z] boto3==1.11.6 [2020-10-12T03:10:01.673Z] botocore==1.14.6 [2020-10-12T03:10:01.673Z] bs4==0.0.1 [2020-10-12T03:10:01.673Z] cachetools==4.1.1 [2020-10-12T03:10:01.673Z] certifi==2019.11.28 [2020-10-12T03:10:01.673Z] cffi==1.14.3 [2020-10-12T03:10:01.673Z] cfgv==2.0.1 [2020-10-12T03:10:01.673Z] chardet==3.0.4 [2020-10-12T03:10:01.673Z] click==7.1 [2020-10-12T03:10:01.673Z] cliff==3.4.0 [2020-10-12T03:10:01.673Z] cmd2==1.3.11 [2020-10-12T03:10:01.673Z] colorama==0.4.3 [2020-10-12T03:10:01.673Z] cryptography==3.1.1 [2020-10-12T03:10:01.673Z] debtcollector==2.2.0 [2020-10-12T03:10:01.673Z] decorator==4.4.2 [2020-10-12T03:10:01.673Z] defusedxml==0.6.0 [2020-10-12T03:10:01.673Z] Deprecated==1.2.7 [2020-10-12T03:10:01.673Z] distlib==0.3.1 [2020-10-12T03:10:01.673Z] distro==1.2.0 [2020-10-12T03:10:01.673Z] dnspython==1.16.0 [2020-10-12T03:10:01.673Z] docker==4.2.0 [2020-10-12T03:10:01.673Z] docutils==0.15.2 [2020-10-12T03:10:01.673Z] dogpile.cache==1.0.2 [2020-10-12T03:10:01.673Z] email-validator==1.0.5 [2020-10-12T03:10:01.673Z] filelock==3.0.12 [2020-10-12T03:10:01.673Z] future==0.18.2 [2020-10-12T03:10:01.673Z] google-auth==1.22.1 [2020-10-12T03:10:01.673Z] httplib2==0.17.0 [2020-10-12T03:10:01.673Z] identify==1.4.11 [2020-10-12T03:10:01.673Z] idna==2.9 [2020-10-12T03:10:01.673Z] importlib-metadata==2.0.0 [2020-10-12T03:10:01.673Z] importlib-resources==1.5.0 [2020-10-12T03:10:01.673Z] iso8601==0.1.13 [2020-10-12T03:10:01.673Z] Jinja2==2.11.1 [2020-10-12T03:10:01.673Z] jmespath==0.10.0 [2020-10-12T03:10:01.673Z] jsonpatch==1.26 [2020-10-12T03:10:01.673Z] jsonpointer==2.0 [2020-10-12T03:10:01.673Z] jsonschema==3.2.0 [2020-10-12T03:10:01.673Z] keystoneauth1==4.2.1 [2020-10-12T03:10:01.673Z] kubernetes==11.0.0 [2020-10-12T03:10:01.673Z] lftools==0.34.2 [2020-10-12T03:10:01.673Z] lxml==4.5.0 [2020-10-12T03:10:01.673Z] MarkupSafe==0.23 [2020-10-12T03:10:01.673Z] msgpack==1.0.0 [2020-10-12T03:10:01.673Z] multi-key-dict==2.0.3 [2020-10-12T03:10:01.673Z] munch==2.5.0 [2020-10-12T03:10:01.673Z] netaddr==0.8.0 [2020-10-12T03:10:01.673Z] netifaces==0.10.9 [2020-10-12T03:10:01.673Z] niet==1.4.2 [2020-10-12T03:10:01.673Z] nodeenv==1.3.5 [2020-10-12T03:10:01.673Z] oauth2client==4.1.3 [2020-10-12T03:10:01.673Z] oauthlib==3.1.0 [2020-10-12T03:10:01.673Z] openstacksdk==0.50.0 [2020-10-12T03:10:01.673Z] os-client-config==2.1.0 [2020-10-12T03:10:01.673Z] os-service-types==1.7.0 [2020-10-12T03:10:01.673Z] osc-lib==2.2.1 [2020-10-12T03:10:01.673Z] oslo.config==8.3.2 [2020-10-12T03:10:01.673Z] oslo.context==3.1.1 [2020-10-12T03:10:01.673Z] oslo.i18n==5.0.1 [2020-10-12T03:10:01.673Z] oslo.log==4.4.0 [2020-10-12T03:10:01.673Z] oslo.serialization==4.0.1 [2020-10-12T03:10:01.673Z] oslo.utils==4.6.0 [2020-10-12T03:10:01.673Z] packaging==20.4 [2020-10-12T03:10:01.673Z] pbr==5.4.4 [2020-10-12T03:10:01.673Z] pluggy==0.13.1 [2020-10-12T03:10:01.673Z] prettytable==0.7.2 [2020-10-12T03:10:01.673Z] py==1.9.0 [2020-10-12T03:10:01.673Z] pyasn1==0.4.8 [2020-10-12T03:10:01.673Z] pyasn1-modules==0.2.8 [2020-10-12T03:10:01.673Z] pycparser==2.20 [2020-10-12T03:10:01.673Z] pygerrit2==2.0.10 [2020-10-12T03:10:01.673Z] PyGithub==1.46 [2020-10-12T03:10:01.673Z] pyinotify==0.9.6 [2020-10-12T03:10:01.673Z] PyJWT==1.7.1 [2020-10-12T03:10:01.673Z] pyparsing==2.4.7 [2020-10-12T03:10:01.673Z] pyperclip==1.8.1 [2020-10-12T03:10:01.673Z] pyroute2==0.4.13 [2020-10-12T03:10:01.673Z] pyrsistent==0.15.7 [2020-10-12T03:10:01.673Z] PySocks==1.6.8 [2020-10-12T03:10:01.673Z] python-cinderclient==7.2.0 [2020-10-12T03:10:01.673Z] python-dateutil==2.8.1 [2020-10-12T03:10:01.673Z] python-heatclient==2.2.1 [2020-10-12T03:10:01.673Z] python-jenkins==1.7.0 [2020-10-12T03:10:01.673Z] python-keystoneclient==4.1.1 [2020-10-12T03:10:01.673Z] python-magnumclient==3.2.1 [2020-10-12T03:10:01.673Z] python-novaclient==17.2.1 [2020-10-12T03:10:01.673Z] python-openstackclient==5.4.0 [2020-10-12T03:10:01.673Z] python-swiftclient==3.10.1 [2020-10-12T03:10:01.673Z] pytz==2020.1 [2020-10-12T03:10:01.673Z] PyYAML==5.3 [2020-10-12T03:10:01.673Z] requests==2.23.0 [2020-10-12T03:10:01.673Z] requests-oauthlib==1.3.0 [2020-10-12T03:10:01.673Z] requestsexceptions==1.4.0 [2020-10-12T03:10:01.673Z] rfc3986==1.4.0 [2020-10-12T03:10:01.673Z] rpm==4.11.3 [2020-10-12T03:10:01.673Z] rsa==4.0 [2020-10-12T03:10:01.673Z] ruamel.yaml==0.16.10 [2020-10-12T03:10:01.673Z] ruamel.yaml.clib==0.2.0 [2020-10-12T03:10:01.673Z] s3transfer==0.3.3 [2020-10-12T03:10:01.673Z] shade==1.27.2 [2020-10-12T03:10:01.673Z] simplejson==3.17.2 [2020-10-12T03:10:01.673Z] six==1.14.0 [2020-10-12T03:10:01.673Z] soupsieve==2.0 [2020-10-12T03:10:01.673Z] stevedore==3.2.2 [2020-10-12T03:10:01.673Z] tabulate==0.8.6 [2020-10-12T03:10:01.673Z] toml==0.10.0 [2020-10-12T03:10:01.673Z] tox==3.20.1 [2020-10-12T03:10:01.673Z] tqdm==4.43.0 [2020-10-12T03:10:01.673Z] urllib3==1.25.8 [2020-10-12T03:10:01.673Z] virtualenv==20.0.33 [2020-10-12T03:10:01.673Z] wcwidth==0.2.5 [2020-10-12T03:10:01.673Z] websocket-client==0.57.0 [2020-10-12T03:10:01.673Z] wrapt==1.12.1 [2020-10-12T03:10:01.673Z] xdg==3.0.2 [2020-10-12T03:10:01.673Z] xmltodict==0.12.0 [2020-10-12T03:10:01.673Z] yq==2.11.1 [2020-10-12T03:10:01.673Z] zipp==3.3.0 [2020-10-12T03:10:01.673Z] Cache entry deserialization failed, entry ignored [2020-10-12T03:10:01.673Z] 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-12T03:10:06.092Z] Python 2.7.5 [2020-10-12T03:10:06.366Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-12T03:10:06.959Z] 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-12T03:10:07.227Z] ansible==2.9.7 [2020-10-12T03:10:07.228Z] Babel==0.9.6 [2020-10-12T03:10:07.228Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-12T03:10:07.228Z] beautifulsoup4==4.4.1 [2020-10-12T03:10:07.228Z] bodhi==2.11.0 [2020-10-12T03:10:07.228Z] bodhi-client==2.11.0 [2020-10-12T03:10:07.228Z] CCColUtils==1.4 [2020-10-12T03:10:07.228Z] cffi==1.6.0 [2020-10-12T03:10:07.228Z] chardet==2.2.1 [2020-10-12T03:10:07.228Z] click==6.7 [2020-10-12T03:10:07.228Z] cloud-init==18.5 [2020-10-12T03:10:07.228Z] configobj==4.7.2 [2020-10-12T03:10:07.228Z] cryptography==1.7.2 [2020-10-12T03:10:07.228Z] decorator==3.4.0 [2020-10-12T03:10:07.228Z] distro==1.2.0 [2020-10-12T03:10:07.228Z] enum34==1.0.4 [2020-10-12T03:10:07.228Z] fedpkg==1.38 [2020-10-12T03:10:07.228Z] futures==3.1.1 [2020-10-12T03:10:07.228Z] gitdb==0.6.4 [2020-10-12T03:10:07.228Z] GitPython==1.0.1 [2020-10-12T03:10:07.228Z] html5lib==0.999 [2020-10-12T03:10:07.228Z] httplib2==0.9.2 [2020-10-12T03:10:07.228Z] idna==2.4 [2020-10-12T03:10:07.228Z] iniparse==0.4 [2020-10-12T03:10:07.228Z] ipaddress==1.0.16 [2020-10-12T03:10:07.228Z] IPy==0.75 [2020-10-12T03:10:07.228Z] javapackages==1.0.0 [2020-10-12T03:10:07.228Z] Jinja2==2.7.2 [2020-10-12T03:10:07.228Z] jmespath==0.9.4 [2020-10-12T03:10:07.228Z] jsonpatch==1.2 [2020-10-12T03:10:07.228Z] jsonpointer==1.9 [2020-10-12T03:10:07.228Z] kerberos==1.1 [2020-10-12T03:10:07.228Z] kitchen==1.1.1 [2020-10-12T03:10:07.228Z] langtable==0.0.31 [2020-10-12T03:10:07.228Z] lockfile==0.9.1 [2020-10-12T03:10:07.228Z] lxml==3.2.1 [2020-10-12T03:10:07.228Z] MarkupSafe==0.11 [2020-10-12T03:10:07.228Z] munch==2.0.2 [2020-10-12T03:10:07.228Z] offtrac==0.1.0 [2020-10-12T03:10:07.228Z] openidc-client==0.6.0 [2020-10-12T03:10:07.228Z] packagedb-cli==2.14.1 [2020-10-12T03:10:07.228Z] paramiko==2.1.1 [2020-10-12T03:10:07.228Z] perf==0.1 [2020-10-12T03:10:07.228Z] ply==3.4 [2020-10-12T03:10:07.228Z] policycoreutils-default-encoding==0.1 [2020-10-12T03:10:07.228Z] prettytable==0.7.2 [2020-10-12T03:10:07.228Z] pyasn1==0.1.9 [2020-10-12T03:10:07.228Z] pycparser==2.14 [2020-10-12T03:10:07.228Z] pycurl==7.19.0 [2020-10-12T03:10:07.228Z] pygobject==3.22.0 [2020-10-12T03:10:07.228Z] pygpgme==0.3 [2020-10-12T03:10:07.228Z] pyliblzma==0.5.3 [2020-10-12T03:10:07.228Z] pyOpenSSL==0.13.1 [2020-10-12T03:10:07.228Z] pyparsing==1.5.6 [2020-10-12T03:10:07.228Z] pyserial==2.6 [2020-10-12T03:10:07.228Z] python-augeas==0.5.0 [2020-10-12T03:10:07.228Z] python-bugzilla==2.3.0 [2020-10-12T03:10:07.228Z] python-dateutil==1.5 [2020-10-12T03:10:07.228Z] python-fedora==0.10.0 [2020-10-12T03:10:07.228Z] python-linux-procfs==0.4.9 [2020-10-12T03:10:07.228Z] python-yubico==1.2.3 [2020-10-12T03:10:07.228Z] pyudev==0.15 [2020-10-12T03:10:07.228Z] pyusb==1.0.0b1 [2020-10-12T03:10:07.228Z] pyxattr==0.5.1 [2020-10-12T03:10:07.228Z] PyYAML==3.10 [2020-10-12T03:10:07.228Z] requests==2.6.0 [2020-10-12T03:10:07.228Z] requests-kerberos==0.7.0 [2020-10-12T03:10:07.228Z] rpkg==1.60 [2020-10-12T03:10:07.228Z] schedutils==0.4 [2020-10-12T03:10:07.228Z] seobject==0.1 [2020-10-12T03:10:07.228Z] sepolicy==1.1 [2020-10-12T03:10:07.228Z] six==1.9.0 [2020-10-12T03:10:07.228Z] smmap==0.9.0 [2020-10-12T03:10:07.228Z] urlgrabber==3.10 [2020-10-12T03:10:07.228Z] urllib3==1.10.2 [2020-10-12T03:10:07.228Z] virtualenv==15.1.0 [2020-10-12T03:10:07.228Z] yum-langpacks==0.4.2 [2020-10-12T03:10:07.228Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-12T03:10:07.514Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T03:10:07.858Z] ---> sudo-logs.sh [2020-10-12T03:10:07.858Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-12T03:10:08.474Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T03:10:08.821Z] ---> job-cost.sh [2020-10-12T03:10:08.822Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ARhn [2020-10-12T03:10:21.269Z] Cache entry deserialization failed, entry ignored [2020-10-12T03:10:21.270Z] Cache entry deserialization failed, entry ignored [2020-10-12T03:10:22.791Z] Cache entry deserialization failed, entry ignored [2020-10-12T03:10:22.791Z] Cache entry deserialization failed, entry ignored [2020-10-12T03:10:23.130Z] Cache entry deserialization failed, entry ignored [2020-10-12T03:10:23.130Z] Cache entry deserialization failed, entry ignored [2020-10-12T03:10:23.418Z] Cache entry deserialization failed, entry ignored [2020-10-12T03:10:23.710Z] Cache entry deserialization failed, entry ignored [2020-10-12T03:10:23.710Z] Cache entry deserialization failed, entry ignored [2020-10-12T03:10:23.710Z] Cache entry deserialization failed, entry ignored [2020-10-12T03:10:23.999Z] Cache entry deserialization failed, entry ignored [2020-10-12T03:10:24.305Z] Cache entry deserialization failed, entry ignored [2020-10-12T03:10:24.305Z] Cache entry deserialization failed, entry ignored [2020-10-12T03:10:28.761Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-12T03:11:07.895Z] lf-activate-venv(): INFO: Adding /tmp/venv-ARhn/bin to PATH [2020-10-12T03:11:07.895Z] INFO: No Stack... [2020-10-12T03:11:07.895Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-12T03:11:07.895Z] INFO: Archiving Costs [Pipeline] echo [2020-10-12T03:11:07.918Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T03:11:08.315Z] ---> logs-deploy.sh [2020-10-12T03:11:08.315Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-619/7 [2020-10-12T03:11:08.315Z] INFO: archiving workspace using pattern(s): [2020-10-12T03:11:11.033Z] Archives upload complete. [2020-10-12T03:11:11.316Z] INFO: archiving logs to Nexus [2020-10-12T03:11:13.323Z] ---> uname -a: [2020-10-12T03:11:13.323Z] Linux prd-centos7-docker-4c-2g-4691.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-12T03:11:13.323Z] [2020-10-12T03:11:13.323Z]