Pull request #605 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 e195a974d22094be0b338e2aaad815c4000e728c+833c05b782f270c396ee40879762f076aaf9331e (c71cb0dd0618fae390da629395402e4e038a34f3) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4121 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [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-605 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit e195a974d22094be0b338e2aaad815c4000e728c Merge succeeded, producing e195a974d22094be0b338e2aaad815c4000e728c Checking out Revision e195a974d22094be0b338e2aaad815c4000e728c (PR-605) > 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/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e195a974d22094be0b338e2aaad815c4000e728c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e195a974d22094be0b338e2aaad815c4000e728c # timeout=10 Commit message: "feat(sdk): update POST/PUT request body to use v2dto" > git rev-list --no-walk 92d9b9363a8ebd500e3f02f4518af66d5213e1c0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-08T04:41:37.451Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-08T04:41:37.692Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-08T04:41:37.816Z] ========================================================= [2020-10-08T04:41:37.816Z] EdgeX Global Pipelines Version Info [2020-10-08T04:41:37.816Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-08T04:41:39.426Z] ------------------- [2020-10-08T04:41:39.426Z] stable info: [2020-10-08T04:41:39.426Z] ------------------- [2020-10-08T04:41:39.426Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-08T04:41:39.426Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-08T04:41:39.426Z] Message: update stable to v1.0.131 [2020-10-08T04:41:40.373Z] ------------------- [2020-10-08T04:41:40.373Z] experimental info: [2020-10-08T04:41:40.373Z] ------------------- [2020-10-08T04:41:40.373Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-08T04:41:40.373Z] Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a [2020-10-08T04:41:40.373Z] Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-08T04:41:40.814Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-08T04:41:40.917Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-08T04:41:41.025Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-08T04:41:41.130Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-08T04:41:41.227Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-08T04:41:41.343Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-08T04:41:41.443Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-08T04:41:41.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-08T04:41:41.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-08T04:41:41.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-08T04:41:41.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-08T04:41:41.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-08T04:41:42.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-08T04:41:42.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-08T04:41:42.269Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-08T04:41:42.645Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-08T04:41:42.801Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-08T04:41:42.908Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-08T04:41:43.003Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-08T04:41:43.110Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-08T04:41:43.240Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-08T04:41:43.337Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-08T04:41:43.496Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-08T04:41:43.598Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-08T04:41:43.710Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-08T04:41:43.811Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-605 [Pipeline] echo [2020-10-08T04:41:43.911Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-605 [Pipeline] echo [2020-10-08T04:41:44.009Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-605 [Pipeline] echo [2020-10-08T04:41:44.109Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e195a974d22094be0b338e2aaad815c4000e728c [Pipeline] echo [2020-10-08T04:41:44.215Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e195a97 [Pipeline] echo [2020-10-08T04:41:44.329Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-08T04:41:45.009Z] + git log --format=format:%s -1 e195a974d22094be0b338e2aaad815c4000e728c [Pipeline] echo [2020-10-08T04:41:45.084Z] GIT_COMMIT: e195a974d22094be0b338e2aaad815c4000e728c, Commit Message: feat(sdk): update POST/PUT request body to use v2dto [Pipeline] echo [2020-10-08T04:41:45.136Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-08T04:41:45.692Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-08T04:41:45.956Z] [2020-10-08T04:41:45.956Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-08T04:41:46.310Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-08T04:41:46.310Z] latest: Pulling from edgex-devops/git-semver [2020-10-08T04:41:46.310Z] 31603596830f: Pulling fs layer [2020-10-08T04:41:46.310Z] 2a8b12db71e7: Pulling fs layer [2020-10-08T04:41:46.311Z] 6ca5941a6612: Pulling fs layer [2020-10-08T04:41:46.311Z] ecc8261a40a4: Pulling fs layer [2020-10-08T04:41:46.311Z] ecc8261a40a4: Waiting [2020-10-08T04:41:46.311Z] 2a8b12db71e7: Verifying Checksum [2020-10-08T04:41:46.311Z] 2a8b12db71e7: Download complete [2020-10-08T04:41:46.311Z] 31603596830f: Verifying Checksum [2020-10-08T04:41:46.311Z] 31603596830f: Download complete [2020-10-08T04:41:46.572Z] ecc8261a40a4: Verifying Checksum [2020-10-08T04:41:46.572Z] ecc8261a40a4: Download complete [2020-10-08T04:41:46.572Z] 6ca5941a6612: Verifying Checksum [2020-10-08T04:41:46.572Z] 6ca5941a6612: Download complete [2020-10-08T04:41:46.835Z] 31603596830f: Pull complete [2020-10-08T04:41:47.100Z] 2a8b12db71e7: Pull complete [2020-10-08T04:41:48.046Z] 6ca5941a6612: Pull complete [2020-10-08T04:41:48.308Z] ecc8261a40a4: Pull complete [2020-10-08T04:41:48.308Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-08T04:41:48.308Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-08T04:41:48.308Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-08T04:41:48.408Z] prd-centos7-docker-4c-2g-4121 does not seem to be running inside a container [2020-10-08T04:41:48.458Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-605 -v /w/workspace/dgexfoundry_device-sdk-go_PR-605:/w/workspace/dgexfoundry_device-sdk-go_PR-605:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-605@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-08T04:41:50.314Z] $ docker top db28430a1d3de7ebb078b5db979f4027032b838f328503472f080449c25e393f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-08T04:41:50.612Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-08T04:41:50.612Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-08T04:41:50.832Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-08T04:41:50.836Z] $ docker exec db28430a1d3de7ebb078b5db979f4027032b838f328503472f080449c25e393f ssh-agent [2020-10-08T04:41:50.996Z] SSH_AUTH_SOCK=/tmp/ssh-HWJPflaFp77l/agent.11 [2020-10-08T04:41:50.996Z] SSH_AGENT_PID=16 [2020-10-08T04:41:51.008Z] Running ssh-add (command line suppressed) [2020-10-08T04:41:51.130Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_2721166004412212754.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_2721166004412212754.key) [2020-10-08T04:41:51.178Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-08T04:41:51.520Z] + git describe --exact-match --tags HEAD [2020-10-08T04:41:51.520Z] fatal: no tag exactly matches 'e195a974d22094be0b338e2aaad815c4000e728c' [Pipeline] } [2020-10-08T04:41:51.636Z] $ docker exec --env ******** --env ******** db28430a1d3de7ebb078b5db979f4027032b838f328503472f080449c25e393f ssh-agent -k [2020-10-08T04:41:51.794Z] unset SSH_AUTH_SOCK; [2020-10-08T04:41:51.794Z] unset SSH_AGENT_PID; [2020-10-08T04:41:51.794Z] echo Agent pid 16 killed; [2020-10-08T04:41:51.838Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-08T04:41:51.926Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-08T04:41:51.926Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-08T04:41:52.025Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-08T04:41:52.025Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-08T04:41:52.198Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-08T04:41:52.203Z] $ docker exec db28430a1d3de7ebb078b5db979f4027032b838f328503472f080449c25e393f ssh-agent [2020-10-08T04:41:52.364Z] SSH_AUTH_SOCK=/tmp/ssh-vOTiiPBmIWAj/agent.44 [2020-10-08T04:41:52.364Z] SSH_AGENT_PID=50 [2020-10-08T04:41:52.371Z] Running ssh-add (command line suppressed) [2020-10-08T04:41:52.492Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_6445043707368745352.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_6445043707368745352.key) [2020-10-08T04:41:52.541Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-08T04:41:52.879Z] + git semver init [2020-10-08T04:41:52.879Z] # -> Open(): unable to determine branch for HEAD [2020-10-08T04:41:52.879Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.git [2020-10-08T04:41:52.879Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-605 [2020-10-08T04:41:52.879Z] # $SEMVER_REMOTE_NAME = origin [2020-10-08T04:41:52.879Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-08T04:41:52.879Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-08T04:41:52.879Z] # $SEMVER_BRANCH = PR-605 [2020-10-08T04:41:52.879Z] # $SEMVER_TEMP = /tmp/semver-290648432 [2020-10-08T04:41:52.879Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-08T04:41:53.454Z] # '/tmp/semver-290648432' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver' [2020-10-08T04:41:53.454Z] # -> Force: false [2020-10-08T04:41:53.454Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver [Pipeline] } [2020-10-08T04:41:53.468Z] $ docker exec --env ******** --env ******** db28430a1d3de7ebb078b5db979f4027032b838f328503472f080449c25e393f ssh-agent -k [2020-10-08T04:41:53.583Z] unset SSH_AUTH_SOCK; [2020-10-08T04:41:53.583Z] unset SSH_AGENT_PID; [2020-10-08T04:41:53.583Z] echo Agent pid 50 killed; [2020-10-08T04:41:53.625Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-08T04:41:54.152Z] + git semver [Pipeline] } [2020-10-08T04:41:54.169Z] $ docker stop --time=1 db28430a1d3de7ebb078b5db979f4027032b838f328503472f080449c25e393f [2020-10-08T04:41:55.550Z] $ docker rm -f db28430a1d3de7ebb078b5db979f4027032b838f328503472f080449c25e393f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-08T04:41:56.450Z] Stashed 46 file(s) [Pipeline] echo [2020-10-08T04:41:56.452Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-08T04:41:56.553Z] 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-08T04:42:11.986Z] Still waiting to schedule task [2020-10-08T04:42:11.986Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-08T04:42:11.989Z] Still waiting to schedule task [2020-10-08T04:42:11.989Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-08T04:44:05.513Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4122 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [Pipeline] { [Pipeline] ws [2020-10-08T04:44:05.608Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2020-10-08T04:44:10.691Z] using credential edgex-jenkins-ssh [2020-10-08T04:44:10.775Z] Cloning the remote Git repository [2020-10-08T04:44:10.855Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-08T04:44:10.980Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2020-10-08T04:44:11.063Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-08T04:44:11.064Z] > git --version # timeout=10 [2020-10-08T04:44:11.079Z] > git --version # 'git version 2.17.1' [2020-10-08T04:44:11.081Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-08T04:44:11.159Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-08T04:44:12.912Z] Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit e195a974d22094be0b338e2aaad815c4000e728c [2020-10-08T04:44:12.198Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-08T04:44:12.214Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-08T04:44:12.240Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-08T04:44:12.281Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-08T04:44:12.282Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-08T04:44:12.294Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-08T04:44:12.935Z] > git config core.sparsecheckout # timeout=10 [2020-10-08T04:44:12.952Z] > git checkout -f e195a974d22094be0b338e2aaad815c4000e728c # timeout=10 [2020-10-08T04:44:13.262Z] Merge succeeded, producing e195a974d22094be0b338e2aaad815c4000e728c [2020-10-08T04:44:13.263Z] Checking out Revision e195a974d22094be0b338e2aaad815c4000e728c (PR-605) [2020-10-08T04:44:13.150Z] > git remote # timeout=10 [2020-10-08T04:44:13.197Z] > git config --get remote.origin.url # timeout=10 [2020-10-08T04:44:13.214Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-08T04:44:13.224Z] > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 [2020-10-08T04:44:13.249Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-08T04:44:13.272Z] > git config core.sparsecheckout # timeout=10 [2020-10-08T04:44:13.285Z] > git checkout -f e195a974d22094be0b338e2aaad815c4000e728c # timeout=10 [2020-10-08T04:44:17.522Z] Commit message: "feat(sdk): update POST/PUT request body to use v2dto" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-08T04:44:18.763Z] ========================================================= [2020-10-08T04:44:18.763Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-08T04:44:18.763Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-08T04:44:19.872Z] + 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-08T04:44:20.864Z] Sending build context to Docker daemon 3.546MB [2020-10-08T04:44:20.864Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-08T04:44:20.864Z] Step 2/8 : FROM ${BASE} [2020-10-08T04:44:21.140Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-08T04:44:21.140Z] b538f80385f9: Pulling fs layer [2020-10-08T04:44:21.140Z] 74f711af9a0d: Pulling fs layer [2020-10-08T04:44:21.140Z] 99f96fe45779: Pulling fs layer [2020-10-08T04:44:21.140Z] 8529a6b9a6be: Pulling fs layer [2020-10-08T04:44:21.140Z] 45590311c82a: Pulling fs layer [2020-10-08T04:44:21.140Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-08T04:44:21.140Z] 209524e5b208: Pulling fs layer [2020-10-08T04:44:21.140Z] 8529a6b9a6be: Waiting [2020-10-08T04:44:21.140Z] 45590311c82a: Waiting [2020-10-08T04:44:21.140Z] 69ca0ff8b7b3: Waiting [2020-10-08T04:44:21.140Z] 209524e5b208: Waiting [2020-10-08T04:44:21.140Z] 99f96fe45779: Verifying Checksum [2020-10-08T04:44:21.140Z] 99f96fe45779: Download complete [2020-10-08T04:44:21.140Z] 74f711af9a0d: Verifying Checksum [2020-10-08T04:44:21.140Z] 74f711af9a0d: Download complete [2020-10-08T04:44:21.140Z] 45590311c82a: Verifying Checksum [2020-10-08T04:44:21.140Z] 45590311c82a: Download complete [2020-10-08T04:44:21.140Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-08T04:44:21.741Z] b538f80385f9: Verifying Checksum [2020-10-08T04:44:21.741Z] b538f80385f9: Download complete [2020-10-08T04:44:22.343Z] b538f80385f9: Pull complete [2020-10-08T04:44:22.962Z] 74f711af9a0d: Pull complete [2020-10-08T04:44:23.572Z] 99f96fe45779: Pull complete [2020-10-08T04:44:24.560Z] 209524e5b208: Download complete [2020-10-08T04:44:25.547Z] 8529a6b9a6be: Verifying Checksum [2020-10-08T04:44:25.547Z] 8529a6b9a6be: Download complete [2020-10-08T04:44:37.976Z] 8529a6b9a6be: Pull complete [2020-10-08T04:44:37.976Z] 45590311c82a: Pull complete [2020-10-08T04:44:37.976Z] 69ca0ff8b7b3: Pull complete [2020-10-08T04:44:40.607Z] 209524e5b208: Pull complete [2020-10-08T04:44:40.607Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-08T04:44:40.607Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-08T04:44:40.607Z] ---> 5bddaf1c2fca [2020-10-08T04:44:40.607Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-08T04:44:43.252Z] ---> Running in df83871a2826 [2020-10-08T04:44:43.525Z] Removing intermediate container df83871a2826 [2020-10-08T04:44:43.525Z] ---> da6ac90763c9 [2020-10-08T04:44:43.525Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-08T04:44:43.798Z] ---> Running in d8c5643fb55c [2020-10-08T04:44:46.437Z] Removing intermediate container d8c5643fb55c [2020-10-08T04:44:46.437Z] ---> c4c308f1dd3f [2020-10-08T04:44:46.437Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-08T04:44:46.437Z] ---> Running in 775d3947abad [2020-10-08T04:44:47.903Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-08T04:44:48.875Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-08T04:44:49.848Z] OK: 142 MiB in 39 packages [2020-10-08T04:44:50.825Z] Removing intermediate container 775d3947abad [2020-10-08T04:44:50.825Z] ---> bcd1e640a40a [2020-10-08T04:44:50.825Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-08T04:44:50.825Z] ---> Running in a17001e638a2 [2020-10-08T04:44:51.419Z] Removing intermediate container a17001e638a2 [2020-10-08T04:44:51.419Z] ---> 99b0680de4bf [2020-10-08T04:44:51.419Z] Step 7/8 : COPY . . [2020-10-08T04:44:52.856Z] ---> fb31f3907339 [2020-10-08T04:44:52.856Z] Step 8/8 : RUN go mod download [2020-10-08T04:44:53.130Z] ---> Running in c8f424a30e4c [2020-10-08T04:45:15.340Z] Removing intermediate container c8f424a30e4c [2020-10-08T04:45:15.340Z] ---> 6dde9f692c31 [2020-10-08T04:45:15.340Z] Successfully built 6dde9f692c31 [2020-10-08T04:45:15.340Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-08T04:45:15.745Z] + docker inspect -f . ci-base-image-arm64 [2020-10-08T04:45:15.745Z] . [Pipeline] withDockerContainer [2020-10-08T04:45:16.042Z] prd-ubuntu18.04-docker-arm64-4c-16g-4122 does not seem to be running inside a container [2020-10-08T04:45:16.149Z] $ 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-arm64 cat [2020-10-08T04:45:16.751Z] Running on prd-centos7-docker-4c-2g-4124 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [2020-10-08T04:45:18.165Z] $ docker top db001f9fa0b4f12c1cc49f95170ebad6b874c5e331cd44c2f071460ce20d5a2e -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws [2020-10-08T04:45:18.660Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2020-10-08T04:45:19.630Z] + go version [2020-10-08T04:45:19.630Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-08T04:45:19.655Z] $ docker stop --time=1 db001f9fa0b4f12c1cc49f95170ebad6b874c5e331cd44c2f071460ce20d5a2e [2020-10-08T04:45:20.977Z] using credential edgex-jenkins-ssh [2020-10-08T04:45:21.050Z] Cloning the remote Git repository [2020-10-08T04:45:21.608Z] $ docker rm -f db001f9fa0b4f12c1cc49f95170ebad6b874c5e331cd44c2f071460ce20d5a2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2020-10-08T04:45:21.074Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-08T04:45:21.145Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2020-10-08T04:45:21.218Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-08T04:45:21.218Z] > git --version # timeout=10 [2020-10-08T04:45:21.226Z] > git --version # 'git version 2.16.5' [2020-10-08T04:45:21.227Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-08T04:45:21.306Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-08T04:45:21.983Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-08T04:45:21.988Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-08T04:45:22.001Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-08T04:45:22.012Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-08T04:45:22.012Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-08T04:45:22.017Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-08T04:45:22.463Z] Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit e195a974d22094be0b338e2aaad815c4000e728c [2020-10-08T04:45:22.560Z] Merge succeeded, producing e195a974d22094be0b338e2aaad815c4000e728c [2020-10-08T04:45:22.560Z] Checking out Revision e195a974d22094be0b338e2aaad815c4000e728c (PR-605) [2020-10-08T04:45:22.663Z] + docker inspect -f . ci-base-image-arm64 [2020-10-08T04:45:22.663Z] . [Pipeline] withDockerContainer [2020-10-08T04:45:22.939Z] prd-ubuntu18.04-docker-arm64-4c-16g-4122 does not seem to be running inside a container [2020-10-08T04:45:23.023Z] $ 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-arm64 cat [2020-10-08T04:45:22.475Z] > git config core.sparsecheckout # timeout=10 [2020-10-08T04:45:22.482Z] > git checkout -f e195a974d22094be0b338e2aaad815c4000e728c # timeout=10 [2020-10-08T04:45:22.534Z] > git remote # timeout=10 [2020-10-08T04:45:22.538Z] > git config --get remote.origin.url # timeout=10 [2020-10-08T04:45:22.542Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-08T04:45:22.546Z] > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 [2020-10-08T04:45:22.558Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-08T04:45:22.567Z] > git config core.sparsecheckout # timeout=10 [2020-10-08T04:45:22.571Z] > git checkout -f e195a974d22094be0b338e2aaad815c4000e728c # timeout=10 [2020-10-08T04:45:24.931Z] $ docker top 46d4c99678f0102cf20fb5020d384d383d7672f95232158b5601f5de33019be0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-08T04:45:26.203Z] Commit message: "feat(sdk): update POST/PUT request body to use v2dto" [2020-10-08T04:45:26.367Z] + make test [2020-10-08T04:45:26.367Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-08T04:45:27.190Z] ========================================================= [2020-10-08T04:45:27.190Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-08T04:45:27.190Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-08T04:45:27.885Z] + 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-08T04:45:28.150Z] Sending build context to Docker daemon 3.547MB [2020-10-08T04:45:28.150Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-08T04:45:28.150Z] Step 2/8 : FROM ${BASE} [2020-10-08T04:45:28.150Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-08T04:45:28.150Z] df20fa9351a1: Pulling fs layer [2020-10-08T04:45:28.150Z] ed8968b2872e: Pulling fs layer [2020-10-08T04:45:28.150Z] a92cc7c5fd73: Pulling fs layer [2020-10-08T04:45:28.150Z] e871e8e8d7a9: Pulling fs layer [2020-10-08T04:45:28.150Z] e73272ec9a57: Pulling fs layer [2020-10-08T04:45:28.150Z] 1e910a182e73: Pulling fs layer [2020-10-08T04:45:28.150Z] 4e634b169226: Pulling fs layer [2020-10-08T04:45:28.150Z] e73272ec9a57: Waiting [2020-10-08T04:45:28.150Z] 1e910a182e73: Waiting [2020-10-08T04:45:28.150Z] 4e634b169226: Waiting [2020-10-08T04:45:28.150Z] e871e8e8d7a9: Waiting [2020-10-08T04:45:28.150Z] a92cc7c5fd73: Download complete [2020-10-08T04:45:28.412Z] ed8968b2872e: Verifying Checksum [2020-10-08T04:45:28.412Z] ed8968b2872e: Download complete [2020-10-08T04:45:28.412Z] e73272ec9a57: Download complete [2020-10-08T04:45:28.988Z] 1e910a182e73: Verifying Checksum [2020-10-08T04:45:28.989Z] 1e910a182e73: Download complete [2020-10-08T04:45:28.989Z] df20fa9351a1: Verifying Checksum [2020-10-08T04:45:28.989Z] df20fa9351a1: Download complete [2020-10-08T04:45:28.989Z] df20fa9351a1: Pull complete [2020-10-08T04:45:29.251Z] ed8968b2872e: Pull complete [2020-10-08T04:45:29.517Z] a92cc7c5fd73: Pull complete [2020-10-08T04:45:30.478Z] 4e634b169226: Verifying Checksum [2020-10-08T04:45:30.478Z] 4e634b169226: Download complete [2020-10-08T04:45:31.432Z] e871e8e8d7a9: Verifying Checksum [2020-10-08T04:45:31.432Z] e871e8e8d7a9: Download complete [2020-10-08T04:45:36.768Z] e871e8e8d7a9: Pull complete [2020-10-08T04:45:36.768Z] e73272ec9a57: Pull complete [2020-10-08T04:45:36.768Z] 1e910a182e73: Pull complete [2020-10-08T04:45:40.992Z] 4e634b169226: Pull complete [2020-10-08T04:45:40.992Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-08T04:45:40.992Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-08T04:45:40.992Z] ---> f7629b54cfaa [2020-10-08T04:45:40.992Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-08T04:45:40.992Z] ---> Running in 23a7e87787cb [2020-10-08T04:45:40.992Z] Removing intermediate container 23a7e87787cb [2020-10-08T04:45:40.992Z] ---> 8f29dbee174a [2020-10-08T04:45:40.992Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-08T04:45:40.992Z] ---> Running in 4855b90545e9 [2020-10-08T04:45:42.920Z] Removing intermediate container 4855b90545e9 [2020-10-08T04:45:42.920Z] ---> 5cb5b307a651 [2020-10-08T04:45:42.920Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-08T04:45:42.920Z] ---> Running in b47000dec84c [2020-10-08T04:45:42.920Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-08T04:45:43.869Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-08T04:45:44.449Z] OK: 166 MiB in 39 packages [2020-10-08T04:45:45.025Z] Removing intermediate container b47000dec84c [2020-10-08T04:45:45.025Z] ---> 5c234aaee986 [2020-10-08T04:45:45.025Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-08T04:45:45.025Z] ---> Running in b1db9e9ba29b [2020-10-08T04:45:45.025Z] Removing intermediate container b1db9e9ba29b [2020-10-08T04:45:45.025Z] ---> d0d14fee77ca [2020-10-08T04:45:45.025Z] Step 7/8 : COPY . . [2020-10-08T04:45:46.417Z] ---> 9b6b0bee4e4d [2020-10-08T04:45:46.417Z] Step 8/8 : RUN go mod download [2020-10-08T04:45:46.417Z] ---> Running in 073f2f73be7a [2020-10-08T04:45:48.595Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-08T04:46:04.593Z] Removing intermediate container 073f2f73be7a [2020-10-08T04:46:04.593Z] ---> 6557d452a594 [2020-10-08T04:46:04.593Z] Successfully built 6557d452a594 [2020-10-08T04:46:04.864Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-08T04:46:05.227Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-08T04:46:05.227Z] . [Pipeline] withDockerContainer [2020-10-08T04:46:05.461Z] prd-centos7-docker-4c-2g-4124 does not seem to be running inside a container [2020-10-08T04:46:05.554Z] $ 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-08T04:46:06.680Z] $ docker top 5053cfbcc8f0c36209949aa3427d1f55f1bd2e860f80f73f763550fa1e7cb10f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-08T04:46:07.188Z] + go version [2020-10-08T04:46:07.189Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-08T04:46:07.208Z] $ docker stop --time=1 5053cfbcc8f0c36209949aa3427d1f55f1bd2e860f80f73f763550fa1e7cb10f [2020-10-08T04:46:08.535Z] $ docker rm -f 5053cfbcc8f0c36209949aa3427d1f55f1bd2e860f80f73f763550fa1e7cb10f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-08T04:46:09.462Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-08T04:46:09.462Z] . [Pipeline] withDockerContainer [2020-10-08T04:46:09.638Z] prd-centos7-docker-4c-2g-4124 does not seem to be running inside a container [2020-10-08T04:46:09.765Z] $ 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-08T04:46:10.359Z] $ docker top 345165b74ffee1ece8d2fff2ff15b1df7bd49f34c2697cc570d32fe6fd490221 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-08T04:46:11.011Z] + make test [2020-10-08T04:46:11.011Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-08T04:46:17.735Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-08T04:46:27.716Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-08T04:46:27.716Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-08T04:46:27.716Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-08T04:46:27.716Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.128s coverage: 21.6% of statements [2020-10-08T04:46:30.127Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-08T04:46:30.127Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-08T04:46:30.127Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-08T04:46:30.718Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.051s coverage: 21.6% of statements [2020-10-08T04:46:31.151Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.221s coverage: 97.1% of statements [2020-10-08T04:46:32.161Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.411s coverage: 97.1% of statements [2020-10-08T04:47:03.580Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.117s coverage: 9.4% of statements [2020-10-08T04:47:03.580Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.118s coverage: 21.9% of statements [2020-10-08T04:47:03.580Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-08T04:47:03.580Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.562s coverage: 42.5% of statements [2020-10-08T04:47:03.580Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-08T04:47:03.580Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.792s coverage: 65.4% of statements [2020-10-08T04:47:03.580Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-08T04:47:03.580Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-08T04:47:03.580Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-08T04:47:03.580Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-08T04:47:03.580Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.180s coverage: 52.6% of statements [2020-10-08T04:47:03.580Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-08T04:47:03.580Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-08T04:47:03.580Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.907s coverage: 68.9% of statements [2020-10-08T04:47:03.580Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-08T04:47:03.580Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-08T04:47:03.580Z] GO111MODULE=on go vet ./... [2020-10-08T04:47:04.385Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.058s coverage: 9.4% of statements [2020-10-08T04:47:04.385Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.048s coverage: 21.9% of statements [2020-10-08T04:47:04.385Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-08T04:47:04.385Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.206s coverage: 42.5% of statements [2020-10-08T04:47:04.385Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-08T04:47:04.385Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.292s coverage: 65.4% of statements [2020-10-08T04:47:04.385Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-08T04:47:04.385Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-08T04:47:04.385Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-08T04:47:04.385Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-08T04:47:04.385Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.070s coverage: 52.6% of statements [2020-10-08T04:47:04.385Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-08T04:47:04.385Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-08T04:47:04.385Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.714s coverage: 68.9% of statements [2020-10-08T04:47:04.385Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-08T04:47:04.385Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-08T04:47:04.385Z] GO111MODULE=on go vet ./... [2020-10-08T04:47:11.070Z] gofmt -l . [2020-10-08T04:47:11.070Z] [ "`gofmt -l .`" = "" ] [2020-10-08T04:47:11.070Z] ./bin/test-attribution-txt.sh [2020-10-08T04:47:11.333Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-08T04:47:11.914Z] Stashed 1 file(s) [Pipeline] } [2020-10-08T04:47:11.926Z] $ docker stop --time=1 345165b74ffee1ece8d2fff2ff15b1df7bd49f34c2697cc570d32fe6fd490221 [2020-10-08T04:47:13.728Z] $ docker rm -f 345165b74ffee1ece8d2fff2ff15b1df7bd49f34c2697cc570d32fe6fd490221 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-08T04:47:15.285Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-08T04:47:15.587Z] + ls -al . [2020-10-08T04:47:15.587Z] total 192 [2020-10-08T04:47:15.587Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 8 04:47 . [2020-10-08T04:47:15.587Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 8 04:45 .. [2020-10-08T04:47:15.587Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 8 04:45 bin [2020-10-08T04:47:15.587Z] -rw-r--r--. 1 jenkins jenkins 111047 Oct 8 04:47 coverage.out [2020-10-08T04:47:15.587Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 8 04:45 Dockerfile.build [2020-10-08T04:47:15.587Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 8 04:45 .dockerignore [2020-10-08T04:47:15.587Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 8 04:45 example [2020-10-08T04:47:15.587Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 8 04:45 .git [2020-10-08T04:47:15.587Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 8 04:45 .github [2020-10-08T04:47:15.587Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 8 04:45 .gitignore [2020-10-08T04:47:15.587Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 8 04:47 go.mod [2020-10-08T04:47:15.587Z] -rw-r--r--. 1 jenkins jenkins 13652 Oct 8 04:47 go.sum [2020-10-08T04:47:15.587Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 8 04:45 internal [2020-10-08T04:47:15.587Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 8 04:45 Jenkinsfile [2020-10-08T04:47:15.587Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 8 04:45 LICENSE [2020-10-08T04:47:15.587Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 8 04:45 Makefile [2020-10-08T04:47:15.587Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 8 04:45 openapi [2020-10-08T04:47:15.587Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 8 04:45 pkg [2020-10-08T04:47:15.587Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 8 04:45 README.md [2020-10-08T04:47:15.587Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 8 04:45 RELEASE-NOTES.txt [2020-10-08T04:47:15.587Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 8 04:45 .semver [2020-10-08T04:47:15.587Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 8 04:45 snap [2020-10-08T04:47:15.587Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 8 04:41 VERSION [2020-10-08T04:47:15.587Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 8 04:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-08T04:47:15.896Z] + 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=e195a974d22094be0b338e2aaad815c4000e728c --label arch=amd64 --label version=0.0.0 . [2020-10-08T04:47:16.158Z] Sending build context to Docker daemon 3.658MB [2020-10-08T04:47:16.158Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-08T04:47:16.158Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-08T04:47:16.158Z] ---> 6557d452a594 [2020-10-08T04:47:16.158Z] Step 3/24 : ARG MAKE='make build' [2020-10-08T04:47:16.740Z] ---> Running in fbc557901ae6 [2020-10-08T04:47:16.740Z] Removing intermediate container fbc557901ae6 [2020-10-08T04:47:16.740Z] ---> 7c0157fe1621 [2020-10-08T04:47:16.740Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-08T04:47:17.002Z] ---> Running in 44fcea07c293 [2020-10-08T04:47:17.002Z] Removing intermediate container 44fcea07c293 [2020-10-08T04:47:17.002Z] ---> 51885525ed8d [2020-10-08T04:47:17.002Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-08T04:47:17.002Z] ---> Running in f788f4296e00 [2020-10-08T04:47:17.267Z] Removing intermediate container f788f4296e00 [2020-10-08T04:47:17.267Z] ---> 37d4004853f8 [2020-10-08T04:47:17.267Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-08T04:47:17.267Z] ---> Running in b30258038664 [2020-10-08T04:47:18.227Z] Removing intermediate container b30258038664 [2020-10-08T04:47:18.227Z] ---> 14d41a877106 [2020-10-08T04:47:18.227Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-08T04:47:18.227Z] ---> Running in b5e896eabc54 [2020-10-08T04:47:18.804Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-08T04:47:19.378Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-08T04:47:19.641Z] OK: 166 MiB in 39 packages [2020-10-08T04:47:20.216Z] Removing intermediate container b5e896eabc54 [2020-10-08T04:47:20.216Z] ---> 999059d0e767 [2020-10-08T04:47:20.216Z] Step 8/24 : COPY . . [2020-10-08T04:47:21.613Z] ---> b68e8ddf95d0 [2020-10-08T04:47:21.613Z] Step 9/24 : RUN ${MAKE} [2020-10-08T04:47:21.613Z] ---> Running in 2390766ebe27 [2020-10-08T04:47:21.883Z] 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-08T04:47:28.622Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-08T04:47:30.619Z] gofmt -l . [2020-10-08T04:47:30.619Z] [ "`gofmt -l .`" = "" ] [2020-10-08T04:47:30.619Z] ./bin/test-attribution-txt.sh [2020-10-08T04:47:30.619Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-08T04:47:30.642Z] Warning: overwriting stash ‘coverage-report’ [2020-10-08T04:47:31.178Z] Removing intermediate container 2390766ebe27 [2020-10-08T04:47:31.179Z] ---> 2f14e85a42a0 [2020-10-08T04:47:31.179Z] Step 10/24 : FROM scratch [2020-10-08T04:47:31.179Z] ---> [2020-10-08T04:47:31.179Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-08T04:47:31.179Z] ---> Running in d547ffaed75f [2020-10-08T04:47:31.179Z] Removing intermediate container d547ffaed75f [2020-10-08T04:47:31.179Z] ---> a7607f54dc4b [2020-10-08T04:47:31.179Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-08T04:47:31.179Z] ---> Running in 8edbfd94673b [2020-10-08T04:47:31.179Z] Removing intermediate container 8edbfd94673b [2020-10-08T04:47:31.179Z] ---> e5fbb4366811 [2020-10-08T04:47:31.179Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-08T04:47:31.409Z] Stashed 1 file(s) [Pipeline] } [2020-10-08T04:47:31.414Z] $ docker stop --time=1 46d4c99678f0102cf20fb5020d384d383d7672f95232158b5601f5de33019be0 [2020-10-08T04:47:31.441Z] ---> Running in 98ef6f70ba41 [2020-10-08T04:47:31.441Z] Removing intermediate container 98ef6f70ba41 [2020-10-08T04:47:31.441Z] ---> 87671764161c [2020-10-08T04:47:31.441Z] Step 14/24 : WORKDIR / [2020-10-08T04:47:31.441Z] ---> Running in 26603afb7242 [2020-10-08T04:47:31.703Z] Removing intermediate container 26603afb7242 [2020-10-08T04:47:31.703Z] ---> 992989a056b4 [2020-10-08T04:47:31.703Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-08T04:47:32.278Z] ---> fa414dec8373 [2020-10-08T04:47:32.278Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-08T04:47:32.278Z] ---> db8cf42b0272 [2020-10-08T04:47:32.278Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-08T04:47:32.539Z] ---> 69296f7d62d6 [2020-10-08T04:47:32.539Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-08T04:47:32.801Z] ---> b687e90ad980 [2020-10-08T04:47:32.801Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-08T04:47:33.066Z] ---> fa7556019f5d [2020-10-08T04:47:33.066Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-08T04:47:33.066Z] ---> Running in 75ebda907095 [2020-10-08T04:47:33.330Z] Removing intermediate container 75ebda907095 [2020-10-08T04:47:33.330Z] ---> 0354d48ddb65 [2020-10-08T04:47:33.330Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-08T04:47:33.330Z] ---> Running in d1121f03c358 [2020-10-08T04:47:33.330Z] Removing intermediate container d1121f03c358 [2020-10-08T04:47:33.330Z] ---> 9731bc42724e [2020-10-08T04:47:33.330Z] Step 22/24 : LABEL arch=amd64 [2020-10-08T04:47:33.592Z] ---> Running in a6765f3c0351 [2020-10-08T04:47:33.592Z] Removing intermediate container a6765f3c0351 [2020-10-08T04:47:33.592Z] ---> 05cde9d7e31b [2020-10-08T04:47:33.592Z] Step 23/24 : LABEL git_sha=e195a974d22094be0b338e2aaad815c4000e728c [2020-10-08T04:47:33.592Z] ---> Running in b5c07dda5227 [2020-10-08T04:47:33.734Z] $ docker rm -f 46d4c99678f0102cf20fb5020d384d383d7672f95232158b5601f5de33019be0 [2020-10-08T04:47:34.165Z] Removing intermediate container b5c07dda5227 [2020-10-08T04:47:34.165Z] ---> 15695965c95d [2020-10-08T04:47:34.165Z] Step 24/24 : LABEL version=0.0.0 [2020-10-08T04:47:34.165Z] ---> Running in 2aedd681f91d [2020-10-08T04:47:34.165Z] Removing intermediate container 2aedd681f91d [2020-10-08T04:47:34.165Z] ---> a1c4850312d9 [2020-10-08T04:47:34.165Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-08T04:47:34.165Z] Successfully built a1c4850312d9 [2020-10-08T04:47:34.439Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Build) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] script [Pipeline] { [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-08T04:47:42.970Z] + sudo chown -R jenkins:jenkins . [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2020-10-08T04:47:43.413Z] + ls -al . [2020-10-08T04:47:43.413Z] total 232 [2020-10-08T04:47:43.413Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 8 04:47 . [2020-10-08T04:47:43.413Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 04:44 .. [2020-10-08T04:47:43.413Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 8 04:44 .dockerignore [2020-10-08T04:47:43.413Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 04:44 .git [2020-10-08T04:47:43.413Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 04:44 .github [2020-10-08T04:47:43.413Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 8 04:44 .gitignore [2020-10-08T04:47:43.413Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 04:44 .semver [2020-10-08T04:47:43.413Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 8 04:44 Dockerfile.build [2020-10-08T04:47:43.413Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 8 04:44 Jenkinsfile [2020-10-08T04:47:43.413Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 8 04:44 LICENSE [2020-10-08T04:47:43.413Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 8 04:44 Makefile [2020-10-08T04:47:43.413Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 8 04:44 README.md [2020-10-08T04:47:43.413Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 8 04:44 RELEASE-NOTES.txt [2020-10-08T04:47:43.413Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 04:41 VERSION [2020-10-08T04:47:43.413Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 04:44 bin [2020-10-08T04:47:43.413Z] -rw-r--r-- 1 jenkins jenkins 111047 Oct 8 04:46 coverage.out [2020-10-08T04:47:43.413Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 04:44 example [2020-10-08T04:47:43.413Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 8 04:47 go.mod [2020-10-08T04:47:43.413Z] -rw-r--r-- 1 jenkins jenkins 13652 Oct 8 04:47 go.sum [2020-10-08T04:47:43.413Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 8 04:44 internal [2020-10-08T04:47:43.413Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 04:44 openapi [2020-10-08T04:47:43.413Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 8 04:44 pkg [2020-10-08T04:47:43.413Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 04:44 snap [2020-10-08T04:47:43.413Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 8 04:44 version.go [Pipeline] // stage [Pipeline] } [Pipeline] isUnix [Pipeline] sh [2020-10-08T04:47:43.936Z] + 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=e195a974d22094be0b338e2aaad815c4000e728c --label arch=arm64 --label version=0.0.0 . [2020-10-08T04:47:44.535Z] Sending build context to Docker daemon 3.658MB [2020-10-08T04:47:44.535Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-08T04:47:44.535Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-08T04:47:44.535Z] ---> 6dde9f692c31 [2020-10-08T04:47:44.535Z] Step 3/24 : ARG MAKE='make build' [2020-10-08T04:47:44.809Z] ---> Running in 8611367d6cb2 [2020-10-08T04:47:45.080Z] Removing intermediate container 8611367d6cb2 [2020-10-08T04:47:45.080Z] ---> 8438d4b50769 [2020-10-08T04:47:45.080Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-08T04:47:45.354Z] ---> Running in 5f58b1509b17 [2020-10-08T04:47:45.949Z] Removing intermediate container 5f58b1509b17 [2020-10-08T04:47:45.949Z] ---> 5ab3c0275700 [2020-10-08T04:47:45.949Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-08T04:47:45.949Z] ---> Running in 83bc9a1c041a [2020-10-08T04:47:46.547Z] Removing intermediate container 83bc9a1c041a [2020-10-08T04:47:46.547Z] ---> 291c96fcd575 [2020-10-08T04:47:46.547Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-08T04:47:46.547Z] ---> Running in 7e58656cb8ff [2020-10-08T04:47:49.186Z] Removing intermediate container 7e58656cb8ff [2020-10-08T04:47:49.186Z] ---> db1a90545dc2 [2020-10-08T04:47:49.186Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-08T04:47:49.186Z] ---> Running in e8166a949a9f [2020-10-08T04:47:50.622Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-08T04:47:51.214Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-08T04:47:51.807Z] OK: 142 MiB in 39 packages [2020-10-08T04:47:52.795Z] Removing intermediate container e8166a949a9f [2020-10-08T04:47:52.795Z] ---> 9ac5fc01f8dd [2020-10-08T04:47:52.795Z] Step 8/24 : COPY . . [2020-10-08T04:47:54.232Z] ---> 5d33463f58f3 [2020-10-08T04:47:54.232Z] Step 9/24 : RUN ${MAKE} [2020-10-08T04:47:54.507Z] ---> Running in c39f3c90fddc [2020-10-08T04:47:55.950Z] 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-08T04:48:22.780Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-08T04:48:22.780Z] Removing intermediate container c39f3c90fddc [2020-10-08T04:48:22.780Z] ---> bc33ec88ac81 [2020-10-08T04:48:22.780Z] Step 10/24 : FROM scratch [2020-10-08T04:48:22.780Z] ---> [2020-10-08T04:48:22.780Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-08T04:48:22.780Z] ---> Running in abf96327f5b5 [2020-10-08T04:48:22.780Z] Removing intermediate container abf96327f5b5 [2020-10-08T04:48:22.780Z] ---> 8cedbc488f02 [2020-10-08T04:48:22.780Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-08T04:48:22.780Z] ---> Running in 2595ca742df6 [2020-10-08T04:48:23.054Z] Removing intermediate container 2595ca742df6 [2020-10-08T04:48:23.054Z] ---> 1451ce957518 [2020-10-08T04:48:23.054Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-08T04:48:23.054Z] ---> Running in 6f2efe4e3ca8 [2020-10-08T04:48:23.650Z] Removing intermediate container 6f2efe4e3ca8 [2020-10-08T04:48:23.650Z] ---> 24d837348c3f [2020-10-08T04:48:23.650Z] Step 14/24 : WORKDIR / [2020-10-08T04:48:23.650Z] ---> Running in 66879271069f [2020-10-08T04:48:23.923Z] Removing intermediate container 66879271069f [2020-10-08T04:48:23.923Z] ---> edb53cbfd260 [2020-10-08T04:48:23.923Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-08T04:48:25.358Z] ---> 9dafb20b8074 [2020-10-08T04:48:25.358Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-08T04:48:25.969Z] ---> 52d4d85367e8 [2020-10-08T04:48:25.970Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-08T04:48:26.946Z] ---> dd7fd758b50c [2020-10-08T04:48:26.946Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-08T04:48:27.542Z] ---> e32750c3341d [2020-10-08T04:48:27.542Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-08T04:48:28.520Z] ---> e5c64ef85cef [2020-10-08T04:48:28.520Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-08T04:48:28.520Z] ---> Running in d5182e08c5c6 [2020-10-08T04:48:29.112Z] Removing intermediate container d5182e08c5c6 [2020-10-08T04:48:29.112Z] ---> 38c64e85e3ba [2020-10-08T04:48:29.112Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-08T04:48:29.112Z] ---> Running in d7d4dd28caa8 [2020-10-08T04:48:29.708Z] Removing intermediate container d7d4dd28caa8 [2020-10-08T04:48:29.708Z] ---> 4f3c5e8e047c [2020-10-08T04:48:29.708Z] Step 22/24 : LABEL arch=arm64 [2020-10-08T04:48:29.708Z] ---> Running in 3bc38a7f72de [2020-10-08T04:48:30.307Z] Removing intermediate container 3bc38a7f72de [2020-10-08T04:48:30.307Z] ---> 81c8a1208780 [2020-10-08T04:48:30.307Z] Step 23/24 : LABEL git_sha=e195a974d22094be0b338e2aaad815c4000e728c [2020-10-08T04:48:30.307Z] ---> Running in f226273ffd4a [2020-10-08T04:48:30.903Z] Removing intermediate container f226273ffd4a [2020-10-08T04:48:30.903Z] ---> cd36fda0f8e9 [2020-10-08T04:48:30.903Z] Step 24/24 : LABEL version=0.0.0 [2020-10-08T04:48:30.903Z] ---> Running in 821a17aac310 [2020-10-08T04:48:31.496Z] Removing intermediate container 821a17aac310 [2020-10-08T04:48:31.496Z] ---> a2ab5218fdd3 [2020-10-08T04:48:31.496Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-08T04:48:31.496Z] Successfully built a2ab5218fdd3 [2020-10-08T04:48:31.496Z] 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-08T04:48:33.681Z] provisioning config files... [2020-10-08T04:48:33.694Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config4837498580302474902tmp [Pipeline] { [Pipeline] sh [2020-10-08T04:48:34.079Z] + set +x [2020-10-08T04:48:34.080Z] + curl -s https://codecov.io/bash [2020-10-08T04:48:34.080Z] + bash -s -- [2020-10-08T04:48:34.342Z] [2020-10-08T04:48:34.342Z] _____ _ [2020-10-08T04:48:34.342Z] / ____| | | [2020-10-08T04:48:34.342Z] | | ___ __| | ___ ___ _____ __ [2020-10-08T04:48:34.342Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-08T04:48:34.342Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-08T04:48:34.342Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-08T04:48:34.342Z] Bash-20201007-7e25d0a [2020-10-08T04:48:34.342Z] [2020-10-08T04:48:34.342Z] [2020-10-08T04:48:34.342Z] ==> Jenkins CI detected. [2020-10-08T04:48:34.342Z] project root: . [2020-10-08T04:48:34.342Z] --> token set from env [2020-10-08T04:48:34.342Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-08T04:48:34.342Z] ==> Running gcov in . (disable via -X gcov) [2020-10-08T04:48:34.342Z] ==> Python coveragepy not found [2020-10-08T04:48:34.342Z] ==> Searching for coverage reports in: [2020-10-08T04:48:34.342Z] + . [2020-10-08T04:48:34.342Z] -> Found 1 reports [2020-10-08T04:48:34.342Z] ==> Detecting git/mercurial file structure [2020-10-08T04:48:34.604Z] ==> Reading reports [2020-10-08T04:48:34.604Z] + ./coverage.out bytes=111047 [2020-10-08T04:48:34.604Z] ==> Appending adjustments [2020-10-08T04:48:34.604Z] https://docs.codecov.io/docs/fixing-reports [2020-10-08T04:48:34.868Z] + Found adjustments [2020-10-08T04:48:34.868Z] ==> Gzipping contents [2020-10-08T04:48:34.868Z] ==> Uploading reports [2020-10-08T04:48:34.868Z] url: https://codecov.io [2020-10-08T04:48:34.868Z] query: branch=PR-605&commit=e195a974d22094be0b338e2aaad815c4000e728c&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-605%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=605&job=&cmd_args= [2020-10-08T04:48:34.868Z] -> Pinging Codecov [2020-10-08T04:48:34.868Z] https://codecov.io/upload/v4?package=bash-20201007-7e25d0a&token=secret&branch=PR-605&commit=e195a974d22094be0b338e2aaad815c4000e728c&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-605%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=605&job=&cmd_args= [2020-10-08T04:48:35.130Z] -> Uploading to [2020-10-08T04:48:35.130Z] [2020-10-08T04:48:35.130Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-08T04:48:35.130Z] Dload Upload Total Spent Left Speed [2020-10-08T04:48:35.130Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-08T04:48:35.130Z] X> Failed to upload [2020-10-08T04:48:35.130Z] ==> Uploading to Codecov [2020-10-08T04:48:35.130Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-08T04:48:35.130Z] Dload Upload Total Spent Left Speed [2020-10-08T04:48:36.075Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 20013 0 0 100 19903 0 28159 --:--:-- --:--:-- --:--:-- 28151 100 20013 100 110 100 19903 155 28150 --:--:-- --:--:-- --:--:-- 28151 [2020-10-08T04:48:36.075Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e195a974d22094be0b338e2aaad815c4000e728c [Pipeline] } [2020-10-08T04:48:36.085Z] 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-08T04:48:38.614Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-08T04:48:39.190Z] ---> package-listing.sh [2020-10-08T04:48:39.191Z] ++ facter osfamily [2020-10-08T04:48:39.191Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-08T04:48:39.191Z] + OS_FAMILY=redhat [2020-10-08T04:48:39.191Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-605 [2020-10-08T04:48:39.191Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-08T04:48:39.191Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-08T04:48:39.191Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-08T04:48:39.191Z] + PACKAGES=/tmp/packages_start.txt [2020-10-08T04:48:39.191Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' [2020-10-08T04:48:39.191Z] + PACKAGES=/tmp/packages_end.txt [2020-10-08T04:48:39.191Z] + case "${OS_FAMILY}" in [2020-10-08T04:48:39.191Z] + rpm -qa [2020-10-08T04:48:39.191Z] + sort [2020-10-08T04:48:43.422Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-08T04:48:43.422Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-08T04:48:43.422Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-08T04:48:43.422Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' [2020-10-08T04:48:43.422Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ [2020-10-08T04:48:43.422Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-08T04:48:43.631Z] provisioning config files... [2020-10-08T04:48:43.651Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config7912590943384618281tmp [Pipeline] { [Pipeline] echo [2020-10-08T04:48:43.754Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-08T04:48:44.053Z] ---> create-netrc.sh [Pipeline] } [2020-10-08T04:48:44.063Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-08T04:48:44.213Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-08T04:48:44.515Z] ---> python-tools-install.sh [2020-10-08T04:48:44.515Z] Generating Requirements File [2020-10-08T04:50:06.089Z] Python 3.6.8 [2020-10-08T04:50:06.089Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-08T04:50:06.089Z] appdirs==1.4.3 [2020-10-08T04:50:06.089Z] argcomplete==1.12.1 [2020-10-08T04:50:06.089Z] aspy.yaml==1.3.0 [2020-10-08T04:50:06.089Z] attrs==19.3.0 [2020-10-08T04:50:06.089Z] Babel==2.8.0 [2020-10-08T04:50:06.089Z] beautifulsoup4==4.8.2 [2020-10-08T04:50:06.089Z] boto3==1.11.6 [2020-10-08T04:50:06.089Z] botocore==1.14.6 [2020-10-08T04:50:06.089Z] bs4==0.0.1 [2020-10-08T04:50:06.089Z] cachetools==4.1.1 [2020-10-08T04:50:06.089Z] certifi==2019.11.28 [2020-10-08T04:50:06.089Z] cffi==1.14.3 [2020-10-08T04:50:06.089Z] cfgv==2.0.1 [2020-10-08T04:50:06.089Z] chardet==3.0.4 [2020-10-08T04:50:06.089Z] click==7.1 [2020-10-08T04:50:06.089Z] cliff==3.4.0 [2020-10-08T04:50:06.089Z] cmd2==1.3.11 [2020-10-08T04:50:06.089Z] colorama==0.4.3 [2020-10-08T04:50:06.089Z] cryptography==3.1.1 [2020-10-08T04:50:06.089Z] debtcollector==2.2.0 [2020-10-08T04:50:06.089Z] decorator==4.4.2 [2020-10-08T04:50:06.089Z] defusedxml==0.6.0 [2020-10-08T04:50:06.089Z] Deprecated==1.2.7 [2020-10-08T04:50:06.089Z] distlib==0.3.1 [2020-10-08T04:50:06.089Z] distro==1.2.0 [2020-10-08T04:50:06.089Z] dnspython==1.16.0 [2020-10-08T04:50:06.089Z] docker==4.2.0 [2020-10-08T04:50:06.089Z] docutils==0.15.2 [2020-10-08T04:50:06.089Z] dogpile.cache==1.0.2 [2020-10-08T04:50:06.089Z] email-validator==1.0.5 [2020-10-08T04:50:06.089Z] filelock==3.0.12 [2020-10-08T04:50:06.089Z] future==0.18.2 [2020-10-08T04:50:06.089Z] google-auth==1.22.1 [2020-10-08T04:50:06.089Z] httplib2==0.17.0 [2020-10-08T04:50:06.089Z] identify==1.4.11 [2020-10-08T04:50:06.089Z] idna==2.9 [2020-10-08T04:50:06.089Z] importlib-metadata==1.7.0 [2020-10-08T04:50:06.089Z] importlib-resources==1.5.0 [2020-10-08T04:50:06.089Z] iso8601==0.1.13 [2020-10-08T04:50:06.089Z] Jinja2==2.11.1 [2020-10-08T04:50:06.089Z] jmespath==0.10.0 [2020-10-08T04:50:06.089Z] jsonpatch==1.26 [2020-10-08T04:50:06.089Z] jsonpointer==2.0 [2020-10-08T04:50:06.089Z] jsonschema==3.2.0 [2020-10-08T04:50:06.089Z] keystoneauth1==4.2.1 [2020-10-08T04:50:06.089Z] kubernetes==11.0.0 [2020-10-08T04:50:06.089Z] lftools==0.34.2 [2020-10-08T04:50:06.089Z] lxml==4.5.0 [2020-10-08T04:50:06.089Z] MarkupSafe==0.23 [2020-10-08T04:50:06.089Z] msgpack==1.0.0 [2020-10-08T04:50:06.089Z] multi-key-dict==2.0.3 [2020-10-08T04:50:06.089Z] munch==2.5.0 [2020-10-08T04:50:06.089Z] netaddr==0.8.0 [2020-10-08T04:50:06.089Z] netifaces==0.10.9 [2020-10-08T04:50:06.089Z] niet==1.4.2 [2020-10-08T04:50:06.089Z] nodeenv==1.3.5 [2020-10-08T04:50:06.089Z] oauth2client==4.1.3 [2020-10-08T04:50:06.089Z] oauthlib==3.1.0 [2020-10-08T04:50:06.089Z] openstacksdk==0.50.0 [2020-10-08T04:50:06.089Z] os-client-config==2.1.0 [2020-10-08T04:50:06.089Z] os-service-types==1.7.0 [2020-10-08T04:50:06.089Z] osc-lib==2.2.1 [2020-10-08T04:50:06.089Z] oslo.config==8.3.2 [2020-10-08T04:50:06.089Z] oslo.context==3.1.1 [2020-10-08T04:50:06.089Z] oslo.i18n==5.0.1 [2020-10-08T04:50:06.089Z] oslo.log==4.4.0 [2020-10-08T04:50:06.089Z] oslo.serialization==4.0.1 [2020-10-08T04:50:06.089Z] oslo.utils==4.6.0 [2020-10-08T04:50:06.089Z] packaging==20.4 [2020-10-08T04:50:06.089Z] pbr==5.4.4 [2020-10-08T04:50:06.089Z] pluggy==0.13.1 [2020-10-08T04:50:06.089Z] prettytable==0.7.2 [2020-10-08T04:50:06.089Z] py==1.9.0 [2020-10-08T04:50:06.089Z] pyasn1==0.4.8 [2020-10-08T04:50:06.089Z] pyasn1-modules==0.2.8 [2020-10-08T04:50:06.089Z] pycparser==2.20 [2020-10-08T04:50:06.089Z] pygerrit2==2.0.10 [2020-10-08T04:50:06.089Z] PyGithub==1.46 [2020-10-08T04:50:06.089Z] pyinotify==0.9.6 [2020-10-08T04:50:06.089Z] PyJWT==1.7.1 [2020-10-08T04:50:06.089Z] pyparsing==2.4.7 [2020-10-08T04:50:06.089Z] pyperclip==1.8.0 [2020-10-08T04:50:06.089Z] pyroute2==0.4.13 [2020-10-08T04:50:06.089Z] pyrsistent==0.15.7 [2020-10-08T04:50:06.089Z] PySocks==1.6.8 [2020-10-08T04:50:06.089Z] python-cinderclient==7.2.0 [2020-10-08T04:50:06.089Z] python-dateutil==2.8.1 [2020-10-08T04:50:06.089Z] python-heatclient==2.2.1 [2020-10-08T04:50:06.089Z] python-jenkins==1.7.0 [2020-10-08T04:50:06.089Z] python-keystoneclient==4.1.1 [2020-10-08T04:50:06.089Z] python-magnumclient==3.2.1 [2020-10-08T04:50:06.089Z] python-novaclient==17.2.1 [2020-10-08T04:50:06.089Z] python-openstackclient==5.4.0 [2020-10-08T04:50:06.089Z] python-swiftclient==3.10.1 [2020-10-08T04:50:06.089Z] pytz==2020.1 [2020-10-08T04:50:06.089Z] PyYAML==5.3 [2020-10-08T04:50:06.089Z] requests==2.23.0 [2020-10-08T04:50:06.089Z] requests-oauthlib==1.3.0 [2020-10-08T04:50:06.089Z] requestsexceptions==1.4.0 [2020-10-08T04:50:06.089Z] rfc3986==1.4.0 [2020-10-08T04:50:06.089Z] rpm==4.11.3 [2020-10-08T04:50:06.089Z] rsa==4.0 [2020-10-08T04:50:06.089Z] ruamel.yaml==0.16.10 [2020-10-08T04:50:06.089Z] ruamel.yaml.clib==0.2.0 [2020-10-08T04:50:06.089Z] s3transfer==0.3.3 [2020-10-08T04:50:06.089Z] shade==1.27.2 [2020-10-08T04:50:06.089Z] simplejson==3.17.2 [2020-10-08T04:50:06.089Z] six==1.14.0 [2020-10-08T04:50:06.089Z] soupsieve==2.0 [2020-10-08T04:50:06.089Z] stevedore==3.2.2 [2020-10-08T04:50:06.089Z] tabulate==0.8.6 [2020-10-08T04:50:06.089Z] toml==0.10.0 [2020-10-08T04:50:06.089Z] tox==3.20.0 [2020-10-08T04:50:06.089Z] tqdm==4.43.0 [2020-10-08T04:50:06.089Z] urllib3==1.25.8 [2020-10-08T04:50:06.089Z] virtualenv==20.0.33 [2020-10-08T04:50:06.089Z] wcwidth==0.2.5 [2020-10-08T04:50:06.089Z] websocket-client==0.57.0 [2020-10-08T04:50:06.089Z] wrapt==1.12.1 [2020-10-08T04:50:06.089Z] xdg==3.0.2 [2020-10-08T04:50:06.089Z] xmltodict==0.12.0 [2020-10-08T04:50:06.089Z] yq==2.11.1 [2020-10-08T04:50:06.089Z] zipp==3.3.0 [2020-10-08T04:50:06.089Z] Cache entry deserialization failed, entry ignored [2020-10-08T04:50:06.089Z] 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-08T04:50:06.089Z] Python 2.7.5 [2020-10-08T04:50:06.089Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-08T04:50:06.089Z] 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-08T04:50:06.089Z] ansible==2.9.7 [2020-10-08T04:50:06.089Z] Babel==0.9.6 [2020-10-08T04:50:06.089Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-08T04:50:06.089Z] beautifulsoup4==4.4.1 [2020-10-08T04:50:06.089Z] bodhi==2.11.0 [2020-10-08T04:50:06.089Z] bodhi-client==2.11.0 [2020-10-08T04:50:06.089Z] CCColUtils==1.4 [2020-10-08T04:50:06.089Z] cffi==1.6.0 [2020-10-08T04:50:06.089Z] chardet==2.2.1 [2020-10-08T04:50:06.089Z] click==6.7 [2020-10-08T04:50:06.089Z] cloud-init==18.5 [2020-10-08T04:50:06.089Z] configobj==4.7.2 [2020-10-08T04:50:06.089Z] cryptography==1.7.2 [2020-10-08T04:50:06.089Z] decorator==3.4.0 [2020-10-08T04:50:06.089Z] distro==1.2.0 [2020-10-08T04:50:06.089Z] enum34==1.0.4 [2020-10-08T04:50:06.089Z] fedpkg==1.38 [2020-10-08T04:50:06.089Z] futures==3.1.1 [2020-10-08T04:50:06.089Z] gitdb==0.6.4 [2020-10-08T04:50:06.089Z] GitPython==1.0.1 [2020-10-08T04:50:06.089Z] html5lib==0.999 [2020-10-08T04:50:06.089Z] httplib2==0.9.2 [2020-10-08T04:50:06.089Z] idna==2.4 [2020-10-08T04:50:06.089Z] iniparse==0.4 [2020-10-08T04:50:06.089Z] ipaddress==1.0.16 [2020-10-08T04:50:06.089Z] IPy==0.75 [2020-10-08T04:50:06.089Z] javapackages==1.0.0 [2020-10-08T04:50:06.089Z] Jinja2==2.7.2 [2020-10-08T04:50:06.089Z] jmespath==0.9.4 [2020-10-08T04:50:06.089Z] jsonpatch==1.2 [2020-10-08T04:50:06.089Z] jsonpointer==1.9 [2020-10-08T04:50:06.089Z] kerberos==1.1 [2020-10-08T04:50:06.089Z] kitchen==1.1.1 [2020-10-08T04:50:06.089Z] langtable==0.0.31 [2020-10-08T04:50:06.089Z] lockfile==0.9.1 [2020-10-08T04:50:06.089Z] lxml==3.2.1 [2020-10-08T04:50:06.089Z] MarkupSafe==0.11 [2020-10-08T04:50:06.089Z] munch==2.0.2 [2020-10-08T04:50:06.089Z] offtrac==0.1.0 [2020-10-08T04:50:06.089Z] openidc-client==0.6.0 [2020-10-08T04:50:06.089Z] packagedb-cli==2.14.1 [2020-10-08T04:50:06.089Z] paramiko==2.1.1 [2020-10-08T04:50:06.089Z] perf==0.1 [2020-10-08T04:50:06.089Z] ply==3.4 [2020-10-08T04:50:06.089Z] policycoreutils-default-encoding==0.1 [2020-10-08T04:50:06.089Z] prettytable==0.7.2 [2020-10-08T04:50:06.089Z] pyasn1==0.1.9 [2020-10-08T04:50:06.089Z] pycparser==2.14 [2020-10-08T04:50:06.089Z] pycurl==7.19.0 [2020-10-08T04:50:06.089Z] pygobject==3.22.0 [2020-10-08T04:50:06.089Z] pygpgme==0.3 [2020-10-08T04:50:06.089Z] pyliblzma==0.5.3 [2020-10-08T04:50:06.089Z] pyOpenSSL==0.13.1 [2020-10-08T04:50:06.089Z] pyparsing==1.5.6 [2020-10-08T04:50:06.089Z] pyserial==2.6 [2020-10-08T04:50:06.089Z] python-augeas==0.5.0 [2020-10-08T04:50:06.089Z] python-bugzilla==2.3.0 [2020-10-08T04:50:06.089Z] python-dateutil==1.5 [2020-10-08T04:50:06.089Z] python-fedora==0.10.0 [2020-10-08T04:50:06.089Z] python-linux-procfs==0.4.9 [2020-10-08T04:50:06.089Z] python-yubico==1.2.3 [2020-10-08T04:50:06.089Z] pyudev==0.15 [2020-10-08T04:50:06.089Z] pyusb==1.0.0b1 [2020-10-08T04:50:06.089Z] pyxattr==0.5.1 [2020-10-08T04:50:06.089Z] PyYAML==3.10 [2020-10-08T04:50:06.089Z] requests==2.6.0 [2020-10-08T04:50:06.089Z] requests-kerberos==0.7.0 [2020-10-08T04:50:06.089Z] rpkg==1.60 [2020-10-08T04:50:06.089Z] schedutils==0.4 [2020-10-08T04:50:06.089Z] seobject==0.1 [2020-10-08T04:50:06.089Z] sepolicy==1.1 [2020-10-08T04:50:06.089Z] six==1.9.0 [2020-10-08T04:50:06.089Z] smmap==0.9.0 [2020-10-08T04:50:06.089Z] urlgrabber==3.10 [2020-10-08T04:50:06.089Z] urllib3==1.10.2 [2020-10-08T04:50:06.089Z] virtualenv==15.1.0 [2020-10-08T04:50:06.089Z] yum-langpacks==0.4.2 [2020-10-08T04:50:06.089Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-08T04:50:06.100Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-08T04:50:06.400Z] ---> sudo-logs.sh [2020-10-08T04:50:06.401Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-08T04:50:06.675Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-08T04:50:06.974Z] ---> job-cost.sh [2020-10-08T04:50:06.974Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GUUi [2020-10-08T04:50:19.234Z] Cache entry deserialization failed, entry ignored [2020-10-08T04:50:19.234Z] Cache entry deserialization failed, entry ignored [2020-10-08T04:50:19.234Z] Cache entry deserialization failed, entry ignored [2020-10-08T04:50:19.234Z] Cache entry deserialization failed, entry ignored [2020-10-08T04:50:19.234Z] Cache entry deserialization failed, entry ignored [2020-10-08T04:50:19.234Z] Cache entry deserialization failed, entry ignored [2020-10-08T04:50:19.234Z] Cache entry deserialization failed, entry ignored [2020-10-08T04:50:19.234Z] Cache entry deserialization failed, entry ignored [2020-10-08T04:50:19.510Z] Cache entry deserialization failed, entry ignored [2020-10-08T04:50:19.510Z] Cache entry deserialization failed, entry ignored [2020-10-08T04:50:19.510Z] Cache entry deserialization failed, entry ignored [2020-10-08T04:50:19.510Z] Cache entry deserialization failed, entry ignored [2020-10-08T04:50:22.826Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-08T04:50:55.002Z] lf-activate-venv(): INFO: Adding /tmp/venv-GUUi/bin to PATH [2020-10-08T04:50:55.002Z] INFO: No Stack... [2020-10-08T04:50:55.002Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-08T04:50:55.002Z] INFO: Archiving Costs [Pipeline] echo [2020-10-08T04:50:55.017Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-08T04:50:55.327Z] ---> logs-deploy.sh [2020-10-08T04:50:55.327Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-605/9 [2020-10-08T04:50:55.327Z] INFO: archiving workspace using pattern(s): [2020-10-08T04:50:56.760Z] Archives upload complete. [2020-10-08T04:50:57.023Z] INFO: archiving logs to Nexus