Pull request #582 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708+5d943473fe8cb7b2263b29163a15a9eda06ca963 (2b8f60db2830f3106f929c20b65abf3376495f99) 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-2945 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 > 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 Merging remotes/origin/master commit 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 Merge succeeded, producing bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 Checking out Revision bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 (PR-582) > git config core.sparsecheckout # timeout=10 > git checkout -f bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 # 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 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 # 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-10-02T02:19:09.786Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk aac36b3916e75134e0bc274a629980a5801eb67d # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-02T02:19:10.058Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-02T02:19:10.202Z] ========================================================= [2020-10-02T02:19:10.202Z] EdgeX Global Pipelines Version Info [2020-10-02T02:19:10.202Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-02T02:19:11.707Z] ------------------- [2020-10-02T02:19:11.707Z] stable info: [2020-10-02T02:19:11.707Z] ------------------- [2020-10-02T02:19:11.707Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-02T02:19:11.707Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-02T02:19:11.707Z] Message: update stable to v1.0.131 [2020-10-02T02:19:13.636Z] ------------------- [2020-10-02T02:19:13.636Z] experimental info: [2020-10-02T02:19:13.636Z] ------------------- [2020-10-02T02:19:13.636Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-10-02T02:19:13.636Z] Commit SHA: 037048ec40675a742bbe4f4e63335516fc22ae8d [2020-10-02T02:19:13.636Z] Message: update experimental to v1.0.133 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-02T02:19:14.005Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-02T02:19:14.094Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-02T02:19:14.193Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-02T02:19:14.291Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-02T02:19:14.400Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-02T02:19:14.494Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-02T02:19:14.598Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-02T02:19:14.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-02T02:19:14.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-02T02:19:14.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-02T02:19:15.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-02T02:19:15.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-02T02:19:15.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-02T02:19:15.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-02T02:19:15.899Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-02T02:19:15.988Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-02T02:19:16.076Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-02T02:19:16.171Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-02T02:19:16.261Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-02T02:19:16.377Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-02T02:19:16.470Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-02T02:19:16.560Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-02T02:19:16.659Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-02T02:19:16.756Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-02T02:19:16.863Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-02T02:19:16.960Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo [2020-10-02T02:19:17.079Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo [2020-10-02T02:19:17.196Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo [2020-10-02T02:19:17.386Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 [Pipeline] echo [2020-10-02T02:19:17.469Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bdbfb1d [Pipeline] echo [2020-10-02T02:19:17.557Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-02T02:19:18.153Z] + git log --format=format:%s -1 bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 [Pipeline] echo [2020-10-02T02:19:18.218Z] GIT_COMMIT: bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708, Commit Message: build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0 [Pipeline] echo [2020-10-02T02:19:18.264Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:19:18.846Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-02T02:19:19.109Z] [2020-10-02T02:19:19.109Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:19:19.464Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-02T02:19:19.464Z] latest: Pulling from edgex-devops/git-semver [2020-10-02T02:19:19.464Z] 31603596830f: Pulling fs layer [2020-10-02T02:19:19.464Z] 2a8b12db71e7: Pulling fs layer [2020-10-02T02:19:19.464Z] 6ca5941a6612: Pulling fs layer [2020-10-02T02:19:19.464Z] ecc8261a40a4: Pulling fs layer [2020-10-02T02:19:19.464Z] ecc8261a40a4: Waiting [2020-10-02T02:19:19.464Z] 2a8b12db71e7: Download complete [2020-10-02T02:19:21.393Z] 31603596830f: Verifying Checksum [2020-10-02T02:19:21.393Z] 31603596830f: Download complete [2020-10-02T02:19:21.393Z] 31603596830f: Pull complete [2020-10-02T02:19:21.656Z] 2a8b12db71e7: Pull complete [2020-10-02T02:19:21.918Z] ecc8261a40a4: Verifying Checksum [2020-10-02T02:19:21.918Z] ecc8261a40a4: Download complete [2020-10-02T02:19:25.235Z] 6ca5941a6612: Verifying Checksum [2020-10-02T02:19:25.235Z] 6ca5941a6612: Download complete [2020-10-02T02:19:25.815Z] 6ca5941a6612: Pull complete [2020-10-02T02:19:26.081Z] ecc8261a40a4: Pull complete [2020-10-02T02:19:26.081Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-02T02:19:26.081Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-02T02:19:26.081Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-02T02:19:26.191Z] prd-centos7-docker-4c-2g-2945 does not seem to be running inside a container [2020-10-02T02:19:26.249Z] $ 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-10-02T02:19:28.151Z] $ docker top 2898b0ca6c0a1ce1ac935b30c0533378c3a8dd30f1c2e515ab157844deaebdbf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-02T02:19:28.512Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-02T02:19:28.512Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-02T02:19:28.735Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-02T02:19:28.740Z] $ docker exec 2898b0ca6c0a1ce1ac935b30c0533378c3a8dd30f1c2e515ab157844deaebdbf ssh-agent [2020-10-02T02:19:28.909Z] SSH_AUTH_SOCK=/tmp/ssh-Ob0slIW4jjtg/agent.13 [2020-10-02T02:19:28.909Z] SSH_AGENT_PID=18 [2020-10-02T02:19:28.921Z] Running ssh-add (command line suppressed) [2020-10-02T02:19:29.045Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_4443097593498615176.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_4443097593498615176.key) [2020-10-02T02:19:29.102Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-02T02:19:29.449Z] + git describe --exact-match --tags HEAD [2020-10-02T02:19:29.449Z] fatal: no tag exactly matches 'bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708' [Pipeline] } [2020-10-02T02:19:29.475Z] $ docker exec --env ******** --env ******** 2898b0ca6c0a1ce1ac935b30c0533378c3a8dd30f1c2e515ab157844deaebdbf ssh-agent -k [2020-10-02T02:19:29.587Z] unset SSH_AUTH_SOCK; [2020-10-02T02:19:29.587Z] unset SSH_AGENT_PID; [2020-10-02T02:19:29.587Z] echo Agent pid 18 killed; [2020-10-02T02:19:29.639Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-02T02:19:29.738Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-02T02:19:29.738Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-02T02:19:29.853Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-02T02:19:29.853Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-02T02:19:30.036Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-02T02:19:30.041Z] $ docker exec 2898b0ca6c0a1ce1ac935b30c0533378c3a8dd30f1c2e515ab157844deaebdbf ssh-agent [2020-10-02T02:19:30.206Z] SSH_AUTH_SOCK=/tmp/ssh-tUfW2xsZiDNo/agent.49 [2020-10-02T02:19:30.206Z] SSH_AGENT_PID=54 [2020-10-02T02:19:30.214Z] Running ssh-add (command line suppressed) [2020-10-02T02:19:30.337Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_1759014467466778005.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_1759014467466778005.key) [2020-10-02T02:19:30.388Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-02T02:19:30.725Z] + git semver init [2020-10-02T02:19:30.725Z] # -> Open(): unable to determine branch for HEAD [2020-10-02T02:19:30.725Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git [2020-10-02T02:19:30.725Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-10-02T02:19:30.725Z] # $SEMVER_REMOTE_NAME = origin [2020-10-02T02:19:30.725Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-02T02:19:30.725Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-02T02:19:30.725Z] # $SEMVER_BRANCH = PR-582 [2020-10-02T02:19:30.725Z] # $SEMVER_TEMP = /tmp/semver-862543231 [2020-10-02T02:19:30.725Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-02T02:19:32.130Z] # '/tmp/semver-862543231' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' [2020-10-02T02:19:32.130Z] # -> Force: false [2020-10-02T02:19:32.130Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } [2020-10-02T02:19:32.147Z] $ docker exec --env ******** --env ******** 2898b0ca6c0a1ce1ac935b30c0533378c3a8dd30f1c2e515ab157844deaebdbf ssh-agent -k [2020-10-02T02:19:32.253Z] unset SSH_AUTH_SOCK; [2020-10-02T02:19:32.253Z] unset SSH_AGENT_PID; [2020-10-02T02:19:32.253Z] echo Agent pid 54 killed; [2020-10-02T02:19:32.299Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-02T02:19:32.797Z] + git semver [Pipeline] } [2020-10-02T02:19:32.816Z] $ docker stop --time=1 2898b0ca6c0a1ce1ac935b30c0533378c3a8dd30f1c2e515ab157844deaebdbf [2020-10-02T02:19:34.212Z] $ docker rm -f 2898b0ca6c0a1ce1ac935b30c0533378c3a8dd30f1c2e515ab157844deaebdbf [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-02T02:19:35.360Z] Stashed 40 file(s) [Pipeline] echo [2020-10-02T02:19:35.364Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-02T02:19:35.465Z] 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-02T02:19:50.918Z] Still waiting to schedule task [2020-10-02T02:19:50.919Z] ‘prd-centos7-docker-4c-2g-2939’ is offline; ‘prd-centos7-docker-4c-2g-2942’ is offline; ‘prd-centos7-docker-4c-2g-2943’ is offline; ‘prd-centos7-docker-4c-2g-2944’ is offline; ‘prd-centos7-docker-4c-2g-2948’ is offline; ‘prd-centos7-docker-4c-2g-2949’ is offline [2020-10-02T02:19:50.922Z] Still waiting to schedule task [2020-10-02T02:19:50.922Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2936’ [2020-10-02T02:22:01.455Z] Running on prd-centos7-docker-4c-2g-2951 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws [2020-10-02T02:22:01.523Z] Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout [2020-10-02T02:22:04.169Z] using credential edgex-jenkins-ssh [2020-10-02T02:22:04.243Z] Cloning the remote Git repository [2020-10-02T02:22:04.276Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-02T02:22:04.360Z] > git init /w/workspace/device-sdk-go/13 # timeout=10 [2020-10-02T02:22:04.420Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-02T02:22:04.420Z] > git --version # timeout=10 [2020-10-02T02:22:04.426Z] > git --version # 'git version 2.16.5' [2020-10-02T02:22:04.426Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-02T02:22:04.461Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-02T02:22:07.530Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-02T02:22:07.536Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-02T02:22:07.548Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-02T02:22:07.562Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-02T02:22:07.562Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-02T02:22:07.566Z] > 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-10-02T02:22:07.981Z] Merging remotes/origin/master commit 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 [2020-10-02T02:22:08.078Z] Merge succeeded, producing bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 [2020-10-02T02:22:08.079Z] Checking out Revision bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 (PR-582) [2020-10-02T02:22:07.993Z] > git config core.sparsecheckout # timeout=10 [2020-10-02T02:22:07.999Z] > git checkout -f bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 # timeout=10 [2020-10-02T02:22:08.047Z] > git remote # timeout=10 [2020-10-02T02:22:08.052Z] > git config --get remote.origin.url # timeout=10 [2020-10-02T02:22:08.057Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-02T02:22:08.061Z] > git merge 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 [2020-10-02T02:22:08.073Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-02T02:22:08.084Z] > git config core.sparsecheckout # timeout=10 [2020-10-02T02:22:08.090Z] > git checkout -f bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 # timeout=10 [2020-10-02T02:22:11.720Z] 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-10-02T02:22:13.003Z] ========================================================= [2020-10-02T02:22:13.003Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-02T02:22:13.003Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:22:13.685Z] + 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-02T02:22:13.956Z] Sending build context to Docker daemon 3.419MB [2020-10-02T02:22:14.222Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-02T02:22:14.222Z] Step 2/8 : FROM ${BASE} [2020-10-02T02:22:14.222Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-02T02:22:14.222Z] df20fa9351a1: Pulling fs layer [2020-10-02T02:22:14.222Z] ed8968b2872e: Pulling fs layer [2020-10-02T02:22:14.222Z] a92cc7c5fd73: Pulling fs layer [2020-10-02T02:22:14.222Z] e871e8e8d7a9: Pulling fs layer [2020-10-02T02:22:14.222Z] e73272ec9a57: Pulling fs layer [2020-10-02T02:22:14.222Z] 1e910a182e73: Pulling fs layer [2020-10-02T02:22:14.222Z] 4e634b169226: Pulling fs layer [2020-10-02T02:22:14.222Z] e871e8e8d7a9: Waiting [2020-10-02T02:22:14.222Z] 1e910a182e73: Waiting [2020-10-02T02:22:14.222Z] e73272ec9a57: Waiting [2020-10-02T02:22:14.222Z] 4e634b169226: Waiting [2020-10-02T02:22:14.222Z] a92cc7c5fd73: Verifying Checksum [2020-10-02T02:22:14.222Z] a92cc7c5fd73: Download complete [2020-10-02T02:22:14.487Z] ed8968b2872e: Verifying Checksum [2020-10-02T02:22:15.437Z] e73272ec9a57: Verifying Checksum [2020-10-02T02:22:15.437Z] e73272ec9a57: Download complete [2020-10-02T02:22:15.437Z] 1e910a182e73: Download complete [2020-10-02T02:22:17.374Z] df20fa9351a1: Verifying Checksum [2020-10-02T02:22:17.374Z] df20fa9351a1: Download complete [2020-10-02T02:22:17.641Z] df20fa9351a1: Pull complete [2020-10-02T02:22:17.641Z] ed8968b2872e: Pull complete [2020-10-02T02:22:17.905Z] a92cc7c5fd73: Pull complete [2020-10-02T02:22:44.618Z] 4e634b169226: Verifying Checksum [2020-10-02T02:22:44.618Z] 4e634b169226: Download complete [2020-10-02T02:23:11.273Z] e871e8e8d7a9: Verifying Checksum [2020-10-02T02:23:11.273Z] e871e8e8d7a9: Download complete [2020-10-02T02:23:13.233Z] e871e8e8d7a9: Pull complete [2020-10-02T02:23:13.496Z] e73272ec9a57: Pull complete [2020-10-02T02:23:13.760Z] 1e910a182e73: Pull complete [2020-10-02T02:23:17.095Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2953 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws [2020-10-02T02:23:17.153Z] Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout [2020-10-02T02:23:22.530Z] using credential edgex-jenkins-ssh [2020-10-02T02:23:22.581Z] Cloning the remote Git repository [2020-10-02T02:23:22.638Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-02T02:23:22.769Z] > git init /w/workspace/device-sdk-go/13 # timeout=10 [2020-10-02T02:23:22.865Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-02T02:23:22.866Z] > git --version # timeout=10 [2020-10-02T02:23:22.888Z] > git --version # 'git version 2.17.1' [2020-10-02T02:23:22.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-02T02:23:22.950Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-02T02:23:23.830Z] 4e634b169226: Pull complete [2020-10-02T02:23:24.093Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-02T02:23:24.093Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-02T02:23:24.093Z] ---> f7629b54cfaa [2020-10-02T02:23:24.093Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-02T02:23:24.359Z] ---> Running in 32e1db013911 [2020-10-02T02:23:24.623Z] Removing intermediate container 32e1db013911 [2020-10-02T02:23:24.623Z] ---> e00dbd727641 [2020-10-02T02:23:24.623Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-02T02:23:24.623Z] ---> Running in 46e669da78dc [2020-10-02T02:23:26.558Z] Removing intermediate container 46e669da78dc [2020-10-02T02:23:26.558Z] ---> bde387aedfb2 [2020-10-02T02:23:26.558Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-02T02:23:26.558Z] ---> Running in bb97e44efb81 [2020-10-02T02:23:27.197Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-02T02:23:26.556Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-02T02:23:26.583Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-02T02:23:26.608Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-02T02:23:26.642Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-02T02:23:26.642Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-02T02:23:26.653Z] > 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-10-02T02:23:27.652Z] Merging remotes/origin/master commit 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 [2020-10-02T02:23:27.896Z] Merge succeeded, producing bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 [2020-10-02T02:23:27.896Z] Checking out Revision bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 (PR-582) [2020-10-02T02:23:27.674Z] > git config core.sparsecheckout # timeout=10 [2020-10-02T02:23:27.694Z] > git checkout -f bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 # timeout=10 [2020-10-02T02:23:27.821Z] > git remote # timeout=10 [2020-10-02T02:23:27.835Z] > git config --get remote.origin.url # timeout=10 [2020-10-02T02:23:27.850Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-02T02:23:27.860Z] > git merge 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 [2020-10-02T02:23:27.882Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-02T02:23:27.903Z] > git config core.sparsecheckout # timeout=10 [2020-10-02T02:23:27.910Z] > git checkout -f bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 # timeout=10 [2020-10-02T02:23:32.147Z] 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-10-02T02:23:33.608Z] ========================================================= [2020-10-02T02:23:33.608Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-02T02:23:33.608Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:23:34.777Z] + 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-02T02:23:35.778Z] Sending build context to Docker daemon 3.421MB [2020-10-02T02:23:35.778Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-02T02:23:35.778Z] Step 2/8 : FROM ${BASE} [2020-10-02T02:23:36.073Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-02T02:23:36.073Z] b538f80385f9: Pulling fs layer [2020-10-02T02:23:36.073Z] 74f711af9a0d: Pulling fs layer [2020-10-02T02:23:36.073Z] 99f96fe45779: Pulling fs layer [2020-10-02T02:23:36.073Z] 8529a6b9a6be: Pulling fs layer [2020-10-02T02:23:36.073Z] 45590311c82a: Pulling fs layer [2020-10-02T02:23:36.073Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-02T02:23:36.073Z] 209524e5b208: Pulling fs layer [2020-10-02T02:23:36.073Z] 8529a6b9a6be: Waiting [2020-10-02T02:23:36.073Z] 45590311c82a: Waiting [2020-10-02T02:23:36.073Z] 209524e5b208: Waiting [2020-10-02T02:23:36.073Z] 69ca0ff8b7b3: Waiting [2020-10-02T02:23:36.350Z] 99f96fe45779: Download complete [2020-10-02T02:23:36.350Z] 74f711af9a0d: Verifying Checksum [2020-10-02T02:23:36.350Z] 74f711af9a0d: Download complete [2020-10-02T02:23:36.350Z] 45590311c82a: Download complete [2020-10-02T02:23:36.350Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-02T02:23:36.350Z] 69ca0ff8b7b3: Download complete [2020-10-02T02:23:39.497Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-02T02:23:39.765Z] b538f80385f9: Verifying Checksum [2020-10-02T02:23:39.765Z] b538f80385f9: Download complete [2020-10-02T02:23:40.369Z] b538f80385f9: Pull complete [2020-10-02T02:23:40.977Z] 74f711af9a0d: Pull complete [2020-10-02T02:23:41.255Z] 99f96fe45779: Pull complete [2020-10-02T02:23:51.783Z] OK: 166 MiB in 39 packages [2020-10-02T02:23:51.783Z] Removing intermediate container bb97e44efb81 [2020-10-02T02:23:51.783Z] ---> 7b4418c85367 [2020-10-02T02:23:51.783Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-02T02:23:51.783Z] ---> Running in fdb10c7873bd [2020-10-02T02:23:51.783Z] Removing intermediate container fdb10c7873bd [2020-10-02T02:23:51.783Z] ---> cd6dfb8beb0c [2020-10-02T02:23:51.783Z] Step 7/8 : COPY . . [2020-10-02T02:23:51.783Z] ---> 3f9d44a0b1aa [2020-10-02T02:23:51.783Z] Step 8/8 : RUN go mod download [2020-10-02T02:23:51.783Z] ---> Running in 1b7be27c9278 [2020-10-02T02:24:10.033Z] Removing intermediate container 1b7be27c9278 [2020-10-02T02:24:10.033Z] ---> 57e72b4c0c76 [2020-10-02T02:24:10.033Z] Successfully built 57e72b4c0c76 [2020-10-02T02:24:10.033Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:24:10.559Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-02T02:24:10.559Z] . [Pipeline] withDockerContainer [2020-10-02T02:24:10.782Z] prd-centos7-docker-4c-2g-2951 does not seem to be running inside a container [2020-10-02T02:24:10.838Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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-10-02T02:24:11.634Z] $ docker top 600b561822b29a85f5e305081ef5e8ec82e811d9c42a844e103eecc7d89f584b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-02T02:24:12.121Z] + go version [2020-10-02T02:24:12.121Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-02T02:24:12.138Z] $ docker stop --time=1 600b561822b29a85f5e305081ef5e8ec82e811d9c42a844e103eecc7d89f584b [2020-10-02T02:24:13.491Z] $ docker rm -f 600b561822b29a85f5e305081ef5e8ec82e811d9c42a844e103eecc7d89f584b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:24:14.406Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-02T02:24:14.406Z] . [Pipeline] withDockerContainer [2020-10-02T02:24:14.519Z] prd-centos7-docker-4c-2g-2951 does not seem to be running inside a container [2020-10-02T02:24:14.574Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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-10-02T02:24:15.235Z] $ docker top 18d0729902ad1fb842456a95b189598bb14446729663de2a3b8209852453a493 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-02T02:24:15.753Z] + make test [2020-10-02T02:24:15.753Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-02T02:24:20.298Z] 209524e5b208: Verifying Checksum [2020-10-02T02:24:20.298Z] 209524e5b208: Download complete [2020-10-02T02:24:23.969Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-02T02:24:36.338Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-02T02:24:36.338Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-02T02:24:36.338Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-02T02:24:36.938Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.061s coverage: 21.6% of statements [2020-10-02T02:24:38.894Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.428s coverage: 97.1% of statements [2020-10-02T02:24:47.108Z] 8529a6b9a6be: Verifying Checksum [2020-10-02T02:24:47.109Z] 8529a6b9a6be: Download complete [2020-10-02T02:24:57.345Z] 8529a6b9a6be: Pull complete [2020-10-02T02:24:57.345Z] 45590311c82a: Pull complete [2020-10-02T02:24:57.620Z] 69ca0ff8b7b3: Pull complete [2020-10-02T02:25:01.957Z] 209524e5b208: Pull complete [2020-10-02T02:25:01.957Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-02T02:25:01.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-02T02:25:01.957Z] ---> 5bddaf1c2fca [2020-10-02T02:25:01.957Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-02T02:25:03.946Z] ---> Running in 960efaa70702 [2020-10-02T02:25:04.223Z] Removing intermediate container 960efaa70702 [2020-10-02T02:25:04.223Z] ---> 68bf6750d919 [2020-10-02T02:25:04.223Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-02T02:25:04.501Z] ---> Running in 32fae3e783e5 [2020-10-02T02:25:07.149Z] Removing intermediate container 32fae3e783e5 [2020-10-02T02:25:07.149Z] ---> 79b0e734fad8 [2020-10-02T02:25:07.149Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-02T02:25:07.149Z] ---> Running in bbd626f2ad07 [2020-10-02T02:25:08.595Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-02T02:25:11.109Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.057s coverage: 9.4% of statements [2020-10-02T02:25:11.109Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.077s coverage: 21.9% of statements [2020-10-02T02:25:11.109Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-02T02:25:11.109Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.209s coverage: 39.5% of statements [2020-10-02T02:25:11.109Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-02T02:25:11.109Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.293s coverage: 65.4% of statements [2020-10-02T02:25:11.109Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-02T02:25:11.109Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-02T02:25:11.109Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-02T02:25:11.109Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-02T02:25:11.109Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.064s coverage: 52.6% of statements [2020-10-02T02:25:11.109Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-02T02:25:11.109Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.350s coverage: 68.9% of statements [2020-10-02T02:25:11.109Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-02T02:25:11.109Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-02T02:25:11.109Z] GO111MODULE=on go vet ./... [2020-10-02T02:25:15.292Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-02T02:25:16.518Z] gofmt -l . [2020-10-02T02:25:16.788Z] [ "`gofmt -l .`" = "" ] [2020-10-02T02:25:16.788Z] ./bin/test-attribution-txt.sh [2020-10-02T02:25:17.371Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-02T02:25:18.000Z] Stashed 1 file(s) [Pipeline] } [2020-10-02T02:25:18.010Z] $ docker stop --time=1 18d0729902ad1fb842456a95b189598bb14446729663de2a3b8209852453a493 [2020-10-02T02:25:19.986Z] $ docker rm -f 18d0729902ad1fb842456a95b189598bb14446729663de2a3b8209852453a493 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-02T02:25:22.135Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-02T02:25:22.445Z] + ls -al . [2020-10-02T02:25:22.445Z] total 192 [2020-10-02T02:25:22.445Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 2 02:25 . [2020-10-02T02:25:22.445Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 2 02:22 .. [2020-10-02T02:25:22.445Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 2 02:22 bin [2020-10-02T02:25:22.445Z] -rw-r--r--. 1 jenkins jenkins 111041 Oct 2 02:25 coverage.out [2020-10-02T02:25:22.445Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 2 02:22 Dockerfile.build [2020-10-02T02:25:22.445Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 2 02:22 .dockerignore [2020-10-02T02:25:22.445Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 2 02:22 example [2020-10-02T02:25:22.445Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 2 02:22 .git [2020-10-02T02:25:22.445Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 2 02:22 .github [2020-10-02T02:25:22.445Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 2 02:22 .gitignore [2020-10-02T02:25:22.445Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 2 02:25 go.mod [2020-10-02T02:25:22.445Z] -rw-r--r--. 1 jenkins jenkins 13646 Oct 2 02:25 go.sum [2020-10-02T02:25:22.445Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 2 02:22 internal [2020-10-02T02:25:22.445Z] -rw-rw-r--. 1 jenkins jenkins 785 Oct 2 02:22 Jenkinsfile [2020-10-02T02:25:22.445Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 2 02:22 LICENSE [2020-10-02T02:25:22.445Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 2 02:22 Makefile [2020-10-02T02:25:22.445Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 2 02:22 openapi [2020-10-02T02:25:22.445Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 2 02:22 pkg [2020-10-02T02:25:22.445Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 2 02:22 README.md [2020-10-02T02:25:22.445Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 2 02:22 RELEASE-NOTES.txt [2020-10-02T02:25:22.445Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 2 02:22 .semver [2020-10-02T02:25:22.445Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 2 02:22 snap [2020-10-02T02:25:22.445Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 2 02:19 VERSION [2020-10-02T02:25:22.445Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 2 02:22 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:25:22.766Z] + 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=bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 --label arch=amd64 --label version=0.0.0 . [2020-10-02T02:25:23.030Z] Sending build context to Docker daemon 3.531MB [2020-10-02T02:25:23.030Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-02T02:25:23.030Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-02T02:25:23.030Z] ---> 57e72b4c0c76 [2020-10-02T02:25:23.030Z] Step 3/24 : ARG MAKE='make build' [2020-10-02T02:25:23.607Z] ---> Running in 6fe9c70ecd3c [2020-10-02T02:25:23.873Z] Removing intermediate container 6fe9c70ecd3c [2020-10-02T02:25:23.873Z] ---> e403c6a6aba7 [2020-10-02T02:25:23.873Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-02T02:25:23.873Z] ---> Running in 75743865f262 [2020-10-02T02:25:24.135Z] Removing intermediate container 75743865f262 [2020-10-02T02:25:24.135Z] ---> 302f30338c85 [2020-10-02T02:25:24.135Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-02T02:25:24.135Z] ---> Running in 8c9d4bbda599 [2020-10-02T02:25:24.402Z] Removing intermediate container 8c9d4bbda599 [2020-10-02T02:25:24.402Z] ---> cef4f978e247 [2020-10-02T02:25:24.402Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-02T02:25:24.402Z] ---> Running in 3e7606ef9c93 [2020-10-02T02:25:25.359Z] Removing intermediate container 3e7606ef9c93 [2020-10-02T02:25:25.359Z] ---> f830d4e1b022 [2020-10-02T02:25:25.359Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-02T02:25:25.359Z] ---> Running in 107aca550fec [2020-10-02T02:25:25.957Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-02T02:25:27.662Z] OK: 142 MiB in 39 packages [2020-10-02T02:25:28.259Z] Removing intermediate container bbd626f2ad07 [2020-10-02T02:25:28.259Z] ---> f1b44da7317b [2020-10-02T02:25:28.259Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-02T02:25:28.531Z] ---> Running in fa859f09a92e [2020-10-02T02:25:29.128Z] Removing intermediate container fa859f09a92e [2020-10-02T02:25:29.129Z] ---> e14126547560 [2020-10-02T02:25:29.129Z] Step 7/8 : COPY . . [2020-10-02T02:25:30.202Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-02T02:25:30.571Z] ---> 996d5b43362a [2020-10-02T02:25:30.571Z] Step 8/8 : RUN go mod download [2020-10-02T02:25:30.571Z] ---> Running in 9bfb4a01a29c [2020-10-02T02:25:45.164Z] OK: 166 MiB in 39 packages [2020-10-02T02:25:45.428Z] Removing intermediate container 107aca550fec [2020-10-02T02:25:45.428Z] ---> 365dee5c2e9b [2020-10-02T02:25:45.428Z] Step 8/24 : COPY . . [2020-10-02T02:25:46.377Z] ---> 4076b736defb [2020-10-02T02:25:46.377Z] Step 9/24 : RUN ${MAKE} [2020-10-02T02:25:46.377Z] ---> Running in b519b77a2b77 [2020-10-02T02:25:46.979Z] 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-02T02:25:55.284Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-02T02:25:56.676Z] Removing intermediate container b519b77a2b77 [2020-10-02T02:25:56.676Z] ---> 63c6b65e5214 [2020-10-02T02:25:56.676Z] Step 10/24 : FROM scratch [2020-10-02T02:25:56.676Z] ---> [2020-10-02T02:25:56.676Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-02T02:25:56.676Z] ---> Running in 8cb40e17b099 [2020-10-02T02:25:56.676Z] Removing intermediate container 8cb40e17b099 [2020-10-02T02:25:56.676Z] ---> 12c3e2138940 [2020-10-02T02:25:56.676Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-02T02:25:56.676Z] ---> Running in d0db569cd816 [2020-10-02T02:25:56.938Z] Removing intermediate container d0db569cd816 [2020-10-02T02:25:56.938Z] ---> 418b95e38e9b [2020-10-02T02:25:56.938Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-02T02:25:56.938Z] ---> Running in 26bfcc6e6618 [2020-10-02T02:25:57.200Z] Removing intermediate container 26bfcc6e6618 [2020-10-02T02:25:57.200Z] ---> 4b6164a05929 [2020-10-02T02:25:57.200Z] Step 14/24 : WORKDIR / [2020-10-02T02:25:57.200Z] ---> Running in f58c7a4ba861 [2020-10-02T02:25:57.402Z] Removing intermediate container 9bfb4a01a29c [2020-10-02T02:25:57.402Z] ---> c53721e67f36 [2020-10-02T02:25:57.402Z] Successfully built c53721e67f36 [2020-10-02T02:25:57.402Z] Successfully tagged ci-base-image-arm64:latest [2020-10-02T02:25:57.463Z] Removing intermediate container f58c7a4ba861 [2020-10-02T02:25:57.463Z] ---> a991bbec2ca3 [2020-10-02T02:25:57.463Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:25:57.726Z] ---> b66f52236f6b [2020-10-02T02:25:57.726Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-02T02:25:57.823Z] + docker inspect -f . ci-base-image-arm64 [2020-10-02T02:25:57.823Z] . [Pipeline] withDockerContainer [2020-10-02T02:25:57.987Z] ---> 0e39198cb687 [2020-10-02T02:25:57.988Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-02T02:25:58.061Z] prd-ubuntu18.04-docker-arm64-4c-16g-2953 does not seem to be running inside a container [2020-10-02T02:25:58.142Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-02T02:25:58.250Z] ---> c251c1a0d029 [2020-10-02T02:25:58.250Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-02T02:25:58.512Z] ---> bb75afdd7f01 [2020-10-02T02:25:58.513Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-02T02:25:58.774Z] ---> 0b52eb97c1db [2020-10-02T02:25:58.774Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-02T02:25:58.774Z] ---> Running in be3821f99382 [2020-10-02T02:25:59.037Z] Removing intermediate container be3821f99382 [2020-10-02T02:25:59.037Z] ---> 26b9842f9dde [2020-10-02T02:25:59.037Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-02T02:25:59.037Z] ---> Running in bcbed5258174 [2020-10-02T02:25:59.037Z] Removing intermediate container bcbed5258174 [2020-10-02T02:25:59.037Z] ---> 30ca4882d81a [2020-10-02T02:25:59.037Z] Step 22/24 : LABEL arch=amd64 [2020-10-02T02:25:59.300Z] ---> Running in b3e674fe7a50 [2020-10-02T02:25:59.300Z] Removing intermediate container b3e674fe7a50 [2020-10-02T02:25:59.300Z] ---> 9e1b57e303e1 [2020-10-02T02:25:59.300Z] Step 23/24 : LABEL git_sha=bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 [2020-10-02T02:25:59.565Z] ---> Running in eaa70b1b4a58 [2020-10-02T02:25:59.565Z] Removing intermediate container eaa70b1b4a58 [2020-10-02T02:25:59.565Z] ---> 885b50b6872f [2020-10-02T02:25:59.565Z] Step 24/24 : LABEL version=0.0.0 [2020-10-02T02:25:59.565Z] ---> Running in 92f7aa2cfc6f [2020-10-02T02:25:59.827Z] Removing intermediate container 92f7aa2cfc6f [2020-10-02T02:25:59.827Z] ---> 9749ce346f0c [2020-10-02T02:25:59.827Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-02T02:25:59.827Z] Successfully built 9749ce346f0c [2020-10-02T02:25:59.827Z] Successfully tagged docker-device-sdk-simple:latest [2020-10-02T02:26:00.068Z] $ docker top 3e43821ed186b8e5966b40d4fc1d59415c47a1d29863dc939ee176979a979938 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [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] } [2020-10-02T02:26:01.520Z] + go version [2020-10-02T02:26:01.520Z] go version go1.15.2 linux/arm64 [Pipeline] // ws [Pipeline] } [Pipeline] } [2020-10-02T02:26:01.636Z] $ docker stop --time=1 3e43821ed186b8e5966b40d4fc1d59415c47a1d29863dc939ee176979a979938 [2020-10-02T02:26:03.648Z] $ docker rm -f 3e43821ed186b8e5966b40d4fc1d59415c47a1d29863dc939ee176979a979938 [Pipeline] // node [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:26:04.914Z] + docker inspect -f . ci-base-image-arm64 [2020-10-02T02:26:04.914Z] . [Pipeline] withDockerContainer [2020-10-02T02:26:05.186Z] prd-ubuntu18.04-docker-arm64-4c-16g-2953 does not seem to be running inside a container [2020-10-02T02:26:05.270Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-02T02:26:07.148Z] $ docker top 5e327762b1aede37f2da2b1c141f1aca3431adfce98c57380c007db2a905d635 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-02T02:26:08.632Z] + make test [2020-10-02T02:26:08.632Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-02T02:26:31.051Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-02T02:27:10.157Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-02T02:27:10.157Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-02T02:27:10.157Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-02T02:27:10.157Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.132s coverage: 21.6% of statements [2020-10-02T02:27:11.617Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.265s coverage: 97.1% of statements [2020-10-02T02:27:43.992Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.121s coverage: 9.4% of statements [2020-10-02T02:27:43.992Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.111s coverage: 21.9% of statements [2020-10-02T02:27:43.992Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-02T02:27:43.992Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.532s coverage: 39.5% of statements [2020-10-02T02:27:43.992Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-02T02:27:43.992Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.798s coverage: 65.4% of statements [2020-10-02T02:27:43.992Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-02T02:27:43.992Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-02T02:27:43.992Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-02T02:27:43.992Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-02T02:27:43.992Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.185s coverage: 52.6% of statements [2020-10-02T02:27:43.992Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-02T02:27:43.992Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.617s coverage: 68.9% of statements [2020-10-02T02:27:43.992Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-02T02:27:43.992Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-02T02:27:43.992Z] GO111MODULE=on go vet ./... [2020-10-02T02:28:10.863Z] gofmt -l . [2020-10-02T02:28:10.863Z] [ "`gofmt -l .`" = "" ] [2020-10-02T02:28:10.863Z] ./bin/test-attribution-txt.sh [2020-10-02T02:28:11.460Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-02T02:28:12.079Z] Warning: overwriting stash ‘coverage-report’ [2020-10-02T02:28:12.804Z] Stashed 1 file(s) [Pipeline] } [2020-10-02T02:28:12.806Z] $ docker stop --time=1 5e327762b1aede37f2da2b1c141f1aca3431adfce98c57380c007db2a905d635 [2020-10-02T02:28:14.952Z] $ docker rm -f 5e327762b1aede37f2da2b1c141f1aca3431adfce98c57380c007db2a905d635 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-02T02:28:16.406Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-02T02:28:16.748Z] + ls -al . [2020-10-02T02:28:16.748Z] total 232 [2020-10-02T02:28:16.748Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 2 02:28 . [2020-10-02T02:28:16.748Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:23 .. [2020-10-02T02:28:16.748Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 2 02:23 .dockerignore [2020-10-02T02:28:16.748Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 02:23 .git [2020-10-02T02:28:16.748Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 02:23 .github [2020-10-02T02:28:16.748Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 2 02:23 .gitignore [2020-10-02T02:28:16.748Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 02:23 .semver [2020-10-02T02:28:16.748Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 2 02:23 Dockerfile.build [2020-10-02T02:28:16.748Z] -rw-rw-r-- 1 jenkins jenkins 785 Oct 2 02:23 Jenkinsfile [2020-10-02T02:28:16.748Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 2 02:23 LICENSE [2020-10-02T02:28:16.748Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 2 02:23 Makefile [2020-10-02T02:28:16.748Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 2 02:23 README.md [2020-10-02T02:28:16.748Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 2 02:23 RELEASE-NOTES.txt [2020-10-02T02:28:16.748Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 02:19 VERSION [2020-10-02T02:28:16.748Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 02:23 bin [2020-10-02T02:28:16.748Z] -rw-r--r-- 1 jenkins jenkins 111041 Oct 2 02:27 coverage.out [2020-10-02T02:28:16.748Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:23 example [2020-10-02T02:28:16.748Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 2 02:28 go.mod [2020-10-02T02:28:16.748Z] -rw-r--r-- 1 jenkins jenkins 13646 Oct 2 02:28 go.sum [2020-10-02T02:28:16.748Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 2 02:23 internal [2020-10-02T02:28:16.748Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:23 openapi [2020-10-02T02:28:16.748Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 2 02:23 pkg [2020-10-02T02:28:16.748Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:23 snap [2020-10-02T02:28:16.748Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 2 02:23 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-02T02:28:17.107Z] + 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=bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 --label arch=arm64 --label version=0.0.0 . [2020-10-02T02:28:17.713Z] Sending build context to Docker daemon 3.533MB [2020-10-02T02:28:17.713Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-02T02:28:17.713Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-02T02:28:17.713Z] ---> c53721e67f36 [2020-10-02T02:28:17.713Z] Step 3/24 : ARG MAKE='make build' [2020-10-02T02:28:17.997Z] ---> Running in 084eaf11954a [2020-10-02T02:28:18.599Z] Removing intermediate container 084eaf11954a [2020-10-02T02:28:18.599Z] ---> 46ccd81fea75 [2020-10-02T02:28:18.599Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-02T02:28:18.599Z] ---> Running in 02a313602d40 [2020-10-02T02:28:19.199Z] Removing intermediate container 02a313602d40 [2020-10-02T02:28:19.199Z] ---> 0e927fb9d53c [2020-10-02T02:28:19.199Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-02T02:28:19.199Z] ---> Running in 8505128e522d [2020-10-02T02:28:19.795Z] Removing intermediate container 8505128e522d [2020-10-02T02:28:19.795Z] ---> d1d8169a3d66 [2020-10-02T02:28:19.795Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-02T02:28:19.795Z] ---> Running in 055880b90a02 [2020-10-02T02:28:22.413Z] Removing intermediate container 055880b90a02 [2020-10-02T02:28:22.413Z] ---> a16d08dcbc69 [2020-10-02T02:28:22.413Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-02T02:28:22.413Z] ---> Running in 8ff9cbcaf99f [2020-10-02T02:28:23.845Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-02T02:28:28.133Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-02T02:28:34.826Z] OK: 142 MiB in 39 packages [2020-10-02T02:28:35.422Z] Removing intermediate container 8ff9cbcaf99f [2020-10-02T02:28:35.422Z] ---> c47be0ddcd69 [2020-10-02T02:28:35.422Z] Step 8/24 : COPY . . [2020-10-02T02:28:36.852Z] ---> d7b4702c0c24 [2020-10-02T02:28:36.852Z] Step 9/24 : RUN ${MAKE} [2020-10-02T02:28:37.126Z] ---> Running in 662abe85eccb [2020-10-02T02:28:38.569Z] 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-02T02:29:05.415Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-02T02:29:05.415Z] Removing intermediate container 662abe85eccb [2020-10-02T02:29:05.415Z] ---> f9cdb150d286 [2020-10-02T02:29:05.415Z] Step 10/24 : FROM scratch [2020-10-02T02:29:05.415Z] ---> [2020-10-02T02:29:05.415Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-02T02:29:05.415Z] ---> Running in c887fda94b83 [2020-10-02T02:29:05.415Z] Removing intermediate container c887fda94b83 [2020-10-02T02:29:05.415Z] ---> 3f9b0eee1271 [2020-10-02T02:29:05.415Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-02T02:29:05.415Z] ---> Running in 3aba26cefd9e [2020-10-02T02:29:06.010Z] Removing intermediate container 3aba26cefd9e [2020-10-02T02:29:06.010Z] ---> 24a59f66434e [2020-10-02T02:29:06.010Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-02T02:29:06.010Z] ---> Running in 2e709b827805 [2020-10-02T02:29:06.609Z] Removing intermediate container 2e709b827805 [2020-10-02T02:29:06.609Z] ---> bb5ab6b7beb7 [2020-10-02T02:29:06.609Z] Step 14/24 : WORKDIR / [2020-10-02T02:29:06.609Z] ---> Running in c44668ab36b2 [2020-10-02T02:29:06.888Z] Removing intermediate container c44668ab36b2 [2020-10-02T02:29:06.888Z] ---> 6c630ef1570f [2020-10-02T02:29:06.888Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-02T02:29:08.318Z] ---> 8ea23e207d7b [2020-10-02T02:29:08.318Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-02T02:29:08.915Z] ---> aefbb10346b6 [2020-10-02T02:29:08.915Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-02T02:29:09.893Z] ---> 6d62a7584aed [2020-10-02T02:29:09.893Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-02T02:29:10.487Z] ---> bb3537e8a862 [2020-10-02T02:29:10.487Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-02T02:29:11.086Z] ---> 811531f4e05b [2020-10-02T02:29:11.086Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-02T02:29:11.365Z] ---> Running in 6e8d693806ce [2020-10-02T02:29:11.965Z] Removing intermediate container 6e8d693806ce [2020-10-02T02:29:11.965Z] ---> fa0babae08d9 [2020-10-02T02:29:11.965Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-02T02:29:11.965Z] ---> Running in 09c06c96d967 [2020-10-02T02:29:12.562Z] Removing intermediate container 09c06c96d967 [2020-10-02T02:29:12.562Z] ---> 2ea4be0a8c9d [2020-10-02T02:29:12.562Z] Step 22/24 : LABEL arch=arm64 [2020-10-02T02:29:12.562Z] ---> Running in b799e338966e [2020-10-02T02:29:13.159Z] Removing intermediate container b799e338966e [2020-10-02T02:29:13.159Z] ---> 14de86e05021 [2020-10-02T02:29:13.159Z] Step 23/24 : LABEL git_sha=bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 [2020-10-02T02:29:13.159Z] ---> Running in f7e8772a3b24 [2020-10-02T02:29:13.756Z] Removing intermediate container f7e8772a3b24 [2020-10-02T02:29:13.756Z] ---> 92a176919e13 [2020-10-02T02:29:13.756Z] Step 24/24 : LABEL version=0.0.0 [2020-10-02T02:29:13.756Z] ---> Running in f012a6e90a4b [2020-10-02T02:29:14.352Z] Removing intermediate container f012a6e90a4b [2020-10-02T02:29:14.352Z] ---> 4eecf629da54 [2020-10-02T02:29:14.352Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-02T02:29:14.352Z] Successfully built 4eecf629da54 [2020-10-02T02:29:14.352Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-10-02T02:29:17.080Z] provisioning config files... [2020-10-02T02:29:17.093Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config3084805990430324287tmp [Pipeline] { [Pipeline] sh [2020-10-02T02:29:17.484Z] + set +x [2020-10-02T02:29:17.485Z] + bash -s -- [2020-10-02T02:29:17.485Z] + curl -s https://codecov.io/bash [2020-10-02T02:29:17.748Z] [2020-10-02T02:29:17.748Z] _____ _ [2020-10-02T02:29:17.748Z] / ____| | | [2020-10-02T02:29:17.748Z] | | ___ __| | ___ ___ _____ __ [2020-10-02T02:29:17.748Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-02T02:29:17.748Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-02T02:29:17.748Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-02T02:29:17.748Z] Bash-20200917-4e8f14b [2020-10-02T02:29:17.748Z] [2020-10-02T02:29:17.748Z] [2020-10-02T02:29:17.748Z] ==> Jenkins CI detected. [2020-10-02T02:29:17.748Z] project root: . [2020-10-02T02:29:17.748Z] --> token set from env [2020-10-02T02:29:17.748Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-02T02:29:17.748Z] ==> Running gcov in . (disable via -X gcov) [2020-10-02T02:29:17.748Z] ==> Python coveragepy not found [2020-10-02T02:29:17.748Z] ==> Searching for coverage reports in: [2020-10-02T02:29:17.748Z] + . [2020-10-02T02:29:17.748Z] -> Found 1 reports [2020-10-02T02:29:17.748Z] ==> Detecting git/mercurial file structure [2020-10-02T02:29:17.748Z] ==> Reading reports [2020-10-02T02:29:17.748Z] + ./coverage.out bytes=111041 [2020-10-02T02:29:17.748Z] ==> Appending adjustments [2020-10-02T02:29:17.748Z] https://docs.codecov.io/docs/fixing-reports [2020-10-02T02:29:18.324Z] + Found adjustments [2020-10-02T02:29:18.324Z] ==> Gzipping contents [2020-10-02T02:29:18.324Z] ==> Uploading reports [2020-10-02T02:29:18.324Z] url: https://codecov.io [2020-10-02T02:29:18.324Z] query: branch=PR-582&commit=bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= [2020-10-02T02:29:18.324Z] -> Pinging Codecov [2020-10-02T02:29:18.324Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-582&commit=bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= [2020-10-02T02:29:23.631Z] -> Uploading to [2020-10-02T02:29:23.631Z] https://storage.googleapis.com/codecov/v4/raw/2020-10-02/7E55EF52A471D76F132DFD9A03CDDE97/bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708/7bd0bf86-bbac-4e87-9f00-3cf9179d0d4b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201002%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201002T022922Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=da5246b898dc2ca9ba31fbb2512768a08bce0cb569782e1f5ee8728347bfe6d4 [2020-10-02T02:29:23.631Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-02T02:29:23.631Z] Dload Upload Total Spent Left Speed [2020-10-02T02:29:23.631Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18370 0 0 100 18370 0 41163 --:--:-- --:--:-- --:--:-- 41188 [2020-10-02T02:29:23.631Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 [Pipeline] } [2020-10-02T02:29:23.641Z] 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-02T02:29:28.358Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-02T02:29:28.670Z] ---> package-listing.sh [2020-10-02T02:29:28.670Z] ++ facter osfamily [2020-10-02T02:29:28.670Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-02T02:29:28.670Z] + OS_FAMILY=redhat [2020-10-02T02:29:28.670Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-10-02T02:29:28.670Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-02T02:29:28.670Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-02T02:29:28.670Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-02T02:29:28.670Z] + PACKAGES=/tmp/packages_start.txt [2020-10-02T02:29:28.670Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-10-02T02:29:28.670Z] + PACKAGES=/tmp/packages_end.txt [2020-10-02T02:29:28.670Z] + case "${OS_FAMILY}" in [2020-10-02T02:29:28.670Z] + rpm -qa [2020-10-02T02:29:28.670Z] + sort [2020-10-02T02:29:32.907Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-02T02:29:32.907Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-02T02:29:32.907Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-02T02:29:32.907Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-10-02T02:29:32.907Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [2020-10-02T02:29:32.907Z] + 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-10-02T02:29:33.368Z] provisioning config files... [2020-10-02T02:29:33.384Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config8462345881206085972tmp [Pipeline] { [Pipeline] echo [2020-10-02T02:29:33.462Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-02T02:29:33.796Z] ---> create-netrc.sh [Pipeline] } [2020-10-02T02:29:33.807Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-02T02:29:33.899Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-02T02:29:34.205Z] ---> python-tools-install.sh [2020-10-02T02:29:34.205Z] Generating Requirements File [2020-10-02T02:30:55.770Z] Python 3.6.8 [2020-10-02T02:30:55.770Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-02T02:30:55.770Z] aiohttp==3.6.2 [2020-10-02T02:30:55.770Z] appdirs==1.4.3 [2020-10-02T02:30:55.770Z] argcomplete==1.12.1 [2020-10-02T02:30:55.770Z] aspy.yaml==1.3.0 [2020-10-02T02:30:55.770Z] async-timeout==3.0.1 [2020-10-02T02:30:55.770Z] attrs==19.3.0 [2020-10-02T02:30:55.770Z] Babel==2.8.0 [2020-10-02T02:30:55.770Z] beautifulsoup4==4.8.2 [2020-10-02T02:30:55.770Z] boto3==1.11.6 [2020-10-02T02:30:55.770Z] botocore==1.14.6 [2020-10-02T02:30:55.770Z] bs4==0.0.1 [2020-10-02T02:30:55.770Z] cachetools==4.1.1 [2020-10-02T02:30:55.770Z] certifi==2019.11.28 [2020-10-02T02:30:55.770Z] cffi==1.14.3 [2020-10-02T02:30:55.770Z] cfgv==2.0.1 [2020-10-02T02:30:55.770Z] chardet==3.0.4 [2020-10-02T02:30:55.770Z] click==7.1 [2020-10-02T02:30:55.770Z] cliff==3.4.0 [2020-10-02T02:30:55.770Z] cmd2==1.3.11 [2020-10-02T02:30:55.770Z] colorama==0.4.3 [2020-10-02T02:30:55.770Z] cryptography==3.1.1 [2020-10-02T02:30:55.770Z] debtcollector==2.2.0 [2020-10-02T02:30:55.770Z] decorator==4.4.2 [2020-10-02T02:30:55.770Z] defusedxml==0.6.0 [2020-10-02T02:30:55.770Z] Deprecated==1.2.7 [2020-10-02T02:30:55.770Z] distlib==0.3.1 [2020-10-02T02:30:55.770Z] distro==1.2.0 [2020-10-02T02:30:55.770Z] dnspython==1.16.0 [2020-10-02T02:30:55.770Z] docker==4.2.0 [2020-10-02T02:30:55.770Z] docutils==0.15.2 [2020-10-02T02:30:55.770Z] dogpile.cache==1.0.2 [2020-10-02T02:30:55.770Z] email-validator==1.0.5 [2020-10-02T02:30:55.770Z] filelock==3.0.12 [2020-10-02T02:30:55.770Z] future==0.18.2 [2020-10-02T02:30:55.770Z] google-auth==1.22.0 [2020-10-02T02:30:55.770Z] httplib2==0.17.0 [2020-10-02T02:30:55.770Z] identify==1.4.11 [2020-10-02T02:30:55.770Z] idna==2.9 [2020-10-02T02:30:55.770Z] idna-ssl==1.1.0 [2020-10-02T02:30:55.770Z] importlib-metadata==1.7.0 [2020-10-02T02:30:55.770Z] importlib-resources==1.5.0 [2020-10-02T02:30:55.770Z] iso8601==0.1.13 [2020-10-02T02:30:55.770Z] Jinja2==2.11.1 [2020-10-02T02:30:55.770Z] jmespath==0.10.0 [2020-10-02T02:30:55.770Z] jsonpatch==1.26 [2020-10-02T02:30:55.770Z] jsonpointer==2.0 [2020-10-02T02:30:55.770Z] jsonschema==3.2.0 [2020-10-02T02:30:55.770Z] keystoneauth1==4.2.1 [2020-10-02T02:30:55.770Z] kubernetes==11.0.0 [2020-10-02T02:30:55.770Z] lftools==0.34.2 [2020-10-02T02:30:55.770Z] lxml==4.5.0 [2020-10-02T02:30:55.770Z] MarkupSafe==0.23 [2020-10-02T02:30:55.770Z] msgpack==1.0.0 [2020-10-02T02:30:55.770Z] multi-key-dict==2.0.3 [2020-10-02T02:30:55.770Z] multidict==4.7.6 [2020-10-02T02:30:55.770Z] munch==2.5.0 [2020-10-02T02:30:55.770Z] netaddr==0.8.0 [2020-10-02T02:30:55.770Z] netifaces==0.10.9 [2020-10-02T02:30:55.770Z] niet==1.4.2 [2020-10-02T02:30:55.770Z] nodeenv==1.3.5 [2020-10-02T02:30:55.770Z] oauth2client==4.1.3 [2020-10-02T02:30:55.770Z] oauthlib==3.1.0 [2020-10-02T02:30:55.770Z] openstacksdk==0.50.0 [2020-10-02T02:30:55.770Z] os-client-config==2.1.0 [2020-10-02T02:30:55.770Z] os-service-types==1.7.0 [2020-10-02T02:30:55.770Z] osc-lib==2.2.1 [2020-10-02T02:30:55.770Z] oslo.config==8.3.2 [2020-10-02T02:30:55.770Z] oslo.context==3.1.1 [2020-10-02T02:30:55.770Z] oslo.i18n==5.0.1 [2020-10-02T02:30:55.770Z] oslo.log==4.4.0 [2020-10-02T02:30:55.770Z] oslo.serialization==4.0.1 [2020-10-02T02:30:55.770Z] oslo.utils==4.6.0 [2020-10-02T02:30:55.770Z] packaging==20.4 [2020-10-02T02:30:55.770Z] pbr==5.4.4 [2020-10-02T02:30:55.770Z] pluggy==0.13.1 [2020-10-02T02:30:55.770Z] prettytable==0.7.2 [2020-10-02T02:30:55.770Z] py==1.9.0 [2020-10-02T02:30:55.770Z] pyasn1==0.4.8 [2020-10-02T02:30:55.770Z] pyasn1-modules==0.2.8 [2020-10-02T02:30:55.770Z] pycparser==2.20 [2020-10-02T02:30:55.770Z] pygerrit2==2.0.10 [2020-10-02T02:30:55.770Z] PyGithub==1.46 [2020-10-02T02:30:55.770Z] pyinotify==0.9.6 [2020-10-02T02:30:55.770Z] PyJWT==1.7.1 [2020-10-02T02:30:55.770Z] pyparsing==2.4.7 [2020-10-02T02:30:55.770Z] pyperclip==1.8.0 [2020-10-02T02:30:55.770Z] pyroute2==0.4.13 [2020-10-02T02:30:55.770Z] pyrsistent==0.15.7 [2020-10-02T02:30:55.770Z] PySocks==1.6.8 [2020-10-02T02:30:55.770Z] python-cinderclient==7.2.0 [2020-10-02T02:30:55.770Z] python-dateutil==2.8.1 [2020-10-02T02:30:55.770Z] python-heatclient==2.2.1 [2020-10-02T02:30:55.770Z] python-jenkins==1.7.0 [2020-10-02T02:30:55.770Z] python-keystoneclient==4.1.1 [2020-10-02T02:30:55.770Z] python-magnumclient==3.2.1 [2020-10-02T02:30:55.770Z] python-novaclient==17.2.1 [2020-10-02T02:30:55.770Z] python-openstackclient==5.3.1 [2020-10-02T02:30:55.770Z] python-swiftclient==3.10.1 [2020-10-02T02:30:55.770Z] pytz==2020.1 [2020-10-02T02:30:55.770Z] PyYAML==5.3 [2020-10-02T02:30:55.770Z] requests==2.23.0 [2020-10-02T02:30:55.770Z] requests-oauthlib==1.3.0 [2020-10-02T02:30:55.770Z] requestsexceptions==1.4.0 [2020-10-02T02:30:55.770Z] rfc3986==1.4.0 [2020-10-02T02:30:55.770Z] rpm==4.11.3 [2020-10-02T02:30:55.770Z] rsa==4.0 [2020-10-02T02:30:55.770Z] ruamel.yaml==0.16.10 [2020-10-02T02:30:55.770Z] ruamel.yaml.clib==0.2.0 [2020-10-02T02:30:55.770Z] s3transfer==0.3.3 [2020-10-02T02:30:55.770Z] shade==1.27.2 [2020-10-02T02:30:55.770Z] simplejson==3.17.2 [2020-10-02T02:30:55.770Z] six==1.14.0 [2020-10-02T02:30:55.770Z] soupsieve==2.0 [2020-10-02T02:30:55.770Z] stevedore==3.2.2 [2020-10-02T02:30:55.770Z] tabulate==0.8.6 [2020-10-02T02:30:55.770Z] toml==0.10.0 [2020-10-02T02:30:55.770Z] tox==3.20.0 [2020-10-02T02:30:55.770Z] tqdm==4.43.0 [2020-10-02T02:30:55.770Z] typing-extensions==3.7.4.3 [2020-10-02T02:30:55.770Z] urllib3==1.25.8 [2020-10-02T02:30:55.770Z] virtualenv==20.0.32 [2020-10-02T02:30:55.770Z] wcwidth==0.2.5 [2020-10-02T02:30:55.770Z] websocket-client==0.57.0 [2020-10-02T02:30:55.770Z] wrapt==1.12.1 [2020-10-02T02:30:55.770Z] xdg==3.0.2 [2020-10-02T02:30:55.770Z] xmltodict==0.12.0 [2020-10-02T02:30:55.770Z] yarl==1.6.0 [2020-10-02T02:30:55.770Z] yq==2.11.1 [2020-10-02T02:30:55.770Z] zipp==3.2.0 [2020-10-02T02:30:55.770Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:30:56.348Z] 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-02T02:30:59.666Z] Python 2.7.5 [2020-10-02T02:30:59.666Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-02T02:30:59.928Z] 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-02T02:30:59.928Z] ansible==2.9.7 [2020-10-02T02:30:59.928Z] Babel==0.9.6 [2020-10-02T02:30:59.928Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-02T02:30:59.928Z] beautifulsoup4==4.4.1 [2020-10-02T02:30:59.928Z] bodhi==2.11.0 [2020-10-02T02:30:59.929Z] bodhi-client==2.11.0 [2020-10-02T02:30:59.929Z] CCColUtils==1.4 [2020-10-02T02:30:59.929Z] cffi==1.6.0 [2020-10-02T02:30:59.929Z] chardet==2.2.1 [2020-10-02T02:30:59.929Z] click==6.7 [2020-10-02T02:30:59.929Z] cloud-init==18.5 [2020-10-02T02:30:59.929Z] configobj==4.7.2 [2020-10-02T02:30:59.929Z] cryptography==1.7.2 [2020-10-02T02:30:59.929Z] decorator==3.4.0 [2020-10-02T02:30:59.929Z] distro==1.2.0 [2020-10-02T02:30:59.929Z] enum34==1.0.4 [2020-10-02T02:30:59.929Z] fedpkg==1.38 [2020-10-02T02:30:59.929Z] futures==3.1.1 [2020-10-02T02:30:59.929Z] gitdb==0.6.4 [2020-10-02T02:30:59.929Z] GitPython==1.0.1 [2020-10-02T02:30:59.929Z] html5lib==0.999 [2020-10-02T02:30:59.929Z] httplib2==0.9.2 [2020-10-02T02:30:59.929Z] idna==2.4 [2020-10-02T02:30:59.929Z] iniparse==0.4 [2020-10-02T02:30:59.929Z] ipaddress==1.0.16 [2020-10-02T02:30:59.929Z] IPy==0.75 [2020-10-02T02:30:59.929Z] javapackages==1.0.0 [2020-10-02T02:30:59.929Z] Jinja2==2.7.2 [2020-10-02T02:30:59.929Z] jmespath==0.9.4 [2020-10-02T02:30:59.929Z] jsonpatch==1.2 [2020-10-02T02:30:59.929Z] jsonpointer==1.9 [2020-10-02T02:30:59.929Z] kerberos==1.1 [2020-10-02T02:30:59.929Z] kitchen==1.1.1 [2020-10-02T02:30:59.929Z] langtable==0.0.31 [2020-10-02T02:30:59.929Z] lockfile==0.9.1 [2020-10-02T02:30:59.929Z] lxml==3.2.1 [2020-10-02T02:30:59.929Z] MarkupSafe==0.11 [2020-10-02T02:30:59.929Z] munch==2.0.2 [2020-10-02T02:30:59.929Z] offtrac==0.1.0 [2020-10-02T02:30:59.929Z] openidc-client==0.6.0 [2020-10-02T02:30:59.929Z] packagedb-cli==2.14.1 [2020-10-02T02:30:59.929Z] paramiko==2.1.1 [2020-10-02T02:30:59.929Z] perf==0.1 [2020-10-02T02:30:59.929Z] ply==3.4 [2020-10-02T02:30:59.929Z] policycoreutils-default-encoding==0.1 [2020-10-02T02:30:59.929Z] prettytable==0.7.2 [2020-10-02T02:30:59.929Z] pyasn1==0.1.9 [2020-10-02T02:30:59.929Z] pycparser==2.14 [2020-10-02T02:30:59.929Z] pycurl==7.19.0 [2020-10-02T02:30:59.929Z] pygobject==3.22.0 [2020-10-02T02:30:59.929Z] pygpgme==0.3 [2020-10-02T02:30:59.929Z] pyliblzma==0.5.3 [2020-10-02T02:30:59.929Z] pyOpenSSL==0.13.1 [2020-10-02T02:30:59.929Z] pyparsing==1.5.6 [2020-10-02T02:30:59.929Z] pyserial==2.6 [2020-10-02T02:30:59.929Z] python-augeas==0.5.0 [2020-10-02T02:30:59.929Z] python-bugzilla==2.3.0 [2020-10-02T02:30:59.929Z] python-dateutil==1.5 [2020-10-02T02:30:59.929Z] python-fedora==0.10.0 [2020-10-02T02:30:59.929Z] python-linux-procfs==0.4.9 [2020-10-02T02:30:59.929Z] python-yubico==1.2.3 [2020-10-02T02:30:59.929Z] pyudev==0.15 [2020-10-02T02:30:59.929Z] pyusb==1.0.0b1 [2020-10-02T02:30:59.929Z] pyxattr==0.5.1 [2020-10-02T02:30:59.929Z] PyYAML==3.10 [2020-10-02T02:30:59.929Z] requests==2.6.0 [2020-10-02T02:30:59.929Z] requests-kerberos==0.7.0 [2020-10-02T02:30:59.929Z] rpkg==1.60 [2020-10-02T02:30:59.929Z] schedutils==0.4 [2020-10-02T02:30:59.929Z] seobject==0.1 [2020-10-02T02:30:59.929Z] sepolicy==1.1 [2020-10-02T02:30:59.929Z] six==1.9.0 [2020-10-02T02:30:59.929Z] smmap==0.9.0 [2020-10-02T02:30:59.929Z] urlgrabber==3.10 [2020-10-02T02:30:59.929Z] urllib3==1.10.2 [2020-10-02T02:30:59.929Z] virtualenv==15.1.0 [2020-10-02T02:30:59.929Z] yum-langpacks==0.4.2 [2020-10-02T02:30:59.929Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-02T02:31:00.206Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-02T02:31:00.514Z] ---> sudo-logs.sh [2020-10-02T02:31:00.514Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-02T02:31:00.787Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-02T02:31:01.083Z] ---> job-cost.sh [2020-10-02T02:31:01.083Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ViA3 [2020-10-02T02:31:09.253Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:31:09.515Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:31:11.444Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:31:11.444Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:31:11.444Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:31:11.708Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:31:11.708Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:31:11.970Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:31:11.970Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:31:12.233Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:31:12.233Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:31:12.233Z] Cache entry deserialization failed, entry ignored [2020-10-02T02:31:15.558Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-02T02:31:47.741Z] lf-activate-venv(): INFO: Adding /tmp/venv-ViA3/bin to PATH [2020-10-02T02:31:47.741Z] INFO: No Stack... [2020-10-02T02:31:47.741Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-02T02:31:47.741Z] INFO: Archiving Costs [Pipeline] echo [2020-10-02T02:31:47.756Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-02T02:31:48.055Z] ---> logs-deploy.sh [2020-10-02T02:31:48.055Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/13 [2020-10-02T02:31:48.055Z] INFO: archiving workspace using pattern(s): [2020-10-02T02:31:49.460Z] Archives upload complete. [2020-10-02T02:31:49.723Z] INFO: archiving logs to Nexus