Pull request #605 opened 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 7b5fd9d962cdf83f85a250be553d98a0b2d14ccb+4a1412fe3679be6652f13296ba45411ccc085237 (ec91197fe380eba5b48b5f3a12cae5ea60c8825b) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-605/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-605/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-2743 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 > 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 Merging remotes/origin/master commit 4a1412fe3679be6652f13296ba45411ccc085237 into PR head commit 7b5fd9d962cdf83f85a250be553d98a0b2d14ccb Merge succeeded, producing 7b5fd9d962cdf83f85a250be553d98a0b2d14ccb Checking out Revision 7b5fd9d962cdf83f85a250be553d98a0b2d14ccb (PR-605) > git config core.sparsecheckout # timeout=10 > git checkout -f 7b5fd9d962cdf83f85a250be553d98a0b2d14ccb # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4a1412fe3679be6652f13296ba45411ccc085237 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7b5fd9d962cdf83f85a250be553d98a0b2d14ccb # timeout=10 Commit message: "feat: implement v2 callback api" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-01T12:41:59.764Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-01T12:42:00.142Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-01T12:42:00.406Z] ========================================================= [2020-10-01T12:42:00.406Z] EdgeX Global Pipelines Version Info [2020-10-01T12:42:00.406Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-01T12:42:02.424Z] ------------------- [2020-10-01T12:42:02.425Z] stable info: [2020-10-01T12:42:02.425Z] ------------------- [2020-10-01T12:42:02.425Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-01T12:42:02.425Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-01T12:42:02.425Z] Message: update stable to v1.0.131 [2020-10-01T12:42:03.373Z] ------------------- [2020-10-01T12:42:03.373Z] experimental info: [2020-10-01T12:42:03.373Z] ------------------- [2020-10-01T12:42:03.373Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-01T12:42:03.373Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-01T12:42:03.373Z] Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-01T12:42:04.061Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-01T12:42:04.211Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-01T12:42:04.353Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-01T12:42:04.497Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-01T12:42:04.636Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-01T12:42:04.772Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-01T12:42:04.914Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-01T12:42:05.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-01T12:42:05.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-01T12:42:05.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-01T12:42:05.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-01T12:42:05.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-01T12:42:05.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-01T12:42:06.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-01T12:42:06.155Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-01T12:42:06.296Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-01T12:42:06.429Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-01T12:42:06.565Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-01T12:42:06.767Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-01T12:42:06.902Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-01T12:42:07.062Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-01T12:42:07.215Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-01T12:42:07.359Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-01T12:42:07.495Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-01T12:42:07.641Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-01T12:42:07.778Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-605 [Pipeline] echo [2020-10-01T12:42:07.924Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-605 [Pipeline] echo [2020-10-01T12:42:08.059Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-605 [Pipeline] echo [2020-10-01T12:42:08.197Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7b5fd9d962cdf83f85a250be553d98a0b2d14ccb [Pipeline] echo [2020-10-01T12:42:08.334Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7b5fd9d [Pipeline] echo [2020-10-01T12:42:08.471Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-01T12:42:09.257Z] + git log --format=format:%s -1 7b5fd9d962cdf83f85a250be553d98a0b2d14ccb [Pipeline] echo [2020-10-01T12:42:09.354Z] GIT_COMMIT: 7b5fd9d962cdf83f85a250be553d98a0b2d14ccb, Commit Message: feat: implement v2 callback api [Pipeline] echo [2020-10-01T12:42:09.434Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-01T12:42:10.295Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-01T12:42:10.560Z] [2020-10-01T12:42:10.560Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-01T12:42:10.961Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-01T12:42:10.961Z] latest: Pulling from edgex-devops/git-semver [2020-10-01T12:42:10.961Z] 31603596830f: Pulling fs layer [2020-10-01T12:42:10.961Z] 2a8b12db71e7: Pulling fs layer [2020-10-01T12:42:10.961Z] 6ca5941a6612: Pulling fs layer [2020-10-01T12:42:10.961Z] ecc8261a40a4: Pulling fs layer [2020-10-01T12:42:10.961Z] ecc8261a40a4: Waiting [2020-10-01T12:42:10.961Z] 2a8b12db71e7: Verifying Checksum [2020-10-01T12:42:10.961Z] 2a8b12db71e7: Download complete [2020-10-01T12:42:11.226Z] 31603596830f: Download complete [2020-10-01T12:42:11.490Z] ecc8261a40a4: Verifying Checksum [2020-10-01T12:42:11.490Z] ecc8261a40a4: Download complete [2020-10-01T12:42:11.490Z] 6ca5941a6612: Verifying Checksum [2020-10-01T12:42:11.490Z] 6ca5941a6612: Download complete [2020-10-01T12:42:11.490Z] 31603596830f: Pull complete [2020-10-01T12:42:11.754Z] 2a8b12db71e7: Pull complete [2020-10-01T12:42:12.701Z] 6ca5941a6612: Pull complete [2020-10-01T12:42:12.701Z] ecc8261a40a4: Pull complete [2020-10-01T12:42:12.701Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-01T12:42:12.702Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-01T12:42:12.702Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-01T12:42:12.832Z] prd-centos7-docker-4c-2g-2743 does not seem to be running inside a container [2020-10-01T12:42:12.940Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-01T12:42:14.885Z] $ docker top 6f67eb154080991a502fb8bb7066cdf59d31d77f5625cb6421662aac6a22d8f7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-01T12:42:15.263Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-01T12:42:15.263Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-01T12:42:15.473Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-01T12:42:15.485Z] $ docker exec 6f67eb154080991a502fb8bb7066cdf59d31d77f5625cb6421662aac6a22d8f7 ssh-agent [2020-10-01T12:42:15.639Z] SSH_AUTH_SOCK=/tmp/ssh-BNgTCXMG5T8w/agent.12 [2020-10-01T12:42:15.639Z] SSH_AGENT_PID=17 [2020-10-01T12:42:15.651Z] Running ssh-add (command line suppressed) [2020-10-01T12:42:15.771Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_3092904277873212004.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_3092904277873212004.key) [2020-10-01T12:42:15.814Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-01T12:42:16.237Z] + git describe --exact-match --tags HEAD [2020-10-01T12:42:16.237Z] fatal: no tag exactly matches '7b5fd9d962cdf83f85a250be553d98a0b2d14ccb' [Pipeline] } [2020-10-01T12:42:16.291Z] $ docker exec --env ******** --env ******** 6f67eb154080991a502fb8bb7066cdf59d31d77f5625cb6421662aac6a22d8f7 ssh-agent -k [2020-10-01T12:42:16.407Z] unset SSH_AUTH_SOCK; [2020-10-01T12:42:16.407Z] unset SSH_AGENT_PID; [2020-10-01T12:42:16.407Z] echo Agent pid 17 killed; [2020-10-01T12:42:16.446Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-01T12:42:16.613Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-01T12:42:16.613Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-01T12:42:16.741Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-01T12:42:16.741Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-01T12:42:16.898Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-01T12:42:16.908Z] $ docker exec 6f67eb154080991a502fb8bb7066cdf59d31d77f5625cb6421662aac6a22d8f7 ssh-agent [2020-10-01T12:42:17.060Z] SSH_AUTH_SOCK=/tmp/ssh-EvZAT9EqRxnR/agent.46 [2020-10-01T12:42:17.060Z] SSH_AGENT_PID=51 [2020-10-01T12:42:17.067Z] Running ssh-add (command line suppressed) [2020-10-01T12:42:17.189Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_7881139626783871527.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_7881139626783871527.key) [2020-10-01T12:42:17.233Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-01T12:42:17.611Z] + git semver init [2020-10-01T12:42:17.611Z] # -> Open(): unable to determine branch for HEAD [2020-10-01T12:42:17.611Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.git [2020-10-01T12:42:17.611Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-605 [2020-10-01T12:42:17.611Z] # $SEMVER_REMOTE_NAME = origin [2020-10-01T12:42:17.611Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-01T12:42:17.611Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-01T12:42:17.611Z] # $SEMVER_BRANCH = PR-605 [2020-10-01T12:42:17.611Z] # $SEMVER_TEMP = /tmp/semver-231032348 [2020-10-01T12:42:17.611Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-01T12:42:18.186Z] # '/tmp/semver-231032348' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver' [2020-10-01T12:42:18.186Z] # -> Force: false [2020-10-01T12:42:18.186Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver [Pipeline] } [2020-10-01T12:42:18.216Z] $ docker exec --env ******** --env ******** 6f67eb154080991a502fb8bb7066cdf59d31d77f5625cb6421662aac6a22d8f7 ssh-agent -k [2020-10-01T12:42:18.335Z] unset SSH_AUTH_SOCK; [2020-10-01T12:42:18.335Z] unset SSH_AGENT_PID; [2020-10-01T12:42:18.335Z] echo Agent pid 51 killed; [2020-10-01T12:42:18.374Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-01T12:42:18.962Z] + git semver [Pipeline] } [2020-10-01T12:42:19.004Z] $ docker stop --time=1 6f67eb154080991a502fb8bb7066cdf59d31d77f5625cb6421662aac6a22d8f7 [2020-10-01T12:42:20.329Z] $ docker rm -f 6f67eb154080991a502fb8bb7066cdf59d31d77f5625cb6421662aac6a22d8f7 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-01T12:42:21.418Z] Stashed 40 file(s) [Pipeline] echo [2020-10-01T12:42:21.461Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-01T12:42:21.591Z] 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-01T12:42:37.463Z] Still waiting to schedule task [2020-10-01T12:42:37.463Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2743’ [2020-10-01T12:42:37.494Z] Still waiting to schedule task [2020-10-01T12:42:37.494Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-01T12:44:35.542Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2744 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [Pipeline] { [Pipeline] ws [2020-10-01T12:44:35.639Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-01T12:44:40.776Z] using credential edgex-jenkins-ssh [2020-10-01T12:44:40.836Z] Cloning the remote Git repository [2020-10-01T12:44:40.896Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-01T12:44:41.014Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-01T12:44:41.077Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-01T12:44:41.078Z] > git --version # timeout=10 [2020-10-01T12:44:41.098Z] > git --version # 'git version 2.17.1' [2020-10-01T12:44:41.100Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-01T12:44:41.164Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-01T12:44:42.890Z] Merging remotes/origin/master commit 4a1412fe3679be6652f13296ba45411ccc085237 into PR head commit 7b5fd9d962cdf83f85a250be553d98a0b2d14ccb [2020-10-01T12:44:43.097Z] Merge succeeded, producing 7b5fd9d962cdf83f85a250be553d98a0b2d14ccb [2020-10-01T12:44:43.098Z] Checking out Revision 7b5fd9d962cdf83f85a250be553d98a0b2d14ccb (PR-605) [2020-10-01T12:44:42.175Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-01T12:44:42.189Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-01T12:44:42.224Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-01T12:44:42.253Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-01T12:44:42.253Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-01T12:44:42.265Z] > 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-01T12:44:42.915Z] > git config core.sparsecheckout # timeout=10 [2020-10-01T12:44:42.929Z] > git checkout -f 7b5fd9d962cdf83f85a250be553d98a0b2d14ccb # timeout=10 [2020-10-01T12:44:43.030Z] > git remote # timeout=10 [2020-10-01T12:44:43.047Z] > git config --get remote.origin.url # timeout=10 [2020-10-01T12:44:43.060Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-01T12:44:43.069Z] > git merge 4a1412fe3679be6652f13296ba45411ccc085237 # timeout=10 [2020-10-01T12:44:43.089Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-01T12:44:43.109Z] > git config core.sparsecheckout # timeout=10 [2020-10-01T12:44:43.132Z] > git checkout -f 7b5fd9d962cdf83f85a250be553d98a0b2d14ccb # timeout=10 [2020-10-01T12:44:47.469Z] Commit message: "feat: implement v2 callback api" [2020-10-01T12:44:47.541Z] > git --version # timeout=10 [2020-10-01T12:44:47.553Z] > git --version # 'git version 2.17.1' [2020-10-01T12:44:47.568Z] fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-01T12:44:49.419Z] ========================================================= [2020-10-01T12:44:49.419Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-01T12:44:49.419Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-01T12:44:50.593Z] + 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-01T12:44:51.582Z] Sending build context to Docker daemon 3.448MB [2020-10-01T12:44:51.582Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-01T12:44:51.582Z] Step 2/8 : FROM ${BASE} [2020-10-01T12:44:51.857Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-01T12:44:51.857Z] b538f80385f9: Pulling fs layer [2020-10-01T12:44:51.857Z] 74f711af9a0d: Pulling fs layer [2020-10-01T12:44:51.857Z] 99f96fe45779: Pulling fs layer [2020-10-01T12:44:51.857Z] 8529a6b9a6be: Pulling fs layer [2020-10-01T12:44:51.857Z] 45590311c82a: Pulling fs layer [2020-10-01T12:44:51.857Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-01T12:44:51.857Z] 209524e5b208: Pulling fs layer [2020-10-01T12:44:51.857Z] 8529a6b9a6be: Waiting [2020-10-01T12:44:51.857Z] 45590311c82a: Waiting [2020-10-01T12:44:51.857Z] 69ca0ff8b7b3: Waiting [2020-10-01T12:44:51.857Z] 209524e5b208: Waiting [2020-10-01T12:44:51.857Z] 99f96fe45779: Verifying Checksum [2020-10-01T12:44:51.857Z] 99f96fe45779: Download complete [2020-10-01T12:44:52.135Z] 74f711af9a0d: Download complete [2020-10-01T12:44:52.135Z] 45590311c82a: Download complete [2020-10-01T12:44:52.135Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-01T12:44:52.135Z] 69ca0ff8b7b3: Download complete [2020-10-01T12:44:52.135Z] b538f80385f9: Verifying Checksum [2020-10-01T12:44:52.135Z] b538f80385f9: Download complete [2020-10-01T12:44:52.736Z] b538f80385f9: Pull complete [2020-10-01T12:44:53.341Z] 74f711af9a0d: Pull complete [2020-10-01T12:44:53.946Z] 99f96fe45779: Pull complete [2020-10-01T12:44:54.942Z] 209524e5b208: Verifying Checksum [2020-10-01T12:44:54.942Z] 209524e5b208: Download complete [2020-10-01T12:44:56.384Z] 8529a6b9a6be: Verifying Checksum [2020-10-01T12:44:56.384Z] 8529a6b9a6be: Download complete [2020-10-01T12:45:08.827Z] 8529a6b9a6be: Pull complete [2020-10-01T12:45:08.827Z] 45590311c82a: Pull complete [2020-10-01T12:45:08.827Z] 69ca0ff8b7b3: Pull complete [2020-10-01T12:45:11.464Z] 209524e5b208: Pull complete [2020-10-01T12:45:11.464Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-01T12:45:11.464Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-01T12:45:11.464Z] ---> 5bddaf1c2fca [2020-10-01T12:45:11.464Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-01T12:45:14.098Z] ---> Running in 358c1da88a0f [2020-10-01T12:45:14.373Z] Removing intermediate container 358c1da88a0f [2020-10-01T12:45:14.373Z] ---> 41cb2e43d992 [2020-10-01T12:45:14.373Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-01T12:45:14.646Z] ---> Running in 76799ec306f2 [2020-10-01T12:45:17.295Z] Removing intermediate container 76799ec306f2 [2020-10-01T12:45:17.295Z] ---> de927cb478ca [2020-10-01T12:45:17.295Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-01T12:45:17.295Z] ---> Running in 364d3d578ab1 [2020-10-01T12:45:18.739Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-01T12:45:19.718Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-01T12:45:20.316Z] OK: 142 MiB in 39 packages [2020-10-01T12:45:21.297Z] Removing intermediate container 364d3d578ab1 [2020-10-01T12:45:21.297Z] ---> fb605042398e [2020-10-01T12:45:21.297Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-01T12:45:21.573Z] ---> Running in 075734e47fa3 [2020-10-01T12:45:21.850Z] Removing intermediate container 075734e47fa3 [2020-10-01T12:45:21.850Z] ---> 2d2000671562 [2020-10-01T12:45:21.850Z] Step 7/8 : COPY . . [2020-10-01T12:45:23.296Z] ---> 9c46136a2f17 [2020-10-01T12:45:23.296Z] Step 8/8 : RUN go mod download [2020-10-01T12:45:23.571Z] ---> Running in 34a55efe3142 [2020-10-01T12:45:45.762Z] Removing intermediate container 34a55efe3142 [2020-10-01T12:45:45.762Z] ---> 30cb140173d0 [2020-10-01T12:45:45.762Z] Successfully built 30cb140173d0 [2020-10-01T12:45:45.762Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-01T12:45:46.220Z] + docker inspect -f . ci-base-image-arm64 [2020-10-01T12:45:46.220Z] . [Pipeline] withDockerContainer [2020-10-01T12:45:46.516Z] prd-ubuntu18.04-docker-arm64-4c-16g-2744 does not seem to be running inside a container [2020-10-01T12:45:46.612Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-01T12:45:47.510Z] Running on prd-centos7-docker-4c-2g-2745 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [2020-10-01T12:45:48.490Z] $ docker top 55a6afaee98f5d3f85ca4269f264507d98bc1e7f27e4daf18002f1b08af5ff92 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws [2020-10-01T12:45:49.115Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-01T12:45:50.054Z] + go version [2020-10-01T12:45:50.054Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-01T12:45:50.097Z] $ docker stop --time=1 55a6afaee98f5d3f85ca4269f264507d98bc1e7f27e4daf18002f1b08af5ff92 [2020-10-01T12:45:52.016Z] $ docker rm -f 55a6afaee98f5d3f85ca4269f264507d98bc1e7f27e4daf18002f1b08af5ff92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-01T12:45:53.381Z] + docker inspect -f . ci-base-image-arm64 [2020-10-01T12:45:53.381Z] . [Pipeline] withDockerContainer [2020-10-01T12:45:53.669Z] prd-ubuntu18.04-docker-arm64-4c-16g-2744 does not seem to be running inside a container [2020-10-01T12:45:53.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-01T12:45:55.639Z] $ docker top 3b2c451b21cf367a8024ef7d618a16f45a8a7990fae62c44487c228aa05bbc80 -eo pid,comm [2020-10-01T12:45:55.693Z] using credential edgex-jenkins-ssh [2020-10-01T12:45:55.759Z] Cloning the remote Git repository [2020-10-01T12:45:55.798Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-01T12:45:55.894Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [Pipeline] { [Pipeline] sh [2020-10-01T12:45:57.097Z] + make test [2020-10-01T12:45:57.097Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-01T12:45:55.976Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-01T12:45:55.977Z] > git --version # timeout=10 [2020-10-01T12:45:55.990Z] > git --version # 'git version 2.16.5' [2020-10-01T12:45:55.991Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-01T12:45:56.036Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-01T12:45:56.890Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-01T12:45:56.944Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-01T12:45:56.966Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-01T12:45:56.991Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-01T12:45:56.991Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-01T12:45:57.007Z] > 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-01T12:45:57.512Z] Merging remotes/origin/master commit 4a1412fe3679be6652f13296ba45411ccc085237 into PR head commit 7b5fd9d962cdf83f85a250be553d98a0b2d14ccb [2020-10-01T12:45:57.667Z] Merge succeeded, producing 7b5fd9d962cdf83f85a250be553d98a0b2d14ccb [2020-10-01T12:45:57.667Z] Checking out Revision 7b5fd9d962cdf83f85a250be553d98a0b2d14ccb (PR-605) [2020-10-01T12:45:57.524Z] > git config core.sparsecheckout # timeout=10 [2020-10-01T12:45:57.554Z] > git checkout -f 7b5fd9d962cdf83f85a250be553d98a0b2d14ccb # timeout=10 [2020-10-01T12:45:57.621Z] > git remote # timeout=10 [2020-10-01T12:45:57.630Z] > git config --get remote.origin.url # timeout=10 [2020-10-01T12:45:57.641Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-01T12:45:57.646Z] > git merge 4a1412fe3679be6652f13296ba45411ccc085237 # timeout=10 [2020-10-01T12:45:57.659Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-01T12:45:57.674Z] > git config core.sparsecheckout # timeout=10 [2020-10-01T12:45:57.685Z] > git checkout -f 7b5fd9d962cdf83f85a250be553d98a0b2d14ccb # timeout=10 [2020-10-01T12:46:01.628Z] Commit message: "feat: implement v2 callback api" [2020-10-01T12:46:01.684Z] > git --version # timeout=10 [2020-10-01T12:46:01.696Z] > git --version # 'git version 2.16.5' [2020-10-01T12:46:01.733Z] fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-01T12:46:03.538Z] ========================================================= [2020-10-01T12:46:03.538Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-01T12:46:03.538Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-01T12:46:05.319Z] + 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-01T12:46:05.949Z] Sending build context to Docker daemon 3.448MB [2020-10-01T12:46:06.223Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-01T12:46:06.223Z] Step 2/8 : FROM ${BASE} [2020-10-01T12:46:06.223Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-01T12:46:06.223Z] df20fa9351a1: Pulling fs layer [2020-10-01T12:46:06.223Z] ed8968b2872e: Pulling fs layer [2020-10-01T12:46:06.223Z] a92cc7c5fd73: Pulling fs layer [2020-10-01T12:46:06.223Z] e871e8e8d7a9: Pulling fs layer [2020-10-01T12:46:06.223Z] e73272ec9a57: Pulling fs layer [2020-10-01T12:46:06.223Z] 1e910a182e73: Pulling fs layer [2020-10-01T12:46:06.223Z] 4e634b169226: Pulling fs layer [2020-10-01T12:46:06.223Z] e73272ec9a57: Waiting [2020-10-01T12:46:06.223Z] 1e910a182e73: Waiting [2020-10-01T12:46:06.223Z] e871e8e8d7a9: Waiting [2020-10-01T12:46:06.223Z] 4e634b169226: Waiting [2020-10-01T12:46:06.223Z] a92cc7c5fd73: Verifying Checksum [2020-10-01T12:46:06.223Z] a92cc7c5fd73: Download complete [2020-10-01T12:46:06.223Z] ed8968b2872e: Verifying Checksum [2020-10-01T12:46:06.223Z] ed8968b2872e: Download complete [2020-10-01T12:46:06.223Z] e73272ec9a57: Verifying Checksum [2020-10-01T12:46:06.223Z] e73272ec9a57: Download complete [2020-10-01T12:46:06.223Z] 1e910a182e73: Verifying Checksum [2020-10-01T12:46:06.223Z] 1e910a182e73: Download complete [2020-10-01T12:46:06.223Z] df20fa9351a1: Verifying Checksum [2020-10-01T12:46:06.223Z] df20fa9351a1: Download complete [2020-10-01T12:46:06.825Z] df20fa9351a1: Pull complete [2020-10-01T12:46:06.825Z] ed8968b2872e: Pull complete [2020-10-01T12:46:07.095Z] a92cc7c5fd73: Pull complete [2020-10-01T12:46:09.722Z] 4e634b169226: Verifying Checksum [2020-10-01T12:46:09.722Z] 4e634b169226: Download complete [2020-10-01T12:46:10.708Z] e871e8e8d7a9: Verifying Checksum [2020-10-01T12:46:10.708Z] e871e8e8d7a9: Download complete [2020-10-01T12:46:19.030Z] e871e8e8d7a9: Pull complete [2020-10-01T12:46:19.323Z] e73272ec9a57: Pull complete [2020-10-01T12:46:19.323Z] 1e910a182e73: Pull complete [2020-10-01T12:46:19.340Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-01T12:46:25.558Z] 4e634b169226: Pull complete [2020-10-01T12:46:25.558Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-01T12:46:25.558Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-01T12:46:25.558Z] ---> f7629b54cfaa [2020-10-01T12:46:25.558Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-01T12:46:26.113Z] ---> Running in 40a34f253c6c [2020-10-01T12:46:26.113Z] Removing intermediate container 40a34f253c6c [2020-10-01T12:46:26.113Z] ---> e02c5b3ae4a1 [2020-10-01T12:46:26.113Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-01T12:46:26.113Z] ---> Running in 8085d450301c [2020-10-01T12:46:27.722Z] Removing intermediate container 8085d450301c [2020-10-01T12:46:27.722Z] ---> d46731976137 [2020-10-01T12:46:27.722Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-01T12:46:28.108Z] ---> Running in f976dfbc008e [2020-10-01T12:46:28.701Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-01T12:46:29.303Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-01T12:46:29.895Z] OK: 166 MiB in 39 packages [2020-10-01T12:46:30.509Z] Removing intermediate container f976dfbc008e [2020-10-01T12:46:30.509Z] ---> 02ec7f7e95fe [2020-10-01T12:46:30.509Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-01T12:46:30.509Z] ---> Running in ecb599edf466 [2020-10-01T12:46:30.809Z] Removing intermediate container ecb599edf466 [2020-10-01T12:46:30.809Z] ---> c3ab581d8a97 [2020-10-01T12:46:30.809Z] Step 7/8 : COPY . . [2020-10-01T12:46:32.266Z] ---> c604a6ab2752 [2020-10-01T12:46:32.266Z] Step 8/8 : RUN go mod download [2020-10-01T12:46:32.266Z] ---> Running in 0ceaa27343ac [2020-10-01T12:46:54.660Z] Removing intermediate container 0ceaa27343ac [2020-10-01T12:46:54.660Z] ---> 9150c74615f5 [2020-10-01T12:46:54.660Z] Successfully built 9150c74615f5 [2020-10-01T12:46:54.660Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-01T12:46:55.118Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-01T12:46:55.118Z] . [Pipeline] withDockerContainer [2020-10-01T12:46:55.522Z] prd-centos7-docker-4c-2g-2745 does not seem to be running inside a container [2020-10-01T12:46:55.862Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2020-10-01T12:46:57.107Z] $ docker top f83ce5086ecd0ee288303da8d4780cbbcdeac5d5f14e583523b46ee505908954 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-01T12:46:57.806Z] + go version [2020-10-01T12:46:57.826Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-01T12:46:57.856Z] $ docker stop --time=1 f83ce5086ecd0ee288303da8d4780cbbcdeac5d5f14e583523b46ee505908954 [2020-10-01T12:46:59.239Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-01T12:46:59.239Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-01T12:46:59.239Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-01T12:46:59.239Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.138s coverage: 21.6% of statements [2020-10-01T12:46:59.336Z] $ docker rm -f f83ce5086ecd0ee288303da8d4780cbbcdeac5d5f14e583523b46ee505908954 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-01T12:47:00.724Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-01T12:47:00.724Z] . [Pipeline] withDockerContainer [2020-10-01T12:47:00.888Z] prd-centos7-docker-4c-2g-2745 does not seem to be running inside a container [2020-10-01T12:47:00.954Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2020-10-01T12:47:01.758Z] $ docker top 6f4d16429f19403dd40ea5d7943a9cbf845d8c53e19271586bd704d06d6c5080 -eo pid,comm [2020-10-01T12:47:01.887Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.191s coverage: 97.1% of statements [Pipeline] { [Pipeline] sh [2020-10-01T12:47:02.572Z] + make test [2020-10-01T12:47:02.572Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-01T12:47:15.103Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-01T12:47:28.723Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.189s coverage: 9.4% of statements [2020-10-01T12:47:28.723Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.111s coverage: 21.9% of statements [2020-10-01T12:47:28.723Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-01T12:47:28.723Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.595s coverage: 41.8% of statements [2020-10-01T12:47:28.723Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-01T12:47:28.723Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.743s coverage: 65.4% of statements [2020-10-01T12:47:28.723Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-01T12:47:28.723Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-01T12:47:28.723Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-01T12:47:28.723Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-01T12:47:28.723Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.172s coverage: 52.6% of statements [2020-10-01T12:47:28.723Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-01T12:47:28.723Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.861s coverage: 68.9% of statements [2020-10-01T12:47:28.723Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-01T12:47:28.723Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-01T12:47:28.723Z] GO111MODULE=on go vet ./... [2020-10-01T12:47:37.548Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-01T12:47:37.548Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-01T12:47:37.548Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-01T12:47:38.175Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.139s coverage: 21.6% of statements [2020-10-01T12:47:41.661Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.804s coverage: 97.1% of statements [2020-10-01T12:48:01.125Z] gofmt -l . [2020-10-01T12:48:01.125Z] [ "`gofmt -l .`" = "" ] [2020-10-01T12:48:01.125Z] ./bin/test-attribution-txt.sh [2020-10-01T12:48:01.125Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-01T12:48:02.238Z] Stashed 1 file(s) [Pipeline] } [2020-10-01T12:48:02.268Z] $ docker stop --time=1 3b2c451b21cf367a8024ef7d618a16f45a8a7990fae62c44487c228aa05bbc80 [2020-10-01T12:48:04.820Z] $ docker rm -f 3b2c451b21cf367a8024ef7d618a16f45a8a7990fae62c44487c228aa05bbc80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-01T12:48:08.992Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-01T12:48:09.406Z] + ls -al . [2020-10-01T12:48:09.406Z] total 232 [2020-10-01T12:48:09.406Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 1 12:47 . [2020-10-01T12:48:09.406Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 12:44 .. [2020-10-01T12:48:09.406Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 1 12:44 .dockerignore [2020-10-01T12:48:09.406Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 1 12:44 .git [2020-10-01T12:48:09.406Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 12:44 .github [2020-10-01T12:48:09.406Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 1 12:44 .gitignore [2020-10-01T12:48:09.406Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 12:44 .semver [2020-10-01T12:48:09.406Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 1 12:44 Dockerfile.build [2020-10-01T12:48:09.406Z] -rw-rw-r-- 1 jenkins jenkins 785 Oct 1 12:44 Jenkinsfile [2020-10-01T12:48:09.406Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 1 12:44 LICENSE [2020-10-01T12:48:09.406Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 1 12:44 Makefile [2020-10-01T12:48:09.406Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 1 12:44 README.md [2020-10-01T12:48:09.406Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 1 12:44 RELEASE-NOTES.txt [2020-10-01T12:48:09.406Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 1 12:42 VERSION [2020-10-01T12:48:09.406Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 12:44 bin [2020-10-01T12:48:09.406Z] -rw-r--r-- 1 jenkins jenkins 111047 Oct 1 12:47 coverage.out [2020-10-01T12:48:09.406Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 12:44 example [2020-10-01T12:48:09.406Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 1 12:47 go.mod [2020-10-01T12:48:09.406Z] -rw-r--r-- 1 jenkins jenkins 13464 Oct 1 12:47 go.sum [2020-10-01T12:48:09.406Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 1 12:44 internal [2020-10-01T12:48:09.406Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 12:44 openapi [2020-10-01T12:48:09.406Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 1 12:44 pkg [2020-10-01T12:48:09.406Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 12:44 snap [2020-10-01T12:48:09.406Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 1 12:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-01T12:48:09.820Z] + 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=7b5fd9d962cdf83f85a250be553d98a0b2d14ccb --label arch=arm64 --label version=0.0.0 . [2020-10-01T12:48:10.425Z] Sending build context to Docker daemon 3.56MB [2020-10-01T12:48:10.425Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-01T12:48:10.425Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-01T12:48:10.425Z] ---> 30cb140173d0 [2020-10-01T12:48:10.425Z] Step 3/24 : ARG MAKE='make build' [2020-10-01T12:48:10.699Z] ---> Running in 6b01f3558c89 [2020-10-01T12:48:10.974Z] Removing intermediate container 6b01f3558c89 [2020-10-01T12:48:10.974Z] ---> 26e8c31a0d58 [2020-10-01T12:48:10.974Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-01T12:48:11.248Z] ---> Running in 40b0588daf51 [2020-10-01T12:48:11.845Z] Removing intermediate container 40b0588daf51 [2020-10-01T12:48:11.845Z] ---> 74fd5ee01e7f [2020-10-01T12:48:11.845Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-01T12:48:11.845Z] ---> Running in a0e01c5fbda8 [2020-10-01T12:48:12.449Z] Removing intermediate container a0e01c5fbda8 [2020-10-01T12:48:12.449Z] ---> 3e21ffa97c33 [2020-10-01T12:48:12.449Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-01T12:48:12.449Z] ---> Running in f19298094c81 [2020-10-01T12:48:13.931Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.084s coverage: 9.4% of statements [2020-10-01T12:48:13.931Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.186s coverage: 21.9% of statements [2020-10-01T12:48:13.931Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-01T12:48:13.931Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.482s coverage: 41.8% of statements [2020-10-01T12:48:13.931Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-01T12:48:13.931Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.493s coverage: 65.4% of statements [2020-10-01T12:48:13.931Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-01T12:48:13.931Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-01T12:48:13.931Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-01T12:48:13.931Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-01T12:48:13.931Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.096s coverage: 52.6% of statements [2020-10-01T12:48:13.931Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-01T12:48:13.931Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.937s coverage: 68.9% of statements [2020-10-01T12:48:13.931Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-01T12:48:13.931Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-01T12:48:13.931Z] GO111MODULE=on go vet ./... [2020-10-01T12:48:15.078Z] Removing intermediate container f19298094c81 [2020-10-01T12:48:15.078Z] ---> 20d22c0a09df [2020-10-01T12:48:15.078Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-01T12:48:15.353Z] ---> Running in 6704e675e136 [2020-10-01T12:48:16.797Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-01T12:48:17.392Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-01T12:48:18.373Z] OK: 142 MiB in 39 packages [2020-10-01T12:48:19.356Z] Removing intermediate container 6704e675e136 [2020-10-01T12:48:19.356Z] ---> 01fd777c1e66 [2020-10-01T12:48:19.356Z] Step 8/24 : COPY . . [2020-10-01T12:48:20.806Z] ---> a7d071654cfc [2020-10-01T12:48:20.806Z] Step 9/24 : RUN ${MAKE} [2020-10-01T12:48:20.806Z] ---> Running in e8bbd5477e07 [2020-10-01T12:48:22.268Z] 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-01T12:48:26.466Z] gofmt -l . [2020-10-01T12:48:26.466Z] [ "`gofmt -l .`" = "" ] [2020-10-01T12:48:26.466Z] ./bin/test-attribution-txt.sh [2020-10-01T12:48:26.466Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-01T12:48:26.507Z] Warning: overwriting stash ‘coverage-report’ [2020-10-01T12:48:26.876Z] Stashed 1 file(s) [Pipeline] } [2020-10-01T12:48:26.901Z] $ docker stop --time=1 6f4d16429f19403dd40ea5d7943a9cbf845d8c53e19271586bd704d06d6c5080 [2020-10-01T12:48:28.923Z] $ docker rm -f 6f4d16429f19403dd40ea5d7943a9cbf845d8c53e19271586bd704d06d6c5080 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-01T12:48:30.200Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-01T12:48:30.559Z] + ls -al . [2020-10-01T12:48:30.559Z] total 192 [2020-10-01T12:48:30.559Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 1 12:48 . [2020-10-01T12:48:30.559Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 1 12:45 .. [2020-10-01T12:48:30.559Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 1 12:45 bin [2020-10-01T12:48:30.559Z] -rw-r--r--. 1 jenkins jenkins 111047 Oct 1 12:48 coverage.out [2020-10-01T12:48:30.559Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 1 12:45 Dockerfile.build [2020-10-01T12:48:30.559Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 1 12:45 .dockerignore [2020-10-01T12:48:30.559Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 1 12:45 example [2020-10-01T12:48:30.559Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 1 12:46 .git [2020-10-01T12:48:30.559Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 1 12:45 .github [2020-10-01T12:48:30.559Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 1 12:45 .gitignore [2020-10-01T12:48:30.559Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 1 12:48 go.mod [2020-10-01T12:48:30.559Z] -rw-r--r--. 1 jenkins jenkins 13464 Oct 1 12:48 go.sum [2020-10-01T12:48:30.559Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 1 12:45 internal [2020-10-01T12:48:30.559Z] -rw-rw-r--. 1 jenkins jenkins 785 Oct 1 12:45 Jenkinsfile [2020-10-01T12:48:30.559Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 1 12:45 LICENSE [2020-10-01T12:48:30.559Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 1 12:45 Makefile [2020-10-01T12:48:30.559Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 1 12:45 openapi [2020-10-01T12:48:30.559Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 1 12:45 pkg [2020-10-01T12:48:30.559Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 1 12:45 README.md [2020-10-01T12:48:30.559Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 1 12:45 RELEASE-NOTES.txt [2020-10-01T12:48:30.559Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 1 12:46 .semver [2020-10-01T12:48:30.559Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 1 12:45 snap [2020-10-01T12:48:30.559Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 1 12:42 VERSION [2020-10-01T12:48:30.559Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 1 12:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-01T12:48:30.912Z] + 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=7b5fd9d962cdf83f85a250be553d98a0b2d14ccb --label arch=amd64 --label version=0.0.0 . [2020-10-01T12:48:31.178Z] Sending build context to Docker daemon 3.56MB [2020-10-01T12:48:31.448Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-01T12:48:31.448Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-01T12:48:31.448Z] ---> 9150c74615f5 [2020-10-01T12:48:31.448Z] Step 3/24 : ARG MAKE='make build' [2020-10-01T12:48:31.714Z] ---> Running in 3f9e45402833 [2020-10-01T12:48:31.983Z] Removing intermediate container 3f9e45402833 [2020-10-01T12:48:31.983Z] ---> d4af294ccff7 [2020-10-01T12:48:31.983Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-01T12:48:32.250Z] ---> Running in cf4e97e3f912 [2020-10-01T12:48:32.250Z] Removing intermediate container cf4e97e3f912 [2020-10-01T12:48:32.250Z] ---> c9ff7fefb5e6 [2020-10-01T12:48:32.250Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-01T12:48:32.250Z] ---> Running in 97cb24833b1a [2020-10-01T12:48:32.525Z] Removing intermediate container 97cb24833b1a [2020-10-01T12:48:32.525Z] ---> 02283a019506 [2020-10-01T12:48:32.525Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-01T12:48:32.525Z] ---> Running in a81cb48d7a26 [2020-10-01T12:48:33.935Z] Removing intermediate container a81cb48d7a26 [2020-10-01T12:48:33.935Z] ---> 4622fc2ad0fe [2020-10-01T12:48:33.935Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-01T12:48:33.935Z] ---> Running in cc01309f360d [2020-10-01T12:48:34.521Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-01T12:48:35.102Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-01T12:48:35.708Z] OK: 166 MiB in 39 packages [2020-10-01T12:48:36.694Z] Removing intermediate container cc01309f360d [2020-10-01T12:48:36.694Z] ---> f106e3f6559a [2020-10-01T12:48:36.694Z] Step 8/24 : COPY . . [2020-10-01T12:48:37.682Z] ---> 4cd031857668 [2020-10-01T12:48:37.682Z] Step 9/24 : RUN ${MAKE} [2020-10-01T12:48:37.682Z] ---> Running in a26fe5cabdb5 [2020-10-01T12:48:38.282Z] 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-01T12:48:49.096Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-01T12:48:49.096Z] Removing intermediate container e8bbd5477e07 [2020-10-01T12:48:49.096Z] ---> 2ec6535aef1b [2020-10-01T12:48:49.096Z] Step 10/24 : FROM scratch [2020-10-01T12:48:49.096Z] ---> [2020-10-01T12:48:49.096Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-01T12:48:49.096Z] ---> Running in 097e523ba013 [2020-10-01T12:48:49.096Z] Removing intermediate container 097e523ba013 [2020-10-01T12:48:49.096Z] ---> cf49367660bd [2020-10-01T12:48:49.096Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-01T12:48:49.096Z] ---> Running in 1c30ccc8fbb8 [2020-10-01T12:48:49.096Z] Removing intermediate container 1c30ccc8fbb8 [2020-10-01T12:48:49.096Z] ---> 99962b00546d [2020-10-01T12:48:49.096Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-01T12:48:49.096Z] ---> Running in a699dd7eadaa [2020-10-01T12:48:49.096Z] Removing intermediate container a699dd7eadaa [2020-10-01T12:48:49.096Z] ---> a37d3fdd3705 [2020-10-01T12:48:49.096Z] Step 14/24 : WORKDIR / [2020-10-01T12:48:49.369Z] ---> Running in 5341821b59e0 [2020-10-01T12:48:49.644Z] Removing intermediate container 5341821b59e0 [2020-10-01T12:48:49.644Z] ---> fac822be9bed [2020-10-01T12:48:49.644Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-01T12:48:50.811Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-01T12:48:51.084Z] ---> 0b01277bd61a [2020-10-01T12:48:51.084Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-01T12:48:52.068Z] ---> edc2cdf96393 [2020-10-01T12:48:52.068Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-01T12:48:52.661Z] ---> 5dc530e73403 [2020-10-01T12:48:52.661Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-01T12:48:52.745Z] Removing intermediate container a26fe5cabdb5 [2020-10-01T12:48:52.745Z] ---> 2af055977bfe [2020-10-01T12:48:52.745Z] Step 10/24 : FROM scratch [2020-10-01T12:48:52.745Z] ---> [2020-10-01T12:48:52.745Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-01T12:48:52.745Z] ---> Running in 48ddbbc62f8b [2020-10-01T12:48:53.013Z] Removing intermediate container 48ddbbc62f8b [2020-10-01T12:48:53.013Z] ---> f14bb84d2054 [2020-10-01T12:48:53.013Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-01T12:48:53.013Z] ---> Running in 7c588a2ca363 [2020-10-01T12:48:53.258Z] ---> 2249feb47c19 [2020-10-01T12:48:53.258Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-01T12:48:53.275Z] Removing intermediate container 7c588a2ca363 [2020-10-01T12:48:53.275Z] ---> 0c628e3c521f [2020-10-01T12:48:53.275Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-01T12:48:53.275Z] ---> Running in d5113c2a7ae8 [2020-10-01T12:48:53.542Z] Removing intermediate container d5113c2a7ae8 [2020-10-01T12:48:53.542Z] ---> 068148d19269 [2020-10-01T12:48:53.542Z] Step 14/24 : WORKDIR / [2020-10-01T12:48:53.542Z] ---> Running in e4f3818e8ce1 [2020-10-01T12:48:53.542Z] Removing intermediate container e4f3818e8ce1 [2020-10-01T12:48:53.542Z] ---> 39b710da125e [2020-10-01T12:48:53.542Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-01T12:48:54.234Z] ---> a755f2d2facb [2020-10-01T12:48:54.234Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-01T12:48:54.234Z] ---> Running in 08f091aed610 [2020-10-01T12:48:54.505Z] Removing intermediate container 08f091aed610 [2020-10-01T12:48:54.505Z] ---> 7d2f7da6512b [2020-10-01T12:48:54.505Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-01T12:48:54.779Z] ---> Running in df8a316391e3 [2020-10-01T12:48:54.945Z] ---> a31aa6783f1c [2020-10-01T12:48:54.945Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-01T12:48:55.211Z] ---> 16ea3bc7cf5a [2020-10-01T12:48:55.211Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-01T12:48:55.373Z] Removing intermediate container df8a316391e3 [2020-10-01T12:48:55.373Z] ---> 75e4c519cf6d [2020-10-01T12:48:55.373Z] Step 22/24 : LABEL arch=arm64 [2020-10-01T12:48:55.373Z] ---> Running in f2cff9517564 [2020-10-01T12:48:55.496Z] ---> e00a253227be [2020-10-01T12:48:55.496Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-01T12:48:55.965Z] Removing intermediate container f2cff9517564 [2020-10-01T12:48:55.965Z] ---> 3b6e7683a318 [2020-10-01T12:48:55.965Z] Step 23/24 : LABEL git_sha=7b5fd9d962cdf83f85a250be553d98a0b2d14ccb [2020-10-01T12:48:56.083Z] ---> 33e351c68172 [2020-10-01T12:48:56.083Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-01T12:48:56.242Z] ---> Running in 732331cd4df1 [2020-10-01T12:48:56.352Z] ---> 0abe19885a53 [2020-10-01T12:48:56.352Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-01T12:48:56.352Z] ---> Running in edcd0812fb2a [2020-10-01T12:48:56.513Z] Removing intermediate container 732331cd4df1 [2020-10-01T12:48:56.513Z] ---> e9cea4ea4d89 [2020-10-01T12:48:56.513Z] Step 24/24 : LABEL version=0.0.0 [2020-10-01T12:48:56.624Z] Removing intermediate container edcd0812fb2a [2020-10-01T12:48:56.624Z] ---> f98436c85386 [2020-10-01T12:48:56.624Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-01T12:48:56.624Z] ---> Running in ba922274e0f5 [2020-10-01T12:48:56.784Z] ---> Running in 65b88d294814 [2020-10-01T12:48:56.892Z] Removing intermediate container ba922274e0f5 [2020-10-01T12:48:56.892Z] ---> d2534d025ecc [2020-10-01T12:48:56.892Z] Step 22/24 : LABEL arch=amd64 [2020-10-01T12:48:56.892Z] ---> Running in 578a685db058 [2020-10-01T12:48:57.058Z] Removing intermediate container 65b88d294814 [2020-10-01T12:48:57.058Z] ---> d203b432620c [2020-10-01T12:48:57.058Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-01T12:48:57.156Z] Removing intermediate container 578a685db058 [2020-10-01T12:48:57.156Z] ---> a52b88b7717b [2020-10-01T12:48:57.156Z] Step 23/24 : LABEL git_sha=7b5fd9d962cdf83f85a250be553d98a0b2d14ccb [2020-10-01T12:48:57.156Z] ---> Running in 20c24a081e22 [2020-10-01T12:48:57.329Z] Successfully built d203b432620c [2020-10-01T12:48:57.329Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-10-01T12:48:57.743Z] Removing intermediate container 20c24a081e22 [2020-10-01T12:48:57.743Z] ---> 755b1b688e87 [2020-10-01T12:48:57.743Z] Step 24/24 : LABEL version=0.0.0 [2020-10-01T12:48:57.743Z] ---> Running in 77197204f454 [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2020-10-01T12:48:58.013Z] Removing intermediate container 77197204f454 [2020-10-01T12:48:58.013Z] ---> adbc0b4d8fbc [2020-10-01T12:48:58.013Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-01T12:48:58.013Z] Successfully built adbc0b4d8fbc [2020-10-01T12:48:58.013Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Snap) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] // ws [Pipeline] } [Pipeline] stage [Pipeline] { (Snap) [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 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-01T12:49:01.527Z] provisioning config files... [2020-10-01T12:49:01.543Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config402688026310465025tmp [Pipeline] { [Pipeline] sh [2020-10-01T12:49:01.985Z] + set +x [2020-10-01T12:49:01.985Z] + curl -s https://codecov.io/bash [2020-10-01T12:49:01.985Z] + bash -s -- [Pipeline] } [2020-10-01T12:51:23.587Z] 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-01T12:51:31.152Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-01T12:51:31.760Z] ---> package-listing.sh [2020-10-01T12:51:31.760Z] ++ facter osfamily [2020-10-01T12:51:31.760Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-01T12:51:31.760Z] + OS_FAMILY=redhat [2020-10-01T12:51:31.760Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-605 [2020-10-01T12:51:31.760Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-01T12:51:31.760Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-01T12:51:31.760Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-01T12:51:31.760Z] + PACKAGES=/tmp/packages_start.txt [2020-10-01T12:51:31.760Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' [2020-10-01T12:51:31.760Z] + PACKAGES=/tmp/packages_end.txt [2020-10-01T12:51:31.760Z] + case "${OS_FAMILY}" in [2020-10-01T12:51:31.760Z] + rpm -qa [2020-10-01T12:51:31.760Z] + sort [2020-10-01T12:51:35.982Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-01T12:51:35.982Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-01T12:51:35.982Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-01T12:51:35.982Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' [2020-10-01T12:51:35.982Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ [2020-10-01T12:51:35.982Z] + 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-01T12:51:36.826Z] provisioning config files... [2020-10-01T12:51:36.844Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config4465498850840629494tmp [Pipeline] { [Pipeline] echo [2020-10-01T12:51:36.977Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-01T12:51:37.317Z] ---> create-netrc.sh [Pipeline] } [2020-10-01T12:51:37.338Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-01T12:51:37.485Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-01T12:51:37.818Z] ---> python-tools-install.sh [2020-10-01T12:51:37.818Z] Generating Requirements File [2020-10-01T12:52:59.428Z] Python 3.6.8 [2020-10-01T12:52:59.428Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-01T12:52:59.429Z] aiohttp==3.6.2 [2020-10-01T12:52:59.429Z] appdirs==1.4.3 [2020-10-01T12:52:59.429Z] argcomplete==1.12.1 [2020-10-01T12:52:59.429Z] aspy.yaml==1.3.0 [2020-10-01T12:52:59.429Z] async-timeout==3.0.1 [2020-10-01T12:52:59.429Z] attrs==19.3.0 [2020-10-01T12:52:59.429Z] Babel==2.8.0 [2020-10-01T12:52:59.429Z] beautifulsoup4==4.8.2 [2020-10-01T12:52:59.429Z] boto3==1.11.6 [2020-10-01T12:52:59.429Z] botocore==1.14.6 [2020-10-01T12:52:59.429Z] bs4==0.0.1 [2020-10-01T12:52:59.429Z] cachetools==4.1.1 [2020-10-01T12:52:59.429Z] certifi==2019.11.28 [2020-10-01T12:52:59.429Z] cffi==1.14.3 [2020-10-01T12:52:59.429Z] cfgv==2.0.1 [2020-10-01T12:52:59.429Z] chardet==3.0.4 [2020-10-01T12:52:59.429Z] click==7.1 [2020-10-01T12:52:59.429Z] cliff==3.4.0 [2020-10-01T12:52:59.429Z] cmd2==1.3.10 [2020-10-01T12:52:59.429Z] colorama==0.4.3 [2020-10-01T12:52:59.429Z] cryptography==3.1.1 [2020-10-01T12:52:59.429Z] debtcollector==2.2.0 [2020-10-01T12:52:59.429Z] decorator==4.4.2 [2020-10-01T12:52:59.429Z] defusedxml==0.6.0 [2020-10-01T12:52:59.429Z] Deprecated==1.2.7 [2020-10-01T12:52:59.429Z] distlib==0.3.1 [2020-10-01T12:52:59.429Z] distro==1.2.0 [2020-10-01T12:52:59.429Z] dnspython==1.16.0 [2020-10-01T12:52:59.429Z] docker==4.2.0 [2020-10-01T12:52:59.429Z] docutils==0.15.2 [2020-10-01T12:52:59.429Z] dogpile.cache==1.0.2 [2020-10-01T12:52:59.429Z] email-validator==1.0.5 [2020-10-01T12:52:59.429Z] filelock==3.0.12 [2020-10-01T12:52:59.429Z] future==0.18.2 [2020-10-01T12:52:59.429Z] google-auth==1.22.0 [2020-10-01T12:52:59.429Z] httplib2==0.17.0 [2020-10-01T12:52:59.429Z] identify==1.4.11 [2020-10-01T12:52:59.429Z] idna==2.9 [2020-10-01T12:52:59.429Z] idna-ssl==1.1.0 [2020-10-01T12:52:59.429Z] importlib-metadata==1.7.0 [2020-10-01T12:52:59.429Z] importlib-resources==1.5.0 [2020-10-01T12:52:59.429Z] iso8601==0.1.13 [2020-10-01T12:52:59.429Z] Jinja2==2.11.1 [2020-10-01T12:52:59.429Z] jmespath==0.10.0 [2020-10-01T12:52:59.429Z] jsonpatch==1.26 [2020-10-01T12:52:59.429Z] jsonpointer==2.0 [2020-10-01T12:52:59.429Z] jsonschema==3.2.0 [2020-10-01T12:52:59.429Z] keystoneauth1==4.2.1 [2020-10-01T12:52:59.429Z] kubernetes==11.0.0 [2020-10-01T12:52:59.429Z] lftools==0.34.2 [2020-10-01T12:52:59.429Z] lxml==4.5.0 [2020-10-01T12:52:59.429Z] MarkupSafe==0.23 [2020-10-01T12:52:59.429Z] msgpack==1.0.0 [2020-10-01T12:52:59.429Z] multi-key-dict==2.0.3 [2020-10-01T12:52:59.429Z] multidict==4.7.6 [2020-10-01T12:52:59.429Z] munch==2.5.0 [2020-10-01T12:52:59.429Z] netaddr==0.8.0 [2020-10-01T12:52:59.429Z] netifaces==0.10.9 [2020-10-01T12:52:59.429Z] niet==1.4.2 [2020-10-01T12:52:59.429Z] nodeenv==1.3.5 [2020-10-01T12:52:59.429Z] oauth2client==4.1.3 [2020-10-01T12:52:59.429Z] oauthlib==3.1.0 [2020-10-01T12:52:59.429Z] openstacksdk==0.50.0 [2020-10-01T12:52:59.429Z] os-client-config==2.1.0 [2020-10-01T12:52:59.429Z] os-service-types==1.7.0 [2020-10-01T12:52:59.429Z] osc-lib==2.2.1 [2020-10-01T12:52:59.429Z] oslo.config==8.3.2 [2020-10-01T12:52:59.429Z] oslo.context==3.1.1 [2020-10-01T12:52:59.429Z] oslo.i18n==5.0.1 [2020-10-01T12:52:59.429Z] oslo.log==4.4.0 [2020-10-01T12:52:59.429Z] oslo.serialization==4.0.1 [2020-10-01T12:52:59.429Z] oslo.utils==4.6.0 [2020-10-01T12:52:59.429Z] packaging==20.4 [2020-10-01T12:52:59.429Z] pbr==5.4.4 [2020-10-01T12:52:59.429Z] pluggy==0.13.1 [2020-10-01T12:52:59.429Z] prettytable==0.7.2 [2020-10-01T12:52:59.429Z] py==1.9.0 [2020-10-01T12:52:59.429Z] pyasn1==0.4.8 [2020-10-01T12:52:59.429Z] pyasn1-modules==0.2.8 [2020-10-01T12:52:59.429Z] pycparser==2.20 [2020-10-01T12:52:59.429Z] pygerrit2==2.0.10 [2020-10-01T12:52:59.429Z] PyGithub==1.46 [2020-10-01T12:52:59.429Z] pyinotify==0.9.6 [2020-10-01T12:52:59.429Z] PyJWT==1.7.1 [2020-10-01T12:52:59.429Z] pyparsing==2.4.7 [2020-10-01T12:52:59.429Z] pyperclip==1.8.0 [2020-10-01T12:52:59.429Z] pyroute2==0.4.13 [2020-10-01T12:52:59.429Z] pyrsistent==0.15.7 [2020-10-01T12:52:59.429Z] PySocks==1.6.8 [2020-10-01T12:52:59.429Z] python-cinderclient==7.2.0 [2020-10-01T12:52:59.429Z] python-dateutil==2.8.1 [2020-10-01T12:52:59.429Z] python-heatclient==2.2.1 [2020-10-01T12:52:59.429Z] python-jenkins==1.7.0 [2020-10-01T12:52:59.429Z] python-keystoneclient==4.1.1 [2020-10-01T12:52:59.429Z] python-magnumclient==3.2.1 [2020-10-01T12:52:59.429Z] python-novaclient==17.2.1 [2020-10-01T12:52:59.429Z] python-openstackclient==5.3.1 [2020-10-01T12:52:59.429Z] python-swiftclient==3.10.1 [2020-10-01T12:52:59.429Z] pytz==2020.1 [2020-10-01T12:52:59.429Z] PyYAML==5.3 [2020-10-01T12:52:59.429Z] requests==2.23.0 [2020-10-01T12:52:59.429Z] requests-oauthlib==1.3.0 [2020-10-01T12:52:59.429Z] requestsexceptions==1.4.0 [2020-10-01T12:52:59.429Z] rfc3986==1.4.0 [2020-10-01T12:52:59.429Z] rpm==4.11.3 [2020-10-01T12:52:59.429Z] rsa==4.0 [2020-10-01T12:52:59.429Z] ruamel.yaml==0.16.10 [2020-10-01T12:52:59.429Z] ruamel.yaml.clib==0.2.0 [2020-10-01T12:52:59.429Z] s3transfer==0.3.3 [2020-10-01T12:52:59.429Z] shade==1.27.2 [2020-10-01T12:52:59.429Z] simplejson==3.17.2 [2020-10-01T12:52:59.429Z] six==1.14.0 [2020-10-01T12:52:59.429Z] soupsieve==2.0 [2020-10-01T12:52:59.429Z] stevedore==3.2.2 [2020-10-01T12:52:59.429Z] tabulate==0.8.6 [2020-10-01T12:52:59.429Z] toml==0.10.0 [2020-10-01T12:52:59.429Z] tox==3.20.0 [2020-10-01T12:52:59.429Z] tqdm==4.43.0 [2020-10-01T12:52:59.429Z] typing-extensions==3.7.4.3 [2020-10-01T12:52:59.429Z] urllib3==1.25.8 [2020-10-01T12:52:59.429Z] virtualenv==20.0.31 [2020-10-01T12:52:59.429Z] wcwidth==0.2.5 [2020-10-01T12:52:59.429Z] websocket-client==0.57.0 [2020-10-01T12:52:59.429Z] wrapt==1.12.1 [2020-10-01T12:52:59.429Z] xdg==3.0.2 [2020-10-01T12:52:59.429Z] xmltodict==0.12.0 [2020-10-01T12:52:59.429Z] yarl==1.6.0 [2020-10-01T12:52:59.429Z] yq==2.11.1 [2020-10-01T12:52:59.429Z] zipp==3.2.0 [2020-10-01T12:52:59.429Z] Cache entry deserialization failed, entry ignored [2020-10-01T12:52:59.429Z] 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-01T12:52:59.429Z] Python 2.7.5 [2020-10-01T12:52:59.429Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-01T12:52:59.429Z] 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-01T12:52:59.429Z] ansible==2.9.7 [2020-10-01T12:52:59.429Z] Babel==0.9.6 [2020-10-01T12:52:59.429Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-01T12:52:59.429Z] beautifulsoup4==4.4.1 [2020-10-01T12:52:59.429Z] bodhi==2.11.0 [2020-10-01T12:52:59.429Z] bodhi-client==2.11.0 [2020-10-01T12:52:59.429Z] CCColUtils==1.4 [2020-10-01T12:52:59.429Z] cffi==1.6.0 [2020-10-01T12:52:59.429Z] chardet==2.2.1 [2020-10-01T12:52:59.429Z] click==6.7 [2020-10-01T12:52:59.429Z] cloud-init==18.5 [2020-10-01T12:52:59.429Z] configobj==4.7.2 [2020-10-01T12:52:59.429Z] cryptography==1.7.2 [2020-10-01T12:52:59.429Z] decorator==3.4.0 [2020-10-01T12:52:59.429Z] distro==1.2.0 [2020-10-01T12:52:59.429Z] enum34==1.0.4 [2020-10-01T12:52:59.429Z] fedpkg==1.38 [2020-10-01T12:52:59.429Z] futures==3.1.1 [2020-10-01T12:52:59.429Z] gitdb==0.6.4 [2020-10-01T12:52:59.429Z] GitPython==1.0.1 [2020-10-01T12:52:59.429Z] html5lib==0.999 [2020-10-01T12:52:59.429Z] httplib2==0.9.2 [2020-10-01T12:52:59.429Z] idna==2.4 [2020-10-01T12:52:59.429Z] iniparse==0.4 [2020-10-01T12:52:59.429Z] ipaddress==1.0.16 [2020-10-01T12:52:59.429Z] IPy==0.75 [2020-10-01T12:52:59.429Z] javapackages==1.0.0 [2020-10-01T12:52:59.429Z] Jinja2==2.7.2 [2020-10-01T12:52:59.429Z] jmespath==0.9.4 [2020-10-01T12:52:59.429Z] jsonpatch==1.2 [2020-10-01T12:52:59.429Z] jsonpointer==1.9 [2020-10-01T12:52:59.429Z] kerberos==1.1 [2020-10-01T12:52:59.429Z] kitchen==1.1.1 [2020-10-01T12:52:59.429Z] langtable==0.0.31 [2020-10-01T12:52:59.429Z] lockfile==0.9.1 [2020-10-01T12:52:59.429Z] lxml==3.2.1 [2020-10-01T12:52:59.429Z] MarkupSafe==0.11 [2020-10-01T12:52:59.429Z] munch==2.0.2 [2020-10-01T12:52:59.429Z] offtrac==0.1.0 [2020-10-01T12:52:59.429Z] openidc-client==0.6.0 [2020-10-01T12:52:59.429Z] packagedb-cli==2.14.1 [2020-10-01T12:52:59.429Z] paramiko==2.1.1 [2020-10-01T12:52:59.429Z] perf==0.1 [2020-10-01T12:52:59.429Z] ply==3.4 [2020-10-01T12:52:59.429Z] policycoreutils-default-encoding==0.1 [2020-10-01T12:52:59.429Z] prettytable==0.7.2 [2020-10-01T12:52:59.429Z] pyasn1==0.1.9 [2020-10-01T12:52:59.429Z] pycparser==2.14 [2020-10-01T12:52:59.429Z] pycurl==7.19.0 [2020-10-01T12:52:59.429Z] pygobject==3.22.0 [2020-10-01T12:52:59.429Z] pygpgme==0.3 [2020-10-01T12:52:59.429Z] pyliblzma==0.5.3 [2020-10-01T12:52:59.429Z] pyOpenSSL==0.13.1 [2020-10-01T12:52:59.429Z] pyparsing==1.5.6 [2020-10-01T12:52:59.429Z] pyserial==2.6 [2020-10-01T12:52:59.429Z] python-augeas==0.5.0 [2020-10-01T12:52:59.429Z] python-bugzilla==2.3.0 [2020-10-01T12:52:59.429Z] python-dateutil==1.5 [2020-10-01T12:52:59.429Z] python-fedora==0.10.0 [2020-10-01T12:52:59.429Z] python-linux-procfs==0.4.9 [2020-10-01T12:52:59.429Z] python-yubico==1.2.3 [2020-10-01T12:52:59.429Z] pyudev==0.15 [2020-10-01T12:52:59.429Z] pyusb==1.0.0b1 [2020-10-01T12:52:59.429Z] pyxattr==0.5.1 [2020-10-01T12:52:59.429Z] PyYAML==3.10 [2020-10-01T12:52:59.429Z] requests==2.6.0 [2020-10-01T12:52:59.429Z] requests-kerberos==0.7.0 [2020-10-01T12:52:59.429Z] rpkg==1.60 [2020-10-01T12:52:59.429Z] schedutils==0.4 [2020-10-01T12:52:59.429Z] seobject==0.1 [2020-10-01T12:52:59.429Z] sepolicy==1.1 [2020-10-01T12:52:59.429Z] six==1.9.0 [2020-10-01T12:52:59.429Z] smmap==0.9.0 [2020-10-01T12:52:59.429Z] urlgrabber==3.10 [2020-10-01T12:52:59.429Z] urllib3==1.10.2 [2020-10-01T12:52:59.429Z] virtualenv==15.1.0 [2020-10-01T12:52:59.429Z] yum-langpacks==0.4.2 [2020-10-01T12:52:59.429Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-01T12:52:59.475Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-01T12:52:59.820Z] ---> sudo-logs.sh [2020-10-01T12:52:59.820Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-01T12:53:00.130Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-01T12:53:00.473Z] ---> job-cost.sh [2020-10-01T12:53:00.473Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-MSnX [2020-10-01T12:53:10.519Z] Cache entry deserialization failed, entry ignored [2020-10-01T12:53:10.519Z] Cache entry deserialization failed, entry ignored [2020-10-01T12:53:11.940Z] Cache entry deserialization failed, entry ignored [2020-10-01T12:53:12.206Z] Cache entry deserialization failed, entry ignored [2020-10-01T12:53:12.783Z] Cache entry deserialization failed, entry ignored [2020-10-01T12:53:12.783Z] Cache entry deserialization failed, entry ignored [2020-10-01T12:53:13.046Z] Cache entry deserialization failed, entry ignored [2020-10-01T12:53:13.046Z] Cache entry deserialization failed, entry ignored [2020-10-01T12:53:13.046Z] Cache entry deserialization failed, entry ignored [2020-10-01T12:53:13.308Z] Cache entry deserialization failed, entry ignored [2020-10-01T12:53:13.308Z] Cache entry deserialization failed, entry ignored [2020-10-01T12:53:13.574Z] Cache entry deserialization failed, entry ignored [2020-10-01T12:53:13.574Z] Cache entry deserialization failed, entry ignored [2020-10-01T12:53:16.142Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-01T12:53:43.021Z] ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. [2020-10-01T12:53:43.021Z] [2020-10-01T12:53:43.021Z] We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. [2020-10-01T12:53:43.021Z] [2020-10-01T12:53:43.021Z] virtualenv 20.0.31 requires importlib-metadata<2,>=0.12; python_version < "3.8", but you'll have importlib-metadata 2.0.0 which is incompatible. [2020-10-01T12:53:43.021Z] lf-activate-venv(): INFO: Adding /tmp/venv-MSnX/bin to PATH [2020-10-01T12:53:43.021Z] INFO: No Stack... [2020-10-01T12:53:43.626Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-01T12:53:44.233Z] INFO: Archiving Costs [Pipeline] echo [2020-10-01T12:53:44.296Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-01T12:53:45.818Z] ---> logs-deploy.sh [2020-10-01T12:53:45.818Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-605/1 [2020-10-01T12:53:45.818Z] INFO: archiving workspace using pattern(s): [2020-10-01T12:53:47.218Z] Archives upload complete. [2020-10-01T12:53:47.218Z] INFO: archiving logs to Nexus