Pull request #582 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from aac36b3916e75134e0bc274a629980a5801eb67d+4a1412fe3679be6652f13296ba45411ccc085237 (a9c88ab414c76f2ce90a6b3e54ead0050d02bc59) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2187 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [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-582 # 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 4a1412fe3679be6652f13296ba45411ccc085237 into PR head commit aac36b3916e75134e0bc274a629980a5801eb67d Merge succeeded, producing aac36b3916e75134e0bc274a629980a5801eb67d Checking out Revision aac36b3916e75134e0bc274a629980a5801eb67d (PR-582) > 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/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aac36b3916e75134e0bc274a629980a5801eb67d # 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 4a1412fe3679be6652f13296ba45411ccc085237 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aac36b3916e75134e0bc274a629980a5801eb67d # timeout=10 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-30T06:31:31.224Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-30T06:31:31.566Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-30T06:31:31.674Z] ========================================================= [2020-09-30T06:31:31.675Z] EdgeX Global Pipelines Version Info [2020-09-30T06:31:31.675Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 4bdbb9adb96e09f506774f7ea2e77baab7449e26 # timeout=10 [2020-09-30T06:31:33.291Z] ------------------- [2020-09-30T06:31:33.291Z] stable info: [2020-09-30T06:31:33.291Z] ------------------- [2020-09-30T06:31:33.291Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-30T06:31:33.291Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-09-30T06:31:33.291Z] Message: update stable to v1.0.131 [2020-09-30T06:31:34.259Z] ------------------- [2020-09-30T06:31:34.259Z] experimental info: [2020-09-30T06:31:34.259Z] ------------------- [2020-09-30T06:31:34.259Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-30T06:31:34.259Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-09-30T06:31:34.259Z] Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-30T06:31:34.680Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-30T06:31:34.783Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-30T06:31:34.885Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-30T06:31:34.982Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-30T06:31:35.329Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-30T06:31:35.421Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-30T06:31:35.531Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-30T06:31:35.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-30T06:31:35.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-30T06:31:35.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-30T06:31:35.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-30T06:31:36.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-30T06:31:36.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-30T06:31:36.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-30T06:31:36.412Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-30T06:31:36.510Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-30T06:31:36.607Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-30T06:31:36.713Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-30T06:31:36.813Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-30T06:31:36.910Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-30T06:31:37.024Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-30T06:31:37.124Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-30T06:31:37.234Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-09-30T06:31:37.337Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-09-30T06:31:37.449Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-09-30T06:31:37.563Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo [2020-09-30T06:31:37.666Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo [2020-09-30T06:31:37.778Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo [2020-09-30T06:31:37.872Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aac36b3916e75134e0bc274a629980a5801eb67d [Pipeline] echo [2020-09-30T06:31:37.966Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aac36b3 [Pipeline] echo [2020-09-30T06:31:38.065Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-30T06:31:38.688Z] + git log --format=format:%s -1 aac36b3916e75134e0bc274a629980a5801eb67d [Pipeline] echo [2020-09-30T06:31:38.748Z] GIT_COMMIT: aac36b3916e75134e0bc274a629980a5801eb67d, Commit Message: build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0 [Pipeline] echo [2020-09-30T06:31:38.791Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-30T06:31:39.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-30T06:31:39.607Z] [2020-09-30T06:31:39.607Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-30T06:31:39.958Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-30T06:31:39.958Z] latest: Pulling from edgex-devops/git-semver [2020-09-30T06:31:39.958Z] 31603596830f: Pulling fs layer [2020-09-30T06:31:39.958Z] 2a8b12db71e7: Pulling fs layer [2020-09-30T06:31:39.958Z] 6ca5941a6612: Pulling fs layer [2020-09-30T06:31:39.958Z] ecc8261a40a4: Pulling fs layer [2020-09-30T06:31:39.958Z] ecc8261a40a4: Waiting [2020-09-30T06:31:39.958Z] 2a8b12db71e7: Verifying Checksum [2020-09-30T06:31:39.958Z] 2a8b12db71e7: Download complete [2020-09-30T06:31:40.222Z] 31603596830f: Verifying Checksum [2020-09-30T06:31:40.222Z] 31603596830f: Download complete [2020-09-30T06:31:40.222Z] ecc8261a40a4: Verifying Checksum [2020-09-30T06:31:40.222Z] ecc8261a40a4: Download complete [2020-09-30T06:31:40.222Z] 6ca5941a6612: Verifying Checksum [2020-09-30T06:31:40.222Z] 6ca5941a6612: Download complete [2020-09-30T06:31:40.488Z] 31603596830f: Pull complete [2020-09-30T06:31:40.488Z] 2a8b12db71e7: Pull complete [2020-09-30T06:31:41.448Z] 6ca5941a6612: Pull complete [2020-09-30T06:31:42.024Z] ecc8261a40a4: Pull complete [2020-09-30T06:31:42.024Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-30T06:31:42.024Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-30T06:31:42.024Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-30T06:31:42.136Z] prd-centos7-docker-4c-2g-2187 does not seem to be running inside a container [2020-09-30T06:31:42.190Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@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-09-30T06:31:43.609Z] $ docker top bec095f8de8f30016552263b2f5d6ab8e4c1ee24eaaf00e85e49d267096454c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-30T06:31:43.918Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-30T06:31:43.918Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-30T06:31:44.115Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-30T06:31:44.122Z] $ docker exec bec095f8de8f30016552263b2f5d6ab8e4c1ee24eaaf00e85e49d267096454c6 ssh-agent [2020-09-30T06:31:44.270Z] SSH_AUTH_SOCK=/tmp/ssh-75rastRBCqcz/agent.13 [2020-09-30T06:31:44.270Z] SSH_AGENT_PID=19 [2020-09-30T06:31:44.281Z] Running ssh-add (command line suppressed) [2020-09-30T06:31:44.398Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_3371014348270372210.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_3371014348270372210.key) [2020-09-30T06:31:44.443Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-30T06:31:44.812Z] + git describe --exact-match --tags HEAD [2020-09-30T06:31:44.812Z] fatal: no tag exactly matches 'aac36b3916e75134e0bc274a629980a5801eb67d' [Pipeline] } [2020-09-30T06:31:44.839Z] $ docker exec --env ******** --env ******** bec095f8de8f30016552263b2f5d6ab8e4c1ee24eaaf00e85e49d267096454c6 ssh-agent -k [2020-09-30T06:31:44.952Z] unset SSH_AUTH_SOCK; [2020-09-30T06:31:44.952Z] unset SSH_AGENT_PID; [2020-09-30T06:31:44.952Z] echo Agent pid 19 killed; [2020-09-30T06:31:45.001Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-30T06:31:45.087Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-30T06:31:45.087Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-30T06:31:45.181Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-30T06:31:45.181Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-30T06:31:45.337Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-30T06:31:45.344Z] $ docker exec bec095f8de8f30016552263b2f5d6ab8e4c1ee24eaaf00e85e49d267096454c6 ssh-agent [2020-09-30T06:31:45.489Z] SSH_AUTH_SOCK=/tmp/ssh-K13LVoQsgPsb/agent.48 [2020-09-30T06:31:45.489Z] SSH_AGENT_PID=54 [2020-09-30T06:31:45.495Z] Running ssh-add (command line suppressed) [2020-09-30T06:31:45.609Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_2167730787887409660.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_2167730787887409660.key) [2020-09-30T06:31:45.655Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-30T06:31:45.992Z] + git semver init [2020-09-30T06:31:45.993Z] # -> Open(): unable to determine branch for HEAD [2020-09-30T06:31:45.993Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git [2020-09-30T06:31:45.993Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-09-30T06:31:45.993Z] # $SEMVER_REMOTE_NAME = origin [2020-09-30T06:31:45.993Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-30T06:31:45.993Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-30T06:31:45.993Z] # $SEMVER_BRANCH = PR-582 [2020-09-30T06:31:45.993Z] # $SEMVER_TEMP = /tmp/semver-087075113 [2020-09-30T06:31:45.993Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-30T06:31:46.565Z] # '/tmp/semver-087075113' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' [2020-09-30T06:31:46.565Z] # -> Force: false [2020-09-30T06:31:46.565Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } [2020-09-30T06:31:46.579Z] $ docker exec --env ******** --env ******** bec095f8de8f30016552263b2f5d6ab8e4c1ee24eaaf00e85e49d267096454c6 ssh-agent -k [2020-09-30T06:31:46.685Z] unset SSH_AUTH_SOCK; [2020-09-30T06:31:46.686Z] unset SSH_AGENT_PID; [2020-09-30T06:31:46.686Z] echo Agent pid 54 killed; [2020-09-30T06:31:46.724Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-30T06:31:47.182Z] + git semver [Pipeline] } [2020-09-30T06:31:47.203Z] $ docker stop --time=1 bec095f8de8f30016552263b2f5d6ab8e4c1ee24eaaf00e85e49d267096454c6 [2020-09-30T06:31:48.546Z] $ docker rm -f bec095f8de8f30016552263b2f5d6ab8e4c1ee24eaaf00e85e49d267096454c6 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-30T06:31:49.382Z] Stashed 40 file(s) [Pipeline] echo [2020-09-30T06:31:49.385Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-30T06:31:49.502Z] Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-09-30T06:32:05.035Z] Still waiting to schedule task [2020-09-30T06:32:05.036Z] ‘prd-centos7-docker-4c-2g-2177’ is offline; ‘prd-centos7-docker-4c-2g-2188’ is offline; ‘prd-centos7-docker-8c-8g-2175’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2169’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2176’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-09-30T06:32:05.038Z] Still waiting to schedule task [2020-09-30T06:32:05.038Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-09-30T06:33:26.676Z] Running on prd-centos7-docker-4c-2g-2192 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws [2020-09-30T06:33:26.729Z] Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout [2020-09-30T06:33:30.486Z] using credential edgex-jenkins-ssh [2020-09-30T06:33:30.598Z] Cloning the remote Git repository [2020-09-30T06:33:30.649Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-30T06:33:30.727Z] > git init /w/workspace/device-sdk-go/11 # timeout=10 [2020-09-30T06:33:30.809Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-30T06:33:30.810Z] > git --version # timeout=10 [2020-09-30T06:33:30.820Z] > git --version # 'git version 2.16.5' [2020-09-30T06:33:30.821Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-30T06:33:30.859Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-30T06:33:31.564Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-30T06:33:31.576Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-30T06:33:31.596Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-30T06:33:31.618Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-30T06:33:31.618Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-30T06:33:31.625Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-30T06:33:31.973Z] Merging remotes/origin/master commit 4a1412fe3679be6652f13296ba45411ccc085237 into PR head commit aac36b3916e75134e0bc274a629980a5801eb67d [2020-09-30T06:33:32.112Z] Merge succeeded, producing aac36b3916e75134e0bc274a629980a5801eb67d [2020-09-30T06:33:32.112Z] Checking out Revision aac36b3916e75134e0bc274a629980a5801eb67d (PR-582) [2020-09-30T06:33:31.988Z] > git config core.sparsecheckout # timeout=10 [2020-09-30T06:33:31.994Z] > git checkout -f aac36b3916e75134e0bc274a629980a5801eb67d # timeout=10 [2020-09-30T06:33:32.065Z] > git remote # timeout=10 [2020-09-30T06:33:32.075Z] > git config --get remote.origin.url # timeout=10 [2020-09-30T06:33:32.087Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-30T06:33:32.093Z] > git merge 4a1412fe3679be6652f13296ba45411ccc085237 # timeout=10 [2020-09-30T06:33:32.107Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-30T06:33:32.119Z] > git config core.sparsecheckout # timeout=10 [2020-09-30T06:33:32.126Z] > git checkout -f aac36b3916e75134e0bc274a629980a5801eb67d # timeout=10 [2020-09-30T06:33:36.115Z] Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-30T06:33:37.045Z] ========================================================= [2020-09-30T06:33:37.045Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-30T06:33:37.045Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-30T06:33:37.807Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-09-30T06:33:39.782Z] Sending build context to Docker daemon 3.421MB [2020-09-30T06:33:39.782Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-30T06:33:39.782Z] Step 2/8 : FROM ${BASE} [2020-09-30T06:33:39.782Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-30T06:33:39.782Z] df20fa9351a1: Pulling fs layer [2020-09-30T06:33:39.782Z] ed8968b2872e: Pulling fs layer [2020-09-30T06:33:39.782Z] a92cc7c5fd73: Pulling fs layer [2020-09-30T06:33:39.782Z] e871e8e8d7a9: Pulling fs layer [2020-09-30T06:33:39.782Z] e73272ec9a57: Pulling fs layer [2020-09-30T06:33:39.782Z] 1e910a182e73: Pulling fs layer [2020-09-30T06:33:39.782Z] 4e634b169226: Pulling fs layer [2020-09-30T06:33:39.782Z] e871e8e8d7a9: Waiting [2020-09-30T06:33:39.782Z] e73272ec9a57: Waiting [2020-09-30T06:33:39.782Z] 1e910a182e73: Waiting [2020-09-30T06:33:39.782Z] 4e634b169226: Waiting [2020-09-30T06:33:39.782Z] a92cc7c5fd73: Verifying Checksum [2020-09-30T06:33:39.782Z] a92cc7c5fd73: Download complete [2020-09-30T06:33:39.782Z] ed8968b2872e: Verifying Checksum [2020-09-30T06:33:39.782Z] ed8968b2872e: Download complete [2020-09-30T06:33:39.782Z] e73272ec9a57: Verifying Checksum [2020-09-30T06:33:39.782Z] e73272ec9a57: Download complete [2020-09-30T06:33:40.046Z] 1e910a182e73: Verifying Checksum [2020-09-30T06:33:40.046Z] 1e910a182e73: Download complete [2020-09-30T06:33:40.046Z] df20fa9351a1: Verifying Checksum [2020-09-30T06:33:40.046Z] df20fa9351a1: Download complete [2020-09-30T06:33:40.309Z] df20fa9351a1: Pull complete [2020-09-30T06:33:40.589Z] ed8968b2872e: Pull complete [2020-09-30T06:33:40.853Z] a92cc7c5fd73: Pull complete [2020-09-30T06:33:42.159Z] 4e634b169226: Verifying Checksum [2020-09-30T06:33:42.159Z] 4e634b169226: Download complete [2020-09-30T06:33:42.738Z] e871e8e8d7a9: Verifying Checksum [2020-09-30T06:33:42.738Z] e871e8e8d7a9: Download complete [2020-09-30T06:33:48.067Z] e871e8e8d7a9: Pull complete [2020-09-30T06:33:48.333Z] e73272ec9a57: Pull complete [2020-09-30T06:33:48.333Z] 1e910a182e73: Pull complete [2020-09-30T06:33:56.544Z] 4e634b169226: Pull complete [2020-09-30T06:33:56.544Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-30T06:33:56.544Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-30T06:33:56.544Z] ---> f7629b54cfaa [2020-09-30T06:33:56.544Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-30T06:33:56.544Z] ---> Running in 551d70a92071 [2020-09-30T06:33:56.544Z] Removing intermediate container 551d70a92071 [2020-09-30T06:33:56.544Z] ---> f3eb1992f1e2 [2020-09-30T06:33:56.544Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-30T06:33:56.544Z] ---> Running in 040f68692ed3 [2020-09-30T06:33:57.496Z] Removing intermediate container 040f68692ed3 [2020-09-30T06:33:57.496Z] ---> e65e7a41cbcf [2020-09-30T06:33:57.496Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-30T06:33:57.496Z] ---> Running in 9a8a657a1c5d [2020-09-30T06:33:58.458Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-30T06:33:59.035Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-30T06:33:59.608Z] OK: 166 MiB in 39 packages [2020-09-30T06:34:00.184Z] Removing intermediate container 9a8a657a1c5d [2020-09-30T06:34:00.184Z] ---> b0ea8cb9317d [2020-09-30T06:34:00.184Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-30T06:34:00.184Z] ---> Running in 9c876bb06b8c [2020-09-30T06:34:00.446Z] Removing intermediate container 9c876bb06b8c [2020-09-30T06:34:00.446Z] ---> 19a9bc781b7f [2020-09-30T06:34:00.446Z] Step 7/8 : COPY . . [2020-09-30T06:34:01.859Z] ---> 723f54305c00 [2020-09-30T06:34:01.859Z] Step 8/8 : RUN go mod download [2020-09-30T06:34:01.859Z] ---> Running in 78de50d18996 [2020-09-30T06:34:20.056Z] Removing intermediate container 78de50d18996 [2020-09-30T06:34:20.056Z] ---> bc7ed03430d2 [2020-09-30T06:34:20.056Z] Successfully built bc7ed03430d2 [2020-09-30T06:34:20.056Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-30T06:34:20.422Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-30T06:34:20.422Z] . [Pipeline] withDockerContainer [2020-09-30T06:34:20.599Z] prd-centos7-docker-4c-2g-2192 does not seem to be running inside a container [2020-09-30T06:34:20.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 ******** ci-base-image-x86_64 cat [2020-09-30T06:34:21.577Z] $ docker top bb57ce3ba35c547e0b8829e5120bf49699292c7953dc98b9f42dec722ca77b24 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-30T06:34:22.154Z] + go version [2020-09-30T06:34:22.154Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-30T06:34:22.171Z] $ docker stop --time=1 bb57ce3ba35c547e0b8829e5120bf49699292c7953dc98b9f42dec722ca77b24 [2020-09-30T06:34:23.565Z] $ docker rm -f bb57ce3ba35c547e0b8829e5120bf49699292c7953dc98b9f42dec722ca77b24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-30T06:34:24.437Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-30T06:34:24.437Z] . [Pipeline] withDockerContainer [2020-09-30T06:34:24.539Z] prd-centos7-docker-4c-2g-2192 does not seem to be running inside a container [2020-09-30T06:34:24.592Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 ******** ci-base-image-x86_64 cat [2020-09-30T06:34:25.248Z] $ docker top 2ad38b16e06980d1c77c1d852138c098835410f0d4ab61fb26730d0914e50d9a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-30T06:34:25.807Z] + make test [2020-09-30T06:34:25.807Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-30T06:34:34.015Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-30T06:34:49.028Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-30T06:34:49.028Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-30T06:34:49.028Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-30T06:34:49.028Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.065s coverage: 21.6% of statements [2020-09-30T06:34:50.463Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.474s coverage: 97.1% of statements [2020-09-30T06:35:22.624Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 9.4% of statements [2020-09-30T06:35:22.624Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 21.9% of statements [2020-09-30T06:35:22.624Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-30T06:35:22.624Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.225s coverage: 39.5% of statements [2020-09-30T06:35:22.624Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-30T06:35:22.624Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.280s coverage: 65.4% of statements [2020-09-30T06:35:22.624Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-30T06:35:22.624Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-30T06:35:22.624Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-30T06:35:22.624Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-09-30T06:35:22.624Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.067s coverage: 52.6% of statements [2020-09-30T06:35:22.624Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-09-30T06:35:22.624Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.533s coverage: 68.9% of statements [2020-09-30T06:35:22.624Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-30T06:35:22.624Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-30T06:35:22.624Z] GO111MODULE=on go vet ./... [2020-09-30T06:35:29.320Z] gofmt -l . [2020-09-30T06:35:29.320Z] [ "`gofmt -l .`" = "" ] [2020-09-30T06:35:29.320Z] ./bin/test-attribution-txt.sh [2020-09-30T06:35:29.320Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-30T06:35:29.692Z] Stashed 1 file(s) [Pipeline] } [2020-09-30T06:35:29.704Z] $ docker stop --time=1 2ad38b16e06980d1c77c1d852138c098835410f0d4ab61fb26730d0914e50d9a [2020-09-30T06:35:31.612Z] $ docker rm -f 2ad38b16e06980d1c77c1d852138c098835410f0d4ab61fb26730d0914e50d9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-09-30T06:35:32.558Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2195 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] sh [Pipeline] ws [2020-09-30T06:35:33.071Z] Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout [2020-09-30T06:35:33.277Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-30T06:35:33.583Z] + ls -al . [2020-09-30T06:35:33.583Z] total 192 [2020-09-30T06:35:33.583Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 30 06:35 . [2020-09-30T06:35:33.583Z] drwxrwxr-x. 4 jenkins jenkins 30 Sep 30 06:33 .. [2020-09-30T06:35:33.583Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 30 06:33 bin [2020-09-30T06:35:33.583Z] -rw-r--r--. 1 jenkins jenkins 111041 Sep 30 06:35 coverage.out [2020-09-30T06:35:33.583Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 30 06:33 Dockerfile.build [2020-09-30T06:35:33.583Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 30 06:33 .dockerignore [2020-09-30T06:35:33.583Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 30 06:33 example [2020-09-30T06:35:33.583Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 30 06:33 .git [2020-09-30T06:35:33.583Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 30 06:33 .github [2020-09-30T06:35:33.583Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 30 06:33 .gitignore [2020-09-30T06:35:33.583Z] -rw-r--r--. 1 jenkins jenkins 517 Sep 30 06:35 go.mod [2020-09-30T06:35:33.583Z] -rw-r--r--. 1 jenkins jenkins 13543 Sep 30 06:35 go.sum [2020-09-30T06:35:33.583Z] drwxrwxr-x. 15 jenkins jenkins 211 Sep 30 06:33 internal [2020-09-30T06:35:33.583Z] -rw-rw-r--. 1 jenkins jenkins 785 Sep 30 06:33 Jenkinsfile [2020-09-30T06:35:33.583Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 30 06:33 LICENSE [2020-09-30T06:35:33.583Z] -rw-rw-r--. 1 jenkins jenkins 1013 Sep 30 06:33 Makefile [2020-09-30T06:35:33.583Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 30 06:33 openapi [2020-09-30T06:35:33.583Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 30 06:33 pkg [2020-09-30T06:35:33.583Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 30 06:33 README.md [2020-09-30T06:35:33.583Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 30 06:33 RELEASE-NOTES.txt [2020-09-30T06:35:33.583Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 30 06:33 .semver [2020-09-30T06:35:33.583Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 30 06:33 snap [2020-09-30T06:35:33.583Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 30 06:31 VERSION [2020-09-30T06:35:33.583Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 30 06:33 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-30T06:35:33.910Z] + 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=aac36b3916e75134e0bc274a629980a5801eb67d --label arch=amd64 --label version=0.0.0 . [2020-09-30T06:35:34.173Z] Sending build context to Docker daemon 3.533MB [2020-09-30T06:35:34.173Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-30T06:35:34.173Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-30T06:35:34.173Z] ---> bc7ed03430d2 [2020-09-30T06:35:34.173Z] Step 3/24 : ARG MAKE='make build' [2020-09-30T06:35:34.751Z] ---> Running in b9bf6a60b69b [2020-09-30T06:35:35.013Z] Removing intermediate container b9bf6a60b69b [2020-09-30T06:35:35.013Z] ---> 24d60b5ccd91 [2020-09-30T06:35:35.013Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-30T06:35:35.013Z] ---> Running in 64bfae56c7f8 [2020-09-30T06:35:35.277Z] Removing intermediate container 64bfae56c7f8 [2020-09-30T06:35:35.277Z] ---> 42e5e970d98e [2020-09-30T06:35:35.277Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-30T06:35:35.277Z] ---> Running in 6f1defb78545 [2020-09-30T06:35:35.277Z] Removing intermediate container 6f1defb78545 [2020-09-30T06:35:35.277Z] ---> ee8eeee8ec8a [2020-09-30T06:35:35.278Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-30T06:35:35.538Z] ---> Running in 985e0898dc57 [2020-09-30T06:35:36.491Z] Removing intermediate container 985e0898dc57 [2020-09-30T06:35:36.491Z] ---> 2232d313d760 [2020-09-30T06:35:36.491Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-30T06:35:36.491Z] ---> Running in 415b5d951fc3 [2020-09-30T06:35:36.763Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-30T06:35:37.718Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-30T06:35:37.977Z] using credential edgex-jenkins-ssh [2020-09-30T06:35:37.981Z] OK: 166 MiB in 39 packages [2020-09-30T06:35:38.037Z] Cloning the remote Git repository [2020-09-30T06:35:38.097Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-30T06:35:38.209Z] > git init /w/workspace/device-sdk-go/11 # timeout=10 [2020-09-30T06:35:38.560Z] Removing intermediate container 415b5d951fc3 [2020-09-30T06:35:38.560Z] ---> 332617f2bc6b [2020-09-30T06:35:38.560Z] Step 8/24 : COPY . . [2020-09-30T06:35:38.304Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-30T06:35:38.304Z] > git --version # timeout=10 [2020-09-30T06:35:38.333Z] > git --version # 'git version 2.17.1' [2020-09-30T06:35:38.335Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-30T06:35:38.504Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-30T06:35:39.509Z] ---> 840daa6e4831 [2020-09-30T06:35:39.509Z] Step 9/24 : RUN ${MAKE} [2020-09-30T06:35:39.509Z] ---> Running in a1cf1ac536a7 [2020-09-30T06:35:40.091Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-09-30T06:35:40.180Z] Merging remotes/origin/master commit 4a1412fe3679be6652f13296ba45411ccc085237 into PR head commit aac36b3916e75134e0bc274a629980a5801eb67d [2020-09-30T06:35:40.540Z] Merge succeeded, producing aac36b3916e75134e0bc274a629980a5801eb67d [2020-09-30T06:35:40.541Z] Checking out Revision aac36b3916e75134e0bc274a629980a5801eb67d (PR-582) [2020-09-30T06:35:39.570Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-30T06:35:39.591Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-30T06:35:39.622Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-30T06:35:39.655Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-30T06:35:39.656Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-30T06:35:39.668Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-30T06:35:40.237Z] > git config core.sparsecheckout # timeout=10 [2020-09-30T06:35:40.253Z] > git checkout -f aac36b3916e75134e0bc274a629980a5801eb67d # timeout=10 [2020-09-30T06:35:40.392Z] > git remote # timeout=10 [2020-09-30T06:35:40.444Z] > git config --get remote.origin.url # timeout=10 [2020-09-30T06:35:40.466Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-30T06:35:40.503Z] > git merge 4a1412fe3679be6652f13296ba45411ccc085237 # timeout=10 [2020-09-30T06:35:40.530Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-30T06:35:40.549Z] > git config core.sparsecheckout # timeout=10 [2020-09-30T06:35:40.560Z] > git checkout -f aac36b3916e75134e0bc274a629980a5801eb67d # timeout=10 [2020-09-30T06:35:44.815Z] Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-30T06:35:46.213Z] ========================================================= [2020-09-30T06:35:46.213Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-30T06:35:46.213Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-30T06:35:47.408Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-09-30T06:35:48.340Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-30T06:35:48.410Z] Sending build context to Docker daemon 3.421MB [2020-09-30T06:35:48.410Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-30T06:35:48.410Z] Step 2/8 : FROM ${BASE} [2020-09-30T06:35:48.689Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-30T06:35:48.689Z] b538f80385f9: Pulling fs layer [2020-09-30T06:35:48.689Z] 74f711af9a0d: Pulling fs layer [2020-09-30T06:35:48.689Z] 99f96fe45779: Pulling fs layer [2020-09-30T06:35:48.689Z] 8529a6b9a6be: Pulling fs layer [2020-09-30T06:35:48.689Z] 45590311c82a: Pulling fs layer [2020-09-30T06:35:48.689Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-30T06:35:48.689Z] 209524e5b208: Pulling fs layer [2020-09-30T06:35:48.689Z] 8529a6b9a6be: Waiting [2020-09-30T06:35:48.689Z] 45590311c82a: Waiting [2020-09-30T06:35:48.689Z] 209524e5b208: Waiting [2020-09-30T06:35:48.689Z] 69ca0ff8b7b3: Waiting [2020-09-30T06:35:48.689Z] 99f96fe45779: Verifying Checksum [2020-09-30T06:35:48.689Z] 99f96fe45779: Download complete [2020-09-30T06:35:48.689Z] 74f711af9a0d: Verifying Checksum [2020-09-30T06:35:48.689Z] 74f711af9a0d: Download complete [2020-09-30T06:35:48.689Z] 45590311c82a: Verifying Checksum [2020-09-30T06:35:48.689Z] 45590311c82a: Download complete [2020-09-30T06:35:48.689Z] 69ca0ff8b7b3: Download complete [2020-09-30T06:35:48.689Z] b538f80385f9: Verifying Checksum [2020-09-30T06:35:48.689Z] b538f80385f9: Download complete [2020-09-30T06:35:49.707Z] b538f80385f9: Pull complete [2020-09-30T06:35:50.275Z] Removing intermediate container a1cf1ac536a7 [2020-09-30T06:35:50.275Z] ---> d3f4360fa439 [2020-09-30T06:35:50.275Z] Step 10/24 : FROM scratch [2020-09-30T06:35:50.275Z] ---> [2020-09-30T06:35:50.275Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-30T06:35:50.275Z] ---> Running in 5f5033057702 [2020-09-30T06:35:50.275Z] Removing intermediate container 5f5033057702 [2020-09-30T06:35:50.275Z] ---> 16dca8026cf3 [2020-09-30T06:35:50.275Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-30T06:35:50.275Z] ---> Running in aa48377a64fb [2020-09-30T06:35:50.310Z] 74f711af9a0d: Pull complete [2020-09-30T06:35:50.543Z] Removing intermediate container aa48377a64fb [2020-09-30T06:35:50.543Z] ---> 43d964c38c27 [2020-09-30T06:35:50.543Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-30T06:35:50.543Z] ---> Running in 11a2c5a0d015 [2020-09-30T06:35:50.589Z] 99f96fe45779: Pull complete [2020-09-30T06:35:50.814Z] Removing intermediate container 11a2c5a0d015 [2020-09-30T06:35:50.814Z] ---> 5d26cc92168f [2020-09-30T06:35:50.814Z] Step 14/24 : WORKDIR / [2020-09-30T06:35:50.814Z] ---> Running in a4ff49065be6 [2020-09-30T06:35:51.079Z] Removing intermediate container a4ff49065be6 [2020-09-30T06:35:51.079Z] ---> 174c7703d891 [2020-09-30T06:35:51.079Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-30T06:35:51.342Z] ---> 90351c22291d [2020-09-30T06:35:51.342Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-30T06:35:51.605Z] 209524e5b208: Verifying Checksum [2020-09-30T06:35:51.605Z] 209524e5b208: Download complete [2020-09-30T06:35:51.606Z] ---> 80b9d68fc3a1 [2020-09-30T06:35:51.606Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-30T06:35:51.871Z] ---> 244ebf1bb91b [2020-09-30T06:35:51.871Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-30T06:35:52.135Z] ---> 1aa445aa363a [2020-09-30T06:35:52.135Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-30T06:35:52.417Z] ---> 24d8f53ec176 [2020-09-30T06:35:52.417Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-30T06:35:52.417Z] ---> Running in 6a892d7b0aed [2020-09-30T06:35:52.593Z] 8529a6b9a6be: Verifying Checksum [2020-09-30T06:35:52.593Z] 8529a6b9a6be: Download complete [2020-09-30T06:35:52.678Z] Removing intermediate container 6a892d7b0aed [2020-09-30T06:35:52.679Z] ---> f8105738a8ab [2020-09-30T06:35:52.679Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-30T06:35:52.679Z] ---> Running in 88c8bd8c662b [2020-09-30T06:35:52.939Z] Removing intermediate container 88c8bd8c662b [2020-09-30T06:35:52.939Z] ---> 15ad9d844fa4 [2020-09-30T06:35:52.939Z] Step 22/24 : LABEL arch=amd64 [2020-09-30T06:35:52.939Z] ---> Running in 20b43e0ad7df [2020-09-30T06:35:52.939Z] Removing intermediate container 20b43e0ad7df [2020-09-30T06:35:52.939Z] ---> a3b9e44f7a5e [2020-09-30T06:35:52.939Z] Step 23/24 : LABEL git_sha=aac36b3916e75134e0bc274a629980a5801eb67d [2020-09-30T06:35:53.201Z] ---> Running in e81286a500af [2020-09-30T06:35:53.201Z] Removing intermediate container e81286a500af [2020-09-30T06:35:53.201Z] ---> 58e352cf1384 [2020-09-30T06:35:53.201Z] Step 24/24 : LABEL version=0.0.0 [2020-09-30T06:35:53.465Z] ---> Running in dc1347a45c66 [2020-09-30T06:35:53.465Z] Removing intermediate container dc1347a45c66 [2020-09-30T06:35:53.465Z] ---> cee815674536 [2020-09-30T06:35:53.465Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-30T06:35:53.465Z] Successfully built cee815674536 [2020-09-30T06:35:53.465Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-30T06:36:02.776Z] 8529a6b9a6be: Pull complete [2020-09-30T06:36:02.776Z] 45590311c82a: Pull complete [2020-09-30T06:36:03.370Z] 69ca0ff8b7b3: Pull complete [2020-09-30T06:36:06.764Z] 209524e5b208: Pull complete [2020-09-30T06:36:06.764Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-30T06:36:06.764Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-30T06:36:06.764Z] ---> 5bddaf1c2fca [2020-09-30T06:36:06.764Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-30T06:36:09.404Z] ---> Running in bcee9ff585f8 [2020-09-30T06:36:10.002Z] Removing intermediate container bcee9ff585f8 [2020-09-30T06:36:10.002Z] ---> 00127d0e614b [2020-09-30T06:36:10.002Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-30T06:36:10.002Z] ---> Running in 86d69f178271 [2020-09-30T06:36:12.631Z] Removing intermediate container 86d69f178271 [2020-09-30T06:36:12.631Z] ---> 5f8170dc6940 [2020-09-30T06:36:12.631Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-30T06:36:12.631Z] ---> Running in f9266291271a [2020-09-30T06:36:14.068Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-30T06:36:15.048Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-30T06:36:15.644Z] OK: 142 MiB in 39 packages [2020-09-30T06:36:17.088Z] Removing intermediate container f9266291271a [2020-09-30T06:36:17.088Z] ---> d856aee7cec2 [2020-09-30T06:36:17.088Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-30T06:36:17.088Z] ---> Running in e4da53872fbe [2020-09-30T06:36:17.363Z] Removing intermediate container e4da53872fbe [2020-09-30T06:36:17.363Z] ---> 2032309270d0 [2020-09-30T06:36:17.363Z] Step 7/8 : COPY . . [2020-09-30T06:36:18.803Z] ---> 4d1686b75444 [2020-09-30T06:36:18.803Z] Step 8/8 : RUN go mod download [2020-09-30T06:36:19.078Z] ---> Running in 838b07a716ba [2020-09-30T06:36:41.284Z] Removing intermediate container 838b07a716ba [2020-09-30T06:36:41.284Z] ---> 831d9f21a1ba [2020-09-30T06:36:41.284Z] Successfully built 831d9f21a1ba [2020-09-30T06:36:41.284Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-30T06:36:41.681Z] + docker inspect -f . ci-base-image-arm64 [2020-09-30T06:36:41.682Z] . [Pipeline] withDockerContainer [2020-09-30T06:36:41.926Z] prd-ubuntu18.04-docker-arm64-4c-16g-2195 does not seem to be running inside a container [2020-09-30T06:36:42.015Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-09-30T06:36:43.936Z] $ docker top b74853372d882dbb796592b2597598a31faac08e2af26c3a69cc798ad5e3bf62 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-30T06:36:45.363Z] + go version [2020-09-30T06:36:45.363Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-30T06:36:45.388Z] $ docker stop --time=1 b74853372d882dbb796592b2597598a31faac08e2af26c3a69cc798ad5e3bf62 [2020-09-30T06:36:47.357Z] $ docker rm -f b74853372d882dbb796592b2597598a31faac08e2af26c3a69cc798ad5e3bf62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-30T06:36:48.366Z] + docker inspect -f . ci-base-image-arm64 [2020-09-30T06:36:48.366Z] . [Pipeline] withDockerContainer [2020-09-30T06:36:48.637Z] prd-ubuntu18.04-docker-arm64-4c-16g-2195 does not seem to be running inside a container [2020-09-30T06:36:48.727Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-09-30T06:36:50.563Z] $ docker top ec5044495bc28487b9f3e21753d882e0b4e3e8dfebc059a1bb6a16ea85631fea -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-30T06:36:51.972Z] + make test [2020-09-30T06:36:51.973Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-30T06:37:14.224Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-30T06:37:53.270Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-30T06:37:53.270Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-30T06:37:53.270Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-30T06:37:53.270Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.127s coverage: 21.6% of statements [2020-09-30T06:37:55.916Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.204s coverage: 97.1% of statements [2020-09-30T06:38:22.746Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.123s coverage: 9.4% of statements [2020-09-30T06:38:22.746Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.111s coverage: 21.9% of statements [2020-09-30T06:38:22.746Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-30T06:38:22.746Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.595s coverage: 39.5% of statements [2020-09-30T06:38:22.746Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-30T06:38:22.746Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.781s coverage: 65.4% of statements [2020-09-30T06:38:22.746Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-30T06:38:22.746Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-30T06:38:22.746Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-30T06:38:22.746Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-09-30T06:38:22.746Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.192s coverage: 52.6% of statements [2020-09-30T06:38:22.746Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-09-30T06:38:22.746Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.867s coverage: 68.9% of statements [2020-09-30T06:38:22.746Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-30T06:38:22.746Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-30T06:38:23.356Z] GO111MODULE=on go vet ./... [2020-09-30T06:38:56.078Z] gofmt -l . [2020-09-30T06:38:56.078Z] [ "`gofmt -l .`" = "" ] [2020-09-30T06:38:56.078Z] ./bin/test-attribution-txt.sh [2020-09-30T06:38:56.078Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-30T06:38:56.123Z] Warning: overwriting stash ‘coverage-report’ [2020-09-30T06:38:56.907Z] Stashed 1 file(s) [Pipeline] } [2020-09-30T06:38:56.916Z] $ docker stop --time=1 ec5044495bc28487b9f3e21753d882e0b4e3e8dfebc059a1bb6a16ea85631fea [2020-09-30T06:38:58.955Z] $ docker rm -f ec5044495bc28487b9f3e21753d882e0b4e3e8dfebc059a1bb6a16ea85631fea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-30T06:39:00.395Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-30T06:39:00.731Z] + ls -al . [2020-09-30T06:39:00.731Z] total 232 [2020-09-30T06:39:00.731Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 30 06:38 . [2020-09-30T06:39:00.731Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 06:35 .. [2020-09-30T06:39:00.731Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 30 06:35 .dockerignore [2020-09-30T06:39:00.731Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 06:35 .git [2020-09-30T06:39:00.731Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 06:35 .github [2020-09-30T06:39:00.731Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 30 06:35 .gitignore [2020-09-30T06:39:00.731Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 06:35 .semver [2020-09-30T06:39:00.731Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 30 06:35 Dockerfile.build [2020-09-30T06:39:00.731Z] -rw-rw-r-- 1 jenkins jenkins 785 Sep 30 06:35 Jenkinsfile [2020-09-30T06:39:00.731Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 30 06:35 LICENSE [2020-09-30T06:39:00.731Z] -rw-rw-r-- 1 jenkins jenkins 1013 Sep 30 06:35 Makefile [2020-09-30T06:39:00.731Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 30 06:35 README.md [2020-09-30T06:39:00.731Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 30 06:35 RELEASE-NOTES.txt [2020-09-30T06:39:00.731Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 30 06:31 VERSION [2020-09-30T06:39:00.731Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 06:35 bin [2020-09-30T06:39:00.731Z] -rw-r--r-- 1 jenkins jenkins 111041 Sep 30 06:38 coverage.out [2020-09-30T06:39:00.731Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 06:35 example [2020-09-30T06:39:00.731Z] -rw-r--r-- 1 jenkins jenkins 517 Sep 30 06:38 go.mod [2020-09-30T06:39:00.731Z] -rw-r--r-- 1 jenkins jenkins 13543 Sep 30 06:38 go.sum [2020-09-30T06:39:00.731Z] drwxrwxr-x 15 jenkins jenkins 4096 Sep 30 06:35 internal [2020-09-30T06:39:00.731Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 06:35 openapi [2020-09-30T06:39:00.731Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 30 06:35 pkg [2020-09-30T06:39:00.731Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 06:35 snap [2020-09-30T06:39:00.731Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 30 06:35 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-30T06:39:01.086Z] + 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=aac36b3916e75134e0bc274a629980a5801eb67d --label arch=arm64 --label version=0.0.0 . [2020-09-30T06:39:01.688Z] Sending build context to Docker daemon 3.533MB [2020-09-30T06:39:01.688Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-30T06:39:01.688Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-30T06:39:01.688Z] ---> 831d9f21a1ba [2020-09-30T06:39:01.688Z] Step 3/24 : ARG MAKE='make build' [2020-09-30T06:39:01.960Z] ---> Running in 31b418bd3195 [2020-09-30T06:39:02.235Z] Removing intermediate container 31b418bd3195 [2020-09-30T06:39:02.236Z] ---> e5aa5fb40363 [2020-09-30T06:39:02.236Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-30T06:39:02.507Z] ---> Running in 66029113e35d [2020-09-30T06:39:02.778Z] Removing intermediate container 66029113e35d [2020-09-30T06:39:02.778Z] ---> 2693b27b3606 [2020-09-30T06:39:02.778Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-30T06:39:03.048Z] ---> Running in c30b7392be04 [2020-09-30T06:39:03.319Z] Removing intermediate container c30b7392be04 [2020-09-30T06:39:03.319Z] ---> 1603e3cf2ad7 [2020-09-30T06:39:03.319Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-30T06:39:03.591Z] ---> Running in 26062362c473 [2020-09-30T06:39:06.204Z] Removing intermediate container 26062362c473 [2020-09-30T06:39:06.204Z] ---> 6b4d2d3e1998 [2020-09-30T06:39:06.204Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-30T06:39:06.204Z] ---> Running in a477a3877d22 [2020-09-30T06:39:07.647Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-30T06:39:08.236Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-30T06:39:09.210Z] OK: 142 MiB in 39 packages [2020-09-30T06:39:10.187Z] Removing intermediate container a477a3877d22 [2020-09-30T06:39:10.187Z] ---> 97e22539fd94 [2020-09-30T06:39:10.187Z] Step 8/24 : COPY . . [2020-09-30T06:39:11.624Z] ---> 125fbe19a4ea [2020-09-30T06:39:11.624Z] Step 9/24 : RUN ${MAKE} [2020-09-30T06:39:11.904Z] ---> Running in 86442d7bfa75 [2020-09-30T06:39:13.337Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-09-30T06:39:40.163Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-30T06:39:40.163Z] Removing intermediate container 86442d7bfa75 [2020-09-30T06:39:40.163Z] ---> 6f587e90e41a [2020-09-30T06:39:40.163Z] Step 10/24 : FROM scratch [2020-09-30T06:39:40.163Z] ---> [2020-09-30T06:39:40.163Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-30T06:39:40.163Z] ---> Running in 6644d018af5c [2020-09-30T06:39:40.163Z] Removing intermediate container 6644d018af5c [2020-09-30T06:39:40.163Z] ---> de14338ce2ce [2020-09-30T06:39:40.163Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-30T06:39:40.163Z] ---> Running in c4942fbae210 [2020-09-30T06:39:40.163Z] Removing intermediate container c4942fbae210 [2020-09-30T06:39:40.163Z] ---> 08f99c6517e1 [2020-09-30T06:39:40.163Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-30T06:39:40.436Z] ---> Running in b22aec6759cc [2020-09-30T06:39:40.708Z] Removing intermediate container b22aec6759cc [2020-09-30T06:39:40.708Z] ---> 3c630cd72a17 [2020-09-30T06:39:40.708Z] Step 14/24 : WORKDIR / [2020-09-30T06:39:40.981Z] ---> Running in 53949a378d71 [2020-09-30T06:39:41.256Z] Removing intermediate container 53949a378d71 [2020-09-30T06:39:41.256Z] ---> 432e65d3b8c2 [2020-09-30T06:39:41.256Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-30T06:39:42.691Z] ---> 2bb174d3b1af [2020-09-30T06:39:42.691Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-30T06:39:43.288Z] ---> d4d090ed68d9 [2020-09-30T06:39:43.288Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-30T06:39:43.882Z] ---> d66546835978 [2020-09-30T06:39:43.882Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-30T06:39:44.862Z] ---> 4186b2aab48e [2020-09-30T06:39:44.862Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-30T06:39:45.455Z] ---> c7474e7a5d45 [2020-09-30T06:39:45.455Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-30T06:39:45.455Z] ---> Running in bf04a47e7bd7 [2020-09-30T06:39:46.050Z] Removing intermediate container bf04a47e7bd7 [2020-09-30T06:39:46.050Z] ---> e58658c4a550 [2020-09-30T06:39:46.050Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-30T06:39:46.050Z] ---> Running in e2aac21fdd42 [2020-09-30T06:39:46.644Z] Removing intermediate container e2aac21fdd42 [2020-09-30T06:39:46.644Z] ---> ce3220685b77 [2020-09-30T06:39:46.644Z] Step 22/24 : LABEL arch=arm64 [2020-09-30T06:39:46.644Z] ---> Running in a21f0cfacd36 [2020-09-30T06:39:47.241Z] Removing intermediate container a21f0cfacd36 [2020-09-30T06:39:47.241Z] ---> b8621cbd4305 [2020-09-30T06:39:47.241Z] Step 23/24 : LABEL git_sha=aac36b3916e75134e0bc274a629980a5801eb67d [2020-09-30T06:39:47.241Z] ---> Running in 68096602391d [2020-09-30T06:39:47.834Z] Removing intermediate container 68096602391d [2020-09-30T06:39:47.834Z] ---> d3ecb445b744 [2020-09-30T06:39:47.834Z] Step 24/24 : LABEL version=0.0.0 [2020-09-30T06:39:47.834Z] ---> Running in c73ef0506752 [2020-09-30T06:39:48.426Z] Removing intermediate container c73ef0506752 [2020-09-30T06:39:48.426Z] ---> 71a29822f47f [2020-09-30T06:39:48.426Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-30T06:39:48.426Z] Successfully built 71a29822f47f [2020-09-30T06:39:48.426Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-09-30T06:39:50.469Z] provisioning config files... [2020-09-30T06:39:50.481Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config5431850704764908459tmp [Pipeline] { [Pipeline] sh [2020-09-30T06:39:50.866Z] + set +x [2020-09-30T06:39:50.867Z] + curl -s https://codecov.io/bash [2020-09-30T06:39:50.867Z] + bash -s -- [2020-09-30T06:39:51.128Z] [2020-09-30T06:39:51.128Z] _____ _ [2020-09-30T06:39:51.128Z] / ____| | | [2020-09-30T06:39:51.128Z] | | ___ __| | ___ ___ _____ __ [2020-09-30T06:39:51.128Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-09-30T06:39:51.128Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-09-30T06:39:51.128Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-09-30T06:39:51.128Z] Bash-20200917-4e8f14b [2020-09-30T06:39:51.128Z] [2020-09-30T06:39:51.128Z] [2020-09-30T06:39:51.128Z] ==> Jenkins CI detected. [2020-09-30T06:39:51.128Z] project root: . [2020-09-30T06:39:51.128Z] --> token set from env [2020-09-30T06:39:51.128Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-09-30T06:39:51.128Z] ==> Running gcov in . (disable via -X gcov) [2020-09-30T06:39:51.128Z] ==> Python coveragepy not found [2020-09-30T06:39:51.128Z] ==> Searching for coverage reports in: [2020-09-30T06:39:51.128Z] + . [2020-09-30T06:39:51.128Z] -> Found 1 reports [2020-09-30T06:39:51.128Z] ==> Detecting git/mercurial file structure [2020-09-30T06:39:51.128Z] ==> Reading reports [2020-09-30T06:39:51.128Z] + ./coverage.out bytes=111041 [2020-09-30T06:39:51.128Z] ==> Appending adjustments [2020-09-30T06:39:51.128Z] https://docs.codecov.io/docs/fixing-reports [2020-09-30T06:39:51.391Z] + Found adjustments [2020-09-30T06:39:51.653Z] ==> Gzipping contents [2020-09-30T06:39:51.653Z] ==> Uploading reports [2020-09-30T06:39:51.653Z] url: https://codecov.io [2020-09-30T06:39:51.653Z] query: branch=PR-582&commit=aac36b3916e75134e0bc274a629980a5801eb67d&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= [2020-09-30T06:39:51.653Z] -> Pinging Codecov [2020-09-30T06:39:51.653Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-582&commit=aac36b3916e75134e0bc274a629980a5801eb67d&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= [2020-09-30T06:39:51.921Z] -> Uploading to [2020-09-30T06:39:51.921Z] https://storage.googleapis.com/codecov/v4/raw/2020-09-30/7E55EF52A471D76F132DFD9A03CDDE97/aac36b3916e75134e0bc274a629980a5801eb67d/7f1001fc-efe2-4abc-8cb4-72a2f9cc0cd4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200930%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200930T063951Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=87e03e071517b16591caeeeeb6b92c2d563e570cd07c8f501ef77d1ebb8df160 [2020-09-30T06:39:51.921Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-09-30T06:39:51.921Z] Dload Upload Total Spent Left Speed [2020-09-30T06:39:52.496Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18383 0 0 100 18383 0 48573 --:--:-- --:--:-- --:--:-- 48632 [2020-09-30T06:39:52.496Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/aac36b3916e75134e0bc274a629980a5801eb67d [Pipeline] } [2020-09-30T06:39:52.505Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-09-30T06:39:55.843Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-30T06:39:56.415Z] ---> package-listing.sh [2020-09-30T06:39:56.415Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-30T06:39:56.415Z] ++ facter osfamily [2020-09-30T06:39:56.415Z] + OS_FAMILY=redhat [2020-09-30T06:39:56.415Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-09-30T06:39:56.415Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-30T06:39:56.415Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-30T06:39:56.415Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-30T06:39:56.415Z] + PACKAGES=/tmp/packages_start.txt [2020-09-30T06:39:56.415Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-09-30T06:39:56.415Z] + PACKAGES=/tmp/packages_end.txt [2020-09-30T06:39:56.415Z] + case "${OS_FAMILY}" in [2020-09-30T06:39:56.415Z] + rpm -qa [2020-09-30T06:39:56.415Z] + sort [2020-09-30T06:40:01.732Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-30T06:40:01.732Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-30T06:40:01.732Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-30T06:40:01.732Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-09-30T06:40:01.732Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [2020-09-30T06:40:01.732Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-30T06:40:01.974Z] provisioning config files... [2020-09-30T06:40:01.991Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config6678232492483641686tmp [Pipeline] { [Pipeline] echo [2020-09-30T06:40:02.078Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-30T06:40:02.387Z] ---> create-netrc.sh [Pipeline] } [2020-09-30T06:40:02.397Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-09-30T06:40:02.508Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-30T06:40:02.810Z] ---> python-tools-install.sh [2020-09-30T06:40:02.810Z] Generating Requirements File [2020-09-30T06:41:24.382Z] Python 3.6.8 [2020-09-30T06:41:24.382Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-09-30T06:41:24.382Z] aiohttp==3.6.2 [2020-09-30T06:41:24.382Z] appdirs==1.4.3 [2020-09-30T06:41:24.382Z] argcomplete==1.12.1 [2020-09-30T06:41:24.382Z] aspy.yaml==1.3.0 [2020-09-30T06:41:24.382Z] async-timeout==3.0.1 [2020-09-30T06:41:24.382Z] attrs==19.3.0 [2020-09-30T06:41:24.382Z] Babel==2.8.0 [2020-09-30T06:41:24.382Z] beautifulsoup4==4.8.2 [2020-09-30T06:41:24.382Z] boto3==1.11.6 [2020-09-30T06:41:24.382Z] botocore==1.14.6 [2020-09-30T06:41:24.382Z] bs4==0.0.1 [2020-09-30T06:41:24.382Z] cachetools==4.1.1 [2020-09-30T06:41:24.382Z] certifi==2019.11.28 [2020-09-30T06:41:24.382Z] cffi==1.14.3 [2020-09-30T06:41:24.382Z] cfgv==2.0.1 [2020-09-30T06:41:24.382Z] chardet==3.0.4 [2020-09-30T06:41:24.382Z] click==7.1 [2020-09-30T06:41:24.382Z] cliff==3.4.0 [2020-09-30T06:41:24.382Z] cmd2==1.3.10 [2020-09-30T06:41:24.382Z] colorama==0.4.3 [2020-09-30T06:41:24.382Z] cryptography==3.1.1 [2020-09-30T06:41:24.382Z] debtcollector==2.2.0 [2020-09-30T06:41:24.382Z] decorator==4.4.2 [2020-09-30T06:41:24.382Z] defusedxml==0.6.0 [2020-09-30T06:41:24.382Z] Deprecated==1.2.7 [2020-09-30T06:41:24.382Z] distlib==0.3.1 [2020-09-30T06:41:24.382Z] distro==1.2.0 [2020-09-30T06:41:24.382Z] dnspython==1.16.0 [2020-09-30T06:41:24.382Z] docker==4.2.0 [2020-09-30T06:41:24.382Z] docutils==0.15.2 [2020-09-30T06:41:24.382Z] dogpile.cache==1.0.2 [2020-09-30T06:41:24.382Z] email-validator==1.0.5 [2020-09-30T06:41:24.382Z] filelock==3.0.12 [2020-09-30T06:41:24.382Z] future==0.18.2 [2020-09-30T06:41:24.382Z] google-auth==1.22.0 [2020-09-30T06:41:24.382Z] httplib2==0.17.0 [2020-09-30T06:41:24.382Z] identify==1.4.11 [2020-09-30T06:41:24.382Z] idna==2.9 [2020-09-30T06:41:24.382Z] idna-ssl==1.1.0 [2020-09-30T06:41:24.382Z] importlib-metadata==1.7.0 [2020-09-30T06:41:24.382Z] importlib-resources==1.5.0 [2020-09-30T06:41:24.382Z] iso8601==0.1.13 [2020-09-30T06:41:24.382Z] Jinja2==2.11.1 [2020-09-30T06:41:24.382Z] jmespath==0.10.0 [2020-09-30T06:41:24.382Z] jsonpatch==1.26 [2020-09-30T06:41:24.382Z] jsonpointer==2.0 [2020-09-30T06:41:24.382Z] jsonschema==3.2.0 [2020-09-30T06:41:24.382Z] keystoneauth1==4.2.1 [2020-09-30T06:41:24.382Z] kubernetes==11.0.0 [2020-09-30T06:41:24.382Z] lftools==0.34.2 [2020-09-30T06:41:24.382Z] lxml==4.5.0 [2020-09-30T06:41:24.382Z] MarkupSafe==0.23 [2020-09-30T06:41:24.382Z] msgpack==1.0.0 [2020-09-30T06:41:24.382Z] multi-key-dict==2.0.3 [2020-09-30T06:41:24.382Z] multidict==4.7.6 [2020-09-30T06:41:24.382Z] munch==2.5.0 [2020-09-30T06:41:24.382Z] netaddr==0.8.0 [2020-09-30T06:41:24.382Z] netifaces==0.10.9 [2020-09-30T06:41:24.382Z] niet==1.4.2 [2020-09-30T06:41:24.382Z] nodeenv==1.3.5 [2020-09-30T06:41:24.382Z] oauth2client==4.1.3 [2020-09-30T06:41:24.382Z] oauthlib==3.1.0 [2020-09-30T06:41:24.382Z] openstacksdk==0.50.0 [2020-09-30T06:41:24.382Z] os-client-config==2.1.0 [2020-09-30T06:41:24.382Z] os-service-types==1.7.0 [2020-09-30T06:41:24.382Z] osc-lib==2.2.1 [2020-09-30T06:41:24.382Z] oslo.config==8.3.2 [2020-09-30T06:41:24.382Z] oslo.context==3.1.1 [2020-09-30T06:41:24.382Z] oslo.i18n==5.0.1 [2020-09-30T06:41:24.382Z] oslo.log==4.4.0 [2020-09-30T06:41:24.382Z] oslo.serialization==4.0.1 [2020-09-30T06:41:24.382Z] oslo.utils==4.6.0 [2020-09-30T06:41:24.382Z] packaging==20.4 [2020-09-30T06:41:24.382Z] pbr==5.4.4 [2020-09-30T06:41:24.382Z] pluggy==0.13.1 [2020-09-30T06:41:24.382Z] prettytable==0.7.2 [2020-09-30T06:41:24.382Z] py==1.9.0 [2020-09-30T06:41:24.382Z] pyasn1==0.4.8 [2020-09-30T06:41:24.382Z] pyasn1-modules==0.2.8 [2020-09-30T06:41:24.382Z] pycparser==2.20 [2020-09-30T06:41:24.382Z] pygerrit2==2.0.10 [2020-09-30T06:41:24.382Z] PyGithub==1.46 [2020-09-30T06:41:24.382Z] pyinotify==0.9.6 [2020-09-30T06:41:24.382Z] PyJWT==1.7.1 [2020-09-30T06:41:24.382Z] pyparsing==2.4.7 [2020-09-30T06:41:24.382Z] pyperclip==1.8.0 [2020-09-30T06:41:24.382Z] pyroute2==0.4.13 [2020-09-30T06:41:24.382Z] pyrsistent==0.15.7 [2020-09-30T06:41:24.382Z] PySocks==1.6.8 [2020-09-30T06:41:24.382Z] python-cinderclient==7.2.0 [2020-09-30T06:41:24.382Z] python-dateutil==2.8.1 [2020-09-30T06:41:24.382Z] python-heatclient==2.2.1 [2020-09-30T06:41:24.382Z] python-jenkins==1.7.0 [2020-09-30T06:41:24.382Z] python-keystoneclient==4.1.1 [2020-09-30T06:41:24.382Z] python-magnumclient==3.2.1 [2020-09-30T06:41:24.382Z] python-novaclient==17.2.1 [2020-09-30T06:41:24.382Z] python-openstackclient==5.3.1 [2020-09-30T06:41:24.382Z] python-swiftclient==3.10.1 [2020-09-30T06:41:24.382Z] pytz==2020.1 [2020-09-30T06:41:24.382Z] PyYAML==5.3 [2020-09-30T06:41:24.382Z] requests==2.23.0 [2020-09-30T06:41:24.382Z] requests-oauthlib==1.3.0 [2020-09-30T06:41:24.382Z] requestsexceptions==1.4.0 [2020-09-30T06:41:24.382Z] rfc3986==1.4.0 [2020-09-30T06:41:24.382Z] rpm==4.11.3 [2020-09-30T06:41:24.382Z] rsa==4.0 [2020-09-30T06:41:24.382Z] ruamel.yaml==0.16.10 [2020-09-30T06:41:24.382Z] ruamel.yaml.clib==0.2.0 [2020-09-30T06:41:24.382Z] s3transfer==0.3.3 [2020-09-30T06:41:24.382Z] shade==1.27.2 [2020-09-30T06:41:24.382Z] simplejson==3.17.2 [2020-09-30T06:41:24.382Z] six==1.14.0 [2020-09-30T06:41:24.382Z] soupsieve==2.0 [2020-09-30T06:41:24.382Z] stevedore==3.2.2 [2020-09-30T06:41:24.382Z] tabulate==0.8.6 [2020-09-30T06:41:24.382Z] toml==0.10.0 [2020-09-30T06:41:24.382Z] tox==3.20.0 [2020-09-30T06:41:24.382Z] tqdm==4.43.0 [2020-09-30T06:41:24.382Z] typing-extensions==3.7.4.3 [2020-09-30T06:41:24.382Z] urllib3==1.25.8 [2020-09-30T06:41:24.382Z] virtualenv==20.0.31 [2020-09-30T06:41:24.382Z] wcwidth==0.2.5 [2020-09-30T06:41:24.382Z] websocket-client==0.57.0 [2020-09-30T06:41:24.382Z] wrapt==1.12.1 [2020-09-30T06:41:24.382Z] xdg==3.0.2 [2020-09-30T06:41:24.382Z] xmltodict==0.12.0 [2020-09-30T06:41:24.382Z] yarl==1.6.0 [2020-09-30T06:41:24.382Z] yq==2.11.1 [2020-09-30T06:41:24.382Z] zipp==3.2.0 [2020-09-30T06:41:24.382Z] Cache entry deserialization failed, entry ignored [2020-09-30T06:41:24.382Z] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [2020-09-30T06:41:24.382Z] Python 2.7.5 [2020-09-30T06:41:24.383Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-09-30T06:41:24.383Z] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [2020-09-30T06:41:24.383Z] ansible==2.9.7 [2020-09-30T06:41:24.383Z] Babel==0.9.6 [2020-09-30T06:41:24.383Z] backports.ssl-match-hostname==3.5.0.1 [2020-09-30T06:41:24.383Z] beautifulsoup4==4.4.1 [2020-09-30T06:41:24.383Z] bodhi==2.11.0 [2020-09-30T06:41:24.383Z] bodhi-client==2.11.0 [2020-09-30T06:41:24.383Z] CCColUtils==1.4 [2020-09-30T06:41:24.383Z] cffi==1.6.0 [2020-09-30T06:41:24.383Z] chardet==2.2.1 [2020-09-30T06:41:24.383Z] click==6.7 [2020-09-30T06:41:24.383Z] cloud-init==18.5 [2020-09-30T06:41:24.383Z] configobj==4.7.2 [2020-09-30T06:41:24.383Z] cryptography==1.7.2 [2020-09-30T06:41:24.383Z] decorator==3.4.0 [2020-09-30T06:41:24.383Z] distro==1.2.0 [2020-09-30T06:41:24.383Z] enum34==1.0.4 [2020-09-30T06:41:24.383Z] fedpkg==1.38 [2020-09-30T06:41:24.383Z] futures==3.1.1 [2020-09-30T06:41:24.383Z] gitdb==0.6.4 [2020-09-30T06:41:24.383Z] GitPython==1.0.1 [2020-09-30T06:41:24.383Z] html5lib==0.999 [2020-09-30T06:41:24.383Z] httplib2==0.9.2 [2020-09-30T06:41:24.383Z] idna==2.4 [2020-09-30T06:41:24.383Z] iniparse==0.4 [2020-09-30T06:41:24.383Z] ipaddress==1.0.16 [2020-09-30T06:41:24.383Z] IPy==0.75 [2020-09-30T06:41:24.383Z] javapackages==1.0.0 [2020-09-30T06:41:24.383Z] Jinja2==2.7.2 [2020-09-30T06:41:24.383Z] jmespath==0.9.4 [2020-09-30T06:41:24.383Z] jsonpatch==1.2 [2020-09-30T06:41:24.383Z] jsonpointer==1.9 [2020-09-30T06:41:24.383Z] kerberos==1.1 [2020-09-30T06:41:24.383Z] kitchen==1.1.1 [2020-09-30T06:41:24.383Z] langtable==0.0.31 [2020-09-30T06:41:24.383Z] lockfile==0.9.1 [2020-09-30T06:41:24.383Z] lxml==3.2.1 [2020-09-30T06:41:24.383Z] MarkupSafe==0.11 [2020-09-30T06:41:24.383Z] munch==2.0.2 [2020-09-30T06:41:24.383Z] offtrac==0.1.0 [2020-09-30T06:41:24.383Z] openidc-client==0.6.0 [2020-09-30T06:41:24.383Z] packagedb-cli==2.14.1 [2020-09-30T06:41:24.383Z] paramiko==2.1.1 [2020-09-30T06:41:24.383Z] perf==0.1 [2020-09-30T06:41:24.383Z] ply==3.4 [2020-09-30T06:41:24.383Z] policycoreutils-default-encoding==0.1 [2020-09-30T06:41:24.383Z] prettytable==0.7.2 [2020-09-30T06:41:24.383Z] pyasn1==0.1.9 [2020-09-30T06:41:24.383Z] pycparser==2.14 [2020-09-30T06:41:24.383Z] pycurl==7.19.0 [2020-09-30T06:41:24.383Z] pygobject==3.22.0 [2020-09-30T06:41:24.383Z] pygpgme==0.3 [2020-09-30T06:41:24.383Z] pyliblzma==0.5.3 [2020-09-30T06:41:24.383Z] pyOpenSSL==0.13.1 [2020-09-30T06:41:24.383Z] pyparsing==1.5.6 [2020-09-30T06:41:24.383Z] pyserial==2.6 [2020-09-30T06:41:24.383Z] python-augeas==0.5.0 [2020-09-30T06:41:24.383Z] python-bugzilla==2.3.0 [2020-09-30T06:41:24.383Z] python-dateutil==1.5 [2020-09-30T06:41:24.383Z] python-fedora==0.10.0 [2020-09-30T06:41:24.383Z] python-linux-procfs==0.4.9 [2020-09-30T06:41:24.383Z] python-yubico==1.2.3 [2020-09-30T06:41:24.383Z] pyudev==0.15 [2020-09-30T06:41:24.383Z] pyusb==1.0.0b1 [2020-09-30T06:41:24.383Z] pyxattr==0.5.1 [2020-09-30T06:41:24.383Z] PyYAML==3.10 [2020-09-30T06:41:24.383Z] requests==2.6.0 [2020-09-30T06:41:24.383Z] requests-kerberos==0.7.0 [2020-09-30T06:41:24.383Z] rpkg==1.60 [2020-09-30T06:41:24.383Z] schedutils==0.4 [2020-09-30T06:41:24.383Z] seobject==0.1 [2020-09-30T06:41:24.383Z] sepolicy==1.1 [2020-09-30T06:41:24.383Z] six==1.9.0 [2020-09-30T06:41:24.383Z] smmap==0.9.0 [2020-09-30T06:41:24.383Z] urlgrabber==3.10 [2020-09-30T06:41:24.383Z] urllib3==1.10.2 [2020-09-30T06:41:24.383Z] virtualenv==15.1.0 [2020-09-30T06:41:24.383Z] yum-langpacks==0.4.2 [2020-09-30T06:41:24.383Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-09-30T06:41:24.395Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-30T06:41:24.708Z] ---> sudo-logs.sh [2020-09-30T06:41:24.708Z] Archiving 'sudo' log.. [Pipeline] echo [2020-09-30T06:41:24.982Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-30T06:41:25.275Z] ---> job-cost.sh [2020-09-30T06:41:25.276Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-e46L [2020-09-30T06:41:35.312Z] Cache entry deserialization failed, entry ignored [2020-09-30T06:41:35.312Z] Cache entry deserialization failed, entry ignored [2020-09-30T06:41:35.583Z] Cache entry deserialization failed, entry ignored [2020-09-30T06:41:35.583Z] Cache entry deserialization failed, entry ignored [2020-09-30T06:41:35.583Z] Cache entry deserialization failed, entry ignored [2020-09-30T06:41:35.583Z] Cache entry deserialization failed, entry ignored [2020-09-30T06:41:35.583Z] Cache entry deserialization failed, entry ignored [2020-09-30T06:41:35.852Z] Cache entry deserialization failed, entry ignored [2020-09-30T06:41:35.852Z] Cache entry deserialization failed, entry ignored [2020-09-30T06:41:36.121Z] Cache entry deserialization failed, entry ignored [2020-09-30T06:41:36.121Z] Cache entry deserialization failed, entry ignored [2020-09-30T06:41:36.121Z] Cache entry deserialization failed, entry ignored [2020-09-30T06:41:36.387Z] Cache entry deserialization failed, entry ignored [2020-09-30T06:41:41.763Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-09-30T06:42:08.447Z] ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. [2020-09-30T06:42:08.447Z] [2020-09-30T06:42:08.447Z] We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. [2020-09-30T06:42:08.447Z] [2020-09-30T06:42:08.447Z] virtualenv 20.0.31 requires importlib-metadata<2,>=0.12; python_version < "3.8", but you'll have importlib-metadata 2.0.0 which is incompatible. [2020-09-30T06:42:08.447Z] lf-activate-venv(): INFO: Adding /tmp/venv-e46L/bin to PATH [2020-09-30T06:42:08.447Z] INFO: No Stack... [2020-09-30T06:42:08.447Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-09-30T06:42:09.020Z] INFO: Archiving Costs [Pipeline] echo [2020-09-30T06:42:09.037Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-30T06:42:09.415Z] ---> logs-deploy.sh [2020-09-30T06:42:09.415Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/11 [2020-09-30T06:42:09.415Z] INFO: archiving workspace using pattern(s): [2020-09-30T06:42:10.815Z] Archives upload complete. [2020-09-30T06:42:11.076Z] INFO: archiving logs to Nexus