Pull request #601 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c95cd71d1d1644148526d724f70c34af8542f944+0cafa7decaaa0dab3b86f836c2c615e8e839d11b (4e453a9ee7131000ff03e68c9eecab5723139ea9) 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-601/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-601/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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1755 in /w/workspace/dgexfoundry_device-sdk-go_PR-601 [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-601 # 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/601/head:refs/remotes/origin/PR-601 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit c95cd71d1d1644148526d724f70c34af8542f944 Merge succeeded, producing c95cd71d1d1644148526d724f70c34af8542f944 Checking out Revision c95cd71d1d1644148526d724f70c34af8542f944 (PR-601) > git config core.sparsecheckout # timeout=10 > git checkout -f c95cd71d1d1644148526d724f70c34af8542f944 # 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 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c95cd71d1d1644148526d724f70c34af8542f944 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 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-09-28T06:53:29.087Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-28T06:53:29.545Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-28T06:53:29.801Z] ========================================================= [2020-09-28T06:53:29.802Z] EdgeX Global Pipelines Version Info [2020-09-28T06:53:29.802Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-28T06:53:32.345Z] ------------------- [2020-09-28T06:53:32.345Z] stable info: [2020-09-28T06:53:32.345Z] ------------------- [2020-09-28T06:53:32.345Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-28T06:53:32.345Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-09-28T06:53:32.345Z] Message: update stable to v1.0.131 [2020-09-28T06:53:33.328Z] ------------------- [2020-09-28T06:53:33.328Z] experimental info: [2020-09-28T06:53:33.328Z] ------------------- [2020-09-28T06:53:33.328Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-28T06:53:33.328Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-09-28T06:53:33.328Z] Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-28T06:53:33.964Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-28T06:53:34.109Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-28T06:53:34.262Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-28T06:53:34.389Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-28T06:53:34.529Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-28T06:53:34.707Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-28T06:53:34.866Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-28T06:53:35.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-28T06:53:35.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-28T06:53:35.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-28T06:53:35.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-28T06:53:35.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-28T06:53:35.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-28T06:53:35.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-28T06:53:35.973Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-28T06:53:36.106Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-28T06:53:36.236Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-28T06:53:36.384Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-28T06:53:36.533Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-28T06:53:36.667Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-28T06:53:36.802Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-28T06:53:36.936Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-28T06:53:37.072Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-09-28T06:53:37.200Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-09-28T06:53:37.345Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-09-28T06:53:37.485Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-601 [Pipeline] echo [2020-09-28T06:53:37.614Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-601 [Pipeline] echo [2020-09-28T06:53:37.755Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-601 [Pipeline] echo [2020-09-28T06:53:37.906Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c95cd71d1d1644148526d724f70c34af8542f944 [Pipeline] echo [2020-09-28T06:53:38.091Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c95cd71 [Pipeline] echo [2020-09-28T06:53:38.215Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-28T06:53:39.011Z] + git log --format=format:%s -1 c95cd71d1d1644148526d724f70c34af8542f944 [Pipeline] echo [2020-09-28T06:53:39.138Z] GIT_COMMIT: c95cd71d1d1644148526d724f70c34af8542f944, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-09-28T06:53:39.213Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-28T06:53:39.845Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-28T06:53:40.446Z] [2020-09-28T06:53:40.446Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-28T06:53:40.899Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-28T06:53:40.899Z] latest: Pulling from edgex-devops/git-semver [2020-09-28T06:53:40.899Z] 31603596830f: Pulling fs layer [2020-09-28T06:53:40.899Z] 2a8b12db71e7: Pulling fs layer [2020-09-28T06:53:40.900Z] 6ca5941a6612: Pulling fs layer [2020-09-28T06:53:40.900Z] ecc8261a40a4: Pulling fs layer [2020-09-28T06:53:41.179Z] 2a8b12db71e7: Verifying Checksum [2020-09-28T06:53:41.179Z] 2a8b12db71e7: Download complete [2020-09-28T06:53:41.179Z] 31603596830f: Verifying Checksum [2020-09-28T06:53:41.179Z] 31603596830f: Download complete [2020-09-28T06:53:41.460Z] ecc8261a40a4: Verifying Checksum [2020-09-28T06:53:41.460Z] ecc8261a40a4: Download complete [2020-09-28T06:53:41.460Z] 6ca5941a6612: Verifying Checksum [2020-09-28T06:53:41.460Z] 6ca5941a6612: Download complete [2020-09-28T06:53:41.728Z] 31603596830f: Pull complete [2020-09-28T06:53:41.728Z] 2a8b12db71e7: Pull complete [2020-09-28T06:53:43.155Z] 6ca5941a6612: Pull complete [2020-09-28T06:53:43.736Z] ecc8261a40a4: Pull complete [2020-09-28T06:53:43.736Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-28T06:53:43.736Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-28T06:53:43.736Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-28T06:53:43.922Z] prd-centos7-docker-4c-2g-1755 does not seem to be running inside a container [2020-09-28T06:53:43.986Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-601 -v /w/workspace/dgexfoundry_device-sdk-go_PR-601:/w/workspace/dgexfoundry_device-sdk-go_PR-601:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-601@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-601@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-28T06:53:46.599Z] $ docker top d6d66391975137bfe2ea50dc871eb1937d94c0b4b3d38e7641476bea44cc8568 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-28T06:53:47.198Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-28T06:53:47.198Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-28T06:53:47.518Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-28T06:53:47.662Z] $ docker exec d6d66391975137bfe2ea50dc871eb1937d94c0b4b3d38e7641476bea44cc8568 ssh-agent [2020-09-28T06:53:48.032Z] SSH_AUTH_SOCK=/tmp/ssh-R6q6lFe5SPKf/agent.12 [2020-09-28T06:53:48.032Z] SSH_AGENT_PID=17 [2020-09-28T06:53:48.069Z] Running ssh-add (command line suppressed) [2020-09-28T06:53:48.247Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-601@tmp/private_key_9115930333242117130.key (/w/workspace/dgexfoundry_device-sdk-go_PR-601@tmp/private_key_9115930333242117130.key) [2020-09-28T06:53:48.318Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-28T06:53:48.754Z] + git describe --exact-match --tags HEAD [2020-09-28T06:53:48.755Z] fatal: no tag exactly matches 'c95cd71d1d1644148526d724f70c34af8542f944' [Pipeline] } [2020-09-28T06:53:48.818Z] $ docker exec --env ******** --env ******** d6d66391975137bfe2ea50dc871eb1937d94c0b4b3d38e7641476bea44cc8568 ssh-agent -k [2020-09-28T06:53:49.002Z] unset SSH_AUTH_SOCK; [2020-09-28T06:53:49.003Z] unset SSH_AGENT_PID; [2020-09-28T06:53:49.003Z] echo Agent pid 17 killed; [2020-09-28T06:53:49.071Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-28T06:53:49.243Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-28T06:53:49.243Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-28T06:53:49.372Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-28T06:53:49.372Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-28T06:53:49.680Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-28T06:53:49.696Z] $ docker exec d6d66391975137bfe2ea50dc871eb1937d94c0b4b3d38e7641476bea44cc8568 ssh-agent [2020-09-28T06:53:49.934Z] SSH_AUTH_SOCK=/tmp/ssh-EQ3XsuQ8UsB8/agent.46 [2020-09-28T06:53:49.934Z] SSH_AGENT_PID=52 [2020-09-28T06:53:49.948Z] Running ssh-add (command line suppressed) [2020-09-28T06:53:50.134Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-601@tmp/private_key_432989495356284456.key (/w/workspace/dgexfoundry_device-sdk-go_PR-601@tmp/private_key_432989495356284456.key) [2020-09-28T06:53:50.197Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-28T06:53:50.657Z] + git semver init [2020-09-28T06:53:50.657Z] # -> Open(): unable to determine branch for HEAD [2020-09-28T06:53:50.657Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-601/.git [2020-09-28T06:53:50.657Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-601 [2020-09-28T06:53:50.657Z] # $SEMVER_REMOTE_NAME = origin [2020-09-28T06:53:50.657Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-28T06:53:50.657Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-28T06:53:50.657Z] # $SEMVER_BRANCH = PR-601 [2020-09-28T06:53:50.657Z] # $SEMVER_TEMP = /tmp/semver-266910647 [2020-09-28T06:53:50.657Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-28T06:53:51.674Z] # '/tmp/semver-266910647' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-601/.semver' [2020-09-28T06:53:51.674Z] # -> Force: false [2020-09-28T06:53:51.674Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-601/.semver [Pipeline] } [2020-09-28T06:53:51.727Z] $ docker exec --env ******** --env ******** d6d66391975137bfe2ea50dc871eb1937d94c0b4b3d38e7641476bea44cc8568 ssh-agent -k [2020-09-28T06:53:51.932Z] unset SSH_AUTH_SOCK; [2020-09-28T06:53:51.933Z] unset SSH_AGENT_PID; [2020-09-28T06:53:51.933Z] echo Agent pid 52 killed; [2020-09-28T06:53:51.999Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-28T06:53:52.639Z] + git semver [Pipeline] } [2020-09-28T06:53:52.684Z] $ docker stop --time=1 d6d66391975137bfe2ea50dc871eb1937d94c0b4b3d38e7641476bea44cc8568 [2020-09-28T06:53:54.268Z] $ docker rm -f d6d66391975137bfe2ea50dc871eb1937d94c0b4b3d38e7641476bea44cc8568 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-28T06:53:55.634Z] Stashed 39 file(s) [Pipeline] echo [2020-09-28T06:53:55.660Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-28T06:53:55.789Z] Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-09-28T06:54:10.583Z] Running on prd-centos7-docker-4c-2g-1757 in /w/workspace/dgexfoundry_device-sdk-go_PR-601 [Pipeline] { [Pipeline] ws [2020-09-28T06:54:10.693Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-28T06:54:11.620Z] Still waiting to schedule task [2020-09-28T06:54:11.620Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-28T06:54:13.409Z] using credential edgex-jenkins-ssh [2020-09-28T06:54:13.466Z] Cloning the remote Git repository [2020-09-28T06:54:13.493Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-28T06:54:13.571Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-09-28T06:54:13.618Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-28T06:54:13.619Z] > git --version # timeout=10 [2020-09-28T06:54:13.629Z] > git --version # 'git version 2.16.5' [2020-09-28T06:54:13.630Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-28T06:54:13.678Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-28T06:54:14.822Z] Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit c95cd71d1d1644148526d724f70c34af8542f944 [2020-09-28T06:54:14.908Z] Merge succeeded, producing c95cd71d1d1644148526d724f70c34af8542f944 [2020-09-28T06:54:14.909Z] Checking out Revision c95cd71d1d1644148526d724f70c34af8542f944 (PR-601) [2020-09-28T06:54:14.360Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-28T06:54:14.369Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-28T06:54:14.380Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-28T06:54:14.395Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-28T06:54:14.395Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-28T06:54:14.409Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/601/head:refs/remotes/origin/PR-601 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-28T06:54:14.832Z] > git config core.sparsecheckout # timeout=10 [2020-09-28T06:54:14.838Z] > git checkout -f c95cd71d1d1644148526d724f70c34af8542f944 # timeout=10 [2020-09-28T06:54:14.882Z] > git remote # timeout=10 [2020-09-28T06:54:14.887Z] > git config --get remote.origin.url # timeout=10 [2020-09-28T06:54:14.892Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-28T06:54:14.895Z] > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 [2020-09-28T06:54:14.905Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-28T06:54:14.914Z] > git config core.sparsecheckout # timeout=10 [2020-09-28T06:54:14.922Z] > git checkout -f c95cd71d1d1644148526d724f70c34af8542f944 # timeout=10 [2020-09-28T06:54:18.465Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-09-28T06:54:18.492Z] > git --version # timeout=10 [2020-09-28T06:54:18.496Z] > git --version # 'git version 2.16.5' [2020-09-28T06:54:18.501Z] fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-28T06:54:19.610Z] ========================================================= [2020-09-28T06:54:19.610Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-28T06:54:19.610Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-28T06:54:20.390Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-09-28T06:54:21.561Z] Sending build context to Docker daemon 3.367MB [2020-09-28T06:54:21.561Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-28T06:54:21.561Z] Step 2/8 : FROM ${BASE} [2020-09-28T06:54:21.561Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-28T06:54:21.561Z] df20fa9351a1: Pulling fs layer [2020-09-28T06:54:21.561Z] ed8968b2872e: Pulling fs layer [2020-09-28T06:54:21.561Z] a92cc7c5fd73: Pulling fs layer [2020-09-28T06:54:21.561Z] e871e8e8d7a9: Pulling fs layer [2020-09-28T06:54:21.561Z] e73272ec9a57: Pulling fs layer [2020-09-28T06:54:21.561Z] 1e910a182e73: Pulling fs layer [2020-09-28T06:54:21.561Z] 4e634b169226: Pulling fs layer [2020-09-28T06:54:21.561Z] e73272ec9a57: Waiting [2020-09-28T06:54:21.561Z] 1e910a182e73: Waiting [2020-09-28T06:54:21.561Z] 4e634b169226: Waiting [2020-09-28T06:54:21.561Z] e871e8e8d7a9: Waiting [2020-09-28T06:54:21.561Z] a92cc7c5fd73: Verifying Checksum [2020-09-28T06:54:21.561Z] a92cc7c5fd73: Download complete [2020-09-28T06:54:21.561Z] ed8968b2872e: Download complete [2020-09-28T06:54:21.561Z] e73272ec9a57: Verifying Checksum [2020-09-28T06:54:21.561Z] e73272ec9a57: Download complete [2020-09-28T06:54:21.561Z] 1e910a182e73: Download complete [2020-09-28T06:54:21.561Z] df20fa9351a1: Verifying Checksum [2020-09-28T06:54:21.561Z] df20fa9351a1: Download complete [2020-09-28T06:54:21.824Z] df20fa9351a1: Pull complete [2020-09-28T06:54:22.085Z] ed8968b2872e: Pull complete [2020-09-28T06:54:22.085Z] a92cc7c5fd73: Pull complete [2020-09-28T06:54:23.475Z] 4e634b169226: Verifying Checksum [2020-09-28T06:54:24.428Z] e871e8e8d7a9: Verifying Checksum [2020-09-28T06:54:24.428Z] e871e8e8d7a9: Download complete [2020-09-28T06:54:29.752Z] e871e8e8d7a9: Pull complete [2020-09-28T06:54:29.752Z] e73272ec9a57: Pull complete [2020-09-28T06:54:29.752Z] 1e910a182e73: Pull complete [2020-09-28T06:54:33.976Z] 4e634b169226: Pull complete [2020-09-28T06:54:33.976Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-28T06:54:33.976Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-28T06:54:33.976Z] ---> f7629b54cfaa [2020-09-28T06:54:33.976Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-28T06:54:33.976Z] ---> Running in e81825066b69 [2020-09-28T06:54:34.241Z] Removing intermediate container e81825066b69 [2020-09-28T06:54:34.241Z] ---> a1b211dbea6e [2020-09-28T06:54:34.241Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-28T06:54:34.241Z] ---> Running in 217b262f05ad [2020-09-28T06:54:35.189Z] Removing intermediate container 217b262f05ad [2020-09-28T06:54:35.189Z] ---> 50a554aee445 [2020-09-28T06:54:35.189Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-28T06:54:35.189Z] ---> Running in b5c5b0708b69 [2020-09-28T06:54:36.141Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-28T06:54:37.093Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-28T06:54:37.677Z] OK: 166 MiB in 39 packages [2020-09-28T06:54:38.249Z] Removing intermediate container b5c5b0708b69 [2020-09-28T06:54:38.249Z] ---> 855e542f771f [2020-09-28T06:54:38.249Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-28T06:54:38.249Z] ---> Running in 676e3e41f581 [2020-09-28T06:54:38.249Z] Removing intermediate container 676e3e41f581 [2020-09-28T06:54:38.249Z] ---> 82c01e7da0da [2020-09-28T06:54:38.249Z] Step 7/8 : COPY . . [2020-09-28T06:54:39.641Z] ---> f6b22342aa0c [2020-09-28T06:54:39.641Z] Step 8/8 : RUN go mod download [2020-09-28T06:54:39.641Z] ---> Running in 1e10f54cf63d [2020-09-28T06:54:57.836Z] Removing intermediate container 1e10f54cf63d [2020-09-28T06:54:57.836Z] ---> 669182f18e88 [2020-09-28T06:54:57.836Z] Successfully built 669182f18e88 [2020-09-28T06:54:57.836Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-28T06:54:58.217Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-28T06:54:58.217Z] . [Pipeline] withDockerContainer [2020-09-28T06:54:58.342Z] prd-centos7-docker-4c-2g-1757 does not seem to be running inside a container [2020-09-28T06:54:58.399Z] $ 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 ******** ci-base-image-x86_64 cat [2020-09-28T06:54:59.102Z] $ docker top e41b556c429b3d7d964c67d32fdb79e67b8737a88d73f93328c42be3db1d438c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-28T06:54:59.644Z] + go version [2020-09-28T06:54:59.645Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-28T06:54:59.674Z] $ docker stop --time=1 e41b556c429b3d7d964c67d32fdb79e67b8737a88d73f93328c42be3db1d438c [2020-09-28T06:55:01.000Z] $ docker rm -f e41b556c429b3d7d964c67d32fdb79e67b8737a88d73f93328c42be3db1d438c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-28T06:55:02.162Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-28T06:55:02.162Z] . [Pipeline] withDockerContainer [2020-09-28T06:55:02.282Z] prd-centos7-docker-4c-2g-1757 does not seem to be running inside a container [2020-09-28T06:55:02.336Z] $ 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 ******** ci-base-image-x86_64 cat [2020-09-28T06:55:02.876Z] $ docker top 24338d4649088c761d6a98a13f96e78ad2903a4da10519573dc2a32f7498de46 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-28T06:55:03.401Z] + make test [2020-09-28T06:55:03.402Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-28T06:55:10.045Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-28T06:55:22.374Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [2020-09-28T06:55:22.374Z] internal/transformer/transformresult.go:604:57: cannot use "github.com/edgexfoundry/go-mod-core-contracts/models".Disabled (type string) as type operating.UpdateRequest in argument to common.DeviceClient.UpdateOpStateByName [2020-09-28T06:55:22.374Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] [2020-09-28T06:55:22.374Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] [2020-09-28T06:55:22.374Z] internal/transformer/transformresult.go:604: cannot use "github.com/edgexfoundry/go-mod-core-contracts/models".Disabled (type string) as type operating.UpdateRequest in argument to common.DeviceClient.UpdateOpStateByName [2020-09-28T06:55:22.963Z] # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] [2020-09-28T06:55:22.963Z] internal/cache/devices_test.go:25:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: [2020-09-28T06:55:22.963Z] *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) [2020-09-28T06:55:22.963Z] have UpdateAdminState(context.Context, string, string) error [2020-09-28T06:55:22.963Z] want UpdateAdminState(context.Context, string, admin.UpdateRequest) error [2020-09-28T06:55:22.963Z] internal/cache/init_test.go:23:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: [2020-09-28T06:55:22.963Z] *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) [2020-09-28T06:55:22.963Z] have UpdateAdminState(context.Context, string, string) error [2020-09-28T06:55:22.963Z] want UpdateAdminState(context.Context, string, admin.UpdateRequest) error [2020-09-28T06:55:22.963Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] [2020-09-28T06:55:55.115Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.041s coverage: 8.6% of statements [2020-09-28T06:55:55.115Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.035s coverage: 21.7% of statements [2020-09-28T06:55:55.115Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-09-28T06:55:55.115Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] [2020-09-28T06:55:55.115Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] [2020-09-28T06:55:55.115Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.310s coverage: 68.9% of statements [2020-09-28T06:55:55.115Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-09-28T06:55:55.190Z] $ docker stop --time=1 24338d4649088c761d6a98a13f96e78ad2903a4da10519573dc2a32f7498de46 [2020-09-28T06:55:56.711Z] $ docker rm -f 24338d4649088c761d6a98a13f96e78ad2903a4da10519573dc2a32f7498de46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-28T06:55:59.169Z] Failed in branch amd64 [2020-09-28T06:57:04.295Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1759 in /w/workspace/dgexfoundry_device-sdk-go_PR-601 [Pipeline] { [Pipeline] ws [2020-09-28T06:57:04.385Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-28T06:57:09.799Z] using credential edgex-jenkins-ssh [2020-09-28T06:57:09.853Z] Cloning the remote Git repository [2020-09-28T06:57:09.923Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-28T06:57:10.042Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-09-28T06:57:10.134Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-28T06:57:10.135Z] > git --version # timeout=10 [2020-09-28T06:57:10.155Z] > git --version # 'git version 2.17.1' [2020-09-28T06:57:10.157Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-28T06:57:10.217Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-28T06:57:11.251Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-28T06:57:11.269Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-28T06:57:11.311Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-28T06:57:11.355Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-28T06:57:11.356Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-28T06:57:11.369Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/601/head:refs/remotes/origin/PR-601 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-28T06:57:12.420Z] Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit c95cd71d1d1644148526d724f70c34af8542f944 [2020-09-28T06:57:12.866Z] Merge succeeded, producing c95cd71d1d1644148526d724f70c34af8542f944 [2020-09-28T06:57:12.867Z] Checking out Revision c95cd71d1d1644148526d724f70c34af8542f944 (PR-601) [2020-09-28T06:57:12.445Z] > git config core.sparsecheckout # timeout=10 [2020-09-28T06:57:12.507Z] > git checkout -f c95cd71d1d1644148526d724f70c34af8542f944 # timeout=10 [2020-09-28T06:57:12.762Z] > git remote # timeout=10 [2020-09-28T06:57:12.786Z] > git config --get remote.origin.url # timeout=10 [2020-09-28T06:57:12.812Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-28T06:57:12.824Z] > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 [2020-09-28T06:57:12.849Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-28T06:57:12.876Z] > git config core.sparsecheckout # timeout=10 [2020-09-28T06:57:12.897Z] > git checkout -f c95cd71d1d1644148526d724f70c34af8542f944 # timeout=10 [2020-09-28T06:57:17.355Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-09-28T06:57:17.418Z] > git --version # timeout=10 [2020-09-28T06:57:17.439Z] > git --version # 'git version 2.17.1' [2020-09-28T06:57:17.454Z] fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-28T06:57:19.076Z] ========================================================= [2020-09-28T06:57:19.076Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-28T06:57:19.076Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-28T06:57:20.502Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-09-28T06:57:21.488Z] Sending build context to Docker daemon 3.368MB [2020-09-28T06:57:21.488Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-28T06:57:21.488Z] Step 2/8 : FROM ${BASE} [2020-09-28T06:57:21.762Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-28T06:57:21.762Z] b538f80385f9: Pulling fs layer [2020-09-28T06:57:21.762Z] 74f711af9a0d: Pulling fs layer [2020-09-28T06:57:21.762Z] 99f96fe45779: Pulling fs layer [2020-09-28T06:57:21.762Z] 8529a6b9a6be: Pulling fs layer [2020-09-28T06:57:21.762Z] 45590311c82a: Pulling fs layer [2020-09-28T06:57:21.762Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-28T06:57:21.762Z] 209524e5b208: Pulling fs layer [2020-09-28T06:57:21.762Z] 8529a6b9a6be: Waiting [2020-09-28T06:57:21.762Z] 45590311c82a: Waiting [2020-09-28T06:57:21.762Z] 69ca0ff8b7b3: Waiting [2020-09-28T06:57:21.762Z] 209524e5b208: Waiting [2020-09-28T06:57:21.762Z] 99f96fe45779: Verifying Checksum [2020-09-28T06:57:21.762Z] 99f96fe45779: Download complete [2020-09-28T06:57:22.040Z] 74f711af9a0d: Verifying Checksum [2020-09-28T06:57:22.040Z] 74f711af9a0d: Download complete [2020-09-28T06:57:22.040Z] 45590311c82a: Verifying Checksum [2020-09-28T06:57:22.040Z] 45590311c82a: Download complete [2020-09-28T06:57:22.040Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-28T06:57:22.040Z] 69ca0ff8b7b3: Download complete [2020-09-28T06:57:22.040Z] b538f80385f9: Download complete [2020-09-28T06:57:22.653Z] b538f80385f9: Pull complete [2020-09-28T06:57:23.262Z] 74f711af9a0d: Pull complete [2020-09-28T06:57:23.870Z] 99f96fe45779: Pull complete [2020-09-28T06:57:24.147Z] 209524e5b208: Verifying Checksum [2020-09-28T06:57:24.147Z] 209524e5b208: Download complete [2020-09-28T06:57:25.597Z] 8529a6b9a6be: Verifying Checksum [2020-09-28T06:57:25.597Z] 8529a6b9a6be: Download complete [2020-09-28T06:57:35.757Z] 8529a6b9a6be: Pull complete [2020-09-28T06:57:35.757Z] 45590311c82a: Pull complete [2020-09-28T06:57:35.757Z] 69ca0ff8b7b3: Pull complete [2020-09-28T06:57:39.185Z] 209524e5b208: Pull complete [2020-09-28T06:57:39.185Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-28T06:57:39.185Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-28T06:57:39.185Z] ---> 5bddaf1c2fca [2020-09-28T06:57:39.185Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-28T06:57:42.599Z] ---> Running in 2307906e094e [2020-09-28T06:57:42.599Z] Removing intermediate container 2307906e094e [2020-09-28T06:57:42.599Z] ---> a8d133bc6e4e [2020-09-28T06:57:42.599Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-28T06:57:42.599Z] ---> Running in ad1985fa31ea [2020-09-28T06:57:46.007Z] Removing intermediate container ad1985fa31ea [2020-09-28T06:57:46.007Z] ---> 82b19850e4f3 [2020-09-28T06:57:46.007Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-28T06:57:46.007Z] ---> Running in 98fc34ea4bdb [2020-09-28T06:57:46.997Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-28T06:57:47.985Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-28T06:57:48.591Z] OK: 142 MiB in 39 packages [2020-09-28T06:57:50.035Z] Removing intermediate container 98fc34ea4bdb [2020-09-28T06:57:50.035Z] ---> e9915955d999 [2020-09-28T06:57:50.035Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-28T06:57:50.035Z] ---> Running in 6408596f0d65 [2020-09-28T06:57:50.633Z] Removing intermediate container 6408596f0d65 [2020-09-28T06:57:50.633Z] ---> 208be3f4f4be [2020-09-28T06:57:50.633Z] Step 7/8 : COPY . . [2020-09-28T06:57:52.092Z] ---> d4b2a92193ca [2020-09-28T06:57:52.092Z] Step 8/8 : RUN go mod download [2020-09-28T06:57:52.092Z] ---> Running in e0036e52021d [2020-09-28T06:58:18.907Z] Removing intermediate container e0036e52021d [2020-09-28T06:58:18.907Z] ---> 5ff6764b2aae [2020-09-28T06:58:18.907Z] Successfully built 5ff6764b2aae [2020-09-28T06:58:18.907Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-28T06:58:19.389Z] + docker inspect -f . ci-base-image-arm64 [2020-09-28T06:58:19.389Z] . [Pipeline] withDockerContainer [2020-09-28T06:58:19.712Z] prd-ubuntu18.04-docker-arm64-4c-16g-1759 does not seem to be running inside a container [2020-09-28T06:58:19.816Z] $ 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 ******** ci-base-image-arm64 cat [2020-09-28T06:58:21.860Z] $ docker top 571c853282e7d688cd32f0a088b2cf9c026b6504c467b0ee67f19a0287bf0943 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-28T06:58:23.375Z] + go version [2020-09-28T06:58:23.375Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-28T06:58:23.418Z] $ docker stop --time=1 571c853282e7d688cd32f0a088b2cf9c026b6504c467b0ee67f19a0287bf0943 [2020-09-28T06:58:25.497Z] $ docker rm -f 571c853282e7d688cd32f0a088b2cf9c026b6504c467b0ee67f19a0287bf0943 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-28T06:58:26.948Z] + docker inspect -f . ci-base-image-arm64 [2020-09-28T06:58:26.948Z] . [Pipeline] withDockerContainer [2020-09-28T06:58:27.255Z] prd-ubuntu18.04-docker-arm64-4c-16g-1759 does not seem to be running inside a container [2020-09-28T06:58:27.348Z] $ 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 ******** ci-base-image-arm64 cat [2020-09-28T06:58:29.398Z] $ docker top 0521caf7c81a5285962524d5cc1a777a49938ff8e4438a22c88289dba16b3eae -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-28T06:58:30.912Z] + make test [2020-09-28T06:58:30.912Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-28T06:58:53.168Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-28T06:59:32.249Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [2020-09-28T06:59:32.249Z] internal/transformer/transformresult.go:604:57: cannot use "github.com/edgexfoundry/go-mod-core-contracts/models".Disabled (type string) as type operating.UpdateRequest in argument to common.DeviceClient.UpdateOpStateByName [2020-09-28T06:59:32.249Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] [2020-09-28T06:59:32.249Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] [2020-09-28T06:59:32.249Z] internal/transformer/transformresult.go:604: cannot use "github.com/edgexfoundry/go-mod-core-contracts/models".Disabled (type string) as type operating.UpdateRequest in argument to common.DeviceClient.UpdateOpStateByName [2020-09-28T06:59:32.850Z] # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] [2020-09-28T06:59:32.850Z] internal/cache/devices_test.go:25:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: [2020-09-28T06:59:32.850Z] *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) [2020-09-28T06:59:32.850Z] have UpdateAdminState(context.Context, string, string) error [2020-09-28T06:59:32.850Z] want UpdateAdminState(context.Context, string, admin.UpdateRequest) error [2020-09-28T06:59:32.850Z] internal/cache/init_test.go:23:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: [2020-09-28T06:59:32.850Z] *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) [2020-09-28T06:59:32.850Z] have UpdateAdminState(context.Context, string, string) error [2020-09-28T06:59:32.850Z] want UpdateAdminState(context.Context, string, admin.UpdateRequest) error [2020-09-28T06:59:33.131Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] [2020-09-28T07:00:05.506Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.058s coverage: 8.6% of statements [2020-09-28T07:00:05.506Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.046s coverage: 21.7% of statements [2020-09-28T07:00:05.506Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-09-28T07:00:05.506Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] [2020-09-28T07:00:05.506Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] [2020-09-28T07:00:05.506Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.168s coverage: 68.9% of statements [2020-09-28T07:00:05.506Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-09-28T07:00:05.568Z] $ docker stop --time=1 0521caf7c81a5285962524d5cc1a777a49938ff8e4438a22c88289dba16b3eae [2020-09-28T07:00:08.111Z] $ docker rm -f 0521caf7c81a5285962524d5cc1a777a49938ff8e4438a22c88289dba16b3eae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-28T07:00:11.309Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-09-28T07:00:17.395Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-28T07:00:18.060Z] ---> package-listing.sh [2020-09-28T07:00:18.060Z] ++ facter osfamily [2020-09-28T07:00:18.060Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-28T07:00:18.344Z] + OS_FAMILY=redhat [2020-09-28T07:00:18.344Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-601 [2020-09-28T07:00:18.344Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-28T07:00:18.344Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-28T07:00:18.344Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-28T07:00:18.344Z] + PACKAGES=/tmp/packages_start.txt [2020-09-28T07:00:18.344Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-601 ']' [2020-09-28T07:00:18.344Z] + PACKAGES=/tmp/packages_end.txt [2020-09-28T07:00:18.344Z] + case "${OS_FAMILY}" in [2020-09-28T07:00:18.344Z] + rpm -qa [2020-09-28T07:00:18.344Z] + sort [2020-09-28T07:00:22.627Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-28T07:00:22.627Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-28T07:00:22.627Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-28T07:00:22.627Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-601 ']' [2020-09-28T07:00:22.627Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-601/archives/ [2020-09-28T07:00:22.627Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-601/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-28T07:00:22.982Z] provisioning config files... [2020-09-28T07:00:23.006Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-601@tmp/config5520179503098334481tmp [Pipeline] { [Pipeline] echo [2020-09-28T07:00:23.133Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-28T07:00:23.485Z] ---> create-netrc.sh [Pipeline] } [2020-09-28T07:00:23.524Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-09-28T07:00:23.681Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-28T07:00:24.032Z] ---> python-tools-install.sh [2020-09-28T07:00:24.032Z] Generating Requirements File [2020-09-28T07:02:00.823Z] Python 3.6.8 [2020-09-28T07:02:00.823Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-09-28T07:02:00.823Z] appdirs==1.4.3 [2020-09-28T07:02:00.823Z] argcomplete==1.12.1 [2020-09-28T07:02:00.823Z] aspy.yaml==1.3.0 [2020-09-28T07:02:00.823Z] attrs==19.3.0 [2020-09-28T07:02:00.823Z] Babel==2.8.0 [2020-09-28T07:02:00.823Z] beautifulsoup4==4.8.2 [2020-09-28T07:02:00.823Z] boto3==1.11.6 [2020-09-28T07:02:00.823Z] botocore==1.14.6 [2020-09-28T07:02:00.823Z] bs4==0.0.1 [2020-09-28T07:02:00.823Z] cachetools==4.1.1 [2020-09-28T07:02:00.823Z] certifi==2019.11.28 [2020-09-28T07:02:00.823Z] cffi==1.14.3 [2020-09-28T07:02:00.823Z] cfgv==2.0.1 [2020-09-28T07:02:00.823Z] chardet==3.0.4 [2020-09-28T07:02:00.823Z] click==7.1 [2020-09-28T07:02:00.823Z] cliff==3.4.0 [2020-09-28T07:02:00.823Z] cmd2==1.3.10 [2020-09-28T07:02:00.823Z] colorama==0.4.3 [2020-09-28T07:02:00.823Z] cryptography==3.1.1 [2020-09-28T07:02:00.823Z] debtcollector==2.2.0 [2020-09-28T07:02:00.823Z] decorator==4.4.2 [2020-09-28T07:02:00.823Z] defusedxml==0.6.0 [2020-09-28T07:02:00.823Z] Deprecated==1.2.7 [2020-09-28T07:02:00.823Z] distlib==0.3.1 [2020-09-28T07:02:00.823Z] distro==1.2.0 [2020-09-28T07:02:00.823Z] dnspython==1.16.0 [2020-09-28T07:02:00.823Z] docker==4.2.0 [2020-09-28T07:02:00.823Z] docutils==0.15.2 [2020-09-28T07:02:00.823Z] dogpile.cache==1.0.2 [2020-09-28T07:02:00.823Z] email-validator==1.0.5 [2020-09-28T07:02:00.823Z] filelock==3.0.12 [2020-09-28T07:02:00.823Z] future==0.18.2 [2020-09-28T07:02:00.823Z] google-auth==1.21.3 [2020-09-28T07:02:00.823Z] httplib2==0.17.0 [2020-09-28T07:02:00.823Z] identify==1.4.11 [2020-09-28T07:02:00.823Z] idna==2.9 [2020-09-28T07:02:00.823Z] importlib-metadata==1.7.0 [2020-09-28T07:02:00.823Z] importlib-resources==1.5.0 [2020-09-28T07:02:00.823Z] iso8601==0.1.13 [2020-09-28T07:02:00.823Z] Jinja2==2.11.1 [2020-09-28T07:02:00.823Z] jmespath==0.10.0 [2020-09-28T07:02:00.823Z] jsonpatch==1.26 [2020-09-28T07:02:00.823Z] jsonpointer==2.0 [2020-09-28T07:02:00.823Z] jsonschema==3.2.0 [2020-09-28T07:02:00.823Z] keystoneauth1==4.2.1 [2020-09-28T07:02:00.823Z] kubernetes==11.0.0 [2020-09-28T07:02:00.823Z] lftools==0.34.2 [2020-09-28T07:02:00.823Z] lxml==4.5.0 [2020-09-28T07:02:00.823Z] MarkupSafe==0.23 [2020-09-28T07:02:00.823Z] msgpack==1.0.0 [2020-09-28T07:02:00.823Z] multi-key-dict==2.0.3 [2020-09-28T07:02:00.823Z] munch==2.5.0 [2020-09-28T07:02:00.823Z] netaddr==0.8.0 [2020-09-28T07:02:00.823Z] netifaces==0.10.9 [2020-09-28T07:02:00.823Z] niet==1.4.2 [2020-09-28T07:02:00.823Z] nodeenv==1.3.5 [2020-09-28T07:02:00.823Z] oauth2client==4.1.3 [2020-09-28T07:02:00.823Z] oauthlib==3.1.0 [2020-09-28T07:02:00.823Z] openstacksdk==0.50.0 [2020-09-28T07:02:00.823Z] os-client-config==2.1.0 [2020-09-28T07:02:00.823Z] os-service-types==1.7.0 [2020-09-28T07:02:00.823Z] osc-lib==2.2.1 [2020-09-28T07:02:00.823Z] oslo.config==8.3.2 [2020-09-28T07:02:00.823Z] oslo.context==3.1.1 [2020-09-28T07:02:00.823Z] oslo.i18n==5.0.1 [2020-09-28T07:02:00.823Z] oslo.log==4.4.0 [2020-09-28T07:02:00.823Z] oslo.serialization==4.0.1 [2020-09-28T07:02:00.823Z] oslo.utils==4.6.0 [2020-09-28T07:02:00.823Z] packaging==20.4 [2020-09-28T07:02:00.823Z] pbr==5.4.4 [2020-09-28T07:02:00.823Z] pluggy==0.13.1 [2020-09-28T07:02:00.823Z] prettytable==0.7.2 [2020-09-28T07:02:00.823Z] py==1.9.0 [2020-09-28T07:02:00.823Z] pyasn1==0.4.8 [2020-09-28T07:02:00.823Z] pyasn1-modules==0.2.8 [2020-09-28T07:02:00.823Z] pycparser==2.20 [2020-09-28T07:02:00.823Z] pygerrit2==2.0.10 [2020-09-28T07:02:00.823Z] PyGithub==1.46 [2020-09-28T07:02:00.823Z] pyinotify==0.9.6 [2020-09-28T07:02:00.823Z] PyJWT==1.7.1 [2020-09-28T07:02:00.823Z] pyparsing==2.4.7 [2020-09-28T07:02:00.823Z] pyperclip==1.8.0 [2020-09-28T07:02:00.823Z] pyroute2==0.4.13 [2020-09-28T07:02:00.823Z] pyrsistent==0.15.7 [2020-09-28T07:02:00.823Z] PySocks==1.6.8 [2020-09-28T07:02:00.823Z] python-cinderclient==7.2.0 [2020-09-28T07:02:00.823Z] python-dateutil==2.8.1 [2020-09-28T07:02:00.823Z] python-heatclient==2.2.1 [2020-09-28T07:02:00.823Z] python-jenkins==1.7.0 [2020-09-28T07:02:00.823Z] python-keystoneclient==4.1.1 [2020-09-28T07:02:00.823Z] python-magnumclient==3.2.1 [2020-09-28T07:02:00.823Z] python-novaclient==17.2.1 [2020-09-28T07:02:00.823Z] python-openstackclient==5.3.1 [2020-09-28T07:02:00.823Z] python-swiftclient==3.10.1 [2020-09-28T07:02:00.823Z] pytz==2020.1 [2020-09-28T07:02:00.823Z] PyYAML==5.3 [2020-09-28T07:02:00.823Z] requests==2.23.0 [2020-09-28T07:02:00.823Z] requests-oauthlib==1.3.0 [2020-09-28T07:02:00.823Z] requestsexceptions==1.4.0 [2020-09-28T07:02:00.823Z] rfc3986==1.4.0 [2020-09-28T07:02:00.823Z] rpm==4.11.3 [2020-09-28T07:02:00.823Z] rsa==4.0 [2020-09-28T07:02:00.823Z] ruamel.yaml==0.16.10 [2020-09-28T07:02:00.823Z] ruamel.yaml.clib==0.2.0 [2020-09-28T07:02:00.823Z] s3transfer==0.3.3 [2020-09-28T07:02:00.823Z] shade==1.27.2 [2020-09-28T07:02:00.823Z] simplejson==3.17.2 [2020-09-28T07:02:00.823Z] six==1.14.0 [2020-09-28T07:02:00.823Z] soupsieve==2.0 [2020-09-28T07:02:00.823Z] stevedore==3.2.2 [2020-09-28T07:02:00.823Z] tabulate==0.8.6 [2020-09-28T07:02:00.823Z] toml==0.10.0 [2020-09-28T07:02:00.823Z] tox==3.20.0 [2020-09-28T07:02:00.823Z] tqdm==4.43.0 [2020-09-28T07:02:00.823Z] urllib3==1.25.8 [2020-09-28T07:02:00.823Z] virtualenv==20.0.31 [2020-09-28T07:02:00.823Z] wcwidth==0.2.5 [2020-09-28T07:02:00.823Z] websocket-client==0.57.0 [2020-09-28T07:02:00.823Z] wrapt==1.12.1 [2020-09-28T07:02:00.823Z] xdg==3.0.2 [2020-09-28T07:02:00.823Z] xmltodict==0.12.0 [2020-09-28T07:02:00.823Z] yq==2.11.1 [2020-09-28T07:02:00.823Z] zipp==3.2.0 [2020-09-28T07:02:00.823Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:02:00.823Z] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [2020-09-28T07:02:04.284Z] Python 2.7.5 [2020-09-28T07:02:04.561Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-09-28T07:02:05.185Z] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [2020-09-28T07:02:05.454Z] ansible==2.9.7 [2020-09-28T07:02:05.454Z] Babel==0.9.6 [2020-09-28T07:02:05.454Z] backports.ssl-match-hostname==3.5.0.1 [2020-09-28T07:02:05.454Z] beautifulsoup4==4.4.1 [2020-09-28T07:02:05.454Z] bodhi==2.11.0 [2020-09-28T07:02:05.454Z] bodhi-client==2.11.0 [2020-09-28T07:02:05.454Z] CCColUtils==1.4 [2020-09-28T07:02:05.454Z] cffi==1.6.0 [2020-09-28T07:02:05.455Z] chardet==2.2.1 [2020-09-28T07:02:05.455Z] click==6.7 [2020-09-28T07:02:05.455Z] cloud-init==18.5 [2020-09-28T07:02:05.455Z] configobj==4.7.2 [2020-09-28T07:02:05.455Z] cryptography==1.7.2 [2020-09-28T07:02:05.455Z] decorator==3.4.0 [2020-09-28T07:02:05.455Z] distro==1.2.0 [2020-09-28T07:02:05.455Z] enum34==1.0.4 [2020-09-28T07:02:05.455Z] fedpkg==1.38 [2020-09-28T07:02:05.455Z] futures==3.1.1 [2020-09-28T07:02:05.455Z] gitdb==0.6.4 [2020-09-28T07:02:05.455Z] GitPython==1.0.1 [2020-09-28T07:02:05.455Z] html5lib==0.999 [2020-09-28T07:02:05.455Z] httplib2==0.9.2 [2020-09-28T07:02:05.455Z] idna==2.4 [2020-09-28T07:02:05.455Z] iniparse==0.4 [2020-09-28T07:02:05.455Z] ipaddress==1.0.16 [2020-09-28T07:02:05.455Z] IPy==0.75 [2020-09-28T07:02:05.455Z] javapackages==1.0.0 [2020-09-28T07:02:05.455Z] Jinja2==2.7.2 [2020-09-28T07:02:05.455Z] jmespath==0.9.4 [2020-09-28T07:02:05.455Z] jsonpatch==1.2 [2020-09-28T07:02:05.455Z] jsonpointer==1.9 [2020-09-28T07:02:05.455Z] kerberos==1.1 [2020-09-28T07:02:05.455Z] kitchen==1.1.1 [2020-09-28T07:02:05.455Z] langtable==0.0.31 [2020-09-28T07:02:05.455Z] lockfile==0.9.1 [2020-09-28T07:02:05.455Z] lxml==3.2.1 [2020-09-28T07:02:05.455Z] MarkupSafe==0.11 [2020-09-28T07:02:05.455Z] munch==2.0.2 [2020-09-28T07:02:05.455Z] offtrac==0.1.0 [2020-09-28T07:02:05.455Z] openidc-client==0.6.0 [2020-09-28T07:02:05.455Z] packagedb-cli==2.14.1 [2020-09-28T07:02:05.455Z] paramiko==2.1.1 [2020-09-28T07:02:05.455Z] perf==0.1 [2020-09-28T07:02:05.455Z] ply==3.4 [2020-09-28T07:02:05.455Z] policycoreutils-default-encoding==0.1 [2020-09-28T07:02:05.455Z] prettytable==0.7.2 [2020-09-28T07:02:05.455Z] pyasn1==0.1.9 [2020-09-28T07:02:05.455Z] pycparser==2.14 [2020-09-28T07:02:05.455Z] pycurl==7.19.0 [2020-09-28T07:02:05.455Z] pygobject==3.22.0 [2020-09-28T07:02:05.455Z] pygpgme==0.3 [2020-09-28T07:02:05.455Z] pyliblzma==0.5.3 [2020-09-28T07:02:05.455Z] pyOpenSSL==0.13.1 [2020-09-28T07:02:05.455Z] pyparsing==1.5.6 [2020-09-28T07:02:05.455Z] pyserial==2.6 [2020-09-28T07:02:05.455Z] python-augeas==0.5.0 [2020-09-28T07:02:05.455Z] python-bugzilla==2.3.0 [2020-09-28T07:02:05.455Z] python-dateutil==1.5 [2020-09-28T07:02:05.455Z] python-fedora==0.10.0 [2020-09-28T07:02:05.455Z] python-linux-procfs==0.4.9 [2020-09-28T07:02:05.455Z] python-yubico==1.2.3 [2020-09-28T07:02:05.455Z] pyudev==0.15 [2020-09-28T07:02:05.455Z] pyusb==1.0.0b1 [2020-09-28T07:02:05.455Z] pyxattr==0.5.1 [2020-09-28T07:02:05.455Z] PyYAML==3.10 [2020-09-28T07:02:05.455Z] requests==2.6.0 [2020-09-28T07:02:05.455Z] requests-kerberos==0.7.0 [2020-09-28T07:02:05.455Z] rpkg==1.60 [2020-09-28T07:02:05.455Z] schedutils==0.4 [2020-09-28T07:02:05.455Z] seobject==0.1 [2020-09-28T07:02:05.455Z] sepolicy==1.1 [2020-09-28T07:02:05.455Z] six==1.9.0 [2020-09-28T07:02:05.455Z] smmap==0.9.0 [2020-09-28T07:02:05.455Z] urlgrabber==3.10 [2020-09-28T07:02:05.455Z] urllib3==1.10.2 [2020-09-28T07:02:05.455Z] virtualenv==15.1.0 [2020-09-28T07:02:05.455Z] yum-langpacks==0.4.2 [2020-09-28T07:02:05.455Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-09-28T07:02:05.495Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-28T07:02:05.877Z] ---> sudo-logs.sh [2020-09-28T07:02:05.877Z] Archiving 'sudo' log.. [Pipeline] echo [2020-09-28T07:02:06.508Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-28T07:02:06.912Z] ---> job-cost.sh [2020-09-28T07:02:06.912Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-n6ml [2020-09-28T07:02:19.301Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:02:19.301Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:02:20.281Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:02:20.281Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:02:20.281Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:02:20.281Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:02:20.556Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:02:20.556Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:02:20.847Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:02:21.121Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:02:21.121Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:02:21.121Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:02:21.388Z] Cache entry deserialization failed, entry ignored [2020-09-28T07:02:25.647Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-09-28T07:03:04.604Z] ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. [2020-09-28T07:03:04.605Z] [2020-09-28T07:03:04.605Z] We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. [2020-09-28T07:03:04.605Z] [2020-09-28T07:03:04.605Z] virtualenv 20.0.31 requires importlib-metadata<2,>=0.12; python_version < "3.8", but you'll have importlib-metadata 2.0.0 which is incompatible. [2020-09-28T07:03:04.605Z] lf-activate-venv(): INFO: Adding /tmp/venv-n6ml/bin to PATH [2020-09-28T07:03:04.605Z] INFO: No Stack... [2020-09-28T07:03:04.605Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-09-28T07:03:04.605Z] INFO: Archiving Costs [Pipeline] echo [2020-09-28T07:03:04.650Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-28T07:03:05.046Z] ---> logs-deploy.sh [2020-09-28T07:03:05.046Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-601/1 [2020-09-28T07:03:05.046Z] INFO: archiving workspace using pattern(s): [2020-09-28T07:03:07.670Z] Archives upload complete. [2020-09-28T07:03:07.670Z] INFO: archiving logs to Nexus [2020-09-28T07:03:09.653Z] ---> uname -a: [2020-09-28T07:03:09.653Z] Linux prd-centos7-docker-4c-2g-1755.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux [2020-09-28T07:03:09.653Z] [2020-09-28T07:03:09.653Z] [2020-09-28T07:03:09.653Z] ---> lscpu: [2020-09-28T07:03:09.653Z] Architecture: x86_64 [2020-09-28T07:03:09.653Z] CPU op-mode(s): 32-bit, 64-bit [2020-09-28T07:03:09.653Z] Byte Order: Little Endian [2020-09-28T07:03:09.653Z] CPU(s): 4 [2020-09-28T07:03:09.653Z] On-line CPU(s) list: 0-3 [2020-09-28T07:03:09.653Z] Thread(s) per core: 1 [2020-09-28T07:03:09.653Z] Core(s) per socket: 1 [2020-09-28T07:03:09.653Z] Socket(s): 4 [2020-09-28T07:03:09.653Z] NUMA node(s): 1 [2020-09-28T07:03:09.653Z] Vendor ID: GenuineIntel [2020-09-28T07:03:09.653Z] CPU family: 6 [2020-09-28T07:03:09.653Z] Model: 44 [2020-09-28T07:03:09.653Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-09-28T07:03:09.653Z] Stepping: 1 [2020-09-28T07:03:09.653Z] CPU MHz: 2933.438 [2020-09-28T07:03:09.653Z] BogoMIPS: 5866.87 [2020-09-28T07:03:09.653Z] Virtualization: VT-x [2020-09-28T07:03:09.653Z] Hypervisor vendor: KVM [2020-09-28T07:03:09.653Z] Virtualization type: full [2020-09-28T07:03:09.653Z] L1d cache: 32K [2020-09-28T07:03:09.653Z] L1i cache: 32K [2020-09-28T07:03:09.653Z] L2 cache: 4096K [2020-09-28T07:03:09.653Z] L3 cache: 16384K [2020-09-28T07:03:09.653Z] NUMA node0 CPU(s): 0-3 [2020-09-28T07:03:09.653Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2020-09-28T07:03:09.653Z] [2020-09-28T07:03:09.653Z] [2020-09-28T07:03:09.653Z] ---> nproc: [2020-09-28T07:03:09.653Z] 4 [2020-09-28T07:03:09.653Z] [2020-09-28T07:03:09.653Z]