Pull request #619 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 553a225e623c154610a2c28b52e31f212a4e8705+153a43e7e060228c1df4c616c423a5b384e52518 (9b027b2fdcca331a3b2cebcace7d753c68a23dc5) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-4793 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-619 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit 553a225e623c154610a2c28b52e31f212a4e8705 Merge succeeded, producing 553a225e623c154610a2c28b52e31f212a4e8705 Checking out Revision 553a225e623c154610a2c28b52e31f212a4e8705 (PR-619) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 553a225e623c154610a2c28b52e31f212a4e8705 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 553a225e623c154610a2c28b52e31f212a4e8705 # timeout=10 Commit message: "refactor(sdk): add correlationID in debug message" > git rev-list --no-walk 5170f4a47c3c9327a8778b26b4877b346eedd69c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-12T10:24:12.845Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-12T10:24:13.145Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-12T10:24:13.259Z] ========================================================= [2020-10-12T10:24:13.259Z] EdgeX Global Pipelines Version Info [2020-10-12T10:24:13.259Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-12T10:24:15.761Z] ------------------- [2020-10-12T10:24:15.761Z] stable info: [2020-10-12T10:24:15.761Z] ------------------- [2020-10-12T10:24:15.761Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-12T10:24:15.761Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-12T10:24:15.761Z] Message: update stable to v1.0.131 [2020-10-12T10:24:16.338Z] ------------------- [2020-10-12T10:24:16.338Z] experimental info: [2020-10-12T10:24:16.338Z] ------------------- [2020-10-12T10:24:16.338Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-12T10:24:16.338Z] Commit SHA: 2e6d42a532571151575c80d72899821df0f9b0af [2020-10-12T10:24:16.338Z] Message: update experimental to v1.0.135 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-12T10:24:16.723Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-12T10:24:16.839Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-12T10:24:16.958Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-12T10:24:17.056Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-12T10:24:17.176Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-12T10:24:17.289Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-12T10:24:17.413Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-12T10:24:17.530Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-12T10:24:17.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-12T10:24:17.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-12T10:24:17.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-12T10:24:18.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-12T10:24:18.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-12T10:24:18.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-12T10:24:18.425Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-12T10:24:18.542Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T10:24:18.674Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T10:24:18.801Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T10:24:18.902Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-12T10:24:19.005Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-12T10:24:19.116Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-12T10:24:19.207Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-12T10:24:19.312Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-12T10:24:19.411Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-12T10:24:19.522Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-12T10:24:19.629Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-619 [Pipeline] echo [2020-10-12T10:24:19.738Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-619 [Pipeline] echo [2020-10-12T10:24:19.842Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-619 [Pipeline] echo [2020-10-12T10:24:19.947Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 553a225e623c154610a2c28b52e31f212a4e8705 [Pipeline] echo [2020-10-12T10:24:20.057Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 553a225 [Pipeline] echo [2020-10-12T10:24:20.187Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-12T10:24:21.106Z] + git log --format=format:%s -1 553a225e623c154610a2c28b52e31f212a4e8705 [Pipeline] echo [2020-10-12T10:24:21.171Z] GIT_COMMIT: 553a225e623c154610a2c28b52e31f212a4e8705, Commit Message: refactor(sdk): add correlationID in debug message [Pipeline] echo [2020-10-12T10:24:21.251Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-12T10:24:22.054Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T10:24:22.316Z] [2020-10-12T10:24:22.316Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T10:24:22.673Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T10:24:22.673Z] latest: Pulling from edgex-devops/git-semver [2020-10-12T10:24:22.673Z] 31603596830f: Pulling fs layer [2020-10-12T10:24:22.673Z] 2a8b12db71e7: Pulling fs layer [2020-10-12T10:24:22.673Z] 6ca5941a6612: Pulling fs layer [2020-10-12T10:24:22.673Z] ecc8261a40a4: Pulling fs layer [2020-10-12T10:24:22.673Z] ecc8261a40a4: Waiting [2020-10-12T10:24:22.673Z] 2a8b12db71e7: Verifying Checksum [2020-10-12T10:24:22.673Z] 2a8b12db71e7: Download complete [2020-10-12T10:24:22.939Z] 31603596830f: Verifying Checksum [2020-10-12T10:24:22.939Z] 31603596830f: Download complete [2020-10-12T10:24:22.939Z] ecc8261a40a4: Verifying Checksum [2020-10-12T10:24:22.939Z] ecc8261a40a4: Download complete [2020-10-12T10:24:23.201Z] 6ca5941a6612: Verifying Checksum [2020-10-12T10:24:23.201Z] 6ca5941a6612: Download complete [2020-10-12T10:24:23.201Z] 31603596830f: Pull complete [2020-10-12T10:24:23.464Z] 2a8b12db71e7: Pull complete [2020-10-12T10:24:24.426Z] 6ca5941a6612: Pull complete [2020-10-12T10:24:24.426Z] ecc8261a40a4: Pull complete [2020-10-12T10:24:24.426Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-12T10:24:24.426Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T10:24:24.426Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-12T10:24:24.534Z] prd-centos7-docker-4c-2g-4793 does not seem to be running inside a container [2020-10-12T10:24:24.588Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-619 -v /w/workspace/dgexfoundry_device-sdk-go_PR-619:/w/workspace/dgexfoundry_device-sdk-go_PR-619:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-12T10:24:26.601Z] $ docker top 01d9b0e8dfb2f396bc9d8a60f2cfd6586008ebb13e013ec7081bac239e42b751 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-12T10:24:26.986Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-12T10:24:26.986Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-12T10:24:27.280Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-12T10:24:27.286Z] $ docker exec 01d9b0e8dfb2f396bc9d8a60f2cfd6586008ebb13e013ec7081bac239e42b751 ssh-agent [2020-10-12T10:24:27.487Z] SSH_AUTH_SOCK=/tmp/ssh-jt49EpHQ2Rx4/agent.13 [2020-10-12T10:24:27.487Z] SSH_AGENT_PID=18 [2020-10-12T10:24:27.499Z] Running ssh-add (command line suppressed) [2020-10-12T10:24:27.624Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_3065182674403255540.key (/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_3065182674403255540.key) [2020-10-12T10:24:27.681Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-12T10:24:28.049Z] + git describe --exact-match --tags HEAD [2020-10-12T10:24:28.049Z] fatal: no tag exactly matches '553a225e623c154610a2c28b52e31f212a4e8705' [Pipeline] } [2020-10-12T10:24:28.073Z] $ docker exec --env ******** --env ******** 01d9b0e8dfb2f396bc9d8a60f2cfd6586008ebb13e013ec7081bac239e42b751 ssh-agent -k [2020-10-12T10:24:28.190Z] unset SSH_AUTH_SOCK; [2020-10-12T10:24:28.190Z] unset SSH_AGENT_PID; [2020-10-12T10:24:28.190Z] echo Agent pid 18 killed; [2020-10-12T10:24:28.233Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-12T10:24:28.319Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-12T10:24:28.319Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-12T10:24:28.421Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-12T10:24:28.421Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-12T10:24:28.601Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-12T10:24:28.606Z] $ docker exec 01d9b0e8dfb2f396bc9d8a60f2cfd6586008ebb13e013ec7081bac239e42b751 ssh-agent [2020-10-12T10:24:28.778Z] SSH_AUTH_SOCK=/tmp/ssh-czkeRtewmcqB/agent.46 [2020-10-12T10:24:28.778Z] SSH_AGENT_PID=51 [2020-10-12T10:24:28.784Z] Running ssh-add (command line suppressed) [2020-10-12T10:24:28.918Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_7476002873122779711.key (/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_7476002873122779711.key) [2020-10-12T10:24:28.970Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-12T10:24:29.309Z] + git semver init [2020-10-12T10:24:29.309Z] # -> Open(): unable to determine branch for HEAD [2020-10-12T10:24:29.309Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-619/.git [2020-10-12T10:24:29.309Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-619 [2020-10-12T10:24:29.309Z] # $SEMVER_REMOTE_NAME = origin [2020-10-12T10:24:29.309Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-12T10:24:29.309Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-12T10:24:29.309Z] # $SEMVER_BRANCH = PR-619 [2020-10-12T10:24:29.309Z] # $SEMVER_TEMP = /tmp/semver-227103244 [2020-10-12T10:24:29.309Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-12T10:24:29.892Z] # '/tmp/semver-227103244' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-619/.semver' [2020-10-12T10:24:29.892Z] # -> Force: false [2020-10-12T10:24:29.892Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-619/.semver [Pipeline] } [2020-10-12T10:24:29.905Z] $ docker exec --env ******** --env ******** 01d9b0e8dfb2f396bc9d8a60f2cfd6586008ebb13e013ec7081bac239e42b751 ssh-agent -k [2020-10-12T10:24:30.027Z] unset SSH_AUTH_SOCK; [2020-10-12T10:24:30.027Z] unset SSH_AGENT_PID; [2020-10-12T10:24:30.027Z] echo Agent pid 51 killed; [2020-10-12T10:24:30.077Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-12T10:24:30.558Z] + git semver [Pipeline] } [2020-10-12T10:24:30.578Z] $ docker stop --time=1 01d9b0e8dfb2f396bc9d8a60f2cfd6586008ebb13e013ec7081bac239e42b751 [2020-10-12T10:24:31.960Z] $ docker rm -f 01d9b0e8dfb2f396bc9d8a60f2cfd6586008ebb13e013ec7081bac239e42b751 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-12T10:24:32.864Z] Stashed 48 file(s) [Pipeline] echo [2020-10-12T10:24:32.867Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-12T10:24:32.961Z] 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-12T10:24:48.467Z] Still waiting to schedule task [2020-10-12T10:24:48.467Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-12T10:24:48.470Z] Still waiting to schedule task [2020-10-12T10:24:48.470Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline [2020-10-12T10:26:49.431Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4794 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] ws [2020-10-12T10:26:49.495Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2020-10-12T10:26:54.520Z] using credential edgex-jenkins-ssh [2020-10-12T10:26:54.585Z] Cloning the remote Git repository [2020-10-12T10:26:54.638Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T10:26:54.739Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2020-10-12T10:26:54.807Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T10:26:54.808Z] > git --version # timeout=10 [2020-10-12T10:26:54.833Z] > git --version # 'git version 2.17.1' [2020-10-12T10:26:54.834Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T10:26:54.885Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T10:26:55.884Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T10:26:56.575Z] Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit 553a225e623c154610a2c28b52e31f212a4e8705 [2020-10-12T10:26:56.796Z] Merge succeeded, producing 553a225e623c154610a2c28b52e31f212a4e8705 [2020-10-12T10:26:56.796Z] Checking out Revision 553a225e623c154610a2c28b52e31f212a4e8705 (PR-619) [2020-10-12T10:26:55.917Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T10:26:55.946Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T10:26:55.980Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T10:26:55.980Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T10:26:55.997Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-12T10:26:56.597Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T10:26:56.617Z] > git checkout -f 553a225e623c154610a2c28b52e31f212a4e8705 # timeout=10 [2020-10-12T10:26:56.726Z] > git remote # timeout=10 [2020-10-12T10:26:56.742Z] > git config --get remote.origin.url # timeout=10 [2020-10-12T10:26:56.755Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T10:26:56.766Z] > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 [2020-10-12T10:26:56.787Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-12T10:26:56.807Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T10:26:56.818Z] > git checkout -f 553a225e623c154610a2c28b52e31f212a4e8705 # timeout=10 [2020-10-12T10:27:01.423Z] Commit message: "refactor(sdk): add correlationID in debug message" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-12T10:27:02.991Z] ========================================================= [2020-10-12T10:27:02.991Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-12T10:27:02.991Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-12T10:27:04.144Z] + 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-12T10:27:05.132Z] Sending build context to Docker daemon 3.701MB [2020-10-12T10:27:05.132Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-12T10:27:05.132Z] Step 2/8 : FROM ${BASE} [2020-10-12T10:27:05.406Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-12T10:27:05.406Z] b538f80385f9: Pulling fs layer [2020-10-12T10:27:05.406Z] 74f711af9a0d: Pulling fs layer [2020-10-12T10:27:05.406Z] 99f96fe45779: Pulling fs layer [2020-10-12T10:27:05.406Z] 8529a6b9a6be: Pulling fs layer [2020-10-12T10:27:05.406Z] 45590311c82a: Pulling fs layer [2020-10-12T10:27:05.406Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-12T10:27:05.406Z] 209524e5b208: Pulling fs layer [2020-10-12T10:27:05.406Z] 45590311c82a: Waiting [2020-10-12T10:27:05.406Z] 69ca0ff8b7b3: Waiting [2020-10-12T10:27:05.406Z] 8529a6b9a6be: Waiting [2020-10-12T10:27:05.406Z] 209524e5b208: Waiting [2020-10-12T10:27:05.681Z] 99f96fe45779: Verifying Checksum [2020-10-12T10:27:05.681Z] 99f96fe45779: Download complete [2020-10-12T10:27:05.681Z] 74f711af9a0d: Verifying Checksum [2020-10-12T10:27:05.681Z] 74f711af9a0d: Download complete [2020-10-12T10:27:05.681Z] 45590311c82a: Verifying Checksum [2020-10-12T10:27:05.681Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-12T10:27:05.957Z] b538f80385f9: Download complete [2020-10-12T10:27:06.565Z] b538f80385f9: Pull complete [2020-10-12T10:27:07.168Z] 74f711af9a0d: Pull complete [2020-10-12T10:27:07.443Z] 99f96fe45779: Pull complete [2020-10-12T10:27:09.426Z] 209524e5b208: Verifying Checksum [2020-10-12T10:27:09.426Z] 209524e5b208: Download complete [2020-10-12T10:27:09.426Z] 8529a6b9a6be: Verifying Checksum [2020-10-12T10:27:09.426Z] 8529a6b9a6be: Download complete [2020-10-12T10:27:21.839Z] 8529a6b9a6be: Pull complete [2020-10-12T10:27:21.839Z] 45590311c82a: Pull complete [2020-10-12T10:27:21.839Z] 69ca0ff8b7b3: Pull complete [2020-10-12T10:27:24.479Z] 209524e5b208: Pull complete [2020-10-12T10:27:24.479Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-12T10:27:24.479Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-12T10:27:24.479Z] ---> 5bddaf1c2fca [2020-10-12T10:27:24.479Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T10:27:27.133Z] ---> Running in e8c8eddf6101 [2020-10-12T10:27:27.408Z] Removing intermediate container e8c8eddf6101 [2020-10-12T10:27:27.408Z] ---> ad39b64d47af [2020-10-12T10:27:27.408Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T10:27:27.680Z] ---> Running in 0eb8b9cb51b9 [2020-10-12T10:27:30.317Z] Removing intermediate container 0eb8b9cb51b9 [2020-10-12T10:27:30.317Z] ---> 62f1af632968 [2020-10-12T10:27:30.317Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-12T10:27:30.317Z] ---> Running in 269898dadb29 [2020-10-12T10:27:31.767Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-12T10:27:32.751Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-12T10:27:33.347Z] OK: 142 MiB in 39 packages [2020-10-12T10:27:34.345Z] Removing intermediate container 269898dadb29 [2020-10-12T10:27:34.345Z] ---> 81239f7d49c7 [2020-10-12T10:27:34.345Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-12T10:27:34.630Z] ---> Running in c3c798e27c04 [2020-10-12T10:27:35.238Z] Removing intermediate container c3c798e27c04 [2020-10-12T10:27:35.239Z] ---> 62d13842de89 [2020-10-12T10:27:35.239Z] Step 7/8 : COPY . . [2020-10-12T10:27:36.687Z] ---> 43b31e325c22 [2020-10-12T10:27:36.687Z] Step 8/8 : RUN go mod download [2020-10-12T10:27:36.963Z] ---> Running in 952216a76c72 [2020-10-12T10:27:38.334Z] Running on prd-centos7-docker-4c-2g-4795 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] ws [2020-10-12T10:27:38.398Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2020-10-12T10:27:40.781Z] using credential edgex-jenkins-ssh [2020-10-12T10:27:40.838Z] Cloning the remote Git repository [2020-10-12T10:27:40.867Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T10:27:40.932Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2020-10-12T10:27:40.982Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T10:27:40.982Z] > git --version # timeout=10 [2020-10-12T10:27:40.990Z] > git --version # 'git version 2.16.5' [2020-10-12T10:27:40.991Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T10:27:41.013Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T10:27:41.710Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T10:27:41.723Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T10:27:41.738Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T10:27:41.753Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T10:27:41.754Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T10:27:41.760Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-12T10:27:42.257Z] Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit 553a225e623c154610a2c28b52e31f212a4e8705 [2020-10-12T10:27:42.351Z] Merge succeeded, producing 553a225e623c154610a2c28b52e31f212a4e8705 [2020-10-12T10:27:42.351Z] Checking out Revision 553a225e623c154610a2c28b52e31f212a4e8705 (PR-619) [2020-10-12T10:27:42.268Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T10:27:42.276Z] > git checkout -f 553a225e623c154610a2c28b52e31f212a4e8705 # timeout=10 [2020-10-12T10:27:42.322Z] > git remote # timeout=10 [2020-10-12T10:27:42.329Z] > git config --get remote.origin.url # timeout=10 [2020-10-12T10:27:42.334Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T10:27:42.338Z] > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 [2020-10-12T10:27:42.346Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-12T10:27:42.356Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T10:27:42.363Z] > git checkout -f 553a225e623c154610a2c28b52e31f212a4e8705 # timeout=10 [2020-10-12T10:27:46.041Z] Commit message: "refactor(sdk): add correlationID in debug message" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-12T10:27:46.910Z] ========================================================= [2020-10-12T10:27:46.910Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-12T10:27:46.910Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-12T10:27:47.606Z] + 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-12T10:27:47.869Z] Sending build context to Docker daemon 3.701MB [2020-10-12T10:27:47.869Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-12T10:27:47.869Z] Step 2/8 : FROM ${BASE} [2020-10-12T10:27:48.136Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-12T10:27:48.136Z] df20fa9351a1: Pulling fs layer [2020-10-12T10:27:48.136Z] ed8968b2872e: Pulling fs layer [2020-10-12T10:27:48.136Z] a92cc7c5fd73: Pulling fs layer [2020-10-12T10:27:48.136Z] e871e8e8d7a9: Pulling fs layer [2020-10-12T10:27:48.136Z] e73272ec9a57: Pulling fs layer [2020-10-12T10:27:48.136Z] 1e910a182e73: Pulling fs layer [2020-10-12T10:27:48.136Z] 4e634b169226: Pulling fs layer [2020-10-12T10:27:48.136Z] e73272ec9a57: Waiting [2020-10-12T10:27:48.136Z] 4e634b169226: Waiting [2020-10-12T10:27:48.136Z] e871e8e8d7a9: Waiting [2020-10-12T10:27:48.136Z] 1e910a182e73: Waiting [2020-10-12T10:27:48.136Z] a92cc7c5fd73: Verifying Checksum [2020-10-12T10:27:48.136Z] a92cc7c5fd73: Download complete [2020-10-12T10:27:48.136Z] ed8968b2872e: Verifying Checksum [2020-10-12T10:27:48.136Z] ed8968b2872e: Download complete [2020-10-12T10:27:48.136Z] e73272ec9a57: Verifying Checksum [2020-10-12T10:27:48.136Z] e73272ec9a57: Download complete [2020-10-12T10:27:48.136Z] df20fa9351a1: Verifying Checksum [2020-10-12T10:27:48.136Z] df20fa9351a1: Download complete [2020-10-12T10:27:48.136Z] 1e910a182e73: Verifying Checksum [2020-10-12T10:27:48.136Z] 1e910a182e73: Download complete [2020-10-12T10:27:48.402Z] df20fa9351a1: Pull complete [2020-10-12T10:27:48.663Z] ed8968b2872e: Pull complete [2020-10-12T10:27:48.663Z] a92cc7c5fd73: Pull complete [2020-10-12T10:27:50.059Z] 4e634b169226: Verifying Checksum [2020-10-12T10:27:50.059Z] 4e634b169226: Download complete [2020-10-12T10:27:50.644Z] e871e8e8d7a9: Verifying Checksum [2020-10-12T10:27:50.644Z] e871e8e8d7a9: Download complete [2020-10-12T10:27:55.965Z] e871e8e8d7a9: Pull complete [2020-10-12T10:27:55.965Z] e73272ec9a57: Pull complete [2020-10-12T10:27:55.965Z] 1e910a182e73: Pull complete [2020-10-12T10:27:59.167Z] Removing intermediate container 952216a76c72 [2020-10-12T10:27:59.167Z] ---> b8bae952ba36 [2020-10-12T10:27:59.167Z] Successfully built b8bae952ba36 [2020-10-12T10:27:59.167Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T10:27:59.578Z] + docker inspect -f . ci-base-image-arm64 [2020-10-12T10:27:59.578Z] . [Pipeline] withDockerContainer [2020-10-12T10:27:59.854Z] prd-ubuntu18.04-docker-arm64-4c-16g-4794 does not seem to be running inside a container [2020-10-12T10:27:59.943Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-12T10:28:01.918Z] $ docker top c8344cfce447ed8612a352590772fcf52e2ca2f3e829310c3c66f8a41e139f25 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T10:28:03.349Z] + go version [2020-10-12T10:28:03.349Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-12T10:28:03.375Z] $ docker stop --time=1 c8344cfce447ed8612a352590772fcf52e2ca2f3e829310c3c66f8a41e139f25 [2020-10-12T10:28:04.133Z] 4e634b169226: Pull complete [2020-10-12T10:28:04.133Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-12T10:28:04.133Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-12T10:28:04.133Z] ---> f7629b54cfaa [2020-10-12T10:28:04.133Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T10:28:04.133Z] ---> Running in f7079ec64e7d [2020-10-12T10:28:04.133Z] Removing intermediate container f7079ec64e7d [2020-10-12T10:28:04.133Z] ---> c3918cb37302 [2020-10-12T10:28:04.133Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T10:28:04.133Z] ---> Running in d67b05d93795 [2020-10-12T10:28:04.729Z] Removing intermediate container d67b05d93795 [2020-10-12T10:28:04.729Z] ---> 14bbc87bd480 [2020-10-12T10:28:04.729Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-12T10:28:04.729Z] ---> Running in 56a49d91673c [2020-10-12T10:28:05.306Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-12T10:28:05.410Z] $ docker rm -f c8344cfce447ed8612a352590772fcf52e2ca2f3e829310c3c66f8a41e139f25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-12T10:28:06.465Z] + docker inspect -f . ci-base-image-arm64 [2020-10-12T10:28:06.466Z] . [Pipeline] withDockerContainer [2020-10-12T10:28:06.700Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-12T10:28:06.740Z] prd-ubuntu18.04-docker-arm64-4c-16g-4794 does not seem to be running inside a container [2020-10-12T10:28:06.829Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-12T10:28:06.961Z] OK: 166 MiB in 39 packages [2020-10-12T10:28:07.223Z] Removing intermediate container 56a49d91673c [2020-10-12T10:28:07.223Z] ---> be951ceb68b7 [2020-10-12T10:28:07.223Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-12T10:28:07.488Z] ---> Running in 980184d480b3 [2020-10-12T10:28:07.488Z] Removing intermediate container 980184d480b3 [2020-10-12T10:28:07.488Z] ---> 9e9af7f6d428 [2020-10-12T10:28:07.488Z] Step 7/8 : COPY . . [2020-10-12T10:28:08.775Z] $ docker top e5d0caf46df7f0a9f64dd4cee4ec714f0dfa8cd96bd8fe822d2dbc856167fa5d -eo pid,comm [2020-10-12T10:28:08.881Z] ---> 3e5cc0baf8c8 [2020-10-12T10:28:08.881Z] Step 8/8 : RUN go mod download [2020-10-12T10:28:08.881Z] ---> Running in 570fca3572ce [Pipeline] { [Pipeline] sh [2020-10-12T10:28:10.199Z] + make test [2020-10-12T10:28:10.199Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-12T10:28:27.051Z] Removing intermediate container 570fca3572ce [2020-10-12T10:28:27.051Z] ---> af7f738dab83 [2020-10-12T10:28:27.051Z] Successfully built af7f738dab83 [2020-10-12T10:28:27.318Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T10:28:27.794Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-12T10:28:27.795Z] . [Pipeline] withDockerContainer [2020-10-12T10:28:27.898Z] prd-centos7-docker-4c-2g-4795 does not seem to be running inside a container [2020-10-12T10:28:27.945Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-12T10:28:28.642Z] $ docker top 3d4aa61a88815e641fae929e285c1ea1ec182516fec21c71d68874ccdc5e2412 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T10:28:29.125Z] + go version [2020-10-12T10:28:29.125Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-12T10:28:29.143Z] $ docker stop --time=1 3d4aa61a88815e641fae929e285c1ea1ec182516fec21c71d68874ccdc5e2412 [2020-10-12T10:28:30.476Z] $ docker rm -f 3d4aa61a88815e641fae929e285c1ea1ec182516fec21c71d68874ccdc5e2412 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-12T10:28:31.388Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-12T10:28:31.388Z] . [Pipeline] withDockerContainer [2020-10-12T10:28:31.488Z] prd-centos7-docker-4c-2g-4795 does not seem to be running inside a container [2020-10-12T10:28:31.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-12T10:28:32.421Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-12T10:28:32.735Z] $ docker top 7f5f56bddc045032296f54767170387ad803909c313c23d1a1f3940e25563d81 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T10:28:33.232Z] + make test [2020-10-12T10:28:33.232Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-12T10:28:39.865Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-12T10:28:54.888Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-12T10:28:54.888Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-12T10:28:54.888Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-12T10:28:54.888Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.072s coverage: 21.6% of statements [2020-10-12T10:28:55.150Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.426s coverage: 97.1% of statements [2020-10-12T10:29:11.464Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-12T10:29:11.464Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-12T10:29:11.464Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-12T10:29:11.464Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.144s coverage: 21.6% of statements [2020-10-12T10:29:14.109Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.149s coverage: 97.1% of statements [2020-10-12T10:29:27.301Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.063s coverage: 9.4% of statements [2020-10-12T10:29:27.301Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.050s coverage: 21.9% of statements [2020-10-12T10:29:27.301Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-12T10:29:27.301Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.209s coverage: 40.8% of statements [2020-10-12T10:29:27.301Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-12T10:29:27.301Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.270s coverage: 68.9% of statements [2020-10-12T10:29:27.301Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-12T10:29:27.301Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-12T10:29:27.301Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-12T10:29:27.301Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-12T10:29:27.301Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.067s coverage: 52.6% of statements [2020-10-12T10:29:27.301Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-12T10:29:27.301Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-12T10:29:27.301Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.255s coverage: 68.9% of statements [2020-10-12T10:29:27.301Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-12T10:29:27.301Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-12T10:29:27.301Z] GO111MODULE=on go vet ./... [2020-10-12T10:29:32.661Z] gofmt -l . [2020-10-12T10:29:32.661Z] [ "`gofmt -l .`" = "" ] [2020-10-12T10:29:32.923Z] ./bin/test-attribution-txt.sh [2020-10-12T10:29:33.497Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-12T10:29:34.196Z] Stashed 1 file(s) [Pipeline] } [2020-10-12T10:29:34.205Z] $ docker stop --time=1 7f5f56bddc045032296f54767170387ad803909c313c23d1a1f3940e25563d81 [2020-10-12T10:29:36.073Z] $ docker rm -f 7f5f56bddc045032296f54767170387ad803909c313c23d1a1f3940e25563d81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-12T10:29:39.151Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-12T10:29:39.454Z] + ls -al . [2020-10-12T10:29:39.454Z] total 188 [2020-10-12T10:29:39.454Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 12 10:29 . [2020-10-12T10:29:39.454Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 12 10:27 .. [2020-10-12T10:29:39.454Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 12 10:27 bin [2020-10-12T10:29:39.454Z] -rw-r--r--. 1 jenkins jenkins 110396 Oct 12 10:29 coverage.out [2020-10-12T10:29:39.454Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 12 10:27 Dockerfile.build [2020-10-12T10:29:39.454Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 12 10:27 .dockerignore [2020-10-12T10:29:39.454Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 12 10:27 example [2020-10-12T10:29:39.454Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 12 10:27 .git [2020-10-12T10:29:39.454Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 12 10:27 .github [2020-10-12T10:29:39.454Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 12 10:27 .gitignore [2020-10-12T10:29:39.454Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 12 10:29 go.mod [2020-10-12T10:29:39.454Z] -rw-r--r--. 1 jenkins jenkins 13652 Oct 12 10:29 go.sum [2020-10-12T10:29:39.454Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 12 10:27 internal [2020-10-12T10:29:39.454Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 12 10:27 Jenkinsfile [2020-10-12T10:29:39.454Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 12 10:27 LICENSE [2020-10-12T10:29:39.454Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 12 10:27 Makefile [2020-10-12T10:29:39.454Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 12 10:27 openapi [2020-10-12T10:29:39.454Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 12 10:27 pkg [2020-10-12T10:29:39.454Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 12 10:27 README.md [2020-10-12T10:29:39.454Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 12 10:27 RELEASE-NOTES.txt [2020-10-12T10:29:39.454Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 12 10:27 .semver [2020-10-12T10:29:39.454Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 12 10:27 snap [2020-10-12T10:29:39.454Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 12 10:24 VERSION [2020-10-12T10:29:39.454Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 12 10:27 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-12T10:29:39.758Z] + 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=553a225e623c154610a2c28b52e31f212a4e8705 --label arch=amd64 --label version=0.0.0 . [2020-10-12T10:29:40.020Z] Sending build context to Docker daemon 3.812MB [2020-10-12T10:29:40.020Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-12T10:29:40.020Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-12T10:29:40.020Z] ---> af7f738dab83 [2020-10-12T10:29:40.020Z] Step 3/24 : ARG MAKE='make build' [2020-10-12T10:29:40.593Z] ---> Running in 2b1f933e5d22 [2020-10-12T10:29:40.855Z] Removing intermediate container 2b1f933e5d22 [2020-10-12T10:29:40.855Z] ---> 4e4219e98fd7 [2020-10-12T10:29:40.855Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-12T10:29:40.855Z] ---> Running in edf46f5d0091 [2020-10-12T10:29:41.117Z] Removing intermediate container edf46f5d0091 [2020-10-12T10:29:41.117Z] ---> 6fff5088dbbd [2020-10-12T10:29:41.117Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T10:29:41.117Z] ---> Running in 9c5c2d39113e [2020-10-12T10:29:41.381Z] Removing intermediate container 9c5c2d39113e [2020-10-12T10:29:41.381Z] ---> 1f1028fedfe6 [2020-10-12T10:29:41.381Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T10:29:41.381Z] ---> Running in 78f0b3047792 [2020-10-12T10:29:42.327Z] Removing intermediate container 78f0b3047792 [2020-10-12T10:29:42.327Z] ---> b8e9f0ecb46c [2020-10-12T10:29:42.327Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-12T10:29:42.327Z] ---> Running in dbe7fb45432d [2020-10-12T10:29:42.589Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-12T10:29:43.533Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-12T10:29:43.795Z] OK: 166 MiB in 39 packages [2020-10-12T10:29:44.375Z] Removing intermediate container dbe7fb45432d [2020-10-12T10:29:44.375Z] ---> 5e6d645acff1 [2020-10-12T10:29:44.375Z] Step 8/24 : COPY . . [2020-10-12T10:29:45.778Z] ---> ae77892cc2c0 [2020-10-12T10:29:45.778Z] Step 9/24 : RUN ${MAKE} [2020-10-12T10:29:45.778Z] ---> Running in 6a052ed84e9f [2020-10-12T10:29:46.045Z] 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-12T10:29:46.493Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.115s coverage: 9.4% of statements [2020-10-12T10:29:46.493Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.147s coverage: 21.9% of statements [2020-10-12T10:29:46.493Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-12T10:29:46.493Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.599s coverage: 40.8% of statements [2020-10-12T10:29:46.493Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-12T10:29:46.493Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.711s coverage: 68.9% of statements [2020-10-12T10:29:46.493Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-12T10:29:46.493Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-12T10:29:46.493Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-12T10:29:46.493Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-12T10:29:46.493Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.174s coverage: 52.6% of statements [2020-10-12T10:29:46.493Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-12T10:29:46.493Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-12T10:29:46.493Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.873s coverage: 68.9% of statements [2020-10-12T10:29:46.493Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-12T10:29:46.493Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-12T10:29:46.493Z] GO111MODULE=on go vet ./... [2020-10-12T10:29:54.290Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-12T10:29:55.681Z] Removing intermediate container 6a052ed84e9f [2020-10-12T10:29:55.681Z] ---> a34bb2b73d19 [2020-10-12T10:29:55.681Z] Step 10/24 : FROM scratch [2020-10-12T10:29:55.681Z] ---> [2020-10-12T10:29:55.681Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T10:29:55.681Z] ---> Running in aaf6a4fad0f6 [2020-10-12T10:29:55.681Z] Removing intermediate container aaf6a4fad0f6 [2020-10-12T10:29:55.681Z] ---> 433881d33357 [2020-10-12T10:29:55.681Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-12T10:29:55.681Z] ---> Running in 2de9a1bd5e63 [2020-10-12T10:29:55.942Z] Removing intermediate container 2de9a1bd5e63 [2020-10-12T10:29:55.942Z] ---> 6f95c5f20b40 [2020-10-12T10:29:55.942Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-12T10:29:55.942Z] ---> Running in 84ab414f3257 [2020-10-12T10:29:55.942Z] Removing intermediate container 84ab414f3257 [2020-10-12T10:29:55.942Z] ---> 925389dbebd0 [2020-10-12T10:29:55.942Z] Step 14/24 : WORKDIR / [2020-10-12T10:29:56.209Z] ---> Running in 580da92a1981 [2020-10-12T10:29:56.209Z] Removing intermediate container 580da92a1981 [2020-10-12T10:29:56.209Z] ---> fbc62c1dee0e [2020-10-12T10:29:56.209Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-12T10:29:56.784Z] ---> 0a362299f10c [2020-10-12T10:29:56.784Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-12T10:29:57.050Z] ---> baad135efa5d [2020-10-12T10:29:57.050Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-12T10:29:57.312Z] ---> b61644ed96a2 [2020-10-12T10:29:57.312Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-12T10:29:57.312Z] ---> 11d96cb35876 [2020-10-12T10:29:57.312Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-12T10:29:57.574Z] ---> 23619d61dc84 [2020-10-12T10:29:57.574Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-12T10:29:57.574Z] ---> Running in f5458c2194c8 [2020-10-12T10:29:57.838Z] Removing intermediate container f5458c2194c8 [2020-10-12T10:29:57.838Z] ---> 169fa5037718 [2020-10-12T10:29:57.838Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-12T10:29:57.838Z] ---> Running in 2263a6a823e3 [2020-10-12T10:29:58.100Z] Removing intermediate container 2263a6a823e3 [2020-10-12T10:29:58.100Z] ---> 5572cb95b8ba [2020-10-12T10:29:58.100Z] Step 22/24 : LABEL arch=amd64 [2020-10-12T10:29:58.100Z] ---> Running in d29d24322244 [2020-10-12T10:29:58.363Z] Removing intermediate container d29d24322244 [2020-10-12T10:29:58.363Z] ---> 5dbe937fa65f [2020-10-12T10:29:58.363Z] Step 23/24 : LABEL git_sha=553a225e623c154610a2c28b52e31f212a4e8705 [2020-10-12T10:29:58.363Z] ---> Running in 3e32b6a19f48 [2020-10-12T10:29:58.626Z] Removing intermediate container 3e32b6a19f48 [2020-10-12T10:29:58.626Z] ---> ff405fd043a3 [2020-10-12T10:29:58.626Z] Step 24/24 : LABEL version=0.0.0 [2020-10-12T10:29:58.626Z] ---> Running in a2ea7d13752c [2020-10-12T10:29:58.626Z] Removing intermediate container a2ea7d13752c [2020-10-12T10:29:58.626Z] ---> 652727a7fe4f [2020-10-12T10:29:58.626Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-12T10:29:58.888Z] Successfully built 652727a7fe4f [2020-10-12T10:29:58.888Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-12T10:30:13.400Z] gofmt -l . [2020-10-12T10:30:13.400Z] [ "`gofmt -l .`" = "" ] [2020-10-12T10:30:13.400Z] ./bin/test-attribution-txt.sh [2020-10-12T10:30:13.400Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-12T10:30:13.423Z] Warning: overwriting stash ‘coverage-report’ [2020-10-12T10:30:14.353Z] Stashed 1 file(s) [Pipeline] } [2020-10-12T10:30:14.364Z] $ docker stop --time=1 e5d0caf46df7f0a9f64dd4cee4ec714f0dfa8cd96bd8fe822d2dbc856167fa5d [2020-10-12T10:30:16.817Z] $ docker rm -f e5d0caf46df7f0a9f64dd4cee4ec714f0dfa8cd96bd8fe822d2dbc856167fa5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-12T10:30:18.352Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-12T10:30:18.727Z] + ls -al . [2020-10-12T10:30:18.727Z] total 228 [2020-10-12T10:30:18.727Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 10:30 . [2020-10-12T10:30:18.727Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 10:26 .. [2020-10-12T10:30:18.727Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 10:26 .dockerignore [2020-10-12T10:30:18.727Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 10:27 .git [2020-10-12T10:30:18.727Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 10:26 .github [2020-10-12T10:30:18.727Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 12 10:26 .gitignore [2020-10-12T10:30:18.727Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 10:27 .semver [2020-10-12T10:30:18.727Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 12 10:26 Dockerfile.build [2020-10-12T10:30:18.727Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 12 10:26 Jenkinsfile [2020-10-12T10:30:18.727Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 10:26 LICENSE [2020-10-12T10:30:18.727Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 12 10:26 Makefile [2020-10-12T10:30:18.727Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 12 10:26 README.md [2020-10-12T10:30:18.727Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 12 10:26 RELEASE-NOTES.txt [2020-10-12T10:30:18.727Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 10:24 VERSION [2020-10-12T10:30:18.727Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 10:26 bin [2020-10-12T10:30:18.727Z] -rw-r--r-- 1 jenkins jenkins 110396 Oct 12 10:29 coverage.out [2020-10-12T10:30:18.727Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 10:26 example [2020-10-12T10:30:18.727Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 12 10:30 go.mod [2020-10-12T10:30:18.727Z] -rw-r--r-- 1 jenkins jenkins 13652 Oct 12 10:30 go.sum [2020-10-12T10:30:18.727Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 12 10:26 internal [2020-10-12T10:30:18.727Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 10:26 openapi [2020-10-12T10:30:18.727Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 10:26 pkg [2020-10-12T10:30:18.727Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 10:26 snap [2020-10-12T10:30:18.727Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 10:26 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-12T10:30:19.119Z] + 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=553a225e623c154610a2c28b52e31f212a4e8705 --label arch=arm64 --label version=0.0.0 . [2020-10-12T10:30:19.726Z] Sending build context to Docker daemon 3.812MB [2020-10-12T10:30:19.726Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-12T10:30:19.726Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-12T10:30:19.726Z] ---> b8bae952ba36 [2020-10-12T10:30:19.726Z] Step 3/24 : ARG MAKE='make build' [2020-10-12T10:30:19.999Z] ---> Running in 307c620fa35d [2020-10-12T10:30:20.598Z] Removing intermediate container 307c620fa35d [2020-10-12T10:30:20.598Z] ---> 8335967e9497 [2020-10-12T10:30:20.598Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-12T10:30:20.598Z] ---> Running in 140856c935d3 [2020-10-12T10:30:21.191Z] Removing intermediate container 140856c935d3 [2020-10-12T10:30:21.191Z] ---> a4263cd99933 [2020-10-12T10:30:21.191Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T10:30:21.191Z] ---> Running in 2bcdf5157a98 [2020-10-12T10:30:21.464Z] Removing intermediate container 2bcdf5157a98 [2020-10-12T10:30:21.464Z] ---> bf102e96e401 [2020-10-12T10:30:21.464Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T10:30:21.739Z] ---> Running in d1dac0c9b333 [2020-10-12T10:30:24.357Z] Removing intermediate container d1dac0c9b333 [2020-10-12T10:30:24.357Z] ---> 7d379e713108 [2020-10-12T10:30:24.357Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-12T10:30:24.357Z] ---> Running in f9adaacba2e1 [2020-10-12T10:30:25.789Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-12T10:30:26.380Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-12T10:30:26.975Z] OK: 142 MiB in 39 packages [2020-10-12T10:30:28.404Z] Removing intermediate container f9adaacba2e1 [2020-10-12T10:30:28.404Z] ---> 9d7e7e161188 [2020-10-12T10:30:28.404Z] Step 8/24 : COPY . . [2020-10-12T10:30:29.845Z] ---> 4d07e8d4a827 [2020-10-12T10:30:29.845Z] Step 9/24 : RUN ${MAKE} [2020-10-12T10:30:30.118Z] ---> Running in 50b5917a2682 [2020-10-12T10:30:31.550Z] 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-12T10:30:58.388Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-12T10:30:58.388Z] Removing intermediate container 50b5917a2682 [2020-10-12T10:30:58.388Z] ---> bf832baefeef [2020-10-12T10:30:58.388Z] Step 10/24 : FROM scratch [2020-10-12T10:30:58.388Z] ---> [2020-10-12T10:30:58.388Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T10:30:58.388Z] ---> Running in c6ad43702d52 [2020-10-12T10:30:58.388Z] Removing intermediate container c6ad43702d52 [2020-10-12T10:30:58.388Z] ---> 260eb07bbc61 [2020-10-12T10:30:58.388Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-12T10:30:58.388Z] ---> Running in 0ac59a2dd46e [2020-10-12T10:30:59.022Z] Removing intermediate container 0ac59a2dd46e [2020-10-12T10:30:59.022Z] ---> bf186eadcdd1 [2020-10-12T10:30:59.022Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-12T10:30:59.022Z] ---> Running in a8ecad354126 [2020-10-12T10:30:59.295Z] Removing intermediate container a8ecad354126 [2020-10-12T10:30:59.295Z] ---> 0b48d55db49c [2020-10-12T10:30:59.295Z] Step 14/24 : WORKDIR / [2020-10-12T10:30:59.571Z] ---> Running in 47c34e31612e [2020-10-12T10:31:00.167Z] Removing intermediate container 47c34e31612e [2020-10-12T10:31:00.167Z] ---> 3b6b3b110805 [2020-10-12T10:31:00.167Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-12T10:31:01.147Z] ---> 043b9f699be1 [2020-10-12T10:31:01.147Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-12T10:31:02.130Z] ---> 0c4a8d34f1be [2020-10-12T10:31:02.130Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-12T10:31:02.726Z] ---> a15fcaa2cfc0 [2020-10-12T10:31:02.726Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-12T10:31:03.706Z] ---> 2507a7ebd883 [2020-10-12T10:31:03.706Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-12T10:31:04.302Z] ---> efe1c9d46f1b [2020-10-12T10:31:04.303Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-12T10:31:04.303Z] ---> Running in 91c87c7edf01 [2020-10-12T10:31:04.898Z] Removing intermediate container 91c87c7edf01 [2020-10-12T10:31:04.898Z] ---> a4b592cbcf8a [2020-10-12T10:31:04.898Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-12T10:31:04.898Z] ---> Running in 1e73e2bc425c [2020-10-12T10:31:05.493Z] Removing intermediate container 1e73e2bc425c [2020-10-12T10:31:05.493Z] ---> a229a7dcbfd3 [2020-10-12T10:31:05.493Z] Step 22/24 : LABEL arch=arm64 [2020-10-12T10:31:05.493Z] ---> Running in 68042bc061f2 [2020-10-12T10:31:06.104Z] Removing intermediate container 68042bc061f2 [2020-10-12T10:31:06.104Z] ---> b3cbd13228e9 [2020-10-12T10:31:06.104Z] Step 23/24 : LABEL git_sha=553a225e623c154610a2c28b52e31f212a4e8705 [2020-10-12T10:31:06.104Z] ---> Running in ca13f65943c4 [2020-10-12T10:31:06.399Z] Removing intermediate container ca13f65943c4 [2020-10-12T10:31:06.399Z] ---> f2dc7d61b96c [2020-10-12T10:31:06.399Z] Step 24/24 : LABEL version=0.0.0 [2020-10-12T10:31:06.688Z] ---> Running in 0c3898df1f88 [2020-10-12T10:31:07.329Z] Removing intermediate container 0c3898df1f88 [2020-10-12T10:31:07.329Z] ---> bac86790612d [2020-10-12T10:31:07.329Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-12T10:31:07.329Z] Successfully built bac86790612d [2020-10-12T10:31:07.329Z] 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-12T10:31:10.467Z] provisioning config files... [2020-10-12T10:31:10.497Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/config8912480985571426943tmp [Pipeline] { [Pipeline] sh [2020-10-12T10:31:11.078Z] + set +x [2020-10-12T10:31:11.078Z] + curl -s https://codecov.io/bash [2020-10-12T10:31:11.078Z] + bash -s -- [2020-10-12T10:31:11.432Z] [2020-10-12T10:31:11.433Z] _____ _ [2020-10-12T10:31:11.433Z] / ____| | | [2020-10-12T10:31:11.433Z] | | ___ __| | ___ ___ _____ __ [2020-10-12T10:31:11.433Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-12T10:31:11.433Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-12T10:31:11.433Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-12T10:31:11.433Z] Bash-20201009-048fee3 [2020-10-12T10:31:11.433Z] [2020-10-12T10:31:11.433Z] [2020-10-12T10:31:11.433Z] ==> Jenkins CI detected. [2020-10-12T10:31:11.433Z] project root: . [2020-10-12T10:31:11.433Z] --> token set from env [2020-10-12T10:31:11.433Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-12T10:31:11.433Z] ==> Running gcov in . (disable via -X gcov) [2020-10-12T10:31:11.433Z] ==> Python coveragepy not found [2020-10-12T10:31:11.433Z] ==> Searching for coverage reports in: [2020-10-12T10:31:11.433Z] + . [2020-10-12T10:31:11.433Z] -> Found 1 reports [2020-10-12T10:31:11.433Z] ==> Detecting git/mercurial file structure [2020-10-12T10:31:11.433Z] ==> Reading reports [2020-10-12T10:31:11.433Z] + ./coverage.out bytes=110396 [2020-10-12T10:31:11.433Z] ==> Appending adjustments [2020-10-12T10:31:11.433Z] https://docs.codecov.io/docs/fixing-reports [2020-10-12T10:31:11.748Z] + Found adjustments [2020-10-12T10:31:11.748Z] ==> Gzipping contents [2020-10-12T10:31:11.748Z] ==> Uploading reports [2020-10-12T10:31:11.748Z] url: https://codecov.io [2020-10-12T10:31:11.748Z] query: branch=PR-619&commit=553a225e623c154610a2c28b52e31f212a4e8705&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-619%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=619&job=&cmd_args= [2020-10-12T10:31:11.748Z] -> Pinging Codecov [2020-10-12T10:31:11.748Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-619&commit=553a225e623c154610a2c28b52e31f212a4e8705&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-619%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=619&job=&cmd_args= [2020-10-12T10:31:12.029Z] -> Uploading to [2020-10-12T10:31:12.029Z] [2020-10-12T10:31:12.029Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-12T10:31:12.029Z] Dload Upload Total Spent Left Speed [2020-10-12T10:31:12.029Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-12T10:31:12.029Z] X> Failed to upload [2020-10-12T10:31:12.029Z] ==> Uploading to Codecov [2020-10-12T10:31:12.029Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-12T10:31:12.029Z] Dload Upload Total Spent Left Speed [2020-10-12T10:31:12.662Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18764 100 110 100 18654 213 36186 --:--:-- --:--:-- --:--:-- 36221 [2020-10-12T10:31:12.662Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/553a225e623c154610a2c28b52e31f212a4e8705 [Pipeline] } [2020-10-12T10:31:12.694Z] 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-12T10:31:16.046Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T10:31:16.410Z] ---> package-listing.sh [2020-10-12T10:31:16.410Z] ++ facter osfamily [2020-10-12T10:31:16.410Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-12T10:31:16.410Z] + OS_FAMILY=redhat [2020-10-12T10:31:16.410Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-619 [2020-10-12T10:31:16.410Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-12T10:31:16.410Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-12T10:31:16.410Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-12T10:31:16.410Z] + PACKAGES=/tmp/packages_start.txt [2020-10-12T10:31:16.410Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-619 ']' [2020-10-12T10:31:16.410Z] + PACKAGES=/tmp/packages_end.txt [2020-10-12T10:31:16.410Z] + case "${OS_FAMILY}" in [2020-10-12T10:31:16.410Z] + rpm -qa [2020-10-12T10:31:16.410Z] + sort [2020-10-12T10:31:20.913Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-12T10:31:20.913Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-12T10:31:20.913Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-12T10:31:20.913Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-619 ']' [2020-10-12T10:31:20.913Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-619/archives/ [2020-10-12T10:31:20.913Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-619/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-12T10:31:21.606Z] provisioning config files... [2020-10-12T10:31:21.654Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/config1727344300907071360tmp [Pipeline] { [Pipeline] echo [2020-10-12T10:31:21.770Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T10:31:22.212Z] ---> create-netrc.sh [Pipeline] } [2020-10-12T10:31:22.253Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-12T10:31:22.378Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T10:31:22.821Z] ---> python-tools-install.sh [2020-10-12T10:31:22.821Z] Generating Requirements File [2020-10-12T10:32:45.223Z] Python 3.6.8 [2020-10-12T10:32:45.223Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-12T10:32:45.223Z] appdirs==1.4.3 [2020-10-12T10:32:45.223Z] argcomplete==1.12.1 [2020-10-12T10:32:45.223Z] aspy.yaml==1.3.0 [2020-10-12T10:32:45.223Z] attrs==19.3.0 [2020-10-12T10:32:45.223Z] Babel==2.8.0 [2020-10-12T10:32:45.223Z] beautifulsoup4==4.8.2 [2020-10-12T10:32:45.223Z] boto3==1.11.6 [2020-10-12T10:32:45.223Z] botocore==1.14.6 [2020-10-12T10:32:45.223Z] bs4==0.0.1 [2020-10-12T10:32:45.223Z] cachetools==4.1.1 [2020-10-12T10:32:45.223Z] certifi==2019.11.28 [2020-10-12T10:32:45.223Z] cffi==1.14.3 [2020-10-12T10:32:45.223Z] cfgv==2.0.1 [2020-10-12T10:32:45.223Z] chardet==3.0.4 [2020-10-12T10:32:45.223Z] click==7.1 [2020-10-12T10:32:45.223Z] cliff==3.4.0 [2020-10-12T10:32:45.223Z] cmd2==1.3.11 [2020-10-12T10:32:45.223Z] colorama==0.4.3 [2020-10-12T10:32:45.223Z] cryptography==3.1.1 [2020-10-12T10:32:45.223Z] debtcollector==2.2.0 [2020-10-12T10:32:45.223Z] decorator==4.4.2 [2020-10-12T10:32:45.223Z] defusedxml==0.6.0 [2020-10-12T10:32:45.223Z] Deprecated==1.2.7 [2020-10-12T10:32:45.223Z] distlib==0.3.1 [2020-10-12T10:32:45.223Z] distro==1.2.0 [2020-10-12T10:32:45.223Z] dnspython==1.16.0 [2020-10-12T10:32:45.223Z] docker==4.2.0 [2020-10-12T10:32:45.223Z] docutils==0.15.2 [2020-10-12T10:32:45.223Z] dogpile.cache==1.0.2 [2020-10-12T10:32:45.223Z] email-validator==1.0.5 [2020-10-12T10:32:45.223Z] filelock==3.0.12 [2020-10-12T10:32:45.223Z] future==0.18.2 [2020-10-12T10:32:45.223Z] google-auth==1.22.1 [2020-10-12T10:32:45.223Z] httplib2==0.17.0 [2020-10-12T10:32:45.223Z] identify==1.4.11 [2020-10-12T10:32:45.223Z] idna==2.9 [2020-10-12T10:32:45.223Z] importlib-metadata==2.0.0 [2020-10-12T10:32:45.223Z] importlib-resources==1.5.0 [2020-10-12T10:32:45.223Z] iso8601==0.1.13 [2020-10-12T10:32:45.223Z] Jinja2==2.11.1 [2020-10-12T10:32:45.223Z] jmespath==0.10.0 [2020-10-12T10:32:45.223Z] jsonpatch==1.26 [2020-10-12T10:32:45.223Z] jsonpointer==2.0 [2020-10-12T10:32:45.223Z] jsonschema==3.2.0 [2020-10-12T10:32:45.223Z] keystoneauth1==4.2.1 [2020-10-12T10:32:45.223Z] kubernetes==11.0.0 [2020-10-12T10:32:45.223Z] lftools==0.34.2 [2020-10-12T10:32:45.223Z] lxml==4.5.0 [2020-10-12T10:32:45.223Z] MarkupSafe==0.23 [2020-10-12T10:32:45.223Z] msgpack==1.0.0 [2020-10-12T10:32:45.223Z] multi-key-dict==2.0.3 [2020-10-12T10:32:45.223Z] munch==2.5.0 [2020-10-12T10:32:45.223Z] netaddr==0.8.0 [2020-10-12T10:32:45.223Z] netifaces==0.10.9 [2020-10-12T10:32:45.223Z] niet==1.4.2 [2020-10-12T10:32:45.223Z] nodeenv==1.3.5 [2020-10-12T10:32:45.223Z] oauth2client==4.1.3 [2020-10-12T10:32:45.223Z] oauthlib==3.1.0 [2020-10-12T10:32:45.223Z] openstacksdk==0.50.0 [2020-10-12T10:32:45.223Z] os-client-config==2.1.0 [2020-10-12T10:32:45.223Z] os-service-types==1.7.0 [2020-10-12T10:32:45.223Z] osc-lib==2.2.1 [2020-10-12T10:32:45.223Z] oslo.config==8.3.2 [2020-10-12T10:32:45.223Z] oslo.context==3.1.1 [2020-10-12T10:32:45.223Z] oslo.i18n==5.0.1 [2020-10-12T10:32:45.223Z] oslo.log==4.4.0 [2020-10-12T10:32:45.223Z] oslo.serialization==4.0.1 [2020-10-12T10:32:45.223Z] oslo.utils==4.6.0 [2020-10-12T10:32:45.223Z] packaging==20.4 [2020-10-12T10:32:45.223Z] pbr==5.4.4 [2020-10-12T10:32:45.223Z] pluggy==0.13.1 [2020-10-12T10:32:45.223Z] prettytable==0.7.2 [2020-10-12T10:32:45.223Z] py==1.9.0 [2020-10-12T10:32:45.223Z] pyasn1==0.4.8 [2020-10-12T10:32:45.223Z] pyasn1-modules==0.2.8 [2020-10-12T10:32:45.223Z] pycparser==2.20 [2020-10-12T10:32:45.223Z] pygerrit2==2.0.10 [2020-10-12T10:32:45.223Z] PyGithub==1.46 [2020-10-12T10:32:45.223Z] pyinotify==0.9.6 [2020-10-12T10:32:45.223Z] PyJWT==1.7.1 [2020-10-12T10:32:45.223Z] pyparsing==2.4.7 [2020-10-12T10:32:45.223Z] pyperclip==1.8.1 [2020-10-12T10:32:45.223Z] pyroute2==0.4.13 [2020-10-12T10:32:45.223Z] pyrsistent==0.15.7 [2020-10-12T10:32:45.223Z] PySocks==1.6.8 [2020-10-12T10:32:45.223Z] python-cinderclient==7.2.0 [2020-10-12T10:32:45.223Z] python-dateutil==2.8.1 [2020-10-12T10:32:45.223Z] python-heatclient==2.2.1 [2020-10-12T10:32:45.223Z] python-jenkins==1.7.0 [2020-10-12T10:32:45.223Z] python-keystoneclient==4.1.1 [2020-10-12T10:32:45.223Z] python-magnumclient==3.2.1 [2020-10-12T10:32:45.223Z] python-novaclient==17.2.1 [2020-10-12T10:32:45.223Z] python-openstackclient==5.4.0 [2020-10-12T10:32:45.223Z] python-swiftclient==3.10.1 [2020-10-12T10:32:45.223Z] pytz==2020.1 [2020-10-12T10:32:45.223Z] PyYAML==5.3 [2020-10-12T10:32:45.223Z] requests==2.23.0 [2020-10-12T10:32:45.223Z] requests-oauthlib==1.3.0 [2020-10-12T10:32:45.223Z] requestsexceptions==1.4.0 [2020-10-12T10:32:45.223Z] rfc3986==1.4.0 [2020-10-12T10:32:45.223Z] rpm==4.11.3 [2020-10-12T10:32:45.223Z] rsa==4.0 [2020-10-12T10:32:45.223Z] ruamel.yaml==0.16.10 [2020-10-12T10:32:45.223Z] ruamel.yaml.clib==0.2.0 [2020-10-12T10:32:45.223Z] s3transfer==0.3.3 [2020-10-12T10:32:45.223Z] shade==1.27.2 [2020-10-12T10:32:45.223Z] simplejson==3.17.2 [2020-10-12T10:32:45.223Z] six==1.14.0 [2020-10-12T10:32:45.223Z] soupsieve==2.0 [2020-10-12T10:32:45.223Z] stevedore==3.2.2 [2020-10-12T10:32:45.223Z] tabulate==0.8.6 [2020-10-12T10:32:45.223Z] toml==0.10.0 [2020-10-12T10:32:45.223Z] tox==3.20.1 [2020-10-12T10:32:45.223Z] tqdm==4.43.0 [2020-10-12T10:32:45.223Z] urllib3==1.25.8 [2020-10-12T10:32:45.223Z] virtualenv==20.0.33 [2020-10-12T10:32:45.223Z] wcwidth==0.2.5 [2020-10-12T10:32:45.223Z] websocket-client==0.57.0 [2020-10-12T10:32:45.223Z] wrapt==1.12.1 [2020-10-12T10:32:45.223Z] xdg==3.0.2 [2020-10-12T10:32:45.223Z] xmltodict==0.12.0 [2020-10-12T10:32:45.223Z] yq==2.11.1 [2020-10-12T10:32:45.223Z] zipp==3.3.0 [2020-10-12T10:32:45.223Z] Cache entry deserialization failed, entry ignored [2020-10-12T10:32:45.223Z] 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-12T10:32:45.223Z] Python 2.7.5 [2020-10-12T10:32:45.223Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-12T10:32:45.223Z] 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-12T10:32:45.224Z] ansible==2.9.7 [2020-10-12T10:32:45.224Z] Babel==0.9.6 [2020-10-12T10:32:45.224Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-12T10:32:45.224Z] beautifulsoup4==4.4.1 [2020-10-12T10:32:45.224Z] bodhi==2.11.0 [2020-10-12T10:32:45.224Z] bodhi-client==2.11.0 [2020-10-12T10:32:45.224Z] CCColUtils==1.4 [2020-10-12T10:32:45.224Z] cffi==1.6.0 [2020-10-12T10:32:45.224Z] chardet==2.2.1 [2020-10-12T10:32:45.224Z] click==6.7 [2020-10-12T10:32:45.224Z] cloud-init==18.5 [2020-10-12T10:32:45.224Z] configobj==4.7.2 [2020-10-12T10:32:45.224Z] cryptography==1.7.2 [2020-10-12T10:32:45.224Z] decorator==3.4.0 [2020-10-12T10:32:45.224Z] distro==1.2.0 [2020-10-12T10:32:45.224Z] enum34==1.0.4 [2020-10-12T10:32:45.224Z] fedpkg==1.38 [2020-10-12T10:32:45.224Z] futures==3.1.1 [2020-10-12T10:32:45.224Z] gitdb==0.6.4 [2020-10-12T10:32:45.224Z] GitPython==1.0.1 [2020-10-12T10:32:45.224Z] html5lib==0.999 [2020-10-12T10:32:45.224Z] httplib2==0.9.2 [2020-10-12T10:32:45.224Z] idna==2.4 [2020-10-12T10:32:45.224Z] iniparse==0.4 [2020-10-12T10:32:45.224Z] ipaddress==1.0.16 [2020-10-12T10:32:45.224Z] IPy==0.75 [2020-10-12T10:32:45.224Z] javapackages==1.0.0 [2020-10-12T10:32:45.224Z] Jinja2==2.7.2 [2020-10-12T10:32:45.224Z] jmespath==0.9.4 [2020-10-12T10:32:45.224Z] jsonpatch==1.2 [2020-10-12T10:32:45.224Z] jsonpointer==1.9 [2020-10-12T10:32:45.224Z] kerberos==1.1 [2020-10-12T10:32:45.224Z] kitchen==1.1.1 [2020-10-12T10:32:45.224Z] langtable==0.0.31 [2020-10-12T10:32:45.224Z] lockfile==0.9.1 [2020-10-12T10:32:45.224Z] lxml==3.2.1 [2020-10-12T10:32:45.224Z] MarkupSafe==0.11 [2020-10-12T10:32:45.224Z] munch==2.0.2 [2020-10-12T10:32:45.224Z] offtrac==0.1.0 [2020-10-12T10:32:45.224Z] openidc-client==0.6.0 [2020-10-12T10:32:45.224Z] packagedb-cli==2.14.1 [2020-10-12T10:32:45.224Z] paramiko==2.1.1 [2020-10-12T10:32:45.224Z] perf==0.1 [2020-10-12T10:32:45.224Z] ply==3.4 [2020-10-12T10:32:45.224Z] policycoreutils-default-encoding==0.1 [2020-10-12T10:32:45.224Z] prettytable==0.7.2 [2020-10-12T10:32:45.224Z] pyasn1==0.1.9 [2020-10-12T10:32:45.224Z] pycparser==2.14 [2020-10-12T10:32:45.224Z] pycurl==7.19.0 [2020-10-12T10:32:45.224Z] pygobject==3.22.0 [2020-10-12T10:32:45.224Z] pygpgme==0.3 [2020-10-12T10:32:45.224Z] pyliblzma==0.5.3 [2020-10-12T10:32:45.224Z] pyOpenSSL==0.13.1 [2020-10-12T10:32:45.224Z] pyparsing==1.5.6 [2020-10-12T10:32:45.224Z] pyserial==2.6 [2020-10-12T10:32:45.224Z] python-augeas==0.5.0 [2020-10-12T10:32:45.224Z] python-bugzilla==2.3.0 [2020-10-12T10:32:45.224Z] python-dateutil==1.5 [2020-10-12T10:32:45.224Z] python-fedora==0.10.0 [2020-10-12T10:32:45.224Z] python-linux-procfs==0.4.9 [2020-10-12T10:32:45.224Z] python-yubico==1.2.3 [2020-10-12T10:32:45.224Z] pyudev==0.15 [2020-10-12T10:32:45.224Z] pyusb==1.0.0b1 [2020-10-12T10:32:45.224Z] pyxattr==0.5.1 [2020-10-12T10:32:45.224Z] PyYAML==3.10 [2020-10-12T10:32:45.224Z] requests==2.6.0 [2020-10-12T10:32:45.224Z] requests-kerberos==0.7.0 [2020-10-12T10:32:45.224Z] rpkg==1.60 [2020-10-12T10:32:45.224Z] schedutils==0.4 [2020-10-12T10:32:45.224Z] seobject==0.1 [2020-10-12T10:32:45.224Z] sepolicy==1.1 [2020-10-12T10:32:45.224Z] six==1.9.0 [2020-10-12T10:32:45.224Z] smmap==0.9.0 [2020-10-12T10:32:45.224Z] urlgrabber==3.10 [2020-10-12T10:32:45.224Z] urllib3==1.10.2 [2020-10-12T10:32:45.224Z] virtualenv==15.1.0 [2020-10-12T10:32:45.224Z] yum-langpacks==0.4.2 [2020-10-12T10:32:45.224Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-12T10:32:45.238Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T10:32:45.557Z] ---> sudo-logs.sh [2020-10-12T10:32:45.557Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-12T10:32:45.830Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T10:32:46.134Z] ---> job-cost.sh [2020-10-12T10:32:46.134Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zLzX [2020-10-12T10:32:58.401Z] Cache entry deserialization failed, entry ignored [2020-10-12T10:32:58.401Z] Cache entry deserialization failed, entry ignored [2020-10-12T10:32:58.401Z] Cache entry deserialization failed, entry ignored [2020-10-12T10:32:58.401Z] Cache entry deserialization failed, entry ignored [2020-10-12T10:32:58.401Z] Cache entry deserialization failed, entry ignored [2020-10-12T10:32:58.663Z] Cache entry deserialization failed, entry ignored [2020-10-12T10:32:58.663Z] Cache entry deserialization failed, entry ignored [2020-10-12T10:32:58.924Z] Cache entry deserialization failed, entry ignored [2020-10-12T10:32:58.924Z] Cache entry deserialization failed, entry ignored [2020-10-12T10:32:58.924Z] Cache entry deserialization failed, entry ignored [2020-10-12T10:32:59.187Z] Cache entry deserialization failed, entry ignored [2020-10-12T10:32:59.449Z] Cache entry deserialization failed, entry ignored [2020-10-12T10:32:59.449Z] Cache entry deserialization failed, entry ignored [2020-10-12T10:33:02.007Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-12T10:33:34.177Z] lf-activate-venv(): INFO: Adding /tmp/venv-zLzX/bin to PATH [2020-10-12T10:33:34.177Z] INFO: No Stack... [2020-10-12T10:33:34.177Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-12T10:33:34.177Z] INFO: Archiving Costs [Pipeline] echo [2020-10-12T10:33:34.193Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T10:33:34.504Z] ---> logs-deploy.sh [2020-10-12T10:33:34.504Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-619/9 [2020-10-12T10:33:34.504Z] INFO: archiving workspace using pattern(s): [2020-10-12T10:33:35.895Z] Archives upload complete. [2020-10-12T10:33:36.158Z] INFO: archiving logs to Nexus